/******/ (function() { // webpackBootstrap /******/ var __webpack_modules__ = ({ /***/ 30071: /*!*******************************************************************************************!*\ !*** ./node_modules/_@ant-design_colors@7.2.1@@ant-design/colors/es/index.js + 4 modules ***! \*******************************************************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; // ESM COMPAT FLAG __webpack_require__.r(__webpack_exports__); // EXPORTS __webpack_require__.d(__webpack_exports__, { blue: function() { return /* reexport */ blue; }, blueDark: function() { return /* reexport */ blueDark; }, cyan: function() { return /* reexport */ cyan; }, cyanDark: function() { return /* reexport */ cyanDark; }, geekblue: function() { return /* reexport */ geekblue; }, geekblueDark: function() { return /* reexport */ geekblueDark; }, generate: function() { return /* reexport */ generate; }, gold: function() { return /* reexport */ gold; }, goldDark: function() { return /* reexport */ goldDark; }, gray: function() { return /* reexport */ gray; }, green: function() { return /* reexport */ green; }, greenDark: function() { return /* reexport */ greenDark; }, grey: function() { return /* reexport */ grey; }, greyDark: function() { return /* reexport */ greyDark; }, lime: function() { return /* reexport */ lime; }, limeDark: function() { return /* reexport */ limeDark; }, magenta: function() { return /* reexport */ magenta; }, magentaDark: function() { return /* reexport */ magentaDark; }, orange: function() { return /* reexport */ orange; }, orangeDark: function() { return /* reexport */ orangeDark; }, presetDarkPalettes: function() { return /* reexport */ presetDarkPalettes; }, presetPalettes: function() { return /* reexport */ presetPalettes; }, presetPrimaryColors: function() { return /* reexport */ presetPrimaryColors; }, purple: function() { return /* reexport */ purple; }, purpleDark: function() { return /* reexport */ purpleDark; }, red: function() { return /* reexport */ red; }, redDark: function() { return /* reexport */ redDark; }, volcano: function() { return /* reexport */ volcano; }, volcanoDark: function() { return /* reexport */ volcanoDark; }, yellow: function() { return /* reexport */ yellow; }, yellowDark: function() { return /* reexport */ yellowDark; } }); // EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.28.6@@babel/runtime/helpers/esm/defineProperty.js var defineProperty = __webpack_require__(18642); ;// CONCATENATED MODULE: ./node_modules/_@ant-design_fast-color@2.0.6@@ant-design/fast-color/es/FastColor.js const round = Math.round; /** * Support format, alpha unit will check the % mark: * - rgba(102, 204, 255, .5) -> [102, 204, 255, 0.5] * - rgb(102 204 255 / .5) -> [102, 204, 255, 0.5] * - rgb(100%, 50%, 0% / 50%) -> [255, 128, 0, 0.5] * - hsl(270, 60, 40, .5) -> [270, 60, 40, 0.5] * - hsl(270deg 60% 40% / 50%) -> [270, 60, 40, 0.5] * * When `base` is provided, the percentage value will be divided by `base`. */ function splitColorStr(str, parseNum) { const match = str // Remove str before `(` .replace(/^[^(]*\((.*)/, '$1') // Remove str after `)` .replace(/\).*/, '').match(/\d*\.?\d+%?/g) || []; const numList = match.map(item => parseFloat(item)); for (let i = 0; i < 3; i += 1) { numList[i] = parseNum(numList[i] || 0, match[i] || '', i); } // For alpha. 50% should be 0.5 if (match[3]) { numList[3] = match[3].includes('%') ? numList[3] / 100 : numList[3]; } else { // By default, alpha is 1 numList[3] = 1; } return numList; } const parseHSVorHSL = (num, _, index) => index === 0 ? num : num / 100; /** round and limit number to integer between 0-255 */ function limitRange(value, max) { const mergedMax = max || 255; if (value > mergedMax) { return mergedMax; } if (value < 0) { return 0; } return value; } class FastColor { constructor(input) { /** * All FastColor objects are valid. So isValid is always true. This property is kept to be compatible with TinyColor. */ (0,defineProperty/* default */.Z)(this, "isValid", true); /** * Red, R in RGB */ (0,defineProperty/* default */.Z)(this, "r", 0); /** * Green, G in RGB */ (0,defineProperty/* default */.Z)(this, "g", 0); /** * Blue, B in RGB */ (0,defineProperty/* default */.Z)(this, "b", 0); /** * Alpha/Opacity, A in RGBA/HSLA */ (0,defineProperty/* default */.Z)(this, "a", 1); // HSV privates (0,defineProperty/* default */.Z)(this, "_h", void 0); (0,defineProperty/* default */.Z)(this, "_s", void 0); (0,defineProperty/* default */.Z)(this, "_l", void 0); (0,defineProperty/* default */.Z)(this, "_v", void 0); // intermediate variables to calculate HSL/HSV (0,defineProperty/* default */.Z)(this, "_max", void 0); (0,defineProperty/* default */.Z)(this, "_min", void 0); (0,defineProperty/* default */.Z)(this, "_brightness", void 0); /** * Always check 3 char in the object to determine the format. * We not use function in check to save bundle size. * e.g. 'rgb' -> { r: 0, g: 0, b: 0 }. */ function matchFormat(str) { return str[0] in input && str[1] in input && str[2] in input; } if (!input) { // Do nothing since already initialized } else if (typeof input === 'string') { const trimStr = input.trim(); function matchPrefix(prefix) { return trimStr.startsWith(prefix); } if (/^#?[A-F\d]{3,8}$/i.test(trimStr)) { this.fromHexString(trimStr); } else if (matchPrefix('rgb')) { this.fromRgbString(trimStr); } else if (matchPrefix('hsl')) { this.fromHslString(trimStr); } else if (matchPrefix('hsv') || matchPrefix('hsb')) { this.fromHsvString(trimStr); } } else if (input instanceof FastColor) { this.r = input.r; this.g = input.g; this.b = input.b; this.a = input.a; this._h = input._h; this._s = input._s; this._l = input._l; this._v = input._v; } else if (matchFormat('rgb')) { this.r = limitRange(input.r); this.g = limitRange(input.g); this.b = limitRange(input.b); this.a = typeof input.a === 'number' ? limitRange(input.a, 1) : 1; } else if (matchFormat('hsl')) { this.fromHsl(input); } else if (matchFormat('hsv')) { this.fromHsv(input); } else { throw new Error('@ant-design/fast-color: unsupported input ' + JSON.stringify(input)); } } // ======================= Setter ======================= setR(value) { return this._sc('r', value); } setG(value) { return this._sc('g', value); } setB(value) { return this._sc('b', value); } setA(value) { return this._sc('a', value, 1); } setHue(value) { const hsv = this.toHsv(); hsv.h = value; return this._c(hsv); } // ======================= Getter ======================= /** * Returns the perceived luminance of a color, from 0-1. * @see http://www.w3.org/TR/2008/REC-WCAG20-20081211/#relativeluminancedef */ getLuminance() { function adjustGamma(raw) { const val = raw / 255; return val <= 0.03928 ? val / 12.92 : Math.pow((val + 0.055) / 1.055, 2.4); } const R = adjustGamma(this.r); const G = adjustGamma(this.g); const B = adjustGamma(this.b); return 0.2126 * R + 0.7152 * G + 0.0722 * B; } getHue() { if (typeof this._h === 'undefined') { const delta = this.getMax() - this.getMin(); if (delta === 0) { this._h = 0; } else { this._h = round(60 * (this.r === this.getMax() ? (this.g - this.b) / delta + (this.g < this.b ? 6 : 0) : this.g === this.getMax() ? (this.b - this.r) / delta + 2 : (this.r - this.g) / delta + 4)); } } return this._h; } getSaturation() { if (typeof this._s === 'undefined') { const delta = this.getMax() - this.getMin(); if (delta === 0) { this._s = 0; } else { this._s = delta / this.getMax(); } } return this._s; } getLightness() { if (typeof this._l === 'undefined') { this._l = (this.getMax() + this.getMin()) / 510; } return this._l; } getValue() { if (typeof this._v === 'undefined') { this._v = this.getMax() / 255; } return this._v; } /** * Returns the perceived brightness of the color, from 0-255. * Note: this is not the b of HSB * @see http://www.w3.org/TR/AERT#color-contrast */ getBrightness() { if (typeof this._brightness === 'undefined') { this._brightness = (this.r * 299 + this.g * 587 + this.b * 114) / 1000; } return this._brightness; } // ======================== Func ======================== darken(amount = 10) { const h = this.getHue(); const s = this.getSaturation(); let l = this.getLightness() - amount / 100; if (l < 0) { l = 0; } return this._c({ h, s, l, a: this.a }); } lighten(amount = 10) { const h = this.getHue(); const s = this.getSaturation(); let l = this.getLightness() + amount / 100; if (l > 1) { l = 1; } return this._c({ h, s, l, a: this.a }); } /** * Mix the current color a given amount with another color, from 0 to 100. * 0 means no mixing (return current color). */ mix(input, amount = 50) { const color = this._c(input); const p = amount / 100; const calc = key => (color[key] - this[key]) * p + this[key]; const rgba = { r: round(calc('r')), g: round(calc('g')), b: round(calc('b')), a: round(calc('a') * 100) / 100 }; return this._c(rgba); } /** * Mix the color with pure white, from 0 to 100. * Providing 0 will do nothing, providing 100 will always return white. */ tint(amount = 10) { return this.mix({ r: 255, g: 255, b: 255, a: 1 }, amount); } /** * Mix the color with pure black, from 0 to 100. * Providing 0 will do nothing, providing 100 will always return black. */ shade(amount = 10) { return this.mix({ r: 0, g: 0, b: 0, a: 1 }, amount); } onBackground(background) { const bg = this._c(background); const alpha = this.a + bg.a * (1 - this.a); const calc = key => { return round((this[key] * this.a + bg[key] * bg.a * (1 - this.a)) / alpha); }; return this._c({ r: calc('r'), g: calc('g'), b: calc('b'), a: alpha }); } // ======================= Status ======================= isDark() { return this.getBrightness() < 128; } isLight() { return this.getBrightness() >= 128; } // ======================== MISC ======================== equals(other) { return this.r === other.r && this.g === other.g && this.b === other.b && this.a === other.a; } clone() { return this._c(this); } // ======================= Format ======================= toHexString() { let hex = '#'; const rHex = (this.r || 0).toString(16); hex += rHex.length === 2 ? rHex : '0' + rHex; const gHex = (this.g || 0).toString(16); hex += gHex.length === 2 ? gHex : '0' + gHex; const bHex = (this.b || 0).toString(16); hex += bHex.length === 2 ? bHex : '0' + bHex; if (typeof this.a === 'number' && this.a >= 0 && this.a < 1) { const aHex = round(this.a * 255).toString(16); hex += aHex.length === 2 ? aHex : '0' + aHex; } return hex; } /** CSS support color pattern */ toHsl() { return { h: this.getHue(), s: this.getSaturation(), l: this.getLightness(), a: this.a }; } /** CSS support color pattern */ toHslString() { const h = this.getHue(); const s = round(this.getSaturation() * 100); const l = round(this.getLightness() * 100); return this.a !== 1 ? `hsla(${h},${s}%,${l}%,${this.a})` : `hsl(${h},${s}%,${l}%)`; } /** Same as toHsb */ toHsv() { return { h: this.getHue(), s: this.getSaturation(), v: this.getValue(), a: this.a }; } toRgb() { return { r: this.r, g: this.g, b: this.b, a: this.a }; } toRgbString() { return this.a !== 1 ? `rgba(${this.r},${this.g},${this.b},${this.a})` : `rgb(${this.r},${this.g},${this.b})`; } toString() { return this.toRgbString(); } // ====================== Privates ====================== /** Return a new FastColor object with one channel changed */ _sc(rgb, value, max) { const clone = this.clone(); clone[rgb] = limitRange(value, max); return clone; } _c(input) { return new this.constructor(input); } getMax() { if (typeof this._max === 'undefined') { this._max = Math.max(this.r, this.g, this.b); } return this._max; } getMin() { if (typeof this._min === 'undefined') { this._min = Math.min(this.r, this.g, this.b); } return this._min; } fromHexString(trimStr) { const withoutPrefix = trimStr.replace('#', ''); function connectNum(index1, index2) { return parseInt(withoutPrefix[index1] + withoutPrefix[index2 || index1], 16); } if (withoutPrefix.length < 6) { // #rgb or #rgba this.r = connectNum(0); this.g = connectNum(1); this.b = connectNum(2); this.a = withoutPrefix[3] ? connectNum(3) / 255 : 1; } else { // #rrggbb or #rrggbbaa this.r = connectNum(0, 1); this.g = connectNum(2, 3); this.b = connectNum(4, 5); this.a = withoutPrefix[6] ? connectNum(6, 7) / 255 : 1; } } fromHsl({ h, s, l, a }) { this._h = h % 360; this._s = s; this._l = l; this.a = typeof a === 'number' ? a : 1; if (s <= 0) { const rgb = round(l * 255); this.r = rgb; this.g = rgb; this.b = rgb; } let r = 0, g = 0, b = 0; const huePrime = h / 60; const chroma = (1 - Math.abs(2 * l - 1)) * s; const secondComponent = chroma * (1 - Math.abs(huePrime % 2 - 1)); if (huePrime >= 0 && huePrime < 1) { r = chroma; g = secondComponent; } else if (huePrime >= 1 && huePrime < 2) { r = secondComponent; g = chroma; } else if (huePrime >= 2 && huePrime < 3) { g = chroma; b = secondComponent; } else if (huePrime >= 3 && huePrime < 4) { g = secondComponent; b = chroma; } else if (huePrime >= 4 && huePrime < 5) { r = secondComponent; b = chroma; } else if (huePrime >= 5 && huePrime < 6) { r = chroma; b = secondComponent; } const lightnessModification = l - chroma / 2; this.r = round((r + lightnessModification) * 255); this.g = round((g + lightnessModification) * 255); this.b = round((b + lightnessModification) * 255); } fromHsv({ h, s, v, a }) { this._h = h % 360; this._s = s; this._v = v; this.a = typeof a === 'number' ? a : 1; const vv = round(v * 255); this.r = vv; this.g = vv; this.b = vv; if (s <= 0) { return; } const hh = h / 60; const i = Math.floor(hh); const ff = hh - i; const p = round(v * (1.0 - s) * 255); const q = round(v * (1.0 - s * ff) * 255); const t = round(v * (1.0 - s * (1.0 - ff)) * 255); switch (i) { case 0: this.g = t; this.b = p; break; case 1: this.r = q; this.b = p; break; case 2: this.r = p; this.b = t; break; case 3: this.r = p; this.g = q; break; case 4: this.r = t; this.g = p; break; case 5: default: this.g = p; this.b = q; break; } } fromHsvString(trimStr) { const cells = splitColorStr(trimStr, parseHSVorHSL); this.fromHsv({ h: cells[0], s: cells[1], v: cells[2], a: cells[3] }); } fromHslString(trimStr) { const cells = splitColorStr(trimStr, parseHSVorHSL); this.fromHsl({ h: cells[0], s: cells[1], l: cells[2], a: cells[3] }); } fromRgbString(trimStr) { const cells = splitColorStr(trimStr, (num, txt) => // Convert percentage to number. e.g. 50% -> 128 txt.includes('%') ? round(num / 100 * 255) : num); this.r = cells[0]; this.g = cells[1]; this.b = cells[2]; this.a = cells[3]; } } ;// CONCATENATED MODULE: ./node_modules/_@ant-design_fast-color@2.0.6@@ant-design/fast-color/es/index.js ;// CONCATENATED MODULE: ./node_modules/_@ant-design_colors@7.2.1@@ant-design/colors/es/generate.js var hueStep = 2; // 色相阶梯 var saturationStep = 0.16; // 饱和度阶梯,浅色部分 var saturationStep2 = 0.05; // 饱和度阶梯,深色部分 var brightnessStep1 = 0.05; // 亮度阶梯,浅色部分 var brightnessStep2 = 0.15; // 亮度阶梯,深色部分 var lightColorCount = 5; // 浅色数量,主色上 var darkColorCount = 4; // 深色数量,主色下 // 暗色主题颜色映射关系表 var darkColorMap = [{ index: 7, amount: 15 }, { index: 6, amount: 25 }, { index: 5, amount: 30 }, { index: 5, amount: 45 }, { index: 5, amount: 65 }, { index: 5, amount: 85 }, { index: 4, amount: 90 }, { index: 3, amount: 95 }, { index: 2, amount: 97 }, { index: 1, amount: 98 }]; function getHue(hsv, i, light) { var hue; // 根据色相不同,色相转向不同 if (Math.round(hsv.h) >= 60 && Math.round(hsv.h) <= 240) { hue = light ? Math.round(hsv.h) - hueStep * i : Math.round(hsv.h) + hueStep * i; } else { hue = light ? Math.round(hsv.h) + hueStep * i : Math.round(hsv.h) - hueStep * i; } if (hue < 0) { hue += 360; } else if (hue >= 360) { hue -= 360; } return hue; } function getSaturation(hsv, i, light) { // grey color don't change saturation if (hsv.h === 0 && hsv.s === 0) { return hsv.s; } var saturation; if (light) { saturation = hsv.s - saturationStep * i; } else if (i === darkColorCount) { saturation = hsv.s + saturationStep; } else { saturation = hsv.s + saturationStep2 * i; } // 边界值修正 if (saturation > 1) { saturation = 1; } // 第一格的 s 限制在 0.06-0.1 之间 if (light && i === lightColorCount && saturation > 0.1) { saturation = 0.1; } if (saturation < 0.06) { saturation = 0.06; } return Math.round(saturation * 100) / 100; } function getValue(hsv, i, light) { var value; if (light) { value = hsv.v + brightnessStep1 * i; } else { value = hsv.v - brightnessStep2 * i; } // Clamp value between 0 and 1 value = Math.max(0, Math.min(1, value)); return Math.round(value * 100) / 100; } function generate(color) { var opts = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; var patterns = []; var pColor = new FastColor(color); var hsv = pColor.toHsv(); for (var i = lightColorCount; i > 0; i -= 1) { var c = new FastColor({ h: getHue(hsv, i, true), s: getSaturation(hsv, i, true), v: getValue(hsv, i, true) }); patterns.push(c); } patterns.push(pColor); for (var _i = 1; _i <= darkColorCount; _i += 1) { var _c = new FastColor({ h: getHue(hsv, _i), s: getSaturation(hsv, _i), v: getValue(hsv, _i) }); patterns.push(_c); } // dark theme patterns if (opts.theme === 'dark') { return darkColorMap.map(function (_ref) { var index = _ref.index, amount = _ref.amount; return new FastColor(opts.backgroundColor || '#141414').mix(patterns[index], amount).toHexString(); }); } return patterns.map(function (c) { return c.toHexString(); }); } ;// CONCATENATED MODULE: ./node_modules/_@ant-design_colors@7.2.1@@ant-design/colors/es/presets.js // Generated by script. Do NOT modify! var presetPrimaryColors = { "red": "#F5222D", "volcano": "#FA541C", "orange": "#FA8C16", "gold": "#FAAD14", "yellow": "#FADB14", "lime": "#A0D911", "green": "#52C41A", "cyan": "#13C2C2", "blue": "#1677FF", "geekblue": "#2F54EB", "purple": "#722ED1", "magenta": "#EB2F96", "grey": "#666666" }; var red = ["#fff1f0", "#ffccc7", "#ffa39e", "#ff7875", "#ff4d4f", "#f5222d", "#cf1322", "#a8071a", "#820014", "#5c0011"]; red.primary = red[5]; var volcano = ["#fff2e8", "#ffd8bf", "#ffbb96", "#ff9c6e", "#ff7a45", "#fa541c", "#d4380d", "#ad2102", "#871400", "#610b00"]; volcano.primary = volcano[5]; var orange = ["#fff7e6", "#ffe7ba", "#ffd591", "#ffc069", "#ffa940", "#fa8c16", "#d46b08", "#ad4e00", "#873800", "#612500"]; orange.primary = orange[5]; var gold = ["#fffbe6", "#fff1b8", "#ffe58f", "#ffd666", "#ffc53d", "#faad14", "#d48806", "#ad6800", "#874d00", "#613400"]; gold.primary = gold[5]; var yellow = ["#feffe6", "#ffffb8", "#fffb8f", "#fff566", "#ffec3d", "#fadb14", "#d4b106", "#ad8b00", "#876800", "#614700"]; yellow.primary = yellow[5]; var lime = ["#fcffe6", "#f4ffb8", "#eaff8f", "#d3f261", "#bae637", "#a0d911", "#7cb305", "#5b8c00", "#3f6600", "#254000"]; lime.primary = lime[5]; var green = ["#f6ffed", "#d9f7be", "#b7eb8f", "#95de64", "#73d13d", "#52c41a", "#389e0d", "#237804", "#135200", "#092b00"]; green.primary = green[5]; var cyan = ["#e6fffb", "#b5f5ec", "#87e8de", "#5cdbd3", "#36cfc9", "#13c2c2", "#08979c", "#006d75", "#00474f", "#002329"]; cyan.primary = cyan[5]; var blue = ["#e6f4ff", "#bae0ff", "#91caff", "#69b1ff", "#4096ff", "#1677ff", "#0958d9", "#003eb3", "#002c8c", "#001d66"]; blue.primary = blue[5]; var geekblue = ["#f0f5ff", "#d6e4ff", "#adc6ff", "#85a5ff", "#597ef7", "#2f54eb", "#1d39c4", "#10239e", "#061178", "#030852"]; geekblue.primary = geekblue[5]; var purple = ["#f9f0ff", "#efdbff", "#d3adf7", "#b37feb", "#9254de", "#722ed1", "#531dab", "#391085", "#22075e", "#120338"]; purple.primary = purple[5]; var magenta = ["#fff0f6", "#ffd6e7", "#ffadd2", "#ff85c0", "#f759ab", "#eb2f96", "#c41d7f", "#9e1068", "#780650", "#520339"]; magenta.primary = magenta[5]; var grey = ["#a6a6a6", "#999999", "#8c8c8c", "#808080", "#737373", "#666666", "#404040", "#1a1a1a", "#000000", "#000000"]; grey.primary = grey[5]; var gray = grey; var presetPalettes = { red: red, volcano: volcano, orange: orange, gold: gold, yellow: yellow, lime: lime, green: green, cyan: cyan, blue: blue, geekblue: geekblue, purple: purple, magenta: magenta, grey: grey }; var redDark = ["#2a1215", "#431418", "#58181c", "#791a1f", "#a61d24", "#d32029", "#e84749", "#f37370", "#f89f9a", "#fac8c3"]; redDark.primary = redDark[5]; var volcanoDark = ["#2b1611", "#441d12", "#592716", "#7c3118", "#aa3e19", "#d84a1b", "#e87040", "#f3956a", "#f8b692", "#fad4bc"]; volcanoDark.primary = volcanoDark[5]; var orangeDark = ["#2b1d11", "#442a11", "#593815", "#7c4a15", "#aa6215", "#d87a16", "#e89a3c", "#f3b765", "#f8cf8d", "#fae3b7"]; orangeDark.primary = orangeDark[5]; var goldDark = ["#2b2111", "#443111", "#594214", "#7c5914", "#aa7714", "#d89614", "#e8b339", "#f3cc62", "#f8df8b", "#faedb5"]; goldDark.primary = goldDark[5]; var yellowDark = ["#2b2611", "#443b11", "#595014", "#7c6e14", "#aa9514", "#d8bd14", "#e8d639", "#f3ea62", "#f8f48b", "#fafab5"]; yellowDark.primary = yellowDark[5]; var limeDark = ["#1f2611", "#2e3c10", "#3e4f13", "#536d13", "#6f9412", "#8bbb11", "#a9d134", "#c9e75d", "#e4f88b", "#f0fab5"]; limeDark.primary = limeDark[5]; var greenDark = ["#162312", "#1d3712", "#274916", "#306317", "#3c8618", "#49aa19", "#6abe39", "#8fd460", "#b2e58b", "#d5f2bb"]; greenDark.primary = greenDark[5]; var cyanDark = ["#112123", "#113536", "#144848", "#146262", "#138585", "#13a8a8", "#33bcb7", "#58d1c9", "#84e2d8", "#b2f1e8"]; cyanDark.primary = cyanDark[5]; var blueDark = ["#111a2c", "#112545", "#15325b", "#15417e", "#1554ad", "#1668dc", "#3c89e8", "#65a9f3", "#8dc5f8", "#b7dcfa"]; blueDark.primary = blueDark[5]; var geekblueDark = ["#131629", "#161d40", "#1c2755", "#203175", "#263ea0", "#2b4acb", "#5273e0", "#7f9ef3", "#a8c1f8", "#d2e0fa"]; geekblueDark.primary = geekblueDark[5]; var purpleDark = ["#1a1325", "#24163a", "#301c4d", "#3e2069", "#51258f", "#642ab5", "#854eca", "#ab7ae0", "#cda8f0", "#ebd7fa"]; purpleDark.primary = purpleDark[5]; var magentaDark = ["#291321", "#40162f", "#551c3b", "#75204f", "#a02669", "#cb2b83", "#e0529c", "#f37fb7", "#f8a8cc", "#fad2e3"]; magentaDark.primary = magentaDark[5]; var greyDark = ["#151515", "#1f1f1f", "#2d2d2d", "#393939", "#494949", "#5a5a5a", "#6a6a6a", "#7b7b7b", "#888888", "#969696"]; greyDark.primary = greyDark[5]; var presetDarkPalettes = { red: redDark, volcano: volcanoDark, orange: orangeDark, gold: goldDark, yellow: yellowDark, lime: limeDark, green: greenDark, cyan: cyanDark, blue: blueDark, geekblue: geekblueDark, purple: purpleDark, magenta: magentaDark, grey: greyDark }; ;// CONCATENATED MODULE: ./node_modules/_@ant-design_colors@7.2.1@@ant-design/colors/es/index.js /***/ }), /***/ 36237: /*!***********************************************************************************************!*\ !*** ./node_modules/_@ant-design_cssinjs@1.24.0@@ant-design/cssinjs/es/index.js + 39 modules ***! \***********************************************************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; // ESM COMPAT FLAG __webpack_require__.r(__webpack_exports__); // EXPORTS __webpack_require__.d(__webpack_exports__, { Keyframes: function() { return /* reexport */ Keyframes; }, NaNLinter: function() { return /* reexport */ NaNLinter; }, StyleContext: function() { return /* reexport */ es_StyleContext; }, StyleProvider: function() { return /* reexport */ StyleProvider; }, Theme: function() { return /* reexport */ Theme; }, _experimental: function() { return /* binding */ _experimental; }, createCache: function() { return /* reexport */ createCache; }, createTheme: function() { return /* reexport */ createTheme; }, extractStyle: function() { return /* reexport */ extractStyle; }, genCalc: function() { return /* reexport */ calc; }, getComputedToken: function() { return /* reexport */ getComputedToken; }, legacyLogicalPropertiesTransformer: function() { return /* reexport */ legacyLogicalProperties; }, legacyNotSelectorLinter: function() { return /* reexport */ legacyNotSelectorLinter; }, logicalPropertiesLinter: function() { return /* reexport */ logicalPropertiesLinter; }, parentSelectorLinter: function() { return /* reexport */ parentSelectorLinter; }, px2remTransformer: function() { return /* reexport */ px2rem; }, token2CSSVar: function() { return /* reexport */ token2CSSVar; }, unit: function() { return /* reexport */ util_unit; }, useCSSVarRegister: function() { return /* reexport */ hooks_useCSSVarRegister; }, useCacheToken: function() { return /* reexport */ useCacheToken; }, useStyleRegister: function() { return /* reexport */ useStyleRegister; } }); // EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.28.6@@babel/runtime/helpers/esm/slicedToArray.js + 1 modules var slicedToArray = __webpack_require__(72190); // EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.28.6@@babel/runtime/helpers/esm/defineProperty.js var defineProperty = __webpack_require__(18642); // EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.28.6@@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules var toConsumableArray = __webpack_require__(77654); // EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.28.6@@babel/runtime/helpers/esm/objectSpread2.js var objectSpread2 = __webpack_require__(85899); ;// CONCATENATED MODULE: ./node_modules/_@emotion_hash@0.8.0@@emotion/hash/dist/hash.browser.esm.js /* eslint-disable */ // Inspired by https://github.com/garycourt/murmurhash-js // Ported from https://github.com/aappleby/smhasher/blob/61a0530f28277f2e850bfc39600ce61d02b518de/src/MurmurHash2.cpp#L37-L86 function murmur2(str) { // 'm' and 'r' are mixing constants generated offline. // They're not really 'magic', they just happen to work well. // const m = 0x5bd1e995; // const r = 24; // Initialize the hash var h = 0; // Mix 4 bytes at a time into the hash var k, i = 0, len = str.length; for (; len >= 4; ++i, len -= 4) { k = str.charCodeAt(i) & 0xff | (str.charCodeAt(++i) & 0xff) << 8 | (str.charCodeAt(++i) & 0xff) << 16 | (str.charCodeAt(++i) & 0xff) << 24; k = /* Math.imul(k, m): */ (k & 0xffff) * 0x5bd1e995 + ((k >>> 16) * 0xe995 << 16); k ^= /* k >>> r: */ k >>> 24; h = /* Math.imul(k, m): */ (k & 0xffff) * 0x5bd1e995 + ((k >>> 16) * 0xe995 << 16) ^ /* Math.imul(h, m): */ (h & 0xffff) * 0x5bd1e995 + ((h >>> 16) * 0xe995 << 16); } // Handle the last few bytes of the input array switch (len) { case 3: h ^= (str.charCodeAt(i + 2) & 0xff) << 16; case 2: h ^= (str.charCodeAt(i + 1) & 0xff) << 8; case 1: h ^= str.charCodeAt(i) & 0xff; h = /* Math.imul(h, m): */ (h & 0xffff) * 0x5bd1e995 + ((h >>> 16) * 0xe995 << 16); } // Do a few final mixes of the hash to ensure the last few // bytes are well-incorporated. h ^= h >>> 13; h = /* Math.imul(h, m): */ (h & 0xffff) * 0x5bd1e995 + ((h >>> 16) * 0xe995 << 16); return ((h ^ h >>> 15) >>> 0).toString(36); } /* harmony default export */ var hash_browser_esm = (murmur2); // EXTERNAL MODULE: ./node_modules/_rc-util@5.44.4@rc-util/es/Dom/dynamicCSS.js var dynamicCSS = __webpack_require__(810); // EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/index.js var _react_17_0_2_react = __webpack_require__(59301); var _react_17_0_2_react_namespaceObject = /*#__PURE__*/__webpack_require__.t(_react_17_0_2_react, 2); // EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.28.6@@babel/runtime/helpers/esm/objectWithoutProperties.js var objectWithoutProperties = __webpack_require__(42244); // EXTERNAL MODULE: ./node_modules/_rc-util@5.44.4@rc-util/es/hooks/useMemo.js var useMemo = __webpack_require__(80547); // EXTERNAL MODULE: ./node_modules/_rc-util@5.44.4@rc-util/es/isEqual.js var isEqual = __webpack_require__(13697); // EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.28.6@@babel/runtime/helpers/esm/classCallCheck.js var classCallCheck = __webpack_require__(38705); // EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.28.6@@babel/runtime/helpers/esm/createClass.js var createClass = __webpack_require__(17212); ;// CONCATENATED MODULE: ./node_modules/_@ant-design_cssinjs@1.24.0@@ant-design/cssinjs/es/Cache.js // [times, realValue] var SPLIT = '%'; /** Connect key with `SPLIT` */ function pathKey(keys) { return keys.join(SPLIT); } var Entity = /*#__PURE__*/function () { function Entity(instanceId) { (0,classCallCheck/* default */.Z)(this, Entity); (0,defineProperty/* default */.Z)(this, "instanceId", void 0); /** @private Internal cache map. Do not access this directly */ (0,defineProperty/* default */.Z)(this, "cache", new Map()); (0,defineProperty/* default */.Z)(this, "extracted", new Set()); this.instanceId = instanceId; } (0,createClass/* default */.Z)(Entity, [{ key: "get", value: function get(keys) { return this.opGet(pathKey(keys)); } /** A fast get cache with `get` concat. */ }, { key: "opGet", value: function opGet(keyPathStr) { return this.cache.get(keyPathStr) || null; } }, { key: "update", value: function update(keys, valueFn) { return this.opUpdate(pathKey(keys), valueFn); } /** A fast get cache with `get` concat. */ }, { key: "opUpdate", value: function opUpdate(keyPathStr, valueFn) { var prevValue = this.cache.get(keyPathStr); var nextValue = valueFn(prevValue); if (nextValue === null) { this.cache.delete(keyPathStr); } else { this.cache.set(keyPathStr, nextValue); } } }]); return Entity; }(); /* harmony default export */ var Cache = (Entity); ;// CONCATENATED MODULE: ./node_modules/_@ant-design_cssinjs@1.24.0@@ant-design/cssinjs/es/StyleContext.js var _excluded = ["children"]; var ATTR_TOKEN = 'data-token-hash'; var ATTR_MARK = 'data-css-hash'; var ATTR_CACHE_PATH = 'data-cache-path'; // Mark css-in-js instance in style element var CSS_IN_JS_INSTANCE = '__cssinjs_instance__'; function createCache() { var cssinjsInstanceId = Math.random().toString(12).slice(2); // Tricky SSR: Move all inline style to the head. // PS: We do not recommend tricky mode. if (typeof document !== 'undefined' && document.head && document.body) { var styles = document.body.querySelectorAll("style[".concat(ATTR_MARK, "]")) || []; var firstChild = document.head.firstChild; Array.from(styles).forEach(function (style) { style[CSS_IN_JS_INSTANCE] = style[CSS_IN_JS_INSTANCE] || cssinjsInstanceId; // Not force move if no head if (style[CSS_IN_JS_INSTANCE] === cssinjsInstanceId) { document.head.insertBefore(style, firstChild); } }); // Deduplicate of moved styles var styleHash = {}; Array.from(document.querySelectorAll("style[".concat(ATTR_MARK, "]"))).forEach(function (style) { var hash = style.getAttribute(ATTR_MARK); if (styleHash[hash]) { if (style[CSS_IN_JS_INSTANCE] === cssinjsInstanceId) { var _style$parentNode; (_style$parentNode = style.parentNode) === null || _style$parentNode === void 0 || _style$parentNode.removeChild(style); } } else { styleHash[hash] = true; } }); } return new Cache(cssinjsInstanceId); } var StyleContext = /*#__PURE__*/_react_17_0_2_react.createContext({ hashPriority: 'low', cache: createCache(), defaultCache: true }); var StyleProvider = function StyleProvider(props) { var children = props.children, restProps = (0,objectWithoutProperties/* default */.Z)(props, _excluded); var parentContext = _react_17_0_2_react.useContext(StyleContext); var context = (0,useMemo/* default */.Z)(function () { var mergedContext = (0,objectSpread2/* default */.Z)({}, parentContext); Object.keys(restProps).forEach(function (key) { var value = restProps[key]; if (restProps[key] !== undefined) { mergedContext[key] = value; } }); var cache = restProps.cache; mergedContext.cache = mergedContext.cache || createCache(); mergedContext.defaultCache = !cache && parentContext.defaultCache; return mergedContext; }, [parentContext, restProps], function (prev, next) { return !(0,isEqual/* default */.Z)(prev[0], next[0], true) || !(0,isEqual/* default */.Z)(prev[1], next[1], true); }); return /*#__PURE__*/_react_17_0_2_react.createElement(StyleContext.Provider, { value: context }, children); }; /* harmony default export */ var es_StyleContext = (StyleContext); // EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.28.6@@babel/runtime/helpers/esm/typeof.js var esm_typeof = __webpack_require__(43749); // EXTERNAL MODULE: ./node_modules/_rc-util@5.44.4@rc-util/es/Dom/canUseDom.js var canUseDom = __webpack_require__(47273); // EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.28.6@@babel/runtime/helpers/esm/assertThisInitialized.js var assertThisInitialized = __webpack_require__(15793); // EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.28.6@@babel/runtime/helpers/esm/inherits.js var inherits = __webpack_require__(39153); // EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.28.6@@babel/runtime/helpers/esm/createSuper.js + 1 modules var createSuper = __webpack_require__(71518); ;// CONCATENATED MODULE: ./node_modules/_@ant-design_cssinjs@1.24.0@@ant-design/cssinjs/es/theme/calc/calculator.js var AbstractCalculator = /*#__PURE__*/(0,createClass/* default */.Z)(function AbstractCalculator() { (0,classCallCheck/* default */.Z)(this, AbstractCalculator); }); /* harmony default export */ var calculator = (AbstractCalculator); ;// CONCATENATED MODULE: ./node_modules/_@ant-design_cssinjs@1.24.0@@ant-design/cssinjs/es/theme/calc/CSSCalculator.js var CALC_UNIT = 'CALC_UNIT'; var regexp = new RegExp(CALC_UNIT, 'g'); function unit(value) { if (typeof value === 'number') { return "".concat(value).concat(CALC_UNIT); } return value; } var CSSCalculator = /*#__PURE__*/function (_AbstractCalculator) { (0,inherits/* default */.Z)(CSSCalculator, _AbstractCalculator); var _super = (0,createSuper/* default */.Z)(CSSCalculator); function CSSCalculator(num, unitlessCssVar) { var _this; (0,classCallCheck/* default */.Z)(this, CSSCalculator); _this = _super.call(this); (0,defineProperty/* default */.Z)((0,assertThisInitialized/* default */.Z)(_this), "result", ''); (0,defineProperty/* default */.Z)((0,assertThisInitialized/* default */.Z)(_this), "unitlessCssVar", void 0); (0,defineProperty/* default */.Z)((0,assertThisInitialized/* default */.Z)(_this), "lowPriority", void 0); var numType = (0,esm_typeof/* default */.Z)(num); _this.unitlessCssVar = unitlessCssVar; if (num instanceof CSSCalculator) { _this.result = "(".concat(num.result, ")"); } else if (numType === 'number') { _this.result = unit(num); } else if (numType === 'string') { _this.result = num; } return _this; } (0,createClass/* default */.Z)(CSSCalculator, [{ key: "add", value: function add(num) { if (num instanceof CSSCalculator) { this.result = "".concat(this.result, " + ").concat(num.getResult()); } else if (typeof num === 'number' || typeof num === 'string') { this.result = "".concat(this.result, " + ").concat(unit(num)); } this.lowPriority = true; return this; } }, { key: "sub", value: function sub(num) { if (num instanceof CSSCalculator) { this.result = "".concat(this.result, " - ").concat(num.getResult()); } else if (typeof num === 'number' || typeof num === 'string') { this.result = "".concat(this.result, " - ").concat(unit(num)); } this.lowPriority = true; return this; } }, { key: "mul", value: function mul(num) { if (this.lowPriority) { this.result = "(".concat(this.result, ")"); } if (num instanceof CSSCalculator) { this.result = "".concat(this.result, " * ").concat(num.getResult(true)); } else if (typeof num === 'number' || typeof num === 'string') { this.result = "".concat(this.result, " * ").concat(num); } this.lowPriority = false; return this; } }, { key: "div", value: function div(num) { if (this.lowPriority) { this.result = "(".concat(this.result, ")"); } if (num instanceof CSSCalculator) { this.result = "".concat(this.result, " / ").concat(num.getResult(true)); } else if (typeof num === 'number' || typeof num === 'string') { this.result = "".concat(this.result, " / ").concat(num); } this.lowPriority = false; return this; } }, { key: "getResult", value: function getResult(force) { return this.lowPriority || force ? "(".concat(this.result, ")") : this.result; } }, { key: "equal", value: function equal(options) { var _this2 = this; var _ref = options || {}, cssUnit = _ref.unit; var mergedUnit = true; if (typeof cssUnit === 'boolean') { mergedUnit = cssUnit; } else if (Array.from(this.unitlessCssVar).some(function (cssVar) { return _this2.result.includes(cssVar); })) { mergedUnit = false; } this.result = this.result.replace(regexp, mergedUnit ? 'px' : ''); if (typeof this.lowPriority !== 'undefined') { return "calc(".concat(this.result, ")"); } return this.result; } }]); return CSSCalculator; }(calculator); ;// CONCATENATED MODULE: ./node_modules/_@ant-design_cssinjs@1.24.0@@ant-design/cssinjs/es/theme/calc/NumCalculator.js var NumCalculator = /*#__PURE__*/function (_AbstractCalculator) { (0,inherits/* default */.Z)(NumCalculator, _AbstractCalculator); var _super = (0,createSuper/* default */.Z)(NumCalculator); function NumCalculator(num) { var _this; (0,classCallCheck/* default */.Z)(this, NumCalculator); _this = _super.call(this); (0,defineProperty/* default */.Z)((0,assertThisInitialized/* default */.Z)(_this), "result", 0); if (num instanceof NumCalculator) { _this.result = num.result; } else if (typeof num === 'number') { _this.result = num; } return _this; } (0,createClass/* default */.Z)(NumCalculator, [{ key: "add", value: function add(num) { if (num instanceof NumCalculator) { this.result += num.result; } else if (typeof num === 'number') { this.result += num; } return this; } }, { key: "sub", value: function sub(num) { if (num instanceof NumCalculator) { this.result -= num.result; } else if (typeof num === 'number') { this.result -= num; } return this; } }, { key: "mul", value: function mul(num) { if (num instanceof NumCalculator) { this.result *= num.result; } else if (typeof num === 'number') { this.result *= num; } return this; } }, { key: "div", value: function div(num) { if (num instanceof NumCalculator) { this.result /= num.result; } else if (typeof num === 'number') { this.result /= num; } return this; } }, { key: "equal", value: function equal() { return this.result; } }]); return NumCalculator; }(calculator); ;// CONCATENATED MODULE: ./node_modules/_@ant-design_cssinjs@1.24.0@@ant-design/cssinjs/es/theme/calc/index.js var genCalc = function genCalc(type, unitlessCssVar) { var Calculator = type === 'css' ? CSSCalculator : NumCalculator; return function (num) { return new Calculator(num, unitlessCssVar); }; }; /* harmony default export */ var calc = (genCalc); ;// CONCATENATED MODULE: ./node_modules/_@ant-design_cssinjs@1.24.0@@ant-design/cssinjs/es/theme/ThemeCache.js // ================================== Cache ================================== function sameDerivativeOption(left, right) { if (left.length !== right.length) { return false; } for (var i = 0; i < left.length; i++) { if (left[i] !== right[i]) { return false; } } return true; } var ThemeCache = /*#__PURE__*/function () { function ThemeCache() { (0,classCallCheck/* default */.Z)(this, ThemeCache); (0,defineProperty/* default */.Z)(this, "cache", void 0); (0,defineProperty/* default */.Z)(this, "keys", void 0); (0,defineProperty/* default */.Z)(this, "cacheCallTimes", void 0); this.cache = new Map(); this.keys = []; this.cacheCallTimes = 0; } (0,createClass/* default */.Z)(ThemeCache, [{ key: "size", value: function size() { return this.keys.length; } }, { key: "internalGet", value: function internalGet(derivativeOption) { var _cache2, _cache3; var updateCallTimes = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false; var cache = { map: this.cache }; derivativeOption.forEach(function (derivative) { if (!cache) { cache = undefined; } else { var _cache; cache = (_cache = cache) === null || _cache === void 0 || (_cache = _cache.map) === null || _cache === void 0 ? void 0 : _cache.get(derivative); } }); if ((_cache2 = cache) !== null && _cache2 !== void 0 && _cache2.value && updateCallTimes) { cache.value[1] = this.cacheCallTimes++; } return (_cache3 = cache) === null || _cache3 === void 0 ? void 0 : _cache3.value; } }, { key: "get", value: function get(derivativeOption) { var _this$internalGet; return (_this$internalGet = this.internalGet(derivativeOption, true)) === null || _this$internalGet === void 0 ? void 0 : _this$internalGet[0]; } }, { key: "has", value: function has(derivativeOption) { return !!this.internalGet(derivativeOption); } }, { key: "set", value: function set(derivativeOption, value) { var _this = this; // New cache if (!this.has(derivativeOption)) { if (this.size() + 1 > ThemeCache.MAX_CACHE_SIZE + ThemeCache.MAX_CACHE_OFFSET) { var _this$keys$reduce = this.keys.reduce(function (result, key) { var _result = (0,slicedToArray/* default */.Z)(result, 2), callTimes = _result[1]; if (_this.internalGet(key)[1] < callTimes) { return [key, _this.internalGet(key)[1]]; } return result; }, [this.keys[0], this.cacheCallTimes]), _this$keys$reduce2 = (0,slicedToArray/* default */.Z)(_this$keys$reduce, 1), targetKey = _this$keys$reduce2[0]; this.delete(targetKey); } this.keys.push(derivativeOption); } var cache = this.cache; derivativeOption.forEach(function (derivative, index) { if (index === derivativeOption.length - 1) { cache.set(derivative, { value: [value, _this.cacheCallTimes++] }); } else { var cacheValue = cache.get(derivative); if (!cacheValue) { cache.set(derivative, { map: new Map() }); } else if (!cacheValue.map) { cacheValue.map = new Map(); } cache = cache.get(derivative).map; } }); } }, { key: "deleteByPath", value: function deleteByPath(currentCache, derivatives) { var cache = currentCache.get(derivatives[0]); if (derivatives.length === 1) { var _cache$value; if (!cache.map) { currentCache.delete(derivatives[0]); } else { currentCache.set(derivatives[0], { map: cache.map }); } return (_cache$value = cache.value) === null || _cache$value === void 0 ? void 0 : _cache$value[0]; } var result = this.deleteByPath(cache.map, derivatives.slice(1)); if ((!cache.map || cache.map.size === 0) && !cache.value) { currentCache.delete(derivatives[0]); } return result; } }, { key: "delete", value: function _delete(derivativeOption) { // If cache exists if (this.has(derivativeOption)) { this.keys = this.keys.filter(function (item) { return !sameDerivativeOption(item, derivativeOption); }); return this.deleteByPath(this.cache, derivativeOption); } return undefined; } }]); return ThemeCache; }(); (0,defineProperty/* default */.Z)(ThemeCache, "MAX_CACHE_SIZE", 20); (0,defineProperty/* default */.Z)(ThemeCache, "MAX_CACHE_OFFSET", 5); // EXTERNAL MODULE: ./node_modules/_rc-util@5.44.4@rc-util/es/warning.js var warning = __webpack_require__(48736); ;// CONCATENATED MODULE: ./node_modules/_@ant-design_cssinjs@1.24.0@@ant-design/cssinjs/es/theme/Theme.js var uuid = 0; /** * Theme with algorithms to derive tokens from design tokens. * Use `createTheme` first which will help to manage the theme instance cache. */ var Theme = /*#__PURE__*/function () { function Theme(derivatives) { (0,classCallCheck/* default */.Z)(this, Theme); (0,defineProperty/* default */.Z)(this, "derivatives", void 0); (0,defineProperty/* default */.Z)(this, "id", void 0); this.derivatives = Array.isArray(derivatives) ? derivatives : [derivatives]; this.id = uuid; if (derivatives.length === 0) { (0,warning/* warning */.Kp)(derivatives.length > 0, '[Ant Design CSS-in-JS] Theme should have at least one derivative function.'); } uuid += 1; } (0,createClass/* default */.Z)(Theme, [{ key: "getDerivativeToken", value: function getDerivativeToken(token) { return this.derivatives.reduce(function (result, derivative) { return derivative(token, result); }, undefined); } }]); return Theme; }(); ;// CONCATENATED MODULE: ./node_modules/_@ant-design_cssinjs@1.24.0@@ant-design/cssinjs/es/theme/createTheme.js var cacheThemes = new ThemeCache(); /** * Same as new Theme, but will always return same one if `derivative` not changed. */ function createTheme(derivatives) { var derivativeArr = Array.isArray(derivatives) ? derivatives : [derivatives]; // Create new theme if not exist if (!cacheThemes.has(derivativeArr)) { cacheThemes.set(derivativeArr, new Theme(derivativeArr)); } // Get theme from cache and return return cacheThemes.get(derivativeArr); } ;// CONCATENATED MODULE: ./node_modules/_@ant-design_cssinjs@1.24.0@@ant-design/cssinjs/es/theme/index.js ;// CONCATENATED MODULE: ./node_modules/_@ant-design_cssinjs@1.24.0@@ant-design/cssinjs/es/util/index.js // Create a cache for memo concat var resultCache = new WeakMap(); var RESULT_VALUE = {}; function memoResult(callback, deps) { var current = resultCache; for (var i = 0; i < deps.length; i += 1) { var dep = deps[i]; if (!current.has(dep)) { current.set(dep, new WeakMap()); } current = current.get(dep); } if (!current.has(RESULT_VALUE)) { current.set(RESULT_VALUE, callback()); } return current.get(RESULT_VALUE); } // Create a cache here to avoid always loop generate var flattenTokenCache = new WeakMap(); /** * Flatten token to string, this will auto cache the result when token not change */ function flattenToken(token) { var str = flattenTokenCache.get(token) || ''; if (!str) { Object.keys(token).forEach(function (key) { var value = token[key]; str += key; if (value instanceof Theme) { str += value.id; } else if (value && (0,esm_typeof/* default */.Z)(value) === 'object') { str += flattenToken(value); } else { str += value; } }); // https://github.com/ant-design/ant-design/issues/48386 // Should hash the string to avoid style tag name too long str = hash_browser_esm(str); // Put in cache flattenTokenCache.set(token, str); } return str; } /** * Convert derivative token to key string */ function token2key(token, salt) { return hash_browser_esm("".concat(salt, "_").concat(flattenToken(token))); } var randomSelectorKey = "random-".concat(Date.now(), "-").concat(Math.random()).replace(/\./g, ''); // Magic `content` for detect selector support var checkContent = '_bAmBoO_'; function supportSelector(styleStr, handleElement, supportCheck) { if ((0,canUseDom/* default */.Z)()) { var _getComputedStyle$con, _ele$parentNode; (0,dynamicCSS/* updateCSS */.hq)(styleStr, randomSelectorKey); var _ele = document.createElement('div'); _ele.style.position = 'fixed'; _ele.style.left = '0'; _ele.style.top = '0'; handleElement === null || handleElement === void 0 || handleElement(_ele); document.body.appendChild(_ele); if (false) {} var support = supportCheck ? supportCheck(_ele) : (_getComputedStyle$con = getComputedStyle(_ele).content) === null || _getComputedStyle$con === void 0 ? void 0 : _getComputedStyle$con.includes(checkContent); (_ele$parentNode = _ele.parentNode) === null || _ele$parentNode === void 0 || _ele$parentNode.removeChild(_ele); (0,dynamicCSS/* removeCSS */.jL)(randomSelectorKey); return support; } return false; } var canLayer = (/* unused pure expression or super */ null && (undefined)); function supportLayer() { if (canLayer === undefined) { canLayer = supportSelector("@layer ".concat(randomSelectorKey, " { .").concat(randomSelectorKey, " { content: \"").concat(checkContent, "\"!important; } }"), function (ele) { ele.className = randomSelectorKey; }); } return canLayer; } var canWhere = undefined; function supportWhere() { if (canWhere === undefined) { canWhere = supportSelector(":where(.".concat(randomSelectorKey, ") { content: \"").concat(checkContent, "\"!important; }"), function (ele) { ele.className = randomSelectorKey; }); } return canWhere; } var canLogic = undefined; function supportLogicProps() { if (canLogic === undefined) { canLogic = supportSelector(".".concat(randomSelectorKey, " { inset-block: 93px !important; }"), function (ele) { ele.className = randomSelectorKey; }, function (ele) { return getComputedStyle(ele).bottom === '93px'; }); } return canLogic; } var isClientSide = (0,canUseDom/* default */.Z)(); function util_unit(num) { if (typeof num === 'number') { return "".concat(num, "px"); } return num; } function toStyleStr(style, tokenKey, styleId) { var customizeAttrs = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {}; var plain = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : false; if (plain) { return style; } var attrs = (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, customizeAttrs), {}, (0,defineProperty/* default */.Z)((0,defineProperty/* default */.Z)({}, ATTR_TOKEN, tokenKey), ATTR_MARK, styleId)); var attrStr = Object.keys(attrs).map(function (attr) { var val = attrs[attr]; return val ? "".concat(attr, "=\"").concat(val, "\"") : null; }).filter(function (v) { return v; }).join(' '); return ""); } ;// CONCATENATED MODULE: ./node_modules/_@ant-design_cssinjs@1.24.0@@ant-design/cssinjs/es/util/css-variables.js var token2CSSVar = function token2CSSVar(token) { var prefix = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : ''; return "--".concat(prefix ? "".concat(prefix, "-") : '').concat(token).replace(/([a-z0-9])([A-Z])/g, '$1-$2').replace(/([A-Z]+)([A-Z][a-z0-9]+)/g, '$1-$2').replace(/([a-z])([A-Z0-9])/g, '$1-$2').toLowerCase(); }; var serializeCSSVar = function serializeCSSVar(cssVars, hashId, options) { if (!Object.keys(cssVars).length) { return ''; } return ".".concat(hashId).concat(options !== null && options !== void 0 && options.scope ? ".".concat(options.scope) : '', "{").concat(Object.entries(cssVars).map(function (_ref) { var _ref2 = (0,slicedToArray/* default */.Z)(_ref, 2), key = _ref2[0], value = _ref2[1]; return "".concat(key, ":").concat(value, ";"); }).join(''), "}"); }; var transformToken = function transformToken(token, themeKey, config) { var cssVars = {}; var result = {}; Object.entries(token).forEach(function (_ref3) { var _config$preserve, _config$ignore; var _ref4 = (0,slicedToArray/* default */.Z)(_ref3, 2), key = _ref4[0], value = _ref4[1]; if (config !== null && config !== void 0 && (_config$preserve = config.preserve) !== null && _config$preserve !== void 0 && _config$preserve[key]) { result[key] = value; } else if ((typeof value === 'string' || typeof value === 'number') && !(config !== null && config !== void 0 && (_config$ignore = config.ignore) !== null && _config$ignore !== void 0 && _config$ignore[key])) { var _config$unitless; var cssVar = token2CSSVar(key, config === null || config === void 0 ? void 0 : config.prefix); cssVars[cssVar] = typeof value === 'number' && !(config !== null && config !== void 0 && (_config$unitless = config.unitless) !== null && _config$unitless !== void 0 && _config$unitless[key]) ? "".concat(value, "px") : String(value); result[key] = "var(".concat(cssVar, ")"); } }); return [result, serializeCSSVar(cssVars, themeKey, { scope: config === null || config === void 0 ? void 0 : config.scope })]; }; // EXTERNAL MODULE: ./node_modules/_rc-util@5.44.4@rc-util/es/hooks/useLayoutEffect.js var useLayoutEffect = __webpack_require__(34280); ;// CONCATENATED MODULE: ./node_modules/_@ant-design_cssinjs@1.24.0@@ant-design/cssinjs/es/hooks/useCompatibleInsertionEffect.js // import canUseDom from 'rc-util/lib/Dom/canUseDom'; // We need fully clone React function here // to avoid webpack warning React 17 do not export `useId` var fullClone = (0,objectSpread2/* default */.Z)({}, _react_17_0_2_react_namespaceObject); var useInsertionEffect = fullClone.useInsertionEffect; /** * Polyfill `useInsertionEffect` for React < 18 * @param renderEffect will be executed in `useMemo`, and do not have callback * @param effect will be executed in `useLayoutEffect` * @param deps */ var useInsertionEffectPolyfill = function useInsertionEffectPolyfill(renderEffect, effect, deps) { _react_17_0_2_react.useMemo(renderEffect, deps); (0,useLayoutEffect/* default */.Z)(function () { return effect(true); }, deps); }; /** * Compatible `useInsertionEffect` * will use `useInsertionEffect` if React version >= 18, * otherwise use `useInsertionEffectPolyfill`. */ var useCompatibleInsertionEffect = useInsertionEffect ? function (renderEffect, effect, deps) { return useInsertionEffect(function () { renderEffect(); return effect(); }, deps); } : useInsertionEffectPolyfill; /* harmony default export */ var hooks_useCompatibleInsertionEffect = (useCompatibleInsertionEffect); ;// CONCATENATED MODULE: ./node_modules/_@ant-design_cssinjs@1.24.0@@ant-design/cssinjs/es/hooks/useEffectCleanupRegister.js var useEffectCleanupRegister_fullClone = (0,objectSpread2/* default */.Z)({}, _react_17_0_2_react_namespaceObject); var useEffectCleanupRegister_useInsertionEffect = useEffectCleanupRegister_fullClone.useInsertionEffect; // DO NOT register functions in useEffect cleanup function, or functions that registered will never be called. var useCleanupRegister = function useCleanupRegister(deps) { var effectCleanups = []; var cleanupFlag = false; function register(fn) { if (cleanupFlag) { if (false) {} return; } effectCleanups.push(fn); } _react_17_0_2_react.useEffect(function () { // Compatible with strict mode cleanupFlag = false; return function () { cleanupFlag = true; if (effectCleanups.length) { effectCleanups.forEach(function (fn) { return fn(); }); } }; }, deps); return register; }; var useRun = function useRun() { return function (fn) { fn(); }; }; // Only enable register in React 18 var useEffectCleanupRegister = typeof useEffectCleanupRegister_useInsertionEffect !== 'undefined' ? useCleanupRegister : useRun; /* harmony default export */ var hooks_useEffectCleanupRegister = (useEffectCleanupRegister); ;// CONCATENATED MODULE: ./node_modules/_@ant-design_cssinjs@1.24.0@@ant-design/cssinjs/es/hooks/useHMR.js function useProdHMR() { return false; } var webpackHMR = false; function useDevHMR() { return webpackHMR; } /* harmony default export */ var useHMR = ( true ? useProdHMR : 0); // Webpack `module.hot.accept` do not support any deps update trigger // We have to hack handler to force mark as HRM if (false) { var originWebpackHotUpdate, win; } ;// CONCATENATED MODULE: ./node_modules/_@ant-design_cssinjs@1.24.0@@ant-design/cssinjs/es/hooks/useGlobalCache.js function useGlobalCache(prefix, keyPath, cacheFn, onCacheRemove, // Add additional effect trigger by `useInsertionEffect` onCacheEffect) { var _React$useContext = _react_17_0_2_react.useContext(es_StyleContext), globalCache = _React$useContext.cache; var fullPath = [prefix].concat((0,toConsumableArray/* default */.Z)(keyPath)); var fullPathStr = pathKey(fullPath); var register = hooks_useEffectCleanupRegister([fullPathStr]); var HMRUpdate = useHMR(); var buildCache = function buildCache(updater) { globalCache.opUpdate(fullPathStr, function (prevCache) { var _ref = prevCache || [undefined, undefined], _ref2 = (0,slicedToArray/* default */.Z)(_ref, 2), _ref2$ = _ref2[0], times = _ref2$ === void 0 ? 0 : _ref2$, cache = _ref2[1]; // HMR should always ignore cache since developer may change it var tmpCache = cache; if (false) {} var mergedCache = tmpCache || cacheFn(); var data = [times, mergedCache]; // Call updater if need additional logic return updater ? updater(data) : data; }); }; // Create cache _react_17_0_2_react.useMemo(function () { buildCache(); }, /* eslint-disable react-hooks/exhaustive-deps */ [fullPathStr] /* eslint-enable */); var cacheEntity = globalCache.opGet(fullPathStr); // HMR clean the cache but not trigger `useMemo` again // Let's fallback of this // ref https://github.com/ant-design/cssinjs/issues/127 if (false) {} var cacheContent = cacheEntity[1]; // Remove if no need anymore hooks_useCompatibleInsertionEffect(function () { onCacheEffect === null || onCacheEffect === void 0 || onCacheEffect(cacheContent); }, function (polyfill) { // It's bad to call build again in effect. // But we have to do this since StrictMode will call effect twice // which will clear cache on the first time. buildCache(function (_ref3) { var _ref4 = (0,slicedToArray/* default */.Z)(_ref3, 2), times = _ref4[0], cache = _ref4[1]; if (polyfill && times === 0) { onCacheEffect === null || onCacheEffect === void 0 || onCacheEffect(cacheContent); } return [times + 1, cache]; }); return function () { globalCache.opUpdate(fullPathStr, function (prevCache) { var _ref5 = prevCache || [], _ref6 = (0,slicedToArray/* default */.Z)(_ref5, 2), _ref6$ = _ref6[0], times = _ref6$ === void 0 ? 0 : _ref6$, cache = _ref6[1]; var nextCount = times - 1; if (nextCount === 0) { // Always remove styles in useEffect callback register(function () { // With polyfill, registered callback will always be called synchronously // But without polyfill, it will be called in effect clean up, // And by that time this cache is cleaned up. if (polyfill || !globalCache.opGet(fullPathStr)) { onCacheRemove === null || onCacheRemove === void 0 || onCacheRemove(cache, false); } }); return null; } return [times - 1, cache]; }); }; }, [fullPathStr]); return cacheContent; } ;// CONCATENATED MODULE: ./node_modules/_@ant-design_cssinjs@1.24.0@@ant-design/cssinjs/es/hooks/useCacheToken.js var EMPTY_OVERRIDE = {}; // Generate different prefix to make user selector break in production env. // This helps developer not to do style override directly on the hash id. var hashPrefix = false ? 0 : 'css'; var tokenKeys = new Map(); function recordCleanToken(tokenKey) { tokenKeys.set(tokenKey, (tokenKeys.get(tokenKey) || 0) + 1); } function removeStyleTags(key, instanceId) { if (typeof document !== 'undefined') { var styles = document.querySelectorAll("style[".concat(ATTR_TOKEN, "=\"").concat(key, "\"]")); styles.forEach(function (style) { if (style[CSS_IN_JS_INSTANCE] === instanceId) { var _style$parentNode; (_style$parentNode = style.parentNode) === null || _style$parentNode === void 0 || _style$parentNode.removeChild(style); } }); } } var TOKEN_THRESHOLD = 0; // Remove will check current keys first function cleanTokenStyle(tokenKey, instanceId) { tokenKeys.set(tokenKey, (tokenKeys.get(tokenKey) || 0) - 1); var cleanableKeyList = new Set(); tokenKeys.forEach(function (value, key) { if (value <= 0) cleanableKeyList.add(key); }); // Should keep tokens under threshold for not to insert style too often if (tokenKeys.size - cleanableKeyList.size > TOKEN_THRESHOLD) { cleanableKeyList.forEach(function (key) { removeStyleTags(key, instanceId); tokenKeys.delete(key); }); } } var getComputedToken = function getComputedToken(originToken, overrideToken, theme, format) { var derivativeToken = theme.getDerivativeToken(originToken); // Merge with override var mergedDerivativeToken = (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, derivativeToken), overrideToken); // Format if needed if (format) { mergedDerivativeToken = format(mergedDerivativeToken); } return mergedDerivativeToken; }; var TOKEN_PREFIX = 'token'; /** * Cache theme derivative token as global shared one * @param theme Theme entity * @param tokens List of tokens, used for cache. Please do not dynamic generate object directly * @param option Additional config * @returns Call Theme.getDerivativeToken(tokenObject) to get token */ function useCacheToken(theme, tokens) { var option = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {}; var _useContext = (0,_react_17_0_2_react.useContext)(es_StyleContext), instanceId = _useContext.cache.instanceId, container = _useContext.container; var _option$salt = option.salt, salt = _option$salt === void 0 ? '' : _option$salt, _option$override = option.override, override = _option$override === void 0 ? EMPTY_OVERRIDE : _option$override, formatToken = option.formatToken, compute = option.getComputedToken, cssVar = option.cssVar; // Basic - We do basic cache here var mergedToken = memoResult(function () { return Object.assign.apply(Object, [{}].concat((0,toConsumableArray/* default */.Z)(tokens))); }, tokens); var tokenStr = flattenToken(mergedToken); var overrideTokenStr = flattenToken(override); var cssVarStr = cssVar ? flattenToken(cssVar) : ''; var cachedToken = useGlobalCache(TOKEN_PREFIX, [salt, theme.id, tokenStr, overrideTokenStr, cssVarStr], function () { var _cssVar$key; var mergedDerivativeToken = compute ? compute(mergedToken, override, theme) : getComputedToken(mergedToken, override, theme, formatToken); // Replace token value with css variables var actualToken = (0,objectSpread2/* default */.Z)({}, mergedDerivativeToken); var cssVarsStr = ''; if (!!cssVar) { var _transformToken = transformToken(mergedDerivativeToken, cssVar.key, { prefix: cssVar.prefix, ignore: cssVar.ignore, unitless: cssVar.unitless, preserve: cssVar.preserve }); var _transformToken2 = (0,slicedToArray/* default */.Z)(_transformToken, 2); mergedDerivativeToken = _transformToken2[0]; cssVarsStr = _transformToken2[1]; } // Optimize for `useStyleRegister` performance var tokenKey = token2key(mergedDerivativeToken, salt); mergedDerivativeToken._tokenKey = tokenKey; actualToken._tokenKey = token2key(actualToken, salt); var themeKey = (_cssVar$key = cssVar === null || cssVar === void 0 ? void 0 : cssVar.key) !== null && _cssVar$key !== void 0 ? _cssVar$key : tokenKey; mergedDerivativeToken._themeKey = themeKey; recordCleanToken(themeKey); var hashId = "".concat(hashPrefix, "-").concat(hash_browser_esm(tokenKey)); mergedDerivativeToken._hashId = hashId; // Not used return [mergedDerivativeToken, hashId, actualToken, cssVarsStr, (cssVar === null || cssVar === void 0 ? void 0 : cssVar.key) || '']; }, function (cache) { // Remove token will remove all related style cleanTokenStyle(cache[0]._themeKey, instanceId); }, function (_ref) { var _ref2 = (0,slicedToArray/* default */.Z)(_ref, 4), token = _ref2[0], cssVarsStr = _ref2[3]; if (cssVar && cssVarsStr) { var style = (0,dynamicCSS/* updateCSS */.hq)(cssVarsStr, hash_browser_esm("css-variables-".concat(token._themeKey)), { mark: ATTR_MARK, prepend: 'queue', attachTo: container, priority: -999 }); style[CSS_IN_JS_INSTANCE] = instanceId; // Used for `useCacheToken` to remove on batch when token removed style.setAttribute(ATTR_TOKEN, token._themeKey); } }); return cachedToken; } var extract = function extract(cache, effectStyles, options) { var _cache = (0,slicedToArray/* default */.Z)(cache, 5), realToken = _cache[2], styleStr = _cache[3], cssVarKey = _cache[4]; var _ref3 = options || {}, plain = _ref3.plain; if (!styleStr) { return null; } var styleId = realToken._tokenKey; var order = -999; // ====================== Style ====================== // Used for rc-util var sharedAttrs = { 'data-rc-order': 'prependQueue', 'data-rc-priority': "".concat(order) }; var styleText = toStyleStr(styleStr, cssVarKey, styleId, sharedAttrs, plain); return [order, styleId, styleText]; }; // EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.28.6@@babel/runtime/helpers/esm/extends.js var esm_extends = __webpack_require__(60499); ;// CONCATENATED MODULE: ./node_modules/_@emotion_unitless@0.7.5@@emotion/unitless/dist/unitless.browser.esm.js var unitlessKeys = { animationIterationCount: 1, borderImageOutset: 1, borderImageSlice: 1, borderImageWidth: 1, boxFlex: 1, boxFlexGroup: 1, boxOrdinalGroup: 1, columnCount: 1, columns: 1, flex: 1, flexGrow: 1, flexPositive: 1, flexShrink: 1, flexNegative: 1, flexOrder: 1, gridRow: 1, gridRowEnd: 1, gridRowSpan: 1, gridRowStart: 1, gridColumn: 1, gridColumnEnd: 1, gridColumnSpan: 1, gridColumnStart: 1, msGridRow: 1, msGridRowSpan: 1, msGridColumn: 1, msGridColumnSpan: 1, fontWeight: 1, lineHeight: 1, opacity: 1, order: 1, orphans: 1, tabSize: 1, widows: 1, zIndex: 1, zoom: 1, WebkitLineClamp: 1, // SVG-related properties fillOpacity: 1, floodOpacity: 1, stopOpacity: 1, strokeDasharray: 1, strokeDashoffset: 1, strokeMiterlimit: 1, strokeOpacity: 1, strokeWidth: 1 }; /* harmony default export */ var unitless_browser_esm = (unitlessKeys); ;// CONCATENATED MODULE: ./node_modules/_stylis@4.3.6@stylis/src/Enum.js var MS = '-ms-' var MOZ = '-moz-' var WEBKIT = '-webkit-' var COMMENT = 'comm' var RULESET = 'rule' var DECLARATION = 'decl' var PAGE = '@page' var MEDIA = '@media' var IMPORT = '@import' var CHARSET = '@charset' var VIEWPORT = '@viewport' var SUPPORTS = '@supports' var DOCUMENT = '@document' var NAMESPACE = '@namespace' var KEYFRAMES = '@keyframes' var FONT_FACE = '@font-face' var COUNTER_STYLE = '@counter-style' var FONT_FEATURE_VALUES = '@font-feature-values' var LAYER = '@layer' var SCOPE = '@scope' ;// CONCATENATED MODULE: ./node_modules/_stylis@4.3.6@stylis/src/Utility.js /** * @param {number} * @return {number} */ var abs = Math.abs /** * @param {number} * @return {string} */ var Utility_from = String.fromCharCode /** * @param {object} * @return {object} */ var Utility_assign = Object.assign /** * @param {string} value * @param {number} length * @return {number} */ function hash (value, length) { return charat(value, 0) ^ 45 ? (((((((length << 2) ^ charat(value, 0)) << 2) ^ charat(value, 1)) << 2) ^ charat(value, 2)) << 2) ^ charat(value, 3) : 0 } /** * @param {string} value * @return {string} */ function trim (value) { return value.trim() } /** * @param {string} value * @param {RegExp} pattern * @return {string?} */ function match (value, pattern) { return (value = pattern.exec(value)) ? value[0] : value } /** * @param {string} value * @param {(string|RegExp)} pattern * @param {string} replacement * @return {string} */ function replace (value, pattern, replacement) { return value.replace(pattern, replacement) } /** * @param {string} value * @param {string} search * @param {number} position * @return {number} */ function indexof (value, search, position) { return value.indexOf(search, position) } /** * @param {string} value * @param {number} index * @return {number} */ function charat (value, index) { return value.charCodeAt(index) | 0 } /** * @param {string} value * @param {number} begin * @param {number} end * @return {string} */ function substr (value, begin, end) { return value.slice(begin, end) } /** * @param {string} value * @return {number} */ function strlen (value) { return value.length } /** * @param {any[]} value * @return {number} */ function sizeof (value) { return value.length } /** * @param {any} value * @param {any[]} array * @return {any} */ function Utility_append (value, array) { return array.push(value), value } /** * @param {string[]} array * @param {function} callback * @return {string} */ function combine (array, callback) { return array.map(callback).join('') } /** * @param {string[]} array * @param {RegExp} pattern * @return {string[]} */ function filter (array, pattern) { return array.filter(function (value) { return !match(value, pattern) }) } ;// CONCATENATED MODULE: ./node_modules/_stylis@4.3.6@stylis/src/Serializer.js /** * @param {object[]} children * @param {function} callback * @return {string} */ function serialize (children, callback) { var output = '' for (var i = 0; i < children.length; i++) output += callback(children[i], i, children, callback) || '' return output } /** * @param {object} element * @param {number} index * @param {object[]} children * @param {function} callback * @return {string} */ function stringify (element, index, children, callback) { switch (element.type) { case LAYER: if (element.children.length) break case IMPORT: case NAMESPACE: case DECLARATION: return element.return = element.return || element.value case COMMENT: return '' case KEYFRAMES: return element.return = element.value + '{' + serialize(element.children, callback) + '}' case RULESET: if (!strlen(element.value = element.props.join(','))) return '' } return strlen(children = serialize(element.children, callback)) ? element.return = element.value + '{' + children + '}' : '' } ;// CONCATENATED MODULE: ./node_modules/_stylis@4.3.6@stylis/src/Tokenizer.js var line = 1 var column = 1 var Tokenizer_length = 0 var position = 0 var character = 0 var characters = '' /** * @param {string} value * @param {object | null} root * @param {object | null} parent * @param {string} type * @param {string[] | string} props * @param {object[] | string} children * @param {object[]} siblings * @param {number} length */ function node (value, root, parent, type, props, children, length, siblings) { return {value: value, root: root, parent: parent, type: type, props: props, children: children, line: line, column: column, length: length, return: '', siblings: siblings} } /** * @param {object} root * @param {object} props * @return {object} */ function copy (root, props) { return assign(node('', null, null, '', null, null, 0, root.siblings), root, {length: -root.length}, props) } /** * @param {object} root */ function lift (root) { while (root.root) root = copy(root.root, {children: [root]}) append(root, root.siblings) } /** * @return {number} */ function Tokenizer_char () { return character } /** * @return {number} */ function prev () { character = position > 0 ? charat(characters, --position) : 0 if (column--, character === 10) column = 1, line-- return character } /** * @return {number} */ function next () { character = position < Tokenizer_length ? charat(characters, position++) : 0 if (column++, character === 10) column = 1, line++ return character } /** * @return {number} */ function peek () { return charat(characters, position) } /** * @return {number} */ function caret () { return position } /** * @param {number} begin * @param {number} end * @return {string} */ function slice (begin, end) { return substr(characters, begin, end) } /** * @param {number} type * @return {number} */ function token (type) { switch (type) { // \0 \t \n \r \s whitespace token case 0: case 9: case 10: case 13: case 32: return 5 // ! + , / > @ ~ isolate token case 33: case 43: case 44: case 47: case 62: case 64: case 126: // ; { } breakpoint token case 59: case 123: case 125: return 4 // : accompanied token case 58: return 3 // " ' ( [ opening delimit token case 34: case 39: case 40: case 91: return 2 // ) ] closing delimit token case 41: case 93: return 1 } return 0 } /** * @param {string} value * @return {any[]} */ function alloc (value) { return line = column = 1, Tokenizer_length = strlen(characters = value), position = 0, [] } /** * @param {any} value * @return {any} */ function dealloc (value) { return characters = '', value } /** * @param {number} type * @return {string} */ function delimit (type) { return trim(slice(position - 1, delimiter(type === 91 ? type + 2 : type === 40 ? type + 1 : type))) } /** * @param {string} value * @return {string[]} */ function tokenize (value) { return dealloc(tokenizer(alloc(value))) } /** * @param {number} type * @return {string} */ function whitespace (type) { while (character = peek()) if (character < 33) next() else break return token(type) > 2 || token(character) > 3 ? '' : ' ' } /** * @param {string[]} children * @return {string[]} */ function tokenizer (children) { while (next()) switch (token(character)) { case 0: append(identifier(position - 1), children) break case 2: append(delimit(character), children) break default: append(from(character), children) } return children } /** * @param {number} index * @param {number} count * @return {string} */ function escaping (index, count) { while (--count && next()) // not 0-9 A-F a-f if (character < 48 || character > 102 || (character > 57 && character < 65) || (character > 70 && character < 97)) break return slice(index, caret() + (count < 6 && peek() == 32 && next() == 32)) } /** * @param {number} type * @return {number} */ function delimiter (type) { while (next()) switch (character) { // ] ) " ' case type: return position // " ' case 34: case 39: if (type !== 34 && type !== 39) delimiter(character) break // ( case 40: if (type === 41) delimiter(type) break // \ case 92: next() break } return position } /** * @param {number} type * @param {number} index * @return {number} */ function commenter (type, index) { while (next()) // // if (type + character === 47 + 10) break // /* else if (type + character === 42 + 42 && peek() === 47) break return '/*' + slice(index, position - 1) + '*' + Utility_from(type === 47 ? type : next()) } /** * @param {number} index * @return {string} */ function identifier (index) { while (!token(peek())) next() return slice(index, position) } ;// CONCATENATED MODULE: ./node_modules/_stylis@4.3.6@stylis/src/Parser.js /** * @param {string} value * @return {object[]} */ function compile (value) { return dealloc(parse('', null, null, null, [''], value = alloc(value), 0, [0], value)) } /** * @param {string} value * @param {object} root * @param {object?} parent * @param {string[]} rule * @param {string[]} rules * @param {string[]} rulesets * @param {number[]} pseudo * @param {number[]} points * @param {string[]} declarations * @return {object} */ function parse (value, root, parent, rule, rules, rulesets, pseudo, points, declarations) { var index = 0 var offset = 0 var length = pseudo var atrule = 0 var property = 0 var previous = 0 var variable = 1 var scanning = 1 var ampersand = 1 var character = 0 var type = '' var props = rules var children = rulesets var reference = rule var characters = type while (scanning) switch (previous = character, character = next()) { // ( case 40: if (previous != 108 && charat(characters, length - 1) == 58) { if (indexof(characters += replace(delimit(character), '&', '&\f'), '&\f', abs(index ? points[index - 1] : 0)) != -1) ampersand = -1 break } // " ' [ case 34: case 39: case 91: characters += delimit(character) break // \t \n \r \s case 9: case 10: case 13: case 32: characters += whitespace(previous) break // \ case 92: characters += escaping(caret() - 1, 7) continue // / case 47: switch (peek()) { case 42: case 47: Utility_append(comment(commenter(next(), caret()), root, parent, declarations), declarations) if ((token(previous || 1) == 5 || token(peek() || 1) == 5) && strlen(characters) && substr(characters, -1, void 0) !== ' ') characters += ' ' break default: characters += '/' } break // { case 123 * variable: points[index++] = strlen(characters) * ampersand // } ; \0 case 125 * variable: case 59: case 0: switch (character) { // \0 } case 0: case 125: scanning = 0 // ; case 59 + offset: if (ampersand == -1) characters = replace(characters, /\f/g, '') if (property > 0 && (strlen(characters) - length || (variable === 0 && previous === 47))) Utility_append(property > 32 ? declaration(characters + ';', rule, parent, length - 1, declarations) : declaration(replace(characters, ' ', '') + ';', rule, parent, length - 2, declarations), declarations) break // @ ; case 59: characters += ';' // { rule/at-rule default: Utility_append(reference = ruleset(characters, root, parent, index, offset, rules, points, type, props = [], children = [], length, rulesets), rulesets) if (character === 123) if (offset === 0) parse(characters, root, reference, reference, props, rulesets, length, points, children) else { switch (atrule) { // c(ontainer) case 99: if (charat(characters, 3) === 110) break // l(ayer) case 108: if (charat(characters, 2) === 97) break default: offset = 0 // d(ocument) m(edia) s(upports) case 100: case 109: case 115: } if (offset) parse(value, reference, reference, rule && Utility_append(ruleset(value, reference, reference, 0, 0, rules, points, type, rules, props = [], length, children), children), rules, children, length, points, rule ? props : children) else parse(characters, reference, reference, reference, [''], children, 0, points, children) } } index = offset = property = 0, variable = ampersand = 1, type = characters = '', length = pseudo break // : case 58: length = 1 + strlen(characters), property = previous default: if (variable < 1) if (character == 123) --variable else if (character == 125 && variable++ == 0 && prev() == 125) continue switch (characters += Utility_from(character), character * variable) { // & case 38: ampersand = offset > 0 ? 1 : (characters += '\f', -1) break // , case 44: points[index++] = (strlen(characters) - 1) * ampersand, ampersand = 1 break // @ case 64: // - if (peek() === 45) characters += delimit(next()) atrule = peek(), offset = length = strlen(type = characters += identifier(caret())), character++ break // - case 45: if (previous === 45 && strlen(characters) == 2) variable = 0 } } return rulesets } /** * @param {string} value * @param {object} root * @param {object?} parent * @param {number} index * @param {number} offset * @param {string[]} rules * @param {number[]} points * @param {string} type * @param {string[]} props * @param {string[]} children * @param {number} length * @param {object[]} siblings * @return {object} */ function ruleset (value, root, parent, index, offset, rules, points, type, props, children, length, siblings) { var post = offset - 1 var rule = offset === 0 ? rules : [''] var size = sizeof(rule) for (var i = 0, j = 0, k = 0; i < index; ++i) for (var x = 0, y = substr(value, post + 1, post = abs(j = points[i])), z = value; x < size; ++x) if (z = trim(j > 0 ? rule[x] + ' ' + y : replace(y, /&\f/g, rule[x]))) props[k++] = z return node(value, root, parent, offset === 0 ? RULESET : type, props, children, length, siblings) } /** * @param {number} value * @param {object} root * @param {object?} parent * @param {object[]} siblings * @return {object} */ function comment (value, root, parent, siblings) { return node(value, root, parent, COMMENT, Utility_from(Tokenizer_char()), substr(value, 2, -2), 0, siblings) } /** * @param {string} value * @param {object} root * @param {object?} parent * @param {number} length * @param {object[]} siblings * @return {object} */ function declaration (value, root, parent, length, siblings) { return node(value, root, parent, DECLARATION, substr(value, 0, length), substr(value, length + 1, -1), length, siblings) } ;// CONCATENATED MODULE: ./node_modules/_@ant-design_cssinjs@1.24.0@@ant-design/cssinjs/es/linters/utils.js function utils_lintWarning(message, info) { var path = info.path, parentSelectors = info.parentSelectors; (0,warning/* default */.ZP)(false, "[Ant Design CSS-in-JS] ".concat(path ? "Error in ".concat(path, ": ") : '').concat(message).concat(parentSelectors.length ? " Selector: ".concat(parentSelectors.join(' | ')) : '')); } ;// CONCATENATED MODULE: ./node_modules/_@ant-design_cssinjs@1.24.0@@ant-design/cssinjs/es/linters/contentQuotesLinter.js var linter = function linter(key, value, info) { if (key === 'content') { // From emotion: https://github.com/emotion-js/emotion/blob/main/packages/serialize/src/index.js#L63 var contentValuePattern = /(attr|counters?|url|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/; var contentValues = ['normal', 'none', 'initial', 'inherit', 'unset']; if (typeof value !== 'string' || contentValues.indexOf(value) === -1 && !contentValuePattern.test(value) && (value.charAt(0) !== value.charAt(value.length - 1) || value.charAt(0) !== '"' && value.charAt(0) !== "'")) { lintWarning("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\"".concat(value, "\"'`."), info); } } }; /* harmony default export */ var contentQuotesLinter = ((/* unused pure expression or super */ null && (linter))); ;// CONCATENATED MODULE: ./node_modules/_@ant-design_cssinjs@1.24.0@@ant-design/cssinjs/es/linters/hashedAnimationLinter.js var hashedAnimationLinter_linter = function linter(key, value, info) { if (key === 'animation') { if (info.hashId && value !== 'none') { lintWarning("You seem to be using hashed animation '".concat(value, "', in which case 'animationName' with Keyframe as value is recommended."), info); } } }; /* harmony default export */ var hashedAnimationLinter = ((/* unused pure expression or super */ null && (hashedAnimationLinter_linter))); ;// CONCATENATED MODULE: ./node_modules/_@ant-design_cssinjs@1.24.0@@ant-design/cssinjs/es/linters/legacyNotSelectorLinter.js function isConcatSelector(selector) { var _selector$match; var notContent = ((_selector$match = selector.match(/:not\(([^)]*)\)/)) === null || _selector$match === void 0 ? void 0 : _selector$match[1]) || ''; // split selector. e.g. // `h1#a.b` => ['h1', #a', '.b'] var splitCells = notContent.split(/(\[[^[]*])|(?=[.#])/).filter(function (str) { return str; }); return splitCells.length > 1; } function parsePath(info) { return info.parentSelectors.reduce(function (prev, cur) { if (!prev) { return cur; } return cur.includes('&') ? cur.replace(/&/g, prev) : "".concat(prev, " ").concat(cur); }, ''); } var legacyNotSelectorLinter_linter = function linter(key, value, info) { var parentSelectorPath = parsePath(info); var notList = parentSelectorPath.match(/:not\([^)]*\)/g) || []; if (notList.length > 0 && notList.some(isConcatSelector)) { utils_lintWarning("Concat ':not' selector not support in legacy browsers.", info); } }; /* harmony default export */ var legacyNotSelectorLinter = (legacyNotSelectorLinter_linter); ;// CONCATENATED MODULE: ./node_modules/_@ant-design_cssinjs@1.24.0@@ant-design/cssinjs/es/linters/logicalPropertiesLinter.js var logicalPropertiesLinter_linter = function linter(key, value, info) { switch (key) { case 'marginLeft': case 'marginRight': case 'paddingLeft': case 'paddingRight': case 'left': case 'right': case 'borderLeft': case 'borderLeftWidth': case 'borderLeftStyle': case 'borderLeftColor': case 'borderRight': case 'borderRightWidth': case 'borderRightStyle': case 'borderRightColor': case 'borderTopLeftRadius': case 'borderTopRightRadius': case 'borderBottomLeftRadius': case 'borderBottomRightRadius': utils_lintWarning("You seem to be using non-logical property '".concat(key, "' which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."), info); return; case 'margin': case 'padding': case 'borderWidth': case 'borderStyle': // case 'borderColor': if (typeof value === 'string') { var valueArr = value.split(' ').map(function (item) { return item.trim(); }); if (valueArr.length === 4 && valueArr[1] !== valueArr[3]) { utils_lintWarning("You seem to be using '".concat(key, "' property with different left ").concat(key, " and right ").concat(key, ", which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."), info); } } return; case 'clear': case 'textAlign': if (value === 'left' || value === 'right') { utils_lintWarning("You seem to be using non-logical value '".concat(value, "' of ").concat(key, ", which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."), info); } return; case 'borderRadius': if (typeof value === 'string') { var radiusGroups = value.split('/').map(function (item) { return item.trim(); }); var invalid = radiusGroups.reduce(function (result, group) { if (result) { return result; } var radiusArr = group.split(' ').map(function (item) { return item.trim(); }); // borderRadius: '2px 4px' if (radiusArr.length >= 2 && radiusArr[0] !== radiusArr[1]) { return true; } // borderRadius: '4px 4px 2px' if (radiusArr.length === 3 && radiusArr[1] !== radiusArr[2]) { return true; } // borderRadius: '4px 4px 2px 4px' if (radiusArr.length === 4 && radiusArr[2] !== radiusArr[3]) { return true; } return result; }, false); if (invalid) { utils_lintWarning("You seem to be using non-logical value '".concat(value, "' of ").concat(key, ", which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."), info); } } return; default: } }; /* harmony default export */ var logicalPropertiesLinter = (logicalPropertiesLinter_linter); ;// CONCATENATED MODULE: ./node_modules/_@ant-design_cssinjs@1.24.0@@ant-design/cssinjs/es/linters/NaNLinter.js var NaNLinter_linter = function linter(key, value, info) { if (typeof value === 'string' && /NaN/g.test(value) || Number.isNaN(value)) { utils_lintWarning("Unexpected 'NaN' in property '".concat(key, ": ").concat(value, "'."), info); } }; /* harmony default export */ var NaNLinter = (NaNLinter_linter); ;// CONCATENATED MODULE: ./node_modules/_@ant-design_cssinjs@1.24.0@@ant-design/cssinjs/es/linters/parentSelectorLinter.js var parentSelectorLinter_linter = function linter(key, value, info) { if (info.parentSelectors.some(function (selector) { var selectors = selector.split(','); return selectors.some(function (item) { return item.split('&').length > 2; }); })) { utils_lintWarning('Should not use more than one `&` in a selector.', info); } }; /* harmony default export */ var parentSelectorLinter = (parentSelectorLinter_linter); ;// CONCATENATED MODULE: ./node_modules/_@ant-design_cssinjs@1.24.0@@ant-design/cssinjs/es/linters/index.js ;// CONCATENATED MODULE: ./node_modules/_@ant-design_cssinjs@1.24.0@@ant-design/cssinjs/es/util/cacheMapUtil.js var ATTR_CACHE_MAP = 'data-ant-cssinjs-cache-path'; /** * This marks style from the css file. * Which means not exist in `"); }); }; var html = (0,_react_17_0_2_react.useMemo)(function () { try { var reg = /\(\s+\/api\/attachments\/|\(\/api\/attachments\/|\(\/attachments\/download\//g; var reg2 = /\"\/api\/attachments\/|\"\/attachments\/download\//g; var reg3 = /\(\s+\/files\/uploads\/|\"\/files\/uploads\//g; str = str.replace(reg, "(" + env/* default */.Z.API_SERVER + "/api/attachments/").replace(reg2, '"' + env/* default */.Z.API_SERVER + "/api/attachments/").replace(reg3, '"' + env/* default */.Z.API_SERVER + "/files/uploads/").replaceAll("http://video.educoder", "https://video.educoder").replaceAll("http://www.educoder.net/api", "https://data.educoder.net/api").replaceAll("https://www.educoder.net/api", "https://data.educoder.net/api").replace(/\r\n/g, "\n"); // str = str.replace(new RegExp("(?", ">").replace(/(@▁▁@|@▁@)/g, function (a, b, c) { ++num; return createInput(a, num); }); return "
".concat(formatMD(str || ""), "
"); } var rs = utils_marked(str); rs = formatMD(rs); var math_expressions = getMathExpressions(); if (str.match(/\[TOC\]/)) { rs = rs.replace('

[TOC]

', getTocContent()); cleanToc(); } rs = rs.replace(/(__special_katext_id_\d+__)/g, function (_match, capture) { var _math_expressions$cap = math_expressions[capture], type = _math_expressions$cap.type, expression = _math_expressions$cap.expression; return (0,katex.renderToString)(_unescape(expression) || '', { displayMode: type === 'block', throwOnError: false, output: 'html' }); }); rs = rs.replace(/▁/g, '▁▁▁'); resetMathExpressions(); // return dompurify.sanitize(rs) var dom = document.createElement('div'); dom.innerHTML = rs; if (highlightKeywords) { var escapedKeywords = highlightKeywords.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"); findKeyword(dom, escapedKeywords); return dom.innerHTML; } if (showTextOnly) { return dom.innerText; } setTimeout(function () { return onLoad(); }, 500); console.log("dom.innerHTML:", dom.innerHTML); return dom.innerHTML; }, [str, highlightKeywords]); (0,_react_17_0_2_react.useEffect)(function () { if (el.current) { var inputs = el.current.querySelectorAll(["input", "textarea"]); inputs.forEach(function (input) { input.oninput = onInput; input.onblur = onBlur; }); } }, [projectValue]); (0,_react_17_0_2_react.useEffect)(function () { if (!!(programFillValue !== null && programFillValue !== void 0 && programFillValue.length)) { var scoreDom = el.current.querySelectorAll(".edu-program-fill-score"); var dom = el.current.querySelectorAll('[name="edu-program-fill"]'); var _iterator = createForOfIteratorHelper_default()(dom.entries()), _step; try { for (_iterator.s(); !(_step = _iterator.n()).done;) { var _programFillValue$k; var _step$value = slicedToArray_default()(_step.value, 2), k = _step$value[0], i = _step$value[1]; i.value = (_programFillValue$k = programFillValue[k]) === null || _programFillValue$k === void 0 ? void 0 : _programFillValue$k.value; if (programFillValue[k].type === "warning") { i.className = "program-fill-warning"; } else if (programFillValue[k].type === "success") { i.className = "program-fill-success"; } else { i.className = ""; } } } catch (err) { _iterator.e(err); } finally { _iterator.f(); } var _iterator2 = createForOfIteratorHelper_default()(scoreDom.entries()), _step2; try { for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) { var _programFillValue$_k, _programFillValue$_k2; var _step2$value = slicedToArray_default()(_step2.value, 2), _k = _step2$value[0], _i = _step2$value[1]; _i.innerHTML = (_programFillValue$_k = programFillValue[_k]) !== null && _programFillValue$_k !== void 0 && _programFillValue$_k.score ? "".concat((_programFillValue$_k2 = programFillValue[_k]) === null || _programFillValue$_k2 === void 0 ? void 0 : _programFillValue$_k2.score, "\u5206") : ""; } } catch (err) { _iterator2.e(err); } finally { _iterator2.f(); } setProjectValue(programFillValue); } }, [programFillValue]); var onInput = function onInput(e) { projectValue[e.target.dataset.id] = projectValue[e.target.dataset.id] || {}; projectValue[e.target.dataset.id]["value"] = e.target.value; setProjectValue(toConsumableArray_default()(projectValue)); onFillChange(projectValue, e.target.dataset.id); }; var onBlur = function onBlur(e) { projectValue[e.target.dataset.id] = projectValue[e.target.dataset.id] || {}; projectValue[e.target.dataset.id]["value"] = e.target.value; setProjectValue(toConsumableArray_default()(projectValue)); onFillBlur(projectValue, e.target.dataset.id); }; function findKeyword(node, keyword) { return node.childNodes.forEach(function (childNode) { if (childNode.childNodes.length > 0) { findKeyword(childNode, keyword); } else if (childNode.nodeName !== "IMG") { if (childNode.innerHTML) { var _childNode$innerHTML; childNode.innerHTML = (_childNode$innerHTML = childNode.innerHTML) === null || _childNode$innerHTML === void 0 ? void 0 : _childNode$innerHTML.replace(new RegExp(keyword, "gi"), '$&'); } else { var dom = document.createElement("span"); dom.innerHTML = childNode.textContent.replace(new RegExp(keyword, "gi"), '$&'); childNode.replaceWith(dom); } } }); // return dom.childNodes.forEach((node:any) => { // console.log("nodeLen:",node.childNodes.length) // if(node.childNodes.length > 0){ // debugger // // findKeyword(dom.childNodes,keyword) // }else{ // if(node.nodeName !== "#text"){ // node.innerHTML = node.innerHTML.replaceAll(keyword,`${keyword}`) // console.log("node:",node,dom,node.nodeName,node.innerHTML,node.childNodes.length) // debugger // } // } // return node // }); } var el = (0,_react_17_0_2_react.useRef)(); lines['WebkitLineClamp'] = showLines; if (showLines) { style = objectSpread2_default()(objectSpread2_default()({}, style), lines); } function onAncherHandler(e) { var target = e.target; if (target.tagName.toUpperCase() === 'A') { var ancher = target.getAttribute('href'); if (ancher.indexOf("office") > -1) { e.preventDefault(); setData(ancher); setType("office"); } else if (ancher.indexOf("application/pdf") > -1) { e.preventDefault(); setData(ancher); setType("pdf"); } else if (ancher.indexOf("text/html") > -1) { e.preventDefault(); setData(ancher); setType("html"); } else if (ancher.startsWith('#')) { e.preventDefault(); var viewEl = document.getElementById(ancher.replace('#', '')); if (viewEl) { viewEl.scrollIntoView(true); } } } } var onLoad = function onLoad() { var _el$current; var videoElement = (_el$current = el.current) === null || _el$current === void 0 ? void 0 : _el$current.querySelectorAll('video'); videoElement === null || videoElement === void 0 || videoElement.forEach(function (item) { item.oncontextmenu = function () { return false; }; if (item.src.indexOf('.m3u8') > -1) { if (item.canPlayType('application/vnd.apple.mpegurl')) {} else if (dist_hls/* default.isSupported */.ZP.isSupported()) { var hls = new dist_hls/* default */.ZP(); hls.loadSource(item.src); hls.attachMedia(item); } } }); }; (0,_react_17_0_2_react.useEffect)(function () { if (el.current && html) { if (html.match(preRegex)) { window.PR.prettyPrint(); } } if (el.current) { el.current.addEventListener('click', onAncherHandler); return function () { var _el$current2; (_el$current2 = el.current) === null || _el$current2 === void 0 || _el$current2.removeEventListener('click', onAncherHandler); resetMathExpressions(); cleanToc(); }; } }, [html, el.current, onAncherHandler]); return /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, { children: [showTextOnly && /*#__PURE__*/(0,jsx_runtime.jsx)("div", { ref: el, children: html }), !showTextOnly && /*#__PURE__*/(0,jsx_runtime.jsx)("div", { ref: el, style: objectSpread2_default()({}, style), className: "".concat(className ? className : '', " ").concat(disabledFill ? "disabled-fill" : "", " markdown-body ").concat(classNamesRef.current), dangerouslySetInnerHTML: { __html: html } }), /*#__PURE__*/(0,jsx_runtime.jsx)(PreviewAll/* default */.Z, { close: true, data: data, type: !!(data !== null && data !== void 0 && data.length) ? type : "", style: objectSpread2_default()({}, stylesPrev), onClose: function onClose() { return setData(""); } })] }); }); /***/ }), /***/ 26489: /*!************************************************************!*\ !*** ./src/components/monaco-editor/index.jsx + 3 modules ***! \************************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; // EXPORTS __webpack_require__.d(__webpack_exports__, { SV: function() { return /* binding */ DiffEditor; }, ZP: function() { return /* binding */ monaco_editor; } }); // UNUSED EXPORTS: getLanguageByMirrorName // EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/objectSpread2.js var objectSpread2 = __webpack_require__(82242); var objectSpread2_default = /*#__PURE__*/__webpack_require__.n(objectSpread2); // EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/toConsumableArray.js var toConsumableArray = __webpack_require__(37205); var toConsumableArray_default = /*#__PURE__*/__webpack_require__.n(toConsumableArray); // EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/regeneratorRuntime.js var regeneratorRuntime = __webpack_require__(7557); var regeneratorRuntime_default = /*#__PURE__*/__webpack_require__.n(regeneratorRuntime); // EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/asyncToGenerator.js var asyncToGenerator = __webpack_require__(41498); var asyncToGenerator_default = /*#__PURE__*/__webpack_require__.n(asyncToGenerator); // EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/createForOfIteratorHelper.js var createForOfIteratorHelper = __webpack_require__(91232); var createForOfIteratorHelper_default = /*#__PURE__*/__webpack_require__.n(createForOfIteratorHelper); // EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/slicedToArray.js var slicedToArray = __webpack_require__(79800); var slicedToArray_default = /*#__PURE__*/__webpack_require__.n(slicedToArray); // EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/objectWithoutProperties.js var objectWithoutProperties = __webpack_require__(39647); var objectWithoutProperties_default = /*#__PURE__*/__webpack_require__.n(objectWithoutProperties); // EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/index.js var _react_17_0_2_react = __webpack_require__(59301); // EXTERNAL MODULE: ./node_modules/_resize-observer-polyfill@1.5.1@resize-observer-polyfill/dist/ResizeObserver.es.js var ResizeObserver_es = __webpack_require__(76374); ;// CONCATENATED MODULE: ./src/components/monaco-editor/keywords.tsx var cLangage = { keywords: ['print', 'auto', 'break', 'case', 'char', 'const', 'continue', 'default', 'do', 'double', 'else', 'enum', 'extern', 'float', 'for', 'goto', 'if', 'int', 'long', 'register', 'return', 'short', 'signed', 'sizeof', 'static', 'struct', 'switch', 'typedef', 'union', 'unsigned', 'void', 'volatile', 'while'] }; var javaLangage = { quickKey: [{ label: "main", content: ['public static void main(String[] args) {', '\t$0', '}'].join('\n') }, { label: "System.out.println", content: ['System.out.println($0)'].join('\n') }, { label: "System.out.print", content: ['System.out.print($0)'].join('\n') }], keywords: ['abstract', 'continue', 'for', 'new', 'switch', 'assert', 'default', 'goto', 'package', 'synchronized', 'boolean', 'do', 'if', 'private', 'this', 'break', 'double', 'implements', 'protected', 'throw', 'byte', 'else', 'import', 'public', 'throws', 'case', 'enum', 'instanceof', 'return', 'transient', 'catch', 'extends', 'int', 'short', 'try', 'char', 'final', 'interface', 'static', 'void', 'class', 'finally', 'long', 'strictfp', 'volatile', 'const', 'float', 'native', 'super', 'while', 'true', 'false'] }; var cppLangage = { keywords: ['abstract', 'amp', 'array', 'auto', 'bool', 'break', 'case', 'catch', 'char', 'class', 'const', 'constexpr', 'const_cast', 'continue', 'cpu', 'decltype', 'default', 'delegate', 'delete', 'do', 'double', 'dynamic_cast', 'each', 'else', 'enum', 'event', 'explicit', 'export', 'extern', 'false', 'final', 'finally', 'float', 'friend', 'gcnew', 'generic', 'goto', 'in', 'initonly', 'inline', 'int', 'interface', 'interior_ptr', 'internal', 'literal', 'long', 'mutable', 'namespace', 'new', 'noexcept', 'nullptr', '__nullptr', 'operator', 'override', 'partial', 'pascal', 'pin_ptr', 'private', 'property', 'protected', 'public', 'ref', 'register', 'reinterpret_cast', 'restrict', 'return', 'safe_cast', 'sealed', 'short', 'signed', 'sizeof', 'static', 'static_assert', 'static_cast', 'struct', 'switch', 'template', 'this', 'thread_local', 'throw', 'tile_static', 'true', 'try', 'typedef', 'typeid', 'typename', 'union', 'unsigned', 'using', 'virtual', 'void', 'volatile', 'wchar_t', 'where', 'while', '_asm', '_based', '_cdecl', '_declspec', '_fastcall', '_if_exists', '_if_not_exists', '_inline', '_multiple_inheritance', '_pascal', '_single_inheritance', '_stdcall', '_virtual_inheritance', '_w64', '__abstract', '__alignof', '__asm', '__assume', '__based', '__box', '__builtin_alignof', '__cdecl', '__clrcall', '__declspec', '__delegate', '__event', '__except', '__fastcall', '__finally', '__forceinline', '__gc', '__hook', '__identifier', '__if_exists', '__if_not_exists', '__inline', '__int128', '__int16', '__int32', '__int64', '__int8', '__interface', '__leave', '__m128', '__m128d', '__m128i', '__m256', '__m256d', '__m256i', '__m64', '__multiple_inheritance', '__newslot', '__nogc', '__noop', '__nounwind', '__novtordisp', '__pascal', '__pin', '__pragma', '__property', '__ptr32', '__ptr64', '__raise', '__restrict', '__resume', '__sealed', '__single_inheritance', '__stdcall', '__super', '__thiscall', '__try', '__try_cast', '__typeof', '__unaligned', '__unhook', '__uuidof', '__value', '__virtual_inheritance', '__w64', '__wchar_t'], operators: ['=', '>', '<', '!', '~', '?', ':', '==', '<=', '>=', '!=', '&&', '||', '++', '--', '+', '-', '*', '/', '&', '|', '^', '%', '<<', '>>', '>>>', '+=', '-=', '*=', '/=', '&=', '|=', '^=', '%=', '<<=', '>>=', '>>>='], quickKey: [{ label: "ifelse", content: ['if (${1:condition}) {', '\t$0', '} else {', '\t', '}'].join('\n') }, { label: "include", content: 'include<$0>' }, { label: "printf", content: 'printf($0)' }, { label: "system", content: 'system("$0")' }, { label: "main", content: ['int main () {', '\t$0', '}'].join('\n') }, { label: "if", content: ['if () {', '\t$0', '}'].join('\n') }, { label: "for", content: ['for(int j=0 ; j<10; j++){', '\t$0', '}'].join('\n') }, { label: "trycatch", content: ['try{', '\t$0', '}catch(ExceptionName e){', '}'].join('\n') }, { label: "using namespace std;", content: ['using namespace std;'].join('\n') }, { label: "include ", content: ['#include '].join('\n') }, { label: "include ", content: ['#include '].join('\n') }, { label: "include ", content: ['#include '].join('\n') }, { label: "include ", content: ['#include '].join('\n') }, { label: "include ", content: ['#include '].join('\n') }, { label: "include ", content: ['#include '].join('\n') }, { label: "include ", content: ['#include '].join('\n') }, { label: "include ", content: ['#include '].join('\n') }, { label: "include ", content: ['#include '].join('\n') }] }; var pythonLangage = { keywords: ['and', 'as', 'assert', 'break', 'class', 'continue', 'def', 'del', 'elif', 'else', 'except', 'exec', 'finally', 'for', 'from', 'global', 'if', 'import', 'in', 'is', 'lambda', 'None', 'not', 'or', 'pass', 'raise', 'return', 'self', 'try', 'while', 'with', 'yield', 'int', 'float', 'long', 'complex', 'hex', 'abs', 'all', 'any', 'apply', 'basestring', 'bin', 'bool', 'buffer', 'bytearray', 'callable', 'chr', 'classmethod', 'cmp', 'coerce', 'compile', 'complex', 'delattr', 'dict', 'dir', 'divmod', 'enumerate', 'eval', 'execfile', 'file', 'filter', 'format', 'frozenset', 'getattr', 'globals', 'hasattr', 'hash', 'help', 'id', 'input', 'intern', 'isinstance', 'issubclass', 'iter', 'len', 'locals', 'list', 'map', 'max', 'memoryview', 'min', 'next', 'object', 'oct', 'open', 'ord', 'pow', 'print', 'property', 'reversed', 'range', 'raw_input', 'reduce', 'reload', 'repr', 'reversed', 'round', 'set', 'setattr', 'slice', 'sorted', 'staticmethod', 'str', 'sum', 'super', 'tuple', 'type', 'unichr', 'unicode', 'vars', 'xrange', 'zip', 'True', 'False', '__dict__', '__methods__', '__members__', '__class__', '__bases__', '__name__', '__mro__', '__subclasses__', '__init__', '__import__'], quickKey: [{ label: "print", content: ['print($0)'].join('\n') } // { label: "#include", content: '#include ""' }, // { label: "printf", content: 'printf("")' }, ] }; var scalaLangage = { keywords: ['asInstanceOf', 'catch', 'class', 'classOf', 'def', 'do', 'else', 'extends', 'finally', 'for', 'foreach', 'forSome', 'if', 'import', 'isInstanceOf', 'macro', 'match', 'new', 'object', 'package', 'return', 'throw', 'trait', 'try', 'type', 'until', 'val', 'var', 'while', 'with', 'yield', // Dotty-specific: 'given', 'enum', 'then'], quickKey: [{ label: "println", content: ['println($0)'].join('\n') } // { label: "#include", content: '#include ""' }, // { label: "printf", content: 'printf("")' }, ] }; // EXTERNAL MODULE: ./node_modules/_js-beautify@1.15.4@js-beautify/js/index.js var js = __webpack_require__(53184); var js_default = /*#__PURE__*/__webpack_require__.n(js); ;// CONCATENATED MODULE: ./src/components/monaco-editor/monaco-suggest-config.tsx var baseConfig = { languages: ['c', 'abap', 'apex', 'azcli', 'bat', 'cameligo', 'clojure', 'coffee', 'cpp', 'csharp', 'csp', 'css', 'dockerfile', 'fsharp', 'go', 'graphql', 'handlebars', 'html', 'ini', 'java', 'javascript', 'json', 'kotlin', 'less', 'lua', 'markdown', 'mips', 'msdax', 'mysql', 'objective-c', 'pascal', 'pascaligo', 'perl', 'pgsql', 'php', 'postiats', 'powerquery', 'powershell', 'pug', 'python', 'r', 'razor', 'redis', 'redshift', 'restructuredtext', 'ruby', 'rust', 'sb', 'scheme', 'scss', 'shell', 'solidity', 'sophia', 'sql', 'st', 'swift', 'tcl', 'twig', 'vb', 'xml', "yaml'"], tables: { users: ["name", "id", "email", "phone", "password"], roles: ["id", "name", "order", "created_at", "updated_at", "deleted_at"] } }; var getKeywordsSuggest = function getKeywordsSuggest(monaco, keywords) { return keywords.map(function (key) { return { label: key, // 显示的名称 kind: monaco.languages.CompletionItemKind.Keyword, insertText: key // 真实补全的值 }; }); }; var getTableSuggest = function getTableSuggest(monaco) { return Object.keys(baseConfig.tables).map(function (key) { return { label: key, // 显示的名称 kind: monaco.languages.CompletionItemKind.Variable, insertText: key // 真实补全的值 }; }); }; var getFieldsSuggest = function getFieldsSuggest(tableName, monaco) { var fields = baseConfig.tables[tableName]; if (!fields) { return []; } return fields.map(function (name) { return { label: name, kind: monaco.languages.CompletionItemKind.Field, insertText: name }; }); }; function getSuggestions(monaco, model, position, keywords, snippts) { var word = model.getWordUntilPosition(position); var range = { startLineNumber: position.lineNumber, endLineNumber: position.lineNumber, startColumn: word.startColumn, endColumn: word.endColumn }; var rs = keywords.map(function (item) { return { label: item, kind: monaco.languages.CompletionItemKind.Keyword, insertText: item, insertTextRules: monaco.languages.CompletionItemInsertTextRule.InsertAsSnippet, range: range }; }); snippts.map(function (item) { rs.push(_objectSpread(_objectSpread({}, item), {}, { range: range })); }); return rs; } /* harmony default export */ var monaco_suggest_config = (function (monaco) { baseConfig.languages.map(function (item) { monaco.languages.registerDocumentFormattingEditProvider(item, { provideDocumentFormattingEdits: function provideDocumentFormattingEdits(model, options, token) { return asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee() { var formattedText; return regeneratorRuntime_default()().wrap(function _callee$(_context) { while (1) switch (_context.prev = _context.next) { case 0: formattedText = js_default()(model.getValue(), { "indent_size": "2", "indent_char": " ", "max_preserve_newlines": "2", "preserve_newlines": true, "keep_array_indentation": true, "break_chained_methods": false, "indent_scripts": "normal", "brace_style": "collapse", "space_before_conditional": true, "unescape_strings": false, "jslint_happy": false, "end_with_newline": true, "wrap_line_length": "0", "indent_inner_html": false, "comma_first": false, "e4x": false, "indent_empty_lines": false }); return _context.abrupt("return", [{ range: model.getFullModelRange(), text: formattedText }]); case 2: case "end": return _context.stop(); } }, _callee); }))(); } }); return item; }); var cppKeyPrompt = cppLangage.quickKey.map(function (item) { return { label: item.label, kind: monaco.languages.CompletionItemKind.Method, insertText: item.content, insertTextRules: monaco.languages.CompletionItemInsertTextRule.InsertAsSnippet }; }); var pythonKeyPrompt = pythonLangage.quickKey.map(function (item) { return { label: item.label, kind: monaco.languages.CompletionItemKind.Method, insertText: item.content, insertTextRules: monaco.languages.CompletionItemInsertTextRule.InsertAsSnippet }; }); var javaKeyPrompt = javaLangage.quickKey.map(function (item) { return { label: item.label, kind: monaco.languages.CompletionItemKind.Method, insertText: item.content, insertTextRules: monaco.languages.CompletionItemInsertTextRule.InsertAsSnippet }; }); monaco.languages.registerCompletionItemProvider('cpp', { provideCompletionItems: function provideCompletionItems(model, position) { var word = model.getWordUntilPosition(position); var wordRange = { startLineNumber: position.lineNumber, endLineNumber: position.lineNumber, startColumn: word.startColumn, endColumn: word.endColumn }; var value = model.getLineContent(position.lineNumber).substring(word.startColumn - 2, word.endColumn); return { suggestions: [].concat(toConsumableArray_default()(cppLangage.keywords.map(function (item) { return { label: item, kind: monaco.languages.CompletionItemKind.Function, documentation: item, insertText: item, insertTextRules: monaco.languages.CompletionItemInsertTextRule.InsertAsSnippet, range: wordRange }; })), toConsumableArray_default()(cppLangage.quickKey.map(function (item) { return { label: item.label, kind: monaco.languages.CompletionItemKind.Function, documentation: item.content, insertText: value.startsWith("#") ? item.content.replace(/#/, '') : item.content, insertTextRules: monaco.languages.CompletionItemInsertTextRule.InsertAsSnippet, range: wordRange }; }))) }; } }); monaco.languages.registerCompletionItemProvider('c', { provideCompletionItems: function provideCompletionItems(model, position) { var word = model.getWordUntilPosition(position); var wordRange = { startLineNumber: position.lineNumber, endLineNumber: position.lineNumber, startColumn: word.startColumn, endColumn: word.endColumn }; return { suggestions: toConsumableArray_default()(cLangage.keywords.map(function (item) { return { label: item, kind: monaco.languages.CompletionItemKind.Function, documentation: item, insertText: item, insertTextRules: monaco.languages.CompletionItemInsertTextRule.InsertAsSnippet, range: wordRange }; })) }; } }); monaco.languages.registerCompletionItemProvider('java', { provideCompletionItems: function provideCompletionItems(model, position) { var word = model.getWordUntilPosition(position); var wordRange = { startLineNumber: position.lineNumber, endLineNumber: position.lineNumber, startColumn: word.startColumn, endColumn: word.endColumn }; var value = model.getLineContent(position.lineNumber).substring(word.startColumn - 2, word.endColumn); return { suggestions: [].concat(toConsumableArray_default()(javaLangage.keywords.map(function (item) { return { label: item, kind: monaco.languages.CompletionItemKind.Function, documentation: item, insertText: item, insertTextRules: monaco.languages.CompletionItemInsertTextRule.InsertAsSnippet, range: wordRange }; })), toConsumableArray_default()(javaLangage.quickKey.map(function (item) { return { label: item.label, kind: monaco.languages.CompletionItemKind.Function, documentation: item.content, insertText: value.startsWith("#") ? item.content.replace(/#/, '') : item.content, insertTextRules: monaco.languages.CompletionItemInsertTextRule.InsertAsSnippet, range: wordRange }; }))) }; } }); monaco.languages.registerCompletionItemProvider('scala', { provideCompletionItems: function provideCompletionItems(model, position) { var word = model.getWordUntilPosition(position); var wordRange = { startLineNumber: position.lineNumber, endLineNumber: position.lineNumber, startColumn: word.startColumn, endColumn: word.endColumn }; var value = model.getLineContent(position.lineNumber).substring(word.startColumn - 2, word.endColumn); return { suggestions: [].concat(toConsumableArray_default()(scalaLangage.keywords.map(function (item) { return { label: item, kind: monaco.languages.CompletionItemKind.Function, documentation: item, insertText: item, insertTextRules: monaco.languages.CompletionItemInsertTextRule.InsertAsSnippet, range: wordRange }; })), toConsumableArray_default()(scalaLangage.quickKey.map(function (item) { return { label: item.label, kind: monaco.languages.CompletionItemKind.Function, documentation: item.content, insertText: value.startsWith("#") ? item.content.replace(/#/, '') : item.content, insertTextRules: monaco.languages.CompletionItemInsertTextRule.InsertAsSnippet, range: wordRange }; }))) }; } }); monaco.languages.registerCompletionItemProvider('python', { provideCompletionItems: function provideCompletionItems(model, position) { var word = model.getWordUntilPosition(position); var wordRange = { startLineNumber: position.lineNumber, endLineNumber: position.lineNumber, startColumn: word.startColumn, endColumn: word.endColumn }; var value = model.getLineContent(position.lineNumber).substring(word.startColumn - 2, word.endColumn); return { suggestions: [].concat(toConsumableArray_default()(pythonLangage.keywords.map(function (item) { return { label: item, kind: monaco.languages.CompletionItemKind.Function, documentation: item, insertText: item, insertTextRules: monaco.languages.CompletionItemInsertTextRule.InsertAsSnippet, range: wordRange }; })), toConsumableArray_default()(pythonLangage.quickKey.map(function (item) { return { label: item.label, kind: monaco.languages.CompletionItemKind.Function, documentation: item.content, insertText: value.startsWith("#") ? item.content.replace(/#/, '') : item.content, insertTextRules: monaco.languages.CompletionItemInsertTextRule.InsertAsSnippet, range: wordRange }; }))) }; } }); }); var tipTxt = '该任务关卡设置了禁止复制粘贴,请手动输入代码。'; // EXTERNAL MODULE: ./node_modules/_monaco-editor@0.30.0@monaco-editor/esm/vs/platform/actions/common/actions.js var actions = __webpack_require__(96236); // EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/message/index.js + 4 modules var message = __webpack_require__(8591); // EXTERNAL MODULE: ./node_modules/_lodash@4.17.23@lodash/lodash.js var lodash = __webpack_require__(78267); // EXTERNAL MODULE: ./src/components/mediator.js var mediator = __webpack_require__(24750); ;// CONCATENATED MODULE: ./src/components/monaco-editor/index.css // extracted by mini-css-extract-plugin // EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/jsx-runtime.js var jsx_runtime = __webpack_require__(37712); ;// CONCATENATED MODULE: ./src/components/monaco-editor/index.jsx var _excluded = ["width", "height", "value", "language", "style", "options", "overrideServices", "theme", "onEditBlur", "onSave", "autoHeight", "forbidCopy", "onChange", "editorDidMount", "onFocus", "onBreakPoint", "breakPointValue", "filename", "errorLine", "errorContent", "highlightLine", "openBreakPoint"]; function processSize(size) { return !/^\d+$/.test(size) ? size : "".concat(size, "px"); } function noop() {} var __prevent_trigger_change_event = false; var DICT = { 'Python3.6': 'python', 'Python2.7': 'python', Dynamips: 'cpp', Java: 'java', Web: 'php', Html: 'html', Hive: 'sql', Hadoop: 'java', SDL: 'cpp', PHP: 'php', Matlab: 'python', Git: 'python', Python: 'python', 'C/C++': 'cpp', 'C++': 'cpp', C: 'cpp', Ruby: 'ruby', Shell: 'shell', JavaScript: 'javascript', Perl6: 'perl', Kotlin: 'kotlin', Elixir: 'elixir', Android: 'java', JavaWeb: 'java', Go: 'go', Spark: 'sql', MachineLearning: 'python', Verilog: 'xml', 'Verilog/VNC': 'xml', Docker: 'dockerfile', 'C#': 'csharp', SQLite3: 'sql', Oracle: 'sql', Vhdl: 'vhdl', R: 'r', Swift: 'swift', SQLServer: 'mysql', MySQL: 'mysql', Mongo: 'sql', PostgreSql: 'pgsql', Hbase: 'powershell', Sqoop: 'sql', Nasm: 'cpp', Kafka: 'java', Flink: 'java', Sml: 'javascript', OpenGL: 'cpp', Perl5: 'perl', Orange: 'python', Scala: "scale", solidity: "sol" }; function getLanguageByMirrorName() { var mirror_name = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : []; var lang = mirror_name; if (Array.isArray(mirror_name)) { for (var i = 0; i < mirror_name.length; i++) { var languageVal = DICT[mirror_name[i]]; if (languageVal) { return languageVal; } } return lang[0]; } return DICT[lang] || lang; } //onCodeChange 必须是幂等的,因为只会注册一次,如果有变化,会响应旧的,产生脏数据 var monaco = null; /* harmony default export */ var monaco_editor = (function (_ref) { var _ref$width = _ref.width, width = _ref$width === void 0 ? '100%' : _ref$width, _ref$height = _ref.height, height = _ref$height === void 0 ? '100%' : _ref$height, value = _ref.value, _ref$language = _ref.language, language = _ref$language === void 0 ? 'javascript' : _ref$language, _ref$style = _ref.style, style = _ref$style === void 0 ? {} : _ref$style, _ref$options = _ref.options, options = _ref$options === void 0 ? {} : _ref$options, _ref$overrideServices = _ref.overrideServices, overrideServices = _ref$overrideServices === void 0 ? {} : _ref$overrideServices, _ref$theme = _ref.theme, theme = _ref$theme === void 0 ? 'vs-dark' : _ref$theme, onEditBlur = _ref.onEditBlur, onSave = _ref.onSave, _ref$autoHeight = _ref.autoHeight, autoHeight = _ref$autoHeight === void 0 ? false : _ref$autoHeight, _ref$forbidCopy = _ref.forbidCopy, forbidCopy = _ref$forbidCopy === void 0 ? false : _ref$forbidCopy, _ref$onChange = _ref.onChange, onChange = _ref$onChange === void 0 ? noop : _ref$onChange, _ref$editorDidMount = _ref.editorDidMount, editorDidMount = _ref$editorDidMount === void 0 ? noop : _ref$editorDidMount, _ref$onFocus = _ref.onFocus, onFocus = _ref$onFocus === void 0 ? noop : _ref$onFocus, _ref$onBreakPoint = _ref.onBreakPoint, onBreakPoint = _ref$onBreakPoint === void 0 ? noop : _ref$onBreakPoint, _ref$breakPointValue = _ref.breakPointValue, breakPointValue = _ref$breakPointValue === void 0 ? [] : _ref$breakPointValue, _ref$filename = _ref.filename, filename = _ref$filename === void 0 ? 'educoder.txt' : _ref$filename, errorLine = _ref.errorLine, _ref$errorContent = _ref.errorContent, errorContent = _ref$errorContent === void 0 ? '' : _ref$errorContent, highlightLine = _ref.highlightLine, _ref$openBreakPoint = _ref.openBreakPoint, openBreakPoint = _ref$openBreakPoint === void 0 ? false : _ref$openBreakPoint, props = objectWithoutProperties_default()(_ref, _excluded); var editorEl = (0,_react_17_0_2_react.useRef)(); var editor = (0,_react_17_0_2_react.useRef)({}); var optionsRef = (0,_react_17_0_2_react.useRef)(); var timeRef = (0,_react_17_0_2_react.useRef)(); var breakpointsFake = (0,_react_17_0_2_react.useRef)([]); var inputLock = (0,_react_17_0_2_react.useRef)(false); var inputLockTime = (0,_react_17_0_2_react.useRef)(); var noAllowTime = (0,_react_17_0_2_react.useRef)(); var _useState = (0,_react_17_0_2_react.useState)(false), _useState2 = slicedToArray_default()(_useState, 2), init = _useState2[0], setInit = _useState2[1]; function onLayout() { var ro; if (editorEl.current) { ro = new ResizeObserver_es/* default */.Z(function (entries) { var _iterator = createForOfIteratorHelper_default()(entries), _step; try { for (_iterator.s(); !(_step = _iterator.n()).done;) { var entry = _step.value; if (entry.target.offsetHeight > 0 || entry.target.offsetWidth > 0) { editor.current.instance.layout(); } } } catch (err) { _iterator.e(err); } finally { _iterator.f(); } }); ro.observe(editorEl.current); } return ro; } function tipWarn() { message/* default */.ZP.warning({ content: decodeURIComponent(tipTxt), key: "monaco-editor-tip" }); } var setCodeValue = function setCodeValue() { var instance = editor.current.instance; if (value != null && instance && init) { var model = instance.getModel(); if (model && value !== model.getValue()) { __prevent_trigger_change_event = true; model.setValue(value); instance.layout(); __prevent_trigger_change_event = false; } } }; (0,_react_17_0_2_react.useEffect)(function () { var unSub = mediator/* default */.Z.subscribe('formatDocument', function (status) { var _instance$getAction; var instance = editor.current.instance; instance === null || instance === void 0 || (_instance$getAction = instance.getAction) === null || _instance$getAction === void 0 || _instance$getAction.call(instance, 'editor.action.formatDocument').run(); }); // 自动化测试使用 window.updateMonacoValue = function (value) { onChange(value); }; return unSub; }, []); (0,_react_17_0_2_react.useEffect)(function () { var instance = editor.current.instance; if (timeRef.current) clearTimeout(timeRef.current); timeRef.current = setTimeout(function () { setCodeValue(); }, 500); if (value && !!(value !== null && value !== void 0 && value.length)) { var _instance$updateOptio; instance === null || instance === void 0 || (_instance$updateOptio = instance.updateOptions) === null || _instance$updateOptio === void 0 || _instance$updateOptio.call(instance, { lineNumbersMinChars: Math.max(Math.floor(Math.log10(value.split(/\r\n|\r|\n/g).length)) + 3, 5) }); } }, [value, init, editor.current]); (0,_react_17_0_2_react.useEffect)(function () { if (errorLine && editor.current && editor.current.instance) { var instance = editor.current.instance; instance.changeViewZones(function (changeAccessor) { var domNode = document.createElement('div'); domNode.style.padding = '10px 20px'; domNode.style.width = 'calc(100% - 20px)'; domNode.className = 'my-error-line-wrp'; domNode.innerHTML = errorContent; changeAccessor.addZone({ afterLineNumber: errorLine || 11, heightInLines: 3, domNode: domNode }); }); var overlayWidget = { domNode: null, getId: function getId() { return 'my.overlay.widget'; }, getDomNode: function getDomNode() { if (!this.domNode) { this.domNode = document.createElement('div'); this.domNode.innerHTML = ''; this.domNode.style.width = '100%'; this.domNode.style.padding = '20px 100px'; this.domNode.style.right = '0px'; this.domNode.style.top = '50px'; this.domNode.style.position = 'relative'; this.domNode.style.color = '#333'; } return this.domNode; }, getPosition: function getPosition() { return null; } }; instance.addOverlayWidget(overlayWidget); // instance.revealPositionInCenter(11,1); instance.revealPositionInCenter({ lineNumber: 20, column: 1 }); } }, [errorLine, editor.current, init]); var noAllow = function noAllow() { var str = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : ''; var lineNumber = arguments.length > 1 ? arguments[1] : undefined; if (!str || str.trim() === '') { return true; } var model = editor.current.instance.getModel(); var lineTokens = model.getLineTokens(lineNumber); var comment = false; for (var i = 0; i < 2; i++) { if (lineTokens.getStandardTokenType(i) === 1) { comment = true; } } return comment; }; (0,_react_17_0_2_react.useEffect)(function () { var _editor$current; if ((_editor$current = editor.current) !== null && _editor$current !== void 0 && _editor$current.instance && init && openBreakPoint) { var instance = editor.current.instance; var model = instance.getModel(); if (!model) return; // 高亮指定的行数 var dealHighlightLine = function dealHighlightLine() { var lines = []; var ids = []; var decorations = model.getAllDecorations(); var _iterator2 = createForOfIteratorHelper_default()(decorations), _step2; try { for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) { var decoration = _step2.value; if (decoration.options.className === 'highlighted-line') { var _decoration$range; lines.push(decoration === null || decoration === void 0 || (_decoration$range = decoration.range) === null || _decoration$range === void 0 ? void 0 : _decoration$range.startLineNumber); ids.push(decoration === null || decoration === void 0 ? void 0 : decoration.id); } } } catch (err) { _iterator2.e(err); } finally { _iterator2.f(); } if (highlightLine === lines[0]) return; model.deltaDecorations(ids, []); var lineCount = model.getLineCount(); if (!!highlightLine && highlightLine <= lineCount) { instance.deltaDecorations([], [{ range: new monaco.Range(highlightLine, 1, highlightLine, model.getLineMaxColumn(highlightLine)), options: { isWholeLine: true, className: 'highlighted-line' } }]); instance.revealLineInCenter(highlightLine); } }; dealHighlightLine(); //处理断点集合 var dealBreakPoint = function dealBreakPoint() { var isReturn = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false; var lines = []; var ids = []; var decorations = model.getAllDecorations(); var _iterator3 = createForOfIteratorHelper_default()(decorations), _step3; try { for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) { var decoration = _step3.value; if (decoration.options.linesDecorationsClassName === 'breakpoints-select') { var _decoration$range2; lines.push(decoration === null || decoration === void 0 || (_decoration$range2 = decoration.range) === null || _decoration$range2 === void 0 ? void 0 : _decoration$range2.startLineNumber); ids.push(decoration === null || decoration === void 0 ? void 0 : decoration.id); } } } catch (err) { _iterator3.e(err); } finally { _iterator3.f(); } if (isReturn) return { lines: lines, ids: ids }; onBreakPoint(lines); }; //添加断点 var addBreakPoint = /*#__PURE__*/function () { var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee(line) { var value; return regeneratorRuntime_default()().wrap(function _callee$(_context) { while (1) switch (_context.prev = _context.next) { case 0: value = { range: new monaco.Range(line, 1, line, 1), options: { isWholeLine: false, linesDecorationsClassName: 'breakpoints-select' } }; _context.next = 3; return model.deltaDecorations([], [value]); case 3: dealBreakPoint(); case 4: case "end": return _context.stop(); } }, _callee); })); return function addBreakPoint(_x) { return _ref2.apply(this, arguments); }; }(); //删除断点,如果指定了line,删除指定行的断点,否则删除当前model里面的所有断点 var removeBreakPoint = /*#__PURE__*/function () { var _ref3 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee2(line) { var ids, decorations, _iterator4, _step4, decoration; return regeneratorRuntime_default()().wrap(function _callee2$(_context2) { while (1) switch (_context2.prev = _context2.next) { case 0: ids = []; decorations = instance.getLineDecorations(line); _iterator4 = createForOfIteratorHelper_default()(decorations); try { for (_iterator4.s(); !(_step4 = _iterator4.n()).done;) { decoration = _step4.value; if (decoration.options.linesDecorationsClassName === 'breakpoints-select') { ids.push(decoration.id); } } } catch (err) { _iterator4.e(err); } finally { _iterator4.f(); } _context2.next = 6; return model.deltaDecorations(ids, []); case 6: dealBreakPoint(); case 7: case "end": return _context2.stop(); } }, _callee2); })); return function removeBreakPoint(_x2) { return _ref3.apply(this, arguments); }; }(); //判断该行是否存在断点 var hasBreakPoint = function hasBreakPoint(line) { var decorations = instance.getLineDecorations(line); var _iterator5 = createForOfIteratorHelper_default()(decorations), _step5; try { for (_iterator5.s(); !(_step5 = _iterator5.n()).done;) { var decoration = _step5.value; if (decoration.options.linesDecorationsClassName === 'breakpoints-select') { return true; } } } catch (err) { _iterator5.e(err); } finally { _iterator5.f(); } return false; }; // breakPointValue改变时赋予新的断点 if (!(0,lodash.isEqual)(breakPointValue, dealBreakPoint(true).lines)) { model.deltaDecorations(dealBreakPoint(true).ids, []); var values = breakPointValue.map(function (line) { return { range: new monaco.Range(line, 1, line, 1), options: { isWholeLine: false, linesDecorationsClassName: 'breakpoints-select' } }; }); model.deltaDecorations([], values); } // let lastPosition var elModelContent = instance.onDidChangeModelContent(function (e) { //获取当前的鼠标位置 var pos = instance.getPosition(); if (pos) { //获取当前的行 var line = pos.lineNumber; //如果当前行的内容为空,注释 clearTimeout(noAllowTime.current); noAllowTime.current = setTimeout(function () { if (noAllow(model.getLineContent(line), line)) { removeBreakPoint(line); } else if (hasBreakPoint(line)) { //如果当前行存在断点,删除多余的断点只保留一个 removeBreakPoint(line); addBreakPoint(line); } else { dealBreakPoint(); } }, 100); } }); var elMouseDown = instance.onMouseDown(function (e) { var _e$target; //这里限制了一下点击的位置,只有点击breakpoint应该出现的位置,才会创建,其他位置没反应 if (e.target.detail && (_e$target = e.target) !== null && _e$target !== void 0 && (_e$target = _e$target.element) !== null && _e$target !== void 0 && (_e$target = _e$target.className) !== null && _e$target !== void 0 && _e$target.includes('line-numbers')) { var line = e.target.position.lineNumber; //空行,注释不创建 if (noAllow(model.getLineContent(line), line)) { return; } //如果点击的位置没有的话创建breakpoint,有的话,删除 if (!hasBreakPoint(line)) { addBreakPoint(line); } else { removeBreakPoint(line); } //如果存在上个位置,将鼠标移到上个位置,否则使editor失去焦点 // if (lastPosition) { // instance.setPosition(lastPosition) // } else { // document.activeElement.blur() // } } //更新lastPosition为当前鼠标的位置(只有点击编辑器里面的内容的时候) // if (e.target.type === 6 || e.target.type === 7) { // lastPosition = instance.getPosition() // } }); //添加一个伪breakpoint var addFakeBreakPoint = function addFakeBreakPoint(line) { var value = { range: new monaco.Range(line, 1, line, 1), options: { isWholeLine: false, linesDecorationsClassName: 'breakpoints-fake' } }; breakpointsFake.current = instance.deltaDecorations(breakpointsFake.current, [value]); }; //删除所有的伪breakpoint var removeFakeBreakPoint = function removeFakeBreakPoint() { breakpointsFake.current = instance.deltaDecorations(breakpointsFake.current, []); }; var elMouseMove = instance.onMouseMove(function (e) { var _e$target2; removeFakeBreakPoint(); if (e.target.detail && (_e$target2 = e.target) !== null && _e$target2 !== void 0 && (_e$target2 = _e$target2.element) !== null && _e$target2 !== void 0 && (_e$target2 = _e$target2.className) !== null && _e$target2 !== void 0 && _e$target2.includes('line-numbers')) { var line = e.target.position.lineNumber; if (noAllow(model.getLineContent(line), line)) { return; } addFakeBreakPoint(line); } }); var elMouseLeave = instance.onMouseLeave(function () { removeFakeBreakPoint(); }); // const elKeyDown = instance.onKeyDown(e => { // if (e.code === 'Enter') { // removeFakeBreakPoint() // } // }) return function () { elModelContent.dispose(); elMouseDown.dispose(); elMouseMove.dispose(); elMouseLeave.dispose(); // elKeyDown.dispose(); }; } }, [editor.current, init, breakPointValue, highlightLine, openBreakPoint, language]); //清除组件自带选中 (0,_react_17_0_2_react.useEffect)(function () { var _editor$current2; if ((_editor$current2 = editor.current) !== null && _editor$current2 !== void 0 && _editor$current2.instance && openBreakPoint) { editor.current.instance.setPosition({ lineNumber: 0, column: 0 }); } }, [highlightLine]); function onPaste() { var instance = editor.current.instance; if (instance) { var selection = instance.getSelection(); var pastePos = editor.current.pastePos || {}; var range = new monaco.Range(pastePos.startLineNumber || selection.endLineNumber, pastePos.startColumn || selection.endColumn, pastePos.endLineNumber || selection.endLineNumber, pastePos.endColumn || selection.endColumn); setTimeout(function () { instance.executeEdits('', [{ range: range, text: '' }]); }, 300); } } function onSaveHandler(e) { if ((window.navigator.platform.match('Mac') ? e.metaKey : e.ctrlKey) && e.keyCode == 83) { e.preventDefault(); onSave(); } } var autoCalcHeight = function autoCalcHeight() { if (autoHeight && editor.current.instance) { var _height = editor.current.instance.getContentHeight(); setFixedHeight(_height < height ? height : _height); } else { setFixedHeight(height); } }; function fakeClick(obj) { var ev = document.createEvent('MouseEvents'); ev.initMouseEvent('click', true, false, window, 0, 0, 0, 0, 0, false, false, false, false, 0, null); obj.dispatchEvent(ev); } var checkPaste = function checkPaste(event) { var keyCode = event.keyCode, ctrlKey = event.ctrlKey, metaKey = event.metaKey, target = event.target, type = event.type; if ((type === "paste" || (keyCode === 67 || keyCode === 86) && (metaKey || ctrlKey)) && target.nodeName === "TEXTAREA") { tipWarn(); event.preventDefault(); } return false; }; function exportRaw(name, data) { var urlObject = window.URL || window.webkitURL || window; var export_blob = new Blob([data]); var save_link = document.createElementNS('http://www.w3.org/1999/xhtml', 'a'); save_link.href = urlObject.createObjectURL(export_blob); save_link.download = name; fakeClick(save_link); } (0,_react_17_0_2_react.useEffect)(function () { autoCalcHeight(); }, [autoCalcHeight]); (0,_react_17_0_2_react.useEffect)(function () { if (editorEl.current && !init) { // require.config({ paths: { vs: 'monaco-editor/min/vs' } }); // require.config({ // 'vs/nls': { // availableLanguages: { // '*': 'de', // }, // }, // }); Promise.all(/*! import() */[__webpack_require__.e(19208), __webpack_require__.e(39404), __webpack_require__.e(71448), __webpack_require__.e(36505)]).then(__webpack_require__.bind(__webpack_require__, /*! monaco-editor */ 71448)).then(function (mod) { try { monaco = mod; editor.current.instance = monaco.editor.create(editorEl.current, { value: value, language: getLanguageByMirrorName(language), theme: theme, requireConfig: { 'vs/nls': { availableLanguages: { '*': 'zh-cn' } } }, wordWrap: true, autoIndent: true, contextmenu: true, // formatOnPaste: true, formatOnType: true }, overrideServices); var instance = editor.current.instance; var menus = actions/* MenuRegistry */.BH._menuItems; var contextMenuEntry = toConsumableArray_default()(menus).find(function (entry) { return entry[0]._debugName == "EditorContext"; }); var contextMenuLinks = contextMenuEntry[1]; var removableIds = ["editor.action.clipboardCopyWithSyntaxHighlightingAction", "editor.action.quickCommand", "editor.action.clipboardCopyAction", "editor.action.clipboardPasteAction", "editor.action.clipboardCutAction"]; var removeById = function removeById(list, ids) { var node = list._first; do { var _node$element; var shouldRemove = ids.includes((_node$element = node.element) === null || _node$element === void 0 || (_node$element = _node$element.command) === null || _node$element === void 0 ? void 0 : _node$element.id); if (shouldRemove) { list._remove(node); } } while (node = node.next); }; editorDidMount(instance, monaco); setTimeout(function () { autoCalcHeight(); editor.current.instance.addAction({ id: 'd123123', label: 'Download File', contextMenuGroupId: '9_cutcopypaste', run: function run() { exportRaw(filename || 'educoder.txt', instance.getValue()); } }); // instance.getDomNode().addEventListener('input', () => { // if (optionsRef.current.autoFormat) // instance.getAction('editor.action.formatDocument').run(); // }); }, 500); editor.current.subscription = instance.onDidChangeModelContent(function (event) { if (!inputLock.current) { autoCalcHeight(); onChange(instance.getValue(), event); } else { clearTimeout(inputLockTime.current); } inputLockTime.current = setTimeout(function () { inputLock.current = false; }, 500); }); if (!window.Monaco) monaco_suggest_config(monaco, getLanguageByMirrorName(language)); if (forbidCopy) { removeById(contextMenuLinks, removableIds); editorEl.current.classList.add("noCopyPaste"); window.removeEventListener("keydown", checkPaste); window.removeEventListener("paste", checkPaste); window.addEventListener("keydown", checkPaste); window.addEventListener("paste", checkPaste); } window.Monaco = monaco; if (onEditBlur) { instance.onDidBlurEditorWidget(function () { onEditBlur(instance.getValue()); }); } if (onFocus) { instance.onDidFocusEditorText(function () { onFocus(instance.getValue()); }); } if (forbidCopy) { try { window.addEventListener('paste', onPaste); } catch (e) {} } var ro = onLayout(); setInit(true); return function () { var el = editor.current.instance; el.dispose(); var model = el.getModel(); if (model) { model.dispose(); } if (editor.current.subscription) { editor.current.subscription.dispose(); } if (forbidCopy) { window.removeEventListener('paste', onPaste); } ro.unobserve(editorEl.current); }; } catch (e) { // ; } }); } }, []); (0,_react_17_0_2_react.useEffect)(function () { var instance = editor.current.instance; if (instance && init) { document.addEventListener('keydown', onSaveHandler, false); return function () { document.removeEventListener('keydown', onSaveHandler); }; } }, [onSave, init]); (0,_react_17_0_2_react.useEffect)(function () { var instance = editor.current.instance; if (instance && init) { var lang = getLanguageByMirrorName(language); monaco.editor.setModelLanguage(instance.getModel(), lang); } }, [language, init]); (0,_react_17_0_2_react.useEffect)(function () { var instance = editor.current.instance; if (instance && init) { monaco.editor.setTheme(theme); } }, [theme, init]); (0,_react_17_0_2_react.useEffect)(function () { var instance = editor.current.instance; optionsRef.current = options; if (instance && init) { instance.updateOptions(objectSpread2_default()({}, options)); setTimeout(function () { instance.getModel().updateOptions(objectSpread2_default()({}, options)); }, 200); } }, [JSON.stringify(options), init]); (0,_react_17_0_2_react.useEffect)(function () { var instance = editor.current.instance; if (instance && init) { instance.layout(); } }, [width, height, init]); // const fixedWidth = processSize(width); // const fixedHeight = processSize(height); var _useState3 = (0,_react_17_0_2_react.useState)(processSize(width)), _useState4 = slicedToArray_default()(_useState3, 2), fixedWidth = _useState4[0], setFixedWidth = _useState4[1]; var _useState5 = (0,_react_17_0_2_react.useState)(processSize(height)), _useState6 = slicedToArray_default()(_useState5, 2), fixedHeight = _useState6[0], setFixedHeight = _useState6[1]; var mergeStyle = objectSpread2_default()(objectSpread2_default()({}, style), {}, { width: fixedWidth, height: fixedHeight }); return /*#__PURE__*/(0,jsx_runtime.jsx)("div", { className: "my-monaco-editor", ref: editorEl, style: mergeStyle }); }); function DiffEditor(_ref4) { var _ref4$width = _ref4.width, width = _ref4$width === void 0 ? '100%' : _ref4$width, _ref4$height = _ref4.height, height = _ref4$height === void 0 ? '100%' : _ref4$height, original = _ref4.original, modified = _ref4.modified, language = _ref4.language, _ref4$options = _ref4.options, options = _ref4$options === void 0 ? {} : _ref4$options; var editorEl = (0,_react_17_0_2_react.useRef)(); var _useState7 = (0,_react_17_0_2_react.useState)(null), _useState8 = slicedToArray_default()(_useState7, 2), instance = _useState8[0], setInstance = _useState8[1]; function onLayout(instance) { var ro; if (editorEl.current) { ro = new ResizeObserver_es/* default */.Z(function (entries) { var _iterator6 = createForOfIteratorHelper_default()(entries), _step6; try { for (_iterator6.s(); !(_step6 = _iterator6.n()).done;) { var entry = _step6.value; if (entry.target.offsetHeight > 0 || entry.target.offsetWidth > 0) { instance.layout(); } } } catch (err) { _iterator6.e(err); } finally { _iterator6.f(); } }); ro.observe(editorEl.current); } return ro; } (0,_react_17_0_2_react.useEffect)(function () { if (editorEl.current) { Promise.all(/*! import() | monaco-editor */[__webpack_require__.e(19208), __webpack_require__.e(39404)]).then(__webpack_require__.bind(__webpack_require__, /*! monaco-editor/esm/vs/editor/editor.api.js */ 2550)).then(function (mod) { monaco = mod; var instance = monaco.editor.createDiffEditor(editorEl.current, objectSpread2_default()(objectSpread2_default()({ enableSplitViewResizing: false, scrollBeyondLastLine: false, roundedSelection: false, renderIndicators: false, useShadows: false, horizontal: 'hidden', lineNumbers: 'off', wordWrap: "off", ignoreTrimWhitespace: false, 'semanticHighlighting.enabled': true, followsCaret: true, // resets the navigator state when the user selects something in the editor ignoreCharChanges: true, // jump from line to line, minimap: { enabled: false }, readOnly: true }, options), {}, { wordWrap: true })); setInstance(instance); var ro = onLayout(instance); return function () { instance.dispose(); var model = instance.getModel(); if (model) { model.dispose(); } ro.unobserve(editorEl.current); }; }); } return function () { window.removeEventListener("keydown", checkPaste); window.removeEventListener("paste", checkPaste); }; }, []); (0,_react_17_0_2_react.useEffect)(function () { if (instance) { instance.setModel({ original: monaco.editor.createModel(original, language), modified: monaco.editor.createModel(modified, language) }); } }, [original, modified, language, instance]); var fixedWidth = processSize(width); var fixedHeight = processSize(height); var style = { width: fixedWidth, height: fixedHeight }; return /*#__PURE__*/(0,jsx_runtime.jsx)("div", { className: "my-diff-editor", ref: editorEl, style: style }); } /***/ }), /***/ 1978: /*!************************************************!*\ !*** ./src/models/engineering/evaluateList.ts ***! \************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ k: function() { return /* binding */ evaluateListHeaderKey; } /* harmony export */ }); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectWithoutProperties_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/objectWithoutProperties.js */ 39647); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectWithoutProperties_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectWithoutProperties_js__WEBPACK_IMPORTED_MODULE_0__); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/regeneratorRuntime.js */ 7557); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1__); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/objectSpread2.js */ 82242); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_2__); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/defineProperty.js */ 85573); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_3__); /* harmony import */ var _service_engineering__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/service/engineering */ 60823); /* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! antd */ 8591); /* harmony import */ var _pages_Engineering_util__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/pages/Engineering/util */ 20074); var _excluded = ["all"]; /** * @param dataSource 选择器数据对象 * @param active 选中的值 */ /** * @param total 总数 * @param pageSize 每页条数 * @param pageNo 当前页数 * @param dataSource 数据源 */ var evaluateListHeaderKey = ['认证专业', '认证届别']; var EngineeringEvaluteLisModal = { namespace: 'engineeringEvaluteList', state: { actionTabs: { key: '', params: {} }, headerData: { dataSource: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_3___default()(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_3___default()({}, evaluateListHeaderKey[0], { width: 235, placeholder: "\u8BF7\u9009\u62E9".concat(evaluateListHeaderKey[0]), loading: 'engineeringEvaluteList/getMajorList', dataList: [] }), evaluateListHeaderKey[1], { width: 138, placeholder: "\u8BF7\u9009\u62E9".concat(evaluateListHeaderKey[1]), loading: 'engineeringEvaluteList/getYearList', dataList: [] }), active: {} }, tabListData: { total: 0, pageNo: 1, pageSize: 20, dataSource: [] } }, effects: { setActionTabs: function setActionTabs(_ref, _ref2) { var payload = _ref.payload; var call = _ref2.call, put = _ref2.put; return /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee() { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee$(_context) { while (1) switch (_context.prev = _context.next) { case 0: _context.next = 2; return put({ type: 'save', payload: { actionTabs: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_2___default()({}, payload) } }); case 2: case "end": return _context.stop(); } }, _callee); })(); }, getMajorList: function getMajorList(_ref3, _ref4) { var payload = _ref3.payload; var call = _ref4.call, put = _ref4.put, select = _ref4.select; return /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee2() { var _yield$select, userInfo, result, item; return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee2$(_context2) { while (1) switch (_context2.prev = _context2.next) { case 0: _context2.next = 2; return select(function (_) { return _.user; }); case 2: _yield$select = _context2.sent; userInfo = _yield$select.userInfo; if (!(userInfo !== null && userInfo !== void 0 && userInfo.school_id)) { _context2.next = 12; break; } _context2.next = 7; return call(_service_engineering__WEBPACK_IMPORTED_MODULE_4__/* .getMajorListService */ .BA, userInfo.school_id); case 7: result = _context2.sent; if (!(result && result.data)) { _context2.next = 12; break; } item = _pages_Engineering_util__WEBPACK_IMPORTED_MODULE_5__/* .localSelect */ .U.getItem(userInfo === null || userInfo === void 0 ? void 0 : userInfo.login); _context2.next = 12; return put({ type: 'setMajorOrYearDataSource', payload: { key: evaluateListHeaderKey[0], value: result.data.map(function (list) { return { label: list.name, value: list.ec_major_school_id }; }), active: result.data.length > 0 ? item[0] || result.data[0].ec_major_school_id : undefined } }); case 12: case "end": return _context2.stop(); } }, _callee2); })(); }, getYearList: function getYearList(_ref5, _ref6) { var payload = _ref5.payload; var call = _ref6.call, put = _ref6.put, select = _ref6.select; return /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee3() { var result, _yield$select2, userInfo, item; return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee3$(_context3) { while (1) switch (_context3.prev = _context3.next) { case 0: _context3.next = 2; return call(_service_engineering__WEBPACK_IMPORTED_MODULE_4__/* .getYearListService */ .Nx, payload.id); case 2: result = _context3.sent; _context3.next = 5; return select(function (_) { return _.user; }); case 5: _yield$select2 = _context3.sent; userInfo = _yield$select2.userInfo; if (!(result && result.data)) { _context3.next = 11; break; } item = _pages_Engineering_util__WEBPACK_IMPORTED_MODULE_5__/* .localSelect */ .U.getItem(userInfo === null || userInfo === void 0 ? void 0 : userInfo.login); _context3.next = 11; return put({ type: 'setMajorOrYearDataSource', payload: { key: evaluateListHeaderKey[1], value: result.data.map(function (list) { return { label: list.year, value: list.ec_year_id }; }), active: result.data.length > 0 ? payload.firstEnter ? item[1] : result.data[0].ec_year_id : undefined } }); case 11: case "end": return _context3.stop(); } }, _callee3); })(); }, getCourseResults: function getCourseResults(_ref7, _ref8) { var _ref7$payload = _ref7.payload, payload = _ref7$payload === void 0 ? {} : _ref7$payload; var call = _ref8.call, put = _ref8.put, select = _ref8.select; return /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee4() { var calc, page, per_page, _yield$select3, headerData, tabListData, _yield$select4, userInfo, id, param, result, k; return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee4$(_context4) { while (1) switch (_context4.prev = _context4.next) { case 0: calc = payload.calc, page = payload.page, per_page = payload.per_page; _context4.next = 3; return select(function (_) { return _.engineeringEvaluteList; }); case 3: _yield$select3 = _context4.sent; headerData = _yield$select3.headerData; tabListData = _yield$select3.tabListData; _context4.next = 8; return select(function (_) { return _.user; }); case 8: _yield$select4 = _context4.sent; userInfo = _yield$select4.userInfo; id = headerData.active[evaluateListHeaderKey[1]]; if (!id) { _context4.next = 24; break; } param = { id: id, page: page || 1, per_page: per_page || tabListData.pageSize }; if (calc) { param = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_2___default()(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_2___default()({}, param), {}, { page: tabListData.pageNo }); } _context4.next = 16; return call(_service_engineering__WEBPACK_IMPORTED_MODULE_4__/* .getCourseResultsService */ ._y, param); case 16: result = _context4.sent; k = [headerData.active[evaluateListHeaderKey[0]], headerData.active[evaluateListHeaderKey[1]]]; _pages_Engineering_util__WEBPACK_IMPORTED_MODULE_5__/* .localSelect */ .U.setItem(userInfo === null || userInfo === void 0 ? void 0 : userInfo.login, k); if (!(result && result.ec_courses)) { _context4.next = 22; break; } _context4.next = 22; return put({ type: 'setCourseResults', payload: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_2___default()(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_2___default()({}, tabListData), {}, { pageNo: param.page, total: result.count, pageSize: param.per_page || tabListData.pageSize, dataSource: result.ec_courses.map(function (list, index) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_2___default()(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_2___default()({}, list), {}, { key: param.page > 1 ? (param.page - 1) * param.per_page + index + 1 : index + 1 }); }) }) }); case 22: _context4.next = 26; break; case 24: _context4.next = 26; return put({ type: 'setCourseResults', payload: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_2___default()(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_2___default()({}, tabListData), {}, { pageNo: 1, total: 0, dataSource: [] }) }); case 26: case "end": return _context4.stop(); } }, _callee4); })(); }, exportCourse: function exportCourse(_ref9, _ref10) { var payload = _ref9.payload; var call = _ref10.call, select = _ref10.select; return /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee5() { var _yield$select5, headerData; return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee5$(_context5) { while (1) switch (_context5.prev = _context5.next) { case 0: _context5.next = 2; return select(function (_) { return _.engineeringEvaluteList; }); case 2: _yield$select5 = _context5.sent; headerData = _yield$select5.headerData; if (!headerData.active[evaluateListHeaderKey[1]]) { _context5.next = 7; break; } _context5.next = 7; return call(_service_engineering__WEBPACK_IMPORTED_MODULE_4__/* .exportCourseService */ .F, headerData.active[evaluateListHeaderKey[1]]); case 7: case "end": return _context5.stop(); } }, _callee5); })(); }, compute: function compute(_ref11, _ref12) { var payload = _ref11.payload; var call = _ref12.call, put = _ref12.put; return /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee6() { var all, rest, result; return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee6$(_context6) { while (1) switch (_context6.prev = _context6.next) { case 0: // all --true 全部计算 --false 单个计算 all = payload.all, rest = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectWithoutProperties_js__WEBPACK_IMPORTED_MODULE_0___default()(payload, _excluded); _context6.next = 3; return call(all ? _service_engineering__WEBPACK_IMPORTED_MODULE_4__/* .postComputeAllService */ .At : _service_engineering__WEBPACK_IMPORTED_MODULE_4__/* .postComputeCourseSingleService */ .PX, rest); case 3: result = _context6.sent; if (!(result && result.status === 0)) { _context6.next = 10; break; } antd__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .ZP.success('计算完成'); _context6.next = 8; return put({ type: 'getCourseResults', payload: { calc: true } }); case 8: _context6.next = 11; break; case 10: antd__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .ZP.error(result.message); case 11: case "end": return _context6.stop(); } }, _callee6); })(); } }, reducers: { save: function save(state, action) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_2___default()(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_2___default()({}, state), action.payload); }, setMajorOrYearDataSource: function setMajorOrYearDataSource(state, _ref13) { var payload = _ref13.payload; var active = state.headerData.active; if (payload.active) { active = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_2___default()(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_2___default()({}, active), {}, _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_3___default()({}, payload.key, payload.active)); } return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_2___default()(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_2___default()({}, state), {}, { headerData: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_2___default()(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_2___default()({}, state.headerData), {}, { dataSource: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_2___default()(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_2___default()({}, state.headerData.dataSource), {}, _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_3___default()({}, payload.key, _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_2___default()(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_2___default()({}, state.headerData.dataSource[payload.key]), {}, { dataList: payload.value }))), active: active }) }); }, setMajorOrYearActive: function setMajorOrYearActive(state, _ref14) { var payload = _ref14.payload; return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_2___default()(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_2___default()({}, state), {}, { headerData: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_2___default()(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_2___default()({}, state.headerData), {}, { active: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_2___default()(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_2___default()({}, state.headerData.active), {}, _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_3___default()({}, payload.key, payload.value)) }) }); }, setCourseResults: function setCourseResults(state, _ref15) { var payload = _ref15.payload; return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_2___default()(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_2___default()({}, state), {}, { tabListData: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_2___default()(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_2___default()({}, state.tabListData), payload) }); } }, subscriptions: { setup: function setup(_ref16) { var dispatch = _ref16.dispatch, history = _ref16.history; return history.listen(function (_ref17) { var pathname = _ref17.pathname; if (pathname === '/') { dispatch({ type: 'query' }); } }); } } }; /* harmony default export */ __webpack_exports__.Z = (EngineeringEvaluteLisModal); /***/ }), /***/ 62790: /*!***************************************!*\ !*** ./src/models/problemset/util.ts ***! \***************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ L: function() { return /* binding */ formatCourseOptions; }, /* harmony export */ r: function() { return /* binding */ formatPaperData; } /* harmony export */ }); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/objectSpread2.js */ 82242); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0__); var formatCourseOptions = function formatCourseOptions(disciplines) { return disciplines === null || disciplines === void 0 ? void 0 : disciplines.map(function (item) { var children = (item.sub_disciplines || []).map(function (subItem) { return { value: subItem.id, label: subItem.name }; }); return { value: item.id, label: item.name, children: children }; }); }; var numberFormatChinese = { 1: '一', 2: '二', 3: '三', 4: '四', 5: '五', 6: '六', 7: '七', 8: '八' }; var formatPaperData = function formatPaperData(originData) { if (!originData) { return; } var _ref = originData || {}, all_questions_count = _ref.all_questions_count, all_score = _ref.all_score, single_questions = _ref.single_questions, multiple_questions = _ref.multiple_questions, judgement_questions = _ref.judgement_questions, program_questions = _ref.program_questions, completion_questions = _ref.completion_questions, subjective_questions = _ref.subjective_questions, practical_questions = _ref.practical_questions, combination_questions = _ref.combination_questions; var questionData = [_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({ type: 'SINGLE', name: '单选题' }, single_questions), _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({ type: 'MULTIPLE', name: '多选题' }, multiple_questions), _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({ type: 'COMPLETION', name: '填空题' }, completion_questions), _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({ type: 'JUDGMENT', name: '判断题' }, judgement_questions), _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({ type: 'SUBJECTIVE', name: '画图题' }, subjective_questions), _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({ type: 'PROGRAM', name: '编程题' }, program_questions), _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({ type: 'PRACTICAL', name: '实训题' }, practical_questions), _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({ type: 'COMBINATION', name: '组合题' }, combination_questions)]; var questionList = questionData.filter(function (item) { return item.questions_count > 0; }).map(function (item, index) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, item), { number: numberFormatChinese[index + 1] }); }); return { all_questions_count: all_questions_count, all_score: all_score, questionList: questionList }; }; /***/ }), /***/ 20074: /*!****************************************!*\ !*** ./src/pages/Engineering/util.tsx ***! \****************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ U: function() { return /* binding */ localSelect; }, /* harmony export */ t: function() { return /* binding */ verifyModal; } /* harmony export */ }); /* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! antd */ 43418); /* harmony import */ var _utils_authority__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @/utils/authority */ 85186); var verifyModal = function verifyModal(fuc) { var text = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : ''; antd__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z.confirm({ centered: true, width: 520, okText: '确定', cancelText: '取消', title: "提示", content: text, onOk: fuc }); }; // 本地记录排序 // recordValue[1] 认证专业 // recordValue[2] 认证届别 var localSelect = { setItem: function setItem(key, value) { var _userInfo; var recordKey = key + '-engineering' + ((_userInfo = (0,_utils_authority__WEBPACK_IMPORTED_MODULE_0__/* .userInfo */ .eY)()) === null || _userInfo === void 0 ? void 0 : _userInfo.school_id); var recordValue = JSON.stringify(value); localStorage.setItem(recordKey, recordValue); }, getItem: function getItem(key) { var _userInfo2; var recordKey = key + '-engineering' + ((_userInfo2 = (0,_utils_authority__WEBPACK_IMPORTED_MODULE_0__/* .userInfo */ .eY)()) === null || _userInfo2 === void 0 ? void 0 : _userInfo2.school_id); var localRecordValue = localStorage.getItem(recordKey); var recordValue = localRecordValue !== null && localRecordValue !== '[object Object]' ? JSON.parse(localRecordValue) : []; return recordValue; }, clear: function clear(key) { var _userInfo3; var recordKey = key + '-engineering' + ((_userInfo3 = (0,_utils_authority__WEBPACK_IMPORTED_MODULE_0__/* .userInfo */ .eY)()) === null || _userInfo3 === void 0 ? void 0 : _userInfo3.school_id); localStorage.removeItem(recordKey); } }; /***/ }), /***/ 75779: /*!********************************!*\ !*** ./src/service/account.ts ***! \********************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ $f: function() { return /* binding */ cancelProfessionalAuth; }, /* harmony export */ Cq: function() { return /* binding */ getCode; }, /* harmony export */ GY: function() { return /* binding */ getSchoolOption; }, /* harmony export */ I8: function() { return /* binding */ bindEmail; }, /* harmony export */ Ow: function() { return /* binding */ applyProfessionalAuth; }, /* harmony export */ P: function() { return /* binding */ cancelRealNameAuth; }, /* harmony export */ Ql: function() { return /* binding */ getDepartmentOption; }, /* harmony export */ RA: function() { return /* binding */ cancelAuthentication; }, /* harmony export */ Zm: function() { return /* binding */ appplyDepartment; }, /* harmony export */ bz: function() { return /* binding */ appplySchool; }, /* harmony export */ eF: function() { return /* binding */ bindPhone; }, /* harmony export */ gQ: function() { return /* binding */ updatePassword; }, /* harmony export */ ht: function() { return /* binding */ applyRealNameAuth; }, /* harmony export */ kN: function() { return /* binding */ cancelProfessionalCertification; }, /* harmony export */ n1: function() { return /* binding */ updateAvatar; }, /* harmony export */ nI: function() { return /* binding */ createSubjectVideo; }, /* harmony export */ o9: function() { return /* binding */ getBasicInfo; }, /* harmony export */ sG: function() { return /* binding */ updateAccount; }, /* harmony export */ wi: function() { return /* binding */ unbindAccount; } /* harmony export */ }); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/regeneratorRuntime.js */ 7557); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/asyncToGenerator.js */ 41498); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__); /* harmony import */ var _utils_fetch__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/utils/fetch */ 55794); function updateAvatar(_x) { return _updateAvatar.apply(this, arguments); } function _updateAvatar() { _updateAvatar = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee$(_context) { while (1) switch (_context.prev = _context.next) { case 0: return _context.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/users/accounts/".concat(params.login, "/avatar.json"), { method: 'put', body: params })); case 1: case "end": return _context.stop(); } }, _callee); })); return _updateAvatar.apply(this, arguments); } function getBasicInfo(_x2) { return _getBasicInfo.apply(this, arguments); } function _getBasicInfo() { _getBasicInfo = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee2(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee2$(_context2) { while (1) switch (_context2.prev = _context2.next) { case 0: return _context2.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/users/accounts/".concat(params.login, ".json"), { method: 'get' })); case 1: case "end": return _context2.stop(); } }, _callee2); })); return _getBasicInfo.apply(this, arguments); } function appplySchool(_x3) { return _appplySchool.apply(this, arguments); } function _appplySchool() { _appplySchool = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee3(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee3$(_context3) { while (1) switch (_context3.prev = _context3.next) { case 0: return _context3.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/add_school_applies.json", { method: 'post', body: params })); case 1: case "end": return _context3.stop(); } }, _callee3); })); return _appplySchool.apply(this, arguments); } function getSchoolOption(_x4) { return _getSchoolOption.apply(this, arguments); } function _getSchoolOption() { _getSchoolOption = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee4(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee4$(_context4) { while (1) switch (_context4.prev = _context4.next) { case 0: return _context4.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/schools/for_option.json", { method: 'get', params: params })); case 1: case "end": return _context4.stop(); } }, _callee4); })); return _getSchoolOption.apply(this, arguments); } function getDepartmentOption(_x5) { return _getDepartmentOption.apply(this, arguments); } function _getDepartmentOption() { _getDepartmentOption = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee5(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee5$(_context5) { while (1) switch (_context5.prev = _context5.next) { case 0: return _context5.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/schools/".concat(params.id, "/departments/for_option.json"), { method: 'get', params: params })); case 1: case "end": return _context5.stop(); } }, _callee5); })); return _getDepartmentOption.apply(this, arguments); } function appplyDepartment(_x6) { return _appplyDepartment.apply(this, arguments); } function _appplyDepartment() { _appplyDepartment = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee6(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee6$(_context6) { while (1) switch (_context6.prev = _context6.next) { case 0: return _context6.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/add_department_applies.json", { method: 'post', body: params })); case 1: case "end": return _context6.stop(); } }, _callee6); })); return _appplyDepartment.apply(this, arguments); } function updateAccount(_x7) { return _updateAccount.apply(this, arguments); } function _updateAccount() { _updateAccount = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee7(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee7$(_context7) { while (1) switch (_context7.prev = _context7.next) { case 0: return _context7.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/users/accounts/".concat(params.id, ".json"), { method: 'put', body: params })); case 1: case "end": return _context7.stop(); } }, _callee7); })); return _updateAccount.apply(this, arguments); } function cancelRealNameAuth(_x8) { return _cancelRealNameAuth.apply(this, arguments); } function _cancelRealNameAuth() { _cancelRealNameAuth = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee8(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee8$(_context8) { while (1) switch (_context8.prev = _context8.next) { case 0: return _context8.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/users/accounts/".concat(params.login, "/authentication_apply.json"), { method: 'delete' })); case 1: case "end": return _context8.stop(); } }, _callee8); })); return _cancelRealNameAuth.apply(this, arguments); } function cancelProfessionalAuth(_x9) { return _cancelProfessionalAuth.apply(this, arguments); } function _cancelProfessionalAuth() { _cancelProfessionalAuth = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee9(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee9$(_context9) { while (1) switch (_context9.prev = _context9.next) { case 0: return _context9.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/users/accounts/".concat(params.login, "/professional_auth_apply.json"), { method: 'delete' })); case 1: case "end": return _context9.stop(); } }, _callee9); })); return _cancelProfessionalAuth.apply(this, arguments); } function applyProfessionalAuth(_x10) { return _applyProfessionalAuth.apply(this, arguments); } function _applyProfessionalAuth() { _applyProfessionalAuth = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee10(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee10$(_context10) { while (1) switch (_context10.prev = _context10.next) { case 0: return _context10.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/users/accounts/".concat(params.id, "/professional_auth_apply.json"), { method: 'post', body: params })); case 1: case "end": return _context10.stop(); } }, _callee10); })); return _applyProfessionalAuth.apply(this, arguments); } function applyRealNameAuth(_x11) { return _applyRealNameAuth.apply(this, arguments); } function _applyRealNameAuth() { _applyRealNameAuth = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee11(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee11$(_context11) { while (1) switch (_context11.prev = _context11.next) { case 0: return _context11.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/users/accounts/".concat(params.id, "/authentication_apply.json"), { method: 'post', body: params })); case 1: case "end": return _context11.stop(); } }, _callee11); })); return _applyRealNameAuth.apply(this, arguments); } function getCode(_x12) { return _getCode.apply(this, arguments); } function _getCode() { _getCode = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee12(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee12$(_context12) { while (1) switch (_context12.prev = _context12.next) { case 0: return _context12.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/accounts/get_verification_code.json", { method: 'get', params: params })); case 1: case "end": return _context12.stop(); } }, _callee12); })); return _getCode.apply(this, arguments); } function bindPhone(_x13) { return _bindPhone.apply(this, arguments); } function _bindPhone() { _bindPhone = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee13(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee13$(_context13) { while (1) switch (_context13.prev = _context13.next) { case 0: return _context13.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/users/accounts/".concat(params.login, "/phone_bind.json"), { method: 'post', body: params })); case 1: case "end": return _context13.stop(); } }, _callee13); })); return _bindPhone.apply(this, arguments); } function bindEmail(_x14) { return _bindEmail.apply(this, arguments); } function _bindEmail() { _bindEmail = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee14(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee14$(_context14) { while (1) switch (_context14.prev = _context14.next) { case 0: return _context14.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/users/accounts/".concat(params.login, "/email_bind.json"), { method: 'post', body: params })); case 1: case "end": return _context14.stop(); } }, _callee14); })); return _bindEmail.apply(this, arguments); } function updatePassword(_x15) { return _updatePassword.apply(this, arguments); } function _updatePassword() { _updatePassword = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee15(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee15$(_context15) { while (1) switch (_context15.prev = _context15.next) { case 0: return _context15.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/users/accounts/".concat(params.login, "/password.json"), { method: 'put', body: params })); case 1: case "end": return _context15.stop(); } }, _callee15); })); return _updatePassword.apply(this, arguments); } function unbindAccount(_x16) { return _unbindAccount.apply(this, arguments); } function _unbindAccount() { _unbindAccount = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee16(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee16$(_context16) { while (1) switch (_context16.prev = _context16.next) { case 0: return _context16.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/users/accounts/".concat(params.basicInfoId, "/open_users/").concat(params.id, ".json"), { method: 'delete' })); case 1: case "end": return _context16.stop(); } }, _callee16); })); return _unbindAccount.apply(this, arguments); } function cancelAuthentication(_x17) { return _cancelAuthentication.apply(this, arguments); } function _cancelAuthentication() { _cancelAuthentication = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee17(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee17$(_context17) { while (1) switch (_context17.prev = _context17.next) { case 0: return _context17.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/users/".concat(params.login, "/cancel_authentication.json"), { method: 'post', body: params })); case 1: case "end": return _context17.stop(); } }, _callee17); })); return _cancelAuthentication.apply(this, arguments); } function cancelProfessionalCertification(_x18) { return _cancelProfessionalCertification.apply(this, arguments); } function _cancelProfessionalCertification() { _cancelProfessionalCertification = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee18(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee18$(_context18) { while (1) switch (_context18.prev = _context18.next) { case 0: return _context18.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/users/".concat(params.login, "/cancel_professional_certification.json"), { method: 'post', body: params })); case 1: case "end": return _context18.stop(); } }, _callee18); })); return _cancelProfessionalCertification.apply(this, arguments); } function createSubjectVideo(_x19, _x20) { return _createSubjectVideo.apply(this, arguments); } function _createSubjectVideo() { _createSubjectVideo = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee19(urlParams, params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee19$(_context19) { while (1) switch (_context19.prev = _context19.next) { case 0: return _context19.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/users/".concat(urlParams.login, "/videos/").concat(urlParams.id, "/create_subject_video.json"), { method: 'post', body: params })); case 1: case "end": return _context19.stop(); } }, _callee19); })); return _createSubjectVideo.apply(this, arguments); } /***/ }), /***/ 54878: /*!*************************************!*\ !*** ./src/service/announcement.ts ***! \*************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ An: function() { return /* binding */ newInforms; }, /* harmony export */ TO: function() { return /* binding */ informUp; }, /* harmony export */ my: function() { return /* binding */ updateInforms; }, /* harmony export */ nZ: function() { return /* binding */ informDown; } /* harmony export */ }); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/regeneratorRuntime.js */ 7557); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/objectSpread2.js */ 82242); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1__); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/asyncToGenerator.js */ 41498); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2__); /* harmony import */ var _utils_fetch__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/utils/fetch */ 55794); // 公告上移 function informUp(_x) { return _informUp.apply(this, arguments); } // 公告下移 function _informUp() { _informUp = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee$(_context) { while (1) switch (_context.prev = _context.next) { case 0: return _context.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.coursesId, "/inform_up.json"), { method: 'post', body: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context.stop(); } }, _callee); })); return _informUp.apply(this, arguments); } function informDown(_x2) { return _informDown.apply(this, arguments); } // 更新公告 function _informDown() { _informDown = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee2(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee2$(_context2) { while (1) switch (_context2.prev = _context2.next) { case 0: return _context2.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.coursesId, "/inform_down.json"), { method: 'post', body: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context2.stop(); } }, _callee2); })); return _informDown.apply(this, arguments); } function updateInforms(_x3) { return _updateInforms.apply(this, arguments); } // 新建公告 function _updateInforms() { _updateInforms = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee3(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee3$(_context3) { while (1) switch (_context3.prev = _context3.next) { case 0: return _context3.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.coursesId, "/update_informs.json"), { method: 'post', body: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context3.stop(); } }, _callee3); })); return _updateInforms.apply(this, arguments); } function newInforms(_x4) { return _newInforms.apply(this, arguments); } function _newInforms() { _newInforms = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee4(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee4$(_context4) { while (1) switch (_context4.prev = _context4.next) { case 0: return _context4.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.coursesId, "/new_informs.json"), { method: 'post', body: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context4.stop(); } }, _callee4); })); return _newInforms.apply(this, arguments); } /***/ }), /***/ 67935: /*!***********************************!*\ !*** ./src/service/attachment.ts ***! \***********************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ H: function() { return /* binding */ updateVisits; }, /* harmony export */ Nm: function() { return /* binding */ getDetail; }, /* harmony export */ Ot: function() { return /* binding */ updateFiles; }, /* harmony export */ SV: function() { return /* binding */ allAttachment; }, /* harmony export */ tO: function() { return /* binding */ fileImport; }, /* harmony export */ zI: function() { return /* binding */ mineAttachment; } /* harmony export */ }); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/regeneratorRuntime.js */ 7557); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/objectSpread2.js */ 82242); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1__); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/asyncToGenerator.js */ 41498); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2__); /* harmony import */ var _utils_fetch__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/utils/fetch */ 55794); // 公告上移 function allAttachment(_x) { return _allAttachment.apply(this, arguments); } // 公告下移 function _allAttachment() { _allAttachment = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee$(_context) { while (1) switch (_context.prev = _context.next) { case 0: return _context.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/files/public_with_course_and_project", { method: 'get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context.stop(); } }, _callee); })); return _allAttachment.apply(this, arguments); } function mineAttachment(_x2) { return _mineAttachment.apply(this, arguments); } // 导入资源 function _mineAttachment() { _mineAttachment = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee2(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee2$(_context2) { while (1) switch (_context2.prev = _context2.next) { case 0: return _context2.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/files/mine_with_course_and_project.json", { method: 'get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context2.stop(); } }, _callee2); })); return _mineAttachment.apply(this, arguments); } function fileImport(_x3) { return _fileImport.apply(this, arguments); } function _fileImport() { _fileImport = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee3(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee3$(_context3) { while (1) switch (_context3.prev = _context3.next) { case 0: return _context3.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/files/import.json", { method: 'post', body: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context3.stop(); } }, _callee3); })); return _fileImport.apply(this, arguments); } function getDetail(_x4) { return _getDetail.apply(this, arguments); } function _getDetail() { _getDetail = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee4(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee4$(_context4) { while (1) switch (_context4.prev = _context4.next) { case 0: return _context4.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/files/".concat(params.id, ".json"), { method: 'get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context4.stop(); } }, _callee4); })); return _getDetail.apply(this, arguments); } function updateFiles(_x5) { return _updateFiles.apply(this, arguments); } function _updateFiles() { _updateFiles = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee5(params) { var id; return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee5$(_context5) { while (1) switch (_context5.prev = _context5.next) { case 0: id = params.id; delete params.id; return _context5.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/files/".concat(id, ".json"), { method: 'put', body: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 3: case "end": return _context5.stop(); } }, _callee5); })); return _updateFiles.apply(this, arguments); } function updateVisits(_x6) { return _updateVisits.apply(this, arguments); } function _updateVisits() { _updateVisits = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee6(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee6$(_context6) { while (1) switch (_context6.prev = _context6.next) { case 0: return _context6.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/files/".concat(params.id, "/update_visits.json"), { method: 'post' })); case 1: case "end": return _context6.stop(); } }, _callee6); })); return _updateVisits.apply(this, arguments); } /***/ }), /***/ 35972: /*!*******************************!*\ !*** ./src/service/boards.ts ***! \*******************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ CJ: function() { return /* binding */ escTopping; }, /* harmony export */ Mf: function() { return /* binding */ deleteReply; }, /* harmony export */ NA: function() { return /* binding */ replyLike; }, /* harmony export */ PC: function() { return /* binding */ getReplyList; }, /* harmony export */ PP: function() { return /* binding */ createReply; }, /* harmony export */ YQ: function() { return /* binding */ replyUnLike; }, /* harmony export */ cc: function() { return /* binding */ setTopping; }, /* harmony export */ dI: function() { return /* binding */ getBoardsDetail; }, /* harmony export */ yq: function() { return /* binding */ getBoardsCategoryList; } /* harmony export */ }); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/regeneratorRuntime.js */ 7557); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/objectSpread2.js */ 82242); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1__); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/asyncToGenerator.js */ 41498); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2__); /* harmony import */ var _utils_fetch__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/utils/fetch */ 55794); function getBoardsCategoryList(_x) { return _getBoardsCategoryList.apply(this, arguments); } function _getBoardsCategoryList() { _getBoardsCategoryList = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee$(_context) { while (1) switch (_context.prev = _context.next) { case 0: return _context.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/board_list.json", { method: 'get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context.stop(); } }, _callee); })); return _getBoardsCategoryList.apply(this, arguments); } function getBoardsDetail(_x2) { return _getBoardsDetail.apply(this, arguments); } function _getBoardsDetail() { _getBoardsDetail = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee2(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee2$(_context2) { while (1) switch (_context2.prev = _context2.next) { case 0: return _context2.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/messages/".concat(params.boardId, ".json"), { method: 'get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context2.stop(); } }, _callee2); })); return _getBoardsDetail.apply(this, arguments); } function setTopping(_x3) { return _setTopping.apply(this, arguments); } function _setTopping() { _setTopping = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee3(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee3$(_context3) { while (1) switch (_context3.prev = _context3.next) { case 0: return _context3.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/messages/".concat(params.id, "/sticky_top.json"), { method: 'put', body: { course_id: params.coursesId } })); case 1: case "end": return _context3.stop(); } }, _callee3); })); return _setTopping.apply(this, arguments); } function escTopping(_x4) { return _escTopping.apply(this, arguments); } function _escTopping() { _escTopping = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee4(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee4$(_context4) { while (1) switch (_context4.prev = _context4.next) { case 0: return _context4.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/messages/".concat(params.id, "/sticky_top.json"), { method: 'put', body: { course_id: params.coursesId } })); case 1: case "end": return _context4.stop(); } }, _callee4); })); return _escTopping.apply(this, arguments); } function getReplyList(_x5) { return _getReplyList.apply(this, arguments); } function _getReplyList() { _getReplyList = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee5(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee5$(_context5) { while (1) switch (_context5.prev = _context5.next) { case 0: return _context5.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/messages/".concat(params.boardId, "/reply_list.json"), { method: 'get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context5.stop(); } }, _callee5); })); return _getReplyList.apply(this, arguments); } function createReply(_x6) { return _createReply.apply(this, arguments); } function _createReply() { _createReply = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee6(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee6$(_context6) { while (1) switch (_context6.prev = _context6.next) { case 0: return _context6.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/messages/".concat(params.boardId, "/reply.json"), { method: 'post', body: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context6.stop(); } }, _callee6); })); return _createReply.apply(this, arguments); } function replyLike(_x7) { return _replyLike.apply(this, arguments); } function _replyLike() { _replyLike = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee7(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee7$(_context7) { while (1) switch (_context7.prev = _context7.next) { case 0: return _context7.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/praise_tread/like.json", { method: 'post', body: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context7.stop(); } }, _callee7); })); return _replyLike.apply(this, arguments); } function replyUnLike(_x8) { return _replyUnLike.apply(this, arguments); } function _replyUnLike() { _replyUnLike = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee8(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee8$(_context8) { while (1) switch (_context8.prev = _context8.next) { case 0: return _context8.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/praise_tread/unlike.json", { method: 'delete', body: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context8.stop(); } }, _callee8); })); return _replyUnLike.apply(this, arguments); } function deleteReply(_x9) { return _deleteReply.apply(this, arguments); } function _deleteReply() { _deleteReply = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee9(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee9$(_context9) { while (1) switch (_context9.prev = _context9.next) { case 0: return _context9.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/commons/delete.json", { method: 'delete', body: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context9.stop(); } }, _callee9); })); return _deleteReply.apply(this, arguments); } /***/ }), /***/ 16709: /*!***********************************!*\ !*** ./src/service/classrooms.ts ***! \***********************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ $T: function() { return /* binding */ renameCourseGroup; }, /* harmony export */ A: function() { return /* binding */ deleteCourse; }, /* harmony export */ Ab: function() { return /* binding */ moveboard; }, /* harmony export */ Al: function() { return /* binding */ getClassroomCommonHomeworksList; }, /* harmony export */ BQ: function() { return /* binding */ createExperiment; }, /* harmony export */ BR: function() { return /* binding */ getClassroomPollsList; }, /* harmony export */ Bn: function() { return /* binding */ submitCourses; }, /* harmony export */ DJ: function() { return /* binding */ getLiveVideoList; }, /* harmony export */ Dd: function() { return /* binding */ getCourseUseInfos; }, /* harmony export */ Ds: function() { return /* binding */ createCoursesHomework; }, /* harmony export */ EO: function() { return /* binding */ getCourseEditData; }, /* harmony export */ Ed: function() { return /* binding */ getCoursesMine; }, /* harmony export */ F9: function() { return /* binding */ getAllClass; }, /* harmony export */ FU: function() { return /* binding */ searchCoursesList; }, /* harmony export */ Fg: function() { return /* binding */ getRankList; }, /* harmony export */ GV: function() { return /* binding */ getCourseWorkscore; }, /* harmony export */ Gk: function() { return /* binding */ getClassroomTeacherShixunsList; }, /* harmony export */ Gm: function() { return /* binding */ getShixunListsItem; }, /* harmony export */ Gz: function() { return /* binding */ getStatisticsBody; }, /* harmony export */ Hl: function() { return /* binding */ getStatisticsHeader; }, /* harmony export */ Hn: function() { return /* binding */ getShixunAiRecommendLists; }, /* harmony export */ ID: function() { return /* binding */ updatePollVotes; }, /* harmony export */ J2: function() { return /* binding */ getCourseStudentsList; }, /* harmony export */ K$: function() { return /* binding */ getSchoolList; }, /* harmony export */ KP: function() { return /* binding */ getBoardList; }, /* harmony export */ KT: function() { return /* binding */ getAttachmentList; }, /* harmony export */ L$: function() { return /* binding */ setInviteCodeHalt; }, /* harmony export */ Lk: function() { return /* binding */ getCommitIdContent; }, /* harmony export */ Ls: function() { return /* binding */ getClassroomAttendancesStatistic; }, /* harmony export */ MA: function() { return /* binding */ deleteStudent; }, /* harmony export */ MJ: function() { return /* binding */ exportPollsScores; }, /* harmony export */ Mc: function() { return /* binding */ stopHomework; }, /* harmony export */ N7: function() { return /* binding */ getClassroomExercisesList; }, /* harmony export */ Nd: function() { return /* binding */ getClassroomShixunsList; }, /* harmony export */ Nl: function() { return /* binding */ exportCourseAndOther; }, /* harmony export */ Ns: function() { return /* binding */ submitPollAnswer; }, /* harmony export */ O3: function() { return /* binding */ getVideoList; }, /* harmony export */ Pj: function() { return /* binding */ getShixunLists; }, /* harmony export */ QX: function() { return /* binding */ exportCourseTotalScore; }, /* harmony export */ QZ: function() { return /* binding */ getAnnouncementList; }, /* harmony export */ R2: function() { return /* binding */ getClassroomGraduationTaskList; }, /* harmony export */ Rk: function() { return /* binding */ getCourseGroupStudents; }, /* harmony export */ S9: function() { return /* binding */ duplicateCourse; }, /* harmony export */ U8: function() { return /* binding */ updateTaskPosition; }, /* harmony export */ UD: function() { return /* binding */ updateAttendanceStatus; }, /* harmony export */ U_: function() { return /* binding */ getClassroomTopBanner; }, /* harmony export */ Uy: function() { return /* binding */ exportExerciseStudentScores; }, /* harmony export */ V8: function() { return /* binding */ getClassroomList; }, /* harmony export */ Vw: function() { return /* binding */ getClassroomAttendancesList; }, /* harmony export */ W0: function() { return /* binding */ exportCourseMemberScores; }, /* harmony export */ W7: function() { return /* binding */ getCoursesLists; }, /* harmony export */ WK: function() { return /* binding */ joincoursegroup; }, /* harmony export */ Wr: function() { return /* binding */ moveCategory; }, /* harmony export */ YR: function() { return /* binding */ exportCourseInfo; }, /* harmony export */ Z0: function() { return /* binding */ deleteSecondCategory; }, /* harmony export */ ZT: function() { return /* binding */ getCourseware; }, /* harmony export */ ZX: function() { return /* binding */ courseMemberAttendances; }, /* harmony export */ _9: function() { return /* binding */ getExperimentLists; }, /* harmony export */ _B: function() { return /* binding */ cancelMarkWrongQuestion; }, /* harmony export */ aP: function() { return /* binding */ exportCourseWorkListScores; }, /* harmony export */ aQ: function() { return /* binding */ createShixunHomework; }, /* harmony export */ aZ: function() { return /* binding */ addStudentBySearch; }, /* harmony export */ bm: function() { return /* binding */ getCourseMemberAttendanceData; }, /* harmony export */ bz: function() { return /* binding */ appplySchool; }, /* harmony export */ c_: function() { return /* binding */ getAllCourseGroup; }, /* harmony export */ ds: function() { return /* binding */ getAttendancesData; }, /* harmony export */ fN: function() { return /* binding */ exitCourse; }, /* harmony export */ fr: function() { return /* binding */ updateCourseData; }, /* harmony export */ g4: function() { return /* binding */ getCourseStatistics; }, /* harmony export */ gq: function() { return /* binding */ setAssistantPermissions; }, /* harmony export */ i: function() { return /* binding */ deleteBoardCategory; }, /* harmony export */ i6: function() { return /* binding */ joinCourseGroup; }, /* harmony export */ i7: function() { return /* binding */ getPollStartAnswer; }, /* harmony export */ ih: function() { return /* binding */ getMoocEditData; }, /* harmony export */ kW: function() { return /* binding */ getCourseGroupsList; }, /* harmony export */ km: function() { return /* binding */ getAllTasks; }, /* harmony export */ nQ: function() { return /* binding */ searchSchoolTeacherList; }, /* harmony export */ nX: function() { return /* binding */ hiddenModule; }, /* harmony export */ oM: function() { return /* binding */ getSearchCourseList; }, /* harmony export */ oR: function() { return /* binding */ getAllowEndGroups; }, /* harmony export */ pf: function() { return /* binding */ getNewStartClassData; }, /* harmony export */ pr: function() { return /* binding */ markWrongQuestion; }, /* harmony export */ pv: function() { return /* binding */ deleteCourseGroup; }, /* harmony export */ qB: function() { return /* binding */ getCourseGroups; }, /* harmony export */ rS: function() { return /* binding */ getAssistantPermissions; }, /* harmony export */ s: function() { return /* binding */ createMoocData; }, /* harmony export */ sb: function() { return /* binding */ setPublicOrPrivate; }, /* harmony export */ t1: function() { return /* binding */ getCourseActscore; }, /* harmony export */ tB: function() { return /* binding */ updateMoocData; }, /* harmony export */ tR: function() { return /* binding */ exportStudent; }, /* harmony export */ td: function() { return /* binding */ exportMoocrecords; }, /* harmony export */ uh: function() { return /* binding */ addTeacher; }, /* harmony export */ up: function() { return /* binding */ calculateAllShixunScores; }, /* harmony export */ w9: function() { return /* binding */ getClassroomLeftMenus; }, /* harmony export */ wR: function() { return /* binding */ transferToCourseGroup; }, /* harmony export */ yS: function() { return /* binding */ exportCourseActScore; }, /* harmony export */ yV: function() { return /* binding */ getClassroomGraduationTopicsList; }, /* harmony export */ yd: function() { return /* binding */ stickyModule; }, /* harmony export */ zg: function() { return /* binding */ getAttendanceDetail; } /* harmony export */ }); /* unused harmony exports getCourseMenus, exportCourseWorkListAppendix */ /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/objectSpread2.js */ 82242); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0__); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/regeneratorRuntime.js */ 7557); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1__); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/asyncToGenerator.js */ 41498); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2__); /* harmony import */ var _utils_fetch__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/utils/fetch */ 55794); /** * @description 教学课堂-概览统计-课堂情况 */ var getCourseUseInfos = /*#__PURE__*/function () { var _ref = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee$(_context) { while (1) switch (_context.prev = _context.next) { case 0: return _context.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)('/api/course_statistics/course_use_infos.json', { method: 'Get', params: params })); case 1: case "end": return _context.stop(); } }, _callee); })); return function getCourseUseInfos(_x) { return _ref.apply(this, arguments); }; }(); /** * @description 教学课堂-概览统计-排行榜 */ var getRankList = /*#__PURE__*/function () { var _ref2 = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee2(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee2$(_context2) { while (1) switch (_context2.prev = _context2.next) { case 0: return _context2.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)('/api/course_statistics/rank_list.json', { method: 'Get', params: params })); case 1: case "end": return _context2.stop(); } }, _callee2); })); return function getRankList(_x2) { return _ref2.apply(this, arguments); }; }(); /** * @description 教学课堂-概览统计-作业发布统计、发布的作业概况 */ var getStatisticsBody = /*#__PURE__*/function () { var _ref3 = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee3(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee3$(_context3) { while (1) switch (_context3.prev = _context3.next) { case 0: return _context3.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)('/api/course_statistics/statistics_body.json', { method: 'Get', params: params })); case 1: case "end": return _context3.stop(); } }, _callee3); })); return function getStatisticsBody(_x3) { return _ref3.apply(this, arguments); }; }(); /** * @description 教学课堂-概览统计-课堂头部除在线人数之外 */ var getStatisticsHeader = /*#__PURE__*/function () { var _ref4 = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee4(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee4$(_context4) { while (1) switch (_context4.prev = _context4.next) { case 0: return _context4.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)('/api/course_statistics/statistics_header.json', { method: 'Get', params: params })); case 1: case "end": return _context4.stop(); } }, _callee4); })); return function getStatisticsHeader(_x4) { return _ref4.apply(this, arguments); }; }(); // /** // * @description 教学课堂-概览统计-顶部消息 // */ // export const getTidingList = async (params: K): Promise => // Fetch('/api/course_statistics/tiding_list.json', { method: 'Get', params, }) function setAssistantPermissions(_x5) { return _setAssistantPermissions.apply(this, arguments); } function _setAssistantPermissions() { _setAssistantPermissions = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee5(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee5$(_context5) { while (1) switch (_context5.prev = _context5.next) { case 0: return _context5.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.course_id, "/set_assistant_permissions.json"), { method: 'post', body: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params.permissions) })); case 1: case "end": return _context5.stop(); } }, _callee5); })); return _setAssistantPermissions.apply(this, arguments); } function getAssistantPermissions(_x6) { return _getAssistantPermissions.apply(this, arguments); } //实训首页列表 function _getAssistantPermissions() { _getAssistantPermissions = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee6(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee6$(_context6) { while (1) switch (_context6.prev = _context6.next) { case 0: return _context6.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.course_id, "/assistant_permissions.json"), { method: 'Get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params) })); case 1: case "end": return _context6.stop(); } }, _callee6); })); return _getAssistantPermissions.apply(this, arguments); } function getClassroomList(_x7) { return _getClassroomList.apply(this, arguments); } // 实训智能推荐列表 function _getClassroomList() { _getClassroomList = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee7(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee7$(_context7) { while (1) switch (_context7.prev = _context7.next) { case 0: return _context7.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)('/api/courses.json', { method: 'Get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params) })); case 1: case "end": return _context7.stop(); } }, _callee7); })); return _getClassroomList.apply(this, arguments); } function getShixunAiRecommendLists(_x8) { return _getShixunAiRecommendLists.apply(this, arguments); } // 获取课堂首页菜单 function _getShixunAiRecommendLists() { _getShixunAiRecommendLists = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee8(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee8$(_context8) { while (1) switch (_context8.prev = _context8.next) { case 0: return _context8.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)('/api/intelligent_recommendations/according_course_recommend_shixuns.json', { method: 'Get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params) })); case 1: case "end": return _context8.stop(); } }, _callee8); })); return _getShixunAiRecommendLists.apply(this, arguments); } function getCourseMenus(_x9) { return _getCourseMenus.apply(this, arguments); } // 获取教学课堂头部信息 function _getCourseMenus() { _getCourseMenus = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee9(params) { return _regeneratorRuntime().wrap(function _callee9$(_context9) { while (1) switch (_context9.prev = _context9.next) { case 0: return _context9.abrupt("return", Fetch('/api/disciplines.json', { method: 'Get', params: _objectSpread({}, params) })); case 1: case "end": return _context9.stop(); } }, _callee9); })); return _getCourseMenus.apply(this, arguments); } function getClassroomTopBanner(_x10) { return _getClassroomTopBanner.apply(this, arguments); } // 获取教学课堂左侧menus function _getClassroomTopBanner() { _getClassroomTopBanner = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee10(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee10$(_context10) { while (1) switch (_context10.prev = _context10.next) { case 0: return _context10.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.id, "/top_banner.json"), { method: 'get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params) })); case 1: case "end": return _context10.stop(); } }, _callee10); })); return _getClassroomTopBanner.apply(this, arguments); } function getClassroomLeftMenus(_x11) { return _getClassroomLeftMenus.apply(this, arguments); } // 教学课堂详情-实训列表 function _getClassroomLeftMenus() { _getClassroomLeftMenus = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee11(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee11$(_context11) { while (1) switch (_context11.prev = _context11.next) { case 0: return _context11.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.id || params.coursesId, "/left_banner.json"), { method: 'get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params) })); case 1: case "end": return _context11.stop(); } }, _callee11); })); return _getClassroomLeftMenus.apply(this, arguments); } function getClassroomShixunsList(_x12) { return _getClassroomShixunsList.apply(this, arguments); } // 教学课堂详情-老师实训列表 function _getClassroomShixunsList() { _getClassroomShixunsList = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee12(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee12$(_context12) { while (1) switch (_context12.prev = _context12.next) { case 0: return _context12.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.id, "/homework_commons.json"), { method: 'get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params) })); case 1: case "end": return _context12.stop(); } }, _callee12); })); return _getClassroomShixunsList.apply(this, arguments); } function getClassroomTeacherShixunsList(_x13) { return _getClassroomTeacherShixunsList.apply(this, arguments); } // 教学课堂详情-毕业设计-毕设选题 function _getClassroomTeacherShixunsList() { _getClassroomTeacherShixunsList = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee13(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee13$(_context13) { while (1) switch (_context13.prev = _context13.next) { case 0: return _context13.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.id, "/homework_commons/list.json"), { method: 'get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params) })); case 1: case "end": return _context13.stop(); } }, _callee13); })); return _getClassroomTeacherShixunsList.apply(this, arguments); } function getClassroomGraduationTopicsList(_x14) { return _getClassroomGraduationTopicsList.apply(this, arguments); } // 教学课堂详情-毕业设计-毕设任务 function _getClassroomGraduationTopicsList() { _getClassroomGraduationTopicsList = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee14(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee14$(_context14) { while (1) switch (_context14.prev = _context14.next) { case 0: return _context14.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.id, "/graduation_topics.json"), { method: 'get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params) })); case 1: case "end": return _context14.stop(); } }, _callee14); })); return _getClassroomGraduationTopicsList.apply(this, arguments); } function getClassroomGraduationTaskList(_x15) { return _getClassroomGraduationTaskList.apply(this, arguments); } // 教学课堂详情-试卷 function _getClassroomGraduationTaskList() { _getClassroomGraduationTaskList = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee15(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee15$(_context15) { while (1) switch (_context15.prev = _context15.next) { case 0: return _context15.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.id, "/graduation_tasks.json"), { method: 'get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params) })); case 1: case "end": return _context15.stop(); } }, _callee15); })); return _getClassroomGraduationTaskList.apply(this, arguments); } function getClassroomExercisesList(_x16) { return _getClassroomExercisesList.apply(this, arguments); } // 教学课堂详情-问卷 function _getClassroomExercisesList() { _getClassroomExercisesList = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee16(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee16$(_context16) { while (1) switch (_context16.prev = _context16.next) { case 0: return _context16.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.id, "/exercises.json"), { method: 'get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params) })); case 1: case "end": return _context16.stop(); } }, _callee16); })); return _getClassroomExercisesList.apply(this, arguments); } function getClassroomPollsList(_x17) { return _getClassroomPollsList.apply(this, arguments); } //教学课堂详情 普通作业 function _getClassroomPollsList() { _getClassroomPollsList = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee17(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee17$(_context17) { while (1) switch (_context17.prev = _context17.next) { case 0: return _context17.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.id, "/polls.json"), { method: 'get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params) })); case 1: case "end": return _context17.stop(); } }, _callee17); })); return _getClassroomPollsList.apply(this, arguments); } function getClassroomCommonHomeworksList(_x18) { return _getClassroomCommonHomeworksList.apply(this, arguments); } // 教学课堂 获取所有班级 function _getClassroomCommonHomeworksList() { _getClassroomCommonHomeworksList = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee18(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee18$(_context18) { while (1) switch (_context18.prev = _context18.next) { case 0: return _context18.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.id, "/homework_commons.json"), { method: 'get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params) })); case 1: case "end": return _context18.stop(); } }, _callee18); })); return _getClassroomCommonHomeworksList.apply(this, arguments); } function getCourseGroups(_x19) { return _getCourseGroups.apply(this, arguments); } //获取全部实训 function _getCourseGroups() { _getCourseGroups = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee19(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee19$(_context19) { while (1) switch (_context19.prev = _context19.next) { case 0: return _context19.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.id, "/course_groups.json"), { method: 'get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params) })); case 1: case "end": return _context19.stop(); } }, _callee19); })); return _getCourseGroups.apply(this, arguments); } function getShixunListsItem(_x20) { return _getShixunListsItem.apply(this, arguments); } // 教学课堂 签到 function _getShixunListsItem() { _getShixunListsItem = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee20(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee20$(_context20) { while (1) switch (_context20.prev = _context20.next) { case 0: return _context20.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/item_banks.json", { method: 'get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params) })); case 1: case "end": return _context20.stop(); } }, _callee20); })); return _getShixunListsItem.apply(this, arguments); } function getClassroomAttendancesList(_x21) { return _getClassroomAttendancesList.apply(this, arguments); } // 教学课堂 签到统计 function _getClassroomAttendancesList() { _getClassroomAttendancesList = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee21(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee21$(_context21) { while (1) switch (_context21.prev = _context21.next) { case 0: return _context21.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.id, "/attendances.json"), { method: 'get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params) })); case 1: case "end": return _context21.stop(); } }, _callee21); })); return _getClassroomAttendancesList.apply(this, arguments); } function getClassroomAttendancesStatistic(_x22) { return _getClassroomAttendancesStatistic.apply(this, arguments); } // 教学课堂 签到详情 function _getClassroomAttendancesStatistic() { _getClassroomAttendancesStatistic = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee22(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee22$(_context22) { while (1) switch (_context22.prev = _context22.next) { case 0: return _context22.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/weapps/courses/".concat(params.coursesId, "/attendances.json"), { method: 'get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params) })); case 1: case "end": return _context22.stop(); } }, _callee22); })); return _getClassroomAttendancesStatistic.apply(this, arguments); } function getAttendanceDetail(_x23) { return _getAttendanceDetail.apply(this, arguments); } // 教学课堂 - 公告 function _getAttendanceDetail() { _getAttendanceDetail = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee23(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee23$(_context23) { while (1) switch (_context23.prev = _context23.next) { case 0: return _context23.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/attendances/".concat(params.id, "/edit.json"), { method: 'get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params) })); case 1: case "end": return _context23.stop(); } }, _callee23); })); return _getAttendanceDetail.apply(this, arguments); } function getAnnouncementList(_x24) { return _getAnnouncementList.apply(this, arguments); } // 教学课堂 - 资源 getAttachmentList function _getAnnouncementList() { _getAnnouncementList = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee24(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee24$(_context24) { while (1) switch (_context24.prev = _context24.next) { case 0: return _context24.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.id, "/informs.json"), { method: 'get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params) })); case 1: case "end": return _context24.stop(); } }, _callee24); })); return _getAnnouncementList.apply(this, arguments); } function getAttachmentList(_x25) { return _getAttachmentList.apply(this, arguments); } // 教学课堂 - 视频 function _getAttachmentList() { _getAttachmentList = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee25(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee25$(_context25) { while (1) switch (_context25.prev = _context25.next) { case 0: return _context25.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/files.json", { method: 'get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params) })); case 1: case "end": return _context25.stop(); } }, _callee25); })); return _getAttachmentList.apply(this, arguments); } function getVideoList(_x26) { return _getVideoList.apply(this, arguments); } // 教学课堂 - 直播 function _getVideoList() { _getVideoList = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee26(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee26$(_context26) { while (1) switch (_context26.prev = _context26.next) { case 0: return _context26.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.id, "/course_videos.json"), { method: 'get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params) })); case 1: case "end": return _context26.stop(); } }, _callee26); })); return _getVideoList.apply(this, arguments); } function getLiveVideoList(_x27) { return _getLiveVideoList.apply(this, arguments); } // 教学课堂 我的课堂 function _getLiveVideoList() { _getLiveVideoList = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee27(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee27$(_context27) { while (1) switch (_context27.prev = _context27.next) { case 0: return _context27.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.id, "/live_links.json"), { method: 'get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params) })); case 1: case "end": return _context27.stop(); } }, _callee27); })); return _getLiveVideoList.apply(this, arguments); } function getCoursesMine(_x28) { return _getCoursesMine.apply(this, arguments); } // 教学课堂 讨论 function _getCoursesMine() { _getCoursesMine = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee28(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee28$(_context28) { while (1) switch (_context28.prev = _context28.next) { case 0: return _context28.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/mine.json", { method: 'get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params) })); case 1: case "end": return _context28.stop(); } }, _callee28); })); return _getCoursesMine.apply(this, arguments); } function getBoardList(_x29) { return _getBoardList.apply(this, arguments); } // 教学课堂 分班 function _getBoardList() { _getBoardList = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee29(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee29$(_context29) { while (1) switch (_context29.prev = _context29.next) { case 0: return _context29.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/boards/".concat(params.categoryId, "/messages.json"), { method: 'get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params) })); case 1: case "end": return _context29.stop(); } }, _callee29); })); return _getBoardList.apply(this, arguments); } function getCourseGroupsList(_x30) { return _getCourseGroupsList.apply(this, arguments); } // 教学课堂 - 学员 getCourseStudentsList function _getCourseGroupsList() { _getCourseGroupsList = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee30(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee30$(_context30) { while (1) switch (_context30.prev = _context30.next) { case 0: return _context30.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.id, "/course_groups.json"), { method: 'get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params) })); case 1: case "end": return _context30.stop(); } }, _callee30); })); return _getCourseGroupsList.apply(this, arguments); } function getCourseStudentsList(_x31) { return _getCourseStudentsList.apply(this, arguments); } // 教学课堂 - 统计 function _getCourseStudentsList() { _getCourseStudentsList = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee31(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee31$(_context31) { while (1) switch (_context31.prev = _context31.next) { case 0: return _context31.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.id, "/students.json"), { method: 'get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params) })); case 1: case "end": return _context31.stop(); } }, _callee31); })); return _getCourseStudentsList.apply(this, arguments); } function getCourseStatistics(_x32) { return _getCourseStatistics.apply(this, arguments); } // 教学课堂 - 学员成绩 function _getCourseStatistics() { _getCourseStatistics = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee32(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee32$(_context32) { while (1) switch (_context32.prev = _context32.next) { case 0: return _context32.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.coursesId, "/statistics.json"), { method: 'get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params) })); case 1: case "end": return _context32.stop(); } }, _callee32); })); return _getCourseStatistics.apply(this, arguments); } function getCourseWorkscore(_x33) { return _getCourseWorkscore.apply(this, arguments); } // 教学课堂 - 课堂活跃度 function _getCourseWorkscore() { _getCourseWorkscore = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee33(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee33$(_context33) { while (1) switch (_context33.prev = _context33.next) { case 0: return _context33.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.coursesId, "/work_score.json"), { method: 'get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params) })); case 1: case "end": return _context33.stop(); } }, _callee33); })); return _getCourseWorkscore.apply(this, arguments); } function getCourseActscore(_x34) { return _getCourseActscore.apply(this, arguments); } // 教学课堂 全部实训 function _getCourseActscore() { _getCourseActscore = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee34(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee34$(_context34) { while (1) switch (_context34.prev = _context34.next) { case 0: return _context34.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.coursesId, "/act_score.json"), { method: 'get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params) })); case 1: case "end": return _context34.stop(); } }, _callee34); })); return _getCourseActscore.apply(this, arguments); } function getShixunLists(_x35) { return _getShixunLists.apply(this, arguments); } // 从课堂实验中添加 function _getShixunLists() { _getShixunLists = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee35(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee35$(_context35) { while (1) switch (_context35.prev = _context35.next) { case 0: return _context35.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/shixun_lists.json", { method: 'get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params) })); case 1: case "end": return _context35.stop(); } }, _callee35); })); return _getShixunLists.apply(this, arguments); } function getExperimentLists(_x36) { return _getExperimentLists.apply(this, arguments); } // 教学课堂 创建实训作业 function _getExperimentLists() { _getExperimentLists = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee36(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee36$(_context36) { while (1) switch (_context36.prev = _context36.next) { case 0: return _context36.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params === null || params === void 0 ? void 0 : params.course_id, "/homework_commons/impersonal_list.json"), { method: 'get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params) })); case 1: case "end": return _context36.stop(); } }, _callee36); })); return _getExperimentLists.apply(this, arguments); } function createShixunHomework(_x37) { return _createShixunHomework.apply(this, arguments); } // 教学课堂 创建课堂实验作业 function _createShixunHomework() { _createShixunHomework = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee37(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee37$(_context37) { while (1) switch (_context37.prev = _context37.next) { case 0: return _context37.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.coursesId, "/homework_commons/create_shixun_homework.json"), { method: 'post', body: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params) })); case 1: case "end": return _context37.stop(); } }, _callee37); })); return _createShixunHomework.apply(this, arguments); } function createExperiment(_x38) { return _createExperiment.apply(this, arguments); } // 教学课堂 全部课程 function _createExperiment() { _createExperiment = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee38(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee38$(_context38) { while (1) switch (_context38.prev = _context38.next) { case 0: return _context38.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params === null || params === void 0 ? void 0 : params.course_id, "/homework_commons/create_collaborators.json"), { method: 'post', body: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params) })); case 1: case "end": return _context38.stop(); } }, _callee38); })); return _createExperiment.apply(this, arguments); } function getCoursesLists(_x39) { return _getCoursesLists.apply(this, arguments); } // 教学课堂 创建课堂 function _getCoursesLists() { _getCoursesLists = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee39(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee39$(_context39) { while (1) switch (_context39.prev = _context39.next) { case 0: return _context39.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/subject_lists.json", { method: 'get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params) })); case 1: case "end": return _context39.stop(); } }, _callee39); })); return _getCoursesLists.apply(this, arguments); } function createCoursesHomework(_x40) { return _createCoursesHomework.apply(this, arguments); } function _createCoursesHomework() { _createCoursesHomework = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee40(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee40$(_context40) { while (1) switch (_context40.prev = _context40.next) { case 0: return _context40.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.coursesId, "/homework_commons/create_subject_homework.json"), { method: 'post', body: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params) })); case 1: case "end": return _context40.stop(); } }, _callee40); })); return _createCoursesHomework.apply(this, arguments); } function getSchoolList(_x41) { return _getSchoolList.apply(this, arguments); } function _getSchoolList() { _getSchoolList = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee41(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee41$(_context41) { while (1) switch (_context41.prev = _context41.next) { case 0: return _context41.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/schools/school_list.json", { method: 'get', params: params })); case 1: case "end": return _context41.stop(); } }, _callee41); })); return _getSchoolList.apply(this, arguments); } function getSearchCourseList(_x42) { return _getSearchCourseList.apply(this, arguments); } function _getSearchCourseList() { _getSearchCourseList = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee42(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee42$(_context42) { while (1) switch (_context42.prev = _context42.next) { case 0: return _context42.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/search_course_list.json", { method: 'post', body: params })); case 1: case "end": return _context42.stop(); } }, _callee42); })); return _getSearchCourseList.apply(this, arguments); } function submitCourses(_x43) { return _submitCourses.apply(this, arguments); } function _submitCourses() { _submitCourses = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee43(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee43$(_context43) { while (1) switch (_context43.prev = _context43.next) { case 0: return _context43.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses.json", { method: 'post', body: params })); case 1: case "end": return _context43.stop(); } }, _callee43); })); return _submitCourses.apply(this, arguments); } function appplySchool(_x44) { return _appplySchool.apply(this, arguments); } function _appplySchool() { _appplySchool = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee44(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee44$(_context44) { while (1) switch (_context44.prev = _context44.next) { case 0: return _context44.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/add_school_applies.json", { method: 'post', body: params })); case 1: case "end": return _context44.stop(); } }, _callee44); })); return _appplySchool.apply(this, arguments); } function searchSchoolTeacherList(_x45) { return _searchSchoolTeacherList.apply(this, arguments); } // 获取班级 function _searchSchoolTeacherList() { _searchSchoolTeacherList = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee45(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee45$(_context45) { while (1) switch (_context45.prev = _context45.next) { case 0: return _context45.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/users/member_search.json", { method: 'get', params: params })); case 1: case "end": return _context45.stop(); } }, _callee45); })); return _searchSchoolTeacherList.apply(this, arguments); } function getAllClass() { return _getAllClass.apply(this, arguments); } // 将学员批量导入到班级 function _getAllClass() { _getAllClass = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee46() { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee46$(_context46) { while (1) switch (_context46.prev = _context46.next) { case 0: return _context46.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/student_groups.json", { method: 'get', params: { page: 1, limit: 1000 } })); case 1: case "end": return _context46.stop(); } }, _callee46); })); return _getAllClass.apply(this, arguments); } function exportStudent(_x46) { return _exportStudent.apply(this, arguments); } function _exportStudent() { _exportStudent = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee47(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee47$(_context47) { while (1) switch (_context47.prev = _context47.next) { case 0: return _context47.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.identifier, "/add_student_groups.json"), { method: 'post', body: params })); case 1: case "end": return _context47.stop(); } }, _callee47); })); return _exportStudent.apply(this, arguments); } function searchCoursesList(_x47) { return _searchCoursesList.apply(this, arguments); } function _searchCoursesList() { _searchCoursesList = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee48(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee48$(_context48) { while (1) switch (_context48.prev = _context48.next) { case 0: return _context48.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/search_all.json", { method: 'get', params: params })); case 1: case "end": return _context48.stop(); } }, _callee48); })); return _searchCoursesList.apply(this, arguments); } function addTeacher(_x48) { return _addTeacher.apply(this, arguments); } function _addTeacher() { _addTeacher = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee49(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee49$(_context49) { while (1) switch (_context49.prev = _context49.next) { case 0: return _context49.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.coursesId, "/add_teacher.json"), { method: 'post', body: params })); case 1: case "end": return _context49.stop(); } }, _callee49); })); return _addTeacher.apply(this, arguments); } function addStudentBySearch(_x49) { return _addStudentBySearch.apply(this, arguments); } function _addStudentBySearch() { _addStudentBySearch = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee50(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee50$(_context50) { while (1) switch (_context50.prev = _context50.next) { case 0: return _context50.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.coursesId, "/add_students_by_search.json"), { method: 'post', body: params })); case 1: case "end": return _context50.stop(); } }, _callee50); })); return _addStudentBySearch.apply(this, arguments); } function setPublicOrPrivate(_x50) { return _setPublicOrPrivate.apply(this, arguments); } function _setPublicOrPrivate() { _setPublicOrPrivate = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee51(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee51$(_context51) { while (1) switch (_context51.prev = _context51.next) { case 0: return _context51.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.coursesId, "/set_public_or_private.json"), { method: 'post', body: params })); case 1: case "end": return _context51.stop(); } }, _callee51); })); return _setPublicOrPrivate.apply(this, arguments); } function setInviteCodeHalt(_x51) { return _setInviteCodeHalt.apply(this, arguments); } // 复制课堂 function _setInviteCodeHalt() { _setInviteCodeHalt = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee52(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee52$(_context52) { while (1) switch (_context52.prev = _context52.next) { case 0: return _context52.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.coursesId, "/set_invite_code_halt.json"), { method: 'post', body: params })); case 1: case "end": return _context52.stop(); } }, _callee52); })); return _setInviteCodeHalt.apply(this, arguments); } function duplicateCourse(_x52) { return _duplicateCourse.apply(this, arguments); } function _duplicateCourse() { _duplicateCourse = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee53(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee53$(_context53) { while (1) switch (_context53.prev = _context53.next) { case 0: return _context53.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.coursesId, "/duplicate_course.json"), { method: 'post', body: params })); case 1: case "end": return _context53.stop(); } }, _callee53); })); return _duplicateCourse.apply(this, arguments); } function deleteCourse(_x53) { return _deleteCourse.apply(this, arguments); } // 教学课堂 - 公告 function _deleteCourse() { _deleteCourse = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee54(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee54$(_context54) { while (1) switch (_context54.prev = _context54.next) { case 0: return _context54.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.coursesId, ".json"), { method: 'delete', body: params })); case 1: case "end": return _context54.stop(); } }, _callee54); })); return _deleteCourse.apply(this, arguments); } function getCourseEditData(_x54) { return _getCourseEditData.apply(this, arguments); } function _getCourseEditData() { _getCourseEditData = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee55(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee55$(_context55) { while (1) switch (_context55.prev = _context55.next) { case 0: return _context55.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.coursesId, "/settings.json"), { method: 'get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params) })); case 1: case "end": return _context55.stop(); } }, _callee55); })); return _getCourseEditData.apply(this, arguments); } function updateCourseData(_x55) { return _updateCourseData.apply(this, arguments); } function _updateCourseData() { _updateCourseData = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee56(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee56$(_context56) { while (1) switch (_context56.prev = _context56.next) { case 0: return _context56.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.coursesId, ".json"), { method: 'put', body: params })); case 1: case "end": return _context56.stop(); } }, _callee56); })); return _updateCourseData.apply(this, arguments); } function exportCourseInfo(_x56) { return _exportCourseInfo.apply(this, arguments); } function _exportCourseInfo() { _exportCourseInfo = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee57(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee57$(_context57) { while (1) switch (_context57.prev = _context57.next) { case 0: return _context57.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.coursesId, "/export_couser_info.json"), { method: 'get', params: { "export": true } })); case 1: case "end": return _context57.stop(); } }, _callee57); })); return _exportCourseInfo.apply(this, arguments); } function exportCourseActScore(_x57) { return _exportCourseActScore.apply(this, arguments); } function _exportCourseActScore() { _exportCourseActScore = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee58(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee58$(_context58) { while (1) switch (_context58.prev = _context58.next) { case 0: return _context58.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.coursesId, "/export_member_act_score_async.json"), { method: 'get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({ "export": true }, params) })); case 1: case "end": return _context58.stop(); } }, _callee58); })); return _exportCourseActScore.apply(this, arguments); } function exportCourseTotalScore(_x58) { return _exportCourseTotalScore.apply(this, arguments); } function _exportCourseTotalScore() { _exportCourseTotalScore = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee59(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee59$(_context59) { while (1) switch (_context59.prev = _context59.next) { case 0: return _context59.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.coursesId, "/export_total_homework_commons_score.json"), { method: 'get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({ "export": true }, params) })); case 1: case "end": return _context59.stop(); } }, _callee59); })); return _exportCourseTotalScore.apply(this, arguments); } function exportCourseAndOther(_x59) { return _exportCourseAndOther.apply(this, arguments); } function _exportCourseAndOther() { _exportCourseAndOther = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee60(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee60$(_context60) { while (1) switch (_context60.prev = _context60.next) { case 0: return _context60.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.coursesId, "/export_total_exercises_and_other_score.json"), { method: 'get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({ "export": true }, params) })); case 1: case "end": return _context60.stop(); } }, _callee60); })); return _exportCourseAndOther.apply(this, arguments); } function exportMoocrecords(_x60) { return _exportMoocrecords.apply(this, arguments); } function _exportMoocrecords() { _exportMoocrecords = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee61(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee61$(_context61) { while (1) switch (_context61.prev = _context61.next) { case 0: return _context61.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.coursesId, "/export_mooc_records.json"), { method: 'get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({ "export": true }, params) })); case 1: case "end": return _context61.stop(); } }, _callee61); })); return _exportMoocrecords.apply(this, arguments); } function exportCourseMemberScores(_x61) { return _exportCourseMemberScores.apply(this, arguments); } function _exportCourseMemberScores() { _exportCourseMemberScores = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee62(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee62$(_context62) { while (1) switch (_context62.prev = _context62.next) { case 0: return _context62.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.coursesId, "/export_total_course_score.json"), { method: 'get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({ "export": true }, params) })); case 1: case "end": return _context62.stop(); } }, _callee62); })); return _exportCourseMemberScores.apply(this, arguments); } function exportCourseWorkListScores(_x62) { return _exportCourseWorkListScores.apply(this, arguments); } function _exportCourseWorkListScores() { _exportCourseWorkListScores = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee63(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee63$(_context63) { while (1) switch (_context63.prev = _context63.next) { case 0: return _context63.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/homework_commons/".concat(params.categoryId, "/export_scores.json"), { method: 'get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({ "export": true }, params) })); case 1: case "end": return _context63.stop(); } }, _callee63); })); return _exportCourseWorkListScores.apply(this, arguments); } function exportCourseWorkListAppendix(_x63) { return _exportCourseWorkListAppendix.apply(this, arguments); } function _exportCourseWorkListAppendix() { _exportCourseWorkListAppendix = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee64(params) { return _regeneratorRuntime().wrap(function _callee64$(_context64) { while (1) switch (_context64.prev = _context64.next) { case 0: return _context64.abrupt("return", Fetch("/api/homework_commons/".concat(params.categoryId, "/works_list.zip"), { method: 'get', params: _objectSpread({ "export": true }, params) })); case 1: case "end": return _context64.stop(); } }, _callee64); })); return _exportCourseWorkListAppendix.apply(this, arguments); } function deleteSecondCategory(_x64) { return _deleteSecondCategory.apply(this, arguments); } function _deleteSecondCategory() { _deleteSecondCategory = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee65(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee65$(_context65) { while (1) switch (_context65.prev = _context65.next) { case 0: return _context65.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api//course_second_categories/".concat(params.id, ".json"), { method: 'delete', params: { "export": true } })); case 1: case "end": return _context65.stop(); } }, _callee65); })); return _deleteSecondCategory.apply(this, arguments); } function deleteBoardCategory(_x65) { return _deleteBoardCategory.apply(this, arguments); } function _deleteBoardCategory() { _deleteBoardCategory = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee66(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee66$(_context66) { while (1) switch (_context66.prev = _context66.next) { case 0: return _context66.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api//boards/".concat(params.id, ".json"), { method: 'delete', params: { "export": true } })); case 1: case "end": return _context66.stop(); } }, _callee66); })); return _deleteBoardCategory.apply(this, arguments); } function stickyModule(_x66) { return _stickyModule.apply(this, arguments); } function _stickyModule() { _stickyModule = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee67(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee67$(_context67) { while (1) switch (_context67.prev = _context67.next) { case 0: return _context67.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/course_modules/".concat(params.id, "/sticky_module.json"), { method: 'get' })); case 1: case "end": return _context67.stop(); } }, _callee67); })); return _stickyModule.apply(this, arguments); } function hiddenModule(_x67) { return _hiddenModule.apply(this, arguments); } function _hiddenModule() { _hiddenModule = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee68(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee68$(_context68) { while (1) switch (_context68.prev = _context68.next) { case 0: return _context68.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/course_modules/".concat(params.id, "/hidden_module.json"), { method: 'get' })); case 1: case "end": return _context68.stop(); } }, _callee68); })); return _hiddenModule.apply(this, arguments); } function getNewStartClassData(_x68) { return _getNewStartClassData.apply(this, arguments); } function _getNewStartClassData() { _getNewStartClassData = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee69(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee69$(_context69) { while (1) switch (_context69.prev = _context69.next) { case 0: return _context69.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/new.json", { method: 'get', params: params })); case 1: case "end": return _context69.stop(); } }, _callee69); })); return _getNewStartClassData.apply(this, arguments); } function getAttendancesData(_x69) { return _getAttendancesData.apply(this, arguments); } function _getAttendancesData() { _getAttendancesData = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee70(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee70$(_context70) { while (1) switch (_context70.prev = _context70.next) { case 0: return _context70.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/weapps/attendances/".concat(params.id, ".json"), { method: 'get', params: params })); case 1: case "end": return _context70.stop(); } }, _callee70); })); return _getAttendancesData.apply(this, arguments); } function getCourseMemberAttendanceData(_x70) { return _getCourseMemberAttendanceData.apply(this, arguments); } function _getCourseMemberAttendanceData() { _getCourseMemberAttendanceData = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee71(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee71$(_context71) { while (1) switch (_context71.prev = _context71.next) { case 0: return _context71.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/weapps/course_member_attendances.json", { method: 'get', params: params })); case 1: case "end": return _context71.stop(); } }, _callee71); })); return _getCourseMemberAttendanceData.apply(this, arguments); } function updateAttendanceStatus(_x71) { return _updateAttendanceStatus.apply(this, arguments); } function _updateAttendanceStatus() { _updateAttendanceStatus = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee72(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee72$(_context72) { while (1) switch (_context72.prev = _context72.next) { case 0: return _context72.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/weapps/course_member_attendances/update_status.json", { method: 'post', body: params })); case 1: case "end": return _context72.stop(); } }, _callee72); })); return _updateAttendanceStatus.apply(this, arguments); } function exportPollsScores(_x72) { return _exportPollsScores.apply(this, arguments); } function _exportPollsScores() { _exportPollsScores = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee73(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee73$(_context73) { while (1) switch (_context73.prev = _context73.next) { case 0: return _context73.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/polls/".concat(params.categoryId, "/commit_result.xlsx"), { method: 'get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({ "export": true }, params) })); case 1: case "end": return _context73.stop(); } }, _callee73); })); return _exportPollsScores.apply(this, arguments); } function exportExerciseStudentScores(_x73) { return _exportExerciseStudentScores.apply(this, arguments); } function _exportExerciseStudentScores() { _exportExerciseStudentScores = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee74(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee74$(_context74) { while (1) switch (_context74.prev = _context74.next) { case 0: return _context74.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/exercises/".concat(params.categoryId, "/export_scores.json"), { method: 'get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({ "export": true }, params) })); case 1: case "end": return _context74.stop(); } }, _callee74); })); return _exportExerciseStudentScores.apply(this, arguments); } function getPollStartAnswer(params) { return (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/polls/".concat(params.categoryId, "/start_answer.json"), { method: 'get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params) }); } function updatePollVotes(_x74) { return _updatePollVotes.apply(this, arguments); } function _updatePollVotes() { _updatePollVotes = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee75(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee75$(_context75) { while (1) switch (_context75.prev = _context75.next) { case 0: return _context75.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/poll_questions/".concat(params.questionId, "/poll_votes.json"), { method: 'post', body: params })); case 1: case "end": return _context75.stop(); } }, _callee75); })); return _updatePollVotes.apply(this, arguments); } function submitPollAnswer(_x75) { return _submitPollAnswer.apply(this, arguments); } function _submitPollAnswer() { _submitPollAnswer = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee76(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee76$(_context76) { while (1) switch (_context76.prev = _context76.next) { case 0: return _context76.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/polls/".concat(params.categoryId, "/commit_poll.json"), { method: 'post', body: params })); case 1: case "end": return _context76.stop(); } }, _callee76); })); return _submitPollAnswer.apply(this, arguments); } function getAllTasks(_x76) { return _getAllTasks.apply(this, arguments); } function _getAllTasks() { _getAllTasks = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee77(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee77$(_context77) { while (1) switch (_context77.prev = _context77.next) { case 0: return _context77.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.courseId, "/tasks_list.json"), { method: 'get', params: params })); case 1: case "end": return _context77.stop(); } }, _callee77); })); return _getAllTasks.apply(this, arguments); } function updateTaskPosition(_x77) { return _updateTaskPosition.apply(this, arguments); } function _updateTaskPosition() { _updateTaskPosition = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee78(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee78$(_context78) { while (1) switch (_context78.prev = _context78.next) { case 0: return _context78.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.courseId, "/update_task_position.json"), { method: 'post', body: params })); case 1: case "end": return _context78.stop(); } }, _callee78); })); return _updateTaskPosition.apply(this, arguments); } function calculateAllShixunScores(_x78) { return _calculateAllShixunScores.apply(this, arguments); } function _calculateAllShixunScores() { _calculateAllShixunScores = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee79(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee79$(_context79) { while (1) switch (_context79.prev = _context79.next) { case 0: return _context79.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.coursesId, "/calculate_all_shixun_scores.json"), { method: 'get', params: params })); case 1: case "end": return _context79.stop(); } }, _callee79); })); return _calculateAllShixunScores.apply(this, arguments); } function getAllCourseGroup(_x79) { return _getAllCourseGroup.apply(this, arguments); } function _getAllCourseGroup() { _getAllCourseGroup = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee80(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee80$(_context80) { while (1) switch (_context80.prev = _context80.next) { case 0: return _context80.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.coursesId, "/all_course_groups.json"), { method: 'get', params: params })); case 1: case "end": return _context80.stop(); } }, _callee80); })); return _getAllCourseGroup.apply(this, arguments); } function getCourseGroupStudents(_x80) { return _getCourseGroupStudents.apply(this, arguments); } function _getCourseGroupStudents() { _getCourseGroupStudents = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee81(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee81$(_context81) { while (1) switch (_context81.prev = _context81.next) { case 0: return _context81.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.coursesId, "/students.json"), { method: 'get', params: params })); case 1: case "end": return _context81.stop(); } }, _callee81); })); return _getCourseGroupStudents.apply(this, arguments); } function renameCourseGroup(_x81) { return _renameCourseGroup.apply(this, arguments); } function _renameCourseGroup() { _renameCourseGroup = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee82(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee82$(_context82) { while (1) switch (_context82.prev = _context82.next) { case 0: return _context82.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/course_groups/".concat(params.categoryId, "/rename_group.json"), { method: 'POST', body: params })); case 1: case "end": return _context82.stop(); } }, _callee82); })); return _renameCourseGroup.apply(this, arguments); } function deleteCourseGroup(_x82) { return _deleteCourseGroup.apply(this, arguments); } function _deleteCourseGroup() { _deleteCourseGroup = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee83(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee83$(_context83) { while (1) switch (_context83.prev = _context83.next) { case 0: return _context83.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/course_groups/".concat(params.categoryId, ".json"), { method: 'delete', body: params })); case 1: case "end": return _context83.stop(); } }, _callee83); })); return _deleteCourseGroup.apply(this, arguments); } function joinCourseGroup(_x83) { return _joinCourseGroup.apply(this, arguments); } function _joinCourseGroup() { _joinCourseGroup = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee84(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee84$(_context84) { while (1) switch (_context84.prev = _context84.next) { case 0: return _context84.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.coursesId, "/join_course_group.json"), { method: 'POST', body: params })); case 1: case "end": return _context84.stop(); } }, _callee84); })); return _joinCourseGroup.apply(this, arguments); } function transferToCourseGroup(_x84) { return _transferToCourseGroup.apply(this, arguments); } function _transferToCourseGroup() { _transferToCourseGroup = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee85(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee85$(_context85) { while (1) switch (_context85.prev = _context85.next) { case 0: return _context85.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.coursesId, "/transfer_to_course_group.json"), { method: 'post', body: params })); case 1: case "end": return _context85.stop(); } }, _callee85); })); return _transferToCourseGroup.apply(this, arguments); } function deleteStudent(_x85) { return _deleteStudent.apply(this, arguments); } //加入分班 function _deleteStudent() { _deleteStudent = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee86(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee86$(_context86) { while (1) switch (_context86.prev = _context86.next) { case 0: return _context86.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.coursesId, "/delete_from_course.json"), { method: 'post', body: params })); case 1: case "end": return _context86.stop(); } }, _callee86); })); return _deleteStudent.apply(this, arguments); } function joincoursegroup(_x86) { return _joincoursegroup.apply(this, arguments); } function _joincoursegroup() { _joincoursegroup = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee87(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee87$(_context87) { while (1) switch (_context87.prev = _context87.next) { case 0: return _context87.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.coursesId, "/join_course_group.json"), { method: 'post', body: params })); case 1: case "end": return _context87.stop(); } }, _callee87); })); return _joincoursegroup.apply(this, arguments); } function exitCourse(_x87) { return _exitCourse.apply(this, arguments); } function _exitCourse() { _exitCourse = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee88(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee88$(_context88) { while (1) switch (_context88.prev = _context88.next) { case 0: return _context88.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.coursesId, "/exit_course.json"), { method: 'post' })); case 1: case "end": return _context88.stop(); } }, _callee88); })); return _exitCourse.apply(this, arguments); } function courseMemberAttendances(_x88) { return _courseMemberAttendances.apply(this, arguments); } // 第三方慕课 function _courseMemberAttendances() { _courseMemberAttendances = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee89(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee89$(_context89) { while (1) switch (_context89.prev = _context89.next) { case 0: return _context89.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/weapps/course_member_attendances.json", { method: 'post', body: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params) // attendance_id: 335 // attendance_mode: "QUICK" })); case 1: case "end": return _context89.stop(); } }, _callee89); })); return _courseMemberAttendances.apply(this, arguments); } function getMoocEditData(_x89) { return _getMoocEditData.apply(this, arguments); } function _getMoocEditData() { _getMoocEditData = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee90(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee90$(_context90) { while (1) switch (_context90.prev = _context90.next) { case 0: return _context90.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.coursesId, "/mooc_users/").concat(params.user_id, "/edit.json"), { method: 'get', params: params })); case 1: case "end": return _context90.stop(); } }, _callee90); })); return _getMoocEditData.apply(this, arguments); } function createMoocData(_x90) { return _createMoocData.apply(this, arguments); } function _createMoocData() { _createMoocData = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee91(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee91$(_context91) { while (1) switch (_context91.prev = _context91.next) { case 0: return _context91.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.coursesId, "/mooc_users.json"), { method: 'post', body: params })); case 1: case "end": return _context91.stop(); } }, _callee91); })); return _createMoocData.apply(this, arguments); } function updateMoocData(_x91) { return _updateMoocData.apply(this, arguments); } function _updateMoocData() { _updateMoocData = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee92(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee92$(_context92) { while (1) switch (_context92.prev = _context92.next) { case 0: return _context92.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.coursesId, "/mooc_users/").concat(params.user_id, ".json"), { method: 'put', body: params })); case 1: case "end": return _context92.stop(); } }, _callee92); })); return _updateMoocData.apply(this, arguments); } function moveCategory(_x92) { return _moveCategory.apply(this, arguments); } function _moveCategory() { _moveCategory = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee93(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee93$(_context93) { while (1) switch (_context93.prev = _context93.next) { case 0: return _context93.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/course_second_categories/".concat(params.id, "/move_category.json"), { method: 'post', body: params })); case 1: case "end": return _context93.stop(); } }, _callee93); })); return _moveCategory.apply(this, arguments); } function moveboard(_x93) { return _moveboard.apply(this, arguments); } function _moveboard() { _moveboard = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee94(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee94$(_context94) { while (1) switch (_context94.prev = _context94.next) { case 0: return _context94.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/boards/".concat(params.id, "/move_category.json"), { method: 'post', body: params })); case 1: case "end": return _context94.stop(); } }, _callee94); })); return _moveboard.apply(this, arguments); } function getCourseware(_x94) { return _getCourseware.apply(this, arguments); } function _getCourseware() { _getCourseware = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee95(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee95$(_context95) { while (1) switch (_context95.prev = _context95.next) { case 0: return _context95.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.id, "/courseware.json"), { method: 'get', params: params })); case 1: case "end": return _context95.stop(); } }, _callee95); })); return _getCourseware.apply(this, arguments); } function markWrongQuestion(_x95, _x96) { return _markWrongQuestion.apply(this, arguments); } function _markWrongQuestion() { _markWrongQuestion = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee96(coursesId, params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee96$(_context96) { while (1) switch (_context96.prev = _context96.next) { case 0: return _context96.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/exercises/".concat(coursesId, "/mark_wrong_topic.json"), { method: 'get', params: params })); case 1: case "end": return _context96.stop(); } }, _callee96); })); return _markWrongQuestion.apply(this, arguments); } function cancelMarkWrongQuestion(_x97, _x98) { return _cancelMarkWrongQuestion.apply(this, arguments); } function _cancelMarkWrongQuestion() { _cancelMarkWrongQuestion = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee97(coursesId, params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee97$(_context97) { while (1) switch (_context97.prev = _context97.next) { case 0: return _context97.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/exercises/".concat(coursesId, "/cancel_wrong_topic.json"), { method: 'get', params: params })); case 1: case "end": return _context97.stop(); } }, _callee97); })); return _cancelMarkWrongQuestion.apply(this, arguments); } function getAllowEndGroups(_x99, _x100) { return _getAllowEndGroups.apply(this, arguments); } function _getAllowEndGroups() { _getAllowEndGroups = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee98(homework_id, params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee98$(_context98) { while (1) switch (_context98.prev = _context98.next) { case 0: return _context98.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/homework_commons/".concat(homework_id, "/allow_end_group.json"), { method: 'get', params: params })); case 1: case "end": return _context98.stop(); } }, _callee98); })); return _getAllowEndGroups.apply(this, arguments); } function stopHomework(_x101, _x102) { return _stopHomework.apply(this, arguments); } function _stopHomework() { _stopHomework = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee99(course_id, params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee99$(_context99) { while (1) switch (_context99.prev = _context99.next) { case 0: return _context99.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(course_id, "/homework_commons/end_with_homework_list_position.json"), { method: 'post', body: params })); case 1: case "end": return _context99.stop(); } }, _callee99); })); return _stopHomework.apply(this, arguments); } function getCommitIdContent(_x103, _x104) { return _getCommitIdContent.apply(this, arguments); } function _getCommitIdContent() { _getCommitIdContent = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee100(id, params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee100$(_context100) { while (1) switch (_context100.prev = _context100.next) { case 0: return _context100.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/tasks/".concat(id, "/get_content_for_commit_id.json"), { method: 'get', params: params })); case 1: case "end": return _context100.stop(); } }, _callee100); })); return _getCommitIdContent.apply(this, arguments); } /***/ }), /***/ 79278: /*!*************************************!*\ !*** ./src/service/competitions.ts ***! \*************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ $M: function() { return /* binding */ basicSetting; }, /* harmony export */ $P: function() { return /* binding */ all_team_members; }, /* harmony export */ Dh: function() { return /* binding */ getStaff; }, /* harmony export */ FU: function() { return /* binding */ AddTeam; }, /* harmony export */ GQ: function() { return /* binding */ Charts; }, /* harmony export */ IN: function() { return /* binding */ identifier_exist; }, /* harmony export */ JM: function() { return /* binding */ shixun_select; }, /* harmony export */ Ju: function() { return /* binding */ getCertificateInfo; }, /* harmony export */ Mn: function() { return /* binding */ get_picture; }, /* harmony export */ Ni: function() { return /* binding */ getVerification; }, /* harmony export */ Pg: function() { return /* binding */ getHeader; }, /* harmony export */ Pt: function() { return /* binding */ competitionTeams; }, /* harmony export */ Qp: function() { return /* binding */ Reward; }, /* harmony export */ R9: function() { return /* binding */ AddPersonnel; }, /* harmony export */ Ux: function() { return /* binding */ ChartRules; }, /* harmony export */ Vy: function() { return /* binding */ Authentication; }, /* harmony export */ XJ: function() { return /* binding */ Accounts; }, /* harmony export */ XR: function() { return /* binding */ getCourse; }, /* harmony export */ Ze: function() { return /* binding */ getTeamDetail; }, /* harmony export */ aq: function() { return /* binding */ getTeamList; }, /* harmony export */ bQ: function() { return /* binding */ getCompetitionsList; }, /* harmony export */ jS: function() { return /* binding */ getTeacher; }, /* harmony export */ lm: function() { return /* binding */ get_shixun_settings; }, /* harmony export */ ml: function() { return /* binding */ TabResults; }, /* harmony export */ o3: function() { return /* binding */ common_header; }, /* harmony export */ pA: function() { return /* binding */ search_managers; }, /* harmony export */ pS: function() { return /* binding */ shixun_delete; }, /* harmony export */ pU: function() { return /* binding */ Prize; }, /* harmony export */ ps: function() { return /* binding */ DeleteTeam; }, /* harmony export */ q0: function() { return /* binding */ add_managers; }, /* harmony export */ qN: function() { return /* binding */ delete_managers; }, /* harmony export */ qS: function() { return /* binding */ addApplytojoincourse; }, /* harmony export */ qj: function() { return /* binding */ getShixun; }, /* harmony export */ qt: function() { return /* binding */ competition_review; }, /* harmony export */ rV: function() { return /* binding */ getItem; }, /* harmony export */ rZ: function() { return /* binding */ info_finish; }, /* harmony export */ rk: function() { return /* binding */ EmailBind; }, /* harmony export */ rm: function() { return /* binding */ SubmitTeam; }, /* harmony export */ sK: function() { return /* binding */ getStudents; }, /* harmony export */ sL: function() { return /* binding */ get_managers; }, /* harmony export */ su: function() { return /* binding */ shixun_add; }, /* harmony export */ tC: function() { return /* binding */ Professional; }, /* harmony export */ tO: function() { return /* binding */ setleader; }, /* harmony export */ u9: function() { return /* binding */ Results; }, /* harmony export */ uZ: function() { return /* binding */ PhoneBind; }, /* harmony export */ vV: function() { return /* binding */ ExitTeam; }, /* harmony export */ y8: function() { return /* binding */ deletAttachments; }, /* harmony export */ yS: function() { return /* binding */ UpTeam; }, /* harmony export */ zF: function() { return /* binding */ getWorkSubmitUpdateRes; }, /* harmony export */ zc: function() { return /* binding */ JoinTeam; }, /* harmony export */ zj: function() { return /* binding */ updateMdContent; }, /* harmony export */ zz: function() { return /* binding */ competition_teams; } /* harmony export */ }); /* unused harmony exports download_template, addCompetitions */ /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/objectSpread2.js */ 82242); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0__); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/regeneratorRuntime.js */ 7557); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1__); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/asyncToGenerator.js */ 41498); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2__); /* harmony import */ var _utils_fetch__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/utils/fetch */ 55794); // 作品提交-作品编辑 /api/competitions/test22/update_result.json function getWorkSubmitUpdateRes(_x) { return _getWorkSubmitUpdateRes.apply(this, arguments); } //获取在线竞赛列表 function _getWorkSubmitUpdateRes() { _getWorkSubmitUpdateRes = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee$(_context) { while (1) switch (_context.prev = _context.next) { case 0: return _context.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/competitions/".concat(params.identifier, "/update_result.json"), { method: 'post', body: params })); case 1: case "end": return _context.stop(); } }, _callee); })); return _getWorkSubmitUpdateRes.apply(this, arguments); } function getCompetitionsList(_x2) { return _getCompetitionsList.apply(this, arguments); } //学员身份调用加入课堂进入课堂首页 function _getCompetitionsList() { _getCompetitionsList = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee2(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee2$(_context2) { while (1) switch (_context2.prev = _context2.next) { case 0: return _context2.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)('/api/competitions.json', { method: 'Get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params) })); case 1: case "end": return _context2.stop(); } }, _callee2); })); return _getCompetitionsList.apply(this, arguments); } function addApplytojoincourse(_x3) { return _addApplytojoincourse.apply(this, arguments); } //报名接口 function _addApplytojoincourse() { _addApplytojoincourse = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee3(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee3$(_context3) { while (1) switch (_context3.prev = _context3.next) { case 0: return _context3.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/apply_to_join_course.json", { method: 'post', body: params })); case 1: case "end": return _context3.stop(); } }, _callee3); })); return _addApplytojoincourse.apply(this, arguments); } function competitionTeams(_x4) { return _competitionTeams.apply(this, arguments); } //获取竞赛详情信息接口 function _competitionTeams() { _competitionTeams = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee4(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee4$(_context4) { while (1) switch (_context4.prev = _context4.next) { case 0: return _context4.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/competitions/".concat(params.identifier, "/competition_teams.json"), { method: 'post' })); case 1: case "end": return _context4.stop(); } }, _callee4); })); return _competitionTeams.apply(this, arguments); } function getStaff(_x5) { return _getStaff.apply(this, arguments); } //获取头部信息接口 function _getStaff() { _getStaff = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee5(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee5$(_context5) { while (1) switch (_context5.prev = _context5.next) { case 0: return _context5.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/competitions/".concat(params.identifier, "/competition_staff.json"), { method: 'get' })); case 1: case "end": return _context5.stop(); } }, _callee5); })); return _getStaff.apply(this, arguments); } function getHeader(_x6) { return _getHeader.apply(this, arguments); } //获取竞赛底部item function _getHeader() { _getHeader = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee6(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee6$(_context6) { while (1) switch (_context6.prev = _context6.next) { case 0: return _context6.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/competitions/".concat(params.identifier, "/common_header.json"), { method: 'get' })); case 1: case "end": return _context6.stop(); } }, _callee6); })); return _getHeader.apply(this, arguments); } function getItem(_x7) { return _getItem.apply(this, arguments); } //修改底部item function _getItem() { _getItem = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee7(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee7$(_context7) { while (1) switch (_context7.prev = _context7.next) { case 0: return _context7.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/".concat(params.url), { method: 'get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params) })); case 1: case "end": return _context7.stop(); } }, _callee7); })); return _getItem.apply(this, arguments); } function updateMdContent(_x8) { return _updateMdContent.apply(this, arguments); } //获取战队信息 competition_teams function _updateMdContent() { _updateMdContent = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee8(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee8$(_context8) { while (1) switch (_context8.prev = _context8.next) { case 0: return _context8.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/competitions/".concat(params.identifier, "/update_md_content.json"), { method: 'post', body: params })); case 1: case "end": return _context8.stop(); } }, _callee8); })); return _updateMdContent.apply(this, arguments); } function getTeamList(_x9) { return _getTeamList.apply(this, arguments); } //获取战队详情信息 function _getTeamList() { _getTeamList = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee9(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee9$(_context9) { while (1) switch (_context9.prev = _context9.next) { case 0: return _context9.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/competitions/".concat(params.identifier, "/competition_teams.json"), { method: 'get', params: params })); case 1: case "end": return _context9.stop(); } }, _callee9); })); return _getTeamList.apply(this, arguments); } function getTeamDetail(_x10) { return _getTeamDetail.apply(this, arguments); } //修改战队信息 function _getTeamDetail() { _getTeamDetail = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee10(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee10$(_context10) { while (1) switch (_context10.prev = _context10.next) { case 0: return _context10.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/competitions/".concat(params.identifier, "/competition_teams/").concat(params.Teannameid, "/edit.json"), { method: 'get', params: params })); case 1: case "end": return _context10.stop(); } }, _callee10); })); return _getTeamDetail.apply(this, arguments); } function UpTeam(_x11) { return _UpTeam.apply(this, arguments); } //退出战队 function _UpTeam() { _UpTeam = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee11(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee11$(_context11) { while (1) switch (_context11.prev = _context11.next) { case 0: return _context11.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/competitions/".concat(params.identifier, "/competition_teams/").concat(params.Teannameid, ".json"), { method: 'put', body: params })); case 1: case "end": return _context11.stop(); } }, _callee11); })); return _UpTeam.apply(this, arguments); } function ExitTeam(_x12) { return _ExitTeam.apply(this, arguments); } //删除战队 function _ExitTeam() { _ExitTeam = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee12(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee12$(_context12) { while (1) switch (_context12.prev = _context12.next) { case 0: return _context12.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/competitions/".concat(params.identifier, "/competition_teams/").concat(params.id, "/leave.json"), { method: 'post', body: params })); case 1: case "end": return _context12.stop(); } }, _callee12); })); return _ExitTeam.apply(this, arguments); } function DeleteTeam(_x13) { return _DeleteTeam.apply(this, arguments); } //创建战队 function _DeleteTeam() { _DeleteTeam = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee13(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee13$(_context13) { while (1) switch (_context13.prev = _context13.next) { case 0: return _context13.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/competitions/".concat(params.identifier, "/competition_teams/").concat(params.id, ".json"), { method: 'delete' })); case 1: case "end": return _context13.stop(); } }, _callee13); })); return _DeleteTeam.apply(this, arguments); } function AddTeam(_x14) { return _AddTeam.apply(this, arguments); } //新增管理员 function _AddTeam() { _AddTeam = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee14(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee14$(_context14) { while (1) switch (_context14.prev = _context14.next) { case 0: return _context14.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/competitions/".concat(params.identifier, "/competition_teams.json"), { method: 'post', body: params })); case 1: case "end": return _context14.stop(); } }, _callee14); })); return _AddTeam.apply(this, arguments); } function AddPersonnel(_x15) { return _AddPersonnel.apply(this, arguments); } //加入战队 function _AddPersonnel() { _AddPersonnel = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee15(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee15$(_context15) { while (1) switch (_context15.prev = _context15.next) { case 0: return _context15.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/competitions/".concat(params.id, "/add_managers.json"), { method: 'post', body: params })); case 1: case "end": return _context15.stop(); } }, _callee15); })); return _AddPersonnel.apply(this, arguments); } function JoinTeam(_x16) { return _JoinTeam.apply(this, arguments); } //查找老师 function _JoinTeam() { _JoinTeam = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee16(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee16$(_context16) { while (1) switch (_context16.prev = _context16.next) { case 0: return _context16.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/competitions/".concat(params.identifier, "/competition_teams/join.json"), { method: 'post', body: params })); case 1: case "end": return _context16.stop(); } }, _callee16); })); return _JoinTeam.apply(this, arguments); } function getTeacher(_x17) { return _getTeacher.apply(this, arguments); } //查找学员 function _getTeacher() { _getTeacher = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee17(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee17$(_context17) { while (1) switch (_context17.prev = _context17.next) { case 0: return _context17.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/competitions/".concat(params.identifier, "/teachers.json"), { method: 'get', params: params })); case 1: case "end": return _context17.stop(); } }, _callee17); })); return _getTeacher.apply(this, arguments); } function getStudents(_x18) { return _getStudents.apply(this, arguments); } //提交数据 function _getStudents() { _getStudents = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee18(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee18$(_context18) { while (1) switch (_context18.prev = _context18.next) { case 0: return _context18.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/competitions/".concat(params.identifier, "/students.json"), { method: 'get', params: params })); case 1: case "end": return _context18.stop(); } }, _callee18); })); return _getStudents.apply(this, arguments); } function SubmitTeam(_x19) { return _SubmitTeam.apply(this, arguments); } //领取代金劵 function _SubmitTeam() { _SubmitTeam = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee19(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee19$(_context19) { while (1) switch (_context19.prev = _context19.next) { case 0: return _context19.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/competitions/".concat(params.identifier, "/competition_teams/").concat(params.teamid, "/crud_team_members.json"), { method: 'post', body: params })); case 1: case "end": return _context19.stop(); } }, _callee19); })); return _SubmitTeam.apply(this, arguments); } function Reward(_x20) { return _Reward.apply(this, arguments); } //获取排行榜tab chart_rules function _Reward() { _Reward = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee20(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee20$(_context20) { while (1) switch (_context20.prev = _context20.next) { case 0: return _context20.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/users/competition_reward.json", { method: 'post', body: params })); case 1: case "end": return _context20.stop(); } }, _callee20); })); return _Reward.apply(this, arguments); } function ChartRules(_x21) { return _ChartRules.apply(this, arguments); } //获取排行榜 排名数据 function _ChartRules() { _ChartRules = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee21(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee21$(_context21) { while (1) switch (_context21.prev = _context21.next) { case 0: return _context21.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/competitions/".concat(params.identifier, "/chart_rules.json"), { method: 'get' })); case 1: case "end": return _context21.stop(); } }, _callee21); })); return _ChartRules.apply(this, arguments); } function Charts(_x22) { return _Charts.apply(this, arguments); } //获取提交结果拍行榜数据 function _Charts() { _Charts = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee22(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee22$(_context22) { while (1) switch (_context22.prev = _context22.next) { case 0: return _context22.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/competitions/".concat(params.identifier, "/charts.json"), { method: 'get', params: params })); case 1: case "end": return _context22.stop(); } }, _callee22); })); return _Charts.apply(this, arguments); } function Results(_x23) { return _Results.apply(this, arguments); } //获取提交结果拍行榜数据 function _Results() { _Results = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee23(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee23$(_context23) { while (1) switch (_context23.prev = _context23.next) { case 0: return _context23.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/competitions/".concat(params.identifier, "/results.json"), { method: 'get', params: params })); case 1: case "end": return _context23.stop(); } }, _callee23); })); return _Results.apply(this, arguments); } function TabResults(_x24) { return _TabResults.apply(this, arguments); } //获取获奖证书 prize function _TabResults() { _TabResults = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee24(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee24$(_context24) { while (1) switch (_context24.prev = _context24.next) { case 0: return _context24.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/competitions/".concat(params.identifier, "/md_tab_rules.json"), { method: 'get', params: params })); case 1: case "end": return _context24.stop(); } }, _callee24); })); return _TabResults.apply(this, arguments); } function Prize(_x25) { return _Prize.apply(this, arguments); } //获取个人详情信息 function _Prize() { _Prize = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee25(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee25$(_context25) { while (1) switch (_context25.prev = _context25.next) { case 0: return _context25.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/competitions/".concat(params.identifier, "/prize.json"), { method: 'get', params: params })); case 1: case "end": return _context25.stop(); } }, _callee25); })); return _Prize.apply(this, arguments); } function Accounts(_x26) { return _Accounts.apply(this, arguments); } //获取邮箱 get_verification_code function _Accounts() { _Accounts = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee26(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee26$(_context26) { while (1) switch (_context26.prev = _context26.next) { case 0: return _context26.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/users/accounts/".concat(params.id, ".json"), { method: 'get', params: params })); case 1: case "end": return _context26.stop(); } }, _callee26); })); return _Accounts.apply(this, arguments); } function getVerification(_x27) { return _getVerification.apply(this, arguments); } //绑定手机号 /api/users/accounts/130978/phone_bind.json function _getVerification() { _getVerification = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee27(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee27$(_context27) { while (1) switch (_context27.prev = _context27.next) { case 0: return _context27.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/accounts/get_verification_code.json", { method: 'get', params: params })); case 1: case "end": return _context27.stop(); } }, _callee27); })); return _getVerification.apply(this, arguments); } function PhoneBind(_x28) { return _PhoneBind.apply(this, arguments); } //绑定邮箱 function _PhoneBind() { _PhoneBind = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee28(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee28$(_context28) { while (1) switch (_context28.prev = _context28.next) { case 0: return _context28.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/users/accounts/".concat(params.userid, "/phone_bind.json"), { method: 'post', body: params })); case 1: case "end": return _context28.stop(); } }, _callee28); })); return _PhoneBind.apply(this, arguments); } function EmailBind(_x29) { return _EmailBind.apply(this, arguments); } //职业信息撤销认证/users/accounts/${userid}/professional_auth_apply.json function _EmailBind() { _EmailBind = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee29(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee29$(_context29) { while (1) switch (_context29.prev = _context29.next) { case 0: return _context29.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/users/accounts/".concat(params.userid, "/email_bind.json"), { method: 'post', body: params })); case 1: case "end": return _context29.stop(); } }, _callee29); })); return _EmailBind.apply(this, arguments); } function Professional(_x30) { return _Professional.apply(this, arguments); } //实名信息撤销认证 /users/accounts/${userid}/authentication_apply.json function _Professional() { _Professional = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee30(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee30$(_context30) { while (1) switch (_context30.prev = _context30.next) { case 0: return _context30.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/users/accounts/".concat(params.userid, "/professional_auth_apply.json"), { method: 'delete' })); case 1: case "end": return _context30.stop(); } }, _callee30); })); return _Professional.apply(this, arguments); } function Authentication(_x31) { return _Authentication.apply(this, arguments); } //提交银行卡信息 function _Authentication() { _Authentication = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee31(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee31$(_context31) { while (1) switch (_context31.prev = _context31.next) { case 0: return _context31.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/users/accounts/".concat(params.userid, "/authentication_apply.json"), { method: 'delete' })); case 1: case "end": return _context31.stop(); } }, _callee31); })); return _Authentication.apply(this, arguments); } function setleader(_x32) { return _setleader.apply(this, arguments); } //获取战队实训信息 function _setleader() { _setleader = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee32(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee32$(_context32) { while (1) switch (_context32.prev = _context32.next) { case 0: return _context32.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/competitions/".concat(params.identifier, "/prize_leader_account.json"), { method: 'put', body: params })); case 1: case "end": return _context32.stop(); } }, _callee32); })); return _setleader.apply(this, arguments); } function getShixun(_x33) { return _getShixun.apply(this, arguments); } //获取战队课堂信息 function _getShixun() { _getShixun = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee33(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee33$(_context33) { while (1) switch (_context33.prev = _context33.next) { case 0: return _context33.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/competitions/".concat(params.identifier, "/competition_teams/").concat(params.teamid, "/shixun_detail.json"), { method: 'get' })); case 1: case "end": return _context33.stop(); } }, _callee33); })); return _getShixun.apply(this, arguments); } function getCourse(_x34) { return _getCourse.apply(this, arguments); } //删除视频 function _getCourse() { _getCourse = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee34(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee34$(_context34) { while (1) switch (_context34.prev = _context34.next) { case 0: return _context34.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/competitions/".concat(params.identifier, "/competition_teams/").concat(params.teamid, "/course_detail.json"), { method: 'get' })); case 1: case "end": return _context34.stop(); } }, _callee34); })); return _getCourse.apply(this, arguments); } function deletAttachments(_x35) { return _deletAttachments.apply(this, arguments); } // 导出证书 function _deletAttachments() { _deletAttachments = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee35(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee35$(_context35) { while (1) switch (_context35.prev = _context35.next) { case 0: return _context35.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/attachments/".concat(params.id, ".json"), { method: 'delete' })); case 1: case "end": return _context35.stop(); } }, _callee35); })); return _deletAttachments.apply(this, arguments); } function getCertificateInfo(_x36) { return _getCertificateInfo.apply(this, arguments); } // 更新基本信息 function _getCertificateInfo() { _getCertificateInfo = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee36(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee36$(_context36) { while (1) switch (_context36.prev = _context36.next) { case 0: return _context36.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/competitions/".concat(params.id, "/get_certificate_info.json"), { method: 'get', params: params })); case 1: case "end": return _context36.stop(); } }, _callee36); })); return _getCertificateInfo.apply(this, arguments); } function basicSetting(_x37) { return _basicSetting.apply(this, arguments); } // 竞赛名单导入模板 function _basicSetting() { _basicSetting = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee37(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee37$(_context37) { while (1) switch (_context37.prev = _context37.next) { case 0: return _context37.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/competitions/".concat(params.id, "/basic_setting.json"), { method: 'post', body: params })); case 1: case "end": return _context37.stop(); } }, _callee37); })); return _basicSetting.apply(this, arguments); } function download_template() { return _download_template.apply(this, arguments); } // 竞赛基本信息详情 function _download_template() { _download_template = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee38() { return _regeneratorRuntime().wrap(function _callee38$(_context38) { while (1) switch (_context38.prev = _context38.next) { case 0: return _context38.abrupt("return", Fetch("/api/competitions/download_template", { method: 'get', responseType: 'arraybuffer' })); case 1: case "end": return _context38.stop(); } }, _callee38); })); return _download_template.apply(this, arguments); } function common_header(_x38) { return _common_header.apply(this, arguments); } // 创建竞赛 function _common_header() { _common_header = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee39(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee39$(_context39) { while (1) switch (_context39.prev = _context39.next) { case 0: return _context39.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/competitions/".concat(params, "/common_header.json"), { method: 'get' })); case 1: case "end": return _context39.stop(); } }, _callee39); })); return _common_header.apply(this, arguments); } function addCompetitions(_x39) { return _addCompetitions.apply(this, arguments); } // 添加管理员的搜索列表 function _addCompetitions() { _addCompetitions = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee40(params) { return _regeneratorRuntime().wrap(function _callee40$(_context40) { while (1) switch (_context40.prev = _context40.next) { case 0: return _context40.abrupt("return", Fetch("/api/competitions.json", { method: 'post', body: params })); case 1: case "end": return _context40.stop(); } }, _callee40); })); return _addCompetitions.apply(this, arguments); } function search_managers(_x40) { return _search_managers.apply(this, arguments); } // 管理员列表 function _search_managers() { _search_managers = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee41(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee41$(_context41) { while (1) switch (_context41.prev = _context41.next) { case 0: return _context41.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/competitions/".concat(params === null || params === void 0 ? void 0 : params.id, "/search_managers.json"), { method: 'get', params: params })); case 1: case "end": return _context41.stop(); } }, _callee41); })); return _search_managers.apply(this, arguments); } function get_managers(_x41) { return _get_managers.apply(this, arguments); } // 添加管理员 function _get_managers() { _get_managers = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee42(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee42$(_context42) { while (1) switch (_context42.prev = _context42.next) { case 0: return _context42.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/competitions/".concat(params, "/get_managers.json"), { method: 'get' })); case 1: case "end": return _context42.stop(); } }, _callee42); })); return _get_managers.apply(this, arguments); } function add_managers(_x42) { return _add_managers.apply(this, arguments); } // 删除管理员 function _add_managers() { _add_managers = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee43(data) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee43$(_context43) { while (1) switch (_context43.prev = _context43.next) { case 0: return _context43.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/competitions/".concat(data === null || data === void 0 ? void 0 : data.id, "/add_managers.json"), { method: 'post', body: data })); case 1: case "end": return _context43.stop(); } }, _callee43); })); return _add_managers.apply(this, arguments); } function delete_managers(_x43) { return _delete_managers.apply(this, arguments); } // 获取图片设置信息 function _delete_managers() { _delete_managers = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee44(data) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee44$(_context44) { while (1) switch (_context44.prev = _context44.next) { case 0: return _context44.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/competitions/".concat(data === null || data === void 0 ? void 0 : data.id, "/delete_managers.json"), { method: 'delete', body: data })); case 1: case "end": return _context44.stop(); } }, _callee44); })); return _delete_managers.apply(this, arguments); } function get_picture(_x44) { return _get_picture.apply(this, arguments); } // 网址是否被占用 function _get_picture() { _get_picture = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee45(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee45$(_context45) { while (1) switch (_context45.prev = _context45.next) { case 0: return _context45.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/competitions/".concat(params, "/get_picture.json"), { method: 'get' })); case 1: case "end": return _context45.stop(); } }, _callee45); })); return _get_picture.apply(this, arguments); } function identifier_exist(_x45) { return _identifier_exist.apply(this, arguments); } // 获取赛题设置 function _identifier_exist() { _identifier_exist = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee46(data) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee46$(_context46) { while (1) switch (_context46.prev = _context46.next) { case 0: return _context46.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/competitions/".concat(data === null || data === void 0 ? void 0 : data.id, "/identifier_exist.json"), { method: 'post', body: data })); case 1: case "end": return _context46.stop(); } }, _callee46); })); return _identifier_exist.apply(this, arguments); } function get_shixun_settings(_x46) { return _get_shixun_settings.apply(this, arguments); } // 添加赛题 function _get_shixun_settings() { _get_shixun_settings = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee47(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee47$(_context47) { while (1) switch (_context47.prev = _context47.next) { case 0: return _context47.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/competitions/".concat(params, "/get_shixun_settings.json"), { method: 'get' })); case 1: case "end": return _context47.stop(); } }, _callee47); })); return _get_shixun_settings.apply(this, arguments); } function shixun_add(_x47) { return _shixun_add.apply(this, arguments); } // 删除赛题 function _shixun_add() { _shixun_add = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee48(data) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee48$(_context48) { while (1) switch (_context48.prev = _context48.next) { case 0: return _context48.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/competitions/".concat(data === null || data === void 0 ? void 0 : data.id, "/shixun_add.json"), { method: 'post', body: data })); case 1: case "end": return _context48.stop(); } }, _callee48); })); return _shixun_add.apply(this, arguments); } function shixun_delete(_x48) { return _shixun_delete.apply(this, arguments); } // 更新赛题设置 function _shixun_delete() { _shixun_delete = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee49(data) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee49$(_context49) { while (1) switch (_context49.prev = _context49.next) { case 0: return _context49.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/competitions/".concat(data === null || data === void 0 ? void 0 : data.id, "/shixun_delete.json"), { method: 'delete', body: data })); case 1: case "end": return _context49.stop(); } }, _callee49); })); return _shixun_delete.apply(this, arguments); } function shixun_select(_x49) { return _shixun_select.apply(this, arguments); } // 竞赛指引 function _shixun_select() { _shixun_select = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee50(data) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee50$(_context50) { while (1) switch (_context50.prev = _context50.next) { case 0: return _context50.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/competitions/".concat(data === null || data === void 0 ? void 0 : data.id, "/shixun_select.json"), { method: 'post', body: data })); case 1: case "end": return _context50.stop(); } }, _callee50); })); return _shixun_select.apply(this, arguments); } function info_finish(_x50) { return _info_finish.apply(this, arguments); } // 提交审核 function _info_finish() { _info_finish = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee51(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee51$(_context51) { while (1) switch (_context51.prev = _context51.next) { case 0: return _context51.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/competitions/".concat(params, "/info_finish.json"), { method: 'get' })); case 1: case "end": return _context51.stop(); } }, _callee51); })); return _info_finish.apply(this, arguments); } function competition_review(_x51) { return _competition_review.apply(this, arguments); } //获取团队人数 function _competition_review() { _competition_review = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee52(data) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee52$(_context52) { while (1) switch (_context52.prev = _context52.next) { case 0: return _context52.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/competitions/".concat(data === null || data === void 0 ? void 0 : data.id, "/competition_review.json"), { method: 'post', body: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, data) })); case 1: case "end": return _context52.stop(); } }, _callee52); })); return _competition_review.apply(this, arguments); } function competition_teams(_x52) { return _competition_teams.apply(this, arguments); } //获取参赛人数 function _competition_teams() { _competition_teams = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee53(data) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee53$(_context53) { while (1) switch (_context53.prev = _context53.next) { case 0: return _context53.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/competitions/".concat(data.identifier, "/competition_teams.json"), { method: 'get', params: data })); case 1: case "end": return _context53.stop(); } }, _callee53); })); return _competition_teams.apply(this, arguments); } function all_team_members(_x53) { return _all_team_members.apply(this, arguments); } function _all_team_members() { _all_team_members = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee54(data) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee54$(_context54) { while (1) switch (_context54.prev = _context54.next) { case 0: return _context54.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/competitions/".concat(data.identifier, "/all_team_members.json"), { method: 'get', params: data })); case 1: case "end": return _context54.stop(); } }, _callee54); })); return _all_team_members.apply(this, arguments); } /***/ }), /***/ 60823: /*!******************************************************!*\ !*** ./src/service/engineering/index.ts + 1 modules ***! \******************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; // EXPORTS __webpack_require__.d(__webpack_exports__, { F: function() { return /* reexport */ exportCourseService; }, OE: function() { return /* reexport */ exportGraduationService; }, ff: function() { return /* reexport */ getCourseResultDetailClass; }, p1: function() { return /* reexport */ getCourseResultDetailService; }, _y: function() { return /* reexport */ getCourseResultsService; }, mK: function() { return /* reexport */ getFormulasService; }, gq: function() { return /* reexport */ getGraduationResultDetailService; }, eM: function() { return /* reexport */ getGraduationResultsService; }, BA: function() { return /* binding */ getMajorListService; }, bA: function() { return /* binding */ getTopPageService; }, Nx: function() { return /* binding */ getYearListService; }, Qx: function() { return /* reexport */ postComputeAllGraduationService; }, At: function() { return /* reexport */ postComputeAllService; }, PX: function() { return /* reexport */ postComputeCourseSingleService; }, Xl: function() { return /* reexport */ postComputeGraduationSingleService; }, y9: function() { return /* reexport */ putFormulasService; }, No: function() { return /* reexport */ putGoalValueService; }, ay: function() { return /* binding */ putTopPageService; } }); // EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/regeneratorRuntime.js var regeneratorRuntime = __webpack_require__(7557); var regeneratorRuntime_default = /*#__PURE__*/__webpack_require__.n(regeneratorRuntime); // EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/asyncToGenerator.js var asyncToGenerator = __webpack_require__(41498); var asyncToGenerator_default = /*#__PURE__*/__webpack_require__.n(asyncToGenerator); // EXTERNAL MODULE: ./src/utils/fetch.ts var fetch = __webpack_require__(55794); // EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/objectSpread2.js var objectSpread2 = __webpack_require__(82242); var objectSpread2_default = /*#__PURE__*/__webpack_require__.n(objectSpread2); // EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/objectWithoutProperties.js var objectWithoutProperties = __webpack_require__(39647); var objectWithoutProperties_default = /*#__PURE__*/__webpack_require__.n(objectWithoutProperties); ;// CONCATENATED MODULE: ./src/service/engineering/evaluate.ts var _excluded = ["id"], _excluded2 = ["ec_year_id", "type", "goal_value"]; /** * 课程评价 * 获取列表数据 * @param id 届别id */ var getCourseResultsService = /*#__PURE__*/function () { var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee(_ref) { var id, params; return regeneratorRuntime_default()().wrap(function _callee$(_context) { while (1) switch (_context.prev = _context.next) { case 0: id = _ref.id, params = objectWithoutProperties_default()(_ref, _excluded); return _context.abrupt("return", (0,fetch/* default */.ZP)("/api/ec_years/".concat(id, "/course_results.json"), { method: 'get', params: params })); case 2: case "end": return _context.stop(); } }, _callee); })); return function getCourseResultsService(_x) { return _ref2.apply(this, arguments); }; }(); /** * 课程评价 * 导出 * @param ec_year_id 届别id */ var exportCourseService = function exportCourseService(ec_year_id) { var el = document.createElement('iframe'); el.src = "/api/ec_years/".concat(ec_year_id, "/course_results.xlsx"); el.style.display = 'none'; document.body.appendChild(el); // return Fetch(`/api/ec_years/${ec_year_id}/course_results.xlsx`, { // method: 'get', // }); }; /** * 课程评价达成分析图获取班级 * @param ec_year_id 届别id */ var getCourseResultDetailClass = function getCourseResultDetailClass(_ref3) { var ec_year_id = _ref3.ec_year_id; return (0,fetch/* default */.ZP)("/api/ec_years/".concat(ec_year_id, "/course_results/get_class.json"), { method: 'get' }); }; /** * 查看具体课程 * @param ec_year_id 届别id * @param id 课程id * @param class_name 选择班级 * */ var getCourseResultDetailService = function getCourseResultDetailService(_ref4) { var ec_year_id = _ref4.ec_year_id, id = _ref4.id, _ref4$class_name = _ref4.class_name, class_name = _ref4$class_name === void 0 ? null : _ref4$class_name; return (0,fetch/* default */.ZP)("/api/ec_years/".concat(ec_year_id, "/course_results/").concat(id, ".json"), { method: 'get', params: { class_name: class_name } }); }; /** * 课程评价 * 全部计算 * @param ec_year_id 届别id */ var postComputeAllService = function postComputeAllService(_ref5) { var ec_year_id = _ref5.ec_year_id; return (0,fetch/* default */.ZP)("/api/ec_courses/1/evaluations/compute_all_courses_data", { method: 'post', body: { ec_year_id: ec_year_id } }); }; /** * 课程评价 * 单个计算 * @param ec_year_id */ var postComputeCourseSingleService = function postComputeCourseSingleService(_ref6) { var ec_course_id = _ref6.ec_course_id; return (0,fetch/* default */.ZP)("/api/ec_courses/".concat(ec_course_id, "/evaluations/evaluation_data"), { method: 'POST' }); }; /** * 指标评价 * 导出 * @param ec_year_id 届别id */ var exportGraduationService = function exportGraduationService(ec_year_id) { var el = document.createElement('iframe'); el.src = "/api/ec_years/".concat(ec_year_id, "/ec_graduation_results.xlsx"); el.style.display = 'none'; document.body.appendChild(el); // return Fetch(`/api/ec_years/${ec_year_id}/ec_graduation_results.xlsx`, { // method: 'get', // }); }; /** * 指标评价 * 全部计算 * @param ec_year_id 届别id */ var postComputeAllGraduationService = function postComputeAllGraduationService(_ref7) { var ec_year_id = _ref7.ec_year_id; return (0,fetch/* default */.ZP)("/api/ec_years/".concat(ec_year_id, "/ec_graduation_results/compute_all"), { method: 'post' }); }; /** * 指标评价 * 单个计算 * @param ec_year_id 届别id * @param id 毕业要求id */ var postComputeGraduationSingleService = function postComputeGraduationSingleService(_ref8) { var ec_year_id = _ref8.ec_year_id, id = _ref8.id; return (0,fetch/* default */.ZP)("/api/ec_years/".concat(ec_year_id, "/ec_graduation_results/compute_single?id=").concat(id), { method: 'POST' }); }; /** * 指标评价 * 获取列表数据 * @param ec_year_id 届别id */ var getGraduationResultsService = function getGraduationResultsService(ec_year_id) { return (0,fetch/* default */.ZP)("/api/ec_years/".concat(ec_year_id, "/ec_graduation_results.json"), { method: 'get' }); }; /** * 指标评价 * 计算公式列表 * @param ec_year_id 届别id */ var getFormulasService = function getFormulasService(ec_year_id) { return (0,fetch/* default */.ZP)("/api/ec_years/".concat(ec_year_id, "/ec_graduation_results/get_formulas.json"), { method: 'get' }); }; /** * 指标评价 * 更新计算公式 * @param ec_year_id 届别id * @param formula_one 指标点达成实际值公式id * @param formula_two 指标点评价结果公式id * @param formula_three 毕业要求达成实际值公式id */ var putFormulasService = function putFormulasService(_ref9) { var ec_year_id = _ref9.ec_year_id, formula_one = _ref9.formula_one, formula_two = _ref9.formula_two, formula_three = _ref9.formula_three; return (0,fetch/* default */.ZP)("/api/ec_years/".concat(ec_year_id, "/ec_graduation_results/set_formulas.json"), { method: 'PUT', body: { formula_one_id: formula_one, formula_two_id: formula_two, formula_three_id: formula_three } }); }; /** * 指标评价 * 获取详情数据 * @param ec_year_id 届别id * @param id 毕业要求id */ var getGraduationResultDetailService = function getGraduationResultDetailService(_ref10) { var ec_year_id = _ref10.ec_year_id, id = _ref10.id; return (0,fetch/* default */.ZP)("/api/ec_years/".concat(ec_year_id, "/ec_graduation_results/").concat(id, ".json"), { method: 'get' }); }; /** * 指标评价 * 设置阈值 * @param ec_year_id 届别ID * @param type all:统一配置,each:单独配置 * @param goal_value 统一配置的阈值 * @param subitems 单独配置的阈值 */ var putGoalValueService = function putGoalValueService(_ref11) { var ec_year_id = _ref11.ec_year_id, type = _ref11.type, goal_value = _ref11.goal_value, rest = objectWithoutProperties_default()(_ref11, _excluded2); var query = "?type=".concat(type); var options = { method: 'PUT' }; if (type === 'all') { query += "&goal_value=".concat(goal_value); } if (type === 'each') { options = objectSpread2_default()(objectSpread2_default()({}, options), {}, { body: rest }); } return (0,fetch/* default */.ZP)("/api/ec_years/".concat(ec_year_id, "/ec_graduation_results/set_goal_value").concat(query), options); }; ;// CONCATENATED MODULE: ./src/service/engineering/index.ts /* * @Author: dengcheng * @Date: 2022-03-30 10:44:21 * @Last Modified by: dengcheng * @Last Modified time: 2022-03-31 15:06:52 * @description: */ /** * 获取学校的已有专业列表 * @param school_id 学校id */ var getMajorListService = /*#__PURE__*/function () { var _ref = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee(school_id) { return regeneratorRuntime_default()().wrap(function _callee$(_context) { while (1) switch (_context.prev = _context.next) { case 0: return _context.abrupt("return", (0,fetch/* default */.ZP)("/api/schools/".concat(school_id, "/ec_majors/get_major_list.json"), { method: 'get' })); case 1: case "end": return _context.stop(); } }, _callee); })); return function getMajorListService(_x) { return _ref.apply(this, arguments); }; }(); /** * 获取专业对应的届别列表 * @param ec_major_school_id 学校专业id */ var getYearListService = /*#__PURE__*/function () { var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee2(ec_major_school_id) { return regeneratorRuntime_default()().wrap(function _callee2$(_context2) { while (1) switch (_context2.prev = _context2.next) { case 0: return _context2.abrupt("return", (0,fetch/* default */.ZP)("/api/ec_major_schools/".concat(ec_major_school_id, "/ec_years/get_year_list.json"), { method: 'get' })); case 1: case "end": return _context2.stop(); } }, _callee2); })); return function getYearListService(_x2) { return _ref2.apply(this, arguments); }; }(); /** * 认证导航首页相关数据 * @param ec_year_id 届别id * @param school_id 学校id */ var getTopPageService = function getTopPageService(_ref3) { var ec_year_id = _ref3.ec_year_id, school_id = _ref3.school_id; return (0,fetch/* default */.ZP)("/api/ec_years/".concat(ec_year_id, "/top_pages.json"), { method: 'get', params: { school_id: school_id } }); }; /** * 更新名称 * @param id 届别id * @param name 名称 */ var putTopPageService = function putTopPageService(_ref4) { var id = _ref4.id, name = _ref4.name; return (0,fetch/* default */.ZP)("/api/ec_years/1/top_pages/".concat(id, "?name=").concat(name), { method: 'PUT' }); }; /***/ }), /***/ 45185: /*!*********************************!*\ !*** ./src/service/exercise.ts ***! \*********************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ $Q: function() { return /* binding */ resetMyGame; }, /* harmony export */ BJ: function() { return /* binding */ getReviewExercise; }, /* harmony export */ CD: function() { return /* binding */ getExerciseStart; }, /* harmony export */ Cl: function() { return /* binding */ checkIp; }, /* harmony export */ Di: function() { return /* binding */ editExerciseQuestion; }, /* harmony export */ Fl: function() { return /* binding */ exeriseQuestionDelete; }, /* harmony export */ G$: function() { return /* binding */ getExerciseList; }, /* harmony export */ GK: function() { return /* binding */ exeriseMoveUpDown; }, /* harmony export */ Ip: function() { return /* binding */ putAdjustScore; }, /* harmony export */ J: function() { return /* binding */ getExerciseIdentityPhotos; }, /* harmony export */ KE: function() { return /* binding */ getEndGroups; }, /* harmony export */ LP: function() { return /* binding */ putBatchAdjustScore; }, /* harmony export */ MK: function() { return /* binding */ addExerciseQuestion; }, /* harmony export */ Mb: function() { return /* binding */ simulateExercise; }, /* harmony export */ N3: function() { return /* binding */ getExerciseCourses; }, /* harmony export */ P8: function() { return /* binding */ saveScreenRecordList; }, /* harmony export */ PJ: function() { return /* binding */ queryIdentityPhotoState; }, /* harmony export */ PT: function() { return /* binding */ exerciseLeftTime; }, /* harmony export */ RK: function() { return /* binding */ getEditQuestionTypeAlias; }, /* harmony export */ Ty: function() { return /* binding */ getExerciseUserInfo; }, /* harmony export */ UH: function() { return /* binding */ getObjectiveScores; }, /* harmony export */ UK: function() { return /* binding */ getCommonHeader; }, /* harmony export */ Uj: function() { return /* binding */ exportList; }, /* harmony export */ Ul: function() { return /* binding */ getWorkSetting; }, /* harmony export */ VL: function() { return /* binding */ submitExerciseAnswer; }, /* harmony export */ Vj: function() { return /* binding */ beginCommit; }, /* harmony export */ W4: function() { return /* binding */ getReviewGroupExercise; }, /* harmony export */ WL: function() { return /* binding */ simulateBeginCommit; }, /* harmony export */ X4: function() { return /* binding */ getCentralizeReviewExercise; }, /* harmony export */ Xn: function() { return /* binding */ getCodeReviewDetail; }, /* harmony export */ YY: function() { return /* binding */ getTagDiscipline; }, /* harmony export */ Yu: function() { return /* binding */ getScreenRecordList; }, /* harmony export */ ZD: function() { return /* binding */ unlockUser; }, /* harmony export */ Zg: function() { return /* binding */ checkExam; }, /* harmony export */ _B: function() { return /* binding */ getExerciseStartAnswer; }, /* harmony export */ _F: function() { return /* binding */ startSimulateAnswer; }, /* harmony export */ _u: function() { return /* binding */ getExerciseStatistics; }, /* harmony export */ ab: function() { return /* binding */ unbindIp; }, /* harmony export */ cC: function() { return /* binding */ allowCloseCamera; }, /* harmony export */ cV: function() { return /* binding */ getQuestionTypeAlias; }, /* harmony export */ ck: function() { return /* binding */ commitScreenAt; }, /* harmony export */ eA: function() { return /* binding */ exitDeletePod; }, /* harmony export */ gG: function() { return /* binding */ changeScore; }, /* harmony export */ gJ: function() { return /* binding */ setEcsAttachment; }, /* harmony export */ iw: function() { return /* binding */ getExerciseExportHeadData; }, /* harmony export */ kp: function() { return /* binding */ submitSimulateExerciseAnswer; }, /* harmony export */ lf: function() { return /* binding */ saveBanks; }, /* harmony export */ n$: function() { return /* binding */ getBrankList; }, /* harmony export */ nF: function() { return /* binding */ startProgram; }, /* harmony export */ o3: function() { return /* binding */ checkRedoStatus; }, /* harmony export */ oS: function() { return /* binding */ putExerciseAdjustScore; }, /* harmony export */ oX: function() { return /* binding */ updateExerciseAnswers; }, /* harmony export */ oy: function() { return /* binding */ recordScreen; }, /* harmony export */ pL: function() { return /* binding */ exerciseStartUnLock; }, /* harmony export */ pu: function() { return /* binding */ postReviewExercise; }, /* harmony export */ q6: function() { return /* binding */ redoExercise; }, /* harmony export */ qf: function() { return /* binding */ editExercise; }, /* harmony export */ qz: function() { return /* binding */ delayedTime; }, /* harmony export */ s: function() { return /* binding */ getRedoListModal; }, /* harmony export */ sA: function() { return /* binding */ getExaminationIntelligentSettings; }, /* harmony export */ sS: function() { return /* binding */ markQuestion; }, /* harmony export */ tX: function() { return /* binding */ getRedoModal; }, /* harmony export */ uR: function() { return /* binding */ addExercise; }, /* harmony export */ ux: function() { return /* binding */ getPublishGroups; }, /* harmony export */ wh: function() { return /* binding */ makeUpStudents; }, /* harmony export */ wy: function() { return /* binding */ putExercise; }, /* harmony export */ xA: function() { return /* binding */ getUserExercise; }, /* harmony export */ yu: function() { return /* binding */ getRandomEditExercises; } /* harmony export */ }); /* unused harmony exports getVideoPushUrl, updateSetting */ /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/regeneratorRuntime.js */ 7557); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/objectSpread2.js */ 82242); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1__); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/asyncToGenerator.js */ 41498); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2__); /* harmony import */ var _utils_fetch__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/utils/fetch */ 55794); // 在线考试-获取试卷-题型名称 var getQuestionTypeAlias = function getQuestionTypeAlias(params) { return (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/exercises/".concat(params.id, "/get_question_type_alias.json"), { method: 'get', params: params }); }; // 在线考试-编辑试卷-重命名 function getEditQuestionTypeAlias(_x) { return _getEditQuestionTypeAlias.apply(this, arguments); } //试卷详情答题列表 function _getEditQuestionTypeAlias() { _getEditQuestionTypeAlias = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee$(_context) { while (1) switch (_context.prev = _context.next) { case 0: return _context.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/exercises/".concat(params.id, "/edit_question_type_alias.json"), { method: 'POST', body: params })); case 1: case "end": return _context.stop(); } }, _callee); })); return _getEditQuestionTypeAlias.apply(this, arguments); } function getExerciseList(_x2) { return _getExerciseList.apply(this, arguments); } // 人脸审核列表 function _getExerciseList() { _getExerciseList = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee2(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee2$(_context2) { while (1) switch (_context2.prev = _context2.next) { case 0: return _context2.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/exercises/".concat(params.categoryId, "/exercise_lists.json"), { method: 'get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context2.stop(); } }, _callee2); })); return _getExerciseList.apply(this, arguments); } function getExerciseIdentityPhotos(_x3) { return _getExerciseIdentityPhotos.apply(this, arguments); } function _getExerciseIdentityPhotos() { _getExerciseIdentityPhotos = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee3(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee3$(_context3) { while (1) switch (_context3.prev = _context3.next) { case 0: return _context3.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/exercises/".concat(params.categoryId, "/exercise_identity_photos.json"), { method: 'get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context3.stop(); } }, _callee3); })); return _getExerciseIdentityPhotos.apply(this, arguments); } function getVideoPushUrl(_x4) { return _getVideoPushUrl.apply(this, arguments); } function _getVideoPushUrl() { _getVideoPushUrl = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee4(params) { return _regeneratorRuntime().wrap(function _callee4$(_context4) { while (1) switch (_context4.prev = _context4.next) { case 0: return _context4.abrupt("return", Fetch("/api/exercises/".concat(params.categoryId, "/video_push_url.json"), { method: 'get', params: _objectSpread({}, params) })); case 1: case "end": return _context4.stop(); } }, _callee4); })); return _getVideoPushUrl.apply(this, arguments); } function queryIdentityPhotoState(_x5) { return _queryIdentityPhotoState.apply(this, arguments); } //试卷统计 function _queryIdentityPhotoState() { _queryIdentityPhotoState = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee5(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee5$(_context5) { while (1) switch (_context5.prev = _context5.next) { case 0: return _context5.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/exercises/".concat(params.categoryId, "/query_identity_photo_state.json"), { method: 'get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context5.stop(); } }, _callee5); })); return _queryIdentityPhotoState.apply(this, arguments); } function getExerciseStatistics(_x6) { return _getExerciseStatistics.apply(this, arguments); } // 题库列表 function _getExerciseStatistics() { _getExerciseStatistics = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee6(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee6$(_context6) { while (1) switch (_context6.prev = _context6.next) { case 0: return _context6.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/exercises/".concat(params.categoryId, "/exercise_result.json"), { method: 'get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context6.stop(); } }, _callee6); })); return _getExerciseStatistics.apply(this, arguments); } function getBrankList(_x7) { return _getBrankList.apply(this, arguments); } // 保存题库 function _getBrankList() { _getBrankList = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee7(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee7$(_context7) { while (1) switch (_context7.prev = _context7.next) { case 0: return _context7.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/question_banks/bank_list.json", { method: 'get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context7.stop(); } }, _callee7); })); return _getBrankList.apply(this, arguments); } function saveBanks(_x8) { return _saveBanks.apply(this, arguments); } // 获取班级列表 publish_modal function _saveBanks() { _saveBanks = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee8(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee8$(_context8) { while (1) switch (_context8.prev = _context8.next) { case 0: return _context8.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/question_banks/save_banks.json", { method: 'POST', body: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context8.stop(); } }, _callee8); })); return _saveBanks.apply(this, arguments); } function getExerciseCourses(_x9) { return _getExerciseCourses.apply(this, arguments); } function _getExerciseCourses() { _getExerciseCourses = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee9(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee9$(_context9) { while (1) switch (_context9.prev = _context9.next) { case 0: return _context9.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.coursesId, "/exercises/publish_modal.json"), { method: 'get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context9.stop(); } }, _callee9); })); return _getExerciseCourses.apply(this, arguments); } function getCommonHeader(_x10) { return _getCommonHeader.apply(this, arguments); } // 试卷发送到课堂 // export async function postCoursesPublish(params: any) { // return Fetch(`/api/courses/${params.coursesId}/exercises/publish.json`, { // method: 'get', // body: { ...params }, // }); // } // 新建试卷 function _getCommonHeader() { _getCommonHeader = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee10(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee10$(_context10) { while (1) switch (_context10.prev = _context10.next) { case 0: return _context10.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/exercises/".concat(params.categoryId, "/common_header.json"), { method: 'get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context10.stop(); } }, _callee10); })); return _getCommonHeader.apply(this, arguments); } function addExercise(_x11) { return _addExercise.apply(this, arguments); } // 更新试卷 function _addExercise() { _addExercise = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee11(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee11$(_context11) { while (1) switch (_context11.prev = _context11.next) { case 0: return _context11.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.coursesId, "/exercises.json"), { method: 'post', body: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context11.stop(); } }, _callee11); })); return _addExercise.apply(this, arguments); } function putExercise(_x12) { return _putExercise.apply(this, arguments); } // 编辑数据默认数据 function _putExercise() { _putExercise = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee12(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee12$(_context12) { while (1) switch (_context12.prev = _context12.next) { case 0: return _context12.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/exercises/".concat(params.exerciseId, ".json"), { method: 'put', body: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context12.stop(); } }, _callee12); })); return _putExercise.apply(this, arguments); } function editExercise(_x13) { return _editExercise.apply(this, arguments); } // function _editExercise() { _editExercise = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee13(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee13$(_context13) { while (1) switch (_context13.prev = _context13.next) { case 0: return _context13.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/exercises/".concat(params.categoryId, ".json"), { method: 'get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context13.stop(); } }, _callee13); })); return _editExercise.apply(this, arguments); } function getTagDiscipline(_x14) { return _getTagDiscipline.apply(this, arguments); } // 编辑问题 function _getTagDiscipline() { _getTagDiscipline = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee14(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee14$(_context14) { while (1) switch (_context14.prev = _context14.next) { case 0: return _context14.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/tag_disciplines.json", { method: 'get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context14.stop(); } }, _callee14); })); return _getTagDiscipline.apply(this, arguments); } function editExerciseQuestion(_x15) { return _editExerciseQuestion.apply(this, arguments); } // 添加问题 function _editExerciseQuestion() { _editExerciseQuestion = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee15(params) { var id; return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee15$(_context15) { while (1) switch (_context15.prev = _context15.next) { case 0: id = params.id; delete params.id; return _context15.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/exercise_questions/".concat(id, ".json"), { method: 'put', body: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 3: case "end": return _context15.stop(); } }, _callee15); })); return _editExerciseQuestion.apply(this, arguments); } function addExerciseQuestion(_x16) { return _addExerciseQuestion.apply(this, arguments); } // 上下移 function _addExerciseQuestion() { _addExerciseQuestion = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee16(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee16$(_context16) { while (1) switch (_context16.prev = _context16.next) { case 0: return _context16.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/exercises/".concat(params.categoryId, "/exercise_questions.json"), { method: 'post', body: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context16.stop(); } }, _callee16); })); return _addExerciseQuestion.apply(this, arguments); } function exeriseMoveUpDown(_x17) { return _exeriseMoveUpDown.apply(this, arguments); } // 删除 function _exeriseMoveUpDown() { _exeriseMoveUpDown = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee17(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee17$(_context17) { while (1) switch (_context17.prev = _context17.next) { case 0: return _context17.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/exercise_questions/".concat(params.id, "/up_down.json"), { method: 'post', body: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context17.stop(); } }, _callee17); })); return _exeriseMoveUpDown.apply(this, arguments); } function exeriseQuestionDelete(_x18) { return _exeriseQuestionDelete.apply(this, arguments); } // 截止班级列表 function _exeriseQuestionDelete() { _exeriseQuestionDelete = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee18(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee18$(_context18) { while (1) switch (_context18.prev = _context18.next) { case 0: return _context18.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/exercise_questions/".concat(params.id, ".json"), { method: 'delete' })); case 1: case "end": return _context18.stop(); } }, _callee18); })); return _exeriseQuestionDelete.apply(this, arguments); } function getEndGroups(_x19) { return _getEndGroups.apply(this, arguments); } function _getEndGroups() { _getEndGroups = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee19(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee19$(_context19) { while (1) switch (_context19.prev = _context19.next) { case 0: return _context19.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.coursesId, "/exercises/end_modal.json"), { method: 'get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context19.stop(); } }, _callee19); })); return _getEndGroups.apply(this, arguments); } function getPublishGroups(_x20) { return _getPublishGroups.apply(this, arguments); } function _getPublishGroups() { _getPublishGroups = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee20(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee20$(_context20) { while (1) switch (_context20.prev = _context20.next) { case 0: return _context20.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/exercises/".concat(params.categoryId, "/publish_groups.json"), { method: 'get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context20.stop(); } }, _callee20); })); return _getPublishGroups.apply(this, arguments); } function getReviewExercise(_x21) { return _getReviewExercise.apply(this, arguments); } //个人评阅用到了学员id数组,会出现很多的情况,需要post请求 function _getReviewExercise() { _getReviewExercise = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee21(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee21$(_context21) { while (1) switch (_context21.prev = _context21.next) { case 0: return _context21.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/exercises/".concat(params.exerciseId, "/user_exercise_detail.json"), { method: 'get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context21.stop(); } }, _callee21); })); return _getReviewExercise.apply(this, arguments); } function postReviewExercise(_x22) { return _postReviewExercise.apply(this, arguments); } function _postReviewExercise() { _postReviewExercise = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee22(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee22$(_context22) { while (1) switch (_context22.prev = _context22.next) { case 0: return _context22.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/exercises/".concat(params.exerciseId, "/user_exercise_detail.json"), { method: 'post', body: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context22.stop(); } }, _callee22); })); return _postReviewExercise.apply(this, arguments); } function getCentralizeReviewExercise(_x23) { return _getCentralizeReviewExercise.apply(this, arguments); } // 评阅调分 function _getCentralizeReviewExercise() { _getCentralizeReviewExercise = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee23(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee23$(_context23) { while (1) switch (_context23.prev = _context23.next) { case 0: return _context23.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/exercises/".concat(params.exerciseId, "/teacher_appraise.json"), { method: 'get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context23.stop(); } }, _callee23); })); return _getCentralizeReviewExercise.apply(this, arguments); } function putAdjustScore(_x24) { return _putAdjustScore.apply(this, arguments); } function _putAdjustScore() { _putAdjustScore = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee24(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee24$(_context24) { while (1) switch (_context24.prev = _context24.next) { case 0: return _context24.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/exercise_questions/".concat(params.id, "/adjust_score.json"), { method: 'post', body: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context24.stop(); } }, _callee24); })); return _putAdjustScore.apply(this, arguments); } function putBatchAdjustScore(_x25) { return _putBatchAdjustScore.apply(this, arguments); } function _putBatchAdjustScore() { _putBatchAdjustScore = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee25(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee25$(_context25) { while (1) switch (_context25.prev = _context25.next) { case 0: return _context25.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/exercise_questions/".concat(params.id, "/batch_adjust_score.json"), { method: 'post', body: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context25.stop(); } }, _callee25); })); return _putBatchAdjustScore.apply(this, arguments); } function putExerciseAdjustScore(_x26) { return _putExerciseAdjustScore.apply(this, arguments); } function _putExerciseAdjustScore() { _putExerciseAdjustScore = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee26(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee26$(_context26) { while (1) switch (_context26.prev = _context26.next) { case 0: return _context26.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/exercises/".concat(params.id, "/adjust_score.json"), { method: 'post', body: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context26.stop(); } }, _callee26); })); return _putExerciseAdjustScore.apply(this, arguments); } function delayedTime(_x27) { return _delayedTime.apply(this, arguments); } function _delayedTime() { _delayedTime = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee27(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee27$(_context27) { while (1) switch (_context27.prev = _context27.next) { case 0: return _context27.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/exercises/".concat(params.id, "/delayed_time.json"), { method: 'post', body: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context27.stop(); } }, _callee27); })); return _delayedTime.apply(this, arguments); } function getWorkSetting(_x28) { return _getWorkSetting.apply(this, arguments); } function _getWorkSetting() { _getWorkSetting = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee28(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee28$(_context28) { while (1) switch (_context28.prev = _context28.next) { case 0: return _context28.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/exercises/".concat(params.categoryId, "/exercise_setting.json"), { method: 'get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context28.stop(); } }, _callee28); })); return _getWorkSetting.apply(this, arguments); } function updateSetting(_x29) { return _updateSetting.apply(this, arguments); } function _updateSetting() { _updateSetting = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee29(params) { return _regeneratorRuntime().wrap(function _callee29$(_context29) { while (1) switch (_context29.prev = _context29.next) { case 0: return _context29.abrupt("return", Fetch("/api/exercises/".concat(params.categoryId, "/commit_setting.json"), { method: 'post', body: _objectSpread({}, params) })); case 1: case "end": return _context29.stop(); } }, _callee29); })); return _updateSetting.apply(this, arguments); } function getReviewGroupExercise(_x30) { return _getReviewGroupExercise.apply(this, arguments); } function _getReviewGroupExercise() { _getReviewGroupExercise = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee30(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee30$(_context30) { while (1) switch (_context30.prev = _context30.next) { case 0: return _context30.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/exercises/".concat(params.exerciseId, "/review_exercises_by_students.json"), { method: 'post', body: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context30.stop(); } }, _callee30); })); return _getReviewGroupExercise.apply(this, arguments); } function exportList(_x31) { return _exportList.apply(this, arguments); } function _exportList() { _exportList = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee31(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee31$(_context31) { while (1) switch (_context31.prev = _context31.next) { case 0: return _context31.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/exercises/".concat(params.categoryId, "/exercise_lists.xlsx"), { method: 'get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params), {}, { "export": true }) })); case 1: case "end": return _context31.stop(); } }, _callee31); })); return _exportList.apply(this, arguments); } function getExerciseStartAnswer(params) { return (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/exercises/".concat(params.categoryId, "/user_exercise_detail.json"), { method: 'get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params), {}, { login: null }) }); } function getExerciseStart(params) { return (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/exercises/".concat(params.categoryId, "/start.json"), { method: 'get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) }); } function exerciseStartUnLock(params) { return (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/exercises/".concat(params.categoryId, "/start_unlock.json"), { method: 'post', body: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) }); } function updateExerciseAnswers(_x32) { return _updateExerciseAnswers.apply(this, arguments); } function _updateExerciseAnswers() { _updateExerciseAnswers = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee32(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee32$(_context32) { while (1) switch (_context32.prev = _context32.next) { case 0: return _context32.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/exercise_questions/".concat(params.questionId, "/exercise_answers.json"), { method: 'post', body: params })); case 1: case "end": return _context32.stop(); } }, _callee32); })); return _updateExerciseAnswers.apply(this, arguments); } function submitExerciseAnswer(_x33) { return _submitExerciseAnswer.apply(this, arguments); } function _submitExerciseAnswer() { _submitExerciseAnswer = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee33(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee33$(_context33) { while (1) switch (_context33.prev = _context33.next) { case 0: return _context33.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/exercises/".concat(params.categoryId, "/commit_exercise.json"), { method: 'post', body: params })); case 1: case "end": return _context33.stop(); } }, _callee33); })); return _submitExerciseAnswer.apply(this, arguments); } function submitSimulateExerciseAnswer(_x34) { return _submitSimulateExerciseAnswer.apply(this, arguments); } function _submitSimulateExerciseAnswer() { _submitSimulateExerciseAnswer = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee34(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee34$(_context34) { while (1) switch (_context34.prev = _context34.next) { case 0: return _context34.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/exercises/".concat(params.categoryId, "/simulate_commit_exercise.json"), { method: 'post', body: params })); case 1: case "end": return _context34.stop(); } }, _callee34); })); return _submitSimulateExerciseAnswer.apply(this, arguments); } function redoExercise(_x35) { return _redoExercise.apply(this, arguments); } function _redoExercise() { _redoExercise = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee35(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee35$(_context35) { while (1) switch (_context35.prev = _context35.next) { case 0: return _context35.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/exercises/".concat(params.categoryId, "/redo_exercise.json"), { method: 'post', body: params })); case 1: case "end": return _context35.stop(); } }, _callee35); })); return _redoExercise.apply(this, arguments); } function resetMyGame(params) { return (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/".concat(params.url), { method: 'get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) }); } function startProgram(params) { return (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/problems/".concat(params.id, "/start.json"), { method: 'get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) }); } function beginCommit(params) { return (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/exercises/".concat(params.id, "/begin_commit.json"), { method: 'get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) }); } function simulateBeginCommit(params) { return (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/exercises/".concat(params.id, "/simulate_begin_commit.json"), { method: 'get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) }); } function getExaminationIntelligentSettings(params) { return (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/examination_intelligent_settings/optional_items.json", { method: 'post', body: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) }); } function getRandomEditExercises(params) { console.log("params:", params); return (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/exercises/".concat(params.categoryId, "/edit.json"), { method: 'get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) }); } function getObjectiveScores(params) { return (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/exercises/".concat(params.id, "/get_objective_scores.json"), { method: 'get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) }); } function getRedoModal(params) { return (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/exercises/".concat(params.categoryId, "/redo_modal.json"), { method: 'get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) }); } function getRedoListModal(params) { return (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/exercises/".concat(params.categoryId, "/student_redo_lists.json"), { method: 'get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) }); } function getUserExercise(params) { return (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/exercises/get_user_exercises.json", { method: 'get', params: params }); } function getExerciseExportHeadData(params) { return (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/exercises/".concat(params.id, "/exercise_header.json"), { method: 'get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) }); } // 允许学员不开启摄像头 exercises/:exercise_id/allow_close_camera.json function allowCloseCamera(params) { return (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/exercises/".concat(params.categoryId, "/allow_close_camera.json"), { method: 'post', body: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) }); } // 检查学员是否需要打开摄像头考试 function getExerciseUserInfo(params) { return (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/exercises/".concat(params.categoryId, "/get_exercise_user_info.json"), { method: 'get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) }); } function recordScreen(params) { return (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/exercises/".concat(params.id, "/record_screen"), { method: "post", params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) }); } function unbindIp(params) { return (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/exercises/".concat(params.id, "/unbind_ip.json"), { method: "post", body: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) }); } function checkIp(params) { return (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/exercises/".concat(params.id, "/check_ip.json"), { method: "get", params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) }); } function checkExam(params) { return (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/exercises/".concat(params === null || params === void 0 ? void 0 : params.id, "/check_user_exercise.json"), { method: "get", params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) }); } function makeUpStudents(params) { return (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/exercises/".concat(params.id, "/make_up_students.json"), { method: "get", params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) }); } //试卷代码查重 function getCodeReviewDetail(_x36) { return _getCodeReviewDetail.apply(this, arguments); } //试卷代码查重详情调分 function _getCodeReviewDetail() { _getCodeReviewDetail = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee36(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee36$(_context36) { while (1) switch (_context36.prev = _context36.next) { case 0: return _context36.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.coursesId, "/exercises/code_review_detail.json"), { method: 'get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context36.stop(); } }, _callee36); })); return _getCodeReviewDetail.apply(this, arguments); } function changeScore(_x37) { return _changeScore.apply(this, arguments); } // 试卷库模拟考试生成模拟试卷 function _changeScore() { _changeScore = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee37(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee37$(_context37) { while (1) switch (_context37.prev = _context37.next) { case 0: return _context37.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/exercise_questions/".concat(params.question_id, "/adjust_score.json"), { method: 'post', body: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context37.stop(); } }, _callee37); })); return _changeScore.apply(this, arguments); } function simulateExercise(_x38) { return _simulateExercise.apply(this, arguments); } // 课堂试卷模拟考试生成模拟试卷 function _simulateExercise() { _simulateExercise = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee38(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee38$(_context38) { while (1) switch (_context38.prev = _context38.next) { case 0: return _context38.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/examination_banks/".concat(params.categoryId, "/simulate_exercise.json"), { method: 'post', body: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context38.stop(); } }, _callee38); })); return _simulateExercise.apply(this, arguments); } function startSimulateAnswer(_x39) { return _startSimulateAnswer.apply(this, arguments); } // 学员考试试卷剩余时间 function _startSimulateAnswer() { _startSimulateAnswer = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee39(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee39$(_context39) { while (1) switch (_context39.prev = _context39.next) { case 0: return _context39.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/exercises/".concat(params.categoryId, "/simulate_start_answer.json"), { method: 'get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context39.stop(); } }, _callee39); })); return _startSimulateAnswer.apply(this, arguments); } function exerciseLeftTime(_x40) { return _exerciseLeftTime.apply(this, arguments); } function _exerciseLeftTime() { _exerciseLeftTime = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee40(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee40$(_context40) { while (1) switch (_context40.prev = _context40.next) { case 0: return _context40.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/exercises/".concat(params.categoryId, "/exercise_time.json"), { method: 'get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context40.stop(); } }, _callee40); })); return _exerciseLeftTime.apply(this, arguments); } function commitScreenAt(_x41) { return _commitScreenAt.apply(this, arguments); } function _commitScreenAt() { _commitScreenAt = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee41(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee41$(_context41) { while (1) switch (_context41.prev = _context41.next) { case 0: return _context41.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/exercises/".concat(params.categoryId, "/commit_screen_at.json"), { method: 'post', body: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context41.stop(); } }, _callee41); })); return _commitScreenAt.apply(this, arguments); } function unlockUser(_x42, _x43) { return _unlockUser.apply(this, arguments); } function _unlockUser() { _unlockUser = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee42(id, params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee42$(_context42) { while (1) switch (_context42.prev = _context42.next) { case 0: return _context42.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/exercises/".concat(id, "/unlock_user"), { method: 'post', body: params })); case 1: case "end": return _context42.stop(); } }, _callee42); })); return _unlockUser.apply(this, arguments); } function saveScreenRecordList(_x44, _x45) { return _saveScreenRecordList.apply(this, arguments); } function _saveScreenRecordList() { _saveScreenRecordList = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee43(exerciseId, params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee43$(_context43) { while (1) switch (_context43.prev = _context43.next) { case 0: return _context43.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/exercises/".concat(exerciseId, "/save_screen_record.json"), { method: 'post', body: params })); case 1: case "end": return _context43.stop(); } }, _callee43); })); return _saveScreenRecordList.apply(this, arguments); } function getScreenRecordList(_x46, _x47) { return _getScreenRecordList.apply(this, arguments); } function _getScreenRecordList() { _getScreenRecordList = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee44(exerciseId, params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee44$(_context44) { while (1) switch (_context44.prev = _context44.next) { case 0: return _context44.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/exercises/".concat(exerciseId, "/screen_record_list.json"), { method: 'get', params: params })); case 1: case "end": return _context44.stop(); } }, _callee44); })); return _getScreenRecordList.apply(this, arguments); } function setEcsAttachment(_x48) { return _setEcsAttachment.apply(this, arguments); } function _setEcsAttachment() { _setEcsAttachment = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee45(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee45$(_context45) { while (1) switch (_context45.prev = _context45.next) { case 0: return _context45.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/attachments/set_ecs_attachment.json", { method: 'get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context45.stop(); } }, _callee45); })); return _setEcsAttachment.apply(this, arguments); } function checkRedoStatus(_x49) { return _checkRedoStatus.apply(this, arguments); } function _checkRedoStatus() { _checkRedoStatus = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee46(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee46$(_context46) { while (1) switch (_context46.prev = _context46.next) { case 0: return _context46.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/exercises/need_redo.json", { method: 'get', params: params })); case 1: case "end": return _context46.stop(); } }, _callee46); })); return _checkRedoStatus.apply(this, arguments); } function markQuestion(_x50, _x51) { return _markQuestion.apply(this, arguments); } //退出tpi界面 释放资源 function _markQuestion() { _markQuestion = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee47(id, params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee47$(_context47) { while (1) switch (_context47.prev = _context47.next) { case 0: return _context47.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/exercises/".concat(id, "/mark.json"), { method: 'post', body: params })); case 1: case "end": return _context47.stop(); } }, _callee47); })); return _markQuestion.apply(this, arguments); } function exitDeletePod(_x52) { return _exitDeletePod.apply(this, arguments); } function _exitDeletePod() { _exitDeletePod = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee48(data) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee48$(_context48) { while (1) switch (_context48.prev = _context48.next) { case 0: return _context48.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/myshixuns/".concat(data, "/exit_delete_pod.json"), { method: 'post', body: data })); case 1: case "end": return _context48.stop(); } }, _callee48); })); return _exitDeletePod.apply(this, arguments); } /***/ }), /***/ 84942: /*!*******************************!*\ !*** ./src/service/forums.ts ***! \*******************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ B0: function() { return /* binding */ stickyOrCancel; }, /* harmony export */ Si: function() { return /* binding */ getForumsDetailData; }, /* harmony export */ Sr: function() { return /* binding */ cancelWatch; }, /* harmony export */ YP: function() { return /* binding */ watch; }, /* harmony export */ b4: function() { return /* binding */ updateForums; }, /* harmony export */ bc: function() { return /* binding */ getForumsData; }, /* harmony export */ dX: function() { return /* binding */ newForums; }, /* harmony export */ eh: function() { return /* binding */ rewardCode; }, /* harmony export */ iI: function() { return /* binding */ getForumsNewData; }, /* harmony export */ kd: function() { return /* binding */ getForumsShixunData; }, /* harmony export */ qR: function() { return /* binding */ getForumsEditData; }, /* harmony export */ sW: function() { return /* binding */ deleteForums; }, /* harmony export */ ts: function() { return /* binding */ reply; }, /* harmony export */ vL: function() { return /* binding */ like; }, /* harmony export */ z5: function() { return /* binding */ getMoreReply; } /* harmony export */ }); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/objectSpread2.js */ 82242); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0__); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/regeneratorRuntime.js */ 7557); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1__); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/asyncToGenerator.js */ 41498); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2__); /* harmony import */ var _utils_fetch__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/utils/fetch */ 55794); function getForumsData(_x) { return _getForumsData.apply(this, arguments); } function _getForumsData() { _getForumsData = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee$(_context) { while (1) switch (_context.prev = _context.next) { case 0: return _context.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/memos.json", { method: 'get', params: params })); case 1: case "end": return _context.stop(); } }, _callee); })); return _getForumsData.apply(this, arguments); } function getForumsShixunData(_x2) { return _getForumsShixunData.apply(this, arguments); } function _getForumsShixunData() { _getForumsShixunData = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee2(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee2$(_context2) { while (1) switch (_context2.prev = _context2.next) { case 0: return _context2.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/discusses/forum_discusses.json", { method: 'get', params: params })); case 1: case "end": return _context2.stop(); } }, _callee2); })); return _getForumsShixunData.apply(this, arguments); } function stickyOrCancel(_x3) { return _stickyOrCancel.apply(this, arguments); } function _stickyOrCancel() { _stickyOrCancel = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee3(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee3$(_context3) { while (1) switch (_context3.prev = _context3.next) { case 0: return _context3.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/memos/".concat(params.id, "/sticky_or_cancel.json"), { method: 'post', body: params })); case 1: case "end": return _context3.stop(); } }, _callee3); })); return _stickyOrCancel.apply(this, arguments); } function deleteForums(_x4) { return _deleteForums.apply(this, arguments); } function _deleteForums() { _deleteForums = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee4(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee4$(_context4) { while (1) switch (_context4.prev = _context4.next) { case 0: return _context4.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/memos/".concat(params.id, ".json"), { method: 'delete', body: params })); case 1: case "end": return _context4.stop(); } }, _callee4); })); return _deleteForums.apply(this, arguments); } function getForumsNewData(_x5) { return _getForumsNewData.apply(this, arguments); } function _getForumsNewData() { _getForumsNewData = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee5(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee5$(_context5) { while (1) switch (_context5.prev = _context5.next) { case 0: return _context5.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/memos/new.json", { method: 'get', params: params })); case 1: case "end": return _context5.stop(); } }, _callee5); })); return _getForumsNewData.apply(this, arguments); } function getForumsEditData(_x6) { return _getForumsEditData.apply(this, arguments); } function _getForumsEditData() { _getForumsEditData = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee6(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee6$(_context6) { while (1) switch (_context6.prev = _context6.next) { case 0: return _context6.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/memos/".concat(params.id, "/edit.json"), { method: 'get', params: params })); case 1: case "end": return _context6.stop(); } }, _callee6); })); return _getForumsEditData.apply(this, arguments); } function newForums(_x7) { return _newForums.apply(this, arguments); } function _newForums() { _newForums = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee7(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee7$(_context7) { while (1) switch (_context7.prev = _context7.next) { case 0: return _context7.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/memos.json", { method: 'post', body: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params) })); case 1: case "end": return _context7.stop(); } }, _callee7); })); return _newForums.apply(this, arguments); } function updateForums(_x8) { return _updateForums.apply(this, arguments); } function _updateForums() { _updateForums = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee8(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee8$(_context8) { while (1) switch (_context8.prev = _context8.next) { case 0: return _context8.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/memos/".concat(params.id, ".json"), { method: 'put', body: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params) })); case 1: case "end": return _context8.stop(); } }, _callee8); })); return _updateForums.apply(this, arguments); } function getForumsDetailData(_x9) { return _getForumsDetailData.apply(this, arguments); } function _getForumsDetailData() { _getForumsDetailData = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee9(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee9$(_context9) { while (1) switch (_context9.prev = _context9.next) { case 0: return _context9.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/memos/".concat(params.id, ".json"), { method: 'get', params: params })); case 1: case "end": return _context9.stop(); } }, _callee9); })); return _getForumsDetailData.apply(this, arguments); } function watch(_x10) { return _watch.apply(this, arguments); } function _watch() { _watch = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee10(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee10$(_context10) { while (1) switch (_context10.prev = _context10.next) { case 0: return _context10.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/users/".concat(params.user_id, "/watch.json"), { method: 'post', body: params })); case 1: case "end": return _context10.stop(); } }, _callee10); })); return _watch.apply(this, arguments); } function cancelWatch(_x11) { return _cancelWatch.apply(this, arguments); } function _cancelWatch() { _cancelWatch = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee11(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee11$(_context11) { while (1) switch (_context11.prev = _context11.next) { case 0: return _context11.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/users/".concat(params.user_id, "/watch.json"), { method: 'delete', body: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params) })); case 1: case "end": return _context11.stop(); } }, _callee11); })); return _cancelWatch.apply(this, arguments); } function rewardCode(_x12) { return _rewardCode.apply(this, arguments); } function _rewardCode() { _rewardCode = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee12(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee12$(_context12) { while (1) switch (_context12.prev = _context12.next) { case 0: return _context12.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/discusses/".concat(params.id, "/reward_code.json"), { method: 'post', body: params })); case 1: case "end": return _context12.stop(); } }, _callee12); })); return _rewardCode.apply(this, arguments); } function like(_x13) { return _like.apply(this, arguments); } function _like() { _like = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee13(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee13$(_context13) { while (1) switch (_context13.prev = _context13.next) { case 0: return _context13.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/discusses/".concat(params.id, "/plus.json"), { method: 'post', body: params })); case 1: case "end": return _context13.stop(); } }, _callee13); })); return _like.apply(this, arguments); } function reply(_x14) { return _reply.apply(this, arguments); } function _reply() { _reply = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee14(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee14$(_context14) { while (1) switch (_context14.prev = _context14.next) { case 0: return _context14.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/memos/reply.json", { method: 'post', body: params })); case 1: case "end": return _context14.stop(); } }, _callee14); })); return _reply.apply(this, arguments); } function getMoreReply(_x15) { return _getMoreReply.apply(this, arguments); } function _getMoreReply() { _getMoreReply = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee15(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee15$(_context15) { while (1) switch (_context15.prev = _context15.next) { case 0: return _context15.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/memos/".concat(params.id, "/more_reply.json"), { method: 'get', params: params })); case 1: case "end": return _context15.stop(); } }, _callee15); })); return _getMoreReply.apply(this, arguments); } /***/ }), /***/ 24261: /*!*******************************!*\ !*** ./src/service/global.ts ***! \*******************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ D2: function() { return /* binding */ getGlobalSetting; }, /* harmony export */ n0: function() { return /* binding */ getSystemUpdate; }, /* harmony export */ tk: function() { return /* binding */ addSearchRecord; } /* harmony export */ }); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/regeneratorRuntime.js */ 7557); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/asyncToGenerator.js */ 41498); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__); /* harmony import */ var _utils_fetch__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/utils/fetch */ 55794); //获取所有频道 function getGlobalSetting() { return _getGlobalSetting.apply(this, arguments); } function _getGlobalSetting() { _getGlobalSetting = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee() { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee$(_context) { while (1) switch (_context.prev = _context.next) { case 0: return _context.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)('/api/setting.json', { method: 'Get' })); case 1: case "end": return _context.stop(); } }, _callee); })); return _getGlobalSetting.apply(this, arguments); } function getSystemUpdate() { return _getSystemUpdate.apply(this, arguments); } //添加搜索记录 function _getSystemUpdate() { _getSystemUpdate = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee2() { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee2$(_context2) { while (1) switch (_context2.prev = _context2.next) { case 0: return _context2.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)('/api/users/system_update.json', { method: 'Get' })); case 1: case "end": return _context2.stop(); } }, _callee2); })); return _getSystemUpdate.apply(this, arguments); } function addSearchRecord(_x) { return _addSearchRecord.apply(this, arguments); } function _addSearchRecord() { _addSearchRecord = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee3(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee3$(_context3) { while (1) switch (_context3.prev = _context3.next) { case 0: return _context3.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)('/api/search_records', { method: 'post', body: params })); case 1: case "end": return _context3.stop(); } }, _callee3); })); return _addSearchRecord.apply(this, arguments); } /***/ }), /***/ 52747: /*!***********************************!*\ !*** ./src/service/graduation.ts ***! \***********************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ B6: function() { return /* binding */ getTopisDetail; }, /* harmony export */ Gr: function() { return /* binding */ addTopic; }, /* harmony export */ Mf: function() { return /* binding */ deleteReply; }, /* harmony export */ NA: function() { return /* binding */ replyLike; }, /* harmony export */ PC: function() { return /* binding */ getReplyList; }, /* harmony export */ PP: function() { return /* binding */ createReply; }, /* harmony export */ QA: function() { return /* binding */ getTasksListDetail; }, /* harmony export */ RP: function() { return /* binding */ editTasks; }, /* harmony export */ Sv: function() { return /* binding */ addTasks; }, /* harmony export */ YQ: function() { return /* binding */ replyUnLike; }, /* harmony export */ _n: function() { return /* binding */ editTasksDefaultData; }, /* harmony export */ hL: function() { return /* binding */ editTopicDefaultData; }, /* harmony export */ je: function() { return /* binding */ agreeTopic; }, /* harmony export */ mM: function() { return /* binding */ refuseTopic; }, /* harmony export */ wA: function() { return /* binding */ editTopic; }, /* harmony export */ x_: function() { return /* binding */ getTopisDetailList; }, /* harmony export */ y0: function() { return /* binding */ addTopicDefaultData; }, /* harmony export */ y3: function() { return /* binding */ getTasksDetail; } /* harmony export */ }); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/regeneratorRuntime.js */ 7557); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/objectSpread2.js */ 82242); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1__); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/asyncToGenerator.js */ 41498); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2__); /* harmony import */ var _utils_fetch__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/utils/fetch */ 55794); function getTasksDetail(_x) { return _getTasksDetail.apply(this, arguments); } function _getTasksDetail() { _getTasksDetail = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee$(_context) { while (1) switch (_context.prev = _context.next) { case 0: return _context.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/graduation_tasks/".concat(params.categoryId, ".json"), { method: 'get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context.stop(); } }, _callee); })); return _getTasksDetail.apply(this, arguments); } function getTasksListDetail(_x2) { return _getTasksListDetail.apply(this, arguments); } function _getTasksListDetail() { _getTasksListDetail = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee2(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee2$(_context2) { while (1) switch (_context2.prev = _context2.next) { case 0: return _context2.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/graduation_tasks/".concat(params.categoryId, "/tasks_list.json"), { method: 'get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context2.stop(); } }, _callee2); })); return _getTasksListDetail.apply(this, arguments); } function getTopisDetail(_x3) { return _getTopisDetail.apply(this, arguments); } function _getTopisDetail() { _getTopisDetail = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee3(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee3$(_context3) { while (1) switch (_context3.prev = _context3.next) { case 0: return _context3.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.coursesId, "/graduation_topics/").concat(params.categoryId, "/show_detail.json"), { method: 'get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context3.stop(); } }, _callee3); })); return _getTopisDetail.apply(this, arguments); } function getTopisDetailList(_x4) { return _getTopisDetailList.apply(this, arguments); } function _getTopisDetailList() { _getTopisDetailList = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee4(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee4$(_context4) { while (1) switch (_context4.prev = _context4.next) { case 0: return _context4.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.coursesId, "/graduation_topics/").concat(params.categoryId, ".json"), { method: 'get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context4.stop(); } }, _callee4); })); return _getTopisDetailList.apply(this, arguments); } function refuseTopic(_x5) { return _refuseTopic.apply(this, arguments); } function _refuseTopic() { _refuseTopic = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee5(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee5$(_context5) { while (1) switch (_context5.prev = _context5.next) { case 0: return _context5.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.coursesId, "/graduation_topics/").concat(params.categoryId, "/refuse_student_topic.json"), { method: 'post', body: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context5.stop(); } }, _callee5); })); return _refuseTopic.apply(this, arguments); } function agreeTopic(_x6) { return _agreeTopic.apply(this, arguments); } function _agreeTopic() { _agreeTopic = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee6(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee6$(_context6) { while (1) switch (_context6.prev = _context6.next) { case 0: return _context6.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.coursesId, "/graduation_topics/").concat(params.categoryId, "/accept_student_topic.json"), { method: 'post', body: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context6.stop(); } }, _callee6); })); return _agreeTopic.apply(this, arguments); } function getReplyList(_x7) { return _getReplyList.apply(this, arguments); } function _getReplyList() { _getReplyList = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee7(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee7$(_context7) { while (1) switch (_context7.prev = _context7.next) { case 0: return _context7.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/homework_commons/".concat(params.categoryId, "/show_comment.json"), { method: 'get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context7.stop(); } }, _callee7); })); return _getReplyList.apply(this, arguments); } function createReply(_x8) { return _createReply.apply(this, arguments); } function _createReply() { _createReply = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee8(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee8$(_context8) { while (1) switch (_context8.prev = _context8.next) { case 0: return _context8.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/users/reply_message.json", { method: 'post', body: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context8.stop(); } }, _callee8); })); return _createReply.apply(this, arguments); } function replyLike(_x9) { return _replyLike.apply(this, arguments); } function _replyLike() { _replyLike = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee9(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee9$(_context9) { while (1) switch (_context9.prev = _context9.next) { case 0: return _context9.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/praise_tread/like.json", { method: 'post', body: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context9.stop(); } }, _callee9); })); return _replyLike.apply(this, arguments); } function replyUnLike(_x10) { return _replyUnLike.apply(this, arguments); } function _replyUnLike() { _replyUnLike = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee10(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee10$(_context10) { while (1) switch (_context10.prev = _context10.next) { case 0: return _context10.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/praise_tread/unlike.json", { method: 'delete', body: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context10.stop(); } }, _callee10); })); return _replyUnLike.apply(this, arguments); } function deleteReply(_x11) { return _deleteReply.apply(this, arguments); } function _deleteReply() { _deleteReply = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee11(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee11$(_context11) { while (1) switch (_context11.prev = _context11.next) { case 0: return _context11.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/commons/delete.json", { method: 'delete', body: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context11.stop(); } }, _callee11); })); return _deleteReply.apply(this, arguments); } function addTopicDefaultData(_x12) { return _addTopicDefaultData.apply(this, arguments); } function _addTopicDefaultData() { _addTopicDefaultData = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee12(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee12$(_context12) { while (1) switch (_context12.prev = _context12.next) { case 0: return _context12.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.coursesId, "/graduation_topics/new.json"), { method: 'get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context12.stop(); } }, _callee12); })); return _addTopicDefaultData.apply(this, arguments); } function editTopicDefaultData(_x13) { return _editTopicDefaultData.apply(this, arguments); } function _editTopicDefaultData() { _editTopicDefaultData = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee13(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee13$(_context13) { while (1) switch (_context13.prev = _context13.next) { case 0: return _context13.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.coursesId, "/graduation_topics/").concat(params.categoryId, "/edit.json"), { method: 'get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context13.stop(); } }, _callee13); })); return _editTopicDefaultData.apply(this, arguments); } function addTopic(_x14) { return _addTopic.apply(this, arguments); } function _addTopic() { _addTopic = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee14(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee14$(_context14) { while (1) switch (_context14.prev = _context14.next) { case 0: return _context14.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.coursesId, "/graduation_topics"), { method: 'post', body: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context14.stop(); } }, _callee14); })); return _addTopic.apply(this, arguments); } function editTopic(_x15) { return _editTopic.apply(this, arguments); } function _editTopic() { _editTopic = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee15(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee15$(_context15) { while (1) switch (_context15.prev = _context15.next) { case 0: return _context15.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.coursesId, "/graduation_topics/").concat(params.categoryId), { method: 'put', body: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context15.stop(); } }, _callee15); })); return _editTopic.apply(this, arguments); } function addTasks(_x16) { return _addTasks.apply(this, arguments); } function _addTasks() { _addTasks = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee16(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee16$(_context16) { while (1) switch (_context16.prev = _context16.next) { case 0: return _context16.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.coursesId, "/graduation_tasks"), { method: 'post', body: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context16.stop(); } }, _callee16); })); return _addTasks.apply(this, arguments); } function editTasks(_x17) { return _editTasks.apply(this, arguments); } function _editTasks() { _editTasks = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee17(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee17$(_context17) { while (1) switch (_context17.prev = _context17.next) { case 0: return _context17.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/graduation_tasks/".concat(params.categoryId, ".json"), { method: 'put', body: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context17.stop(); } }, _callee17); })); return _editTasks.apply(this, arguments); } function editTasksDefaultData(_x18) { return _editTasksDefaultData.apply(this, arguments); } function _editTasksDefaultData() { _editTasksDefaultData = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee18(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee18$(_context18) { while (1) switch (_context18.prev = _context18.next) { case 0: return _context18.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/graduation_tasks/".concat(params.categoryId, "/edit.json"), { method: 'get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context18.stop(); } }, _callee18); })); return _editTasksDefaultData.apply(this, arguments); } /***/ }), /***/ 81526: /*!************************************!*\ !*** ./src/service/graduations.ts ***! \************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ AA: function() { return /* binding */ getGraduationsTeachers; }, /* harmony export */ Db: function() { return /* binding */ getGraduationsExportAll; }, /* harmony export */ Dd: function() { return /* binding */ getGraduationsSetNoviceGuide; }, /* harmony export */ F7: function() { return /* binding */ getGraduationsInfo; }, /* harmony export */ Fi: function() { return /* binding */ postGraduationStudentsPass; }, /* harmony export */ H3: function() { return /* binding */ getGraduationsFinalScore; }, /* harmony export */ HF: function() { return /* binding */ getAddGraduationsTeachers; }, /* harmony export */ HH: function() { return /* binding */ getGraduationsSetFinalScore; }, /* harmony export */ Ib: function() { return /* binding */ postGraduationTeachersNotPass; }, /* harmony export */ J3: function() { return /* binding */ getGraduations; }, /* harmony export */ NT: function() { return /* binding */ getSchoolsList; }, /* harmony export */ NX: function() { return /* binding */ getAddGraduationsStudents; }, /* harmony export */ Ot: function() { return /* binding */ getAddGraduationsUpdateMajor; }, /* harmony export */ Ou: function() { return /* binding */ getGraduationsDetails; }, /* harmony export */ Ps: function() { return /* binding */ getDepartments; }, /* harmony export */ Rk: function() { return /* binding */ getGraduationsNotices; }, /* harmony export */ Tz: function() { return /* binding */ getGraduationsExportStatus; }, /* harmony export */ V1: function() { return /* binding */ postGraduationTeachersPass; }, /* harmony export */ Wz: function() { return /* binding */ postGraduations; }, /* harmony export */ Xh: function() { return /* binding */ getGraduationsStageDetails; }, /* harmony export */ Xw: function() { return /* binding */ getGraduationsTasks; }, /* harmony export */ YS: function() { return /* binding */ getPutGraduationsTasks; }, /* harmony export */ Zd: function() { return /* binding */ postGraduationStudentsNotPass; }, /* harmony export */ bS: function() { return /* binding */ getGraduationsTeacherSearch; }, /* harmony export */ ck: function() { return /* binding */ getGraduationsSetdo; }, /* harmony export */ eh: function() { return /* binding */ getGraduationsStudents; }, /* harmony export */ il: function() { return /* binding */ getGraduationsAuthorizedRedelivery; }, /* harmony export */ j7: function() { return /* binding */ getGraduationsSubmit; }, /* harmony export */ jW: function() { return /* binding */ getCreateGraduationsTasks; }, /* harmony export */ km: function() { return /* binding */ getDelGraduationsTasks; }, /* harmony export */ l5: function() { return /* binding */ getGraduationsStudentsSearch; }, /* harmony export */ rU: function() { return /* binding */ deleteGraduationStudents; }, /* harmony export */ xF: function() { return /* binding */ getGraduationsSchoolSearch; }, /* harmony export */ zC: function() { return /* binding */ getGraduationPreview; }, /* harmony export */ zT: function() { return /* binding */ deleteGraduationTeachers; } /* harmony export */ }); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/regeneratorRuntime.js */ 7557); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/asyncToGenerator.js */ 41498); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__); /* harmony import */ var _utils_fetch__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/utils/fetch */ 55794); // 毕设-新建毕设-查询学校列表 function getSchoolsList(params) { return (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/schools/search.json", { method: 'get', params: params }); } // 毕设-新建毕设-查询学院列表 function getDepartments(params) { return (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/schools/".concat(params.id, "/departments/for_option.json"), { method: 'get', params: params }); } // 毕设-新建毕设 function postGraduations(params) { return (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/graduations.json", { method: 'POST', body: params }); } // 毕设-新建毕设 function getGraduations(params) { return (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/graduations.json", { method: 'get', params: params }); } // 老师授权补交接口 function getGraduationsAuthorizedRedelivery(_x) { return _getGraduationsAuthorizedRedelivery.apply(this, arguments); } // 学员提交文档或老师下达任务书接口 function _getGraduationsAuthorizedRedelivery() { _getGraduationsAuthorizedRedelivery = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee$(_context) { while (1) switch (_context.prev = _context.next) { case 0: return _context.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/graduations/".concat(params.identifier, "/graduation_stages/").concat(params.stageid, "/authorized_redelivery.json"), { method: 'POST', body: params })); case 1: case "end": return _context.stop(); } }, _callee); })); return _getGraduationsAuthorizedRedelivery.apply(this, arguments); } function getGraduationsSubmit(_x2) { return _getGraduationsSubmit.apply(this, arguments); } // 归档 - 归档文件生成状态 function _getGraduationsSubmit() { _getGraduationsSubmit = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee2(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee2$(_context2) { while (1) switch (_context2.prev = _context2.next) { case 0: return _context2.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/graduations/".concat(params.identifier, "/graduation_stages/").concat(params.stageid, "/submit.json"), { method: 'POST', body: params })); case 1: case "end": return _context2.stop(); } }, _callee2); })); return _getGraduationsSubmit.apply(this, arguments); } function getGraduationsExportStatus(_x3) { return _getGraduationsExportStatus.apply(this, arguments); } // 归档 - 生成归档文件 function _getGraduationsExportStatus() { _getGraduationsExportStatus = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee3(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee3$(_context3) { while (1) switch (_context3.prev = _context3.next) { case 0: return _context3.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/graduations/".concat(params.id, "/student_tasks/export_status.json"), { method: 'get', params: params })); case 1: case "end": return _context3.stop(); } }, _callee3); })); return _getGraduationsExportStatus.apply(this, arguments); } function getGraduationsExportAll(_x4) { return _getGraduationsExportAll.apply(this, arguments); } // 任务书~归档 - 毕设阶段详情接口 function _getGraduationsExportAll() { _getGraduationsExportAll = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee4(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee4$(_context4) { while (1) switch (_context4.prev = _context4.next) { case 0: return _context4.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/graduations/".concat(params.id, "/student_tasks/export_all_attachments.json"), { method: 'get', params: params })); case 1: case "end": return _context4.stop(); } }, _callee4); })); return _getGraduationsExportAll.apply(this, arguments); } function getGraduationsStageDetails(_x5) { return _getGraduationsStageDetails.apply(this, arguments); } // 毕设成绩-最终成绩-评分 function _getGraduationsStageDetails() { _getGraduationsStageDetails = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee5(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee5$(_context5) { while (1) switch (_context5.prev = _context5.next) { case 0: return _context5.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/graduations/".concat(params.identifier, "/graduation_stages/").concat(params.id, ".json"), { method: 'get', params: params })); case 1: case "end": return _context5.stop(); } }, _callee5); })); return _getGraduationsStageDetails.apply(this, arguments); } function getGraduationsSetFinalScore(_x6) { return _getGraduationsSetFinalScore.apply(this, arguments); } // 毕设成绩-成绩查询 function _getGraduationsSetFinalScore() { _getGraduationsSetFinalScore = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee6(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee6$(_context6) { while (1) switch (_context6.prev = _context6.next) { case 0: return _context6.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/graduations/".concat(params.id, "/student_tasks/set_final_score.json"), { method: 'POST', body: params })); case 1: case "end": return _context6.stop(); } }, _callee6); })); return _getGraduationsSetFinalScore.apply(this, arguments); } function getGraduationsFinalScore(_x7) { return _getGraduationsFinalScore.apply(this, arguments); } // 毕设概览-指南-收起和展开 function _getGraduationsFinalScore() { _getGraduationsFinalScore = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee7(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee7$(_context7) { while (1) switch (_context7.prev = _context7.next) { case 0: return _context7.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/graduations/".concat(params.id, "/student_tasks/final_score.json"), { method: 'get', params: params })); case 1: case "end": return _context7.stop(); } }, _callee7); })); return _getGraduationsFinalScore.apply(this, arguments); } function getGraduationsSetNoviceGuide(_x8) { return _getGraduationsSetNoviceGuide.apply(this, arguments); } // 毕设概览-动态消息-设置已读 function _getGraduationsSetNoviceGuide() { _getGraduationsSetNoviceGuide = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee8(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee8$(_context8) { while (1) switch (_context8.prev = _context8.next) { case 0: return _context8.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/graduations/".concat(params.id, "/set_novice_guide.json"), { method: 'POST', body: params })); case 1: case "end": return _context8.stop(); } }, _callee8); })); return _getGraduationsSetNoviceGuide.apply(this, arguments); } function getGraduationsSetdo(_x9) { return _getGraduationsSetdo.apply(this, arguments); } // 人员管理-添加老师-添加 /api/graduations/{graduation_id}/graduation_notices/{id}/set_do.json function _getGraduationsSetdo() { _getGraduationsSetdo = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee9(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee9$(_context9) { while (1) switch (_context9.prev = _context9.next) { case 0: return _context9.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/graduations/".concat(params.id, "/graduation_notices/").concat(params.doid, "/set_do.json"), { method: 'POST', body: params })); case 1: case "end": return _context9.stop(); } }, _callee9); })); return _getGraduationsSetdo.apply(this, arguments); } function getAddGraduationsTeachers(_x10) { return _getAddGraduationsTeachers.apply(this, arguments); } // 人员管理-学员-编辑 function _getAddGraduationsTeachers() { _getAddGraduationsTeachers = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee10(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee10$(_context10) { while (1) switch (_context10.prev = _context10.next) { case 0: return _context10.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/graduations/".concat(params.id, "/graduation_teachers.json"), { method: 'POST', body: params })); case 1: case "end": return _context10.stop(); } }, _callee10); })); return _getAddGraduationsTeachers.apply(this, arguments); } function getAddGraduationsUpdateMajor(_x11) { return _getAddGraduationsUpdateMajor.apply(this, arguments); } // 人员管理-添加学员-添加 function _getAddGraduationsUpdateMajor() { _getAddGraduationsUpdateMajor = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee11(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee11$(_context11) { while (1) switch (_context11.prev = _context11.next) { case 0: return _context11.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/graduations/".concat(params.identifier, "/graduation_students/").concat(params.id, "/update_major.json"), { method: 'PUT', body: params })); case 1: case "end": return _context11.stop(); } }, _callee11); })); return _getAddGraduationsUpdateMajor.apply(this, arguments); } function getAddGraduationsStudents(_x12) { return _getAddGraduationsStudents.apply(this, arguments); } // 人员管理-添加老师-搜索 function _getAddGraduationsStudents() { _getAddGraduationsStudents = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee12(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee12$(_context12) { while (1) switch (_context12.prev = _context12.next) { case 0: return _context12.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/graduations/".concat(params.id, "/graduation_students.json"), { method: 'POST', body: params })); case 1: case "end": return _context12.stop(); } }, _callee12); })); return _getAddGraduationsStudents.apply(this, arguments); } function getGraduationsTeacherSearch(_x13) { return _getGraduationsTeacherSearch.apply(this, arguments); } // 人员管理-搜索单位 function _getGraduationsTeacherSearch() { _getGraduationsTeacherSearch = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee13(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee13$(_context13) { while (1) switch (_context13.prev = _context13.next) { case 0: return _context13.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/graduations/".concat(params.id, "/graduation_teachers/search.json"), { method: 'get', params: params })); case 1: case "end": return _context13.stop(); } }, _callee13); })); return _getGraduationsTeacherSearch.apply(this, arguments); } function getGraduationsSchoolSearch(_x14) { return _getGraduationsSchoolSearch.apply(this, arguments); } // 人员管理-添加学员-搜索 function _getGraduationsSchoolSearch() { _getGraduationsSchoolSearch = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee14(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee14$(_context14) { while (1) switch (_context14.prev = _context14.next) { case 0: return _context14.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/schools/search.json", { method: 'get', params: params })); case 1: case "end": return _context14.stop(); } }, _callee14); })); return _getGraduationsSchoolSearch.apply(this, arguments); } function getGraduationsStudentsSearch(_x15) { return _getGraduationsStudentsSearch.apply(this, arguments); } // 人员管理-学员列表 function _getGraduationsStudentsSearch() { _getGraduationsStudentsSearch = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee15(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee15$(_context15) { while (1) switch (_context15.prev = _context15.next) { case 0: return _context15.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/graduations/".concat(params.id, "/graduation_students/search.json"), { method: 'get', params: params })); case 1: case "end": return _context15.stop(); } }, _callee15); })); return _getGraduationsStudentsSearch.apply(this, arguments); } function getGraduationsStudents(_x16) { return _getGraduationsStudents.apply(this, arguments); } // 人员管理- 老师列表 function _getGraduationsStudents() { _getGraduationsStudents = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee16(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee16$(_context16) { while (1) switch (_context16.prev = _context16.next) { case 0: return _context16.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/graduations/".concat(params.id, "/graduation_students.json"), { method: 'get', params: params })); case 1: case "end": return _context16.stop(); } }, _callee16); })); return _getGraduationsStudents.apply(this, arguments); } function getGraduationsTeachers(_x17) { return _getGraduationsTeachers.apply(this, arguments); } // 课堂管理-创建 function _getGraduationsTeachers() { _getGraduationsTeachers = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee17(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee17$(_context17) { while (1) switch (_context17.prev = _context17.next) { case 0: return _context17.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/graduations/".concat(params.id, "/graduation_teachers.json"), { method: 'get', params: params })); case 1: case "end": return _context17.stop(); } }, _callee17); })); return _getGraduationsTeachers.apply(this, arguments); } function getCreateGraduationsTasks(_x18) { return _getCreateGraduationsTasks.apply(this, arguments); } // 课堂管理-更新 function _getCreateGraduationsTasks() { _getCreateGraduationsTasks = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee18(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee18$(_context18) { while (1) switch (_context18.prev = _context18.next) { case 0: return _context18.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/graduations/".concat(params.graduation_id, "/graduation_tasks.json"), { method: 'POST', body: params })); case 1: case "end": return _context18.stop(); } }, _callee18); })); return _getCreateGraduationsTasks.apply(this, arguments); } function getPutGraduationsTasks(_x19) { return _getPutGraduationsTasks.apply(this, arguments); } // 课堂管理-删除 /api/graduations/{graduation_id}/graduation_teachers.json function _getPutGraduationsTasks() { _getPutGraduationsTasks = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee19(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee19$(_context19) { while (1) switch (_context19.prev = _context19.next) { case 0: return _context19.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/graduations/".concat(params.graduation_id, "/graduation_tasks/").concat(params.id, ".json"), { method: 'PUT', body: params })); case 1: case "end": return _context19.stop(); } }, _callee19); })); return _getPutGraduationsTasks.apply(this, arguments); } function getDelGraduationsTasks(_x20) { return _getDelGraduationsTasks.apply(this, arguments); } // 课堂管理-列表 function _getDelGraduationsTasks() { _getDelGraduationsTasks = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee20(params) { var _params$ids; return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee20$(_context20) { while (1) switch (_context20.prev = _context20.next) { case 0: return _context20.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/graduations/".concat(params.id, "/graduation_tasks/").concat((_params$ids = params.ids) === null || _params$ids === void 0 ? void 0 : _params$ids[0]), { method: 'DELETE', body: { ids: params.ids } })); case 1: case "end": return _context20.stop(); } }, _callee20); })); return _getDelGraduationsTasks.apply(this, arguments); } function getGraduationsTasks(_x21) { return _getGraduationsTasks.apply(this, arguments); } // 毕设概览-动态 function _getGraduationsTasks() { _getGraduationsTasks = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee21(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee21$(_context21) { while (1) switch (_context21.prev = _context21.next) { case 0: return _context21.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/graduations/".concat(params.id, "/graduation_tasks.json"), { method: 'get', params: params })); case 1: case "end": return _context21.stop(); } }, _callee21); })); return _getGraduationsTasks.apply(this, arguments); } function getGraduationsNotices(_x22) { return _getGraduationsNotices.apply(this, arguments); } // 毕设概览-概览和阶段 function _getGraduationsNotices() { _getGraduationsNotices = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee22(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee22$(_context22) { while (1) switch (_context22.prev = _context22.next) { case 0: return _context22.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/graduations/".concat(params.id, "/graduation_notices.json"), { method: 'get', params: params })); case 1: case "end": return _context22.stop(); } }, _callee22); })); return _getGraduationsNotices.apply(this, arguments); } function getGraduationsInfo(_x23) { return _getGraduationsInfo.apply(this, arguments); } // 获取虚拟社区头部信息 function _getGraduationsInfo() { _getGraduationsInfo = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee23(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee23$(_context23) { while (1) switch (_context23.prev = _context23.next) { case 0: return _context23.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/graduations/".concat(params.id, ".json"), { method: 'get' })); case 1: case "end": return _context23.stop(); } }, _callee23); })); return _getGraduationsInfo.apply(this, arguments); } function getGraduationsDetails(_x24) { return _getGraduationsDetails.apply(this, arguments); } // 毕设概览-阶段管理 function _getGraduationsDetails() { _getGraduationsDetails = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee24(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee24$(_context24) { while (1) switch (_context24.prev = _context24.next) { case 0: return _context24.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/graduations/".concat(params === null || params === void 0 ? void 0 : params.id, "/common_header.json"), { method: 'get' })); case 1: case "end": return _context24.stop(); } }, _callee24); })); return _getGraduationsDetails.apply(this, arguments); } function getGraduationPreview(_x25, _x26) { return _getGraduationPreview.apply(this, arguments); } // 驳回老师加入 function _getGraduationPreview() { _getGraduationPreview = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee25(id, params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee25$(_context25) { while (1) switch (_context25.prev = _context25.next) { case 0: return _context25.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/graduations/".concat(id, "/preview.json"), { method: 'get' })); case 1: case "end": return _context25.stop(); } }, _callee25); })); return _getGraduationPreview.apply(this, arguments); } function postGraduationTeachersNotPass(_x27, _x28) { return _postGraduationTeachersNotPass.apply(this, arguments); } // 通过老师加入 function _postGraduationTeachersNotPass() { _postGraduationTeachersNotPass = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee26(id, body) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee26$(_context26) { while (1) switch (_context26.prev = _context26.next) { case 0: return _context26.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/graduations/".concat(id, "/graduation_teachers/not_pass.json"), { method: 'post', body: body })); case 1: case "end": return _context26.stop(); } }, _callee26); })); return _postGraduationTeachersNotPass.apply(this, arguments); } function postGraduationTeachersPass(_x29, _x30) { return _postGraduationTeachersPass.apply(this, arguments); } // 驳回学员加入 function _postGraduationTeachersPass() { _postGraduationTeachersPass = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee27(id, body) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee27$(_context27) { while (1) switch (_context27.prev = _context27.next) { case 0: return _context27.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/graduations/".concat(id, "/graduation_teachers/pass.json"), { method: 'post', body: body })); case 1: case "end": return _context27.stop(); } }, _callee27); })); return _postGraduationTeachersPass.apply(this, arguments); } function postGraduationStudentsNotPass(_x31, _x32) { return _postGraduationStudentsNotPass.apply(this, arguments); } // 通过学员加入 function _postGraduationStudentsNotPass() { _postGraduationStudentsNotPass = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee28(id, body) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee28$(_context28) { while (1) switch (_context28.prev = _context28.next) { case 0: return _context28.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/graduations/".concat(id, "/graduation_students/not_pass.json"), { method: 'post', body: body })); case 1: case "end": return _context28.stop(); } }, _callee28); })); return _postGraduationStudentsNotPass.apply(this, arguments); } function postGraduationStudentsPass(_x33, _x34) { return _postGraduationStudentsPass.apply(this, arguments); } // 删除学员 function _postGraduationStudentsPass() { _postGraduationStudentsPass = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee29(id, body) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee29$(_context29) { while (1) switch (_context29.prev = _context29.next) { case 0: return _context29.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/graduations/".concat(id, "/graduation_students/pass.json"), { method: 'post', body: body })); case 1: case "end": return _context29.stop(); } }, _callee29); })); return _postGraduationStudentsPass.apply(this, arguments); } function deleteGraduationStudents(_x35, _x36) { return _deleteGraduationStudents.apply(this, arguments); } // 删除老师 function _deleteGraduationStudents() { _deleteGraduationStudents = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee30(id, body) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee30$(_context30) { while (1) switch (_context30.prev = _context30.next) { case 0: return _context30.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/graduations/".concat(id, "/graduation_students/batch_delete"), { method: 'delete', body: body })); case 1: case "end": return _context30.stop(); } }, _callee30); })); return _deleteGraduationStudents.apply(this, arguments); } function deleteGraduationTeachers(_x37, _x38) { return _deleteGraduationTeachers.apply(this, arguments); } function _deleteGraduationTeachers() { _deleteGraduationTeachers = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee31(id, body) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee31$(_context31) { while (1) switch (_context31.prev = _context31.next) { case 0: return _context31.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/graduations/".concat(id, "/graduation_teachers/batch_delete"), { method: 'delete', body: body })); case 1: case "end": return _context31.stop(); } }, _callee31); })); return _deleteGraduationTeachers.apply(this, arguments); } /***/ }), /***/ 34584: /*!*****************************!*\ !*** ./src/service/home.ts ***! \*****************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ LA: function() { return /* binding */ getHomeNotice; }, /* harmony export */ S_: function() { return /* binding */ UploadNotice; }, /* harmony export */ Tt: function() { return /* binding */ HomeIndex; }, /* harmony export */ cR: function() { return /* binding */ applyToJoinCourse; }, /* harmony export */ vm: function() { return /* binding */ projectApplies; } /* harmony export */ }); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/regeneratorRuntime.js */ 7557); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/asyncToGenerator.js */ 41498); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__); /* harmony import */ var _utils_fetch__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/utils/fetch */ 55794); function HomeIndex() { return _HomeIndex.apply(this, arguments); } function _HomeIndex() { _HomeIndex = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee() { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee$(_context) { while (1) switch (_context.prev = _context.next) { case 0: return _context.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)('/api/home/index.json', { method: 'Get' })); case 1: case "end": return _context.stop(); } }, _callee); })); return _HomeIndex.apply(this, arguments); } function applyToJoinCourse(_x) { return _applyToJoinCourse.apply(this, arguments); } function _applyToJoinCourse() { _applyToJoinCourse = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee2(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee2$(_context2) { while (1) switch (_context2.prev = _context2.next) { case 0: return _context2.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)('/api/courses/apply_to_join_course.json', { method: 'post', body: params })); case 1: case "end": return _context2.stop(); } }, _callee2); })); return _applyToJoinCourse.apply(this, arguments); } function projectApplies(_x2) { return _projectApplies.apply(this, arguments); } //获取首页广告 function _projectApplies() { _projectApplies = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee3(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee3$(_context3) { while (1) switch (_context3.prev = _context3.next) { case 0: return _context3.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)('/api/project_applies.json', { method: 'post', body: params })); case 1: case "end": return _context3.stop(); } }, _callee3); })); return _projectApplies.apply(this, arguments); } function getHomeNotice(_x3) { return _getHomeNotice.apply(this, arguments); } //确认是否点击弹窗 function _getHomeNotice() { _getHomeNotice = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee4(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee4$(_context4) { while (1) switch (_context4.prev = _context4.next) { case 0: return _context4.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)('/api/users/home_notice.json', { method: 'Get' })); case 1: case "end": return _context4.stop(); } }, _callee4); })); return _getHomeNotice.apply(this, arguments); } function UploadNotice(_x4) { return _UploadNotice.apply(this, arguments); } function _UploadNotice() { _UploadNotice = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee5(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee5$(_context5) { while (1) switch (_context5.prev = _context5.next) { case 0: return _context5.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)('/api/users/view_notice.json', { method: 'post', body: params })); case 1: case "end": return _context5.stop(); } }, _callee5); })); return _UploadNotice.apply(this, arguments); } /***/ }), /***/ 32652: /*!*********************************!*\ !*** ./src/service/messages.ts ***! \*********************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ AD: function() { return /* binding */ getTidings; }, /* harmony export */ Ig: function() { return /* binding */ unreadMessageInfo; }, /* harmony export */ Ko: function() { return /* binding */ getRecentContacts; }, /* harmony export */ QJ: function() { return /* binding */ getUsersForPrivateMessages; }, /* harmony export */ Ub: function() { return /* binding */ getPrivateMessageDetails; }, /* harmony export */ V8: function() { return /* binding */ getPrivateMessages; }, /* harmony export */ dl: function() { return /* binding */ deletePrivateMessage; }, /* harmony export */ w0: function() { return /* binding */ postPrivateMessages; } /* harmony export */ }); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/regeneratorRuntime.js */ 7557); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/objectSpread2.js */ 82242); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1__); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/asyncToGenerator.js */ 41498); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2__); /* harmony import */ var _utils_fetch__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/utils/fetch */ 55794); function getTidings(_x) { return _getTidings.apply(this, arguments); } function _getTidings() { _getTidings = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee$(_context) { while (1) switch (_context.prev = _context.next) { case 0: return _context.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)('/api/users/tidings.json', { method: 'get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context.stop(); } }, _callee); })); return _getTidings.apply(this, arguments); } function unreadMessageInfo(_x2) { return _unreadMessageInfo.apply(this, arguments); } function _unreadMessageInfo() { _unreadMessageInfo = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee2(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee2$(_context2) { while (1) switch (_context2.prev = _context2.next) { case 0: return _context2.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/users/".concat(params.userId, "/unread_message_info.json"), { method: 'get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context2.stop(); } }, _callee2); })); return _unreadMessageInfo.apply(this, arguments); } function getPrivateMessages(_x3) { return _getPrivateMessages.apply(this, arguments); } function _getPrivateMessages() { _getPrivateMessages = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee3(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee3$(_context3) { while (1) switch (_context3.prev = _context3.next) { case 0: return _context3.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/users/".concat(params.userId, "/private_messages.json"), { method: 'get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context3.stop(); } }, _callee3); })); return _getPrivateMessages.apply(this, arguments); } function postPrivateMessages(_x4) { return _postPrivateMessages.apply(this, arguments); } function _postPrivateMessages() { _postPrivateMessages = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee4(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee4$(_context4) { while (1) switch (_context4.prev = _context4.next) { case 0: return _context4.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/users/".concat(params.userId, "/private_messages.json"), { method: 'post', body: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context4.stop(); } }, _callee4); })); return _postPrivateMessages.apply(this, arguments); } function getRecentContacts(_x5) { return _getRecentContacts.apply(this, arguments); } function _getRecentContacts() { _getRecentContacts = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee5(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee5$(_context5) { while (1) switch (_context5.prev = _context5.next) { case 0: return _context5.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/users/".concat(params.id, "/recent_contacts.json"), { method: 'get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context5.stop(); } }, _callee5); })); return _getRecentContacts.apply(this, arguments); } function getUsersForPrivateMessages(_x6) { return _getUsersForPrivateMessages.apply(this, arguments); } function _getUsersForPrivateMessages() { _getUsersForPrivateMessages = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee6(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee6$(_context6) { while (1) switch (_context6.prev = _context6.next) { case 0: return _context6.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/users_for_private_messages.json", { method: 'get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context6.stop(); } }, _callee6); })); return _getUsersForPrivateMessages.apply(this, arguments); } function getPrivateMessageDetails(_x7) { return _getPrivateMessageDetails.apply(this, arguments); } function _getPrivateMessageDetails() { _getPrivateMessageDetails = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee7(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee7$(_context7) { while (1) switch (_context7.prev = _context7.next) { case 0: return _context7.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/users/".concat(params.userId, "/private_message_details.json"), { method: 'get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context7.stop(); } }, _callee7); })); return _getPrivateMessageDetails.apply(this, arguments); } function deletePrivateMessage(_x8) { return _deletePrivateMessage.apply(this, arguments); } function _deletePrivateMessage() { _deletePrivateMessage = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee8(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee8$(_context8) { while (1) switch (_context8.prev = _context8.next) { case 0: return _context8.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/users/".concat(params.userId, "/private_messages/").concat(params.id, ".json"), { method: 'delete' })); case 1: case "end": return _context8.stop(); } }, _callee8); })); return _deletePrivateMessage.apply(this, arguments); } /***/ }), /***/ 63635: /*!***************************************!*\ !*** ./src/service/onlineLearning.ts ***! \***************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ A2: function() { return /* binding */ addVideoToStage; }, /* harmony export */ CI: function() { return /* binding */ addStage; }, /* harmony export */ Ep: function() { return /* binding */ selectShixunToStage; }, /* harmony export */ Ex: function() { return /* binding */ stagesMovePosition; }, /* harmony export */ R7: function() { return /* binding */ getOnlineLearning; }, /* harmony export */ WW: function() { return /* binding */ deleteStages; }, /* harmony export */ _V: function() { return /* binding */ deleteStage; }, /* harmony export */ ms: function() { return /* binding */ upPosition; }, /* harmony export */ s0: function() { return /* binding */ addCoursewareToStage; }, /* harmony export */ vf: function() { return /* binding */ satgeAddShixunToStage; }, /* harmony export */ xn: function() { return /* binding */ updateStage; }, /* harmony export */ yy: function() { return /* binding */ downPosition; } /* harmony export */ }); /* unused harmony export addShixunToStage */ /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/objectSpread2.js */ 82242); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0__); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/regeneratorRuntime.js */ 7557); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1__); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/asyncToGenerator.js */ 41498); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2__); /* harmony import */ var _utils_fetch__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/utils/fetch */ 55794); function getOnlineLearning(_x) { return _getOnlineLearning.apply(this, arguments); } function _getOnlineLearning() { _getOnlineLearning = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee$(_context) { while (1) switch (_context.prev = _context.next) { case 0: return _context.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.coursesId, "/online_learning.json"), { method: 'get' })); case 1: case "end": return _context.stop(); } }, _callee); })); return _getOnlineLearning.apply(this, arguments); } function updateStage(_x2) { return _updateStage.apply(this, arguments); } function _updateStage() { _updateStage = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee2(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee2$(_context2) { while (1) switch (_context2.prev = _context2.next) { case 0: return _context2.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/course_stages/".concat(params.id, ".json"), { method: 'put', body: params })); case 1: case "end": return _context2.stop(); } }, _callee2); })); return _updateStage.apply(this, arguments); } function addStage(_x3) { return _addStage.apply(this, arguments); } function _addStage() { _addStage = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee3(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee3$(_context3) { while (1) switch (_context3.prev = _context3.next) { case 0: return _context3.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.coursesId, "/course_stages.json"), { method: 'post', body: params })); case 1: case "end": return _context3.stop(); } }, _callee3); })); return _addStage.apply(this, arguments); } function satgeAddShixunToStage(_x4) { return _satgeAddShixunToStage.apply(this, arguments); } function _satgeAddShixunToStage() { _satgeAddShixunToStage = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee4(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee4$(_context4) { while (1) switch (_context4.prev = _context4.next) { case 0: return _context4.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/course_stages/".concat(params.id, "/add_shixun_to_stage.json"), { method: 'post', body: params })); case 1: case "end": return _context4.stop(); } }, _callee4); })); return _satgeAddShixunToStage.apply(this, arguments); } function selectShixunToStage(_x5) { return _selectShixunToStage.apply(this, arguments); } function _selectShixunToStage() { _selectShixunToStage = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee5(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee5$(_context5) { while (1) switch (_context5.prev = _context5.next) { case 0: return _context5.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/course_stages/".concat(params.id, "/select_shixun_to_stage.json"), { method: 'post', body: params })); case 1: case "end": return _context5.stop(); } }, _callee5); })); return _selectShixunToStage.apply(this, arguments); } function addVideoToStage(_x6) { return _addVideoToStage.apply(this, arguments); } function _addVideoToStage() { _addVideoToStage = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee6(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee6$(_context6) { while (1) switch (_context6.prev = _context6.next) { case 0: return _context6.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/course_stages/".concat(params.id, "/add_video_to_stage.json"), { method: 'post', body: params })); case 1: case "end": return _context6.stop(); } }, _callee6); })); return _addVideoToStage.apply(this, arguments); } function addCoursewareToStage(_x7) { return _addCoursewareToStage.apply(this, arguments); } function _addCoursewareToStage() { _addCoursewareToStage = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee7(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee7$(_context7) { while (1) switch (_context7.prev = _context7.next) { case 0: return _context7.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/course_stages/".concat(params.id, "/add_attachment_to_stage.json"), { method: 'post', body: params })); case 1: case "end": return _context7.stop(); } }, _callee7); })); return _addCoursewareToStage.apply(this, arguments); } function addShixunToStage(_x8) { return _addShixunToStage.apply(this, arguments); } function _addShixunToStage() { _addShixunToStage = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee8(params) { return _regeneratorRuntime().wrap(function _callee8$(_context8) { while (1) switch (_context8.prev = _context8.next) { case 0: return _context8.abrupt("return", Fetch("/api/paths/add_shixun_to_stage.json", { method: 'post', body: params })); case 1: case "end": return _context8.stop(); } }, _callee8); })); return _addShixunToStage.apply(this, arguments); } function upPosition(_x9) { return _upPosition.apply(this, arguments); } function _upPosition() { _upPosition = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee9(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee9$(_context9) { while (1) switch (_context9.prev = _context9.next) { case 0: return _context9.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/course_stages/".concat(params.id, "/up_position.json"), { method: 'post' })); case 1: case "end": return _context9.stop(); } }, _callee9); })); return _upPosition.apply(this, arguments); } function downPosition(_x10) { return _downPosition.apply(this, arguments); } function _downPosition() { _downPosition = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee10(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee10$(_context10) { while (1) switch (_context10.prev = _context10.next) { case 0: return _context10.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/course_stages/".concat(params.id, "/down_position.json"), { method: 'post' })); case 1: case "end": return _context10.stop(); } }, _callee10); })); return _downPosition.apply(this, arguments); } function deleteStage(_x11) { return _deleteStage.apply(this, arguments); } function _deleteStage() { _deleteStage = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee11(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee11$(_context11) { while (1) switch (_context11.prev = _context11.next) { case 0: return _context11.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/course_stages/".concat(params.id, ".json"), { method: 'delete' })); case 1: case "end": return _context11.stop(); } }, _callee11); })); return _deleteStage.apply(this, arguments); } function stagesMovePosition(_x12) { return _stagesMovePosition.apply(this, arguments); } //DELETE /api/course_stages/:course_stage_id/items/:id 删除 function _stagesMovePosition() { _stagesMovePosition = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee12(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee12$(_context12) { while (1) switch (_context12.prev = _context12.next) { case 0: return _context12.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/course_stages/".concat(params.stage_id, "/items/move_position.json"), { method: 'post', body: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params) })); case 1: case "end": return _context12.stop(); } }, _callee12); })); return _stagesMovePosition.apply(this, arguments); } function deleteStages(_x13) { return _deleteStages.apply(this, arguments); } function _deleteStages() { _deleteStages = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee13(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee13$(_context13) { while (1) switch (_context13.prev = _context13.next) { case 0: return _context13.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/course_stages/".concat(params.stage_id, "/items/").concat(params.id), { method: 'delete' })); case 1: case "end": return _context13.stop(); } }, _callee13); })); return _deleteStages.apply(this, arguments); } /***/ }), /***/ 95700: /*!*************************************!*\ !*** ./src/service/paperlibrary.ts ***! \*************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ DF: function() { return /* binding */ setPublic; }, /* harmony export */ Di: function() { return /* binding */ getExamDetail; }, /* harmony export */ Dm: function() { return /* binding */ getTeachGroupData; }, /* harmony export */ Dq: function() { return /* binding */ getExerciseHeadInfo; }, /* harmony export */ Gd: function() { return /* binding */ getPaperlibraryList; }, /* harmony export */ Hb: function() { return /* binding */ importItemBanks; }, /* harmony export */ Hm: function() { return /* binding */ batchDelete; }, /* harmony export */ JP: function() { return /* binding */ generateExerciseId; }, /* harmony export */ NC: function() { return /* binding */ handleDeleteEditQuestion; }, /* harmony export */ Pl: function() { return /* binding */ setPrivate; }, /* harmony export */ Qp: function() { return /* binding */ batchPublic; }, /* harmony export */ RK: function() { return /* binding */ getEditQuestionTypeAlias; }, /* harmony export */ YP: function() { return /* binding */ batchSetScore; }, /* harmony export */ ar: function() { return /* binding */ getCustomDisciplines; }, /* harmony export */ cV: function() { return /* binding */ getQuestionTypeAlias; }, /* harmony export */ d1: function() { return /* binding */ getDisciplines; }, /* harmony export */ fn: function() { return /* binding */ handleDelete; }, /* harmony export */ iT: function() { return /* binding */ getPaperData; }, /* harmony export */ jK: function() { return /* binding */ updatePaper; }, /* harmony export */ kp: function() { return /* binding */ sendToClass; }, /* harmony export */ oF: function() { return /* binding */ createOrModifyQuestion; }, /* harmony export */ qN: function() { return /* binding */ adjustPosition; }, /* harmony export */ tS: function() { return /* binding */ getCourseList; }, /* harmony export */ ts: function() { return /* binding */ setScore; }, /* harmony export */ un: function() { return /* binding */ createExam; }, /* harmony export */ w0: function() { return /* binding */ updateExam; } /* harmony export */ }); /* unused harmony exports setShixunScore, addQuestion, sortQuestion, deleteQuestion, newBatchSetScore */ /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/regeneratorRuntime.js */ 7557); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/asyncToGenerator.js */ 41498); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__); /* harmony import */ var _utils_fetch__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/utils/fetch */ 55794); // 试卷库-获取题型名称 var getQuestionTypeAlias = function getQuestionTypeAlias(params) { return (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/examination_banks/".concat(params.id, "/get_question_type_alias.json"), { method: 'get', params: params }); }; // 试卷库-新建组卷-重命名 function getEditQuestionTypeAlias(_x) { return _getEditQuestionTypeAlias.apply(this, arguments); } function _getEditQuestionTypeAlias() { _getEditQuestionTypeAlias = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee$(_context) { while (1) switch (_context.prev = _context.next) { case 0: return _context.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/examination_banks/".concat(params.id, "/edit_question_type_alias.json"), { method: 'POST', body: params })); case 1: case "end": return _context.stop(); } }, _callee); })); return _getEditQuestionTypeAlias.apply(this, arguments); } function getDisciplines(_x2) { return _getDisciplines.apply(this, arguments); } function _getDisciplines() { _getDisciplines = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee2(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee2$(_context2) { while (1) switch (_context2.prev = _context2.next) { case 0: return _context2.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)('/api/disciplines.json', { method: 'get', params: params })); case 1: case "end": return _context2.stop(); } }, _callee2); })); return _getDisciplines.apply(this, arguments); } function getCustomDisciplines(_x3) { return _getCustomDisciplines.apply(this, arguments); } function _getCustomDisciplines() { _getCustomDisciplines = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee3(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee3$(_context3) { while (1) switch (_context3.prev = _context3.next) { case 0: return _context3.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)('/api/disciplines/by_examination_banks.json', { method: 'get', params: params })); case 1: case "end": return _context3.stop(); } }, _callee3); })); return _getCustomDisciplines.apply(this, arguments); } function getPaperlibraryList(_x4) { return _getPaperlibraryList.apply(this, arguments); } function _getPaperlibraryList() { _getPaperlibraryList = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee4(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee4$(_context4) { while (1) switch (_context4.prev = _context4.next) { case 0: return _context4.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)('/api/examination_banks.json', { method: 'get', params: params })); case 1: case "end": return _context4.stop(); } }, _callee4); })); return _getPaperlibraryList.apply(this, arguments); } function setPublic(_x5) { return _setPublic.apply(this, arguments); } function _setPublic() { _setPublic = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee5(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee5$(_context5) { while (1) switch (_context5.prev = _context5.next) { case 0: return _context5.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/examination_banks/".concat(params.id, "/set_public.json"), { method: 'post' })); case 1: case "end": return _context5.stop(); } }, _callee5); })); return _setPublic.apply(this, arguments); } function setPrivate(_x6) { return _setPrivate.apply(this, arguments); } function _setPrivate() { _setPrivate = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee6(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee6$(_context6) { while (1) switch (_context6.prev = _context6.next) { case 0: return _context6.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/examination_banks/".concat(params.id, "/set_private.json"), { method: 'post' })); case 1: case "end": return _context6.stop(); } }, _callee6); })); return _setPrivate.apply(this, arguments); } function handleDelete(_x7) { return _handleDelete.apply(this, arguments); } function _handleDelete() { _handleDelete = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee7(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee7$(_context7) { while (1) switch (_context7.prev = _context7.next) { case 0: return _context7.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/examination_banks/".concat(params.id, ".json"), { method: 'delete' })); case 1: case "end": return _context7.stop(); } }, _callee7); })); return _handleDelete.apply(this, arguments); } function getCourseList(_x8) { return _getCourseList.apply(this, arguments); } function _getCourseList() { _getCourseList = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee8(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee8$(_context8) { while (1) switch (_context8.prev = _context8.next) { case 0: return _context8.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/question_banks/my_courses.json", { method: 'get', params: params })); case 1: case "end": return _context8.stop(); } }, _callee8); })); return _getCourseList.apply(this, arguments); } function sendToClass(_x9) { return _sendToClass.apply(this, arguments); } function _sendToClass() { _sendToClass = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee9(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee9$(_context9) { while (1) switch (_context9.prev = _context9.next) { case 0: return _context9.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/examination_banks/".concat(params.id, "/send_to_course.json"), { method: 'post', body: params })); case 1: case "end": return _context9.stop(); } }, _callee9); })); return _sendToClass.apply(this, arguments); } function getPaperData(_x10) { return _getPaperData.apply(this, arguments); } function _getPaperData() { _getPaperData = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee10(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee10$(_context10) { while (1) switch (_context10.prev = _context10.next) { case 0: return _context10.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/examination_banks/".concat(params.id, ".json"), { method: 'get', params: params })); case 1: case "end": return _context10.stop(); } }, _callee10); })); return _getPaperData.apply(this, arguments); } function setScore(_x11) { return _setScore.apply(this, arguments); } function _setScore() { _setScore = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee11(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee11$(_context11) { while (1) switch (_context11.prev = _context11.next) { case 0: return _context11.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/examination_banks/".concat(params.id, "/examination_banks_item_banks/").concat(params.itemId, "/set_score"), { method: 'post', body: params })); case 1: case "end": return _context11.stop(); } }, _callee11); })); return _setScore.apply(this, arguments); } function setShixunScore(_x12) { return _setShixunScore.apply(this, arguments); } function _setShixunScore() { _setShixunScore = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee12(params) { return _regeneratorRuntime().wrap(function _callee12$(_context12) { while (1) switch (_context12.prev = _context12.next) { case 0: return _context12.abrupt("return", Fetch("/api/examination_banks/".concat(params.id, "/examination_banks_item_banks/").concat(params.itemId, "/set_shixun_score.json"), { method: 'post', body: params })); case 1: case "end": return _context12.stop(); } }, _callee12); })); return _setShixunScore.apply(this, arguments); } function handleDeleteEditQuestion(_x13) { return _handleDeleteEditQuestion.apply(this, arguments); } function _handleDeleteEditQuestion() { _handleDeleteEditQuestion = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee13(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee13$(_context13) { while (1) switch (_context13.prev = _context13.next) { case 0: return _context13.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/examination_banks/".concat(params.id, "/examination_banks_item_banks/").concat(params.itemId, ".json"), { method: 'delete' })); case 1: case "end": return _context13.stop(); } }, _callee13); })); return _handleDeleteEditQuestion.apply(this, arguments); } function batchSetScore(_x14) { return _batchSetScore.apply(this, arguments); } function _batchSetScore() { _batchSetScore = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee14(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee14$(_context14) { while (1) switch (_context14.prev = _context14.next) { case 0: return _context14.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/examination_banks/".concat(params.id, "/examination_banks_item_banks/batch_set_score.json"), { method: 'post', body: params })); case 1: case "end": return _context14.stop(); } }, _callee14); })); return _batchSetScore.apply(this, arguments); } function batchDelete(_x15) { return _batchDelete.apply(this, arguments); } function _batchDelete() { _batchDelete = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee15(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee15$(_context15) { while (1) switch (_context15.prev = _context15.next) { case 0: return _context15.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/examination_banks/".concat(params.id, "/examination_banks_item_banks/destroy_by_item_type.json"), { method: 'delete', body: params })); case 1: case "end": return _context15.stop(); } }, _callee15); })); return _batchDelete.apply(this, arguments); } function adjustPosition(_x16) { return _adjustPosition.apply(this, arguments); } function _adjustPosition() { _adjustPosition = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee16(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee16$(_context16) { while (1) switch (_context16.prev = _context16.next) { case 0: return _context16.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/examination_banks/".concat(params.id, "/examination_banks_item_banks/").concat(params.itemId, "/adjust_position.json"), { method: 'post', body: params })); case 1: case "end": return _context16.stop(); } }, _callee16); })); return _adjustPosition.apply(this, arguments); } function updatePaper(_x17) { return _updatePaper.apply(this, arguments); } function _updatePaper() { _updatePaper = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee17(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee17$(_context17) { while (1) switch (_context17.prev = _context17.next) { case 0: return _context17.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/examination_banks/".concat(params.id, ".json"), { method: 'put', body: params })); case 1: case "end": return _context17.stop(); } }, _callee17); })); return _updatePaper.apply(this, arguments); } function getTeachGroupData(_x18) { return _getTeachGroupData.apply(this, arguments); } function _getTeachGroupData() { _getTeachGroupData = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee18(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee18$(_context18) { while (1) switch (_context18.prev = _context18.next) { case 0: return _context18.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/teach_group_shares.json", { method: 'get', params: params })); case 1: case "end": return _context18.stop(); } }, _callee18); })); return _getTeachGroupData.apply(this, arguments); } function batchPublic(_x19) { return _batchPublic.apply(this, arguments); } function _batchPublic() { _batchPublic = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee19(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee19$(_context19) { while (1) switch (_context19.prev = _context19.next) { case 0: return _context19.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/examination_banks/set_batch_public.json", { method: 'post', body: params })); case 1: case "end": return _context19.stop(); } }, _callee19); })); return _batchPublic.apply(this, arguments); } //人工组卷创建试卷 function createExam(_x20) { return _createExam.apply(this, arguments); } //试卷基本信息更新 function _createExam() { _createExam = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee20(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee20$(_context20) { while (1) switch (_context20.prev = _context20.next) { case 0: return _context20.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/examination_banks/create_exam.json", { method: 'post', body: params })); case 1: case "end": return _context20.stop(); } }, _callee20); })); return _createExam.apply(this, arguments); } function updateExam(_x21) { return _updateExam.apply(this, arguments); } //获取试卷信息 function _updateExam() { _updateExam = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee21(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee21$(_context21) { while (1) switch (_context21.prev = _context21.next) { case 0: return _context21.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/examination_banks/".concat(params.id, "/update_exam.json"), { method: 'put', body: params })); case 1: case "end": return _context21.stop(); } }, _callee21); })); return _updateExam.apply(this, arguments); } function getExamDetail(_x22) { return _getExamDetail.apply(this, arguments); } //试题库选择题目加入试卷接口 function _getExamDetail() { _getExamDetail = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee22(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee22$(_context22) { while (1) switch (_context22.prev = _context22.next) { case 0: return _context22.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/examination_banks/".concat(params.id, "/edit_exam.json"), { method: 'get' })); case 1: case "end": return _context22.stop(); } }, _callee22); })); return _getExamDetail.apply(this, arguments); } function addQuestion(_x23, _x24) { return _addQuestion.apply(this, arguments); } //手动创建或修改试题 function _addQuestion() { _addQuestion = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee23(id, params) { return _regeneratorRuntime().wrap(function _callee23$(_context23) { while (1) switch (_context23.prev = _context23.next) { case 0: return _context23.abrupt("return", Fetch("/api/examination_banks/".concat(id, "/examination_banks_item_banks.json"), { method: 'post', body: params })); case 1: case "end": return _context23.stop(); } }, _callee23); })); return _addQuestion.apply(this, arguments); } function createOrModifyQuestion(_x25) { return _createOrModifyQuestion.apply(this, arguments); } //更新试题排序 function _createOrModifyQuestion() { _createOrModifyQuestion = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee24(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee24$(_context24) { while (1) switch (_context24.prev = _context24.next) { case 0: return _context24.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/examination_banks/".concat(params.id, "/examination_banks_item_banks/create_item_bank.json"), { method: 'post', body: params })); case 1: case "end": return _context24.stop(); } }, _callee24); })); return _createOrModifyQuestion.apply(this, arguments); } function sortQuestion(_x26, _x27) { return _sortQuestion.apply(this, arguments); } //删除试题 function _sortQuestion() { _sortQuestion = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee25(id, params) { return _regeneratorRuntime().wrap(function _callee25$(_context25) { while (1) switch (_context25.prev = _context25.next) { case 0: return _context25.abrupt("return", Fetch("/api/examination_banks/".concat(id, "/sort_question_type.json"), { method: 'post', body: params })); case 1: case "end": return _context25.stop(); } }, _callee25); })); return _sortQuestion.apply(this, arguments); } function deleteQuestion(_x28) { return _deleteQuestion.apply(this, arguments); } //新的批量设置得分 function _deleteQuestion() { _deleteQuestion = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee26(params) { return _regeneratorRuntime().wrap(function _callee26$(_context26) { while (1) switch (_context26.prev = _context26.next) { case 0: return _context26.abrupt("return", Fetch("/api/examination_banks/".concat(params.exam_id, "/examination_banks_item_banks/").concat(params.question_id, ".json"), { method: 'delete' })); case 1: case "end": return _context26.stop(); } }, _callee26); })); return _deleteQuestion.apply(this, arguments); } function newBatchSetScore(_x29, _x30) { return _newBatchSetScore.apply(this, arguments); } //生成考试id function _newBatchSetScore() { _newBatchSetScore = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee27(id, params) { return _regeneratorRuntime().wrap(function _callee27$(_context27) { while (1) switch (_context27.prev = _context27.next) { case 0: return _context27.abrupt("return", Fetch("/api/examination_banks/".concat(id, "/batch_set_score.json"), { method: 'post', body: params })); case 1: case "end": return _context27.stop(); } }, _callee27); })); return _newBatchSetScore.apply(this, arguments); } function generateExerciseId(_x31) { return _generateExerciseId.apply(this, arguments); } //获取试卷头部信息 function _generateExerciseId() { _generateExerciseId = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee28(id) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee28$(_context28) { while (1) switch (_context28.prev = _context28.next) { case 0: return _context28.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/examination_banks/".concat(id, "/simulate_exercise.json"), { method: 'post' // body: params })); case 1: case "end": return _context28.stop(); } }, _callee28); })); return _generateExerciseId.apply(this, arguments); } function getExerciseHeadInfo(_x32) { return _getExerciseHeadInfo.apply(this, arguments); } function _getExerciseHeadInfo() { _getExerciseHeadInfo = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee29(id) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee29$(_context29) { while (1) switch (_context29.prev = _context29.next) { case 0: return _context29.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/examination_banks/".concat(id, "/exercise_header.json"), { method: 'get' })); case 1: case "end": return _context29.stop(); } }, _callee29); })); return _getExerciseHeadInfo.apply(this, arguments); } function importItemBanks(_x33, _x34) { return _importItemBanks.apply(this, arguments); } function _importItemBanks() { _importItemBanks = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee30(id, file) { var formData; return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee30$(_context30) { while (1) switch (_context30.prev = _context30.next) { case 0: formData = new FormData(); formData.append('file', file); return _context30.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/examination_banks/".concat(id, "/import_item_banks.json"), { method: 'post', body: formData }, true)); case 3: case "end": return _context30.stop(); } }, _callee30); })); return _importItemBanks.apply(this, arguments); } /***/ }), /***/ 82017: /*!******************************!*\ !*** ./src/service/paths.ts ***! \******************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ $D: function() { return /* binding */ deleteCourses; }, /* harmony export */ A2: function() { return /* binding */ addVideoToStage; }, /* harmony export */ A7: function() { return /* binding */ courseHomework; }, /* harmony export */ AQ: function() { return /* binding */ getRightData; }, /* harmony export */ Ax: function() { return /* binding */ getDiscusses; }, /* harmony export */ CI: function() { return /* binding */ addStage; }, /* harmony export */ DQ: function() { return /* binding */ addHomeworkToStage; }, /* harmony export */ DU: function() { return /* binding */ getStudentData; }, /* harmony export */ EP: function() { return /* binding */ deleteMember; }, /* harmony export */ Ep: function() { return /* binding */ selectShixunToStage; }, /* harmony export */ Er: function() { return /* binding */ cancelPublic; }, /* harmony export */ Ex: function() { return /* binding */ stagesMovePosition; }, /* harmony export */ FD: function() { return /* binding */ homeworkToStageInfo; }, /* harmony export */ F_: function() { return /* binding */ getShixunAnalyzeData; }, /* harmony export */ Fg: function() { return /* binding */ getRankList; }, /* harmony export */ GY: function() { return /* binding */ getSchoolOption; }, /* harmony export */ Go: function() { return /* binding */ applyPublish; }, /* harmony export */ Gz: function() { return /* binding */ getStatisticsBody; }, /* harmony export */ Hl: function() { return /* binding */ getStatisticsHeader; }, /* harmony export */ JS: function() { return /* binding */ immediatelyRegister; }, /* harmony export */ KM: function() { return /* binding */ collect; }, /* harmony export */ M2: function() { return /* binding */ upCoursewareToStage; }, /* harmony export */ MO: function() { return /* binding */ getSendCourseList; }, /* harmony export */ Mt: function() { return /* binding */ addBlankItems; }, /* harmony export */ Mu: function() { return /* binding */ getCourseDiscusses; }, /* harmony export */ NV: function() { return /* binding */ getHomeworkDetail; }, /* harmony export */ Q: function() { return /* binding */ sendToCourse; }, /* harmony export */ VO: function() { return /* binding */ editHomeworkToStage; }, /* harmony export */ WD: function() { return /* binding */ postDiscuss; }, /* harmony export */ WO: function() { return /* binding */ applyPublic; }, /* harmony export */ WW: function() { return /* binding */ deleteStages; }, /* harmony export */ Xz: function() { return /* binding */ getNewStatistics; }, /* harmony export */ _C: function() { return /* binding */ batchAddHomeworkToStage; }, /* harmony export */ _V: function() { return /* binding */ deleteStage; }, /* harmony export */ bw: function() { return /* binding */ updateTeamTitle; }, /* harmony export */ bz: function() { return /* binding */ appplySchool; }, /* harmony export */ c3: function() { return /* binding */ appointment; }, /* harmony export */ eJ: function() { return /* binding */ deletePath; }, /* harmony export */ ef: function() { return /* binding */ getLearnStatistics; }, /* harmony export */ fh: function() { return /* binding */ getCourseMenus; }, /* harmony export */ fj: function() { return /* binding */ cancelPublish; }, /* harmony export */ hS: function() { return /* binding */ getOnlineCount; }, /* harmony export */ jT: function() { return /* binding */ subjectHomework; }, /* harmony export */ ke: function() { return /* binding */ excellentDiscuss; }, /* harmony export */ lk: function() { return /* binding */ getPathsDetail; }, /* harmony export */ mQ: function() { return /* binding */ getEditCourseData; }, /* harmony export */ ms: function() { return /* binding */ upPosition; }, /* harmony export */ mx: function() { return /* binding */ addSubjectMembers; }, /* harmony export */ nq: function() { return /* binding */ getSubjectUseInfos; }, /* harmony export */ pU: function() { return /* binding */ submitCourse; }, /* harmony export */ rs: function() { return /* binding */ cancelCollect; }, /* harmony export */ s0: function() { return /* binding */ addCoursewareToStage; }, /* harmony export */ sm: function() { return /* binding */ addCourses; }, /* harmony export */ tS: function() { return /* binding */ getCourseList; }, /* harmony export */ tu: function() { return /* binding */ editCourse; }, /* harmony export */ ue: function() { return /* binding */ getCoureses; }, /* harmony export */ vf: function() { return /* binding */ satgeAddShixunToStage; }, /* harmony export */ w6: function() { return /* binding */ postSubjectStatistics; }, /* harmony export */ xn: function() { return /* binding */ updateStage; }, /* harmony export */ yN: function() { return /* binding */ getStageData; }, /* harmony export */ yy: function() { return /* binding */ downPosition; } /* harmony export */ }); /* unused harmony exports getIntelligentRecommendationsList, memberMoveUp, memberMoveDowm, getStatisticsInfo, getShixunUseData, getLearnData, appendToStage, addShixunToStage, createDiscusses */ /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/objectSpread2.js */ 82242); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0__); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/regeneratorRuntime.js */ 7557); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1__); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/asyncToGenerator.js */ 41498); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2__); /* harmony import */ var _utils_fetch__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/utils/fetch */ 55794); /** * @description 实践课程-概览统计-课程使用详情 */ var getNewStatistics = /*#__PURE__*/function () { var _ref = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee$(_context) { while (1) switch (_context.prev = _context.next) { case 0: return _context.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/paths/".concat(params === null || params === void 0 ? void 0 : params.id, "/new_statistics.json"), { method: 'Get', params: params })); case 1: case "end": return _context.stop(); } }, _callee); })); return function getNewStatistics(_x) { return _ref.apply(this, arguments); }; }(); /** * @description 实践课程-首页的课程统计 */ var postSubjectStatistics = /*#__PURE__*/function () { var _ref2 = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee2(body) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee2$(_context2) { while (1) switch (_context2.prev = _context2.next) { case 0: return _context2.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)('/api/zz_classrooms/statistics/subject_statistics.json', { method: 'post', body: body })); case 1: case "end": return _context2.stop(); } }, _callee2); })); return function postSubjectStatistics(_x2) { return _ref2.apply(this, arguments); }; }(); /** * @description 实践课程-概览统计-课程使用详情 */ var getSubjectUseInfos = /*#__PURE__*/function () { var _ref3 = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee3(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee3$(_context3) { while (1) switch (_context3.prev = _context3.next) { case 0: return _context3.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)('/api/subject_statistics/subject_use_infos.json', { method: 'Get', params: params })); case 1: case "end": return _context3.stop(); } }, _callee3); })); return function getSubjectUseInfos(_x3) { return _ref3.apply(this, arguments); }; }(); /** * @description 实践课程-概览统计-排行榜 */ var getRankList = /*#__PURE__*/function () { var _ref4 = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee4(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee4$(_context4) { while (1) switch (_context4.prev = _context4.next) { case 0: return _context4.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)('/api/subject_statistics/rank_list.json', { method: 'Get', params: params })); case 1: case "end": return _context4.stop(); } }, _callee4); })); return function getRankList(_x4) { return _ref4.apply(this, arguments); }; }(); /** * @description 实践课程-概览统计-累计学习人数统计、课程数量统计 */ var getStatisticsBody = /*#__PURE__*/function () { var _ref5 = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee5(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee5$(_context5) { while (1) switch (_context5.prev = _context5.next) { case 0: return _context5.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)('/api/subject_statistics/statistics_body.json', { method: 'Get', params: params })); case 1: case "end": return _context5.stop(); } }, _callee5); })); return function getStatisticsBody(_x5) { return _ref5.apply(this, arguments); }; }(); /** * @description 实践课程-概览统计-课程头部除在线人数之外 */ var getStatisticsHeader = /*#__PURE__*/function () { var _ref6 = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee6(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee6$(_context6) { while (1) switch (_context6.prev = _context6.next) { case 0: return _context6.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)('/api/subject_statistics/statistics_header.json', { method: 'Get', params: params })); case 1: case "end": return _context6.stop(); } }, _callee6); })); return function getStatisticsHeader(_x6) { return _ref6.apply(this, arguments); }; }(); /** * @description 实践课程-概览统计-当前云上实验室在线人数 */ var getOnlineCount = /*#__PURE__*/function () { var _ref7 = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee7(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee7$(_context7) { while (1) switch (_context7.prev = _context7.next) { case 0: return _context7.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)('/api/subject_statistics/online_count.json', { method: 'Get', params: params })); case 1: case "end": return _context7.stop(); } }, _callee7); })); return function getOnlineCount(_x7) { return _ref7.apply(this, arguments); }; }(); //实训首页列表 function getCourseList(_x8) { return _getCourseList.apply(this, arguments); } //实训首页智能推荐列表 function _getCourseList() { _getCourseList = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee8(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee8$(_context8) { while (1) switch (_context8.prev = _context8.next) { case 0: return _context8.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)('/api/paths.json', { method: 'Get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params) })); case 1: case "end": return _context8.stop(); } }, _callee8); })); return _getCourseList.apply(this, arguments); } function getIntelligentRecommendationsList(_x9) { return _getIntelligentRecommendationsList.apply(this, arguments); } // 获取课堂首页菜单 function _getIntelligentRecommendationsList() { _getIntelligentRecommendationsList = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee9(params) { return _regeneratorRuntime().wrap(function _callee9$(_context9) { while (1) switch (_context9.prev = _context9.next) { case 0: return _context9.abrupt("return", Fetch('/api/intelligent_recommendations/subject_lists.json', { method: 'Get', params: _objectSpread({}, params) })); case 1: case "end": return _context9.stop(); } }, _callee9); })); return _getIntelligentRecommendationsList.apply(this, arguments); } function getCourseMenus(_x10) { return _getCourseMenus.apply(this, arguments); } function _getCourseMenus() { _getCourseMenus = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee10(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee10$(_context10) { while (1) switch (_context10.prev = _context10.next) { case 0: return _context10.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)('/api/disciplines.json', { method: 'Get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params) })); case 1: case "end": return _context10.stop(); } }, _callee10); })); return _getCourseMenus.apply(this, arguments); } function editCourse(_x11) { return _editCourse.apply(this, arguments); } function _editCourse() { _editCourse = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee11(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee11$(_context11) { while (1) switch (_context11.prev = _context11.next) { case 0: return _context11.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/paths/".concat(params.id, ".json"), { method: 'PUT', body: params })); case 1: case "end": return _context11.stop(); } }, _callee11); })); return _editCourse.apply(this, arguments); } function submitCourse(_x12) { return _submitCourse.apply(this, arguments); } function _submitCourse() { _submitCourse = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee12(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee12$(_context12) { while (1) switch (_context12.prev = _context12.next) { case 0: return _context12.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/paths.json", { method: 'post', body: params })); case 1: case "end": return _context12.stop(); } }, _callee12); })); return _submitCourse.apply(this, arguments); } function getEditCourseData(_x13) { return _getEditCourseData.apply(this, arguments); } function _getEditCourseData() { _getEditCourseData = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee13(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee13$(_context13) { while (1) switch (_context13.prev = _context13.next) { case 0: return _context13.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/paths/".concat(params.id, "/edit.json"), { method: 'get' })); case 1: case "end": return _context13.stop(); } }, _callee13); })); return _getEditCourseData.apply(this, arguments); } function getPathsDetail(_x14) { return _getPathsDetail.apply(this, arguments); } function _getPathsDetail() { _getPathsDetail = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee14(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee14$(_context14) { while (1) switch (_context14.prev = _context14.next) { case 0: return _context14.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/paths/".concat(params.id, ".json"), { method: 'get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({ identifier: params.id }, params) })); case 1: case "end": return _context14.stop(); } }, _callee14); })); return _getPathsDetail.apply(this, arguments); } function getRightData(_x15) { return _getRightData.apply(this, arguments); } function _getRightData() { _getRightData = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee15(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee15$(_context15) { while (1) switch (_context15.prev = _context15.next) { case 0: return _context15.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/paths/".concat(params.id, "/right_banner.json"), { method: 'get', params: params })); case 1: case "end": return _context15.stop(); } }, _callee15); })); return _getRightData.apply(this, arguments); } function getCoureses(_x16) { return _getCoureses.apply(this, arguments); } function _getCoureses() { _getCoureses = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee16(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee16$(_context16) { while (1) switch (_context16.prev = _context16.next) { case 0: return _context16.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/paths/".concat(params.id, "/spoc_courses.json"), { method: 'get', params: params })); case 1: case "end": return _context16.stop(); } }, _callee16); })); return _getCoureses.apply(this, arguments); } function getStageData(_x17) { return _getStageData.apply(this, arguments); } function _getStageData() { _getStageData = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee17(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee17$(_context17) { while (1) switch (_context17.prev = _context17.next) { case 0: return _context17.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/stages.json", { method: 'get', params: params })); case 1: case "end": return _context17.stop(); } }, _callee17); })); return _getStageData.apply(this, arguments); } function updateTeamTitle(_x18) { return _updateTeamTitle.apply(this, arguments); } function _updateTeamTitle() { _updateTeamTitle = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee18(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee18$(_context18) { while (1) switch (_context18.prev = _context18.next) { case 0: return _context18.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/paths/".concat(params.id, "/update_team_title.json"), { method: 'post', body: params })); case 1: case "end": return _context18.stop(); } }, _callee18); })); return _updateTeamTitle.apply(this, arguments); } function deleteMember(_x19) { return _deleteMember.apply(this, arguments); } function _deleteMember() { _deleteMember = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee19(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee19$(_context19) { while (1) switch (_context19.prev = _context19.next) { case 0: return _context19.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/paths/".concat(params.id, "/delete_member.json"), { method: 'Delete', body: params })); case 1: case "end": return _context19.stop(); } }, _callee19); })); return _deleteMember.apply(this, arguments); } function deleteCourses(_x20) { return _deleteCourses.apply(this, arguments); } function _deleteCourses() { _deleteCourses = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee20(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee20$(_context20) { while (1) switch (_context20.prev = _context20.next) { case 0: return _context20.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/paths/".concat(params.id, "/spoc_courses/").concat(params === null || params === void 0 ? void 0 : params.courseid, ".json"), { method: 'Delete' // body: params })); case 1: case "end": return _context20.stop(); } }, _callee20); })); return _deleteCourses.apply(this, arguments); } function memberMoveUp(_x21) { return _memberMoveUp.apply(this, arguments); } function _memberMoveUp() { _memberMoveUp = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee21(params) { return _regeneratorRuntime().wrap(function _callee21$(_context21) { while (1) switch (_context21.prev = _context21.next) { case 0: return _context21.abrupt("return", Fetch("/api/paths/".concat(params.id, "/up_member_position.json"), { method: 'post', body: params })); case 1: case "end": return _context21.stop(); } }, _callee21); })); return _memberMoveUp.apply(this, arguments); } function memberMoveDowm(_x22) { return _memberMoveDowm.apply(this, arguments); } function _memberMoveDowm() { _memberMoveDowm = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee22(params) { return _regeneratorRuntime().wrap(function _callee22$(_context22) { while (1) switch (_context22.prev = _context22.next) { case 0: return _context22.abrupt("return", Fetch("/api/paths/".concat(params.id, "/down_member_position.json"), { method: 'post', body: params })); case 1: case "end": return _context22.stop(); } }, _callee22); })); return _memberMoveDowm.apply(this, arguments); } function collect(_x23) { return _collect.apply(this, arguments); } function _collect() { _collect = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee23(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee23$(_context23) { while (1) switch (_context23.prev = _context23.next) { case 0: return _context23.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/collections.json", { method: 'post', body: params })); case 1: case "end": return _context23.stop(); } }, _callee23); })); return _collect.apply(this, arguments); } function cancelCollect(_x24) { return _cancelCollect.apply(this, arguments); } function _cancelCollect() { _cancelCollect = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee24(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee24$(_context24) { while (1) switch (_context24.prev = _context24.next) { case 0: return _context24.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/collections/cancel.json", { method: 'Delete', body: params })); case 1: case "end": return _context24.stop(); } }, _callee24); })); return _cancelCollect.apply(this, arguments); } function deletePath(_x25) { return _deletePath.apply(this, arguments); } function _deletePath() { _deletePath = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee25(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee25$(_context25) { while (1) switch (_context25.prev = _context25.next) { case 0: return _context25.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/paths/".concat(params.id, ".json"), { method: 'Delete', body: params })); case 1: case "end": return _context25.stop(); } }, _callee25); })); return _deletePath.apply(this, arguments); } function applyPublish(_x26) { return _applyPublish.apply(this, arguments); } function _applyPublish() { _applyPublish = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee26(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee26$(_context26) { while (1) switch (_context26.prev = _context26.next) { case 0: return _context26.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/paths/".concat(params.id, "/publish.json"), { method: 'post', body: params })); case 1: case "end": return _context26.stop(); } }, _callee26); })); return _applyPublish.apply(this, arguments); } function cancelPublish(_x27) { return _cancelPublish.apply(this, arguments); } function _cancelPublish() { _cancelPublish = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee27(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee27$(_context27) { while (1) switch (_context27.prev = _context27.next) { case 0: return _context27.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/paths/".concat(params.id, "/cancel_publish.json"), { method: 'post', body: params })); case 1: case "end": return _context27.stop(); } }, _callee27); })); return _cancelPublish.apply(this, arguments); } function applyPublic(_x28) { return _applyPublic.apply(this, arguments); } function _applyPublic() { _applyPublic = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee28(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee28$(_context28) { while (1) switch (_context28.prev = _context28.next) { case 0: return _context28.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/paths/".concat(params.id, "/apply_public.json"), { method: 'post', body: params })); case 1: case "end": return _context28.stop(); } }, _callee28); })); return _applyPublic.apply(this, arguments); } function cancelPublic(_x29) { return _cancelPublic.apply(this, arguments); } function _cancelPublic() { _cancelPublic = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee29(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee29$(_context29) { while (1) switch (_context29.prev = _context29.next) { case 0: return _context29.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/paths/".concat(params.id, "/cancel_public.json"), { method: 'post', body: params })); case 1: case "end": return _context29.stop(); } }, _callee29); })); return _cancelPublic.apply(this, arguments); } function getSendCourseList(_x30) { return _getSendCourseList.apply(this, arguments); } function _getSendCourseList() { _getSendCourseList = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee30(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee30$(_context30) { while (1) switch (_context30.prev = _context30.next) { case 0: return _context30.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/paths/".concat(params.id, "/choose_course.json"), { method: 'get', params: params })); case 1: case "end": return _context30.stop(); } }, _callee30); })); return _getSendCourseList.apply(this, arguments); } function sendToCourse(_x31) { return _sendToCourse.apply(this, arguments); } function _sendToCourse() { _sendToCourse = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee31(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee31$(_context31) { while (1) switch (_context31.prev = _context31.next) { case 0: return _context31.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/paths/".concat(params.id, "/send_to_course.json"), { method: 'post', body: params })); case 1: case "end": return _context31.stop(); } }, _callee31); })); return _sendToCourse.apply(this, arguments); } function addSubjectMembers(_x32) { return _addSubjectMembers.apply(this, arguments); } function _addSubjectMembers() { _addSubjectMembers = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee32(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee32$(_context32) { while (1) switch (_context32.prev = _context32.next) { case 0: return _context32.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/paths/".concat(params.id, "/add_subject_members.json"), { method: 'post', body: params })); case 1: case "end": return _context32.stop(); } }, _callee32); })); return _addSubjectMembers.apply(this, arguments); } function addCourses(_x33) { return _addCourses.apply(this, arguments); } function _addCourses() { _addCourses = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee33(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee33$(_context33) { while (1) switch (_context33.prev = _context33.next) { case 0: return _context33.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/paths/".concat(params.id, "/spoc_courses.json"), { method: 'post', body: params })); case 1: case "end": return _context33.stop(); } }, _callee33); })); return _addCourses.apply(this, arguments); } function appointment(_x34) { return _appointment.apply(this, arguments); } function _appointment() { _appointment = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee34(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee34$(_context34) { while (1) switch (_context34.prev = _context34.next) { case 0: return _context34.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/paths/".concat(params.id, "/appointment.json"), { method: 'post', body: params })); case 1: case "end": return _context34.stop(); } }, _callee34); })); return _appointment.apply(this, arguments); } function immediatelyRegister(_x35) { return _immediatelyRegister.apply(this, arguments); } function _immediatelyRegister() { _immediatelyRegister = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee35(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee35$(_context35) { while (1) switch (_context35.prev = _context35.next) { case 0: return _context35.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.id, "/join_excellent_course.json"), { method: 'post', body: params })); case 1: case "end": return _context35.stop(); } }, _callee35); })); return _immediatelyRegister.apply(this, arguments); } function getStatisticsInfo(_x36) { return _getStatisticsInfo.apply(this, arguments); } function _getStatisticsInfo() { _getStatisticsInfo = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee36(params) { return _regeneratorRuntime().wrap(function _callee36$(_context36) { while (1) switch (_context36.prev = _context36.next) { case 0: return _context36.abrupt("return", Fetch("/api/paths/".concat(params.id, "/statistics_info.json"), { method: 'get', params: params })); case 1: case "end": return _context36.stop(); } }, _callee36); })); return _getStatisticsInfo.apply(this, arguments); } function getShixunUseData(_x37) { return _getShixunUseData.apply(this, arguments); } function _getShixunUseData() { _getShixunUseData = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee37(params) { return _regeneratorRuntime().wrap(function _callee37$(_context37) { while (1) switch (_context37.prev = _context37.next) { case 0: return _context37.abrupt("return", Fetch("/api/paths/".concat(params.id, "/shixun_analyze.json"), { method: 'get', params: params })); case 1: case "end": return _context37.stop(); } }, _callee37); })); return _getShixunUseData.apply(this, arguments); } function getLearnData(_x38) { return _getLearnData.apply(this, arguments); } function _getLearnData() { _getLearnData = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee38(params) { return _regeneratorRuntime().wrap(function _callee38$(_context38) { while (1) switch (_context38.prev = _context38.next) { case 0: return _context38.abrupt("return", Fetch("/api/paths/".concat(params.id, "/learning_analyze.json"), { method: 'get', params: params })); case 1: case "end": return _context38.stop(); } }, _callee38); })); return _getLearnData.apply(this, arguments); } function getLearnStatistics(_x39) { return _getLearnStatistics.apply(this, arguments); } function _getLearnStatistics() { _getLearnStatistics = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee39(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee39$(_context39) { while (1) switch (_context39.prev = _context39.next) { case 0: return _context39.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/paths/".concat(params.id, "/learning_statistics.json"), { method: 'get', params: params })); case 1: case "end": return _context39.stop(); } }, _callee39); })); return _getLearnStatistics.apply(this, arguments); } function getShixunAnalyzeData(_x40) { return _getShixunAnalyzeData.apply(this, arguments); } function _getShixunAnalyzeData() { _getShixunAnalyzeData = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee40(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee40$(_context40) { while (1) switch (_context40.prev = _context40.next) { case 0: return _context40.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/paths/".concat(params.id, "/shixun_statistics.json"), { method: 'get', params: params })); case 1: case "end": return _context40.stop(); } }, _callee40); })); return _getShixunAnalyzeData.apply(this, arguments); } function getStudentData(_x41) { return _getStudentData.apply(this, arguments); } function _getStudentData() { _getStudentData = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee41(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee41$(_context41) { while (1) switch (_context41.prev = _context41.next) { case 0: return _context41.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/paths/".concat(params.id, "/study_analyze/").concat(params.type, ".json"), { method: 'get', params: params })); case 1: case "end": return _context41.stop(); } }, _callee41); })); return _getStudentData.apply(this, arguments); } function appendToStage(_x42) { return _appendToStage.apply(this, arguments); } function _appendToStage() { _appendToStage = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee42(params) { return _regeneratorRuntime().wrap(function _callee42$(_context42) { while (1) switch (_context42.prev = _context42.next) { case 0: return _context42.abrupt("return", Fetch("/api/paths/append_to_stage.json", { method: 'post', body: params })); case 1: case "end": return _context42.stop(); } }, _callee42); })); return _appendToStage.apply(this, arguments); } function updateStage(_x43) { return _updateStage.apply(this, arguments); } function _updateStage() { _updateStage = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee43(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee43$(_context43) { while (1) switch (_context43.prev = _context43.next) { case 0: return _context43.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/stages/".concat(params.id, ".json"), { method: 'put', body: params })); case 1: case "end": return _context43.stop(); } }, _callee43); })); return _updateStage.apply(this, arguments); } function satgeAddShixunToStage(_x44) { return _satgeAddShixunToStage.apply(this, arguments); } function _satgeAddShixunToStage() { _satgeAddShixunToStage = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee44(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee44$(_context44) { while (1) switch (_context44.prev = _context44.next) { case 0: return _context44.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/stages/".concat(params.id, "/add_shixun_to_stage.json"), { method: 'post', body: params })); case 1: case "end": return _context44.stop(); } }, _callee44); })); return _satgeAddShixunToStage.apply(this, arguments); } function selectShixunToStage(_x45) { return _selectShixunToStage.apply(this, arguments); } function _selectShixunToStage() { _selectShixunToStage = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee45(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee45$(_context45) { while (1) switch (_context45.prev = _context45.next) { case 0: return _context45.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/stages/".concat(params.id, "/select_shixun_to_stage.json"), { method: 'post', body: params })); case 1: case "end": return _context45.stop(); } }, _callee45); })); return _selectShixunToStage.apply(this, arguments); } function addVideoToStage(_x46) { return _addVideoToStage.apply(this, arguments); } function _addVideoToStage() { _addVideoToStage = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee46(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee46$(_context46) { while (1) switch (_context46.prev = _context46.next) { case 0: return _context46.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/stages/".concat(params.id, "/add_video_to_stage.json"), { method: 'post', body: params })); case 1: case "end": return _context46.stop(); } }, _callee46); })); return _addVideoToStage.apply(this, arguments); } function addCoursewareToStage(_x47) { return _addCoursewareToStage.apply(this, arguments); } function _addCoursewareToStage() { _addCoursewareToStage = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee47(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee47$(_context47) { while (1) switch (_context47.prev = _context47.next) { case 0: return _context47.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/stages/".concat(params.id, "/add_attachment_to_stage.json"), { method: 'post', body: params })); case 1: case "end": return _context47.stop(); } }, _callee47); })); return _addCoursewareToStage.apply(this, arguments); } function upCoursewareToStage(_x48) { return _upCoursewareToStage.apply(this, arguments); } function _upCoursewareToStage() { _upCoursewareToStage = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee48(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee48$(_context48) { while (1) switch (_context48.prev = _context48.next) { case 0: return _context48.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/stage_shixuns/".concat(params.id, ".json"), { method: 'put', body: params })); case 1: case "end": return _context48.stop(); } }, _callee48); })); return _upCoursewareToStage.apply(this, arguments); } function addBlankItems(_x49) { return _addBlankItems.apply(this, arguments); } function _addBlankItems() { _addBlankItems = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee49(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee49$(_context49) { while (1) switch (_context49.prev = _context49.next) { case 0: return _context49.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/stages/".concat(params.id, "/add_blank_to_stage.json"), { method: 'post', body: params })); case 1: case "end": return _context49.stop(); } }, _callee49); })); return _addBlankItems.apply(this, arguments); } function addStage(_x50) { return _addStage.apply(this, arguments); } function _addStage() { _addStage = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee50(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee50$(_context50) { while (1) switch (_context50.prev = _context50.next) { case 0: return _context50.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/stages.json", { method: 'post', body: params })); case 1: case "end": return _context50.stop(); } }, _callee50); })); return _addStage.apply(this, arguments); } function addShixunToStage(_x51) { return _addShixunToStage.apply(this, arguments); } function _addShixunToStage() { _addShixunToStage = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee51(params) { return _regeneratorRuntime().wrap(function _callee51$(_context51) { while (1) switch (_context51.prev = _context51.next) { case 0: return _context51.abrupt("return", Fetch("/api/paths/add_shixun_to_stage.json", { method: 'post', body: params })); case 1: case "end": return _context51.stop(); } }, _callee51); })); return _addShixunToStage.apply(this, arguments); } function upPosition(_x52) { return _upPosition.apply(this, arguments); } function _upPosition() { _upPosition = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee52(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee52$(_context52) { while (1) switch (_context52.prev = _context52.next) { case 0: return _context52.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/stages/".concat(params.id, "/up_position.json"), { method: 'get' })); case 1: case "end": return _context52.stop(); } }, _callee52); })); return _upPosition.apply(this, arguments); } function downPosition(_x53) { return _downPosition.apply(this, arguments); } function _downPosition() { _downPosition = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee53(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee53$(_context53) { while (1) switch (_context53.prev = _context53.next) { case 0: return _context53.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/stages/".concat(params.id, "/down_position.json"), { method: 'get' })); case 1: case "end": return _context53.stop(); } }, _callee53); })); return _downPosition.apply(this, arguments); } function deleteStage(_x54) { return _deleteStage.apply(this, arguments); } function _deleteStage() { _deleteStage = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee54(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee54$(_context54) { while (1) switch (_context54.prev = _context54.next) { case 0: return _context54.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/stages/".concat(params.id, ".json"), { method: 'delete' })); case 1: case "end": return _context54.stop(); } }, _callee54); })); return _deleteStage.apply(this, arguments); } function getDiscusses(_x55) { return _getDiscusses.apply(this, arguments); } function _getDiscusses() { _getDiscusses = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee55(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee55$(_context55) { while (1) switch (_context55.prev = _context55.next) { case 0: return _context55.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/paths/".concat(params.pathId, "/discusses.json"), { method: 'get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params) })); case 1: case "end": return _context55.stop(); } }, _callee55); })); return _getDiscusses.apply(this, arguments); } function getCourseDiscusses(_x56) { return _getCourseDiscusses.apply(this, arguments); } function _getCourseDiscusses() { _getCourseDiscusses = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee56(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee56$(_context56) { while (1) switch (_context56.prev = _context56.next) { case 0: return _context56.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.coursesId, "/excellent_discusses.json"), { method: 'get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params) })); case 1: case "end": return _context56.stop(); } }, _callee56); })); return _getCourseDiscusses.apply(this, arguments); } function createDiscusses(_x57) { return _createDiscusses.apply(this, arguments); } function _createDiscusses() { _createDiscusses = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee57(params) { return _regeneratorRuntime().wrap(function _callee57$(_context57) { while (1) switch (_context57.prev = _context57.next) { case 0: return _context57.abrupt("return", Fetch("/api/discusses.json", { method: 'post', body: _objectSpread({}, params) })); case 1: case "end": return _context57.stop(); } }, _callee57); })); return _createDiscusses.apply(this, arguments); } function stagesMovePosition(_x58) { return _stagesMovePosition.apply(this, arguments); } function _stagesMovePosition() { _stagesMovePosition = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee58(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee58$(_context58) { while (1) switch (_context58.prev = _context58.next) { case 0: return _context58.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/stages/".concat(params.stage_id, "/items/move_position"), { method: 'post', body: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params) })); case 1: case "end": return _context58.stop(); } }, _callee58); })); return _stagesMovePosition.apply(this, arguments); } function deleteStages(_x59) { return _deleteStages.apply(this, arguments); } function _deleteStages() { _deleteStages = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee59(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee59$(_context59) { while (1) switch (_context59.prev = _context59.next) { case 0: return _context59.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/stages/".concat(params.stage_id, "/items/").concat(params.id), { method: 'delete' // body:{...params} })); case 1: case "end": return _context59.stop(); } }, _callee59); })); return _deleteStages.apply(this, arguments); } function excellentDiscuss(_x60) { return _excellentDiscuss.apply(this, arguments); } function _excellentDiscuss() { _excellentDiscuss = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee60(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee60$(_context60) { while (1) switch (_context60.prev = _context60.next) { case 0: return _context60.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.id, "/excellent_discuss"), { method: 'post', body: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params) })); case 1: case "end": return _context60.stop(); } }, _callee60); })); return _excellentDiscuss.apply(this, arguments); } function postDiscuss(_x61) { return _postDiscuss.apply(this, arguments); } function _postDiscuss() { _postDiscuss = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee61(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee61$(_context61) { while (1) switch (_context61.prev = _context61.next) { case 0: return _context61.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/paths/".concat(params.id, "/post_discuss"), { method: 'post', body: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params) })); case 1: case "end": return _context61.stop(); } }, _callee61); })); return _postDiscuss.apply(this, arguments); } function getSchoolOption(_x62) { return _getSchoolOption.apply(this, arguments); } function _getSchoolOption() { _getSchoolOption = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee62(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee62$(_context62) { while (1) switch (_context62.prev = _context62.next) { case 0: return _context62.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/schools/for_option.json", { method: 'get', params: params })); case 1: case "end": return _context62.stop(); } }, _callee62); })); return _getSchoolOption.apply(this, arguments); } function appplySchool(_x63) { return _appplySchool.apply(this, arguments); } // export async function postCoursesDiscuss(params: any) { // return Fetch(`/api/courses/${params.id}/excellent_discuss`, { // method: 'post', // body:{...params} // }) // } // export async function getLearningDiscusses(params: any) { // return Fetch(`/api/courses/${params.pathId}/excellent_discusses.json`, { // method: 'get', // params:{...params} // }) // } // 添加分组作业、图文作业 function _appplySchool() { _appplySchool = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee63(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee63$(_context63) { while (1) switch (_context63.prev = _context63.next) { case 0: return _context63.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/add_school_applies.json", { method: 'post', body: params })); case 1: case "end": return _context63.stop(); } }, _callee63); })); return _appplySchool.apply(this, arguments); } function addHomeworkToStage(_x64) { return _addHomeworkToStage.apply(this, arguments); } // 图文作业、分组作业编辑详情 function _addHomeworkToStage() { _addHomeworkToStage = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee64(data) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee64$(_context64) { while (1) switch (_context64.prev = _context64.next) { case 0: return _context64.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/stages/".concat(data === null || data === void 0 ? void 0 : data.id, "/add_homework_to_stage.json"), { method: 'post', body: data })); case 1: case "end": return _context64.stop(); } }, _callee64); })); return _addHomeworkToStage.apply(this, arguments); } function homeworkToStageInfo(_x65) { return _homeworkToStageInfo.apply(this, arguments); } // 更新分组作业、图文作业 function _homeworkToStageInfo() { _homeworkToStageInfo = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee65(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee65$(_context65) { while (1) switch (_context65.prev = _context65.next) { case 0: return _context65.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/stage_shixuns/".concat(params === null || params === void 0 ? void 0 : params.id, "/edit.json"), { method: 'get', params: params })); case 1: case "end": return _context65.stop(); } }, _callee65); })); return _homeworkToStageInfo.apply(this, arguments); } function editHomeworkToStage(_x66) { return _editHomeworkToStage.apply(this, arguments); } // 通过课程寻找图文、分组作业 function _editHomeworkToStage() { _editHomeworkToStage = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee66(data) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee66$(_context66) { while (1) switch (_context66.prev = _context66.next) { case 0: return _context66.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/stage_shixuns/".concat(data === null || data === void 0 ? void 0 : data.id, ".json"), { method: 'put', body: data })); case 1: case "end": return _context66.stop(); } }, _callee66); })); return _editHomeworkToStage.apply(this, arguments); } function subjectHomework(_x67) { return _subjectHomework.apply(this, arguments); } // 通过课堂寻找图文、分组作业 function _subjectHomework() { _subjectHomework = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee67(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee67$(_context67) { while (1) switch (_context67.prev = _context67.next) { case 0: return _context67.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/users/".concat(params === null || params === void 0 ? void 0 : params.user_id, "/subjects/subject_homework.json"), { method: 'get', params: params })); case 1: case "end": return _context67.stop(); } }, _callee67); })); return _subjectHomework.apply(this, arguments); } function courseHomework(_x68) { return _courseHomework.apply(this, arguments); } // 批量选用图文、分组作业 function _courseHomework() { _courseHomework = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee68(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee68$(_context68) { while (1) switch (_context68.prev = _context68.next) { case 0: return _context68.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/users/".concat(params === null || params === void 0 ? void 0 : params.user_id, "/courses/course_homework.json"), { method: 'get', params: params })); case 1: case "end": return _context68.stop(); } }, _callee68); })); return _courseHomework.apply(this, arguments); } function batchAddHomeworkToStage(_x69) { return _batchAddHomeworkToStage.apply(this, arguments); } // 查看图文作业、分组作业详情 function _batchAddHomeworkToStage() { _batchAddHomeworkToStage = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee69(data) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee69$(_context69) { while (1) switch (_context69.prev = _context69.next) { case 0: return _context69.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/stages/".concat(data === null || data === void 0 ? void 0 : data.id, "/batch_add_homework_to_stage.json"), { method: 'post', body: data })); case 1: case "end": return _context69.stop(); } }, _callee69); })); return _batchAddHomeworkToStage.apply(this, arguments); } function getHomeworkDetail(_x70) { return _getHomeworkDetail.apply(this, arguments); } function _getHomeworkDetail() { _getHomeworkDetail = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee70(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee70$(_context70) { while (1) switch (_context70.prev = _context70.next) { case 0: return _context70.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/paths/get_homework_detail.json", { method: 'get', params: params })); case 1: case "end": return _context70.stop(); } }, _callee70); })); return _getHomeworkDetail.apply(this, arguments); } /***/ }), /***/ 76292: /*!******************************!*\ !*** ./src/service/polls.ts ***! \******************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ Fd: function() { return /* binding */ addPollBankQuestions; }, /* harmony export */ Hi: function() { return /* binding */ getPollsSetting; }, /* harmony export */ IU: function() { return /* binding */ editPollsQuestion; }, /* harmony export */ KE: function() { return /* binding */ getEndGroups; }, /* harmony export */ Kc: function() { return /* binding */ putExerciseBankQuestions; }, /* harmony export */ MK: function() { return /* binding */ addExerciseQuestion; }, /* harmony export */ Q9: function() { return /* binding */ getPollsCourses; }, /* harmony export */ Qg: function() { return /* binding */ putPolls; }, /* harmony export */ Qn: function() { return /* binding */ getPollsStatistics; }, /* harmony export */ UK: function() { return /* binding */ getCommonHeader; }, /* harmony export */ W: function() { return /* binding */ exercisesBanksMoveUpDown; }, /* harmony export */ Ye: function() { return /* binding */ editPolls; }, /* harmony export */ hO: function() { return /* binding */ putExerciseBanks; }, /* harmony export */ iV: function() { return /* binding */ addExerciseBankQuestions; }, /* harmony export */ jy: function() { return /* binding */ deletePollsQuestion; }, /* harmony export */ kp: function() { return /* binding */ getExerciseBanks; }, /* harmony export */ lf: function() { return /* binding */ saveBanks; }, /* harmony export */ m7: function() { return /* binding */ updateSetting; }, /* harmony export */ n$: function() { return /* binding */ getBrankList; }, /* harmony export */ rJ: function() { return /* binding */ addPolls; }, /* harmony export */ s3: function() { return /* binding */ getPollsList; }, /* harmony export */ ux: function() { return /* binding */ getPublishGroups; }, /* harmony export */ vf: function() { return /* binding */ exerciseBanksMoveUpDown; }, /* harmony export */ wh: function() { return /* binding */ pollsMoveUpDown; }, /* harmony export */ wo: function() { return /* binding */ putPollBankQuestions; }, /* harmony export */ x$: function() { return /* binding */ deleteExerciseBanksQuestion; } /* harmony export */ }); /* unused harmony export deleteExerciseBanks */ /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/regeneratorRuntime.js */ 7557); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/objectSpread2.js */ 82242); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1__); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/asyncToGenerator.js */ 41498); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2__); /* harmony import */ var _utils_fetch__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/utils/fetch */ 55794); //试卷详情答题列表 function getPollsList(_x) { return _getPollsList.apply(this, arguments); } function _getPollsList() { _getPollsList = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee$(_context) { while (1) switch (_context.prev = _context.next) { case 0: return _context.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/polls/".concat(params.categoryId, "/poll_lists.json"), { method: 'get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context.stop(); } }, _callee); })); return _getPollsList.apply(this, arguments); } function getCommonHeader(_x2) { return _getCommonHeader.apply(this, arguments); } function _getCommonHeader() { _getCommonHeader = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee2(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee2$(_context2) { while (1) switch (_context2.prev = _context2.next) { case 0: return _context2.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/polls/".concat(params.categoryId, "/common_header.json"), { method: 'get' })); case 1: case "end": return _context2.stop(); } }, _callee2); })); return _getCommonHeader.apply(this, arguments); } function getPollsSetting(_x3) { return _getPollsSetting.apply(this, arguments); } function _getPollsSetting() { _getPollsSetting = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee3(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee3$(_context3) { while (1) switch (_context3.prev = _context3.next) { case 0: return _context3.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/polls/".concat(params.categoryId, "/poll_setting.json"), { method: 'get' })); case 1: case "end": return _context3.stop(); } }, _callee3); })); return _getPollsSetting.apply(this, arguments); } function updateSetting(_x4) { return _updateSetting.apply(this, arguments); } // 截止班级列表 function _updateSetting() { _updateSetting = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee4(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee4$(_context4) { while (1) switch (_context4.prev = _context4.next) { case 0: return _context4.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/polls/".concat(params.categoryId, "/commit_setting.json"), { method: 'post', body: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context4.stop(); } }, _callee4); })); return _updateSetting.apply(this, arguments); } function getEndGroups(_x5) { return _getEndGroups.apply(this, arguments); } function _getEndGroups() { _getEndGroups = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee5(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee5$(_context5) { while (1) switch (_context5.prev = _context5.next) { case 0: return _context5.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.coursesId, "/polls/end_poll_modal.json"), { method: 'get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context5.stop(); } }, _callee5); })); return _getEndGroups.apply(this, arguments); } function getPublishGroups(_x6) { return _getPublishGroups.apply(this, arguments); } //试卷统计 function _getPublishGroups() { _getPublishGroups = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee6(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee6$(_context6) { while (1) switch (_context6.prev = _context6.next) { case 0: return _context6.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/polls/".concat(params.categoryId, "/publish_groups.json"), { method: 'get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context6.stop(); } }, _callee6); })); return _getPublishGroups.apply(this, arguments); } function getPollsStatistics(_x7) { return _getPollsStatistics.apply(this, arguments); } // 题库列表 function _getPollsStatistics() { _getPollsStatistics = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee7(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee7$(_context7) { while (1) switch (_context7.prev = _context7.next) { case 0: return _context7.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/polls/".concat(params.categoryId, "/commit_result.json"), { method: 'get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context7.stop(); } }, _callee7); })); return _getPollsStatistics.apply(this, arguments); } function getBrankList(_x8) { return _getBrankList.apply(this, arguments); } // 保存题库 function _getBrankList() { _getBrankList = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee8(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee8$(_context8) { while (1) switch (_context8.prev = _context8.next) { case 0: return _context8.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/question_banks/bank_list.json", { method: 'get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context8.stop(); } }, _callee8); })); return _getBrankList.apply(this, arguments); } function saveBanks(_x9) { return _saveBanks.apply(this, arguments); } // 获取班级列表 publish_modal function _saveBanks() { _saveBanks = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee9(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee9$(_context9) { while (1) switch (_context9.prev = _context9.next) { case 0: return _context9.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/question_banks/save_banks.json", { method: 'POST', body: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context9.stop(); } }, _callee9); })); return _saveBanks.apply(this, arguments); } function getPollsCourses(_x10) { return _getPollsCourses.apply(this, arguments); } // 试卷发送到课堂 // export async function postCoursesPublish(params: any) { // return Fetch(`/api/courses/${params.coursesId}/exercises/publish.json`, { // method: 'get', // body: { ...params }, // }); // } // 添加问卷 function _getPollsCourses() { _getPollsCourses = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee10(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee10$(_context10) { while (1) switch (_context10.prev = _context10.next) { case 0: return _context10.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.coursesId, "/polls/publish_modal.json"), { method: 'get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context10.stop(); } }, _callee10); })); return _getPollsCourses.apply(this, arguments); } function addPolls(_x11) { return _addPolls.apply(this, arguments); } function _addPolls() { _addPolls = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee11(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee11$(_context11) { while (1) switch (_context11.prev = _context11.next) { case 0: return _context11.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.coursesId, "/polls.json"), { method: 'POST', body: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context11.stop(); } }, _callee11); })); return _addPolls.apply(this, arguments); } function editPolls(_x12) { return _editPolls.apply(this, arguments); } function _editPolls() { _editPolls = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee12(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee12$(_context12) { while (1) switch (_context12.prev = _context12.next) { case 0: return _context12.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/polls/".concat(params.categoryId, "/edit.json"), { method: 'get' })); case 1: case "end": return _context12.stop(); } }, _callee12); })); return _editPolls.apply(this, arguments); } function putPolls(_x13) { return _putPolls.apply(this, arguments); } // 编辑问卷选题 function _putPolls() { _putPolls = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee13(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee13$(_context13) { while (1) switch (_context13.prev = _context13.next) { case 0: return _context13.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/polls/".concat(params.pollsId, ".json"), { method: 'put', body: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context13.stop(); } }, _callee13); })); return _putPolls.apply(this, arguments); } function editPollsQuestion(_x14) { return _editPollsQuestion.apply(this, arguments); } // 添加问卷选题 function _editPollsQuestion() { _editPollsQuestion = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee14(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee14$(_context14) { while (1) switch (_context14.prev = _context14.next) { case 0: return _context14.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/poll_questions/".concat(params.pollsId, ".json"), { method: 'put', body: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context14.stop(); } }, _callee14); })); return _editPollsQuestion.apply(this, arguments); } function addExerciseQuestion(_x15) { return _addExerciseQuestion.apply(this, arguments); } // 删除问卷选题 function _addExerciseQuestion() { _addExerciseQuestion = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee15(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee15$(_context15) { while (1) switch (_context15.prev = _context15.next) { case 0: return _context15.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/polls/".concat(params.pollsId, "/poll_questions.json"), { method: 'post', body: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context15.stop(); } }, _callee15); })); return _addExerciseQuestion.apply(this, arguments); } function deletePollsQuestion(_x16) { return _deletePollsQuestion.apply(this, arguments); } // 问卷问题上下排序 function _deletePollsQuestion() { _deletePollsQuestion = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee16(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee16$(_context16) { while (1) switch (_context16.prev = _context16.next) { case 0: return _context16.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/poll_questions/".concat(params.pollsId, ".json"), { method: 'delete', body: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context16.stop(); } }, _callee16); })); return _deletePollsQuestion.apply(this, arguments); } function pollsMoveUpDown(_x17) { return _pollsMoveUpDown.apply(this, arguments); } function _pollsMoveUpDown() { _pollsMoveUpDown = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee17(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee17$(_context17) { while (1) switch (_context17.prev = _context17.next) { case 0: return _context17.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/poll_questions/".concat(params.pollsId, "/up_down.json"), { method: 'post', body: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context17.stop(); } }, _callee17); })); return _pollsMoveUpDown.apply(this, arguments); } function getExerciseBanks(_x18) { return _getExerciseBanks.apply(this, arguments); } function _getExerciseBanks() { _getExerciseBanks = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee18(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee18$(_context18) { while (1) switch (_context18.prev = _context18.next) { case 0: return _context18.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/exercise_banks/".concat(params.topicId, ".json"), { method: 'get' })); case 1: case "end": return _context18.stop(); } }, _callee18); })); return _getExerciseBanks.apply(this, arguments); } function putExerciseBanks(_x19) { return _putExerciseBanks.apply(this, arguments); } function _putExerciseBanks() { _putExerciseBanks = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee19(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee19$(_context19) { while (1) switch (_context19.prev = _context19.next) { case 0: return _context19.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/exercise_banks/".concat(params.topicId, ".json"), { method: 'put', body: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context19.stop(); } }, _callee19); })); return _putExerciseBanks.apply(this, arguments); } function deleteExerciseBanks(_x20) { return _deleteExerciseBanks.apply(this, arguments); } function _deleteExerciseBanks() { _deleteExerciseBanks = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee20(params) { return _regeneratorRuntime().wrap(function _callee20$(_context20) { while (1) switch (_context20.prev = _context20.next) { case 0: return _context20.abrupt("return", Fetch("/api/exercise_banks/".concat(params.topicId, ".json"), { method: 'put', body: _objectSpread({}, params) })); case 1: case "end": return _context20.stop(); } }, _callee20); })); return _deleteExerciseBanks.apply(this, arguments); } function deleteExerciseBanksQuestion(_x21) { return _deleteExerciseBanksQuestion.apply(this, arguments); } // 问卷问题上下排序 function _deleteExerciseBanksQuestion() { _deleteExerciseBanksQuestion = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee21(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee21$(_context21) { while (1) switch (_context21.prev = _context21.next) { case 0: return _context21.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/exercise_bank_questions/".concat(params.pollsId, ".json"), { method: 'delete', body: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context21.stop(); } }, _callee21); })); return _deleteExerciseBanksQuestion.apply(this, arguments); } function exerciseBanksMoveUpDown(_x22) { return _exerciseBanksMoveUpDown.apply(this, arguments); } function _exerciseBanksMoveUpDown() { _exerciseBanksMoveUpDown = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee22(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee22$(_context22) { while (1) switch (_context22.prev = _context22.next) { case 0: return _context22.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/poll_questions/".concat(params.pollsId, "/up_down.json"), { method: 'post', body: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context22.stop(); } }, _callee22); })); return _exerciseBanksMoveUpDown.apply(this, arguments); } function addPollBankQuestions(_x23) { return _addPollBankQuestions.apply(this, arguments); } function _addPollBankQuestions() { _addPollBankQuestions = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee23(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee23$(_context23) { while (1) switch (_context23.prev = _context23.next) { case 0: return _context23.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/poll_bank_questions.json", { method: 'post', body: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context23.stop(); } }, _callee23); })); return _addPollBankQuestions.apply(this, arguments); } function putPollBankQuestions(_x24) { return _putPollBankQuestions.apply(this, arguments); } function _putPollBankQuestions() { _putPollBankQuestions = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee24(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee24$(_context24) { while (1) switch (_context24.prev = _context24.next) { case 0: return _context24.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/poll_bank_questions/".concat(params.pollsId, ".json"), { method: 'put', body: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context24.stop(); } }, _callee24); })); return _putPollBankQuestions.apply(this, arguments); } function putExerciseBankQuestions(_x25) { return _putExerciseBankQuestions.apply(this, arguments); } function _putExerciseBankQuestions() { _putExerciseBankQuestions = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee25(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee25$(_context25) { while (1) switch (_context25.prev = _context25.next) { case 0: return _context25.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/exercise_bank_questions/".concat(params.id, ".json"), { method: 'put', body: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context25.stop(); } }, _callee25); })); return _putExerciseBankQuestions.apply(this, arguments); } function addExerciseBankQuestions(_x26) { return _addExerciseBankQuestions.apply(this, arguments); } function _addExerciseBankQuestions() { _addExerciseBankQuestions = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee26(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee26$(_context26) { while (1) switch (_context26.prev = _context26.next) { case 0: return _context26.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/exercise_bank_questions.json", { method: 'post', body: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context26.stop(); } }, _callee26); })); return _addExerciseBankQuestions.apply(this, arguments); } function exercisesBanksMoveUpDown(_x27) { return _exercisesBanksMoveUpDown.apply(this, arguments); } function _exercisesBanksMoveUpDown() { _exercisesBanksMoveUpDown = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee27(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee27$(_context27) { while (1) switch (_context27.prev = _context27.next) { case 0: return _context27.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/exercise_bank_questions/".concat(params.exerciseId, "/up_down.json"), { method: 'post', body: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context27.stop(); } }, _callee27); })); return _exercisesBanksMoveUpDown.apply(this, arguments); } /***/ }), /***/ 19498: /*!***********************************!*\ !*** ./src/service/problemset.ts ***! \***********************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ $c: function() { return /* binding */ editInfo; }, /* harmony export */ A1: function() { return /* binding */ moveUp; }, /* harmony export */ Bd: function() { return /* binding */ startExperience; }, /* harmony export */ Bo: function() { return /* binding */ getEditDataBprogram; }, /* harmony export */ Cc: function() { return /* binding */ setChallengeScore; }, /* harmony export */ Cn: function() { return /* binding */ handleDeletePreviewQuestion; }, /* harmony export */ DF: function() { return /* binding */ setPublic; }, /* harmony export */ Dm: function() { return /* binding */ getTeachGroupData; }, /* harmony export */ FG: function() { return /* binding */ getEditData; }, /* harmony export */ GW: function() { return /* binding */ batchShare; }, /* harmony export */ HF: function() { return /* binding */ unselectAll; }, /* harmony export */ Hm: function() { return /* binding */ batchDelete; }, /* harmony export */ IJ: function() { return /* binding */ revokePublish; }, /* harmony export */ L5: function() { return /* binding */ createFeedback; }, /* harmony export */ LS: function() { return /* binding */ batchGroup; }, /* harmony export */ MZ: function() { return /* binding */ programPublish; }, /* harmony export */ Mr: function() { return /* binding */ addProblemset; }, /* harmony export */ NZ: function() { return /* binding */ getPaperList; }, /* harmony export */ Of: function() { return /* binding */ getItemBanks; }, /* harmony export */ Pl: function() { return /* binding */ setPrivate; }, /* harmony export */ Qj: function() { return /* binding */ getBasketList; }, /* harmony export */ Qp: function() { return /* binding */ batchPublic; }, /* harmony export */ RT: function() { return /* binding */ clearBasket; }, /* harmony export */ Rp: function() { return /* binding */ addGroup; }, /* harmony export */ U6: function() { return /* binding */ addKnowledge; }, /* harmony export */ Vl: function() { return /* binding */ setCombinationScore; }, /* harmony export */ Wk: function() { return /* binding */ editProblemset; }, /* harmony export */ YP: function() { return /* binding */ batchSetScore; }, /* harmony export */ Ys: function() { return /* binding */ select; }, /* harmony export */ al: function() { return /* binding */ cancel; }, /* harmony export */ bF: function() { return /* binding */ batchPublishCondition; }, /* harmony export */ d1: function() { return /* binding */ getDisciplines; }, /* harmony export */ dt: function() { return /* binding */ batchPublish; }, /* harmony export */ et: function() { return /* binding */ newPreviewProblemset; }, /* harmony export */ ex: function() { return /* binding */ getGroup; }, /* harmony export */ fY: function() { return /* binding */ revokeItem; }, /* harmony export */ fn: function() { return /* binding */ handleDelete; }, /* harmony export */ hI: function() { return /* binding */ getGroupList; }, /* harmony export */ hg: function() { return /* binding */ getTeachGroupDataById; }, /* harmony export */ iT: function() { return /* binding */ getPaperData; }, /* harmony export */ lS: function() { return /* binding */ cancelCollection; }, /* harmony export */ nD: function() { return /* binding */ batchQuestionsDelete; }, /* harmony export */ qN: function() { return /* binding */ adjustPosition; }, /* harmony export */ rV: function() { return /* binding */ examUnselectAll; }, /* harmony export */ s: function() { return /* binding */ joinCollection; }, /* harmony export */ sD: function() { return /* binding */ programCancelPublish; }, /* harmony export */ sS: function() { return /* binding */ createGroup; }, /* harmony export */ ts: function() { return /* binding */ setScore; }, /* harmony export */ vi: function() { return /* binding */ moveDown; }, /* harmony export */ x5: function() { return /* binding */ basketDelete; }, /* harmony export */ zh: function() { return /* binding */ examinationItems; } /* harmony export */ }); /* unused harmony exports setExerciseCombinationScore, joinGroup, updateGroup, getSubdirectory */ /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/regeneratorRuntime.js */ 7557); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/objectSpread2.js */ 82242); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1__); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/toConsumableArray.js */ 37205); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_2__); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/asyncToGenerator.js */ 41498); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_3__); /* harmony import */ var _utils_fetch__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/utils/fetch */ 55794); function getDisciplines(_x) { return _getDisciplines.apply(this, arguments); } function _getDisciplines() { _getDisciplines = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_3___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee$(_context) { while (1) switch (_context.prev = _context.next) { case 0: return _context.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .ZP)('/api/disciplines.json', { method: 'get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params), {}, { clazz: "ItemBanksGroup" }) })); case 1: case "end": return _context.stop(); } }, _callee); })); return _getDisciplines.apply(this, arguments); } function getBasketList(_x2) { return _getBasketList.apply(this, arguments); } // 获取文件夹数据: function _getBasketList() { _getBasketList = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_3___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee2(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee2$(_context2) { while (1) switch (_context2.prev = _context2.next) { case 0: return _context2.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .ZP)('/api/item_baskets/basket_list.json', { method: 'get', params: params })); case 1: case "end": return _context2.stop(); } }, _callee2); })); return _getBasketList.apply(this, arguments); } function getGroup(_x3) { return _getGroup.apply(this, arguments); } // 获取试题数据: function _getGroup() { _getGroup = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_3___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee3(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee3$(_context3) { while (1) switch (_context3.prev = _context3.next) { case 0: return _context3.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .ZP)('/api/item_banks_groups/for_problemset.json', { method: 'post', body: params })); case 1: case "end": return _context3.stop(); } }, _callee3); })); return _getGroup.apply(this, arguments); } function getItemBanks(_x4) { return _getItemBanks.apply(this, arguments); } function _getItemBanks() { _getItemBanks = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_3___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee4(body) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee4$(_context4) { while (1) switch (_context4.prev = _context4.next) { case 0: return _context4.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .ZP)('/api/item_banks/list.json', { method: 'post', body: body })); case 1: case "end": return _context4.stop(); } }, _callee4); })); return _getItemBanks.apply(this, arguments); } function setPrivate(_x5) { return _setPrivate.apply(this, arguments); } function _setPrivate() { _setPrivate = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_3___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee5(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee5$(_context5) { while (1) switch (_context5.prev = _context5.next) { case 0: return _context5.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .ZP)("/api/item_banks/".concat(params.id, "/set_private.json"), { method: 'post' })); case 1: case "end": return _context5.stop(); } }, _callee5); })); return _setPrivate.apply(this, arguments); } function setPublic(_x6) { return _setPublic.apply(this, arguments); } function _setPublic() { _setPublic = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_3___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee6(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee6$(_context6) { while (1) switch (_context6.prev = _context6.next) { case 0: return _context6.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .ZP)("/api/item_banks/".concat(params.id, "/set_public.json"), { method: 'post' })); case 1: case "end": return _context6.stop(); } }, _callee6); })); return _setPublic.apply(this, arguments); } function handleDelete(_x7) { return _handleDelete.apply(this, arguments); } function _handleDelete() { _handleDelete = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_3___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee7(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee7$(_context7) { while (1) switch (_context7.prev = _context7.next) { case 0: return _context7.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .ZP)("/api/item_banks/".concat(params.id, ".json"), { method: 'delete' })); case 1: case "end": return _context7.stop(); } }, _callee7); })); return _handleDelete.apply(this, arguments); } function startExperience(_x8) { return _startExperience.apply(this, arguments); } function _startExperience() { _startExperience = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_3___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee8(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee8$(_context8) { while (1) switch (_context8.prev = _context8.next) { case 0: return _context8.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .ZP)("/api/problems/".concat(params.id, "/start.json"), { method: 'get' })); case 1: case "end": return _context8.stop(); } }, _callee8); })); return _startExperience.apply(this, arguments); } function cancel(_x9) { return _cancel.apply(this, arguments); } function _cancel() { _cancel = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_3___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee9(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee9$(_context9) { while (1) switch (_context9.prev = _context9.next) { case 0: return _context9.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .ZP)("/api/item_baskets/".concat(params.id, ".json"), { method: 'delete', body: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context9.stop(); } }, _callee9); })); return _cancel.apply(this, arguments); } function select(_x10) { return _select.apply(this, arguments); } function _select() { _select = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_3___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee10(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee10$(_context10) { while (1) switch (_context10.prev = _context10.next) { case 0: return _context10.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .ZP)("/api/item_baskets.json", { method: 'post', body: params })); case 1: case "end": return _context10.stop(); } }, _callee10); })); return _select.apply(this, arguments); } function examUnselectAll(_x11) { return _examUnselectAll.apply(this, arguments); } function _examUnselectAll() { _examUnselectAll = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_3___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee11(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee11$(_context11) { while (1) switch (_context11.prev = _context11.next) { case 0: return _context11.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .ZP)("/api/examination_banks/cancel_items.json", { method: 'post', body: params })); case 1: case "end": return _context11.stop(); } }, _callee11); })); return _examUnselectAll.apply(this, arguments); } function basketDelete(_x12) { return _basketDelete.apply(this, arguments); } function _basketDelete() { _basketDelete = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_3___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee12(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee12$(_context12) { while (1) switch (_context12.prev = _context12.next) { case 0: return _context12.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .ZP)("/api/item_baskets/delete_item_type.json", { method: 'delete', body: { item_type: params.type } })); case 1: case "end": return _context12.stop(); } }, _callee12); })); return _basketDelete.apply(this, arguments); } function unselectAll(_x13) { return _unselectAll.apply(this, arguments); } function _unselectAll() { _unselectAll = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_3___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee13(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee13$(_context13) { while (1) switch (_context13.prev = _context13.next) { case 0: return _context13.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .ZP)("/api/examination_banks/cancel_items.json", { method: 'post', body: params })); case 1: case "end": return _context13.stop(); } }, _callee13); })); return _unselectAll.apply(this, arguments); } function addKnowledge(_x14) { return _addKnowledge.apply(this, arguments); } function _addKnowledge() { _addKnowledge = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_3___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee14(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee14$(_context14) { while (1) switch (_context14.prev = _context14.next) { case 0: return _context14.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .ZP)("/api/tag_disciplines.json", { method: 'post', body: params })); case 1: case "end": return _context14.stop(); } }, _callee14); })); return _addKnowledge.apply(this, arguments); } function editProblemset(_x15) { return _editProblemset.apply(this, arguments); } function _editProblemset() { _editProblemset = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_3___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee15(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee15$(_context15) { while (1) switch (_context15.prev = _context15.next) { case 0: return _context15.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .ZP)("/api/item_banks/".concat(params.id, ".json"), { method: 'put', body: params })); case 1: case "end": return _context15.stop(); } }, _callee15); })); return _editProblemset.apply(this, arguments); } function addProblemset(_x16) { return _addProblemset.apply(this, arguments); } function _addProblemset() { _addProblemset = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_3___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee16(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee16$(_context16) { while (1) switch (_context16.prev = _context16.next) { case 0: return _context16.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .ZP)("/api/item_banks.json", { method: 'post', body: params })); case 1: case "end": return _context16.stop(); } }, _callee16); })); return _addProblemset.apply(this, arguments); } function getEditData(_x17) { return _getEditData.apply(this, arguments); } function _getEditData() { _getEditData = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_3___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee17(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee17$(_context17) { while (1) switch (_context17.prev = _context17.next) { case 0: return _context17.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .ZP)("/api/item_banks/".concat(params.id, "/edit.json"), { method: 'get' })); case 1: case "end": return _context17.stop(); } }, _callee17); })); return _getEditData.apply(this, arguments); } function getEditDataBprogram(_x18) { return _getEditDataBprogram.apply(this, arguments); } function _getEditDataBprogram() { _getEditDataBprogram = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_3___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee18(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee18$(_context18) { while (1) switch (_context18.prev = _context18.next) { case 0: return _context18.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .ZP)("/api/problems/".concat(params.id, "/edit.json"), { method: 'get' })); case 1: case "end": return _context18.stop(); } }, _callee18); })); return _getEditDataBprogram.apply(this, arguments); } function getPaperData(_x19) { return _getPaperData.apply(this, arguments); } function _getPaperData() { _getPaperData = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_3___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee19(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee19$(_context19) { while (1) switch (_context19.prev = _context19.next) { case 0: return _context19.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .ZP)("/api/item_baskets.json", { method: 'get', params: params })); case 1: case "end": return _context19.stop(); } }, _callee19); })); return _getPaperData.apply(this, arguments); } function setScore(_x20) { return _setScore.apply(this, arguments); } function _setScore() { _setScore = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_3___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee20(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee20$(_context20) { while (1) switch (_context20.prev = _context20.next) { case 0: return _context20.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .ZP)("/api/item_baskets/".concat(params.id, "/set_score.json"), { method: 'post', body: params })); case 1: case "end": return _context20.stop(); } }, _callee20); })); return _setScore.apply(this, arguments); } function setChallengeScore(_x21) { return _setChallengeScore.apply(this, arguments); } //设置组合分数 function _setChallengeScore() { _setChallengeScore = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_3___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee21(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee21$(_context21) { while (1) switch (_context21.prev = _context21.next) { case 0: return _context21.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .ZP)("/api/item_baskets/".concat(params.id, "/set_challenge_score.json"), { method: 'post', body: params })); case 1: case "end": return _context21.stop(); } }, _callee21); })); return _setChallengeScore.apply(this, arguments); } function setCombinationScore(_x22) { return _setCombinationScore.apply(this, arguments); } function _setCombinationScore() { _setCombinationScore = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_3___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee22(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee22$(_context22) { while (1) switch (_context22.prev = _context22.next) { case 0: return _context22.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .ZP)("/api/item_baskets/".concat(params.id, "/combination_set_score.json"), { method: 'post', body: params })); case 1: case "end": return _context22.stop(); } }, _callee22); })); return _setCombinationScore.apply(this, arguments); } function setExerciseCombinationScore(_x23) { return _setExerciseCombinationScore.apply(this, arguments); } function _setExerciseCombinationScore() { _setExerciseCombinationScore = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee23(params) { return _regeneratorRuntime().wrap(function _callee23$(_context23) { while (1) switch (_context23.prev = _context23.next) { case 0: return _context23.abrupt("return", Fetch("/api/examination_banks//".concat(params.exerid, "/examination_banks_item_banks/").concat(params.id, "/combination_set_score.json"), { method: 'post', body: params })); case 1: case "end": return _context23.stop(); } }, _callee23); })); return _setExerciseCombinationScore.apply(this, arguments); } function handleDeletePreviewQuestion(_x24) { return _handleDeletePreviewQuestion.apply(this, arguments); } function _handleDeletePreviewQuestion() { _handleDeletePreviewQuestion = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_3___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee24(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee24$(_context24) { while (1) switch (_context24.prev = _context24.next) { case 0: return _context24.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .ZP)("/api/item_baskets/".concat(params.id, ".json"), { method: 'delete' })); case 1: case "end": return _context24.stop(); } }, _callee24); })); return _handleDeletePreviewQuestion.apply(this, arguments); } function batchSetScore(_x25) { return _batchSetScore.apply(this, arguments); } function _batchSetScore() { _batchSetScore = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_3___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee25(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee25$(_context25) { while (1) switch (_context25.prev = _context25.next) { case 0: return _context25.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .ZP)("/api/item_baskets/batch_set_score.json", { method: 'post', body: params })); case 1: case "end": return _context25.stop(); } }, _callee25); })); return _batchSetScore.apply(this, arguments); } function batchDelete(_x26) { return _batchDelete.apply(this, arguments); } function _batchDelete() { _batchDelete = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_3___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee26(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee26$(_context26) { while (1) switch (_context26.prev = _context26.next) { case 0: return _context26.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .ZP)("/api/item_baskets/delete_item_type.json", { method: 'delete', body: params })); case 1: case "end": return _context26.stop(); } }, _callee26); })); return _batchDelete.apply(this, arguments); } function adjustPosition(_x27) { return _adjustPosition.apply(this, arguments); } function _adjustPosition() { _adjustPosition = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_3___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee27(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee27$(_context27) { while (1) switch (_context27.prev = _context27.next) { case 0: return _context27.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .ZP)("/api/item_baskets/".concat(params.id, "/adjust_position.json"), { method: 'post', body: params })); case 1: case "end": return _context27.stop(); } }, _callee27); })); return _adjustPosition.apply(this, arguments); } function newPreviewProblemset(_x28) { return _newPreviewProblemset.apply(this, arguments); } function _newPreviewProblemset() { _newPreviewProblemset = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_3___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee28(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee28$(_context28) { while (1) switch (_context28.prev = _context28.next) { case 0: return _context28.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .ZP)("/api/examination_banks.json", { method: 'post', body: params })); case 1: case "end": return _context28.stop(); } }, _callee28); })); return _newPreviewProblemset.apply(this, arguments); } function revokeItem(_x29) { return _revokeItem.apply(this, arguments); } function _revokeItem() { _revokeItem = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_3___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee29(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee29$(_context29) { while (1) switch (_context29.prev = _context29.next) { case 0: return _context29.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .ZP)("/api/examination_banks/".concat(params.id, "/revoke_item.json"), { method: 'delete', body: params })); case 1: case "end": return _context29.stop(); } }, _callee29); })); return _revokeItem.apply(this, arguments); } function examinationItems(_x30) { return _examinationItems.apply(this, arguments); } function _examinationItems() { _examinationItems = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_3___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee30(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee30$(_context30) { while (1) switch (_context30.prev = _context30.next) { case 0: return _context30.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .ZP)("/api/examination_banks/".concat(params.exam_id, "/examination_banks_item_banks.json"), { method: 'post', body: params })); case 1: case "end": return _context30.stop(); } }, _callee30); })); return _examinationItems.apply(this, arguments); } function joinCollection(_x31) { return _joinCollection.apply(this, arguments); } function _joinCollection() { _joinCollection = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_3___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee31(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee31$(_context31) { while (1) switch (_context31.prev = _context31.next) { case 0: return _context31.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .ZP)("/api/item_banks/".concat(params.id, "/join_to_collection.json"), { method: 'post', params: params })); case 1: case "end": return _context31.stop(); } }, _callee31); })); return _joinCollection.apply(this, arguments); } function cancelCollection(_x32) { return _cancelCollection.apply(this, arguments); } function _cancelCollection() { _cancelCollection = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_3___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee32(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee32$(_context32) { while (1) switch (_context32.prev = _context32.next) { case 0: return _context32.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .ZP)("/api/item_banks/".concat(params.id, "/cancel_collection.json"), { method: 'post', params: params })); case 1: case "end": return _context32.stop(); } }, _callee32); })); return _cancelCollection.apply(this, arguments); } function getPaperList(_x33) { return _getPaperList.apply(this, arguments); } function _getPaperList() { _getPaperList = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_3___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee33(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee33$(_context33) { while (1) switch (_context33.prev = _context33.next) { case 0: return _context33.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .ZP)("/api/item_banks_groups.json", { method: 'get', params: params })); case 1: case "end": return _context33.stop(); } }, _callee33); })); return _getPaperList.apply(this, arguments); } function getGroupList(_x34) { return _getGroupList.apply(this, arguments); } function _getGroupList() { _getGroupList = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_3___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee34(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee34$(_context34) { while (1) switch (_context34.prev = _context34.next) { case 0: return _context34.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .ZP)("/api/item_banks_groups/mine.json", { method: 'get', params: params })); case 1: case "end": return _context34.stop(); } }, _callee34); })); return _getGroupList.apply(this, arguments); } function joinGroup(_x35) { return _joinGroup.apply(this, arguments); } function _joinGroup() { _joinGroup = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee35(params) { return _regeneratorRuntime().wrap(function _callee35$(_context35) { while (1) switch (_context35.prev = _context35.next) { case 0: return _context35.abrupt("return", Fetch("/api/item_banks/".concat(params.id, "/join_to_group.json"), { method: 'post', body: params })); case 1: case "end": return _context35.stop(); } }, _callee35); })); return _joinGroup.apply(this, arguments); } function updateGroup(_x36) { return _updateGroup.apply(this, arguments); } function _updateGroup() { _updateGroup = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee36(params) { return _regeneratorRuntime().wrap(function _callee36$(_context36) { while (1) switch (_context36.prev = _context36.next) { case 0: return _context36.abrupt("return", Fetch("/api/item_banks_groups/".concat(params.id, ".json"), { method: 'put', body: params })); case 1: case "end": return _context36.stop(); } }, _callee36); })); return _updateGroup.apply(this, arguments); } function createGroup(_x37) { return _createGroup.apply(this, arguments); } function _createGroup() { _createGroup = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_3___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee37(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee37$(_context37) { while (1) switch (_context37.prev = _context37.next) { case 0: return _context37.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .ZP)("/api/item_banks_groups.json", { method: 'post', body: params })); case 1: case "end": return _context37.stop(); } }, _callee37); })); return _createGroup.apply(this, arguments); } function createFeedback(_x38) { return _createFeedback.apply(this, arguments); } function _createFeedback() { _createFeedback = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_3___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee38(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee38$(_context38) { while (1) switch (_context38.prev = _context38.next) { case 0: return _context38.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .ZP)("/api/item_banks/".concat(params.id, "/feedback.json"), { method: 'post', body: params })); case 1: case "end": return _context38.stop(); } }, _callee38); })); return _createFeedback.apply(this, arguments); } function getTeachGroupData(_x39) { return _getTeachGroupData.apply(this, arguments); } function _getTeachGroupData() { _getTeachGroupData = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_3___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee39(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee39$(_context39) { while (1) switch (_context39.prev = _context39.next) { case 0: return _context39.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .ZP)("/api/teach_group_shares.json", { method: 'get', params: params })); case 1: case "end": return _context39.stop(); } }, _callee39); })); return _getTeachGroupData.apply(this, arguments); } function batchShare(_x40) { return _batchShare.apply(this, arguments); } //试题库批量删除 function _batchShare() { _batchShare = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_3___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee40(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee40$(_context40) { while (1) switch (_context40.prev = _context40.next) { case 0: return _context40.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .ZP)("/api/teach_group_shares.json", { method: 'post', body: params })); case 1: case "end": return _context40.stop(); } }, _callee40); })); return _batchShare.apply(this, arguments); } function batchQuestionsDelete(_x41) { return _batchQuestionsDelete.apply(this, arguments); } function _batchQuestionsDelete() { _batchQuestionsDelete = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_3___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee41(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee41$(_context41) { while (1) switch (_context41.prev = _context41.next) { case 0: return _context41.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .ZP)("/api/item_banks/batch_delete.json", { method: 'post', body: params })); case 1: case "end": return _context41.stop(); } }, _callee41); })); return _batchQuestionsDelete.apply(this, arguments); } function batchGroup(_x42) { return _batchGroup.apply(this, arguments); } function _batchGroup() { _batchGroup = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_3___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee42(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee42$(_context42) { while (1) switch (_context42.prev = _context42.next) { case 0: return _context42.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .ZP)("/api/item_banks/batch_to_group.json", { method: 'post', body: params })); case 1: case "end": return _context42.stop(); } }, _callee42); })); return _batchGroup.apply(this, arguments); } function addGroup(_x43) { return _addGroup.apply(this, arguments); } function _addGroup() { _addGroup = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_3___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee43(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee43$(_context43) { while (1) switch (_context43.prev = _context43.next) { case 0: return _context43.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .ZP)("/api/item_banks/".concat(params === null || params === void 0 ? void 0 : params.id, "/add_to_mine.json"), { method: 'post', body: params })); case 1: case "end": return _context43.stop(); } }, _callee43); })); return _addGroup.apply(this, arguments); } function batchPublic(_x44) { return _batchPublic.apply(this, arguments); } function _batchPublic() { _batchPublic = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_3___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee44(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee44$(_context44) { while (1) switch (_context44.prev = _context44.next) { case 0: return _context44.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .ZP)("/api/item_banks/set_batch_public.json", { method: 'post', body: params })); case 1: case "end": return _context44.stop(); } }, _callee44); })); return _batchPublic.apply(this, arguments); } function getTeachGroupDataById(_x45) { return _getTeachGroupDataById.apply(this, arguments); } function _getTeachGroupDataById() { _getTeachGroupDataById = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_3___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee45(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee45$(_context45) { while (1) switch (_context45.prev = _context45.next) { case 0: return _context45.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .ZP)("/api/teach_group_shares/show_groups.json", { method: 'get', params: params })); case 1: case "end": return _context45.stop(); } }, _callee45); })); return _getTeachGroupDataById.apply(this, arguments); } function programPublish(params) { return (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .ZP)("/api/problems/".concat(params.identifier, "/publish.json"), { method: 'post', body: params }); } function programCancelPublish(params) { return (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .ZP)("/api/problems/".concat(params.identifier, "/cancel_publish.json"), { method: 'post', body: params }); } function revokePublish(params) { return (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .ZP)("/api/item_banks/cancel_public.json", { method: 'post', body: { ids: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_2___default()(params.id) } }); } function moveUp(_x46) { return _moveUp.apply(this, arguments); } function _moveUp() { _moveUp = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_3___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee46(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee46$(_context46) { while (1) switch (_context46.prev = _context46.next) { case 0: return _context46.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .ZP)("/api/item_banks_groups/".concat(params.id, "/up_position.json"), { method: 'get', params: params })); case 1: case "end": return _context46.stop(); } }, _callee46); })); return _moveUp.apply(this, arguments); } function moveDown(_x47) { return _moveDown.apply(this, arguments); } function _moveDown() { _moveDown = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_3___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee47(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee47$(_context47) { while (1) switch (_context47.prev = _context47.next) { case 0: return _context47.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .ZP)("/api/item_banks_groups/".concat(params.id, "/down_position.json"), { method: 'get', params: params })); case 1: case "end": return _context47.stop(); } }, _callee47); })); return _moveDown.apply(this, arguments); } function editInfo(_x48) { return _editInfo.apply(this, arguments); } function _editInfo() { _editInfo = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_3___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee48(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee48$(_context48) { while (1) switch (_context48.prev = _context48.next) { case 0: return _context48.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .ZP)("/api/homework_commons/".concat(params.id, "/edit_hack.json"), { method: 'get', params: params })); case 1: case "end": return _context48.stop(); } }, _callee48); })); return _editInfo.apply(this, arguments); } function batchPublishCondition(_x49) { return _batchPublishCondition.apply(this, arguments); } function _batchPublishCondition() { _batchPublishCondition = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_3___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee49(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee49$(_context49) { while (1) switch (_context49.prev = _context49.next) { case 0: return _context49.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .ZP)("/api/problems/batch_publish_condition.json", { method: 'post', body: params })); case 1: case "end": return _context49.stop(); } }, _callee49); })); return _batchPublishCondition.apply(this, arguments); } function batchPublish(_x50) { return _batchPublish.apply(this, arguments); } function _batchPublish() { _batchPublish = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_3___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee50(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee50$(_context50) { while (1) switch (_context50.prev = _context50.next) { case 0: return _context50.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .ZP)("/api/problems/batch_publish.json", { method: 'post', body: params })); case 1: case "end": return _context50.stop(); } }, _callee50); })); return _batchPublish.apply(this, arguments); } function getSubdirectory(_x51) { return _getSubdirectory.apply(this, arguments); } function _getSubdirectory() { _getSubdirectory = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee51(params) { return _regeneratorRuntime().wrap(function _callee51$(_context51) { while (1) switch (_context51.prev = _context51.next) { case 0: return _context51.abrupt("return", Fetch("/api/item_banks/get_groups.json", { method: 'get', params: params })); case 1: case "end": return _context51.stop(); } }, _callee51); })); return _getSubdirectory.apply(this, arguments); } function clearBasket() { return _clearBasket.apply(this, arguments); } function _clearBasket() { _clearBasket = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_3___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee52() { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee52$(_context52) { while (1) switch (_context52.prev = _context52.next) { case 0: return _context52.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .ZP)("/api/item_baskets/delete_all_items.json", { method: 'delete' })); case 1: case "end": return _context52.stop(); } }, _callee52); })); return _clearBasket.apply(this, arguments); } /***/ }), /***/ 81599: /*!********************************!*\ !*** ./src/service/restful.ts ***! \********************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ E1: function() { return /* binding */ deleteRestFul; }, /* harmony export */ Go: function() { return /* binding */ getRestful; }, /* harmony export */ H5: function() { return /* binding */ getRestfulDetail; } /* harmony export */ }); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/regeneratorRuntime.js */ 7557); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/asyncToGenerator.js */ 41498); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__); /* harmony import */ var _utils_fetch__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/utils/fetch */ 55794); function getRestful(_x) { return _getRestful.apply(this, arguments); } function _getRestful() { _getRestful = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee$(_context) { while (1) switch (_context.prev = _context.next) { case 0: return _context.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)('/api/restfuls.json', { method: 'get', params: params })); case 1: case "end": return _context.stop(); } }, _callee); })); return _getRestful.apply(this, arguments); } function getRestfulDetail(_x2) { return _getRestfulDetail.apply(this, arguments); } function _getRestfulDetail() { _getRestfulDetail = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee2(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee2$(_context2) { while (1) switch (_context2.prev = _context2.next) { case 0: return _context2.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/restfuls/".concat(params.id, ".json"), { method: 'get', params: params })); case 1: case "end": return _context2.stop(); } }, _callee2); })); return _getRestfulDetail.apply(this, arguments); } function deleteRestFul(_x3) { return _deleteRestFul.apply(this, arguments); } function _deleteRestFul() { _deleteRestFul = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee3(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee3$(_context3) { while (1) switch (_context3.prev = _context3.next) { case 0: return _context3.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/restfuls/".concat(params.id, ".json"), { method: 'delete', params: params })); case 1: case "end": return _context3.stop(); } }, _callee3); })); return _deleteRestFul.apply(this, arguments); } /***/ }), /***/ 35457: /*!****************************************!*\ !*** ./src/service/shixunHomeworks.ts ***! \****************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ Ar: function() { return /* binding */ editCommonHomeWork; }, /* harmony export */ BD: function() { return /* binding */ editCommonHomeWorkDefaultData; }, /* harmony export */ Be: function() { return /* binding */ addStudentWork; }, /* harmony export */ Dx: function() { return /* binding */ exportShixunWorks; }, /* harmony export */ Fr: function() { return /* binding */ shixunResetMyGame; }, /* harmony export */ H: function() { return /* binding */ updateWork; }, /* harmony export */ H1: function() { return /* binding */ AddCommonHomework; }, /* harmony export */ Hj: function() { return /* binding */ getStudentWorkDetail; }, /* harmony export */ JA: function() { return /* binding */ getStudentWorkCommon; }, /* harmony export */ JG: function() { return /* binding */ getCodeReviewCourse; }, /* harmony export */ KE: function() { return /* binding */ getEndGroups; }, /* harmony export */ Lz: function() { return /* binding */ getSearchMemberList; }, /* harmony export */ Mf: function() { return /* binding */ deleteReply; }, /* harmony export */ NA: function() { return /* binding */ replyLike; }, /* harmony export */ PC: function() { return /* binding */ getReplyList; }, /* harmony export */ PP: function() { return /* binding */ createReply; }, /* harmony export */ PW: function() { return /* binding */ editStudentWorkDefaultData; }, /* harmony export */ Q3: function() { return /* binding */ getReferenceAnswer; }, /* harmony export */ QC: function() { return /* binding */ delStudentWorkScore; }, /* harmony export */ Qt: function() { return /* binding */ addCommonHomeWorkDefaultData; }, /* harmony export */ R$: function() { return /* binding */ appealAnonymousScore; }, /* harmony export */ RP: function() { return /* binding */ getCodeReview; }, /* harmony export */ Ti: function() { return /* binding */ getFileRepeatDetail; }, /* harmony export */ Uc: function() { return /* binding */ getScoreStatus; }, /* harmony export */ Ul: function() { return /* binding */ getWorkSetting; }, /* harmony export */ VB: function() { return /* binding */ getFileRepeatListInCommonHomework; }, /* harmony export */ Vs: function() { return /* binding */ updateScore; }, /* harmony export */ Xn: function() { return /* binding */ getCodeReviewDetail; }, /* harmony export */ YQ: function() { return /* binding */ replyUnLike; }, /* harmony export */ ak: function() { return /* binding */ addStudentWorkDefaultData; }, /* harmony export */ co: function() { return /* binding */ relateProject; }, /* harmony export */ cz: function() { return /* binding */ getShixunWorkReports; }, /* harmony export */ gG: function() { return /* binding */ changeScore; }, /* harmony export */ gZ: function() { return /* binding */ deleteStudentWorkScoreCommit; }, /* harmony export */ h$: function() { return /* binding */ getWorkList; }, /* harmony export */ ku: function() { return /* binding */ getProjectList; }, /* harmony export */ lf: function() { return /* binding */ saveBanks; }, /* harmony export */ m7: function() { return /* binding */ updateSetting; }, /* harmony export */ mz: function() { return /* binding */ reviseAttachment; }, /* harmony export */ n$: function() { return /* binding */ getBrankList; }, /* harmony export */ oN: function() { return /* binding */ getFileRepeatResult; }, /* harmony export */ pH: function() { return /* binding */ editCommonHomeWorkDefaultBankData; }, /* harmony export */ pb: function() { return /* binding */ updateHomeWorkCommitDes; }, /* harmony export */ qP: function() { return /* binding */ addStudentWorkScoreCommit; }, /* harmony export */ ql: function() { return /* binding */ getAllStudentWorks; }, /* harmony export */ rN: function() { return /* binding */ cancelRelateProject; }, /* harmony export */ sw: function() { return /* binding */ getShixunWorkReport; }, /* harmony export */ to: function() { return /* binding */ getWorkDetail; }, /* harmony export */ ub: function() { return /* binding */ getStudentWorkSupplyDetail; }, /* harmony export */ ux: function() { return /* binding */ getPublishGroups; }, /* harmony export */ wS: function() { return /* binding */ getHomeWorkCommitDes; }, /* harmony export */ yT: function() { return /* binding */ editBankCommonHomeWork; }, /* harmony export */ yy: function() { return /* binding */ addStudentWorkScore; }, /* harmony export */ z2: function() { return /* binding */ editStudentWork; } /* harmony export */ }); /* unused harmony exports cancelAppeal, dealAppealScore */ /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/regeneratorRuntime.js */ 7557); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/objectSpread2.js */ 82242); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1__); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/asyncToGenerator.js */ 41498); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2__); /* harmony import */ var _utils_fetch__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/utils/fetch */ 55794); //实训首页列表 function getWorkList(_x) { return _getWorkList.apply(this, arguments); } // 作业详情 function _getWorkList() { _getWorkList = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee$(_context) { while (1) switch (_context.prev = _context.next) { case 0: return _context.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/homework_commons/".concat(params.categoryId, "/works_list.json"), { method: 'post', body: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context.stop(); } }, _callee); })); return _getWorkList.apply(this, arguments); } function getWorkDetail(_x2) { return _getWorkDetail.apply(this, arguments); } // 实训作业 代码查重 function _getWorkDetail() { _getWorkDetail = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee2(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee2$(_context2) { while (1) switch (_context2.prev = _context2.next) { case 0: return _context2.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/homework_commons/".concat(params.categoryId, ".json"), { method: 'get' })); case 1: case "end": return _context2.stop(); } }, _callee2); })); return _getWorkDetail.apply(this, arguments); } function getCodeReview(_x3) { return _getCodeReview.apply(this, arguments); } function _getCodeReview() { _getCodeReview = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee3(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee3$(_context3) { while (1) switch (_context3.prev = _context3.next) { case 0: return _context3.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/homework_commons/".concat(params.categoryId, "/code_review_results.json"), { method: 'get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context3.stop(); } }, _callee3); })); return _getCodeReview.apply(this, arguments); } function getCodeReviewDetail(_x4) { return _getCodeReviewDetail.apply(this, arguments); } // 实训作业 设置 function _getCodeReviewDetail() { _getCodeReviewDetail = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee4(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee4$(_context4) { while (1) switch (_context4.prev = _context4.next) { case 0: return _context4.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/homework_commons/".concat(params.categoryId, "/code_review_detail.json"), { method: 'get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context4.stop(); } }, _callee4); })); return _getCodeReviewDetail.apply(this, arguments); } function getWorkSetting(_x5) { return _getWorkSetting.apply(this, arguments); } // 实训作业 设置更新 function _getWorkSetting() { _getWorkSetting = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee5(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee5$(_context5) { while (1) switch (_context5.prev = _context5.next) { case 0: return _context5.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/homework_commons/".concat(params.categoryId, "/settings.json"), { method: 'get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context5.stop(); } }, _callee5); })); return _getWorkSetting.apply(this, arguments); } function updateSetting(_x6) { return _updateSetting.apply(this, arguments); } // 代码查重分班 function _updateSetting() { _updateSetting = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee6(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee6$(_context6) { while (1) switch (_context6.prev = _context6.next) { case 0: return _context6.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/homework_commons/".concat(params.categoryId, "/update_settings.json"), { method: 'post', body: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context6.stop(); } }, _callee6); })); return _updateSetting.apply(this, arguments); } function getCodeReviewCourse(_x7) { return _getCodeReviewCourse.apply(this, arguments); } // 实训作业 导出成绩 function _getCodeReviewCourse() { _getCodeReviewCourse = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee7(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee7$(_context7) { while (1) switch (_context7.prev = _context7.next) { case 0: return _context7.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/homework_commons/".concat(params.categoryId, "/group_list.json"), { method: 'get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context7.stop(); } }, _callee7); })); return _getCodeReviewCourse.apply(this, arguments); } function exportShixunWorks(_x8) { return _exportShixunWorks.apply(this, arguments); } // 分组作业 题库详情 function _exportShixunWorks() { _exportShixunWorks = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee8(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee8$(_context8) { while (1) switch (_context8.prev = _context8.next) { case 0: return _context8.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/homework_commons/".concat(params.categoryId, "/works_list.xlsx"), { method: 'get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context8.stop(); } }, _callee8); })); return _exportShixunWorks.apply(this, arguments); } function getReferenceAnswer(_x9) { return _getReferenceAnswer.apply(this, arguments); } // 分组作业 班级列表 function _getReferenceAnswer() { _getReferenceAnswer = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee9(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee9$(_context9) { while (1) switch (_context9.prev = _context9.next) { case 0: return _context9.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/homework_commons/".concat(params.coursesId, "/reference_answer.json"), { method: 'get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context9.stop(); } }, _callee9); })); return _getReferenceAnswer.apply(this, arguments); } function getPublishGroups(_x10) { return _getPublishGroups.apply(this, arguments); } // 分组作业 截止班级列表 function _getPublishGroups() { _getPublishGroups = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee10(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee10$(_context10) { while (1) switch (_context10.prev = _context10.next) { case 0: return _context10.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/homework_commons/".concat(params.categoryId, "/publish_groups.json"), { method: 'get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context10.stop(); } }, _callee10); })); return _getPublishGroups.apply(this, arguments); } function getEndGroups(_x11) { return _getEndGroups.apply(this, arguments); } // 分组作业 题库选用列表 function _getEndGroups() { _getEndGroups = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee11(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee11$(_context11) { while (1) switch (_context11.prev = _context11.next) { case 0: return _context11.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/homework_commons/".concat(params.categoryId, "/end_groups.json"), { method: 'get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context11.stop(); } }, _callee11); })); return _getEndGroups.apply(this, arguments); } function getBrankList(_x12) { return _getBrankList.apply(this, arguments); } // 分组作业 保存题库 function _getBrankList() { _getBrankList = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee12(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee12$(_context12) { while (1) switch (_context12.prev = _context12.next) { case 0: return _context12.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/question_banks/bank_list.json", { method: 'get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context12.stop(); } }, _callee12); })); return _getBrankList.apply(this, arguments); } function saveBanks(_x13) { return _saveBanks.apply(this, arguments); } function _saveBanks() { _saveBanks = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee13(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee13$(_context13) { while (1) switch (_context13.prev = _context13.next) { case 0: return _context13.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/question_banks/save_banks.json", { method: 'post', body: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context13.stop(); } }, _callee13); })); return _saveBanks.apply(this, arguments); } function getShixunWorkReport(_x14) { return _getShixunWorkReport.apply(this, arguments); } function _getShixunWorkReport() { _getShixunWorkReport = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee14(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee14$(_context14) { while (1) switch (_context14.prev = _context14.next) { case 0: return _context14.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/student_works/".concat(params.homeworkId, "/shixun_work_report.json"), { method: 'get' })); case 1: case "end": return _context14.stop(); } }, _callee14); })); return _getShixunWorkReport.apply(this, arguments); } function getShixunWorkReports(_x15) { return _getShixunWorkReports.apply(this, arguments); } function _getShixunWorkReports() { _getShixunWorkReports = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee15(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee15$(_context15) { while (1) switch (_context15.prev = _context15.next) { case 0: return _context15.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.coursesId, "/homework_commons/user_hack_detail.json"), { method: 'get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params), {}, { id: params.categoryId }) })); case 1: case "end": return _context15.stop(); } }, _callee15); })); return _getShixunWorkReports.apply(this, arguments); } function changeScore(_x16) { return _changeScore.apply(this, arguments); } function _changeScore() { _changeScore = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee16(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee16$(_context16) { while (1) switch (_context16.prev = _context16.next) { case 0: return _context16.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/student_works/".concat(params.categoryId, "/adjust_review_score.json"), { method: 'post', body: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context16.stop(); } }, _callee16); })); return _changeScore.apply(this, arguments); } function getReplyList(_x17) { return _getReplyList.apply(this, arguments); } function _getReplyList() { _getReplyList = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee17(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee17$(_context17) { while (1) switch (_context17.prev = _context17.next) { case 0: return _context17.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/homework_commons/".concat(params.categoryId, "/show_comment.json"), { method: 'get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context17.stop(); } }, _callee17); })); return _getReplyList.apply(this, arguments); } function createReply(_x18) { return _createReply.apply(this, arguments); } function _createReply() { _createReply = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee18(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee18$(_context18) { while (1) switch (_context18.prev = _context18.next) { case 0: return _context18.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/users/reply_message.json", { method: 'post', body: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context18.stop(); } }, _callee18); })); return _createReply.apply(this, arguments); } function replyLike(_x19) { return _replyLike.apply(this, arguments); } function _replyLike() { _replyLike = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee19(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee19$(_context19) { while (1) switch (_context19.prev = _context19.next) { case 0: return _context19.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/praise_tread/like.json", { method: 'post', body: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context19.stop(); } }, _callee19); })); return _replyLike.apply(this, arguments); } function replyUnLike(_x20) { return _replyUnLike.apply(this, arguments); } function _replyUnLike() { _replyUnLike = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee20(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee20$(_context20) { while (1) switch (_context20.prev = _context20.next) { case 0: return _context20.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/praise_tread/unlike.json", { method: 'delete', body: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context20.stop(); } }, _callee20); })); return _replyUnLike.apply(this, arguments); } function deleteReply(_x21) { return _deleteReply.apply(this, arguments); } function _deleteReply() { _deleteReply = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee21(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee21$(_context21) { while (1) switch (_context21.prev = _context21.next) { case 0: return _context21.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/commons/delete.json", { method: 'delete', body: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context21.stop(); } }, _callee21); })); return _deleteReply.apply(this, arguments); } function updateWork(_x22) { return _updateWork.apply(this, arguments); } function _updateWork() { _updateWork = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee22(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee22$(_context22) { while (1) switch (_context22.prev = _context22.next) { case 0: return _context22.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/homework_commons/".concat(params.categoryId, "/update_explanation.json"), { method: 'post', body: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context22.stop(); } }, _callee22); })); return _updateWork.apply(this, arguments); } function AddCommonHomework(_x23) { return _AddCommonHomework.apply(this, arguments); } function _AddCommonHomework() { _AddCommonHomework = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee23(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee23$(_context23) { while (1) switch (_context23.prev = _context23.next) { case 0: return _context23.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.coursesId, "/homework_commons.json"), { method: 'post', body: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context23.stop(); } }, _callee23); })); return _AddCommonHomework.apply(this, arguments); } function editCommonHomeWork(_x24) { return _editCommonHomeWork.apply(this, arguments); } function _editCommonHomeWork() { _editCommonHomeWork = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee24(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee24$(_context24) { while (1) switch (_context24.prev = _context24.next) { case 0: return _context24.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/homework_commons/".concat(params.categoryId, ".json"), { method: 'put', body: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context24.stop(); } }, _callee24); })); return _editCommonHomeWork.apply(this, arguments); } function editBankCommonHomeWork(_x25) { return _editBankCommonHomeWork.apply(this, arguments); } function _editBankCommonHomeWork() { _editBankCommonHomeWork = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee25(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee25$(_context25) { while (1) switch (_context25.prev = _context25.next) { case 0: return _context25.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/homework_banks/".concat(params.id, ".json"), { method: 'put', body: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context25.stop(); } }, _callee25); })); return _editBankCommonHomeWork.apply(this, arguments); } function addStudentWorkDefaultData(_x26) { return _addStudentWorkDefaultData.apply(this, arguments); } function _addStudentWorkDefaultData() { _addStudentWorkDefaultData = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee26(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee26$(_context26) { while (1) switch (_context26.prev = _context26.next) { case 0: return _context26.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/homework_commons/".concat(params.commonHomeworkId, "/student_works/new.json"), { method: 'get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context26.stop(); } }, _callee26); })); return _addStudentWorkDefaultData.apply(this, arguments); } function editStudentWorkDefaultData(_x27) { return _editStudentWorkDefaultData.apply(this, arguments); } function _editStudentWorkDefaultData() { _editStudentWorkDefaultData = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee27(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee27$(_context27) { while (1) switch (_context27.prev = _context27.next) { case 0: return _context27.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/student_works/".concat(params.homeworkId, "/edit.json"), { method: 'get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context27.stop(); } }, _callee27); })); return _editStudentWorkDefaultData.apply(this, arguments); } function editStudentWork(_x28) { return _editStudentWork.apply(this, arguments); } function _editStudentWork() { _editStudentWork = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee28(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee28$(_context28) { while (1) switch (_context28.prev = _context28.next) { case 0: return _context28.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/student_works/".concat(params.homeworkId, ".json"), { method: 'put', body: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context28.stop(); } }, _callee28); })); return _editStudentWork.apply(this, arguments); } function reviseAttachment(_x29) { return _reviseAttachment.apply(this, arguments); } function _reviseAttachment() { _reviseAttachment = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee29(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee29$(_context29) { while (1) switch (_context29.prev = _context29.next) { case 0: return _context29.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/student_works/".concat(params.homeworkId, "/revise_attachment.json"), { method: 'post', body: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context29.stop(); } }, _callee29); })); return _reviseAttachment.apply(this, arguments); } function addStudentWork(_x30) { return _addStudentWork.apply(this, arguments); } function _addStudentWork() { _addStudentWork = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee30(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee30$(_context30) { while (1) switch (_context30.prev = _context30.next) { case 0: return _context30.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/homework_commons/".concat(params.commonHomeworkId, "/student_works.json"), { method: 'post', body: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context30.stop(); } }, _callee30); })); return _addStudentWork.apply(this, arguments); } function relateProject(_x31) { return _relateProject.apply(this, arguments); } function _relateProject() { _relateProject = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee31(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee31$(_context31) { while (1) switch (_context31.prev = _context31.next) { case 0: return _context31.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/homework_commons/".concat(params.homeworkId, "/student_works/relate_project.json"), { method: 'post', body: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context31.stop(); } }, _callee31); })); return _relateProject.apply(this, arguments); } function cancelRelateProject(_x32) { return _cancelRelateProject.apply(this, arguments); } function _cancelRelateProject() { _cancelRelateProject = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee32(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee32$(_context32) { while (1) switch (_context32.prev = _context32.next) { case 0: return _context32.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/homework_commons/".concat(params.homeworkId, "/student_works/cancel_relate_project.json"), { method: 'get' })); case 1: case "end": return _context32.stop(); } }, _callee32); })); return _cancelRelateProject.apply(this, arguments); } function getProjectList(_x33) { return _getProjectList.apply(this, arguments); } function _getProjectList() { _getProjectList = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee33(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee33$(_context33) { while (1) switch (_context33.prev = _context33.next) { case 0: return _context33.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/users/projects/search.json", { method: 'get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context33.stop(); } }, _callee33); })); return _getProjectList.apply(this, arguments); } function getSearchMemberList(_x34) { return _getSearchMemberList.apply(this, arguments); } function _getSearchMemberList() { _getSearchMemberList = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee34(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee34$(_context34) { while (1) switch (_context34.prev = _context34.next) { case 0: return _context34.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/homework_commons/".concat(params.commonHomeworkId, "/student_works/search_member_list.json"), { method: 'get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context34.stop(); } }, _callee34); })); return _getSearchMemberList.apply(this, arguments); } function addCommonHomeWorkDefaultData(_x35) { return _addCommonHomeWorkDefaultData.apply(this, arguments); } function _addCommonHomeWorkDefaultData() { _addCommonHomeWorkDefaultData = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee35(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee35$(_context35) { while (1) switch (_context35.prev = _context35.next) { case 0: return _context35.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.coursesId, "/homework_commons/new.json"), { method: 'get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context35.stop(); } }, _callee35); })); return _addCommonHomeWorkDefaultData.apply(this, arguments); } function editCommonHomeWorkDefaultData(_x36) { return _editCommonHomeWorkDefaultData.apply(this, arguments); } function _editCommonHomeWorkDefaultData() { _editCommonHomeWorkDefaultData = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee36(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee36$(_context36) { while (1) switch (_context36.prev = _context36.next) { case 0: return _context36.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/homework_commons/".concat(params.categoryId, "/edit.json"), { method: 'get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context36.stop(); } }, _callee36); })); return _editCommonHomeWorkDefaultData.apply(this, arguments); } function editCommonHomeWorkDefaultBankData(_x37) { return _editCommonHomeWorkDefaultBankData.apply(this, arguments); } function _editCommonHomeWorkDefaultBankData() { _editCommonHomeWorkDefaultBankData = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee37(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee37$(_context37) { while (1) switch (_context37.prev = _context37.next) { case 0: return _context37.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/homework_banks/".concat(params.id, ".json"), { method: 'get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context37.stop(); } }, _callee37); })); return _editCommonHomeWorkDefaultBankData.apply(this, arguments); } function getStudentWorkDetail(_x38) { return _getStudentWorkDetail.apply(this, arguments); } function _getStudentWorkDetail() { _getStudentWorkDetail = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee38(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee38$(_context38) { while (1) switch (_context38.prev = _context38.next) { case 0: return _context38.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/student_works/".concat(params.userId, ".json"), { method: 'get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context38.stop(); } }, _callee38); })); return _getStudentWorkDetail.apply(this, arguments); } function getStudentWorkSupplyDetail(_x39) { return _getStudentWorkSupplyDetail.apply(this, arguments); } function _getStudentWorkSupplyDetail() { _getStudentWorkSupplyDetail = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee39(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee39$(_context39) { while (1) switch (_context39.prev = _context39.next) { case 0: return _context39.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/student_works/".concat(params.userId, "/supply_attachments.json"), { method: 'get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context39.stop(); } }, _callee39); })); return _getStudentWorkSupplyDetail.apply(this, arguments); } function getStudentWorkCommon(_x40) { return _getStudentWorkCommon.apply(this, arguments); } function _getStudentWorkCommon() { _getStudentWorkCommon = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee40(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee40$(_context40) { while (1) switch (_context40.prev = _context40.next) { case 0: return _context40.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/student_works/".concat(params.userId, "/comment_list.json"), { method: 'get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context40.stop(); } }, _callee40); })); return _getStudentWorkCommon.apply(this, arguments); } function delStudentWorkScore(_x41) { return _delStudentWorkScore.apply(this, arguments); } function _delStudentWorkScore() { _delStudentWorkScore = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee41(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee41$(_context41) { while (1) switch (_context41.prev = _context41.next) { case 0: return _context41.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/student_works/".concat(params.userId, "/destroy_score.json"), { method: 'delete', body: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context41.stop(); } }, _callee41); })); return _delStudentWorkScore.apply(this, arguments); } function addStudentWorkScoreCommit(_x42) { return _addStudentWorkScoreCommit.apply(this, arguments); } function _addStudentWorkScoreCommit() { _addStudentWorkScoreCommit = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee42(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee42$(_context42) { while (1) switch (_context42.prev = _context42.next) { case 0: return _context42.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/student_works/".concat(params.userId, "/add_score_reply.json"), { method: 'post', body: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context42.stop(); } }, _callee42); })); return _addStudentWorkScoreCommit.apply(this, arguments); } function getAllStudentWorks(_x43) { return _getAllStudentWorks.apply(this, arguments); } function _getAllStudentWorks() { _getAllStudentWorks = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee43(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee43$(_context43) { while (1) switch (_context43.prev = _context43.next) { case 0: return _context43.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/homework_commons/".concat(params.categoryId, "/all_student_works.json"), { method: 'get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context43.stop(); } }, _callee43); })); return _getAllStudentWorks.apply(this, arguments); } function deleteStudentWorkScoreCommit(_x44) { return _deleteStudentWorkScoreCommit.apply(this, arguments); } function _deleteStudentWorkScoreCommit() { _deleteStudentWorkScoreCommit = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee44(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee44$(_context44) { while (1) switch (_context44.prev = _context44.next) { case 0: return _context44.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/student_works/".concat(params.homeworkId, "/destroy_work_comment.json"), { method: 'delete', body: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context44.stop(); } }, _callee44); })); return _deleteStudentWorkScoreCommit.apply(this, arguments); } function getScoreStatus(_x45) { return _getScoreStatus.apply(this, arguments); } function _getScoreStatus() { _getScoreStatus = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee45(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee45$(_context45) { while (1) switch (_context45.prev = _context45.next) { case 0: return _context45.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/homework_commons/".concat(params.categoryId, "/score_status.json"), { method: 'get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context45.stop(); } }, _callee45); })); return _getScoreStatus.apply(this, arguments); } function updateScore(_x46) { return _updateScore.apply(this, arguments); } function _updateScore() { _updateScore = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee46(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee46$(_context46) { while (1) switch (_context46.prev = _context46.next) { case 0: return _context46.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/homework_commons/".concat(params.categoryId, "/update_score.json"), { method: 'get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context46.stop(); } }, _callee46); })); return _updateScore.apply(this, arguments); } function addStudentWorkScore(_x47) { return _addStudentWorkScore.apply(this, arguments); } function _addStudentWorkScore() { _addStudentWorkScore = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee47(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee47$(_context47) { while (1) switch (_context47.prev = _context47.next) { case 0: return _context47.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/student_works/".concat(params.userId, "/add_score.json"), { method: 'post', body: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context47.stop(); } }, _callee47); })); return _addStudentWorkScore.apply(this, arguments); } function cancelAppeal(_x48) { return _cancelAppeal.apply(this, arguments); } function _cancelAppeal() { _cancelAppeal = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee48(params) { return _regeneratorRuntime().wrap(function _callee48$(_context48) { while (1) switch (_context48.prev = _context48.next) { case 0: return _context48.abrupt("return", Fetch("/api/student_works/".concat(params.userId, "/cancel_appeal.json"), { method: 'post', body: _objectSpread({}, params) })); case 1: case "end": return _context48.stop(); } }, _callee48); })); return _cancelAppeal.apply(this, arguments); } function appealAnonymousScore(_x49) { return _appealAnonymousScore.apply(this, arguments); } function _appealAnonymousScore() { _appealAnonymousScore = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee49(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee49$(_context49) { while (1) switch (_context49.prev = _context49.next) { case 0: return _context49.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/student_works/".concat(params.userId, "/appeal_anonymous_score.json"), { method: 'post', body: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context49.stop(); } }, _callee49); })); return _appealAnonymousScore.apply(this, arguments); } function dealAppealScore(_x50) { return _dealAppealScore.apply(this, arguments); } function _dealAppealScore() { _dealAppealScore = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee50(params) { return _regeneratorRuntime().wrap(function _callee50$(_context50) { while (1) switch (_context50.prev = _context50.next) { case 0: return _context50.abrupt("return", Fetch("/api/student_works/".concat(params.userId, "/deal_appeal_score.json"), { method: 'post', body: _objectSpread({}, params) })); case 1: case "end": return _context50.stop(); } }, _callee50); })); return _dealAppealScore.apply(this, arguments); } function shixunResetMyGame(_x51) { return _shixunResetMyGame.apply(this, arguments); } function _shixunResetMyGame() { _shixunResetMyGame = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee51(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee51$(_context51) { while (1) switch (_context51.prev = _context51.next) { case 0: return _context51.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/myshixuns/".concat(params.id, "/reset_my_game.json"), { method: 'get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context51.stop(); } }, _callee51); })); return _shixunResetMyGame.apply(this, arguments); } function getHomeWorkCommitDes(_x52) { return _getHomeWorkCommitDes.apply(this, arguments); } function _getHomeWorkCommitDes() { _getHomeWorkCommitDes = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee52(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee52$(_context52) { while (1) switch (_context52.prev = _context52.next) { case 0: return _context52.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/student_works/".concat(params.homeworkId, "/commit_des.json"), { method: 'get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context52.stop(); } }, _callee52); })); return _getHomeWorkCommitDes.apply(this, arguments); } function updateHomeWorkCommitDes(_x53) { return _updateHomeWorkCommitDes.apply(this, arguments); } // 文档查重分班 function _updateHomeWorkCommitDes() { _updateHomeWorkCommitDes = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee53(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee53$(_context53) { while (1) switch (_context53.prev = _context53.next) { case 0: return _context53.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/student_works/".concat(params.homeworkId, "/update_des.json"), { method: 'post', body: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context53.stop(); } }, _callee53); })); return _updateHomeWorkCommitDes.apply(this, arguments); } function getFileRepeatListInCommonHomework(_x54) { return _getFileRepeatListInCommonHomework.apply(this, arguments); } // 普通作业 文档查重结果 function _getFileRepeatListInCommonHomework() { _getFileRepeatListInCommonHomework = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee54(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee54$(_context54) { while (1) switch (_context54.prev = _context54.next) { case 0: return _context54.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.coursesId, "/homework_commons/file_repeat_list.json"), { method: 'get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context54.stop(); } }, _callee54); })); return _getFileRepeatListInCommonHomework.apply(this, arguments); } function getFileRepeatResult(_x55) { return _getFileRepeatResult.apply(this, arguments); } function _getFileRepeatResult() { _getFileRepeatResult = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee55(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee55$(_context55) { while (1) switch (_context55.prev = _context55.next) { case 0: return _context55.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.coursesId, "/homework_commons/file_repeat_result.json"), { method: 'get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context55.stop(); } }, _callee55); })); return _getFileRepeatResult.apply(this, arguments); } function getFileRepeatDetail(_x56) { return _getFileRepeatDetail.apply(this, arguments); } function _getFileRepeatDetail() { _getFileRepeatDetail = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee56(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee56$(_context56) { while (1) switch (_context56.prev = _context56.next) { case 0: return _context56.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.course_id, "/homework_commons/file_repeat_detail.json"), { method: 'get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context56.stop(); } }, _callee56); })); return _getFileRepeatDetail.apply(this, arguments); } /***/ }), /***/ 22158: /*!********************************!*\ !*** ./src/service/shixuns.ts ***! \********************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ $2: function() { return /* binding */ college_table_query; }, /* harmony export */ $Q: function() { return /* binding */ resetMyGame; }, /* harmony export */ $Y: function() { return /* binding */ reservations_table_canceled; }, /* harmony export */ AE: function() { return /* binding */ getChallengesAnswer; }, /* harmony export */ AQ: function() { return /* binding */ getRightData; }, /* harmony export */ Ag: function() { return /* binding */ getRepository; }, /* harmony export */ Ar: function() { return /* binding */ release; }, /* harmony export */ At: function() { return /* binding */ getForkList; }, /* harmony export */ BK: function() { return /* binding */ execJupyter; }, /* harmony export */ Bj: function() { return /* binding */ getScriptContent; }, /* harmony export */ CN: function() { return /* binding */ device_group_status; }, /* harmony export */ DC: function() { return /* binding */ getSettingsData; }, /* harmony export */ Dz: function() { return /* binding */ updateCollaboratorEditable; }, /* harmony export */ E4: function() { return /* binding */ getRankingList; }, /* harmony export */ EH: function() { return /* binding */ applyShixunMirror; }, /* harmony export */ Ee: function() { return /* binding */ existExercise; }, /* harmony export */ Er: function() { return /* binding */ cancelPublic; }, /* harmony export */ Fg: function() { return /* binding */ getRankList; }, /* harmony export */ GI: function() { return /* binding */ getAuditSituationData; }, /* harmony export */ Gr: function() { return /* binding */ getShixunQuote; }, /* harmony export */ Gu: function() { return /* binding */ getShixunsJupyterLab; }, /* harmony export */ Gz: function() { return /* binding */ getStatisticsBody; }, /* harmony export */ Hl: function() { return /* binding */ getStatisticsHeader; }, /* harmony export */ IT: function() { return /* binding */ moveGitFile; }, /* harmony export */ I_: function() { return /* binding */ getShixunsMenus; }, /* harmony export */ Ir: function() { return /* binding */ execShixun; }, /* harmony export */ Je: function() { return /* binding */ getRepositoryCommit; }, /* harmony export */ K: function() { return /* binding */ getEnvironmentData; }, /* harmony export */ K0: function() { return /* binding */ createSecretRepository; }, /* harmony export */ KM: function() { return /* binding */ collect; }, /* harmony export */ K_: function() { return /* binding */ getTimeInfoWithTPM; }, /* harmony export */ L$: function() { return /* binding */ can_reservation_shixuns; }, /* harmony export */ LK: function() { return /* binding */ getFileContent; }, /* harmony export */ LP: function() { return /* binding */ updateAuditSituation; }, /* harmony export */ Ne: function() { return /* binding */ cancelRelease; }, /* harmony export */ OV: function() { return /* binding */ addCollaborator; }, /* harmony export */ OW: function() { return /* binding */ deleteAttachment; }, /* harmony export */ Op: function() { return /* binding */ uploadGitFolder; }, /* harmony export */ P2: function() { return /* binding */ getChangeManager; }, /* harmony export */ Po: function() { return /* binding */ getShixunsDetail; }, /* harmony export */ Ps: function() { return /* binding */ deleteShixun; }, /* harmony export */ Q: function() { return /* binding */ sendToCourse; }, /* harmony export */ Q1: function() { return /* binding */ getEnvironmentDetail; }, /* harmony export */ QA: function() { return /* binding */ updateJupyterLabSetting; }, /* harmony export */ Ql: function() { return /* binding */ getDepartments; }, /* harmony export */ Rs: function() { return /* binding */ updateChallengesNew; }, /* harmony export */ SG: function() { return /* binding */ previewJupyter; }, /* harmony export */ Tn: function() { return /* binding */ addChallengesQuestion; }, /* harmony export */ Tr: function() { return /* binding */ checkShixunCopy; }, /* harmony export */ U0: function() { return /* binding */ getSetData; }, /* harmony export */ U9: function() { return /* binding */ permanentClose; }, /* harmony export */ UQ: function() { return /* binding */ getEditChallengesQuestion; }, /* harmony export */ Ui: function() { return /* binding */ getInfoWithTPM; }, /* harmony export */ Vx: function() { return /* binding */ createRepositorys; }, /* harmony export */ WO: function() { return /* binding */ applyPublic; }, /* harmony export */ Wi: function() { return /* binding */ getCustomScript; }, /* harmony export */ Wl: function() { return /* binding */ getRepositorys; }, /* harmony export */ X$: function() { return /* binding */ changeManager; }, /* harmony export */ Yn: function() { return /* binding */ deleteChallengesQuestion; }, /* harmony export */ Z2: function() { return /* binding */ getMirrorScript; }, /* harmony export */ ZO: function() { return /* binding */ updateSettingBasicInfo; }, /* harmony export */ Zt: function() { return /* binding */ setSecretDir; }, /* harmony export */ _7: function() { return /* binding */ searchUserCourses; }, /* harmony export */ _9: function() { return /* binding */ upChallengesQuestion; }, /* harmony export */ aH: function() { return /* binding */ updatePermissionSetting; }, /* harmony export */ al: function() { return /* binding */ addChallengesNew; }, /* harmony export */ b8: function() { return /* binding */ getNewShixunsData; }, /* harmony export */ bq: function() { return /* binding */ updateChallengesQuestion; }, /* harmony export */ dK: function() { return /* binding */ openChallenge; }, /* harmony export */ e: function() { return /* binding */ getShixunUseInfos; }, /* harmony export */ eX: function() { return /* binding */ submitShixuns; }, /* harmony export */ eb: function() { return /* binding */ getQuestionList; }, /* harmony export */ ed: function() { return /* binding */ reservations_table_query; }, /* harmony export */ f6: function() { return /* binding */ reservations_table_reviewed; }, /* harmony export */ fL: function() { return /* binding */ addRepositoryFiles; }, /* harmony export */ h4: function() { return /* binding */ createRepository; }, /* harmony export */ hS: function() { return /* binding */ getOnlineCount; }, /* harmony export */ he: function() { return /* binding */ getShixunsList; }, /* harmony export */ hn: function() { return /* binding */ challengeMoveDown; }, /* harmony export */ ii: function() { return /* binding */ getChallengePractice; }, /* harmony export */ im: function() { return /* binding */ downChallengesQuestion; }, /* harmony export */ j8: function() { return /* binding */ getCollaboratorsData; }, /* harmony export */ jq: function() { return /* binding */ updateRepositoryFiles; }, /* harmony export */ kF: function() { return /* binding */ updateRepositoryFile; }, /* harmony export */ km: function() { return /* binding */ getChallengesNew; }, /* harmony export */ l3: function() { return /* binding */ addTeachGroupMember; }, /* harmony export */ m7: function() { return /* binding */ updateSetting; }, /* harmony export */ mI: function() { return /* binding */ getInfoWithJupyterLab; }, /* harmony export */ n5: function() { return /* binding */ getChallengesData; }, /* harmony export */ nu: function() { return /* binding */ getFileContents; }, /* harmony export */ p0: function() { return /* binding */ deleteGitFiles; }, /* harmony export */ q0: function() { return /* binding */ getChallengesEdit; }, /* harmony export */ q9: function() { return /* binding */ activeWithTPM; }, /* harmony export */ qA: function() { return /* binding */ saveWithTPM; }, /* harmony export */ rO: function() { return /* binding */ deleteChallengesNew; }, /* harmony export */ rs: function() { return /* binding */ cancelCollect; }, /* harmony export */ sr: function() { return /* binding */ deleteGitFile; }, /* harmony export */ t2: function() { return /* binding */ moveGitFiles; }, /* harmony export */ tV: function() { return /* binding */ reservation_data; }, /* harmony export */ tX: function() { return /* binding */ getMirrorApplies; }, /* harmony export */ uo: function() { return /* binding */ deleteDataSet; }, /* harmony export */ v3: function() { return /* binding */ addRepositoryFile; }, /* harmony export */ w: function() { return /* binding */ getSecretRepository; }, /* harmony export */ xK: function() { return /* binding */ updateChallengesAnswer; }, /* harmony export */ xg: function() { return /* binding */ updateChallenges; }, /* harmony export */ xk: function() { return /* binding */ deleteCollaborators; }, /* harmony export */ yE: function() { return /* binding */ updateLearnSetting; }, /* harmony export */ yx: function() { return /* binding */ getTaskPass; }, /* harmony export */ zD: function() { return /* binding */ challengeMoveUp; }, /* harmony export */ zH: function() { return /* binding */ resetWithTPM; } /* harmony export */ }); /* unused harmony exports mirrorAppliesPublish, mirrorAppliesOpenVnc, mirrorAppliesOpenWebssh, mirrorAppliesSaveImage, mirrorAppliesDeleteImage, mirrorAppliesExtendVnc, mirrorAppliesResetVncLink, getProgressHomeworks, updateShixunStudyNum */ /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/objectSpread2.js */ 82242); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0__); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/regeneratorRuntime.js */ 7557); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1__); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/asyncToGenerator.js */ 41498); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2__); /* harmony import */ var _utils_fetch__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/utils/fetch */ 55794); /** * @description 实践项目-概览统计-训头部除在线人数之外 */ var getStatisticsHeader = /*#__PURE__*/function () { var _ref = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee$(_context) { while (1) switch (_context.prev = _context.next) { case 0: return _context.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)('/api/shixun_statistics/statistics_header.json', { method: 'Get', params: params })); case 1: case "end": return _context.stop(); } }, _callee); })); return function getStatisticsHeader(_x) { return _ref.apply(this, arguments); }; }(); /** * @description 实践项目-概览统计-当前云上实验室在线人数 */ var getOnlineCount = /*#__PURE__*/function () { var _ref2 = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee2(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee2$(_context2) { while (1) switch (_context2.prev = _context2.next) { case 0: return _context2.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)('/api/shixun_statistics/online_count.json', { method: 'Get', params: params })); case 1: case "end": return _context2.stop(); } }, _callee2); })); return function getOnlineCount(_x2) { return _ref2.apply(this, arguments); }; }(); /** * @description 实践项目-概览统计-项目难度、通关次数测评次数图表 */ var getStatisticsBody = /*#__PURE__*/function () { var _ref3 = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee3(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee3$(_context3) { while (1) switch (_context3.prev = _context3.next) { case 0: return _context3.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)('/api/shixun_statistics/statistics_body.json', { method: 'Get', params: params })); case 1: case "end": return _context3.stop(); } }, _callee3); })); return function getStatisticsBody(_x3) { return _ref3.apply(this, arguments); }; }(); /** * @description 实践项目-概览统计-排行榜 */ var getRankList = /*#__PURE__*/function () { var _ref4 = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee4(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee4$(_context4) { while (1) switch (_context4.prev = _context4.next) { case 0: return _context4.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)('/api/shixun_statistics/rank_list.json', { method: 'Get', params: params })); case 1: case "end": return _context4.stop(); } }, _callee4); })); return function getRankList(_x4) { return _ref4.apply(this, arguments); }; }(); /** * @description 实践项目-概览统计-课程使用详情 */ var getShixunUseInfos = /*#__PURE__*/function () { var _ref5 = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee5(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee5$(_context5) { while (1) switch (_context5.prev = _context5.next) { case 0: return _context5.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)('/api/shixun_statistics/shixun_use_infos.json', { method: 'Get', params: params })); case 1: case "end": return _context5.stop(); } }, _callee5); })); return function getShixunUseInfos(_x5) { return _ref5.apply(this, arguments); }; }(); //实训首页列表 function getShixunsList(_x6) { return _getShixunsList.apply(this, arguments); } // 获取实训首页菜单 function _getShixunsList() { _getShixunsList = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee6(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee6$(_context6) { while (1) switch (_context6.prev = _context6.next) { case 0: return _context6.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)('/api/shixuns.json', { method: 'Get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params) })); case 1: case "end": return _context6.stop(); } }, _callee6); })); return _getShixunsList.apply(this, arguments); } function getShixunsMenus(_x7) { return _getShixunsMenus.apply(this, arguments); } //获取实训详情 function _getShixunsMenus() { _getShixunsMenus = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee7(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee7$(_context7) { while (1) switch (_context7.prev = _context7.next) { case 0: return _context7.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)('/api/disciplines.json', { method: 'Get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({ source: 'shixun' }, params || {}) })); case 1: case "end": return _context7.stop(); } }, _callee7); })); return _getShixunsMenus.apply(this, arguments); } function getShixunsDetail(_x8) { return _getShixunsDetail.apply(this, arguments); } // 获取右侧数据 function _getShixunsDetail() { _getShixunsDetail = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee8(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee8$(_context8) { while (1) switch (_context8.prev = _context8.next) { case 0: return _context8.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/shixuns/".concat(params.id, ".json"), { method: 'Get' })); case 1: case "end": return _context8.stop(); } }, _callee8); })); return _getShixunsDetail.apply(this, arguments); } function getRightData(_x9) { return _getRightData.apply(this, arguments); } // 获取挑战数据 function _getRightData() { _getRightData = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee9(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee9$(_context9) { while (1) switch (_context9.prev = _context9.next) { case 0: return _context9.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/shixuns/".concat(params.id, "/show_right.json"), { method: 'Get' })); case 1: case "end": return _context9.stop(); } }, _callee9); })); return _getRightData.apply(this, arguments); } function getChallengesData(_x10) { return _getChallengesData.apply(this, arguments); } function _getChallengesData() { _getChallengesData = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee10(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee10$(_context10) { while (1) switch (_context10.prev = _context10.next) { case 0: return _context10.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/shixuns/".concat(params.id, "/challenges.json"), { method: 'Get' })); case 1: case "end": return _context10.stop(); } }, _callee10); })); return _getChallengesData.apply(this, arguments); } function execJupyter(_x11) { return _execJupyter.apply(this, arguments); } function _execJupyter() { _execJupyter = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee11(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee11$(_context11) { while (1) switch (_context11.prev = _context11.next) { case 0: return _context11.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/shixuns/".concat(params.id, "/jupyter_exec.json").concat(params.reset ? "?reset=".concat(params.reset) : ''), { method: 'Get', params: params })); case 1: case "end": return _context11.stop(); } }, _callee11); })); return _execJupyter.apply(this, arguments); } function execShixun(_x12) { return _execShixun.apply(this, arguments); } function _execShixun() { _execShixun = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee12(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee12$(_context12) { while (1) switch (_context12.prev = _context12.next) { case 0: return _context12.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/shixuns/".concat(params.id, "/shixun_exec.json").concat(params.reset ? "?reset=".concat(params.reset) : ''), { method: 'Get', params: params })); case 1: case "end": return _context12.stop(); } }, _callee12); })); return _execShixun.apply(this, arguments); } function openChallenge(_x13) { return _openChallenge.apply(this, arguments); } function _openChallenge() { _openChallenge = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee13(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee13$(_context13) { while (1) switch (_context13.prev = _context13.next) { case 0: return _context13.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)(params.url, { method: 'Get' })); case 1: case "end": return _context13.stop(); } }, _callee13); })); return _openChallenge.apply(this, arguments); } function challengeMoveUp(_x14) { return _challengeMoveUp.apply(this, arguments); } function _challengeMoveUp() { _challengeMoveUp = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee14(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee14$(_context14) { while (1) switch (_context14.prev = _context14.next) { case 0: return _context14.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/shixuns/".concat(params.shixun_identifier, "/challenges/").concat(params.challenge_id, "/index_up.json"), { method: 'Get' })); case 1: case "end": return _context14.stop(); } }, _callee14); })); return _challengeMoveUp.apply(this, arguments); } function challengeMoveDown(_x15) { return _challengeMoveDown.apply(this, arguments); } function _challengeMoveDown() { _challengeMoveDown = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee15(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee15$(_context15) { while (1) switch (_context15.prev = _context15.next) { case 0: return _context15.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/shixuns/".concat(params.shixun_identifier, "/challenges/").concat(params.challenge_id, "/index_down.json"), { method: 'Get' })); case 1: case "end": return _context15.stop(); } }, _callee15); })); return _challengeMoveDown.apply(this, arguments); } function cancelCollect(_x16) { return _cancelCollect.apply(this, arguments); } function _cancelCollect() { _cancelCollect = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee16(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee16$(_context16) { while (1) switch (_context16.prev = _context16.next) { case 0: return _context16.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/collections/cancel.json", { method: 'Delete', body: { container_id: params.container_id, container_type: params.container_type } })); case 1: case "end": return _context16.stop(); } }, _callee16); })); return _cancelCollect.apply(this, arguments); } function collect(_x17) { return _collect.apply(this, arguments); } function _collect() { _collect = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee17(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee17$(_context17) { while (1) switch (_context17.prev = _context17.next) { case 0: return _context17.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/collections.json", { method: 'Post', body: { container_id: params.container_id, container_type: params.container_type } })); case 1: case "end": return _context17.stop(); } }, _callee17); })); return _collect.apply(this, arguments); } function searchUserCourses(_x18) { return _searchUserCourses.apply(this, arguments); } function _searchUserCourses() { _searchUserCourses = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee18(params) { var _ref6, id; return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee18$(_context18) { while (1) switch (_context18.prev = _context18.next) { case 0: _ref6 = params || {}, id = _ref6.id; return _context18.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/shixuns/".concat(id, "/search_user_courses.json"), { method: 'Get', params: params })); case 2: case "end": return _context18.stop(); } }, _callee18); })); return _searchUserCourses.apply(this, arguments); } function sendToCourse(_x19) { return _sendToCourse.apply(this, arguments); } function _sendToCourse() { _sendToCourse = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee19(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee19$(_context19) { while (1) switch (_context19.prev = _context19.next) { case 0: return _context19.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/shixuns/".concat(params === null || params === void 0 ? void 0 : params.id, "/send_to_course.json"), { method: 'Post', body: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params) })); case 1: case "end": return _context19.stop(); } }, _callee19); })); return _sendToCourse.apply(this, arguments); } function cancelRelease(_x20) { return _cancelRelease.apply(this, arguments); } function _cancelRelease() { _cancelRelease = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee20(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee20$(_context20) { while (1) switch (_context20.prev = _context20.next) { case 0: return _context20.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/shixuns/".concat(params.id, "/cancel_publish.json"), { method: 'Get' })); case 1: case "end": return _context20.stop(); } }, _callee20); })); return _cancelRelease.apply(this, arguments); } function cancelPublic(_x21) { return _cancelPublic.apply(this, arguments); } function _cancelPublic() { _cancelPublic = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee21(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee21$(_context21) { while (1) switch (_context21.prev = _context21.next) { case 0: return _context21.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/shixuns/".concat(params.id, "/cancel_apply_public.json"), { method: 'Get' })); case 1: case "end": return _context21.stop(); } }, _callee21); })); return _cancelPublic.apply(this, arguments); } function applyPublic(_x22) { return _applyPublic.apply(this, arguments); } function _applyPublic() { _applyPublic = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee22(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee22$(_context22) { while (1) switch (_context22.prev = _context22.next) { case 0: return _context22.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/shixuns/".concat(params.id, "/apply_public.json"), { method: 'post', body: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params) })); case 1: case "end": return _context22.stop(); } }, _callee22); })); return _applyPublic.apply(this, arguments); } function release(_x23) { return _release.apply(this, arguments); } function _release() { _release = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee23(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee23$(_context23) { while (1) switch (_context23.prev = _context23.next) { case 0: return _context23.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/shixuns/".concat(params.id, "/publish.json"), { method: 'Get' })); case 1: case "end": return _context23.stop(); } }, _callee23); })); return _release.apply(this, arguments); } function getNewShixunsData(_x24) { return _getNewShixunsData.apply(this, arguments); } function _getNewShixunsData() { _getNewShixunsData = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee24(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee24$(_context24) { while (1) switch (_context24.prev = _context24.next) { case 0: return _context24.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/shixuns/jupyter_new.json", { method: 'Get' })); case 1: case "end": return _context24.stop(); } }, _callee24); })); return _getNewShixunsData.apply(this, arguments); } function deleteAttachment(_x25) { return _deleteAttachment.apply(this, arguments); } function _deleteAttachment() { _deleteAttachment = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee25(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee25$(_context25) { while (1) switch (_context25.prev = _context25.next) { case 0: return _context25.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/attachments/".concat(params.id, ".json"), { method: 'delete' })); case 1: case "end": return _context25.stop(); } }, _callee25); })); return _deleteAttachment.apply(this, arguments); } function applyShixunMirror(_x26) { return _applyShixunMirror.apply(this, arguments); } function _applyShixunMirror() { _applyShixunMirror = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee26(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee26$(_context26) { while (1) switch (_context26.prev = _context26.next) { case 0: return _context26.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/shixuns/apply_shixun_mirror.json", { method: 'post', body: params })); case 1: case "end": return _context26.stop(); } }, _callee26); })); return _applyShixunMirror.apply(this, arguments); } function submitShixuns(_x27) { return _submitShixuns.apply(this, arguments); } function _submitShixuns() { _submitShixuns = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee27(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee27$(_context27) { while (1) switch (_context27.prev = _context27.next) { case 0: return _context27.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/shixuns.json", { method: 'post', body: params })); case 1: case "end": return _context27.stop(); } }, _callee27); })); return _submitShixuns.apply(this, arguments); } function getShixunsJupyterLab(_x28) { return _getShixunsJupyterLab.apply(this, arguments); } function _getShixunsJupyterLab() { _getShixunsJupyterLab = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee28(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee28$(_context28) { while (1) switch (_context28.prev = _context28.next) { case 0: return _context28.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/shixuns/jupyter_lab_new.json", { method: 'get', params: params })); case 1: case "end": return _context28.stop(); } }, _callee28); })); return _getShixunsJupyterLab.apply(this, arguments); } function getAuditSituationData(_x29) { return _getAuditSituationData.apply(this, arguments); } function _getAuditSituationData() { _getAuditSituationData = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee29(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee29$(_context29) { while (1) switch (_context29.prev = _context29.next) { case 0: return _context29.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/shixuns/".concat(params.id, "/review_newest_record.json"), { method: 'Get' })); case 1: case "end": return _context29.stop(); } }, _callee29); })); return _getAuditSituationData.apply(this, arguments); } function updateAuditSituation(_x30) { return _updateAuditSituation.apply(this, arguments); } function _updateAuditSituation() { _updateAuditSituation = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee30(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee30$(_context30) { while (1) switch (_context30.prev = _context30.next) { case 0: return _context30.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/shixuns/".concat(params.id, "/review_shixun.json"), { method: 'post', body: params })); case 1: case "end": return _context30.stop(); } }, _callee30); })); return _updateAuditSituation.apply(this, arguments); } function getCollaboratorsData(_x31) { return _getCollaboratorsData.apply(this, arguments); } function _getCollaboratorsData() { _getCollaboratorsData = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee31(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee31$(_context31) { while (1) switch (_context31.prev = _context31.next) { case 0: return _context31.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/shixuns/".concat(params.id, "/collaborators.json"), { method: 'Get', params: params })); case 1: case "end": return _context31.stop(); } }, _callee31); })); return _getCollaboratorsData.apply(this, arguments); } function addCollaborator(_x32) { return _addCollaborator.apply(this, arguments); } function _addCollaborator() { _addCollaborator = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee32(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee32$(_context32) { while (1) switch (_context32.prev = _context32.next) { case 0: return _context32.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/shixuns/".concat(params.id, "/shixun_members_added.json"), { method: 'post', body: params })); case 1: case "end": return _context32.stop(); } }, _callee32); })); return _addCollaborator.apply(this, arguments); } function addTeachGroupMember(_x33) { return _addTeachGroupMember.apply(this, arguments); } function _addTeachGroupMember() { _addTeachGroupMember = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee33(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee33$(_context33) { while (1) switch (_context33.prev = _context33.next) { case 0: return _context33.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/shixuns/".concat(params.identifier, "/add_members_group.json"), { method: 'post', body: params })); case 1: case "end": return _context33.stop(); } }, _callee33); })); return _addTeachGroupMember.apply(this, arguments); } function getChangeManager(_x34) { return _getChangeManager.apply(this, arguments); } function _getChangeManager() { _getChangeManager = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee34(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee34$(_context34) { while (1) switch (_context34.prev = _context34.next) { case 0: return _context34.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/shixuns/".concat(params.id, "/change_manager.json"), { method: 'Get', params: params })); case 1: case "end": return _context34.stop(); } }, _callee34); })); return _getChangeManager.apply(this, arguments); } function changeManager(_x35) { return _changeManager.apply(this, arguments); } function _changeManager() { _changeManager = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee35(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee35$(_context35) { while (1) switch (_context35.prev = _context35.next) { case 0: return _context35.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/shixuns/".concat(params.id, "/change_manager.json"), { method: 'post', body: params })); case 1: case "end": return _context35.stop(); } }, _callee35); })); return _changeManager.apply(this, arguments); } function deleteCollaborators(_x36) { return _deleteCollaborators.apply(this, arguments); } function _deleteCollaborators() { _deleteCollaborators = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee36(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee36$(_context36) { while (1) switch (_context36.prev = _context36.next) { case 0: return _context36.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/shixuns/".concat(params.id, "/collaborators_delete.json"), { method: 'delete', body: { user_id: params.userId } })); case 1: case "end": return _context36.stop(); } }, _callee36); })); return _deleteCollaborators.apply(this, arguments); } function getRankingList(_x37) { return _getRankingList.apply(this, arguments); } function _getRankingList() { _getRankingList = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee37(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee37$(_context37) { while (1) switch (_context37.prev = _context37.next) { case 0: return _context37.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/shixuns/".concat(params.id, "/ranking_list.json"), { method: 'Get' })); case 1: case "end": return _context37.stop(); } }, _callee37); })); return _getRankingList.apply(this, arguments); } function getSettingsData(_x38) { return _getSettingsData.apply(this, arguments); } function _getSettingsData() { _getSettingsData = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee38(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee38$(_context38) { while (1) switch (_context38.prev = _context38.next) { case 0: return _context38.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/shixuns/".concat(params.id, "/settings.json"), { method: 'Get' })); case 1: case "end": return _context38.stop(); } }, _callee38); })); return _getSettingsData.apply(this, arguments); } function getMirrorScript(_x39) { return _getMirrorScript.apply(this, arguments); } function _getMirrorScript() { _getMirrorScript = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee39(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee39$(_context39) { while (1) switch (_context39.prev = _context39.next) { case 0: return _context39.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/shixuns/get_mirror_script.json", { method: 'Get', params: { mirror_id: params.mirror_id } })); case 1: case "end": return _context39.stop(); } }, _callee39); })); return _getMirrorScript.apply(this, arguments); } function getScriptContent(_x40) { return _getScriptContent.apply(this, arguments); } function _getScriptContent() { _getScriptContent = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee40(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee40$(_context40) { while (1) switch (_context40.prev = _context40.next) { case 0: return _context40.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/shixuns/".concat(params.id, "/get_script_contents.json"), { method: 'Get', params: params })); case 1: case "end": return _context40.stop(); } }, _callee40); })); return _getScriptContent.apply(this, arguments); } function getCustomScript(_x41) { return _getCustomScript.apply(this, arguments); } function _getCustomScript() { _getCustomScript = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee41(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee41$(_context41) { while (1) switch (_context41.prev = _context41.next) { case 0: return _context41.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/shixuns/".concat(params.id, "/get_custom_script.json"), { method: 'Get', params: params })); case 1: case "end": return _context41.stop(); } }, _callee41); })); return _getCustomScript.apply(this, arguments); } function updateSettingBasicInfo(_x42) { return _updateSettingBasicInfo.apply(this, arguments); } function _updateSettingBasicInfo() { _updateSettingBasicInfo = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee42(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee42$(_context42) { while (1) switch (_context42.prev = _context42.next) { case 0: return _context42.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/shixuns/".concat(params.id, "/update_for_jupyter.json"), { method: 'put', body: params })); case 1: case "end": return _context42.stop(); } }, _callee42); })); return _updateSettingBasicInfo.apply(this, arguments); } function getShixunQuote(_x43) { return _getShixunQuote.apply(this, arguments); } function _getShixunQuote() { _getShixunQuote = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee43(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee43$(_context43) { while (1) switch (_context43.prev = _context43.next) { case 0: return _context43.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/shixuns/".concat(params.id, "/shixun_quotes.json"), { method: 'Get' })); case 1: case "end": return _context43.stop(); } }, _callee43); })); return _getShixunQuote.apply(this, arguments); } function deleteShixun(_x44) { return _deleteShixun.apply(this, arguments); } function _deleteShixun() { _deleteShixun = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee44(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee44$(_context44) { while (1) switch (_context44.prev = _context44.next) { case 0: return _context44.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/shixuns/".concat(params.id, ".json"), { method: 'delete' })); case 1: case "end": return _context44.stop(); } }, _callee44); })); return _deleteShixun.apply(this, arguments); } function permanentClose(_x45) { return _permanentClose.apply(this, arguments); } function _permanentClose() { _permanentClose = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee45(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee45$(_context45) { while (1) switch (_context45.prev = _context45.next) { case 0: return _context45.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/shixuns/".concat(params.id, "/close.json"), { method: 'post', body: params })); case 1: case "end": return _context45.stop(); } }, _callee45); })); return _permanentClose.apply(this, arguments); } function getDepartments(_x46) { return _getDepartments.apply(this, arguments); } function _getDepartments() { _getDepartments = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee46(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee46$(_context46) { while (1) switch (_context46.prev = _context46.next) { case 0: return _context46.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/shixuns/departments.json", { method: 'Get', params: params })); case 1: case "end": return _context46.stop(); } }, _callee46); })); return _getDepartments.apply(this, arguments); } function updatePermissionSetting(_x47) { return _updatePermissionSetting.apply(this, arguments); } function _updatePermissionSetting() { _updatePermissionSetting = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee47(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee47$(_context47) { while (1) switch (_context47.prev = _context47.next) { case 0: return _context47.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/shixuns/".concat(params.id, "/update_permission_setting.json"), { method: 'post', body: params })); case 1: case "end": return _context47.stop(); } }, _callee47); })); return _updatePermissionSetting.apply(this, arguments); } function updateLearnSetting(_x48) { return _updateLearnSetting.apply(this, arguments); } function _updateLearnSetting() { _updateLearnSetting = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee48(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee48$(_context48) { while (1) switch (_context48.prev = _context48.next) { case 0: return _context48.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/shixuns/".concat(params.id, "/update_learn_setting.json"), { method: 'post', body: params })); case 1: case "end": return _context48.stop(); } }, _callee48); })); return _updateLearnSetting.apply(this, arguments); } function updateSetting(_x49) { return _updateSetting.apply(this, arguments); } function _updateSetting() { _updateSetting = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee49(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee49$(_context49) { while (1) switch (_context49.prev = _context49.next) { case 0: return _context49.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/shixuns/".concat(params.id, "/update_setting"), { method: 'post', body: params })); case 1: case "end": return _context49.stop(); } }, _callee49); })); return _updateSetting.apply(this, arguments); } function getSetData(_x50) { return _getSetData.apply(this, arguments); } function _getSetData() { _getSetData = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee50(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee50$(_context50) { while (1) switch (_context50.prev = _context50.next) { case 0: return _context50.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/shixuns/".concat(params.id, "/get_data_sets.json"), { method: 'Get', params: params })); case 1: case "end": return _context50.stop(); } }, _callee50); })); return _getSetData.apply(this, arguments); } function deleteDataSet(_x51) { return _deleteDataSet.apply(this, arguments); } function _deleteDataSet() { _deleteDataSet = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee51(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee51$(_context51) { while (1) switch (_context51.prev = _context51.next) { case 0: return _context51.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/shixuns/".concat(params.id, "/destroy_data_sets.json"), { method: 'Delete', body: { id: params.deleteId } })); case 1: case "end": return _context51.stop(); } }, _callee51); })); return _deleteDataSet.apply(this, arguments); } function getChallengesNew(_x52) { return _getChallengesNew.apply(this, arguments); } function _getChallengesNew() { _getChallengesNew = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee52(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee52$(_context52) { while (1) switch (_context52.prev = _context52.next) { case 0: return _context52.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/shixuns/".concat(params.id, "/challenges/new.json"), { method: 'get' })); case 1: case "end": return _context52.stop(); } }, _callee52); })); return _getChallengesNew.apply(this, arguments); } function addChallengesNew(_x53) { return _addChallengesNew.apply(this, arguments); } function _addChallengesNew() { _addChallengesNew = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee53(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee53$(_context53) { while (1) switch (_context53.prev = _context53.next) { case 0: return _context53.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/shixuns/".concat(params.identifier, "/challenges.json"), { method: 'post', body: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params) })); case 1: case "end": return _context53.stop(); } }, _callee53); })); return _addChallengesNew.apply(this, arguments); } function getChallengePractice(_x54) { return _getChallengePractice.apply(this, arguments); } function _getChallengePractice() { _getChallengePractice = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee54(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee54$(_context54) { while (1) switch (_context54.prev = _context54.next) { case 0: return _context54.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/shixuns/".concat(params.id, "/challenges/").concat(params.challengeId, "/edit.json"), { method: 'get', params: { tab: params.tab } })); case 1: case "end": return _context54.stop(); } }, _callee54); })); return _getChallengePractice.apply(this, arguments); } function updateChallengesNew(_x55) { return _updateChallengesNew.apply(this, arguments); } function _updateChallengesNew() { _updateChallengesNew = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee55(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee55$(_context55) { while (1) switch (_context55.prev = _context55.next) { case 0: return _context55.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/shixuns/".concat(params.id, "/challenges/").concat(params.challengesId, ".json"), { method: 'put', body: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params) })); case 1: case "end": return _context55.stop(); } }, _callee55); })); return _updateChallengesNew.apply(this, arguments); } function getQuestionList(_x56) { return _getQuestionList.apply(this, arguments); } function _getQuestionList() { _getQuestionList = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee56(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee56$(_context56) { while (1) switch (_context56.prev = _context56.next) { case 0: return _context56.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/shixuns/".concat(params.id, "/challenges/").concat(params.challengesId, "/choose_questions.json"), { method: 'get' })); case 1: case "end": return _context56.stop(); } }, _callee56); })); return _getQuestionList.apply(this, arguments); } function updateChallenges(_x57) { return _updateChallenges.apply(this, arguments); } function _updateChallenges() { _updateChallenges = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee57(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee57$(_context57) { while (1) switch (_context57.prev = _context57.next) { case 0: return _context57.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/shixuns/".concat(params.id, "/challenges/move_position.json"), { method: 'post', body: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params) })); case 1: case "end": return _context57.stop(); } }, _callee57); })); return _updateChallenges.apply(this, arguments); } function deleteChallengesNew(_x58) { return _deleteChallengesNew.apply(this, arguments); } function _deleteChallengesNew() { _deleteChallengesNew = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee58(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee58$(_context58) { while (1) switch (_context58.prev = _context58.next) { case 0: return _context58.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/shixuns/".concat(params.id, "/challenges/").concat(params.challengesId, ".json"), { method: 'delete', body: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params) })); case 1: case "end": return _context58.stop(); } }, _callee58); })); return _deleteChallengesNew.apply(this, arguments); } function getChallengesEdit(_x59) { return _getChallengesEdit.apply(this, arguments); } function _getChallengesEdit() { _getChallengesEdit = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee59(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee59$(_context59) { while (1) switch (_context59.prev = _context59.next) { case 0: return _context59.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/shixuns/".concat(params.id, "/challenges/").concat(params.challengesId, "/edit.json"), { method: 'get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params) })); case 1: case "end": return _context59.stop(); } }, _callee59); })); return _getChallengesEdit.apply(this, arguments); } function getChallengesAnswer(_x60) { return _getChallengesAnswer.apply(this, arguments); } function _getChallengesAnswer() { _getChallengesAnswer = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee60(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee60$(_context60) { while (1) switch (_context60.prev = _context60.next) { case 0: return _context60.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/shixuns/".concat(params.id, "/challenges/").concat(params.challengeId, "/answer.json"), { method: 'get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params) })); case 1: case "end": return _context60.stop(); } }, _callee60); })); return _getChallengesAnswer.apply(this, arguments); } function updateChallengesAnswer(_x61) { return _updateChallengesAnswer.apply(this, arguments); } function _updateChallengesAnswer() { _updateChallengesAnswer = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee61(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee61$(_context61) { while (1) switch (_context61.prev = _context61.next) { case 0: return _context61.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/shixuns/".concat(params.id, "/challenges/").concat(params.challengeId, "/crud_answer.json"), { method: 'post', body: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params) })); case 1: case "end": return _context61.stop(); } }, _callee61); })); return _updateChallengesAnswer.apply(this, arguments); } function addChallengesQuestion(_x62) { return _addChallengesQuestion.apply(this, arguments); } function _addChallengesQuestion() { _addChallengesQuestion = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee62(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee62$(_context62) { while (1) switch (_context62.prev = _context62.next) { case 0: if (!(params.type === 1)) { _context62.next = 2; break; } return _context62.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/shixuns/".concat(params.id, "/challenges/").concat(params.challengesId, "/create_choose_question.json"), { method: 'post', body: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params) })); case 2: if (!(params.type === 2)) { _context62.next = 4; break; } return _context62.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/shixuns/".concat(params.id, "/challenges/").concat(params.challengesId, "/create_blank_question.json"), { method: 'post', body: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params) })); case 4: if (!(params.type === 3)) { _context62.next = 6; break; } return _context62.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/shixuns/".concat(params.id, "/challenges/").concat(params.challengesId, "/create_judge_question.json"), { method: 'post', body: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params) })); case 6: case "end": return _context62.stop(); } }, _callee62); })); return _addChallengesQuestion.apply(this, arguments); } function updateChallengesQuestion(_x63) { return _updateChallengesQuestion.apply(this, arguments); } function _updateChallengesQuestion() { _updateChallengesQuestion = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee63(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee63$(_context63) { while (1) switch (_context63.prev = _context63.next) { case 0: if (!(params.type === 1)) { _context63.next = 2; break; } return _context63.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/shixuns/".concat(params.id, "/challenges/").concat(params.challengesId, "/update_choose_question.json"), { method: 'post', body: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params), {}, { choose_id: params.questionId }) })); case 2: if (!(params.type === 2)) { _context63.next = 4; break; } return _context63.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/shixuns/".concat(params.id, "/challenges/").concat(params.challengesId, "/update_blank_question.json"), { method: 'put', body: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params), {}, { choose_id: params.questionId }) })); case 4: if (!(params.type === 3)) { _context63.next = 6; break; } return _context63.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/shixuns/".concat(params.id, "/challenges/").concat(params.challengesId, "/update_judge_question.json"), { method: 'put', body: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params), {}, { choose_id: params.questionId }) })); case 6: case "end": return _context63.stop(); } }, _callee63); })); return _updateChallengesQuestion.apply(this, arguments); } function deleteChallengesQuestion(_x64) { return _deleteChallengesQuestion.apply(this, arguments); } function _deleteChallengesQuestion() { _deleteChallengesQuestion = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee64(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee64$(_context64) { while (1) switch (_context64.prev = _context64.next) { case 0: return _context64.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/shixuns/".concat(params.id, "/challenges/").concat(params.challengesId, "/destroy_challenge_choose.json"), { method: 'Delete', body: { choose_id: params.questionId } })); case 1: case "end": return _context64.stop(); } }, _callee64); })); return _deleteChallengesQuestion.apply(this, arguments); } function upChallengesQuestion(_x65) { return _upChallengesQuestion.apply(this, arguments); } function _upChallengesQuestion() { _upChallengesQuestion = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee65(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee65$(_context65) { while (1) switch (_context65.prev = _context65.next) { case 0: return _context65.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/shixuns/".concat(params.id, "/challenges/").concat(params.challengesId, "/choose_question_up_position.json"), { method: 'post', body: { challenge_choose_id: params.questionId } })); case 1: case "end": return _context65.stop(); } }, _callee65); })); return _upChallengesQuestion.apply(this, arguments); } function downChallengesQuestion(_x66) { return _downChallengesQuestion.apply(this, arguments); } function _downChallengesQuestion() { _downChallengesQuestion = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee66(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee66$(_context66) { while (1) switch (_context66.prev = _context66.next) { case 0: return _context66.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/shixuns/".concat(params.id, "/challenges/").concat(params.challengesId, "/choose_question_down_position.json"), { method: 'post', body: { challenge_choose_id: params.questionId } })); case 1: case "end": return _context66.stop(); } }, _callee66); })); return _downChallengesQuestion.apply(this, arguments); } function getEditChallengesQuestion(_x67) { return _getEditChallengesQuestion.apply(this, arguments); } function _getEditChallengesQuestion() { _getEditChallengesQuestion = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee67(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee67$(_context67) { while (1) switch (_context67.prev = _context67.next) { case 0: return _context67.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/shixuns/".concat(params.id, "/challenges/").concat(params.challengesId, "/edit_choose_question.json"), { method: 'get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params), {}, { choose_id: params.questionId }) })); case 1: case "end": return _context67.stop(); } }, _callee67); })); return _getEditChallengesQuestion.apply(this, arguments); } function deleteGitFile(_x68) { return _deleteGitFile.apply(this, arguments); } function _deleteGitFile() { _deleteGitFile = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee68(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee68$(_context68) { while (1) switch (_context68.prev = _context68.next) { case 0: return _context68.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/shixuns/".concat(params.id, "/delete_git_file.json"), { method: 'Delete', body: params })); case 1: case "end": return _context68.stop(); } }, _callee68); })); return _deleteGitFile.apply(this, arguments); } function deleteGitFiles(_x69) { return _deleteGitFiles.apply(this, arguments); } function _deleteGitFiles() { _deleteGitFiles = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee69(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee69$(_context69) { while (1) switch (_context69.prev = _context69.next) { case 0: return _context69.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/sci/projects/".concat(params.id, "/delete_git_file.json"), { method: 'Delete', body: params })); case 1: case "end": return _context69.stop(); } }, _callee69); })); return _deleteGitFiles.apply(this, arguments); } function moveGitFile(_x70) { return _moveGitFile.apply(this, arguments); } function _moveGitFile() { _moveGitFile = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee70(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee70$(_context70) { while (1) switch (_context70.prev = _context70.next) { case 0: return _context70.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/shixuns/".concat(params.id, "/mv_file.json"), { method: 'post', body: params })); case 1: case "end": return _context70.stop(); } }, _callee70); })); return _moveGitFile.apply(this, arguments); } function moveGitFiles(_x71) { return _moveGitFiles.apply(this, arguments); } function _moveGitFiles() { _moveGitFiles = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee71(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee71$(_context71) { while (1) switch (_context71.prev = _context71.next) { case 0: return _context71.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/sci/projects/".concat(params.id, "/mv_file.json"), { method: 'post', body: params })); case 1: case "end": return _context71.stop(); } }, _callee71); })); return _moveGitFiles.apply(this, arguments); } function getRepository(_x72) { return _getRepository.apply(this, arguments); } function _getRepository() { _getRepository = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee72(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee72$(_context72) { while (1) switch (_context72.prev = _context72.next) { case 0: return _context72.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/shixuns/".concat(params.id, "/repository.json"), { method: 'post', body: params })); case 1: case "end": return _context72.stop(); } }, _callee72); })); return _getRepository.apply(this, arguments); } function getRepositorys(_x73) { return _getRepositorys.apply(this, arguments); } function _getRepositorys() { _getRepositorys = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee73(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee73$(_context73) { while (1) switch (_context73.prev = _context73.next) { case 0: return _context73.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/sci/projects/".concat(params.id, "/repository.json"), { method: 'post', body: params })); case 1: case "end": return _context73.stop(); } }, _callee73); })); return _getRepositorys.apply(this, arguments); } function getSecretRepository(_x74) { return _getSecretRepository.apply(this, arguments); } function _getSecretRepository() { _getSecretRepository = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee74(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee74$(_context74) { while (1) switch (_context74.prev = _context74.next) { case 0: return _context74.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/shixuns/".concat(params.id, "/secret_repository.json"), { method: 'post', body: params })); case 1: case "end": return _context74.stop(); } }, _callee74); })); return _getSecretRepository.apply(this, arguments); } function addRepositoryFile(_x75) { return _addRepositoryFile.apply(this, arguments); } function _addRepositoryFile() { _addRepositoryFile = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee75(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee75$(_context75) { while (1) switch (_context75.prev = _context75.next) { case 0: return _context75.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/shixuns/".concat(params.id, "/add_file.json"), { method: 'post', body: params })); case 1: case "end": return _context75.stop(); } }, _callee75); })); return _addRepositoryFile.apply(this, arguments); } function addRepositoryFiles(_x76) { return _addRepositoryFiles.apply(this, arguments); } function _addRepositoryFiles() { _addRepositoryFiles = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee76(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee76$(_context76) { while (1) switch (_context76.prev = _context76.next) { case 0: return _context76.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/sci/projects/".concat(params.id, "/add_file.json"), { method: 'post', body: params })); case 1: case "end": return _context76.stop(); } }, _callee76); })); return _addRepositoryFiles.apply(this, arguments); } function getRepositoryCommit(_x77) { return _getRepositoryCommit.apply(this, arguments); } function _getRepositoryCommit() { _getRepositoryCommit = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee77(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee77$(_context77) { while (1) switch (_context77.prev = _context77.next) { case 0: return _context77.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/shixuns/".concat(params.id, "/commits.json"), { method: 'post', body: params })); case 1: case "end": return _context77.stop(); } }, _callee77); })); return _getRepositoryCommit.apply(this, arguments); } function getFileContent(_x78) { return _getFileContent.apply(this, arguments); } function _getFileContent() { _getFileContent = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee78(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee78$(_context78) { while (1) switch (_context78.prev = _context78.next) { case 0: return _context78.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/shixuns/".concat(params.id, "/file_content.json"), { method: 'post', body: params })); case 1: case "end": return _context78.stop(); } }, _callee78); })); return _getFileContent.apply(this, arguments); } function getFileContents(_x79) { return _getFileContents.apply(this, arguments); } function _getFileContents() { _getFileContents = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee79(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee79$(_context79) { while (1) switch (_context79.prev = _context79.next) { case 0: return _context79.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/sci/projects/".concat(params.id, "/file_content.json"), { method: 'post', body: params })); case 1: case "end": return _context79.stop(); } }, _callee79); })); return _getFileContents.apply(this, arguments); } function updateRepositoryFile(_x80) { return _updateRepositoryFile.apply(this, arguments); } function _updateRepositoryFile() { _updateRepositoryFile = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee80(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee80$(_context80) { while (1) switch (_context80.prev = _context80.next) { case 0: return _context80.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/shixuns/".concat(params.id, "/update_file.json"), { method: 'post', body: params })); case 1: case "end": return _context80.stop(); } }, _callee80); })); return _updateRepositoryFile.apply(this, arguments); } function updateRepositoryFiles(_x81) { return _updateRepositoryFiles.apply(this, arguments); } function _updateRepositoryFiles() { _updateRepositoryFiles = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee81(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee81$(_context81) { while (1) switch (_context81.prev = _context81.next) { case 0: return _context81.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/sci/projects/".concat(params.id, "/update_file.json"), { method: 'post', body: params })); case 1: case "end": return _context81.stop(); } }, _callee81); })); return _updateRepositoryFiles.apply(this, arguments); } function uploadGitFolder(_x82) { return _uploadGitFolder.apply(this, arguments); } function _uploadGitFolder() { _uploadGitFolder = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee82(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee82$(_context82) { while (1) switch (_context82.prev = _context82.next) { case 0: return _context82.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/shixuns/".concat(params.id, "/upload_git_folder.json"), { method: 'post', body: { path: params.path, secret_repository: params.secret_repository } })); case 1: case "end": return _context82.stop(); } }, _callee82); })); return _uploadGitFolder.apply(this, arguments); } function resetMyGame(_x83) { return _resetMyGame.apply(this, arguments); } function _resetMyGame() { _resetMyGame = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee83(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee83$(_context83) { while (1) switch (_context83.prev = _context83.next) { case 0: return _context83.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/".concat(params.url), { method: 'Get' })); case 1: case "end": return _context83.stop(); } }, _callee83); })); return _resetMyGame.apply(this, arguments); } function getInfoWithTPM(_x84) { return _getInfoWithTPM.apply(this, arguments); } function _getInfoWithTPM() { _getInfoWithTPM = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee84(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee84$(_context84) { while (1) switch (_context84.prev = _context84.next) { case 0: return _context84.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/jupyters/get_info_with_tpm.json", { method: 'Get', params: params })); case 1: case "end": return _context84.stop(); } }, _callee84); })); return _getInfoWithTPM.apply(this, arguments); } function getTimeInfoWithTPM(_x85) { return _getTimeInfoWithTPM.apply(this, arguments); } function _getTimeInfoWithTPM() { _getTimeInfoWithTPM = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee85(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee85$(_context85) { while (1) switch (_context85.prev = _context85.next) { case 0: return _context85.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/jupyters/timeinfo_with_tpm.json", { method: 'Get', params: params })); case 1: case "end": return _context85.stop(); } }, _callee85); })); return _getTimeInfoWithTPM.apply(this, arguments); } function resetWithTPM(_x86) { return _resetWithTPM.apply(this, arguments); } function _resetWithTPM() { _resetWithTPM = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee86(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee86$(_context86) { while (1) switch (_context86.prev = _context86.next) { case 0: return _context86.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/jupyters/reset_with_tpm.json", { method: 'Get', params: params })); case 1: case "end": return _context86.stop(); } }, _callee86); })); return _resetWithTPM.apply(this, arguments); } function saveWithTPM(_x87) { return _saveWithTPM.apply(this, arguments); } function _saveWithTPM() { _saveWithTPM = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee87(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee87$(_context87) { while (1) switch (_context87.prev = _context87.next) { case 0: return _context87.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/jupyters/save_with_tpm.json", { method: 'Get', params: params })); case 1: case "end": return _context87.stop(); } }, _callee87); })); return _saveWithTPM.apply(this, arguments); } function activeWithTPM(_x88) { return _activeWithTPM.apply(this, arguments); } function _activeWithTPM() { _activeWithTPM = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee88(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee88$(_context88) { while (1) switch (_context88.prev = _context88.next) { case 0: return _context88.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/jupyters/active_with_tpm.json", { method: 'Get', params: params })); case 1: case "end": return _context88.stop(); } }, _callee88); })); return _activeWithTPM.apply(this, arguments); } function getForkList(_x89) { return _getForkList.apply(this, arguments); } function _getForkList() { _getForkList = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee89(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee89$(_context89) { while (1) switch (_context89.prev = _context89.next) { case 0: return _context89.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/shixuns/".concat(params.id, "/fork_list.json"), { method: 'Get', params: params })); case 1: case "end": return _context89.stop(); } }, _callee89); })); return _getForkList.apply(this, arguments); } function updateCollaboratorEditable(_x90) { return _updateCollaboratorEditable.apply(this, arguments); } function _updateCollaboratorEditable() { _updateCollaboratorEditable = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee90(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee90$(_context90) { while (1) switch (_context90.prev = _context90.next) { case 0: return _context90.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/shixuns/".concat(params.identifier, "/change_editable.json"), { method: 'put', body: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params) })); case 1: case "end": return _context90.stop(); } }, _callee90); })); return _updateCollaboratorEditable.apply(this, arguments); } function setSecretDir(_x91) { return _setSecretDir.apply(this, arguments); } //获取环境数据 function _setSecretDir() { _setSecretDir = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee91(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee91$(_context91) { while (1) switch (_context91.prev = _context91.next) { case 0: return _context91.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/shixuns/".concat(params.id, "/set_secret_dir.json"), { method: 'post', body: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params) })); case 1: case "end": return _context91.stop(); } }, _callee91); })); return _setSecretDir.apply(this, arguments); } function getEnvironmentData(_x92) { return _getEnvironmentData.apply(this, arguments); } //环境的具体信息 function _getEnvironmentData() { _getEnvironmentData = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee92(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee92$(_context92) { while (1) switch (_context92.prev = _context92.next) { case 0: return _context92.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/shixuns/new.json", { method: 'Get', params: params })); case 1: case "end": return _context92.stop(); } }, _callee92); })); return _getEnvironmentData.apply(this, arguments); } function getEnvironmentDetail(_x93) { return _getEnvironmentDetail.apply(this, arguments); } function _getEnvironmentDetail() { _getEnvironmentDetail = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee93(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee93$(_context93) { while (1) switch (_context93.prev = _context93.next) { case 0: return _context93.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/shixuns/environment_info", { method: 'Get', params: params })); case 1: case "end": return _context93.stop(); } }, _callee93); })); return _getEnvironmentDetail.apply(this, arguments); } function createRepository(_x94) { return _createRepository.apply(this, arguments); } function _createRepository() { _createRepository = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee94(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee94$(_context94) { while (1) switch (_context94.prev = _context94.next) { case 0: return _context94.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/shixuns/".concat(params.id, "/init_repository.json"), { method: 'post', body: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params) })); case 1: case "end": return _context94.stop(); } }, _callee94); })); return _createRepository.apply(this, arguments); } function createRepositorys(_x95) { return _createRepositorys.apply(this, arguments); } function _createRepositorys() { _createRepositorys = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee95(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee95$(_context95) { while (1) switch (_context95.prev = _context95.next) { case 0: return _context95.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/sci/projects/".concat(params.id, "/init_repository.json"), { method: 'post', body: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params) })); case 1: case "end": return _context95.stop(); } }, _callee95); })); return _createRepositorys.apply(this, arguments); } function createSecretRepository(_x96) { return _createSecretRepository.apply(this, arguments); } // 检查实训是否在考试中 function _createSecretRepository() { _createSecretRepository = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee96(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee96$(_context96) { while (1) switch (_context96.prev = _context96.next) { case 0: return _context96.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/shixuns/".concat(params.id, "/update_secret_repository.json"), { method: 'post', body: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params) })); case 1: case "end": return _context96.stop(); } }, _callee96); })); return _createSecretRepository.apply(this, arguments); } function existExercise(_x97) { return _existExercise.apply(this, arguments); } function _existExercise() { _existExercise = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee97(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee97$(_context97) { while (1) switch (_context97.prev = _context97.next) { case 0: return _context97.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/shixuns/".concat(params.id, "/exist_exercise.json"), { method: 'get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params) })); case 1: case "end": return _context97.stop(); } }, _callee97); })); return _existExercise.apply(this, arguments); } function getMirrorApplies(_x98) { return _getMirrorApplies.apply(this, arguments); } function _getMirrorApplies() { _getMirrorApplies = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee98(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee98$(_context98) { while (1) switch (_context98.prev = _context98.next) { case 0: return _context98.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/mirror_applies/".concat(params.id, ".json"), { method: 'get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params) })); case 1: case "end": return _context98.stop(); } }, _callee98); })); return _getMirrorApplies.apply(this, arguments); } function mirrorAppliesPublish(_x99) { return _mirrorAppliesPublish.apply(this, arguments); } function _mirrorAppliesPublish() { _mirrorAppliesPublish = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee99(params) { return _regeneratorRuntime().wrap(function _callee99$(_context99) { while (1) switch (_context99.prev = _context99.next) { case 0: return _context99.abrupt("return", Fetch("/api/mirror_applies/".concat(params.id, "/publish.json"), { method: 'post', body: _objectSpread({}, params) })); case 1: case "end": return _context99.stop(); } }, _callee99); })); return _mirrorAppliesPublish.apply(this, arguments); } function mirrorAppliesOpenVnc(_x100) { return _mirrorAppliesOpenVnc.apply(this, arguments); } function _mirrorAppliesOpenVnc() { _mirrorAppliesOpenVnc = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee100(params) { return _regeneratorRuntime().wrap(function _callee100$(_context100) { while (1) switch (_context100.prev = _context100.next) { case 0: return _context100.abrupt("return", Fetch("/api/mirror_applies/".concat(params.id, "/open_vnc.json"), { method: 'post', params: _objectSpread({}, params) })); case 1: case "end": return _context100.stop(); } }, _callee100); })); return _mirrorAppliesOpenVnc.apply(this, arguments); } function mirrorAppliesOpenWebssh(_x101) { return _mirrorAppliesOpenWebssh.apply(this, arguments); } function _mirrorAppliesOpenWebssh() { _mirrorAppliesOpenWebssh = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee101(params) { return _regeneratorRuntime().wrap(function _callee101$(_context101) { while (1) switch (_context101.prev = _context101.next) { case 0: return _context101.abrupt("return", Fetch("/api/mirror_applies/".concat(params.id, "/open_webssh.json"), { method: 'post', params: _objectSpread({}, params) })); case 1: case "end": return _context101.stop(); } }, _callee101); })); return _mirrorAppliesOpenWebssh.apply(this, arguments); } function mirrorAppliesSaveImage(_x102) { return _mirrorAppliesSaveImage.apply(this, arguments); } function _mirrorAppliesSaveImage() { _mirrorAppliesSaveImage = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee102(params) { return _regeneratorRuntime().wrap(function _callee102$(_context102) { while (1) switch (_context102.prev = _context102.next) { case 0: return _context102.abrupt("return", Fetch("/api/mirror_applies/".concat(params.id, "/save_image.json"), { method: 'post', body: _objectSpread({}, params) })); case 1: case "end": return _context102.stop(); } }, _callee102); })); return _mirrorAppliesSaveImage.apply(this, arguments); } function mirrorAppliesDeleteImage(_x103) { return _mirrorAppliesDeleteImage.apply(this, arguments); } function _mirrorAppliesDeleteImage() { _mirrorAppliesDeleteImage = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee103(params) { return _regeneratorRuntime().wrap(function _callee103$(_context103) { while (1) switch (_context103.prev = _context103.next) { case 0: return _context103.abrupt("return", Fetch("/api/mirror_applies/".concat(params.id, "/delete_image.json"), { method: 'post', body: _objectSpread({}, params) })); case 1: case "end": return _context103.stop(); } }, _callee103); })); return _mirrorAppliesDeleteImage.apply(this, arguments); } function mirrorAppliesExtendVnc(_x104) { return _mirrorAppliesExtendVnc.apply(this, arguments); } function _mirrorAppliesExtendVnc() { _mirrorAppliesExtendVnc = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee104(params) { return _regeneratorRuntime().wrap(function _callee104$(_context104) { while (1) switch (_context104.prev = _context104.next) { case 0: return _context104.abrupt("return", Fetch("/api/mirror_applies/".concat(params.id, "/extend_vnc.json"), { method: 'post', body: _objectSpread({}, params) })); case 1: case "end": return _context104.stop(); } }, _callee104); })); return _mirrorAppliesExtendVnc.apply(this, arguments); } function mirrorAppliesResetVncLink(_x105) { return _mirrorAppliesResetVncLink.apply(this, arguments); } function _mirrorAppliesResetVncLink() { _mirrorAppliesResetVncLink = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee105(params) { return _regeneratorRuntime().wrap(function _callee105$(_context105) { while (1) switch (_context105.prev = _context105.next) { case 0: return _context105.abrupt("return", Fetch("/api/mirror_applies/".concat(params.id, "/reset_vnc_link.json"), { method: 'post', body: _objectSpread({}, params) })); case 1: case "end": return _context105.stop(); } }, _callee105); })); return _mirrorAppliesResetVncLink.apply(this, arguments); } function getTaskPass(_x106) { return _getTaskPass.apply(this, arguments); } function _getTaskPass() { _getTaskPass = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee106(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee106$(_context106) { while (1) switch (_context106.prev = _context106.next) { case 0: return _context106.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/paths/get_task_pass.json", { method: 'get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params) })); case 1: case "end": return _context106.stop(); } }, _callee106); })); return _getTaskPass.apply(this, arguments); } function getInfoWithJupyterLab(_x107) { return _getInfoWithJupyterLab.apply(this, arguments); } function _getInfoWithJupyterLab() { _getInfoWithJupyterLab = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee107(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee107$(_context107) { while (1) switch (_context107.prev = _context107.next) { case 0: return _context107.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/jupyters/get_info_with_jupyter_lab.json", { method: 'get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params) })); case 1: case "end": return _context107.stop(); } }, _callee107); })); return _getInfoWithJupyterLab.apply(this, arguments); } function updateJupyterLabSetting(_x108) { return _updateJupyterLabSetting.apply(this, arguments); } //检查实训在教学课堂使用情况的接口 function _updateJupyterLabSetting() { _updateJupyterLabSetting = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee108(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee108$(_context108) { while (1) switch (_context108.prev = _context108.next) { case 0: return _context108.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/shixuns/".concat(params.id, "/update_jupyter_lab_setting.json"), { method: 'post', body: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params) })); case 1: case "end": return _context108.stop(); } }, _callee108); })); return _updateJupyterLabSetting.apply(this, arguments); } function checkShixunCopy(_x109) { return _checkShixunCopy.apply(this, arguments); } function _checkShixunCopy() { _checkShixunCopy = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee109(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee109$(_context109) { while (1) switch (_context109.prev = _context109.next) { case 0: return _context109.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/shixuns/check_shixun_copy.json", { method: 'post', body: params })); case 1: case "end": return _context109.stop(); } }, _callee109); })); return _checkShixunCopy.apply(this, arguments); } function getProgressHomeworks(_x110) { return _getProgressHomeworks.apply(this, arguments); } // 开启挑战后请求(为了计算实训详情页面的 自主学习人数 和 spoc人数) function _getProgressHomeworks() { _getProgressHomeworks = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee110(shixun_id) { return _regeneratorRuntime().wrap(function _callee110$(_context110) { while (1) switch (_context110.prev = _context110.next) { case 0: return _context110.abrupt("return", Fetch("/api/progress_homeworks/".concat(shixun_id), { method: 'get', params: { is_initiative_study: 1 } })); case 1: case "end": return _context110.stop(); } }, _callee110); })); return _getProgressHomeworks.apply(this, arguments); } function updateShixunStudyNum(_x111) { return _updateShixunStudyNum.apply(this, arguments); } function _updateShixunStudyNum() { _updateShixunStudyNum = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee111(params) { return _regeneratorRuntime().wrap(function _callee111$(_context111) { while (1) switch (_context111.prev = _context111.next) { case 0: return _context111.abrupt("return", Fetch("/api/shixuns/".concat(params.id, "/update_shixun_study_num.json"), { method: 'post', body: _objectSpread({}, params) })); case 1: case "end": return _context111.stop(); } }, _callee111); })); return _updateShixunStudyNum.apply(this, arguments); } function previewJupyter(_x112) { return _previewJupyter.apply(this, arguments); } //预约列表(预约管理, 预约审核) function _previewJupyter() { _previewJupyter = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee112(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee112$(_context112) { while (1) switch (_context112.prev = _context112.next) { case 0: return _context112.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/jupyters/preview.json", { method: 'get', params: params })); case 1: case "end": return _context112.stop(); } }, _callee112); })); return _previewJupyter.apply(this, arguments); } function reservations_table_query(_x113) { return _reservations_table_query.apply(this, arguments); } // 获取实践项目预约统计 function _reservations_table_query() { _reservations_table_query = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee113(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee113$(_context113) { while (1) switch (_context113.prev = _context113.next) { case 0: return _context113.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/reservations.json", { method: 'get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params) })); case 1: case "end": return _context113.stop(); } }, _callee113); })); return _reservations_table_query.apply(this, arguments); } function reservation_data(_x114) { return _reservation_data.apply(this, arguments); } // 所有可预约的实训 function _reservation_data() { _reservation_data = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee114(identifier) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee114$(_context114) { while (1) switch (_context114.prev = _context114.next) { case 0: return _context114.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/shixuns/".concat(identifier, "/reservation_data.json"), { method: 'get' })); case 1: case "end": return _context114.stop(); } }, _callee114); })); return _reservation_data.apply(this, arguments); } function can_reservation_shixuns() { return _can_reservation_shixuns.apply(this, arguments); } //取消预约 function _can_reservation_shixuns() { _can_reservation_shixuns = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee115() { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee115$(_context115) { while (1) switch (_context115.prev = _context115.next) { case 0: return _context115.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)('/api/zz_classrooms/reservations/can_reservation_shixuns.json', { method: 'get' })); case 1: case "end": return _context115.stop(); } }, _callee115); })); return _can_reservation_shixuns.apply(this, arguments); } function reservations_table_canceled(_x115) { return _reservations_table_canceled.apply(this, arguments); } //批准or驳回预约 function _reservations_table_canceled() { _reservations_table_canceled = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee116(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee116$(_context116) { while (1) switch (_context116.prev = _context116.next) { case 0: return _context116.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/reservations/".concat(params, "/canceled.json"), { method: 'get' })); case 1: case "end": return _context116.stop(); } }, _callee116); })); return _reservations_table_canceled.apply(this, arguments); } function reservations_table_reviewed(_x116) { return _reservations_table_reviewed.apply(this, arguments); } //学院列表查询 function _reservations_table_reviewed() { _reservations_table_reviewed = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee117(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee117$(_context117) { while (1) switch (_context117.prev = _context117.next) { case 0: return _context117.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/reservations/".concat(params.id, "/reviewed.json"), { method: 'get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params) })); case 1: case "end": return _context117.stop(); } }, _callee117); })); return _reservations_table_reviewed.apply(this, arguments); } function college_table_query(_x117) { return _college_table_query.apply(this, arguments); } //实训当前时间节点的设备组状态 function _college_table_query() { _college_table_query = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee118(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee118$(_context118) { while (1) switch (_context118.prev = _context118.next) { case 0: return _context118.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/departments.json", { method: 'get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params) })); case 1: case "end": return _context118.stop(); } }, _callee118); })); return _college_table_query.apply(this, arguments); } function device_group_status(_x118) { return _device_group_status.apply(this, arguments); } function _device_group_status() { _device_group_status = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee119(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee119$(_context119) { while (1) switch (_context119.prev = _context119.next) { case 0: return _context119.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/shixuns/".concat(params === null || params === void 0 ? void 0 : params.identifier, "/device_group_status.json"), { method: 'get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params) })); case 1: case "end": return _context119.stop(); } }, _callee119); })); return _device_group_status.apply(this, arguments); } /***/ }), /***/ 38249: /*!********************************!*\ !*** ./src/service/teacher.ts ***! \********************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ Bg: function() { return /* binding */ getGraduationGroupList; }, /* harmony export */ FO: function() { return /* binding */ teacherApplicationReview; }, /* harmony export */ eJ: function() { return /* binding */ joinGraduationGroup; }, /* harmony export */ eZ: function() { return /* binding */ createGraduationGroup; }, /* harmony export */ fd: function() { return /* binding */ studentApplicationReview; }, /* harmony export */ gp: function() { return /* binding */ getList; }, /* harmony export */ iU: function() { return /* binding */ getApplyStudents; }, /* harmony export */ l3: function() { return /* binding */ deleteCourseStudents; }, /* harmony export */ mw: function() { return /* binding */ changeMemberRole; }, /* harmony export */ oZ: function() { return /* binding */ setAllCourseGroups; }, /* harmony export */ rM: function() { return /* binding */ changeCourseAdmin; }, /* harmony export */ r_: function() { return /* binding */ checkJoinStudent; }, /* harmony export */ s: function() { return /* binding */ getApplyList; }, /* harmony export */ ur: function() { return /* binding */ getStudentsList; }, /* harmony export */ xV: function() { return /* binding */ getAllCourseGroups; }, /* harmony export */ yb: function() { return /* binding */ deleteCourseTeacher; } /* harmony export */ }); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/regeneratorRuntime.js */ 7557); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/objectSpread2.js */ 82242); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1__); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/asyncToGenerator.js */ 41498); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2__); /* harmony import */ var _utils_fetch__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/utils/fetch */ 55794); function getList(_x) { return _getList.apply(this, arguments); } function _getList() { _getList = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee$(_context) { while (1) switch (_context.prev = _context.next) { case 0: return _context.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.coursesId, "/teachers.json"), { method: 'get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context.stop(); } }, _callee); })); return _getList.apply(this, arguments); } function getApplyList(_x2) { return _getApplyList.apply(this, arguments); } function _getApplyList() { _getApplyList = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee2(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee2$(_context2) { while (1) switch (_context2.prev = _context2.next) { case 0: return _context2.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.coursesId, "/apply_teachers.json"), { method: 'get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context2.stop(); } }, _callee2); })); return _getApplyList.apply(this, arguments); } function getGraduationGroupList(_x3) { return _getGraduationGroupList.apply(this, arguments); } function _getGraduationGroupList() { _getGraduationGroupList = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee3(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee3$(_context3) { while (1) switch (_context3.prev = _context3.next) { case 0: return _context3.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.coursesId, "/graduation_group_list.json"), { method: 'get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context3.stop(); } }, _callee3); })); return _getGraduationGroupList.apply(this, arguments); } function getAllCourseGroups(_x4) { return _getAllCourseGroups.apply(this, arguments); } function _getAllCourseGroups() { _getAllCourseGroups = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee4(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee4$(_context4) { while (1) switch (_context4.prev = _context4.next) { case 0: return _context4.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.coursesId, "/all_course_groups.json"), { method: 'get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context4.stop(); } }, _callee4); })); return _getAllCourseGroups.apply(this, arguments); } function setAllCourseGroups(_x5) { return _setAllCourseGroups.apply(this, arguments); } function _setAllCourseGroups() { _setAllCourseGroups = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee5(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee5$(_context5) { while (1) switch (_context5.prev = _context5.next) { case 0: return _context5.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.coursesId, "/set_course_group.json"), { method: 'post', body: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context5.stop(); } }, _callee5); })); return _setAllCourseGroups.apply(this, arguments); } function joinGraduationGroup(_x6) { return _joinGraduationGroup.apply(this, arguments); } function _joinGraduationGroup() { _joinGraduationGroup = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee6(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee6$(_context6) { while (1) switch (_context6.prev = _context6.next) { case 0: return _context6.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.coursesId, "/join_graduation_group.json"), { method: 'post', body: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context6.stop(); } }, _callee6); })); return _joinGraduationGroup.apply(this, arguments); } function createGraduationGroup(_x7) { return _createGraduationGroup.apply(this, arguments); } function _createGraduationGroup() { _createGraduationGroup = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee7(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee7$(_context7) { while (1) switch (_context7.prev = _context7.next) { case 0: return _context7.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.coursesId, "/create_graduation_group.json"), { method: 'post', body: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context7.stop(); } }, _callee7); })); return _createGraduationGroup.apply(this, arguments); } function deleteCourseTeacher(_x8) { return _deleteCourseTeacher.apply(this, arguments); } function _deleteCourseTeacher() { _deleteCourseTeacher = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee8(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee8$(_context8) { while (1) switch (_context8.prev = _context8.next) { case 0: return _context8.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.coursesId, "/delete_course_teacher.json"), { method: 'post', body: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context8.stop(); } }, _callee8); })); return _deleteCourseTeacher.apply(this, arguments); } function deleteCourseStudents(_x9) { return _deleteCourseStudents.apply(this, arguments); } function _deleteCourseStudents() { _deleteCourseStudents = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee9(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee9$(_context9) { while (1) switch (_context9.prev = _context9.next) { case 0: return _context9.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.coursesId, "/delete_from_course.json"), { method: 'post', body: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context9.stop(); } }, _callee9); })); return _deleteCourseStudents.apply(this, arguments); } function changeMemberRole(_x10) { return _changeMemberRole.apply(this, arguments); } function _changeMemberRole() { _changeMemberRole = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee10(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee10$(_context10) { while (1) switch (_context10.prev = _context10.next) { case 0: return _context10.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.coursesId, "/change_member_role.json"), { method: 'post', body: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context10.stop(); } }, _callee10); })); return _changeMemberRole.apply(this, arguments); } function changeCourseAdmin(_x11) { return _changeCourseAdmin.apply(this, arguments); } function _changeCourseAdmin() { _changeCourseAdmin = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee11(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee11$(_context11) { while (1) switch (_context11.prev = _context11.next) { case 0: return _context11.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.coursesId, "/change_course_admin.json"), { method: 'post', body: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context11.stop(); } }, _callee11); })); return _changeCourseAdmin.apply(this, arguments); } function teacherApplicationReview(_x12) { return _teacherApplicationReview.apply(this, arguments); } function _teacherApplicationReview() { _teacherApplicationReview = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee12(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee12$(_context12) { while (1) switch (_context12.prev = _context12.next) { case 0: return _context12.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.coursesId, "/teacher_application_review.json"), { method: 'post', body: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context12.stop(); } }, _callee12); })); return _teacherApplicationReview.apply(this, arguments); } function getStudentsList(_x13) { return _getStudentsList.apply(this, arguments); } function _getStudentsList() { _getStudentsList = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee13(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee13$(_context13) { while (1) switch (_context13.prev = _context13.next) { case 0: return _context13.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.coursesId, "/students.json"), { method: 'get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context13.stop(); } }, _callee13); })); return _getStudentsList.apply(this, arguments); } function getApplyStudents(_x14, _x15) { return _getApplyStudents.apply(this, arguments); } //检查是否有重复的学员 function _getApplyStudents() { _getApplyStudents = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee14(identifier, params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee14$(_context14) { while (1) switch (_context14.prev = _context14.next) { case 0: return _context14.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(identifier, "/apply_students.json"), { method: 'get', params: params })); case 1: case "end": return _context14.stop(); } }, _callee14); })); return _getApplyStudents.apply(this, arguments); } function checkJoinStudent(_x16, _x17) { return _checkJoinStudent.apply(this, arguments); } function _checkJoinStudent() { _checkJoinStudent = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee15(identifier, params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee15$(_context15) { while (1) switch (_context15.prev = _context15.next) { case 0: return _context15.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(identifier, "/join_student_checkout.json"), { method: 'get', params: params })); case 1: case "end": return _context15.stop(); } }, _callee15); })); return _checkJoinStudent.apply(this, arguments); } function studentApplicationReview(_x18, _x19) { return _studentApplicationReview.apply(this, arguments); } function _studentApplicationReview() { _studentApplicationReview = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee16(identifier, params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee16$(_context16) { while (1) switch (_context16.prev = _context16.next) { case 0: return _context16.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(identifier, "/student_application_review.json"), { method: 'post', body: params })); case 1: case "end": return _context16.stop(); } }, _callee16); })); return _studentApplicationReview.apply(this, arguments); } /***/ }), /***/ 98971: /*!*****************************!*\ !*** ./src/service/user.ts ***! \*****************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ Cx: function() { return /* binding */ topicsSetPublic; }, /* harmony export */ DA: function() { return /* binding */ getHomepageInfo; }, /* harmony export */ Ef: function() { return /* binding */ topicSendToClass; }, /* harmony export */ Es: function() { return /* binding */ LoginIn; }, /* harmony export */ Ex: function() { return /* binding */ changPassword; }, /* harmony export */ FM: function() { return /* binding */ deleteVideo; }, /* harmony export */ Fn: function() { return /* binding */ videoSendToClass; }, /* harmony export */ Gq: function() { return /* binding */ LoginForPhone; }, /* harmony export */ Ho: function() { return /* binding */ getCourses; }, /* harmony export */ IU: function() { return /* binding */ getEngineerUrl; }, /* harmony export */ JJ: function() { return /* binding */ getHomeworkBanksDetail; }, /* harmony export */ Ol: function() { return /* binding */ validateName; }, /* harmony export */ Qx: function() { return /* binding */ getReviewVideos; }, /* harmony export */ Tv: function() { return /* binding */ deleteQuestionBanks; }, /* harmony export */ WS: function() { return /* binding */ topicsDelete; }, /* harmony export */ WY: function() { return /* binding */ getVideos; }, /* harmony export */ ai: function() { return /* binding */ getQuestionBanks; }, /* harmony export */ bG: function() { return /* binding */ getUserInfo; }, /* harmony export */ bn: function() { return /* binding */ user_table_query; }, /* harmony export */ c0: function() { return /* binding */ resetPassword; }, /* harmony export */ dE: function() { return /* binding */ cancelShixun; }, /* harmony export */ dt: function() { return /* binding */ batchPublish; }, /* harmony export */ gI: function() { return /* binding */ topicGetCourseList; }, /* harmony export */ lO: function() { return /* binding */ logWatchHistory; }, /* harmony export */ mW: function() { return /* binding */ getProjects; }, /* harmony export */ n0: function() { return /* binding */ getSystemUpdate; }, /* harmony export */ nV: function() { return /* binding */ getUserLearnPath; }, /* harmony export */ o1: function() { return /* binding */ getValidateCode; }, /* harmony export */ qN: function() { return /* binding */ signed; }, /* harmony export */ rV: function() { return /* binding */ getShixuns; }, /* harmony export */ sh: function() { return /* binding */ getUserPersona; }, /* harmony export */ vR: function() { return /* binding */ LoginOut; }, /* harmony export */ w3: function() { return /* binding */ getPaths; }, /* harmony export */ x4: function() { return /* binding */ getNavigationInfo; }, /* harmony export */ z2: function() { return /* binding */ register; } /* harmony export */ }); /* unused harmony exports postUserChoiceLearnPath, wechatRegister */ /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/regeneratorRuntime.js */ 7557); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/objectSpread2.js */ 82242); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1__); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/asyncToGenerator.js */ 41498); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2__); /* harmony import */ var _utils_fetch__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/utils/fetch */ 55794); function LoginIn(_x) { return _LoginIn.apply(this, arguments); } function _LoginIn() { _LoginIn = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee$(_context) { while (1) switch (_context.prev = _context.next) { case 0: return _context.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)('/api/accounts/login.json', { method: 'post', body: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context.stop(); } }, _callee); })); return _LoginIn.apply(this, arguments); } function LoginOut(_x2) { return _LoginOut.apply(this, arguments); } function _LoginOut() { _LoginOut = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee2(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee2$(_context2) { while (1) switch (_context2.prev = _context2.next) { case 0: return _context2.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)('/api/accounts/logout.json', { method: 'get' // body: { ...params }, })); case 1: case "end": return _context2.stop(); } }, _callee2); })); return _LoginOut.apply(this, arguments); } function getUserInfo(_x3) { return _getUserInfo.apply(this, arguments); } function _getUserInfo() { _getUserInfo = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee3(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee3$(_context3) { while (1) switch (_context3.prev = _context3.next) { case 0: return _context3.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/users/get_user_info.json", { method: 'get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context3.stop(); } }, _callee3); })); return _getUserInfo.apply(this, arguments); } function getNavigationInfo(_x4) { return _getNavigationInfo.apply(this, arguments); } function _getNavigationInfo() { _getNavigationInfo = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee4(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee4$(_context4) { while (1) switch (_context4.prev = _context4.next) { case 0: return _context4.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)('/api/users/get_navigation_info.json', { method: 'get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context4.stop(); } }, _callee4); })); return _getNavigationInfo.apply(this, arguments); } function getSystemUpdate() { return _getSystemUpdate.apply(this, arguments); } function _getSystemUpdate() { _getSystemUpdate = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee5() { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee5$(_context5) { while (1) switch (_context5.prev = _context5.next) { case 0: return _context5.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)('/api/users/system_update.json', { method: 'get' })); case 1: case "end": return _context5.stop(); } }, _callee5); })); return _getSystemUpdate.apply(this, arguments); } function getHomepageInfo(_x5) { return _getHomepageInfo.apply(this, arguments); } function _getHomepageInfo() { _getHomepageInfo = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee6(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee6$(_context6) { while (1) switch (_context6.prev = _context6.next) { case 0: return _context6.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/users/".concat(params.username, "/homepage_info.json"), { method: 'get' })); case 1: case "end": return _context6.stop(); } }, _callee6); })); return _getHomepageInfo.apply(this, arguments); } function signed(_x6) { return _signed.apply(this, arguments); } function _signed() { _signed = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee7(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee7$(_context7) { while (1) switch (_context7.prev = _context7.next) { case 0: return _context7.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/users/attendance.json", { method: 'post' })); case 1: case "end": return _context7.stop(); } }, _callee7); })); return _signed.apply(this, arguments); } function getCourses(_x7) { return _getCourses.apply(this, arguments); } function _getCourses() { _getCourses = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee8(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee8$(_context8) { while (1) switch (_context8.prev = _context8.next) { case 0: return _context8.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/users/".concat(params.username, "/courses.json"), { method: 'get', params: params })); case 1: case "end": return _context8.stop(); } }, _callee8); })); return _getCourses.apply(this, arguments); } function getShixuns(_x8) { return _getShixuns.apply(this, arguments); } function _getShixuns() { _getShixuns = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee9(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee9$(_context9) { while (1) switch (_context9.prev = _context9.next) { case 0: return _context9.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/users/".concat(params.username, "/shixuns.json"), { method: 'get', params: params })); case 1: case "end": return _context9.stop(); } }, _callee9); })); return _getShixuns.apply(this, arguments); } function getPaths(_x9) { return _getPaths.apply(this, arguments); } function _getPaths() { _getPaths = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee10(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee10$(_context10) { while (1) switch (_context10.prev = _context10.next) { case 0: return _context10.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/users/".concat(params.username, "/subjects.json"), { method: 'get', params: params })); case 1: case "end": return _context10.stop(); } }, _callee10); })); return _getPaths.apply(this, arguments); } function getProjects(_x10) { return _getProjects.apply(this, arguments); } function _getProjects() { _getProjects = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee11(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee11$(_context11) { while (1) switch (_context11.prev = _context11.next) { case 0: return _context11.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/users/".concat(params.username, "/projects.json"), { method: 'get', params: params })); case 1: case "end": return _context11.stop(); } }, _callee11); })); return _getProjects.apply(this, arguments); } function getVideos(_x11) { return _getVideos.apply(this, arguments); } function _getVideos() { _getVideos = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee12(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee12$(_context12) { while (1) switch (_context12.prev = _context12.next) { case 0: return _context12.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/users/".concat(params.username, "/videos.json"), { method: 'get', params: params })); case 1: case "end": return _context12.stop(); } }, _callee12); })); return _getVideos.apply(this, arguments); } function getReviewVideos(_x12) { return _getReviewVideos.apply(this, arguments); } function _getReviewVideos() { _getReviewVideos = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee13(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee13$(_context13) { while (1) switch (_context13.prev = _context13.next) { case 0: return _context13.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/users/".concat(params.username, "/videos/review.json"), { method: 'get', params: params })); case 1: case "end": return _context13.stop(); } }, _callee13); })); return _getReviewVideos.apply(this, arguments); } function deleteVideo(_x13) { return _deleteVideo.apply(this, arguments); } function _deleteVideo() { _deleteVideo = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee14(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee14$(_context14) { while (1) switch (_context14.prev = _context14.next) { case 0: return _context14.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/users/".concat(params.username, "/videos/").concat(params.id, ".json"), { method: 'delete' })); case 1: case "end": return _context14.stop(); } }, _callee14); })); return _deleteVideo.apply(this, arguments); } function logWatchHistory(_x14) { return _logWatchHistory.apply(this, arguments); } function _logWatchHistory() { _logWatchHistory = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee15(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee15$(_context15) { while (1) switch (_context15.prev = _context15.next) { case 0: return _context15.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)('/api/watch_video_histories.json', { method: 'post', body: params })); case 1: case "end": return _context15.stop(); } }, _callee15); })); return _logWatchHistory.apply(this, arguments); } function getQuestionBanks(_x15) { return _getQuestionBanks.apply(this, arguments); } function _getQuestionBanks() { _getQuestionBanks = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee16(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee16$(_context16) { while (1) switch (_context16.prev = _context16.next) { case 0: return _context16.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/users/question_banks.json", { method: 'get', params: params })); case 1: case "end": return _context16.stop(); } }, _callee16); })); return _getQuestionBanks.apply(this, arguments); } function topicsSetPublic(_x16) { return _topicsSetPublic.apply(this, arguments); } function _topicsSetPublic() { _topicsSetPublic = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee17(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee17$(_context17) { while (1) switch (_context17.prev = _context17.next) { case 0: return _context17.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)('/api/question_banks/multi_public.json', { method: 'post', body: params })); case 1: case "end": return _context17.stop(); } }, _callee17); })); return _topicsSetPublic.apply(this, arguments); } function topicsDelete(_x17) { return _topicsDelete.apply(this, arguments); } function _topicsDelete() { _topicsDelete = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee18(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee18$(_context18) { while (1) switch (_context18.prev = _context18.next) { case 0: return _context18.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)('/api/question_banks/multi_delete.json', { method: 'delete', body: params })); case 1: case "end": return _context18.stop(); } }, _callee18); })); return _topicsDelete.apply(this, arguments); } function topicGetCourseList(_x18) { return _topicGetCourseList.apply(this, arguments); } function _topicGetCourseList() { _topicGetCourseList = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee19(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee19$(_context19) { while (1) switch (_context19.prev = _context19.next) { case 0: return _context19.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/question_banks/my_courses.json", { method: 'get', params: params })); case 1: case "end": return _context19.stop(); } }, _callee19); })); return _topicGetCourseList.apply(this, arguments); } function topicSendToClass(_x19) { return _topicSendToClass.apply(this, arguments); } function _topicSendToClass() { _topicSendToClass = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee20(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee20$(_context20) { while (1) switch (_context20.prev = _context20.next) { case 0: return _context20.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)('/api/question_banks/send_to_course.json', { method: 'post', body: params })); case 1: case "end": return _context20.stop(); } }, _callee20); })); return _topicSendToClass.apply(this, arguments); } function videoSendToClass(_x20) { return _videoSendToClass.apply(this, arguments); } function _videoSendToClass() { _videoSendToClass = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee21(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee21$(_context21) { while (1) switch (_context21.prev = _context21.next) { case 0: return _context21.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/users/".concat(params.username, "/videos/").concat(params.object_id, "/create_course_video.json"), { method: 'post', body: params })); case 1: case "end": return _context21.stop(); } }, _callee21); })); return _videoSendToClass.apply(this, arguments); } function getHomeworkBanksDetail(_x21) { return _getHomeworkBanksDetail.apply(this, arguments); } function _getHomeworkBanksDetail() { _getHomeworkBanksDetail = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee22(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee22$(_context22) { while (1) switch (_context22.prev = _context22.next) { case 0: return _context22.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/homework_banks/".concat(params.topicId, ".json"), { method: 'get', params: params })); case 1: case "end": return _context22.stop(); } }, _callee22); })); return _getHomeworkBanksDetail.apply(this, arguments); } function deleteQuestionBanks(_x22) { return _deleteQuestionBanks.apply(this, arguments); } function _deleteQuestionBanks() { _deleteQuestionBanks = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee23(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee23$(_context23) { while (1) switch (_context23.prev = _context23.next) { case 0: return _context23.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/question_banks/multi_delete.json", { method: 'delete', body: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context23.stop(); } }, _callee23); })); return _deleteQuestionBanks.apply(this, arguments); } function batchPublish(_x23) { return _batchPublish.apply(this, arguments); } function _batchPublish() { _batchPublish = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee24(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee24$(_context24) { while (1) switch (_context24.prev = _context24.next) { case 0: return _context24.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/users/".concat(params.username, "/videos/batch_publish.json"), { method: 'post', body: params })); case 1: case "end": return _context24.stop(); } }, _callee24); })); return _batchPublish.apply(this, arguments); } function cancelShixun(_x24) { return _cancelShixun.apply(this, arguments); } function _cancelShixun() { _cancelShixun = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee25(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee25$(_context25) { while (1) switch (_context25.prev = _context25.next) { case 0: return _context25.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/myshixuns/".concat(params.identifier, "/cancel.json"), { method: 'delete', body: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context25.stop(); } }, _callee25); })); return _cancelShixun.apply(this, arguments); } function getEngineerUrl() { return _getEngineerUrl.apply(this, arguments); } function _getEngineerUrl() { _getEngineerUrl = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee26() { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee26$(_context26) { while (1) switch (_context26.prev = _context26.next) { case 0: return _context26.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/users/get_engineer_url.json", { method: 'get' })); case 1: case "end": return _context26.stop(); } }, _callee26); })); return _getEngineerUrl.apply(this, arguments); } function postUserChoiceLearnPath(_x25) { return _postUserChoiceLearnPath.apply(this, arguments); } function _postUserChoiceLearnPath() { _postUserChoiceLearnPath = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee27(params) { return _regeneratorRuntime().wrap(function _callee27$(_context27) { while (1) switch (_context27.prev = _context27.next) { case 0: return _context27.abrupt("return", Fetch("/api/intelligent_recommendations/user_choice_learn_path.json", { method: 'post', body: _objectSpread({}, params) })); case 1: case "end": return _context27.stop(); } }, _callee27); })); return _postUserChoiceLearnPath.apply(this, arguments); } function getUserPersona() { return _getUserPersona.apply(this, arguments); } function _getUserPersona() { _getUserPersona = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee28() { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee28$(_context28) { while (1) switch (_context28.prev = _context28.next) { case 0: return _context28.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/intelligent_recommendations/persona.json", { method: 'get' })); case 1: case "end": return _context28.stop(); } }, _callee28); })); return _getUserPersona.apply(this, arguments); } function getUserLearnPath() { return _getUserLearnPath.apply(this, arguments); } //type 1 表示用户注册 2 忘记密码 3 绑定手机/邮箱 function _getUserLearnPath() { _getUserLearnPath = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee29() { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee29$(_context29) { while (1) switch (_context29.prev = _context29.next) { case 0: return _context29.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/intelligent_recommendations/user_learn_path.json", { method: 'get' })); case 1: case "end": return _context29.stop(); } }, _callee29); })); return _getUserLearnPath.apply(this, arguments); } function validateName(params) { return (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)('/api/accounts/valid_email_and_phone.json', { method: "get", params: params }); } //type 1:用户注册注册 2:忘记密码 3:绑定手机 4: 绑定邮箱,5: 验收手机号有效 function getValidateCode(params) { return (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)('/api/accounts/get_verification_code.json', { method: "get", params: params }); } function register(params) { return (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)('/api/accounts/register.json', { method: "post", body: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) }); } function wechatRegister(params) { return Fetch('/api/weapps/register.json', { method: "post", body: _objectSpread({}, params) }); } function changPassword(params) { return (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/users/accounts/".concat(params.login, "/password.json"), { method: "put", body: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) }); } function resetPassword(params) { return (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)('/api/accounts/reset_password.json', { method: "post", body: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) }); } function LoginForPhone(params) { return (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)('/api/accounts/login_for_phone.json', { method: "get", params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) }); } //用户列表查询 function user_table_query(_x26) { return _user_table_query.apply(this, arguments); } function _user_table_query() { _user_table_query = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee30(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee30$(_context30) { while (1) switch (_context30.prev = _context30.next) { case 0: return _context30.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/users.json", { method: 'get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context30.stop(); } }, _callee30); })); return _user_table_query.apply(this, arguments); } /***/ }), /***/ 78473: /*!******************************!*\ !*** ./src/service/video.ts ***! \******************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ BQ: function() { return /* binding */ getVideoStatisticsList; }, /* harmony export */ DH: function() { return /* binding */ viewVideo; }, /* harmony export */ Mz: function() { return /* binding */ getVideoDurationStatics; }, /* harmony export */ O2: function() { return /* binding */ getVideoDetail; }, /* harmony export */ TJ: function() { return /* binding */ getVideoEditDatas; }, /* harmony export */ Vg: function() { return /* binding */ getStudentVideoStatisticsList; }, /* harmony export */ ZY: function() { return /* binding */ getVideoStatistics; }, /* harmony export */ Zx: function() { return /* binding */ getVideoPeopleStatics; }, /* harmony export */ cU: function() { return /* binding */ getOneVideoStatisticsList; }, /* harmony export */ jK: function() { return /* binding */ starVideo; }, /* harmony export */ yN: function() { return /* binding */ getStageData; } /* harmony export */ }); /* unused harmony exports addVideoItems, getVideoEditData, updateVideo, videoSendToCourse, getVideoMyCourses, addSchool */ /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/regeneratorRuntime.js */ 7557); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/objectSpread2.js */ 82242); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1__); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/asyncToGenerator.js */ 41498); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2__); /* harmony import */ var _utils_fetch__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/utils/fetch */ 55794); //视频统计列表 function getVideoStatisticsList(_x) { return _getVideoStatisticsList.apply(this, arguments); } // 视频统计数据 function _getVideoStatisticsList() { _getVideoStatisticsList = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee$(_context) { while (1) switch (_context.prev = _context.next) { case 0: return _context.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.coursesId, "/watch_video_histories.json"), { method: 'Get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context.stop(); } }, _callee); })); return _getVideoStatisticsList.apply(this, arguments); } function getVideoStatistics(_x2) { return _getVideoStatistics.apply(this, arguments); } // 单一视频记录统计 function _getVideoStatistics() { _getVideoStatistics = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee2(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee2$(_context2) { while (1) switch (_context2.prev = _context2.next) { case 0: return _context2.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.coursesId, "/watch_statics.json"), { method: 'Get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context2.stop(); } }, _callee2); })); return _getVideoStatistics.apply(this, arguments); } function getOneVideoStatisticsList(_x3) { return _getOneVideoStatisticsList.apply(this, arguments); } //学员视频统计 function _getOneVideoStatisticsList() { _getOneVideoStatisticsList = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee3(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee3$(_context3) { while (1) switch (_context3.prev = _context3.next) { case 0: return _context3.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/course_videos/".concat(params.videoId, "/watch_histories.json"), { method: 'Get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context3.stop(); } }, _callee3); })); return _getOneVideoStatisticsList.apply(this, arguments); } function getStudentVideoStatisticsList(_x4) { return _getStudentVideoStatisticsList.apply(this, arguments); } function _getStudentVideoStatisticsList() { _getStudentVideoStatisticsList = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee4(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee4$(_context4) { while (1) switch (_context4.prev = _context4.next) { case 0: return _context4.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.coursesId, "/own_watch_histories.json"), { method: 'Get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context4.stop(); } }, _callee4); })); return _getStudentVideoStatisticsList.apply(this, arguments); } function getVideoDetail(_x5) { return _getVideoDetail.apply(this, arguments); } function _getVideoDetail() { _getVideoDetail = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee5(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee5$(_context5) { while (1) switch (_context5.prev = _context5.next) { case 0: return _context5.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/video_items/".concat(params.id, ".json"), { method: 'Get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context5.stop(); } }, _callee5); })); return _getVideoDetail.apply(this, arguments); } function addVideoItems(_x6) { return _addVideoItems.apply(this, arguments); } function _addVideoItems() { _addVideoItems = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee6(params) { return _regeneratorRuntime().wrap(function _callee6$(_context6) { while (1) switch (_context6.prev = _context6.next) { case 0: return _context6.abrupt("return", Fetch('/api/video_items.json', { method: 'post', body: params })); case 1: case "end": return _context6.stop(); } }, _callee6); })); return _addVideoItems.apply(this, arguments); } function getVideoEditData(_x7) { return _getVideoEditData.apply(this, arguments); } function _getVideoEditData() { _getVideoEditData = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee7(params) { return _regeneratorRuntime().wrap(function _callee7$(_context7) { while (1) switch (_context7.prev = _context7.next) { case 0: return _context7.abrupt("return", Fetch("/api/video_items/".concat(params.id, "/edit.json"), { method: 'Get', params: _objectSpread({}, params) })); case 1: case "end": return _context7.stop(); } }, _callee7); })); return _getVideoEditData.apply(this, arguments); } function getVideoEditDatas(_x8) { return _getVideoEditDatas.apply(this, arguments); } function _getVideoEditDatas() { _getVideoEditDatas = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee8(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee8$(_context8) { while (1) switch (_context8.prev = _context8.next) { case 0: return _context8.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/stage_shixuns/".concat(params.id, "/edit.json"), { method: 'Get', params: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) })); case 1: case "end": return _context8.stop(); } }, _callee8); })); return _getVideoEditDatas.apply(this, arguments); } function starVideo(_x9) { return _starVideo.apply(this, arguments); } function _starVideo() { _starVideo = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee9(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee9$(_context9) { while (1) switch (_context9.prev = _context9.next) { case 0: return _context9.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/video_items/".concat(params.id, "/star.json"), { method: 'post', body: params })); case 1: case "end": return _context9.stop(); } }, _callee9); })); return _starVideo.apply(this, arguments); } function updateVideo(_x10) { return _updateVideo.apply(this, arguments); } function _updateVideo() { _updateVideo = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee10(params) { return _regeneratorRuntime().wrap(function _callee10$(_context10) { while (1) switch (_context10.prev = _context10.next) { case 0: return _context10.abrupt("return", Fetch("/api/video_items/".concat(params.id, ".json"), { method: 'put', body: params })); case 1: case "end": return _context10.stop(); } }, _callee10); })); return _updateVideo.apply(this, arguments); } function videoSendToCourse(_x11) { return _videoSendToCourse.apply(this, arguments); } function _videoSendToCourse() { _videoSendToCourse = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee11(params) { return _regeneratorRuntime().wrap(function _callee11$(_context11) { while (1) switch (_context11.prev = _context11.next) { case 0: return _context11.abrupt("return", Fetch("/api/video_items/".concat(params.id, "/send_to_course.json"), { method: 'post', body: params })); case 1: case "end": return _context11.stop(); } }, _callee11); })); return _videoSendToCourse.apply(this, arguments); } function getVideoMyCourses(_x12) { return _getVideoMyCourses.apply(this, arguments); } function _getVideoMyCourses() { _getVideoMyCourses = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee12(params) { return _regeneratorRuntime().wrap(function _callee12$(_context12) { while (1) switch (_context12.prev = _context12.next) { case 0: return _context12.abrupt("return", Fetch("/api/users/my_courses.json", { method: 'Get', params: _objectSpread({}, params) })); case 1: case "end": return _context12.stop(); } }, _callee12); })); return _getVideoMyCourses.apply(this, arguments); } function viewVideo(_x13) { return _viewVideo.apply(this, arguments); } function _viewVideo() { _viewVideo = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee13(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee13$(_context13) { while (1) switch (_context13.prev = _context13.next) { case 0: return _context13.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/video_items/".concat(params.id, "/view_video.json"), { method: 'post', body: params })); case 1: case "end": return _context13.stop(); } }, _callee13); })); return _viewVideo.apply(this, arguments); } function addSchool(_x14) { return _addSchool.apply(this, arguments); } // 视频学习人数变化 function _addSchool() { _addSchool = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee14(params) { return _regeneratorRuntime().wrap(function _callee14$(_context14) { while (1) switch (_context14.prev = _context14.next) { case 0: return _context14.abrupt("return", Fetch("/api/video_items/".concat(params.id, "/add_school.json"), { method: 'post', body: params })); case 1: case "end": return _context14.stop(); } }, _callee14); })); return _addSchool.apply(this, arguments); } function getVideoPeopleStatics(_x15) { return _getVideoPeopleStatics.apply(this, arguments); } // 视频学习时长变化 function _getVideoPeopleStatics() { _getVideoPeopleStatics = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee15(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee15$(_context15) { while (1) switch (_context15.prev = _context15.next) { case 0: return _context15.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.course_id, "/video_people_statics.json"), { method: 'get', params: params })); case 1: case "end": return _context15.stop(); } }, _callee15); })); return _getVideoPeopleStatics.apply(this, arguments); } function getVideoDurationStatics(_x16) { return _getVideoDurationStatics.apply(this, arguments); } // 获取视频列表 function _getVideoDurationStatics() { _getVideoDurationStatics = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee16(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee16$(_context16) { while (1) switch (_context16.prev = _context16.next) { case 0: return _context16.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.course_id, "/video_duration_statics.json"), { method: 'get', params: params })); case 1: case "end": return _context16.stop(); } }, _callee16); })); return _getVideoDurationStatics.apply(this, arguments); } function getStageData(_x17) { return _getStageData.apply(this, arguments); } function _getStageData() { _getStageData = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee17(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee17$(_context17) { while (1) switch (_context17.prev = _context17.next) { case 0: return _context17.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/stages.json", { method: 'get', params: params })); case 1: case "end": return _context17.stop(); } }, _callee17); })); return _getStageData.apply(this, arguments); } /***/ }), /***/ 26227: /*!**************************************!*\ !*** ./src/service/virtualSpaces.ts ***! \**************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ A: function() { return /* binding */ deleteCourse; }, /* harmony export */ LY: function() { return /* binding */ addShixun; }, /* harmony export */ MM: function() { return /* binding */ Addmember; }, /* harmony export */ Ps: function() { return /* binding */ deleteShixun; }, /* harmony export */ Sl: function() { return /* binding */ getVirtualSpacesMenus; }, /* harmony export */ bq: function() { return /* binding */ addCourse; }, /* harmony export */ rV: function() { return /* binding */ getShixuns; }, /* harmony export */ sT: function() { return /* binding */ getVirtualSpacesDetails; }, /* harmony export */ tS: function() { return /* binding */ getCourseList; }, /* harmony export */ xt: function() { return /* binding */ change_creator; } /* harmony export */ }); /* unused harmony export upvideos */ /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/regeneratorRuntime.js */ 7557); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/asyncToGenerator.js */ 41498); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__); /* harmony import */ var _utils_fetch__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/utils/fetch */ 55794); // 获取虚拟社区头部信息 function getVirtualSpacesDetails(_x) { return _getVirtualSpacesDetails.apply(this, arguments); } // 获取虚拟社区左侧菜单信息 function _getVirtualSpacesDetails() { _getVirtualSpacesDetails = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee$(_context) { while (1) switch (_context.prev = _context.next) { case 0: return _context.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/virtual_classrooms/".concat(params === null || params === void 0 ? void 0 : params.id, ".json"), { method: 'get' })); case 1: case "end": return _context.stop(); } }, _callee); })); return _getVirtualSpacesDetails.apply(this, arguments); } function getVirtualSpacesMenus(_x2) { return _getVirtualSpacesMenus.apply(this, arguments); } // 上传视频 function _getVirtualSpacesMenus() { _getVirtualSpacesMenus = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee2(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee2$(_context2) { while (1) switch (_context2.prev = _context2.next) { case 0: return _context2.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/virtual_classrooms/".concat(params === null || params === void 0 ? void 0 : params.id, "/modules.json"), { method: 'get' })); case 1: case "end": return _context2.stop(); } }, _callee2); })); return _getVirtualSpacesMenus.apply(this, arguments); } function upvideos(_x3) { return _upvideos.apply(this, arguments); } function _upvideos() { _upvideos = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3(params) { return _regeneratorRuntime().wrap(function _callee3$(_context3) { while (1) switch (_context3.prev = _context3.next) { case 0: return _context3.abrupt("return", Fetch("/api/virtual_classrooms/".concat(params.id, "/videos/batch_publish.json"), { method: 'post', body: params })); case 1: case "end": return _context3.stop(); } }, _callee3); })); return _upvideos.apply(this, arguments); } function Addmember(_x4) { return _Addmember.apply(this, arguments); } function _Addmember() { _Addmember = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee4(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee4$(_context4) { while (1) switch (_context4.prev = _context4.next) { case 0: return _context4.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/virtual_classrooms/".concat(params.virtual_spacesId, "/members.json"), { method: 'post', body: params })); case 1: case "end": return _context4.stop(); } }, _callee4); })); return _Addmember.apply(this, arguments); } function change_creator(_x5) { return _change_creator.apply(this, arguments); } function _change_creator() { _change_creator = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee5(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee5$(_context5) { while (1) switch (_context5.prev = _context5.next) { case 0: return _context5.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/virtual_classrooms/".concat(params.virtual_spacesId, "/members/").concat(params.id, "/change_creator.json"), { method: 'post', body: params })); case 1: case "end": return _context5.stop(); } }, _callee5); })); return _change_creator.apply(this, arguments); } function getShixuns(_x6, _x7) { return _getShixuns.apply(this, arguments); } function _getShixuns() { _getShixuns = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee6(id, params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee6$(_context6) { while (1) switch (_context6.prev = _context6.next) { case 0: return _context6.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/virtual_classrooms/".concat(id, "/shixuns.json"), { method: 'get', params: params })); case 1: case "end": return _context6.stop(); } }, _callee6); })); return _getShixuns.apply(this, arguments); } function addShixun(_x8, _x9) { return _addShixun.apply(this, arguments); } function _addShixun() { _addShixun = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee7(id, params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee7$(_context7) { while (1) switch (_context7.prev = _context7.next) { case 0: return _context7.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/virtual_classrooms/".concat(id, "/shixuns"), { method: 'post', body: params })); case 1: case "end": return _context7.stop(); } }, _callee7); })); return _addShixun.apply(this, arguments); } function deleteShixun(_x10) { return _deleteShixun.apply(this, arguments); } function _deleteShixun() { _deleteShixun = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee8(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee8$(_context8) { while (1) switch (_context8.prev = _context8.next) { case 0: return _context8.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/virtual_classrooms/".concat(params.virtual_classroom_id, "/shixuns/").concat(params.shixun_id, ".json"), { method: 'delete' })); case 1: case "end": return _context8.stop(); } }, _callee8); })); return _deleteShixun.apply(this, arguments); } function getCourseList(_x11, _x12) { return _getCourseList.apply(this, arguments); } function _getCourseList() { _getCourseList = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee9(id, params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee9$(_context9) { while (1) switch (_context9.prev = _context9.next) { case 0: return _context9.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/virtual_classrooms/".concat(id, "/subjects.json"), { method: 'get', params: params })); case 1: case "end": return _context9.stop(); } }, _callee9); })); return _getCourseList.apply(this, arguments); } function addCourse(_x13, _x14) { return _addCourse.apply(this, arguments); } function _addCourse() { _addCourse = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee10(virtual_classroom_id, params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee10$(_context10) { while (1) switch (_context10.prev = _context10.next) { case 0: return _context10.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/virtual_classrooms/".concat(virtual_classroom_id, "/subjects.json"), { method: 'post', body: params })); case 1: case "end": return _context10.stop(); } }, _callee10); })); return _addCourse.apply(this, arguments); } function deleteCourse(_x15) { return _deleteCourse.apply(this, arguments); } function _deleteCourse() { _deleteCourse = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee11(params) { return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee11$(_context11) { while (1) switch (_context11.prev = _context11.next) { case 0: return _context11.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/virtual_classrooms/".concat(params.virtual_classroom_id, "/subjects/").concat(params.subject_id, ".json"), { method: 'delete' })); case 1: case "end": return _context11.stop(); } }, _callee11); })); return _deleteCourse.apply(this, arguments); } /***/ }), /***/ 85186: /*!********************************!*\ !*** ./src/utils/authority.ts ***! \********************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ EO: function() { return /* binding */ isCommonAdminOrCreator; }, /* harmony export */ G5: function() { return /* binding */ isAdminOrTeacher; }, /* harmony export */ GD: function() { return /* binding */ RoleType; }, /* harmony export */ GJ: function() { return /* binding */ isAdmin; }, /* harmony export */ Gg: function() { return /* binding */ isAdminOrAssistant; }, /* harmony export */ I2: function() { return /* binding */ getRoleAuth; }, /* harmony export */ IR: function() { return /* binding */ isTeacher; }, /* harmony export */ JA: function() { return /* binding */ isCommonStudent; }, /* harmony export */ Jd: function() { return /* binding */ isNotMember; }, /* harmony export */ Ny: function() { return /* binding */ isSuperAdmins; }, /* harmony export */ RV: function() { return /* binding */ isAdminOrStudent; }, /* harmony export */ Rb: function() { return /* binding */ isAdminOrCreatorOrOperation; }, /* harmony export */ Rm: function() { return /* binding */ isAssistant; }, /* harmony export */ V9: function() { return /* binding */ canShixunAdd; }, /* harmony export */ Yh: function() { return /* binding */ isStudents; }, /* harmony export */ aN: function() { return /* binding */ isAdminOrCreator; }, /* harmony export */ aQ: function() { return /* binding */ courseIsEnd; }, /* harmony export */ ag: function() { return /* binding */ isCommonSuperAdminOrOperation; }, /* harmony export */ bg: function() { return /* binding */ isLogin; }, /* harmony export */ dE: function() { return /* binding */ isStudent; }, /* harmony export */ eB: function() { return /* binding */ isAdmins; }, /* harmony export */ eY: function() { return /* binding */ userInfo; }, /* harmony export */ fn: function() { return /* binding */ isCommonSuperAdmin; }, /* harmony export */ h: function() { return /* binding */ isGPStudent; }, /* harmony export */ j5: function() { return /* binding */ isSuperAdmin; }, /* harmony export */ oF: function() { return /* binding */ isAdminOrAuthor; }, /* harmony export */ qz: function() { return /* binding */ isMainSite; }, /* harmony export */ tu: function() { return /* binding */ isGPAdminOrTeacher; } /* harmony export */ }); /* unused harmony exports getAuthentication, isAdminAndCreator, isCreatorAndTeacher, isCreator, canCommonAdd, canCommonDelete, canCommonUpdate, canCommonView, canCommonDownload, canShixunDelete, canShixunUpdate, canShixunView, canShixunSendToClassroom, canShixunViewAnswer, canShixunCancelPublic, canProblemsetAdd, canProblemsetDelete, canProblemsetUpdate, canProblemsetView, canProblemsetGroup, canProblemsetCancelPublic, canProblemsetCorrection, canProblemsetCollect, canProblemsetViewAnalysis, canPaperlibraryAdd, canPaperlibraryDelete, canPaperlibraryUpdate, canPaperlibraryView, canPaperlibraryCancelPublic, canPaperlibrarySendToClassroom, authentication, getGraduationsAuth, isGPAdmin, isGPTeacher */ /* harmony import */ var umi__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! umi */ 25789); // 公共资源 var RoleType = /*#__PURE__*/function (RoleType) { RoleType[RoleType["SuperAdmin"] = 1] = "SuperAdmin"; RoleType[RoleType["Operation"] = 2] = "Operation"; RoleType[RoleType["CertifiedTeacher"] = 5] = "CertifiedTeacher"; RoleType[RoleType["TrainingProduction"] = 8] = "TrainingProduction"; RoleType[RoleType["UncertifiedTeacher"] = 12] = "UncertifiedTeacher"; RoleType[RoleType["Student"] = 15] = "Student"; return RoleType; }({}); // 学员 // 课堂资源 var CourseRoleType = /*#__PURE__*/function (CourseRoleType) { CourseRoleType[CourseRoleType["SuperAdmin"] = 1] = "SuperAdmin"; CourseRoleType[CourseRoleType["Operation"] = 2] = "Operation"; CourseRoleType[CourseRoleType["Admin"] = 5] = "Admin"; CourseRoleType[CourseRoleType["Teacher"] = 8] = "Teacher"; CourseRoleType[CourseRoleType["Assistant"] = 12] = "Assistant"; CourseRoleType[CourseRoleType["Student"] = 15] = "Student"; return CourseRoleType; }(CourseRoleType || {}); // 学员 // 毕业设计资源 var GraduationsRoleType = /*#__PURE__*/function (GraduationsRoleType) { GraduationsRoleType[GraduationsRoleType["SuperAdmin"] = 0] = "SuperAdmin"; GraduationsRoleType[GraduationsRoleType["Teacher"] = 1] = "Teacher"; GraduationsRoleType[GraduationsRoleType["Student"] = 2] = "Student"; return GraduationsRoleType; }(GraduationsRoleType || {}); // 学员 var getRoleAuth = function getRoleAuth(auth) { var _getDvaApp$_store$get = (0,umi__WEBPACK_IMPORTED_MODULE_0__.getDvaApp)()._store.getState(), user = _getDvaApp$_store$get.user; var userInfo = user.userInfo; return auth.some(function (v) { return v == (userInfo === null || userInfo === void 0 ? void 0 : userInfo.role); }); }; var getCourseAuth = function getCourseAuth(auth) { var _getDvaApp$_store$get2 = (0,umi__WEBPACK_IMPORTED_MODULE_0__.getDvaApp)()._store.getState(), user = _getDvaApp$_store$get2.user; var userInfo = user.userInfo; if (userInfo !== null && userInfo !== void 0 && userInfo.own) return true; return auth.some(function (v) { var _userInfo$course; return v == (userInfo === null || userInfo === void 0 || (_userInfo$course = userInfo.course) === null || _userInfo$course === void 0 ? void 0 : _userInfo$course.course_role); }); }; var isMainSite = function isMainSite() { var _getDvaApp$_store$get3 = (0,umi__WEBPACK_IMPORTED_MODULE_0__.getDvaApp)()._store.getState(), user = _getDvaApp$_store$get3.user; var userInfo = user.userInfo; return userInfo.main_site; }; var courseIsEnd = function courseIsEnd() { var _userInfo$course2; var _getDvaApp$_store$get4 = (0,umi__WEBPACK_IMPORTED_MODULE_0__.getDvaApp)()._store.getState(), user = _getDvaApp$_store$get4.user; var userInfo = user.userInfo; return userInfo === null || userInfo === void 0 || (_userInfo$course2 = userInfo.course) === null || _userInfo$course2 === void 0 ? void 0 : _userInfo$course2.course_is_end; }; var getAuthentication = function getAuthentication() { var _getDvaApp$_store$get5 = getDvaApp()._store.getState(), user = _getDvaApp$_store$get5.user; var userInfo = user.userInfo; return userInfo.authentication; }; var isAdmin = function isAdmin() { return getCourseAuth([CourseRoleType.SuperAdmin, CourseRoleType.Operation, CourseRoleType.Admin, CourseRoleType.Teacher, CourseRoleType.Assistant]); }; // 超管、课堂管理员、老师、作者 var isAdminOrAssistant = function isAdminOrAssistant() { return getCourseAuth([CourseRoleType.SuperAdmin, CourseRoleType.Teacher, CourseRoleType.Admin, CourseRoleType.Assistant, CourseRoleType.Operation]); }; // 超管、课堂管理员、老师、作者 var isAdminOrAuthor = function isAdminOrAuthor() { return getCourseAuth([CourseRoleType.SuperAdmin, CourseRoleType.Teacher, CourseRoleType.Admin]); }; // //超管0 var isSuperAdmin = function isSuperAdmin() { return getCourseAuth([CourseRoleType.SuperAdmin]); }; //超管、运维、课堂管理 var isAdminOrCreator = function isAdminOrCreator() { return getCourseAuth([CourseRoleType.SuperAdmin, CourseRoleType.Operation, CourseRoleType.Admin]); }; //超管 运维 var isSuperAdmins = function isSuperAdmins() { return getRoleAuth([RoleType.SuperAdmin, RoleType.Operation]); }; //超管 课堂管理 var isAdminAndCreator = function isAdminAndCreator() { return getCourseAuth([CourseRoleType.SuperAdmin, CourseRoleType.Admin]); }; //课堂管理员 课堂教员 var isCreatorAndTeacher = function isCreatorAndTeacher() { return getCourseAuth([CourseRoleType.Admin, CourseRoleType.Teacher]); }; //课堂管理员 var isCreator = function isCreator() { return getCourseAuth([CourseRoleType.Admin]); }; //超管 课堂管理 运营 var isAdminOrCreatorOrOperation = function isAdminOrCreatorOrOperation() { return getCourseAuth([CourseRoleType.SuperAdmin, CourseRoleType.Admin, CourseRoleType.Operation]); }; //超管、运维、课堂管理、老师 var isAdminOrTeacher = function isAdminOrTeacher() { return getCourseAuth([CourseRoleType.SuperAdmin, CourseRoleType.Operation, CourseRoleType.Admin, CourseRoleType.Teacher]); }; // 辅导教员===4 var isAssistant = function isAssistant() { return getCourseAuth([CourseRoleType.Assistant]); }; //老师 var isTeacher = function isTeacher() { return getCourseAuth([CourseRoleType.Teacher]); }; // 学员5 var isStudent = function isStudent() { return getCourseAuth([CourseRoleType.Student]); }; // 超管、运维、课堂管理、老师、辅导教员、学员 var isAdminOrStudent = function isAdminOrStudent() { return getCourseAuth([CourseRoleType.SuperAdmin, CourseRoleType.Operation, CourseRoleType.Admin, CourseRoleType.Teacher, CourseRoleType.Assistant, CourseRoleType.Student]); }; // 超管、运维、课堂管理、老师、辅导教员 var isAdmins = function isAdmins() { return getCourseAuth([CourseRoleType.SuperAdmin, CourseRoleType.Operation, CourseRoleType.Admin, CourseRoleType.Teacher, CourseRoleType.Assistant]); }; // 游客未登录/非课堂成员6> var isNotMember = function isNotMember() { var _userInfo$course3; var _getDvaApp$_store$get6 = (0,umi__WEBPACK_IMPORTED_MODULE_0__.getDvaApp)()._store.getState(), user = _getDvaApp$_store$get6.user; var userInfo = user.userInfo; if ((userInfo === null || userInfo === void 0 || (_userInfo$course3 = userInfo.course) === null || _userInfo$course3 === void 0 ? void 0 : _userInfo$course3.course_role) === null) { return true; } else { return false; } }; /** * 通用资源 */ // 添加 var canCommonAdd = function canCommonAdd() { var isPublic = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true; var own = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false; return getRoleAuth([RoleType.SuperAdmin, RoleType.Operation, RoleType.CertifiedTeacher, RoleType.TrainingProduction, RoleType.UncertifiedTeacher, RoleType.Student]); }; // 删除 var canCommonDelete = function canCommonDelete() { var isPublic = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true; var own = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false; return own || !own && getRoleAuth([RoleType.SuperAdmin]); }; // 修改 var canCommonUpdate = function canCommonUpdate() { var isPublic = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true; var own = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false; return own || !own && getRoleAuth([RoleType.SuperAdmin, RoleType.Operation]); }; // 学员5 var isStudents = function isStudents() { return getRoleAuth([CourseRoleType.Student]); }; // 查看/收藏/点赞 var canCommonView = function canCommonView() { var isPublic = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true; var own = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false; return isPublic ? getRoleAuth([RoleType.SuperAdmin, RoleType.Operation, RoleType.CertifiedTeacher, RoleType.TrainingProduction, RoleType.UncertifiedTeacher, RoleType.Student]) : own || !own && getRoleAuth([RoleType.SuperAdmin, RoleType.Operation]); }; // 下载 var canCommonDownload = function canCommonDownload() { var isPublic = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true; var own = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false; return isPublic ? getRoleAuth([RoleType.SuperAdmin, RoleType.Operation, RoleType.CertifiedTeacher, RoleType.TrainingProduction, RoleType.UncertifiedTeacher, RoleType.Student]) : own || !own && getRoleAuth([RoleType.SuperAdmin, RoleType.Operation]); }; /** * 实训资源 */ // 添加 var canShixunAdd = function canShixunAdd() { var isPublic = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true; var own = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false; var _getDvaApp$_store$get7 = (0,umi__WEBPACK_IMPORTED_MODULE_0__.getDvaApp)()._store.getState(), user = _getDvaApp$_store$get7.user; var userInfo = user.userInfo; if (userInfo !== null && userInfo !== void 0 && userInfo.is_shixun_marker) { return true; } ; return getRoleAuth([RoleType.SuperAdmin, RoleType.Operation, RoleType.CertifiedTeacher, RoleType.TrainingProduction]); }; // 删除 var canShixunDelete = function canShixunDelete() { var isPublic = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true; var own = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false; return isPublic ? getRoleAuth([RoleType.SuperAdmin]) : own || !own && getRoleAuth([RoleType.SuperAdmin]); }; // 修改 var canShixunUpdate = function canShixunUpdate() { var isPublic = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true; var own = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false; return isPublic ? getRoleAuth([RoleType.SuperAdmin, RoleType.Operation]) : own || !own && getRoleAuth([RoleType.SuperAdmin, RoleType.Operation]); }; // 查看/收藏/点赞 var canShixunView = function canShixunView() { var isPublic = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true; var own = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false; return isPublic ? getRoleAuth([RoleType.SuperAdmin, RoleType.Operation, RoleType.CertifiedTeacher, RoleType.TrainingProduction, RoleType.UncertifiedTeacher, RoleType.Student]) : own || !own && getRoleAuth([RoleType.SuperAdmin, RoleType.Operation]); }; // 发送至课堂 var canShixunSendToClassroom = function canShixunSendToClassroom() { var isPublic = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true; var own = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false; return isPublic ? getRoleAuth([RoleType.SuperAdmin, RoleType.Operation, RoleType.CertifiedTeacher, RoleType.TrainingProduction, RoleType.UncertifiedTeacher]) : own || !own && getRoleAuth([RoleType.SuperAdmin, RoleType.Operation]); }; // 免金币查看答案/测试集 var canShixunViewAnswer = function canShixunViewAnswer() { var isPublic = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true; var own = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false; return isPublic ? getRoleAuth([RoleType.SuperAdmin, RoleType.Operation, RoleType.CertifiedTeacher]) : own || !own && getRoleAuth([RoleType.SuperAdmin, RoleType.Operation]); }; // 撤销公开 var canShixunCancelPublic = function canShixunCancelPublic() { var isPublic = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true; var own = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false; return isPublic ? getRoleAuth([RoleType.SuperAdmin]) : false; }; /** * 试题资源 */ // 添加 var canProblemsetAdd = function canProblemsetAdd() { var isPublic = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true; var own = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false; return getRoleAuth([RoleType.SuperAdmin, RoleType.Operation, RoleType.CertifiedTeacher, RoleType.TrainingProduction, RoleType.UncertifiedTeacher, RoleType.Student]); }; // 删除 var canProblemsetDelete = function canProblemsetDelete() { var isPublic = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true; var own = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false; return isPublic ? getRoleAuth([RoleType.SuperAdmin]) : own || !own && getRoleAuth([RoleType.SuperAdmin]); }; // 修改 var canProblemsetUpdate = function canProblemsetUpdate() { var isPublic = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true; var own = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false; return isPublic ? getRoleAuth([RoleType.SuperAdmin, RoleType.Operation]) : own || !own && getRoleAuth([RoleType.SuperAdmin, RoleType.Operation]); }; // 查看 var canProblemsetView = function canProblemsetView() { var isPublic = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true; var own = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false; return isPublic ? getRoleAuth([RoleType.SuperAdmin, RoleType.Operation, RoleType.CertifiedTeacher, RoleType.TrainingProduction, RoleType.UncertifiedTeacher, RoleType.Student]) : own || !own && getRoleAuth([RoleType.SuperAdmin, RoleType.Operation]); }; // 分组 var canProblemsetGroup = function canProblemsetGroup() { var isPublic = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true; var own = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false; return isPublic ? false : own || !own && getRoleAuth([RoleType.SuperAdmin, RoleType.Operation]); }; // 撤销公开 var canProblemsetCancelPublic = function canProblemsetCancelPublic() { var isPublic = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true; var own = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false; return isPublic ? own || !own && getRoleAuth([RoleType.SuperAdmin, RoleType.Operation]) : false; }; // 纠错 var canProblemsetCorrection = function canProblemsetCorrection() { var isPublic = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true; var own = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false; return isPublic ? getRoleAuth([RoleType.SuperAdmin, RoleType.Operation, RoleType.CertifiedTeacher, RoleType.TrainingProduction, RoleType.UncertifiedTeacher]) : false; }; // 收藏 var canProblemsetCollect = function canProblemsetCollect() { var isPublic = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true; var own = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false; return isPublic ? !own && getRoleAuth([RoleType.SuperAdmin, RoleType.Operation, RoleType.CertifiedTeacher, RoleType.TrainingProduction, RoleType.UncertifiedTeacher]) : false; }; // 查看解析 var canProblemsetViewAnalysis = function canProblemsetViewAnalysis() { var isPublic = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true; var own = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false; return isPublic ? getRoleAuth([RoleType.SuperAdmin, RoleType.Operation, RoleType.CertifiedTeacher]) : own || !own && getRoleAuth([RoleType.SuperAdmin, RoleType.Operation]); }; /** * 试卷资源 */ // 添加 var canPaperlibraryAdd = function canPaperlibraryAdd() { var isPublic = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true; var own = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false; return getRoleAuth([RoleType.SuperAdmin, RoleType.Operation, RoleType.CertifiedTeacher, RoleType.TrainingProduction, RoleType.UncertifiedTeacher]); }; // 删除 var canPaperlibraryDelete = function canPaperlibraryDelete() { var isPublic = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true; var own = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false; return isPublic ? getRoleAuth([RoleType.SuperAdmin]) : own || !own && getRoleAuth([RoleType.SuperAdmin]); }; // 修改 var canPaperlibraryUpdate = function canPaperlibraryUpdate() { var isPublic = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true; var own = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false; return isPublic ? getRoleAuth([RoleType.SuperAdmin, RoleType.Operation]) : own || !own && getRoleAuth([RoleType.SuperAdmin, RoleType.Operation]); }; // 查看 var canPaperlibraryView = function canPaperlibraryView() { var isPublic = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true; var own = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false; return isPublic ? getRoleAuth([RoleType.SuperAdmin, RoleType.Operation, RoleType.CertifiedTeacher, RoleType.TrainingProduction, RoleType.UncertifiedTeacher]) : own || !own && getRoleAuth([RoleType.SuperAdmin, RoleType.Operation]); }; // 撤销公开 var canPaperlibraryCancelPublic = function canPaperlibraryCancelPublic() { var isPublic = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true; var own = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false; return isPublic ? own || !own && getRoleAuth([RoleType.SuperAdmin, RoleType.Operation]) : false; }; // 发送至课堂 var canPaperlibrarySendToClassroom = function canPaperlibrarySendToClassroom() { var isPublic = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true; var own = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false; return isPublic ? getRoleAuth([RoleType.SuperAdmin, RoleType.Operation, RoleType.CertifiedTeacher, RoleType.TrainingProduction, RoleType.UncertifiedTeacher]) : own || !own && getRoleAuth([RoleType.SuperAdmin, RoleType.Operation]); }; //老师就能上传视频 var authentication = function authentication() { var isPublic = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true; var own = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false; return getCourseAuth([CourseRoleType.Teacher]); }; var isCommonSuperAdmin = function isCommonSuperAdmin() { return getRoleAuth([RoleType.SuperAdmin]); }; var isCommonSuperAdminOrOperation = function isCommonSuperAdminOrOperation() { return getRoleAuth([RoleType.SuperAdmin, RoleType.Operation]); }; var isCommonStudent = function isCommonStudent() { return getRoleAuth([RoleType.Student]); }; var isCommonAdminOrCreator = function isCommonAdminOrCreator() { return getRoleAuth([RoleType.SuperAdmin, RoleType.Operation, RoleType.CertifiedTeacher]); }; /** *@@是否登录 *true登录 false未登录 */ var isLogin = function isLogin() { var _user$userInfo; var _getDvaApp$_store$get8 = (0,umi__WEBPACK_IMPORTED_MODULE_0__.getDvaApp)()._store.getState(), user = _getDvaApp$_store$get8.user; return !!((_user$userInfo = user.userInfo) !== null && _user$userInfo !== void 0 && _user$userInfo.login); }; /** *@@获取用户登录信息 */ var userInfo = function userInfo() { var _getDvaApp$_store$get9 = (0,umi__WEBPACK_IMPORTED_MODULE_0__.getDvaApp)()._store.getState(), user = _getDvaApp$_store$get9.user; return user.userInfo; }; //毕业设计模块 var getGraduationsAuth = function getGraduationsAuth(auth) { var _getDvaApp$_store$get10 = (0,umi__WEBPACK_IMPORTED_MODULE_0__.getDvaApp)()._store.getState(), graduations = _getDvaApp$_store$get10.graduations; var details = graduations.details; return auth.some(function (v) { return v === (details === null || details === void 0 ? void 0 : details.user_identity); }); }; //超管 运维 老师 var isGPAdminOrTeacher = function isGPAdminOrTeacher() { return getGraduationsAuth([GraduationsRoleType.SuperAdmin, GraduationsRoleType.Teacher]); }; //超管 运维 var isGPAdmin = function isGPAdmin() { return getGraduationsAuth([GraduationsRoleType.SuperAdmin]); }; //老师 var isGPTeacher = function isGPTeacher() { return getGraduationsAuth([GraduationsRoleType.Teacher]); }; //学员 var isGPStudent = function isGPStudent() { return getGraduationsAuth([GraduationsRoleType.Student]); }; /***/ }), /***/ 73673: /*!*******************************!*\ !*** ./src/utils/constant.ts ***! \*******************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ FV: function() { return /* binding */ DEVICE_STATUS_TYPEENUM; }, /* harmony export */ Z$: function() { return /* binding */ DEVICE_STATUS_TYPE; }, /* harmony export */ fw: function() { return /* binding */ QUESTIONTYPE; } /* harmony export */ }); var QUESTIONTYPE = [{ id: 0, name: '单选题', nameType: "SINGLE" }, { id: 1, name: '多选题', nameType: "MULTIPLE" }, { id: 2, name: '判断题', nameType: "JUDGMENT" }, { id: 3, name: '填空题', nameType: "COMPLETION" }, { id: 4, name: '画图题', nameType: "SUBJECTIVE" }, { id: 5, name: '实训题', nameType: "PRACTICAL" }, { id: 6, name: '编程题', nameType: "PROGRAM" }, { id: 7, name: '组合题', nameType: "COMBINATION" }, { id: 8, name: '程序填空题', nameType: "BPROGRAM" }]; var DEVICE_STATUS_TYPEENUM = /*#__PURE__*/function (DEVICE_STATUS_TYPEENUM) { DEVICE_STATUS_TYPEENUM["USABLE"] = "usable"; DEVICE_STATUS_TYPEENUM["DAMAGED"] = "damaged"; DEVICE_STATUS_TYPEENUM["SCRAPPED"] = "scrapped"; DEVICE_STATUS_TYPEENUM["MAINTENANCE"] = "maintenance"; return DEVICE_STATUS_TYPEENUM; }({}); //保养 var DEVICE_STATUS_TYPE = [ // 设备信息状态 { value: DEVICE_STATUS_TYPEENUM.USABLE, label: '堪用' }, { value: DEVICE_STATUS_TYPEENUM.DAMAGED, label: '损坏' }, { value: DEVICE_STATUS_TYPEENUM.SCRAPPED, label: '报废' }, { value: DEVICE_STATUS_TYPEENUM.MAINTENANCE, label: '保养' }]; /***/ }), /***/ 72823: /*!**********************************!*\ !*** ./src/utils/contentType.ts ***! \**********************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ F: function() { return /* binding */ contentType; } /* harmony export */ }); var contentType = { "load": "text/html", "123": "application/vndlotus-1-2-3", "3ds": "image/x-3ds", "3g2": "video/3gpp", "3ga": "video/3gpp", "3gp": "video/3gpp", "3gpp": "video/3gpp", "602": "application/x-t602", "669": "audio/x-mod", "7z": "application/x-7z-compressed", "a": "application/x-archive", "aac": "audio/mp4", "abw": "application/x-abiword", "abwcrashed": "application/x-abiword", "abwgz": "application/x-abiword", "ac3": "audio/ac3", "ace": "application/x-ace", "adb": "text/x-adasrc", "ads": "text/x-adasrc", "afm": "application/x-font-afm", "ag": "image/x-applix-graphics", "ai": "application/illustrator", "aif": "audio/x-aiff", "aifc": "audio/x-aiff", "aiff": "audio/x-aiff", "al": "application/x-perl", "alz": "application/x-alz", "amr": "audio/amr", "ani": "application/x-navi-animation", "anim[1-9j]": "video/x-anim", "anx": "application/annodex", "ape": "audio/x-ape", "arj": "application/x-arj", "arw": "image/x-sony-arw", "as": "application/x-applix-spreadsheet", "asc": "text/plain", "asf": "video/x-ms-asf", "asp": "application/x-asp", "ass": "text/x-ssa", "asx": "audio/x-ms-asx", "atom": "application/atom+xml", "au": "audio/basic", "avi": "video/x-msvideo", "aw": "application/x-applix-word", "awb": "audio/amr-wb", "awk": "application/x-awk", "axa": "audio/annodex", "axv": "video/annodex", "bak": "application/x-trash", "bcpio": "application/x-bcpio", "bdf": "application/x-font-bdf", "bib": "text/x-bibtex", "bin": "application/octet-stream", "blend": "application/x-blender", "blender": "application/x-blender", "bmp": "image/bmp", "bz": "application/x-bzip", "bz2": "application/x-bzip", "c": "text/x-csrc", "c++": "text/x-c++src", "cab": "application/vndms-cab-compressed", "cb7": "application/x-cb7", "cbr": "application/x-cbr", "cbt": "application/x-cbt", "cbz": "application/x-cbz", "cc": "text/x-c++src", "cdf": "application/x-netcdf", "cdr": "application/vndcorel-draw", "cer": "application/x-x509-ca-cert", "cert": "application/x-x509-ca-cert", "cgm": "image/cgm", "chm": "application/x-chm", "chrt": "application/x-kchart", "class": "application/x-java", "cls": "text/x-tex", "cmake": "text/x-cmake", "cpio": "application/x-cpio", "cpiogz": "application/x-cpio-compressed", "cpp": "text/x-c++src", "cr2": "image/x-canon-cr2", "crt": "application/x-x509-ca-cert", "crw": "image/x-canon-crw", "cs": "text/x-csharp", "csh": "application/x-csh", "css": "text/css", "cssl": "text/css", "csv": "text/csv", "cue": "application/x-cue", "cur": "image/x-win-bitmap", "cxx": "text/x-c++src", "d": "text/x-dsrc", "dar": "application/x-dar", "dbf": "application/x-dbf", "dc": "application/x-dc-rom", "dcl": "text/x-dcl", "dcm": "application/dicom", "dcr": "image/x-kodak-dcr", "dds": "image/x-dds", "deb": "application/x-deb", "der": "application/x-x509-ca-cert", "desktop": "application/x-desktop", "dia": "application/x-dia-diagram", "diff": "text/x-patch", "divx": "video/x-msvideo", "djv": "image/vnddjvu", "djvu": "image/vnddjvu", "dng": "image/x-adobe-dng", "doc": "application/msword", "docbook": "application/docbook+xml", "docm": "application/vndopenxmlformats-officedocumentwordprocessingmldocument", "docx": "application/vndopenxmlformats-officedocumentwordprocessingmldocument", "dot": "text/vndgraphviz", "dsl": "text/x-dsl", "dtd": "application/xml-dtd", "dtx": "text/x-tex", "dv": "video/dv", "dvi": "application/x-dvi", "dvibz2": "application/x-bzdvi", "dvigz": "application/x-gzdvi", "dwg": "image/vnddwg", "dxf": "image/vnddxf", "e": "text/x-eiffel", "egon": "application/x-egon", "eif": "text/x-eiffel", "el": "text/x-emacs-lisp", "emf": "image/x-emf", "emp": "application/vndemusic-emusic_package", "ent": "application/xml-external-parsed-entity", "eps": "image/x-eps", "epsbz2": "image/x-bzeps", "epsgz": "image/x-gzeps", "epsf": "image/x-eps", "epsfbz2": "image/x-bzeps", "epsfgz": "image/x-gzeps", "epsi": "image/x-eps", "epsibz2": "image/x-bzeps", "epsigz": "image/x-gzeps", "epub": "application/epub+zip", "erl": "text/x-erlang", "es": "application/ecmascript", "etheme": "application/x-e-theme", "etx": "text/x-setext", "exe": "application/x-ms-dos-executable", "exr": "image/x-exr", "ez": "application/andrew-inset", "f": "text/x-fortran", "f90": "text/x-fortran", "f95": "text/x-fortran", "fb2": "application/x-fictionbook+xml", "fig": "image/x-xfig", "fits": "image/fits", "fl": "application/x-fluid", "flac": "audio/x-flac", "flc": "video/x-flic", "fli": "video/x-flic", "flv": "video/x-flv", "flw": "application/x-kivio", "fo": "text/x-xslfo", "for": "text/x-fortran", "g3": "image/fax-g3", "gb": "application/x-gameboy-rom", "gba": "application/x-gba-rom", "gcrd": "text/directory", "ged": "application/x-gedcom", "gedcom": "application/x-gedcom", "gen": "application/x-genesis-rom", "gf": "application/x-tex-gf", "gg": "application/x-sms-rom", "gif": "image/gif", "glade": "application/x-glade", "gmo": "application/x-gettext-translation", "gnc": "application/x-gnucash", "gnd": "application/gnunet-directory", "gnucash": "application/x-gnucash", "gnumeric": "application/x-gnumeric", "gnuplot": "application/x-gnuplot", "gp": "application/x-gnuplot", "gpg": "application/pgp-encrypted", "gplt": "application/x-gnuplot", "gra": "application/x-graphite", "gsf": "application/x-font-type1", "gsm": "audio/x-gsm", "gtar": "application/x-tar", "gv": "text/vndgraphviz", "gvp": "text/x-google-video-pointer", "gz": "application/x-gzip", "h": "text/x-chdr", "h++": "text/x-c++hdr", "hdf": "application/x-hdf", "hh": "text/x-c++hdr", "hp": "text/x-c++hdr", "hpgl": "application/vndhp-hpgl", "hpp": "text/x-c++hdr", "hs": "text/x-haskell", "htm": "text/html", "html": "text/html", "hwp": "application/x-hwp", "hwt": "application/x-hwt", "hxx": "text/x-c++hdr", "ica": "application/x-ica", "icb": "image/x-tga", "icns": "image/x-icns", "ico": "image/vndmicrosofticon", "ics": "text/calendar", "idl": "text/x-idl", "ief": "image/ief", "iff": "image/x-iff", "ilbm": "image/x-ilbm", "ime": "text/x-imelody", "imy": "text/x-imelody", "ins": "text/x-tex", "iptables": "text/x-iptables", "iso": "application/x-cd-image", "iso9660": "application/x-cd-image", "it": "audio/x-it", "j2k": "image/jp2", "jad": "text/vndsunj2meapp-descriptor", "jar": "application/x-java-archive", "java": "text/x-java", "jng": "image/x-jng", "jnlp": "application/x-java-jnlp-file", "jp2": "image/jp2", "jpc": "image/jp2", "jpe": "image/jpeg", "jpeg": "image/jpeg", "jpf": "image/jp2", "jpg": "image/jpeg", "jpr": "application/x-jbuilder-project", "jpx": "image/jp2", "js": "application/javascript", "json": "application/json", "jsonp": "application/jsonp", "k25": "image/x-kodak-k25", "kar": "audio/midi", "karbon": "application/x-karbon", "kdc": "image/x-kodak-kdc", "kdelnk": "application/x-desktop", "kexi": "application/x-kexiproject-sqlite3", "kexic": "application/x-kexi-connectiondata", "kexis": "application/x-kexiproject-shortcut", "kfo": "application/x-kformula", "kil": "application/x-killustrator", "kino": "application/smil", "kml": "application/vndgoogle-earthkml+xml", "kmz": "application/vndgoogle-earthkmz", "kon": "application/x-kontour", "kpm": "application/x-kpovmodeler", "kpr": "application/x-kpresenter", "kpt": "application/x-kpresenter", "kra": "application/x-krita", "ksp": "application/x-kspread", "kud": "application/x-kugar", "kwd": "application/x-kword", "kwt": "application/x-kword", "la": "application/x-shared-library-la", "latex": "text/x-tex", "ldif": "text/x-ldif", "lha": "application/x-lha", "lhs": "text/x-literate-haskell", "lhz": "application/x-lhz", "log": "text/x-log", "ltx": "text/x-tex", "lua": "text/x-lua", "lwo": "image/x-lwo", "lwob": "image/x-lwo", "lws": "image/x-lws", "ly": "text/x-lilypond", "lyx": "application/x-lyx", "lz": "application/x-lzip", "lzh": "application/x-lha", "lzma": "application/x-lzma", "lzo": "application/x-lzop", "m": "text/x-matlab", "m15": "audio/x-mod", "m2t": "video/mpeg", "m3u": "audio/x-mpegurl", "m3u8": "audio/x-mpegurl", "m4": "application/x-m4", "m4a": "audio/mp4", "m4b": "audio/x-m4b", "m4v": "video/mp4", "mab": "application/x-markaby", "man": "application/x-troff-man", "mbox": "application/mbox", "md": "application/x-genesis-rom", "mdb": "application/vndms-access", "mdi": "image/vndms-modi", "me": "text/x-troff-me", "med": "audio/x-mod", "metalink": "application/metalink+xml", "mgp": "application/x-magicpoint", "mid": "audio/midi", "midi": "audio/midi", "mif": "application/x-mif", "minipsf": "audio/x-minipsf", "mka": "audio/x-matroska", "mkv": "video/x-matroska", "ml": "text/x-ocaml", "mli": "text/x-ocaml", "mm": "text/x-troff-mm", "mmf": "application/x-smaf", "mml": "text/mathml", "mng": "video/x-mng", "mo": "application/x-gettext-translation", "mo3": "audio/x-mo3", "moc": "text/x-moc", "mod": "audio/x-mod", "mof": "text/x-mof", "moov": "video/quicktime", "mov": "video/quicktime", "movie": "video/x-sgi-movie", "mp+": "audio/x-musepack", "mp2": "video/mpeg", "mp3": "audio/mpeg", "mp4": "video/mp4", "mpc": "audio/x-musepack", "mpe": "video/mpeg", "mpeg": "video/mpeg", "mpg": "video/mpeg", "mpga": "audio/mpeg", "mpp": "audio/x-musepack", "mrl": "text/x-mrml", "mrml": "text/x-mrml", "mrw": "image/x-minolta-mrw", "ms": "text/x-troff-ms", "msi": "application/x-msi", "msod": "image/x-msod", "msx": "application/x-msx-rom", "mtm": "audio/x-mod", "mup": "text/x-mup", "mxf": "application/mxf", "n64": "application/x-n64-rom", "nb": "application/mathematica", "nc": "application/x-netcdf", "nds": "application/x-nintendo-ds-rom", "nef": "image/x-nikon-nef", "nes": "application/x-nes-rom", "nfo": "text/x-nfo", "not": "text/x-mup", "nsc": "application/x-netshow-channel", "nsv": "video/x-nsv", "o": "application/x-object", "obj": "application/x-tgif", "ocl": "text/x-ocl", "oda": "application/oda", "odb": "application/vndoasisopendocumentdatabase", "odc": "application/vndoasisopendocumentchart", "odf": "application/vndoasisopendocumentformula", "odg": "application/vndoasisopendocumentgraphics", "odi": "application/vndoasisopendocumentimage", "odm": "application/vndoasisopendocumenttext-master", "odp": "application/vndoasisopendocumentpresentation", "ods": "application/vndoasisopendocumentspreadsheet", "odt": "application/vndoasisopendocumenttext", "oga": "audio/ogg", "ogg": "video/x-theora+ogg", "ogm": "video/x-ogm+ogg", "ogv": "video/ogg", "ogx": "application/ogg", "old": "application/x-trash", "oleo": "application/x-oleo", "opml": "text/x-opml+xml", "ora": "image/openraster", "orf": "image/x-olympus-orf", "otc": "application/vndoasisopendocumentchart-template", "otf": "application/x-font-otf", "otg": "application/vndoasisopendocumentgraphics-template", "oth": "application/vndoasisopendocumenttext-web", "otp": "application/vndoasisopendocumentpresentation-template", "ots": "application/vndoasisopendocumentspreadsheet-template", "ott": "application/vndoasisopendocumenttext-template", "owl": "application/rdf+xml", "oxt": "application/vndopenofficeorgextension", "p": "text/x-pascal", "p10": "application/pkcs10", "p12": "application/x-pkcs12", "p7b": "application/x-pkcs7-certificates", "p7s": "application/pkcs7-signature", "pack": "application/x-java-pack200", "pak": "application/x-pak", "par2": "application/x-par2", "pas": "text/x-pascal", "patch": "text/x-patch", "pbm": "image/x-portable-bitmap", "pcd": "image/x-photo-cd", "pcf": "application/x-cisco-vpn-settings", "pcfgz": "application/x-font-pcf", "pcfz": "application/x-font-pcf", "pcl": "application/vndhp-pcl", "pcx": "image/x-pcx", "pdb": "chemical/x-pdb", "pdc": "application/x-aportisdoc", "pdf": "application/pdf", "pdfbz2": "application/x-bzpdf", "pdfgz": "application/x-gzpdf", "pef": "image/x-pentax-pef", "pem": "application/x-x509-ca-cert", "perl": "application/x-perl", "pfa": "application/x-font-type1", "pfb": "application/x-font-type1", "pfx": "application/x-pkcs12", "pgm": "image/x-portable-graymap", "pgn": "application/x-chess-pgn", "pgp": "application/pgp-encrypted", "php": "application/x-php", "php3": "application/x-php", "php4": "application/x-php", "pict": "image/x-pict", "pict1": "image/x-pict", "pict2": "image/x-pict", "pickle": "application/python-pickle", "pk": "application/x-tex-pk", "pkipath": "application/pkix-pkipath", "pkr": "application/pgp-keys", "pl": "application/x-perl", "pla": "audio/x-iriver-pla", "pln": "application/x-planperfect", "pls": "audio/x-scpls", "pm": "application/x-perl", "png": "image/png", "pnm": "image/x-portable-anymap", "pntg": "image/x-macpaint", "po": "text/x-gettext-translation", "por": "application/x-spss-por", "pot": "text/x-gettext-translation-template", "ppm": "image/x-portable-pixmap", "pps": "application/vndms-powerpoint", "ppt": "application/vndms-powerpoint", "pptm": "application/vndopenxmlformats-officedocumentpresentationmlpresentation", "pptx": "application/vndopenxmlformats-officedocumentpresentationmlpresentation", "ppz": "application/vndms-powerpoint", "prc": "application/x-palm-database", "ps": "application/postscript", "psbz2": "application/x-bzpostscript", "psgz": "application/x-gzpostscript", "psd": "image/vndadobephotoshop", "psf": "audio/x-psf", "psfgz": "application/x-gz-font-linux-psf", "psflib": "audio/x-psflib", "psid": "audio/prssid", "psw": "application/x-pocket-word", "pw": "application/x-pw", "py": "text/x-python", "pyc": "application/x-python-bytecode", "pyo": "application/x-python-bytecode", "qif": "image/x-quicktime", "qt": "video/quicktime", "qtif": "image/x-quicktime", "qtl": "application/x-quicktime-media-link", "qtvr": "video/quicktime", "ra": "audio/vndrn-realaudio", "raf": "image/x-fuji-raf", "ram": "application/ram", "rar": "application/x-rar", "ras": "image/x-cmu-raster", "raw": "image/x-panasonic-raw", "rax": "audio/vndrn-realaudio", "rb": "application/x-ruby", "rdf": "application/rdf+xml", "rdfs": "application/rdf+xml", "reg": "text/x-ms-regedit", "rej": "application/x-reject", "rgb": "image/x-rgb", "rle": "image/rle", "rm": "application/vndrn-realmedia", "rmj": "application/vndrn-realmedia", "rmm": "application/vndrn-realmedia", "rms": "application/vndrn-realmedia", "rmvb": "application/vndrn-realmedia", "rmx": "application/vndrn-realmedia", "roff": "text/troff", "rp": "image/vndrn-realpix", "rpm": "application/x-rpm", "rss": "application/rss+xml", "rt": "text/vndrn-realtext", "rtf": "application/rtf", "rtx": "text/richtext", "rv": "video/vndrn-realvideo", "rvx": "video/vndrn-realvideo", "s3m": "audio/x-s3m", "sam": "application/x-amipro", "sami": "application/x-sami", "sav": "application/x-spss-sav", "scm": "text/x-scheme", "sda": "application/vndstardivisiondraw", "sdc": "application/vndstardivisioncalc", "sdd": "application/vndstardivisionimpress", "sdp": "application/sdp", "sds": "application/vndstardivisionchart", "sdw": "application/vndstardivisionwriter", "sgf": "application/x-go-sgf", "sgi": "image/x-sgi", "sgl": "application/vndstardivisionwriter", "sgm": "text/sgml", "sgml": "text/sgml", "sh": "application/x-shellscript", "shar": "application/x-shar", "shn": "application/x-shorten", "siag": "application/x-siag", "sid": "audio/prssid", "sik": "application/x-trash", "sis": "application/vndsymbianinstall", "sisx": "x-epoc/x-sisx-app", "sit": "application/x-stuffit", "siv": "application/sieve", "sk": "image/x-skencil", "sk1": "image/x-skencil", "skr": "application/pgp-keys", "slk": "text/spreadsheet", "smaf": "application/x-smaf", "smc": "application/x-snes-rom", "smd": "application/vndstardivisionmail", "smf": "application/vndstardivisionmath", "smi": "application/x-sami", "smil": "application/smil", "sml": "application/smil", "sms": "application/x-sms-rom", "snd": "audio/basic", "so": "application/x-sharedlib", "spc": "application/x-pkcs7-certificates", "spd": "application/x-font-speedo", "spec": "text/x-rpm-spec", "spl": "application/x-shockwave-flash", "spx": "audio/x-speex", "sql": "text/x-sql", "sr2": "image/x-sony-sr2", "src": "application/x-wais-source", "srf": "image/x-sony-srf", "srt": "application/x-subrip", "ssa": "text/x-ssa", "stc": "application/vndsunxmlcalctemplate", "std": "application/vndsunxmldrawtemplate", "sti": "application/vndsunxmlimpresstemplate", "stm": "audio/x-stm", "stw": "application/vndsunxmlwritertemplate", "sty": "text/x-tex", "sub": "text/x-subviewer", "sun": "image/x-sun-raster", "sv4cpio": "application/x-sv4cpio", "sv4crc": "application/x-sv4crc", "svg": "image/svg+xml", "svgz": "image/svg+xml-compressed", "swf": "application/x-shockwave-flash", "sxc": "application/vndsunxmlcalc", "sxd": "application/vndsunxmldraw", "sxg": "application/vndsunxmlwriterglobal", "sxi": "application/vndsunxmlimpress", "sxm": "application/vndsunxmlmath", "sxw": "application/vndsunxmlwriter", "sylk": "text/spreadsheet", "t": "text/troff", "t2t": "text/x-txt2tags", "tar": "application/x-tar", "tarbz": "application/x-bzip-compressed-tar", "tarbz2": "application/x-bzip-compressed-tar", "targz": "application/x-compressed-tar", "tarlzma": "application/x-lzma-compressed-tar", "tarlzo": "application/x-tzo", "tarxz": "application/x-xz-compressed-tar", "tarz": "application/x-tarz", "tbz": "application/x-bzip-compressed-tar", "tbz2": "application/x-bzip-compressed-tar", "tcl": "text/x-tcl", "tex": "text/x-tex", "texi": "text/x-texinfo", "texinfo": "text/x-texinfo", "tga": "image/x-tga", "tgz": "application/x-compressed-tar", "theme": "application/x-theme", "themepack": "application/x-windows-themepack", "tif": "image/tiff", "tiff": "image/tiff", "tk": "text/x-tcl", "tlz": "application/x-lzma-compressed-tar", "tnef": "application/vndms-tnef", "tnf": "application/vndms-tnef", "toc": "application/x-cdrdao-toc", "torrent": "application/x-bittorrent", "tpic": "image/x-tga", "tr": "text/troff", "ts": "application/x-linguist", "tsv": "text/tab-separated-values", "tta": "audio/x-tta", "ttc": "application/x-font-ttf", "ttf": "application/x-font-ttf", "ttx": "application/x-font-ttx", "txt": "text/plain", "txz": "application/x-xz-compressed-tar", "tzo": "application/x-tzo", "ufraw": "application/x-ufraw", "ui": "application/x-designer", "uil": "text/x-uil", "ult": "audio/x-mod", "uni": "audio/x-mod", "uri": "text/x-uri", "url": "text/x-uri", "ustar": "application/x-ustar", "vala": "text/x-vala", "vapi": "text/x-vala", "vcf": "text/directory", "vcs": "text/calendar", "vct": "text/directory", "vda": "image/x-tga", "vhd": "text/x-vhdl", "vhdl": "text/x-vhdl", "viv": "video/vivo", "vivo": "video/vivo", "vlc": "audio/x-mpegurl", "vob": "video/mpeg", "voc": "audio/x-voc", "vor": "application/vndstardivisionwriter", "vst": "image/x-tga", "wav": "audio/x-wav", "wax": "audio/x-ms-asx", "wb1": "application/x-quattropro", "wb2": "application/x-quattropro", "wb3": "application/x-quattropro", "wbmp": "image/vndwapwbmp", "wcm": "application/vndms-works", "wdb": "application/vndms-works", "webm": "video/webm", "wk1": "application/vndlotus-1-2-3", "wk3": "application/vndlotus-1-2-3", "wk4": "application/vndlotus-1-2-3", "wks": "application/vndms-works", "wma": "audio/x-ms-wma", "wmf": "image/x-wmf", "wml": "text/vndwapwml", "wmls": "text/vndwapwmlscript", "wmv": "video/x-ms-wmv", "wmx": "audio/x-ms-asx", "wp": "application/vndwordperfect", "wp4": "application/vndwordperfect", "wp5": "application/vndwordperfect", "wp6": "application/vndwordperfect", "wpd": "application/vndwordperfect", "wpg": "application/x-wpg", "wpl": "application/vndms-wpl", "wpp": "application/vndwordperfect", "wps": "application/vndms-works", "wri": "application/x-mswrite", "wrl": "model/vrml", "wv": "audio/x-wavpack", "wvc": "audio/x-wavpack-correction", "wvp": "audio/x-wavpack", "wvx": "audio/x-ms-asx", "x3f": "image/x-sigma-x3f", "xac": "application/x-gnucash", "xbel": "application/x-xbel", "xbl": "application/xml", "xbm": "image/x-xbitmap", "xcf": "image/x-xcf", "xcfbz2": "image/x-compressed-xcf", "xcfgz": "image/x-compressed-xcf", "xhtml": "application/xhtml+xml", "xi": "audio/x-xi", "xla": "application/vndms-excel", "xlc": "application/vndms-excel", "xld": "application/vndms-excel", "xlf": "application/x-xliff", "xliff": "application/x-xliff", "xll": "application/vndms-excel", "xlm": "application/vndms-excel", "xls": "application/vndms-excel", "xlsm": "application/vndopenxmlformats-officedocumentspreadsheetmlsheet", "xlsx": "application/vndopenxmlformats-officedocumentspreadsheetmlsheet", "xlt": "application/vndms-excel", "xlw": "application/vndms-excel", "xm": "audio/x-xm", "xmf": "audio/x-xmf", "xmi": "text/x-xmi", "xml": "application/xml", "xpm": "image/x-xpixmap", "xps": "application/vndms-xpsdocument", "xsl": "application/xml", "xslfo": "text/x-xslfo", "xslt": "application/xml", "xspf": "application/xspf+xml", "xul": "application/vndmozillaxul+xml", "xwd": "image/x-xwindowdump", "xyz": "chemical/x-pdb", "xz": "application/x-xz", "w2p": "application/w2p", "z": "application/x-compress", "zabw": "application/x-abiword", "zip": "application/zip" }; /***/ }), /***/ 14160: /*!**************************************!*\ !*** ./src/utils/env.ts + 1 modules ***! \**************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; // EXPORTS __webpack_require__.d(__webpack_exports__, { Z: function() { return /* binding */ env; } }); // UNUSED EXPORTS: GlobalConfig ;// CONCATENATED MODULE: ./src/utils/env/dev.ts var DEV = { // PROXY_SERVER: 'https://test-data.educoder.net', PROXY_SERVER: 'http://47.111.130.18:56789', // PROXY_SERVER: 'http://192.168.1.22/', // PROXY_SERVER: 'http://172.16.100.220/', // PROXY_SERVER: 'http://172.16.100.135/', API_SERVER: 'http://47.111.130.18:56789', REPORT_SERVER: 'http://192.168.1.57:3001', IMG_SERVER: 'http://47.111.130.18:56789', FORGE: 'https://code.educoder.net/', SSH_SERVER: 'wss://webssh.educoder.net', SSH_Slice: 'https://testfu.educoder.net', OFFICE_SERVER: 'https://testoffice.educoder.net', ONLYOFFICE: "https://testoffice.educoder.net", OFFICE_IP: 'http://113.246.243.98:9569', TERMINAL_URL: 'testsvc1.vnc.educoder.net', QQLoginCB: encodeURIComponent('https://test-newweb.educoder.net') }; /* harmony default export */ var dev = ((/* unused pure expression or super */ null && (DEV))); ;// CONCATENATED MODULE: ./src/utils/env.ts /* * @Author: your name * @Date: 2020-11-09 17:48:52 * @LastEditTime: 2020-11-13 16:31:48 * @LastEditors: Please set LastEditors * @Description: In User Settings Edit * @FilePath: /ppte5yg23/src/utils/env.ts */ var GlobalConfig = { local: { API_SERVER: 'http://localhost:3000', IMG_SERVER: 'https://testali-cdn.educoder.net/', REPORT_SERVER: "http://192.168.1.57:3001", FORGE: "https://test-oldweb.educoder.net/", SSH_SERVER: "wss://pre-webssh.educoder.net", SSH_Slice: 'https://testfu.educoder.net', OFFICE_SERVER: "https://testoffice.educoder.net", ONLYOFFICE: "https://testoffice.educoder.net", OFFICE_IP: 'http://113.246.243.98:9569', QQLoginCB: encodeURIComponent("https://test-newweb.educoder.net") }, dev: DEV, newReactTest: { // API_SERVER: 'https://test-data.educoder.net', API_SERVER: function () { var api = 'https://test-data.educoder.net'; var host = location.host; if (host === "test2.educoder.net") { api = 'https://test2-data.educoder.net'; } if (host === "test3.educoder.net") { api = 'https://test3-data.educoder.net'; } return api; }(), SSH_SERVER: "wss://pre-webssh.educoder.net", SSH_Slice: 'https://testfu.educoder.net', IMG_SERVER: function () { var imgServer = 'https://new-testali-cdn.educoder.net'; var host = location.host; if (host === "test3.educoder.net") { imgServer = 'https://test3-data.educoder.net'; } return imgServer; }(), OFFICE_SERVER: "https://testoffice.educoder.net", ONLYOFFICE: "https://testoffice.educoder.net", OFFICE_IP: 'http://113.246.243.98:9569', REPORT_SERVER: "http://192.168.1.57:3001", FORGE: "https://test-oldweb.educoder.net/", QQLoginCB: encodeURIComponent("https://test-data.educoder.net"), TERMINAL_URL: 'testsvc1.vnc.educoder.net' }, preNewBuild: { API_SERVER: 'https://pre-data.educoder.net', // API_SERVER: ((() => { // let api = 'https://pre-data.educoder.net' // const domain = document.domain // let str = document.domain.split(".") // str[0] = str[0] + "-data"; // if (domain !== 'pre.educoder.net') { // api = api.replace("pre-data.educoder.net", str.join(".")) // } // return api // })()), IMG_SERVER: 'https://preali-cdn.educoder.net', SSH_SERVER: "wss://pre-webssh.educoder.net", SSH_Slice: 'https://testfu.educoder.net', REPORT_SERVER: "http://192.168.1.57:3001", OFFICE_SERVER: "https://testoffice.educoder.net", ONLYOFFICE: "https://testoffice.educoder.net", OFFICE_IP: 'http://113.246.243.98:9569', FORGE: "https://forge.educoder.net/", QQLoginCB: encodeURIComponent("https://pre.educoder.net") }, newBuild: { // API_SERVER: 'https://data.educoder.net', API_SERVER: function () { var api = 'https://data.educoder.net'; var domain = document.domain; // let str = document.domain.split(".") // str[0] = str[0] + "-data"; if (domain === 'kepukehuan.educoder.net') { api = 'https://kepukehuan-data.educoder.net'; } else if (document.domain === "www.tokcoder.com" || document.domain === "tokcoder.com") { api = "https://data.tokcoder.com"; } return api; }(), SSH_SERVER: "wss://webssh.educoder.net", REPORT_SERVER: "http://192.168.1.57:3001", SSH_Slice: 'https://fu.educoder.net', IMG_SERVER: 'https://ali-cdn.educoder.net', OFFICE_SERVER: "https://officeserver.educoder.net", ONLYOFFICE: "https://office.educoder.net", OFFICE_IP: 'https://officedata.educoder.net', FORGE: "https://code.educoder.net/", QQLoginCB: encodeURIComponent("https://www.educoder.net"), TERMINAL_URL: '.jupyter.educoder.net' }, // test newTest: { API_SERVER: 'https://test-data.educoder.net', IMG_SERVER: 'https://test-data.educoder.net', REPORT_SERVER: "http://192.168.1.57:3001", SSH_SERVER: "wss://pre-webssh.educoder.net", SSH_Slice: 'https://testfu.educoder.net', OFFICE_SERVER: "https://testoffice.educoder.net", ONLYOFFICE: "https://testoffice.educoder.net", OFFICE_IP: 'http://113.246.243.98:9569', FORGE: "http://test-oldweb.educoder.net/", QQLoginCB: encodeURIComponent("https://test-data.educoder.net") }, test: { API_SERVER: '', IMG_SERVER: '', REPORT_SERVER: "http://192.168.1.57:3001", FORGE: "http://test-oldweb.educoder.net/", SSH_Slice: 'https://testfu.educoder.net', OFFICE_SERVER: "https://testoffice.educoder.net", ONLYOFFICE: "https://testoffice.educoder.net", OFFICE_IP: 'http://113.246.243.98:9569', SSH_SERVER: "wss://pre-webssh.educoder.net", QQLoginCB: encodeURIComponent("https://test-newweb.educoder.net") }, preBuild: { API_SERVER: '', IMG_SERVER: 'https://preali-cdn.educoder.net', REPORT_SERVER: "http://192.168.1.57:3001", FORGE: "https://forge.educoder.net/", SSH_Slice: 'https://testfu.educoder.net', OFFICE_SERVER: "https://testoffice.educoder.net", ONLYOFFICE: "https://testoffice.educoder.net", OFFICE_IP: 'http://113.246.243.98:9569', SSH_SERVER: "wss://pre-webssh.educoder.net", QQLoginCB: encodeURIComponent("https://test-newweb.educoder.net") }, newWeb: { API_SERVER: 'https://test-newweb.educoder.net', IMG_SERVER: 'https://test-newweb.educoder.net/', REPORT_SERVER: "http://192.168.1.57:3001", FORGE: "http://test-oldweb.educoder.net/", SSH_Slice: 'https://testfu.educoder.net', OFFICE_SERVER: "https://testoffice.educoder.net", ONLYOFFICE: "https://testoffice.educoder.net", OFFICE_IP: 'http://113.246.243.98:9569', SSH_SERVER: "wss://pre-webssh.educoder.net", QQLoginCB: encodeURIComponent("https://test-newweb.educoder.net") }, build: { API_SERVER: '', IMG_SERVER: '', REPORT_SERVER: "http://192.168.1.57:3001", FORGE: "https://forge.educoder.net/", SSH_SERVER: "wss://webssh.educoder.net", SSH_Slice: 'https://fu.educoder.net', OFFICE_SERVER: "https://officeserver.educoder.net", ONLYOFFICE: "", OFFICE_IP: 'https://officedata.educoder.net', QQLoginCB: encodeURIComponent("https://www.educoder.net"), TERMINAL_URL: '.jupyter.educoder.net' } }; /* harmony default export */ var env = (GlobalConfig[window.ENV || "dev"]); /***/ }), /***/ 55794: /*!****************************!*\ !*** ./src/utils/fetch.ts ***! \****************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ IV: function() { return /* binding */ del; }, /* harmony export */ U2: function() { return /* binding */ get; }, /* harmony export */ ZP: function() { return /* binding */ request; }, /* harmony export */ d4: function() { return /* binding */ getqq; }, /* harmony export */ gz: function() { return /* binding */ put; }, /* harmony export */ rz: function() { return /* binding */ parseParams; }, /* harmony export */ v_: function() { return /* binding */ post; } /* harmony export */ }); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/objectSpread2.js */ 82242); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0__); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_typeof_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/typeof.js */ 31468); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_typeof_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_typeof_js__WEBPACK_IMPORTED_MODULE_1__); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/regeneratorRuntime.js */ 7557); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_2__); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/asyncToGenerator.js */ 41498); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_3__); /* harmony import */ var _env__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./env */ 14160); /* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! antd */ 28909); /* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! antd */ 43418); /* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! antd */ 8591); /* harmony import */ var hash_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! hash.js */ 85582); /* harmony import */ var hash_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(hash_js__WEBPACK_IMPORTED_MODULE_5__); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! react */ 59301); /* harmony import */ var umi__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! umi */ 25789); /* harmony import */ var _utils_util__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/utils/util */ 20681); /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! lodash */ 78267); /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_9__); // import { fetch } from 'dva'; var modalConfirm; var codeMessage = { 200: '服务器成功返回请求的数据。', 201: '新建或修改数据成功。', 202: '一个请求已经进入后台排队(异步任务)。', 204: '删除数据成功。', 400: '发出的请求有错误,服务器没有进行新建或修改数据的操作。', 401: '用户没有权限(令牌、用户名、密码错误)。', 403: '用户得到授权,但是访问是被禁止的。', 404: '发出的请求针对的是不存在的记录,服务器没有进行操作。', 406: '请求的格式不可得。', 410: '请求的资源被永久删除,且不会再得到的。', 422: '当创建一个对象时,发生一个验证错误。', 500: '服务器发生错误,请检查服务器。', 502: '网关错误。', 503: '服务不可用,服务器暂时过载或维护。', 504: '网关超时。' }; var checkStatus = /*#__PURE__*/function () { var _ref = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_3___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_2___default()().mark(function _callee(response, responseData) { var errortext, text, resJson, error; return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_2___default()().wrap(function _callee$(_context) { while (1) switch (_context.prev = _context.next) { case 0: if (!(response.status >= 200 && response.status < 300)) { _context.next = 2; break; } return _context.abrupt("return", response); case 2: errortext = codeMessage[response.status] || response.statusText; resJson = response.json(); _context.next = 6; return resJson.then(function (resolve, reject) { setTimeout(function () { var app = (0,umi__WEBPACK_IMPORTED_MODULE_7__.getDvaApp)(); // reportData(ENV.REPORT_SERVER + "/report/error", { // code: resolve.code, // status: response.status, // message: resolve.message, // requestData: { ...responseData, cookie: document.cookie }, // responseData: { ...response, ...resolve }, // user: app._store.getState().user.userInfo // }) }, 400); text = resolve.message; antd__WEBPACK_IMPORTED_MODULE_10__/* ["default"] */ .Z.error({ style: { wordBreak: 'break-all' }, // duration: null, message: resolve.message || "\u8BF7\u6C42\u9519\u8BEF ".concat(response.status, ": ").concat(response.message), description: resolve.message ? '' : errortext }); }); case 6: error = new Error(errortext); error.name = response.status; error.response = response; throw { data: response, code: response.status, message: text || errortext }; case 10: case "end": return _context.stop(); } }, _callee); })); return function checkStatus(_x, _x2) { return _ref.apply(this, arguments); }; }(); var cachedSave = function cachedSave(response, hashcode) { var contentType = response.headers.get('Content-Type'); if (contentType && contentType.match(/application\/json/i)) { response.clone().text().then(function () { // sessionStorage.setItem(hashcode, content) // sessionStorage.setItem(`${hashcode}:timestamp`, Date.now()) }); } return response; }; function isEncoded(str) { try { decodeURIComponent(str); return decodeURIComponent(encodeURIComponent(str)) === str; } catch (error) { return false; } } var parseParams = function parseParams(param) { param = param || {}; // param.domain = window.location.host var paramStr = ''; var _loop = function _loop(_key) { if (_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_typeof_js__WEBPACK_IMPORTED_MODULE_1___default()(param[_key]) === 'object') { if (Array.isArray(param[_key])) { param[_key].forEach(function (element, k) { paramStr += '&' + _key + "[]=" + element; }); } } else { // if ((param[key]) || param[key] === 0) if (param[_key] !== undefined) paramStr += '&' + _key + '=' + (isEncoded(param[_key]) ? param[_key] : encodeURIComponent(param[_key])); } }; for (var _key in param) { _loop(_key); } return paramStr.substr(1); }; function request(url, option, flag, ismin) { !option.method ? option.method = 'get' : ''; option.method = option.method.toUpperCase(); option.mode = 'cors'; var options = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, option); var _getDvaApp$_store$get = (0,umi__WEBPACK_IMPORTED_MODULE_7__.getDvaApp)()._store.getState(), user = _getDvaApp$_store$get.user; var userInfo = user.userInfo; // options.domain = window.location.host var fingerprint = url + (options.body ? JSON.stringify(options.body) : ''); var hashcode = hash_js__WEBPACK_IMPORTED_MODULE_5___default().sha256().update(fingerprint).digest('hex'); var defaultOptions = { credentials: 'include', withCredentials: true }; var userParam = {}; if (userInfo !== null && userInfo !== void 0 && userInfo.login) { userParam.zzud = userInfo === null || userInfo === void 0 ? void 0 : userInfo.login; if (userInfo !== null && userInfo !== void 0 && userInfo.school_id) userParam.zzsud = userInfo === null || userInfo === void 0 ? void 0 : userInfo.school_id; options.params = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, options.params || {}), userParam); } var newOptions = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, defaultOptions), (0,lodash__WEBPACK_IMPORTED_MODULE_9__.cloneDeep)(options)); if (newOptions.method === 'POST' || newOptions.method === 'PUT' || newOptions.method === 'PATCH' || newOptions.method === 'DELETE') { if (!flag) { newOptions.headers = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({ Accept: 'application/json', 'Content-Type': 'application/json; charset=utf-8' }, newOptions.headers); newOptions.body = JSON.stringify(options.body); } else { newOptions.headers = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, newOptions.headers); newOptions.body = options.body; } } if (newOptions.method == 'GET') { newOptions.headers = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({ Accept: 'application/json', 'Content-Type': 'application/json; charset=utf-8' }, newOptions.headers); if (options.params && parseParams(options.params)) url += '?' + parseParams(options.params); } else if (userParam.zzud) { url += '?' + parseParams(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, userParam)); } // newOptions.headers.Authorization = // 'Bearer 09cb06de7874a0cfae0608ba5126b3b30dcb5d2a' // if (localStorage.getItem('xhr-user-info')) { // const token = JSON.parse(localStorage.getItem('xhr-user-info')).apiToken // newOptions.headers.Authorization = 'Bearer ' + token // } var expirys = options.expirys && 60; /** * @description: 枚举出请求数据格式类型 * @param {type} 枚举类型 * @return: */ var ContentType = /*#__PURE__*/function (ContentType) { ContentType["json"] = "application/json;charset=UTF-8"; ContentType["form"] = "application/x-www-form-urlencoded; charset=UTF-8"; return ContentType; }({}); /** * @description: 枚举request请求的method方法 * @param {type} 枚举类型 * @return: */ var HttpMethod = /*#__PURE__*/function (HttpMethod) { HttpMethod["get"] = "GET"; HttpMethod["post"] = "POST"; return HttpMethod; }({}); /** * @description: 声明请求头header的类型 * @param {type} * @return: */ /** * @description: 声明fetch请求参数配置 * @param {type} * @return: */ // if (options.expirys !== false) { // const cached = sessionStorage.getItem(hashcode) // const whenCached = sessionStorage.getItem(`${hashcode}:timestamp`) // if (cached !== null && whenCached !== null) { // const age = (Date.now() - whenCached) / 1000 // if (age < expirys) { // const response = new Response(new Blob([cached])) // return response.json() // } // sessionStorage.removeItem(hashcode) // sessionStorage.removeItem(`${hashcode}:timestamp`) // } // } var downloadFile = /*#__PURE__*/function () { var _ref2 = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_3___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_2___default()().mark(function _callee2(response) { var d, fileName, blob, a, url, filename; return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_2___default()().wrap(function _callee2$(_context2) { while (1) switch (_context2.prev = _context2.next) { case 0: _context2.next = 2; return response.arrayBuffer(); case 2: d = _context2.sent; blob = new Blob([d]); try { fileName = response.headers.get('Content-Disposition').split(';')[1].replace('filename=', '').replace(/[\s+,\',\",\‘,\’,\“,\”,\<,\>,\《,\》]/g, ""); } catch (e) { fileName = 'userfiles.zip'; } a = document.createElement('a'); url = window.URL.createObjectURL(blob); filename = fileName; a.href = url; a.download = filename; a.click(); window.URL.revokeObjectURL(url); return _context2.abrupt("return", d); case 13: case "end": return _context2.stop(); } }, _callee2); })); return function downloadFile(_x3) { return _ref2.apply(this, arguments); }; }(); var prefixUrl = _env__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z.API_SERVER; if (window.ENV === 'dev' || url.startsWith("http")) prefixUrl = ''; if (newOptions.method == 'GET') { if (newOptions.params) { Object.keys(newOptions.params).map(function (key) { if (newOptions.params[key]) { if (Array.isArray(newOptions.params[key])) {} else { try { newOptions.params[key] = encodeURIComponent(decodeURIComponent(newOptions.params[key])); } catch (error) { newOptions.params[key] = encodeURIComponent(newOptions.params[key]); } } } }); } } (0,_utils_util__WEBPACK_IMPORTED_MODULE_8__/* .setHeader */ .Ec)(newOptions, url); if (ismin) prefixUrl = ''; return fetch(prefixUrl + url, newOptions).then(function (response) { return checkStatus(response, _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({ url: _env__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z.API_SERVER + url }, newOptions)); }).then(function (response) { return cachedSave(response, hashcode); }).then( /*#__PURE__*/function () { var _ref3 = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_3___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_2___default()().mark(function _callee3(response) { var _options$body, _options$params; var d, _newOptions$params, _newOptions$body; return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_2___default()().wrap(function _callee3$(_context3) { while (1) switch (_context3.prev = _context3.next) { case 0: if (!(response.status === 204)) { _context3.next = 2; break; } return _context3.abrupt("return", response.text()); case 2: if (!(response.headers.get('content-type').indexOf('application/json') > -1)) { _context3.next = 8; break; } _context3.next = 5; return response.json(); case 5: d = _context3.sent; _context3.next = 23; break; case 8: if (!(newOptions.headers["Content-Type"] === 'application/xml')) { _context3.next = 14; break; } _context3.next = 11; return response.text(); case 11: d = _context3.sent; _context3.next = 23; break; case 14: if (!((_options$body = options.body) !== null && _options$body !== void 0 && _options$body.autoDownload || (_options$params = options.params) !== null && _options$params !== void 0 && _options$params.autoDownload)) { _context3.next = 20; break; } _context3.next = 17; return downloadFile(response); case 17: d = _context3.sent; _context3.next = 23; break; case 20: _context3.next = 22; return response.arrayBuffer(); case 22: d = _context3.sent; case 23: try { if (d.status === 401 && (!((_newOptions$params = newOptions.params) !== null && _newOptions$params !== void 0 && _newOptions$params.hidePopLogin) || !((_newOptions$body = newOptions.body) !== null && _newOptions$body !== void 0 && _newOptions$body.hidePopLogin))) { (0,umi__WEBPACK_IMPORTED_MODULE_7__.getDvaApp)()._store.dispatch({ type: 'user/showPopLogin', payload: { showPopLogin: true, showClosable: true } }); } if (d.status === 402) { if (localStorage.getItem('addinfo') === '2') { //弹窗 填充信息 (0,umi__WEBPACK_IMPORTED_MODULE_7__.getDvaApp)()._store.dispatch({ type: 'shixunHomeworks/setActionTabs', payload: { key: '填充信息弹窗' } }); } else { modalConfirm = modalConfirm || antd__WEBPACK_IMPORTED_MODULE_11__/* ["default"] */ .Z.confirm({ visible: false, okText: '确定', cancelText: '取消' }); modalConfirm.update({ centered: true, visible: true, title: '提示', content: '您需要去完善您的个人资料,才能使用此功能', okText: '立即完善', cancelText: '稍后完善', onOk: function onOk() { umi__WEBPACK_IMPORTED_MODULE_7__.history.push('/account/profile/edit'); } }); } } } catch (e) { console.log('fetcherr', e); } handleHttpStatus(d, url); return _context3.abrupt("return", d); case 26: case "end": return _context3.stop(); } }, _callee3); })); return function (_x4) { return _ref3.apply(this, arguments); }; }())["catch"](function (e, a, b) { try { var status = e.code; if (status) { if (status === 401) { (0,umi__WEBPACK_IMPORTED_MODULE_7__.getDvaApp)()._store.dispatch({ type: 'user/showPopLogin', payload: { showPopLogin: true, showClosable: true } }); return; } handleHttpStatus(e, url); } else { if (url.includes('/file/filePatchMerge')) { (0,umi__WEBPACK_IMPORTED_MODULE_7__.getDvaApp)()._store.dispatch({ type: 'shixunHomeworks/setActionTabs', payload: { key: '分片专用504', params: newOptions.body } }); } else { antd__WEBPACK_IMPORTED_MODULE_10__/* ["default"] */ .Z.warning({ style: { wordBreak: 'break-all' }, message: "\u60A8\u7684\u7F51\u7EDC\u53EF\u80FD\u51FA\u73B0\u4E86\u95EE\u9898\uFF0C\u8BF7\u7A0D\u540E\u518D\u8BD5", duration: 5 // description: url, }); } } return e; } catch (e) {} }); } var historyFlag = false; var errorFlag = false; var handleHttpStatus = function handleHttpStatus(e, url) { if (e.status == -6 && !errorFlag) { errorFlag = true; setTimeout(function () { return errorFlag = false; }, 500); antd__WEBPACK_IMPORTED_MODULE_11__/* ["default"] */ .Z.info({ title: "系统通知", content: e.message, okText: "知道了", maskStyle: { background: "#000" }, onOk: function onOk() { window.location.reload(); } }); return; } if (e.status == -7) { var _e$data; errorFlag = true; setTimeout(function () { return errorFlag = false; }, 500); var html = ''; if (e !== null && e !== void 0 && (_e$data = e.data) !== null && _e$data !== void 0 && _e$data.exercise_list) { var _e$data2; e === null || e === void 0 || (_e$data2 = e.data) === null || _e$data2 === void 0 || (_e$data2 = _e$data2.exercise_list) === null || _e$data2 === void 0 || _e$data2.map(function (item) { html += "\u300A").concat(item.exercise_name, "\u300B"); }); } antd__WEBPACK_IMPORTED_MODULE_11__/* ["default"] */ .Z.info({ title: "提示", content: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6__.createElement("div", { id: "fetchStatus7", className: "fetchStatus7" }, ""), maskClosable: false, closeIcon: false, width: 550, maskStyle: { background: "#000" }, okText: "返回首页", onOk: function onOk() { window.location.href = "/"; } }); setTimeout(function () { document.getElementById("fetchStatus7").innerHTML = "
\u60A8\u5F53\u524D\u6709\u6B63\u5728\u8FDB\u884C\u7684\u8003\u8BD5 ".concat(html, " \uFF0C\u8BF7\u5728\u8003\u8BD5\u7ED3\u675F\u540E\u8BBF\u95EE\u8BE5\u9875\u9762
"); }, 500); return; } if ((e.status == -1 || e.status == -2 || e.status == -102 || e.status > 400) && e.status != 403 && !errorFlag) { errorFlag = true; setTimeout(function () { return errorFlag = false; }, 500); antd__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .ZP.warning({ content: e.message, key: 'message-key' }); return; } var mapping = { 403: '/403', 404: '/404', 500: '/500' }; if (mapping[e.status] && !historyFlag) { var _getDvaApp$_store$get2 = (0,umi__WEBPACK_IMPORTED_MODULE_7__.getDvaApp)()._store.getState(), user = _getDvaApp$_store$get2.user; var userInfo = user.userInfo; if (window.location.pathname.indexOf('/users') > -1 && document.domain === 'kepukehuan.educoder.net') historyFlag = true; setTimeout(function () { return historyFlag = false; }, 500); if (e.status === 403) { umi__WEBPACK_IMPORTED_MODULE_7__.history.replace(mapping[e.status]); } else { umi__WEBPACK_IMPORTED_MODULE_7__.history.replace(mapping[e.status]); } sessionStorage.setItem('errorStatus', JSON.stringify(e)); return; } }; function get(url, params) { return request("/api/".concat(url), { method: 'Get', params: params || {} }); } function getqq(url, params) { return request("/".concat(url), { method: 'Get', params: params }); } function post(url, params) { return request("/api/".concat(url), { method: 'Post', body: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params) }); } function put(url, params) { return request("/api/".concat(url), { method: 'Put', body: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params) }); } function del(url, params) { return request("/api/".concat(url), { method: 'delete', body: _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params || {}) }); } /***/ }), /***/ 20681: /*!****************************!*\ !*** ./src/utils/util.tsx ***! \****************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ $t: function() { return /* binding */ isCurrentUser; }, /* harmony export */ AS: function() { return /* binding */ vtrsKey; }, /* harmony export */ Br: function() { return /* binding */ getBlob; }, /* harmony export */ DH: function() { return /* binding */ timego; }, /* harmony export */ Dk: function() { return /* binding */ setDocumentTitle; }, /* harmony export */ Ds: function() { return /* binding */ debounce; }, /* harmony export */ Dw: function() { return /* binding */ onPreviewImage; }, /* harmony export */ EM: function() { return /* binding */ toChineseNumber; }, /* harmony export */ Ec: function() { return /* binding */ setHeader; }, /* harmony export */ FH: function() { return /* binding */ downLoadFile; }, /* harmony export */ G7: function() { return /* binding */ handleValidatorNickName; }, /* harmony export */ HJ: function() { return /* binding */ handleValidatorName; }, /* harmony export */ I9: function() { return /* binding */ RomanNumber; }, /* harmony export */ JB: function() { return /* binding */ fontSize; }, /* harmony export */ JL: function() { return /* binding */ formatHomeWorkStatusToName; }, /* harmony export */ L4: function() { return /* binding */ PollsStatus; }, /* harmony export */ L9: function() { return /* binding */ trackEvent; }, /* harmony export */ LR: function() { return /* binding */ download; }, /* harmony export */ Ll: function() { return /* binding */ checkIsClientExam; }, /* harmony export */ M: function() { return /* binding */ setmiyah; }, /* harmony export */ M2: function() { return /* binding */ randomArray; }, /* harmony export */ NY: function() { return /* binding */ setUrlQuery; }, /* harmony export */ Nd: function() { return /* binding */ downLoadLink; }, /* harmony export */ OU: function() { return /* binding */ toChinesNum; }, /* harmony export */ Oo: function() { return /* binding */ getCategoryName; }, /* harmony export */ PF: function() { return /* binding */ formatRandomPaperDatas; }, /* harmony export */ Pq: function() { return /* binding */ cutName; }, /* harmony export */ QB: function() { return /* binding */ timeContrast; }, /* harmony export */ QH: function() { return /* binding */ downLoadFileIframe; }, /* harmony export */ Qq: function() { return /* binding */ JudgeSort; }, /* harmony export */ RD: function() { return /* binding */ bytesToSize; }, /* harmony export */ RG: function() { return /* binding */ copyTextFuc; }, /* harmony export */ Sp: function() { return /* binding */ rangeNumber; }, /* harmony export */ Sv: function() { return /* binding */ downloadFile; }, /* harmony export */ Tv: function() { return /* binding */ ImgSrcConvert; }, /* harmony export */ U6: function() { return /* binding */ HalfPastOne; }, /* harmony export */ UQ: function() { return /* binding */ HomeWorkDetailStatus; }, /* harmony export */ Uw: function() { return /* binding */ CommonWorkStatus; }, /* harmony export */ VV: function() { return /* binding */ StatusClassroomsTags; }, /* harmony export */ W: function() { return /* binding */ isUnOrNull; }, /* harmony export */ WX: function() { return /* binding */ isLocalApp; }, /* harmony export */ Y: function() { return /* binding */ HomeWorkCommonDetailStatus; }, /* harmony export */ YA: function() { return /* binding */ getHiddenName; }, /* harmony export */ ZJ: function() { return /* binding */ toDataUrl; }, /* harmony export */ _g: function() { return /* binding */ getMessagesUrl; }, /* harmony export */ _m: function() { return /* binding */ isKepuKehuan; }, /* harmony export */ ad: function() { return /* binding */ formatRandomPaperData; }, /* harmony export */ b9: function() { return /* binding */ isPc; }, /* harmony export */ cX: function() { return /* binding */ localSort; }, /* harmony export */ d8: function() { return /* binding */ setCookie; }, /* harmony export */ db: function() { return /* binding */ getFileContentAndUrl; }, /* harmony export */ eF: function() { return /* binding */ bindPhone; }, /* harmony export */ eR: function() { return /* binding */ validateLength; }, /* harmony export */ ej: function() { return /* binding */ getCookie; }, /* harmony export */ en: function() { return /* binding */ parseUrl; }, /* harmony export */ i7: function() { return /* binding */ isChrome; }, /* harmony export */ j1: function() { return /* binding */ StatusGraduationProjectTags; }, /* harmony export */ jh: function() { return /* binding */ educationList; }, /* harmony export */ jt: function() { return /* binding */ showInstallWebRtcDoc; }, /* harmony export */ ju: function() { return /* binding */ ExerciseStatus; }, /* harmony export */ jz: function() { return /* binding */ replaceParamVal; }, /* harmony export */ k3: function() { return /* binding */ scrollToTop; }, /* harmony export */ kk: function() { return /* binding */ pointerEvents; }, /* harmony export */ lC: function() { return /* binding */ HomeWorkListStatus; }, /* harmony export */ lF: function() { return /* binding */ toWNumber; }, /* harmony export */ li: function() { return /* binding */ toTimeFormat; }, /* harmony export */ m5: function() { return /* binding */ clearAllCookies; }, /* harmony export */ nr: function() { return /* binding */ startExercise; }, /* harmony export */ oP: function() { return /* binding */ getJsonFromUrl; }, /* harmony export */ oV: function() { return /* binding */ ZimuSort; }, /* harmony export */ og: function() { return /* binding */ formatRate; }, /* harmony export */ oi: function() { return /* binding */ checkLocalOrPublicIp; }, /* harmony export */ pp: function() { return /* binding */ findEndWhitespace; }, /* harmony export */ qZ: function() { return /* binding */ arrTrans; }, /* harmony export */ qd: function() { return /* binding */ DayHalfPastOne; }, /* harmony export */ rK: function() { return /* binding */ HomeWorkShixunListStatus; }, /* harmony export */ rU: function() { return /* binding */ showTotal; }, /* harmony export */ rz: function() { return /* binding */ moveArray; }, /* harmony export */ tP: function() { return /* binding */ cutFileName; }, /* harmony export */ tw: function() { return /* binding */ getTwoDecimalPlaces; }, /* harmony export */ uD: function() { return /* binding */ dealUploadChange; }, /* harmony export */ vA: function() { return /* binding */ HomeWorkShixunDetailStatus; }, /* harmony export */ vB: function() { return /* binding */ exerciseTips; }, /* harmony export */ xg: function() { return /* binding */ openNewWindow; }, /* harmony export */ y3: function() { return /* binding */ getBase64; }, /* harmony export */ yC: function() { return /* binding */ compareVersion; } /* harmony export */ }); /* unused harmony exports parseParams, StatusTags, WorkStatus, timeformat, delCookie, saveAs, isFirefox, isChromeOrFirefox, formatMoney, openNewWindows, formatTextMiddleIntercept, isEmpty, middleEllipsis, getUrlToken, checkDisabledExam, messageInfo, base64ToBlob, trackEventCustom */ /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/toConsumableArray.js */ 37205); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_0__); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/regeneratorRuntime.js */ 7557); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1__); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/asyncToGenerator.js */ 41498); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2__); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/objectSpread2.js */ 82242); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/defineProperty.js */ 85573); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_4__); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_typeof_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/typeof.js */ 31468); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_typeof_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_typeof_js__WEBPACK_IMPORTED_MODULE_5__); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! react */ 59301); /* harmony import */ var _utils_authority__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/utils/authority */ 85186); /* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! antd */ 8591); /* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! antd */ 43418); /* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! antd */ 95237); /* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! antd */ 43604); /* harmony import */ var _components_Exercise_ip__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/components/Exercise/ip */ 86282); /* harmony import */ var _service_exercise__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/service/exercise */ 45185); /* harmony import */ var _contentType__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./contentType */ 72823); /* harmony import */ var umi__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! umi */ 25789); /* harmony import */ var md5__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! md5 */ 93735); /* harmony import */ var md5__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(md5__WEBPACK_IMPORTED_MODULE_12__); /* harmony import */ var _env__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./env */ 14160); /* harmony import */ var _components_mediator__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @/components/mediator */ 24750); /* harmony import */ var _components_RenderHtml__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! @/components/RenderHtml */ 11209); /* harmony import */ var _utils_fetch__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! @/utils/fetch */ 55794); /* harmony import */ var moment__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! moment */ 66649); /* harmony import */ var moment__WEBPACK_IMPORTED_MODULE_17___default = /*#__PURE__*/__webpack_require__.n(moment__WEBPACK_IMPORTED_MODULE_17__); /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! react/jsx-runtime */ 37712); var _location, _this = undefined; var aKey = "e83900ca9be33747397cc81a8f68ac11"; var sKey = "6de3a75ae5718cde1e0907a593afd01f"; var parseParams = function parseParams(param) { param = param || {}; // param.domain = window.location.host var paramStr = ''; var _loop = function _loop(_key2) { if (_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_typeof_js__WEBPACK_IMPORTED_MODULE_5___default()(param[_key2]) === 'object') { if (Array.isArray(param[_key2])) { param[_key2].forEach(function (element, k) { paramStr += '&' + _key2 + "[]=" + element; }); } } else { // if ((param[key]) || param[key] === 0) if (param[_key2] !== undefined) paramStr += '&' + _key2 + '=' + param[_key2]; } }; for (var _key2 in param) { _loop(_key2); } return paramStr.substr(1); }; // 文件大小展示 function bytesToSize(bytes) { var sizes = ['Bytes', 'KB', 'MB', 'GB', 'TB']; if (bytes == 0) return '0 Byte'; var i = parseInt('' + Math.floor(Math.log(bytes) / Math.log(1024)), 10); return (bytes / Math.pow(1024, i)).toFixed(1) + ' ' + sizes[i]; } /** * @description 精确到小数的后两位 */ var getTwoDecimalPlaces = function getTwoDecimalPlaces(value) { return Math.round(Math.round(value * 100000) / 1000 * 100) / 100; }; /** * @description 数字转化成万为单位,上万则转否者不会进行转换,转换后的值会留小数后两位 * @param {string} num 数字 * @returns {string|React.ReactNode} * @example toWNumber(10000) => 1.00w */ var toWNumber = function toWNumber(num) { return num / 10000 > 1 ? /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_18__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_18__.Fragment, { children: [Math.round(num / 10000 * 100) / 100, /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_18__.jsx)("i", { className: "font12", children: "w" })] }) : num; }; // 数字转中文 var toChineseNumber = function toChineseNumber(num) { var strs = num.toString().replace(/(?=(\d{4})+$)/g, ',').split(',').filter(Boolean); var chars = ['零', '一', '二', '三', '四', '五', '六', '七', '八', '九']; var units = ['', '十', '百', '千']; var bigUnits = ['', '万', '亿']; var _transform = function _transform(numStr) { var result = ''; for (var i = 0; i < numStr.length; i++) { var digit = +numStr[i]; var c = chars[digit]; var u = units[numStr.length - 1 - i]; if (digit === 0) { if (result[result.length - 1] !== chars[0]) { result += c; } } else { result += c + u; } } if (result[result.length - 1] === chars[0]) { result = result.slice(0, -1); } return result; }; var result = ''; for (var i = 0; i < strs.length; i++) { var part = strs[i]; var c = _transform(part); var u = c ? bigUnits[strs.length - 1 - i] : ''; result += c + u; } result = result.replace(/^一十$/, '十'); // 特殊处理 "一十" 的情况,转换为 "十" result = result.replace(/^一(?=十[一二三四五六七八九])/, ''); return result; }; //调整数组位置 arr数组 index 初始位置 替换的位置 var moveArray = function moveArray(arr, index1, index2) { var element = arr.splice(index1, 1)[0]; arr.splice(index2, 0, element); return arr; }; var ZimuSort = ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z']; var JudgeSort = ['正确', '错误']; var RomanNumber = ['I', 'II', 'III', 'IV', 'V', 'VI', 'VII', 'VIII', 'IX', 'X', 'XI', 'XII', 'XIII', 'XIV', 'XV', 'XVI', 'XVII', 'XVIII', 'XIX', 'XX']; var findEndWhitespace = function findEndWhitespace(s) { if (!s) return ""; var reg = /(?:\\[rn]|[\r\n]+)+/g; var ns = s.split(reg); ns = ns.map(function (item) { var matchs = item.match(/\s+$/g); if (!matchs) return item; var str = matchs[0].split("").map(function (i) { return "\x1b[41m \x1b[0m"; }); return item.replace(/\s+$/g, "") + str.join(""); }); return ns.join("\x1b[41m\x1b[37m↵\x1b[0m\r\n"); }; /** *@所有实训tags集合生成 *status为数组 status=["提交中","补交中"] */ var StatusTags = function StatusTags(props) { var tags = { 已截止: { "class": 'tag-style bg-pink ml10' }, 提交中: { "class": 'tag-style bg-blue ml10' }, 进行中: { "class": 'tag-style bg-blue ml10' }, 未发布: { "class": 'tag-style bgB8B8B8 ml10' }, 补交中: { "class": 'tag-style bg-blue ml10' }, 集中阅卷: { "class": 'tag-style bg-light-orangess ml10soft' } }; return props.data && props.data.map(function (v, k) { return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_18__.jsx)("span", { className: tags[v] && tags[v]['class'], children: v }, k); }); }; /** *@教学课堂-作业列表状态名字 *status为 number */ var formatHomeWorkStatusToName = function formatHomeWorkStatusToName(status) { var mapping = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_4___default()(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_4___default()(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_4___default()(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_4___default()({}, -1, '重做中'), 0, '未开启'), 1, '未通关'), 2, '按时通关'); return mapping[status] || '迟交通关'; }; /** *@教学课堂-作业列表状态 *status为 number */ var HomeWorkListStatus = function HomeWorkListStatus(props) { var _wStatus$props$status, _wStatus$props$status2; var wStatus = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_4___default()(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_4___default()(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_4___default()(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_4___default()(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_4___default()(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_4___default()({}, -1, { name: '重做中', "class": 'c-orange' }), 0, { name: '未开启', "class": 'c-black' }), 1, { name: '未通关', "class": 'c-red' }), 2, { name: '按时通关', "class": 'c-green' }), 3, { name: '迟交通关', "class": 'c-orange' }), 4, { name: '截止通关', "class": 'c-red' }); return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_18__.jsx)("span", { className: wStatus === null || wStatus === void 0 || (_wStatus$props$status = wStatus[props.status]) === null || _wStatus$props$status === void 0 ? void 0 : _wStatus$props$status['class'], children: wStatus === null || wStatus === void 0 || (_wStatus$props$status2 = wStatus[props.status]) === null || _wStatus$props$status2 === void 0 ? void 0 : _wStatus$props$status2['name'] }); }; var HomeWorkShixunListStatus = function HomeWorkShixunListStatus(props) { var _wStatus$props$status3, _wStatus$props$status4; var wStatus = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_4___default()(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_4___default()(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_4___default()(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_4___default()(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_4___default()(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_4___default()({}, -1, { name: '重做中', "class": 'c-orange' }), 0, { name: '未开启', "class": 'c-black' }), 1, { name: '未通关', "class": 'c-red' }), 2, { name: '按时通关', "class": 'c-green' }), 3, { name: '迟交通关', "class": 'c-orange' }), 4, { name: '截止后通关', "class": 'c-red' }); return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_18__.jsx)("span", { className: wStatus === null || wStatus === void 0 || (_wStatus$props$status3 = wStatus[props.status]) === null || _wStatus$props$status3 === void 0 ? void 0 : _wStatus$props$status3['class'], children: wStatus === null || wStatus === void 0 || (_wStatus$props$status4 = wStatus[props.status]) === null || _wStatus$props$status4 === void 0 ? void 0 : _wStatus$props$status4['name'] }); }; /** *@教学课堂-作业心情状态 *status为 number */ var HomeWorkDetailStatus = function HomeWorkDetailStatus(props) { var _wStatus$props$status5, _wStatus$props$status6; var wStatus = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_4___default()(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_4___default()(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_4___default()(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_4___default()(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_4___default()(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_4___default()({}, -1, { name: '重做中', "class": 'c-orange', color: '#999999' }), 0, { name: '未开启', "class": 'c-black', color: '#999999' }), 1, { name: '未通关', "class": 'c-red', color: '#d4443d' }), 2, { name: '按时通关', "class": 'c-green', color: '#57be40' }), 3, { name: '迟交通关', "class": 'c-orange', color: '#f09143' }), 4, { name: '截止通关', "class": 'c-red', color: '#d4443d' }); return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_18__.jsx)("span", { style: { marginLeft: '10px', color: '#fff', background: wStatus === null || wStatus === void 0 || (_wStatus$props$status5 = wStatus[props.status]) === null || _wStatus$props$status5 === void 0 ? void 0 : _wStatus$props$status5['color'], borderRadius: '20px', width: '65px', height: '18px', justifyContent: 'center', display: 'inline-flex', lineHeight: '18px' }, children: wStatus === null || wStatus === void 0 || (_wStatus$props$status6 = wStatus[props.status]) === null || _wStatus$props$status6 === void 0 ? void 0 : _wStatus$props$status6['name'] }); }; var HomeWorkShixunDetailStatus = function HomeWorkShixunDetailStatus(props) { var _wStatus$props$status7, _wStatus$props$status8; var wStatus = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_4___default()(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_4___default()(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_4___default()(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_4___default()(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_4___default()(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_4___default()({}, -1, { name: '重做中', "class": 'c-orange', color: '#999999' }), 0, { name: '未开启', "class": 'c-black', color: '#999999' }), 1, { name: '未通关', "class": 'c-red', color: '#d4443d' }), 2, { name: '按时通关', "class": 'c-green', color: '#57be40' }), 3, { name: '迟交通关', "class": 'c-orange', color: '#f09143' }), 4, { name: '截止后通关', "class": 'c-red', color: '#d4443d' }); return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_18__.jsx)("span", { style: { marginLeft: '10px', color: '#fff', background: wStatus === null || wStatus === void 0 || (_wStatus$props$status7 = wStatus[props.status]) === null || _wStatus$props$status7 === void 0 ? void 0 : _wStatus$props$status7['color'], borderRadius: '20px', padding: '0 8px', height: '18px', justifyContent: 'center', display: 'inline-flex', lineHeight: '18px' }, children: wStatus === null || wStatus === void 0 || (_wStatus$props$status8 = wStatus[props.status]) === null || _wStatus$props$status8 === void 0 ? void 0 : _wStatus$props$status8['name'] }); }; var HomeWorkCommonDetailStatus = function HomeWorkCommonDetailStatus(props) { var _wStatus$props$status9, _wStatus$props$status10; var wStatus = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_4___default()(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_4___default()(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_4___default()(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_4___default()({}, -1, { name: '重做中', "class": 'c-black', color: '#999999' }), 0, { name: '未提交', "class": 'c-black', color: '#999999' }), 1, { name: '按时提交', "class": 'c-green', color: '#57be40' }), 2, { name: '延时提交', "class": 'c-red', color: '#d4443d' }); return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_18__.jsx)("span", { style: { marginLeft: '10px', color: '#fff', background: wStatus === null || wStatus === void 0 || (_wStatus$props$status9 = wStatus[props.status]) === null || _wStatus$props$status9 === void 0 ? void 0 : _wStatus$props$status9['color'], borderRadius: '20px', padding: '0 8px', height: '18px', justifyContent: 'center', display: 'inline-flex', lineHeight: '18px' }, children: wStatus === null || wStatus === void 0 || (_wStatus$props$status10 = wStatus[props.status]) === null || _wStatus$props$status10 === void 0 ? void 0 : _wStatus$props$status10['name'] }); }; /** *@教学课堂-毕设选题tags集合生成 *status为数组 status=["提交中","补交中"] */ var StatusGraduationProjectTags = function StatusGraduationProjectTags(props) { var status = props.status; var tags = { 0: { "class": 'tag-style bg-blue ml10', name: '待选中' }, 1: { "class": 'tag-style bg-blue ml10', name: '待确认' }, 2: { "class": 'tag-style bg-pink ml10', name: '已确认' } }; try { return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_18__.jsx)("span", { className: tags[status]['class'], children: tags[status]['name'] }); } catch (e) { console.log('utils.StatusGraduationProjectTags', props.status); } }; // 在这里需要定义 var ExerciseStatus = { 1: '未发布', 2: '考试中', 3: '已截止', 4: '已结束', 5: "集中阅卷", 99: '模拟考试中' }; var PollsStatus = { 1: '未发布', 2: '提交中', 3: '已截止', 4: '已结束' }; /** *@教学课堂tags集合生成 *status为数组 status=["提交中","补交中"] *任务状态数组: 未发布、提交中、评阅中、补交中、未开启补交等 */ var StatusClassroomsTags = function StatusClassroomsTags(props) { var tags = { 模拟考试中: { "class": 'tag-style bg-light-pink ml10' }, 已开启防作弊: { "class": 'tag-style-fzb ml10 iconfont icon-fangzuobi' }, 公开: { "class": 'tag-style bg-blue ml10' }, 已开启补交: { "class": 'tag-style bg-green ml10soft' }, 未开启补交: { "class": 'tag-style bg-pink ml10soft' }, 未发布: { "class": 'tag-style bgB8B8B8 ml10soft' }, 未开始: { "class": 'tag-style bg-c5d6ff ml10soft' }, 匿名作品: { "class": 'tag-style bg-cyan ml10' }, 已选择: { "class": 'tag-style bg-grey-ede ml10' }, 已结束: { "class": 'tag-style bg-grey-ede ml10soft' }, 提交中: { "class": 'tag-style bg-blue ml10soft' }, 进行中: { "class": 'tag-style bg-blue ml10soft' }, 匿评中: { "class": 'tag-style bg-blue ml10' }, 申诉中: { "class": 'tag-style bg-blue ml10' }, 考试中: { "class": 'tag-style bg-light-blue ml10' }, 补交中: { "class": 'tag-style bg-blue ml10soft' }, 评阅中: { "class": 'tag-style bg-blue ml10' }, 待选中: { "class": 'tag-style bg-blue ml10' }, 交叉评阅中: { "class": 'tag-style bg-light-orange ml10' }, 已开启交叉评阅: { "class": 'tag-style bg-lightblue-purple ml10' }, 待确认: { "class": 'tag-style bg-lightblue-purple ml10' }, 待处理: { "class": 'tag-style bg-lightblue-purple ml10' }, 私有: { "class": 'tag-style bg-lightblue-purple ml10' }, 未提交: { "class": 'tag-style bg-lightblue-purple ml10' }, 已确认: { "class": 'tag-style bg-light-pink ml10' }, 已发布: { "class": 'tag-style bg-light-blue ml10' }, 已截止: { "class": 'tag-style bg-light-pink ml10soft' }, 开发课程: { "class": 'tag-style bg-orange ml10' }, 已开播: { "class": 'tag-style-border border-green c-green ml10' }, 未开播: { "class": 'tag-style-border border-light-black ml10' }, // 样式需要调整 作业列表 按时通关: { "class": 'tag-style-border border-light-black ml10' }, 迟交通关: { "class": 'tag-style-border border-light-black ml10' }, 未通关: { "class": 'tag-style-border border-light-black ml10' }, 未开启: { "class": 'tag-style-border border-light-black ml10' }, // 这里需要定义 集中阅卷: { "class": 'tag-style bg-light-orangess ml10soft' } }; var temporaryTags = { 未发布: { "class": 'tag-style bg-C6CED6 ml10soft' }, 未开始: { "class": 'tag-style bg-C1E2FF ml10soft' }, 进行中: { "class": 'tag-style bg-0152d9 ml10soft' }, 已截止: { "class": 'tag-style bg-E53333 ml10soft' }, 提交中: { "class": 'tag-style bg-0152d9 ml10soft' }, 补交中: { "class": 'tag-style bg-44D7B6 ml10soft' } }; if (props.temporary) { tags = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3___default()(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3___default()({}, tags), temporaryTags); } var arr = []; if (props.is_random) { arr.push( /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_18__.jsx)("span", { className: "tag-style bg-blue ml10", children: "\u968F\u673A" })); } try { // 可更新评阅详情的状态判断 props.status && // console.log(props, "props"); props.status.map(function (v, k) { arr.push( /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_18__.jsx)("span", { style: (props === null || props === void 0 ? void 0 : props.style) || [], className: tags[v] && tags[v]['class'], children: v }, k)); }); } catch (e) { console.log('utils.status.tag:', e, props.status); } return arr; }; var exerciseTips = function exerciseTips(v, appraise_label) { // 可更新评阅设置--答题列表的状态 if (v === 5 || appraise_label) { return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_18__.jsx)("span", { style: { backgroundColor: '#f59a23' }, className: "tag-style ml5", children: "\u96C6\u4E2D\u9605\u5377" }); } if (v === 1) { return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_18__.jsx)("span", { style: { backgroundColor: '#B8B8B8' }, className: "tag-style ml5", children: "\u672A\u5F00\u59CB" }); } if (v === 2) { return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_18__.jsx)("span", { style: { backgroundColor: '#007AFF' }, className: "tag-style ml5", children: "\u8003\u8BD5\u4E2D" }); } if (v === 3 || v === 4) { return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_18__.jsx)("span", { style: { backgroundColor: '#FC2D6B' }, className: "tag-style ml5", children: "\u5DF2\u7ED3\u675F" }); } }; /** *@教学课堂 实训作业状态 *status值为number status=0 *任务状态数组: 未发布、提交中、评阅中、补交中、未开启补交等 */ // "work_status": 2, //-1:重做中、 0:未提交、1:未通关,2:按时通关,3:迟交通关 var WorkStatus = function WorkStatus(props) { var _wStatus$props$status11, _wStatus$props$status12; var wStatus = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_4___default()(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_4___default()(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_4___default()(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_4___default()(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_4___default()({}, -1, { name: '重做中', "class": 'c-orange' }), 0, { name: '未提交', "class": 'c-black' }), 1, { name: '未通关', "class": 'c-red' }), 2, { name: '按时通关', "class": 'c-green' }), 3, { name: '迟交通关', "class": 'c-orange' }); return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_18__.jsx)("span", { className: (_wStatus$props$status11 = wStatus[props.status]) === null || _wStatus$props$status11 === void 0 ? void 0 : _wStatus$props$status11['class'], children: (_wStatus$props$status12 = wStatus[props.status]) === null || _wStatus$props$status12 === void 0 ? void 0 : _wStatus$props$status12['name'] }); }; /** *@教学课堂 普通/分组作业状态 *status值为number status=0 *任务状态数组: 未发布、提交中、评阅中、补交中、未开启补交等 */ // "work_status": 2, //-1:重做中、 0:未提交、1:未通关,2:按时通关,3:迟交通关 var CommonWorkStatus = function CommonWorkStatus(props) { var _wStatus$props$status13, _wStatus$props$status14; var wStatus = { 0: { name: '未提交', "class": 'c-black' }, 1: { name: '按时提交', "class": 'c-green' }, 2: { name: '延时提交', "class": 'c-red' } }; return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_18__.jsx)("span", { className: (_wStatus$props$status13 = wStatus[props.status]) === null || _wStatus$props$status13 === void 0 ? void 0 : _wStatus$props$status13['class'], children: (_wStatus$props$status14 = wStatus[props.status]) === null || _wStatus$props$status14 === void 0 ? void 0 : _wStatus$props$status14['name'] }); }; var timego = function timego(dateTimeStamp) { dateTimeStamp = new Date(dateTimeStamp).getTime(); var minute = 1000 * 60; var hour = minute * 60; var day = hour * 24; var result = ''; var now = new Date().getTime(); var diffValue = now - dateTimeStamp; // console.log("diffValue:",now,dateTimeStamp,diffValue) if (diffValue < 0) { console.log('时间不对劲,服务器创建时间与当前时间不同步'); return result = '刚刚'; } var dayC = parseInt(diffValue / day, 10); var hourC = parseInt(diffValue / hour, 10); var minC = parseInt(diffValue / minute, 10); if (dayC > 30) { result = '' + timeformat(dateTimeStamp, 'yyyy-MM-dd'); } else if (dayC > 1) { result = '' + dayC + '天前'; } else if (dayC == 1) { result = '昨天'; } else if (hourC >= 1) { result = '' + hourC + '小时前'; } else if (minC >= 5) { result = '' + minC + '分钟前'; } else result = '刚刚'; return result; }; /** * * @param paramName 要替换的参数名 * @param replaceWith 替换后的参数为 */ function replaceParamVal(paramName, replaceWith) { var oUrl = window.location.href.toString(); var re = eval('/(' + paramName + '=)([^&]*)/gi'); var nUrl = oUrl.replace(re, paramName + '=' + replaceWith); window.history.replaceState(null, '', nUrl); } /** * 格式化时间 * @param date Date 时间 * @param format 格式化 "yyyy-MM-dd HH:mm:ss www"=format * @returns {string} 格式化后字符串 */ var timeformat = function timeformat(date, format) { if (typeof date == 'string') { if (date.indexOf('T') >= 0) { date = date.replace('T', ' '); } date = new Date(Date.parse(date.replace(/-/g, '/'))); } date = new Date(date); var o = { 'M+': date.getMonth() + 1, 'd+': date.getDate(), 'h+': date.getHours(), 'm+': date.getMinutes(), 's+': date.getSeconds(), 'q+': Math.floor((date.getMonth() + 3) / 3), S: date.getMilliseconds() }; var w = [['日', '一', '二', '三', '四', '五', '六'], ['周日', '周一', '周二', '周三', '周四', '周五', '周六'], ['星期日', '星期一', '星期二', '星期三', '星期四', '星期五', '星期六']]; if (/(y+)/.test(format)) { format = format.replace(RegExp.$1, (date.getFullYear() + '').substr(4 - RegExp.$1.length)); } if (/(w+)/.test(format)) { format = format.replace(RegExp.$1, w[RegExp.$1.length - 1][date.getDay()]); } for (var k in o) { if (new RegExp('(' + k + ')').test(format)) { format = format.replace(RegExp.$1, RegExp.$1.length == 1 ? o[k] : ('00' + o[k]).substr(('' + o[k]).length)); } } return format; }; /** * @时间转换 * @传值为时间 单位s * @返回值 1分40秒 * @列子 toTimeFormat(100) 返回 1分40秒 */ var toTimeFormat = function toTimeFormat(time) { if (!time || time < 0) return '0秒'; console.log('time:', time); var minute = 60; var hour = minute * 60; var day = hour * 24; var dayC = time / day; var hourC = time / hour; var minC = time / minute; var senC = time % 60; if (dayC >= 1) { return parseInt(dayC.toString()) + '天' + Math.floor(hourC % 24) + '时' + Math.floor(minC % 60) + '分' + Math.floor(time % 60) + '秒'; } else if (hourC > 1) { return parseInt(hourC.toString()) + '时' + Math.floor(minC % 60) + '分' + Math.floor(time % 60) + '秒'; } else if (minC >= 1) { return parseInt(minC.toString()) + '分' + Math.floor(time % 60) + '秒'; } else { return Math.ceil(time) + '秒'; } }; /** * @校验字符串长度 */ var validateLength = function validateLength() { var str = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : ''; var length = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 100; var len = 0; if (str) { len = str.length; for (var i = 0; i < len; i++) { var charCode = str.charCodeAt(i); if (charCode >= 0xd800 && charCode <= 0xdbff) { len--; i++; } } } return len <= length; }; var handleValidatorNickName = function handleValidatorNickName(rule, value, callback) { if (value) { var iconRule1 = /[`~!@#$%^&*()\-+=<>?:"{}|,.\/;'\\[\]·~!@#¥%……&*()——\-+={}|《》?:“”【】、;‘’,。、]/im; // 判断是否含有emoji表情 var iconRule2 = /[\uD83C|\uD83D|\uD83E][\uDC00-\uDFFF][\u200D|\uFE0F]|[\uD83C|\uD83D|\uD83E][\uDC00-\uDFFF]|[0-9|*|#]\uFE0F\u20E3|[0-9|#]\u20E3|[\u203C-\u3299]\uFE0F\u200D|[\u203C-\u3299]\uFE0F|[\u2122-\u2B55]|\u303D|[\A9|\AE]\u3030|\uA9|\uAE|\u3030/gi; // 如果为true,字符串含有emoji表情 ,false不含 var iconRule2s = iconRule2.test(value); // 如果为true,字符串含有特殊符号 ,false不 var iconRule1s = iconRule1.test(value); if (iconRule2s === true || iconRule1s === true) { callback('2-20位中英文、数字及下划线'); } else if (value.length < 2) { callback('2-20位中英文、数字及下划线'); } else if (value.length >= 21) { callback('2-20位中英文、数字及下划线'); } } callback(); }; var handleValidatorName = function handleValidatorName(rule, value, callback) { if (value) { var iconRule1 = /[`~!@#$%^&()_\-+=<>?:"{}|,.\/;'\\[\]·~!@#¥%……&()——\-+={}|《》?:“”【】、;‘’,。、]/im; // 判断是否含有emoji表情 var iconRule2 = /[\uD83C|\uD83D|\uD83E][\uDC00-\uDFFF][\u200D|\uFE0F]|[\uD83C|\uD83D|\uD83E][\uDC00-\uDFFF]|[0-9|*|#]\uFE0F\u20E3|[0-9|#]\u20E3|[\u203C-\u3299]\uFE0F\u200D|[\u203C-\u3299]\uFE0F|[\u2122-\u2B55]|\u303D|[\A9|\AE]\u3030|\uA9|\uAE|\u3030/gi; // 如果为true,字符串含有emoji表情 ,false不含 var iconRule2s = iconRule2.test(value); // 如果为true,字符串含有特殊符号 ,false不 var iconRule1s = iconRule1.test(value); if (iconRule2s === true || iconRule1s === true) { callback('2-20位中英文、数字'); } else if (value.length < 2) { callback('2-20位中英文、数字'); } else if (value.length >= 21) { callback('2-20位中英文、数字'); } } callback(); }; var getHiddenName = function getHiddenName(name) { if (!name) return ''; var len = name.length - 1; var str = ''; for (var i = 0; i < len; i++) { str += '*'; } var newName = name.substr(0, 1) + str; return newName; }; var getBase64 = function getBase64(img, callback) { var reader = new FileReader(); reader.addEventListener('load', function () { return callback(reader.result); }); reader.readAsDataURL(img); }; var getFileContentAndUrl = function getFileContentAndUrl(file) { return new Promise(function (resolve, reject) { var reader = new FileReader(); reader.onload = function () { try { var link = window.URL.createObjectURL(file); resolve({ text: this.result, link: link }); } catch (e) { antd__WEBPACK_IMPORTED_MODULE_19__/* ["default"] */ .ZP.warning("当前文件无法读取内容"); reject("当前文件无法读取内容"); } }; reader.readAsText(file); }); }; function setmiyah(logins) { var opens = '79e33abd4b6588941ab7622aed1e67e8'; return md5__WEBPACK_IMPORTED_MODULE_12___default()(opens + logins); } var getCookie = function getCookie(key) { var arr, reg = RegExp('(^| )' + key + '=([^;]+)(;|$)'); if (arr = document.cookie.match(reg)) //["username=liuwei;", "", "liuwei", ";"] return decodeURIComponent(arr[2]);else return null; }; // 设置cookie function setCookie(cname, cvalue, exdays) { // exdays = exdays || 30; var d = new Date(); d.setTime(d.getTime() + exdays * 24 * 60 * 60 * 1000); var expires = 'expires=' + d.toUTCString(); document.cookie = cname + '=' + cvalue + '; ' + expires + ';domain=.educoder.net;path=/;SameSite=None;secure'; } var delCookie = function delCookie(name) { document.cookie = name + '=; expires=Thu, 01 Jan 1970 00:00:01 GMT;path=/;'; }; // 清除所有cookie var clearAllCookies = function clearAllCookies() { var cookies = document.cookie.split(";"); for (var i = 0; i < cookies.length; i++) { var cookie = cookies[i]; var eqPos = cookie.indexOf("="); var name = eqPos > -1 ? cookie.substr(0, eqPos) : cookie; document.cookie = name + "=;expires=Thu, 01 Jan 1970 00:00:00 GMT"; } }; function downLoadLink(title, url) { var link = document.createElement('a'); document.body.appendChild(link); link.href = url; if (title) { link.title = title; link.download = title; } //兼容火狐浏览器 var evt = document.createEvent('MouseEvents'); evt.initEvent('click', false, false); link.dispatchEvent(evt); document.body.removeChild(link); } /** * 获取 blob * @param {String} url 目标文件地址 * @return {Promise} */ function getBlob(url) { return new Promise(function (resolve) { var xhr = new window.XMLHttpRequest(); xhr.open('GET', url, true); xhr.withCredentials = true; xhr.responseType = 'blob'; xhr.onload = function () { if (xhr.status === 200) { resolve(xhr.response); } }; xhr.send(); }); } /** * 保存 * @param {Blob} blob * @param {String} filename 想要保存的文件名称 */ function saveAs(blob, filename) { if (window.navigator.msSaveOrOpenBlob) { window.navigator.msSaveBlob(blob, filename); } else { var link = document.createElement('a'); var body = document.querySelector('body'); link.href = window.URL.createObjectURL(blob); link.download = filename; // fix Firefox link.style.display = 'none'; body.appendChild(link); link.click(); body.removeChild(link); window.URL.revokeObjectURL(link.href); } } /** * 下载 * @param {String} url 目标文件地址 * @param {String} filename 想要保存的文件名称 */ function download(url, filename) { // if(url?.indexOf("aliyuncs.com") > -1){ // downLoadLink(filename,url) // }else{ getBlob(url).then(function (blob) { saveAs(blob, filename); }); // } } function downLoadFileIframe(title, url) { return new Promise(function (resolve, reject) { var downloadFileUrl = url; var elemIF = document.createElement('iframe'); var time; document.body.appendChild(elemIF); elemIF.src = downloadFileUrl; elemIF.style.display = 'none'; elemIF.addEventListener('load', function () { setTimeout(function () { document.body.removeChild(elemIF); }, 1000); }, true); time = setInterval(function () { if (getCookie('fileDownload')) { delCookie('fileDownload'); clearInterval(time); resolve(); } }, 1000); }); } function downLoadFile(title, url) { downLoadLink(title, url); } /** *@url参数拼接 *options为对象 {search=1,page:2} to search=1&page=2 */ var setUrlQuery = function setUrlQuery(options) { var url = options.url, query = options.query; if (!url) return ''; if (query) { var queryArr = []; var _loop2 = function _loop2(_key3) { if (query.hasOwnProperty(_key3) && !isUnOrNull(query[_key3])) { if (_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_typeof_js__WEBPACK_IMPORTED_MODULE_5___default()(query[_key3]) === 'object') { query[_key3].map(function (v) { queryArr.push("".concat(_key3, "[]=").concat(v)); }); } else { queryArr.push("".concat(_key3, "=").concat(query[_key3])); } } }; for (var _key3 in query) { _loop2(_key3); } if (url.indexOf('?') !== -1) { url = "".concat(url, "&").concat(queryArr.join('&')); } else { url = "".concat(url, "?").concat(queryArr.join('&')); } console.log('url1111', url); } return url; }; function isPc() { var userAgentInfo = navigator.userAgent; var Agents = ['Android', 'iPhone', 'SymbianOS', 'Windows Phone', 'iPad', 'iPod']; var flag = true; for (var v = 0; v < Agents.length; v++) { if (userAgentInfo.indexOf(Agents[v]) > 0) { flag = false; break; } } return flag; } function isChrome() { var userAgentInfo = navigator.userAgent; var Agents = ['Chrome']; return Agents.some(function (item) { return userAgentInfo.indexOf(item) > -1 ? true : false; }); } function isFirefox() { var userAgentInfo = navigator.userAgent; var Agents = ['Firefox']; return Agents.some(function (item) { return userAgentInfo.indexOf(item) > -1 ? true : false; }); } function isChromeOrFirefox() { var userAgentInfo = navigator.userAgent; var Agents = ['Chrome', 'Firefox']; return Agents.some(function (item) { return userAgentInfo.indexOf(item) > -1 ? true : false; }); } var formatMoney = function formatMoney() { var _value$toString; var value = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : ''; return value === null || value === void 0 || (_value$toString = value.toString()) === null || _value$toString === void 0 ? void 0 : _value$toString.replace(/\B(?=(\d{3})+(?!\d))/g, ','); }; var openNewWindow = function openNewWindow(url) { var link = document.createElement('a'); link.target = '_blank'; document.body.appendChild(link); link.href = url; var evt = document.createEvent('MouseEvents'); evt.initEvent('click', false, false); link.dispatchEvent(evt); document.body.removeChild(link); }; var openNewWindows = function openNewWindows(url) { var link = document.createElement('a'); document.body.appendChild(link); link.href = url; var evt = document.createEvent('MouseEvents'); evt.initEvent('click', false, false); link.dispatchEvent(evt); document.body.removeChild(link); }; var formatTextMiddleIntercept = function formatTextMiddleIntercept() { var text = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : ''; if (text.length <= 6) { return text; } return "".concat(text.substring(0, 3), "...").concat(text.substring(text.length - 3, text.length)); }; var HalfPastOne = function HalfPastOne() { var hours = new Date().getHours(); var minute = new Date().getMinutes(); if (minute >= 30) { hours++; minute = '00'; } else { minute = '30'; } return hours + ':' + minute; }; var DayHalfPastOne = function DayHalfPastOne() { var reg = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '-'; var hours = new Date().getHours(); var minute = new Date().getMinutes(); if (minute >= 30) { hours++; minute = '00'; } else { minute = '30'; } return new Date().toLocaleDateString().replace(/\//g, reg) + ' ' + hours + ':' + minute; }; var Type = /*#__PURE__*/function (Type) { Type["Number"] = "Number"; Type["String"] = "String"; Type["Boolean"] = "Boolean"; Type["Object"] = "Object"; Type["Array"] = "Array"; Type["Function"] = "Function"; return Type; }(Type || {}); var type = function type(obj) { var type = Object.prototype.toString.call(obj); return type.substring(8, type.length - 1); }; var isEmpty = function isEmpty(obj) { if (type(obj) === Type.Array) { return obj.length === 0; } if (type(obj) === Type.Object) { return Object.keys(obj).length === 0; } return !obj; }; var rangeNumber = function rangeNumber(start, end) { var result = []; for (var i = start; i < end; i++) { result.push(i); } return result; }; var middleEllipsis = function middleEllipsis(text) { var len = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 12; var firstStart = len / 2 - 2; var endStart = len / 2 + 3; if (text.length > len) { return text.substr(0, firstStart) + '...' + text.substr(endStart, len); } else { return text; } }; var formatRate = function formatRate(rate) { if (rate > 4.5) { return 5; } else if (rate > 4 && rate <= 4.5) { return 4.5; } else if (rate > 3.5 && rate <= 4) { return 4; } else if (rate > 3 && rate <= 3.5) { return 3.5; } else if (rate > 2.5 && rate <= 3) { return 3; } else if (rate > 2 && rate <= 2.5) { return 2.5; } else if (rate > 1.5 && rate <= 2) { return 2; } else if (rate > 1 && rate <= 1.5) { return 1.5; } else if (rate > 0.5 && rate <= 1) { return 1; } else if (rate > 0 && rate <= 0.5) { return 0.5; } else { return 0; } }; var isUnOrNull = function isUnOrNull(val) { return val === undefined || val === null; }; //获取?号后面的数据 function getUrlToken(name, str) { var reg = new RegExp("(^|&)".concat(name, "=([^&]*)(&|$)"), "i"); var r = str.substr(1).match(reg); if (r != null) return decodeURIComponent(r[2]); return null; } var getMessagesUrl = function getMessagesUrl(item) { if (item.link_url) { return window.open(item.link_url); } switch (item === null || item === void 0 ? void 0 : item.container_type) { case 'TeacherChangeUserInfo': return window.open('/account/profile'); case 'TeacherResetUserPassword': return window.open('/account/secure'); case 'ApplyUserAuthentication': return window.open('/account/certification'); case 'Reservation': return window.open('/laboratory/myreservation'); case 'ApplyPurchase': return window.open('/materials/procure'); case 'Purchase': return window.open('/materials/myProcure'); case 'ApplyReceive': return window.open('/materials/receive'); case 'Receive': return window.open('/materials/myReceive'); } switch (item.container_type) { case 'ApplyUserAuthentication': if (item.tiding_type === 'Apply') { if (item.auth_type === 1) { //系统管理页面 return window.open('/admins/identity_authentications'); } if (item.auth_type === 2) { //系统管理页面 return window.open('/admins/professional_authentications'); } } if (item.tiding_type === 'System') { // 账号管理页-认证信息 return window.open('/account/certification'); } return; case 'CancelUserAuthentication': // 账号管理页-认证信息 return window.open('/account/certification'); case 'CancelUserProCertification': // 账号管理页-认证信息 return window.open('/account/certification'); case 'ApplyAddDepartment': if (item.tiding_type === 'Apply') { //部门审批 return window.open('/admins/department_applies'); } if (item.tiding_type === 'System') { // 账号管理页/account/profile return window.open('/account/profile'); } return; case 'ApplyAddSchools': if (item.tiding_type === 'Apply') { // 单位审批 return window.open('/admins/unit_applies'); } if (item.tiding_type === 'System') { // 账号管理页 return window.open('/account/profile'); } return; case 'ApplyAction': switch (item.parent_container_type) { case 'ApplyShixun': if (item.tiding_type === 'Apply') { return window.open('/admins/shixun_authorizations'); } if (item.tiding_type === 'System') { // 实训详情页 :identifier = identifier return window.open("/shixuns/".concat(item.identifier, "/challenges")); } case 'ApplySubject': if (item.tiding_type === 'Apply') { // 实训课程发布 return window.open('/admins/subject_authorizations'); } if (item.tiding_type === 'System') { // 课程汇总详情页 :parent_container_id = parent_container_id return window.open("/paths/".concat(item.parent_container_id)); } case 'TrialAuthorization': if (item.tiding_type === 'Apply') { // 试用授权页面 return window.open('/managements/trial_authorization'); } if (item.tiding_type === 'System') { // 账号管理页 return window.open('/account/profile'); } } return; case 'JoinCourse': // 课堂详情页 :id = return window.open("/classrooms/".concat(item.belong_container_id, "/teachers")); case 'StudentJoinCourse': // 课堂详情页 :id = container_id if (item.tiding_type === 'Apply') { return window.open("/classrooms/".concat(item.belong_container_id, "/teachers")); } if (item.tiding_type === 'System') { //教学案例详情 :id = container_id return window.open("/classrooms/".concat(item.belong_container_id, "/students")); } case 'DealCourse': // 课堂详情页 :id = container_id return window.open("/classrooms/".concat(item.belong_container_id, "/shixun_homework/")); case 'TeacherJoinCourse': // 课堂详情页 :id = container_id return window.open("/classrooms/".concat(item.belong_container_id, "/shixun_homework/")); case 'Course': // 课堂详情页 :id = container_id if (item.tiding_type === 'Delete') { return; } return window.open("/classrooms/".concat(item.belong_container_id, "/shixun_homework/")); case 'ArchiveCourse': // 课堂详情页 :id = container_id return window.open("/classrooms/".concat(item.belong_container_id, "/shixun_homework/")); case 'Shixun': return window.open("/shixuns/".concat(item.identifier, "/challenges")); case 'Subject': // 课程汇总详情页 :id = container_id return window.open("/paths/".concat(item.container_id)); case 'JournalsForMessage': switch (item.parent_container_type) { case 'Principal': // 反馈页 :id = parent_container_id // 不用跳了 return ''; case 'HomeworkCommon': //学员作业页 homework = parent_container_id if (item.homework_type === 'normal') { //普通作业 return window.open("/classrooms/".concat(item.belong_container_id, "/common_homework/").concat(item.parent_container_id, "/question")); } if (item.homework_type === 'group') { //分组作业 return window.open("/classrooms/".concat(item.belong_container_id, "/group_homework/").concat(item.parent_container_id, "/question")); } if (item.homework_type === 'practice') { //实训作业 return window.open("/classrooms/".concat(item.belong_container_id, "/shixun_homework/").concat(item.parent_container_id, "/detail?tabs=1")); } return ''; case 'GraduationTopic': // 毕业目标页 parent_container_id return window.open("/classrooms/".concat(item.belong_container_id, "/graduation_topics/").concat(item.parent_container_id, "/detail")); case 'StudentWorksScore': //学员作业页 // if (item.homework_type === "normal") { // //普通作业 // return window.open(`/classrooms/${item.belong_container_id}/common_homework/${item.parent_container_id}/question`) // } // if (item.homework_type === "group") { // //分组作业 // return window.open(`/classrooms/${item.belong_container_id}/group_homework/${item.parent_container_id}/question`) // } // if (item.homework_type === "practice") { // //实训作业 // return window.open(`/classrooms/${item.belong_container_id}/shixun_homework/${item.parent_container_id}/detail?tabs=1`) // } return window.open(item.link_url); // return ""; } case 'Memo': // 交流问答页 :id = parent_container_id return window.open("/forums/".concat(item.parent_container_id)); case 'Message': // 交流问答页 :id = parent_container_id return window.open("/forums/"); case 'Watcher': // 用户个人中心页 :id = item.trigger_user.login return window.open("/users/".concat(item.trigger_user.login, "/classrooms")); case 'PraiseTread': // 这块太复杂 不好处理 return ''; case 'Grade': //个人中心页 :id = item.trigger_user.login // return window.open(`/users/${userInfo()?.login}/classrooms`; return ''; case 'JoinProject': //项目详情-申请加入项目审核页 :id = container_id return window.open(_env__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .Z.FORGE + item.project_url); // return window.open(`/projects/${item.container_id}`) case 'ReporterJoinProject': //项目详情页 :id = container_id return window.open(_env__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .Z.FORGE + item.project_url); // return window.open(`/projects/${item.container_id}`) case 'DealProject': //项目详情页 :id = container_id return window.open(_env__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .Z.FORGE + item.project_url); // return window.open(`/projects/${item.container_id}`) case 'ManagerJoinProject': //项目详情页 :id = container_id return window.open(_env__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .Z.FORGE + item.project_url); // return window.open(`/projects/${item.container_id}`) case 'Poll': switch (item.parent_container_type) { case 'CommitPoll': // 课堂id belong_container_id //课堂-学员已提交问卷列表 :id = container_id return window.open("\t/classrooms/".concat(item.belong_container_id, "/poll/").concat(item.container_id, "/detail")); default: // 课堂-问卷列表 :id = container_id return window.open("\t/classrooms/".concat(item.belong_container_id, "/poll/").concat(item.container_id, "/detail")); } case 'Exercise': switch (item.parent_container_type) { case 'CommitExercise': // 课堂-学员试卷详情 :id = container_id :user_id = trigger_user.id return window.open("\t/classrooms/".concat(item.belong_container_id, "/exercise/").concat(item.container_id, "/detail?tab=0")); //记得跳评阅页面 case 'ExerciseScore': // 课堂-学员试卷详情 :id = container_id :user_id = trigger_user.id return window.open("\t/classrooms/".concat(item.belong_container_id, "/exercise/").concat(item.container_id, "/detail?tab=0")); //记得跳评阅页面 default: // 课堂-试卷列表详情 :id = container_id return window.open("/classrooms/".concat(item.belong_container_id, "/exercise/").concat(item.container_id, "/detail?tab=0")); } case 'StudentGraduationTopic': //课堂-毕业选题详情 :id = parent_container_id return window.open("/classrooms/".concat(item.belong_container_id, "/graduation_topics/").concat(item.parent_container_id, "/detail")); case 'DealStudentTopicSelect': //课堂-毕业选题详情 :id = parent_container_id return window.open("/classrooms/".concat(item.belong_container_id, "/graduation_topics/").concat(item.parent_container_id, "/detail")); case 'GraduationTask': //课堂-毕业任务页 :id = container_id return window.open("/classrooms/".concat(item.belong_container_id, "/graduation_tasks/").concat(item.container_id)); case 'GraduationWork': //课堂-毕业xx页 :id = container_id return window.open("/classrooms/".concat(item.belong_container_id, "/graduation_tasks/").concat(item.container_id)); case 'GraduationWorkScore': // 课堂-毕业xx页 :id = parent_container_id return window.open("/classrooms/".concat(item.belong_container_id, "/graduation_tasks/").concat(item.parent_container_id)); case 'HomeworkCommon': switch (item.parent_container_type) { case 'AnonymousCommentFail': // 课堂-作业列表 homework = container_id if (item.homework_type === 'normal') { //普通作业 return window.open("/classrooms/".concat(item.belong_container_id, "/common_homework/").concat(item.parent_container_id, "/detail")); } if (item.homework_type === 'group') { //分组作业 return window.open("/classrooms/".concat(item.belong_container_id, "/group_homework/").concat(item.parent_container_id, "/detail")); } if (item.homework_type === 'practice') { //实训作业 return window.open("/classrooms/".concat(item.belong_container_id, "/shixun_homework/").concat(item.parent_container_id, "/detail?tabs=0")); } case 'HomeworkPublish': if (item.homework_type === 'normal') { //普通作业 return window.open("/classrooms/".concat(item.belong_container_id, "/common_homework/").concat(item.parent_container_id, "/detail")); } if (item.homework_type === 'group') { //分组作业 return window.open("/classrooms/".concat(item.belong_container_id, "/group_homework/").concat(item.parent_container_id, "/detail")); } if (item.homework_type === 'practice') { //实训作业 return window.open("/classrooms/".concat(item.belong_container_id, "/shixun_homework/").concat(item.parent_container_id, "/detail?tabs=0")); } case 'AnonymousAppeal': if (item.homework_type === 'normal') { //普通作业 return window.open("/classrooms/".concat(item.belong_container_id, "/common_homework/").concat(item.parent_container_id, "/detail")); } if (item.homework_type === 'group') { //分组作业 return window.open("/classrooms/".concat(item.belong_container_id, "/group_homework/").concat(item.parent_container_id, "/detail")); } if (item.homework_type === 'practice') { //实训作业 return window.open("/classrooms/".concat(item.belong_container_id, "/shixun_homework/").concat(item.parent_container_id, "/detail?tabs=0")); } default: // 课堂-作业列表 homework = container_id if (item.homework_type === 'normal') { //普通作业 return window.open("/classrooms/".concat(item.belong_container_id, "/common_homework/").concat(item.parent_container_id, "/detail")); } if (item.homework_type === 'group') { //分组作业 return window.open("/classrooms/".concat(item.belong_container_id, "/group_homework/").concat(item.parent_container_id, "/detail")); } if (item.homework_type === 'practice') { //实训作业 return window.open("/classrooms/".concat(item.belong_container_id, "/shixun_homework/").concat(item.parent_container_id, "/detail?tabs=0")); } } case 'StudentWork': //课堂-作业 :id = container_id if (item.homework_type === 'normal') { //普通作业 return window.open("/classrooms/".concat(item.belong_container_id, "/common_homework/").concat(item.parent_container_id, "/review/").concat(item.container_id)); } if (item.homework_type === 'group') { //分组作业/classrooms/1208/group_homework/22373/1219130/appraise return window.open("/classrooms/".concat(item.belong_container_id, "/group_homework/").concat(item.parent_container_id, "/review/").concat(item.container_id)); } if (item.homework_type === 'practice') { //实训作业 return window.open("/classrooms/".concat(item.belong_container_id, "/shixun_homework/").concat(item.parent_container_id, "/detail")); } case 'StudentWorksScore': return window.open("/classrooms/".concat(item.belong_container_id, "/common_homework/").concat(item.trigger_user.id, "/review/").concat(item.parent_container_id)); case 'StudentWorksScoresAppeal': return window.open("/classrooms/".concat(item.belong_container_id, "/common_homework/").concat(item.trigger_user.id, "/review/").concat(item.parent_container_id)); case 'ChallengeWorkScore': return ''; case 'SendMessage': // /managements/mirror_repository // return window.open(`/managements/mirror_repository`) return window.open("".concat(_env__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .Z.API_SERVER, "/admins/mirror_repositories")); case 'Journal': //项目Issue页 :id = parent_container_id return window.open("/issues/".concat(item.parent_container_id)); case 'Issue': //项目Issue页 :id = container_id return window.open("/issues/".concat(item.container_id)); case 'PullRequest': // 项目pull request页 :id = parent_container_id return window.open(_env__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .Z.FORGE + item.project_url); // return window.open(`/projects/${item.parent_container_id}/pull_requests`) case 'Department': //账号管理页 return window.open("/account/profile"); case 'Library': if (item.tiding_type === 'Apply') { // /managements/library_applies return window.open("/admins/library_applies"); } if (item.tiding_type === 'System') { //教学案例详情 :id = container_id return window.open("/moop_cases/".concat(item.container_id)); } case 'ProjectPackage': if (item.tiding_type === 'Destroyed') { return; } if (item.tiding_type === 'Destroyed_end') { return; } else { if (item.tiding_type === 'Apply') { ///managements/project_package_applies return window.open("/admins/project_package_applies"); } // if(item.tiding_type === 'System'){ //众包详情 :id = container_id return window.open("/crowdsourcing/".concat(item.container_id)); // } } case 'Discuss': if (item.parent_container_type === 'Hack' && item.extra) { return window.open("/myproblems/".concat(item.extra, "/comment")); } else if (item.extra === 'ai_reply' && item.task_identifier) { return window.open("/tasks/".concat(item.task_identifier, "?extra=extra")); } else { return window.open("/shixuns/".concat(item.identifier, "/shixun_discuss")); } case 'Video': if (item.tiding_type === 'Apply') { return window.open("/admins/video_applies"); } else if (item.tiding_type === 'System') { var _userInfo; return window.open("/users/".concat((_userInfo = (0,_utils_authority__WEBPACK_IMPORTED_MODULE_7__/* .userInfo */ .eY)()) === null || _userInfo === void 0 ? void 0 : _userInfo.login, "/videos")); } return ''; case 'PublicCourseStart': return window.open("/classrooms/".concat(item.container_id, "/informs")); case 'SubjectStartCourse': return window.open("/paths/".concat(item.container_id)); case 'ResubmitStudentWork': if (item.homework_type === 'normal') { //普通作业 return window.open("/classrooms/".concat(item.belong_container_id, "/common_homework/").concat(item.parent_container_id, "/").concat(item.container_id, "/appraise")); } if (item.homework_type === 'group') { //分组作业 return window.open("/classrooms/".concat(item.belong_container_id, "/group_homework/").concat(item.parent_container_id, "/").concat(item.container_id, "/appraise")); } case 'AdjustScore': //belong_container_id course的id if (item.homework_type === 'normal') { //普通作业 return window.open("/classrooms/".concat(item.belong_container_id, "/common_homework/").concat(item.parent_container_id)); } if (item.homework_type === 'group') { //分组作业 return window.open("/classrooms/".concat(item.belong_container_id, "/group_homework/").concat(item.parent_container_id)); } case 'LiveLink': return window.open("/classrooms/".concat(item.belong_container_id, "/course_videos?open=live")); case 'Hack': if (item.extra && item.parent_container_type !== 'HackDelete') { return window.open("/problems/".concat(item.extra, "/edit")); } default: return; } }; var checkLocalOrPublicIp = /*#__PURE__*/function () { var _ref = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee2(v, hideTip) { var ip, modal; return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee2$(_context2) { while (1) switch (_context2.prev = _context2.next) { case 0: ip = ""; return _context2.abrupt("return", new Promise( /*#__PURE__*/function () { var _ref2 = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee(resolve, reject) { var res; return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee$(_context) { while (1) switch (_context.prev = _context.next) { case 0: if (!(v.ip_limit !== 'no')) { _context.next = 4; break; } _context.next = 3; return (0,_components_Exercise_ip__WEBPACK_IMPORTED_MODULE_8__/* .findLocalIp */ .y)({ ip_limit: v === null || v === void 0 ? void 0 : v.ip_limit, ip_bind: v === null || v === void 0 ? void 0 : v.ip_bind }); case 3: ip = _context.sent; case 4: _context.next = 6; return (0,_service_exercise__WEBPACK_IMPORTED_MODULE_9__/* .checkIp */ .Cl)({ id: v.exerciseId, ip: ip }); case 6: res = _context.sent; if (!(res.status === 0)) { _context.next = 11; break; } resolve(res); _context.next = 17; break; case 11: if (!(res.status === -5)) { _context.next = 16; break; } (0,umi__WEBPACK_IMPORTED_MODULE_11__.getDvaApp)()._store.dispatch({ type: 'exercise/setActionTabs', payload: { key: 'student-unlock', exerciseParams: { errorMessage: res === null || res === void 0 ? void 0 : res.message, exercise_user_id: v === null || v === void 0 ? void 0 : v.exercise_user_id, id: v.exerciseId, unlockClose: v.unlockClose } } }); return _context.abrupt("return"); case 16: resolve(res); case 17: if (!(v.errmsgHide || hideTip)) { _context.next = 19; break; } return _context.abrupt("return", true); case 19: if (!(res.status === -1)) { _context.next = 24; break; } modal = antd__WEBPACK_IMPORTED_MODULE_20__/* ["default"] */ .Z.info({ title: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_18__.jsxs)(antd__WEBPACK_IMPORTED_MODULE_21__/* ["default"] */ .Z, { children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_18__.jsx)(antd__WEBPACK_IMPORTED_MODULE_22__/* ["default"] */ .Z, { flex: "1", children: "\u63D0\u793A" }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_18__.jsx)(antd__WEBPACK_IMPORTED_MODULE_22__/* ["default"] */ .Z, { children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_18__.jsx)("span", { className: "iconfont icon-yiguanbi1 current c-grey-c", onClick: function onClick() { return modal.destroy(); } }) })] }), icon: null, className: 'custom-modal-divider', content: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_18__.jsx)("div", { className: "font16 p20", children: "\u60A8\u7684IP\u4E0D\u5728\u8003\u8BD5\u5141\u8BB8\u7684\u8303\u56F4\u5185\uFF01" }), okText: '我知道了' }); return _context.abrupt("return", false); case 24: if (!(res.status === -2)) { _context.next = 27; break; } modal = antd__WEBPACK_IMPORTED_MODULE_20__/* ["default"] */ .Z.info({ title: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_18__.jsxs)(antd__WEBPACK_IMPORTED_MODULE_21__/* ["default"] */ .Z, { children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_18__.jsx)(antd__WEBPACK_IMPORTED_MODULE_22__/* ["default"] */ .Z, { flex: "1", children: "\u63D0\u793A" }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_18__.jsx)(antd__WEBPACK_IMPORTED_MODULE_22__/* ["default"] */ .Z, { children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_18__.jsx)("span", { className: "iconfont icon-yiguanbi1 current c-grey-c", onClick: function onClick() { return modal.destroy(); } }) })] }), icon: null, className: 'custom-modal-divider', content: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_18__.jsxs)("div", { className: "font16 p20", children: ["\u60A8\u5DF2\u7ED1\u5B9A\u5F53\u524D\u8003\u8BD5IP\u5730\u5740\uFF1A", /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_18__.jsx)("span", { className: "c-red", children: res.ip }), "\u8BF7\u4F7F\u7528\u8BE5IP\u5730\u5740\u8FDB\u5165\u8003\u8BD5\u3002"] }), okText: '我知道了' }); return _context.abrupt("return", false); case 27: case "end": return _context.stop(); } }, _callee); })); return function (_x3, _x4) { return _ref2.apply(this, arguments); }; }())); case 2: case "end": return _context2.stop(); } }, _callee2); })); return function checkLocalOrPublicIp(_x, _x2) { return _ref.apply(this, arguments); }; }(); var checkDisabledExam = function checkDisabledExam(v) { return new Promise( /*#__PURE__*/function () { var _ref3 = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee3(resolve, reject) { var res; return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee3$(_context3) { while (1) switch (_context3.prev = _context3.next) { case 0: _context3.next = 2; return (0,_service_exercise__WEBPACK_IMPORTED_MODULE_9__/* .checkExam */ .Zg)({ id: v === null || v === void 0 ? void 0 : v.exerciseId, coursesId: v === null || v === void 0 ? void 0 : v.coursesId }); case 2: res = _context3.sent; if (!((res === null || res === void 0 ? void 0 : res.status) === 0)) { _context3.next = 6; break; } resolve(''); return _context3.abrupt("return"); case 6: setTimeout(function () { window.location.reload(); }, 2000); reject(''); case 8: case "end": return _context3.stop(); } }, _callee3); })); return function (_x5, _x6) { return _ref3.apply(this, arguments); }; }()); }; var isKepuKehuan = function isKepuKehuan() { if (location.pathname.indexOf('/classrooms/4RW9CYHY') > -1 || location.pathname.indexOf('/classrooms/qb4ft587') > -1 || location.pathname.indexOf('/classrooms/c5q9bsp2') > -1) { return true; } else { return false; } }; var startExercise = /*#__PURE__*/function () { var _ref4 = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee4(v) { var modal, res, _userInfo2, _userInfo3, _userInfo4; return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee4$(_context4) { while (1) switch (_context4.prev = _context4.next) { case 0: sessionStorage.removeItem("studentunlock"); if (!((location.pathname.indexOf('/classrooms/4RW9CYHY') > -1 || location.pathname.indexOf('/classrooms/qb4ft587') > -1 || location.pathname.indexOf('/classrooms/c5q9bsp2') > -1) && !isPc())) { _context4.next = 4; break; } antd__WEBPACK_IMPORTED_MODULE_20__/* ["default"] */ .Z.info({ content: '请使用电脑参加考试!' }); return _context4.abrupt("return"); case 4: copyTextFuc(" ", true); _context4.next = 7; return checkDisabledExam(v); case 7: if (!(v.ip_limit !== 'no' || v.ip_bind)) { _context4.next = 16; break; } _context4.next = 10; return checkLocalOrPublicIp(v, true); case 10: res = _context4.sent; if (!((res === null || res === void 0 ? void 0 : res.status) !== 0)) { _context4.next = 13; break; } return _context4.abrupt("return"); case 13: if (isChrome()) { _context4.next = 16; break; } antd__WEBPACK_IMPORTED_MODULE_20__/* ["default"] */ .Z.info({ icon: null, okText: '确定', width: 500, content: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_18__.jsxs)("div", { className: "font16", children: ["\u672C\u6B21\u8003\u8BD5\u5DF2\u5F00\u542F\u9632\u4F5C\u5F0A\u8BBE\u7F6E\uFF0C\u4EC5\u652F\u6301", /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_18__.jsx)("span", { className: "c-red", children: "\u8C37\u6B4C" }), "\u3002", /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_18__.jsx)("br", {}), "\u8BF7\u4F7F\u7528", /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_18__.jsx)("span", { className: "c-red", children: "\u8C37\u6B4C" }), "\u6D4F\u89C8\u5668\u5F00\u59CB\u8003\u8BD5\u3002"] }) }); return _context4.abrupt("return"); case 16: if (!(v.open_camera || v.screen_open || v.ip_limit !== 'no' || v.identity_verify)) { _context4.next = 23; break; } if (isChromeOrFirefox()) { _context4.next = 20; break; } antd__WEBPACK_IMPORTED_MODULE_20__/* ["default"] */ .Z.info({ icon: null, okText: '确定', width: 500, content: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_18__.jsxs)("div", { className: "font16", children: ["\u672C\u6B21\u8003\u8BD5\u5DF2\u5F00\u542F\u9632\u4F5C\u5F0A\u8BBE\u7F6E\uFF0C\u4EC5\u652F\u6301", /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_18__.jsx)("span", { className: "c-red", children: "\u8C37\u6B4C" }), "\u3001", /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_18__.jsx)("span", { className: "c-red", children: "\u706B\u72D0" }), "\u6D4F\u89C8\u5668\u3002", /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_18__.jsx)("br", {}), "\u8BF7\u4F7F\u7528", /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_18__.jsx)("span", { className: "c-red", children: "\u8C37\u6B4C" }), "\u3001", /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_18__.jsx)("span", { className: "c-red", children: "\u706B\u72D0" }), "\u6D4F\u89C8\u5668\u5F00\u59CB\u8003\u8BD5\u3002"] }) }); return _context4.abrupt("return", false); case 20: //弹窗里的内容都迁移到考试中间页展示 // modal = Modal.info({ // title: ( // // 考试说明 // // modal.destroy()} // > // // // ), // width: 700, // icon: null, // className: 'custom-modal-divider', // content: ( //
// {v.identity_verify && ( // // // // // // 进入考试前,请允许摄像头授权,授权后需采集照片认证,认证通过并开启手机录制才可以进入考试。 // {!checkIsClientExam() && ( // // 无法调用摄像头? // // )} // // // )} // {v.open_camera && ( // // // // // // 进入考试后,请允许摄像头授权,授权后打开摄像头方可作答! // {!checkIsClientExam() && ( // // 无法调用摄像头? // // )} // // // )} // {v.screen_open && ( // // // // // // 当前考试已开启防切屏,切屏超过{v.screen_num} // 次将强制交卷。(切换到其他页面{v.screen_sec}秒后即判定为一次切屏,{v.screen_sec * 2}秒则判定为2次切屏,以此类推;考试过程中请勿切换到其他页面或退出全屏) // {!checkIsClientExam() && ( // // 浏览器无法自动全屏? // // )} // // // )} // {(v.inner_ip !== '' || v.public_ip !== '') && v.ip_limit !== 'no' && ( // // // // // // 当前考试已开启IP范围限定。IP地址不在范围内不可参加考试。 //
// {!checkIsClientExam() && ( // <> // // (只允许在Chrome谷歌浏览器作答,并且需要安装WebRTC Leak // Prevent插件) // //
// // 如何安装WebRTC Leak Prevent插件? // // // )} // //
// )} // {v.ip_bind && ( // // // // // // 当前考试已启用考试期间IP绑定。当您开始考试后,将自动绑定IP,考试期间只允许使用唯一的IP进入考试。如遇特殊情况,可向老师申请解除IP绑定。 //
// {!checkIsClientExam() && v.ip_limit !== "no" && ( // <> // // (只允许在Chrome谷歌浏览器作答,并且需要安装WebRTC Leak // Prevent插件) // //
// // 如何安装WebRTC Leak Prevent插件? // // // )} // //
// )} //

// // modal.update({ okButtonProps: { disabled: !e.target.checked } }) // } // > // 我已阅读 // //

//
// ), // onOk: () => { // // requestFullScreen(document.body); if (v.open_phone_video_recording) { // history.replace(`/classrooms/${v.coursesId}/exercise/${v.exerciseId}/users/${userInfo()?.login}/check`,{ // hash:"bar" // }) window.location.href = "/classrooms/".concat(v.coursesId, "/exercise/").concat(v.exerciseId, "/users/").concat((_userInfo2 = (0,_utils_authority__WEBPACK_IMPORTED_MODULE_7__/* .userInfo */ .eY)()) === null || _userInfo2 === void 0 ? void 0 : _userInfo2.login, "/check"); } else if (v.identity_verify && v.current_status === 2) { // history.replace(`/classrooms/${v.coursesId}/exercise/${v.exerciseId}/users/${userInfo()?.login}/check`) window.location.href = "/classrooms/".concat(v.coursesId, "/exercise/").concat(v.exerciseId, "/users/").concat((_userInfo3 = (0,_utils_authority__WEBPACK_IMPORTED_MODULE_7__/* .userInfo */ .eY)()) === null || _userInfo3 === void 0 ? void 0 : _userInfo3.login, "/check"); } else { // history.replace(`/classrooms/${v.coursesId}/exercise/${v.exerciseId}/users/${userInfo()?.login}`) window.location.href = "/classrooms/".concat(v.coursesId, "/exercise/").concat(v.exerciseId, "/users/").concat((_userInfo4 = (0,_utils_authority__WEBPACK_IMPORTED_MODULE_7__/* .userInfo */ .eY)()) === null || _userInfo4 === void 0 ? void 0 : _userInfo4.login); } // }, // okText: '进入考试', // okButtonProps: { disabled: true }, // }); _context4.next = 24; break; case 23: if (v.identity_verify && v.current_status === 2) { window.location.href = "/classrooms/".concat(v.coursesId, "/exercise/").concat(v.exerciseId, "/users/").concat(v.login, "/check"); } else { window.location.href = "/classrooms/".concat(v.coursesId, "/exercise/").concat(v.exerciseId, "/users/").concat(v.login); } case 24: case "end": return _context4.stop(); } }, _callee4); })); return function startExercise(_x7) { return _ref4.apply(this, arguments); }; }(); var httpBuildQuery = function httpBuildQuery(queryData, numericPrefix, argSeparator, tempKey) { console.log("param:", queryData); numericPrefix = numericPrefix || null; argSeparator = argSeparator || '&'; tempKey = tempKey || null; if (!queryData) { return ''; } var cleanArray = function cleanArray(actual) { var newArray = new Array(); for (var i = 0; i < actual.length; i++) { if (actual[i]) { newArray.push(actual[i]); } } return newArray; }; var esc = function esc(param) { return encodeURIComponent(param).replace(/[!'()*]/g, escape); // .replace(/%20/g, '+'); }; var isNumeric = function isNumeric(n) { return !isNaN(parseFloat(n)) && isFinite(n); }; var query = Object.keys(queryData).map(function (k) { var res; var key = k; // if (tempKey) { // key = tempKey + '[' + key + ']'; // } if (_typeof(queryData[k]) === 'object' && queryData[k] !== null) { res = httpBuildQuery(queryData[k], null); } else { if (numericPrefix) { key = isNumeric(key) ? numericPrefix + Number(key) : key; } var val = queryData[k]; val = val === true ? '1' : val; val = val === false ? '0' : val; val = val === 0 ? '0' : val; val = val || ''; res = key + '=' + val; } return res; }); return cleanArray(query).join(argSeparator).replace(/[!'()*]/g, escape); }; var parseParamsStr = function parseParamsStr(v, method) { var param = {}; var p = Object.assign(true, v, {}); var arr = []; Object.keys(p).sort().forEach(function (key) { p[key] = p[key] === true ? "true" : p[key]; p[key] = p[key] === false ? "false" : p[key]; if (method === "GET") { if (p[key] !== null) { if (_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_typeof_js__WEBPACK_IMPORTED_MODULE_5___default()(p[key]) === "object" && (!Array.isArray(p[key]) || Array.isArray(p[key]) && !p[key].length)) return; var _key = p[key] === null || p[key] === "null" ? "" : p[key]; arr.push("".concat(key, "=").concat(typeof _key === "string" || typeof _key === "number" ? decodeURIComponent(_key) : JSON.stringify(_key))); } } else { var _key4 = p[key] === null || p[key] === "null" ? "" : p[key]; arr.push("".concat(key, "=").concat(typeof _key4 === "string" || typeof _key4 === "number" ? _key4 : JSON.stringify(_key4))); if (_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_typeof_js__WEBPACK_IMPORTED_MODULE_5___default()(p[key]) === "object") { param[key] = p[key]; } else { param[key] = p[key]; } } }); return arr.join("&").trim(); }; var educationList = [{ name: '博士研究生', id: 8 }, { name: '硕士研究生', id: 7 }, { name: '本科', id: 6 }, { name: '大专', id: 5 }, { name: '中专', id: 4 }, { name: '高中', id: 3 }, { name: '初中', id: 2 }, { name: '小学', id: 1 }, { name: '其他', id: 9 }]; var setHeader = function setHeader(newOptions, url) { var _Object$keys, _Object$keys2; var timenow = Date.now(); var body = typeof (newOptions === null || newOptions === void 0 ? void 0 : newOptions.body) === "string" ? JSON.parse(newOptions === null || newOptions === void 0 ? void 0 : newOptions.body) : newOptions === null || newOptions === void 0 ? void 0 : newOptions.body; var stringToSign = "method=" + newOptions.method + "&" + (newOptions.method === "GET" && !!((_Object$keys = Object.keys((newOptions === null || newOptions === void 0 ? void 0 : newOptions.params) || {})) !== null && _Object$keys !== void 0 && _Object$keys.length) && !!parseParamsStr(newOptions.params, newOptions.method).length ? parseParamsStr(newOptions.params, newOptions.method) + "&" : "") + (!!((_Object$keys2 = Object.keys(body || {})) !== null && _Object$keys2 !== void 0 && _Object$keys2.length) ? parseParamsStr(JSON.parse(newOptions.body), newOptions.method) + "&" : "") + "ak=" + aKey + "&sk=" + sKey + "&time=" + timenow; newOptions.headers["X-EDU-Type"] = "pc"; newOptions.headers["X-EDU-Timestamp"] = timenow; newOptions.headers["X-EDU-Signature"] = md5__WEBPACK_IMPORTED_MODULE_12___default()(stringToSign); if (document.domain.indexOf("educoder.net") > -1) { console.log("stringToSign:", stringToSign, url); } return newOptions; }; var parseUrl = function parseUrl(url) { var pattern = /(\w+)=([^\#&]*)/gi; var parames = {}; url.replace(pattern, function (attr, key, value) { parames[key] = decodeURI(value); }); return parames; }; var messageInfo = function messageInfo(status, date) { var info = { 1: '当前实践项目暂未发布,请联系本课堂教员。', 2: '当前实践项目不存在,请联系本课堂教员。', 3: '当前实践项目面向指定单位开放,请联系本课堂教员。', 4: "\u5F53\u524D\u5B9E\u8DF5\u9879\u76EE\u5C06\u4E8E".concat(date, "\u53D1\u5E03\uFF0C\u8BF7\u7B49\u5F85\u3002") }; var s = info[status]; antd__WEBPACK_IMPORTED_MODULE_19__/* ["default"] */ .ZP.warning(s); }; var base64ToBlob = function base64ToBlob(code, filename) { var _filename$split; // const parts = code.split(';base64,'); // const contentType = parts[0].split(':')[1]; var raw = window.atob(code); var rawLength = raw.length; var uInt8Array = new Uint8Array(rawLength); for (var i = 0; i < rawLength; ++i) { uInt8Array[i] = raw.charCodeAt(i); } return new Blob([uInt8Array], { type: _contentType__WEBPACK_IMPORTED_MODULE_10__/* .contentType */ .F[(_filename$split = filename.split('.')) === null || _filename$split === void 0 ? void 0 : _filename$split[1]] || 'application/octet-stream' }); }; var downloadFile = function downloadFile(fileName, content, filename) { var blob = base64ToBlob(content, filename); // new Blob([content]); if (window.navigator.msSaveOrOpenBlob) { navigator.msSaveBlob(blob, fileName); } else { var link = document.createElement('a'); link.href = window.URL.createObjectURL(blob); link.download = fileName; //此写法兼容可火狐浏览器 document.body.appendChild(link); var evt = document.createEvent('MouseEvents'); evt.initEvent('click', false, false); link.dispatchEvent(evt); document.body.removeChild(link); } }; var trackEvent = function trackEvent(arr) { if (!!arr.length) { try { var _window, _userInfo5; window._czc.push(['_trackEvent'].concat(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_0___default()(arr))); (_window = window) === null || _window === void 0 || _window.gtag('event', arr[1], { event_category: arr[0], event_label: arr[2] || '', value: arr[3] || '', user_id: ((_userInfo5 = (0,_utils_authority__WEBPACK_IMPORTED_MODULE_7__/* .userInfo */ .eY)()) === null || _userInfo5 === void 0 ? void 0 : _userInfo5.login) || '' }); } catch (e) { console.log('trackEvent:err:', e); } } }; var trackEventCustom = function trackEventCustom(arr) { if (!!arr.length) { try { window._czc.push(['_setCustomVar'].concat(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_0___default()(arr))); } catch (e) { console.log('trackEvent:err:', e); } } }; //图片预览 var onPreviewImage = function onPreviewImage(e) { var parentIndexOf = function parentIndexOf(node, parent) { if (node.localName === parent) { return node; } for (var i = 0, n = node; n = n.parentNode; i++) { if (n.localName === parent) { return n; } if (n == document.documentElement) { return false; } //找不到目标父节点,防止死循环 } }; var t = e.target; var dom = parentIndexOf(t, 'a'); if (dom !== null && dom !== void 0 && dom.href) return; if (t.tagName.toUpperCase() === 'IMG') { var url = t.src || t.getAttribute('src'); if (url && url.indexOf('/images/avatars/User') === -1) { e.stopPropagation(); e.preventDefault(); _components_mediator__WEBPACK_IMPORTED_MODULE_14__/* ["default"] */ .Z.publish('preview-image', url); } } }; // 课堂获取目录名 var getCategoryName = function getCategoryName(data, categoryId) { if (data && data != "") { var _data$filter, _res$second_category; var res = data === null || data === void 0 || (_data$filter = data.filter(function (item) { return item.type === location.pathname.split('/')[3]; })) === null || _data$filter === void 0 ? void 0 : _data$filter[0]; if (categoryId) return res === null || res === void 0 || (_res$second_category = res.second_category) === null || _res$second_category === void 0 || (_res$second_category = _res$second_category.filter(function (item) { return item.category_id == categoryId; })) === null || _res$second_category === void 0 || (_res$second_category = _res$second_category[0]) === null || _res$second_category === void 0 ? void 0 : _res$second_category['category_name'];else return res === null || res === void 0 ? void 0 : res['name']; } return null; }; // 绑定手机号码 var bindPhone = function bindPhone(obj) { var modal = antd__WEBPACK_IMPORTED_MODULE_20__/* ["default"] */ .Z.confirm({ title: '完善手机号码', content: '按照有关政策规定,特殊实验需要先绑定手机号才能使用,请先绑定手机号码', okText: '立即绑定', cancelText: '取消', centered: true, onOk: function onOk() { location.href = '/account/secure'; }, onCancel: function onCancel() { modal.destroy(); (obj === null || obj === void 0 ? void 0 : obj.onCancel) && obj.onCancel(); } }); }; //复制文字,支持window换行 var copyTextFuc = function copyTextFuc() { var v = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : ''; var hide = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false; var input = document.createElement('textarea'); input.value = v; document.body.appendChild(input); input.select(); document.execCommand('Copy'); if (!hide) { antd__WEBPACK_IMPORTED_MODULE_19__/* ["default"] */ .ZP.success('复制成功'); } document.body.removeChild(input); }; //获取URl参数 var getJsonFromUrl = function getJsonFromUrl(url) { if (!url) url = window.location.search; if (!url) return {}; var query = url.substring(1); var result = {}; query.split('&').forEach(function (part) { var item = part.split('='); result[item[0]] = decodeURIComponent(item[1]); }); return result; }; // 一维数组转换为二维数组 var arrTrans = function arrTrans(num, arr) { if (!arr) return null; var iconsArr = []; arr.forEach(function (item, index) { var page = Math.floor(index / num); if (!iconsArr[page]) { iconsArr[page] = []; } iconsArr[page].push(item); }); return iconsArr; }; // 设置网页标题 var setDocumentTitle = function setDocumentTitle(title) { if (checkIsClientExam()) { document.title = '头歌考试系统'; } else { document.title = title || (document.domain === "www.educoder.net" ? '头歌实践教学平台' : ""); } }; // 检查是否C/S考试系统端 var checkIsClientExam = function checkIsClientExam() { var _window2; return (_window2 = window) === null || _window2 === void 0 || (_window2 = _window2.localStorage) === null || _window2 === void 0 ? void 0 : _window2.isClientExam; }; // 本地记录排序 var localSort = { setItem: function setItem(key, value, type) { var recordKey = key; var localRecordValue = localStorage.getItem(recordKey); var recordValue = localRecordValue !== null && localRecordValue !== '[object Object]' ? JSON.parse(localRecordValue) : {}; recordValue[type] = value; localStorage.setItem(recordKey, JSON.stringify(recordValue)); }, getItem: function getItem(key, type) { var recordKey = key; var localRecordValue = localStorage.getItem(recordKey); var recordValue = localRecordValue !== null && localRecordValue !== '[object Object]' ? JSON.parse(localRecordValue) : {}; return recordValue[type]; } }; // 图片地址转换 var ImgSrcConvert = function ImgSrcConvert(src) { if (src !== null && src !== void 0 && src.startsWith('http')) { return src; } return _env__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .Z.IMG_SERVER + src; }; // 版本号比对 var compareVersion = function compareVersion(var1) { var var2 = getVersion(); var v1 = var1.split('.'); var v2 = var2.split('.'); var len = Math.max(v1.length, v2.length); while (v1.length < len) { v1.push('0'); } while (v2.length < len) { v2.push('0'); } for (var i = 0; i < len; i++) { var num1 = parseInt(v1[i]); var num2 = parseInt(v2[i]); if (num1 > num2) { return 1; } else if (num1 < num2) { return -1; } } return 0; }; var getVersion = function getVersion() { var agent = navigator.userAgent.toLowerCase(); var version = agent.match(/version\/[\d.]+/gi); if (version) { return version[0].replace(/version\//, ''); } return version; }; var isLocalApp = function isLocalApp() { return navigator.userAgent.indexOf("ExerciseApp") > -1; }; //前端题目随机 function randomArray(array, seed) { var currentIndex = array.length, temporaryValue, randomIndex; seed = seed || 1; var r = function r() { var x = Math.sin(seed++) * 1000; return x - Math.floor(x); }; while (0 !== currentIndex) { randomIndex = Math.floor(r() * currentIndex); currentIndex -= 1; temporaryValue = array[currentIndex]; array[currentIndex] = array[randomIndex]; array[randomIndex] = temporaryValue; } return array; } //设置iframe的pointer-events属性 function pointerEvents(val) { var iframe = document.getElementsByTagName('iframe'); for (var i = 0; i < iframe.length; i++) { iframe[i].style['pointer-events'] = val; } var canvas = document.getElementsByTagName('canvas'); for (var _i = 0; _i < canvas.length; _i++) { canvas[_i].style['pointer-events'] = val; } } var toDataUrl = function toDataUrl(url) { return new Promise(function (resolve, reject) { var xhr = new XMLHttpRequest(); xhr.withCredentials = true; xhr.onload = function () { var reader = new FileReader(); reader.onloadend = function () { resolve(reader.result); }; reader.readAsDataURL(xhr.response); }; xhr.open('GET', url); xhr.responseType = 'blob'; xhr.send(); }); }; //虚拟社区跳转的key var vtrsKey = (_location = location) === null || _location === void 0 || (_location = _location.pathname) === null || _location === void 0 || (_location = _location.split('/')) === null || _location === void 0 ? void 0 : _location[1]; function scrollToTop() { window.scrollTo({ left: 0, top: 0, behavior: 'smooth' }); } var debounce = function debounce(func, delay) { var immediate = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false; var timer; var context = _this; return function () { for (var _len = arguments.length, args = new Array(_len), _key5 = 0; _key5 < _len; _key5++) { args[_key5] = arguments[_key5]; } if (immediate) { func.apply(context, args); immediate = false; return; } clearTimeout(timer); timer = setTimeout(function () { func.apply(context, args); }, delay); }; }; var fontSize = function fontSize(res) { var clientWidth = window.innerWidth || document.documentElement.clientWidth || document.body.clientWidth; if (!clientWidth) return; var fontSize = 100 * (clientWidth / 1920); return res * fontSize; }; //上传组件改变事件 function dealUploadChange(info) { var _info$fileList, _info$file; var list = (_info$fileList = info.fileList) === null || _info$fileList === void 0 ? void 0 : _info$fileList.map(function (e) { var _e$response, _e$response2; return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3___default()(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3___default()({}, e), {}, { status: typeof (e === null || e === void 0 ? void 0 : e.response) === 'string' || (e === null || e === void 0 || (_e$response = e.response) === null || _e$response === void 0 ? void 0 : _e$response.status) === -1 ? 'error' : e.status, response: typeof (e === null || e === void 0 ? void 0 : e.response) === 'string' ? e === null || e === void 0 ? void 0 : e.response : e !== null && e !== void 0 && e.response ? (e === null || e === void 0 ? void 0 : e.response.status) === -1 ? e === null || e === void 0 || (_e$response2 = e.response) === null || _e$response2 === void 0 ? void 0 : _e$response2.message : e === null || e === void 0 ? void 0 : e.response : e === null || e === void 0 ? void 0 : e.response }); }); if (((_info$file = info.file) === null || _info$file === void 0 || (_info$file = _info$file.response) === null || _info$file === void 0 ? void 0 : _info$file.status) === -1) { var _info$file2; antd__WEBPACK_IMPORTED_MODULE_19__/* ["default"] */ .ZP.destroy(); antd__WEBPACK_IMPORTED_MODULE_19__/* ["default"] */ .ZP.warning((_info$file2 = info.file) === null || _info$file2 === void 0 || (_info$file2 = _info$file2.response) === null || _info$file2 === void 0 ? void 0 : _info$file2.message); } return list; } //切割文件名字 function cutFileName() { var str = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : ''; var num = arguments.length > 1 ? arguments[1] : undefined; if (!str) return ''; var lastDotIndex = str.lastIndexOf('.'); var strItem = [str, '']; if (lastDotIndex !== -1 && lastDotIndex !== str.length - 1) { var filename = str.substring(0, lastDotIndex); var extension = str.substring(lastDotIndex + 1); strItem = [filename, extension]; } if (strItem[0].length > num) { var dealStr = strItem[0].slice(0, num) + '...' + strItem[1]; return dealStr; } return str; } //切割名字 function cutName() { var str = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : ''; var num = arguments.length > 1 ? arguments[1] : undefined; var init = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : '--'; if (!str) return init; return (str === null || str === void 0 ? void 0 : str.length) >= num ? (str === null || str === void 0 ? void 0 : str.slice(0, num)) + '...' : str; } //比对时间 function timeContrast(nextStartTime) { if (!!nextStartTime) { return moment__WEBPACK_IMPORTED_MODULE_17___default()().isBefore(moment__WEBPACK_IMPORTED_MODULE_17___default()(nextStartTime)); } return true; } //展示条数 function showTotal(total) { return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_18__.jsxs)("span", { className: "font14 c-grey-333", children: ["\u5171", /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_18__.jsxs)("span", { className: "c-light-primary", children: ["\xA0", total, "\xA0"] }), "\u6761\u6570\u636E"] }); } //随机组卷格式化数据 var formatRandomPaperData = function formatRandomPaperData(originData) { var numberFormatChinese = { 1: '一', 2: '二', 3: '三', 4: '四', 5: '五', 6: '六', 7: '七' }; if (!originData) { return; } var _ref5 = originData || {}, exam = _ref5.exam, single_questions = _ref5.single_questions, multiple_questions = _ref5.multiple_questions, judgement_questions = _ref5.judgement_questions, program_questions = _ref5.program_questions, completion_questions = _ref5.completion_questions, subjective_questions = _ref5.subjective_questions, practical_questions = _ref5.practical_questions, combination_questions = _ref5.combination_questions, bprogram_questions = _ref5.bprogram_questions; var questionData = [_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3___default()({ type: 'SINGLE', name: '单选题' }, single_questions), _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3___default()({ type: 'MULTIPLE', name: '多选题' }, multiple_questions), _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3___default()({ type: 'COMPLETION', name: '填空题' }, completion_questions), _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3___default()({ type: 'JUDGMENT', name: '判断题' }, judgement_questions), _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3___default()({ type: 'SUBJECTIVE', name: '画图题' }, subjective_questions), _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3___default()({ type: 'PROGRAM', name: '编程题' }, program_questions), _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3___default()({ type: 'BPROGRAM', name: '程序填空题' }, bprogram_questions), _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3___default()({ type: 'PRACTICAL', name: '实训题' }, practical_questions), _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3___default()({ type: 'COMBINATION', name: '组合题' }, combination_questions)]; var ids = []; var all_score = 0; var all_questions_count = 0; var questionList = questionData.filter(function (item) { return item.questions_count > 0; }).map(function (item, index) { var _item$questions; (_item$questions = item.questions) === null || _item$questions === void 0 || _item$questions.forEach(function (e) { ids.push(e.id); all_score = all_score + e.score; all_questions_count = all_questions_count + 1; }); return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3___default()(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3___default()({}, item), { number: numberFormatChinese[index + 1] }); }); return { all_questions_count: all_questions_count, all_score: all_score, questionList: questionList, ids: ids, exam: exam }; }; //教学课堂预览专用排序版 var formatRandomPaperDatas = function formatRandomPaperDatas(originData) { var _exam$question_type_p; var numberFormatChinese = { 1: '一', 2: '二', 3: '三', 4: '四', 5: '五', 6: '六', 7: '七' }; if (!originData) { return; } var _ref6 = originData || {}, exam = _ref6.exam, single_questions = _ref6.single_questions, multiple_questions = _ref6.multiple_questions, judgement_questions = _ref6.judgement_questions, program_questions = _ref6.program_questions, completion_questions = _ref6.completion_questions, subjective_questions = _ref6.subjective_questions, practical_questions = _ref6.practical_questions, combination_questions = _ref6.combination_questions, bprogram_questions = _ref6.bprogram_questions; var questionData = [_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3___default()({ type: 'SINGLE', name: '单选题' }, single_questions), _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3___default()({ type: 'MULTIPLE', name: '多选题' }, multiple_questions), _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3___default()({ type: 'COMPLETION', name: '填空题' }, completion_questions), _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3___default()({ type: 'JUDGMENT', name: '判断题' }, judgement_questions), _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3___default()({ type: 'SUBJECTIVE', name: '画图题' }, subjective_questions), _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3___default()({ type: 'PROGRAM', name: '编程题' }, program_questions), _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3___default()({ type: 'BPROGRAM', name: '程序填空题' }, bprogram_questions), _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3___default()({ type: 'PRACTICAL', name: '实训题' }, practical_questions), _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3___default()({ type: 'COMBINATION', name: '组合题' }, combination_questions)]; var items = []; exam === null || exam === void 0 || (_exam$question_type_p = exam.question_type_position) === null || _exam$question_type_p === void 0 || _exam$question_type_p.map(function (item, index) { questionData === null || questionData === void 0 || questionData.map(function (val, jindex) { if (item.type === val.type) { items.push(val); } }); }); // console.log('---', items); var ids = []; var all_score = 0; var all_questions_count = 0; var questionList = items.filter(function (item) { return item.questions_count > 0; }).map(function (item, index) { var _item$questions2; (_item$questions2 = item.questions) === null || _item$questions2 === void 0 || _item$questions2.forEach(function (e) { ids.push(e.id); all_score = all_score + e.score; all_questions_count = all_questions_count + 1; }); return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3___default()(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3___default()({}, item), { number: numberFormatChinese[index + 1] }); }); return { all_questions_count: all_questions_count, all_score: all_score, questionList: questionList, ids: ids, exam: exam }; }; var showInstallWebRtcDoc = function showInstallWebRtcDoc() { return new Promise( /*#__PURE__*/function () { var _ref7 = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee5(resolve, reject) { var res; return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee5$(_context5) { while (1) switch (_context5.prev = _context5.next) { case 0: _context5.next = 2; return (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_16__/* ["default"] */ .ZP)("/api/documents/webrtc_content", { method: "get" }); case 2: res = _context5.sent; antd__WEBPACK_IMPORTED_MODULE_20__/* ["default"] */ .Z.info({ title: "WebRTC插件安装教程", width: "1000px", centered: true, content: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_18__.jsx)("div", { style: { maxHeight: "70vh", overflow: "auto" }, children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_18__.jsx)(_components_RenderHtml__WEBPACK_IMPORTED_MODULE_15__/* ["default"] */ .Z, { value: (res === null || res === void 0 ? void 0 : res.data) || "" }) }) }); resolve(res === null || res === void 0 ? void 0 : res.data); case 5: case "end": return _context5.stop(); } }, _callee5); })); return function (_x8, _x9) { return _ref7.apply(this, arguments); }; }()); }; //转换中文 var toChinesNum = function toChinesNum(num) { var changeNum = ['零', '一', '二', '三', '四', '五', '六', '七', '八', '九']; //changeNum[0] = "零" var unit = ['', '十', '百', '千', '万']; num = parseInt(num); var getWan = function getWan(temp) { var strArr = temp.toString().split('').reverse(); var newNum = ''; for (var i = 0; i < strArr.length; i++) { newNum = (i == 0 && strArr[i] == 0 ? '' : i > 0 && strArr[i] == 0 && strArr[i - 1] == 0 ? '' : changeNum[strArr[i]] + (strArr[i] == 0 ? unit[0] : unit[i])) + newNum; } return newNum; }; var overWan = Math.floor(num / 10000); var noWan = num % 10000; if (noWan.toString().length < 4) noWan = '0' + noWan; return overWan ? getWan(overWan) + '万' + getWan(noWan) : getWan(num); }; var isCurrentUser = function isCurrentUser(userName) { var _userInfo6; return ((_userInfo6 = (0,_utils_authority__WEBPACK_IMPORTED_MODULE_7__/* .userInfo */ .eY)()) === null || _userInfo6 === void 0 ? void 0 : _userInfo6.username) === userName; }; /***/ }), /***/ 28813: /*!*******************************!*\ !*** ./src/utils/validate.ts ***! \*******************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ t: function() { return /* binding */ isValidIP; } /* harmony export */ }); /* unused harmony export isValidIPPrefix */ var isValidIP = function isValidIP(ip) { var reg = /^(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])$/; return reg.test(ip); }; var isValidIPPrefix = function isValidIPPrefix(ip) { var reg = /^(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.$/; return reg.test(ip); }; /***/ }), /***/ 5420: /*!****************************************!*\ !*** ./src/layouts/index.less?modules ***! \****************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__) { "use strict"; // extracted by mini-css-extract-plugin /* harmony default export */ __webpack_exports__.Z = ({"loading":"loading___hdeS1","layoutMainClass":"layoutMainClass___t8btz"}); /***/ }), /***/ 24795: /*!*********************************************************************************************!*\ !*** ./node_modules/_@umijs_renderer-react@4.6.26@@umijs/renderer-react/dist/appContext.js ***! \*********************************************************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ Il: function() { return /* binding */ AppContext; }, /* harmony export */ Ov: function() { return /* binding */ useAppData; }, /* harmony export */ T$: function() { return /* binding */ useRouteProps; } /* harmony export */ }); /* unused harmony exports useSelectedRoutes, useServerLoaderData, useClientLoaderData, useLoaderData */ /* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ 38127); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 59301); /* harmony import */ var react_router_dom__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react-router-dom */ 35338); var _excluded = ["element"]; var AppContext = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createContext({}); function useAppData() { return react__WEBPACK_IMPORTED_MODULE_0__.useContext(AppContext); } function useSelectedRoutes() { var location = (0,react_router_dom__WEBPACK_IMPORTED_MODULE_1__/* .useLocation */ .TH)(); var _useAppData = useAppData(), clientRoutes = _useAppData.clientRoutes; // use `useLocation` get location without `basename`, not need `basename` param var routes = (0,react_router_dom__WEBPACK_IMPORTED_MODULE_1__/* .matchRoutes */ .fp)(clientRoutes, location.pathname); return routes || []; } function useRouteProps() { var _currentRoute$; var currentRoute = useSelectedRoutes().slice(-1); var _ref = ((_currentRoute$ = currentRoute[0]) === null || _currentRoute$ === void 0 ? void 0 : _currentRoute$.route) || {}, _ = _ref.element, props = (0,_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(_ref, _excluded); return props; } // @deprecated Please use `useLoaderData` instead. function useServerLoaderData() { var routes = useSelectedRoutes(); var _useAppData2 = useAppData(), serverLoaderData = _useAppData2.serverLoaderData, basename = _useAppData2.basename; var _React$useState = React.useState(function () { var ret = {}; var has = false; routes.forEach(function (route) { // 多级路由嵌套时,需要合并多级路由 serverLoader 的数据 var routeData = serverLoaderData[route.route.id]; if (routeData) { Object.assign(ret, routeData); has = true; } }); return has ? ret : undefined; }), _React$useState2 = _slicedToArray(_React$useState, 2), data = _React$useState2[0], setData = _React$useState2[1]; React.useEffect(function () { if (!window.__UMI_LOADER_DATA__) { // 支持 ssr 降级,客户端兜底加载 serverLoader 数据 Promise.all(routes.filter(function (route) { return route.route.hasServerLoader; }).map(function (route) { return new Promise(function (resolve) { fetchServerLoader({ id: route.route.id, basename: basename, cb: resolve }); }); })).then(function (datas) { if (datas.length) { var res = {}; datas.forEach(function (data) { Object.assign(res, data); }); setData(res); } }); } }, []); return { data: data }; } // @deprecated Please use `useLoaderData` instead. function useClientLoaderData() { var route = useRouteData(); var appData = useAppData(); return { data: appData.clientLoaderData[route.route.id] }; } function useLoaderData() { var serverLoaderData = useServerLoaderData(); var clientLoaderData = useClientLoaderData(); return { data: _objectSpread(_objectSpread({}, serverLoaderData.data), clientLoaderData.data) }; } /***/ }), /***/ 45649: /*!***************************************************************************************************!*\ !*** ./node_modules/_@umijs_renderer-react@4.6.26@@umijs/renderer-react/dist/link.js + 1 modules ***! \***************************************************************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; // EXPORTS __webpack_require__.d(__webpack_exports__, { Z: function() { return /* binding */ LinkWithPrefetch; } }); // EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/esm/extends.js var esm_extends = __webpack_require__(38329); // EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/esm/objectWithoutProperties.js + 1 modules var objectWithoutProperties = __webpack_require__(38127); // EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/index.js var _react_17_0_2_react = __webpack_require__(59301); // EXTERNAL MODULE: ./node_modules/_react-router-dom@6.3.0@react-router-dom/index.js var _react_router_dom_6_3_0_react_router_dom = __webpack_require__(32451); // EXTERNAL MODULE: ./node_modules/_@umijs_renderer-react@4.6.26@@umijs/renderer-react/dist/appContext.js var appContext = __webpack_require__(24795); // EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/esm/slicedToArray.js + 1 modules var slicedToArray = __webpack_require__(87296); ;// CONCATENATED MODULE: ./node_modules/_@umijs_renderer-react@4.6.26@@umijs/renderer-react/dist/useIntersectionObserver.js function useIntersectionObserver(ref, callback) { var intersectionObserverOptions = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {}; var options = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {}; // check if IntersectionObserver is available if (typeof IntersectionObserver !== 'function') return null; var isIntersectionObserverAvailable = _react_17_0_2_react.useRef(typeof IntersectionObserver === 'function'); var observerRef = _react_17_0_2_react.useRef(null); _react_17_0_2_react.useEffect(function () { if (!ref.current || !isIntersectionObserverAvailable.current || options.disabled) { return; } observerRef.current = new IntersectionObserver(function (_ref) { var _ref2 = (0,slicedToArray/* default */.Z)(_ref, 1), entry = _ref2[0]; callback(entry); }, intersectionObserverOptions); observerRef.current.observe(ref.current); return function () { var _observerRef$current; (_observerRef$current = observerRef.current) === null || _observerRef$current === void 0 || _observerRef$current.disconnect(); }; }, [callback, intersectionObserverOptions, options.disabled, ref]); return observerRef.current; } ;// CONCATENATED MODULE: ./node_modules/_@umijs_renderer-react@4.6.26@@umijs/renderer-react/dist/link.js var _excluded = ["prefetch"]; function useForwardedRef(ref) { var innerRef = _react_17_0_2_react.useRef(null); _react_17_0_2_react.useEffect(function () { if (!ref) return; if (typeof ref === 'function') { ref(innerRef.current); } else { ref.current = innerRef.current; } }); return innerRef; } var LinkWithPrefetch = /*#__PURE__*/_react_17_0_2_react.forwardRef(function (props, forwardedRef) { var _props$to; var prefetchProp = props.prefetch, linkProps = (0,objectWithoutProperties/* default */.Z)(props, _excluded); var _ref = typeof window !== 'undefined' && // @ts-ignore window.__umi_route_prefetch__ || { defaultPrefetch: 'none', defaultPrefetchTimeout: 50 }, defaultPrefetch = _ref.defaultPrefetch, defaultPrefetchTimeout = _ref.defaultPrefetchTimeout; var prefetch = (prefetchProp === true ? 'intent' : prefetchProp === false ? 'none' : prefetchProp) || defaultPrefetch; if (!['intent', 'render', 'viewport', 'none'].includes(prefetch)) { throw new Error("Invalid prefetch value ".concat(prefetch, " found in Link component")); } var appData = (0,appContext/* useAppData */.Ov)(); var to = typeof props.to === 'string' ? props.to : (_props$to = props.to) === null || _props$to === void 0 ? void 0 : _props$to.pathname; var hasRenderFetched = _react_17_0_2_react.useRef(false); var ref = useForwardedRef(forwardedRef); // prefetch intent var handleMouseEnter = function handleMouseEnter(e) { if (prefetch !== 'intent') return; var eventTarget = e.target || {}; if (eventTarget.preloadTimeout) return; eventTarget.preloadTimeout = setTimeout(function () { var _appData$preloadRoute; eventTarget.preloadTimeout = null; (_appData$preloadRoute = appData.preloadRoute) === null || _appData$preloadRoute === void 0 || _appData$preloadRoute.call(appData, to); }, props.prefetchTimeout || defaultPrefetchTimeout); }; var handleMouseLeave = function handleMouseLeave(e) { if (prefetch !== 'intent') return; var eventTarget = e.target || {}; if (eventTarget.preloadTimeout) { clearTimeout(eventTarget.preloadTimeout); eventTarget.preloadTimeout = null; } }; // prefetch render (0,_react_17_0_2_react.useLayoutEffect)(function () { if (prefetch === 'render' && !hasRenderFetched.current) { var _appData$preloadRoute2; (_appData$preloadRoute2 = appData.preloadRoute) === null || _appData$preloadRoute2 === void 0 || _appData$preloadRoute2.call(appData, to); hasRenderFetched.current = true; } }, [prefetch, to]); // prefetch viewport useIntersectionObserver(ref, function (entry) { if (entry !== null && entry !== void 0 && entry.isIntersecting) { var _appData$preloadRoute3; (_appData$preloadRoute3 = appData.preloadRoute) === null || _appData$preloadRoute3 === void 0 || _appData$preloadRoute3.call(appData, to); } }, { rootMargin: '100px' }, { disabled: prefetch !== 'viewport' }); // compatible with old code // which to might be undefined if (!to) return null; return /*#__PURE__*/_react_17_0_2_react.createElement(_react_router_dom_6_3_0_react_router_dom/* Link */.rU, (0,esm_extends/* default */.Z)({ onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, ref: ref }, linkProps), props.children); }); /***/ }), /***/ 91392: /*!****************************************************************************************************!*\ !*** ./node_modules/_antd-dayjs-webpack-plugin@1.0.6@antd-dayjs-webpack-plugin/src/antd-plugin.js ***! \****************************************************************************************************/ /***/ (function(module) { var localeMap = { en_GB: 'en-gb', en_US: 'en', zh_CN: 'zh-cn', zh_TW: 'zh-tw' }; var parseLocale = function parseLocale(locale) { var mapLocale = localeMap[locale]; return mapLocale || locale.split('_')[0]; }; module.exports = function (option, dayjsClass, dayjsFactory) { var oldLocale = dayjsClass.prototype.locale dayjsClass.prototype.locale = function(arg) { if (typeof arg === 'string') { arg = parseLocale(arg) } return oldLocale.call(this, arg) } } /***/ }), /***/ 92806: /*!****************************************************************!*\ !*** ./node_modules/_antd@5.9.0@antd/es/_util/ActionButton.js ***! \****************************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony import */ var rc_util_es_hooks_useState__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! rc-util/es/hooks/useState */ 41799); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ 59301); /* harmony import */ var _button__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../button */ 3113); /* harmony import */ var _button_button__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../button/button */ 67797); "use client"; function isThenable(thing) { return !!(thing && thing.then); } const ActionButton = props => { const { type, children, prefixCls, buttonProps, close, autoFocus, emitEvent, isSilent, quitOnNullishReturnValue, actionFn } = props; const clickedRef = react__WEBPACK_IMPORTED_MODULE_1__.useRef(false); const buttonRef = react__WEBPACK_IMPORTED_MODULE_1__.useRef(null); const [loading, setLoading] = (0,rc_util_es_hooks_useState__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(false); const onInternalClose = function () { close === null || close === void 0 ? void 0 : close.apply(void 0, arguments); }; react__WEBPACK_IMPORTED_MODULE_1__.useEffect(() => { let timeoutId = null; if (autoFocus) { timeoutId = setTimeout(() => { var _a; (_a = buttonRef.current) === null || _a === void 0 ? void 0 : _a.focus(); }); } return () => { if (timeoutId) { clearTimeout(timeoutId); } }; }, []); const handlePromiseOnOk = returnValueOfOnOk => { if (!isThenable(returnValueOfOnOk)) { return; } setLoading(true); returnValueOfOnOk.then(function () { setLoading(false, true); onInternalClose.apply(void 0, arguments); clickedRef.current = false; }, e => { // See: https://github.com/ant-design/ant-design/issues/6183 setLoading(false, true); clickedRef.current = false; // Do not throw if is `await` mode if (isSilent === null || isSilent === void 0 ? void 0 : isSilent()) { return; } return Promise.reject(e); }); }; const onClick = e => { if (clickedRef.current) { return; } clickedRef.current = true; if (!actionFn) { onInternalClose(); return; } let returnValueOfOnOk; if (emitEvent) { returnValueOfOnOk = actionFn(e); if (quitOnNullishReturnValue && !isThenable(returnValueOfOnOk)) { clickedRef.current = false; onInternalClose(e); return; } } else if (actionFn.length) { returnValueOfOnOk = actionFn(close); // https://github.com/ant-design/ant-design/issues/23358 clickedRef.current = false; } else { returnValueOfOnOk = actionFn(); if (!returnValueOfOnOk) { onInternalClose(); return; } } handlePromiseOnOk(returnValueOfOnOk); }; return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__.createElement(_button__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP, Object.assign({}, (0,_button_button__WEBPACK_IMPORTED_MODULE_3__/* .convertLegacyProps */ .n)(type), { onClick: onClick, loading: loading, prefixCls: prefixCls }, buttonProps, { ref: buttonRef }), children); }; /* harmony default export */ __webpack_exports__.Z = (ActionButton); /***/ }), /***/ 53487: /*!*************************************************************!*\ !*** ./node_modules/_antd@5.9.0@antd/es/_util/PurePanel.js ***! \*************************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ Z: function() { return /* binding */ genPurePanel; }, /* harmony export */ i: function() { return /* binding */ withPureRenderTheme; } /* harmony export */ }); /* harmony import */ var rc_util_es_hooks_useMergedState__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! rc-util/es/hooks/useMergedState */ 18929); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ 59301); /* harmony import */ var _config_provider__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../config-provider */ 92736); /* harmony import */ var _config_provider__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../config-provider */ 36355); "use client"; function withPureRenderTheme(Component) { return function PureRenderThemeComponent(props) { return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__.createElement(_config_provider__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP, { theme: { token: { motion: false, zIndexPopupBase: 0 } } }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__.createElement(Component, Object.assign({}, props))); }; } /* istanbul ignore next */ function genPurePanel(Component, defaultPrefixCls, getDropdownCls, postProps) { function PurePanel(props) { const { prefixCls: customizePrefixCls, style } = props; const holderRef = react__WEBPACK_IMPORTED_MODULE_1__.useRef(null); const [popupHeight, setPopupHeight] = react__WEBPACK_IMPORTED_MODULE_1__.useState(0); const [popupWidth, setPopupWidth] = react__WEBPACK_IMPORTED_MODULE_1__.useState(0); const [open, setOpen] = (0,rc_util_es_hooks_useMergedState__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(false, { value: props.open }); const { getPrefixCls } = react__WEBPACK_IMPORTED_MODULE_1__.useContext(_config_provider__WEBPACK_IMPORTED_MODULE_3__/* .ConfigContext */ .E_); const prefixCls = getPrefixCls(defaultPrefixCls || 'select', customizePrefixCls); react__WEBPACK_IMPORTED_MODULE_1__.useEffect(() => { // We do not care about ssr setOpen(true); if (typeof ResizeObserver !== 'undefined') { const resizeObserver = new ResizeObserver(entries => { const element = entries[0].target; setPopupHeight(element.offsetHeight + 8); setPopupWidth(element.offsetWidth); }); const interval = setInterval(() => { var _a; const dropdownCls = getDropdownCls ? `.${getDropdownCls(prefixCls)}` : `.${prefixCls}-dropdown`; const popup = (_a = holderRef.current) === null || _a === void 0 ? void 0 : _a.querySelector(dropdownCls); if (popup) { clearInterval(interval); resizeObserver.observe(popup); } }, 10); return () => { clearInterval(interval); resizeObserver.disconnect(); }; } }, []); let mergedProps = Object.assign(Object.assign({}, props), { style: Object.assign(Object.assign({}, style), { margin: 0 }), open, visible: open, getPopupContainer: () => holderRef.current }); if (postProps) { mergedProps = postProps(mergedProps); } return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__.createElement("div", { ref: holderRef, style: { paddingBottom: popupHeight, position: 'relative', minWidth: popupWidth } }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__.createElement(Component, Object.assign({}, mergedProps))); } return withPureRenderTheme(PurePanel); } /***/ }), /***/ 36785: /*!**********************************************************!*\ !*** ./node_modules/_antd@5.9.0@antd/es/_util/colors.js ***! \**********************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ o2: function() { return /* binding */ isPresetColor; }, /* harmony export */ yT: function() { return /* binding */ isPresetStatusColor; } /* harmony export */ }); /* unused harmony export PresetStatusColorTypes */ /* harmony import */ var _babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/toConsumableArray */ 77654); /* harmony import */ var _theme_interface__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../theme/interface */ 33166); const inverseColors = _theme_interface__WEBPACK_IMPORTED_MODULE_0__/* .PresetColors */ .i.map(color => `${color}-inverse`); const PresetStatusColorTypes = ['success', 'processing', 'error', 'default', 'warning']; /** * determine if the color keyword belongs to the `Ant Design` {@link PresetColors}. * @param color color to be judged * @param includeInverse whether to include reversed colors */ function isPresetColor(color) { let includeInverse = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true; if (includeInverse) { return [].concat((0,_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(inverseColors), (0,_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(_theme_interface__WEBPACK_IMPORTED_MODULE_0__/* .PresetColors */ .i)).includes(color); } return _theme_interface__WEBPACK_IMPORTED_MODULE_0__/* .PresetColors */ .i.includes(color); } function isPresetStatusColor(color) { return PresetStatusColorTypes.includes(color); } /***/ }), /***/ 47729: /*!*********************************************************************!*\ !*** ./node_modules/_antd@5.9.0@antd/es/_util/hooks/useClosable.js ***! \*********************************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ Z: function() { return /* binding */ useClosable; } /* harmony export */ }); /* harmony import */ var _ant_design_icons_es_icons_CloseOutlined__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @ant-design/icons/es/icons/CloseOutlined */ 99267); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 59301); "use client"; function useInnerClosable(closable, closeIcon, defaultClosable) { if (typeof closable === 'boolean') { return closable; } if (closeIcon === undefined) { return !!defaultClosable; } return closeIcon !== false && closeIcon !== null; } function useClosable(closable, closeIcon, customCloseIconRender) { let defaultCloseIcon = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(_ant_design_icons_es_icons_CloseOutlined__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z, null); let defaultClosable = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : false; const mergedClosable = useInnerClosable(closable, closeIcon, defaultClosable); if (!mergedClosable) { return [false, null]; } const mergedCloseIcon = typeof closeIcon === 'boolean' || closeIcon === undefined || closeIcon === null ? defaultCloseIcon : closeIcon; return [true, customCloseIconRender ? customCloseIconRender(mergedCloseIcon) : mergedCloseIcon]; } /***/ }), /***/ 62892: /*!**********************************************************!*\ !*** ./node_modules/_antd@5.9.0@antd/es/_util/motion.js ***! \**********************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ m: function() { return /* binding */ getTransitionName; } /* harmony export */ }); // ================== Collapse Motion ================== const getCollapsedHeight = () => ({ height: 0, opacity: 0 }); const getRealHeight = node => { const { scrollHeight } = node; return { height: scrollHeight, opacity: 1 }; }; const getCurrentHeight = node => ({ height: node ? node.offsetHeight : 0 }); const skipOpacityTransition = (_, event) => (event === null || event === void 0 ? void 0 : event.deadline) === true || event.propertyName === 'height'; const initCollapseMotion = function () { let rootCls = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'ant'; return { motionName: `${rootCls}-motion-collapse`, onAppearStart: getCollapsedHeight, onEnterStart: getCollapsedHeight, onAppearActive: getRealHeight, onEnterActive: getRealHeight, onLeaveStart: getCurrentHeight, onLeaveActive: getCollapsedHeight, onAppearEnd: skipOpacityTransition, onEnterEnd: skipOpacityTransition, onLeaveEnd: skipOpacityTransition, motionDeadline: 500 }; }; const SelectPlacements = (/* unused pure expression or super */ null && (['bottomLeft', 'bottomRight', 'topLeft', 'topRight'])); const getTransitionName = (rootPrefixCls, motion, transitionName) => { if (transitionName !== undefined) { return transitionName; } return `${rootPrefixCls}-${motion}`; }; /* harmony default export */ __webpack_exports__.Z = (initCollapseMotion); /***/ }), /***/ 79676: /*!**************************************************************!*\ !*** ./node_modules/_antd@5.9.0@antd/es/_util/placements.js ***! \**************************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ Z: function() { return /* binding */ getPlacements; } /* harmony export */ }); /* unused harmony export getOverflowOptions */ /* harmony import */ var _style_placementArrow__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../style/placementArrow */ 19447); function getOverflowOptions(placement, arrowOffset, arrowWidth, autoAdjustOverflow) { if (autoAdjustOverflow === false) { return { adjustX: false, adjustY: false }; } const overflow = autoAdjustOverflow && typeof autoAdjustOverflow === 'object' ? autoAdjustOverflow : {}; const baseOverflow = {}; switch (placement) { case 'top': case 'bottom': baseOverflow.shiftX = arrowOffset.dropdownArrowOffset * 2 + arrowWidth; break; case 'left': case 'right': baseOverflow.shiftY = arrowOffset.dropdownArrowOffsetVertical * 2 + arrowWidth; break; } const mergedOverflow = Object.assign(Object.assign({}, baseOverflow), overflow); // Support auto shift if (!mergedOverflow.shiftX) { mergedOverflow.adjustX = true; } if (!mergedOverflow.shiftY) { mergedOverflow.adjustY = true; } return mergedOverflow; } const PlacementAlignMap = { left: { points: ['cr', 'cl'] }, right: { points: ['cl', 'cr'] }, top: { points: ['bc', 'tc'] }, bottom: { points: ['tc', 'bc'] }, topLeft: { points: ['bl', 'tl'] }, leftTop: { points: ['tr', 'tl'] }, topRight: { points: ['br', 'tr'] }, rightTop: { points: ['tl', 'tr'] }, bottomRight: { points: ['tr', 'br'] }, rightBottom: { points: ['bl', 'br'] }, bottomLeft: { points: ['tl', 'bl'] }, leftBottom: { points: ['br', 'bl'] } }; const ArrowCenterPlacementAlignMap = { topLeft: { points: ['bl', 'tc'] }, leftTop: { points: ['tr', 'cl'] }, topRight: { points: ['br', 'tc'] }, rightTop: { points: ['tl', 'cr'] }, bottomRight: { points: ['tr', 'bc'] }, rightBottom: { points: ['bl', 'cr'] }, bottomLeft: { points: ['tl', 'bc'] }, leftBottom: { points: ['br', 'cl'] } }; const DisableAutoArrowList = new Set(['topLeft', 'topRight', 'bottomLeft', 'bottomRight', 'leftTop', 'leftBottom', 'rightTop', 'rightBottom']); function getPlacements(config) { const { arrowWidth, autoAdjustOverflow, arrowPointAtCenter, offset, borderRadius, visibleFirst } = config; const halfArrowWidth = arrowWidth / 2; const placementMap = {}; Object.keys(PlacementAlignMap).forEach(key => { const template = arrowPointAtCenter && ArrowCenterPlacementAlignMap[key] || PlacementAlignMap[key]; const placementInfo = Object.assign(Object.assign({}, template), { offset: [0, 0] }); placementMap[key] = placementInfo; // Disable autoArrow since design is fixed position if (DisableAutoArrowList.has(key)) { placementInfo.autoArrow = false; } // Static offset switch (key) { case 'top': case 'topLeft': case 'topRight': placementInfo.offset[1] = -halfArrowWidth - offset; break; case 'bottom': case 'bottomLeft': case 'bottomRight': placementInfo.offset[1] = halfArrowWidth + offset; break; case 'left': case 'leftTop': case 'leftBottom': placementInfo.offset[0] = -halfArrowWidth - offset; break; case 'right': case 'rightTop': case 'rightBottom': placementInfo.offset[0] = halfArrowWidth + offset; break; } // Dynamic offset const arrowOffset = (0,_style_placementArrow__WEBPACK_IMPORTED_MODULE_0__/* .getArrowOffset */ .fS)({ contentRadius: borderRadius, limitVerticalRadius: true }); if (arrowPointAtCenter) { switch (key) { case 'topLeft': case 'bottomLeft': placementInfo.offset[0] = -arrowOffset.dropdownArrowOffset - halfArrowWidth; break; case 'topRight': case 'bottomRight': placementInfo.offset[0] = arrowOffset.dropdownArrowOffset + halfArrowWidth; break; case 'leftTop': case 'rightTop': placementInfo.offset[1] = -arrowOffset.dropdownArrowOffset - halfArrowWidth; break; case 'leftBottom': case 'rightBottom': placementInfo.offset[1] = arrowOffset.dropdownArrowOffset + halfArrowWidth; break; } } // Overflow placementInfo.overflow = getOverflowOptions(key, arrowOffset, arrowWidth, autoAdjustOverflow); // VisibleFirst if (visibleFirst) { placementInfo.htmlRegion = 'visibleFirst'; } }); return placementMap; } /***/ }), /***/ 92343: /*!*************************************************************!*\ !*** ./node_modules/_antd@5.9.0@antd/es/_util/reactNode.js ***! \*************************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; var react__WEBPACK_IMPORTED_MODULE_0___namespace_cache; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ M2: function() { return /* binding */ isFragment; }, /* harmony export */ Tm: function() { return /* binding */ cloneElement; }, /* harmony export */ l$: function() { return /* binding */ isValidElement; }, /* harmony export */ wm: function() { return /* binding */ replaceElement; } /* harmony export */ }); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 59301); const { isValidElement } = /*#__PURE__*/ (react__WEBPACK_IMPORTED_MODULE_0___namespace_cache || (react__WEBPACK_IMPORTED_MODULE_0___namespace_cache = __webpack_require__.t(react__WEBPACK_IMPORTED_MODULE_0__, 2))); function isFragment(child) { return child && isValidElement(child) && child.type === react__WEBPACK_IMPORTED_MODULE_0__.Fragment; } function replaceElement(element, replacement, props) { if (!isValidElement(element)) { return replacement; } return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.cloneElement(element, typeof props === 'function' ? props(element.props || {}) : props); } function cloneElement(element, props) { return replaceElement(element, element, props); } /***/ }), /***/ 69507: /*!**********************************************************************!*\ !*** ./node_modules/_antd@5.9.0@antd/es/_util/responsiveObserver.js ***! \**********************************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ ZP: function() { return /* binding */ useResponsiveObserver; }, /* harmony export */ c4: function() { return /* binding */ responsiveArray; } /* harmony export */ }); /* unused harmony export matchScreen */ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 59301); /* harmony import */ var _theme_internal__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../theme/internal */ 70305); const responsiveArray = ['xxl', 'xl', 'lg', 'md', 'sm', 'xs']; const getResponsiveMap = token => ({ xs: `(max-width: ${token.screenXSMax}px)`, sm: `(min-width: ${token.screenSM}px)`, md: `(min-width: ${token.screenMD}px)`, lg: `(min-width: ${token.screenLG}px)`, xl: `(min-width: ${token.screenXL}px)`, xxl: `(min-width: ${token.screenXXL}px)` }); /** * Ensures that the breakpoints token are valid, in good order * For each breakpoint : screenMin <= screen <= screenMax and screenMax <= nextScreenMin */ const validateBreakpoints = token => { const indexableToken = token; const revBreakpoints = [].concat(responsiveArray).reverse(); revBreakpoints.forEach((breakpoint, i) => { const breakpointUpper = breakpoint.toUpperCase(); const screenMin = `screen${breakpointUpper}Min`; const screen = `screen${breakpointUpper}`; if (!(indexableToken[screenMin] <= indexableToken[screen])) { throw new Error(`${screenMin}<=${screen} fails : !(${indexableToken[screenMin]}<=${indexableToken[screen]})`); } if (i < revBreakpoints.length - 1) { const screenMax = `screen${breakpointUpper}Max`; if (!(indexableToken[screen] <= indexableToken[screenMax])) { throw new Error(`${screen}<=${screenMax} fails : !(${indexableToken[screen]}<=${indexableToken[screenMax]})`); } const nextBreakpointUpperMin = revBreakpoints[i + 1].toUpperCase(); const nextScreenMin = `screen${nextBreakpointUpperMin}Min`; if (!(indexableToken[screenMax] <= indexableToken[nextScreenMin])) { throw new Error(`${screenMax}<=${nextScreenMin} fails : !(${indexableToken[screenMax]}<=${indexableToken[nextScreenMin]})`); } } }); return token; }; function useResponsiveObserver() { const [, token] = (0,_theme_internal__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(); const responsiveMap = getResponsiveMap(validateBreakpoints(token)); // To avoid repeat create instance, we add `useMemo` here. return react__WEBPACK_IMPORTED_MODULE_0__.useMemo(() => { const subscribers = new Map(); let subUid = -1; let screens = {}; return { matchHandlers: {}, dispatch(pointMap) { screens = pointMap; subscribers.forEach(func => func(screens)); return subscribers.size >= 1; }, subscribe(func) { if (!subscribers.size) this.register(); subUid += 1; subscribers.set(subUid, func); func(screens); return subUid; }, unsubscribe(paramToken) { subscribers.delete(paramToken); if (!subscribers.size) this.unregister(); }, unregister() { Object.keys(responsiveMap).forEach(screen => { const matchMediaQuery = responsiveMap[screen]; const handler = this.matchHandlers[matchMediaQuery]; handler === null || handler === void 0 ? void 0 : handler.mql.removeListener(handler === null || handler === void 0 ? void 0 : handler.listener); }); subscribers.clear(); }, register() { Object.keys(responsiveMap).forEach(screen => { const matchMediaQuery = responsiveMap[screen]; const listener = _ref => { let { matches } = _ref; this.dispatch(Object.assign(Object.assign({}, screens), { [screen]: matches })); }; const mql = window.matchMedia(matchMediaQuery); mql.addListener(listener); this.matchHandlers[matchMediaQuery] = { mql, listener }; listener(mql); }); }, responsiveMap }; }, [token]); } const matchScreen = (screens, screenSizes) => { if (screenSizes && typeof screenSizes === 'object') { for (let i = 0; i < responsiveArray.length; i++) { const breakpoint = responsiveArray[i]; if (screens[breakpoint] && screenSizes[breakpoint] !== undefined) { return screenSizes[breakpoint]; } } } }; /***/ }), /***/ 14088: /*!**************************************************************************!*\ !*** ./node_modules/_antd@5.9.0@antd/es/_util/wave/index.js + 4 modules ***! \**************************************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; // EXPORTS __webpack_require__.d(__webpack_exports__, { Z: function() { return /* binding */ wave; } }); // EXTERNAL MODULE: ./node_modules/_classnames@2.5.1@classnames/index.js var _classnames_2_5_1_classnames = __webpack_require__(92310); var _classnames_2_5_1_classnames_default = /*#__PURE__*/__webpack_require__.n(_classnames_2_5_1_classnames); // EXTERNAL MODULE: ./node_modules/_rc-util@5.44.4@rc-util/es/ref.js var es_ref = __webpack_require__(8654); // EXTERNAL MODULE: ./node_modules/_rc-util@5.44.4@rc-util/es/Dom/isVisible.js var isVisible = __webpack_require__(29194); // EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/index.js var _react_17_0_2_react = __webpack_require__(59301); // EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/config-provider/context.js var context = __webpack_require__(36355); // EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/_util/reactNode.js var reactNode = __webpack_require__(92343); // EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/theme/util/genComponentStyleHook.js var genComponentStyleHook = __webpack_require__(83116); ;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/_util/wave/style.js const genWaveStyle = token => { const { componentCls, colorPrimary } = token; return { [componentCls]: { position: 'absolute', background: 'transparent', pointerEvents: 'none', boxSizing: 'border-box', color: `var(--wave-color, ${colorPrimary})`, boxShadow: `0 0 0 0 currentcolor`, opacity: 0.2, // =================== Motion =================== '&.wave-motion-appear': { transition: [`box-shadow 0.4s ${token.motionEaseOutCirc}`, `opacity 2s ${token.motionEaseOutCirc}`].join(','), '&-active': { boxShadow: `0 0 0 6px currentcolor`, opacity: 0 }, '&.wave-quick': { transition: [`box-shadow 0.3s ${token.motionEaseInOut}`, `opacity 0.35s ${token.motionEaseInOut}`].join(',') } } } }; }; /* harmony default export */ var style = ((0,genComponentStyleHook/* default */.Z)('Wave', token => [genWaveStyle(token)])); // EXTERNAL MODULE: ./node_modules/_rc-util@5.44.4@rc-util/es/index.js var es = __webpack_require__(70425); // EXTERNAL MODULE: ./node_modules/_rc-util@5.44.4@rc-util/es/raf.js var raf = __webpack_require__(16089); // EXTERNAL MODULE: ./node_modules/_rc-motion@2.9.5@rc-motion/es/index.js + 13 modules var _rc_motion_2_9_5_rc_motion_es = __webpack_require__(77900); // EXTERNAL MODULE: ./node_modules/_rc-util@5.44.4@rc-util/es/React/render.js var render = __webpack_require__(1585); ;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/_util/wave/util.js function isNotGrey(color) { // eslint-disable-next-line no-useless-escape const match = (color || '').match(/rgba?\((\d*), (\d*), (\d*)(, [\d.]*)?\)/); if (match && match[1] && match[2] && match[3]) { return !(match[1] === match[2] && match[2] === match[3]); } return true; } function isValidWaveColor(color) { return color && color !== '#fff' && color !== '#ffffff' && color !== 'rgb(255, 255, 255)' && color !== 'rgba(255, 255, 255, 1)' && isNotGrey(color) && !/rgba\((?:\d*, ){3}0\)/.test(color) && // any transparent rgba color color !== 'transparent'; } function getTargetWaveColor(node) { const { borderTopColor, borderColor, backgroundColor } = getComputedStyle(node); if (isValidWaveColor(borderTopColor)) { return borderTopColor; } if (isValidWaveColor(borderColor)) { return borderColor; } if (isValidWaveColor(backgroundColor)) { return backgroundColor; } return null; } // EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/_util/wave/interface.js var wave_interface = __webpack_require__(4572); ;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/_util/wave/WaveEffect.js "use client"; function validateNum(value) { return Number.isNaN(value) ? 0 : value; } const WaveEffect = props => { const { className, target, component } = props; const divRef = _react_17_0_2_react.useRef(null); const [color, setWaveColor] = _react_17_0_2_react.useState(null); const [borderRadius, setBorderRadius] = _react_17_0_2_react.useState([]); const [left, setLeft] = _react_17_0_2_react.useState(0); const [top, setTop] = _react_17_0_2_react.useState(0); const [width, setWidth] = _react_17_0_2_react.useState(0); const [height, setHeight] = _react_17_0_2_react.useState(0); const [enabled, setEnabled] = _react_17_0_2_react.useState(false); const waveStyle = { left, top, width, height, borderRadius: borderRadius.map(radius => `${radius}px`).join(' ') }; if (color) { waveStyle['--wave-color'] = color; } function syncPos() { const nodeStyle = getComputedStyle(target); // Get wave color from target setWaveColor(getTargetWaveColor(target)); const isStatic = nodeStyle.position === 'static'; // Rect const { borderLeftWidth, borderTopWidth } = nodeStyle; setLeft(isStatic ? target.offsetLeft : validateNum(-parseFloat(borderLeftWidth))); setTop(isStatic ? target.offsetTop : validateNum(-parseFloat(borderTopWidth))); setWidth(target.offsetWidth); setHeight(target.offsetHeight); // Get border radius const { borderTopLeftRadius, borderTopRightRadius, borderBottomLeftRadius, borderBottomRightRadius } = nodeStyle; setBorderRadius([borderTopLeftRadius, borderTopRightRadius, borderBottomRightRadius, borderBottomLeftRadius].map(radius => validateNum(parseFloat(radius)))); } _react_17_0_2_react.useEffect(() => { if (target) { // We need delay to check position here // since UI may change after click const id = (0,raf/* default */.Z)(() => { syncPos(); setEnabled(true); }); // Add resize observer to follow size let resizeObserver; if (typeof ResizeObserver !== 'undefined') { resizeObserver = new ResizeObserver(syncPos); resizeObserver.observe(target); } return () => { raf/* default */.Z.cancel(id); resizeObserver === null || resizeObserver === void 0 ? void 0 : resizeObserver.disconnect(); }; } }, []); if (!enabled) { return null; } const isSmallComponent = (component === 'Checkbox' || component === 'Radio') && (target === null || target === void 0 ? void 0 : target.classList.contains(wave_interface/* TARGET_CLS */.A)); return /*#__PURE__*/_react_17_0_2_react.createElement(_rc_motion_2_9_5_rc_motion_es["default"], { visible: true, motionAppear: true, motionName: "wave-motion", motionDeadline: 5000, onAppearEnd: (_, event) => { var _a; if (event.deadline || event.propertyName === 'opacity') { const holder = (_a = divRef.current) === null || _a === void 0 ? void 0 : _a.parentElement; (0,render/* unmount */.v)(holder).then(() => { holder === null || holder === void 0 ? void 0 : holder.remove(); }); } return false; } }, _ref => { let { className: motionClassName } = _ref; return /*#__PURE__*/_react_17_0_2_react.createElement("div", { ref: divRef, className: _classnames_2_5_1_classnames_default()(className, { 'wave-quick': isSmallComponent }, motionClassName), style: waveStyle }); }); }; const showWaveEffect = (target, info) => { var _a; const { component } = info; // Skip for unchecked checkbox if (component === 'Checkbox' && !((_a = target.querySelector('input')) === null || _a === void 0 ? void 0 : _a.checked)) { return; } // Create holder const holder = document.createElement('div'); holder.style.position = 'absolute'; holder.style.left = '0px'; holder.style.top = '0px'; target === null || target === void 0 ? void 0 : target.insertBefore(holder, target === null || target === void 0 ? void 0 : target.firstChild); (0,render/* render */.s)( /*#__PURE__*/_react_17_0_2_react.createElement(WaveEffect, Object.assign({}, info, { target: target })), holder); }; /* harmony default export */ var wave_WaveEffect = (showWaveEffect); // EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/theme/useToken.js var useToken = __webpack_require__(70305); ;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/_util/wave/useWave.js function useWave(nodeRef, className, component) { const { wave } = _react_17_0_2_react.useContext(context/* ConfigContext */.E_); const [, token, hashId] = (0,useToken/* default */.Z)(); const showWave = (0,es.useEvent)(event => { const node = nodeRef.current; if ((wave === null || wave === void 0 ? void 0 : wave.disabled) || !node) { return; } const targetNode = node.querySelector(`.${wave_interface/* TARGET_CLS */.A}`) || node; const { showEffect } = wave || {}; // Customize wave effect (showEffect || wave_WaveEffect)(targetNode, { className, token, component, event, hashId }); }); const rafId = _react_17_0_2_react.useRef(); // Merge trigger event into one for each frame const showDebounceWave = event => { raf/* default */.Z.cancel(rafId.current); rafId.current = (0,raf/* default */.Z)(() => { showWave(event); }); }; return showDebounceWave; } ;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/_util/wave/index.js const Wave = props => { const { children, disabled, component } = props; const { getPrefixCls } = (0,_react_17_0_2_react.useContext)(context/* ConfigContext */.E_); const containerRef = (0,_react_17_0_2_react.useRef)(null); // ============================== Style =============================== const prefixCls = getPrefixCls('wave'); const [, hashId] = style(prefixCls); // =============================== Wave =============================== const showWave = useWave(containerRef, _classnames_2_5_1_classnames_default()(prefixCls, hashId), component); // ============================== Effect ============================== _react_17_0_2_react.useEffect(() => { const node = containerRef.current; if (!node || node.nodeType !== 1 || disabled) { return; } // Click handler const onClick = e => { // Fix radio button click twice if (!(0,isVisible/* default */.Z)(e.target) || // No need wave !node.getAttribute || node.getAttribute('disabled') || node.disabled || node.className.includes('disabled') || node.className.includes('-leave')) { return; } showWave(e); }; // Bind events node.addEventListener('click', onClick, true); return () => { node.removeEventListener('click', onClick, true); }; }, [disabled]); // ============================== Render ============================== if (! /*#__PURE__*/_react_17_0_2_react.isValidElement(children)) { return children !== null && children !== void 0 ? children : null; } const ref = (0,es_ref/* supportRef */.Yr)(children) ? (0,es_ref/* composeRef */.sQ)(children.ref, containerRef) : containerRef; return (0,reactNode/* cloneElement */.Tm)(children, { ref }); }; if (false) {} /* harmony default export */ var wave = (Wave); /***/ }), /***/ 4572: /*!******************************************************************!*\ !*** ./node_modules/_antd@5.9.0@antd/es/_util/wave/interface.js ***! \******************************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ A: function() { return /* binding */ TARGET_CLS; } /* harmony export */ }); const TARGET_CLS = 'ant-wave-target'; /***/ }), /***/ 67797: /*!***********************************************************************!*\ !*** ./node_modules/_antd@5.9.0@antd/es/button/button.js + 8 modules ***! \***********************************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; // EXPORTS __webpack_require__.d(__webpack_exports__, { n: function() { return /* binding */ convertLegacyProps; }, Z: function() { return /* binding */ button_button; } }); // EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/index.js var _react_17_0_2_react = __webpack_require__(59301); // EXTERNAL MODULE: ./node_modules/_classnames@2.5.1@classnames/index.js var _classnames_2_5_1_classnames = __webpack_require__(92310); var _classnames_2_5_1_classnames_default = /*#__PURE__*/__webpack_require__.n(_classnames_2_5_1_classnames); // EXTERNAL MODULE: ./node_modules/_rc-util@5.44.4@rc-util/es/omit.js var omit = __webpack_require__(2738); // EXTERNAL MODULE: ./node_modules/_rc-util@5.44.4@rc-util/es/ref.js var es_ref = __webpack_require__(8654); // EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/_util/wave/index.js + 4 modules var wave = __webpack_require__(14088); // EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/config-provider/context.js var context = __webpack_require__(36355); // EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/config-provider/DisabledContext.js var DisabledContext = __webpack_require__(1684); // EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/config-provider/hooks/useSize.js var useSize = __webpack_require__(19716); // EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/space/Compact.js var Compact = __webpack_require__(33234); // EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/theme/useToken.js var useToken = __webpack_require__(70305); ;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/button/button-group.js "use client"; var __rest = undefined && undefined.__rest || function (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; }; const GroupSizeContext = /*#__PURE__*/_react_17_0_2_react.createContext(undefined); const ButtonGroup = props => { const { getPrefixCls, direction } = _react_17_0_2_react.useContext(context/* ConfigContext */.E_); const { prefixCls: customizePrefixCls, size, className } = props, others = __rest(props, ["prefixCls", "size", "className"]); const prefixCls = getPrefixCls('btn-group', customizePrefixCls); const [,, hashId] = (0,useToken/* default */.Z)(); let sizeCls = ''; switch (size) { case 'large': sizeCls = 'lg'; break; case 'small': sizeCls = 'sm'; break; case 'middle': case undefined: break; default: false ? 0 : void 0; } const classes = _classnames_2_5_1_classnames_default()(prefixCls, { [`${prefixCls}-${sizeCls}`]: sizeCls, [`${prefixCls}-rtl`]: direction === 'rtl' }, className, hashId); return /*#__PURE__*/_react_17_0_2_react.createElement(GroupSizeContext.Provider, { value: size }, /*#__PURE__*/_react_17_0_2_react.createElement("div", Object.assign({}, others, { className: classes }))); }; /* harmony default export */ var button_group = (ButtonGroup); // EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/_util/reactNode.js var reactNode = __webpack_require__(92343); ;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/button/buttonHelpers.js "use client"; const rxTwoCNChar = /^[\u4e00-\u9fa5]{2}$/; const isTwoCNChar = rxTwoCNChar.test.bind(rxTwoCNChar); function isString(str) { return typeof str === 'string'; } function isUnBorderedButtonType(type) { return type === 'text' || type === 'link'; } function splitCNCharsBySpace(child, needInserted) { if (child === null || child === undefined) { return; } const SPACE = needInserted ? ' ' : ''; if (typeof child !== 'string' && typeof child !== 'number' && isString(child.type) && isTwoCNChar(child.props.children)) { return (0,reactNode/* cloneElement */.Tm)(child, { children: child.props.children.split('').join(SPACE) }); } if (isString(child)) { return isTwoCNChar(child) ? /*#__PURE__*/_react_17_0_2_react.createElement("span", null, child.split('').join(SPACE)) : /*#__PURE__*/_react_17_0_2_react.createElement("span", null, child); } if ((0,reactNode/* isFragment */.M2)(child)) { return /*#__PURE__*/_react_17_0_2_react.createElement("span", null, child); } return child; } function spaceChildren(children, needInserted) { let isPrevChildPure = false; const childList = []; _react_17_0_2_react.Children.forEach(children, child => { const type = typeof child; const isCurrentChildPure = type === 'string' || type === 'number'; if (isPrevChildPure && isCurrentChildPure) { const lastIndex = childList.length - 1; const lastChild = childList[lastIndex]; childList[lastIndex] = `${lastChild}${child}`; } else { childList.push(child); } isPrevChildPure = isCurrentChildPure; }); return _react_17_0_2_react.Children.map(childList, child => splitCNCharsBySpace(child, needInserted)); } const ButtonTypes = (/* unused pure expression or super */ null && (['default', 'primary', 'dashed', 'link', 'text'])); const ButtonShapes = (/* unused pure expression or super */ null && (['default', 'circle', 'round'])); const ButtonHTMLTypes = (/* unused pure expression or super */ null && (['submit', 'button', 'reset'])); ;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/button/IconWrapper.js "use client"; const IconWrapper = /*#__PURE__*/(0,_react_17_0_2_react.forwardRef)((props, ref) => { const { className, style, children, prefixCls } = props; const iconWrapperCls = _classnames_2_5_1_classnames_default()(`${prefixCls}-icon`, className); return /*#__PURE__*/_react_17_0_2_react.createElement("span", { ref: ref, className: iconWrapperCls, style: style }, children); }); /* harmony default export */ var button_IconWrapper = (IconWrapper); // EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.6.1@@ant-design/icons/es/icons/LoadingOutlined.js + 1 modules var LoadingOutlined = __webpack_require__(58617); // EXTERNAL MODULE: ./node_modules/_rc-motion@2.9.5@rc-motion/es/index.js + 13 modules var es = __webpack_require__(77900); ;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/button/LoadingIcon.js "use client"; const InnerLoadingIcon = /*#__PURE__*/(0,_react_17_0_2_react.forwardRef)((_ref, ref) => { let { prefixCls, className, style, iconClassName } = _ref; const mergedIconCls = _classnames_2_5_1_classnames_default()(`${prefixCls}-loading-icon`, className); return /*#__PURE__*/_react_17_0_2_react.createElement(button_IconWrapper, { prefixCls: prefixCls, className: mergedIconCls, style: style, ref: ref }, /*#__PURE__*/_react_17_0_2_react.createElement(LoadingOutlined/* default */.Z, { className: iconClassName })); }); const getCollapsedWidth = () => ({ width: 0, opacity: 0, transform: 'scale(0)' }); const getRealWidth = node => ({ width: node.scrollWidth, opacity: 1, transform: 'scale(1)' }); const LoadingIcon = props => { const { prefixCls, loading, existIcon, className, style } = props; const visible = !!loading; if (existIcon) { return /*#__PURE__*/_react_17_0_2_react.createElement(InnerLoadingIcon, { prefixCls: prefixCls, className: className, style: style }); } return /*#__PURE__*/_react_17_0_2_react.createElement(es["default"], { visible: visible, // We do not really use this motionName motionName: `${prefixCls}-loading-icon-motion`, removeOnLeave: true, onAppearStart: getCollapsedWidth, onAppearActive: getRealWidth, onEnterStart: getCollapsedWidth, onEnterActive: getRealWidth, onLeaveStart: getRealWidth, onLeaveActive: getCollapsedWidth }, (_ref2, ref) => { let { className: motionCls, style: motionStyle } = _ref2; return /*#__PURE__*/_react_17_0_2_react.createElement(InnerLoadingIcon, { prefixCls: prefixCls, className: className, style: Object.assign(Object.assign({}, style), motionStyle), ref: ref, iconClassName: motionCls }); }); }; /* harmony default export */ var button_LoadingIcon = (LoadingIcon); // EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/style/index.js var style = __webpack_require__(17313); // EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/theme/util/statistic.js var statistic = __webpack_require__(37613); // EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/theme/util/genComponentStyleHook.js var genComponentStyleHook = __webpack_require__(83116); ;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/button/style/group.js const genButtonBorderStyle = (buttonTypeCls, borderColor) => ({ // Border [`> span, > ${buttonTypeCls}`]: { '&:not(:last-child)': { [`&, & > ${buttonTypeCls}`]: { '&:not(:disabled)': { borderInlineEndColor: borderColor } } }, '&:not(:first-child)': { [`&, & > ${buttonTypeCls}`]: { '&:not(:disabled)': { borderInlineStartColor: borderColor } } } } }); const genGroupStyle = token => { const { componentCls, fontSize, lineWidth, groupBorderColor, colorErrorHover } = token; return { [`${componentCls}-group`]: [{ position: 'relative', display: 'inline-flex', // Border [`> span, > ${componentCls}`]: { '&:not(:last-child)': { [`&, & > ${componentCls}`]: { borderStartEndRadius: 0, borderEndEndRadius: 0 } }, '&:not(:first-child)': { marginInlineStart: -lineWidth, [`&, & > ${componentCls}`]: { borderStartStartRadius: 0, borderEndStartRadius: 0 } } }, [componentCls]: { position: 'relative', zIndex: 1, [`&:hover, &:focus, &:active`]: { zIndex: 2 }, '&[disabled]': { zIndex: 0 } }, [`${componentCls}-icon-only`]: { fontSize } }, // Border Color genButtonBorderStyle(`${componentCls}-primary`, groupBorderColor), genButtonBorderStyle(`${componentCls}-danger`, colorErrorHover)] }; }; /* harmony default export */ var group = (genGroupStyle); ;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/button/style/index.js // ============================== Shared ============================== const genSharedButtonStyle = token => { const { componentCls, iconCls, fontWeight } = token; return { [componentCls]: { outline: 'none', position: 'relative', display: 'inline-block', fontWeight, whiteSpace: 'nowrap', textAlign: 'center', backgroundImage: 'none', backgroundColor: 'transparent', border: `${token.lineWidth}px ${token.lineType} transparent`, cursor: 'pointer', transition: `all ${token.motionDurationMid} ${token.motionEaseInOut}`, userSelect: 'none', touchAction: 'manipulation', lineHeight: token.lineHeight, color: token.colorText, '&:disabled > *': { pointerEvents: 'none' }, '> span': { display: 'inline-block' }, [`${componentCls}-icon`]: { lineHeight: 0 }, // Leave a space between icon and text. [`> ${iconCls} + span, > span + ${iconCls}`]: { marginInlineStart: token.marginXS }, [`&:not(${componentCls}-icon-only) > ${componentCls}-icon`]: { [`&${componentCls}-loading-icon, &:not(:last-child)`]: { marginInlineEnd: token.marginXS } }, '> a': { color: 'currentColor' }, '&:not(:disabled)': Object.assign({}, (0,style/* genFocusStyle */.Qy)(token)), // make `btn-icon-only` not too narrow [`&-icon-only${componentCls}-compact-item`]: { flex: 'none' }, // Special styles for Primary Button [`&-compact-item${componentCls}-primary`]: { [`&:not([disabled]) + ${componentCls}-compact-item${componentCls}-primary:not([disabled])`]: { position: 'relative', '&:before': { position: 'absolute', top: -token.lineWidth, insetInlineStart: -token.lineWidth, display: 'inline-block', width: token.lineWidth, height: `calc(100% + ${token.lineWidth * 2}px)`, backgroundColor: token.colorPrimaryHover, content: '""' } } }, // Special styles for Primary Button '&-compact-vertical-item': { [`&${componentCls}-primary`]: { [`&:not([disabled]) + ${componentCls}-compact-vertical-item${componentCls}-primary:not([disabled])`]: { position: 'relative', '&:before': { position: 'absolute', top: -token.lineWidth, insetInlineStart: -token.lineWidth, display: 'inline-block', width: `calc(100% + ${token.lineWidth * 2}px)`, height: token.lineWidth, backgroundColor: token.colorPrimaryHover, content: '""' } } } } } }; }; const genHoverActiveButtonStyle = (btnCls, hoverStyle, activeStyle) => ({ [`&:not(:disabled):not(${btnCls}-disabled)`]: { '&:hover': hoverStyle, '&:active': activeStyle } }); // ============================== Shape =============================== const genCircleButtonStyle = token => ({ minWidth: token.controlHeight, paddingInlineStart: 0, paddingInlineEnd: 0, borderRadius: '50%' }); const genRoundButtonStyle = token => ({ borderRadius: token.controlHeight, paddingInlineStart: token.controlHeight / 2, paddingInlineEnd: token.controlHeight / 2 }); // =============================== Type =============================== const genDisabledStyle = token => ({ cursor: 'not-allowed', borderColor: token.borderColorDisabled, color: token.colorTextDisabled, backgroundColor: token.colorBgContainerDisabled, boxShadow: 'none' }); const genGhostButtonStyle = (btnCls, background, textColor, borderColor, textColorDisabled, borderColorDisabled, hoverStyle, activeStyle) => ({ [`&${btnCls}-background-ghost`]: Object.assign(Object.assign({ color: textColor || undefined, backgroundColor: background, borderColor: borderColor || undefined, boxShadow: 'none' }, genHoverActiveButtonStyle(btnCls, Object.assign({ backgroundColor: background }, hoverStyle), Object.assign({ backgroundColor: background }, activeStyle))), { '&:disabled': { cursor: 'not-allowed', color: textColorDisabled || undefined, borderColor: borderColorDisabled || undefined } }) }); const genSolidDisabledButtonStyle = token => ({ [`&:disabled, &${token.componentCls}-disabled`]: Object.assign({}, genDisabledStyle(token)) }); const genSolidButtonStyle = token => Object.assign({}, genSolidDisabledButtonStyle(token)); const genPureDisabledButtonStyle = token => ({ [`&:disabled, &${token.componentCls}-disabled`]: { cursor: 'not-allowed', color: token.colorTextDisabled } }); // Type: Default const genDefaultButtonStyle = token => Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, genSolidButtonStyle(token)), { backgroundColor: token.defaultBg, borderColor: token.defaultBorderColor, color: token.defaultColor, boxShadow: token.defaultShadow }), genHoverActiveButtonStyle(token.componentCls, { color: token.colorPrimaryHover, borderColor: token.colorPrimaryHover }, { color: token.colorPrimaryActive, borderColor: token.colorPrimaryActive })), genGhostButtonStyle(token.componentCls, token.ghostBg, token.defaultGhostColor, token.defaultGhostBorderColor, token.colorTextDisabled, token.colorBorder)), { [`&${token.componentCls}-dangerous`]: Object.assign(Object.assign(Object.assign({ color: token.colorError, borderColor: token.colorError }, genHoverActiveButtonStyle(token.componentCls, { color: token.colorErrorHover, borderColor: token.colorErrorBorderHover }, { color: token.colorErrorActive, borderColor: token.colorErrorActive })), genGhostButtonStyle(token.componentCls, token.ghostBg, token.colorError, token.colorError, token.colorTextDisabled, token.colorBorder)), genSolidDisabledButtonStyle(token)) }); // Type: Primary const genPrimaryButtonStyle = token => Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, genSolidButtonStyle(token)), { color: token.primaryColor, backgroundColor: token.colorPrimary, boxShadow: token.primaryShadow }), genHoverActiveButtonStyle(token.componentCls, { color: token.colorTextLightSolid, backgroundColor: token.colorPrimaryHover }, { color: token.colorTextLightSolid, backgroundColor: token.colorPrimaryActive })), genGhostButtonStyle(token.componentCls, token.ghostBg, token.colorPrimary, token.colorPrimary, token.colorTextDisabled, token.colorBorder, { color: token.colorPrimaryHover, borderColor: token.colorPrimaryHover }, { color: token.colorPrimaryActive, borderColor: token.colorPrimaryActive })), { [`&${token.componentCls}-dangerous`]: Object.assign(Object.assign(Object.assign({ backgroundColor: token.colorError, boxShadow: token.dangerShadow, color: token.dangerColor }, genHoverActiveButtonStyle(token.componentCls, { backgroundColor: token.colorErrorHover }, { backgroundColor: token.colorErrorActive })), genGhostButtonStyle(token.componentCls, token.ghostBg, token.colorError, token.colorError, token.colorTextDisabled, token.colorBorder, { color: token.colorErrorHover, borderColor: token.colorErrorHover }, { color: token.colorErrorActive, borderColor: token.colorErrorActive })), genSolidDisabledButtonStyle(token)) }); // Type: Dashed const genDashedButtonStyle = token => Object.assign(Object.assign({}, genDefaultButtonStyle(token)), { borderStyle: 'dashed' }); // Type: Link const genLinkButtonStyle = token => Object.assign(Object.assign(Object.assign({ color: token.colorLink }, genHoverActiveButtonStyle(token.componentCls, { color: token.colorLinkHover, backgroundColor: token.linkHoverBg }, { color: token.colorLinkActive })), genPureDisabledButtonStyle(token)), { [`&${token.componentCls}-dangerous`]: Object.assign(Object.assign({ color: token.colorError }, genHoverActiveButtonStyle(token.componentCls, { color: token.colorErrorHover }, { color: token.colorErrorActive })), genPureDisabledButtonStyle(token)) }); // Type: Text const genTextButtonStyle = token => Object.assign(Object.assign(Object.assign({}, genHoverActiveButtonStyle(token.componentCls, { color: token.colorText, backgroundColor: token.textHoverBg }, { color: token.colorText, backgroundColor: token.colorBgTextActive })), genPureDisabledButtonStyle(token)), { [`&${token.componentCls}-dangerous`]: Object.assign(Object.assign({ color: token.colorError }, genPureDisabledButtonStyle(token)), genHoverActiveButtonStyle(token.componentCls, { color: token.colorErrorHover, backgroundColor: token.colorErrorBg }, { color: token.colorErrorHover, backgroundColor: token.colorErrorBg })) }); const genTypeButtonStyle = token => { const { componentCls } = token; return { [`${componentCls}-default`]: genDefaultButtonStyle(token), [`${componentCls}-primary`]: genPrimaryButtonStyle(token), [`${componentCls}-dashed`]: genDashedButtonStyle(token), [`${componentCls}-link`]: genLinkButtonStyle(token), [`${componentCls}-text`]: genTextButtonStyle(token), [`${componentCls}-ghost`]: genGhostButtonStyle(token.componentCls, token.ghostBg, token.colorBgContainer, token.colorBgContainer, token.colorTextDisabled, token.colorBorder) }; }; // =============================== Size =============================== const genSizeButtonStyle = function (token) { let sizePrefixCls = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : ''; const { componentCls, controlHeight, fontSize, lineHeight, lineWidth, borderRadius, buttonPaddingHorizontal, iconCls } = token; const paddingVertical = Math.max(0, (controlHeight - fontSize * lineHeight) / 2 - lineWidth); const iconOnlyCls = `${componentCls}-icon-only`; return [ // Size { [`${componentCls}${sizePrefixCls}`]: { fontSize, height: controlHeight, padding: `${paddingVertical}px ${buttonPaddingHorizontal}px`, borderRadius, [`&${iconOnlyCls}`]: { width: controlHeight, paddingInlineStart: 0, paddingInlineEnd: 0, [`&${componentCls}-round`]: { width: 'auto' }, [iconCls]: { fontSize: token.buttonIconOnlyFontSize } }, // Loading [`&${componentCls}-loading`]: { opacity: token.opacityLoading, cursor: 'default' }, [`${componentCls}-loading-icon`]: { transition: `width ${token.motionDurationSlow} ${token.motionEaseInOut}, opacity ${token.motionDurationSlow} ${token.motionEaseInOut}` } } }, // Shape - patch prefixCls again to override solid border radius style { [`${componentCls}${componentCls}-circle${sizePrefixCls}`]: genCircleButtonStyle(token) }, { [`${componentCls}${componentCls}-round${sizePrefixCls}`]: genRoundButtonStyle(token) }]; }; const genSizeBaseButtonStyle = token => genSizeButtonStyle((0,statistic/* merge */.TS)(token, { fontSize: token.contentFontSize })); const genSizeSmallButtonStyle = token => { const smallToken = (0,statistic/* merge */.TS)(token, { controlHeight: token.controlHeightSM, fontSize: token.contentFontSizeSM, padding: token.paddingXS, buttonPaddingHorizontal: token.paddingInlineSM, borderRadius: token.borderRadiusSM, buttonIconOnlyFontSize: token.onlyIconSizeSM }); return genSizeButtonStyle(smallToken, `${token.componentCls}-sm`); }; const genSizeLargeButtonStyle = token => { const largeToken = (0,statistic/* merge */.TS)(token, { controlHeight: token.controlHeightLG, fontSize: token.contentFontSizeLG, buttonPaddingHorizontal: token.paddingInlineLG, borderRadius: token.borderRadiusLG, buttonIconOnlyFontSize: token.onlyIconSizeLG }); return genSizeButtonStyle(largeToken, `${token.componentCls}-lg`); }; const genBlockButtonStyle = token => { const { componentCls } = token; return { [componentCls]: { [`&${componentCls}-block`]: { width: '100%' } } }; }; // ============================== Export ============================== const prepareToken = token => { const { paddingInline, onlyIconSize } = token; const buttonToken = (0,statistic/* merge */.TS)(token, { buttonPaddingHorizontal: paddingInline, buttonIconOnlyFontSize: onlyIconSize }); return buttonToken; }; const prepareComponentToken = token => ({ fontWeight: 400, defaultShadow: `0 ${token.controlOutlineWidth}px 0 ${token.controlTmpOutline}`, primaryShadow: `0 ${token.controlOutlineWidth}px 0 ${token.controlOutline}`, dangerShadow: `0 ${token.controlOutlineWidth}px 0 ${token.colorErrorOutline}`, primaryColor: token.colorTextLightSolid, dangerColor: token.colorTextLightSolid, borderColorDisabled: token.colorBorder, defaultGhostColor: token.colorBgContainer, ghostBg: 'transparent', defaultGhostBorderColor: token.colorBgContainer, paddingInline: token.paddingContentHorizontal - token.lineWidth, paddingInlineLG: token.paddingContentHorizontal - token.lineWidth, paddingInlineSM: 8 - token.lineWidth, onlyIconSize: token.fontSizeLG, onlyIconSizeSM: token.fontSizeLG - 2, onlyIconSizeLG: token.fontSizeLG + 2, groupBorderColor: token.colorPrimaryHover, linkHoverBg: 'transparent', textHoverBg: token.colorBgTextHover, defaultColor: token.colorText, defaultBg: token.colorBgContainer, defaultBorderColor: token.colorBorder, defaultBorderColorDisabled: token.colorBorder, contentFontSize: token.fontSize, contentFontSizeSM: token.fontSize, contentFontSizeLG: token.fontSizeLG }); /* harmony default export */ var button_style = ((0,genComponentStyleHook/* default */.Z)('Button', token => { const buttonToken = prepareToken(token); return [ // Shared genSharedButtonStyle(buttonToken), // Size genSizeSmallButtonStyle(buttonToken), genSizeBaseButtonStyle(buttonToken), genSizeLargeButtonStyle(buttonToken), // Block genBlockButtonStyle(buttonToken), // Group (type, ghost, danger, loading) genTypeButtonStyle(buttonToken), // Button Group group(buttonToken)]; }, prepareComponentToken)); // EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/style/compact-item.js var compact_item = __webpack_require__(74207); ;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/style/compact-item-vertical.js function compactItemVerticalBorder(token, parentCls) { return { // border collapse [`&-item:not(${parentCls}-last-item)`]: { marginBottom: -token.lineWidth }, '&-item': { '&:hover,&:focus,&:active': { zIndex: 2 }, '&[disabled]': { zIndex: 0 } } }; } function compactItemBorderVerticalRadius(prefixCls, parentCls) { return { [`&-item:not(${parentCls}-first-item):not(${parentCls}-last-item)`]: { borderRadius: 0 }, [`&-item${parentCls}-first-item:not(${parentCls}-last-item)`]: { [`&, &${prefixCls}-sm, &${prefixCls}-lg`]: { borderEndEndRadius: 0, borderEndStartRadius: 0 } }, [`&-item${parentCls}-last-item:not(${parentCls}-first-item)`]: { [`&, &${prefixCls}-sm, &${prefixCls}-lg`]: { borderStartStartRadius: 0, borderStartEndRadius: 0 } } }; } function genCompactItemVerticalStyle(token) { const compactCls = `${token.componentCls}-compact-vertical`; return { [compactCls]: Object.assign(Object.assign({}, compactItemVerticalBorder(token, compactCls)), compactItemBorderVerticalRadius(token.componentCls, compactCls)) }; } ;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/button/style/compactCmp.js // Style as inline component // ============================== Export ============================== /* harmony default export */ var compactCmp = ((0,genComponentStyleHook/* genSubStyleComponent */.b)(['Button', 'compact'], token => { const buttonToken = prepareToken(token); return [ // Space Compact (0,compact_item/* genCompactItemStyle */.c)(buttonToken), genCompactItemVerticalStyle(buttonToken)]; }, prepareComponentToken)); ;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/button/button.js "use client"; var button_rest = undefined && undefined.__rest || function (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; }; /* eslint-disable react/button-has-type */ function convertLegacyProps(type) { if (type === 'danger') { return { danger: true }; } return { type }; } function getLoadingConfig(loading) { if (typeof loading === 'object' && loading) { const delay = loading === null || loading === void 0 ? void 0 : loading.delay; const isDelay = !Number.isNaN(delay) && typeof delay === 'number'; return { loading: false, delay: isDelay ? delay : 0 }; } return { loading: !!loading, delay: 0 }; } const InternalButton = (props, ref) => { var _a, _b; const { loading = false, prefixCls: customizePrefixCls, type = 'default', danger, shape = 'default', size: customizeSize, styles, disabled: customDisabled, className, rootClassName, children, icon, ghost = false, block = false, // React does not recognize the `htmlType` prop on a DOM element. Here we pick it out of `rest`. htmlType = 'button', classNames: customClassNames, style: customStyle = {} } = props, rest = button_rest(props, ["loading", "prefixCls", "type", "danger", "shape", "size", "styles", "disabled", "className", "rootClassName", "children", "icon", "ghost", "block", "htmlType", "classNames", "style"]); const { getPrefixCls, autoInsertSpaceInButton, direction, button } = (0,_react_17_0_2_react.useContext)(context/* ConfigContext */.E_); const prefixCls = getPrefixCls('btn', customizePrefixCls); const [wrapSSR, hashId] = button_style(prefixCls); const disabled = (0,_react_17_0_2_react.useContext)(DisabledContext/* default */.Z); const mergedDisabled = customDisabled !== null && customDisabled !== void 0 ? customDisabled : disabled; const groupSize = (0,_react_17_0_2_react.useContext)(GroupSizeContext); const loadingOrDelay = (0,_react_17_0_2_react.useMemo)(() => getLoadingConfig(loading), [loading]); const [innerLoading, setLoading] = (0,_react_17_0_2_react.useState)(loadingOrDelay.loading); const [hasTwoCNChar, setHasTwoCNChar] = (0,_react_17_0_2_react.useState)(false); const internalRef = /*#__PURE__*/(0,_react_17_0_2_react.createRef)(); const buttonRef = (0,es_ref/* composeRef */.sQ)(ref, internalRef); const needInserted = _react_17_0_2_react.Children.count(children) === 1 && !icon && !isUnBorderedButtonType(type); (0,_react_17_0_2_react.useEffect)(() => { let delayTimer = null; if (loadingOrDelay.delay > 0) { delayTimer = setTimeout(() => { delayTimer = null; setLoading(true); }, loadingOrDelay.delay); } else { setLoading(loadingOrDelay.loading); } function cleanupTimer() { if (delayTimer) { clearTimeout(delayTimer); delayTimer = null; } } return cleanupTimer; }, [loadingOrDelay]); (0,_react_17_0_2_react.useEffect)(() => { // FIXME: for HOC usage like if (!buttonRef || !buttonRef.current || autoInsertSpaceInButton === false) { return; } const buttonText = buttonRef.current.textContent; if (needInserted && isTwoCNChar(buttonText)) { if (!hasTwoCNChar) { setHasTwoCNChar(true); } } else if (hasTwoCNChar) { setHasTwoCNChar(false); } }, [buttonRef]); const handleClick = e => { const { onClick } = props; // FIXME: https://github.com/ant-design/ant-design/issues/30207 if (innerLoading || mergedDisabled) { e.preventDefault(); return; } onClick === null || onClick === void 0 ? void 0 : onClick(e); }; false ? 0 : void 0; false ? 0 : void 0; const autoInsertSpace = autoInsertSpaceInButton !== false; const { compactSize, compactItemClassnames } = (0,Compact/* useCompactItemContext */.ri)(prefixCls, direction); const sizeClassNameMap = { large: 'lg', small: 'sm', middle: undefined }; const sizeFullName = (0,useSize/* default */.Z)(ctxSize => { var _a, _b; return (_b = (_a = customizeSize !== null && customizeSize !== void 0 ? customizeSize : compactSize) !== null && _a !== void 0 ? _a : groupSize) !== null && _b !== void 0 ? _b : ctxSize; }); const sizeCls = sizeFullName ? sizeClassNameMap[sizeFullName] || '' : ''; const iconType = innerLoading ? 'loading' : icon; const linkButtonRestProps = (0,omit/* default */.Z)(rest, ['navigate']); const classes = _classnames_2_5_1_classnames_default()(prefixCls, hashId, { [`${prefixCls}-${shape}`]: shape !== 'default' && shape, [`${prefixCls}-${type}`]: type, [`${prefixCls}-${sizeCls}`]: sizeCls, [`${prefixCls}-icon-only`]: !children && children !== 0 && !!iconType, [`${prefixCls}-background-ghost`]: ghost && !isUnBorderedButtonType(type), [`${prefixCls}-loading`]: innerLoading, [`${prefixCls}-two-chinese-chars`]: hasTwoCNChar && autoInsertSpace && !innerLoading, [`${prefixCls}-block`]: block, [`${prefixCls}-dangerous`]: !!danger, [`${prefixCls}-rtl`]: direction === 'rtl' }, compactItemClassnames, className, rootClassName, button === null || button === void 0 ? void 0 : button.className); const fullStyle = Object.assign(Object.assign({}, button === null || button === void 0 ? void 0 : button.style), customStyle); const iconClasses = _classnames_2_5_1_classnames_default()(customClassNames === null || customClassNames === void 0 ? void 0 : customClassNames.icon, (_a = button === null || button === void 0 ? void 0 : button.classNames) === null || _a === void 0 ? void 0 : _a.icon); const iconStyle = Object.assign(Object.assign({}, (styles === null || styles === void 0 ? void 0 : styles.icon) || {}), ((_b = button === null || button === void 0 ? void 0 : button.styles) === null || _b === void 0 ? void 0 : _b.icon) || {}); const iconNode = icon && !innerLoading ? /*#__PURE__*/_react_17_0_2_react.createElement(button_IconWrapper, { prefixCls: prefixCls, className: iconClasses, style: iconStyle }, icon) : /*#__PURE__*/_react_17_0_2_react.createElement(button_LoadingIcon, { existIcon: !!icon, prefixCls: prefixCls, loading: !!innerLoading }); const kids = children || children === 0 ? spaceChildren(children, needInserted && autoInsertSpace) : null; if (linkButtonRestProps.href !== undefined) { return wrapSSR( /*#__PURE__*/_react_17_0_2_react.createElement("a", Object.assign({}, linkButtonRestProps, { className: _classnames_2_5_1_classnames_default()(classes, { [`${prefixCls}-disabled`]: mergedDisabled }), style: fullStyle, onClick: handleClick, ref: buttonRef }), iconNode, kids)); } let buttonNode = /*#__PURE__*/_react_17_0_2_react.createElement("button", Object.assign({}, rest, { type: htmlType, className: classes, style: fullStyle, onClick: handleClick, disabled: mergedDisabled, ref: buttonRef }), iconNode, kids, compactItemClassnames && /*#__PURE__*/_react_17_0_2_react.createElement(compactCmp, { key: "compact", prefixCls: prefixCls })); if (!isUnBorderedButtonType(type)) { buttonNode = /*#__PURE__*/_react_17_0_2_react.createElement(wave/* default */.Z, { component: "Button", disabled: !!innerLoading }, buttonNode); } return wrapSSR(buttonNode); }; const Button = /*#__PURE__*/(0,_react_17_0_2_react.forwardRef)(InternalButton); if (false) {} Button.Group = button_group; Button.__ANT_BUTTON = true; /* harmony default export */ var button_button = (Button); /***/ }), /***/ 3113: /*!**********************************************************!*\ !*** ./node_modules/_antd@5.9.0@antd/es/button/index.js ***! \**********************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony import */ var _button__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./button */ 67797); "use client"; /* harmony default export */ __webpack_exports__.ZP = (_button__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z); /***/ }), /***/ 63788: /*!*******************************************************************!*\ !*** ./node_modules/_antd@5.9.0@antd/es/calendar/locale/en_US.js ***! \*******************************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony import */ var _date_picker_locale_en_US__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../date-picker/locale/en_US */ 48183); /* harmony default export */ __webpack_exports__.Z = (_date_picker_locale_en_US__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z); /***/ }), /***/ 43604: /*!*******************************************************!*\ !*** ./node_modules/_antd@5.9.0@antd/es/col/index.js ***! \*******************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony import */ var _grid__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../grid */ 37028); "use client"; /* harmony default export */ __webpack_exports__.Z = (_grid__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z); /***/ }), /***/ 1684: /*!*****************************************************************************!*\ !*** ./node_modules/_antd@5.9.0@antd/es/config-provider/DisabledContext.js ***! \*****************************************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ n: function() { return /* binding */ DisabledContextProvider; } /* harmony export */ }); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 59301); "use client"; const DisabledContext = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createContext(false); const DisabledContextProvider = _ref => { let { children, disabled } = _ref; const originDisabled = react__WEBPACK_IMPORTED_MODULE_0__.useContext(DisabledContext); return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(DisabledContext.Provider, { value: disabled !== null && disabled !== void 0 ? disabled : originDisabled }, children); }; /* harmony default export */ __webpack_exports__.Z = (DisabledContext); /***/ }), /***/ 52946: /*!*************************************************************************!*\ !*** ./node_modules/_antd@5.9.0@antd/es/config-provider/SizeContext.js ***! \*************************************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ q: function() { return /* binding */ SizeContextProvider; } /* harmony export */ }); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 59301); "use client"; const SizeContext = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createContext(undefined); const SizeContextProvider = _ref => { let { children, size } = _ref; const originSize = react__WEBPACK_IMPORTED_MODULE_0__.useContext(SizeContext); return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(SizeContext.Provider, { value: size || originSize }, children); }; /* harmony default export */ __webpack_exports__.Z = (SizeContext); /***/ }), /***/ 36355: /*!*********************************************************************!*\ !*** ./node_modules/_antd@5.9.0@antd/es/config-provider/context.js ***! \*********************************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ E_: function() { return /* binding */ ConfigContext; }, /* harmony export */ oR: function() { return /* binding */ defaultIconPrefixCls; } /* harmony export */ }); /* unused harmony export ConfigConsumer */ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 59301); const defaultIconPrefixCls = 'anticon'; const defaultGetPrefixCls = (suffixCls, customizePrefixCls) => { if (customizePrefixCls) { return customizePrefixCls; } return suffixCls ? `ant-${suffixCls}` : 'ant'; }; // zombieJ: 🚨 Do not pass `defaultRenderEmpty` here since it will cause circular dependency. const ConfigContext = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createContext({ // We provide a default function for Context without provider getPrefixCls: defaultGetPrefixCls, iconPrefixCls: defaultIconPrefixCls }); const { Consumer: ConfigConsumer } = ConfigContext; /***/ }), /***/ 19716: /*!***************************************************************************!*\ !*** ./node_modules/_antd@5.9.0@antd/es/config-provider/hooks/useSize.js ***! \***************************************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 59301); /* harmony import */ var _SizeContext__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../SizeContext */ 52946); const useSize = customSize => { const size = react__WEBPACK_IMPORTED_MODULE_0__.useContext(_SizeContext__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z); const mergedSize = react__WEBPACK_IMPORTED_MODULE_0__.useMemo(() => { if (!customSize) { return size; } if (typeof customSize === 'string') { return customSize !== null && customSize !== void 0 ? customSize : size; } if (customSize instanceof Function) { return customSize(size); } return size; }, [customSize, size]); return mergedSize; }; /* harmony default export */ __webpack_exports__.Z = (useSize); /***/ }), /***/ 92736: /*!*******************************************************************************!*\ !*** ./node_modules/_antd@5.9.0@antd/es/config-provider/index.js + 5 modules ***! \*******************************************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; // EXPORTS __webpack_require__.d(__webpack_exports__, { ZP: function() { return /* binding */ config_provider; }, w6: function() { return /* binding */ globalConfig; } }); // UNUSED EXPORTS: ConfigConsumer, ConfigContext, configConsumerProps, defaultIconPrefixCls, defaultPrefixCls, warnContext // EXTERNAL MODULE: ./node_modules/_@ant-design_cssinjs@1.24.0@@ant-design/cssinjs/es/index.js + 39 modules var es = __webpack_require__(36237); // EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.6.1@@ant-design/icons/es/components/Context.js var Context = __webpack_require__(18418); // EXTERNAL MODULE: ./node_modules/_rc-util@5.44.4@rc-util/es/hooks/useMemo.js var useMemo = __webpack_require__(80547); // EXTERNAL MODULE: ./node_modules/_rc-util@5.44.4@rc-util/es/utils/set.js var set = __webpack_require__(24434); // EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/index.js var _react_17_0_2_react = __webpack_require__(59301); // EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/form/validateMessagesContext.js var validateMessagesContext = __webpack_require__(28726); // EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/modal/locale.js var modal_locale = __webpack_require__(98044); // EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/locale/context.js var locale_context = __webpack_require__(41887); ;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/locale/index.js "use client"; const ANT_MARK = 'internalMark'; const LocaleProvider = props => { const { locale = {}, children, _ANT_MARK__ } = props; if (false) {} _react_17_0_2_react.useEffect(() => { const clearLocale = (0,modal_locale/* changeConfirmLocale */.f)(locale && locale.Modal); return clearLocale; }, [locale]); const getMemoizedContextValue = _react_17_0_2_react.useMemo(() => Object.assign(Object.assign({}, locale), { exist: true }), [locale]); return /*#__PURE__*/_react_17_0_2_react.createElement(locale_context/* default */.Z.Provider, { value: getMemoizedContextValue }, children); }; if (false) {} /* harmony default export */ var es_locale = (LocaleProvider); // EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/locale/en_US.js var en_US = __webpack_require__(96700); // EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/theme/context.js var context = __webpack_require__(81616); // EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/theme/themes/seed.js var seed = __webpack_require__(34117); // EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/config-provider/context.js var config_provider_context = __webpack_require__(36355); // EXTERNAL MODULE: ./node_modules/_@ant-design_colors@7.2.1@@ant-design/colors/es/index.js + 4 modules var colors_es = __webpack_require__(30071); // EXTERNAL MODULE: ./node_modules/_@ctrl_tinycolor@3.6.1@@ctrl/tinycolor/dist/module/index.js var dist_module = __webpack_require__(64993); // EXTERNAL MODULE: ./node_modules/_rc-util@5.44.4@rc-util/es/Dom/canUseDom.js var canUseDom = __webpack_require__(47273); // EXTERNAL MODULE: ./node_modules/_rc-util@5.44.4@rc-util/es/Dom/dynamicCSS.js var dynamicCSS = __webpack_require__(810); ;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/config-provider/cssVariables.js /* eslint-disable import/prefer-default-export, prefer-destructuring */ const dynamicStyleMark = `-ant-${Date.now()}-${Math.random()}`; function getStyle(globalPrefixCls, theme) { const variables = {}; const formatColor = (color, updater) => { let clone = color.clone(); clone = (updater === null || updater === void 0 ? void 0 : updater(clone)) || clone; return clone.toRgbString(); }; const fillColor = (colorVal, type) => { const baseColor = new dist_module/* TinyColor */.C(colorVal); const colorPalettes = (0,colors_es.generate)(baseColor.toRgbString()); variables[`${type}-color`] = formatColor(baseColor); variables[`${type}-color-disabled`] = colorPalettes[1]; variables[`${type}-color-hover`] = colorPalettes[4]; variables[`${type}-color-active`] = colorPalettes[6]; variables[`${type}-color-outline`] = baseColor.clone().setAlpha(0.2).toRgbString(); variables[`${type}-color-deprecated-bg`] = colorPalettes[0]; variables[`${type}-color-deprecated-border`] = colorPalettes[2]; }; // ================ Primary Color ================ if (theme.primaryColor) { fillColor(theme.primaryColor, 'primary'); const primaryColor = new dist_module/* TinyColor */.C(theme.primaryColor); const primaryColors = (0,colors_es.generate)(primaryColor.toRgbString()); // Legacy - We should use semantic naming standard primaryColors.forEach((color, index) => { variables[`primary-${index + 1}`] = color; }); // Deprecated variables['primary-color-deprecated-l-35'] = formatColor(primaryColor, c => c.lighten(35)); variables['primary-color-deprecated-l-20'] = formatColor(primaryColor, c => c.lighten(20)); variables['primary-color-deprecated-t-20'] = formatColor(primaryColor, c => c.tint(20)); variables['primary-color-deprecated-t-50'] = formatColor(primaryColor, c => c.tint(50)); variables['primary-color-deprecated-f-12'] = formatColor(primaryColor, c => c.setAlpha(c.getAlpha() * 0.12)); const primaryActiveColor = new dist_module/* TinyColor */.C(primaryColors[0]); variables['primary-color-active-deprecated-f-30'] = formatColor(primaryActiveColor, c => c.setAlpha(c.getAlpha() * 0.3)); variables['primary-color-active-deprecated-d-02'] = formatColor(primaryActiveColor, c => c.darken(2)); } // ================ Success Color ================ if (theme.successColor) { fillColor(theme.successColor, 'success'); } // ================ Warning Color ================ if (theme.warningColor) { fillColor(theme.warningColor, 'warning'); } // ================= Error Color ================= if (theme.errorColor) { fillColor(theme.errorColor, 'error'); } // ================= Info Color ================== if (theme.infoColor) { fillColor(theme.infoColor, 'info'); } // Convert to css variables const cssList = Object.keys(variables).map(key => `--${globalPrefixCls}-${key}: ${variables[key]};`); return ` :root { ${cssList.join('\n')} } `.trim(); } function registerTheme(globalPrefixCls, theme) { const style = getStyle(globalPrefixCls, theme); if ((0,canUseDom/* default */.Z)()) { (0,dynamicCSS/* updateCSS */.hq)(style, `${dynamicStyleMark}-dynamic-theme`); } else { false ? 0 : void 0; } } // EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/config-provider/DisabledContext.js var DisabledContext = __webpack_require__(1684); // EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/config-provider/SizeContext.js var SizeContext = __webpack_require__(52946); ;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/config-provider/hooks/useConfig.js function useConfig() { const componentDisabled = (0,_react_17_0_2_react.useContext)(DisabledContext/* default */.Z); const componentSize = (0,_react_17_0_2_react.useContext)(SizeContext/* default */.Z); return { componentDisabled, componentSize }; } /* harmony default export */ var hooks_useConfig = (useConfig); // EXTERNAL MODULE: ./node_modules/_rc-util@5.44.4@rc-util/es/isEqual.js var isEqual = __webpack_require__(13697); ;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/config-provider/hooks/useTheme.js function useTheme(theme, parentTheme) { const themeConfig = theme || {}; const parentThemeConfig = themeConfig.inherit === false || !parentTheme ? context/* defaultConfig */.u_ : parentTheme; return (0,useMemo/* default */.Z)(() => { if (!theme) { return parentTheme; } // Override const mergedComponents = Object.assign({}, parentThemeConfig.components); Object.keys(theme.components || {}).forEach(componentName => { mergedComponents[componentName] = Object.assign(Object.assign({}, mergedComponents[componentName]), theme.components[componentName]); }); // Base token return Object.assign(Object.assign(Object.assign({}, parentThemeConfig), themeConfig), { token: Object.assign(Object.assign({}, parentThemeConfig.token), themeConfig.token), components: mergedComponents }); }, [themeConfig, parentThemeConfig], (prev, next) => prev.some((prevTheme, index) => { const nextTheme = next[index]; return !(0,isEqual/* default */.Z)(prevTheme, nextTheme, true); })); } // EXTERNAL MODULE: ./node_modules/_rc-motion@2.9.5@rc-motion/es/index.js + 13 modules var _rc_motion_2_9_5_rc_motion_es = __webpack_require__(77900); // EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/theme/useToken.js var useToken = __webpack_require__(70305); ;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/config-provider/MotionWrapper.js "use client"; function MotionWrapper(props) { const { children } = props; const [, token] = (0,useToken/* default */.Z)(); const { motion } = token; const needWrapMotionProviderRef = _react_17_0_2_react.useRef(false); needWrapMotionProviderRef.current = needWrapMotionProviderRef.current || motion === false; if (needWrapMotionProviderRef.current) { return /*#__PURE__*/_react_17_0_2_react.createElement(_rc_motion_2_9_5_rc_motion_es.Provider, { motion: motion }, children); } return children; } // EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/theme/util/useResetIconStyle.js var useResetIconStyle = __webpack_require__(73040); ;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/config-provider/index.js "use client"; var __rest = undefined && undefined.__rest || function (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; }; /** * Since too many feedback using static method like `Modal.confirm` not getting theme, we record the * theme register info here to help developer get warning info. */ let existThemeConfig = false; const warnContext = (/* unused pure expression or super */ null && ( false ? 0 : /* istanbul ignore next */ null)); const configConsumerProps = (/* unused pure expression or super */ null && (['getTargetContainer', 'getPopupContainer', 'rootPrefixCls', 'getPrefixCls', 'renderEmpty', 'csp', 'autoInsertSpaceInButton', 'locale', 'pageHeader'])); // These props is used by `useContext` directly in sub component const PASSED_PROPS = ['getTargetContainer', 'getPopupContainer', 'renderEmpty', 'pageHeader', 'input', 'pagination', 'form', 'select', 'button']; const defaultPrefixCls = 'ant'; let globalPrefixCls; let globalIconPrefixCls; let globalTheme; function getGlobalPrefixCls() { return globalPrefixCls || defaultPrefixCls; } function getGlobalIconPrefixCls() { return globalIconPrefixCls || config_provider_context/* defaultIconPrefixCls */.oR; } function isLegacyTheme(theme) { return Object.keys(theme).some(key => key.endsWith('Color')); } const setGlobalConfig = _ref => { let { prefixCls, iconPrefixCls, theme } = _ref; if (prefixCls !== undefined) { globalPrefixCls = prefixCls; } if (iconPrefixCls !== undefined) { globalIconPrefixCls = iconPrefixCls; } if (theme) { if (isLegacyTheme(theme)) { false ? 0 : void 0; registerTheme(getGlobalPrefixCls(), theme); } else { globalTheme = theme; } } }; const globalConfig = () => ({ getPrefixCls: (suffixCls, customizePrefixCls) => { if (customizePrefixCls) { return customizePrefixCls; } return suffixCls ? `${getGlobalPrefixCls()}-${suffixCls}` : getGlobalPrefixCls(); }, getIconPrefixCls: getGlobalIconPrefixCls, getRootPrefixCls: () => { // If Global prefixCls provided, use this if (globalPrefixCls) { return globalPrefixCls; } // Fallback to default prefixCls return getGlobalPrefixCls(); }, getTheme: () => globalTheme }); const ProviderChildren = props => { const { children, csp: customCsp, autoInsertSpaceInButton, alert, anchor, form, locale, componentSize, direction, space, virtual, dropdownMatchSelectWidth, popupMatchSelectWidth, popupOverflow, legacyLocale, parentContext, iconPrefixCls: customIconPrefixCls, theme, componentDisabled, segmented, statistic, spin, calendar, carousel, cascader, collapse, typography, checkbox, descriptions, divider, drawer, skeleton, steps, image, layout, list, mentions, modal, progress, result, slider, breadcrumb, menu, pagination, input, empty, badge, radio, rate, switch: SWITCH, transfer, avatar, message, tag, table, card, tabs, timeline, timePicker, upload, notification, tree, colorPicker, datePicker, wave } = props; // =================================== Warning =================================== if (false) {} // =================================== Context =================================== const getPrefixCls = _react_17_0_2_react.useCallback((suffixCls, customizePrefixCls) => { const { prefixCls } = props; if (customizePrefixCls) { return customizePrefixCls; } const mergedPrefixCls = prefixCls || parentContext.getPrefixCls(''); return suffixCls ? `${mergedPrefixCls}-${suffixCls}` : mergedPrefixCls; }, [parentContext.getPrefixCls, props.prefixCls]); const iconPrefixCls = customIconPrefixCls || parentContext.iconPrefixCls || config_provider_context/* defaultIconPrefixCls */.oR; const shouldWrapSSR = iconPrefixCls !== parentContext.iconPrefixCls; const csp = customCsp || parentContext.csp; const wrapSSR = (0,useResetIconStyle/* default */.Z)(iconPrefixCls, csp); const mergedTheme = useTheme(theme, parentContext.theme); if (false) {} const baseConfig = { csp, autoInsertSpaceInButton, alert, anchor, locale: locale || legacyLocale, direction, space, virtual, popupMatchSelectWidth: popupMatchSelectWidth !== null && popupMatchSelectWidth !== void 0 ? popupMatchSelectWidth : dropdownMatchSelectWidth, popupOverflow, getPrefixCls, iconPrefixCls, theme: mergedTheme, segmented, statistic, spin, calendar, carousel, cascader, collapse, typography, checkbox, descriptions, divider, drawer, skeleton, steps, image, input, layout, list, mentions, modal, progress, result, slider, breadcrumb, menu, pagination, empty, badge, radio, rate, switch: SWITCH, transfer, avatar, message, tag, table, card, tabs, timeline, timePicker, upload, notification, tree, colorPicker, datePicker, wave }; const config = Object.assign({}, parentContext); Object.keys(baseConfig).forEach(key => { if (baseConfig[key] !== undefined) { config[key] = baseConfig[key]; } }); // Pass the props used by `useContext` directly with child component. // These props should merged into `config`. PASSED_PROPS.forEach(propName => { const propValue = props[propName]; if (propValue) { config[propName] = propValue; } }); // https://github.com/ant-design/ant-design/issues/27617 const memoedConfig = (0,useMemo/* default */.Z)(() => config, config, (prevConfig, currentConfig) => { const prevKeys = Object.keys(prevConfig); const currentKeys = Object.keys(currentConfig); return prevKeys.length !== currentKeys.length || prevKeys.some(key => prevConfig[key] !== currentConfig[key]); }); const memoIconContextValue = _react_17_0_2_react.useMemo(() => ({ prefixCls: iconPrefixCls, csp }), [iconPrefixCls, csp]); let childNode = shouldWrapSSR ? wrapSSR(children) : children; const validateMessages = _react_17_0_2_react.useMemo(() => { var _a, _b, _c, _d; return (0,set/* merge */.T)(((_a = en_US/* default */.Z.Form) === null || _a === void 0 ? void 0 : _a.defaultValidateMessages) || {}, ((_c = (_b = memoedConfig.locale) === null || _b === void 0 ? void 0 : _b.Form) === null || _c === void 0 ? void 0 : _c.defaultValidateMessages) || {}, ((_d = memoedConfig.form) === null || _d === void 0 ? void 0 : _d.validateMessages) || {}, (form === null || form === void 0 ? void 0 : form.validateMessages) || {}); }, [memoedConfig, form === null || form === void 0 ? void 0 : form.validateMessages]); if (Object.keys(validateMessages).length > 0) { childNode = /*#__PURE__*/_react_17_0_2_react.createElement(validateMessagesContext/* default */.Z.Provider, { value: validateMessages }, children); } if (locale) { childNode = /*#__PURE__*/_react_17_0_2_react.createElement(es_locale, { locale: locale, _ANT_MARK__: ANT_MARK }, childNode); } if (iconPrefixCls || csp) { childNode = /*#__PURE__*/_react_17_0_2_react.createElement(Context/* default */.Z.Provider, { value: memoIconContextValue }, childNode); } if (componentSize) { childNode = /*#__PURE__*/_react_17_0_2_react.createElement(SizeContext/* SizeContextProvider */.q, { size: componentSize }, childNode); } // =================================== Motion =================================== childNode = /*#__PURE__*/_react_17_0_2_react.createElement(MotionWrapper, null, childNode); // ================================ Dynamic theme ================================ const memoTheme = _react_17_0_2_react.useMemo(() => { const _a = mergedTheme || {}, { algorithm, token, components } = _a, rest = __rest(_a, ["algorithm", "token", "components"]); const themeObj = algorithm && (!Array.isArray(algorithm) || algorithm.length > 0) ? (0,es.createTheme)(algorithm) : context/* defaultTheme */.uH; const parsedComponents = {}; Object.entries(components || {}).forEach(_ref2 => { let [componentName, componentToken] = _ref2; const parsedToken = Object.assign({}, componentToken); if ('algorithm' in parsedToken) { if (parsedToken.algorithm === true) { parsedToken.theme = themeObj; } else if (Array.isArray(parsedToken.algorithm) || typeof parsedToken.algorithm === 'function') { parsedToken.theme = (0,es.createTheme)(parsedToken.algorithm); } delete parsedToken.algorithm; } parsedComponents[componentName] = parsedToken; }); return Object.assign(Object.assign({}, rest), { theme: themeObj, token: Object.assign(Object.assign({}, seed/* default */.Z), token), components: parsedComponents }); }, [mergedTheme]); if (theme) { childNode = /*#__PURE__*/_react_17_0_2_react.createElement(context/* DesignTokenContext */.Mj.Provider, { value: memoTheme }, childNode); } // =================================== Render =================================== if (componentDisabled !== undefined) { childNode = /*#__PURE__*/_react_17_0_2_react.createElement(DisabledContext/* DisabledContextProvider */.n, { disabled: componentDisabled }, childNode); } return /*#__PURE__*/_react_17_0_2_react.createElement(config_provider_context/* ConfigContext */.E_.Provider, { value: memoedConfig }, childNode); }; const ConfigProvider = props => { const context = _react_17_0_2_react.useContext(config_provider_context/* ConfigContext */.E_); const antLocale = _react_17_0_2_react.useContext(locale_context/* default */.Z); return /*#__PURE__*/_react_17_0_2_react.createElement(ProviderChildren, Object.assign({ parentContext: context, legacyLocale: antLocale }, props)); }; ConfigProvider.ConfigContext = config_provider_context/* ConfigContext */.E_; ConfigProvider.SizeContext = SizeContext/* default */.Z; ConfigProvider.config = setGlobalConfig; ConfigProvider.useConfig = hooks_useConfig; Object.defineProperty(ConfigProvider, 'SizeContext', { get: () => { false ? 0 : void 0; return SizeContext/* default */.Z; } }); if (false) {} /* harmony default export */ var config_provider = (ConfigProvider); /***/ }), /***/ 48183: /*!**********************************************************************************!*\ !*** ./node_modules/_antd@5.9.0@antd/es/date-picker/locale/en_US.js + 1 modules ***! \**********************************************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; // EXPORTS __webpack_require__.d(__webpack_exports__, { Z: function() { return /* binding */ date_picker_locale_en_US; } }); ;// CONCATENATED MODULE: ./node_modules/_rc-picker@3.13.2@rc-picker/es/locale/en_US.js var locale = { locale: 'en_US', today: 'Today', now: 'Now', backToToday: 'Back to today', ok: 'OK', clear: 'Clear', month: 'Month', year: 'Year', timeSelect: 'select time', dateSelect: 'select date', weekSelect: 'Choose a week', monthSelect: 'Choose a month', yearSelect: 'Choose a year', decadeSelect: 'Choose a decade', yearFormat: 'YYYY', dateFormat: 'M/D/YYYY', dayFormat: 'D', dateTimeFormat: 'M/D/YYYY HH:mm:ss', monthBeforeYear: true, previousMonth: 'Previous month (PageUp)', nextMonth: 'Next month (PageDown)', previousYear: 'Last year (Control + left)', nextYear: 'Next year (Control + right)', previousDecade: 'Last decade', nextDecade: 'Next decade', previousCentury: 'Last century', nextCentury: 'Next century' }; /* harmony default export */ var en_US = (locale); // EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/time-picker/locale/en_US.js var locale_en_US = __webpack_require__(67532); ;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/date-picker/locale/en_US.js // Merge into a locale object const en_US_locale = { lang: Object.assign({ placeholder: 'Select date', yearPlaceholder: 'Select year', quarterPlaceholder: 'Select quarter', monthPlaceholder: 'Select month', weekPlaceholder: 'Select week', rangePlaceholder: ['Start date', 'End date'], rangeYearPlaceholder: ['Start year', 'End year'], rangeQuarterPlaceholder: ['Start quarter', 'End quarter'], rangeMonthPlaceholder: ['Start month', 'End month'], rangeWeekPlaceholder: ['Start week', 'End week'] }, en_US), timePickerLocale: Object.assign({}, locale_en_US/* default */.Z) }; // All settings at: // https://github.com/ant-design/ant-design/blob/master/components/date-picker/locale/example.json /* harmony default export */ var date_picker_locale_en_US = (en_US_locale); /***/ }), /***/ 32441: /*!**********************************************************!*\ !*** ./node_modules/_antd@5.9.0@antd/es/form/context.js ***! \**********************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ RV: function() { return /* binding */ FormProvider; }, /* harmony export */ Rk: function() { return /* binding */ FormItemPrefixContext; }, /* harmony export */ Ux: function() { return /* binding */ NoFormStyle; }, /* harmony export */ aM: function() { return /* binding */ FormItemInputContext; }, /* harmony export */ q3: function() { return /* binding */ FormContext; }, /* harmony export */ qI: function() { return /* binding */ NoStyleItemContext; } /* harmony export */ }); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 59301); /* harmony import */ var rc_field_form__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rc-field-form */ 95013); /* harmony import */ var rc_util_es_omit__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! rc-util/es/omit */ 2738); "use client"; const FormContext = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createContext({ labelAlign: 'right', vertical: false, itemRef: () => {} }); const NoStyleItemContext = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createContext(null); const FormProvider = props => { const providerProps = (0,rc_util_es_omit__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(props, ['prefixCls']); return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(rc_field_form__WEBPACK_IMPORTED_MODULE_1__.FormProvider, Object.assign({}, providerProps)); }; const FormItemPrefixContext = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createContext({ prefixCls: '' }); const FormItemInputContext = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createContext({}); if (false) {} const NoFormStyle = _ref => { let { children, status, override } = _ref; const formItemInputContext = (0,react__WEBPACK_IMPORTED_MODULE_0__.useContext)(FormItemInputContext); const newFormItemInputContext = (0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)(() => { const newContext = Object.assign({}, formItemInputContext); if (override) { delete newContext.isFormItemInput; } if (status) { delete newContext.status; delete newContext.hasFeedback; delete newContext.feedbackIcon; } return newContext; }, [status, override, formItemInputContext]); return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(FormItemInputContext.Provider, { value: newFormItemInputContext }, children); }; /***/ }), /***/ 28726: /*!**************************************************************************!*\ !*** ./node_modules/_antd@5.9.0@antd/es/form/validateMessagesContext.js ***! \**************************************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 59301); "use client"; // ZombieJ: We export single file here since // ConfigProvider use this which will make loop deps // to import whole `rc-field-form` /* harmony default export */ __webpack_exports__.Z = (/*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_0__.createContext)(undefined)); /***/ }), /***/ 6700: /*!*************************************************************!*\ !*** ./node_modules/_antd@5.9.0@antd/es/grid/RowContext.js ***! \*************************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 59301); const RowContext = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_0__.createContext)({}); /* harmony default export */ __webpack_exports__.Z = (RowContext); /***/ }), /***/ 37028: /*!******************************************************!*\ !*** ./node_modules/_antd@5.9.0@antd/es/grid/col.js ***! \******************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 59301); /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ 92310); /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__); /* harmony import */ var _config_provider__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../config-provider */ 36355); /* harmony import */ var _RowContext__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./RowContext */ 6700); /* harmony import */ var _style__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./style */ 98242); "use client"; var __rest = undefined && undefined.__rest || function (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 parseFlex(flex) { if (typeof flex === 'number') { return `${flex} ${flex} auto`; } if (/^\d+(\.\d+)?(px|em|rem|%)$/.test(flex)) { return `0 0 ${flex}`; } return flex; } const sizes = ['xs', 'sm', 'md', 'lg', 'xl', 'xxl']; const Col = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((props, ref) => { const { getPrefixCls, direction } = react__WEBPACK_IMPORTED_MODULE_0__.useContext(_config_provider__WEBPACK_IMPORTED_MODULE_2__/* .ConfigContext */ .E_); const { gutter, wrap } = react__WEBPACK_IMPORTED_MODULE_0__.useContext(_RowContext__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z); const { prefixCls: customizePrefixCls, span, order, offset, push, pull, className, children, flex, style } = props, others = __rest(props, ["prefixCls", "span", "order", "offset", "push", "pull", "className", "children", "flex", "style"]); const prefixCls = getPrefixCls('col', customizePrefixCls); const [wrapSSR, hashId] = (0,_style__WEBPACK_IMPORTED_MODULE_4__/* .useColStyle */ .c)(prefixCls); let sizeClassObj = {}; sizes.forEach(size => { let sizeProps = {}; const propSize = props[size]; if (typeof propSize === 'number') { sizeProps.span = propSize; } else if (typeof propSize === 'object') { sizeProps = propSize || {}; } delete others[size]; sizeClassObj = Object.assign(Object.assign({}, sizeClassObj), { [`${prefixCls}-${size}-${sizeProps.span}`]: sizeProps.span !== undefined, [`${prefixCls}-${size}-order-${sizeProps.order}`]: sizeProps.order || sizeProps.order === 0, [`${prefixCls}-${size}-offset-${sizeProps.offset}`]: sizeProps.offset || sizeProps.offset === 0, [`${prefixCls}-${size}-push-${sizeProps.push}`]: sizeProps.push || sizeProps.push === 0, [`${prefixCls}-${size}-pull-${sizeProps.pull}`]: sizeProps.pull || sizeProps.pull === 0, [`${prefixCls}-${size}-flex-${sizeProps.flex}`]: sizeProps.flex || sizeProps.flex === 'auto', [`${prefixCls}-rtl`]: direction === 'rtl' }); }); const classes = classnames__WEBPACK_IMPORTED_MODULE_1___default()(prefixCls, { [`${prefixCls}-${span}`]: span !== undefined, [`${prefixCls}-order-${order}`]: order, [`${prefixCls}-offset-${offset}`]: offset, [`${prefixCls}-push-${push}`]: push, [`${prefixCls}-pull-${pull}`]: pull }, className, sizeClassObj, hashId); const mergedStyle = {}; // Horizontal gutter use padding if (gutter && gutter[0] > 0) { const horizontalGutter = gutter[0] / 2; mergedStyle.paddingLeft = horizontalGutter; mergedStyle.paddingRight = horizontalGutter; } if (flex) { mergedStyle.flex = parseFlex(flex); // Hack for Firefox to avoid size issue // https://github.com/ant-design/ant-design/pull/20023#issuecomment-564389553 if (wrap === false && !mergedStyle.minWidth) { mergedStyle.minWidth = 0; } } return wrapSSR( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", Object.assign({}, others, { style: Object.assign(Object.assign({}, mergedStyle), style), className: classes, ref: ref }), children)); }); if (false) {} /* harmony default export */ __webpack_exports__.Z = (Col); /***/ }), /***/ 27382: /*!******************************************************!*\ !*** ./node_modules/_antd@5.9.0@antd/es/grid/row.js ***! \******************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 59301); /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ 92310); /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__); /* harmony import */ var _util_responsiveObserver__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../_util/responsiveObserver */ 69507); /* harmony import */ var _config_provider__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../config-provider */ 36355); /* harmony import */ var _RowContext__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./RowContext */ 6700); /* harmony import */ var _style__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./style */ 98242); "use client"; var __rest = undefined && undefined.__rest || function (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; }; const RowAligns = (/* unused pure expression or super */ null && (['top', 'middle', 'bottom', 'stretch'])); const RowJustify = (/* unused pure expression or super */ null && (['start', 'end', 'center', 'space-around', 'space-between', 'space-evenly'])); function useMergePropByScreen(oriProp, screen) { const [prop, setProp] = react__WEBPACK_IMPORTED_MODULE_0__.useState(typeof oriProp === 'string' ? oriProp : ''); const calcMergeAlignOrJustify = () => { if (typeof oriProp === 'string') { setProp(oriProp); } if (typeof oriProp !== 'object') { return; } for (let i = 0; i < _util_responsiveObserver__WEBPACK_IMPORTED_MODULE_2__/* .responsiveArray */ .c4.length; i++) { const breakpoint = _util_responsiveObserver__WEBPACK_IMPORTED_MODULE_2__/* .responsiveArray */ .c4[i]; // if do not match, do nothing if (!screen[breakpoint]) { continue; } const curVal = oriProp[breakpoint]; if (curVal !== undefined) { setProp(curVal); return; } } }; react__WEBPACK_IMPORTED_MODULE_0__.useEffect(() => { calcMergeAlignOrJustify(); }, [JSON.stringify(oriProp), screen]); return prop; } const Row = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((props, ref) => { const { prefixCls: customizePrefixCls, justify, align, className, style, children, gutter = 0, wrap } = props, others = __rest(props, ["prefixCls", "justify", "align", "className", "style", "children", "gutter", "wrap"]); const { getPrefixCls, direction } = react__WEBPACK_IMPORTED_MODULE_0__.useContext(_config_provider__WEBPACK_IMPORTED_MODULE_3__/* .ConfigContext */ .E_); const [screens, setScreens] = react__WEBPACK_IMPORTED_MODULE_0__.useState({ xs: true, sm: true, md: true, lg: true, xl: true, xxl: true }); // to save screens info when responsiveObserve callback had been call const [curScreens, setCurScreens] = react__WEBPACK_IMPORTED_MODULE_0__.useState({ xs: false, sm: false, md: false, lg: false, xl: false, xxl: false }); // ================================== calc responsive data ================================== const mergeAlign = useMergePropByScreen(align, curScreens); const mergeJustify = useMergePropByScreen(justify, curScreens); const gutterRef = react__WEBPACK_IMPORTED_MODULE_0__.useRef(gutter); const responsiveObserver = (0,_util_responsiveObserver__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)(); // ================================== Effect ================================== react__WEBPACK_IMPORTED_MODULE_0__.useEffect(() => { const token = responsiveObserver.subscribe(screen => { setCurScreens(screen); const currentGutter = gutterRef.current || 0; if (!Array.isArray(currentGutter) && typeof currentGutter === 'object' || Array.isArray(currentGutter) && (typeof currentGutter[0] === 'object' || typeof currentGutter[1] === 'object')) { setScreens(screen); } }); return () => responsiveObserver.unsubscribe(token); }, []); // ================================== Render ================================== const getGutter = () => { const results = [undefined, undefined]; const normalizedGutter = Array.isArray(gutter) ? gutter : [gutter, undefined]; normalizedGutter.forEach((g, index) => { if (typeof g === 'object') { for (let i = 0; i < _util_responsiveObserver__WEBPACK_IMPORTED_MODULE_2__/* .responsiveArray */ .c4.length; i++) { const breakpoint = _util_responsiveObserver__WEBPACK_IMPORTED_MODULE_2__/* .responsiveArray */ .c4[i]; if (screens[breakpoint] && g[breakpoint] !== undefined) { results[index] = g[breakpoint]; break; } } } else { results[index] = g; } }); return results; }; const prefixCls = getPrefixCls('row', customizePrefixCls); const [wrapSSR, hashId] = (0,_style__WEBPACK_IMPORTED_MODULE_4__/* .useRowStyle */ .V)(prefixCls); const gutters = getGutter(); const classes = classnames__WEBPACK_IMPORTED_MODULE_1___default()(prefixCls, { [`${prefixCls}-no-wrap`]: wrap === false, [`${prefixCls}-${mergeJustify}`]: mergeJustify, [`${prefixCls}-${mergeAlign}`]: mergeAlign, [`${prefixCls}-rtl`]: direction === 'rtl' }, className, hashId); // Add gutter related style const rowStyle = {}; const horizontalGutter = gutters[0] != null && gutters[0] > 0 ? gutters[0] / -2 : undefined; if (horizontalGutter) { rowStyle.marginLeft = horizontalGutter; rowStyle.marginRight = horizontalGutter; } [, rowStyle.rowGap] = gutters; // "gutters" is a new array in each rendering phase, it'll make 'React.useMemo' effectless. // So we deconstruct "gutters" variable here. const [gutterH, gutterV] = gutters; const rowContext = react__WEBPACK_IMPORTED_MODULE_0__.useMemo(() => ({ gutter: [gutterH, gutterV], wrap }), [gutterH, gutterV, wrap]); return wrapSSR( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(_RowContext__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z.Provider, { value: rowContext }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", Object.assign({}, others, { className: classes, style: Object.assign(Object.assign({}, rowStyle), style), ref: ref }), children))); }); if (false) {} /* harmony default export */ __webpack_exports__.Z = (Row); /***/ }), /***/ 98242: /*!**************************************************************!*\ !*** ./node_modules/_antd@5.9.0@antd/es/grid/style/index.js ***! \**************************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ V: function() { return /* binding */ useRowStyle; }, /* harmony export */ c: function() { return /* binding */ useColStyle; } /* harmony export */ }); /* harmony import */ var _theme_internal__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../theme/internal */ 83116); /* harmony import */ var _theme_internal__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../theme/internal */ 37613); // ============================== Row-Shared ============================== const genGridRowStyle = token => { const { componentCls } = token; return { // Grid system [componentCls]: { display: 'flex', flexFlow: 'row wrap', minWidth: 0, '&::before, &::after': { display: 'flex' }, '&-no-wrap': { flexWrap: 'nowrap' }, // The origin of the X-axis '&-start': { justifyContent: 'flex-start' }, // The center of the X-axis '&-center': { justifyContent: 'center' }, // The opposite of the X-axis '&-end': { justifyContent: 'flex-end' }, '&-space-between': { justifyContent: 'space-between' }, '&-space-around': { justifyContent: 'space-around' }, '&-space-evenly': { justifyContent: 'space-evenly' }, // Align at the top '&-top': { alignItems: 'flex-start' }, // Align at the center '&-middle': { alignItems: 'center' }, '&-bottom': { alignItems: 'flex-end' } } }; }; // ============================== Col-Shared ============================== const genGridColStyle = token => { const { componentCls } = token; return { // Grid system [componentCls]: { position: 'relative', maxWidth: '100%', // Prevent columns from collapsing when empty minHeight: 1 } }; }; const genLoopGridColumnsStyle = (token, sizeCls) => { const { componentCls, gridColumns } = token; const gridColumnsStyle = {}; for (let i = gridColumns; i >= 0; i--) { if (i === 0) { gridColumnsStyle[`${componentCls}${sizeCls}-${i}`] = { display: 'none' }; gridColumnsStyle[`${componentCls}-push-${i}`] = { insetInlineStart: 'auto' }; gridColumnsStyle[`${componentCls}-pull-${i}`] = { insetInlineEnd: 'auto' }; gridColumnsStyle[`${componentCls}${sizeCls}-push-${i}`] = { insetInlineStart: 'auto' }; gridColumnsStyle[`${componentCls}${sizeCls}-pull-${i}`] = { insetInlineEnd: 'auto' }; gridColumnsStyle[`${componentCls}${sizeCls}-offset-${i}`] = { marginInlineStart: 0 }; gridColumnsStyle[`${componentCls}${sizeCls}-order-${i}`] = { order: 0 }; } else { gridColumnsStyle[`${componentCls}${sizeCls}-${i}`] = [ // https://github.com/ant-design/ant-design/issues/44456 // Form set `display: flex` on Col which will override `display: block`. // Let's get it from css variable to support override. { ['--ant-display']: 'block', // Fallback to display if variable not support display: 'block' }, { display: 'var(--ant-display)', flex: `0 0 ${i / gridColumns * 100}%`, maxWidth: `${i / gridColumns * 100}%` }]; gridColumnsStyle[`${componentCls}${sizeCls}-push-${i}`] = { insetInlineStart: `${i / gridColumns * 100}%` }; gridColumnsStyle[`${componentCls}${sizeCls}-pull-${i}`] = { insetInlineEnd: `${i / gridColumns * 100}%` }; gridColumnsStyle[`${componentCls}${sizeCls}-offset-${i}`] = { marginInlineStart: `${i / gridColumns * 100}%` }; gridColumnsStyle[`${componentCls}${sizeCls}-order-${i}`] = { order: i }; } } return gridColumnsStyle; }; const genGridStyle = (token, sizeCls) => genLoopGridColumnsStyle(token, sizeCls); const genGridMediaStyle = (token, screenSize, sizeCls) => ({ [`@media (min-width: ${screenSize}px)`]: Object.assign({}, genGridStyle(token, sizeCls)) }); // ============================== Export ============================== const useRowStyle = (0,_theme_internal__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)('Grid', token => [genGridRowStyle(token)]); const useColStyle = (0,_theme_internal__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)('Grid', token => { const gridToken = (0,_theme_internal__WEBPACK_IMPORTED_MODULE_1__/* .merge */ .TS)(token, { gridColumns: 24 // Row is divided into 24 parts in Grid }); const gridMediaSizesMap = { '-sm': gridToken.screenSMMin, '-md': gridToken.screenMDMin, '-lg': gridToken.screenLGMin, '-xl': gridToken.screenXLMin, '-xxl': gridToken.screenXXLMin }; return [genGridColStyle(gridToken), genGridStyle(gridToken, ''), genGridStyle(gridToken, '-xs'), Object.keys(gridMediaSizesMap).map(key => genGridMediaStyle(gridToken, gridMediaSizesMap[key], key)).reduce((pre, cur) => Object.assign(Object.assign({}, pre), cur), {})]; }); /***/ }), /***/ 41887: /*!************************************************************!*\ !*** ./node_modules/_antd@5.9.0@antd/es/locale/context.js ***! \************************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 59301); const LocaleContext = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_0__.createContext)(undefined); /* harmony default export */ __webpack_exports__.Z = (LocaleContext); /***/ }), /***/ 96700: /*!**********************************************************!*\ !*** ./node_modules/_antd@5.9.0@antd/es/locale/en_US.js ***! \**********************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony import */ var rc_pagination_es_locale_en_US__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! rc-pagination/es/locale/en_US */ 22075); /* harmony import */ var _calendar_locale_en_US__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../calendar/locale/en_US */ 63788); /* harmony import */ var _date_picker_locale_en_US__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../date-picker/locale/en_US */ 48183); /* harmony import */ var _time_picker_locale_en_US__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../time-picker/locale/en_US */ 67532); /* eslint-disable no-template-curly-in-string */ const typeTemplate = '${label} is not a valid ${type}'; const localeValues = { locale: 'en', Pagination: rc_pagination_es_locale_en_US__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z, DatePicker: _date_picker_locale_en_US__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z, TimePicker: _time_picker_locale_en_US__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z, Calendar: _calendar_locale_en_US__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z, global: { placeholder: 'Please select' }, Table: { filterTitle: 'Filter menu', filterConfirm: 'OK', filterReset: 'Reset', filterEmptyText: 'No filters', filterCheckall: 'Select all items', filterSearchPlaceholder: 'Search in filters', emptyText: 'No data', selectAll: 'Select current page', selectInvert: 'Invert current page', selectNone: 'Clear all data', selectionAll: 'Select all data', sortTitle: 'Sort', expand: 'Expand row', collapse: 'Collapse row', triggerDesc: 'Click to sort descending', triggerAsc: 'Click to sort ascending', cancelSort: 'Click to cancel sorting' }, Tour: { Next: 'Next', Previous: 'Previous', Finish: 'Finish' }, Modal: { okText: 'OK', cancelText: 'Cancel', justOkText: 'OK' }, Popconfirm: { okText: 'OK', cancelText: 'Cancel' }, Transfer: { titles: ['', ''], searchPlaceholder: 'Search here', itemUnit: 'item', itemsUnit: 'items', remove: 'Remove', selectCurrent: 'Select current page', removeCurrent: 'Remove current page', selectAll: 'Select all data', removeAll: 'Remove all data', selectInvert: 'Invert current page' }, Upload: { uploading: 'Uploading...', removeFile: 'Remove file', uploadError: 'Upload error', previewFile: 'Preview file', downloadFile: 'Download file' }, Empty: { description: 'No data' }, Icon: { icon: 'icon' }, Text: { edit: 'Edit', copy: 'Copy', copied: 'Copied', expand: 'Expand' }, PageHeader: { back: 'Back' }, Form: { optional: '(optional)', defaultValidateMessages: { default: 'Field validation error for ${label}', required: 'Please enter ${label}', enum: '${label} must be one of [${enum}]', whitespace: '${label} cannot be a blank character', date: { format: '${label} date format is invalid', parse: '${label} cannot be converted to a date', invalid: '${label} is an invalid date' }, types: { string: typeTemplate, method: typeTemplate, array: typeTemplate, object: typeTemplate, number: typeTemplate, date: typeTemplate, boolean: typeTemplate, integer: typeTemplate, float: typeTemplate, regexp: typeTemplate, email: typeTemplate, url: typeTemplate, hex: typeTemplate }, string: { len: '${label} must be ${len} characters', min: '${label} must be at least ${min} characters', max: '${label} must be up to ${max} characters', range: '${label} must be between ${min}-${max} characters' }, number: { len: '${label} must be equal to ${len}', min: '${label} must be minimum ${min}', max: '${label} must be maximum ${max}', range: '${label} must be between ${min}-${max}' }, array: { len: 'Must be ${len} ${label}', min: 'At least ${min} ${label}', max: 'At most ${max} ${label}', range: 'The amount of ${label} must be between ${min}-${max}' }, pattern: { mismatch: '${label} does not match the pattern ${pattern}' } } }, Image: { preview: 'Preview' }, QRCode: { expired: 'QR code expired', refresh: 'Refresh' }, ColorPicker: { presetEmpty: 'Empty' } }; /* harmony default export */ __webpack_exports__.Z = (localeValues); /***/ }), /***/ 9763: /*!**************************************************************!*\ !*** ./node_modules/_antd@5.9.0@antd/es/locale/useLocale.js ***! \**************************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 59301); /* harmony import */ var _context__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./context */ 41887); /* harmony import */ var _en_US__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./en_US */ 96700); const useLocale = (componentName, defaultLocale) => { const fullLocale = react__WEBPACK_IMPORTED_MODULE_0__.useContext(_context__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z); const getLocale = react__WEBPACK_IMPORTED_MODULE_0__.useMemo(() => { var _a; const locale = defaultLocale || _en_US__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z[componentName]; const localeFromContext = (_a = fullLocale === null || fullLocale === void 0 ? void 0 : fullLocale[componentName]) !== null && _a !== void 0 ? _a : {}; return Object.assign(Object.assign({}, typeof locale === 'function' ? locale() : locale), localeFromContext || {}); }, [componentName, defaultLocale, fullLocale]); const getLocaleCode = react__WEBPACK_IMPORTED_MODULE_0__.useMemo(() => { const localeCode = fullLocale === null || fullLocale === void 0 ? void 0 : fullLocale.locale; // Had use LocaleProvide but didn't set locale if ((fullLocale === null || fullLocale === void 0 ? void 0 : fullLocale.exist) && !localeCode) { return _en_US__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z.locale; } return localeCode; }, [fullLocale]); return [getLocale, getLocaleCode]; }; /* harmony default export */ __webpack_exports__.Z = (useLocale); /***/ }), /***/ 81863: /*!**********************************************************************!*\ !*** ./node_modules/_antd@5.9.0@antd/es/locale/zh_CN.js + 4 modules ***! \**********************************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; // EXPORTS __webpack_require__.d(__webpack_exports__, { Z: function() { return /* binding */ es_locale_zh_CN; } }); // EXTERNAL MODULE: ./node_modules/_rc-pagination@3.6.1@rc-pagination/es/locale/zh_CN.js var zh_CN = __webpack_require__(91735); ;// CONCATENATED MODULE: ./node_modules/_rc-picker@3.13.2@rc-picker/es/locale/zh_CN.js var locale = { locale: 'zh_CN', today: '今天', now: '此刻', backToToday: '返回今天', ok: '确定', timeSelect: '选择时间', dateSelect: '选择日期', weekSelect: '选择周', clear: '清除', month: '月', year: '年', previousMonth: '上个月 (翻页上键)', nextMonth: '下个月 (翻页下键)', monthSelect: '选择月份', yearSelect: '选择年份', decadeSelect: '选择年代', yearFormat: 'YYYY年', dayFormat: 'D日', dateFormat: 'YYYY年M月D日', dateTimeFormat: 'YYYY年M月D日 HH时mm分ss秒', previousYear: '上一年 (Control键加左方向键)', nextYear: '下一年 (Control键加右方向键)', previousDecade: '上一年代', nextDecade: '下一年代', previousCentury: '上一世纪', nextCentury: '下一世纪' }; /* harmony default export */ var locale_zh_CN = (locale); ;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/time-picker/locale/zh_CN.js const zh_CN_locale = { placeholder: '请选择时间', rangePlaceholder: ['开始时间', '结束时间'] }; /* harmony default export */ var time_picker_locale_zh_CN = (zh_CN_locale); ;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/date-picker/locale/zh_CN.js // 统一合并为完整的 Locale const locale_zh_CN_locale = { lang: Object.assign({ placeholder: '请选择日期', yearPlaceholder: '请选择年份', quarterPlaceholder: '请选择季度', monthPlaceholder: '请选择月份', weekPlaceholder: '请选择周', rangePlaceholder: ['开始日期', '结束日期'], rangeYearPlaceholder: ['开始年份', '结束年份'], rangeMonthPlaceholder: ['开始月份', '结束月份'], rangeQuarterPlaceholder: ['开始季度', '结束季度'], rangeWeekPlaceholder: ['开始周', '结束周'] }, locale_zh_CN), timePickerLocale: Object.assign({}, time_picker_locale_zh_CN) }; // should add whitespace between char in Button locale_zh_CN_locale.lang.ok = '确定'; // All settings at: // https://github.com/ant-design/ant-design/blob/master/components/date-picker/locale/example.json /* harmony default export */ var date_picker_locale_zh_CN = (locale_zh_CN_locale); ;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/calendar/locale/zh_CN.js /* harmony default export */ var calendar_locale_zh_CN = (date_picker_locale_zh_CN); ;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/locale/zh_CN.js /* eslint-disable no-template-curly-in-string */ const typeTemplate = '${label}不是一个有效的${type}'; const localeValues = { locale: 'zh-cn', Pagination: zh_CN/* default */.Z, DatePicker: date_picker_locale_zh_CN, TimePicker: time_picker_locale_zh_CN, Calendar: calendar_locale_zh_CN, // locales for all components global: { placeholder: '请选择' }, Table: { filterTitle: '筛选', filterConfirm: '确定', filterReset: '重置', filterEmptyText: '无筛选项', filterCheckall: '全选', filterSearchPlaceholder: '在筛选项中搜索', selectAll: '全选当页', selectInvert: '反选当页', selectNone: '清空所有', selectionAll: '全选所有', sortTitle: '排序', expand: '展开行', collapse: '关闭行', triggerDesc: '点击降序', triggerAsc: '点击升序', cancelSort: '取消排序' }, Modal: { okText: '确定', cancelText: '取消', justOkText: '知道了' }, Tour: { Next: '下一步', Previous: '上一步', Finish: '结束导览' }, Popconfirm: { cancelText: '取消', okText: '确定' }, Transfer: { titles: ['', ''], searchPlaceholder: '请输入搜索内容', itemUnit: '项', itemsUnit: '项', remove: '删除', selectCurrent: '全选当页', removeCurrent: '删除当页', selectAll: '全选所有', removeAll: '删除全部', selectInvert: '反选当页' }, Upload: { uploading: '文件上传中', removeFile: '删除文件', uploadError: '上传错误', previewFile: '预览文件', downloadFile: '下载文件' }, Empty: { description: '暂无数据' }, Icon: { icon: '图标' }, Text: { edit: '编辑', copy: '复制', copied: '复制成功', expand: '展开' }, PageHeader: { back: '返回' }, Form: { optional: '(可选)', defaultValidateMessages: { default: '字段验证错误${label}', required: '请输入${label}', enum: '${label}必须是其中一个[${enum}]', whitespace: '${label}不能为空字符', date: { format: '${label}日期格式无效', parse: '${label}不能转换为日期', invalid: '${label}是一个无效日期' }, types: { string: typeTemplate, method: typeTemplate, array: typeTemplate, object: typeTemplate, number: typeTemplate, date: typeTemplate, boolean: typeTemplate, integer: typeTemplate, float: typeTemplate, regexp: typeTemplate, email: typeTemplate, url: typeTemplate, hex: typeTemplate }, string: { len: '${label}须为${len}个字符', min: '${label}最少${min}个字符', max: '${label}最多${max}个字符', range: '${label}须在${min}-${max}字符之间' }, number: { len: '${label}必须等于${len}', min: '${label}最小值为${min}', max: '${label}最大值为${max}', range: '${label}须在${min}-${max}之间' }, array: { len: '须为${len}个${label}', min: '最少${min}个${label}', max: '最多${max}个${label}', range: '${label}数量须在${min}-${max}之间' }, pattern: { mismatch: '${label}与模式不匹配${pattern}' } } }, Image: { preview: '预览' }, QRCode: { expired: '二维码过期', refresh: '点击刷新' }, ColorPicker: { presetEmpty: '暂无' } }; /* harmony default export */ var es_locale_zh_CN = (localeValues); /***/ }), /***/ 8591: /*!***********************************************************************!*\ !*** ./node_modules/_antd@5.9.0@antd/es/message/index.js + 4 modules ***! \***********************************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; // EXPORTS __webpack_require__.d(__webpack_exports__, { ZP: function() { return /* binding */ es_message; } }); // UNUSED EXPORTS: actDestroy, actWrapper // EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.28.6@@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules var toConsumableArray = __webpack_require__(77654); // EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/index.js var _react_17_0_2_react = __webpack_require__(59301); // EXTERNAL MODULE: ./node_modules/_rc-util@5.44.4@rc-util/es/React/render.js var render = __webpack_require__(1585); // EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/config-provider/index.js + 5 modules var config_provider = __webpack_require__(92736); // EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.6.1@@ant-design/icons/es/icons/CheckCircleFilled.js + 1 modules var CheckCircleFilled = __webpack_require__(29679); // EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.6.1@@ant-design/icons/es/icons/CloseCircleFilled.js + 1 modules var CloseCircleFilled = __webpack_require__(19248); // EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.6.1@@ant-design/icons/es/icons/ExclamationCircleFilled.js + 1 modules var ExclamationCircleFilled = __webpack_require__(96512); // EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.6.1@@ant-design/icons/es/icons/InfoCircleFilled.js + 1 modules var InfoCircleFilled = __webpack_require__(78987); // EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.6.1@@ant-design/icons/es/icons/LoadingOutlined.js + 1 modules var LoadingOutlined = __webpack_require__(58617); // EXTERNAL MODULE: ./node_modules/_classnames@2.5.1@classnames/index.js var _classnames_2_5_1_classnames = __webpack_require__(92310); var _classnames_2_5_1_classnames_default = /*#__PURE__*/__webpack_require__.n(_classnames_2_5_1_classnames); // EXTERNAL MODULE: ./node_modules/_rc-notification@5.1.1@rc-notification/es/index.js + 5 modules var es = __webpack_require__(581); // EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/config-provider/context.js var context = __webpack_require__(36355); // EXTERNAL MODULE: ./node_modules/_@ant-design_cssinjs@1.24.0@@ant-design/cssinjs/es/index.js + 39 modules var cssinjs_es = __webpack_require__(36237); // EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/style/index.js var style = __webpack_require__(17313); // EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/theme/util/genComponentStyleHook.js var genComponentStyleHook = __webpack_require__(83116); // EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/theme/util/statistic.js var statistic = __webpack_require__(37613); ;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/message/style/index.js "use client"; const genMessageStyle = token => { const { componentCls, iconCls, boxShadow, colorText, colorSuccess, colorError, colorWarning, colorInfo, fontSizeLG, motionEaseInOutCirc, motionDurationSlow, marginXS, paddingXS, borderRadiusLG, zIndexPopup, // Custom token contentPadding, contentBg } = token; const noticeCls = `${componentCls}-notice`; const messageMoveIn = new cssinjs_es.Keyframes('MessageMoveIn', { '0%': { padding: 0, transform: 'translateY(-100%)', opacity: 0 }, '100%': { padding: paddingXS, transform: 'translateY(0)', opacity: 1 } }); const messageMoveOut = new cssinjs_es.Keyframes('MessageMoveOut', { '0%': { maxHeight: token.height, padding: paddingXS, opacity: 1 }, '100%': { maxHeight: 0, padding: 0, opacity: 0 } }); const noticeStyle = { padding: paddingXS, textAlign: 'center', [`${componentCls}-custom-content > ${iconCls}`]: { verticalAlign: 'text-bottom', marginInlineEnd: marginXS, fontSize: fontSizeLG }, [`${noticeCls}-content`]: { display: 'inline-block', padding: contentPadding, background: contentBg, borderRadius: borderRadiusLG, boxShadow, pointerEvents: 'all' }, [`${componentCls}-success > ${iconCls}`]: { color: colorSuccess }, [`${componentCls}-error > ${iconCls}`]: { color: colorError }, [`${componentCls}-warning > ${iconCls}`]: { color: colorWarning }, [`${componentCls}-info > ${iconCls}, ${componentCls}-loading > ${iconCls}`]: { color: colorInfo } }; return [ // ============================ Holder ============================ { [componentCls]: Object.assign(Object.assign({}, (0,style/* resetComponent */.Wf)(token)), { color: colorText, position: 'fixed', top: marginXS, width: '100%', pointerEvents: 'none', zIndex: zIndexPopup, [`${componentCls}-move-up`]: { animationFillMode: 'forwards' }, [` ${componentCls}-move-up-appear, ${componentCls}-move-up-enter `]: { animationName: messageMoveIn, animationDuration: motionDurationSlow, animationPlayState: 'paused', animationTimingFunction: motionEaseInOutCirc }, [` ${componentCls}-move-up-appear${componentCls}-move-up-appear-active, ${componentCls}-move-up-enter${componentCls}-move-up-enter-active `]: { animationPlayState: 'running' }, [`${componentCls}-move-up-leave`]: { animationName: messageMoveOut, animationDuration: motionDurationSlow, animationPlayState: 'paused', animationTimingFunction: motionEaseInOutCirc }, [`${componentCls}-move-up-leave${componentCls}-move-up-leave-active`]: { animationPlayState: 'running' }, '&-rtl': { direction: 'rtl', span: { direction: 'rtl' } } }) }, // ============================ Notice ============================ { [componentCls]: { [noticeCls]: Object.assign({}, noticeStyle) } }, // ============================= Pure ============================= { [`${componentCls}-notice-pure-panel`]: Object.assign(Object.assign({}, noticeStyle), { padding: 0, textAlign: 'start' }) }]; }; // ============================== Export ============================== /* harmony default export */ var message_style = ((0,genComponentStyleHook/* default */.Z)('Message', token => { // Gen-style functions here const combinedToken = (0,statistic/* merge */.TS)(token, { height: 150 }); return [genMessageStyle(combinedToken)]; }, token => ({ zIndexPopup: token.zIndexPopupBase + 10, contentBg: token.colorBgElevated, contentPadding: `${(token.controlHeightLG - token.fontSize * token.lineHeight) / 2}px ${token.paddingSM}px` }))); ;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/message/PurePanel.js "use client"; var __rest = undefined && undefined.__rest || function (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; }; const TypeIcon = { info: /*#__PURE__*/_react_17_0_2_react.createElement(InfoCircleFilled/* default */.Z, null), success: /*#__PURE__*/_react_17_0_2_react.createElement(CheckCircleFilled/* default */.Z, null), error: /*#__PURE__*/_react_17_0_2_react.createElement(CloseCircleFilled/* default */.Z, null), warning: /*#__PURE__*/_react_17_0_2_react.createElement(ExclamationCircleFilled/* default */.Z, null), loading: /*#__PURE__*/_react_17_0_2_react.createElement(LoadingOutlined/* default */.Z, null) }; const PureContent = _ref => { let { prefixCls, type, icon, children } = _ref; return /*#__PURE__*/_react_17_0_2_react.createElement("div", { className: _classnames_2_5_1_classnames_default()(`${prefixCls}-custom-content`, `${prefixCls}-${type}`) }, icon || TypeIcon[type], /*#__PURE__*/_react_17_0_2_react.createElement("span", null, children)); }; /** @private Internal Component. Do not use in your production. */ const PurePanel = props => { const { prefixCls: staticPrefixCls, className, type, icon, content } = props, restProps = __rest(props, ["prefixCls", "className", "type", "icon", "content"]); const { getPrefixCls } = _react_17_0_2_react.useContext(context/* ConfigContext */.E_); const prefixCls = staticPrefixCls || getPrefixCls('message'); const [, hashId] = message_style(prefixCls); return /*#__PURE__*/_react_17_0_2_react.createElement(es/* Notice */.qX, Object.assign({}, restProps, { prefixCls: prefixCls, className: _classnames_2_5_1_classnames_default()(className, hashId, `${prefixCls}-notice-pure-panel`), eventKey: "pure", duration: null, content: /*#__PURE__*/_react_17_0_2_react.createElement(PureContent, { prefixCls: prefixCls, type: type, icon: icon }, content) })); }; /* harmony default export */ var message_PurePanel = (PurePanel); // EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.6.1@@ant-design/icons/es/icons/CloseOutlined.js + 1 modules var CloseOutlined = __webpack_require__(99267); ;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/message/util.js function getMotion(prefixCls, transitionName) { return { motionName: transitionName !== null && transitionName !== void 0 ? transitionName : `${prefixCls}-move-up` }; } /** Wrap message open with promise like function */ function wrapPromiseFn(openFn) { let closeFn; const closePromise = new Promise(resolve => { closeFn = openFn(() => { resolve(true); }); }); const result = () => { closeFn === null || closeFn === void 0 ? void 0 : closeFn(); }; result.then = (filled, rejected) => closePromise.then(filled, rejected); result.promise = closePromise; return result; } ;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/message/useMessage.js "use client"; var useMessage_rest = undefined && undefined.__rest || function (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; }; const DEFAULT_OFFSET = 8; const DEFAULT_DURATION = 3; const Wrapper = _ref => { let { children, prefixCls } = _ref; const [, hashId] = message_style(prefixCls); return /*#__PURE__*/_react_17_0_2_react.createElement(es/* NotificationProvider */.JB, { classNames: { list: hashId, notice: hashId } }, children); }; const renderNotifications = (node, _ref2) => { let { prefixCls, key } = _ref2; return /*#__PURE__*/_react_17_0_2_react.createElement(Wrapper, { prefixCls: prefixCls, key: key }, node); }; const Holder = /*#__PURE__*/_react_17_0_2_react.forwardRef((props, ref) => { const { top, prefixCls: staticPrefixCls, getContainer: staticGetContainer, maxCount, duration = DEFAULT_DURATION, rtl, transitionName, onAllRemoved } = props; const { getPrefixCls, getPopupContainer, message } = _react_17_0_2_react.useContext(context/* ConfigContext */.E_); const prefixCls = staticPrefixCls || getPrefixCls('message'); // =============================== Style =============================== const getStyle = () => ({ left: '50%', transform: 'translateX(-50%)', top: top !== null && top !== void 0 ? top : DEFAULT_OFFSET }); const getClassName = () => _classnames_2_5_1_classnames_default()({ [`${prefixCls}-rtl`]: rtl }); // ============================== Motion =============================== const getNotificationMotion = () => getMotion(prefixCls, transitionName); // ============================ Close Icon ============================= const mergedCloseIcon = /*#__PURE__*/_react_17_0_2_react.createElement("span", { className: `${prefixCls}-close-x` }, /*#__PURE__*/_react_17_0_2_react.createElement(CloseOutlined/* default */.Z, { className: `${prefixCls}-close-icon` })); // ============================== Origin =============================== const [api, holder] = (0,es/* useNotification */.lm)({ prefixCls, style: getStyle, className: getClassName, motion: getNotificationMotion, closable: false, closeIcon: mergedCloseIcon, duration, getContainer: () => (staticGetContainer === null || staticGetContainer === void 0 ? void 0 : staticGetContainer()) || (getPopupContainer === null || getPopupContainer === void 0 ? void 0 : getPopupContainer()) || document.body, maxCount, onAllRemoved, renderNotifications }); // ================================ Ref ================================ _react_17_0_2_react.useImperativeHandle(ref, () => Object.assign(Object.assign({}, api), { prefixCls, message })); return holder; }); // ============================================================================== // == Hook == // ============================================================================== let keyIndex = 0; function useInternalMessage(messageConfig) { const holderRef = _react_17_0_2_react.useRef(null); // ================================ API ================================ const wrapAPI = _react_17_0_2_react.useMemo(() => { // Wrap with notification content // >>> close const close = key => { var _a; (_a = holderRef.current) === null || _a === void 0 ? void 0 : _a.close(key); }; // >>> Open const open = config => { if (!holderRef.current) { false ? 0 : void 0; const fakeResult = () => {}; fakeResult.then = () => {}; return fakeResult; } const { open: originOpen, prefixCls, message } = holderRef.current; const noticePrefixCls = `${prefixCls}-notice`; const { content, icon, type, key, className, style, onClose } = config, restConfig = useMessage_rest(config, ["content", "icon", "type", "key", "className", "style", "onClose"]); let mergedKey = key; if (mergedKey === undefined || mergedKey === null) { keyIndex += 1; mergedKey = `antd-message-${keyIndex}`; } return wrapPromiseFn(resolve => { originOpen(Object.assign(Object.assign({}, restConfig), { key: mergedKey, content: /*#__PURE__*/_react_17_0_2_react.createElement(PureContent, { prefixCls: prefixCls, type: type, icon: icon }, content), placement: 'top', className: _classnames_2_5_1_classnames_default()(type && `${noticePrefixCls}-${type}`, className, message === null || message === void 0 ? void 0 : message.className), style: Object.assign(Object.assign({}, message === null || message === void 0 ? void 0 : message.style), style), onClose: () => { onClose === null || onClose === void 0 ? void 0 : onClose(); resolve(); } })); // Return close function return () => { close(mergedKey); }; }); }; // >>> destroy const destroy = key => { var _a; if (key !== undefined) { close(key); } else { (_a = holderRef.current) === null || _a === void 0 ? void 0 : _a.destroy(); } }; const clone = { open, destroy }; const keys = ['info', 'success', 'warning', 'error', 'loading']; keys.forEach(type => { const typeOpen = (jointContent, duration, onClose) => { let config; if (jointContent && typeof jointContent === 'object' && 'content' in jointContent) { config = jointContent; } else { config = { content: jointContent }; } // Params let mergedDuration; let mergedOnClose; if (typeof duration === 'function') { mergedOnClose = duration; } else { mergedDuration = duration; mergedOnClose = onClose; } const mergedConfig = Object.assign(Object.assign({ onClose: mergedOnClose, duration: mergedDuration }, config), { type }); return open(mergedConfig); }; clone[type] = typeOpen; }); return clone; }, []); // ============================== Return =============================== return [wrapAPI, /*#__PURE__*/_react_17_0_2_react.createElement(Holder, Object.assign({ key: "message-holder" }, messageConfig, { ref: holderRef }))]; } function useMessage(messageConfig) { return useInternalMessage(messageConfig); } ;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/message/index.js "use client"; let message = null; let act = callback => callback(); let taskQueue = []; let defaultGlobalConfig = {}; function getGlobalContext() { const { prefixCls: globalPrefixCls, getContainer: globalGetContainer, duration, rtl, maxCount, top } = defaultGlobalConfig; const mergedPrefixCls = globalPrefixCls !== null && globalPrefixCls !== void 0 ? globalPrefixCls : (0,config_provider/* globalConfig */.w6)().getPrefixCls('message'); const mergedContainer = (globalGetContainer === null || globalGetContainer === void 0 ? void 0 : globalGetContainer()) || document.body; return { prefixCls: mergedPrefixCls, getContainer: () => mergedContainer, duration, rtl, maxCount, top }; } const GlobalHolder = /*#__PURE__*/_react_17_0_2_react.forwardRef((_, ref) => { const [messageConfig, setMessageConfig] = _react_17_0_2_react.useState(getGlobalContext); const [api, holder] = useInternalMessage(messageConfig); const global = (0,config_provider/* globalConfig */.w6)(); const rootPrefixCls = global.getRootPrefixCls(); const rootIconPrefixCls = global.getIconPrefixCls(); const theme = global.getTheme(); const sync = () => { setMessageConfig(getGlobalContext); }; _react_17_0_2_react.useEffect(sync, []); _react_17_0_2_react.useImperativeHandle(ref, () => { const instance = Object.assign({}, api); Object.keys(instance).forEach(method => { instance[method] = function () { sync(); return api[method].apply(api, arguments); }; }); return { instance, sync }; }); return /*#__PURE__*/_react_17_0_2_react.createElement(config_provider/* default */.ZP, { prefixCls: rootPrefixCls, iconPrefixCls: rootIconPrefixCls, theme: theme }, holder); }); function flushNotice() { if (!message) { const holderFragment = document.createDocumentFragment(); const newMessage = { fragment: holderFragment }; message = newMessage; // Delay render to avoid sync issue act(() => { (0,render/* render */.s)( /*#__PURE__*/_react_17_0_2_react.createElement(GlobalHolder, { ref: node => { const { instance, sync } = node || {}; // React 18 test env will throw if call immediately in ref Promise.resolve().then(() => { if (!newMessage.instance && instance) { newMessage.instance = instance; newMessage.sync = sync; flushNotice(); } }); } }), holderFragment); }); return; } // Notification not ready if (!message.instance) { return; } // >>> Execute task taskQueue.forEach(task => { const { type, skipped } = task; // Only `skipped` when user call notice but cancel it immediately // and instance not ready if (!skipped) { switch (type) { case 'open': { act(() => { const closeFn = message.instance.open(Object.assign(Object.assign({}, defaultGlobalConfig), task.config)); closeFn === null || closeFn === void 0 ? void 0 : closeFn.then(task.resolve); task.setCloseFn(closeFn); }); break; } case 'destroy': act(() => { message === null || message === void 0 ? void 0 : message.instance.destroy(task.key); }); break; // Other type open default: { act(() => { var _message$instance; const closeFn = (_message$instance = message.instance)[type].apply(_message$instance, (0,toConsumableArray/* default */.Z)(task.args)); closeFn === null || closeFn === void 0 ? void 0 : closeFn.then(task.resolve); task.setCloseFn(closeFn); }); } } } }); // Clean up taskQueue = []; } // ============================================================================== // == Export == // ============================================================================== function setMessageGlobalConfig(config) { defaultGlobalConfig = Object.assign(Object.assign({}, defaultGlobalConfig), config); // Trigger sync for it act(() => { var _a; (_a = message === null || message === void 0 ? void 0 : message.sync) === null || _a === void 0 ? void 0 : _a.call(message); }); } function message_open(config) { const result = wrapPromiseFn(resolve => { let closeFn; const task = { type: 'open', config, resolve, setCloseFn: fn => { closeFn = fn; } }; taskQueue.push(task); return () => { if (closeFn) { act(() => { closeFn(); }); } else { task.skipped = true; } }; }); flushNotice(); return result; } function typeOpen(type, args) { // Warning if exist theme if (false) {} const result = wrapPromiseFn(resolve => { let closeFn; const task = { type, args, resolve, setCloseFn: fn => { closeFn = fn; } }; taskQueue.push(task); return () => { if (closeFn) { act(() => { closeFn(); }); } else { task.skipped = true; } }; }); flushNotice(); return result; } function destroy(key) { taskQueue.push({ type: 'destroy', key }); flushNotice(); } const methods = ['success', 'info', 'warning', 'error', 'loading']; const baseStaticMethods = { open: message_open, destroy, config: setMessageGlobalConfig, useMessage: useMessage, _InternalPanelDoNotUseOrYouWillBeFired: message_PurePanel }; const staticMethods = baseStaticMethods; methods.forEach(type => { staticMethods[type] = function () { for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { args[_key] = arguments[_key]; } return typeOpen(type, args); }; }); // ============================================================================== // == Test == // ============================================================================== const noop = () => {}; /** @internal Only Work in test env */ // eslint-disable-next-line import/no-mutable-exports let actWrapper = (/* unused pure expression or super */ null && (noop)); if (false) {} /** @internal Only Work in test env */ // eslint-disable-next-line import/no-mutable-exports let actDestroy = (/* unused pure expression or super */ null && (noop)); if (false) {} /* harmony default export */ var es_message = (staticMethods); /***/ }), /***/ 43418: /*!**********************************************************************!*\ !*** ./node_modules/_antd@5.9.0@antd/es/modal/index.js + 16 modules ***! \**********************************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; // EXPORTS __webpack_require__.d(__webpack_exports__, { Z: function() { return /* binding */ modal; } }); // EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.28.6@@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules var toConsumableArray = __webpack_require__(77654); // EXTERNAL MODULE: ./node_modules/_rc-util@5.44.4@rc-util/es/React/render.js var React_render = __webpack_require__(1585); // EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/index.js var _react_17_0_2_react = __webpack_require__(59301); // EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/config-provider/index.js + 5 modules var config_provider = __webpack_require__(92736); // EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.6.1@@ant-design/icons/es/icons/CheckCircleFilled.js + 1 modules var CheckCircleFilled = __webpack_require__(29679); // EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.6.1@@ant-design/icons/es/icons/CloseCircleFilled.js + 1 modules var CloseCircleFilled = __webpack_require__(19248); // EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.6.1@@ant-design/icons/es/icons/ExclamationCircleFilled.js + 1 modules var ExclamationCircleFilled = __webpack_require__(96512); // EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.6.1@@ant-design/icons/es/icons/InfoCircleFilled.js + 1 modules var InfoCircleFilled = __webpack_require__(78987); // EXTERNAL MODULE: ./node_modules/_classnames@2.5.1@classnames/index.js var _classnames_2_5_1_classnames = __webpack_require__(92310); var _classnames_2_5_1_classnames_default = /*#__PURE__*/__webpack_require__.n(_classnames_2_5_1_classnames); // EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/_util/motion.js var motion = __webpack_require__(62892); // EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/locale/useLocale.js var useLocale = __webpack_require__(9763); // EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/_util/ActionButton.js var ActionButton = __webpack_require__(92806); ;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/modal/context.js const ModalContext = /*#__PURE__*/_react_17_0_2_react.createContext({}); const { Provider: ModalContextProvider } = ModalContext; ;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/modal/components/ConfirmCancelBtn.js "use client"; const ConfirmCancelBtn = () => { const { autoFocusButton, cancelButtonProps, cancelTextLocale, isSilent, mergedOkCancel, rootPrefixCls, close, onCancel, onConfirm } = (0,_react_17_0_2_react.useContext)(ModalContext); return mergedOkCancel ? /*#__PURE__*/_react_17_0_2_react.createElement(ActionButton/* default */.Z, { isSilent: isSilent, actionFn: onCancel, close: function () { close === null || close === void 0 ? void 0 : close.apply(void 0, arguments); onConfirm === null || onConfirm === void 0 ? void 0 : onConfirm(false); }, autoFocus: autoFocusButton === 'cancel', buttonProps: cancelButtonProps, prefixCls: `${rootPrefixCls}-btn` }, cancelTextLocale) : null; }; /* harmony default export */ var components_ConfirmCancelBtn = (ConfirmCancelBtn); ;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/modal/components/ConfirmOkBtn.js "use client"; const ConfirmOkBtn = () => { const { autoFocusButton, close, isSilent, okButtonProps, rootPrefixCls, okTextLocale, okType, onConfirm, onOk } = (0,_react_17_0_2_react.useContext)(ModalContext); return /*#__PURE__*/_react_17_0_2_react.createElement(ActionButton/* default */.Z, { isSilent: isSilent, type: okType || 'primary', actionFn: onOk, close: function () { close === null || close === void 0 ? void 0 : close.apply(void 0, arguments); onConfirm === null || onConfirm === void 0 ? void 0 : onConfirm(true); }, autoFocus: autoFocusButton === 'ok', buttonProps: okButtonProps, prefixCls: `${rootPrefixCls}-btn` }, okTextLocale); }; /* harmony default export */ var components_ConfirmOkBtn = (ConfirmOkBtn); // EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.6.1@@ant-design/icons/es/icons/CloseOutlined.js + 1 modules var CloseOutlined = __webpack_require__(99267); // EXTERNAL MODULE: ./node_modules/_rc-dialog@9.2.0@rc-dialog/es/index.js + 8 modules var es = __webpack_require__(86923); // EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/_util/hooks/useClosable.js var useClosable = __webpack_require__(47729); // EXTERNAL MODULE: ./node_modules/_rc-util@5.44.4@rc-util/es/Dom/canUseDom.js var canUseDom = __webpack_require__(47273); ;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/_util/styleChecker.js const canUseDocElement = () => (0,canUseDom/* default */.Z)() && window.document.documentElement; // EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/config-provider/context.js var context = __webpack_require__(36355); // EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/form/context.js var form_context = __webpack_require__(32441); // EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/space/Compact.js var Compact = __webpack_require__(33234); // EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/watermark/context.js var watermark_context = __webpack_require__(11575); // EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/config-provider/DisabledContext.js var DisabledContext = __webpack_require__(1684); // EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/button/index.js var es_button = __webpack_require__(3113); ;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/modal/components/NormalCancelBtn.js "use client"; const NormalCancelBtn = () => { const { cancelButtonProps, cancelTextLocale, onCancel } = (0,_react_17_0_2_react.useContext)(ModalContext); return /*#__PURE__*/_react_17_0_2_react.createElement(es_button/* default */.ZP, Object.assign({ onClick: onCancel }, cancelButtonProps), cancelTextLocale); }; /* harmony default export */ var components_NormalCancelBtn = (NormalCancelBtn); // EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/button/button.js + 8 modules var button_button = __webpack_require__(67797); ;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/modal/components/NormalOkBtn.js "use client"; const NormalOkBtn = () => { const { confirmLoading, okButtonProps, okType, okTextLocale, onOk } = (0,_react_17_0_2_react.useContext)(ModalContext); return /*#__PURE__*/_react_17_0_2_react.createElement(es_button/* default */.ZP, Object.assign({}, (0,button_button/* convertLegacyProps */.n)(okType), { loading: confirmLoading, onClick: onOk }, okButtonProps), okTextLocale); }; /* harmony default export */ var components_NormalOkBtn = (NormalOkBtn); // EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/modal/locale.js var modal_locale = __webpack_require__(98044); ;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/modal/shared.js "use client"; function renderCloseIcon(prefixCls, closeIcon) { return /*#__PURE__*/_react_17_0_2_react.createElement("span", { className: `${prefixCls}-close-x` }, closeIcon || /*#__PURE__*/_react_17_0_2_react.createElement(CloseOutlined/* default */.Z, { className: `${prefixCls}-close-icon` })); } const Footer = props => { const { okText, okType = 'primary', cancelText, confirmLoading, onOk, onCancel, okButtonProps, cancelButtonProps, footer } = props; const [locale] = (0,useLocale/* default */.Z)('Modal', (0,modal_locale/* getConfirmLocale */.A)()); // ================== Locale Text ================== const okTextLocale = okText || (locale === null || locale === void 0 ? void 0 : locale.okText); const cancelTextLocale = cancelText || (locale === null || locale === void 0 ? void 0 : locale.cancelText); // ================= Context Value ================= const btnCtxValue = { confirmLoading, okButtonProps, cancelButtonProps, okTextLocale, cancelTextLocale, okType, onOk, onCancel }; const btnCtxValueMemo = _react_17_0_2_react.useMemo(() => btnCtxValue, (0,toConsumableArray/* default */.Z)(Object.values(btnCtxValue))); let footerNode; if (typeof footer === 'function' || typeof footer === 'undefined') { footerNode = /*#__PURE__*/_react_17_0_2_react.createElement(ModalContextProvider, { value: btnCtxValueMemo }, /*#__PURE__*/_react_17_0_2_react.createElement(components_NormalCancelBtn, null), /*#__PURE__*/_react_17_0_2_react.createElement(components_NormalOkBtn, null)); if (typeof footer === 'function') { footerNode = footer(footerNode, { OkBtn: components_NormalOkBtn, CancelBtn: components_NormalCancelBtn }); } } else { footerNode = footer; } return /*#__PURE__*/_react_17_0_2_react.createElement(DisabledContext/* DisabledContextProvider */.n, { disabled: false }, footerNode); }; // EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/modal/style/index.js var modal_style = __webpack_require__(73819); ;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/modal/Modal.js "use client"; var __rest = undefined && undefined.__rest || function (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; }; let mousePosition; // ref: https://github.com/ant-design/ant-design/issues/15795 const getClickPosition = e => { mousePosition = { x: e.pageX, y: e.pageY }; // 100ms 内发生过点击事件,则从点击位置动画展示 // 否则直接 zoom 展示 // 这样可以兼容非点击方式展开 setTimeout(() => { mousePosition = null; }, 100); }; // 只有点击事件支持从鼠标位置动画展开 if (canUseDocElement()) { document.documentElement.addEventListener('click', getClickPosition, true); } const Modal = props => { var _a; const { getPopupContainer: getContextPopupContainer, getPrefixCls, direction, modal } = _react_17_0_2_react.useContext(context/* ConfigContext */.E_); const handleCancel = e => { const { onCancel } = props; onCancel === null || onCancel === void 0 ? void 0 : onCancel(e); }; const handleOk = e => { const { onOk } = props; onOk === null || onOk === void 0 ? void 0 : onOk(e); }; false ? 0 : void 0; const { prefixCls: customizePrefixCls, className, rootClassName, open, wrapClassName, centered, getContainer, closeIcon, closable, focusTriggerAfterClose = true, style, // Deprecated visible, width = 520, footer } = props, restProps = __rest(props, ["prefixCls", "className", "rootClassName", "open", "wrapClassName", "centered", "getContainer", "closeIcon", "closable", "focusTriggerAfterClose", "style", "visible", "width", "footer"]); const prefixCls = getPrefixCls('modal', customizePrefixCls); const rootPrefixCls = getPrefixCls(); // Style const [wrapSSR, hashId] = (0,modal_style/* default */.ZP)(prefixCls); const wrapClassNameExtended = _classnames_2_5_1_classnames_default()(wrapClassName, { [`${prefixCls}-centered`]: !!centered, [`${prefixCls}-wrap-rtl`]: direction === 'rtl' }); if (false) {} const dialogFooter = footer !== null && /*#__PURE__*/_react_17_0_2_react.createElement(Footer, Object.assign({}, props, { onOk: handleOk, onCancel: handleCancel })); const [mergedClosable, mergedCloseIcon] = (0,useClosable/* default */.Z)(closable, closeIcon, icon => renderCloseIcon(prefixCls, icon), /*#__PURE__*/_react_17_0_2_react.createElement(CloseOutlined/* default */.Z, { className: `${prefixCls}-close-icon` }), true); // ============================ Refs ============================ // Select `ant-modal-content` by `panelRef` const panelRef = (0,watermark_context/* usePanelRef */.H)(`.${prefixCls}-content`); // =========================== Render =========================== return wrapSSR( /*#__PURE__*/_react_17_0_2_react.createElement(Compact/* NoCompactStyle */.BR, null, /*#__PURE__*/_react_17_0_2_react.createElement(form_context/* NoFormStyle */.Ux, { status: true, override: true }, /*#__PURE__*/_react_17_0_2_react.createElement(es/* default */.Z, Object.assign({ width: width }, restProps, { getContainer: getContainer === undefined ? getContextPopupContainer : getContainer, prefixCls: prefixCls, rootClassName: _classnames_2_5_1_classnames_default()(hashId, rootClassName), wrapClassName: wrapClassNameExtended, footer: dialogFooter, visible: open !== null && open !== void 0 ? open : visible, mousePosition: (_a = restProps.mousePosition) !== null && _a !== void 0 ? _a : mousePosition, onClose: handleCancel, closable: mergedClosable, closeIcon: mergedCloseIcon, focusTriggerAfterClose: focusTriggerAfterClose, transitionName: (0,motion/* getTransitionName */.m)(rootPrefixCls, 'zoom', props.transitionName), maskTransitionName: (0,motion/* getTransitionName */.m)(rootPrefixCls, 'fade', props.maskTransitionName), className: _classnames_2_5_1_classnames_default()(hashId, className, modal === null || modal === void 0 ? void 0 : modal.className), style: Object.assign(Object.assign({}, modal === null || modal === void 0 ? void 0 : modal.style), style), panelRef: panelRef }))))); }; /* harmony default export */ var modal_Modal = (Modal); // EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/style/index.js var style = __webpack_require__(17313); // EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/theme/util/genComponentStyleHook.js var genComponentStyleHook = __webpack_require__(83116); ;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/modal/style/confirmCmp.js "use client"; // Style as confirm component // ============================= Confirm ============================== const genModalConfirmStyle = token => { const { componentCls, titleFontSize, titleLineHeight, modalConfirmIconSize, fontSize, lineHeight } = token; const confirmComponentCls = `${componentCls}-confirm`; const titleHeight = Math.round(titleFontSize * titleLineHeight); const contentHeight = Math.round(fontSize * lineHeight); return { [confirmComponentCls]: { '&-rtl': { direction: 'rtl' }, [`${token.antCls}-modal-header`]: { display: 'none' }, [`${confirmComponentCls}-body-wrapper`]: Object.assign({}, (0,style/* clearFix */.dF)()), // ====================== Body ====================== [`${confirmComponentCls}-body`]: { display: 'flex', flexWrap: 'nowrap', alignItems: 'start', [`> ${token.iconCls}`]: { flex: 'none', fontSize: modalConfirmIconSize, marginInlineEnd: token.marginSM, marginTop: (contentHeight - modalConfirmIconSize) / 2 }, [`&-has-title > ${token.iconCls}`]: { marginTop: (titleHeight - modalConfirmIconSize) / 2 } }, [`${confirmComponentCls}-paragraph`]: { display: 'flex', flexDirection: 'column', flex: 'auto', rowGap: token.marginXS }, [`${confirmComponentCls}-title`]: { color: token.colorTextHeading, fontWeight: token.fontWeightStrong, fontSize: titleFontSize, lineHeight: titleLineHeight }, [`${confirmComponentCls}-content`]: { color: token.colorText, fontSize, lineHeight }, // ===================== Footer ===================== [`${confirmComponentCls}-btns`]: { textAlign: 'end', marginTop: token.marginSM, [`${token.antCls}-btn + ${token.antCls}-btn`]: { marginBottom: 0, marginInlineStart: token.marginXS } } }, [`${confirmComponentCls}-error ${confirmComponentCls}-body > ${token.iconCls}`]: { color: token.colorError }, [`${confirmComponentCls}-warning ${confirmComponentCls}-body > ${token.iconCls}, ${confirmComponentCls}-confirm ${confirmComponentCls}-body > ${token.iconCls}`]: { color: token.colorWarning }, [`${confirmComponentCls}-info ${confirmComponentCls}-body > ${token.iconCls}`]: { color: token.colorInfo }, [`${confirmComponentCls}-success ${confirmComponentCls}-body > ${token.iconCls}`]: { color: token.colorSuccess } }; }; // ============================== Export ============================== /* harmony default export */ var confirmCmp = ((0,genComponentStyleHook/* genSubStyleComponent */.b)(['Modal', 'confirm'], token => { const modalToken = (0,modal_style/* prepareToken */.B4)(token); return [genModalConfirmStyle(modalToken)]; }, modal_style/* prepareComponentToken */.eh, { // confirm is weak than modal since no conflict here order: -1000 })); ;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/modal/ConfirmDialog.js "use client"; var ConfirmDialog_rest = undefined && undefined.__rest || function (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 ConfirmContent(props) { const { prefixCls, icon, okText, cancelText, confirmPrefixCls, type, okCancel, footer, // Legacy for static function usage locale: staticLocale } = props, resetProps = ConfirmDialog_rest(props, ["prefixCls", "icon", "okText", "cancelText", "confirmPrefixCls", "type", "okCancel", "footer", "locale"]); false ? 0 : void 0; // Icon let mergedIcon = icon; // 支持传入{ icon: null }来隐藏`Modal.confirm`默认的Icon if (!icon && icon !== null) { switch (type) { case 'info': mergedIcon = /*#__PURE__*/_react_17_0_2_react.createElement(InfoCircleFilled/* default */.Z, null); break; case 'success': mergedIcon = /*#__PURE__*/_react_17_0_2_react.createElement(CheckCircleFilled/* default */.Z, null); break; case 'error': mergedIcon = /*#__PURE__*/_react_17_0_2_react.createElement(CloseCircleFilled/* default */.Z, null); break; default: mergedIcon = /*#__PURE__*/_react_17_0_2_react.createElement(ExclamationCircleFilled/* default */.Z, null); } } // 默认为 true,保持向下兼容 const mergedOkCancel = okCancel !== null && okCancel !== void 0 ? okCancel : type === 'confirm'; const autoFocusButton = props.autoFocusButton === null ? false : props.autoFocusButton || 'ok'; const [locale] = (0,useLocale/* default */.Z)('Modal'); const mergedLocale = staticLocale || locale; // ================== Locale Text ================== const okTextLocale = okText || (mergedOkCancel ? mergedLocale === null || mergedLocale === void 0 ? void 0 : mergedLocale.okText : mergedLocale === null || mergedLocale === void 0 ? void 0 : mergedLocale.justOkText); const cancelTextLocale = cancelText || (mergedLocale === null || mergedLocale === void 0 ? void 0 : mergedLocale.cancelText); // ================= Context Value ================= const btnCtxValue = Object.assign({ autoFocusButton, cancelTextLocale, okTextLocale, mergedOkCancel }, resetProps); const btnCtxValueMemo = _react_17_0_2_react.useMemo(() => btnCtxValue, (0,toConsumableArray/* default */.Z)(Object.values(btnCtxValue))); // ====================== Footer Origin Node ====================== const footerOriginNode = /*#__PURE__*/_react_17_0_2_react.createElement(_react_17_0_2_react.Fragment, null, /*#__PURE__*/_react_17_0_2_react.createElement(components_ConfirmCancelBtn, null), /*#__PURE__*/_react_17_0_2_react.createElement(components_ConfirmOkBtn, null)); const hasTitle = props.title !== undefined && props.title !== null; const bodyCls = `${confirmPrefixCls}-body`; return /*#__PURE__*/_react_17_0_2_react.createElement("div", { className: `${confirmPrefixCls}-body-wrapper` }, /*#__PURE__*/_react_17_0_2_react.createElement("div", { className: _classnames_2_5_1_classnames_default()(bodyCls, { [`${bodyCls}-has-title`]: hasTitle }) }, mergedIcon, /*#__PURE__*/_react_17_0_2_react.createElement("div", { className: `${confirmPrefixCls}-paragraph` }, hasTitle && /*#__PURE__*/_react_17_0_2_react.createElement("span", { className: `${confirmPrefixCls}-title` }, props.title), /*#__PURE__*/_react_17_0_2_react.createElement("div", { className: `${confirmPrefixCls}-content` }, props.content))), footer === undefined || typeof footer === 'function' ? /*#__PURE__*/_react_17_0_2_react.createElement(ModalContextProvider, { value: btnCtxValueMemo }, /*#__PURE__*/_react_17_0_2_react.createElement("div", { className: `${confirmPrefixCls}-btns` }, typeof footer === 'function' ? footer(footerOriginNode, { OkBtn: components_ConfirmOkBtn, CancelBtn: components_ConfirmCancelBtn }) : footerOriginNode)) : footer, /*#__PURE__*/_react_17_0_2_react.createElement(confirmCmp, { prefixCls: prefixCls })); } const ConfirmDialog = props => { const { close, zIndex, afterClose, visible, open, keyboard, centered, getContainer, maskStyle, direction, prefixCls, wrapClassName, rootPrefixCls, iconPrefixCls, theme, bodyStyle, closable = false, closeIcon, modalRender, focusTriggerAfterClose, onConfirm } = props; if (false) {} const confirmPrefixCls = `${prefixCls}-confirm`; const width = props.width || 416; const style = props.style || {}; const mask = props.mask === undefined ? true : props.mask; // 默认为 false,保持旧版默认行为 const maskClosable = props.maskClosable === undefined ? false : props.maskClosable; const classString = _classnames_2_5_1_classnames_default()(confirmPrefixCls, `${confirmPrefixCls}-${props.type}`, { [`${confirmPrefixCls}-rtl`]: direction === 'rtl' }, props.className); return /*#__PURE__*/_react_17_0_2_react.createElement(config_provider/* default */.ZP, { prefixCls: rootPrefixCls, iconPrefixCls: iconPrefixCls, direction: direction, theme: theme }, /*#__PURE__*/_react_17_0_2_react.createElement(modal_Modal, { prefixCls: prefixCls, className: classString, wrapClassName: _classnames_2_5_1_classnames_default()({ [`${confirmPrefixCls}-centered`]: !!props.centered }, wrapClassName), onCancel: () => { close === null || close === void 0 ? void 0 : close({ triggerCancel: true }); onConfirm === null || onConfirm === void 0 ? void 0 : onConfirm(false); }, open: open, title: "", footer: null, transitionName: (0,motion/* getTransitionName */.m)(rootPrefixCls || '', 'zoom', props.transitionName), maskTransitionName: (0,motion/* getTransitionName */.m)(rootPrefixCls || '', 'fade', props.maskTransitionName), mask: mask, maskClosable: maskClosable, maskStyle: maskStyle, style: style, bodyStyle: bodyStyle, width: width, zIndex: zIndex, afterClose: afterClose, keyboard: keyboard, centered: centered, getContainer: getContainer, closable: closable, closeIcon: closeIcon, modalRender: modalRender, focusTriggerAfterClose: focusTriggerAfterClose }, /*#__PURE__*/_react_17_0_2_react.createElement(ConfirmContent, Object.assign({}, props, { confirmPrefixCls: confirmPrefixCls })))); }; if (false) {} /* harmony default export */ var modal_ConfirmDialog = (ConfirmDialog); ;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/modal/destroyFns.js const destroyFns = []; /* harmony default export */ var modal_destroyFns = (destroyFns); ;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/modal/confirm.js "use client"; var confirm_rest = undefined && undefined.__rest || function (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; }; let defaultRootPrefixCls = ''; function getRootPrefixCls() { return defaultRootPrefixCls; } function confirm_confirm(config) { // Warning if exist theme if (false) {} const container = document.createDocumentFragment(); // eslint-disable-next-line @typescript-eslint/no-use-before-define let currentConfig = Object.assign(Object.assign({}, config), { close, open: true }); let timeoutId; function destroy() { for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { args[_key] = arguments[_key]; } const triggerCancel = args.some(param => param && param.triggerCancel); if (config.onCancel && triggerCancel) { config.onCancel.apply(config, [() => {}].concat((0,toConsumableArray/* default */.Z)(args.slice(1)))); } for (let i = 0; i < modal_destroyFns.length; i++) { const fn = modal_destroyFns[i]; // eslint-disable-next-line @typescript-eslint/no-use-before-define if (fn === close) { modal_destroyFns.splice(i, 1); break; } } (0,React_render/* unmount */.v)(container); } function render(_a) { var { okText, cancelText, prefixCls: customizePrefixCls, getContainer } = _a, props = confirm_rest(_a, ["okText", "cancelText", "prefixCls", "getContainer"]); clearTimeout(timeoutId); /** * https://github.com/ant-design/ant-design/issues/23623 * * Sync render blocks React event. Let's make this async. */ timeoutId = setTimeout(() => { const runtimeLocale = (0,modal_locale/* getConfirmLocale */.A)(); const { getPrefixCls, getIconPrefixCls, getTheme } = (0,config_provider/* globalConfig */.w6)(); // because Modal.config  set rootPrefixCls, which is different from other components const rootPrefixCls = getPrefixCls(undefined, getRootPrefixCls()); const prefixCls = customizePrefixCls || `${rootPrefixCls}-modal`; const iconPrefixCls = getIconPrefixCls(); const theme = getTheme(); let mergedGetContainer = getContainer; if (mergedGetContainer === false) { mergedGetContainer = undefined; if (false) {} } (0,React_render/* render */.s)( /*#__PURE__*/_react_17_0_2_react.createElement(modal_ConfirmDialog, Object.assign({}, props, { getContainer: mergedGetContainer, prefixCls: prefixCls, rootPrefixCls: rootPrefixCls, iconPrefixCls: iconPrefixCls, okText: okText, locale: runtimeLocale, theme: theme, cancelText: cancelText || runtimeLocale.cancelText })), container); }); } function close() { for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) { args[_key2] = arguments[_key2]; } currentConfig = Object.assign(Object.assign({}, currentConfig), { open: false, afterClose: () => { if (typeof config.afterClose === 'function') { config.afterClose(); } destroy.apply(this, args); } }); // Legacy support if (currentConfig.visible) { delete currentConfig.visible; } render(currentConfig); } function update(configUpdate) { if (typeof configUpdate === 'function') { currentConfig = configUpdate(currentConfig); } else { currentConfig = Object.assign(Object.assign({}, currentConfig), configUpdate); } render(currentConfig); } render(currentConfig); modal_destroyFns.push(close); return { destroy: close, update }; } function withWarn(props) { return Object.assign(Object.assign({}, props), { type: 'warning' }); } function withInfo(props) { return Object.assign(Object.assign({}, props), { type: 'info' }); } function withSuccess(props) { return Object.assign(Object.assign({}, props), { type: 'success' }); } function withError(props) { return Object.assign(Object.assign({}, props), { type: 'error' }); } function withConfirm(props) { return Object.assign(Object.assign({}, props), { type: 'confirm' }); } function modalGlobalConfig(_ref) { let { rootPrefixCls } = _ref; false ? 0 : void 0; defaultRootPrefixCls = rootPrefixCls; } // EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/_util/PurePanel.js var PurePanel = __webpack_require__(53487); ;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/modal/PurePanel.js "use client"; var PurePanel_rest = undefined && undefined.__rest || function (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; }; /* eslint-disable react/jsx-no-useless-fragment */ const PurePanel_PurePanel = props => { const { prefixCls: customizePrefixCls, className, closeIcon, closable, type, title, children } = props, restProps = PurePanel_rest(props, ["prefixCls", "className", "closeIcon", "closable", "type", "title", "children"]); const { getPrefixCls } = _react_17_0_2_react.useContext(context/* ConfigContext */.E_); const rootPrefixCls = getPrefixCls(); const prefixCls = customizePrefixCls || getPrefixCls('modal'); const [, hashId] = (0,modal_style/* default */.ZP)(prefixCls); const confirmPrefixCls = `${prefixCls}-confirm`; // Choose target props by confirm mark let additionalProps = {}; if (type) { additionalProps = { closable: closable !== null && closable !== void 0 ? closable : false, title: '', footer: '', children: /*#__PURE__*/_react_17_0_2_react.createElement(ConfirmContent, Object.assign({}, props, { prefixCls: prefixCls, confirmPrefixCls: confirmPrefixCls, rootPrefixCls: rootPrefixCls, content: children })) }; } else { additionalProps = { closable: closable !== null && closable !== void 0 ? closable : true, title, footer: props.footer === undefined ? /*#__PURE__*/_react_17_0_2_react.createElement(Footer, Object.assign({}, props)) : props.footer, children }; } return /*#__PURE__*/_react_17_0_2_react.createElement(es/* Panel */.s, Object.assign({ prefixCls: prefixCls, className: _classnames_2_5_1_classnames_default()(hashId, `${prefixCls}-pure-panel`, type && confirmPrefixCls, type && `${confirmPrefixCls}-${type}`, className) }, restProps, { closeIcon: renderCloseIcon(prefixCls, closeIcon), closable: closable }, additionalProps)); }; /* harmony default export */ var modal_PurePanel = ((0,PurePanel/* withPureRenderTheme */.i)(PurePanel_PurePanel)); ;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/_util/hooks/usePatchElement.js "use client"; function usePatchElement() { const [elements, setElements] = _react_17_0_2_react.useState([]); const patchElement = _react_17_0_2_react.useCallback(element => { // append a new element to elements (and create a new ref) setElements(originElements => [].concat((0,toConsumableArray/* default */.Z)(originElements), [element])); // return a function that removes the new element out of elements (and create a new ref) // it works a little like useEffect return () => { setElements(originElements => originElements.filter(ele => ele !== element)); }; }, []); return [elements, patchElement]; } // EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/locale/en_US.js var en_US = __webpack_require__(96700); ;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/modal/useModal/HookModal.js "use client"; var HookModal_rest = undefined && undefined.__rest || function (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; }; const HookModal = (_a, ref) => { var _b; var { afterClose: hookAfterClose, config } = _a, restProps = HookModal_rest(_a, ["afterClose", "config"]); const [open, setOpen] = _react_17_0_2_react.useState(true); const [innerConfig, setInnerConfig] = _react_17_0_2_react.useState(config); const { direction, getPrefixCls } = _react_17_0_2_react.useContext(context/* ConfigContext */.E_); const prefixCls = getPrefixCls('modal'); const rootPrefixCls = getPrefixCls(); const afterClose = () => { var _a; hookAfterClose(); (_a = innerConfig.afterClose) === null || _a === void 0 ? void 0 : _a.call(innerConfig); }; const close = function () { setOpen(false); for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { args[_key] = arguments[_key]; } const triggerCancel = args.some(param => param && param.triggerCancel); if (innerConfig.onCancel && triggerCancel) { innerConfig.onCancel.apply(innerConfig, [() => {}].concat((0,toConsumableArray/* default */.Z)(args.slice(1)))); } }; _react_17_0_2_react.useImperativeHandle(ref, () => ({ destroy: close, update: newConfig => { setInnerConfig(originConfig => Object.assign(Object.assign({}, originConfig), newConfig)); } })); const mergedOkCancel = (_b = innerConfig.okCancel) !== null && _b !== void 0 ? _b : innerConfig.type === 'confirm'; const [contextLocale] = (0,useLocale/* default */.Z)('Modal', en_US/* default */.Z.Modal); return /*#__PURE__*/_react_17_0_2_react.createElement(modal_ConfirmDialog, Object.assign({ prefixCls: prefixCls, rootPrefixCls: rootPrefixCls }, innerConfig, { close: close, open: open, afterClose: afterClose, okText: innerConfig.okText || (mergedOkCancel ? contextLocale === null || contextLocale === void 0 ? void 0 : contextLocale.okText : contextLocale === null || contextLocale === void 0 ? void 0 : contextLocale.justOkText), direction: innerConfig.direction || direction, cancelText: innerConfig.cancelText || (contextLocale === null || contextLocale === void 0 ? void 0 : contextLocale.cancelText) }, restProps)); }; /* harmony default export */ var useModal_HookModal = (/*#__PURE__*/_react_17_0_2_react.forwardRef(HookModal)); ;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/modal/useModal/index.js "use client"; let uuid = 0; const ElementsHolder = /*#__PURE__*/_react_17_0_2_react.memo( /*#__PURE__*/_react_17_0_2_react.forwardRef((_props, ref) => { const [elements, patchElement] = usePatchElement(); _react_17_0_2_react.useImperativeHandle(ref, () => ({ patchElement }), []); // eslint-disable-next-line react/jsx-no-useless-fragment return /*#__PURE__*/_react_17_0_2_react.createElement(_react_17_0_2_react.Fragment, null, elements); })); function useModal() { const holderRef = _react_17_0_2_react.useRef(null); // ========================== Effect ========================== const [actionQueue, setActionQueue] = _react_17_0_2_react.useState([]); _react_17_0_2_react.useEffect(() => { if (actionQueue.length) { const cloneQueue = (0,toConsumableArray/* default */.Z)(actionQueue); cloneQueue.forEach(action => { action(); }); setActionQueue([]); } }, [actionQueue]); // =========================== Hook =========================== const getConfirmFunc = _react_17_0_2_react.useCallback(withFunc => function hookConfirm(config) { var _a; uuid += 1; const modalRef = /*#__PURE__*/_react_17_0_2_react.createRef(); // Proxy to promise with `onClose` let resolvePromise; const promise = new Promise(resolve => { resolvePromise = resolve; }); let silent = false; let closeFunc; const modal = /*#__PURE__*/_react_17_0_2_react.createElement(useModal_HookModal, { key: `modal-${uuid}`, config: withFunc(config), ref: modalRef, afterClose: () => { closeFunc === null || closeFunc === void 0 ? void 0 : closeFunc(); }, isSilent: () => silent, onConfirm: confirmed => { resolvePromise(confirmed); } }); closeFunc = (_a = holderRef.current) === null || _a === void 0 ? void 0 : _a.patchElement(modal); if (closeFunc) { modal_destroyFns.push(closeFunc); } const instance = { destroy: () => { function destroyAction() { var _a; (_a = modalRef.current) === null || _a === void 0 ? void 0 : _a.destroy(); } if (modalRef.current) { destroyAction(); } else { setActionQueue(prev => [].concat((0,toConsumableArray/* default */.Z)(prev), [destroyAction])); } }, update: newConfig => { function updateAction() { var _a; (_a = modalRef.current) === null || _a === void 0 ? void 0 : _a.update(newConfig); } if (modalRef.current) { updateAction(); } else { setActionQueue(prev => [].concat((0,toConsumableArray/* default */.Z)(prev), [updateAction])); } }, then: resolve => { silent = true; return promise.then(resolve); } }; return instance; }, []); const fns = _react_17_0_2_react.useMemo(() => ({ info: getConfirmFunc(withInfo), success: getConfirmFunc(withSuccess), error: getConfirmFunc(withError), warning: getConfirmFunc(withWarn), confirm: getConfirmFunc(withConfirm) }), []); return [fns, /*#__PURE__*/_react_17_0_2_react.createElement(ElementsHolder, { key: "modal-holder", ref: holderRef })]; } /* harmony default export */ var modal_useModal = (useModal); ;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/modal/index.js "use client"; function modalWarn(props) { return confirm_confirm(withWarn(props)); } const es_modal_Modal = modal_Modal; es_modal_Modal.useModal = modal_useModal; es_modal_Modal.info = function infoFn(props) { return confirm_confirm(withInfo(props)); }; es_modal_Modal.success = function successFn(props) { return confirm_confirm(withSuccess(props)); }; es_modal_Modal.error = function errorFn(props) { return confirm_confirm(withError(props)); }; es_modal_Modal.warning = modalWarn; es_modal_Modal.warn = modalWarn; es_modal_Modal.confirm = function confirmFn(props) { return confirm_confirm(withConfirm(props)); }; es_modal_Modal.destroyAll = function destroyAllFn() { while (modal_destroyFns.length) { const close = modal_destroyFns.pop(); if (close) { close(); } } }; es_modal_Modal.config = modalGlobalConfig; es_modal_Modal._InternalPanelDoNotUseOrYouWillBeFired = modal_PurePanel; if (false) {} /* harmony default export */ var modal = (es_modal_Modal); /***/ }), /***/ 98044: /*!**********************************************************!*\ !*** ./node_modules/_antd@5.9.0@antd/es/modal/locale.js ***! \**********************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ A: function() { return /* binding */ getConfirmLocale; }, /* harmony export */ f: function() { return /* binding */ changeConfirmLocale; } /* harmony export */ }); /* harmony import */ var _locale_en_US__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../locale/en_US */ 96700); "use client"; let runtimeLocale = Object.assign({}, _locale_en_US__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z.Modal); let localeList = []; const generateLocale = () => localeList.reduce((merged, locale) => Object.assign(Object.assign({}, merged), locale), _locale_en_US__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z.Modal); function changeConfirmLocale(newLocale) { if (newLocale) { const cloneLocale = Object.assign({}, newLocale); localeList.push(cloneLocale); runtimeLocale = generateLocale(); return () => { localeList = localeList.filter(locale => locale !== cloneLocale); runtimeLocale = generateLocale(); }; } runtimeLocale = Object.assign({}, _locale_en_US__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z.Modal); } function getConfirmLocale() { return runtimeLocale; } /***/ }), /***/ 73819: /*!***************************************************************!*\ !*** ./node_modules/_antd@5.9.0@antd/es/modal/style/index.js ***! \***************************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ B4: function() { return /* binding */ prepareToken; }, /* harmony export */ QA: function() { return /* binding */ genModalMaskStyle; }, /* harmony export */ eh: function() { return /* binding */ prepareComponentToken; } /* harmony export */ }); /* harmony import */ var _style__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../style */ 17313); /* harmony import */ var _style_motion__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../style/motion */ 1950); /* harmony import */ var _style_motion__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../style/motion */ 29878); /* harmony import */ var _theme_internal__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../theme/internal */ 37613); /* harmony import */ var _theme_internal__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../theme/internal */ 83116); "use client"; function box(position) { return { position, inset: 0 }; } const genModalMaskStyle = token => { const { componentCls, antCls } = token; return [{ [`${componentCls}-root`]: { [`${componentCls}${antCls}-zoom-enter, ${componentCls}${antCls}-zoom-appear`]: { // reset scale avoid mousePosition bug transform: 'none', opacity: 0, animationDuration: token.motionDurationSlow, // https://github.com/ant-design/ant-design/issues/11777 userSelect: 'none' }, // https://github.com/ant-design/ant-design/issues/37329 // https://github.com/ant-design/ant-design/issues/40272 [`${componentCls}${antCls}-zoom-leave ${componentCls}-content`]: { pointerEvents: 'none' }, [`${componentCls}-mask`]: Object.assign(Object.assign({}, box('fixed')), { zIndex: token.zIndexPopupBase, height: '100%', backgroundColor: token.colorBgMask, pointerEvents: 'none', [`${componentCls}-hidden`]: { display: 'none' } }), [`${componentCls}-wrap`]: Object.assign(Object.assign({}, box('fixed')), { zIndex: token.zIndexPopupBase, overflow: 'auto', outline: 0, WebkitOverflowScrolling: 'touch', // Note: Firefox not support `:has` yet [`&:has(${componentCls}${antCls}-zoom-enter), &:has(${componentCls}${antCls}-zoom-appear)`]: { pointerEvents: 'none' } }) } }, { [`${componentCls}-root`]: (0,_style_motion__WEBPACK_IMPORTED_MODULE_0__/* .initFadeMotion */ .J$)(token) }]; }; const genModalStyle = token => { const { componentCls } = token; return [ // ======================== Root ========================= { [`${componentCls}-root`]: { [`${componentCls}-wrap-rtl`]: { direction: 'rtl' }, [`${componentCls}-centered`]: { textAlign: 'center', '&::before': { display: 'inline-block', width: 0, height: '100%', verticalAlign: 'middle', content: '""' }, [componentCls]: { top: 0, display: 'inline-block', paddingBottom: 0, textAlign: 'start', verticalAlign: 'middle' } }, [`@media (max-width: ${token.screenSMMax})`]: { [componentCls]: { maxWidth: 'calc(100vw - 16px)', margin: `${token.marginXS} auto` }, [`${componentCls}-centered`]: { [componentCls]: { flex: 1 } } } } }, // ======================== Modal ======================== { [componentCls]: Object.assign(Object.assign({}, (0,_style__WEBPACK_IMPORTED_MODULE_1__/* .resetComponent */ .Wf)(token)), { pointerEvents: 'none', position: 'relative', top: 100, width: 'auto', maxWidth: `calc(100vw - ${token.margin * 2}px)`, margin: '0 auto', paddingBottom: token.paddingLG, [`${componentCls}-title`]: { margin: 0, color: token.titleColor, fontWeight: token.fontWeightStrong, fontSize: token.titleFontSize, lineHeight: token.titleLineHeight, wordWrap: 'break-word' }, [`${componentCls}-content`]: { position: 'relative', backgroundColor: token.contentBg, backgroundClip: 'padding-box', border: 0, borderRadius: token.borderRadiusLG, boxShadow: token.boxShadow, pointerEvents: 'auto', padding: `${token.paddingMD}px ${token.paddingContentHorizontalLG}px` }, [`${componentCls}-close`]: Object.assign({ position: 'absolute', top: (token.modalHeaderHeight - token.modalCloseBtnSize) / 2, insetInlineEnd: (token.modalHeaderHeight - token.modalCloseBtnSize) / 2, zIndex: token.zIndexPopupBase + 10, padding: 0, color: token.modalCloseIconColor, fontWeight: token.fontWeightStrong, lineHeight: 1, textDecoration: 'none', background: 'transparent', borderRadius: token.borderRadiusSM, width: token.modalCloseBtnSize, height: token.modalCloseBtnSize, border: 0, outline: 0, cursor: 'pointer', transition: `color ${token.motionDurationMid}, background-color ${token.motionDurationMid}`, '&-x': { display: 'flex', fontSize: token.fontSizeLG, fontStyle: 'normal', lineHeight: `${token.modalCloseBtnSize}px`, justifyContent: 'center', textTransform: 'none', textRendering: 'auto' }, '&:hover': { color: token.modalIconHoverColor, backgroundColor: token.wireframe ? 'transparent' : token.colorFillContent, textDecoration: 'none' }, '&:active': { backgroundColor: token.wireframe ? 'transparent' : token.colorFillContentHover } }, (0,_style__WEBPACK_IMPORTED_MODULE_1__/* .genFocusStyle */ .Qy)(token)), [`${componentCls}-header`]: { color: token.colorText, background: token.headerBg, borderRadius: `${token.borderRadiusLG}px ${token.borderRadiusLG}px 0 0`, marginBottom: token.marginXS }, [`${componentCls}-body`]: { fontSize: token.fontSize, lineHeight: token.lineHeight, wordWrap: 'break-word' }, [`${componentCls}-footer`]: { textAlign: 'end', background: token.footerBg, marginTop: token.marginSM, [`${token.antCls}-btn + ${token.antCls}-btn:not(${token.antCls}-dropdown-trigger)`]: { marginBottom: 0, marginInlineStart: token.marginXS } }, [`${componentCls}-open`]: { overflow: 'hidden' } }) }, // ======================== Pure ========================= { [`${componentCls}-pure-panel`]: { top: 'auto', padding: 0, display: 'flex', flexDirection: 'column', [`${componentCls}-content, ${componentCls}-body, ${componentCls}-confirm-body-wrapper`]: { display: 'flex', flexDirection: 'column', flex: 'auto' }, [`${componentCls}-confirm-body`]: { marginBottom: 'auto' } } }]; }; const genWireframeStyle = token => { const { componentCls, antCls } = token; const confirmComponentCls = `${componentCls}-confirm`; return { [componentCls]: { [`${componentCls}-content`]: { padding: 0 }, [`${componentCls}-header`]: { padding: token.modalHeaderPadding, borderBottom: `${token.modalHeaderBorderWidth}px ${token.modalHeaderBorderStyle} ${token.modalHeaderBorderColorSplit}`, marginBottom: 0 }, [`${componentCls}-body`]: { padding: token.modalBodyPadding }, [`${componentCls}-footer`]: { padding: `${token.modalFooterPaddingVertical}px ${token.modalFooterPaddingHorizontal}px`, borderTop: `${token.modalFooterBorderWidth}px ${token.modalFooterBorderStyle} ${token.modalFooterBorderColorSplit}`, borderRadius: `0 0 ${token.borderRadiusLG}px ${token.borderRadiusLG}px`, marginTop: 0 } }, [confirmComponentCls]: { [`${antCls}-modal-body`]: { padding: `${token.padding * 2}px ${token.padding * 2}px ${token.paddingLG}px` }, [`${confirmComponentCls}-body`]: { [`> ${token.iconCls}`]: { marginInlineEnd: token.margin, // `content` after `icon` should set marginLeft [`+ ${confirmComponentCls}-title + ${confirmComponentCls}-content`]: { marginInlineStart: token.modalConfirmIconSize + token.margin } } }, [`${confirmComponentCls}-btns`]: { marginTop: token.marginLG } } }; }; const genRTLStyle = token => { const { componentCls } = token; return { [`${componentCls}-root`]: { [`${componentCls}-wrap-rtl`]: { direction: 'rtl', [`${componentCls}-confirm-body`]: { direction: 'rtl' } } } }; }; // ============================== Export ============================== const prepareToken = token => { const headerPaddingVertical = token.padding; const headerFontSize = token.fontSizeHeading5; const headerLineHeight = token.lineHeightHeading5; const modalToken = (0,_theme_internal__WEBPACK_IMPORTED_MODULE_2__/* .merge */ .TS)(token, { modalBodyPadding: token.paddingLG, modalHeaderPadding: `${headerPaddingVertical}px ${token.paddingLG}px`, modalHeaderBorderWidth: token.lineWidth, modalHeaderBorderStyle: token.lineType, modalHeaderBorderColorSplit: token.colorSplit, modalHeaderHeight: headerLineHeight * headerFontSize + headerPaddingVertical * 2, modalFooterBorderColorSplit: token.colorSplit, modalFooterBorderStyle: token.lineType, modalFooterPaddingVertical: token.paddingXS, modalFooterPaddingHorizontal: token.padding, modalFooterBorderWidth: token.lineWidth, modalIconHoverColor: token.colorIconHover, modalCloseIconColor: token.colorIcon, modalCloseBtnSize: token.fontSize * token.lineHeight, modalConfirmIconSize: token.fontSize * token.lineHeight }); return modalToken; }; const prepareComponentToken = token => ({ footerBg: 'transparent', headerBg: token.colorBgElevated, titleLineHeight: token.lineHeightHeading5, titleFontSize: token.fontSizeHeading5, contentBg: token.colorBgElevated, titleColor: token.colorTextHeading }); /* harmony default export */ __webpack_exports__.ZP = ((0,_theme_internal__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)('Modal', token => { const modalToken = prepareToken(token); return [genModalStyle(modalToken), genRTLStyle(modalToken), genModalMaskStyle(modalToken), token.wireframe && genWireframeStyle(modalToken), (0,_style_motion__WEBPACK_IMPORTED_MODULE_4__/* .initZoomMotion */ ._y)(modalToken, 'zoom')]; }, prepareComponentToken)); /***/ }), /***/ 28909: /*!****************************************************************************!*\ !*** ./node_modules/_antd@5.9.0@antd/es/notification/index.js + 5 modules ***! \****************************************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; // EXPORTS __webpack_require__.d(__webpack_exports__, { Z: function() { return /* binding */ es_notification; } }); // UNUSED EXPORTS: actWrapper // EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/index.js var _react_17_0_2_react = __webpack_require__(59301); // EXTERNAL MODULE: ./node_modules/_rc-util@5.44.4@rc-util/es/React/render.js var render = __webpack_require__(1585); // EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/config-provider/index.js + 5 modules var config_provider = __webpack_require__(92736); // EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.6.1@@ant-design/icons/es/icons/CheckCircleFilled.js + 1 modules var CheckCircleFilled = __webpack_require__(29679); // EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.6.1@@ant-design/icons/es/icons/CloseCircleFilled.js + 1 modules var CloseCircleFilled = __webpack_require__(19248); // EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.6.1@@ant-design/icons/es/icons/CloseOutlined.js + 1 modules var CloseOutlined = __webpack_require__(99267); // EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.6.1@@ant-design/icons/es/icons/ExclamationCircleFilled.js + 1 modules var ExclamationCircleFilled = __webpack_require__(96512); // EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.6.1@@ant-design/icons/es/icons/InfoCircleFilled.js + 1 modules var InfoCircleFilled = __webpack_require__(78987); // EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.6.1@@ant-design/icons/es/icons/LoadingOutlined.js + 1 modules var LoadingOutlined = __webpack_require__(58617); // EXTERNAL MODULE: ./node_modules/_classnames@2.5.1@classnames/index.js var _classnames_2_5_1_classnames = __webpack_require__(92310); var _classnames_2_5_1_classnames_default = /*#__PURE__*/__webpack_require__.n(_classnames_2_5_1_classnames); // EXTERNAL MODULE: ./node_modules/_rc-notification@5.1.1@rc-notification/es/index.js + 5 modules var es = __webpack_require__(581); // EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/config-provider/context.js var context = __webpack_require__(36355); // EXTERNAL MODULE: ./node_modules/_@ant-design_cssinjs@1.24.0@@ant-design/cssinjs/es/index.js + 39 modules var cssinjs_es = __webpack_require__(36237); // EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/style/index.js var style = __webpack_require__(17313); // EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/theme/util/genComponentStyleHook.js var genComponentStyleHook = __webpack_require__(83116); // EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/theme/util/statistic.js var statistic = __webpack_require__(37613); ;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/notification/style/placement.js const genNotificationPlacementStyle = token => { const { componentCls, width, notificationMarginEdge } = token; const notificationTopFadeIn = new cssinjs_es.Keyframes('antNotificationTopFadeIn', { '0%': { marginTop: '-100%', opacity: 0 }, '100%': { marginTop: 0, opacity: 1 } }); const notificationBottomFadeIn = new cssinjs_es.Keyframes('antNotificationBottomFadeIn', { '0%': { marginBottom: '-100%', opacity: 0 }, '100%': { marginBottom: 0, opacity: 1 } }); const notificationLeftFadeIn = new cssinjs_es.Keyframes('antNotificationLeftFadeIn', { '0%': { right: { _skip_check_: true, value: width }, opacity: 0 }, '100%': { right: { _skip_check_: true, value: 0 }, opacity: 1 } }); return { [`&${componentCls}-top, &${componentCls}-bottom`]: { marginInline: 0 }, [`&${componentCls}-top`]: { [`${componentCls}-fade-enter${componentCls}-fade-enter-active, ${componentCls}-fade-appear${componentCls}-fade-appear-active`]: { animationName: notificationTopFadeIn } }, [`&${componentCls}-bottom`]: { [`${componentCls}-fade-enter${componentCls}-fade-enter-active, ${componentCls}-fade-appear${componentCls}-fade-appear-active`]: { animationName: notificationBottomFadeIn } }, [`&${componentCls}-topLeft, &${componentCls}-bottomLeft`]: { marginInlineEnd: 0, marginInlineStart: notificationMarginEdge, [`${componentCls}-fade-enter${componentCls}-fade-enter-active, ${componentCls}-fade-appear${componentCls}-fade-appear-active`]: { animationName: notificationLeftFadeIn } } }; }; /* harmony default export */ var placement = (genNotificationPlacementStyle); ;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/notification/style/index.js "use client"; const genNotificationStyle = token => { const { iconCls, componentCls, // .ant-notification boxShadow, fontSizeLG, notificationMarginBottom, borderRadiusLG, colorSuccess, colorInfo, colorWarning, colorError, colorTextHeading, notificationBg, notificationPadding, notificationMarginEdge, motionDurationMid, motionEaseInOut, fontSize, lineHeight, width, notificationIconSize, colorText } = token; const noticeCls = `${componentCls}-notice`; const notificationFadeIn = new cssinjs_es.Keyframes('antNotificationFadeIn', { '0%': { left: { _skip_check_: true, value: width }, opacity: 0 }, '100%': { left: { _skip_check_: true, value: 0 }, opacity: 1 } }); const notificationFadeOut = new cssinjs_es.Keyframes('antNotificationFadeOut', { '0%': { maxHeight: token.animationMaxHeight, marginBottom: notificationMarginBottom, opacity: 1 }, '100%': { maxHeight: 0, marginBottom: 0, paddingTop: 0, paddingBottom: 0, opacity: 0 } }); const noticeStyle = { position: 'relative', width, maxWidth: `calc(100vw - ${notificationMarginEdge * 2}px)`, marginBottom: notificationMarginBottom, marginInlineStart: 'auto', padding: notificationPadding, overflow: 'hidden', lineHeight, wordWrap: 'break-word', background: notificationBg, borderRadius: borderRadiusLG, boxShadow, [`${componentCls}-close-icon`]: { fontSize, cursor: 'pointer' }, [`${noticeCls}-message`]: { marginBottom: token.marginXS, color: colorTextHeading, fontSize: fontSizeLG, lineHeight: token.lineHeightLG }, [`${noticeCls}-description`]: { fontSize, color: colorText }, [`&${noticeCls}-closable ${noticeCls}-message`]: { paddingInlineEnd: token.paddingLG }, [`${noticeCls}-with-icon ${noticeCls}-message`]: { marginBottom: token.marginXS, marginInlineStart: token.marginSM + notificationIconSize, fontSize: fontSizeLG }, [`${noticeCls}-with-icon ${noticeCls}-description`]: { marginInlineStart: token.marginSM + notificationIconSize, fontSize }, // Icon & color style in different selector level // https://github.com/ant-design/ant-design/issues/16503 // https://github.com/ant-design/ant-design/issues/15512 [`${noticeCls}-icon`]: { position: 'absolute', fontSize: notificationIconSize, lineHeight: 0, // icon-font [`&-success${iconCls}`]: { color: colorSuccess }, [`&-info${iconCls}`]: { color: colorInfo }, [`&-warning${iconCls}`]: { color: colorWarning }, [`&-error${iconCls}`]: { color: colorError } }, [`${noticeCls}-close`]: { position: 'absolute', top: token.notificationPaddingVertical, insetInlineEnd: token.notificationPaddingHorizontal, color: token.colorIcon, outline: 'none', width: token.notificationCloseButtonSize, height: token.notificationCloseButtonSize, borderRadius: token.borderRadiusSM, transition: `background-color ${token.motionDurationMid}, color ${token.motionDurationMid}`, display: 'flex', alignItems: 'center', justifyContent: 'center', '&:hover': { color: token.colorIconHover, backgroundColor: token.wireframe ? 'transparent' : token.colorFillContent } }, [`${noticeCls}-btn`]: { float: 'right', marginTop: token.marginSM } }; return [ // ============================ Holder ============================ { [componentCls]: Object.assign(Object.assign(Object.assign(Object.assign({}, (0,style/* resetComponent */.Wf)(token)), { position: 'fixed', zIndex: token.zIndexPopup, marginInlineEnd: notificationMarginEdge, [`${componentCls}-hook-holder`]: { position: 'relative' }, [`&${componentCls}-top, &${componentCls}-bottom`]: { [noticeCls]: { marginInline: 'auto auto' } }, [`&${componentCls}-topLeft, &${componentCls}-bottomLeft`]: { [noticeCls]: { marginInlineEnd: 'auto', marginInlineStart: 0 } }, // animation [`${componentCls}-fade-enter, ${componentCls}-fade-appear`]: { animationDuration: token.motionDurationMid, animationTimingFunction: motionEaseInOut, animationFillMode: 'both', opacity: 0, animationPlayState: 'paused' }, [`${componentCls}-fade-leave`]: { animationTimingFunction: motionEaseInOut, animationFillMode: 'both', animationDuration: motionDurationMid, animationPlayState: 'paused' }, [`${componentCls}-fade-enter${componentCls}-fade-enter-active, ${componentCls}-fade-appear${componentCls}-fade-appear-active`]: { animationName: notificationFadeIn, animationPlayState: 'running' }, [`${componentCls}-fade-leave${componentCls}-fade-leave-active`]: { animationName: notificationFadeOut, animationPlayState: 'running' } }), placement(token)), { // RTL '&-rtl': { direction: 'rtl', [`${noticeCls}-btn`]: { float: 'left' } } }) }, // ============================ Notice ============================ { [componentCls]: { [noticeCls]: Object.assign({}, noticeStyle) } }, // ============================= Pure ============================= { [`${noticeCls}-pure-panel`]: Object.assign(Object.assign({}, noticeStyle), { margin: 0 }) }]; }; // ============================== Export ============================== /* harmony default export */ var notification_style = ((0,genComponentStyleHook/* default */.Z)('Notification', token => { const notificationPaddingVertical = token.paddingMD; const notificationPaddingHorizontal = token.paddingLG; const notificationToken = (0,statistic/* merge */.TS)(token, { // index.less variables notificationBg: token.colorBgElevated, notificationPaddingVertical, notificationPaddingHorizontal, notificationIconSize: token.fontSizeLG * token.lineHeightLG, notificationCloseButtonSize: token.controlHeightLG * 0.55, notificationMarginBottom: token.margin, notificationPadding: `${token.paddingMD}px ${token.paddingContentHorizontalLG}px`, notificationMarginEdge: token.marginLG, animationMaxHeight: 150 }); return [genNotificationStyle(notificationToken)]; }, token => ({ zIndexPopup: token.zIndexPopupBase + 50, width: 384 }))); ;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/notification/PurePanel.js "use client"; var __rest = undefined && undefined.__rest || function (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; }; const TypeIcon = { info: /*#__PURE__*/_react_17_0_2_react.createElement(InfoCircleFilled/* default */.Z, null), success: /*#__PURE__*/_react_17_0_2_react.createElement(CheckCircleFilled/* default */.Z, null), error: /*#__PURE__*/_react_17_0_2_react.createElement(CloseCircleFilled/* default */.Z, null), warning: /*#__PURE__*/_react_17_0_2_react.createElement(ExclamationCircleFilled/* default */.Z, null), loading: /*#__PURE__*/_react_17_0_2_react.createElement(LoadingOutlined/* default */.Z, null) }; function getCloseIcon(prefixCls, closeIcon) { if (closeIcon === null || closeIcon === false) { return null; } return closeIcon || /*#__PURE__*/_react_17_0_2_react.createElement("span", { className: `${prefixCls}-close-x` }, /*#__PURE__*/_react_17_0_2_react.createElement(CloseOutlined/* default */.Z, { className: `${prefixCls}-close-icon` })); } const typeToIcon = { success: CheckCircleFilled/* default */.Z, info: InfoCircleFilled/* default */.Z, error: CloseCircleFilled/* default */.Z, warning: ExclamationCircleFilled/* default */.Z }; const PureContent = props => { const { prefixCls, icon, type, message, description, btn, role = 'alert' } = props; let iconNode = null; if (icon) { iconNode = /*#__PURE__*/_react_17_0_2_react.createElement("span", { className: `${prefixCls}-icon` }, icon); } else if (type) { iconNode = /*#__PURE__*/_react_17_0_2_react.createElement(typeToIcon[type] || null, { className: _classnames_2_5_1_classnames_default()(`${prefixCls}-icon`, `${prefixCls}-icon-${type}`) }); } return /*#__PURE__*/_react_17_0_2_react.createElement("div", { className: _classnames_2_5_1_classnames_default()({ [`${prefixCls}-with-icon`]: iconNode }), role: role }, iconNode, /*#__PURE__*/_react_17_0_2_react.createElement("div", { className: `${prefixCls}-message` }, message), /*#__PURE__*/_react_17_0_2_react.createElement("div", { className: `${prefixCls}-description` }, description), btn && /*#__PURE__*/_react_17_0_2_react.createElement("div", { className: `${prefixCls}-btn` }, btn)); }; /** @private Internal Component. Do not use in your production. */ const PurePanel = props => { const { prefixCls: staticPrefixCls, className, icon, type, message, description, btn, closable = true, closeIcon } = props, restProps = __rest(props, ["prefixCls", "className", "icon", "type", "message", "description", "btn", "closable", "closeIcon"]); const { getPrefixCls } = _react_17_0_2_react.useContext(context/* ConfigContext */.E_); const prefixCls = staticPrefixCls || getPrefixCls('notification'); const noticePrefixCls = `${prefixCls}-notice`; const [, hashId] = notification_style(prefixCls); return /*#__PURE__*/_react_17_0_2_react.createElement(es/* Notice */.qX, Object.assign({}, restProps, { prefixCls: prefixCls, className: _classnames_2_5_1_classnames_default()(className, hashId, `${noticePrefixCls}-pure-panel`), eventKey: "pure", duration: null, closable: closable, closeIcon: getCloseIcon(prefixCls, closeIcon), content: /*#__PURE__*/_react_17_0_2_react.createElement(PureContent, { prefixCls: noticePrefixCls, icon: icon, type: type, message: message, description: description, btn: btn }) })); }; /* harmony default export */ var notification_PurePanel = (PurePanel); ;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/notification/util.js function getPlacementStyle(placement, top, bottom) { let style; switch (placement) { case 'top': style = { left: '50%', transform: 'translateX(-50%)', right: 'auto', top, bottom: 'auto' }; break; case 'topLeft': style = { left: 0, top, bottom: 'auto' }; break; case 'topRight': style = { right: 0, top, bottom: 'auto' }; break; case 'bottom': style = { left: '50%', transform: 'translateX(-50%)', right: 'auto', top: 'auto', bottom }; break; case 'bottomLeft': style = { left: 0, top: 'auto', bottom }; break; default: style = { right: 0, top: 'auto', bottom }; break; } return style; } function getMotion(prefixCls) { return { motionName: `${prefixCls}-fade` }; } ;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/notification/useNotification.js "use client"; var useNotification_rest = undefined && undefined.__rest || function (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; }; const DEFAULT_OFFSET = 24; const DEFAULT_DURATION = 4.5; const DEFAULT_PLACEMENT = 'topRight'; const Wrapper = _ref => { let { children, prefixCls } = _ref; const [, hashId] = notification_style(prefixCls); return /*#__PURE__*/_react_17_0_2_react.createElement(es/* NotificationProvider */.JB, { classNames: { list: hashId, notice: hashId } }, children); }; const renderNotifications = (node, _ref2) => { let { prefixCls, key } = _ref2; return /*#__PURE__*/_react_17_0_2_react.createElement(Wrapper, { prefixCls: prefixCls, key: key }, node); }; const Holder = /*#__PURE__*/_react_17_0_2_react.forwardRef((props, ref) => { const { top, bottom, prefixCls: staticPrefixCls, getContainer: staticGetContainer, maxCount, rtl, onAllRemoved } = props; const { getPrefixCls, getPopupContainer, notification } = _react_17_0_2_react.useContext(context/* ConfigContext */.E_); const prefixCls = staticPrefixCls || getPrefixCls('notification'); // =============================== Style =============================== const getStyle = placement => getPlacementStyle(placement, top !== null && top !== void 0 ? top : DEFAULT_OFFSET, bottom !== null && bottom !== void 0 ? bottom : DEFAULT_OFFSET); const getClassName = () => _classnames_2_5_1_classnames_default()({ [`${prefixCls}-rtl`]: rtl }); // ============================== Motion =============================== const getNotificationMotion = () => getMotion(prefixCls); // ============================== Origin =============================== const [api, holder] = (0,es/* useNotification */.lm)({ prefixCls, style: getStyle, className: getClassName, motion: getNotificationMotion, closable: true, closeIcon: getCloseIcon(prefixCls), duration: DEFAULT_DURATION, getContainer: () => (staticGetContainer === null || staticGetContainer === void 0 ? void 0 : staticGetContainer()) || (getPopupContainer === null || getPopupContainer === void 0 ? void 0 : getPopupContainer()) || document.body, maxCount, onAllRemoved, renderNotifications }); // ================================ Ref ================================ _react_17_0_2_react.useImperativeHandle(ref, () => Object.assign(Object.assign({}, api), { prefixCls, notification })); return holder; }); // ============================================================================== // == Hook == // ============================================================================== function useInternalNotification(notificationConfig) { const holderRef = _react_17_0_2_react.useRef(null); // ================================ API ================================ const wrapAPI = _react_17_0_2_react.useMemo(() => { // Wrap with notification content // >>> Open const open = config => { var _a; if (!holderRef.current) { false ? 0 : void 0; return; } const { open: originOpen, prefixCls, notification } = holderRef.current; const noticePrefixCls = `${prefixCls}-notice`; const { message, description, icon, type, btn, className, style, role = 'alert', closeIcon } = config, restConfig = useNotification_rest(config, ["message", "description", "icon", "type", "btn", "className", "style", "role", "closeIcon"]); const realCloseIcon = getCloseIcon(noticePrefixCls, closeIcon); return originOpen(Object.assign(Object.assign({ // use placement from props instead of hard-coding "topRight" placement: (_a = notificationConfig === null || notificationConfig === void 0 ? void 0 : notificationConfig.placement) !== null && _a !== void 0 ? _a : DEFAULT_PLACEMENT }, restConfig), { content: /*#__PURE__*/_react_17_0_2_react.createElement(PureContent, { prefixCls: noticePrefixCls, icon: icon, type: type, message: message, description: description, btn: btn, role: role }), className: _classnames_2_5_1_classnames_default()(type && `${noticePrefixCls}-${type}`, className, notification === null || notification === void 0 ? void 0 : notification.className), style: Object.assign(Object.assign({}, notification === null || notification === void 0 ? void 0 : notification.style), style), closeIcon: realCloseIcon, closable: !!realCloseIcon })); }; // >>> destroy const destroy = key => { var _a, _b; if (key !== undefined) { (_a = holderRef.current) === null || _a === void 0 ? void 0 : _a.close(key); } else { (_b = holderRef.current) === null || _b === void 0 ? void 0 : _b.destroy(); } }; const clone = { open, destroy }; const keys = ['success', 'info', 'warning', 'error']; keys.forEach(type => { clone[type] = config => open(Object.assign(Object.assign({}, config), { type })); }); return clone; }, []); // ============================== Return =============================== return [wrapAPI, /*#__PURE__*/_react_17_0_2_react.createElement(Holder, Object.assign({ key: "notification-holder" }, notificationConfig, { ref: holderRef }))]; } function useNotification(notificationConfig) { return useInternalNotification(notificationConfig); } ;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/notification/index.js "use client"; let notification = null; let act = callback => callback(); let taskQueue = []; let defaultGlobalConfig = {}; function getGlobalContext() { const { prefixCls: globalPrefixCls, getContainer: globalGetContainer, rtl, maxCount, top, bottom } = defaultGlobalConfig; const mergedPrefixCls = globalPrefixCls !== null && globalPrefixCls !== void 0 ? globalPrefixCls : (0,config_provider/* globalConfig */.w6)().getPrefixCls('notification'); const mergedContainer = (globalGetContainer === null || globalGetContainer === void 0 ? void 0 : globalGetContainer()) || document.body; return { prefixCls: mergedPrefixCls, getContainer: () => mergedContainer, rtl, maxCount, top, bottom }; } const GlobalHolder = /*#__PURE__*/_react_17_0_2_react.forwardRef((_, ref) => { const [notificationConfig, setNotificationConfig] = _react_17_0_2_react.useState(getGlobalContext); const [api, holder] = useInternalNotification(notificationConfig); const global = (0,config_provider/* globalConfig */.w6)(); const rootPrefixCls = global.getRootPrefixCls(); const rootIconPrefixCls = global.getIconPrefixCls(); const theme = global.getTheme(); const sync = () => { setNotificationConfig(getGlobalContext); }; _react_17_0_2_react.useEffect(sync, []); _react_17_0_2_react.useImperativeHandle(ref, () => { const instance = Object.assign({}, api); Object.keys(instance).forEach(method => { instance[method] = function () { sync(); return api[method].apply(api, arguments); }; }); return { instance, sync }; }); return /*#__PURE__*/_react_17_0_2_react.createElement(config_provider/* default */.ZP, { prefixCls: rootPrefixCls, iconPrefixCls: rootIconPrefixCls, theme: theme }, holder); }); function flushNotice() { if (!notification) { const holderFragment = document.createDocumentFragment(); const newNotification = { fragment: holderFragment }; notification = newNotification; // Delay render to avoid sync issue act(() => { (0,render/* render */.s)( /*#__PURE__*/_react_17_0_2_react.createElement(GlobalHolder, { ref: node => { const { instance, sync } = node || {}; Promise.resolve().then(() => { if (!newNotification.instance && instance) { newNotification.instance = instance; newNotification.sync = sync; flushNotice(); } }); } }), holderFragment); }); return; } // Notification not ready if (!notification.instance) { return; } // >>> Execute task taskQueue.forEach(task => { // eslint-disable-next-line default-case switch (task.type) { case 'open': { act(() => { notification.instance.open(Object.assign(Object.assign({}, defaultGlobalConfig), task.config)); }); break; } case 'destroy': act(() => { notification === null || notification === void 0 ? void 0 : notification.instance.destroy(task.key); }); break; } }); // Clean up taskQueue = []; } // ============================================================================== // == Export == // ============================================================================== function setNotificationGlobalConfig(config) { defaultGlobalConfig = Object.assign(Object.assign({}, defaultGlobalConfig), config); // Trigger sync for it act(() => { var _a; (_a = notification === null || notification === void 0 ? void 0 : notification.sync) === null || _a === void 0 ? void 0 : _a.call(notification); }); } function notification_open(config) { // Warning if exist theme if (false) {} taskQueue.push({ type: 'open', config }); flushNotice(); } function destroy(key) { taskQueue.push({ type: 'destroy', key }); flushNotice(); } const methods = ['success', 'info', 'warning', 'error']; const baseStaticMethods = { open: notification_open, destroy, config: setNotificationGlobalConfig, useNotification: useNotification, _InternalPanelDoNotUseOrYouWillBeFired: notification_PurePanel }; const staticMethods = baseStaticMethods; methods.forEach(type => { staticMethods[type] = config => notification_open(Object.assign(Object.assign({}, config), { type })); }); // ============================================================================== // == Test == // ============================================================================== const noop = () => {}; /** @internal Only Work in test env */ // eslint-disable-next-line import/no-mutable-exports let actWrapper = (/* unused pure expression or super */ null && (noop)); if (false) {} /* harmony default export */ var es_notification = (staticMethods); /***/ }), /***/ 95237: /*!*******************************************************!*\ !*** ./node_modules/_antd@5.9.0@antd/es/row/index.js ***! \*******************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony import */ var _grid__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../grid */ 27382); "use client"; /* harmony default export */ __webpack_exports__.Z = (_grid__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z); /***/ }), /***/ 33234: /*!***********************************************************!*\ !*** ./node_modules/_antd@5.9.0@antd/es/space/Compact.js ***! \***********************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ BR: function() { return /* binding */ NoCompactStyle; }, /* harmony export */ ri: function() { return /* binding */ useCompactItemContext; } /* harmony export */ }); /* unused harmony export SpaceCompactItemContext */ /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! classnames */ 92310); /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_0__); /* harmony import */ var rc_util_es_Children_toArray__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rc-util/es/Children/toArray */ 11592); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ 59301); /* harmony import */ var _config_provider__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../config-provider */ 36355); /* harmony import */ var _config_provider_hooks_useSize__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../config-provider/hooks/useSize */ 19716); /* harmony import */ var _style__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./style */ 2856); "use client"; var __rest = undefined && undefined.__rest || function (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; }; const SpaceCompactItemContext = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createContext(null); const useCompactItemContext = (prefixCls, direction) => { const compactItemContext = react__WEBPACK_IMPORTED_MODULE_2__.useContext(SpaceCompactItemContext); const compactItemClassnames = react__WEBPACK_IMPORTED_MODULE_2__.useMemo(() => { if (!compactItemContext) { return ''; } const { compactDirection, isFirstItem, isLastItem } = compactItemContext; const separator = compactDirection === 'vertical' ? '-vertical-' : '-'; return classnames__WEBPACK_IMPORTED_MODULE_0___default()(`${prefixCls}-compact${separator}item`, { [`${prefixCls}-compact${separator}first-item`]: isFirstItem, [`${prefixCls}-compact${separator}last-item`]: isLastItem, [`${prefixCls}-compact${separator}item-rtl`]: direction === 'rtl' }); }, [prefixCls, direction, compactItemContext]); return { compactSize: compactItemContext === null || compactItemContext === void 0 ? void 0 : compactItemContext.compactSize, compactDirection: compactItemContext === null || compactItemContext === void 0 ? void 0 : compactItemContext.compactDirection, compactItemClassnames }; }; const NoCompactStyle = _ref => { let { children } = _ref; return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement(SpaceCompactItemContext.Provider, { value: null }, children); }; const CompactItem = _a => { var { children } = _a, otherProps = __rest(_a, ["children"]); return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement(SpaceCompactItemContext.Provider, { value: otherProps }, children); }; const Compact = props => { const { getPrefixCls, direction: directionConfig } = react__WEBPACK_IMPORTED_MODULE_2__.useContext(_config_provider__WEBPACK_IMPORTED_MODULE_3__/* .ConfigContext */ .E_); const { size, direction, block, prefixCls: customizePrefixCls, className, rootClassName, children } = props, restProps = __rest(props, ["size", "direction", "block", "prefixCls", "className", "rootClassName", "children"]); const mergedSize = (0,_config_provider_hooks_useSize__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(ctx => size !== null && size !== void 0 ? size : ctx); const prefixCls = getPrefixCls('space-compact', customizePrefixCls); const [wrapSSR, hashId] = (0,_style__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)(prefixCls); const clx = classnames__WEBPACK_IMPORTED_MODULE_0___default()(prefixCls, hashId, { [`${prefixCls}-rtl`]: directionConfig === 'rtl', [`${prefixCls}-block`]: block, [`${prefixCls}-vertical`]: direction === 'vertical' }, className, rootClassName); const compactItemContext = react__WEBPACK_IMPORTED_MODULE_2__.useContext(SpaceCompactItemContext); const childNodes = (0,rc_util_es_Children_toArray__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(children); const nodes = react__WEBPACK_IMPORTED_MODULE_2__.useMemo(() => childNodes.map((child, i) => { const key = child && child.key || `${prefixCls}-item-${i}`; return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement(CompactItem, { key: key, compactSize: mergedSize, compactDirection: direction, isFirstItem: i === 0 && (!compactItemContext || (compactItemContext === null || compactItemContext === void 0 ? void 0 : compactItemContext.isFirstItem)), isLastItem: i === childNodes.length - 1 && (!compactItemContext || (compactItemContext === null || compactItemContext === void 0 ? void 0 : compactItemContext.isLastItem)) }, child); }), [size, childNodes, compactItemContext]); // =========================== Render =========================== if (childNodes.length === 0) { return null; } return wrapSSR( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement("div", Object.assign({ className: clx }, restProps), nodes)); }; /* harmony default export */ __webpack_exports__.ZP = (Compact); /***/ }), /***/ 2856: /*!***************************************************************************!*\ !*** ./node_modules/_antd@5.9.0@antd/es/space/style/index.js + 1 modules ***! \***************************************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; // EXPORTS __webpack_require__.d(__webpack_exports__, { Z: function() { return /* binding */ style; } }); // EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/theme/util/genComponentStyleHook.js var genComponentStyleHook = __webpack_require__(83116); // EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/theme/util/statistic.js var statistic = __webpack_require__(37613); ;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/space/style/compact.js const genSpaceCompactStyle = token => { const { componentCls } = token; return { [componentCls]: { '&-block': { display: 'flex', width: '100%' }, '&-vertical': { flexDirection: 'column' } } }; }; // ============================== Export ============================== /* harmony default export */ var compact = (genSpaceCompactStyle); ;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/space/style/index.js const genSpaceStyle = token => { const { componentCls } = token; return { [componentCls]: { display: 'inline-flex', '&-rtl': { direction: 'rtl' }, '&-vertical': { flexDirection: 'column' }, '&-align': { flexDirection: 'column', '&-center': { alignItems: 'center' }, '&-start': { alignItems: 'flex-start' }, '&-end': { alignItems: 'flex-end' }, '&-baseline': { alignItems: 'baseline' } }, [`${componentCls}-item:empty`]: { display: 'none' } } }; }; const genSpaceGapStyle = token => { const { componentCls } = token; return { [componentCls]: { '&-gap-row-small': { rowGap: token.spaceGapSmallSize }, '&-gap-row-middle': { rowGap: token.spaceGapMiddleSize }, '&-gap-row-large': { rowGap: token.spaceGapLargeSize }, '&-gap-col-small': { columnGap: token.spaceGapSmallSize }, '&-gap-col-middle': { columnGap: token.spaceGapMiddleSize }, '&-gap-col-large': { columnGap: token.spaceGapLargeSize } } }; }; // ============================== Export ============================== /* harmony default export */ var style = ((0,genComponentStyleHook/* default */.Z)('Space', token => { const spaceToken = (0,statistic/* merge */.TS)(token, { spaceGapSmallSize: token.paddingXS, spaceGapMiddleSize: token.padding, spaceGapLargeSize: token.paddingLG }); return [genSpaceStyle(spaceToken), genSpaceGapStyle(spaceToken), compact(spaceToken)]; }, () => ({}), { // Space component don't apply extra font style // https://github.com/ant-design/ant-design/issues/40315 resetStyle: false })); /***/ }), /***/ 71418: /*!********************************************************************!*\ !*** ./node_modules/_antd@5.9.0@antd/es/spin/index.js + 1 modules ***! \********************************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; // EXPORTS __webpack_require__.d(__webpack_exports__, { Z: function() { return /* binding */ spin; } }); // EXTERNAL MODULE: ./node_modules/_classnames@2.5.1@classnames/index.js var _classnames_2_5_1_classnames = __webpack_require__(92310); var _classnames_2_5_1_classnames_default = /*#__PURE__*/__webpack_require__.n(_classnames_2_5_1_classnames); // EXTERNAL MODULE: ./node_modules/_rc-util@5.44.4@rc-util/es/omit.js var omit = __webpack_require__(2738); // EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/index.js var _react_17_0_2_react = __webpack_require__(59301); // EXTERNAL MODULE: ./node_modules/_throttle-debounce@5.0.2@throttle-debounce/esm/index.js var esm = __webpack_require__(53280); // EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/_util/reactNode.js var reactNode = __webpack_require__(92343); // EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/config-provider/context.js var context = __webpack_require__(36355); // EXTERNAL MODULE: ./node_modules/_@ant-design_cssinjs@1.24.0@@ant-design/cssinjs/es/index.js + 39 modules var es = __webpack_require__(36237); // EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/style/index.js var style = __webpack_require__(17313); // EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/theme/util/genComponentStyleHook.js var genComponentStyleHook = __webpack_require__(83116); // EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/theme/util/statistic.js var statistic = __webpack_require__(37613); ;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/spin/style/index.js "use client"; const antSpinMove = new es.Keyframes('antSpinMove', { to: { opacity: 1 } }); const antRotate = new es.Keyframes('antRotate', { to: { transform: 'rotate(405deg)' } }); const genSpinStyle = token => ({ [`${token.componentCls}`]: Object.assign(Object.assign({}, (0,style/* resetComponent */.Wf)(token)), { position: 'absolute', display: 'none', color: token.colorPrimary, fontSize: 0, textAlign: 'center', verticalAlign: 'middle', opacity: 0, transition: `transform ${token.motionDurationSlow} ${token.motionEaseInOutCirc}`, '&-spinning': { position: 'static', display: 'inline-block', opacity: 1 }, '&-nested-loading': { position: 'relative', [`> div > ${token.componentCls}`]: { position: 'absolute', top: 0, insetInlineStart: 0, zIndex: 4, display: 'block', width: '100%', height: '100%', maxHeight: token.contentHeight, [`${token.componentCls}-dot`]: { position: 'absolute', top: '50%', insetInlineStart: '50%', margin: -token.dotSize / 2 }, [`${token.componentCls}-text`]: { position: 'absolute', top: '50%', width: '100%', paddingTop: (token.dotSize - token.fontSize) / 2 + 2, textShadow: `0 1px 2px ${token.colorBgContainer}`, fontSize: token.fontSize }, [`&${token.componentCls}-show-text ${token.componentCls}-dot`]: { marginTop: -(token.dotSize / 2) - 10 }, '&-sm': { [`${token.componentCls}-dot`]: { margin: -token.dotSizeSM / 2 }, [`${token.componentCls}-text`]: { paddingTop: (token.dotSizeSM - token.fontSize) / 2 + 2 }, [`&${token.componentCls}-show-text ${token.componentCls}-dot`]: { marginTop: -(token.dotSizeSM / 2) - 10 } }, '&-lg': { [`${token.componentCls}-dot`]: { margin: -(token.dotSizeLG / 2) }, [`${token.componentCls}-text`]: { paddingTop: (token.dotSizeLG - token.fontSize) / 2 + 2 }, [`&${token.componentCls}-show-text ${token.componentCls}-dot`]: { marginTop: -(token.dotSizeLG / 2) - 10 } } }, [`${token.componentCls}-container`]: { position: 'relative', transition: `opacity ${token.motionDurationSlow}`, '&::after': { position: 'absolute', top: 0, insetInlineEnd: 0, bottom: 0, insetInlineStart: 0, zIndex: 10, width: '100%', height: '100%', background: token.colorBgContainer, opacity: 0, transition: `all ${token.motionDurationSlow}`, content: '""', pointerEvents: 'none' } }, [`${token.componentCls}-blur`]: { clear: 'both', opacity: 0.5, userSelect: 'none', pointerEvents: 'none', [`&::after`]: { opacity: 0.4, pointerEvents: 'auto' } } }, // tip // ------------------------------ [`&-tip`]: { color: token.spinDotDefault }, // dots // ------------------------------ [`${token.componentCls}-dot`]: { position: 'relative', display: 'inline-block', fontSize: token.dotSize, width: '1em', height: '1em', '&-item': { position: 'absolute', display: 'block', width: (token.dotSize - token.marginXXS / 2) / 2, height: (token.dotSize - token.marginXXS / 2) / 2, backgroundColor: token.colorPrimary, borderRadius: '100%', transform: 'scale(0.75)', transformOrigin: '50% 50%', opacity: 0.3, animationName: antSpinMove, animationDuration: '1s', animationIterationCount: 'infinite', animationTimingFunction: 'linear', animationDirection: 'alternate', '&:nth-child(1)': { top: 0, insetInlineStart: 0 }, '&:nth-child(2)': { top: 0, insetInlineEnd: 0, animationDelay: '0.4s' }, '&:nth-child(3)': { insetInlineEnd: 0, bottom: 0, animationDelay: '0.8s' }, '&:nth-child(4)': { bottom: 0, insetInlineStart: 0, animationDelay: '1.2s' } }, '&-spin': { transform: 'rotate(45deg)', animationName: antRotate, animationDuration: '1.2s', animationIterationCount: 'infinite', animationTimingFunction: 'linear' } }, // Sizes // ------------------------------ // small [`&-sm ${token.componentCls}-dot`]: { fontSize: token.dotSizeSM, i: { width: (token.dotSizeSM - token.marginXXS / 2) / 2, height: (token.dotSizeSM - token.marginXXS / 2) / 2 } }, // large [`&-lg ${token.componentCls}-dot`]: { fontSize: token.dotSizeLG, i: { width: (token.dotSizeLG - token.marginXXS) / 2, height: (token.dotSizeLG - token.marginXXS) / 2 } }, [`&${token.componentCls}-show-text ${token.componentCls}-text`]: { display: 'block' } }) }); // ============================== Export ============================== /* harmony default export */ var spin_style = ((0,genComponentStyleHook/* default */.Z)('Spin', token => { const spinToken = (0,statistic/* merge */.TS)(token, { spinDotDefault: token.colorTextDescription }); return [genSpinStyle(spinToken)]; }, token => ({ contentHeight: 400, dotSize: token.controlHeightLG / 2, dotSizeSM: token.controlHeightLG * 0.35, dotSizeLG: token.controlHeight }))); ;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/spin/index.js "use client"; var __rest = undefined && undefined.__rest || function (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; }; const SpinSizes = (/* unused pure expression or super */ null && (['small', 'default', 'large'])); // Render indicator let defaultIndicator = null; function renderIndicator(prefixCls, props) { const { indicator } = props; const dotClassName = `${prefixCls}-dot`; // should not be render default indicator when indicator value is null if (indicator === null) { return null; } if ((0,reactNode/* isValidElement */.l$)(indicator)) { return (0,reactNode/* cloneElement */.Tm)(indicator, { className: _classnames_2_5_1_classnames_default()(indicator.props.className, dotClassName) }); } if ((0,reactNode/* isValidElement */.l$)(defaultIndicator)) { return (0,reactNode/* cloneElement */.Tm)(defaultIndicator, { className: _classnames_2_5_1_classnames_default()(defaultIndicator.props.className, dotClassName) }); } return /*#__PURE__*/_react_17_0_2_react.createElement("span", { className: _classnames_2_5_1_classnames_default()(dotClassName, `${prefixCls}-dot-spin`) }, /*#__PURE__*/_react_17_0_2_react.createElement("i", { className: `${prefixCls}-dot-item`, key: 1 }), /*#__PURE__*/_react_17_0_2_react.createElement("i", { className: `${prefixCls}-dot-item`, key: 2 }), /*#__PURE__*/_react_17_0_2_react.createElement("i", { className: `${prefixCls}-dot-item`, key: 3 }), /*#__PURE__*/_react_17_0_2_react.createElement("i", { className: `${prefixCls}-dot-item`, key: 4 })); } function shouldDelay(spinning, delay) { return !!spinning && !!delay && !isNaN(Number(delay)); } const Spin = props => { const { spinPrefixCls: prefixCls, spinning: customSpinning = true, delay = 0, className, rootClassName, size = 'default', tip, wrapperClassName, style, children, hashId } = props, restProps = __rest(props, ["spinPrefixCls", "spinning", "delay", "className", "rootClassName", "size", "tip", "wrapperClassName", "style", "children", "hashId"]); const [spinning, setSpinning] = _react_17_0_2_react.useState(() => customSpinning && !shouldDelay(customSpinning, delay)); _react_17_0_2_react.useEffect(() => { if (customSpinning) { const showSpinning = (0,esm/* debounce */.D)(delay, () => { setSpinning(true); }); showSpinning(); return () => { var _a; (_a = showSpinning === null || showSpinning === void 0 ? void 0 : showSpinning.cancel) === null || _a === void 0 ? void 0 : _a.call(showSpinning); }; } setSpinning(false); }, [delay, customSpinning]); const isNestedPattern = _react_17_0_2_react.useMemo(() => typeof children !== 'undefined', [children]); if (false) {} const { direction, spin } = _react_17_0_2_react.useContext(context/* ConfigContext */.E_); const spinClassName = _classnames_2_5_1_classnames_default()(prefixCls, spin === null || spin === void 0 ? void 0 : spin.className, { [`${prefixCls}-sm`]: size === 'small', [`${prefixCls}-lg`]: size === 'large', [`${prefixCls}-spinning`]: spinning, [`${prefixCls}-show-text`]: !!tip, [`${prefixCls}-rtl`]: direction === 'rtl' }, className, rootClassName, hashId); const containerClassName = _classnames_2_5_1_classnames_default()(`${prefixCls}-container`, { [`${prefixCls}-blur`]: spinning }); // fix https://fb.me/react-unknown-prop const divProps = (0,omit/* default */.Z)(restProps, ['indicator', 'prefixCls']); const mergedStyle = Object.assign(Object.assign({}, spin === null || spin === void 0 ? void 0 : spin.style), style); const spinElement = /*#__PURE__*/_react_17_0_2_react.createElement("div", Object.assign({}, divProps, { style: mergedStyle, className: spinClassName, "aria-live": "polite", "aria-busy": spinning }), renderIndicator(prefixCls, props), tip && isNestedPattern ? /*#__PURE__*/_react_17_0_2_react.createElement("div", { className: `${prefixCls}-text` }, tip) : null); if (isNestedPattern) { return /*#__PURE__*/_react_17_0_2_react.createElement("div", Object.assign({}, divProps, { className: _classnames_2_5_1_classnames_default()(`${prefixCls}-nested-loading`, wrapperClassName, hashId) }), spinning && /*#__PURE__*/_react_17_0_2_react.createElement("div", { key: "loading" }, spinElement), /*#__PURE__*/_react_17_0_2_react.createElement("div", { className: containerClassName, key: "container" }, children)); } return spinElement; }; const SpinFC = props => { const { prefixCls: customizePrefixCls } = props; const { getPrefixCls } = _react_17_0_2_react.useContext(context/* ConfigContext */.E_); const spinPrefixCls = getPrefixCls('spin', customizePrefixCls); const [wrapSSR, hashId] = spin_style(spinPrefixCls); const spinClassProps = Object.assign(Object.assign({}, props), { spinPrefixCls, hashId }); return wrapSSR( /*#__PURE__*/_react_17_0_2_react.createElement(Spin, Object.assign({}, spinClassProps))); }; SpinFC.setDefaultIndicator = indicator => { defaultIndicator = indicator; }; if (false) {} /* harmony default export */ var spin = (SpinFC); /***/ }), /***/ 74207: /*!****************************************************************!*\ !*** ./node_modules/_antd@5.9.0@antd/es/style/compact-item.js ***! \****************************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ c: function() { return /* binding */ genCompactItemStyle; } /* harmony export */ }); // handle border collapse function compactItemBorder(token, parentCls, options) { const { focusElCls, focus, borderElCls } = options; const childCombinator = borderElCls ? '> *' : ''; const hoverEffects = ['hover', focus ? 'focus' : null, 'active'].filter(Boolean).map(n => `&:${n} ${childCombinator}`).join(','); return { [`&-item:not(${parentCls}-last-item)`]: { marginInlineEnd: -token.lineWidth }, '&-item': Object.assign(Object.assign({ [hoverEffects]: { zIndex: 2 } }, focusElCls ? { [`&${focusElCls}`]: { zIndex: 2 } } : {}), { [`&[disabled] ${childCombinator}`]: { zIndex: 0 } }) }; } // handle border-radius function compactItemBorderRadius(prefixCls, parentCls, options) { const { borderElCls } = options; const childCombinator = borderElCls ? `> ${borderElCls}` : ''; return { [`&-item:not(${parentCls}-first-item):not(${parentCls}-last-item) ${childCombinator}`]: { borderRadius: 0 }, [`&-item:not(${parentCls}-last-item)${parentCls}-first-item`]: { [`& ${childCombinator}, &${prefixCls}-sm ${childCombinator}, &${prefixCls}-lg ${childCombinator}`]: { borderStartEndRadius: 0, borderEndEndRadius: 0 } }, [`&-item:not(${parentCls}-first-item)${parentCls}-last-item`]: { [`& ${childCombinator}, &${prefixCls}-sm ${childCombinator}, &${prefixCls}-lg ${childCombinator}`]: { borderStartStartRadius: 0, borderEndStartRadius: 0 } } }; } function genCompactItemStyle(token) { let options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : { focus: true }; const { componentCls } = token; const compactCls = `${componentCls}-compact`; return { [compactCls]: Object.assign(Object.assign({}, compactItemBorder(token, compactCls, options)), compactItemBorderRadius(componentCls, compactCls, options)) }; } /***/ }), /***/ 17313: /*!*********************************************************!*\ !*** ./node_modules/_antd@5.9.0@antd/es/style/index.js ***! \*********************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ Lx: function() { return /* binding */ genLinkStyle; }, /* harmony export */ Qy: function() { return /* binding */ genFocusStyle; }, /* harmony export */ Ro: function() { return /* binding */ resetIcon; }, /* harmony export */ Wf: function() { return /* binding */ resetComponent; }, /* harmony export */ dF: function() { return /* binding */ clearFix; }, /* harmony export */ du: function() { return /* binding */ genCommonStyle; }, /* harmony export */ oN: function() { return /* binding */ genFocusOutline; }, /* harmony export */ vS: function() { return /* binding */ textEllipsis; } /* harmony export */ }); "use client"; const textEllipsis = { overflow: 'hidden', whiteSpace: 'nowrap', textOverflow: 'ellipsis' }; const resetComponent = token => ({ boxSizing: 'border-box', margin: 0, padding: 0, color: token.colorText, fontSize: token.fontSize, // font-variant: @font-variant-base; lineHeight: token.lineHeight, listStyle: 'none', // font-feature-settings: @font-feature-settings-base; fontFamily: token.fontFamily }); const resetIcon = () => ({ display: 'inline-flex', alignItems: 'center', color: 'inherit', fontStyle: 'normal', lineHeight: 0, textAlign: 'center', textTransform: 'none', // for SVG icon, see https://blog.prototypr.io/align-svg-icons-to-text-and-say-goodbye-to-font-icons-d44b3d7b26b4 verticalAlign: '-0.125em', textRendering: 'optimizeLegibility', '-webkit-font-smoothing': 'antialiased', '-moz-osx-font-smoothing': 'grayscale', '> *': { lineHeight: 1 }, svg: { display: 'inline-block' } }); const clearFix = () => ({ // https://github.com/ant-design/ant-design/issues/21301#issuecomment-583955229 '&::before': { display: 'table', content: '""' }, '&::after': { // https://github.com/ant-design/ant-design/issues/21864 display: 'table', clear: 'both', content: '""' } }); const genLinkStyle = token => ({ a: { color: token.colorLink, textDecoration: token.linkDecoration, backgroundColor: 'transparent', outline: 'none', cursor: 'pointer', transition: `color ${token.motionDurationSlow}`, '-webkit-text-decoration-skip': 'objects', '&:hover': { color: token.colorLinkHover }, '&:active': { color: token.colorLinkActive }, [`&:active, &:hover`]: { textDecoration: token.linkHoverDecoration, outline: 0 }, // https://github.com/ant-design/ant-design/issues/22503 '&:focus': { textDecoration: token.linkFocusDecoration, outline: 0 }, '&[disabled]': { color: token.colorTextDisabled, cursor: 'not-allowed' } } }); const genCommonStyle = (token, componentPrefixCls) => { const { fontFamily, fontSize } = token; const rootPrefixSelector = `[class^="${componentPrefixCls}"], [class*=" ${componentPrefixCls}"]`; return { [rootPrefixSelector]: { fontFamily, fontSize, boxSizing: 'border-box', '&::before, &::after': { boxSizing: 'border-box' }, [rootPrefixSelector]: { boxSizing: 'border-box', '&::before, &::after': { boxSizing: 'border-box' } } } }; }; const genFocusOutline = token => ({ outline: `${token.lineWidthFocus}px solid ${token.colorPrimaryBorder}`, outlineOffset: 1, transition: 'outline-offset 0s, outline 0s' }); const genFocusStyle = token => ({ '&:focus-visible': Object.assign({}, genFocusOutline(token)) }); /***/ }), /***/ 1950: /*!***************************************************************!*\ !*** ./node_modules/_antd@5.9.0@antd/es/style/motion/fade.js ***! \***************************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ J$: function() { return /* binding */ initFadeMotion; } /* harmony export */ }); /* unused harmony exports fadeIn, fadeOut */ /* harmony import */ var _ant_design_cssinjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @ant-design/cssinjs */ 36237); /* harmony import */ var _motion__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./motion */ 95406); const fadeIn = new _ant_design_cssinjs__WEBPACK_IMPORTED_MODULE_0__.Keyframes('antFadeIn', { '0%': { opacity: 0 }, '100%': { opacity: 1 } }); const fadeOut = new _ant_design_cssinjs__WEBPACK_IMPORTED_MODULE_0__.Keyframes('antFadeOut', { '0%': { opacity: 1 }, '100%': { opacity: 0 } }); const initFadeMotion = function (token) { let sameLevel = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false; const { antCls } = token; const motionCls = `${antCls}-fade`; const sameLevelPrefix = sameLevel ? '&' : ''; return [(0,_motion__WEBPACK_IMPORTED_MODULE_1__/* .initMotion */ .R)(motionCls, fadeIn, fadeOut, token.motionDurationMid, sameLevel), { [` ${sameLevelPrefix}${motionCls}-enter, ${sameLevelPrefix}${motionCls}-appear `]: { opacity: 0, animationTimingFunction: 'linear' }, [`${sameLevelPrefix}${motionCls}-leave`]: { animationTimingFunction: 'linear' } }]; }; /***/ }), /***/ 95406: /*!*****************************************************************!*\ !*** ./node_modules/_antd@5.9.0@antd/es/style/motion/motion.js ***! \*****************************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ R: function() { return /* binding */ initMotion; } /* harmony export */ }); const initMotionCommon = duration => ({ animationDuration: duration, animationFillMode: 'both' }); // FIXME: origin less code seems same as initMotionCommon. Maybe we can safe remove const initMotionCommonLeave = duration => ({ animationDuration: duration, animationFillMode: 'both' }); const initMotion = function (motionCls, inKeyframes, outKeyframes, duration) { let sameLevel = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : false; const sameLevelPrefix = sameLevel ? '&' : ''; return { [` ${sameLevelPrefix}${motionCls}-enter, ${sameLevelPrefix}${motionCls}-appear `]: Object.assign(Object.assign({}, initMotionCommon(duration)), { animationPlayState: 'paused' }), [`${sameLevelPrefix}${motionCls}-leave`]: Object.assign(Object.assign({}, initMotionCommonLeave(duration)), { animationPlayState: 'paused' }), [` ${sameLevelPrefix}${motionCls}-enter${motionCls}-enter-active, ${sameLevelPrefix}${motionCls}-appear${motionCls}-appear-active `]: { animationName: inKeyframes, animationPlayState: 'running' }, [`${sameLevelPrefix}${motionCls}-leave${motionCls}-leave-active`]: { animationName: outKeyframes, animationPlayState: 'running', pointerEvents: 'none' } }; }; /***/ }), /***/ 29878: /*!***************************************************************!*\ !*** ./node_modules/_antd@5.9.0@antd/es/style/motion/zoom.js ***! \***************************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ _y: function() { return /* binding */ initZoomMotion; }, /* harmony export */ kr: function() { return /* binding */ zoomIn; } /* harmony export */ }); /* unused harmony exports zoomOut, zoomBigIn, zoomBigOut, zoomUpIn, zoomUpOut, zoomLeftIn, zoomLeftOut, zoomRightIn, zoomRightOut, zoomDownIn, zoomDownOut */ /* harmony import */ var _ant_design_cssinjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @ant-design/cssinjs */ 36237); /* harmony import */ var _motion__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./motion */ 95406); const zoomIn = new _ant_design_cssinjs__WEBPACK_IMPORTED_MODULE_0__.Keyframes('antZoomIn', { '0%': { transform: 'scale(0.2)', opacity: 0 }, '100%': { transform: 'scale(1)', opacity: 1 } }); const zoomOut = new _ant_design_cssinjs__WEBPACK_IMPORTED_MODULE_0__.Keyframes('antZoomOut', { '0%': { transform: 'scale(1)' }, '100%': { transform: 'scale(0.2)', opacity: 0 } }); const zoomBigIn = new _ant_design_cssinjs__WEBPACK_IMPORTED_MODULE_0__.Keyframes('antZoomBigIn', { '0%': { transform: 'scale(0.8)', opacity: 0 }, '100%': { transform: 'scale(1)', opacity: 1 } }); const zoomBigOut = new _ant_design_cssinjs__WEBPACK_IMPORTED_MODULE_0__.Keyframes('antZoomBigOut', { '0%': { transform: 'scale(1)' }, '100%': { transform: 'scale(0.8)', opacity: 0 } }); const zoomUpIn = new _ant_design_cssinjs__WEBPACK_IMPORTED_MODULE_0__.Keyframes('antZoomUpIn', { '0%': { transform: 'scale(0.8)', transformOrigin: '50% 0%', opacity: 0 }, '100%': { transform: 'scale(1)', transformOrigin: '50% 0%' } }); const zoomUpOut = new _ant_design_cssinjs__WEBPACK_IMPORTED_MODULE_0__.Keyframes('antZoomUpOut', { '0%': { transform: 'scale(1)', transformOrigin: '50% 0%' }, '100%': { transform: 'scale(0.8)', transformOrigin: '50% 0%', opacity: 0 } }); const zoomLeftIn = new _ant_design_cssinjs__WEBPACK_IMPORTED_MODULE_0__.Keyframes('antZoomLeftIn', { '0%': { transform: 'scale(0.8)', transformOrigin: '0% 50%', opacity: 0 }, '100%': { transform: 'scale(1)', transformOrigin: '0% 50%' } }); const zoomLeftOut = new _ant_design_cssinjs__WEBPACK_IMPORTED_MODULE_0__.Keyframes('antZoomLeftOut', { '0%': { transform: 'scale(1)', transformOrigin: '0% 50%' }, '100%': { transform: 'scale(0.8)', transformOrigin: '0% 50%', opacity: 0 } }); const zoomRightIn = new _ant_design_cssinjs__WEBPACK_IMPORTED_MODULE_0__.Keyframes('antZoomRightIn', { '0%': { transform: 'scale(0.8)', transformOrigin: '100% 50%', opacity: 0 }, '100%': { transform: 'scale(1)', transformOrigin: '100% 50%' } }); const zoomRightOut = new _ant_design_cssinjs__WEBPACK_IMPORTED_MODULE_0__.Keyframes('antZoomRightOut', { '0%': { transform: 'scale(1)', transformOrigin: '100% 50%' }, '100%': { transform: 'scale(0.8)', transformOrigin: '100% 50%', opacity: 0 } }); const zoomDownIn = new _ant_design_cssinjs__WEBPACK_IMPORTED_MODULE_0__.Keyframes('antZoomDownIn', { '0%': { transform: 'scale(0.8)', transformOrigin: '50% 100%', opacity: 0 }, '100%': { transform: 'scale(1)', transformOrigin: '50% 100%' } }); const zoomDownOut = new _ant_design_cssinjs__WEBPACK_IMPORTED_MODULE_0__.Keyframes('antZoomDownOut', { '0%': { transform: 'scale(1)', transformOrigin: '50% 100%' }, '100%': { transform: 'scale(0.8)', transformOrigin: '50% 100%', opacity: 0 } }); const zoomMotion = { zoom: { inKeyframes: zoomIn, outKeyframes: zoomOut }, 'zoom-big': { inKeyframes: zoomBigIn, outKeyframes: zoomBigOut }, 'zoom-big-fast': { inKeyframes: zoomBigIn, outKeyframes: zoomBigOut }, 'zoom-left': { inKeyframes: zoomLeftIn, outKeyframes: zoomLeftOut }, 'zoom-right': { inKeyframes: zoomRightIn, outKeyframes: zoomRightOut }, 'zoom-up': { inKeyframes: zoomUpIn, outKeyframes: zoomUpOut }, 'zoom-down': { inKeyframes: zoomDownIn, outKeyframes: zoomDownOut } }; const initZoomMotion = (token, motionName) => { const { antCls } = token; const motionCls = `${antCls}-${motionName}`; const { inKeyframes, outKeyframes } = zoomMotion[motionName]; return [(0,_motion__WEBPACK_IMPORTED_MODULE_1__/* .initMotion */ .R)(motionCls, inKeyframes, outKeyframes, motionName === 'zoom-big-fast' ? token.motionDurationFast : token.motionDurationMid), { [` ${motionCls}-enter, ${motionCls}-appear `]: { transform: 'scale(0)', opacity: 0, animationTimingFunction: token.motionEaseOutCirc, '&-prepare': { transform: 'none' } }, [`${motionCls}-leave`]: { animationTimingFunction: token.motionEaseInOutCirc } }]; }; /***/ }), /***/ 19447: /*!******************************************************************!*\ !*** ./node_modules/_antd@5.9.0@antd/es/style/placementArrow.js ***! \******************************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ ZP: function() { return /* binding */ getArrowStyle; }, /* harmony export */ fS: function() { return /* binding */ getArrowOffset; }, /* harmony export */ qN: function() { return /* binding */ MAX_VERTICAL_CONTENT_RADIUS; } /* harmony export */ }); /* harmony import */ var _roundedArrow__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./roundedArrow */ 47585); const MAX_VERTICAL_CONTENT_RADIUS = 8; function getArrowOffset(options) { const maxVerticalContentRadius = MAX_VERTICAL_CONTENT_RADIUS; const { contentRadius, limitVerticalRadius } = options; const dropdownArrowOffset = contentRadius > 12 ? contentRadius + 2 : 12; const dropdownArrowOffsetVertical = limitVerticalRadius ? maxVerticalContentRadius : dropdownArrowOffset; return { dropdownArrowOffset, dropdownArrowOffsetVertical }; } function isInject(valid, code) { if (!valid) return {}; return code; } function getArrowStyle(token, options) { const { componentCls, sizePopupArrow, borderRadiusXS, borderRadiusOuter, boxShadowPopoverArrow } = token; const { colorBg, contentRadius = token.borderRadiusLG, limitVerticalRadius, arrowDistance = 0, arrowPlacement = { left: true, right: true, top: true, bottom: true } } = options; const { dropdownArrowOffsetVertical, dropdownArrowOffset } = getArrowOffset({ contentRadius, limitVerticalRadius }); return { [componentCls]: Object.assign(Object.assign(Object.assign(Object.assign({ // ============================ Basic ============================ [`${componentCls}-arrow`]: [Object.assign(Object.assign({ position: 'absolute', zIndex: 1, display: 'block' }, (0,_roundedArrow__WEBPACK_IMPORTED_MODULE_0__/* .roundedArrow */ .r)(sizePopupArrow, borderRadiusXS, borderRadiusOuter, colorBg, boxShadowPopoverArrow)), { '&:before': { background: colorBg } })] }, isInject(!!arrowPlacement.top, { [[`&-placement-top ${componentCls}-arrow`, `&-placement-topLeft ${componentCls}-arrow`, `&-placement-topRight ${componentCls}-arrow`].join(',')]: { bottom: arrowDistance, transform: 'translateY(100%) rotate(180deg)' }, [`&-placement-top ${componentCls}-arrow`]: { left: { _skip_check_: true, value: '50%' }, transform: 'translateX(-50%) translateY(100%) rotate(180deg)' }, [`&-placement-topLeft ${componentCls}-arrow`]: { left: { _skip_check_: true, value: dropdownArrowOffset } }, [`&-placement-topRight ${componentCls}-arrow`]: { right: { _skip_check_: true, value: dropdownArrowOffset } } })), isInject(!!arrowPlacement.bottom, { [[`&-placement-bottom ${componentCls}-arrow`, `&-placement-bottomLeft ${componentCls}-arrow`, `&-placement-bottomRight ${componentCls}-arrow`].join(',')]: { top: arrowDistance, transform: `translateY(-100%)` }, [`&-placement-bottom ${componentCls}-arrow`]: { left: { _skip_check_: true, value: '50%' }, transform: `translateX(-50%) translateY(-100%)` }, [`&-placement-bottomLeft ${componentCls}-arrow`]: { left: { _skip_check_: true, value: dropdownArrowOffset } }, [`&-placement-bottomRight ${componentCls}-arrow`]: { right: { _skip_check_: true, value: dropdownArrowOffset } } })), isInject(!!arrowPlacement.left, { [[`&-placement-left ${componentCls}-arrow`, `&-placement-leftTop ${componentCls}-arrow`, `&-placement-leftBottom ${componentCls}-arrow`].join(',')]: { right: { _skip_check_: true, value: arrowDistance }, transform: 'translateX(100%) rotate(90deg)' }, [`&-placement-left ${componentCls}-arrow`]: { top: { _skip_check_: true, value: '50%' }, transform: 'translateY(-50%) translateX(100%) rotate(90deg)' }, [`&-placement-leftTop ${componentCls}-arrow`]: { top: dropdownArrowOffsetVertical }, [`&-placement-leftBottom ${componentCls}-arrow`]: { bottom: dropdownArrowOffsetVertical } })), isInject(!!arrowPlacement.right, { [[`&-placement-right ${componentCls}-arrow`, `&-placement-rightTop ${componentCls}-arrow`, `&-placement-rightBottom ${componentCls}-arrow`].join(',')]: { left: { _skip_check_: true, value: arrowDistance }, transform: 'translateX(-100%) rotate(-90deg)' }, [`&-placement-right ${componentCls}-arrow`]: { top: { _skip_check_: true, value: '50%' }, transform: 'translateY(-50%) translateX(-100%) rotate(-90deg)' }, [`&-placement-rightTop ${componentCls}-arrow`]: { top: dropdownArrowOffsetVertical }, [`&-placement-rightBottom ${componentCls}-arrow`]: { bottom: dropdownArrowOffsetVertical } })) }; } /***/ }), /***/ 47585: /*!****************************************************************!*\ !*** ./node_modules/_antd@5.9.0@antd/es/style/roundedArrow.js ***! \****************************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ r: function() { return /* binding */ roundedArrow; } /* harmony export */ }); const roundedArrow = (width, innerRadius, outerRadius, bgColor, boxShadow) => { const unitWidth = width / 2; const ax = 0; const ay = unitWidth; const bx = outerRadius * 1 / Math.sqrt(2); const by = unitWidth - outerRadius * (1 - 1 / Math.sqrt(2)); const cx = unitWidth - innerRadius * (1 / Math.sqrt(2)); const cy = outerRadius * (Math.sqrt(2) - 1) + innerRadius * (1 / Math.sqrt(2)); const dx = 2 * unitWidth - cx; const dy = cy; const ex = 2 * unitWidth - bx; const ey = by; const fx = 2 * unitWidth - ax; const fy = ay; const shadowWidth = unitWidth * Math.sqrt(2) + outerRadius * (Math.sqrt(2) - 2); const polygonOffset = outerRadius * (Math.sqrt(2) - 1); return { pointerEvents: 'none', width, height: width, overflow: 'hidden', '&::before': { position: 'absolute', bottom: 0, insetInlineStart: 0, width, height: width / 2, background: bgColor, clipPath: { _multi_value_: true, value: [`polygon(${polygonOffset}px 100%, 50% ${polygonOffset}px, ${2 * unitWidth - polygonOffset}px 100%, ${polygonOffset}px 100%)`, `path('M ${ax} ${ay} A ${outerRadius} ${outerRadius} 0 0 0 ${bx} ${by} L ${cx} ${cy} A ${innerRadius} ${innerRadius} 0 0 1 ${dx} ${dy} L ${ex} ${ey} A ${outerRadius} ${outerRadius} 0 0 0 ${fx} ${fy} Z')`] }, content: '""' }, '&::after': { content: '""', position: 'absolute', width: shadowWidth, height: shadowWidth, bottom: 0, insetInline: 0, margin: 'auto', borderRadius: { _skip_check_: true, value: `0 0 ${innerRadius}px 0` }, transform: 'translateY(50%) rotate(-135deg)', boxShadow, zIndex: 0, background: 'transparent' } }; }; /***/ }), /***/ 81616: /*!***********************************************************!*\ !*** ./node_modules/_antd@5.9.0@antd/es/theme/context.js ***! \***********************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ Mj: function() { return /* binding */ DesignTokenContext; }, /* harmony export */ uH: function() { return /* binding */ defaultTheme; }, /* harmony export */ u_: function() { return /* binding */ defaultConfig; } /* harmony export */ }); /* harmony import */ var _ant_design_cssinjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @ant-design/cssinjs */ 36237); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ 59301); /* harmony import */ var _themes_default__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./themes/default */ 97224); /* harmony import */ var _themes_seed__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./themes/seed */ 34117); const defaultTheme = (0,_ant_design_cssinjs__WEBPACK_IMPORTED_MODULE_0__.createTheme)(_themes_default__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z); // ================================ Context ================================= // To ensure snapshot stable. We disable hashed in test env. const defaultConfig = { token: _themes_seed__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z, hashed: true }; const DesignTokenContext = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__.createContext(defaultConfig); /***/ }), /***/ 33166: /*!**************************************************************************!*\ !*** ./node_modules/_antd@5.9.0@antd/es/theme/interface/presetColors.js ***! \**************************************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ i: function() { return /* binding */ PresetColors; } /* harmony export */ }); const PresetColors = ['blue', 'purple', 'cyan', 'green', 'magenta', 'pink', 'red', 'orange', 'yellow', 'volcano', 'geekblue', 'lime', 'gold']; /***/ }), /***/ 97224: /*!************************************************************************************!*\ !*** ./node_modules/_antd@5.9.0@antd/es/theme/themes/default/index.js + 5 modules ***! \************************************************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; // EXPORTS __webpack_require__.d(__webpack_exports__, { Z: function() { return /* binding */ derivative; } }); // EXTERNAL MODULE: ./node_modules/_@ant-design_colors@7.2.1@@ant-design/colors/es/index.js + 4 modules var es = __webpack_require__(30071); // EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/theme/themes/shared/genControlHeight.js var genControlHeight = __webpack_require__(34362); ;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/theme/themes/shared/genSizeMapToken.js function genSizeMapToken(token) { const { sizeUnit, sizeStep } = token; return { sizeXXL: sizeUnit * (sizeStep + 8), sizeXL: sizeUnit * (sizeStep + 4), sizeLG: sizeUnit * (sizeStep + 2), sizeMD: sizeUnit * (sizeStep + 1), sizeMS: sizeUnit * sizeStep, size: sizeUnit * sizeStep, sizeSM: sizeUnit * (sizeStep - 1), sizeXS: sizeUnit * (sizeStep - 2), sizeXXS: sizeUnit * (sizeStep - 3) // 4 }; } // EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/theme/themes/seed.js var seed = __webpack_require__(34117); // EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/theme/themes/shared/genColorMapToken.js var genColorMapToken = __webpack_require__(15397); ;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/theme/themes/shared/genRadius.js const genRadius = radiusBase => { let radiusLG = radiusBase; let radiusSM = radiusBase; let radiusXS = radiusBase; let radiusOuter = radiusBase; // radiusLG if (radiusBase < 6 && radiusBase >= 5) { radiusLG = radiusBase + 1; } else if (radiusBase < 16 && radiusBase >= 6) { radiusLG = radiusBase + 2; } else if (radiusBase >= 16) { radiusLG = 16; } // radiusSM if (radiusBase < 7 && radiusBase >= 5) { radiusSM = 4; } else if (radiusBase < 8 && radiusBase >= 7) { radiusSM = 5; } else if (radiusBase < 14 && radiusBase >= 8) { radiusSM = 6; } else if (radiusBase < 16 && radiusBase >= 14) { radiusSM = 7; } else if (radiusBase >= 16) { radiusSM = 8; } // radiusXS if (radiusBase < 6 && radiusBase >= 2) { radiusXS = 1; } else if (radiusBase >= 6) { radiusXS = 2; } // radiusOuter if (radiusBase > 4 && radiusBase < 8) { radiusOuter = 4; } else if (radiusBase >= 8) { radiusOuter = 6; } return { borderRadius: radiusBase > 16 ? 16 : radiusBase, borderRadiusXS: radiusXS, borderRadiusSM: radiusSM, borderRadiusLG: radiusLG, borderRadiusOuter: radiusOuter }; }; /* harmony default export */ var shared_genRadius = (genRadius); ;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/theme/themes/shared/genCommonMapToken.js function genCommonMapToken(token) { const { motionUnit, motionBase, borderRadius, lineWidth } = token; return Object.assign({ // motion motionDurationFast: `${(motionBase + motionUnit).toFixed(1)}s`, motionDurationMid: `${(motionBase + motionUnit * 2).toFixed(1)}s`, motionDurationSlow: `${(motionBase + motionUnit * 3).toFixed(1)}s`, // line lineWidthBold: lineWidth + 1 }, shared_genRadius(borderRadius)); } // EXTERNAL MODULE: ./node_modules/_@ctrl_tinycolor@3.6.1@@ctrl/tinycolor/dist/module/index.js var dist_module = __webpack_require__(64993); ;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/theme/themes/default/colorAlgorithm.js const getAlphaColor = (baseColor, alpha) => new dist_module/* TinyColor */.C(baseColor).setAlpha(alpha).toRgbString(); const getSolidColor = (baseColor, brightness) => { const instance = new dist_module/* TinyColor */.C(baseColor); return instance.darken(brightness).toHexString(); }; ;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/theme/themes/default/colors.js const generateColorPalettes = baseColor => { const colors = (0,es.generate)(baseColor); return { 1: colors[0], 2: colors[1], 3: colors[2], 4: colors[3], 5: colors[4], 6: colors[5], 7: colors[6], 8: colors[4], 9: colors[5], 10: colors[6] // 8: colors[7], // 9: colors[8], // 10: colors[9], }; }; const generateNeutralColorPalettes = (bgBaseColor, textBaseColor) => { const colorBgBase = bgBaseColor || '#fff'; const colorTextBase = textBaseColor || '#000'; return { colorBgBase, colorTextBase, colorText: getAlphaColor(colorTextBase, 0.88), colorTextSecondary: getAlphaColor(colorTextBase, 0.65), colorTextTertiary: getAlphaColor(colorTextBase, 0.45), colorTextQuaternary: getAlphaColor(colorTextBase, 0.25), colorFill: getAlphaColor(colorTextBase, 0.15), colorFillSecondary: getAlphaColor(colorTextBase, 0.06), colorFillTertiary: getAlphaColor(colorTextBase, 0.04), colorFillQuaternary: getAlphaColor(colorTextBase, 0.02), colorBgLayout: getSolidColor(colorBgBase, 4), colorBgContainer: getSolidColor(colorBgBase, 0), colorBgElevated: getSolidColor(colorBgBase, 0), colorBgSpotlight: getAlphaColor(colorTextBase, 0.85), colorBorder: getSolidColor(colorBgBase, 15), colorBorderSecondary: getSolidColor(colorBgBase, 6) }; }; // EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/theme/themes/shared/genFontMapToken.js + 1 modules var genFontMapToken = __webpack_require__(82838); ;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/theme/themes/default/index.js function derivative(token) { const colorPalettes = Object.keys(seed/* defaultPresetColors */.M).map(colorKey => { const colors = (0,es.generate)(token[colorKey]); return new Array(10).fill(1).reduce((prev, _, i) => { prev[`${colorKey}-${i + 1}`] = colors[i]; prev[`${colorKey}${i + 1}`] = colors[i]; return prev; }, {}); }).reduce((prev, cur) => { prev = Object.assign(Object.assign({}, prev), cur); return prev; }, {}); return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, token), colorPalettes), (0,genColorMapToken/* default */.Z)(token, { generateColorPalettes: generateColorPalettes, generateNeutralColorPalettes: generateNeutralColorPalettes })), (0,genFontMapToken/* default */.Z)(token.fontSize)), genSizeMapToken(token)), (0,genControlHeight/* default */.Z)(token)), genCommonMapToken(token)); } /***/ }), /***/ 34117: /*!***************************************************************!*\ !*** ./node_modules/_antd@5.9.0@antd/es/theme/themes/seed.js ***! \***************************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ M: function() { return /* binding */ defaultPresetColors; } /* harmony export */ }); const defaultPresetColors = { blue: '#1677ff', purple: '#722ED1', cyan: '#13C2C2', green: '#52C41A', magenta: '#EB2F96', pink: '#eb2f96', red: '#F5222D', orange: '#FA8C16', yellow: '#FADB14', volcano: '#FA541C', geekblue: '#2F54EB', gold: '#FAAD14', lime: '#A0D911' }; const seedToken = Object.assign(Object.assign({}, defaultPresetColors), { // Color colorPrimary: '#1677ff', colorSuccess: '#52c41a', colorWarning: '#faad14', colorError: '#ff4d4f', colorInfo: '#1677ff', colorLink: '', colorTextBase: '', colorBgBase: '', // Font fontFamily: `-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'`, fontFamilyCode: `'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace`, fontSize: 14, // Line lineWidth: 1, lineType: 'solid', // Motion motionUnit: 0.1, motionBase: 0, motionEaseOutCirc: 'cubic-bezier(0.08, 0.82, 0.17, 1)', motionEaseInOutCirc: 'cubic-bezier(0.78, 0.14, 0.15, 0.86)', motionEaseOut: 'cubic-bezier(0.215, 0.61, 0.355, 1)', motionEaseInOut: 'cubic-bezier(0.645, 0.045, 0.355, 1)', motionEaseOutBack: 'cubic-bezier(0.12, 0.4, 0.29, 1.46)', motionEaseInBack: 'cubic-bezier(0.71, -0.46, 0.88, 0.6)', motionEaseInQuint: 'cubic-bezier(0.755, 0.05, 0.855, 0.06)', motionEaseOutQuint: 'cubic-bezier(0.23, 1, 0.32, 1)', // Radius borderRadius: 6, // Size sizeUnit: 4, sizeStep: 4, sizePopupArrow: 16, // Control Base controlHeight: 32, // zIndex zIndexBase: 0, zIndexPopupBase: 1000, // Image opacityImage: 1, // Wireframe wireframe: false, // Motion motion: true }); /* harmony default export */ __webpack_exports__.Z = (seedToken); /***/ }), /***/ 15397: /*!**********************************************************************************!*\ !*** ./node_modules/_antd@5.9.0@antd/es/theme/themes/shared/genColorMapToken.js ***! \**********************************************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ Z: function() { return /* binding */ genColorMapToken; } /* harmony export */ }); /* harmony import */ var _ctrl_tinycolor__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @ctrl/tinycolor */ 64993); function genColorMapToken(seed, _ref) { let { generateColorPalettes, generateNeutralColorPalettes } = _ref; const { colorSuccess: colorSuccessBase, colorWarning: colorWarningBase, colorError: colorErrorBase, colorInfo: colorInfoBase, colorPrimary: colorPrimaryBase, colorBgBase, colorTextBase } = seed; const primaryColors = generateColorPalettes(colorPrimaryBase); const successColors = generateColorPalettes(colorSuccessBase); const warningColors = generateColorPalettes(colorWarningBase); const errorColors = generateColorPalettes(colorErrorBase); const infoColors = generateColorPalettes(colorInfoBase); const neutralColors = generateNeutralColorPalettes(colorBgBase, colorTextBase); // Color Link const colorLink = seed.colorLink || seed.colorInfo; const linkColors = generateColorPalettes(colorLink); return Object.assign(Object.assign({}, neutralColors), { colorPrimaryBg: primaryColors[1], colorPrimaryBgHover: primaryColors[2], colorPrimaryBorder: primaryColors[3], colorPrimaryBorderHover: primaryColors[4], colorPrimaryHover: primaryColors[5], colorPrimary: primaryColors[6], colorPrimaryActive: primaryColors[7], colorPrimaryTextHover: primaryColors[8], colorPrimaryText: primaryColors[9], colorPrimaryTextActive: primaryColors[10], colorSuccessBg: successColors[1], colorSuccessBgHover: successColors[2], colorSuccessBorder: successColors[3], colorSuccessBorderHover: successColors[4], colorSuccessHover: successColors[4], colorSuccess: successColors[6], colorSuccessActive: successColors[7], colorSuccessTextHover: successColors[8], colorSuccessText: successColors[9], colorSuccessTextActive: successColors[10], colorErrorBg: errorColors[1], colorErrorBgHover: errorColors[2], colorErrorBorder: errorColors[3], colorErrorBorderHover: errorColors[4], colorErrorHover: errorColors[5], colorError: errorColors[6], colorErrorActive: errorColors[7], colorErrorTextHover: errorColors[8], colorErrorText: errorColors[9], colorErrorTextActive: errorColors[10], colorWarningBg: warningColors[1], colorWarningBgHover: warningColors[2], colorWarningBorder: warningColors[3], colorWarningBorderHover: warningColors[4], colorWarningHover: warningColors[4], colorWarning: warningColors[6], colorWarningActive: warningColors[7], colorWarningTextHover: warningColors[8], colorWarningText: warningColors[9], colorWarningTextActive: warningColors[10], colorInfoBg: infoColors[1], colorInfoBgHover: infoColors[2], colorInfoBorder: infoColors[3], colorInfoBorderHover: infoColors[4], colorInfoHover: infoColors[4], colorInfo: infoColors[6], colorInfoActive: infoColors[7], colorInfoTextHover: infoColors[8], colorInfoText: infoColors[9], colorInfoTextActive: infoColors[10], colorLinkHover: linkColors[4], colorLink: linkColors[6], colorLinkActive: linkColors[7], colorBgMask: new _ctrl_tinycolor__WEBPACK_IMPORTED_MODULE_0__/* .TinyColor */ .C('#000').setAlpha(0.45).toRgbString(), colorWhite: '#fff' }); } /***/ }), /***/ 34362: /*!**********************************************************************************!*\ !*** ./node_modules/_antd@5.9.0@antd/es/theme/themes/shared/genControlHeight.js ***! \**********************************************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__) { "use strict"; const genControlHeight = token => { const { controlHeight } = token; return { controlHeightSM: controlHeight * 0.75, controlHeightXS: controlHeight * 0.5, controlHeightLG: controlHeight * 1.25 }; }; /* harmony default export */ __webpack_exports__.Z = (genControlHeight); /***/ }), /***/ 82838: /*!*********************************************************************************************!*\ !*** ./node_modules/_antd@5.9.0@antd/es/theme/themes/shared/genFontMapToken.js + 1 modules ***! \*********************************************************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; // EXPORTS __webpack_require__.d(__webpack_exports__, { Z: function() { return /* binding */ shared_genFontMapToken; } }); ;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/theme/themes/shared/genFontSizes.js // https://zhuanlan.zhihu.com/p/32746810 function getFontSizes(base) { const fontSizes = new Array(10).fill(null).map((_, index) => { const i = index - 1; const baseSize = base * Math.pow(2.71828, i / 5); const intSize = index > 1 ? Math.floor(baseSize) : Math.ceil(baseSize); // Convert to even return Math.floor(intSize / 2) * 2; }); fontSizes[1] = base; return fontSizes.map(size => { const height = size + 8; return { size, lineHeight: height / size }; }); } ;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/theme/themes/shared/genFontMapToken.js const genFontMapToken = fontSize => { const fontSizePairs = getFontSizes(fontSize); const fontSizes = fontSizePairs.map(pair => pair.size); const lineHeights = fontSizePairs.map(pair => pair.lineHeight); return { fontSizeSM: fontSizes[0], fontSize: fontSizes[1], fontSizeLG: fontSizes[2], fontSizeXL: fontSizes[3], fontSizeHeading1: fontSizes[6], fontSizeHeading2: fontSizes[5], fontSizeHeading3: fontSizes[4], fontSizeHeading4: fontSizes[3], fontSizeHeading5: fontSizes[2], lineHeight: lineHeights[1], lineHeightLG: lineHeights[2], lineHeightSM: lineHeights[0], lineHeightHeading1: lineHeights[6], lineHeightHeading2: lineHeights[5], lineHeightHeading3: lineHeights[4], lineHeightHeading4: lineHeights[3], lineHeightHeading5: lineHeights[2] }; }; /* harmony default export */ var shared_genFontMapToken = (genFontMapToken); /***/ }), /***/ 70305: /*!************************************************************!*\ !*** ./node_modules/_antd@5.9.0@antd/es/theme/useToken.js ***! \************************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ Z: function() { return /* binding */ useToken; } /* harmony export */ }); /* unused harmony export getComputedToken */ /* harmony import */ var _ant_design_cssinjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @ant-design/cssinjs */ 36237); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ 59301); /* harmony import */ var _version__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../version */ 8680); /* harmony import */ var _context__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./context */ 81616); /* harmony import */ var _themes_seed__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./themes/seed */ 34117); /* harmony import */ var _util_alias__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./util/alias */ 44023); var __rest = undefined && undefined.__rest || function (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; }; const getComputedToken = (originToken, overrideToken, theme) => { const derivativeToken = theme.getDerivativeToken(originToken); const { override } = overrideToken, components = __rest(overrideToken, ["override"]); // Merge with override let mergedDerivativeToken = Object.assign(Object.assign({}, derivativeToken), { override }); // Format if needed mergedDerivativeToken = (0,_util_alias__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(mergedDerivativeToken); if (components) { Object.entries(components).forEach(_ref => { let [key, value] = _ref; const { theme: componentTheme } = value, componentTokens = __rest(value, ["theme"]); let mergedComponentToken = componentTokens; if (componentTheme) { mergedComponentToken = getComputedToken(Object.assign(Object.assign({}, mergedDerivativeToken), componentTokens), { override: componentTokens }, componentTheme); } mergedDerivativeToken[key] = mergedComponentToken; }); } return mergedDerivativeToken; }; // ================================== Hook ================================== function useToken() { const { token: rootDesignToken, hashed, theme, components } = react__WEBPACK_IMPORTED_MODULE_1__.useContext(_context__WEBPACK_IMPORTED_MODULE_3__/* .DesignTokenContext */ .Mj); const salt = `${_version__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z}-${hashed || ''}`; const mergedTheme = theme || _context__WEBPACK_IMPORTED_MODULE_3__/* .defaultTheme */ .uH; const [token, hashId] = (0,_ant_design_cssinjs__WEBPACK_IMPORTED_MODULE_0__.useCacheToken)(mergedTheme, [_themes_seed__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z, rootDesignToken], { salt, override: Object.assign({ override: rootDesignToken }, components), getComputedToken, // formatToken will not be consumed after 1.15.0 with getComputedToken. // But token will break if @ant-design/cssinjs is under 1.15.0 without it formatToken: _util_alias__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z }); return [mergedTheme, token, hashed ? hashId : '']; } /***/ }), /***/ 44023: /*!**************************************************************************!*\ !*** ./node_modules/_antd@5.9.0@antd/es/theme/util/alias.js + 1 modules ***! \**************************************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; // EXPORTS __webpack_require__.d(__webpack_exports__, { Z: function() { return /* binding */ formatToken; } }); // EXTERNAL MODULE: ./node_modules/_@ctrl_tinycolor@3.6.1@@ctrl/tinycolor/dist/module/index.js var dist_module = __webpack_require__(64993); // EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/theme/themes/seed.js var seed = __webpack_require__(34117); ;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/theme/util/getAlphaColor.js function isStableColor(color) { return color >= 0 && color <= 255; } function getAlphaColor(frontColor, backgroundColor) { const { r: fR, g: fG, b: fB, a: originAlpha } = new dist_module/* TinyColor */.C(frontColor).toRgb(); if (originAlpha < 1) { return frontColor; } const { r: bR, g: bG, b: bB } = new dist_module/* TinyColor */.C(backgroundColor).toRgb(); for (let fA = 0.01; fA <= 1; fA += 0.01) { const r = Math.round((fR - bR * (1 - fA)) / fA); const g = Math.round((fG - bG * (1 - fA)) / fA); const b = Math.round((fB - bB * (1 - fA)) / fA); if (isStableColor(r) && isStableColor(g) && isStableColor(b)) { return new dist_module/* TinyColor */.C({ r, g, b, a: Math.round(fA * 100) / 100 }).toRgbString(); } } // fallback /* istanbul ignore next */ return new dist_module/* TinyColor */.C({ r: fR, g: fG, b: fB, a: 1 }).toRgbString(); } /* harmony default export */ var util_getAlphaColor = (getAlphaColor); ;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/theme/util/alias.js var __rest = undefined && undefined.__rest || function (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; }; /** * Seed (designer) > Derivative (designer) > Alias (developer). * * Merge seed & derivative & override token and generate alias token for developer. */ function formatToken(derivativeToken) { const { override } = derivativeToken, restToken = __rest(derivativeToken, ["override"]); const overrideTokens = Object.assign({}, override); Object.keys(seed/* default */.Z).forEach(token => { delete overrideTokens[token]; }); const mergedToken = Object.assign(Object.assign({}, restToken), overrideTokens); const screenXS = 480; const screenSM = 576; const screenMD = 768; const screenLG = 992; const screenXL = 1200; const screenXXL = 1600; // Motion if (mergedToken.motion === false) { const fastDuration = '0s'; mergedToken.motionDurationFast = fastDuration; mergedToken.motionDurationMid = fastDuration; mergedToken.motionDurationSlow = fastDuration; } // Generate alias token const aliasToken = Object.assign(Object.assign(Object.assign({}, mergedToken), { // ============== Background ============== // colorFillContent: mergedToken.colorFillSecondary, colorFillContentHover: mergedToken.colorFill, colorFillAlter: mergedToken.colorFillQuaternary, colorBgContainerDisabled: mergedToken.colorFillTertiary, // ============== Split ============== // colorBorderBg: mergedToken.colorBgContainer, colorSplit: util_getAlphaColor(mergedToken.colorBorderSecondary, mergedToken.colorBgContainer), // ============== Text ============== // colorTextPlaceholder: mergedToken.colorTextQuaternary, colorTextDisabled: mergedToken.colorTextQuaternary, colorTextHeading: mergedToken.colorText, colorTextLabel: mergedToken.colorTextSecondary, colorTextDescription: mergedToken.colorTextTertiary, colorTextLightSolid: mergedToken.colorWhite, colorHighlight: mergedToken.colorError, colorBgTextHover: mergedToken.colorFillSecondary, colorBgTextActive: mergedToken.colorFill, colorIcon: mergedToken.colorTextTertiary, colorIconHover: mergedToken.colorText, colorErrorOutline: util_getAlphaColor(mergedToken.colorErrorBg, mergedToken.colorBgContainer), colorWarningOutline: util_getAlphaColor(mergedToken.colorWarningBg, mergedToken.colorBgContainer), // Font fontSizeIcon: mergedToken.fontSizeSM, // Line lineWidthFocus: mergedToken.lineWidth * 4, // Control lineWidth: mergedToken.lineWidth, controlOutlineWidth: mergedToken.lineWidth * 2, // Checkbox size and expand icon size controlInteractiveSize: mergedToken.controlHeight / 2, controlItemBgHover: mergedToken.colorFillTertiary, controlItemBgActive: mergedToken.colorPrimaryBg, controlItemBgActiveHover: mergedToken.colorPrimaryBgHover, controlItemBgActiveDisabled: mergedToken.colorFill, controlTmpOutline: mergedToken.colorFillQuaternary, controlOutline: util_getAlphaColor(mergedToken.colorPrimaryBg, mergedToken.colorBgContainer), lineType: mergedToken.lineType, borderRadius: mergedToken.borderRadius, borderRadiusXS: mergedToken.borderRadiusXS, borderRadiusSM: mergedToken.borderRadiusSM, borderRadiusLG: mergedToken.borderRadiusLG, fontWeightStrong: 600, opacityLoading: 0.65, linkDecoration: 'none', linkHoverDecoration: 'none', linkFocusDecoration: 'none', controlPaddingHorizontal: 12, controlPaddingHorizontalSM: 8, paddingXXS: mergedToken.sizeXXS, paddingXS: mergedToken.sizeXS, paddingSM: mergedToken.sizeSM, padding: mergedToken.size, paddingMD: mergedToken.sizeMD, paddingLG: mergedToken.sizeLG, paddingXL: mergedToken.sizeXL, paddingContentHorizontalLG: mergedToken.sizeLG, paddingContentVerticalLG: mergedToken.sizeMS, paddingContentHorizontal: mergedToken.sizeMS, paddingContentVertical: mergedToken.sizeSM, paddingContentHorizontalSM: mergedToken.size, paddingContentVerticalSM: mergedToken.sizeXS, marginXXS: mergedToken.sizeXXS, marginXS: mergedToken.sizeXS, marginSM: mergedToken.sizeSM, margin: mergedToken.size, marginMD: mergedToken.sizeMD, marginLG: mergedToken.sizeLG, marginXL: mergedToken.sizeXL, marginXXL: mergedToken.sizeXXL, boxShadow: ` 0 6px 16px 0 rgba(0, 0, 0, 0.08), 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 9px 28px 8px rgba(0, 0, 0, 0.05) `, boxShadowSecondary: ` 0 6px 16px 0 rgba(0, 0, 0, 0.08), 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 9px 28px 8px rgba(0, 0, 0, 0.05) `, boxShadowTertiary: ` 0 1px 2px 0 rgba(0, 0, 0, 0.03), 0 1px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px 0 rgba(0, 0, 0, 0.02) `, screenXS, screenXSMin: screenXS, screenXSMax: screenSM - 1, screenSM, screenSMMin: screenSM, screenSMMax: screenMD - 1, screenMD, screenMDMin: screenMD, screenMDMax: screenLG - 1, screenLG, screenLGMin: screenLG, screenLGMax: screenXL - 1, screenXL, screenXLMin: screenXL, screenXLMax: screenXXL - 1, screenXXL, screenXXLMin: screenXXL, boxShadowPopoverArrow: '2px 2px 5px rgba(0, 0, 0, 0.05)', boxShadowCard: ` 0 1px 2px -2px ${new dist_module/* TinyColor */.C('rgba(0, 0, 0, 0.16)').toRgbString()}, 0 3px 6px 0 ${new dist_module/* TinyColor */.C('rgba(0, 0, 0, 0.12)').toRgbString()}, 0 5px 12px 4px ${new dist_module/* TinyColor */.C('rgba(0, 0, 0, 0.09)').toRgbString()} `, boxShadowDrawerRight: ` -6px 0 16px 0 rgba(0, 0, 0, 0.08), -3px 0 6px -4px rgba(0, 0, 0, 0.12), -9px 0 28px 8px rgba(0, 0, 0, 0.05) `, boxShadowDrawerLeft: ` 6px 0 16px 0 rgba(0, 0, 0, 0.08), 3px 0 6px -4px rgba(0, 0, 0, 0.12), 9px 0 28px 8px rgba(0, 0, 0, 0.05) `, boxShadowDrawerUp: ` 0 6px 16px 0 rgba(0, 0, 0, 0.08), 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 9px 28px 8px rgba(0, 0, 0, 0.05) `, boxShadowDrawerDown: ` 0 -6px 16px 0 rgba(0, 0, 0, 0.08), 0 -3px 6px -4px rgba(0, 0, 0, 0.12), 0 -9px 28px 8px rgba(0, 0, 0, 0.05) `, boxShadowTabsOverflowLeft: 'inset 10px 0 8px -8px rgba(0, 0, 0, 0.08)', boxShadowTabsOverflowRight: 'inset -10px 0 8px -8px rgba(0, 0, 0, 0.08)', boxShadowTabsOverflowTop: 'inset 0 10px 8px -8px rgba(0, 0, 0, 0.08)', boxShadowTabsOverflowBottom: 'inset 0 -10px 8px -8px rgba(0, 0, 0, 0.08)' }), overrideTokens); return aliasToken; } /***/ }), /***/ 83116: /*!******************************************************************************!*\ !*** ./node_modules/_antd@5.9.0@antd/es/theme/util/genComponentStyleHook.js ***! \******************************************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ Z: function() { return /* binding */ genComponentStyleHook; }, /* harmony export */ b: function() { return /* binding */ genSubStyleComponent; } /* harmony export */ }); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 59301); /* harmony import */ var _ant_design_cssinjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @ant-design/cssinjs */ 36237); /* harmony import */ var rc_util__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! rc-util */ 70425); /* harmony import */ var _config_provider_context__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../config-provider/context */ 36355); /* harmony import */ var _style__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../style */ 17313); /* harmony import */ var _useToken__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../useToken */ 70305); /* harmony import */ var _statistic__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./statistic */ 37613); /* harmony import */ var _useResetIconStyle__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./useResetIconStyle */ 73040); /* eslint-disable no-redeclare */ function genComponentStyleHook(componentName, styleFn, getDefaultToken) { let options = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {}; const cells = Array.isArray(componentName) ? componentName : [componentName, componentName]; const [component] = cells; const concatComponent = cells.join('-'); return prefixCls => { const [theme, token, hashId] = (0,_useToken__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(); const { getPrefixCls, iconPrefixCls, csp } = (0,react__WEBPACK_IMPORTED_MODULE_0__.useContext)(_config_provider_context__WEBPACK_IMPORTED_MODULE_4__/* .ConfigContext */ .E_); const rootPrefixCls = getPrefixCls(); // Shared config const sharedConfig = { theme, token, hashId, nonce: () => csp === null || csp === void 0 ? void 0 : csp.nonce, clientOnly: options.clientOnly, // antd is always at top of styles order: options.order || -999 }; // Generate style for all a tags in antd component. (0,_ant_design_cssinjs__WEBPACK_IMPORTED_MODULE_1__.useStyleRegister)(Object.assign(Object.assign({}, sharedConfig), { clientOnly: false, path: ['Shared', rootPrefixCls] }), () => [{ // Link '&': (0,_style__WEBPACK_IMPORTED_MODULE_5__/* .genLinkStyle */ .Lx)(token) }]); // Generate style for icons (0,_useResetIconStyle__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)(iconPrefixCls); return [(0,_ant_design_cssinjs__WEBPACK_IMPORTED_MODULE_1__.useStyleRegister)(Object.assign(Object.assign({}, sharedConfig), { path: [concatComponent, prefixCls, iconPrefixCls] }), () => { const { token: proxyToken, flush } = (0,_statistic__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .ZP)(token); const customComponentToken = Object.assign({}, token[component]); if (options.deprecatedTokens) { const { deprecatedTokens } = options; deprecatedTokens.forEach(_ref => { let [oldTokenKey, newTokenKey] = _ref; var _a; if (false) {} // Should wrap with `if` clause, or there will be `undefined` in object. if ((customComponentToken === null || customComponentToken === void 0 ? void 0 : customComponentToken[oldTokenKey]) || (customComponentToken === null || customComponentToken === void 0 ? void 0 : customComponentToken[newTokenKey])) { (_a = customComponentToken[newTokenKey]) !== null && _a !== void 0 ? _a : customComponentToken[newTokenKey] = customComponentToken === null || customComponentToken === void 0 ? void 0 : customComponentToken[oldTokenKey]; } }); } const defaultComponentToken = typeof getDefaultToken === 'function' ? getDefaultToken((0,_statistic__WEBPACK_IMPORTED_MODULE_7__/* .merge */ .TS)(proxyToken, customComponentToken !== null && customComponentToken !== void 0 ? customComponentToken : {})) : getDefaultToken; const mergedComponentToken = Object.assign(Object.assign({}, defaultComponentToken), customComponentToken); const componentCls = `.${prefixCls}`; const mergedToken = (0,_statistic__WEBPACK_IMPORTED_MODULE_7__/* .merge */ .TS)(proxyToken, { componentCls, prefixCls, iconCls: `.${iconPrefixCls}`, antCls: `.${rootPrefixCls}` }, mergedComponentToken); const styleInterpolation = styleFn(mergedToken, { hashId, prefixCls, rootPrefixCls, iconPrefixCls, overrideComponentToken: customComponentToken }); flush(component, mergedComponentToken); return [options.resetStyle === false ? null : (0,_style__WEBPACK_IMPORTED_MODULE_5__/* .genCommonStyle */ .du)(token, prefixCls), styleInterpolation]; }), hashId]; }; } const genSubStyleComponent = (componentName, styleFn, getDefaultToken, options) => { const useStyle = genComponentStyleHook(componentName, styleFn, getDefaultToken, Object.assign({ resetStyle: false, // Sub Style should default after root one order: -998 }, options)); const StyledComponent = _ref2 => { let { prefixCls } = _ref2; useStyle(prefixCls); return null; }; if (false) {} return StyledComponent; }; /***/ }), /***/ 45157: /*!***********************************************************************!*\ !*** ./node_modules/_antd@5.9.0@antd/es/theme/util/genPresetColor.js ***! \***********************************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ Z: function() { return /* binding */ genPresetColor; } /* harmony export */ }); /* harmony import */ var _interface__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../interface */ 33166); function genPresetColor(token, genCss) { return _interface__WEBPACK_IMPORTED_MODULE_0__/* .PresetColors */ .i.reduce((prev, colorKey) => { const lightColor = token[`${colorKey}1`]; const lightBorderColor = token[`${colorKey}3`]; const darkColor = token[`${colorKey}6`]; const textColor = token[`${colorKey}7`]; return Object.assign(Object.assign({}, prev), genCss(colorKey, { lightColor, lightBorderColor, darkColor, textColor })); }, {}); } /***/ }), /***/ 37613: /*!******************************************************************!*\ !*** ./node_modules/_antd@5.9.0@antd/es/theme/util/statistic.js ***! \******************************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ TS: function() { return /* binding */ merge; }, /* harmony export */ ZP: function() { return /* binding */ statisticToken; } /* harmony export */ }); /* unused harmony exports statistic, _statistic_build_ */ const enableStatistic = false || typeof CSSINJS_STATISTIC !== 'undefined'; let recording = true; /** * This function will do as `Object.assign` in production. But will use Object.defineProperty:get to * pass all value access in development. To support statistic field usage with alias token. */ function merge() { for (var _len = arguments.length, objs = new Array(_len), _key = 0; _key < _len; _key++) { objs[_key] = arguments[_key]; } /* istanbul ignore next */ if (!enableStatistic) { return Object.assign.apply(Object, [{}].concat(objs)); } recording = false; const ret = {}; objs.forEach(obj => { const keys = Object.keys(obj); keys.forEach(key => { Object.defineProperty(ret, key, { configurable: true, enumerable: true, get: () => obj[key] }); }); }); recording = true; return ret; } /** @internal Internal Usage. Not use in your production. */ const statistic = {}; /** @internal Internal Usage. Not use in your production. */ // eslint-disable-next-line camelcase const _statistic_build_ = {}; /* istanbul ignore next */ function noop() {} /** Statistic token usage case. Should use `merge` function if you do not want spread record. */ function statisticToken(token) { let tokenKeys; let proxy = token; let flush = noop; if (enableStatistic) { tokenKeys = new Set(); proxy = new Proxy(token, { get(obj, prop) { if (recording) { tokenKeys.add(prop); } return obj[prop]; } }); flush = (componentName, componentToken) => { var _a; statistic[componentName] = { global: Array.from(tokenKeys), component: Object.assign(Object.assign({}, (_a = statistic[componentName]) === null || _a === void 0 ? void 0 : _a.component), componentToken) }; }; } return { token: proxy, keys: tokenKeys, flush }; } /***/ }), /***/ 73040: /*!**************************************************************************!*\ !*** ./node_modules/_antd@5.9.0@antd/es/theme/util/useResetIconStyle.js ***! \**************************************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony import */ var _ant_design_cssinjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @ant-design/cssinjs */ 36237); /* harmony import */ var _style__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../style */ 17313); /* harmony import */ var _useToken__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../useToken */ 70305); const useResetIconStyle = (iconPrefixCls, csp) => { const [theme, token] = (0,_useToken__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(); // Generate style for icons return (0,_ant_design_cssinjs__WEBPACK_IMPORTED_MODULE_0__.useStyleRegister)({ theme, token, hashId: '', path: ['ant-design-icons', iconPrefixCls], nonce: () => csp === null || csp === void 0 ? void 0 : csp.nonce }, () => [{ [`.${iconPrefixCls}`]: Object.assign(Object.assign({}, (0,_style__WEBPACK_IMPORTED_MODULE_2__/* .resetIcon */ .Ro)()), { [`.${iconPrefixCls} .${iconPrefixCls}-icon`]: { display: 'block' } }) }]); }; /* harmony default export */ __webpack_exports__.Z = (useResetIconStyle); /***/ }), /***/ 67532: /*!**********************************************************************!*\ !*** ./node_modules/_antd@5.9.0@antd/es/time-picker/locale/en_US.js ***! \**********************************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__) { "use strict"; const locale = { placeholder: 'Select time', rangePlaceholder: ['Start time', 'End time'] }; /* harmony default export */ __webpack_exports__.Z = (locale); /***/ }), /***/ 6848: /*!***********************************************************************!*\ !*** ./node_modules/_antd@5.9.0@antd/es/tooltip/index.js + 3 modules ***! \***********************************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; // EXPORTS __webpack_require__.d(__webpack_exports__, { Z: function() { return /* binding */ tooltip; } }); // EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/index.js var _react_17_0_2_react = __webpack_require__(59301); // EXTERNAL MODULE: ./node_modules/_classnames@2.5.1@classnames/index.js var _classnames_2_5_1_classnames = __webpack_require__(92310); var _classnames_2_5_1_classnames_default = /*#__PURE__*/__webpack_require__.n(_classnames_2_5_1_classnames); // EXTERNAL MODULE: ./node_modules/_rc-tooltip@6.0.1@rc-tooltip/es/index.js + 3 modules var es = __webpack_require__(55477); // EXTERNAL MODULE: ./node_modules/_rc-util@5.44.4@rc-util/es/hooks/useMergedState.js var useMergedState = __webpack_require__(18929); // EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/_util/motion.js var motion = __webpack_require__(62892); // EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/_util/placements.js var placements = __webpack_require__(79676); // EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/_util/reactNode.js var reactNode = __webpack_require__(92343); // EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/config-provider/context.js var context = __webpack_require__(36355); // EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/space/Compact.js var Compact = __webpack_require__(33234); // EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/theme/useToken.js var useToken = __webpack_require__(70305); // EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/style/index.js var style = __webpack_require__(17313); // EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/style/motion/zoom.js var zoom = __webpack_require__(29878); // EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/style/placementArrow.js var placementArrow = __webpack_require__(19447); // EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/theme/util/genPresetColor.js var genPresetColor = __webpack_require__(45157); // EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/theme/util/statistic.js var statistic = __webpack_require__(37613); // EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/theme/util/genComponentStyleHook.js var genComponentStyleHook = __webpack_require__(83116); ;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/tooltip/style/index.js const genTooltipStyle = token => { const { componentCls, // ant-tooltip tooltipMaxWidth, tooltipColor, tooltipBg, tooltipBorderRadius, zIndexPopup, controlHeight, boxShadowSecondary, paddingSM, paddingXS, tooltipRadiusOuter } = token; return [{ [componentCls]: Object.assign(Object.assign(Object.assign(Object.assign({}, (0,style/* resetComponent */.Wf)(token)), { position: 'absolute', zIndex: zIndexPopup, display: 'block', width: 'max-content', maxWidth: tooltipMaxWidth, visibility: 'visible', transformOrigin: `var(--arrow-x, 50%) var(--arrow-y, 50%)`, '&-hidden': { display: 'none' }, '--antd-arrow-background-color': tooltipBg, // Wrapper for the tooltip content [`${componentCls}-inner`]: { minWidth: controlHeight, minHeight: controlHeight, padding: `${paddingSM / 2}px ${paddingXS}px`, color: tooltipColor, textAlign: 'start', textDecoration: 'none', wordWrap: 'break-word', backgroundColor: tooltipBg, borderRadius: tooltipBorderRadius, boxShadow: boxShadowSecondary, boxSizing: 'border-box' }, // Limit left and right placement radius [[`&-placement-left`, `&-placement-leftTop`, `&-placement-leftBottom`, `&-placement-right`, `&-placement-rightTop`, `&-placement-rightBottom`].join(',')]: { [`${componentCls}-inner`]: { borderRadius: Math.min(tooltipBorderRadius, placementArrow/* MAX_VERTICAL_CONTENT_RADIUS */.qN) } }, [`${componentCls}-content`]: { position: 'relative' } }), (0,genPresetColor/* default */.Z)(token, (colorKey, _ref) => { let { darkColor } = _ref; return { [`&${componentCls}-${colorKey}`]: { [`${componentCls}-inner`]: { backgroundColor: darkColor }, [`${componentCls}-arrow`]: { '--antd-arrow-background-color': darkColor } } }; })), { // RTL '&-rtl': { direction: 'rtl' } }) }, // Arrow Style (0,placementArrow/* default */.ZP)((0,statistic/* merge */.TS)(token, { borderRadiusOuter: tooltipRadiusOuter }), { colorBg: 'var(--antd-arrow-background-color)', contentRadius: tooltipBorderRadius, limitVerticalRadius: true }), // Pure Render { [`${componentCls}-pure`]: { position: 'relative', maxWidth: 'none', margin: token.sizePopupArrow } }]; }; // ============================== Export ============================== /* harmony default export */ var tooltip_style = ((prefixCls, injectStyle) => { const useOriginHook = (0,genComponentStyleHook/* default */.Z)('Tooltip', token => { // Popover use Tooltip as internal component. We do not need to handle this. if (injectStyle === false) { return []; } const { borderRadius, colorTextLightSolid, colorBgDefault, borderRadiusOuter } = token; const TooltipToken = (0,statistic/* merge */.TS)(token, { // default variables tooltipMaxWidth: 250, tooltipColor: colorTextLightSolid, tooltipBorderRadius: borderRadius, tooltipBg: colorBgDefault, tooltipRadiusOuter: borderRadiusOuter > 4 ? 4 : borderRadiusOuter }); return [genTooltipStyle(TooltipToken), (0,zoom/* initZoomMotion */._y)(token, 'zoom-big-fast')]; }, _ref2 => { let { zIndexPopupBase, colorBgSpotlight } = _ref2; return { zIndexPopup: zIndexPopupBase + 70, colorBgDefault: colorBgSpotlight }; }, { resetStyle: false }); return useOriginHook(prefixCls); }); // EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/_util/colors.js var colors = __webpack_require__(36785); ;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/tooltip/util.js /* eslint-disable import/prefer-default-export */ function parseColor(prefixCls, color) { const isInternalColor = (0,colors/* isPresetColor */.o2)(color); const className = _classnames_2_5_1_classnames_default()({ [`${prefixCls}-${color}`]: color && isInternalColor }); const overlayStyle = {}; const arrowStyle = {}; if (color && !isInternalColor) { overlayStyle.background = color; // @ts-ignore arrowStyle['--antd-arrow-background-color'] = color; } return { className, overlayStyle, arrowStyle }; } ;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/tooltip/PurePanel.js "use client"; /** @private Internal Component. Do not use in your production. */ const PurePanel = props => { const { prefixCls: customizePrefixCls, className, placement = 'top', title, color, overlayInnerStyle } = props; const { getPrefixCls } = _react_17_0_2_react.useContext(context/* ConfigContext */.E_); const prefixCls = getPrefixCls('tooltip', customizePrefixCls); const [wrapSSR, hashId] = tooltip_style(prefixCls, true); // Color const colorInfo = parseColor(prefixCls, color); const arrowContentStyle = colorInfo.arrowStyle; const formattedOverlayInnerStyle = Object.assign(Object.assign({}, overlayInnerStyle), colorInfo.overlayStyle); const cls = _classnames_2_5_1_classnames_default()(hashId, prefixCls, `${prefixCls}-pure`, `${prefixCls}-placement-${placement}`, className, colorInfo.className); return wrapSSR( /*#__PURE__*/_react_17_0_2_react.createElement("div", { className: cls, style: arrowContentStyle }, /*#__PURE__*/_react_17_0_2_react.createElement("div", { className: `${prefixCls}-arrow` }), /*#__PURE__*/_react_17_0_2_react.createElement(es/* Popup */.G, Object.assign({}, props, { className: hashId, prefixCls: prefixCls, overlayInnerStyle: formattedOverlayInnerStyle }), title))); }; /* harmony default export */ var tooltip_PurePanel = (PurePanel); ;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/tooltip/index.js "use client"; var __rest = undefined && undefined.__rest || function (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; }; const splitObject = (obj, keys) => { const picked = {}; const omitted = Object.assign({}, obj); keys.forEach(key => { if (obj && key in obj) { picked[key] = obj[key]; delete omitted[key]; } }); return { picked, omitted }; }; // Fix Tooltip won't hide at disabled button // mouse events don't trigger at disabled button in Chrome // https://github.com/react-component/tooltip/issues/18 function getDisabledCompatibleChildren(element, prefixCls) { const elementType = element.type; if ((elementType.__ANT_BUTTON === true || element.type === 'button') && element.props.disabled || elementType.__ANT_SWITCH === true && (element.props.disabled || element.props.loading) || elementType.__ANT_RADIO === true && element.props.disabled) { // Pick some layout related style properties up to span // Prevent layout bugs like https://github.com/ant-design/ant-design/issues/5254 const { picked, omitted } = splitObject(element.props.style, ['position', 'left', 'right', 'top', 'bottom', 'float', 'display', 'zIndex']); const spanStyle = Object.assign(Object.assign({ display: 'inline-block' }, picked), { cursor: 'not-allowed', width: element.props.block ? '100%' : undefined }); const buttonStyle = Object.assign(Object.assign({}, omitted), { pointerEvents: 'none' }); const child = (0,reactNode/* cloneElement */.Tm)(element, { style: buttonStyle, className: null }); return /*#__PURE__*/_react_17_0_2_react.createElement("span", { style: spanStyle, className: _classnames_2_5_1_classnames_default()(element.props.className, `${prefixCls}-disabled-compatible-wrapper`) }, child); } return element; } const Tooltip = /*#__PURE__*/_react_17_0_2_react.forwardRef((props, ref) => { var _a, _b; const { prefixCls: customizePrefixCls, openClassName, getTooltipContainer, overlayClassName, color, overlayInnerStyle, children, afterOpenChange, afterVisibleChange, destroyTooltipOnHide, arrow = true, title, overlay, builtinPlacements, arrowPointAtCenter = false, autoAdjustOverflow = true } = props; const mergedShowArrow = !!arrow; const [, token] = (0,useToken/* default */.Z)(); const { getPopupContainer: getContextPopupContainer, getPrefixCls, direction } = _react_17_0_2_react.useContext(context/* ConfigContext */.E_); // ============================== Ref =============================== const tooltipRef = _react_17_0_2_react.useRef(null); const forceAlign = () => { var _a; (_a = tooltipRef.current) === null || _a === void 0 ? void 0 : _a.forceAlign(); }; _react_17_0_2_react.useImperativeHandle(ref, () => ({ forceAlign, forcePopupAlign: () => { false ? 0 : void 0; forceAlign(); } })); // ============================== Warn ============================== if (false) {} // ============================== Open ============================== const [open, setOpen] = (0,useMergedState/* default */.Z)(false, { value: (_a = props.open) !== null && _a !== void 0 ? _a : props.visible, defaultValue: (_b = props.defaultOpen) !== null && _b !== void 0 ? _b : props.defaultVisible }); const noTitle = !title && !overlay && title !== 0; // overlay for old version compatibility const onOpenChange = vis => { var _a, _b; setOpen(noTitle ? false : vis); if (!noTitle) { (_a = props.onOpenChange) === null || _a === void 0 ? void 0 : _a.call(props, vis); (_b = props.onVisibleChange) === null || _b === void 0 ? void 0 : _b.call(props, vis); } }; const tooltipPlacements = _react_17_0_2_react.useMemo(() => { var _a, _b; let mergedArrowPointAtCenter = arrowPointAtCenter; if (typeof arrow === 'object') { mergedArrowPointAtCenter = (_b = (_a = arrow.pointAtCenter) !== null && _a !== void 0 ? _a : arrow.arrowPointAtCenter) !== null && _b !== void 0 ? _b : arrowPointAtCenter; } return builtinPlacements || (0,placements/* default */.Z)({ arrowPointAtCenter: mergedArrowPointAtCenter, autoAdjustOverflow, arrowWidth: mergedShowArrow ? token.sizePopupArrow : 0, borderRadius: token.borderRadius, offset: token.marginXXS, visibleFirst: true }); }, [arrowPointAtCenter, arrow, builtinPlacements, token]); const memoOverlay = _react_17_0_2_react.useMemo(() => { if (title === 0) { return title; } return overlay || title || ''; }, [overlay, title]); const memoOverlayWrapper = /*#__PURE__*/_react_17_0_2_react.createElement(Compact/* NoCompactStyle */.BR, null, typeof memoOverlay === 'function' ? memoOverlay() : memoOverlay); const { getPopupContainer, placement = 'top', mouseEnterDelay = 0.1, mouseLeaveDelay = 0.1, overlayStyle, rootClassName } = props, otherProps = __rest(props, ["getPopupContainer", "placement", "mouseEnterDelay", "mouseLeaveDelay", "overlayStyle", "rootClassName"]); const prefixCls = getPrefixCls('tooltip', customizePrefixCls); const rootPrefixCls = getPrefixCls(); const injectFromPopover = props['data-popover-inject']; let tempOpen = open; // Hide tooltip when there is no title if (!('open' in props) && !('visible' in props) && noTitle) { tempOpen = false; } // ============================= Render ============================= const child = getDisabledCompatibleChildren((0,reactNode/* isValidElement */.l$)(children) && !(0,reactNode/* isFragment */.M2)(children) ? children : /*#__PURE__*/_react_17_0_2_react.createElement("span", null, children), prefixCls); const childProps = child.props; const childCls = !childProps.className || typeof childProps.className === 'string' ? _classnames_2_5_1_classnames_default()(childProps.className, openClassName || `${prefixCls}-open`) : childProps.className; // Style const [wrapSSR, hashId] = tooltip_style(prefixCls, !injectFromPopover); // Color const colorInfo = parseColor(prefixCls, color); const arrowContentStyle = colorInfo.arrowStyle; const formattedOverlayInnerStyle = Object.assign(Object.assign({}, overlayInnerStyle), colorInfo.overlayStyle); const customOverlayClassName = _classnames_2_5_1_classnames_default()(overlayClassName, { [`${prefixCls}-rtl`]: direction === 'rtl' }, colorInfo.className, rootClassName, hashId); return wrapSSR( /*#__PURE__*/_react_17_0_2_react.createElement(es/* default */.Z, Object.assign({}, otherProps, { showArrow: mergedShowArrow, placement: placement, mouseEnterDelay: mouseEnterDelay, mouseLeaveDelay: mouseLeaveDelay, prefixCls: prefixCls, overlayClassName: customOverlayClassName, overlayStyle: Object.assign(Object.assign({}, arrowContentStyle), overlayStyle), getTooltipContainer: getPopupContainer || getTooltipContainer || getContextPopupContainer, ref: tooltipRef, builtinPlacements: tooltipPlacements, overlay: memoOverlayWrapper, visible: tempOpen, onVisibleChange: onOpenChange, afterVisibleChange: afterOpenChange !== null && afterOpenChange !== void 0 ? afterOpenChange : afterVisibleChange, overlayInnerStyle: formattedOverlayInnerStyle, arrowContent: /*#__PURE__*/_react_17_0_2_react.createElement("span", { className: `${prefixCls}-arrow-content` }), motion: { motionName: (0,motion/* getTransitionName */.m)(rootPrefixCls, 'zoom-big-fast', props.transitionName), motionDeadline: 1000 }, destroyTooltipOnHide: !!destroyTooltipOnHide }), tempOpen ? (0,reactNode/* cloneElement */.Tm)(child, { className: childCls }) : child)); }); if (false) {} Tooltip._InternalPanelDoNotUseOrYouWillBeFired = tooltip_PurePanel; /* harmony default export */ var tooltip = (Tooltip); /***/ }), /***/ 8680: /*!***********************************************************************!*\ !*** ./node_modules/_antd@5.9.0@antd/es/version/index.js + 1 modules ***! \***********************************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; // EXPORTS __webpack_require__.d(__webpack_exports__, { Z: function() { return /* binding */ es_version; } }); ;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/version/version.js /* harmony default export */ var version = ('5.9.0'); ;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/version/index.js "use client"; /* eslint import/no-unresolved: 0 */ // @ts-ignore /* harmony default export */ var es_version = (version); /***/ }), /***/ 11575: /*!***************************************************************!*\ !*** ./node_modules/_antd@5.9.0@antd/es/watermark/context.js ***! \***************************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ H: function() { return /* binding */ usePanelRef; } /* harmony export */ }); /* harmony import */ var rc_util__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! rc-util */ 70425); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ 59301); function voidFunc() {} const WatermarkContext = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__.createContext({ add: voidFunc, remove: voidFunc }); function usePanelRef(panelSelector) { const watermark = react__WEBPACK_IMPORTED_MODULE_1__.useContext(WatermarkContext); const panelEleRef = react__WEBPACK_IMPORTED_MODULE_1__.useRef(); const panelRef = (0,rc_util__WEBPACK_IMPORTED_MODULE_0__.useEvent)(ele => { if (ele) { const innerContentEle = panelSelector ? ele.querySelector(panelSelector) : ele; watermark.add(innerContentEle); panelEleRef.current = innerContentEle; } else { watermark.remove(panelEleRef.current); } }); return panelRef; } /* unused harmony default export */ var __WEBPACK_DEFAULT_EXPORT__ = ((/* unused pure expression or super */ null && (WatermarkContext))); /***/ }), /***/ 67751: /*!********************************************************!*\ !*** ./node_modules/_charenc@0.0.2@charenc/charenc.js ***! \********************************************************/ /***/ (function(module) { var charenc = { // UTF-8 encoding utf8: { // Convert a string to a byte array stringToBytes: function(str) { return charenc.bin.stringToBytes(unescape(encodeURIComponent(str))); }, // Convert a byte array to a string bytesToString: function(bytes) { return decodeURIComponent(escape(charenc.bin.bytesToString(bytes))); } }, // Binary encoding bin: { // Convert a string to a byte array stringToBytes: function(str) { for (var bytes = [], i = 0; i < str.length; i++) bytes.push(str.charCodeAt(i) & 0xFF); return bytes; }, // Convert a byte array to a string bytesToString: function(bytes) { for (var str = [], i = 0; i < bytes.length; i++) str.push(String.fromCharCode(bytes[i])); return str.join(''); } } }; module.exports = charenc; /***/ }), /***/ 64018: /*!*************************************************************************!*\ !*** ./node_modules/_code-prettify@0.1.0@code-prettify/src/prettify.js ***! \*************************************************************************/ /***/ (function() { /** * @license * Copyright (C) 2006 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /** * @fileoverview * some functions for browser-side pretty printing of code contained in html. * *

* For a fairly comprehensive set of languages see the * README * file that came with this source. At a minimum, the lexer should work on a * number of languages including C and friends, Java, Python, Bash, SQL, HTML, * XML, CSS, Javascript, and Makefiles. It works passably on Ruby, PHP and Awk * and a subset of Perl, but, because of commenting conventions, doesn't work on * Smalltalk, Lisp-like, or CAML-like languages without an explicit lang class. *

* Usage:

    *
  1. include this source file in an html page via * {@code } *
  2. define style rules. See the example page for examples. *
  3. mark the {@code
    } and {@code } tags in your source with
     *    {@code class=prettyprint.}
     *    You can also use the (html deprecated) {@code } tag, but the pretty
     *    printer needs to do more substantial DOM manipulations to support that, so
     *    some css styles may not be preserved.
     * </ol>
     * That's it.  I wanted to keep the API as simple as possible, so there's no
     * need to specify which language the code is in, but if you wish, you can add
     * another class to the {@code <pre>} or {@code <code>} element to specify the
     * language, as in {@code <pre class="prettyprint lang-java">}.  Any class that
     * starts with "lang-" followed by a file extension, specifies the file type.
     * See the "lang-*.js" files in this directory for code that implements
     * per-language file handlers.
     * <p>
     * Change log:<br>
     * cbeust, 2006/08/22
     * <blockquote>
     *   Java annotations (start with "@") are now captured as literals ("lit")
     * </blockquote>
     * @requires console
     */
    
    // JSLint declarations
    /*global console, document, navigator, setTimeout, window, define */
    
    
    /**
    * @typedef {!Array.<number|string>}
    * Alternating indices and the decorations that should be inserted there.
    * The indices are monotonically increasing.
    */
    var DecorationsT;
    
    /**
    * @typedef {!{
    *   sourceNode: !Element,
    *   pre: !(number|boolean),
    *   langExtension: ?string,
    *   numberLines: ?(number|boolean),
    *   sourceCode: ?string,
    *   spans: ?(Array.<number|Node>),
    *   basePos: ?number,
    *   decorations: ?DecorationsT
    * }}
    * <dl>
    *  <dt>sourceNode<dd>the element containing the source
    *  <dt>sourceCode<dd>source as plain text
    *  <dt>pre<dd>truthy if white-space in text nodes
    *     should be considered significant.
    *  <dt>spans<dd> alternating span start indices into source
    *     and the text node or element (e.g. {@code <BR>}) corresponding to that
    *     span.
    *  <dt>decorations<dd>an array of style classes preceded
    *     by the position at which they start in job.sourceCode in order
    *  <dt>basePos<dd>integer position of this.sourceCode in the larger chunk of
    *     source.
    * </dl>
    */
    var JobT;
    
    /**
    * @typedef {!{
    *   sourceCode: string,
    *   spans: !(Array.<number|Node>)
    * }}
    * <dl>
    *  <dt>sourceCode<dd>source as plain text
    *  <dt>spans<dd> alternating span start indices into source
    *     and the text node or element (e.g. {@code <BR>}) corresponding to that
    *     span.
    * </dl>
    */
    var SourceSpansT;
    
    /** @define {boolean} */
    var IN_GLOBAL_SCOPE = false;
    
    var HACK_TO_FIX_JS_INCLUDE_PL;
    
    /**
     * {@type !{
     *   'createSimpleLexer': function (Array, Array): (function (JobT)),
     *   'registerLangHandler': function (function (JobT), Array.<string>),
     *   'PR_ATTRIB_NAME': string,
     *   'PR_ATTRIB_NAME': string,
     *   'PR_ATTRIB_VALUE': string,
     *   'PR_COMMENT': string,
     *   'PR_DECLARATION': string,
     *   'PR_KEYWORD': string,
     *   'PR_LITERAL': string,
     *   'PR_NOCODE': string,
     *   'PR_PLAIN': string,
     *   'PR_PUNCTUATION': string,
     *   'PR_SOURCE': string,
     *   'PR_STRING': string,
     *   'PR_TAG': string,
     *   'PR_TYPE': string,
     *   'prettyPrintOne': function (string, string, number|boolean),
     *   'prettyPrint': function (?function, ?(HTMLElement|HTMLDocument))
     * }}
     * @const
     */
    var PR;
    
    /**
     * Split {@code prettyPrint} into multiple timeouts so as not to interfere with
     * UI events.
     * If set to {@code false}, {@code prettyPrint()} is synchronous.
     */
    window['PR_SHOULD_USE_CONTINUATION'] = true;
    
    /**
     * Pretty print a chunk of code.
     * @param {string} sourceCodeHtml The HTML to pretty print.
     * @param {string} opt_langExtension The language name to use.
     *     Typically, a filename extension like 'cpp' or 'java'.
     * @param {number|boolean} opt_numberLines True to number lines,
     *     or the 1-indexed number of the first line in sourceCodeHtml.
     * @return {string} code as html, but prettier
     */
    var prettyPrintOne;
    /**
     * Find all the {@code <pre>} and {@code <code>} tags in the DOM with
     * {@code class=prettyprint} and prettify them.
     *
     * @param {Function} opt_whenDone called when prettifying is done.
     * @param {HTMLElement|HTMLDocument} opt_root an element or document
     *   containing all the elements to pretty print.
     *   Defaults to {@code document.body}.
     */
    var prettyPrint;
    
    
    (function () {
      var win = window;
      // Keyword lists for various languages.
      // We use things that coerce to strings to make them compact when minified
      // and to defeat aggressive optimizers that fold large string constants.
      var FLOW_CONTROL_KEYWORDS = ["break,continue,do,else,for,if,return,while"];
      var C_KEYWORDS = [FLOW_CONTROL_KEYWORDS,"auto,case,char,const,default," +
          "double,enum,extern,float,goto,inline,int,long,register,restrict,short,signed," +
          "sizeof,static,struct,switch,typedef,union,unsigned,void,volatile"];
      var COMMON_KEYWORDS = [C_KEYWORDS,"catch,class,delete,false,import," +
          "new,operator,private,protected,public,this,throw,true,try,typeof"];
      var CPP_KEYWORDS = [COMMON_KEYWORDS,"alignas,alignof,align_union,asm,axiom,bool," +
          "concept,concept_map,const_cast,constexpr,decltype,delegate," +
          "dynamic_cast,explicit,export,friend,generic,late_check," +
          "mutable,namespace,noexcept,noreturn,nullptr,property,reinterpret_cast,static_assert," +
          "static_cast,template,typeid,typename,using,virtual,where"];
      var JAVA_KEYWORDS = [COMMON_KEYWORDS,
          "abstract,assert,boolean,byte,extends,finally,final,implements,import," +
          "instanceof,interface,null,native,package,strictfp,super,synchronized," +
          "throws,transient"];
      var CSHARP_KEYWORDS = [COMMON_KEYWORDS,
          "abstract,add,alias,as,ascending,async,await,base,bool,by,byte,checked,decimal,delegate,descending," +
          "dynamic,event,finally,fixed,foreach,from,get,global,group,implicit,in,interface," +
          "internal,into,is,join,let,lock,null,object,out,override,orderby,params," +
          "partial,readonly,ref,remove,sbyte,sealed,select,set,stackalloc,string,select,uint,ulong," +
          "unchecked,unsafe,ushort,value,var,virtual,where,yield"];
      var COFFEE_KEYWORDS = "all,and,by,catch,class,else,extends,false,finally," +
          "for,if,in,is,isnt,loop,new,no,not,null,of,off,on,or,return,super,then," +
          "throw,true,try,unless,until,when,while,yes";
      var JSCRIPT_KEYWORDS = [COMMON_KEYWORDS,
          "abstract,async,await,constructor,debugger,enum,eval,export,function," +
          "get,implements,instanceof,interface,let,null,set,undefined,var,with," +
          "yield,Infinity,NaN"];
      var PERL_KEYWORDS = "caller,delete,die,do,dump,elsif,eval,exit,foreach,for," +
          "goto,if,import,last,local,my,next,no,our,print,package,redo,require," +
          "sub,undef,unless,until,use,wantarray,while,BEGIN,END";
      var PYTHON_KEYWORDS = [FLOW_CONTROL_KEYWORDS, "and,as,assert,class,def,del," +
          "elif,except,exec,finally,from,global,import,in,is,lambda," +
          "nonlocal,not,or,pass,print,raise,try,with,yield," +
          "False,True,None"];
      var RUBY_KEYWORDS = [FLOW_CONTROL_KEYWORDS, "alias,and,begin,case,class," +
          "def,defined,elsif,end,ensure,false,in,module,next,nil,not,or,redo," +
          "rescue,retry,self,super,then,true,undef,unless,until,when,yield," +
          "BEGIN,END"];
      var SH_KEYWORDS = [FLOW_CONTROL_KEYWORDS, "case,done,elif,esac,eval,fi," +
          "function,in,local,set,then,until"];
      var ALL_KEYWORDS = [
          CPP_KEYWORDS, CSHARP_KEYWORDS, JAVA_KEYWORDS, JSCRIPT_KEYWORDS,
          PERL_KEYWORDS, PYTHON_KEYWORDS, RUBY_KEYWORDS, SH_KEYWORDS];
      var C_TYPES = /^(DIR|FILE|array|vector|(de|priority_)?queue|(forward_)?list|stack|(const_)?(reverse_)?iterator|(unordered_)?(multi)?(set|map)|bitset|u?(int|float)\d*)\b/;
    
      // token style names.  correspond to css classes
      /**
       * token style for a string literal
       * @const
       */
      var PR_STRING = 'str';
      /**
       * token style for a keyword
       * @const
       */
      var PR_KEYWORD = 'kwd';
      /**
       * token style for a comment
       * @const
       */
      var PR_COMMENT = 'com';
      /**
       * token style for a type
       * @const
       */
      var PR_TYPE = 'typ';
      /**
       * token style for a literal value.  e.g. 1, null, true.
       * @const
       */
      var PR_LITERAL = 'lit';
      /**
       * token style for a punctuation string.
       * @const
       */
      var PR_PUNCTUATION = 'pun';
      /**
       * token style for plain text.
       * @const
       */
      var PR_PLAIN = 'pln';
    
      /**
       * token style for an sgml tag.
       * @const
       */
      var PR_TAG = 'tag';
      /**
       * token style for a markup declaration such as a DOCTYPE.
       * @const
       */
      var PR_DECLARATION = 'dec';
      /**
       * token style for embedded source.
       * @const
       */
      var PR_SOURCE = 'src';
      /**
       * token style for an sgml attribute name.
       * @const
       */
      var PR_ATTRIB_NAME = 'atn';
      /**
       * token style for an sgml attribute value.
       * @const
       */
      var PR_ATTRIB_VALUE = 'atv';
    
      /**
       * A class that indicates a section of markup that is not code, e.g. to allow
       * embedding of line numbers within code listings.
       * @const
       */
      var PR_NOCODE = 'nocode';
    
      
      
      /**
       * A set of tokens that can precede a regular expression literal in
       * javascript
       * http://web.archive.org/web/20070717142515/http://www.mozilla.org/js/language/js20/rationale/syntax.html
       * has the full list, but I've removed ones that might be problematic when
       * seen in languages that don't support regular expression literals.
       *
       * <p>Specifically, I've removed any keywords that can't precede a regexp
       * literal in a syntactically legal javascript program, and I've removed the
       * "in" keyword since it's not a keyword in many languages, and might be used
       * as a count of inches.
       *
       * <p>The link above does not accurately describe EcmaScript rules since
       * it fails to distinguish between (a=++/b/i) and (a++/b/i) but it works
       * very well in practice.
       *
       * @private
       * @const
       */
      var REGEXP_PRECEDER_PATTERN = '(?:^^\\.?|[+-]|[!=]=?=?|\\#|%=?|&&?=?|\\(|\\*=?|[+\\-]=|->|\\/=?|::?|<<?=?|>>?>?=?|,|;|\\?|@|\\[|~|{|\\^\\^?=?|\\|\\|?=?|break|case|continue|delete|do|else|finally|instanceof|return|throw|try|typeof)\\s*';
      
      // CAVEAT: this does not properly handle the case where a regular
      // expression immediately follows another since a regular expression may
      // have flags for case-sensitivity and the like.  Having regexp tokens
      // adjacent is not valid in any language I'm aware of, so I'm punting.
      // TODO: maybe style special characters inside a regexp as punctuation.
    
      /**
       * Given a group of {@link RegExp}s, returns a {@code RegExp} that globally
       * matches the union of the sets of strings matched by the input RegExp.
       * Since it matches globally, if the input strings have a start-of-input
       * anchor (/^.../), it is ignored for the purposes of unioning.
       * @param {Array.<RegExp>} regexs non multiline, non-global regexs.
       * @return {RegExp} a global regex.
       */
      function combinePrefixPatterns(regexs) {
        var capturedGroupIndex = 0;
      
        var needToFoldCase = false;
        var ignoreCase = false;
        for (var i = 0, n = regexs.length; i < n; ++i) {
          var regex = regexs[i];
          if (regex.ignoreCase) {
            ignoreCase = true;
          } else if (/[a-z]/i.test(regex.source.replace(
                         /\\u[0-9a-f]{4}|\\x[0-9a-f]{2}|\\[^ux]/gi, ''))) {
            needToFoldCase = true;
            ignoreCase = false;
            break;
          }
        }
      
        var escapeCharToCodeUnit = {
          'b': 8,
          't': 9,
          'n': 0xa,
          'v': 0xb,
          'f': 0xc,
          'r': 0xd
        };
      
        function decodeEscape(charsetPart) {
          var cc0 = charsetPart.charCodeAt(0);
          if (cc0 !== 92 /* \\ */) {
            return cc0;
          }
          var c1 = charsetPart.charAt(1);
          cc0 = escapeCharToCodeUnit[c1];
          if (cc0) {
            return cc0;
          } else if ('0' <= c1 && c1 <= '7') {
            return parseInt(charsetPart.substring(1), 8);
          } else if (c1 === 'u' || c1 === 'x') {
            return parseInt(charsetPart.substring(2), 16);
          } else {
            return charsetPart.charCodeAt(1);
          }
        }
      
        function encodeEscape(charCode) {
          if (charCode < 0x20) {
            return (charCode < 0x10 ? '\\x0' : '\\x') + charCode.toString(16);
          }
          var ch = String.fromCharCode(charCode);
          return (ch === '\\' || ch === '-' || ch === ']' || ch === '^')
              ? "\\" + ch : ch;
        }
      
        function caseFoldCharset(charSet) {
          var charsetParts = charSet.substring(1, charSet.length - 1).match(
              new RegExp(
                  '\\\\u[0-9A-Fa-f]{4}'
                  + '|\\\\x[0-9A-Fa-f]{2}'
                  + '|\\\\[0-3][0-7]{0,2}'
                  + '|\\\\[0-7]{1,2}'
                  + '|\\\\[\\s\\S]'
                  + '|-'
                  + '|[^-\\\\]',
                  'g'));
          var ranges = [];
          var inverse = charsetParts[0] === '^';
      
          var out = ['['];
          if (inverse) { out.push('^'); }
      
          for (var i = inverse ? 1 : 0, n = charsetParts.length; i < n; ++i) {
            var p = charsetParts[i];
            if (/\\[bdsw]/i.test(p)) {  // Don't muck with named groups.
              out.push(p);
            } else {
              var start = decodeEscape(p);
              var end;
              if (i + 2 < n && '-' === charsetParts[i + 1]) {
                end = decodeEscape(charsetParts[i + 2]);
                i += 2;
              } else {
                end = start;
              }
              ranges.push([start, end]);
              // If the range might intersect letters, then expand it.
              // This case handling is too simplistic.
              // It does not deal with non-latin case folding.
              // It works for latin source code identifiers though.
              if (!(end < 65 || start > 122)) {
                if (!(end < 65 || start > 90)) {
                  ranges.push([Math.max(65, start) | 32, Math.min(end, 90) | 32]);
                }
                if (!(end < 97 || start > 122)) {
                  ranges.push([Math.max(97, start) & ~32, Math.min(end, 122) & ~32]);
                }
              }
            }
          }
      
          // [[1, 10], [3, 4], [8, 12], [14, 14], [16, 16], [17, 17]]
          // -> [[1, 12], [14, 14], [16, 17]]
          ranges.sort(function (a, b) { return (a[0] - b[0]) || (b[1]  - a[1]); });
          var consolidatedRanges = [];
          var lastRange = [];
          for (var i = 0; i < ranges.length; ++i) {
            var range = ranges[i];
            if (range[0] <= lastRange[1] + 1) {
              lastRange[1] = Math.max(lastRange[1], range[1]);
            } else {
              consolidatedRanges.push(lastRange = range);
            }
          }
      
          for (var i = 0; i < consolidatedRanges.length; ++i) {
            var range = consolidatedRanges[i];
            out.push(encodeEscape(range[0]));
            if (range[1] > range[0]) {
              if (range[1] + 1 > range[0]) { out.push('-'); }
              out.push(encodeEscape(range[1]));
            }
          }
          out.push(']');
          return out.join('');
        }
      
        function allowAnywhereFoldCaseAndRenumberGroups(regex) {
          // Split into character sets, escape sequences, punctuation strings
          // like ('(', '(?:', ')', '^'), and runs of characters that do not
          // include any of the above.
          var parts = regex.source.match(
              new RegExp(
                  '(?:'
                  + '\\[(?:[^\\x5C\\x5D]|\\\\[\\s\\S])*\\]'  // a character set
                  + '|\\\\u[A-Fa-f0-9]{4}'  // a unicode escape
                  + '|\\\\x[A-Fa-f0-9]{2}'  // a hex escape
                  + '|\\\\[0-9]+'  // a back-reference or octal escape
                  + '|\\\\[^ux0-9]'  // other escape sequence
                  + '|\\(\\?[:!=]'  // start of a non-capturing group
                  + '|[\\(\\)\\^]'  // start/end of a group, or line start
                  + '|[^\\x5B\\x5C\\(\\)\\^]+'  // run of other characters
                  + ')',
                  'g'));
          var n = parts.length;
      
          // Maps captured group numbers to the number they will occupy in
          // the output or to -1 if that has not been determined, or to
          // undefined if they need not be capturing in the output.
          var capturedGroups = [];
      
          // Walk over and identify back references to build the capturedGroups
          // mapping.
          for (var i = 0, groupIndex = 0; i < n; ++i) {
            var p = parts[i];
            if (p === '(') {
              // groups are 1-indexed, so max group index is count of '('
              ++groupIndex;
            } else if ('\\' === p.charAt(0)) {
              var decimalValue = +p.substring(1);
              if (decimalValue) {
                if (decimalValue <= groupIndex) {
                  capturedGroups[decimalValue] = -1;
                } else {
                  // Replace with an unambiguous escape sequence so that
                  // an octal escape sequence does not turn into a backreference
                  // to a capturing group from an earlier regex.
                  parts[i] = encodeEscape(decimalValue);
                }
              }
            }
          }
      
          // Renumber groups and reduce capturing groups to non-capturing groups
          // where possible.
          for (var i = 1; i < capturedGroups.length; ++i) {
            if (-1 === capturedGroups[i]) {
              capturedGroups[i] = ++capturedGroupIndex;
            }
          }
          for (var i = 0, groupIndex = 0; i < n; ++i) {
            var p = parts[i];
            if (p === '(') {
              ++groupIndex;
              if (!capturedGroups[groupIndex]) {
                parts[i] = '(?:';
              }
            } else if ('\\' === p.charAt(0)) {
              var decimalValue = +p.substring(1);
              if (decimalValue && decimalValue <= groupIndex) {
                parts[i] = '\\' + capturedGroups[decimalValue];
              }
            }
          }
      
          // Remove any prefix anchors so that the output will match anywhere.
          // ^^ really does mean an anchored match though.
          for (var i = 0; i < n; ++i) {
            if ('^' === parts[i] && '^' !== parts[i + 1]) { parts[i] = ''; }
          }
      
          // Expand letters to groups to handle mixing of case-sensitive and
          // case-insensitive patterns if necessary.
          if (regex.ignoreCase && needToFoldCase) {
            for (var i = 0; i < n; ++i) {
              var p = parts[i];
              var ch0 = p.charAt(0);
              if (p.length >= 2 && ch0 === '[') {
                parts[i] = caseFoldCharset(p);
              } else if (ch0 !== '\\') {
                // TODO: handle letters in numeric escapes.
                parts[i] = p.replace(
                    /[a-zA-Z]/g,
                    function (ch) {
                      var cc = ch.charCodeAt(0);
                      return '[' + String.fromCharCode(cc & ~32, cc | 32) + ']';
                    });
              }
            }
          }
      
          return parts.join('');
        }
      
        var rewritten = [];
        for (var i = 0, n = regexs.length; i < n; ++i) {
          var regex = regexs[i];
          if (regex.global || regex.multiline) { throw new Error('' + regex); }
          rewritten.push(
              '(?:' + allowAnywhereFoldCaseAndRenumberGroups(regex) + ')');
        }
      
        return new RegExp(rewritten.join('|'), ignoreCase ? 'gi' : 'g');
      }
    
      /**
       * Split markup into a string of source code and an array mapping ranges in
       * that string to the text nodes in which they appear.
       *
       * <p>
       * The HTML DOM structure:</p>
       * <pre>
       * (Element   "p"
       *   (Element "b"
       *     (Text  "print "))       ; #1
       *   (Text    "'Hello '")      ; #2
       *   (Element "br")            ; #3
       *   (Text    "  + 'World';")) ; #4
       * </pre>
       * <p>
       * corresponds to the HTML
       * {@code <p><b>print </b>'Hello '<br>  + 'World';</p>}.</p>
       *
       * <p>
       * It will produce the output:</p>
       * <pre>
       * {
       *   sourceCode: "print 'Hello '\n  + 'World';",
       *   //                     1          2
       *   //           012345678901234 5678901234567
       *   spans: [0, #1, 6, #2, 14, #3, 15, #4]
       * }
       * </pre>
       * <p>
       * where #1 is a reference to the {@code "print "} text node above, and so
       * on for the other text nodes.
       * </p>
       *
       * <p>
       * The {@code} spans array is an array of pairs.  Even elements are the start
       * indices of substrings, and odd elements are the text nodes (or BR elements)
       * that contain the text for those substrings.
       * Substrings continue until the next index or the end of the source.
       * </p>
       *
       * @param {Node} node an HTML DOM subtree containing source-code.
       * @param {boolean|number} isPreformatted truthy if white-space in
       *    text nodes should be considered significant.
       * @return {SourceSpansT} source code and the nodes in which they occur.
       */
      function extractSourceSpans(node, isPreformatted) {
        var nocode = /(?:^|\s)nocode(?:\s|$)/;
      
        var chunks = [];
        var length = 0;
        var spans = [];
        var k = 0;
      
        function walk(node) {
          var type = node.nodeType;
          if (type == 1) {  // Element
            if (nocode.test(node.className)) { return; }
            for (var child = node.firstChild; child; child = child.nextSibling) {
              walk(child);
            }
            var nodeName = node.nodeName.toLowerCase();
            if ('br' === nodeName || 'li' === nodeName) {
              chunks[k] = '\n';
              spans[k << 1] = length++;
              spans[(k++ << 1) | 1] = node;
            }
          } else if (type == 3 || type == 4) {  // Text
            var text = node.nodeValue;
            if (text.length) {
              if (!isPreformatted) {
                text = text.replace(/[ \t\r\n]+/g, ' ');
              } else {
                text = text.replace(/\r\n?/g, '\n');  // Normalize newlines.
              }
              // TODO: handle tabs here?
              chunks[k] = text;
              spans[k << 1] = length;
              length += text.length;
              spans[(k++ << 1) | 1] = node;
            }
          }
        }
      
        walk(node);
      
        return {
          sourceCode: chunks.join('').replace(/\n$/, ''),
          spans: spans
        };
      }
    
      /**
       * Apply the given language handler to sourceCode and add the resulting
       * decorations to out.
       * @param {!Element} sourceNode
       * @param {number} basePos the index of sourceCode within the chunk of source
       *    whose decorations are already present on out.
       * @param {string} sourceCode
       * @param {function(JobT)} langHandler
       * @param {DecorationsT} out
       */
      function appendDecorations(
          sourceNode, basePos, sourceCode, langHandler, out) {
        if (!sourceCode) { return; }
        /** @type {JobT} */
        var job = {
          sourceNode: sourceNode,
          pre: 1,
          langExtension: null,
          numberLines: null,
          sourceCode: sourceCode,
          spans: null,
          basePos: basePos,
          decorations: null
        };
        langHandler(job);
        out.push.apply(out, job.decorations);
      }
    
      var notWs = /\S/;
    
      /**
       * Given an element, if it contains only one child element and any text nodes
       * it contains contain only space characters, return the sole child element.
       * Otherwise returns undefined.
       * <p>
       * This is meant to return the CODE element in {@code <pre><code ...>} when
       * there is a single child element that contains all the non-space textual
       * content, but not to return anything where there are multiple child elements
       * as in {@code <pre><code>...</code><code>...</code></pre>} or when there
       * is textual content.
       */
      function childContentWrapper(element) {
        var wrapper = undefined;
        for (var c = element.firstChild; c; c = c.nextSibling) {
          var type = c.nodeType;
          wrapper = (type === 1)  // Element Node
              ? (wrapper ? element : c)
              : (type === 3)  // Text Node
              ? (notWs.test(c.nodeValue) ? element : wrapper)
              : wrapper;
        }
        return wrapper === element ? undefined : wrapper;
      }
    
      /** Given triples of [style, pattern, context] returns a lexing function,
        * The lexing function interprets the patterns to find token boundaries and
        * returns a decoration list of the form
        * [index_0, style_0, index_1, style_1, ..., index_n, style_n]
        * where index_n is an index into the sourceCode, and style_n is a style
        * constant like PR_PLAIN.  index_n-1 <= index_n, and style_n-1 applies to
        * all characters in sourceCode[index_n-1:index_n].
        *
        * The stylePatterns is a list whose elements have the form
        * [style : string, pattern : RegExp, DEPRECATED, shortcut : string].
        *
        * Style is a style constant like PR_PLAIN, or can be a string of the
        * form 'lang-FOO', where FOO is a language extension describing the
        * language of the portion of the token in $1 after pattern executes.
        * E.g., if style is 'lang-lisp', and group 1 contains the text
        * '(hello (world))', then that portion of the token will be passed to the
        * registered lisp handler for formatting.
        * The text before and after group 1 will be restyled using this decorator
        * so decorators should take care that this doesn't result in infinite
        * recursion.  For example, the HTML lexer rule for SCRIPT elements looks
        * something like ['lang-js', /<[s]cript>(.+?)<\/script>/].  This may match
        * '<script>foo()<\/script>', which would cause the current decorator to
        * be called with '<script>' which would not match the same rule since
        * group 1 must not be empty, so it would be instead styled as PR_TAG by
        * the generic tag rule.  The handler registered for the 'js' extension would
        * then be called with 'foo()', and finally, the current decorator would
        * be called with '<\/script>' which would not match the original rule and
        * so the generic tag rule would identify it as a tag.
        *
        * Pattern must only match prefixes, and if it matches a prefix, then that
        * match is considered a token with the same style.
        *
        * Context is applied to the last non-whitespace, non-comment token
        * recognized.
        *
        * Shortcut is an optional string of characters, any of which, if the first
        * character, gurantee that this pattern and only this pattern matches.
        *
        * @param {Array} shortcutStylePatterns patterns that always start with
        *   a known character.  Must have a shortcut string.
        * @param {Array} fallthroughStylePatterns patterns that will be tried in
        *   order if the shortcut ones fail.  May have shortcuts.
        *
        * @return {function (JobT)} a function that takes an undecorated job and
        *   attaches a list of decorations.
        */
      function createSimpleLexer(shortcutStylePatterns, fallthroughStylePatterns) {
        var shortcuts = {};
        var tokenizer;
        (function () {
          var allPatterns = shortcutStylePatterns.concat(fallthroughStylePatterns);
          var allRegexs = [];
          var regexKeys = {};
          for (var i = 0, n = allPatterns.length; i < n; ++i) {
            var patternParts = allPatterns[i];
            var shortcutChars = patternParts[3];
            if (shortcutChars) {
              for (var c = shortcutChars.length; --c >= 0;) {
                shortcuts[shortcutChars.charAt(c)] = patternParts;
              }
            }
            var regex = patternParts[1];
            var k = '' + regex;
            if (!regexKeys.hasOwnProperty(k)) {
              allRegexs.push(regex);
              regexKeys[k] = null;
            }
          }
          allRegexs.push(/[\0-\uffff]/);
          tokenizer = combinePrefixPatterns(allRegexs);
        })();
    
        var nPatterns = fallthroughStylePatterns.length;
    
        /**
         * Lexes job.sourceCode and attaches an output array job.decorations of
         * style classes preceded by the position at which they start in
         * job.sourceCode in order.
         *
         * @type{function (JobT)}
         */
        var decorate = function (job) {
          var sourceCode = job.sourceCode, basePos = job.basePos;
          var sourceNode = job.sourceNode;
          /** Even entries are positions in source in ascending order.  Odd enties
            * are style markers (e.g., PR_COMMENT) that run from that position until
            * the end.
            * @type {DecorationsT}
            */
          var decorations = [basePos, PR_PLAIN];
          var pos = 0;  // index into sourceCode
          var tokens = sourceCode.match(tokenizer) || [];
          var styleCache = {};
    
          for (var ti = 0, nTokens = tokens.length; ti < nTokens; ++ti) {
            var token = tokens[ti];
            var style = styleCache[token];
            var match = void 0;
    
            var isEmbedded;
            if (typeof style === 'string') {
              isEmbedded = false;
            } else {
              var patternParts = shortcuts[token.charAt(0)];
              if (patternParts) {
                match = token.match(patternParts[1]);
                style = patternParts[0];
              } else {
                for (var i = 0; i < nPatterns; ++i) {
                  patternParts = fallthroughStylePatterns[i];
                  match = token.match(patternParts[1]);
                  if (match) {
                    style = patternParts[0];
                    break;
                  }
                }
    
                if (!match) {  // make sure that we make progress
                  style = PR_PLAIN;
                }
              }
    
              isEmbedded = style.length >= 5 && 'lang-' === style.substring(0, 5);
              if (isEmbedded && !(match && typeof match[1] === 'string')) {
                isEmbedded = false;
                style = PR_SOURCE;
              }
    
              if (!isEmbedded) { styleCache[token] = style; }
            }
    
            var tokenStart = pos;
            pos += token.length;
    
            if (!isEmbedded) {
              decorations.push(basePos + tokenStart, style);
            } else {  // Treat group 1 as an embedded block of source code.
              var embeddedSource = match[1];
              var embeddedSourceStart = token.indexOf(embeddedSource);
              var embeddedSourceEnd = embeddedSourceStart + embeddedSource.length;
              if (match[2]) {
                // If embeddedSource can be blank, then it would match at the
                // beginning which would cause us to infinitely recurse on the
                // entire token, so we catch the right context in match[2].
                embeddedSourceEnd = token.length - match[2].length;
                embeddedSourceStart = embeddedSourceEnd - embeddedSource.length;
              }
              var lang = style.substring(5);
              // Decorate the left of the embedded source
              appendDecorations(
                  sourceNode,
                  basePos + tokenStart,
                  token.substring(0, embeddedSourceStart),
                  decorate, decorations);
              // Decorate the embedded source
              appendDecorations(
                  sourceNode,
                  basePos + tokenStart + embeddedSourceStart,
                  embeddedSource,
                  langHandlerForExtension(lang, embeddedSource),
                  decorations);
              // Decorate the right of the embedded section
              appendDecorations(
                  sourceNode,
                  basePos + tokenStart + embeddedSourceEnd,
                  token.substring(embeddedSourceEnd),
                  decorate, decorations);
            }
          }
          job.decorations = decorations;
        };
        return decorate;
      }
    
      /** returns a function that produces a list of decorations from source text.
        *
        * This code treats ", ', and ` as string delimiters, and \ as a string
        * escape.  It does not recognize perl's qq() style strings.
        * It has no special handling for double delimiter escapes as in basic, or
        * the tripled delimiters used in python, but should work on those regardless
        * although in those cases a single string literal may be broken up into
        * multiple adjacent string literals.
        *
        * It recognizes C, C++, and shell style comments.
        *
        * @param {Object} options a set of optional parameters.
        * @return {function (JobT)} a function that examines the source code
        *     in the input job and builds a decoration list which it attaches to
        *     the job.
        */
      function sourceDecorator(options) {
        var shortcutStylePatterns = [], fallthroughStylePatterns = [];
        if (options['tripleQuotedStrings']) {
          // '''multi-line-string''', 'single-line-string', and double-quoted
          shortcutStylePatterns.push(
              [PR_STRING,  /^(?:\'\'\'(?:[^\'\\]|\\[\s\S]|\'{1,2}(?=[^\']))*(?:\'\'\'|$)|\"\"\"(?:[^\"\\]|\\[\s\S]|\"{1,2}(?=[^\"]))*(?:\"\"\"|$)|\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$))/,
               null, '\'"']);
        } else if (options['multiLineStrings']) {
          // 'multi-line-string', "multi-line-string"
          shortcutStylePatterns.push(
              [PR_STRING,  /^(?:\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$)|\`(?:[^\\\`]|\\[\s\S])*(?:\`|$))/,
               null, '\'"`']);
        } else {
          // 'single-line-string', "single-line-string"
          shortcutStylePatterns.push(
              [PR_STRING,
               /^(?:\'(?:[^\\\'\r\n]|\\.)*(?:\'|$)|\"(?:[^\\\"\r\n]|\\.)*(?:\"|$))/,
               null, '"\'']);
        }
        if (options['verbatimStrings']) {
          // verbatim-string-literal production from the C# grammar.  See issue 93.
          fallthroughStylePatterns.push(
              [PR_STRING, /^@\"(?:[^\"]|\"\")*(?:\"|$)/, null]);
        }
        var hc = options['hashComments'];
        if (hc) {
          if (options['cStyleComments']) {
            if (hc > 1) {  // multiline hash comments
              shortcutStylePatterns.push(
                  [PR_COMMENT, /^#(?:##(?:[^#]|#(?!##))*(?:###|$)|.*)/, null, '#']);
            } else {
              // Stop C preprocessor declarations at an unclosed open comment
              shortcutStylePatterns.push(
                  [PR_COMMENT, /^#(?:(?:define|e(?:l|nd)if|else|error|ifn?def|include|line|pragma|undef|warning)\b|[^\r\n]*)/,
                   null, '#']);
            }
            // #include <stdio.h>
            fallthroughStylePatterns.push(
                [PR_STRING,
                 /^<(?:(?:(?:\.\.\/)*|\/?)(?:[\w-]+(?:\/[\w-]+)+)?[\w-]+\.h(?:h|pp|\+\+)?|[a-z]\w*)>/,
                 null]);
          } else {
            shortcutStylePatterns.push([PR_COMMENT, /^#[^\r\n]*/, null, '#']);
          }
        }
        if (options['cStyleComments']) {
          fallthroughStylePatterns.push([PR_COMMENT, /^\/\/[^\r\n]*/, null]);
          fallthroughStylePatterns.push(
              [PR_COMMENT, /^\/\*[\s\S]*?(?:\*\/|$)/, null]);
        }
        var regexLiterals = options['regexLiterals'];
        if (regexLiterals) {
          /**
           * @const
           */
          var regexExcls = regexLiterals > 1
            ? ''  // Multiline regex literals
            : '\n\r';
          /**
           * @const
           */
          var regexAny = regexExcls ? '.' : '[\\S\\s]';
          /**
           * @const
           */
          var REGEX_LITERAL = (
              // A regular expression literal starts with a slash that is
              // not followed by * or / so that it is not confused with
              // comments.
              '/(?=[^/*' + regexExcls + '])'
              // and then contains any number of raw characters,
              + '(?:[^/\\x5B\\x5C' + regexExcls + ']'
              // escape sequences (\x5C),
              +    '|\\x5C' + regexAny
              // or non-nesting character sets (\x5B\x5D);
              +    '|\\x5B(?:[^\\x5C\\x5D' + regexExcls + ']'
              +             '|\\x5C' + regexAny + ')*(?:\\x5D|$))+'
              // finally closed by a /.
              + '/');
          fallthroughStylePatterns.push(
              ['lang-regex',
               RegExp('^' + REGEXP_PRECEDER_PATTERN + '(' + REGEX_LITERAL + ')')
               ]);
        }
    
        var types = options['types'];
        if (types) {
          fallthroughStylePatterns.push([PR_TYPE, types]);
        }
    
        var keywords = ("" + options['keywords']).replace(/^ | $/g, '');
        if (keywords.length) {
          fallthroughStylePatterns.push(
              [PR_KEYWORD,
               new RegExp('^(?:' + keywords.replace(/[\s,]+/g, '|') + ')\\b'),
               null]);
        }
    
        shortcutStylePatterns.push([PR_PLAIN,       /^\s+/, null, ' \r\n\t\xA0']);
    
        var punctuation =
          // The Bash man page says
    
          // A word is a sequence of characters considered as a single
          // unit by GRUB. Words are separated by metacharacters,
          // which are the following plus space, tab, and newline: { }
          // | & $ ; < >
          // ...
    
          // A word beginning with # causes that word and all remaining
          // characters on that line to be ignored.
    
          // which means that only a '#' after /(?:^|[{}|&$;<>\s])/ starts a
          // comment but empirically
          // $ echo {#}
          // {#}
          // $ echo \$#
          // $#
          // $ echo }#
          // }#
    
          // so /(?:^|[|&;<>\s])/ is more appropriate.
    
          // http://gcc.gnu.org/onlinedocs/gcc-2.95.3/cpp_1.html#SEC3
          // suggests that this definition is compatible with a
          // default mode that tries to use a single token definition
          // to recognize both bash/python style comments and C
          // preprocessor directives.
    
          // This definition of punctuation does not include # in the list of
          // follow-on exclusions, so # will not be broken before if preceeded
          // by a punctuation character.  We could try to exclude # after
          // [|&;<>] but that doesn't seem to cause many major problems.
          // If that does turn out to be a problem, we should change the below
          // when hc is truthy to include # in the run of punctuation characters
          // only when not followint [|&;<>].
          '^.[^\\s\\w.$@\'"`/\\\\]*';
        if (options['regexLiterals']) {
          punctuation += '(?!\s*\/)';
        }
    
        fallthroughStylePatterns.push(
            // TODO(mikesamuel): recognize non-latin letters and numerals in idents
            [PR_LITERAL,     /^@[a-z_$][a-z_$@0-9]*/i, null],
            [PR_TYPE,        /^(?:[@_]?[A-Z]+[a-z][A-Za-z_$@0-9]*|\w+_t\b)/, null],
            [PR_PLAIN,       /^[a-z_$][a-z_$@0-9]*/i, null],
            [PR_LITERAL,
             new RegExp(
                 '^(?:'
                 // A hex number
                 + '0x[a-f0-9]+'
                 // or an octal or decimal number,
                 + '|(?:\\d(?:_\\d+)*\\d*(?:\\.\\d*)?|\\.\\d\\+)'
                 // possibly in scientific notation
                 + '(?:e[+\\-]?\\d+)?'
                 + ')'
                 // with an optional modifier like UL for unsigned long
                 + '[a-z]*', 'i'),
             null, '0123456789'],
            // Don't treat escaped quotes in bash as starting strings.
            // See issue 144.
            [PR_PLAIN,       /^\\[\s\S]?/, null],
            [PR_PUNCTUATION, new RegExp(punctuation), null]);
    
        return createSimpleLexer(shortcutStylePatterns, fallthroughStylePatterns);
      }
    
      var decorateSource = sourceDecorator({
            'keywords': ALL_KEYWORDS,
            'hashComments': true,
            'cStyleComments': true,
            'multiLineStrings': true,
            'regexLiterals': true
          });
    
      /**
       * Given a DOM subtree, wraps it in a list, and puts each line into its own
       * list item.
       *
       * @param {Node} node modified in place.  Its content is pulled into an
       *     HTMLOListElement, and each line is moved into a separate list item.
       *     This requires cloning elements, so the input might not have unique
       *     IDs after numbering.
       * @param {number|null|boolean} startLineNum
       *     If truthy, coerced to an integer which is the 1-indexed line number
       *     of the first line of code.  The number of the first line will be
       *     attached to the list.
       * @param {boolean} isPreformatted true iff white-space in text nodes should
       *     be treated as significant.
       */
      function numberLines(node, startLineNum, isPreformatted) {
        var nocode = /(?:^|\s)nocode(?:\s|$)/;
        var lineBreak = /\r\n?|\n/;
      
        var document = node.ownerDocument;
      
        var li = document.createElement('li');
        while (node.firstChild) {
          li.appendChild(node.firstChild);
        }
        // An array of lines.  We split below, so this is initialized to one
        // un-split line.
        var listItems = [li];
      
        function walk(node) {
          var type = node.nodeType;
          if (type == 1 && !nocode.test(node.className)) {  // Element
            if ('br' === node.nodeName) {
              breakAfter(node);
              // Discard the <BR> since it is now flush against a </LI>.
              if (node.parentNode) {
                node.parentNode.removeChild(node);
              }
            } else {
              for (var child = node.firstChild; child; child = child.nextSibling) {
                walk(child);
              }
            }
          } else if ((type == 3 || type == 4) && isPreformatted) {  // Text
            var text = node.nodeValue;
            var match = text.match(lineBreak);
            if (match) {
              var firstLine = text.substring(0, match.index);
              node.nodeValue = firstLine;
              var tail = text.substring(match.index + match[0].length);
              if (tail) {
                var parent = node.parentNode;
                parent.insertBefore(
                  document.createTextNode(tail), node.nextSibling);
              }
              breakAfter(node);
              if (!firstLine) {
                // Don't leave blank text nodes in the DOM.
                node.parentNode.removeChild(node);
              }
            }
          }
        }
      
        // Split a line after the given node.
        function breakAfter(lineEndNode) {
          // If there's nothing to the right, then we can skip ending the line
          // here, and move root-wards since splitting just before an end-tag
          // would require us to create a bunch of empty copies.
          while (!lineEndNode.nextSibling) {
            lineEndNode = lineEndNode.parentNode;
            if (!lineEndNode) { return; }
          }
      
          function breakLeftOf(limit, copy) {
            // Clone shallowly if this node needs to be on both sides of the break.
            var rightSide = copy ? limit.cloneNode(false) : limit;
            var parent = limit.parentNode;
            if (parent) {
              // We clone the parent chain.
              // This helps us resurrect important styling elements that cross lines.
              // E.g. in <i>Foo<br>Bar</i>
              // should be rewritten to <li><i>Foo</i></li><li><i>Bar</i></li>.
              var parentClone = breakLeftOf(parent, 1);
              // Move the clone and everything to the right of the original
              // onto the cloned parent.
              var next = limit.nextSibling;
              parentClone.appendChild(rightSide);
              for (var sibling = next; sibling; sibling = next) {
                next = sibling.nextSibling;
                parentClone.appendChild(sibling);
              }
            }
            return rightSide;
          }
      
          var copiedListItem = breakLeftOf(lineEndNode.nextSibling, 0);
      
          // Walk the parent chain until we reach an unattached LI.
          for (var parent;
               // Check nodeType since IE invents document fragments.
               (parent = copiedListItem.parentNode) && parent.nodeType === 1;) {
            copiedListItem = parent;
          }
          // Put it on the list of lines for later processing.
          listItems.push(copiedListItem);
        }
      
        // Split lines while there are lines left to split.
        for (var i = 0;  // Number of lines that have been split so far.
             i < listItems.length;  // length updated by breakAfter calls.
             ++i) {
          walk(listItems[i]);
        }
      
        // Make sure numeric indices show correctly.
        if (startLineNum === (startLineNum|0)) {
          listItems[0].setAttribute('value', startLineNum);
        }
      
        var ol = document.createElement('ol');
        ol.className = 'linenums';
        var offset = Math.max(0, ((startLineNum - 1 /* zero index */)) | 0) || 0;
        for (var i = 0, n = listItems.length; i < n; ++i) {
          li = listItems[i];
          // Stick a class on the LIs so that stylesheets can
          // color odd/even rows, or any other row pattern that
          // is co-prime with 10.
          li.className = 'L' + ((i + offset) % 10);
          if (!li.firstChild) {
            li.appendChild(document.createTextNode('\xA0'));
          }
          ol.appendChild(li);
        }
      
        node.appendChild(ol);
      }
    
      /**
       * Breaks {@code job.sourceCode} around style boundaries in
       * {@code job.decorations} and modifies {@code job.sourceNode} in place.
       * @param {JobT} job
       * @private
       */
      function recombineTagsAndDecorations(job) {
        var isIE8OrEarlier = /\bMSIE\s(\d+)/.exec(navigator.userAgent);
        isIE8OrEarlier = isIE8OrEarlier && +isIE8OrEarlier[1] <= 8;
        var newlineRe = /\n/g;
      
        var source = job.sourceCode;
        var sourceLength = source.length;
        // Index into source after the last code-unit recombined.
        var sourceIndex = 0;
      
        var spans = job.spans;
        var nSpans = spans.length;
        // Index into spans after the last span which ends at or before sourceIndex.
        var spanIndex = 0;
      
        var decorations = job.decorations;
        var nDecorations = decorations.length;
        // Index into decorations after the last decoration which ends at or before
        // sourceIndex.
        var decorationIndex = 0;
      
        // Remove all zero-length decorations.
        decorations[nDecorations] = sourceLength;
        var decPos, i;
        for (i = decPos = 0; i < nDecorations;) {
          if (decorations[i] !== decorations[i + 2]) {
            decorations[decPos++] = decorations[i++];
            decorations[decPos++] = decorations[i++];
          } else {
            i += 2;
          }
        }
        nDecorations = decPos;
      
        // Simplify decorations.
        for (i = decPos = 0; i < nDecorations;) {
          var startPos = decorations[i];
          // Conflate all adjacent decorations that use the same style.
          var startDec = decorations[i + 1];
          var end = i + 2;
          while (end + 2 <= nDecorations && decorations[end + 1] === startDec) {
            end += 2;
          }
          decorations[decPos++] = startPos;
          decorations[decPos++] = startDec;
          i = end;
        }
      
        nDecorations = decorations.length = decPos;
      
        var sourceNode = job.sourceNode;
        var oldDisplay = "";
        if (sourceNode) {
          oldDisplay = sourceNode.style.display;
          sourceNode.style.display = 'none';
        }
        try {
          var decoration = null;
          while (spanIndex < nSpans) {
            var spanStart = spans[spanIndex];
            var spanEnd = /** @type{number} */ (spans[spanIndex + 2])
                || sourceLength;
      
            var decEnd = decorations[decorationIndex + 2] || sourceLength;
      
            var end = Math.min(spanEnd, decEnd);
      
            var textNode = /** @type{Node} */ (spans[spanIndex + 1]);
            var styledText;
            if (textNode.nodeType !== 1  // Don't muck with <BR>s or <LI>s
                // Don't introduce spans around empty text nodes.
                && (styledText = source.substring(sourceIndex, end))) {
              // This may seem bizarre, and it is.  Emitting LF on IE causes the
              // code to display with spaces instead of line breaks.
              // Emitting Windows standard issue linebreaks (CRLF) causes a blank
              // space to appear at the beginning of every line but the first.
              // Emitting an old Mac OS 9 line separator makes everything spiffy.
              if (isIE8OrEarlier) {
                styledText = styledText.replace(newlineRe, '\r');
              }
              textNode.nodeValue = styledText;
              var document = textNode.ownerDocument;
              var span = document.createElement('span');
              span.className = decorations[decorationIndex + 1];
              var parentNode = textNode.parentNode;
              parentNode.replaceChild(span, textNode);
              span.appendChild(textNode);
              if (sourceIndex < spanEnd) {  // Split off a text node.
                spans[spanIndex + 1] = textNode
                    // TODO: Possibly optimize by using '' if there's no flicker.
                    = document.createTextNode(source.substring(end, spanEnd));
                parentNode.insertBefore(textNode, span.nextSibling);
              }
            }
      
            sourceIndex = end;
      
            if (sourceIndex >= spanEnd) {
              spanIndex += 2;
            }
            if (sourceIndex >= decEnd) {
              decorationIndex += 2;
            }
          }
        } finally {
          if (sourceNode) {
            sourceNode.style.display = oldDisplay;
          }
        }
      }
    
      /** Maps language-specific file extensions to handlers. */
      var langHandlerRegistry = {};
      /** Register a language handler for the given file extensions.
        * @param {function (JobT)} handler a function from source code to a list
        *      of decorations.  Takes a single argument job which describes the
        *      state of the computation and attaches the decorations to it.
        * @param {Array.<string>} fileExtensions
        */
      function registerLangHandler(handler, fileExtensions) {
        for (var i = fileExtensions.length; --i >= 0;) {
          var ext = fileExtensions[i];
          if (!langHandlerRegistry.hasOwnProperty(ext)) {
            langHandlerRegistry[ext] = handler;
          } else if (win['console']) {
            console['warn']('cannot override language handler %s', ext);
          }
        }
      }
      function langHandlerForExtension(extension, source) {
        if (!(extension && langHandlerRegistry.hasOwnProperty(extension))) {
          // Treat it as markup if the first non whitespace character is a < and
          // the last non-whitespace character is a >.
          extension = /^\s*</.test(source)
              ? 'default-markup'
              : 'default-code';
        }
        return langHandlerRegistry[extension];
      }
      registerLangHandler(decorateSource, ['default-code']);
      registerLangHandler(
          createSimpleLexer(
              [],
              [
               [PR_PLAIN,       /^[^<?]+/],
               [PR_DECLARATION, /^<!\w[^>]*(?:>|$)/],
               [PR_COMMENT,     /^<\!--[\s\S]*?(?:-\->|$)/],
               // Unescaped content in an unknown language
               ['lang-',        /^<\?([\s\S]+?)(?:\?>|$)/],
               ['lang-',        /^<%([\s\S]+?)(?:%>|$)/],
               [PR_PUNCTUATION, /^(?:<[%?]|[%?]>)/],
               ['lang-',        /^<xmp\b[^>]*>([\s\S]+?)<\/xmp\b[^>]*>/i],
               // Unescaped content in javascript.  (Or possibly vbscript).
               ['lang-js',      /^<script\b[^>]*>([\s\S]*?)(<\/script\b[^>]*>)/i],
               // Contains unescaped stylesheet content
               ['lang-css',     /^<style\b[^>]*>([\s\S]*?)(<\/style\b[^>]*>)/i],
               ['lang-in.tag',  /^(<\/?[a-z][^<>]*>)/i]
              ]),
          ['default-markup', 'htm', 'html', 'mxml', 'xhtml', 'xml', 'xsl']);
      registerLangHandler(
          createSimpleLexer(
              [
               [PR_PLAIN,        /^[\s]+/, null, ' \t\r\n'],
               [PR_ATTRIB_VALUE, /^(?:\"[^\"]*\"?|\'[^\']*\'?)/, null, '\"\'']
               ],
              [
               [PR_TAG,          /^^<\/?[a-z](?:[\w.:-]*\w)?|\/?>$/i],
               [PR_ATTRIB_NAME,  /^(?!style[\s=]|on)[a-z](?:[\w:-]*\w)?/i],
               ['lang-uq.val',   /^=\s*([^>\'\"\s]*(?:[^>\'\"\s\/]|\/(?=\s)))/],
               [PR_PUNCTUATION,  /^[=<>\/]+/],
               ['lang-js',       /^on\w+\s*=\s*\"([^\"]+)\"/i],
               ['lang-js',       /^on\w+\s*=\s*\'([^\']+)\'/i],
               ['lang-js',       /^on\w+\s*=\s*([^\"\'>\s]+)/i],
               ['lang-css',      /^style\s*=\s*\"([^\"]+)\"/i],
               ['lang-css',      /^style\s*=\s*\'([^\']+)\'/i],
               ['lang-css',      /^style\s*=\s*([^\"\'>\s]+)/i]
               ]),
          ['in.tag']);
      registerLangHandler(
          createSimpleLexer([], [[PR_ATTRIB_VALUE, /^[\s\S]+/]]), ['uq.val']);
      registerLangHandler(sourceDecorator({
              'keywords': CPP_KEYWORDS,
              'hashComments': true,
              'cStyleComments': true,
              'types': C_TYPES
            }), ['c', 'cc', 'cpp', 'cxx', 'cyc', 'm']);
      registerLangHandler(sourceDecorator({
              'keywords': 'null,true,false'
            }), ['json']);
      registerLangHandler(sourceDecorator({
              'keywords': CSHARP_KEYWORDS,
              'hashComments': true,
              'cStyleComments': true,
              'verbatimStrings': true,
              'types': C_TYPES
            }), ['cs']);
      registerLangHandler(sourceDecorator({
              'keywords': JAVA_KEYWORDS,
              'cStyleComments': true
            }), ['java']);
      registerLangHandler(sourceDecorator({
              'keywords': SH_KEYWORDS,
              'hashComments': true,
              'multiLineStrings': true
            }), ['bash', 'bsh', 'csh', 'sh']);
      registerLangHandler(sourceDecorator({
              'keywords': PYTHON_KEYWORDS,
              'hashComments': true,
              'multiLineStrings': true,
              'tripleQuotedStrings': true
            }), ['cv', 'py', 'python']);
      registerLangHandler(sourceDecorator({
              'keywords': PERL_KEYWORDS,
              'hashComments': true,
              'multiLineStrings': true,
              'regexLiterals': 2  // multiline regex literals
            }), ['perl', 'pl', 'pm']);
      registerLangHandler(sourceDecorator({
              'keywords': RUBY_KEYWORDS,
              'hashComments': true,
              'multiLineStrings': true,
              'regexLiterals': true
            }), ['rb', 'ruby']);
      registerLangHandler(sourceDecorator({
              'keywords': JSCRIPT_KEYWORDS,
              'cStyleComments': true,
              'regexLiterals': true
            }), ['javascript', 'js', 'ts', 'typescript']);
      registerLangHandler(sourceDecorator({
              'keywords': COFFEE_KEYWORDS,
              'hashComments': 3,  // ### style block comments
              'cStyleComments': true,
              'multilineStrings': true,
              'tripleQuotedStrings': true,
              'regexLiterals': true
            }), ['coffee']);
      registerLangHandler(
          createSimpleLexer([], [[PR_STRING, /^[\s\S]+/]]), ['regex']);
    
      /** @param {JobT} job */
      function applyDecorator(job) {
        var opt_langExtension = job.langExtension;
    
        try {
          // Extract tags, and convert the source code to plain text.
          var sourceAndSpans = extractSourceSpans(job.sourceNode, job.pre);
          /** Plain text. @type {string} */
          var source = sourceAndSpans.sourceCode;
          job.sourceCode = source;
          job.spans = sourceAndSpans.spans;
          job.basePos = 0;
    
          // Apply the appropriate language handler
          langHandlerForExtension(opt_langExtension, source)(job);
    
          // Integrate the decorations and tags back into the source code,
          // modifying the sourceNode in place.
          recombineTagsAndDecorations(job);
        } catch (e) {
          if (win['console']) {
            console['log'](e && e['stack'] || e);
          }
        }
      }
    
      /**
       * Pretty print a chunk of code.
       * @param sourceCodeHtml {string} The HTML to pretty print.
       * @param opt_langExtension {string} The language name to use.
       *     Typically, a filename extension like 'cpp' or 'java'.
       * @param opt_numberLines {number|boolean} True to number lines,
       *     or the 1-indexed number of the first line in sourceCodeHtml.
       */
      function $prettyPrintOne(sourceCodeHtml, opt_langExtension, opt_numberLines) {
        /** @type{number|boolean} */
        var nl = opt_numberLines || false;
        /** @type{string|null} */
        var langExtension = opt_langExtension || null;
        /** @type{!Element} */
        var container = document.createElement('div');
        // This could cause images to load and onload listeners to fire.
        // E.g. <img onerror="alert(1337)" src="nosuchimage.png">.
        // We assume that the inner HTML is from a trusted source.
        // The pre-tag is required for IE8 which strips newlines from innerHTML
        // when it is injected into a <pre> tag.
        // http://stackoverflow.com/questions/451486/pre-tag-loses-line-breaks-when-setting-innerhtml-in-ie
        // http://stackoverflow.com/questions/195363/inserting-a-newline-into-a-pre-tag-ie-javascript
        container.innerHTML = '<pre>' + sourceCodeHtml + '</pre>';
        container = /** @type{!Element} */(container.firstChild);
        if (nl) {
          numberLines(container, nl, true);
        }
    
        /** @type{JobT} */
        var job = {
          langExtension: langExtension,
          numberLines: nl,
          sourceNode: container,
          pre: 1,
          sourceCode: null,
          basePos: null,
          spans: null,
          decorations: null
        };
        applyDecorator(job);
        return container.innerHTML;
      }
    
       /**
        * Find all the {@code <pre>} and {@code <code>} tags in the DOM with
        * {@code class=prettyprint} and prettify them.
        *
        * @param {Function} opt_whenDone called when prettifying is done.
        * @param {HTMLElement|HTMLDocument} opt_root an element or document
        *   containing all the elements to pretty print.
        *   Defaults to {@code document.body}.
        */
      function $prettyPrint(opt_whenDone, opt_root) {
        var root = opt_root || document.body;
        var doc = root.ownerDocument || document;
        function byTagName(tn) { return root.getElementsByTagName(tn); }
        // fetch a list of nodes to rewrite
        var codeSegments = [byTagName('pre'), byTagName('code'), byTagName('xmp')];
        var elements = [];
        for (var i = 0; i < codeSegments.length; ++i) {
          for (var j = 0, n = codeSegments[i].length; j < n; ++j) {
            elements.push(codeSegments[i][j]);
          }
        }
        codeSegments = null;
    
        var clock = Date;
        if (!clock['now']) {
          clock = { 'now': function () { return +(new Date); } };
        }
    
        // The loop is broken into a series of continuations to make sure that we
        // don't make the browser unresponsive when rewriting a large page.
        var k = 0;
    
        var langExtensionRe = /\blang(?:uage)?-([\w.]+)(?!\S)/;
        var prettyPrintRe = /\bprettyprint\b/;
        var prettyPrintedRe = /\bprettyprinted\b/;
        var preformattedTagNameRe = /pre|xmp/i;
        var codeRe = /^code$/i;
        var preCodeXmpRe = /^(?:pre|code|xmp)$/i;
        var EMPTY = {};
    
        function doWork() {
          var endTime = (win['PR_SHOULD_USE_CONTINUATION'] ?
                         clock['now']() + 250 /* ms */ :
                         Infinity);
          for (; k < elements.length && clock['now']() < endTime; k++) {
            var cs = elements[k];
    
            // Look for a preceding comment like
            // <?prettify lang="..." linenums="..."?>
            var attrs = EMPTY;
            {
              for (var preceder = cs; (preceder = preceder.previousSibling);) {
                var nt = preceder.nodeType;
                // <?foo?> is parsed by HTML 5 to a comment node (8)
                // like <!--?foo?-->, but in XML is a processing instruction
                var value = (nt === 7 || nt === 8) && preceder.nodeValue;
                if (value
                    ? !/^\??prettify\b/.test(value)
                    : (nt !== 3 || /\S/.test(preceder.nodeValue))) {
                  // Skip over white-space text nodes but not others.
                  break;
                }
                if (value) {
                  attrs = {};
                  value.replace(
                      /\b(\w+)=([\w:.%+-]+)/g,
                    function (_, name, value) { attrs[name] = value; });
                  break;
                }
              }
            }
    
            var className = cs.className;
            if ((attrs !== EMPTY || prettyPrintRe.test(className))
                // Don't redo this if we've already done it.
                // This allows recalling pretty print to just prettyprint elements
                // that have been added to the page since last call.
                && !prettyPrintedRe.test(className)) {
    
              // make sure this is not nested in an already prettified element
              var nested = false;
              for (var p = cs.parentNode; p; p = p.parentNode) {
                var tn = p.tagName;
                if (preCodeXmpRe.test(tn)
                    && p.className && prettyPrintRe.test(p.className)) {
                  nested = true;
                  break;
                }
              }
              if (!nested) {
                // Mark done.  If we fail to prettyprint for whatever reason,
                // we shouldn't try again.
                cs.className += ' prettyprinted';
    
                // If the classes includes a language extensions, use it.
                // Language extensions can be specified like
                //     <pre class="prettyprint lang-cpp">
                // the language extension "cpp" is used to find a language handler
                // as passed to PR.registerLangHandler.
                // HTML5 recommends that a language be specified using "language-"
                // as the prefix instead.  Google Code Prettify supports both.
                // http://dev.w3.org/html5/spec-author-view/the-code-element.html
                var langExtension = attrs['lang'];
                if (!langExtension) {
                  langExtension = className.match(langExtensionRe);
                  // Support <pre class="prettyprint"><code class="language-c">
                  var wrapper;
                  if (!langExtension && (wrapper = childContentWrapper(cs))
                      && codeRe.test(wrapper.tagName)) {
                    langExtension = wrapper.className.match(langExtensionRe);
                  }
    
                  if (langExtension) { langExtension = langExtension[1]; }
                }
    
                var preformatted;
                if (preformattedTagNameRe.test(cs.tagName)) {
                  preformatted = 1;
                } else {
                  var currentStyle = cs['currentStyle'];
                  var defaultView = doc.defaultView;
                  var whitespace = (
                      currentStyle
                      ? currentStyle['whiteSpace']
                      : (defaultView
                         && defaultView.getComputedStyle)
                      ? defaultView.getComputedStyle(cs, null)
                      .getPropertyValue('white-space')
                      : 0);
                  preformatted = whitespace
                      && 'pre' === whitespace.substring(0, 3);
                }
    
                // Look for a class like linenums or linenums:<n> where <n> is the
                // 1-indexed number of the first line.
                var lineNums = attrs['linenums'];
                if (!(lineNums = lineNums === 'true' || +lineNums)) {
                  lineNums = className.match(/\blinenums\b(?::(\d+))?/);
                  lineNums =
                    lineNums
                    ? lineNums[1] && lineNums[1].length
                      ? +lineNums[1] : true
                    : false;
                }
                if (lineNums) { numberLines(cs, lineNums, preformatted); }
    
                // do the pretty printing
                var prettyPrintingJob = {
                  langExtension: langExtension,
                  sourceNode: cs,
                  numberLines: lineNums,
                  pre: preformatted,
                  sourceCode: null,
                  basePos: null,
                  spans: null,
                  decorations: null
                };
                applyDecorator(prettyPrintingJob);
              }
            }
          }
          if (k < elements.length) {
            // finish up in a continuation
            win.setTimeout(doWork, 250);
          } else if ('function' === typeof opt_whenDone) {
            opt_whenDone();
          }
        }
    
        doWork();
      }
    
      /**
       * Contains functions for creating and registering new language handlers.
       * @type {Object}
       */
      var PR = win['PR'] = {
            'createSimpleLexer': createSimpleLexer,
            'registerLangHandler': registerLangHandler,
            'sourceDecorator': sourceDecorator,
            'PR_ATTRIB_NAME': PR_ATTRIB_NAME,
            'PR_ATTRIB_VALUE': PR_ATTRIB_VALUE,
            'PR_COMMENT': PR_COMMENT,
            'PR_DECLARATION': PR_DECLARATION,
            'PR_KEYWORD': PR_KEYWORD,
            'PR_LITERAL': PR_LITERAL,
            'PR_NOCODE': PR_NOCODE,
            'PR_PLAIN': PR_PLAIN,
            'PR_PUNCTUATION': PR_PUNCTUATION,
            'PR_SOURCE': PR_SOURCE,
            'PR_STRING': PR_STRING,
            'PR_TAG': PR_TAG,
            'PR_TYPE': PR_TYPE,
            'prettyPrintOne':
               IN_GLOBAL_SCOPE
                 ? (win['prettyPrintOne'] = $prettyPrintOne)
                 : (prettyPrintOne = $prettyPrintOne),
            'prettyPrint': prettyPrint =
               IN_GLOBAL_SCOPE
                 ? (win['prettyPrint'] = $prettyPrint)
                 : (prettyPrint = $prettyPrint)
          };
    
      // Make PR available via the Asynchronous Module Definition (AMD) API.
      // Per https://github.com/amdjs/amdjs-api/wiki/AMD:
      // The Asynchronous Module Definition (AMD) API specifies a
      // mechanism for defining modules such that the module and its
      // dependencies can be asynchronously loaded.
      // ...
      // To allow a clear indicator that a global define function (as
      // needed for script src browser loading) conforms to the AMD API,
      // any global define function SHOULD have a property called "amd"
      // whose value is an object. This helps avoid conflict with any
      // other existing JavaScript code that could have defined a define()
      // function that does not conform to the AMD API.
      var define = win['define'];
      if (typeof define === "function" && define['amd']) {
        define("google-code-prettify", [], function () {
          return PR;
        });
      }
    })();
    
    
    /***/ }),
    
    /***/ 75041:
    /*!**************************************************!*\
      !*** ./node_modules/_crypt@0.0.2@crypt/crypt.js ***!
      \**************************************************/
    /***/ (function(module) {
    
    (function() {
      var base64map
          = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/',
    
      crypt = {
        // Bit-wise rotation left
        rotl: function(n, b) {
          return (n << b) | (n >>> (32 - b));
        },
    
        // Bit-wise rotation right
        rotr: function(n, b) {
          return (n << (32 - b)) | (n >>> b);
        },
    
        // Swap big-endian to little-endian and vice versa
        endian: function(n) {
          // If number given, swap endian
          if (n.constructor == Number) {
            return crypt.rotl(n, 8) & 0x00FF00FF | crypt.rotl(n, 24) & 0xFF00FF00;
          }
    
          // Else, assume array and swap all items
          for (var i = 0; i < n.length; i++)
            n[i] = crypt.endian(n[i]);
          return n;
        },
    
        // Generate an array of any length of random bytes
        randomBytes: function(n) {
          for (var bytes = []; n > 0; n--)
            bytes.push(Math.floor(Math.random() * 256));
          return bytes;
        },
    
        // Convert a byte array to big-endian 32-bit words
        bytesToWords: function(bytes) {
          for (var words = [], i = 0, b = 0; i < bytes.length; i++, b += 8)
            words[b >>> 5] |= bytes[i] << (24 - b % 32);
          return words;
        },
    
        // Convert big-endian 32-bit words to a byte array
        wordsToBytes: function(words) {
          for (var bytes = [], b = 0; b < words.length * 32; b += 8)
            bytes.push((words[b >>> 5] >>> (24 - b % 32)) & 0xFF);
          return bytes;
        },
    
        // Convert a byte array to a hex string
        bytesToHex: function(bytes) {
          for (var hex = [], i = 0; i < bytes.length; i++) {
            hex.push((bytes[i] >>> 4).toString(16));
            hex.push((bytes[i] & 0xF).toString(16));
          }
          return hex.join('');
        },
    
        // Convert a hex string to a byte array
        hexToBytes: function(hex) {
          for (var bytes = [], c = 0; c < hex.length; c += 2)
            bytes.push(parseInt(hex.substr(c, 2), 16));
          return bytes;
        },
    
        // Convert a byte array to a base-64 string
        bytesToBase64: function(bytes) {
          for (var base64 = [], i = 0; i < bytes.length; i += 3) {
            var triplet = (bytes[i] << 16) | (bytes[i + 1] << 8) | bytes[i + 2];
            for (var j = 0; j < 4; j++)
              if (i * 8 + j * 6 <= bytes.length * 8)
                base64.push(base64map.charAt((triplet >>> 6 * (3 - j)) & 0x3F));
              else
                base64.push('=');
          }
          return base64.join('');
        },
    
        // Convert a base-64 string to a byte array
        base64ToBytes: function(base64) {
          // Remove non-base-64 characters
          base64 = base64.replace(/[^A-Z0-9+\/]/ig, '');
    
          for (var bytes = [], i = 0, imod4 = 0; i < base64.length;
              imod4 = ++i % 4) {
            if (imod4 == 0) continue;
            bytes.push(((base64map.indexOf(base64.charAt(i - 1))
                & (Math.pow(2, -2 * imod4 + 8) - 1)) << (imod4 * 2))
                | (base64map.indexOf(base64.charAt(i)) >>> (6 - imod4 * 2)));
          }
          return bytes;
        }
      };
    
      module.exports = crypt;
    })();
    
    
    /***/ }),
    
    /***/ 35413:
    /*!******************************************!*\
      !*** ./node_modules/_d@1.0.2@d/index.js ***!
      \******************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    
    var isValue         = __webpack_require__(/*! type/value/is */ 57046)
      , isPlainFunction = __webpack_require__(/*! type/plain-function/is */ 69574)
      , assign          = __webpack_require__(/*! es5-ext/object/assign */ 63474)
      , normalizeOpts   = __webpack_require__(/*! es5-ext/object/normalize-options */ 47095)
      , contains        = __webpack_require__(/*! es5-ext/string/#/contains */ 99363);
    
    var d = (module.exports = function (dscr, value/*, options*/) {
    	var c, e, w, options, desc;
    	if (arguments.length < 2 || typeof dscr !== "string") {
    		options = value;
    		value = dscr;
    		dscr = null;
    	} else {
    		options = arguments[2];
    	}
    	if (isValue(dscr)) {
    		c = contains.call(dscr, "c");
    		e = contains.call(dscr, "e");
    		w = contains.call(dscr, "w");
    	} else {
    		c = w = true;
    		e = false;
    	}
    
    	desc = { value: value, configurable: c, enumerable: e, writable: w };
    	return !options ? desc : assign(normalizeOpts(options), desc);
    });
    
    d.gs = function (dscr, get, set/*, options*/) {
    	var c, e, options, desc;
    	if (typeof dscr !== "string") {
    		options = set;
    		set = get;
    		get = dscr;
    		dscr = null;
    	} else {
    		options = arguments[3];
    	}
    	if (!isValue(get)) {
    		get = undefined;
    	} else if (!isPlainFunction(get)) {
    		options = get;
    		get = set = undefined;
    	} else if (!isValue(set)) {
    		set = undefined;
    	} else if (!isPlainFunction(set)) {
    		options = set;
    		set = undefined;
    	}
    	if (isValue(dscr)) {
    		c = contains.call(dscr, "c");
    		e = contains.call(dscr, "e");
    	} else {
    		c = true;
    		e = false;
    	}
    
    	desc = { get: get, set: set, configurable: c, enumerable: e };
    	return !options ? desc : assign(normalizeOpts(options), desc);
    };
    
    
    /***/ }),
    
    /***/ 66649:
    /*!********************************************************!*\
      !*** ./node_modules/_dayjs@1.11.19@dayjs/dayjs.min.js ***!
      \********************************************************/
    /***/ (function(module) {
    
    !function(t,e){ true?module.exports=e():0}(this,(function(){"use strict";var t=1e3,e=6e4,n=36e5,r="millisecond",i="second",s="minute",u="hour",a="day",o="week",c="month",f="quarter",h="year",d="date",l="Invalid Date",$=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,y=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,M={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(t){var e=["th","st","nd","rd"],n=t%100;return"["+t+(e[(n-20)%10]||e[n]||e[0])+"]"}},m=function(t,e,n){var r=String(t);return!r||r.length>=e?t:""+Array(e+1-r.length).join(n)+t},v={s:m,z:function(t){var e=-t.utcOffset(),n=Math.abs(e),r=Math.floor(n/60),i=n%60;return(e<=0?"+":"-")+m(r,2,"0")+":"+m(i,2,"0")},m:function t(e,n){if(e.date()<n.date())return-t(n,e);var r=12*(n.year()-e.year())+(n.month()-e.month()),i=e.clone().add(r,c),s=n-i<0,u=e.clone().add(r+(s?-1:1),c);return+(-(r+(n-i)/(s?i-u:u-i))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(t){return{M:c,y:h,w:o,d:a,D:d,h:u,m:s,s:i,ms:r,Q:f}[t]||String(t||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}},g="en",D={};D[g]=M;var p="$isDayjsObject",S=function(t){return t instanceof _||!(!t||!t[p])},w=function t(e,n,r){var i;if(!e)return g;if("string"==typeof e){var s=e.toLowerCase();D[s]&&(i=s),n&&(D[s]=n,i=s);var u=e.split("-");if(!i&&u.length>1)return t(u[0])}else{var a=e.name;D[a]=e,i=a}return!r&&i&&(g=i),i||!r&&g},O=function(t,e){if(S(t))return t.clone();var n="object"==typeof e?e:{};return n.date=t,n.args=arguments,new _(n)},b=v;b.l=w,b.i=S,b.w=function(t,e){return O(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var _=function(){function M(t){this.$L=w(t.locale,null,!0),this.parse(t),this.$x=this.$x||t.x||{},this[p]=!0}var m=M.prototype;return m.parse=function(t){this.$d=function(t){var e=t.date,n=t.utc;if(null===e)return new Date(NaN);if(b.u(e))return new Date;if(e instanceof Date)return new Date(e);if("string"==typeof e&&!/Z$/i.test(e)){var r=e.match($);if(r){var i=r[2]-1||0,s=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)}}return new Date(e)}(t),this.init()},m.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},m.$utils=function(){return b},m.isValid=function(){return!(this.$d.toString()===l)},m.isSame=function(t,e){var n=O(t);return this.startOf(e)<=n&&n<=this.endOf(e)},m.isAfter=function(t,e){return O(t)<this.startOf(e)},m.isBefore=function(t,e){return this.endOf(e)<O(t)},m.$g=function(t,e,n){return b.u(t)?this[e]:this.set(n,t)},m.unix=function(){return Math.floor(this.valueOf()/1e3)},m.valueOf=function(){return this.$d.getTime()},m.startOf=function(t,e){var n=this,r=!!b.u(e)||e,f=b.p(t),l=function(t,e){var i=b.w(n.$u?Date.UTC(n.$y,e,t):new Date(n.$y,e,t),n);return r?i:i.endOf(a)},$=function(t,e){return b.w(n.toDate()[t].apply(n.toDate("s"),(r?[0,0,0,0]:[23,59,59,999]).slice(e)),n)},y=this.$W,M=this.$M,m=this.$D,v="set"+(this.$u?"UTC":"");switch(f){case h:return r?l(1,0):l(31,11);case c:return r?l(1,M):l(0,M+1);case o:var g=this.$locale().weekStart||0,D=(y<g?y+7:y)-g;return l(r?m-D:m+(6-D),M);case a:case d:return $(v+"Hours",0);case u:return $(v+"Minutes",1);case s:return $(v+"Seconds",2);case i:return $(v+"Milliseconds",3);default:return this.clone()}},m.endOf=function(t){return this.startOf(t,!1)},m.$set=function(t,e){var n,o=b.p(t),f="set"+(this.$u?"UTC":""),l=(n={},n[a]=f+"Date",n[d]=f+"Date",n[c]=f+"Month",n[h]=f+"FullYear",n[u]=f+"Hours",n[s]=f+"Minutes",n[i]=f+"Seconds",n[r]=f+"Milliseconds",n)[o],$=o===a?this.$D+(e-this.$W):e;if(o===c||o===h){var y=this.clone().set(d,1);y.$d[l]($),y.init(),this.$d=y.set(d,Math.min(this.$D,y.daysInMonth())).$d}else l&&this.$d[l]($);return this.init(),this},m.set=function(t,e){return this.clone().$set(t,e)},m.get=function(t){return this[b.p(t)]()},m.add=function(r,f){var d,l=this;r=Number(r);var $=b.p(f),y=function(t){var e=O(l);return b.w(e.date(e.date()+Math.round(t*r)),l)};if($===c)return this.set(c,this.$M+r);if($===h)return this.set(h,this.$y+r);if($===a)return y(1);if($===o)return y(7);var M=(d={},d[s]=e,d[u]=n,d[i]=t,d)[$]||1,m=this.$d.getTime()+r*M;return b.w(m,this)},m.subtract=function(t,e){return this.add(-1*t,e)},m.format=function(t){var e=this,n=this.$locale();if(!this.isValid())return n.invalidDate||l;var r=t||"YYYY-MM-DDTHH:mm:ssZ",i=b.z(this),s=this.$H,u=this.$m,a=this.$M,o=n.weekdays,c=n.months,f=n.meridiem,h=function(t,n,i,s){return t&&(t[n]||t(e,r))||i[n].slice(0,s)},d=function(t){return b.s(s%12||12,t,"0")},$=f||function(t,e,n){var r=t<12?"AM":"PM";return n?r.toLowerCase():r};return r.replace(y,(function(t,r){return r||function(t){switch(t){case"YY":return String(e.$y).slice(-2);case"YYYY":return b.s(e.$y,4,"0");case"M":return a+1;case"MM":return b.s(a+1,2,"0");case"MMM":return h(n.monthsShort,a,c,3);case"MMMM":return h(c,a);case"D":return e.$D;case"DD":return b.s(e.$D,2,"0");case"d":return String(e.$W);case"dd":return h(n.weekdaysMin,e.$W,o,2);case"ddd":return h(n.weekdaysShort,e.$W,o,3);case"dddd":return o[e.$W];case"H":return String(s);case"HH":return b.s(s,2,"0");case"h":return d(1);case"hh":return d(2);case"a":return $(s,u,!0);case"A":return $(s,u,!1);case"m":return String(u);case"mm":return b.s(u,2,"0");case"s":return String(e.$s);case"ss":return b.s(e.$s,2,"0");case"SSS":return b.s(e.$ms,3,"0");case"Z":return i}return null}(t)||i.replace(":","")}))},m.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},m.diff=function(r,d,l){var $,y=this,M=b.p(d),m=O(r),v=(m.utcOffset()-this.utcOffset())*e,g=this-m,D=function(){return b.m(y,m)};switch(M){case h:$=D()/12;break;case c:$=D();break;case f:$=D()/3;break;case o:$=(g-v)/6048e5;break;case a:$=(g-v)/864e5;break;case u:$=g/n;break;case s:$=g/e;break;case i:$=g/t;break;default:$=g}return l?$:b.a($)},m.daysInMonth=function(){return this.endOf(c).$D},m.$locale=function(){return D[this.$L]},m.locale=function(t,e){if(!t)return this.$L;var n=this.clone(),r=w(t,e,!0);return r&&(n.$L=r),n},m.clone=function(){return b.w(this.$d,this)},m.toDate=function(){return new Date(this.valueOf())},m.toJSON=function(){return this.isValid()?this.toISOString():null},m.toISOString=function(){return this.$d.toISOString()},m.toString=function(){return this.$d.toUTCString()},M}(),k=_.prototype;return O.prototype=k,[["$ms",r],["$s",i],["$m",s],["$H",u],["$W",a],["$M",c],["$y",h],["$D",d]].forEach((function(t){k[t[1]]=function(e){return this.$g(e,t[0],t[1])}})),O.extend=function(t,e){return t.$i||(t(e,_,O),t.$i=!0),O},O.locale=w,O.isDayjs=S,O.unix=function(t){return O(1e3*t)},O.en=D[g],O.Ls=D,O.p={},O}));
    
    /***/ }),
    
    /***/ 69351:
    /*!***********************************************************!*\
      !*** ./node_modules/_dayjs@1.11.19@dayjs/locale/zh-cn.js ***!
      \***********************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    !function(e,_){ true?module.exports=_(__webpack_require__(/*! dayjs */ 66649)):0}(this,(function(e){"use strict";function _(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t=_(e),d={name:"zh-cn",weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),ordinal:function(e,_){return"W"===_?e+"周":e+"日"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah点mm分",LLLL:"YYYY年M月D日ddddAh点mm分",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},relativeTime:{future:"%s内",past:"%s前",s:"几秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},meridiem:function(e,_){var t=100*e+_;return t<600?"凌晨":t<900?"早上":t<1100?"上午":t<1300?"中午":t<1800?"下午":"晚上"}};return t.default.locale(d,null,!0),d}));
    
    /***/ }),
    
    /***/ 13477:
    /*!********************************************************************!*\
      !*** ./node_modules/_dayjs@1.11.19@dayjs/plugin/advancedFormat.js ***!
      \********************************************************************/
    /***/ (function(module) {
    
    !function(e,t){ true?module.exports=t():0}(this,(function(){"use strict";return function(e,t){var r=t.prototype,n=r.format;r.format=function(e){var t=this,r=this.$locale();if(!this.isValid())return n.bind(this)(e);var s=this.$utils(),a=(e||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,(function(e){switch(e){case"Q":return Math.ceil((t.$M+1)/3);case"Do":return r.ordinal(t.$D);case"gggg":return t.weekYear();case"GGGG":return t.isoWeekYear();case"wo":return r.ordinal(t.week(),"W");case"w":case"ww":return s.s(t.week(),"w"===e?1:2,"0");case"W":case"WW":return s.s(t.isoWeek(),"W"===e?1:2,"0");case"k":case"kk":return s.s(String(0===t.$H?24:t.$H),"k"===e?1:2,"0");case"X":return Math.floor(t.$d.getTime()/1e3);case"x":return t.$d.getTime();case"z":return"["+t.offsetName()+"]";case"zzz":return"["+t.offsetName("long")+"]";default:return e}}));return n.bind(this)(a)}}}));
    
    /***/ }),
    
    /***/ 64796:
    /*!***********************************************************************!*\
      !*** ./node_modules/_dayjs@1.11.19@dayjs/plugin/customParseFormat.js ***!
      \***********************************************************************/
    /***/ (function(module) {
    
    !function(e,t){ true?module.exports=t():0}(this,(function(){"use strict";var e={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},t=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,n=/\d/,r=/\d\d/,i=/\d\d?/,o=/\d*[^-_:/,()\s\d]+/,s={},a=function(e){return(e=+e)+(e>68?1900:2e3)};var f=function(e){return function(t){this[e]=+t}},h=[/[+-]\d\d:?(\d\d)?|Z/,function(e){(this.zone||(this.zone={})).offset=function(e){if(!e)return 0;if("Z"===e)return 0;var t=e.match(/([+-]|\d\d)/g),n=60*t[1]+(+t[2]||0);return 0===n?0:"+"===t[0]?-n:n}(e)}],u=function(e){var t=s[e];return t&&(t.indexOf?t:t.s.concat(t.f))},d=function(e,t){var n,r=s.meridiem;if(r){for(var i=1;i<=24;i+=1)if(e.indexOf(r(i,0,t))>-1){n=i>12;break}}else n=e===(t?"pm":"PM");return n},c={A:[o,function(e){this.afternoon=d(e,!1)}],a:[o,function(e){this.afternoon=d(e,!0)}],Q:[n,function(e){this.month=3*(e-1)+1}],S:[n,function(e){this.milliseconds=100*+e}],SS:[r,function(e){this.milliseconds=10*+e}],SSS:[/\d{3}/,function(e){this.milliseconds=+e}],s:[i,f("seconds")],ss:[i,f("seconds")],m:[i,f("minutes")],mm:[i,f("minutes")],H:[i,f("hours")],h:[i,f("hours")],HH:[i,f("hours")],hh:[i,f("hours")],D:[i,f("day")],DD:[r,f("day")],Do:[o,function(e){var t=s.ordinal,n=e.match(/\d+/);if(this.day=n[0],t)for(var r=1;r<=31;r+=1)t(r).replace(/\[|\]/g,"")===e&&(this.day=r)}],w:[i,f("week")],ww:[r,f("week")],M:[i,f("month")],MM:[r,f("month")],MMM:[o,function(e){var t=u("months"),n=(u("monthsShort")||t.map((function(e){return e.slice(0,3)}))).indexOf(e)+1;if(n<1)throw new Error;this.month=n%12||n}],MMMM:[o,function(e){var t=u("months").indexOf(e)+1;if(t<1)throw new Error;this.month=t%12||t}],Y:[/[+-]?\d+/,f("year")],YY:[r,function(e){this.year=a(e)}],YYYY:[/\d{4}/,f("year")],Z:h,ZZ:h};function l(n){var r,i;r=n,i=s&&s.formats;for(var o=(n=r.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(t,n,r){var o=r&&r.toUpperCase();return n||i[r]||e[r]||i[o].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(e,t,n){return t||n.slice(1)}))}))).match(t),a=o.length,f=0;f<a;f+=1){var h=o[f],u=c[h],d=u&&u[0],l=u&&u[1];o[f]=l?{regex:d,parser:l}:h.replace(/^\[|\]$/g,"")}return function(e){for(var t={},n=0,r=0;n<a;n+=1){var i=o[n];if("string"==typeof i)r+=i.length;else{var s=i.regex,f=i.parser,h=e.slice(r),u=s.exec(h)[0];f.call(t,u),e=e.replace(u,"")}}return function(e){var t=e.afternoon;if(void 0!==t){var n=e.hours;t?n<12&&(e.hours+=12):12===n&&(e.hours=0),delete e.afternoon}}(t),t}}return function(e,t,n){n.p.customParseFormat=!0,e&&e.parseTwoDigitYear&&(a=e.parseTwoDigitYear);var r=t.prototype,i=r.parse;r.parse=function(e){var t=e.date,r=e.utc,o=e.args;this.$u=r;var a=o[1];if("string"==typeof a){var f=!0===o[2],h=!0===o[3],u=f||h,d=o[2];h&&(d=o[2]),s=this.$locale(),!f&&d&&(s=n.Ls[d]),this.$d=function(e,t,n,r){try{if(["x","X"].indexOf(t)>-1)return new Date(("X"===t?1e3:1)*e);var i=l(t)(e),o=i.year,s=i.month,a=i.day,f=i.hours,h=i.minutes,u=i.seconds,d=i.milliseconds,c=i.zone,m=i.week,M=new Date,Y=a||(o||s?1:M.getDate()),p=o||M.getFullYear(),v=0;o&&!s||(v=s>0?s-1:M.getMonth());var D,w=f||0,g=h||0,y=u||0,L=d||0;return c?new Date(Date.UTC(p,v,Y,w,g,y,L+60*c.offset*1e3)):n?new Date(Date.UTC(p,v,Y,w,g,y,L)):(D=new Date(p,v,Y,w,g,y,L),m&&(D=r(D).week(m).toDate()),D)}catch(e){return new Date("")}}(t,a,r,n),this.init(),d&&!0!==d&&(this.$L=this.locale(d).$L),u&&t!=this.format(a)&&(this.$d=new Date("")),s={}}else if(a instanceof Array)for(var c=a.length,m=1;m<=c;m+=1){o[1]=a[m-1];var M=n.apply(this,o);if(M.isValid()){this.$d=M.$d,this.$L=M.$L,this.init();break}m===c&&(this.$d=new Date(""))}else i.call(this,e)}}}));
    
    /***/ }),
    
    /***/ 1554:
    /*!**************************************************************!*\
      !*** ./node_modules/_dayjs@1.11.19@dayjs/plugin/duration.js ***!
      \**************************************************************/
    /***/ (function(module) {
    
    !function(t,s){ true?module.exports=s():0}(this,(function(){"use strict";var t,s,n=1e3,i=6e4,e=36e5,r=864e5,o=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,u=31536e6,d=2628e6,a=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,h={years:u,months:d,days:r,hours:e,minutes:i,seconds:n,milliseconds:1,weeks:6048e5},c=function(t){return t instanceof g},f=function(t,s,n){return new g(t,n,s.$l)},m=function(t){return s.p(t)+"s"},l=function(t){return t<0},$=function(t){return l(t)?Math.ceil(t):Math.floor(t)},y=function(t){return Math.abs(t)},v=function(t,s){return t?l(t)?{negative:!0,format:""+y(t)+s}:{negative:!1,format:""+t+s}:{negative:!1,format:""}},g=function(){function l(t,s,n){var i=this;if(this.$d={},this.$l=n,void 0===t&&(this.$ms=0,this.parseFromMilliseconds()),s)return f(t*h[m(s)],this);if("number"==typeof t)return this.$ms=t,this.parseFromMilliseconds(),this;if("object"==typeof t)return Object.keys(t).forEach((function(s){i.$d[m(s)]=t[s]})),this.calMilliseconds(),this;if("string"==typeof t){var e=t.match(a);if(e){var r=e.slice(2).map((function(t){return null!=t?Number(t):0}));return this.$d.years=r[0],this.$d.months=r[1],this.$d.weeks=r[2],this.$d.days=r[3],this.$d.hours=r[4],this.$d.minutes=r[5],this.$d.seconds=r[6],this.calMilliseconds(),this}}return this}var y=l.prototype;return y.calMilliseconds=function(){var t=this;this.$ms=Object.keys(this.$d).reduce((function(s,n){return s+(t.$d[n]||0)*h[n]}),0)},y.parseFromMilliseconds=function(){var t=this.$ms;this.$d.years=$(t/u),t%=u,this.$d.months=$(t/d),t%=d,this.$d.days=$(t/r),t%=r,this.$d.hours=$(t/e),t%=e,this.$d.minutes=$(t/i),t%=i,this.$d.seconds=$(t/n),t%=n,this.$d.milliseconds=t},y.toISOString=function(){var t=v(this.$d.years,"Y"),s=v(this.$d.months,"M"),n=+this.$d.days||0;this.$d.weeks&&(n+=7*this.$d.weeks);var i=v(n,"D"),e=v(this.$d.hours,"H"),r=v(this.$d.minutes,"M"),o=this.$d.seconds||0;this.$d.milliseconds&&(o+=this.$d.milliseconds/1e3,o=Math.round(1e3*o)/1e3);var u=v(o,"S"),d=t.negative||s.negative||i.negative||e.negative||r.negative||u.negative,a=e.format||r.format||u.format?"T":"",h=(d?"-":"")+"P"+t.format+s.format+i.format+a+e.format+r.format+u.format;return"P"===h||"-P"===h?"P0D":h},y.toJSON=function(){return this.toISOString()},y.format=function(t){var n=t||"YYYY-MM-DDTHH:mm:ss",i={Y:this.$d.years,YY:s.s(this.$d.years,2,"0"),YYYY:s.s(this.$d.years,4,"0"),M:this.$d.months,MM:s.s(this.$d.months,2,"0"),D:this.$d.days,DD:s.s(this.$d.days,2,"0"),H:this.$d.hours,HH:s.s(this.$d.hours,2,"0"),m:this.$d.minutes,mm:s.s(this.$d.minutes,2,"0"),s:this.$d.seconds,ss:s.s(this.$d.seconds,2,"0"),SSS:s.s(this.$d.milliseconds,3,"0")};return n.replace(o,(function(t,s){return s||String(i[t])}))},y.as=function(t){return this.$ms/h[m(t)]},y.get=function(t){var s=this.$ms,n=m(t);return"milliseconds"===n?s%=1e3:s="weeks"===n?$(s/h[n]):this.$d[n],s||0},y.add=function(t,s,n){var i;return i=s?t*h[m(s)]:c(t)?t.$ms:f(t,this).$ms,f(this.$ms+i*(n?-1:1),this)},y.subtract=function(t,s){return this.add(t,s,!0)},y.locale=function(t){var s=this.clone();return s.$l=t,s},y.clone=function(){return f(this.$ms,this)},y.humanize=function(s){return t().add(this.$ms,"ms").locale(this.$l).fromNow(!s)},y.valueOf=function(){return this.asMilliseconds()},y.milliseconds=function(){return this.get("milliseconds")},y.asMilliseconds=function(){return this.as("milliseconds")},y.seconds=function(){return this.get("seconds")},y.asSeconds=function(){return this.as("seconds")},y.minutes=function(){return this.get("minutes")},y.asMinutes=function(){return this.as("minutes")},y.hours=function(){return this.get("hours")},y.asHours=function(){return this.as("hours")},y.days=function(){return this.get("days")},y.asDays=function(){return this.as("days")},y.weeks=function(){return this.get("weeks")},y.asWeeks=function(){return this.as("weeks")},y.months=function(){return this.get("months")},y.asMonths=function(){return this.as("months")},y.years=function(){return this.get("years")},y.asYears=function(){return this.as("years")},l}(),p=function(t,s,n){return t.add(s.years()*n,"y").add(s.months()*n,"M").add(s.days()*n,"d").add(s.hours()*n,"h").add(s.minutes()*n,"m").add(s.seconds()*n,"s").add(s.milliseconds()*n,"ms")};return function(n,i,e){t=e,s=e().$utils(),e.duration=function(t,s){var n=e.locale();return f(t,{$l:n},s)},e.isDuration=c;var r=i.prototype.add,o=i.prototype.subtract;i.prototype.add=function(t,s){return c(t)?p(this,t,1):r.bind(this)(t,s)},i.prototype.subtract=function(t,s){return c(t)?p(this,t,-1):o.bind(this)(t,s)}}}));
    
    /***/ }),
    
    /***/ 5116:
    /*!**************************************************************!*\
      !*** ./node_modules/_dayjs@1.11.19@dayjs/plugin/isMoment.js ***!
      \**************************************************************/
    /***/ (function(module) {
    
    !function(e,n){ true?module.exports=n():0}(this,(function(){"use strict";return function(e,n,t){t.isMoment=function(e){return t.isDayjs(e)}}}));
    
    /***/ }),
    
    /***/ 14805:
    /*!*******************************************************************!*\
      !*** ./node_modules/_dayjs@1.11.19@dayjs/plugin/isSameOrAfter.js ***!
      \*******************************************************************/
    /***/ (function(module) {
    
    !function(e,t){ true?module.exports=t():0}(this,(function(){"use strict";return function(e,t){t.prototype.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)}}}));
    
    /***/ }),
    
    /***/ 73100:
    /*!********************************************************************!*\
      !*** ./node_modules/_dayjs@1.11.19@dayjs/plugin/isSameOrBefore.js ***!
      \********************************************************************/
    /***/ (function(module) {
    
    !function(e,i){ true?module.exports=i():0}(this,(function(){"use strict";return function(e,i){i.prototype.isSameOrBefore=function(e,i){return this.isSame(e,i)||this.isBefore(e,i)}}}));
    
    /***/ }),
    
    /***/ 50991:
    /*!****************************************************************!*\
      !*** ./node_modules/_dayjs@1.11.19@dayjs/plugin/localeData.js ***!
      \****************************************************************/
    /***/ (function(module) {
    
    !function(n,e){ true?module.exports=e():0}(this,(function(){"use strict";return function(n,e,t){var r=e.prototype,o=function(n){return n&&(n.indexOf?n:n.s)},u=function(n,e,t,r,u){var i=n.name?n:n.$locale(),a=o(i[e]),s=o(i[t]),f=a||s.map((function(n){return n.slice(0,r)}));if(!u)return f;var d=i.weekStart;return f.map((function(n,e){return f[(e+(d||0))%7]}))},i=function(){return t.Ls[t.locale()]},a=function(n,e){return n.formats[e]||function(n){return n.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(n,e,t){return e||t.slice(1)}))}(n.formats[e.toUpperCase()])},s=function(){var n=this;return{months:function(e){return e?e.format("MMMM"):u(n,"months")},monthsShort:function(e){return e?e.format("MMM"):u(n,"monthsShort","months",3)},firstDayOfWeek:function(){return n.$locale().weekStart||0},weekdays:function(e){return e?e.format("dddd"):u(n,"weekdays")},weekdaysMin:function(e){return e?e.format("dd"):u(n,"weekdaysMin","weekdays",2)},weekdaysShort:function(e){return e?e.format("ddd"):u(n,"weekdaysShort","weekdays",3)},longDateFormat:function(e){return a(n.$locale(),e)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};r.localeData=function(){return s.bind(this)()},t.localeData=function(){var n=i();return{firstDayOfWeek:function(){return n.weekStart||0},weekdays:function(){return t.weekdays()},weekdaysShort:function(){return t.weekdaysShort()},weekdaysMin:function(){return t.weekdaysMin()},months:function(){return t.months()},monthsShort:function(){return t.monthsShort()},longDateFormat:function(e){return a(n,e)},meridiem:n.meridiem,ordinal:n.ordinal}},t.months=function(){return u(i(),"months")},t.monthsShort=function(){return u(i(),"monthsShort","months",3)},t.weekdays=function(n){return u(i(),"weekdays",null,null,n)},t.weekdaysShort=function(n){return u(i(),"weekdaysShort","weekdays",3,n)},t.weekdaysMin=function(n){return u(i(),"weekdaysMin","weekdays",2,n)}}}));
    
    /***/ }),
    
    /***/ 39050:
    /*!*********************************************************************!*\
      !*** ./node_modules/_dayjs@1.11.19@dayjs/plugin/localizedFormat.js ***!
      \*********************************************************************/
    /***/ (function(module) {
    
    !function(e,t){ true?module.exports=t():0}(this,(function(){"use strict";var e={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};return function(t,o,n){var r=o.prototype,i=r.format;n.en.formats=e,r.format=function(t){void 0===t&&(t="YYYY-MM-DDTHH:mm:ssZ");var o=this.$locale().formats,n=function(t,o){return t.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(t,n,r){var i=r&&r.toUpperCase();return n||o[r]||e[r]||o[i].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(e,t,o){return t||o.slice(1)}))}))}(t,void 0===o?{}:o);return i.call(this,n)}}}));
    
    /***/ }),
    
    /***/ 59697:
    /*!******************************************************************!*\
      !*** ./node_modules/_dayjs@1.11.19@dayjs/plugin/relativeTime.js ***!
      \******************************************************************/
    /***/ (function(module) {
    
    !function(r,e){ true?module.exports=e():0}(this,(function(){"use strict";return function(r,e,t){r=r||{};var n=e.prototype,o={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function i(r,e,t,o){return n.fromToBase(r,e,t,o)}t.en.relativeTime=o,n.fromToBase=function(e,n,i,d,u){for(var f,a,s,l=i.$locale().relativeTime||o,h=r.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],m=h.length,c=0;c<m;c+=1){var y=h[c];y.d&&(f=d?t(e).diff(i,y.d,!0):i.diff(e,y.d,!0));var p=(r.rounding||Math.round)(Math.abs(f));if(s=f>0,p<=y.r||!y.r){p<=1&&c>0&&(y=h[c-1]);var v=l[y.l];u&&(p=u(""+p)),a="string"==typeof v?v.replace("%d",p):v(p,n,y.l,s);break}}if(n)return a;var M=s?l.future:l.past;return"function"==typeof M?M(a):M.replace("%s",a)},n.to=function(r,e){return i(r,e,this,!0)},n.from=function(r,e){return i(r,e,this)};var d=function(r){return r.$u?t.utc():t()};n.toNow=function(r){return this.to(d(this),r)},n.fromNow=function(r){return this.from(d(this),r)}}}));
    
    /***/ }),
    
    /***/ 9084:
    /*!****************************************************************!*\
      !*** ./node_modules/_dayjs@1.11.19@dayjs/plugin/weekOfYear.js ***!
      \****************************************************************/
    /***/ (function(module) {
    
    !function(e,t){ true?module.exports=t():0}(this,(function(){"use strict";var e="week",t="year";return function(i,n,r){var f=n.prototype;f.week=function(i){if(void 0===i&&(i=null),null!==i)return this.add(7*(i-this.week()),"day");var n=this.$locale().yearStart||1;if(11===this.month()&&this.date()>25){var f=r(this).startOf(t).add(1,t).date(n),s=r(this).endOf(e);if(f.isBefore(s))return 1}var a=r(this).startOf(t).date(n).startOf(e).subtract(1,"millisecond"),o=this.diff(a,e,!0);return o<0?r(this).startOf("week").week():Math.ceil(o)},f.weeks=function(e){return void 0===e&&(e=null),this.week(e)}}}));
    
    /***/ }),
    
    /***/ 58626:
    /*!**************************************************************!*\
      !*** ./node_modules/_dayjs@1.11.19@dayjs/plugin/weekYear.js ***!
      \**************************************************************/
    /***/ (function(module) {
    
    !function(e,t){ true?module.exports=t():0}(this,(function(){"use strict";return function(e,t){t.prototype.weekYear=function(){var e=this.month(),t=this.week(),n=this.year();return 1===t&&11===e?n+1:0===e&&t>=52?n-1:n}}}));
    
    /***/ }),
    
    /***/ 9007:
    /*!*************************************************************!*\
      !*** ./node_modules/_dayjs@1.11.19@dayjs/plugin/weekday.js ***!
      \*************************************************************/
    /***/ (function(module) {
    
    !function(e,t){ true?module.exports=t():0}(this,(function(){"use strict";return function(e,t){t.prototype.weekday=function(e){var t=this.$locale().weekStart||0,i=this.$W,n=(i<t?i+7:i)-t;return this.$utils().u(e)?n:this.subtract(n,"day").add(e,"day")}}}));
    
    /***/ }),
    
    /***/ 89880:
    /*!********************************************************************!*\
      !*** ./node_modules/_dva-loading@3.0.25@dva-loading/dist/index.js ***!
      \********************************************************************/
    /***/ (function(module) {
    
    "use strict";
    
    
    function _defineProperty(obj, key, value) {
      if (key in obj) {
        Object.defineProperty(obj, key, {
          value: value,
          enumerable: true,
          configurable: true,
          writable: true
        });
      } else {
        obj[key] = value;
      }
    
      return obj;
    }
    
    function ownKeys(object, enumerableOnly) {
      var keys = Object.keys(object);
    
      if (Object.getOwnPropertySymbols) {
        var symbols = Object.getOwnPropertySymbols(object);
        if (enumerableOnly) symbols = symbols.filter(function (sym) {
          return Object.getOwnPropertyDescriptor(object, sym).enumerable;
        });
        keys.push.apply(keys, symbols);
      }
    
      return keys;
    }
    
    function _objectSpread2(target) {
      for (var i = 1; i < arguments.length; i++) {
        var source = arguments[i] != null ? arguments[i] : {};
    
        if (i % 2) {
          ownKeys(Object(source), true).forEach(function (key) {
            _defineProperty(target, key, source[key]);
          });
        } else if (Object.getOwnPropertyDescriptors) {
          Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
        } else {
          ownKeys(Object(source)).forEach(function (key) {
            Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
          });
        }
      }
    
      return target;
    }
    
    var SHOW = '@@DVA_LOADING/SHOW';
    var HIDE = '@@DVA_LOADING/HIDE';
    var NAMESPACE = 'loading';
    
    function createLoading() {
      var opts = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
      var namespace = opts.namespace || NAMESPACE;
      var _opts$only = opts.only,
          only = _opts$only === void 0 ? [] : _opts$only,
          _opts$except = opts.except,
          except = _opts$except === void 0 ? [] : _opts$except;
    
      if (only.length > 0 && except.length > 0) {
        throw Error('It is ambiguous to configurate `only` and `except` items at the same time.');
      }
    
      var initialState = {
        global: false,
        models: {},
        effects: {}
      };
    
      var extraReducers = _defineProperty({}, namespace, function () {
        var state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : initialState;
    
        var _ref = arguments.length > 1 ? arguments[1] : undefined,
            type = _ref.type,
            payload = _ref.payload;
    
        var _ref2 = payload || {},
            namespace = _ref2.namespace,
            actionType = _ref2.actionType;
    
        var ret;
    
        switch (type) {
          case SHOW:
            ret = _objectSpread2(_objectSpread2({}, state), {}, {
              global: true,
              models: _objectSpread2(_objectSpread2({}, state.models), {}, _defineProperty({}, namespace, true)),
              effects: _objectSpread2(_objectSpread2({}, state.effects), {}, _defineProperty({}, actionType, true))
            });
            break;
    
          case HIDE:
            {
              var effects = _objectSpread2(_objectSpread2({}, state.effects), {}, _defineProperty({}, actionType, false));
    
              var models = _objectSpread2(_objectSpread2({}, state.models), {}, _defineProperty({}, namespace, Object.keys(effects).some(function (actionType) {
                var _namespace = actionType.split('/')[0];
                if (_namespace !== namespace) return false;
                return effects[actionType];
              })));
    
              var global = Object.keys(models).some(function (namespace) {
                return models[namespace];
              });
              ret = _objectSpread2(_objectSpread2({}, state), {}, {
                global: global,
                models: models,
                effects: effects
              });
              break;
            }
    
          default:
            ret = state;
            break;
        }
    
        return ret;
      });
    
      function onEffect(effect, _ref3, model, actionType) {
        var put = _ref3.put;
        var namespace = model.namespace;
    
        if (only.length === 0 && except.length === 0 || only.length > 0 && only.indexOf(actionType) !== -1 || except.length > 0 && except.indexOf(actionType) === -1) {
          return /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
            var _args = arguments;
            return regeneratorRuntime.wrap(function _callee$(_context) {
              while (1) {
                switch (_context.prev = _context.next) {
                  case 0:
                    _context.next = 2;
                    return put({
                      type: SHOW,
                      payload: {
                        namespace: namespace,
                        actionType: actionType
                      }
                    });
    
                  case 2:
                    _context.next = 4;
                    return effect.apply(void 0, _args);
    
                  case 4:
                    _context.next = 6;
                    return put({
                      type: HIDE,
                      payload: {
                        namespace: namespace,
                        actionType: actionType
                      }
                    });
    
                  case 6:
                  case "end":
                    return _context.stop();
                }
              }
            }, _callee);
          });
        } else {
          return effect;
        }
      }
    
      return {
        extraReducers: extraReducers,
        onEffect: onEffect
      };
    }
    
    module.exports = createLoading;
    
    
    /***/ }),
    
    /***/ 68192:
    /*!****************************************************************!*\
      !*** ./node_modules/_es5-ext@0.10.64@es5-ext/function/noop.js ***!
      \****************************************************************/
    /***/ (function(module) {
    
    "use strict";
    
    
    // eslint-disable-next-line no-empty-function
    module.exports = function () {};
    
    
    /***/ }),
    
    /***/ 63474:
    /*!**********************************************************************!*\
      !*** ./node_modules/_es5-ext@0.10.64@es5-ext/object/assign/index.js ***!
      \**********************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    
    module.exports = __webpack_require__(/*! ./is-implemented */ 71111)() ? Object.assign : __webpack_require__(/*! ./shim */ 47597);
    
    
    /***/ }),
    
    /***/ 71111:
    /*!*******************************************************************************!*\
      !*** ./node_modules/_es5-ext@0.10.64@es5-ext/object/assign/is-implemented.js ***!
      \*******************************************************************************/
    /***/ (function(module) {
    
    "use strict";
    
    
    module.exports = function () {
    	var assign = Object.assign, obj;
    	if (typeof assign !== "function") return false;
    	obj = { foo: "raz" };
    	assign(obj, { bar: "dwa" }, { trzy: "trzy" });
    	return obj.foo + obj.bar + obj.trzy === "razdwatrzy";
    };
    
    
    /***/ }),
    
    /***/ 47597:
    /*!*********************************************************************!*\
      !*** ./node_modules/_es5-ext@0.10.64@es5-ext/object/assign/shim.js ***!
      \*********************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    
    var keys  = __webpack_require__(/*! ../keys */ 90721)
      , value = __webpack_require__(/*! ../valid-value */ 58883)
      , max   = Math.max;
    
    module.exports = function (dest, src /*, …srcn*/) {
    	var error, i, length = max(arguments.length, 2), assign;
    	dest = Object(value(dest));
    	assign = function (key) {
    		try {
    			dest[key] = src[key];
    		} catch (e) {
    			if (!error) error = e;
    		}
    	};
    	for (i = 1; i < length; ++i) {
    		src = arguments[i];
    		keys(src).forEach(assign);
    	}
    	if (error !== undefined) throw error;
    	return dest;
    };
    
    
    /***/ }),
    
    /***/ 67390:
    /*!******************************************************************!*\
      !*** ./node_modules/_es5-ext@0.10.64@es5-ext/object/is-value.js ***!
      \******************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    
    var _undefined = __webpack_require__(/*! ../function/noop */ 68192)(); // Support ES3 engines
    
    module.exports = function (val) { return val !== _undefined && val !== null; };
    
    
    /***/ }),
    
    /***/ 90721:
    /*!********************************************************************!*\
      !*** ./node_modules/_es5-ext@0.10.64@es5-ext/object/keys/index.js ***!
      \********************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    
    module.exports = __webpack_require__(/*! ./is-implemented */ 69075)() ? Object.keys : __webpack_require__(/*! ./shim */ 34810);
    
    
    /***/ }),
    
    /***/ 69075:
    /*!*****************************************************************************!*\
      !*** ./node_modules/_es5-ext@0.10.64@es5-ext/object/keys/is-implemented.js ***!
      \*****************************************************************************/
    /***/ (function(module) {
    
    "use strict";
    
    
    module.exports = function () {
    	try {
    		Object.keys("primitive");
    		return true;
    	} catch (e) {
    		return false;
    	}
    };
    
    
    /***/ }),
    
    /***/ 34810:
    /*!*******************************************************************!*\
      !*** ./node_modules/_es5-ext@0.10.64@es5-ext/object/keys/shim.js ***!
      \*******************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    
    var isValue = __webpack_require__(/*! ../is-value */ 67390);
    
    var keys = Object.keys;
    
    module.exports = function (object) { return keys(isValue(object) ? Object(object) : object); };
    
    
    /***/ }),
    
    /***/ 47095:
    /*!***************************************************************************!*\
      !*** ./node_modules/_es5-ext@0.10.64@es5-ext/object/normalize-options.js ***!
      \***************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    
    var isValue = __webpack_require__(/*! ./is-value */ 67390);
    
    var forEach = Array.prototype.forEach, create = Object.create;
    
    var process = function (src, obj) {
    	var key;
    	for (key in src) obj[key] = src[key];
    };
    
    // eslint-disable-next-line no-unused-vars
    module.exports = function (opts1 /*, …options*/) {
    	var result = create(null);
    	forEach.call(arguments, function (options) {
    		if (!isValue(options)) return;
    		process(Object(options), result);
    	});
    	return result;
    };
    
    
    /***/ }),
    
    /***/ 15895:
    /*!************************************************************************!*\
      !*** ./node_modules/_es5-ext@0.10.64@es5-ext/object/valid-callable.js ***!
      \************************************************************************/
    /***/ (function(module) {
    
    "use strict";
    
    
    module.exports = function (fn) {
    	if (typeof fn !== "function") throw new TypeError(fn + " is not a function");
    	return fn;
    };
    
    
    /***/ }),
    
    /***/ 58883:
    /*!*********************************************************************!*\
      !*** ./node_modules/_es5-ext@0.10.64@es5-ext/object/valid-value.js ***!
      \*********************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    
    var isValue = __webpack_require__(/*! ./is-value */ 67390);
    
    module.exports = function (value) {
    	if (!isValue(value)) throw new TypeError("Cannot use null or undefined");
    	return value;
    };
    
    
    /***/ }),
    
    /***/ 99363:
    /*!***************************************************************************!*\
      !*** ./node_modules/_es5-ext@0.10.64@es5-ext/string/�#/contains/index.js ***!
      \***************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    
    module.exports = __webpack_require__(/*! ./is-implemented */ 65136)() ? String.prototype.contains : __webpack_require__(/*! ./shim */ 12444);
    
    
    /***/ }),
    
    /***/ 65136:
    /*!************************************************************************************!*\
      !*** ./node_modules/_es5-ext@0.10.64@es5-ext/string/�#/contains/is-implemented.js ***!
      \************************************************************************************/
    /***/ (function(module) {
    
    "use strict";
    
    
    var str = "razdwatrzy";
    
    module.exports = function () {
    	if (typeof str.contains !== "function") return false;
    	return str.contains("dwa") === true && str.contains("foo") === false;
    };
    
    
    /***/ }),
    
    /***/ 12444:
    /*!**************************************************************************!*\
      !*** ./node_modules/_es5-ext@0.10.64@es5-ext/string/�#/contains/shim.js ***!
      \**************************************************************************/
    /***/ (function(module) {
    
    "use strict";
    
    
    var indexOf = String.prototype.indexOf;
    
    module.exports = function (searchString /*, position*/) {
    	return indexOf.call(this, searchString, arguments[1]) > -1;
    };
    
    
    /***/ }),
    
    /***/ 3424:
    /*!******************************************************************!*\
      !*** ./node_modules/_event-emitter@0.3.5@event-emitter/index.js ***!
      \******************************************************************/
    /***/ (function(module, exports, __webpack_require__) {
    
    "use strict";
    
    
    var d        = __webpack_require__(/*! d */ 35413)
      , callable = __webpack_require__(/*! es5-ext/object/valid-callable */ 15895)
    
      , apply = Function.prototype.apply, call = Function.prototype.call
      , create = Object.create, defineProperty = Object.defineProperty
      , defineProperties = Object.defineProperties
      , hasOwnProperty = Object.prototype.hasOwnProperty
      , descriptor = { configurable: true, enumerable: false, writable: true }
    
      , on, once, off, emit, methods, descriptors, base;
    
    on = function (type, listener) {
    	var data;
    
    	callable(listener);
    
    	if (!hasOwnProperty.call(this, '__ee__')) {
    		data = descriptor.value = create(null);
    		defineProperty(this, '__ee__', descriptor);
    		descriptor.value = null;
    	} else {
    		data = this.__ee__;
    	}
    	if (!data[type]) data[type] = listener;
    	else if (typeof data[type] === 'object') data[type].push(listener);
    	else data[type] = [data[type], listener];
    
    	return this;
    };
    
    once = function (type, listener) {
    	var once, self;
    
    	callable(listener);
    	self = this;
    	on.call(this, type, once = function () {
    		off.call(self, type, once);
    		apply.call(listener, this, arguments);
    	});
    
    	once.__eeOnceListener__ = listener;
    	return this;
    };
    
    off = function (type, listener) {
    	var data, listeners, candidate, i;
    
    	callable(listener);
    
    	if (!hasOwnProperty.call(this, '__ee__')) return this;
    	data = this.__ee__;
    	if (!data[type]) return this;
    	listeners = data[type];
    
    	if (typeof listeners === 'object') {
    		for (i = 0; (candidate = listeners[i]); ++i) {
    			if ((candidate === listener) ||
    					(candidate.__eeOnceListener__ === listener)) {
    				if (listeners.length === 2) data[type] = listeners[i ? 0 : 1];
    				else listeners.splice(i, 1);
    			}
    		}
    	} else {
    		if ((listeners === listener) ||
    				(listeners.__eeOnceListener__ === listener)) {
    			delete data[type];
    		}
    	}
    
    	return this;
    };
    
    emit = function (type) {
    	var i, l, listener, listeners, args;
    
    	if (!hasOwnProperty.call(this, '__ee__')) return;
    	listeners = this.__ee__[type];
    	if (!listeners) return;
    
    	if (typeof listeners === 'object') {
    		l = arguments.length;
    		args = new Array(l - 1);
    		for (i = 1; i < l; ++i) args[i - 1] = arguments[i];
    
    		listeners = listeners.slice();
    		for (i = 0; (listener = listeners[i]); ++i) {
    			apply.call(listener, this, args);
    		}
    	} else {
    		switch (arguments.length) {
    		case 1:
    			call.call(listeners, this);
    			break;
    		case 2:
    			call.call(listeners, this, arguments[1]);
    			break;
    		case 3:
    			call.call(listeners, this, arguments[1], arguments[2]);
    			break;
    		default:
    			l = arguments.length;
    			args = new Array(l - 1);
    			for (i = 1; i < l; ++i) {
    				args[i - 1] = arguments[i];
    			}
    			apply.call(listeners, this, args);
    		}
    	}
    };
    
    methods = {
    	on: on,
    	once: once,
    	off: off,
    	emit: emit
    };
    
    descriptors = {
    	on: d(on),
    	once: d(once),
    	off: d(off),
    	emit: d(emit)
    };
    
    base = defineProperties({}, descriptors);
    
    module.exports = exports = function (o) {
    	return (o == null) ? create(base) : defineProperties(Object(o), descriptors);
    };
    exports.methods = methods;
    
    
    /***/ }),
    
    /***/ 89381:
    /*!******************************************************!*\
      !*** ./node_modules/_flatten@1.0.3@flatten/index.js ***!
      \******************************************************/
    /***/ (function(module) {
    
    module.exports = function flatten(list, depth) {
      depth = (typeof depth == 'number') ? depth : Infinity;
    
      if (!depth) {
        if (Array.isArray(list)) {
          return list.map(function(i) { return i; });
        }
        return list;
      }
    
      return _flatten(list, 1);
    
      function _flatten(list, d) {
        return list.reduce(function (acc, item) {
          if (Array.isArray(item) && d < depth) {
            return acc.concat(_flatten(item, d + 1));
          }
          else {
            return acc.concat(item);
          }
        }, []);
      }
    };
    
    
    /***/ }),
    
    /***/ 60288:
    /*!*****************************************************!*\
      !*** ./node_modules/_global@4.4.0@global/window.js ***!
      \*****************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    var win;
    
    if (typeof window !== "undefined") {
        win = window;
    } else if (typeof __webpack_require__.g !== "undefined") {
        win = __webpack_require__.g;
    } else if (typeof self !== "undefined"){
        win = self;
    } else {
        win = {};
    }
    
    module.exports = win;
    
    
    /***/ }),
    
    /***/ 85582:
    /*!*********************************************************!*\
      !*** ./node_modules/_hash.js@1.1.7@hash.js/lib/hash.js ***!
      \*********************************************************/
    /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
    
    var hash = exports;
    
    hash.utils = __webpack_require__(/*! ./hash/utils */ 8631);
    hash.common = __webpack_require__(/*! ./hash/common */ 28766);
    hash.sha = __webpack_require__(/*! ./hash/sha */ 26672);
    hash.ripemd = __webpack_require__(/*! ./hash/ripemd */ 20427);
    hash.hmac = __webpack_require__(/*! ./hash/hmac */ 57969);
    
    // Proxy hash functions to the main object
    hash.sha1 = hash.sha.sha1;
    hash.sha256 = hash.sha.sha256;
    hash.sha224 = hash.sha.sha224;
    hash.sha384 = hash.sha.sha384;
    hash.sha512 = hash.sha.sha512;
    hash.ripemd160 = hash.ripemd.ripemd160;
    
    
    /***/ }),
    
    /***/ 28766:
    /*!****************************************************************!*\
      !*** ./node_modules/_hash.js@1.1.7@hash.js/lib/hash/common.js ***!
      \****************************************************************/
    /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
    
    "use strict";
    
    
    var utils = __webpack_require__(/*! ./utils */ 8631);
    var assert = __webpack_require__(/*! minimalistic-assert */ 61339);
    
    function BlockHash() {
      this.pending = null;
      this.pendingTotal = 0;
      this.blockSize = this.constructor.blockSize;
      this.outSize = this.constructor.outSize;
      this.hmacStrength = this.constructor.hmacStrength;
      this.padLength = this.constructor.padLength / 8;
      this.endian = 'big';
    
      this._delta8 = this.blockSize / 8;
      this._delta32 = this.blockSize / 32;
    }
    exports.BlockHash = BlockHash;
    
    BlockHash.prototype.update = function update(msg, enc) {
      // Convert message to array, pad it, and join into 32bit blocks
      msg = utils.toArray(msg, enc);
      if (!this.pending)
        this.pending = msg;
      else
        this.pending = this.pending.concat(msg);
      this.pendingTotal += msg.length;
    
      // Enough data, try updating
      if (this.pending.length >= this._delta8) {
        msg = this.pending;
    
        // Process pending data in blocks
        var r = msg.length % this._delta8;
        this.pending = msg.slice(msg.length - r, msg.length);
        if (this.pending.length === 0)
          this.pending = null;
    
        msg = utils.join32(msg, 0, msg.length - r, this.endian);
        for (var i = 0; i < msg.length; i += this._delta32)
          this._update(msg, i, i + this._delta32);
      }
    
      return this;
    };
    
    BlockHash.prototype.digest = function digest(enc) {
      this.update(this._pad());
      assert(this.pending === null);
    
      return this._digest(enc);
    };
    
    BlockHash.prototype._pad = function pad() {
      var len = this.pendingTotal;
      var bytes = this._delta8;
      var k = bytes - ((len + this.padLength) % bytes);
      var res = new Array(k + this.padLength);
      res[0] = 0x80;
      for (var i = 1; i < k; i++)
        res[i] = 0;
    
      // Append length
      len <<= 3;
      if (this.endian === 'big') {
        for (var t = 8; t < this.padLength; t++)
          res[i++] = 0;
    
        res[i++] = 0;
        res[i++] = 0;
        res[i++] = 0;
        res[i++] = 0;
        res[i++] = (len >>> 24) & 0xff;
        res[i++] = (len >>> 16) & 0xff;
        res[i++] = (len >>> 8) & 0xff;
        res[i++] = len & 0xff;
      } else {
        res[i++] = len & 0xff;
        res[i++] = (len >>> 8) & 0xff;
        res[i++] = (len >>> 16) & 0xff;
        res[i++] = (len >>> 24) & 0xff;
        res[i++] = 0;
        res[i++] = 0;
        res[i++] = 0;
        res[i++] = 0;
    
        for (t = 8; t < this.padLength; t++)
          res[i++] = 0;
      }
    
      return res;
    };
    
    
    /***/ }),
    
    /***/ 57969:
    /*!**************************************************************!*\
      !*** ./node_modules/_hash.js@1.1.7@hash.js/lib/hash/hmac.js ***!
      \**************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    
    var utils = __webpack_require__(/*! ./utils */ 8631);
    var assert = __webpack_require__(/*! minimalistic-assert */ 61339);
    
    function Hmac(hash, key, enc) {
      if (!(this instanceof Hmac))
        return new Hmac(hash, key, enc);
      this.Hash = hash;
      this.blockSize = hash.blockSize / 8;
      this.outSize = hash.outSize / 8;
      this.inner = null;
      this.outer = null;
    
      this._init(utils.toArray(key, enc));
    }
    module.exports = Hmac;
    
    Hmac.prototype._init = function init(key) {
      // Shorten key, if needed
      if (key.length > this.blockSize)
        key = new this.Hash().update(key).digest();
      assert(key.length <= this.blockSize);
    
      // Add padding to key
      for (var i = key.length; i < this.blockSize; i++)
        key.push(0);
    
      for (i = 0; i < key.length; i++)
        key[i] ^= 0x36;
      this.inner = new this.Hash().update(key);
    
      // 0x36 ^ 0x5c = 0x6a
      for (i = 0; i < key.length; i++)
        key[i] ^= 0x6a;
      this.outer = new this.Hash().update(key);
    };
    
    Hmac.prototype.update = function update(msg, enc) {
      this.inner.update(msg, enc);
      return this;
    };
    
    Hmac.prototype.digest = function digest(enc) {
      this.outer.update(this.inner.digest());
      return this.outer.digest(enc);
    };
    
    
    /***/ }),
    
    /***/ 20427:
    /*!****************************************************************!*\
      !*** ./node_modules/_hash.js@1.1.7@hash.js/lib/hash/ripemd.js ***!
      \****************************************************************/
    /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
    
    "use strict";
    
    
    var utils = __webpack_require__(/*! ./utils */ 8631);
    var common = __webpack_require__(/*! ./common */ 28766);
    
    var rotl32 = utils.rotl32;
    var sum32 = utils.sum32;
    var sum32_3 = utils.sum32_3;
    var sum32_4 = utils.sum32_4;
    var BlockHash = common.BlockHash;
    
    function RIPEMD160() {
      if (!(this instanceof RIPEMD160))
        return new RIPEMD160();
    
      BlockHash.call(this);
    
      this.h = [ 0x67452301, 0xefcdab89, 0x98badcfe, 0x10325476, 0xc3d2e1f0 ];
      this.endian = 'little';
    }
    utils.inherits(RIPEMD160, BlockHash);
    exports.ripemd160 = RIPEMD160;
    
    RIPEMD160.blockSize = 512;
    RIPEMD160.outSize = 160;
    RIPEMD160.hmacStrength = 192;
    RIPEMD160.padLength = 64;
    
    RIPEMD160.prototype._update = function update(msg, start) {
      var A = this.h[0];
      var B = this.h[1];
      var C = this.h[2];
      var D = this.h[3];
      var E = this.h[4];
      var Ah = A;
      var Bh = B;
      var Ch = C;
      var Dh = D;
      var Eh = E;
      for (var j = 0; j < 80; j++) {
        var T = sum32(
          rotl32(
            sum32_4(A, f(j, B, C, D), msg[r[j] + start], K(j)),
            s[j]),
          E);
        A = E;
        E = D;
        D = rotl32(C, 10);
        C = B;
        B = T;
        T = sum32(
          rotl32(
            sum32_4(Ah, f(79 - j, Bh, Ch, Dh), msg[rh[j] + start], Kh(j)),
            sh[j]),
          Eh);
        Ah = Eh;
        Eh = Dh;
        Dh = rotl32(Ch, 10);
        Ch = Bh;
        Bh = T;
      }
      T = sum32_3(this.h[1], C, Dh);
      this.h[1] = sum32_3(this.h[2], D, Eh);
      this.h[2] = sum32_3(this.h[3], E, Ah);
      this.h[3] = sum32_3(this.h[4], A, Bh);
      this.h[4] = sum32_3(this.h[0], B, Ch);
      this.h[0] = T;
    };
    
    RIPEMD160.prototype._digest = function digest(enc) {
      if (enc === 'hex')
        return utils.toHex32(this.h, 'little');
      else
        return utils.split32(this.h, 'little');
    };
    
    function f(j, x, y, z) {
      if (j <= 15)
        return x ^ y ^ z;
      else if (j <= 31)
        return (x & y) | ((~x) & z);
      else if (j <= 47)
        return (x | (~y)) ^ z;
      else if (j <= 63)
        return (x & z) | (y & (~z));
      else
        return x ^ (y | (~z));
    }
    
    function K(j) {
      if (j <= 15)
        return 0x00000000;
      else if (j <= 31)
        return 0x5a827999;
      else if (j <= 47)
        return 0x6ed9eba1;
      else if (j <= 63)
        return 0x8f1bbcdc;
      else
        return 0xa953fd4e;
    }
    
    function Kh(j) {
      if (j <= 15)
        return 0x50a28be6;
      else if (j <= 31)
        return 0x5c4dd124;
      else if (j <= 47)
        return 0x6d703ef3;
      else if (j <= 63)
        return 0x7a6d76e9;
      else
        return 0x00000000;
    }
    
    var r = [
      0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15,
      7, 4, 13, 1, 10, 6, 15, 3, 12, 0, 9, 5, 2, 14, 11, 8,
      3, 10, 14, 4, 9, 15, 8, 1, 2, 7, 0, 6, 13, 11, 5, 12,
      1, 9, 11, 10, 0, 8, 12, 4, 13, 3, 7, 15, 14, 5, 6, 2,
      4, 0, 5, 9, 7, 12, 2, 10, 14, 1, 3, 8, 11, 6, 15, 13
    ];
    
    var rh = [
      5, 14, 7, 0, 9, 2, 11, 4, 13, 6, 15, 8, 1, 10, 3, 12,
      6, 11, 3, 7, 0, 13, 5, 10, 14, 15, 8, 12, 4, 9, 1, 2,
      15, 5, 1, 3, 7, 14, 6, 9, 11, 8, 12, 2, 10, 0, 4, 13,
      8, 6, 4, 1, 3, 11, 15, 0, 5, 12, 2, 13, 9, 7, 10, 14,
      12, 15, 10, 4, 1, 5, 8, 7, 6, 2, 13, 14, 0, 3, 9, 11
    ];
    
    var s = [
      11, 14, 15, 12, 5, 8, 7, 9, 11, 13, 14, 15, 6, 7, 9, 8,
      7, 6, 8, 13, 11, 9, 7, 15, 7, 12, 15, 9, 11, 7, 13, 12,
      11, 13, 6, 7, 14, 9, 13, 15, 14, 8, 13, 6, 5, 12, 7, 5,
      11, 12, 14, 15, 14, 15, 9, 8, 9, 14, 5, 6, 8, 6, 5, 12,
      9, 15, 5, 11, 6, 8, 13, 12, 5, 12, 13, 14, 11, 8, 5, 6
    ];
    
    var sh = [
      8, 9, 9, 11, 13, 15, 15, 5, 7, 7, 8, 11, 14, 14, 12, 6,
      9, 13, 15, 7, 12, 8, 9, 11, 7, 7, 12, 7, 6, 15, 13, 11,
      9, 7, 15, 11, 8, 6, 6, 14, 12, 13, 5, 14, 13, 13, 7, 5,
      15, 5, 8, 11, 14, 14, 6, 14, 6, 9, 12, 9, 12, 5, 15, 8,
      8, 5, 12, 9, 12, 5, 14, 6, 8, 13, 6, 5, 15, 13, 11, 11
    ];
    
    
    /***/ }),
    
    /***/ 26672:
    /*!*************************************************************!*\
      !*** ./node_modules/_hash.js@1.1.7@hash.js/lib/hash/sha.js ***!
      \*************************************************************/
    /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
    
    "use strict";
    
    
    exports.sha1 = __webpack_require__(/*! ./sha/1 */ 16114);
    exports.sha224 = __webpack_require__(/*! ./sha/224 */ 44853);
    exports.sha256 = __webpack_require__(/*! ./sha/256 */ 6586);
    exports.sha384 = __webpack_require__(/*! ./sha/384 */ 66474);
    exports.sha512 = __webpack_require__(/*! ./sha/512 */ 50663);
    
    
    /***/ }),
    
    /***/ 16114:
    /*!***************************************************************!*\
      !*** ./node_modules/_hash.js@1.1.7@hash.js/lib/hash/sha/1.js ***!
      \***************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    
    var utils = __webpack_require__(/*! ../utils */ 8631);
    var common = __webpack_require__(/*! ../common */ 28766);
    var shaCommon = __webpack_require__(/*! ./common */ 81692);
    
    var rotl32 = utils.rotl32;
    var sum32 = utils.sum32;
    var sum32_5 = utils.sum32_5;
    var ft_1 = shaCommon.ft_1;
    var BlockHash = common.BlockHash;
    
    var sha1_K = [
      0x5A827999, 0x6ED9EBA1,
      0x8F1BBCDC, 0xCA62C1D6
    ];
    
    function SHA1() {
      if (!(this instanceof SHA1))
        return new SHA1();
    
      BlockHash.call(this);
      this.h = [
        0x67452301, 0xefcdab89, 0x98badcfe,
        0x10325476, 0xc3d2e1f0 ];
      this.W = new Array(80);
    }
    
    utils.inherits(SHA1, BlockHash);
    module.exports = SHA1;
    
    SHA1.blockSize = 512;
    SHA1.outSize = 160;
    SHA1.hmacStrength = 80;
    SHA1.padLength = 64;
    
    SHA1.prototype._update = function _update(msg, start) {
      var W = this.W;
    
      for (var i = 0; i < 16; i++)
        W[i] = msg[start + i];
    
      for(; i < W.length; i++)
        W[i] = rotl32(W[i - 3] ^ W[i - 8] ^ W[i - 14] ^ W[i - 16], 1);
    
      var a = this.h[0];
      var b = this.h[1];
      var c = this.h[2];
      var d = this.h[3];
      var e = this.h[4];
    
      for (i = 0; i < W.length; i++) {
        var s = ~~(i / 20);
        var t = sum32_5(rotl32(a, 5), ft_1(s, b, c, d), e, W[i], sha1_K[s]);
        e = d;
        d = c;
        c = rotl32(b, 30);
        b = a;
        a = t;
      }
    
      this.h[0] = sum32(this.h[0], a);
      this.h[1] = sum32(this.h[1], b);
      this.h[2] = sum32(this.h[2], c);
      this.h[3] = sum32(this.h[3], d);
      this.h[4] = sum32(this.h[4], e);
    };
    
    SHA1.prototype._digest = function digest(enc) {
      if (enc === 'hex')
        return utils.toHex32(this.h, 'big');
      else
        return utils.split32(this.h, 'big');
    };
    
    
    /***/ }),
    
    /***/ 44853:
    /*!*****************************************************************!*\
      !*** ./node_modules/_hash.js@1.1.7@hash.js/lib/hash/sha/224.js ***!
      \*****************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    
    var utils = __webpack_require__(/*! ../utils */ 8631);
    var SHA256 = __webpack_require__(/*! ./256 */ 6586);
    
    function SHA224() {
      if (!(this instanceof SHA224))
        return new SHA224();
    
      SHA256.call(this);
      this.h = [
        0xc1059ed8, 0x367cd507, 0x3070dd17, 0xf70e5939,
        0xffc00b31, 0x68581511, 0x64f98fa7, 0xbefa4fa4 ];
    }
    utils.inherits(SHA224, SHA256);
    module.exports = SHA224;
    
    SHA224.blockSize = 512;
    SHA224.outSize = 224;
    SHA224.hmacStrength = 192;
    SHA224.padLength = 64;
    
    SHA224.prototype._digest = function digest(enc) {
      // Just truncate output
      if (enc === 'hex')
        return utils.toHex32(this.h.slice(0, 7), 'big');
      else
        return utils.split32(this.h.slice(0, 7), 'big');
    };
    
    
    
    /***/ }),
    
    /***/ 6586:
    /*!*****************************************************************!*\
      !*** ./node_modules/_hash.js@1.1.7@hash.js/lib/hash/sha/256.js ***!
      \*****************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    
    var utils = __webpack_require__(/*! ../utils */ 8631);
    var common = __webpack_require__(/*! ../common */ 28766);
    var shaCommon = __webpack_require__(/*! ./common */ 81692);
    var assert = __webpack_require__(/*! minimalistic-assert */ 61339);
    
    var sum32 = utils.sum32;
    var sum32_4 = utils.sum32_4;
    var sum32_5 = utils.sum32_5;
    var ch32 = shaCommon.ch32;
    var maj32 = shaCommon.maj32;
    var s0_256 = shaCommon.s0_256;
    var s1_256 = shaCommon.s1_256;
    var g0_256 = shaCommon.g0_256;
    var g1_256 = shaCommon.g1_256;
    
    var BlockHash = common.BlockHash;
    
    var sha256_K = [
      0x428a2f98, 0x71374491, 0xb5c0fbcf, 0xe9b5dba5,
      0x3956c25b, 0x59f111f1, 0x923f82a4, 0xab1c5ed5,
      0xd807aa98, 0x12835b01, 0x243185be, 0x550c7dc3,
      0x72be5d74, 0x80deb1fe, 0x9bdc06a7, 0xc19bf174,
      0xe49b69c1, 0xefbe4786, 0x0fc19dc6, 0x240ca1cc,
      0x2de92c6f, 0x4a7484aa, 0x5cb0a9dc, 0x76f988da,
      0x983e5152, 0xa831c66d, 0xb00327c8, 0xbf597fc7,
      0xc6e00bf3, 0xd5a79147, 0x06ca6351, 0x14292967,
      0x27b70a85, 0x2e1b2138, 0x4d2c6dfc, 0x53380d13,
      0x650a7354, 0x766a0abb, 0x81c2c92e, 0x92722c85,
      0xa2bfe8a1, 0xa81a664b, 0xc24b8b70, 0xc76c51a3,
      0xd192e819, 0xd6990624, 0xf40e3585, 0x106aa070,
      0x19a4c116, 0x1e376c08, 0x2748774c, 0x34b0bcb5,
      0x391c0cb3, 0x4ed8aa4a, 0x5b9cca4f, 0x682e6ff3,
      0x748f82ee, 0x78a5636f, 0x84c87814, 0x8cc70208,
      0x90befffa, 0xa4506ceb, 0xbef9a3f7, 0xc67178f2
    ];
    
    function SHA256() {
      if (!(this instanceof SHA256))
        return new SHA256();
    
      BlockHash.call(this);
      this.h = [
        0x6a09e667, 0xbb67ae85, 0x3c6ef372, 0xa54ff53a,
        0x510e527f, 0x9b05688c, 0x1f83d9ab, 0x5be0cd19
      ];
      this.k = sha256_K;
      this.W = new Array(64);
    }
    utils.inherits(SHA256, BlockHash);
    module.exports = SHA256;
    
    SHA256.blockSize = 512;
    SHA256.outSize = 256;
    SHA256.hmacStrength = 192;
    SHA256.padLength = 64;
    
    SHA256.prototype._update = function _update(msg, start) {
      var W = this.W;
    
      for (var i = 0; i < 16; i++)
        W[i] = msg[start + i];
      for (; i < W.length; i++)
        W[i] = sum32_4(g1_256(W[i - 2]), W[i - 7], g0_256(W[i - 15]), W[i - 16]);
    
      var a = this.h[0];
      var b = this.h[1];
      var c = this.h[2];
      var d = this.h[3];
      var e = this.h[4];
      var f = this.h[5];
      var g = this.h[6];
      var h = this.h[7];
    
      assert(this.k.length === W.length);
      for (i = 0; i < W.length; i++) {
        var T1 = sum32_5(h, s1_256(e), ch32(e, f, g), this.k[i], W[i]);
        var T2 = sum32(s0_256(a), maj32(a, b, c));
        h = g;
        g = f;
        f = e;
        e = sum32(d, T1);
        d = c;
        c = b;
        b = a;
        a = sum32(T1, T2);
      }
    
      this.h[0] = sum32(this.h[0], a);
      this.h[1] = sum32(this.h[1], b);
      this.h[2] = sum32(this.h[2], c);
      this.h[3] = sum32(this.h[3], d);
      this.h[4] = sum32(this.h[4], e);
      this.h[5] = sum32(this.h[5], f);
      this.h[6] = sum32(this.h[6], g);
      this.h[7] = sum32(this.h[7], h);
    };
    
    SHA256.prototype._digest = function digest(enc) {
      if (enc === 'hex')
        return utils.toHex32(this.h, 'big');
      else
        return utils.split32(this.h, 'big');
    };
    
    
    /***/ }),
    
    /***/ 66474:
    /*!*****************************************************************!*\
      !*** ./node_modules/_hash.js@1.1.7@hash.js/lib/hash/sha/384.js ***!
      \*****************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    
    var utils = __webpack_require__(/*! ../utils */ 8631);
    
    var SHA512 = __webpack_require__(/*! ./512 */ 50663);
    
    function SHA384() {
      if (!(this instanceof SHA384))
        return new SHA384();
    
      SHA512.call(this);
      this.h = [
        0xcbbb9d5d, 0xc1059ed8,
        0x629a292a, 0x367cd507,
        0x9159015a, 0x3070dd17,
        0x152fecd8, 0xf70e5939,
        0x67332667, 0xffc00b31,
        0x8eb44a87, 0x68581511,
        0xdb0c2e0d, 0x64f98fa7,
        0x47b5481d, 0xbefa4fa4 ];
    }
    utils.inherits(SHA384, SHA512);
    module.exports = SHA384;
    
    SHA384.blockSize = 1024;
    SHA384.outSize = 384;
    SHA384.hmacStrength = 192;
    SHA384.padLength = 128;
    
    SHA384.prototype._digest = function digest(enc) {
      if (enc === 'hex')
        return utils.toHex32(this.h.slice(0, 12), 'big');
      else
        return utils.split32(this.h.slice(0, 12), 'big');
    };
    
    
    /***/ }),
    
    /***/ 50663:
    /*!*****************************************************************!*\
      !*** ./node_modules/_hash.js@1.1.7@hash.js/lib/hash/sha/512.js ***!
      \*****************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    
    var utils = __webpack_require__(/*! ../utils */ 8631);
    var common = __webpack_require__(/*! ../common */ 28766);
    var assert = __webpack_require__(/*! minimalistic-assert */ 61339);
    
    var rotr64_hi = utils.rotr64_hi;
    var rotr64_lo = utils.rotr64_lo;
    var shr64_hi = utils.shr64_hi;
    var shr64_lo = utils.shr64_lo;
    var sum64 = utils.sum64;
    var sum64_hi = utils.sum64_hi;
    var sum64_lo = utils.sum64_lo;
    var sum64_4_hi = utils.sum64_4_hi;
    var sum64_4_lo = utils.sum64_4_lo;
    var sum64_5_hi = utils.sum64_5_hi;
    var sum64_5_lo = utils.sum64_5_lo;
    
    var BlockHash = common.BlockHash;
    
    var sha512_K = [
      0x428a2f98, 0xd728ae22, 0x71374491, 0x23ef65cd,
      0xb5c0fbcf, 0xec4d3b2f, 0xe9b5dba5, 0x8189dbbc,
      0x3956c25b, 0xf348b538, 0x59f111f1, 0xb605d019,
      0x923f82a4, 0xaf194f9b, 0xab1c5ed5, 0xda6d8118,
      0xd807aa98, 0xa3030242, 0x12835b01, 0x45706fbe,
      0x243185be, 0x4ee4b28c, 0x550c7dc3, 0xd5ffb4e2,
      0x72be5d74, 0xf27b896f, 0x80deb1fe, 0x3b1696b1,
      0x9bdc06a7, 0x25c71235, 0xc19bf174, 0xcf692694,
      0xe49b69c1, 0x9ef14ad2, 0xefbe4786, 0x384f25e3,
      0x0fc19dc6, 0x8b8cd5b5, 0x240ca1cc, 0x77ac9c65,
      0x2de92c6f, 0x592b0275, 0x4a7484aa, 0x6ea6e483,
      0x5cb0a9dc, 0xbd41fbd4, 0x76f988da, 0x831153b5,
      0x983e5152, 0xee66dfab, 0xa831c66d, 0x2db43210,
      0xb00327c8, 0x98fb213f, 0xbf597fc7, 0xbeef0ee4,
      0xc6e00bf3, 0x3da88fc2, 0xd5a79147, 0x930aa725,
      0x06ca6351, 0xe003826f, 0x14292967, 0x0a0e6e70,
      0x27b70a85, 0x46d22ffc, 0x2e1b2138, 0x5c26c926,
      0x4d2c6dfc, 0x5ac42aed, 0x53380d13, 0x9d95b3df,
      0x650a7354, 0x8baf63de, 0x766a0abb, 0x3c77b2a8,
      0x81c2c92e, 0x47edaee6, 0x92722c85, 0x1482353b,
      0xa2bfe8a1, 0x4cf10364, 0xa81a664b, 0xbc423001,
      0xc24b8b70, 0xd0f89791, 0xc76c51a3, 0x0654be30,
      0xd192e819, 0xd6ef5218, 0xd6990624, 0x5565a910,
      0xf40e3585, 0x5771202a, 0x106aa070, 0x32bbd1b8,
      0x19a4c116, 0xb8d2d0c8, 0x1e376c08, 0x5141ab53,
      0x2748774c, 0xdf8eeb99, 0x34b0bcb5, 0xe19b48a8,
      0x391c0cb3, 0xc5c95a63, 0x4ed8aa4a, 0xe3418acb,
      0x5b9cca4f, 0x7763e373, 0x682e6ff3, 0xd6b2b8a3,
      0x748f82ee, 0x5defb2fc, 0x78a5636f, 0x43172f60,
      0x84c87814, 0xa1f0ab72, 0x8cc70208, 0x1a6439ec,
      0x90befffa, 0x23631e28, 0xa4506ceb, 0xde82bde9,
      0xbef9a3f7, 0xb2c67915, 0xc67178f2, 0xe372532b,
      0xca273ece, 0xea26619c, 0xd186b8c7, 0x21c0c207,
      0xeada7dd6, 0xcde0eb1e, 0xf57d4f7f, 0xee6ed178,
      0x06f067aa, 0x72176fba, 0x0a637dc5, 0xa2c898a6,
      0x113f9804, 0xbef90dae, 0x1b710b35, 0x131c471b,
      0x28db77f5, 0x23047d84, 0x32caab7b, 0x40c72493,
      0x3c9ebe0a, 0x15c9bebc, 0x431d67c4, 0x9c100d4c,
      0x4cc5d4be, 0xcb3e42b6, 0x597f299c, 0xfc657e2a,
      0x5fcb6fab, 0x3ad6faec, 0x6c44198c, 0x4a475817
    ];
    
    function SHA512() {
      if (!(this instanceof SHA512))
        return new SHA512();
    
      BlockHash.call(this);
      this.h = [
        0x6a09e667, 0xf3bcc908,
        0xbb67ae85, 0x84caa73b,
        0x3c6ef372, 0xfe94f82b,
        0xa54ff53a, 0x5f1d36f1,
        0x510e527f, 0xade682d1,
        0x9b05688c, 0x2b3e6c1f,
        0x1f83d9ab, 0xfb41bd6b,
        0x5be0cd19, 0x137e2179 ];
      this.k = sha512_K;
      this.W = new Array(160);
    }
    utils.inherits(SHA512, BlockHash);
    module.exports = SHA512;
    
    SHA512.blockSize = 1024;
    SHA512.outSize = 512;
    SHA512.hmacStrength = 192;
    SHA512.padLength = 128;
    
    SHA512.prototype._prepareBlock = function _prepareBlock(msg, start) {
      var W = this.W;
    
      // 32 x 32bit words
      for (var i = 0; i < 32; i++)
        W[i] = msg[start + i];
      for (; i < W.length; i += 2) {
        var c0_hi = g1_512_hi(W[i - 4], W[i - 3]);  // i - 2
        var c0_lo = g1_512_lo(W[i - 4], W[i - 3]);
        var c1_hi = W[i - 14];  // i - 7
        var c1_lo = W[i - 13];
        var c2_hi = g0_512_hi(W[i - 30], W[i - 29]);  // i - 15
        var c2_lo = g0_512_lo(W[i - 30], W[i - 29]);
        var c3_hi = W[i - 32];  // i - 16
        var c3_lo = W[i - 31];
    
        W[i] = sum64_4_hi(
          c0_hi, c0_lo,
          c1_hi, c1_lo,
          c2_hi, c2_lo,
          c3_hi, c3_lo);
        W[i + 1] = sum64_4_lo(
          c0_hi, c0_lo,
          c1_hi, c1_lo,
          c2_hi, c2_lo,
          c3_hi, c3_lo);
      }
    };
    
    SHA512.prototype._update = function _update(msg, start) {
      this._prepareBlock(msg, start);
    
      var W = this.W;
    
      var ah = this.h[0];
      var al = this.h[1];
      var bh = this.h[2];
      var bl = this.h[3];
      var ch = this.h[4];
      var cl = this.h[5];
      var dh = this.h[6];
      var dl = this.h[7];
      var eh = this.h[8];
      var el = this.h[9];
      var fh = this.h[10];
      var fl = this.h[11];
      var gh = this.h[12];
      var gl = this.h[13];
      var hh = this.h[14];
      var hl = this.h[15];
    
      assert(this.k.length === W.length);
      for (var i = 0; i < W.length; i += 2) {
        var c0_hi = hh;
        var c0_lo = hl;
        var c1_hi = s1_512_hi(eh, el);
        var c1_lo = s1_512_lo(eh, el);
        var c2_hi = ch64_hi(eh, el, fh, fl, gh, gl);
        var c2_lo = ch64_lo(eh, el, fh, fl, gh, gl);
        var c3_hi = this.k[i];
        var c3_lo = this.k[i + 1];
        var c4_hi = W[i];
        var c4_lo = W[i + 1];
    
        var T1_hi = sum64_5_hi(
          c0_hi, c0_lo,
          c1_hi, c1_lo,
          c2_hi, c2_lo,
          c3_hi, c3_lo,
          c4_hi, c4_lo);
        var T1_lo = sum64_5_lo(
          c0_hi, c0_lo,
          c1_hi, c1_lo,
          c2_hi, c2_lo,
          c3_hi, c3_lo,
          c4_hi, c4_lo);
    
        c0_hi = s0_512_hi(ah, al);
        c0_lo = s0_512_lo(ah, al);
        c1_hi = maj64_hi(ah, al, bh, bl, ch, cl);
        c1_lo = maj64_lo(ah, al, bh, bl, ch, cl);
    
        var T2_hi = sum64_hi(c0_hi, c0_lo, c1_hi, c1_lo);
        var T2_lo = sum64_lo(c0_hi, c0_lo, c1_hi, c1_lo);
    
        hh = gh;
        hl = gl;
    
        gh = fh;
        gl = fl;
    
        fh = eh;
        fl = el;
    
        eh = sum64_hi(dh, dl, T1_hi, T1_lo);
        el = sum64_lo(dl, dl, T1_hi, T1_lo);
    
        dh = ch;
        dl = cl;
    
        ch = bh;
        cl = bl;
    
        bh = ah;
        bl = al;
    
        ah = sum64_hi(T1_hi, T1_lo, T2_hi, T2_lo);
        al = sum64_lo(T1_hi, T1_lo, T2_hi, T2_lo);
      }
    
      sum64(this.h, 0, ah, al);
      sum64(this.h, 2, bh, bl);
      sum64(this.h, 4, ch, cl);
      sum64(this.h, 6, dh, dl);
      sum64(this.h, 8, eh, el);
      sum64(this.h, 10, fh, fl);
      sum64(this.h, 12, gh, gl);
      sum64(this.h, 14, hh, hl);
    };
    
    SHA512.prototype._digest = function digest(enc) {
      if (enc === 'hex')
        return utils.toHex32(this.h, 'big');
      else
        return utils.split32(this.h, 'big');
    };
    
    function ch64_hi(xh, xl, yh, yl, zh) {
      var r = (xh & yh) ^ ((~xh) & zh);
      if (r < 0)
        r += 0x100000000;
      return r;
    }
    
    function ch64_lo(xh, xl, yh, yl, zh, zl) {
      var r = (xl & yl) ^ ((~xl) & zl);
      if (r < 0)
        r += 0x100000000;
      return r;
    }
    
    function maj64_hi(xh, xl, yh, yl, zh) {
      var r = (xh & yh) ^ (xh & zh) ^ (yh & zh);
      if (r < 0)
        r += 0x100000000;
      return r;
    }
    
    function maj64_lo(xh, xl, yh, yl, zh, zl) {
      var r = (xl & yl) ^ (xl & zl) ^ (yl & zl);
      if (r < 0)
        r += 0x100000000;
      return r;
    }
    
    function s0_512_hi(xh, xl) {
      var c0_hi = rotr64_hi(xh, xl, 28);
      var c1_hi = rotr64_hi(xl, xh, 2);  // 34
      var c2_hi = rotr64_hi(xl, xh, 7);  // 39
    
      var r = c0_hi ^ c1_hi ^ c2_hi;
      if (r < 0)
        r += 0x100000000;
      return r;
    }
    
    function s0_512_lo(xh, xl) {
      var c0_lo = rotr64_lo(xh, xl, 28);
      var c1_lo = rotr64_lo(xl, xh, 2);  // 34
      var c2_lo = rotr64_lo(xl, xh, 7);  // 39
    
      var r = c0_lo ^ c1_lo ^ c2_lo;
      if (r < 0)
        r += 0x100000000;
      return r;
    }
    
    function s1_512_hi(xh, xl) {
      var c0_hi = rotr64_hi(xh, xl, 14);
      var c1_hi = rotr64_hi(xh, xl, 18);
      var c2_hi = rotr64_hi(xl, xh, 9);  // 41
    
      var r = c0_hi ^ c1_hi ^ c2_hi;
      if (r < 0)
        r += 0x100000000;
      return r;
    }
    
    function s1_512_lo(xh, xl) {
      var c0_lo = rotr64_lo(xh, xl, 14);
      var c1_lo = rotr64_lo(xh, xl, 18);
      var c2_lo = rotr64_lo(xl, xh, 9);  // 41
    
      var r = c0_lo ^ c1_lo ^ c2_lo;
      if (r < 0)
        r += 0x100000000;
      return r;
    }
    
    function g0_512_hi(xh, xl) {
      var c0_hi = rotr64_hi(xh, xl, 1);
      var c1_hi = rotr64_hi(xh, xl, 8);
      var c2_hi = shr64_hi(xh, xl, 7);
    
      var r = c0_hi ^ c1_hi ^ c2_hi;
      if (r < 0)
        r += 0x100000000;
      return r;
    }
    
    function g0_512_lo(xh, xl) {
      var c0_lo = rotr64_lo(xh, xl, 1);
      var c1_lo = rotr64_lo(xh, xl, 8);
      var c2_lo = shr64_lo(xh, xl, 7);
    
      var r = c0_lo ^ c1_lo ^ c2_lo;
      if (r < 0)
        r += 0x100000000;
      return r;
    }
    
    function g1_512_hi(xh, xl) {
      var c0_hi = rotr64_hi(xh, xl, 19);
      var c1_hi = rotr64_hi(xl, xh, 29);  // 61
      var c2_hi = shr64_hi(xh, xl, 6);
    
      var r = c0_hi ^ c1_hi ^ c2_hi;
      if (r < 0)
        r += 0x100000000;
      return r;
    }
    
    function g1_512_lo(xh, xl) {
      var c0_lo = rotr64_lo(xh, xl, 19);
      var c1_lo = rotr64_lo(xl, xh, 29);  // 61
      var c2_lo = shr64_lo(xh, xl, 6);
    
      var r = c0_lo ^ c1_lo ^ c2_lo;
      if (r < 0)
        r += 0x100000000;
      return r;
    }
    
    
    /***/ }),
    
    /***/ 81692:
    /*!********************************************************************!*\
      !*** ./node_modules/_hash.js@1.1.7@hash.js/lib/hash/sha/common.js ***!
      \********************************************************************/
    /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
    
    "use strict";
    
    
    var utils = __webpack_require__(/*! ../utils */ 8631);
    var rotr32 = utils.rotr32;
    
    function ft_1(s, x, y, z) {
      if (s === 0)
        return ch32(x, y, z);
      if (s === 1 || s === 3)
        return p32(x, y, z);
      if (s === 2)
        return maj32(x, y, z);
    }
    exports.ft_1 = ft_1;
    
    function ch32(x, y, z) {
      return (x & y) ^ ((~x) & z);
    }
    exports.ch32 = ch32;
    
    function maj32(x, y, z) {
      return (x & y) ^ (x & z) ^ (y & z);
    }
    exports.maj32 = maj32;
    
    function p32(x, y, z) {
      return x ^ y ^ z;
    }
    exports.p32 = p32;
    
    function s0_256(x) {
      return rotr32(x, 2) ^ rotr32(x, 13) ^ rotr32(x, 22);
    }
    exports.s0_256 = s0_256;
    
    function s1_256(x) {
      return rotr32(x, 6) ^ rotr32(x, 11) ^ rotr32(x, 25);
    }
    exports.s1_256 = s1_256;
    
    function g0_256(x) {
      return rotr32(x, 7) ^ rotr32(x, 18) ^ (x >>> 3);
    }
    exports.g0_256 = g0_256;
    
    function g1_256(x) {
      return rotr32(x, 17) ^ rotr32(x, 19) ^ (x >>> 10);
    }
    exports.g1_256 = g1_256;
    
    
    /***/ }),
    
    /***/ 8631:
    /*!***************************************************************!*\
      !*** ./node_modules/_hash.js@1.1.7@hash.js/lib/hash/utils.js ***!
      \***************************************************************/
    /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
    
    "use strict";
    
    
    var assert = __webpack_require__(/*! minimalistic-assert */ 61339);
    var inherits = __webpack_require__(/*! inherits */ 4603);
    
    exports.inherits = inherits;
    
    function isSurrogatePair(msg, i) {
      if ((msg.charCodeAt(i) & 0xFC00) !== 0xD800) {
        return false;
      }
      if (i < 0 || i + 1 >= msg.length) {
        return false;
      }
      return (msg.charCodeAt(i + 1) & 0xFC00) === 0xDC00;
    }
    
    function toArray(msg, enc) {
      if (Array.isArray(msg))
        return msg.slice();
      if (!msg)
        return [];
      var res = [];
      if (typeof msg === 'string') {
        if (!enc) {
          // Inspired by stringToUtf8ByteArray() in closure-library by Google
          // https://github.com/google/closure-library/blob/8598d87242af59aac233270742c8984e2b2bdbe0/closure/goog/crypt/crypt.js#L117-L143
          // Apache License 2.0
          // https://github.com/google/closure-library/blob/master/LICENSE
          var p = 0;
          for (var i = 0; i < msg.length; i++) {
            var c = msg.charCodeAt(i);
            if (c < 128) {
              res[p++] = c;
            } else if (c < 2048) {
              res[p++] = (c >> 6) | 192;
              res[p++] = (c & 63) | 128;
            } else if (isSurrogatePair(msg, i)) {
              c = 0x10000 + ((c & 0x03FF) << 10) + (msg.charCodeAt(++i) & 0x03FF);
              res[p++] = (c >> 18) | 240;
              res[p++] = ((c >> 12) & 63) | 128;
              res[p++] = ((c >> 6) & 63) | 128;
              res[p++] = (c & 63) | 128;
            } else {
              res[p++] = (c >> 12) | 224;
              res[p++] = ((c >> 6) & 63) | 128;
              res[p++] = (c & 63) | 128;
            }
          }
        } else if (enc === 'hex') {
          msg = msg.replace(/[^a-z0-9]+/ig, '');
          if (msg.length % 2 !== 0)
            msg = '0' + msg;
          for (i = 0; i < msg.length; i += 2)
            res.push(parseInt(msg[i] + msg[i + 1], 16));
        }
      } else {
        for (i = 0; i < msg.length; i++)
          res[i] = msg[i] | 0;
      }
      return res;
    }
    exports.toArray = toArray;
    
    function toHex(msg) {
      var res = '';
      for (var i = 0; i < msg.length; i++)
        res += zero2(msg[i].toString(16));
      return res;
    }
    exports.toHex = toHex;
    
    function htonl(w) {
      var res = (w >>> 24) |
                ((w >>> 8) & 0xff00) |
                ((w << 8) & 0xff0000) |
                ((w & 0xff) << 24);
      return res >>> 0;
    }
    exports.htonl = htonl;
    
    function toHex32(msg, endian) {
      var res = '';
      for (var i = 0; i < msg.length; i++) {
        var w = msg[i];
        if (endian === 'little')
          w = htonl(w);
        res += zero8(w.toString(16));
      }
      return res;
    }
    exports.toHex32 = toHex32;
    
    function zero2(word) {
      if (word.length === 1)
        return '0' + word;
      else
        return word;
    }
    exports.zero2 = zero2;
    
    function zero8(word) {
      if (word.length === 7)
        return '0' + word;
      else if (word.length === 6)
        return '00' + word;
      else if (word.length === 5)
        return '000' + word;
      else if (word.length === 4)
        return '0000' + word;
      else if (word.length === 3)
        return '00000' + word;
      else if (word.length === 2)
        return '000000' + word;
      else if (word.length === 1)
        return '0000000' + word;
      else
        return word;
    }
    exports.zero8 = zero8;
    
    function join32(msg, start, end, endian) {
      var len = end - start;
      assert(len % 4 === 0);
      var res = new Array(len / 4);
      for (var i = 0, k = start; i < res.length; i++, k += 4) {
        var w;
        if (endian === 'big')
          w = (msg[k] << 24) | (msg[k + 1] << 16) | (msg[k + 2] << 8) | msg[k + 3];
        else
          w = (msg[k + 3] << 24) | (msg[k + 2] << 16) | (msg[k + 1] << 8) | msg[k];
        res[i] = w >>> 0;
      }
      return res;
    }
    exports.join32 = join32;
    
    function split32(msg, endian) {
      var res = new Array(msg.length * 4);
      for (var i = 0, k = 0; i < msg.length; i++, k += 4) {
        var m = msg[i];
        if (endian === 'big') {
          res[k] = m >>> 24;
          res[k + 1] = (m >>> 16) & 0xff;
          res[k + 2] = (m >>> 8) & 0xff;
          res[k + 3] = m & 0xff;
        } else {
          res[k + 3] = m >>> 24;
          res[k + 2] = (m >>> 16) & 0xff;
          res[k + 1] = (m >>> 8) & 0xff;
          res[k] = m & 0xff;
        }
      }
      return res;
    }
    exports.split32 = split32;
    
    function rotr32(w, b) {
      return (w >>> b) | (w << (32 - b));
    }
    exports.rotr32 = rotr32;
    
    function rotl32(w, b) {
      return (w << b) | (w >>> (32 - b));
    }
    exports.rotl32 = rotl32;
    
    function sum32(a, b) {
      return (a + b) >>> 0;
    }
    exports.sum32 = sum32;
    
    function sum32_3(a, b, c) {
      return (a + b + c) >>> 0;
    }
    exports.sum32_3 = sum32_3;
    
    function sum32_4(a, b, c, d) {
      return (a + b + c + d) >>> 0;
    }
    exports.sum32_4 = sum32_4;
    
    function sum32_5(a, b, c, d, e) {
      return (a + b + c + d + e) >>> 0;
    }
    exports.sum32_5 = sum32_5;
    
    function sum64(buf, pos, ah, al) {
      var bh = buf[pos];
      var bl = buf[pos + 1];
    
      var lo = (al + bl) >>> 0;
      var hi = (lo < al ? 1 : 0) + ah + bh;
      buf[pos] = hi >>> 0;
      buf[pos + 1] = lo;
    }
    exports.sum64 = sum64;
    
    function sum64_hi(ah, al, bh, bl) {
      var lo = (al + bl) >>> 0;
      var hi = (lo < al ? 1 : 0) + ah + bh;
      return hi >>> 0;
    }
    exports.sum64_hi = sum64_hi;
    
    function sum64_lo(ah, al, bh, bl) {
      var lo = al + bl;
      return lo >>> 0;
    }
    exports.sum64_lo = sum64_lo;
    
    function sum64_4_hi(ah, al, bh, bl, ch, cl, dh, dl) {
      var carry = 0;
      var lo = al;
      lo = (lo + bl) >>> 0;
      carry += lo < al ? 1 : 0;
      lo = (lo + cl) >>> 0;
      carry += lo < cl ? 1 : 0;
      lo = (lo + dl) >>> 0;
      carry += lo < dl ? 1 : 0;
    
      var hi = ah + bh + ch + dh + carry;
      return hi >>> 0;
    }
    exports.sum64_4_hi = sum64_4_hi;
    
    function sum64_4_lo(ah, al, bh, bl, ch, cl, dh, dl) {
      var lo = al + bl + cl + dl;
      return lo >>> 0;
    }
    exports.sum64_4_lo = sum64_4_lo;
    
    function sum64_5_hi(ah, al, bh, bl, ch, cl, dh, dl, eh, el) {
      var carry = 0;
      var lo = al;
      lo = (lo + bl) >>> 0;
      carry += lo < al ? 1 : 0;
      lo = (lo + cl) >>> 0;
      carry += lo < cl ? 1 : 0;
      lo = (lo + dl) >>> 0;
      carry += lo < dl ? 1 : 0;
      lo = (lo + el) >>> 0;
      carry += lo < el ? 1 : 0;
    
      var hi = ah + bh + ch + dh + eh + carry;
      return hi >>> 0;
    }
    exports.sum64_5_hi = sum64_5_hi;
    
    function sum64_5_lo(ah, al, bh, bl, ch, cl, dh, dl, eh, el) {
      var lo = al + bl + cl + dl + el;
    
      return lo >>> 0;
    }
    exports.sum64_5_lo = sum64_5_lo;
    
    function rotr64_hi(ah, al, num) {
      var r = (al << (32 - num)) | (ah >>> num);
      return r >>> 0;
    }
    exports.rotr64_hi = rotr64_hi;
    
    function rotr64_lo(ah, al, num) {
      var r = (ah << (32 - num)) | (al >>> num);
      return r >>> 0;
    }
    exports.rotr64_lo = rotr64_lo;
    
    function shr64_hi(ah, al, num) {
      return ah >>> num;
    }
    exports.shr64_hi = shr64_hi;
    
    function shr64_lo(ah, al, num) {
      var r = (ah << (32 - num)) | (al >>> num);
      return r >>> 0;
    }
    exports.shr64_lo = shr64_lo;
    
    
    /***/ }),
    
    /***/ 19340:
    /*!******************************************************!*\
      !*** ./node_modules/_history@5.3.0@history/index.js ***!
      \******************************************************/
    /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
    
    "use strict";
    /* harmony export */ __webpack_require__.d(__webpack_exports__, {
    /* harmony export */   Ep: function() { return /* binding */ createPath; },
    /* harmony export */   PP: function() { return /* binding */ createMemoryHistory; },
    /* harmony export */   aU: function() { return /* binding */ Action; },
    /* harmony export */   cP: function() { return /* binding */ parsePath; },
    /* harmony export */   lX: function() { return /* binding */ createBrowserHistory; },
    /* harmony export */   q_: function() { return /* binding */ createHashHistory; }
    /* harmony export */ });
    /* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ 60499);
    
    
    /**
     * Actions represent the type of change to a location value.
     *
     * @see https://github.com/remix-run/history/tree/main/docs/api-reference.md#action
     */
    var Action;
    
    (function (Action) {
      /**
       * A POP indicates a change to an arbitrary index in the history stack, such
       * as a back or forward navigation. It does not describe the direction of the
       * navigation, only that the current index changed.
       *
       * Note: This is the default action for newly created history objects.
       */
      Action["Pop"] = "POP";
      /**
       * A PUSH indicates a new entry being added to the history stack, such as when
       * a link is clicked and a new page loads. When this happens, all subsequent
       * entries in the stack are lost.
       */
    
      Action["Push"] = "PUSH";
      /**
       * A REPLACE indicates the entry at the current index in the history stack
       * being replaced by a new one.
       */
    
      Action["Replace"] = "REPLACE";
    })(Action || (Action = {}));
    
    var readOnly =  false ? 0 : function (obj) {
      return obj;
    };
    
    function warning(cond, message) {
      if (!cond) {
        // eslint-disable-next-line no-console
        if (typeof console !== 'undefined') console.warn(message);
    
        try {
          // Welcome to debugging history!
          //
          // This error is thrown as a convenience so you can more easily
          // find the source for a warning that appears in the console by
          // enabling "pause on exceptions" in your JavaScript debugger.
          throw new Error(message); // eslint-disable-next-line no-empty
        } catch (e) {}
      }
    }
    
    var BeforeUnloadEventType = 'beforeunload';
    var HashChangeEventType = 'hashchange';
    var PopStateEventType = 'popstate';
    /**
     * Browser history stores the location in regular URLs. This is the standard for
     * most web apps, but it requires some configuration on the server to ensure you
     * serve the same app at multiple URLs.
     *
     * @see https://github.com/remix-run/history/tree/main/docs/api-reference.md#createbrowserhistory
     */
    
    function createBrowserHistory(options) {
      if (options === void 0) {
        options = {};
      }
    
      var _options = options,
          _options$window = _options.window,
          window = _options$window === void 0 ? document.defaultView : _options$window;
      var globalHistory = window.history;
    
      function getIndexAndLocation() {
        var _window$location = window.location,
            pathname = _window$location.pathname,
            search = _window$location.search,
            hash = _window$location.hash;
        var state = globalHistory.state || {};
        return [state.idx, readOnly({
          pathname: pathname,
          search: search,
          hash: hash,
          state: state.usr || null,
          key: state.key || 'default'
        })];
      }
    
      var blockedPopTx = null;
    
      function handlePop() {
        if (blockedPopTx) {
          blockers.call(blockedPopTx);
          blockedPopTx = null;
        } else {
          var nextAction = Action.Pop;
    
          var _getIndexAndLocation = getIndexAndLocation(),
              nextIndex = _getIndexAndLocation[0],
              nextLocation = _getIndexAndLocation[1];
    
          if (blockers.length) {
            if (nextIndex != null) {
              var delta = index - nextIndex;
    
              if (delta) {
                // Revert the POP
                blockedPopTx = {
                  action: nextAction,
                  location: nextLocation,
                  retry: function retry() {
                    go(delta * -1);
                  }
                };
                go(delta);
              }
            } else {
              // Trying to POP to a location with no index. We did not create
              // this location, so we can't effectively block the navigation.
               false ? 0 : void 0;
            }
          } else {
            applyTx(nextAction);
          }
        }
      }
    
      window.addEventListener(PopStateEventType, handlePop);
      var action = Action.Pop;
    
      var _getIndexAndLocation2 = getIndexAndLocation(),
          index = _getIndexAndLocation2[0],
          location = _getIndexAndLocation2[1];
    
      var listeners = createEvents();
      var blockers = createEvents();
    
      if (index == null) {
        index = 0;
        globalHistory.replaceState((0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)({}, globalHistory.state, {
          idx: index
        }), '');
      }
    
      function createHref(to) {
        return typeof to === 'string' ? to : createPath(to);
      } // state defaults to `null` because `window.history.state` does
    
    
      function getNextLocation(to, state) {
        if (state === void 0) {
          state = null;
        }
    
        return readOnly((0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)({
          pathname: location.pathname,
          hash: '',
          search: ''
        }, typeof to === 'string' ? parsePath(to) : to, {
          state: state,
          key: createKey()
        }));
      }
    
      function getHistoryStateAndUrl(nextLocation, index) {
        return [{
          usr: nextLocation.state,
          key: nextLocation.key,
          idx: index
        }, createHref(nextLocation)];
      }
    
      function allowTx(action, location, retry) {
        return !blockers.length || (blockers.call({
          action: action,
          location: location,
          retry: retry
        }), false);
      }
    
      function applyTx(nextAction) {
        action = nextAction;
    
        var _getIndexAndLocation3 = getIndexAndLocation();
    
        index = _getIndexAndLocation3[0];
        location = _getIndexAndLocation3[1];
        listeners.call({
          action: action,
          location: location
        });
      }
    
      function push(to, state) {
        var nextAction = Action.Push;
        var nextLocation = getNextLocation(to, state);
    
        function retry() {
          push(to, state);
        }
    
        if (allowTx(nextAction, nextLocation, retry)) {
          var _getHistoryStateAndUr = getHistoryStateAndUrl(nextLocation, index + 1),
              historyState = _getHistoryStateAndUr[0],
              url = _getHistoryStateAndUr[1]; // TODO: Support forced reloading
          // try...catch because iOS limits us to 100 pushState calls :/
    
    
          try {
            globalHistory.pushState(historyState, '', url);
          } catch (error) {
            // They are going to lose state here, but there is no real
            // way to warn them about it since the page will refresh...
            window.location.assign(url);
          }
    
          applyTx(nextAction);
        }
      }
    
      function replace(to, state) {
        var nextAction = Action.Replace;
        var nextLocation = getNextLocation(to, state);
    
        function retry() {
          replace(to, state);
        }
    
        if (allowTx(nextAction, nextLocation, retry)) {
          var _getHistoryStateAndUr2 = getHistoryStateAndUrl(nextLocation, index),
              historyState = _getHistoryStateAndUr2[0],
              url = _getHistoryStateAndUr2[1]; // TODO: Support forced reloading
    
    
          globalHistory.replaceState(historyState, '', url);
          applyTx(nextAction);
        }
      }
    
      function go(delta) {
        globalHistory.go(delta);
      }
    
      var history = {
        get action() {
          return action;
        },
    
        get location() {
          return location;
        },
    
        createHref: createHref,
        push: push,
        replace: replace,
        go: go,
        back: function back() {
          go(-1);
        },
        forward: function forward() {
          go(1);
        },
        listen: function listen(listener) {
          return listeners.push(listener);
        },
        block: function block(blocker) {
          var unblock = blockers.push(blocker);
    
          if (blockers.length === 1) {
            window.addEventListener(BeforeUnloadEventType, promptBeforeUnload);
          }
    
          return function () {
            unblock(); // Remove the beforeunload listener so the document may
            // still be salvageable in the pagehide event.
            // See https://html.spec.whatwg.org/#unloading-documents
    
            if (!blockers.length) {
              window.removeEventListener(BeforeUnloadEventType, promptBeforeUnload);
            }
          };
        }
      };
      return history;
    }
    /**
     * Hash history stores the location in window.location.hash. This makes it ideal
     * for situations where you don't want to send the location to the server for
     * some reason, either because you do cannot configure it or the URL space is
     * reserved for something else.
     *
     * @see https://github.com/remix-run/history/tree/main/docs/api-reference.md#createhashhistory
     */
    
    function createHashHistory(options) {
      if (options === void 0) {
        options = {};
      }
    
      var _options2 = options,
          _options2$window = _options2.window,
          window = _options2$window === void 0 ? document.defaultView : _options2$window;
      var globalHistory = window.history;
    
      function getIndexAndLocation() {
        var _parsePath = parsePath(window.location.hash.substr(1)),
            _parsePath$pathname = _parsePath.pathname,
            pathname = _parsePath$pathname === void 0 ? '/' : _parsePath$pathname,
            _parsePath$search = _parsePath.search,
            search = _parsePath$search === void 0 ? '' : _parsePath$search,
            _parsePath$hash = _parsePath.hash,
            hash = _parsePath$hash === void 0 ? '' : _parsePath$hash;
    
        var state = globalHistory.state || {};
        return [state.idx, readOnly({
          pathname: pathname,
          search: search,
          hash: hash,
          state: state.usr || null,
          key: state.key || 'default'
        })];
      }
    
      var blockedPopTx = null;
    
      function handlePop() {
        if (blockedPopTx) {
          blockers.call(blockedPopTx);
          blockedPopTx = null;
        } else {
          var nextAction = Action.Pop;
    
          var _getIndexAndLocation4 = getIndexAndLocation(),
              nextIndex = _getIndexAndLocation4[0],
              nextLocation = _getIndexAndLocation4[1];
    
          if (blockers.length) {
            if (nextIndex != null) {
              var delta = index - nextIndex;
    
              if (delta) {
                // Revert the POP
                blockedPopTx = {
                  action: nextAction,
                  location: nextLocation,
                  retry: function retry() {
                    go(delta * -1);
                  }
                };
                go(delta);
              }
            } else {
              // Trying to POP to a location with no index. We did not create
              // this location, so we can't effectively block the navigation.
               false ? 0 : void 0;
            }
          } else {
            applyTx(nextAction);
          }
        }
      }
    
      window.addEventListener(PopStateEventType, handlePop); // popstate does not fire on hashchange in IE 11 and old (trident) Edge
      // https://developer.mozilla.org/de/docs/Web/API/Window/popstate_event
    
      window.addEventListener(HashChangeEventType, function () {
        var _getIndexAndLocation5 = getIndexAndLocation(),
            nextLocation = _getIndexAndLocation5[1]; // Ignore extraneous hashchange events.
    
    
        if (createPath(nextLocation) !== createPath(location)) {
          handlePop();
        }
      });
      var action = Action.Pop;
    
      var _getIndexAndLocation6 = getIndexAndLocation(),
          index = _getIndexAndLocation6[0],
          location = _getIndexAndLocation6[1];
    
      var listeners = createEvents();
      var blockers = createEvents();
    
      if (index == null) {
        index = 0;
        globalHistory.replaceState((0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)({}, globalHistory.state, {
          idx: index
        }), '');
      }
    
      function getBaseHref() {
        var base = document.querySelector('base');
        var href = '';
    
        if (base && base.getAttribute('href')) {
          var url = window.location.href;
          var hashIndex = url.indexOf('#');
          href = hashIndex === -1 ? url : url.slice(0, hashIndex);
        }
    
        return href;
      }
    
      function createHref(to) {
        return getBaseHref() + '#' + (typeof to === 'string' ? to : createPath(to));
      }
    
      function getNextLocation(to, state) {
        if (state === void 0) {
          state = null;
        }
    
        return readOnly((0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)({
          pathname: location.pathname,
          hash: '',
          search: ''
        }, typeof to === 'string' ? parsePath(to) : to, {
          state: state,
          key: createKey()
        }));
      }
    
      function getHistoryStateAndUrl(nextLocation, index) {
        return [{
          usr: nextLocation.state,
          key: nextLocation.key,
          idx: index
        }, createHref(nextLocation)];
      }
    
      function allowTx(action, location, retry) {
        return !blockers.length || (blockers.call({
          action: action,
          location: location,
          retry: retry
        }), false);
      }
    
      function applyTx(nextAction) {
        action = nextAction;
    
        var _getIndexAndLocation7 = getIndexAndLocation();
    
        index = _getIndexAndLocation7[0];
        location = _getIndexAndLocation7[1];
        listeners.call({
          action: action,
          location: location
        });
      }
    
      function push(to, state) {
        var nextAction = Action.Push;
        var nextLocation = getNextLocation(to, state);
    
        function retry() {
          push(to, state);
        }
    
         false ? 0 : void 0;
    
        if (allowTx(nextAction, nextLocation, retry)) {
          var _getHistoryStateAndUr3 = getHistoryStateAndUrl(nextLocation, index + 1),
              historyState = _getHistoryStateAndUr3[0],
              url = _getHistoryStateAndUr3[1]; // TODO: Support forced reloading
          // try...catch because iOS limits us to 100 pushState calls :/
    
    
          try {
            globalHistory.pushState(historyState, '', url);
          } catch (error) {
            // They are going to lose state here, but there is no real
            // way to warn them about it since the page will refresh...
            window.location.assign(url);
          }
    
          applyTx(nextAction);
        }
      }
    
      function replace(to, state) {
        var nextAction = Action.Replace;
        var nextLocation = getNextLocation(to, state);
    
        function retry() {
          replace(to, state);
        }
    
         false ? 0 : void 0;
    
        if (allowTx(nextAction, nextLocation, retry)) {
          var _getHistoryStateAndUr4 = getHistoryStateAndUrl(nextLocation, index),
              historyState = _getHistoryStateAndUr4[0],
              url = _getHistoryStateAndUr4[1]; // TODO: Support forced reloading
    
    
          globalHistory.replaceState(historyState, '', url);
          applyTx(nextAction);
        }
      }
    
      function go(delta) {
        globalHistory.go(delta);
      }
    
      var history = {
        get action() {
          return action;
        },
    
        get location() {
          return location;
        },
    
        createHref: createHref,
        push: push,
        replace: replace,
        go: go,
        back: function back() {
          go(-1);
        },
        forward: function forward() {
          go(1);
        },
        listen: function listen(listener) {
          return listeners.push(listener);
        },
        block: function block(blocker) {
          var unblock = blockers.push(blocker);
    
          if (blockers.length === 1) {
            window.addEventListener(BeforeUnloadEventType, promptBeforeUnload);
          }
    
          return function () {
            unblock(); // Remove the beforeunload listener so the document may
            // still be salvageable in the pagehide event.
            // See https://html.spec.whatwg.org/#unloading-documents
    
            if (!blockers.length) {
              window.removeEventListener(BeforeUnloadEventType, promptBeforeUnload);
            }
          };
        }
      };
      return history;
    }
    /**
     * Memory history stores the current location in memory. It is designed for use
     * in stateful non-browser environments like tests and React Native.
     *
     * @see https://github.com/remix-run/history/tree/main/docs/api-reference.md#creatememoryhistory
     */
    
    function createMemoryHistory(options) {
      if (options === void 0) {
        options = {};
      }
    
      var _options3 = options,
          _options3$initialEntr = _options3.initialEntries,
          initialEntries = _options3$initialEntr === void 0 ? ['/'] : _options3$initialEntr,
          initialIndex = _options3.initialIndex;
      var entries = initialEntries.map(function (entry) {
        var location = readOnly((0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)({
          pathname: '/',
          search: '',
          hash: '',
          state: null,
          key: createKey()
        }, typeof entry === 'string' ? parsePath(entry) : entry));
         false ? 0 : void 0;
        return location;
      });
      var index = clamp(initialIndex == null ? entries.length - 1 : initialIndex, 0, entries.length - 1);
      var action = Action.Pop;
      var location = entries[index];
      var listeners = createEvents();
      var blockers = createEvents();
    
      function createHref(to) {
        return typeof to === 'string' ? to : createPath(to);
      }
    
      function getNextLocation(to, state) {
        if (state === void 0) {
          state = null;
        }
    
        return readOnly((0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)({
          pathname: location.pathname,
          search: '',
          hash: ''
        }, typeof to === 'string' ? parsePath(to) : to, {
          state: state,
          key: createKey()
        }));
      }
    
      function allowTx(action, location, retry) {
        return !blockers.length || (blockers.call({
          action: action,
          location: location,
          retry: retry
        }), false);
      }
    
      function applyTx(nextAction, nextLocation) {
        action = nextAction;
        location = nextLocation;
        listeners.call({
          action: action,
          location: location
        });
      }
    
      function push(to, state) {
        var nextAction = Action.Push;
        var nextLocation = getNextLocation(to, state);
    
        function retry() {
          push(to, state);
        }
    
         false ? 0 : void 0;
    
        if (allowTx(nextAction, nextLocation, retry)) {
          index += 1;
          entries.splice(index, entries.length, nextLocation);
          applyTx(nextAction, nextLocation);
        }
      }
    
      function replace(to, state) {
        var nextAction = Action.Replace;
        var nextLocation = getNextLocation(to, state);
    
        function retry() {
          replace(to, state);
        }
    
         false ? 0 : void 0;
    
        if (allowTx(nextAction, nextLocation, retry)) {
          entries[index] = nextLocation;
          applyTx(nextAction, nextLocation);
        }
      }
    
      function go(delta) {
        var nextIndex = clamp(index + delta, 0, entries.length - 1);
        var nextAction = Action.Pop;
        var nextLocation = entries[nextIndex];
    
        function retry() {
          go(delta);
        }
    
        if (allowTx(nextAction, nextLocation, retry)) {
          index = nextIndex;
          applyTx(nextAction, nextLocation);
        }
      }
    
      var history = {
        get index() {
          return index;
        },
    
        get action() {
          return action;
        },
    
        get location() {
          return location;
        },
    
        createHref: createHref,
        push: push,
        replace: replace,
        go: go,
        back: function back() {
          go(-1);
        },
        forward: function forward() {
          go(1);
        },
        listen: function listen(listener) {
          return listeners.push(listener);
        },
        block: function block(blocker) {
          return blockers.push(blocker);
        }
      };
      return history;
    } ////////////////////////////////////////////////////////////////////////////////
    // UTILS
    ////////////////////////////////////////////////////////////////////////////////
    
    function clamp(n, lowerBound, upperBound) {
      return Math.min(Math.max(n, lowerBound), upperBound);
    }
    
    function promptBeforeUnload(event) {
      // Cancel the event.
      event.preventDefault(); // Chrome (and legacy IE) requires returnValue to be set.
    
      event.returnValue = '';
    }
    
    function createEvents() {
      var handlers = [];
      return {
        get length() {
          return handlers.length;
        },
    
        push: function push(fn) {
          handlers.push(fn);
          return function () {
            handlers = handlers.filter(function (handler) {
              return handler !== fn;
            });
          };
        },
        call: function call(arg) {
          handlers.forEach(function (fn) {
            return fn && fn(arg);
          });
        }
      };
    }
    
    function createKey() {
      return Math.random().toString(36).substr(2, 8);
    }
    /**
     * Creates a string URL path from the given pathname, search, and hash components.
     *
     * @see https://github.com/remix-run/history/tree/main/docs/api-reference.md#createpath
     */
    
    
    function createPath(_ref) {
      var _ref$pathname = _ref.pathname,
          pathname = _ref$pathname === void 0 ? '/' : _ref$pathname,
          _ref$search = _ref.search,
          search = _ref$search === void 0 ? '' : _ref$search,
          _ref$hash = _ref.hash,
          hash = _ref$hash === void 0 ? '' : _ref$hash;
      if (search && search !== '?') pathname += search.charAt(0) === '?' ? search : '?' + search;
      if (hash && hash !== '#') pathname += hash.charAt(0) === '#' ? hash : '#' + hash;
      return pathname;
    }
    /**
     * Parses a string URL path into its separate pathname, search, and hash components.
     *
     * @see https://github.com/remix-run/history/tree/main/docs/api-reference.md#parsepath
     */
    
    function parsePath(path) {
      var parsedPath = {};
    
      if (path) {
        var hashIndex = path.indexOf('#');
    
        if (hashIndex >= 0) {
          parsedPath.hash = path.substr(hashIndex);
          path = path.substr(0, hashIndex);
        }
    
        var searchIndex = path.indexOf('?');
    
        if (searchIndex >= 0) {
          parsedPath.search = path.substr(searchIndex);
          path = path.substr(0, searchIndex);
        }
    
        if (path) {
          parsedPath.pathname = path;
        }
      }
    
      return parsedPath;
    }
    
    
    //# sourceMappingURL=index.js.map
    
    
    /***/ }),
    
    /***/ 94266:
    /*!*****************************************************************************************************************!*\
      !*** ./node_modules/_hoist-non-react-statics@3.3.2@hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js ***!
      \*****************************************************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    
    var reactIs = __webpack_require__(/*! react-is */ 99234);
    
    /**
     * Copyright 2015, Yahoo! Inc.
     * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.
     */
    var REACT_STATICS = {
      childContextTypes: true,
      contextType: true,
      contextTypes: true,
      defaultProps: true,
      displayName: true,
      getDefaultProps: true,
      getDerivedStateFromError: true,
      getDerivedStateFromProps: true,
      mixins: true,
      propTypes: true,
      type: true
    };
    var KNOWN_STATICS = {
      name: true,
      length: true,
      prototype: true,
      caller: true,
      callee: true,
      arguments: true,
      arity: true
    };
    var FORWARD_REF_STATICS = {
      '$$typeof': true,
      render: true,
      defaultProps: true,
      displayName: true,
      propTypes: true
    };
    var MEMO_STATICS = {
      '$$typeof': true,
      compare: true,
      defaultProps: true,
      displayName: true,
      propTypes: true,
      type: true
    };
    var TYPE_STATICS = {};
    TYPE_STATICS[reactIs.ForwardRef] = FORWARD_REF_STATICS;
    TYPE_STATICS[reactIs.Memo] = MEMO_STATICS;
    
    function getStatics(component) {
      // React v16.11 and below
      if (reactIs.isMemo(component)) {
        return MEMO_STATICS;
      } // React v16.12 and above
    
    
      return TYPE_STATICS[component['$$typeof']] || REACT_STATICS;
    }
    
    var defineProperty = Object.defineProperty;
    var getOwnPropertyNames = Object.getOwnPropertyNames;
    var getOwnPropertySymbols = Object.getOwnPropertySymbols;
    var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
    var getPrototypeOf = Object.getPrototypeOf;
    var objectPrototype = Object.prototype;
    function hoistNonReactStatics(targetComponent, sourceComponent, blacklist) {
      if (typeof sourceComponent !== 'string') {
        // don't hoist over string (html) components
        if (objectPrototype) {
          var inheritedComponent = getPrototypeOf(sourceComponent);
    
          if (inheritedComponent && inheritedComponent !== objectPrototype) {
            hoistNonReactStatics(targetComponent, inheritedComponent, blacklist);
          }
        }
    
        var keys = getOwnPropertyNames(sourceComponent);
    
        if (getOwnPropertySymbols) {
          keys = keys.concat(getOwnPropertySymbols(sourceComponent));
        }
    
        var targetStatics = getStatics(targetComponent);
        var sourceStatics = getStatics(sourceComponent);
    
        for (var i = 0; i < keys.length; ++i) {
          var key = keys[i];
    
          if (!KNOWN_STATICS[key] && !(blacklist && blacklist[key]) && !(sourceStatics && sourceStatics[key]) && !(targetStatics && targetStatics[key])) {
            var descriptor = getOwnPropertyDescriptor(sourceComponent, key);
    
            try {
              // Avoid failures from read-only properties
              defineProperty(targetComponent, key, descriptor);
            } catch (e) {}
          }
        }
      }
    
      return targetComponent;
    }
    
    module.exports = hoistNonReactStatics;
    
    
    /***/ }),
    
    /***/ 4603:
    /*!*******************************************************************!*\
      !*** ./node_modules/_inherits@2.0.4@inherits/inherits_browser.js ***!
      \*******************************************************************/
    /***/ (function(module) {
    
    if (typeof Object.create === 'function') {
      // implementation from standard node.js 'util' module
      module.exports = function inherits(ctor, superCtor) {
        if (superCtor) {
          ctor.super_ = superCtor
          ctor.prototype = Object.create(superCtor.prototype, {
            constructor: {
              value: ctor,
              enumerable: false,
              writable: true,
              configurable: true
            }
          })
        }
      };
    } else {
      // old school shim for old browsers
      module.exports = function inherits(ctor, superCtor) {
        if (superCtor) {
          ctor.super_ = superCtor
          var TempCtor = function () {}
          TempCtor.prototype = superCtor.prototype
          ctor.prototype = new TempCtor()
          ctor.prototype.constructor = ctor
        }
      }
    }
    
    
    /***/ }),
    
    /***/ 44520:
    /*!************************************************************!*\
      !*** ./node_modules/_invariant@2.2.4@invariant/browser.js ***!
      \************************************************************/
    /***/ (function(module) {
    
    "use strict";
    /**
     * Copyright (c) 2013-present, Facebook, Inc.
     *
     * This source code is licensed under the MIT license found in the
     * LICENSE file in the root directory of this source tree.
     */
    
    
    
    /**
     * Use invariant() to assert state which your program assumes to be true.
     *
     * Provide sprintf-style format (only %s is supported) and arguments
     * to provide information about what broke and what you were
     * expecting.
     *
     * The invariant message will be stripped in production, but the invariant
     * will remain to ensure logic does not differ in production.
     */
    
    var invariant = function(condition, format, a, b, c, d, e, f) {
      if (false) {}
    
      if (!condition) {
        var error;
        if (format === undefined) {
          error = new Error(
            'Minified exception occurred; use the non-minified dev environment ' +
            'for the full error message and additional helpful warnings.'
          );
        } else {
          var args = [a, b, c, d, e, f];
          var argIndex = 0;
          error = new Error(
            format.replace(/%s/g, function() { return args[argIndex++]; })
          );
          error.name = 'Invariant Violation';
        }
    
        error.framesToPop = 1; // we don't care about invariant's own frame
        throw error;
      }
    };
    
    module.exports = invariant;
    
    
    /***/ }),
    
    /***/ 78034:
    /*!**********************************************************!*\
      !*** ./node_modules/_is-buffer@1.1.6@is-buffer/index.js ***!
      \**********************************************************/
    /***/ (function(module) {
    
    /*!
     * Determine if an object is a Buffer
     *
     * @author   Feross Aboukhadijeh <https://feross.org>
     * @license  MIT
     */
    
    // The _isBuffer check is for Safari 5-7 support, because it's missing
    // Object.prototype.constructor. Remove this eventually
    module.exports = function (obj) {
      return obj != null && (isBuffer(obj) || isSlowBuffer(obj) || !!obj._isBuffer)
    }
    
    function isBuffer (obj) {
      return !!obj.constructor && typeof obj.constructor.isBuffer === 'function' && obj.constructor.isBuffer(obj)
    }
    
    // For Node v0.10 support. Remove this eventually.
    function isSlowBuffer (obj) {
      return typeof obj.readFloatLE === 'function' && typeof obj.slice === 'function' && isBuffer(obj.slice(0, 0))
    }
    
    
    /***/ }),
    
    /***/ 78639:
    /*!**********************************************************************!*\
      !*** ./node_modules/_is-plain-object@2.0.4@is-plain-object/index.js ***!
      \**********************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    /*!
     * is-plain-object <https://github.com/jonschlinkert/is-plain-object>
     *
     * Copyright (c) 2014-2017, Jon Schlinkert.
     * Released under the MIT License.
     */
    
    
    
    var isObject = __webpack_require__(/*! isobject */ 77497);
    
    function isObjectObject(o) {
      return isObject(o) === true
        && Object.prototype.toString.call(o) === '[object Object]';
    }
    
    module.exports = function isPlainObject(o) {
      var ctor,prot;
    
      if (isObjectObject(o) === false) return false;
    
      // If has modified constructor
      ctor = o.constructor;
      if (typeof ctor !== 'function') return false;
    
      // If has modified prototype
      prot = ctor.prototype;
      if (isObjectObject(prot) === false) return false;
    
      // If constructor does not have an Object-specific method
      if (prot.hasOwnProperty('isPrototypeOf') === false) {
        return false;
      }
    
      // Most likely a plain Object
      return true;
    };
    
    
    /***/ }),
    
    /***/ 77497:
    /*!********************************************************!*\
      !*** ./node_modules/_isobject@3.0.1@isobject/index.js ***!
      \********************************************************/
    /***/ (function(module) {
    
    "use strict";
    /*!
     * isobject <https://github.com/jonschlinkert/isobject>
     *
     * Copyright (c) 2014-2017, Jon Schlinkert.
     * Released under the MIT License.
     */
    
    
    
    module.exports = function isObject(val) {
      return val != null && typeof val === 'object' && Array.isArray(val) === false;
    };
    
    
    /***/ }),
    
    /***/ 53184:
    /*!******************************************************************!*\
      !*** ./node_modules/_js-beautify@1.15.4@js-beautify/js/index.js ***!
      \******************************************************************/
    /***/ (function(module, exports, __webpack_require__) {
    
    "use strict";
    var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*jshint node:true */
    /* globals define */
    /*
      The MIT License (MIT)
    
      Copyright (c) 2007-2018 Einar Lielmanis, Liam Newman, and contributors.
    
      Permission is hereby granted, free of charge, to any person
      obtaining a copy of this software and associated documentation files
      (the "Software"), to deal in the Software without restriction,
      including without limitation the rights to use, copy, modify, merge,
      publish, distribute, sublicense, and/or sell copies of the Software,
      and to permit persons to whom the Software is furnished to do so,
      subject to the following conditions:
    
      The above copyright notice and this permission notice shall be
      included in all copies or substantial portions of the Software.
    
      THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
      EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
      MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
      NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
      BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
      ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
      CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
      SOFTWARE.
    
    */
    
    
    
    /**
    The following batches are equivalent:
    
    var beautify_js = require('js-beautify');
    var beautify_js = require('js-beautify').js;
    var beautify_js = require('js-beautify').js_beautify;
    
    var beautify_css = require('js-beautify').css;
    var beautify_css = require('js-beautify').css_beautify;
    
    var beautify_html = require('js-beautify').html;
    var beautify_html = require('js-beautify').html_beautify;
    
    All methods returned accept two arguments, the source string and an options object.
    **/
    
    function get_beautify(js_beautify, css_beautify, html_beautify) {
      // the default is js
      var beautify = function(src, config) {
        return js_beautify.js_beautify(src, config);
      };
    
      // short aliases
      beautify.js = js_beautify.js_beautify;
      beautify.css = css_beautify.css_beautify;
      beautify.html = html_beautify.html_beautify;
    
      // legacy aliases
      beautify.js_beautify = js_beautify.js_beautify;
      beautify.css_beautify = css_beautify.css_beautify;
      beautify.html_beautify = html_beautify.html_beautify;
    
      return beautify;
    }
    
    if (true) {
      // Add support for AMD ( https://github.com/amdjs/amdjs-api/wiki/AMD#defineamd-property- )
      !(__WEBPACK_AMD_DEFINE_ARRAY__ = [
        __webpack_require__(/*! ./lib/beautify */ 58553),
        __webpack_require__(/*! ./lib/beautify-css */ 87804),
        __webpack_require__(/*! ./lib/beautify-html */ 40998)
      ], __WEBPACK_AMD_DEFINE_RESULT__ = (function(js_beautify, css_beautify, html_beautify) {
        return get_beautify(js_beautify, css_beautify, html_beautify);
      }).apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__),
    		__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    } else {}
    
    /***/ }),
    
    /***/ 87804:
    /*!*****************************************************************************!*\
      !*** ./node_modules/_js-beautify@1.15.4@js-beautify/js/lib/beautify-css.js ***!
      \*****************************************************************************/
    /***/ (function(module, exports) {
    
    var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/* AUTO-GENERATED. DO NOT MODIFY. */
    /*
    
      The MIT License (MIT)
    
      Copyright (c) 2007-2018 Einar Lielmanis, Liam Newman, and contributors.
    
      Permission is hereby granted, free of charge, to any person
      obtaining a copy of this software and associated documentation files
      (the "Software"), to deal in the Software without restriction,
      including without limitation the rights to use, copy, modify, merge,
      publish, distribute, sublicense, and/or sell copies of the Software,
      and to permit persons to whom the Software is furnished to do so,
      subject to the following conditions:
    
      The above copyright notice and this permission notice shall be
      included in all copies or substantial portions of the Software.
    
      THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
      EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
      MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
      NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
      BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
      ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
      CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
      SOFTWARE.
    
    
     CSS Beautifier
    ---------------
    
        Written by Harutyun Amirjanyan, (amirjanyan@gmail.com)
    
        Based on code initially developed by: Einar Lielmanis, <einar@beautifier.io>
            https://beautifier.io/
    
        Usage:
            css_beautify(source_text);
            css_beautify(source_text, options);
    
        The options are (default in brackets):
            indent_size (4)                         — indentation size,
            indent_char (space)                     — character to indent with,
            selector_separator_newline (true)       - separate selectors with newline or
                                                      not (e.g. "a,\nbr" or "a, br")
            end_with_newline (false)                - end with a newline
            newline_between_rules (true)            - add a new line after every css rule
            space_around_selector_separator (false) - ensure space around selector separators:
                                                      '>', '+', '~' (e.g. "a>b" -> "a > b")
        e.g
    
        css_beautify(css_source_text, {
          'indent_size': 1,
          'indent_char': '\t',
          'selector_separator': ' ',
          'end_with_newline': false,
          'newline_between_rules': true,
          'space_around_selector_separator': true
        });
    */
    
    // http://www.w3.org/TR/CSS21/syndata.html#tokenization
    // http://www.w3.org/TR/css3-syntax/
    
    (function() {
    
    /* GENERATED_BUILD_OUTPUT */
    var legacy_beautify_css;
    /******/ (function() { // webpackBootstrap
    /******/ 	"use strict";
    /******/ 	var __webpack_modules__ = ([
    /* 0 */,
    /* 1 */,
    /* 2 */
    /***/ (function(module) {
    
    /*jshint node:true */
    /*
      The MIT License (MIT)
    
      Copyright (c) 2007-2018 Einar Lielmanis, Liam Newman, and contributors.
    
      Permission is hereby granted, free of charge, to any person
      obtaining a copy of this software and associated documentation files
      (the "Software"), to deal in the Software without restriction,
      including without limitation the rights to use, copy, modify, merge,
      publish, distribute, sublicense, and/or sell copies of the Software,
      and to permit persons to whom the Software is furnished to do so,
      subject to the following conditions:
    
      The above copyright notice and this permission notice shall be
      included in all copies or substantial portions of the Software.
    
      THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
      EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
      MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
      NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
      BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
      ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
      CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
      SOFTWARE.
    */
    
    
    
    function OutputLine(parent) {
      this.__parent = parent;
      this.__character_count = 0;
      // use indent_count as a marker for this.__lines that have preserved indentation
      this.__indent_count = -1;
      this.__alignment_count = 0;
      this.__wrap_point_index = 0;
      this.__wrap_point_character_count = 0;
      this.__wrap_point_indent_count = -1;
      this.__wrap_point_alignment_count = 0;
    
      this.__items = [];
    }
    
    OutputLine.prototype.clone_empty = function() {
      var line = new OutputLine(this.__parent);
      line.set_indent(this.__indent_count, this.__alignment_count);
      return line;
    };
    
    OutputLine.prototype.item = function(index) {
      if (index < 0) {
        return this.__items[this.__items.length + index];
      } else {
        return this.__items[index];
      }
    };
    
    OutputLine.prototype.has_match = function(pattern) {
      for (var lastCheckedOutput = this.__items.length - 1; lastCheckedOutput >= 0; lastCheckedOutput--) {
        if (this.__items[lastCheckedOutput].match(pattern)) {
          return true;
        }
      }
      return false;
    };
    
    OutputLine.prototype.set_indent = function(indent, alignment) {
      if (this.is_empty()) {
        this.__indent_count = indent || 0;
        this.__alignment_count = alignment || 0;
        this.__character_count = this.__parent.get_indent_size(this.__indent_count, this.__alignment_count);
      }
    };
    
    OutputLine.prototype._set_wrap_point = function() {
      if (this.__parent.wrap_line_length) {
        this.__wrap_point_index = this.__items.length;
        this.__wrap_point_character_count = this.__character_count;
        this.__wrap_point_indent_count = this.__parent.next_line.__indent_count;
        this.__wrap_point_alignment_count = this.__parent.next_line.__alignment_count;
      }
    };
    
    OutputLine.prototype._should_wrap = function() {
      return this.__wrap_point_index &&
        this.__character_count > this.__parent.wrap_line_length &&
        this.__wrap_point_character_count > this.__parent.next_line.__character_count;
    };
    
    OutputLine.prototype._allow_wrap = function() {
      if (this._should_wrap()) {
        this.__parent.add_new_line();
        var next = this.__parent.current_line;
        next.set_indent(this.__wrap_point_indent_count, this.__wrap_point_alignment_count);
        next.__items = this.__items.slice(this.__wrap_point_index);
        this.__items = this.__items.slice(0, this.__wrap_point_index);
    
        next.__character_count += this.__character_count - this.__wrap_point_character_count;
        this.__character_count = this.__wrap_point_character_count;
    
        if (next.__items[0] === " ") {
          next.__items.splice(0, 1);
          next.__character_count -= 1;
        }
        return true;
      }
      return false;
    };
    
    OutputLine.prototype.is_empty = function() {
      return this.__items.length === 0;
    };
    
    OutputLine.prototype.last = function() {
      if (!this.is_empty()) {
        return this.__items[this.__items.length - 1];
      } else {
        return null;
      }
    };
    
    OutputLine.prototype.push = function(item) {
      this.__items.push(item);
      var last_newline_index = item.lastIndexOf('\n');
      if (last_newline_index !== -1) {
        this.__character_count = item.length - last_newline_index;
      } else {
        this.__character_count += item.length;
      }
    };
    
    OutputLine.prototype.pop = function() {
      var item = null;
      if (!this.is_empty()) {
        item = this.__items.pop();
        this.__character_count -= item.length;
      }
      return item;
    };
    
    
    OutputLine.prototype._remove_indent = function() {
      if (this.__indent_count > 0) {
        this.__indent_count -= 1;
        this.__character_count -= this.__parent.indent_size;
      }
    };
    
    OutputLine.prototype._remove_wrap_indent = function() {
      if (this.__wrap_point_indent_count > 0) {
        this.__wrap_point_indent_count -= 1;
      }
    };
    OutputLine.prototype.trim = function() {
      while (this.last() === ' ') {
        this.__items.pop();
        this.__character_count -= 1;
      }
    };
    
    OutputLine.prototype.toString = function() {
      var result = '';
      if (this.is_empty()) {
        if (this.__parent.indent_empty_lines) {
          result = this.__parent.get_indent_string(this.__indent_count);
        }
      } else {
        result = this.__parent.get_indent_string(this.__indent_count, this.__alignment_count);
        result += this.__items.join('');
      }
      return result;
    };
    
    function IndentStringCache(options, baseIndentString) {
      this.__cache = [''];
      this.__indent_size = options.indent_size;
      this.__indent_string = options.indent_char;
      if (!options.indent_with_tabs) {
        this.__indent_string = new Array(options.indent_size + 1).join(options.indent_char);
      }
    
      // Set to null to continue support for auto detection of base indent
      baseIndentString = baseIndentString || '';
      if (options.indent_level > 0) {
        baseIndentString = new Array(options.indent_level + 1).join(this.__indent_string);
      }
    
      this.__base_string = baseIndentString;
      this.__base_string_length = baseIndentString.length;
    }
    
    IndentStringCache.prototype.get_indent_size = function(indent, column) {
      var result = this.__base_string_length;
      column = column || 0;
      if (indent < 0) {
        result = 0;
      }
      result += indent * this.__indent_size;
      result += column;
      return result;
    };
    
    IndentStringCache.prototype.get_indent_string = function(indent_level, column) {
      var result = this.__base_string;
      column = column || 0;
      if (indent_level < 0) {
        indent_level = 0;
        result = '';
      }
      column += indent_level * this.__indent_size;
      this.__ensure_cache(column);
      result += this.__cache[column];
      return result;
    };
    
    IndentStringCache.prototype.__ensure_cache = function(column) {
      while (column >= this.__cache.length) {
        this.__add_column();
      }
    };
    
    IndentStringCache.prototype.__add_column = function() {
      var column = this.__cache.length;
      var indent = 0;
      var result = '';
      if (this.__indent_size && column >= this.__indent_size) {
        indent = Math.floor(column / this.__indent_size);
        column -= indent * this.__indent_size;
        result = new Array(indent + 1).join(this.__indent_string);
      }
      if (column) {
        result += new Array(column + 1).join(' ');
      }
    
      this.__cache.push(result);
    };
    
    function Output(options, baseIndentString) {
      this.__indent_cache = new IndentStringCache(options, baseIndentString);
      this.raw = false;
      this._end_with_newline = options.end_with_newline;
      this.indent_size = options.indent_size;
      this.wrap_line_length = options.wrap_line_length;
      this.indent_empty_lines = options.indent_empty_lines;
      this.__lines = [];
      this.previous_line = null;
      this.current_line = null;
      this.next_line = new OutputLine(this);
      this.space_before_token = false;
      this.non_breaking_space = false;
      this.previous_token_wrapped = false;
      // initialize
      this.__add_outputline();
    }
    
    Output.prototype.__add_outputline = function() {
      this.previous_line = this.current_line;
      this.current_line = this.next_line.clone_empty();
      this.__lines.push(this.current_line);
    };
    
    Output.prototype.get_line_number = function() {
      return this.__lines.length;
    };
    
    Output.prototype.get_indent_string = function(indent, column) {
      return this.__indent_cache.get_indent_string(indent, column);
    };
    
    Output.prototype.get_indent_size = function(indent, column) {
      return this.__indent_cache.get_indent_size(indent, column);
    };
    
    Output.prototype.is_empty = function() {
      return !this.previous_line && this.current_line.is_empty();
    };
    
    Output.prototype.add_new_line = function(force_newline) {
      // never newline at the start of file
      // otherwise, newline only if we didn't just add one or we're forced
      if (this.is_empty() ||
        (!force_newline && this.just_added_newline())) {
        return false;
      }
    
      // if raw output is enabled, don't print additional newlines,
      // but still return True as though you had
      if (!this.raw) {
        this.__add_outputline();
      }
      return true;
    };
    
    Output.prototype.get_code = function(eol) {
      this.trim(true);
    
      // handle some edge cases where the last tokens
      // has text that ends with newline(s)
      var last_item = this.current_line.pop();
      if (last_item) {
        if (last_item[last_item.length - 1] === '\n') {
          last_item = last_item.replace(/\n+$/g, '');
        }
        this.current_line.push(last_item);
      }
    
      if (this._end_with_newline) {
        this.__add_outputline();
      }
    
      var sweet_code = this.__lines.join('\n');
    
      if (eol !== '\n') {
        sweet_code = sweet_code.replace(/[\n]/g, eol);
      }
      return sweet_code;
    };
    
    Output.prototype.set_wrap_point = function() {
      this.current_line._set_wrap_point();
    };
    
    Output.prototype.set_indent = function(indent, alignment) {
      indent = indent || 0;
      alignment = alignment || 0;
    
      // Next line stores alignment values
      this.next_line.set_indent(indent, alignment);
    
      // Never indent your first output indent at the start of the file
      if (this.__lines.length > 1) {
        this.current_line.set_indent(indent, alignment);
        return true;
      }
    
      this.current_line.set_indent();
      return false;
    };
    
    Output.prototype.add_raw_token = function(token) {
      for (var x = 0; x < token.newlines; x++) {
        this.__add_outputline();
      }
      this.current_line.set_indent(-1);
      this.current_line.push(token.whitespace_before);
      this.current_line.push(token.text);
      this.space_before_token = false;
      this.non_breaking_space = false;
      this.previous_token_wrapped = false;
    };
    
    Output.prototype.add_token = function(printable_token) {
      this.__add_space_before_token();
      this.current_line.push(printable_token);
      this.space_before_token = false;
      this.non_breaking_space = false;
      this.previous_token_wrapped = this.current_line._allow_wrap();
    };
    
    Output.prototype.__add_space_before_token = function() {
      if (this.space_before_token && !this.just_added_newline()) {
        if (!this.non_breaking_space) {
          this.set_wrap_point();
        }
        this.current_line.push(' ');
      }
    };
    
    Output.prototype.remove_indent = function(index) {
      var output_length = this.__lines.length;
      while (index < output_length) {
        this.__lines[index]._remove_indent();
        index++;
      }
      this.current_line._remove_wrap_indent();
    };
    
    Output.prototype.trim = function(eat_newlines) {
      eat_newlines = (eat_newlines === undefined) ? false : eat_newlines;
    
      this.current_line.trim();
    
      while (eat_newlines && this.__lines.length > 1 &&
        this.current_line.is_empty()) {
        this.__lines.pop();
        this.current_line = this.__lines[this.__lines.length - 1];
        this.current_line.trim();
      }
    
      this.previous_line = this.__lines.length > 1 ?
        this.__lines[this.__lines.length - 2] : null;
    };
    
    Output.prototype.just_added_newline = function() {
      return this.current_line.is_empty();
    };
    
    Output.prototype.just_added_blankline = function() {
      return this.is_empty() ||
        (this.current_line.is_empty() && this.previous_line.is_empty());
    };
    
    Output.prototype.ensure_empty_line_above = function(starts_with, ends_with) {
      var index = this.__lines.length - 2;
      while (index >= 0) {
        var potentialEmptyLine = this.__lines[index];
        if (potentialEmptyLine.is_empty()) {
          break;
        } else if (potentialEmptyLine.item(0).indexOf(starts_with) !== 0 &&
          potentialEmptyLine.item(-1) !== ends_with) {
          this.__lines.splice(index + 1, 0, new OutputLine(this));
          this.previous_line = this.__lines[this.__lines.length - 2];
          break;
        }
        index--;
      }
    };
    
    module.exports.Output = Output;
    
    
    /***/ }),
    /* 3 */,
    /* 4 */,
    /* 5 */,
    /* 6 */
    /***/ (function(module) {
    
    /*jshint node:true */
    /*
    
      The MIT License (MIT)
    
      Copyright (c) 2007-2018 Einar Lielmanis, Liam Newman, and contributors.
    
      Permission is hereby granted, free of charge, to any person
      obtaining a copy of this software and associated documentation files
      (the "Software"), to deal in the Software without restriction,
      including without limitation the rights to use, copy, modify, merge,
      publish, distribute, sublicense, and/or sell copies of the Software,
      and to permit persons to whom the Software is furnished to do so,
      subject to the following conditions:
    
      The above copyright notice and this permission notice shall be
      included in all copies or substantial portions of the Software.
    
      THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
      EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
      MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
      NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
      BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
      ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
      CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
      SOFTWARE.
    */
    
    
    
    function Options(options, merge_child_field) {
      this.raw_options = _mergeOpts(options, merge_child_field);
    
      // Support passing the source text back with no change
      this.disabled = this._get_boolean('disabled');
    
      this.eol = this._get_characters('eol', 'auto');
      this.end_with_newline = this._get_boolean('end_with_newline');
      this.indent_size = this._get_number('indent_size', 4);
      this.indent_char = this._get_characters('indent_char', ' ');
      this.indent_level = this._get_number('indent_level');
    
      this.preserve_newlines = this._get_boolean('preserve_newlines', true);
      this.max_preserve_newlines = this._get_number('max_preserve_newlines', 32786);
      if (!this.preserve_newlines) {
        this.max_preserve_newlines = 0;
      }
    
      this.indent_with_tabs = this._get_boolean('indent_with_tabs', this.indent_char === '\t');
      if (this.indent_with_tabs) {
        this.indent_char = '\t';
    
        // indent_size behavior changed after 1.8.6
        // It used to be that indent_size would be
        // set to 1 for indent_with_tabs. That is no longer needed and
        // actually doesn't make sense - why not use spaces? Further,
        // that might produce unexpected behavior - tabs being used
        // for single-column alignment. So, when indent_with_tabs is true
        // and indent_size is 1, reset indent_size to 4.
        if (this.indent_size === 1) {
          this.indent_size = 4;
        }
      }
    
      // Backwards compat with 1.3.x
      this.wrap_line_length = this._get_number('wrap_line_length', this._get_number('max_char'));
    
      this.indent_empty_lines = this._get_boolean('indent_empty_lines');
    
      // valid templating languages ['django', 'erb', 'handlebars', 'php', 'smarty', 'angular']
      // For now, 'auto' = all off for javascript, all except angular on for html (and inline javascript/css).
      // other values ignored
      this.templating = this._get_selection_list('templating', ['auto', 'none', 'angular', 'django', 'erb', 'handlebars', 'php', 'smarty'], ['auto']);
    }
    
    Options.prototype._get_array = function(name, default_value) {
      var option_value = this.raw_options[name];
      var result = default_value || [];
      if (typeof option_value === 'object') {
        if (option_value !== null && typeof option_value.concat === 'function') {
          result = option_value.concat();
        }
      } else if (typeof option_value === 'string') {
        result = option_value.split(/[^a-zA-Z0-9_\/\-]+/);
      }
      return result;
    };
    
    Options.prototype._get_boolean = function(name, default_value) {
      var option_value = this.raw_options[name];
      var result = option_value === undefined ? !!default_value : !!option_value;
      return result;
    };
    
    Options.prototype._get_characters = function(name, default_value) {
      var option_value = this.raw_options[name];
      var result = default_value || '';
      if (typeof option_value === 'string') {
        result = option_value.replace(/\\r/, '\r').replace(/\\n/, '\n').replace(/\\t/, '\t');
      }
      return result;
    };
    
    Options.prototype._get_number = function(name, default_value) {
      var option_value = this.raw_options[name];
      default_value = parseInt(default_value, 10);
      if (isNaN(default_value)) {
        default_value = 0;
      }
      var result = parseInt(option_value, 10);
      if (isNaN(result)) {
        result = default_value;
      }
      return result;
    };
    
    Options.prototype._get_selection = function(name, selection_list, default_value) {
      var result = this._get_selection_list(name, selection_list, default_value);
      if (result.length !== 1) {
        throw new Error(
          "Invalid Option Value: The option '" + name + "' can only be one of the following values:\n" +
          selection_list + "\nYou passed in: '" + this.raw_options[name] + "'");
      }
    
      return result[0];
    };
    
    
    Options.prototype._get_selection_list = function(name, selection_list, default_value) {
      if (!selection_list || selection_list.length === 0) {
        throw new Error("Selection list cannot be empty.");
      }
    
      default_value = default_value || [selection_list[0]];
      if (!this._is_valid_selection(default_value, selection_list)) {
        throw new Error("Invalid Default Value!");
      }
    
      var result = this._get_array(name, default_value);
      if (!this._is_valid_selection(result, selection_list)) {
        throw new Error(
          "Invalid Option Value: The option '" + name + "' can contain only the following values:\n" +
          selection_list + "\nYou passed in: '" + this.raw_options[name] + "'");
      }
    
      return result;
    };
    
    Options.prototype._is_valid_selection = function(result, selection_list) {
      return result.length && selection_list.length &&
        !result.some(function(item) { return selection_list.indexOf(item) === -1; });
    };
    
    
    // merges child options up with the parent options object
    // Example: obj = {a: 1, b: {a: 2}}
    //          mergeOpts(obj, 'b')
    //
    //          Returns: {a: 2}
    function _mergeOpts(allOptions, childFieldName) {
      var finalOpts = {};
      allOptions = _normalizeOpts(allOptions);
      var name;
    
      for (name in allOptions) {
        if (name !== childFieldName) {
          finalOpts[name] = allOptions[name];
        }
      }
    
      //merge in the per type settings for the childFieldName
      if (childFieldName && allOptions[childFieldName]) {
        for (name in allOptions[childFieldName]) {
          finalOpts[name] = allOptions[childFieldName][name];
        }
      }
      return finalOpts;
    }
    
    function _normalizeOpts(options) {
      var convertedOpts = {};
      var key;
    
      for (key in options) {
        var newKey = key.replace(/-/g, "_");
        convertedOpts[newKey] = options[key];
      }
      return convertedOpts;
    }
    
    module.exports.Options = Options;
    module.exports.normalizeOpts = _normalizeOpts;
    module.exports.mergeOpts = _mergeOpts;
    
    
    /***/ }),
    /* 7 */,
    /* 8 */
    /***/ (function(module) {
    
    /*jshint node:true */
    /*
    
      The MIT License (MIT)
    
      Copyright (c) 2007-2018 Einar Lielmanis, Liam Newman, and contributors.
    
      Permission is hereby granted, free of charge, to any person
      obtaining a copy of this software and associated documentation files
      (the "Software"), to deal in the Software without restriction,
      including without limitation the rights to use, copy, modify, merge,
      publish, distribute, sublicense, and/or sell copies of the Software,
      and to permit persons to whom the Software is furnished to do so,
      subject to the following conditions:
    
      The above copyright notice and this permission notice shall be
      included in all copies or substantial portions of the Software.
    
      THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
      EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
      MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
      NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
      BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
      ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
      CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
      SOFTWARE.
    */
    
    
    
    var regexp_has_sticky = RegExp.prototype.hasOwnProperty('sticky');
    
    function InputScanner(input_string) {
      this.__input = input_string || '';
      this.__input_length = this.__input.length;
      this.__position = 0;
    }
    
    InputScanner.prototype.restart = function() {
      this.__position = 0;
    };
    
    InputScanner.prototype.back = function() {
      if (this.__position > 0) {
        this.__position -= 1;
      }
    };
    
    InputScanner.prototype.hasNext = function() {
      return this.__position < this.__input_length;
    };
    
    InputScanner.prototype.next = function() {
      var val = null;
      if (this.hasNext()) {
        val = this.__input.charAt(this.__position);
        this.__position += 1;
      }
      return val;
    };
    
    InputScanner.prototype.peek = function(index) {
      var val = null;
      index = index || 0;
      index += this.__position;
      if (index >= 0 && index < this.__input_length) {
        val = this.__input.charAt(index);
      }
      return val;
    };
    
    // This is a JavaScript only helper function (not in python)
    // Javascript doesn't have a match method
    // and not all implementation support "sticky" flag.
    // If they do not support sticky then both this.match() and this.test() method
    // must get the match and check the index of the match.
    // If sticky is supported and set, this method will use it.
    // Otherwise it will check that global is set, and fall back to the slower method.
    InputScanner.prototype.__match = function(pattern, index) {
      pattern.lastIndex = index;
      var pattern_match = pattern.exec(this.__input);
    
      if (pattern_match && !(regexp_has_sticky && pattern.sticky)) {
        if (pattern_match.index !== index) {
          pattern_match = null;
        }
      }
    
      return pattern_match;
    };
    
    InputScanner.prototype.test = function(pattern, index) {
      index = index || 0;
      index += this.__position;
    
      if (index >= 0 && index < this.__input_length) {
        return !!this.__match(pattern, index);
      } else {
        return false;
      }
    };
    
    InputScanner.prototype.testChar = function(pattern, index) {
      // test one character regex match
      var val = this.peek(index);
      pattern.lastIndex = 0;
      return val !== null && pattern.test(val);
    };
    
    InputScanner.prototype.match = function(pattern) {
      var pattern_match = this.__match(pattern, this.__position);
      if (pattern_match) {
        this.__position += pattern_match[0].length;
      } else {
        pattern_match = null;
      }
      return pattern_match;
    };
    
    InputScanner.prototype.read = function(starting_pattern, until_pattern, until_after) {
      var val = '';
      var match;
      if (starting_pattern) {
        match = this.match(starting_pattern);
        if (match) {
          val += match[0];
        }
      }
      if (until_pattern && (match || !starting_pattern)) {
        val += this.readUntil(until_pattern, until_after);
      }
      return val;
    };
    
    InputScanner.prototype.readUntil = function(pattern, until_after) {
      var val = '';
      var match_index = this.__position;
      pattern.lastIndex = this.__position;
      var pattern_match = pattern.exec(this.__input);
      if (pattern_match) {
        match_index = pattern_match.index;
        if (until_after) {
          match_index += pattern_match[0].length;
        }
      } else {
        match_index = this.__input_length;
      }
    
      val = this.__input.substring(this.__position, match_index);
      this.__position = match_index;
      return val;
    };
    
    InputScanner.prototype.readUntilAfter = function(pattern) {
      return this.readUntil(pattern, true);
    };
    
    InputScanner.prototype.get_regexp = function(pattern, match_from) {
      var result = null;
      var flags = 'g';
      if (match_from && regexp_has_sticky) {
        flags = 'y';
      }
      // strings are converted to regexp
      if (typeof pattern === "string" && pattern !== '') {
        // result = new RegExp(pattern.replace(/[-\/\\^$*+?.()|[\]{}]/g, '\\$&'), flags);
        result = new RegExp(pattern, flags);
      } else if (pattern) {
        result = new RegExp(pattern.source, flags);
      }
      return result;
    };
    
    InputScanner.prototype.get_literal_regexp = function(literal_string) {
      return RegExp(literal_string.replace(/[-\/\\^$*+?.()|[\]{}]/g, '\\$&'));
    };
    
    /* css beautifier legacy helpers */
    InputScanner.prototype.peekUntilAfter = function(pattern) {
      var start = this.__position;
      var val = this.readUntilAfter(pattern);
      this.__position = start;
      return val;
    };
    
    InputScanner.prototype.lookBack = function(testVal) {
      var start = this.__position - 1;
      return start >= testVal.length && this.__input.substring(start - testVal.length, start)
        .toLowerCase() === testVal;
    };
    
    module.exports.InputScanner = InputScanner;
    
    
    /***/ }),
    /* 9 */,
    /* 10 */,
    /* 11 */,
    /* 12 */,
    /* 13 */
    /***/ (function(module) {
    
    /*jshint node:true */
    /*
    
      The MIT License (MIT)
    
      Copyright (c) 2007-2018 Einar Lielmanis, Liam Newman, and contributors.
    
      Permission is hereby granted, free of charge, to any person
      obtaining a copy of this software and associated documentation files
      (the "Software"), to deal in the Software without restriction,
      including without limitation the rights to use, copy, modify, merge,
      publish, distribute, sublicense, and/or sell copies of the Software,
      and to permit persons to whom the Software is furnished to do so,
      subject to the following conditions:
    
      The above copyright notice and this permission notice shall be
      included in all copies or substantial portions of the Software.
    
      THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
      EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
      MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
      NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
      BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
      ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
      CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
      SOFTWARE.
    */
    
    
    
    function Directives(start_block_pattern, end_block_pattern) {
      start_block_pattern = typeof start_block_pattern === 'string' ? start_block_pattern : start_block_pattern.source;
      end_block_pattern = typeof end_block_pattern === 'string' ? end_block_pattern : end_block_pattern.source;
      this.__directives_block_pattern = new RegExp(start_block_pattern + / beautify( \w+[:]\w+)+ /.source + end_block_pattern, 'g');
      this.__directive_pattern = / (\w+)[:](\w+)/g;
    
      this.__directives_end_ignore_pattern = new RegExp(start_block_pattern + /\sbeautify\signore:end\s/.source + end_block_pattern, 'g');
    }
    
    Directives.prototype.get_directives = function(text) {
      if (!text.match(this.__directives_block_pattern)) {
        return null;
      }
    
      var directives = {};
      this.__directive_pattern.lastIndex = 0;
      var directive_match = this.__directive_pattern.exec(text);
    
      while (directive_match) {
        directives[directive_match[1]] = directive_match[2];
        directive_match = this.__directive_pattern.exec(text);
      }
    
      return directives;
    };
    
    Directives.prototype.readIgnored = function(input) {
      return input.readUntilAfter(this.__directives_end_ignore_pattern);
    };
    
    
    module.exports.Directives = Directives;
    
    
    /***/ }),
    /* 14 */,
    /* 15 */
    /***/ (function(module, __unused_webpack_exports, __nested_webpack_require_30167__) {
    
    /*jshint node:true */
    /*
    
      The MIT License (MIT)
    
      Copyright (c) 2007-2018 Einar Lielmanis, Liam Newman, and contributors.
    
      Permission is hereby granted, free of charge, to any person
      obtaining a copy of this software and associated documentation files
      (the "Software"), to deal in the Software without restriction,
      including without limitation the rights to use, copy, modify, merge,
      publish, distribute, sublicense, and/or sell copies of the Software,
      and to permit persons to whom the Software is furnished to do so,
      subject to the following conditions:
    
      The above copyright notice and this permission notice shall be
      included in all copies or substantial portions of the Software.
    
      THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
      EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
      MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
      NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
      BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
      ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
      CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
      SOFTWARE.
    */
    
    
    
    var Beautifier = (__nested_webpack_require_30167__(16).Beautifier),
      Options = (__nested_webpack_require_30167__(17).Options);
    
    function css_beautify(source_text, options) {
      var beautifier = new Beautifier(source_text, options);
      return beautifier.beautify();
    }
    
    module.exports = css_beautify;
    module.exports.defaultOptions = function() {
      return new Options();
    };
    
    
    /***/ }),
    /* 16 */
    /***/ (function(module, __unused_webpack_exports, __nested_webpack_require_31795__) {
    
    /*jshint node:true */
    /*
    
      The MIT License (MIT)
    
      Copyright (c) 2007-2018 Einar Lielmanis, Liam Newman, and contributors.
    
      Permission is hereby granted, free of charge, to any person
      obtaining a copy of this software and associated documentation files
      (the "Software"), to deal in the Software without restriction,
      including without limitation the rights to use, copy, modify, merge,
      publish, distribute, sublicense, and/or sell copies of the Software,
      and to permit persons to whom the Software is furnished to do so,
      subject to the following conditions:
    
      The above copyright notice and this permission notice shall be
      included in all copies or substantial portions of the Software.
    
      THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
      EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
      MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
      NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
      BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
      ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
      CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
      SOFTWARE.
    */
    
    
    
    var Options = (__nested_webpack_require_31795__(17).Options);
    var Output = (__nested_webpack_require_31795__(2).Output);
    var InputScanner = (__nested_webpack_require_31795__(8).InputScanner);
    var Directives = (__nested_webpack_require_31795__(13).Directives);
    
    var directives_core = new Directives(/\/\*/, /\*\//);
    
    var lineBreak = /\r\n|[\r\n]/;
    var allLineBreaks = /\r\n|[\r\n]/g;
    
    // tokenizer
    var whitespaceChar = /\s/;
    var whitespacePattern = /(?:\s|\n)+/g;
    var block_comment_pattern = /\/\*(?:[\s\S]*?)((?:\*\/)|$)/g;
    var comment_pattern = /\/\/(?:[^\n\r\u2028\u2029]*)/g;
    
    function Beautifier(source_text, options) {
      this._source_text = source_text || '';
      // Allow the setting of language/file-type specific options
      // with inheritance of overall settings
      this._options = new Options(options);
      this._ch = null;
      this._input = null;
    
      // https://developer.mozilla.org/en-US/docs/Web/CSS/At-rule
      this.NESTED_AT_RULE = {
        "page": true,
        "font-face": true,
        "keyframes": true,
        // also in CONDITIONAL_GROUP_RULE below
        "media": true,
        "supports": true,
        "document": true
      };
      this.CONDITIONAL_GROUP_RULE = {
        "media": true,
        "supports": true,
        "document": true
      };
      this.NON_SEMICOLON_NEWLINE_PROPERTY = [
        "grid-template-areas",
        "grid-template"
      ];
    
    }
    
    Beautifier.prototype.eatString = function(endChars) {
      var result = '';
      this._ch = this._input.next();
      while (this._ch) {
        result += this._ch;
        if (this._ch === "\\") {
          result += this._input.next();
        } else if (endChars.indexOf(this._ch) !== -1 || this._ch === "\n") {
          break;
        }
        this._ch = this._input.next();
      }
      return result;
    };
    
    // Skips any white space in the source text from the current position.
    // When allowAtLeastOneNewLine is true, will output new lines for each
    // newline character found; if the user has preserve_newlines off, only
    // the first newline will be output
    Beautifier.prototype.eatWhitespace = function(allowAtLeastOneNewLine) {
      var result = whitespaceChar.test(this._input.peek());
      var newline_count = 0;
      while (whitespaceChar.test(this._input.peek())) {
        this._ch = this._input.next();
        if (allowAtLeastOneNewLine && this._ch === '\n') {
          if (newline_count === 0 || newline_count < this._options.max_preserve_newlines) {
            newline_count++;
            this._output.add_new_line(true);
          }
        }
      }
      return result;
    };
    
    // Nested pseudo-class if we are insideRule
    // and the next special character found opens
    // a new block
    Beautifier.prototype.foundNestedPseudoClass = function() {
      var openParen = 0;
      var i = 1;
      var ch = this._input.peek(i);
      while (ch) {
        if (ch === "{") {
          return true;
        } else if (ch === '(') {
          // pseudoclasses can contain ()
          openParen += 1;
        } else if (ch === ')') {
          if (openParen === 0) {
            return false;
          }
          openParen -= 1;
        } else if (ch === ";" || ch === "}") {
          return false;
        }
        i++;
        ch = this._input.peek(i);
      }
      return false;
    };
    
    Beautifier.prototype.print_string = function(output_string) {
      this._output.set_indent(this._indentLevel);
      this._output.non_breaking_space = true;
      this._output.add_token(output_string);
    };
    
    Beautifier.prototype.preserveSingleSpace = function(isAfterSpace) {
      if (isAfterSpace) {
        this._output.space_before_token = true;
      }
    };
    
    Beautifier.prototype.indent = function() {
      this._indentLevel++;
    };
    
    Beautifier.prototype.outdent = function() {
      if (this._indentLevel > 0) {
        this._indentLevel--;
      }
    };
    
    /*_____________________--------------------_____________________*/
    
    Beautifier.prototype.beautify = function() {
      if (this._options.disabled) {
        return this._source_text;
      }
    
      var source_text = this._source_text;
      var eol = this._options.eol;
      if (eol === 'auto') {
        eol = '\n';
        if (source_text && lineBreak.test(source_text || '')) {
          eol = source_text.match(lineBreak)[0];
        }
      }
    
    
      // HACK: newline parsing inconsistent. This brute force normalizes the this._input.
      source_text = source_text.replace(allLineBreaks, '\n');
    
      // reset
      var baseIndentString = source_text.match(/^[\t ]*/)[0];
    
      this._output = new Output(this._options, baseIndentString);
      this._input = new InputScanner(source_text);
      this._indentLevel = 0;
      this._nestedLevel = 0;
    
      this._ch = null;
      var parenLevel = 0;
    
      var insideRule = false;
      // This is the value side of a property value pair (blue in the following ex)
      // label { content: blue }
      var insidePropertyValue = false;
      var enteringConditionalGroup = false;
      var insideNonNestedAtRule = false;
      var insideScssMap = false;
      var topCharacter = this._ch;
      var insideNonSemiColonValues = false;
      var whitespace;
      var isAfterSpace;
      var previous_ch;
    
      while (true) {
        whitespace = this._input.read(whitespacePattern);
        isAfterSpace = whitespace !== '';
        previous_ch = topCharacter;
        this._ch = this._input.next();
        if (this._ch === '\\' && this._input.hasNext()) {
          this._ch += this._input.next();
        }
        topCharacter = this._ch;
    
        if (!this._ch) {
          break;
        } else if (this._ch === '/' && this._input.peek() === '*') {
          // /* css comment */
          // Always start block comments on a new line.
          // This handles scenarios where a block comment immediately
          // follows a property definition on the same line or where
          // minified code is being beautified.
          this._output.add_new_line();
          this._input.back();
    
          var comment = this._input.read(block_comment_pattern);
    
          // Handle ignore directive
          var directives = directives_core.get_directives(comment);
          if (directives && directives.ignore === 'start') {
            comment += directives_core.readIgnored(this._input);
          }
    
          this.print_string(comment);
    
          // Ensures any new lines following the comment are preserved
          this.eatWhitespace(true);
    
          // Block comments are followed by a new line so they don't
          // share a line with other properties
          this._output.add_new_line();
        } else if (this._ch === '/' && this._input.peek() === '/') {
          // // single line comment
          // Preserves the space before a comment
          // on the same line as a rule
          this._output.space_before_token = true;
          this._input.back();
          this.print_string(this._input.read(comment_pattern));
    
          // Ensures any new lines following the comment are preserved
          this.eatWhitespace(true);
        } else if (this._ch === '$') {
          this.preserveSingleSpace(isAfterSpace);
    
          this.print_string(this._ch);
    
          // strip trailing space, if present, for hash property checks
          var variable = this._input.peekUntilAfter(/[: ,;{}()[\]\/='"]/g);
    
          if (variable.match(/[ :]$/)) {
            // we have a variable or pseudo-class, add it and insert one space before continuing
            variable = this.eatString(": ").replace(/\s+$/, '');
            this.print_string(variable);
            this._output.space_before_token = true;
          }
    
          // might be sass variable
          if (parenLevel === 0 && variable.indexOf(':') !== -1) {
            insidePropertyValue = true;
            this.indent();
          }
        } else if (this._ch === '@') {
          this.preserveSingleSpace(isAfterSpace);
    
          // deal with less property mixins @{...}
          if (this._input.peek() === '{') {
            this.print_string(this._ch + this.eatString('}'));
          } else {
            this.print_string(this._ch);
    
            // strip trailing space, if present, for hash property checks
            var variableOrRule = this._input.peekUntilAfter(/[: ,;{}()[\]\/='"]/g);
    
            if (variableOrRule.match(/[ :]$/)) {
              // we have a variable or pseudo-class, add it and insert one space before continuing
              variableOrRule = this.eatString(": ").replace(/\s+$/, '');
              this.print_string(variableOrRule);
              this._output.space_before_token = true;
            }
    
            // might be less variable
            if (parenLevel === 0 && variableOrRule.indexOf(':') !== -1) {
              insidePropertyValue = true;
              this.indent();
    
              // might be a nesting at-rule
            } else if (variableOrRule in this.NESTED_AT_RULE) {
              this._nestedLevel += 1;
              if (variableOrRule in this.CONDITIONAL_GROUP_RULE) {
                enteringConditionalGroup = true;
              }
    
              // might be a non-nested at-rule
            } else if (parenLevel === 0 && !insidePropertyValue) {
              insideNonNestedAtRule = true;
            }
          }
        } else if (this._ch === '#' && this._input.peek() === '{') {
          this.preserveSingleSpace(isAfterSpace);
          this.print_string(this._ch + this.eatString('}'));
        } else if (this._ch === '{') {
          if (insidePropertyValue) {
            insidePropertyValue = false;
            this.outdent();
          }
    
          // non nested at rule becomes nested
          insideNonNestedAtRule = false;
    
          // when entering conditional groups, only rulesets are allowed
          if (enteringConditionalGroup) {
            enteringConditionalGroup = false;
            insideRule = (this._indentLevel >= this._nestedLevel);
          } else {
            // otherwise, declarations are also allowed
            insideRule = (this._indentLevel >= this._nestedLevel - 1);
          }
          if (this._options.newline_between_rules && insideRule) {
            if (this._output.previous_line && this._output.previous_line.item(-1) !== '{') {
              this._output.ensure_empty_line_above('/', ',');
            }
          }
    
          this._output.space_before_token = true;
    
          // The difference in print_string and indent order is necessary to indent the '{' correctly
          if (this._options.brace_style === 'expand') {
            this._output.add_new_line();
            this.print_string(this._ch);
            this.indent();
            this._output.set_indent(this._indentLevel);
          } else {
            // inside mixin and first param is object
            if (previous_ch === '(') {
              this._output.space_before_token = false;
            } else if (previous_ch !== ',') {
              this.indent();
            }
            this.print_string(this._ch);
          }
    
          this.eatWhitespace(true);
          this._output.add_new_line();
        } else if (this._ch === '}') {
          this.outdent();
          this._output.add_new_line();
          if (previous_ch === '{') {
            this._output.trim(true);
          }
    
          if (insidePropertyValue) {
            this.outdent();
            insidePropertyValue = false;
          }
          this.print_string(this._ch);
          insideRule = false;
          if (this._nestedLevel) {
            this._nestedLevel--;
          }
    
          this.eatWhitespace(true);
          this._output.add_new_line();
    
          if (this._options.newline_between_rules && !this._output.just_added_blankline()) {
            if (this._input.peek() !== '}') {
              this._output.add_new_line(true);
            }
          }
          if (this._input.peek() === ')') {
            this._output.trim(true);
            if (this._options.brace_style === "expand") {
              this._output.add_new_line(true);
            }
          }
        } else if (this._ch === ":") {
    
          for (var i = 0; i < this.NON_SEMICOLON_NEWLINE_PROPERTY.length; i++) {
            if (this._input.lookBack(this.NON_SEMICOLON_NEWLINE_PROPERTY[i])) {
              insideNonSemiColonValues = true;
              break;
            }
          }
    
          if ((insideRule || enteringConditionalGroup) && !(this._input.lookBack("&") || this.foundNestedPseudoClass()) && !this._input.lookBack("(") && !insideNonNestedAtRule && parenLevel === 0) {
            // 'property: value' delimiter
            // which could be in a conditional group query
    
            this.print_string(':');
            if (!insidePropertyValue) {
              insidePropertyValue = true;
              this._output.space_before_token = true;
              this.eatWhitespace(true);
              this.indent();
            }
          } else {
            // sass/less parent reference don't use a space
            // sass nested pseudo-class don't use a space
    
            // preserve space before pseudoclasses/pseudoelements, as it means "in any child"
            if (this._input.lookBack(" ")) {
              this._output.space_before_token = true;
            }
            if (this._input.peek() === ":") {
              // pseudo-element
              this._ch = this._input.next();
              this.print_string("::");
            } else {
              // pseudo-class
              this.print_string(':');
            }
          }
        } else if (this._ch === '"' || this._ch === '\'') {
          var preserveQuoteSpace = previous_ch === '"' || previous_ch === '\'';
          this.preserveSingleSpace(preserveQuoteSpace || isAfterSpace);
          this.print_string(this._ch + this.eatString(this._ch));
          this.eatWhitespace(true);
        } else if (this._ch === ';') {
          insideNonSemiColonValues = false;
          if (parenLevel === 0) {
            if (insidePropertyValue) {
              this.outdent();
              insidePropertyValue = false;
            }
            insideNonNestedAtRule = false;
            this.print_string(this._ch);
            this.eatWhitespace(true);
    
            // This maintains single line comments on the same
            // line. Block comments are also affected, but
            // a new line is always output before one inside
            // that section
            if (this._input.peek() !== '/') {
              this._output.add_new_line();
            }
          } else {
            this.print_string(this._ch);
            this.eatWhitespace(true);
            this._output.space_before_token = true;
          }
        } else if (this._ch === '(') { // may be a url
          if (this._input.lookBack("url")) {
            this.print_string(this._ch);
            this.eatWhitespace();
            parenLevel++;
            this.indent();
            this._ch = this._input.next();
            if (this._ch === ')' || this._ch === '"' || this._ch === '\'') {
              this._input.back();
            } else if (this._ch) {
              this.print_string(this._ch + this.eatString(')'));
              if (parenLevel) {
                parenLevel--;
                this.outdent();
              }
            }
          } else {
            var space_needed = false;
            if (this._input.lookBack("with")) {
              // look back is not an accurate solution, we need tokens to confirm without whitespaces
              space_needed = true;
            }
            this.preserveSingleSpace(isAfterSpace || space_needed);
            this.print_string(this._ch);
    
            // handle scss/sass map
            if (insidePropertyValue && previous_ch === "$" && this._options.selector_separator_newline) {
              this._output.add_new_line();
              insideScssMap = true;
            } else {
              this.eatWhitespace();
              parenLevel++;
              this.indent();
            }
          }
        } else if (this._ch === ')') {
          if (parenLevel) {
            parenLevel--;
            this.outdent();
          }
          if (insideScssMap && this._input.peek() === ";" && this._options.selector_separator_newline) {
            insideScssMap = false;
            this.outdent();
            this._output.add_new_line();
          }
          this.print_string(this._ch);
        } else if (this._ch === ',') {
          this.print_string(this._ch);
          this.eatWhitespace(true);
          if (this._options.selector_separator_newline && (!insidePropertyValue || insideScssMap) && parenLevel === 0 && !insideNonNestedAtRule) {
            this._output.add_new_line();
          } else {
            this._output.space_before_token = true;
          }
        } else if ((this._ch === '>' || this._ch === '+' || this._ch === '~') && !insidePropertyValue && parenLevel === 0) {
          //handle combinator spacing
          if (this._options.space_around_combinator) {
            this._output.space_before_token = true;
            this.print_string(this._ch);
            this._output.space_before_token = true;
          } else {
            this.print_string(this._ch);
            this.eatWhitespace();
            // squash extra whitespace
            if (this._ch && whitespaceChar.test(this._ch)) {
              this._ch = '';
            }
          }
        } else if (this._ch === ']') {
          this.print_string(this._ch);
        } else if (this._ch === '[') {
          this.preserveSingleSpace(isAfterSpace);
          this.print_string(this._ch);
        } else if (this._ch === '=') { // no whitespace before or after
          this.eatWhitespace();
          this.print_string('=');
          if (whitespaceChar.test(this._ch)) {
            this._ch = '';
          }
        } else if (this._ch === '!' && !this._input.lookBack("\\")) { // !important
          this._output.space_before_token = true;
          this.print_string(this._ch);
        } else {
          var preserveAfterSpace = previous_ch === '"' || previous_ch === '\'';
          this.preserveSingleSpace(preserveAfterSpace || isAfterSpace);
          this.print_string(this._ch);
    
          if (!this._output.just_added_newline() && this._input.peek() === '\n' && insideNonSemiColonValues) {
            this._output.add_new_line();
          }
        }
      }
    
      var sweetCode = this._output.get_code(eol);
    
      return sweetCode;
    };
    
    module.exports.Beautifier = Beautifier;
    
    
    /***/ }),
    /* 17 */
    /***/ (function(module, __unused_webpack_exports, __nested_webpack_require_49905__) {
    
    /*jshint node:true */
    /*
    
      The MIT License (MIT)
    
      Copyright (c) 2007-2018 Einar Lielmanis, Liam Newman, and contributors.
    
      Permission is hereby granted, free of charge, to any person
      obtaining a copy of this software and associated documentation files
      (the "Software"), to deal in the Software without restriction,
      including without limitation the rights to use, copy, modify, merge,
      publish, distribute, sublicense, and/or sell copies of the Software,
      and to permit persons to whom the Software is furnished to do so,
      subject to the following conditions:
    
      The above copyright notice and this permission notice shall be
      included in all copies or substantial portions of the Software.
    
      THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
      EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
      MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
      NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
      BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
      ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
      CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
      SOFTWARE.
    */
    
    
    
    var BaseOptions = (__nested_webpack_require_49905__(6).Options);
    
    function Options(options) {
      BaseOptions.call(this, options, 'css');
    
      this.selector_separator_newline = this._get_boolean('selector_separator_newline', true);
      this.newline_between_rules = this._get_boolean('newline_between_rules', true);
      var space_around_selector_separator = this._get_boolean('space_around_selector_separator');
      this.space_around_combinator = this._get_boolean('space_around_combinator') || space_around_selector_separator;
    
      var brace_style_split = this._get_selection_list('brace_style', ['collapse', 'expand', 'end-expand', 'none', 'preserve-inline']);
      this.brace_style = 'collapse';
      for (var bs = 0; bs < brace_style_split.length; bs++) {
        if (brace_style_split[bs] !== 'expand') {
          // default to collapse, as only collapse|expand is implemented for now
          this.brace_style = 'collapse';
        } else {
          this.brace_style = brace_style_split[bs];
        }
      }
    }
    Options.prototype = new BaseOptions();
    
    
    
    module.exports.Options = Options;
    
    
    /***/ })
    /******/ 	]);
    /************************************************************************/
    /******/ 	// The module cache
    /******/ 	var __webpack_module_cache__ = {};
    /******/ 	
    /******/ 	// The require function
    /******/ 	function __nested_webpack_require_52385__(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] = {
    /******/ 			// no module.id needed
    /******/ 			// no module.loaded needed
    /******/ 			exports: {}
    /******/ 		};
    /******/ 	
    /******/ 		// Execute the module function
    /******/ 		__webpack_modules__[moduleId](module, module.exports, __nested_webpack_require_52385__);
    /******/ 	
    /******/ 		// Return the exports of the module
    /******/ 		return module.exports;
    /******/ 	}
    /******/ 	
    /************************************************************************/
    /******/ 	
    /******/ 	// startup
    /******/ 	// Load entry module and return exports
    /******/ 	// This entry module is referenced by other modules so it can't be inlined
    /******/ 	var __nested_webpack_exports__ = __nested_webpack_require_52385__(15);
    /******/ 	legacy_beautify_css = __nested_webpack_exports__;
    /******/ 	
    /******/ })()
    ;
    var css_beautify = legacy_beautify_css;
    /* Footer */
    if (true) {
        // Add support for AMD ( https://github.com/amdjs/amdjs-api/wiki/AMD#defineamd-property- )
        !(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_RESULT__ = (function() {
            return {
                css_beautify: css_beautify
            };
        }).apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__),
    		__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    } else {}
    
    }());
    
    
    /***/ }),
    
    /***/ 40998:
    /*!******************************************************************************!*\
      !*** ./node_modules/_js-beautify@1.15.4@js-beautify/js/lib/beautify-html.js ***!
      \******************************************************************************/
    /***/ (function(module, exports, __webpack_require__) {
    
    var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/* AUTO-GENERATED. DO NOT MODIFY. */
    /*
    
      The MIT License (MIT)
    
      Copyright (c) 2007-2018 Einar Lielmanis, Liam Newman, and contributors.
    
      Permission is hereby granted, free of charge, to any person
      obtaining a copy of this software and associated documentation files
      (the "Software"), to deal in the Software without restriction,
      including without limitation the rights to use, copy, modify, merge,
      publish, distribute, sublicense, and/or sell copies of the Software,
      and to permit persons to whom the Software is furnished to do so,
      subject to the following conditions:
    
      The above copyright notice and this permission notice shall be
      included in all copies or substantial portions of the Software.
    
      THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
      EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
      MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
      NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
      BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
      ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
      CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
      SOFTWARE.
    
    
     Style HTML
    ---------------
    
      Written by Nochum Sossonko, (nsossonko@hotmail.com)
    
      Based on code initially developed by: Einar Lielmanis, <einar@beautifier.io>
        https://beautifier.io/
    
      Usage:
        style_html(html_source);
    
        style_html(html_source, options);
    
      The options are:
        indent_inner_html (default false)  — indent <head> and <body> sections,
        indent_size (default 4)          — indentation size,
        indent_char (default space)      — character to indent with,
        wrap_line_length (default 250)            -  maximum amount of characters per line (0 = disable)
        brace_style (default "collapse") - "collapse" | "expand" | "end-expand" | "none"
                put braces on the same line as control statements (default), or put braces on own line (Allman / ANSI style), or just put end braces on own line, or attempt to keep them where they are.
        inline (defaults to inline tags) - list of tags to be considered inline tags
        unformatted (defaults to inline tags) - list of tags, that shouldn't be reformatted
        content_unformatted (defaults to ["pre", "textarea"] tags) - list of tags, whose content shouldn't be reformatted
        indent_scripts (default normal)  - "keep"|"separate"|"normal"
        preserve_newlines (default true) - whether existing line breaks before elements should be preserved
                                            Only works before elements, not inside tags or for text.
        max_preserve_newlines (default unlimited) - maximum number of line breaks to be preserved in one chunk
        indent_handlebars (default false) - format and indent {{#foo}} and {{/foo}}
        end_with_newline (false)          - end with a newline
        extra_liners (default [head,body,/html]) -List of tags that should have an extra newline before them.
    
        e.g.
    
        style_html(html_source, {
          'indent_inner_html': false,
          'indent_size': 2,
          'indent_char': ' ',
          'wrap_line_length': 78,
          'brace_style': 'expand',
          'preserve_newlines': true,
          'max_preserve_newlines': 5,
          'indent_handlebars': false,
          'extra_liners': ['/html']
        });
    */
    
    (function() {
    
    /* GENERATED_BUILD_OUTPUT */
    var legacy_beautify_html;
    /******/ (function() { // webpackBootstrap
    /******/ 	"use strict";
    /******/ 	var __webpack_modules__ = ([
    /* 0 */,
    /* 1 */,
    /* 2 */
    /***/ (function(module) {
    
    /*jshint node:true */
    /*
      The MIT License (MIT)
    
      Copyright (c) 2007-2018 Einar Lielmanis, Liam Newman, and contributors.
    
      Permission is hereby granted, free of charge, to any person
      obtaining a copy of this software and associated documentation files
      (the "Software"), to deal in the Software without restriction,
      including without limitation the rights to use, copy, modify, merge,
      publish, distribute, sublicense, and/or sell copies of the Software,
      and to permit persons to whom the Software is furnished to do so,
      subject to the following conditions:
    
      The above copyright notice and this permission notice shall be
      included in all copies or substantial portions of the Software.
    
      THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
      EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
      MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
      NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
      BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
      ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
      CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
      SOFTWARE.
    */
    
    
    
    function OutputLine(parent) {
      this.__parent = parent;
      this.__character_count = 0;
      // use indent_count as a marker for this.__lines that have preserved indentation
      this.__indent_count = -1;
      this.__alignment_count = 0;
      this.__wrap_point_index = 0;
      this.__wrap_point_character_count = 0;
      this.__wrap_point_indent_count = -1;
      this.__wrap_point_alignment_count = 0;
    
      this.__items = [];
    }
    
    OutputLine.prototype.clone_empty = function() {
      var line = new OutputLine(this.__parent);
      line.set_indent(this.__indent_count, this.__alignment_count);
      return line;
    };
    
    OutputLine.prototype.item = function(index) {
      if (index < 0) {
        return this.__items[this.__items.length + index];
      } else {
        return this.__items[index];
      }
    };
    
    OutputLine.prototype.has_match = function(pattern) {
      for (var lastCheckedOutput = this.__items.length - 1; lastCheckedOutput >= 0; lastCheckedOutput--) {
        if (this.__items[lastCheckedOutput].match(pattern)) {
          return true;
        }
      }
      return false;
    };
    
    OutputLine.prototype.set_indent = function(indent, alignment) {
      if (this.is_empty()) {
        this.__indent_count = indent || 0;
        this.__alignment_count = alignment || 0;
        this.__character_count = this.__parent.get_indent_size(this.__indent_count, this.__alignment_count);
      }
    };
    
    OutputLine.prototype._set_wrap_point = function() {
      if (this.__parent.wrap_line_length) {
        this.__wrap_point_index = this.__items.length;
        this.__wrap_point_character_count = this.__character_count;
        this.__wrap_point_indent_count = this.__parent.next_line.__indent_count;
        this.__wrap_point_alignment_count = this.__parent.next_line.__alignment_count;
      }
    };
    
    OutputLine.prototype._should_wrap = function() {
      return this.__wrap_point_index &&
        this.__character_count > this.__parent.wrap_line_length &&
        this.__wrap_point_character_count > this.__parent.next_line.__character_count;
    };
    
    OutputLine.prototype._allow_wrap = function() {
      if (this._should_wrap()) {
        this.__parent.add_new_line();
        var next = this.__parent.current_line;
        next.set_indent(this.__wrap_point_indent_count, this.__wrap_point_alignment_count);
        next.__items = this.__items.slice(this.__wrap_point_index);
        this.__items = this.__items.slice(0, this.__wrap_point_index);
    
        next.__character_count += this.__character_count - this.__wrap_point_character_count;
        this.__character_count = this.__wrap_point_character_count;
    
        if (next.__items[0] === " ") {
          next.__items.splice(0, 1);
          next.__character_count -= 1;
        }
        return true;
      }
      return false;
    };
    
    OutputLine.prototype.is_empty = function() {
      return this.__items.length === 0;
    };
    
    OutputLine.prototype.last = function() {
      if (!this.is_empty()) {
        return this.__items[this.__items.length - 1];
      } else {
        return null;
      }
    };
    
    OutputLine.prototype.push = function(item) {
      this.__items.push(item);
      var last_newline_index = item.lastIndexOf('\n');
      if (last_newline_index !== -1) {
        this.__character_count = item.length - last_newline_index;
      } else {
        this.__character_count += item.length;
      }
    };
    
    OutputLine.prototype.pop = function() {
      var item = null;
      if (!this.is_empty()) {
        item = this.__items.pop();
        this.__character_count -= item.length;
      }
      return item;
    };
    
    
    OutputLine.prototype._remove_indent = function() {
      if (this.__indent_count > 0) {
        this.__indent_count -= 1;
        this.__character_count -= this.__parent.indent_size;
      }
    };
    
    OutputLine.prototype._remove_wrap_indent = function() {
      if (this.__wrap_point_indent_count > 0) {
        this.__wrap_point_indent_count -= 1;
      }
    };
    OutputLine.prototype.trim = function() {
      while (this.last() === ' ') {
        this.__items.pop();
        this.__character_count -= 1;
      }
    };
    
    OutputLine.prototype.toString = function() {
      var result = '';
      if (this.is_empty()) {
        if (this.__parent.indent_empty_lines) {
          result = this.__parent.get_indent_string(this.__indent_count);
        }
      } else {
        result = this.__parent.get_indent_string(this.__indent_count, this.__alignment_count);
        result += this.__items.join('');
      }
      return result;
    };
    
    function IndentStringCache(options, baseIndentString) {
      this.__cache = [''];
      this.__indent_size = options.indent_size;
      this.__indent_string = options.indent_char;
      if (!options.indent_with_tabs) {
        this.__indent_string = new Array(options.indent_size + 1).join(options.indent_char);
      }
    
      // Set to null to continue support for auto detection of base indent
      baseIndentString = baseIndentString || '';
      if (options.indent_level > 0) {
        baseIndentString = new Array(options.indent_level + 1).join(this.__indent_string);
      }
    
      this.__base_string = baseIndentString;
      this.__base_string_length = baseIndentString.length;
    }
    
    IndentStringCache.prototype.get_indent_size = function(indent, column) {
      var result = this.__base_string_length;
      column = column || 0;
      if (indent < 0) {
        result = 0;
      }
      result += indent * this.__indent_size;
      result += column;
      return result;
    };
    
    IndentStringCache.prototype.get_indent_string = function(indent_level, column) {
      var result = this.__base_string;
      column = column || 0;
      if (indent_level < 0) {
        indent_level = 0;
        result = '';
      }
      column += indent_level * this.__indent_size;
      this.__ensure_cache(column);
      result += this.__cache[column];
      return result;
    };
    
    IndentStringCache.prototype.__ensure_cache = function(column) {
      while (column >= this.__cache.length) {
        this.__add_column();
      }
    };
    
    IndentStringCache.prototype.__add_column = function() {
      var column = this.__cache.length;
      var indent = 0;
      var result = '';
      if (this.__indent_size && column >= this.__indent_size) {
        indent = Math.floor(column / this.__indent_size);
        column -= indent * this.__indent_size;
        result = new Array(indent + 1).join(this.__indent_string);
      }
      if (column) {
        result += new Array(column + 1).join(' ');
      }
    
      this.__cache.push(result);
    };
    
    function Output(options, baseIndentString) {
      this.__indent_cache = new IndentStringCache(options, baseIndentString);
      this.raw = false;
      this._end_with_newline = options.end_with_newline;
      this.indent_size = options.indent_size;
      this.wrap_line_length = options.wrap_line_length;
      this.indent_empty_lines = options.indent_empty_lines;
      this.__lines = [];
      this.previous_line = null;
      this.current_line = null;
      this.next_line = new OutputLine(this);
      this.space_before_token = false;
      this.non_breaking_space = false;
      this.previous_token_wrapped = false;
      // initialize
      this.__add_outputline();
    }
    
    Output.prototype.__add_outputline = function() {
      this.previous_line = this.current_line;
      this.current_line = this.next_line.clone_empty();
      this.__lines.push(this.current_line);
    };
    
    Output.prototype.get_line_number = function() {
      return this.__lines.length;
    };
    
    Output.prototype.get_indent_string = function(indent, column) {
      return this.__indent_cache.get_indent_string(indent, column);
    };
    
    Output.prototype.get_indent_size = function(indent, column) {
      return this.__indent_cache.get_indent_size(indent, column);
    };
    
    Output.prototype.is_empty = function() {
      return !this.previous_line && this.current_line.is_empty();
    };
    
    Output.prototype.add_new_line = function(force_newline) {
      // never newline at the start of file
      // otherwise, newline only if we didn't just add one or we're forced
      if (this.is_empty() ||
        (!force_newline && this.just_added_newline())) {
        return false;
      }
    
      // if raw output is enabled, don't print additional newlines,
      // but still return True as though you had
      if (!this.raw) {
        this.__add_outputline();
      }
      return true;
    };
    
    Output.prototype.get_code = function(eol) {
      this.trim(true);
    
      // handle some edge cases where the last tokens
      // has text that ends with newline(s)
      var last_item = this.current_line.pop();
      if (last_item) {
        if (last_item[last_item.length - 1] === '\n') {
          last_item = last_item.replace(/\n+$/g, '');
        }
        this.current_line.push(last_item);
      }
    
      if (this._end_with_newline) {
        this.__add_outputline();
      }
    
      var sweet_code = this.__lines.join('\n');
    
      if (eol !== '\n') {
        sweet_code = sweet_code.replace(/[\n]/g, eol);
      }
      return sweet_code;
    };
    
    Output.prototype.set_wrap_point = function() {
      this.current_line._set_wrap_point();
    };
    
    Output.prototype.set_indent = function(indent, alignment) {
      indent = indent || 0;
      alignment = alignment || 0;
    
      // Next line stores alignment values
      this.next_line.set_indent(indent, alignment);
    
      // Never indent your first output indent at the start of the file
      if (this.__lines.length > 1) {
        this.current_line.set_indent(indent, alignment);
        return true;
      }
    
      this.current_line.set_indent();
      return false;
    };
    
    Output.prototype.add_raw_token = function(token) {
      for (var x = 0; x < token.newlines; x++) {
        this.__add_outputline();
      }
      this.current_line.set_indent(-1);
      this.current_line.push(token.whitespace_before);
      this.current_line.push(token.text);
      this.space_before_token = false;
      this.non_breaking_space = false;
      this.previous_token_wrapped = false;
    };
    
    Output.prototype.add_token = function(printable_token) {
      this.__add_space_before_token();
      this.current_line.push(printable_token);
      this.space_before_token = false;
      this.non_breaking_space = false;
      this.previous_token_wrapped = this.current_line._allow_wrap();
    };
    
    Output.prototype.__add_space_before_token = function() {
      if (this.space_before_token && !this.just_added_newline()) {
        if (!this.non_breaking_space) {
          this.set_wrap_point();
        }
        this.current_line.push(' ');
      }
    };
    
    Output.prototype.remove_indent = function(index) {
      var output_length = this.__lines.length;
      while (index < output_length) {
        this.__lines[index]._remove_indent();
        index++;
      }
      this.current_line._remove_wrap_indent();
    };
    
    Output.prototype.trim = function(eat_newlines) {
      eat_newlines = (eat_newlines === undefined) ? false : eat_newlines;
    
      this.current_line.trim();
    
      while (eat_newlines && this.__lines.length > 1 &&
        this.current_line.is_empty()) {
        this.__lines.pop();
        this.current_line = this.__lines[this.__lines.length - 1];
        this.current_line.trim();
      }
    
      this.previous_line = this.__lines.length > 1 ?
        this.__lines[this.__lines.length - 2] : null;
    };
    
    Output.prototype.just_added_newline = function() {
      return this.current_line.is_empty();
    };
    
    Output.prototype.just_added_blankline = function() {
      return this.is_empty() ||
        (this.current_line.is_empty() && this.previous_line.is_empty());
    };
    
    Output.prototype.ensure_empty_line_above = function(starts_with, ends_with) {
      var index = this.__lines.length - 2;
      while (index >= 0) {
        var potentialEmptyLine = this.__lines[index];
        if (potentialEmptyLine.is_empty()) {
          break;
        } else if (potentialEmptyLine.item(0).indexOf(starts_with) !== 0 &&
          potentialEmptyLine.item(-1) !== ends_with) {
          this.__lines.splice(index + 1, 0, new OutputLine(this));
          this.previous_line = this.__lines[this.__lines.length - 2];
          break;
        }
        index--;
      }
    };
    
    module.exports.Output = Output;
    
    
    /***/ }),
    /* 3 */
    /***/ (function(module) {
    
    /*jshint node:true */
    /*
    
      The MIT License (MIT)
    
      Copyright (c) 2007-2018 Einar Lielmanis, Liam Newman, and contributors.
    
      Permission is hereby granted, free of charge, to any person
      obtaining a copy of this software and associated documentation files
      (the "Software"), to deal in the Software without restriction,
      including without limitation the rights to use, copy, modify, merge,
      publish, distribute, sublicense, and/or sell copies of the Software,
      and to permit persons to whom the Software is furnished to do so,
      subject to the following conditions:
    
      The above copyright notice and this permission notice shall be
      included in all copies or substantial portions of the Software.
    
      THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
      EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
      MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
      NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
      BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
      ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
      CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
      SOFTWARE.
    */
    
    
    
    function Token(type, text, newlines, whitespace_before) {
      this.type = type;
      this.text = text;
    
      // comments_before are
      // comments that have a new line before them
      // and may or may not have a newline after
      // this is a set of comments before
      this.comments_before = null; /* inline comment*/
    
    
      // this.comments_after =  new TokenStream(); // no new line before and newline after
      this.newlines = newlines || 0;
      this.whitespace_before = whitespace_before || '';
      this.parent = null;
      this.next = null;
      this.previous = null;
      this.opened = null;
      this.closed = null;
      this.directives = null;
    }
    
    
    module.exports.Token = Token;
    
    
    /***/ }),
    /* 4 */,
    /* 5 */,
    /* 6 */
    /***/ (function(module) {
    
    /*jshint node:true */
    /*
    
      The MIT License (MIT)
    
      Copyright (c) 2007-2018 Einar Lielmanis, Liam Newman, and contributors.
    
      Permission is hereby granted, free of charge, to any person
      obtaining a copy of this software and associated documentation files
      (the "Software"), to deal in the Software without restriction,
      including without limitation the rights to use, copy, modify, merge,
      publish, distribute, sublicense, and/or sell copies of the Software,
      and to permit persons to whom the Software is furnished to do so,
      subject to the following conditions:
    
      The above copyright notice and this permission notice shall be
      included in all copies or substantial portions of the Software.
    
      THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
      EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
      MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
      NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
      BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
      ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
      CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
      SOFTWARE.
    */
    
    
    
    function Options(options, merge_child_field) {
      this.raw_options = _mergeOpts(options, merge_child_field);
    
      // Support passing the source text back with no change
      this.disabled = this._get_boolean('disabled');
    
      this.eol = this._get_characters('eol', 'auto');
      this.end_with_newline = this._get_boolean('end_with_newline');
      this.indent_size = this._get_number('indent_size', 4);
      this.indent_char = this._get_characters('indent_char', ' ');
      this.indent_level = this._get_number('indent_level');
    
      this.preserve_newlines = this._get_boolean('preserve_newlines', true);
      this.max_preserve_newlines = this._get_number('max_preserve_newlines', 32786);
      if (!this.preserve_newlines) {
        this.max_preserve_newlines = 0;
      }
    
      this.indent_with_tabs = this._get_boolean('indent_with_tabs', this.indent_char === '\t');
      if (this.indent_with_tabs) {
        this.indent_char = '\t';
    
        // indent_size behavior changed after 1.8.6
        // It used to be that indent_size would be
        // set to 1 for indent_with_tabs. That is no longer needed and
        // actually doesn't make sense - why not use spaces? Further,
        // that might produce unexpected behavior - tabs being used
        // for single-column alignment. So, when indent_with_tabs is true
        // and indent_size is 1, reset indent_size to 4.
        if (this.indent_size === 1) {
          this.indent_size = 4;
        }
      }
    
      // Backwards compat with 1.3.x
      this.wrap_line_length = this._get_number('wrap_line_length', this._get_number('max_char'));
    
      this.indent_empty_lines = this._get_boolean('indent_empty_lines');
    
      // valid templating languages ['django', 'erb', 'handlebars', 'php', 'smarty', 'angular']
      // For now, 'auto' = all off for javascript, all except angular on for html (and inline javascript/css).
      // other values ignored
      this.templating = this._get_selection_list('templating', ['auto', 'none', 'angular', 'django', 'erb', 'handlebars', 'php', 'smarty'], ['auto']);
    }
    
    Options.prototype._get_array = function(name, default_value) {
      var option_value = this.raw_options[name];
      var result = default_value || [];
      if (typeof option_value === 'object') {
        if (option_value !== null && typeof option_value.concat === 'function') {
          result = option_value.concat();
        }
      } else if (typeof option_value === 'string') {
        result = option_value.split(/[^a-zA-Z0-9_\/\-]+/);
      }
      return result;
    };
    
    Options.prototype._get_boolean = function(name, default_value) {
      var option_value = this.raw_options[name];
      var result = option_value === undefined ? !!default_value : !!option_value;
      return result;
    };
    
    Options.prototype._get_characters = function(name, default_value) {
      var option_value = this.raw_options[name];
      var result = default_value || '';
      if (typeof option_value === 'string') {
        result = option_value.replace(/\\r/, '\r').replace(/\\n/, '\n').replace(/\\t/, '\t');
      }
      return result;
    };
    
    Options.prototype._get_number = function(name, default_value) {
      var option_value = this.raw_options[name];
      default_value = parseInt(default_value, 10);
      if (isNaN(default_value)) {
        default_value = 0;
      }
      var result = parseInt(option_value, 10);
      if (isNaN(result)) {
        result = default_value;
      }
      return result;
    };
    
    Options.prototype._get_selection = function(name, selection_list, default_value) {
      var result = this._get_selection_list(name, selection_list, default_value);
      if (result.length !== 1) {
        throw new Error(
          "Invalid Option Value: The option '" + name + "' can only be one of the following values:\n" +
          selection_list + "\nYou passed in: '" + this.raw_options[name] + "'");
      }
    
      return result[0];
    };
    
    
    Options.prototype._get_selection_list = function(name, selection_list, default_value) {
      if (!selection_list || selection_list.length === 0) {
        throw new Error("Selection list cannot be empty.");
      }
    
      default_value = default_value || [selection_list[0]];
      if (!this._is_valid_selection(default_value, selection_list)) {
        throw new Error("Invalid Default Value!");
      }
    
      var result = this._get_array(name, default_value);
      if (!this._is_valid_selection(result, selection_list)) {
        throw new Error(
          "Invalid Option Value: The option '" + name + "' can contain only the following values:\n" +
          selection_list + "\nYou passed in: '" + this.raw_options[name] + "'");
      }
    
      return result;
    };
    
    Options.prototype._is_valid_selection = function(result, selection_list) {
      return result.length && selection_list.length &&
        !result.some(function(item) { return selection_list.indexOf(item) === -1; });
    };
    
    
    // merges child options up with the parent options object
    // Example: obj = {a: 1, b: {a: 2}}
    //          mergeOpts(obj, 'b')
    //
    //          Returns: {a: 2}
    function _mergeOpts(allOptions, childFieldName) {
      var finalOpts = {};
      allOptions = _normalizeOpts(allOptions);
      var name;
    
      for (name in allOptions) {
        if (name !== childFieldName) {
          finalOpts[name] = allOptions[name];
        }
      }
    
      //merge in the per type settings for the childFieldName
      if (childFieldName && allOptions[childFieldName]) {
        for (name in allOptions[childFieldName]) {
          finalOpts[name] = allOptions[childFieldName][name];
        }
      }
      return finalOpts;
    }
    
    function _normalizeOpts(options) {
      var convertedOpts = {};
      var key;
    
      for (key in options) {
        var newKey = key.replace(/-/g, "_");
        convertedOpts[newKey] = options[key];
      }
      return convertedOpts;
    }
    
    module.exports.Options = Options;
    module.exports.normalizeOpts = _normalizeOpts;
    module.exports.mergeOpts = _mergeOpts;
    
    
    /***/ }),
    /* 7 */,
    /* 8 */
    /***/ (function(module) {
    
    /*jshint node:true */
    /*
    
      The MIT License (MIT)
    
      Copyright (c) 2007-2018 Einar Lielmanis, Liam Newman, and contributors.
    
      Permission is hereby granted, free of charge, to any person
      obtaining a copy of this software and associated documentation files
      (the "Software"), to deal in the Software without restriction,
      including without limitation the rights to use, copy, modify, merge,
      publish, distribute, sublicense, and/or sell copies of the Software,
      and to permit persons to whom the Software is furnished to do so,
      subject to the following conditions:
    
      The above copyright notice and this permission notice shall be
      included in all copies or substantial portions of the Software.
    
      THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
      EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
      MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
      NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
      BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
      ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
      CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
      SOFTWARE.
    */
    
    
    
    var regexp_has_sticky = RegExp.prototype.hasOwnProperty('sticky');
    
    function InputScanner(input_string) {
      this.__input = input_string || '';
      this.__input_length = this.__input.length;
      this.__position = 0;
    }
    
    InputScanner.prototype.restart = function() {
      this.__position = 0;
    };
    
    InputScanner.prototype.back = function() {
      if (this.__position > 0) {
        this.__position -= 1;
      }
    };
    
    InputScanner.prototype.hasNext = function() {
      return this.__position < this.__input_length;
    };
    
    InputScanner.prototype.next = function() {
      var val = null;
      if (this.hasNext()) {
        val = this.__input.charAt(this.__position);
        this.__position += 1;
      }
      return val;
    };
    
    InputScanner.prototype.peek = function(index) {
      var val = null;
      index = index || 0;
      index += this.__position;
      if (index >= 0 && index < this.__input_length) {
        val = this.__input.charAt(index);
      }
      return val;
    };
    
    // This is a JavaScript only helper function (not in python)
    // Javascript doesn't have a match method
    // and not all implementation support "sticky" flag.
    // If they do not support sticky then both this.match() and this.test() method
    // must get the match and check the index of the match.
    // If sticky is supported and set, this method will use it.
    // Otherwise it will check that global is set, and fall back to the slower method.
    InputScanner.prototype.__match = function(pattern, index) {
      pattern.lastIndex = index;
      var pattern_match = pattern.exec(this.__input);
    
      if (pattern_match && !(regexp_has_sticky && pattern.sticky)) {
        if (pattern_match.index !== index) {
          pattern_match = null;
        }
      }
    
      return pattern_match;
    };
    
    InputScanner.prototype.test = function(pattern, index) {
      index = index || 0;
      index += this.__position;
    
      if (index >= 0 && index < this.__input_length) {
        return !!this.__match(pattern, index);
      } else {
        return false;
      }
    };
    
    InputScanner.prototype.testChar = function(pattern, index) {
      // test one character regex match
      var val = this.peek(index);
      pattern.lastIndex = 0;
      return val !== null && pattern.test(val);
    };
    
    InputScanner.prototype.match = function(pattern) {
      var pattern_match = this.__match(pattern, this.__position);
      if (pattern_match) {
        this.__position += pattern_match[0].length;
      } else {
        pattern_match = null;
      }
      return pattern_match;
    };
    
    InputScanner.prototype.read = function(starting_pattern, until_pattern, until_after) {
      var val = '';
      var match;
      if (starting_pattern) {
        match = this.match(starting_pattern);
        if (match) {
          val += match[0];
        }
      }
      if (until_pattern && (match || !starting_pattern)) {
        val += this.readUntil(until_pattern, until_after);
      }
      return val;
    };
    
    InputScanner.prototype.readUntil = function(pattern, until_after) {
      var val = '';
      var match_index = this.__position;
      pattern.lastIndex = this.__position;
      var pattern_match = pattern.exec(this.__input);
      if (pattern_match) {
        match_index = pattern_match.index;
        if (until_after) {
          match_index += pattern_match[0].length;
        }
      } else {
        match_index = this.__input_length;
      }
    
      val = this.__input.substring(this.__position, match_index);
      this.__position = match_index;
      return val;
    };
    
    InputScanner.prototype.readUntilAfter = function(pattern) {
      return this.readUntil(pattern, true);
    };
    
    InputScanner.prototype.get_regexp = function(pattern, match_from) {
      var result = null;
      var flags = 'g';
      if (match_from && regexp_has_sticky) {
        flags = 'y';
      }
      // strings are converted to regexp
      if (typeof pattern === "string" && pattern !== '') {
        // result = new RegExp(pattern.replace(/[-\/\\^$*+?.()|[\]{}]/g, '\\$&'), flags);
        result = new RegExp(pattern, flags);
      } else if (pattern) {
        result = new RegExp(pattern.source, flags);
      }
      return result;
    };
    
    InputScanner.prototype.get_literal_regexp = function(literal_string) {
      return RegExp(literal_string.replace(/[-\/\\^$*+?.()|[\]{}]/g, '\\$&'));
    };
    
    /* css beautifier legacy helpers */
    InputScanner.prototype.peekUntilAfter = function(pattern) {
      var start = this.__position;
      var val = this.readUntilAfter(pattern);
      this.__position = start;
      return val;
    };
    
    InputScanner.prototype.lookBack = function(testVal) {
      var start = this.__position - 1;
      return start >= testVal.length && this.__input.substring(start - testVal.length, start)
        .toLowerCase() === testVal;
    };
    
    module.exports.InputScanner = InputScanner;
    
    
    /***/ }),
    /* 9 */
    /***/ (function(module, __unused_webpack_exports, __nested_webpack_require_30328__) {
    
    /*jshint node:true */
    /*
    
      The MIT License (MIT)
    
      Copyright (c) 2007-2018 Einar Lielmanis, Liam Newman, and contributors.
    
      Permission is hereby granted, free of charge, to any person
      obtaining a copy of this software and associated documentation files
      (the "Software"), to deal in the Software without restriction,
      including without limitation the rights to use, copy, modify, merge,
      publish, distribute, sublicense, and/or sell copies of the Software,
      and to permit persons to whom the Software is furnished to do so,
      subject to the following conditions:
    
      The above copyright notice and this permission notice shall be
      included in all copies or substantial portions of the Software.
    
      THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
      EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
      MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
      NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
      BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
      ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
      CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
      SOFTWARE.
    */
    
    
    
    var InputScanner = (__nested_webpack_require_30328__(8).InputScanner);
    var Token = (__nested_webpack_require_30328__(3).Token);
    var TokenStream = (__nested_webpack_require_30328__(10).TokenStream);
    var WhitespacePattern = (__nested_webpack_require_30328__(11).WhitespacePattern);
    
    var TOKEN = {
      START: 'TK_START',
      RAW: 'TK_RAW',
      EOF: 'TK_EOF'
    };
    
    var Tokenizer = function(input_string, options) {
      this._input = new InputScanner(input_string);
      this._options = options || {};
      this.__tokens = null;
    
      this._patterns = {};
      this._patterns.whitespace = new WhitespacePattern(this._input);
    };
    
    Tokenizer.prototype.tokenize = function() {
      this._input.restart();
      this.__tokens = new TokenStream();
    
      this._reset();
    
      var current;
      var previous = new Token(TOKEN.START, '');
      var open_token = null;
      var open_stack = [];
      var comments = new TokenStream();
    
      while (previous.type !== TOKEN.EOF) {
        current = this._get_next_token(previous, open_token);
        while (this._is_comment(current)) {
          comments.add(current);
          current = this._get_next_token(previous, open_token);
        }
    
        if (!comments.isEmpty()) {
          current.comments_before = comments;
          comments = new TokenStream();
        }
    
        current.parent = open_token;
    
        if (this._is_opening(current)) {
          open_stack.push(open_token);
          open_token = current;
        } else if (open_token && this._is_closing(current, open_token)) {
          current.opened = open_token;
          open_token.closed = current;
          open_token = open_stack.pop();
          current.parent = open_token;
        }
    
        current.previous = previous;
        previous.next = current;
    
        this.__tokens.add(current);
        previous = current;
      }
    
      return this.__tokens;
    };
    
    
    Tokenizer.prototype._is_first_token = function() {
      return this.__tokens.isEmpty();
    };
    
    Tokenizer.prototype._reset = function() {};
    
    Tokenizer.prototype._get_next_token = function(previous_token, open_token) { // jshint unused:false
      this._readWhitespace();
      var resulting_string = this._input.read(/.+/g);
      if (resulting_string) {
        return this._create_token(TOKEN.RAW, resulting_string);
      } else {
        return this._create_token(TOKEN.EOF, '');
      }
    };
    
    Tokenizer.prototype._is_comment = function(current_token) { // jshint unused:false
      return false;
    };
    
    Tokenizer.prototype._is_opening = function(current_token) { // jshint unused:false
      return false;
    };
    
    Tokenizer.prototype._is_closing = function(current_token, open_token) { // jshint unused:false
      return false;
    };
    
    Tokenizer.prototype._create_token = function(type, text) {
      var token = new Token(type, text,
        this._patterns.whitespace.newline_count,
        this._patterns.whitespace.whitespace_before_token);
      return token;
    };
    
    Tokenizer.prototype._readWhitespace = function() {
      return this._patterns.whitespace.read();
    };
    
    
    
    module.exports.Tokenizer = Tokenizer;
    module.exports.TOKEN = TOKEN;
    
    
    /***/ }),
    /* 10 */
    /***/ (function(module) {
    
    /*jshint node:true */
    /*
    
      The MIT License (MIT)
    
      Copyright (c) 2007-2018 Einar Lielmanis, Liam Newman, and contributors.
    
      Permission is hereby granted, free of charge, to any person
      obtaining a copy of this software and associated documentation files
      (the "Software"), to deal in the Software without restriction,
      including without limitation the rights to use, copy, modify, merge,
      publish, distribute, sublicense, and/or sell copies of the Software,
      and to permit persons to whom the Software is furnished to do so,
      subject to the following conditions:
    
      The above copyright notice and this permission notice shall be
      included in all copies or substantial portions of the Software.
    
      THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
      EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
      MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
      NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
      BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
      ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
      CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
      SOFTWARE.
    */
    
    
    
    function TokenStream(parent_token) {
      // private
      this.__tokens = [];
      this.__tokens_length = this.__tokens.length;
      this.__position = 0;
      this.__parent_token = parent_token;
    }
    
    TokenStream.prototype.restart = function() {
      this.__position = 0;
    };
    
    TokenStream.prototype.isEmpty = function() {
      return this.__tokens_length === 0;
    };
    
    TokenStream.prototype.hasNext = function() {
      return this.__position < this.__tokens_length;
    };
    
    TokenStream.prototype.next = function() {
      var val = null;
      if (this.hasNext()) {
        val = this.__tokens[this.__position];
        this.__position += 1;
      }
      return val;
    };
    
    TokenStream.prototype.peek = function(index) {
      var val = null;
      index = index || 0;
      index += this.__position;
      if (index >= 0 && index < this.__tokens_length) {
        val = this.__tokens[index];
      }
      return val;
    };
    
    TokenStream.prototype.add = function(token) {
      if (this.__parent_token) {
        token.parent = this.__parent_token;
      }
      this.__tokens.push(token);
      this.__tokens_length += 1;
    };
    
    module.exports.TokenStream = TokenStream;
    
    
    /***/ }),
    /* 11 */
    /***/ (function(module, __unused_webpack_exports, __nested_webpack_require_36748__) {
    
    /*jshint node:true */
    /*
    
      The MIT License (MIT)
    
      Copyright (c) 2007-2018 Einar Lielmanis, Liam Newman, and contributors.
    
      Permission is hereby granted, free of charge, to any person
      obtaining a copy of this software and associated documentation files
      (the "Software"), to deal in the Software without restriction,
      including without limitation the rights to use, copy, modify, merge,
      publish, distribute, sublicense, and/or sell copies of the Software,
      and to permit persons to whom the Software is furnished to do so,
      subject to the following conditions:
    
      The above copyright notice and this permission notice shall be
      included in all copies or substantial portions of the Software.
    
      THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
      EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
      MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
      NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
      BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
      ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
      CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
      SOFTWARE.
    */
    
    
    
    var Pattern = (__nested_webpack_require_36748__(12).Pattern);
    
    function WhitespacePattern(input_scanner, parent) {
      Pattern.call(this, input_scanner, parent);
      if (parent) {
        this._line_regexp = this._input.get_regexp(parent._line_regexp);
      } else {
        this.__set_whitespace_patterns('', '');
      }
    
      this.newline_count = 0;
      this.whitespace_before_token = '';
    }
    WhitespacePattern.prototype = new Pattern();
    
    WhitespacePattern.prototype.__set_whitespace_patterns = function(whitespace_chars, newline_chars) {
      whitespace_chars += '\\t ';
      newline_chars += '\\n\\r';
    
      this._match_pattern = this._input.get_regexp(
        '[' + whitespace_chars + newline_chars + ']+', true);
      this._newline_regexp = this._input.get_regexp(
        '\\r\\n|[' + newline_chars + ']');
    };
    
    WhitespacePattern.prototype.read = function() {
      this.newline_count = 0;
      this.whitespace_before_token = '';
    
      var resulting_string = this._input.read(this._match_pattern);
      if (resulting_string === ' ') {
        this.whitespace_before_token = ' ';
      } else if (resulting_string) {
        var matches = this.__split(this._newline_regexp, resulting_string);
        this.newline_count = matches.length - 1;
        this.whitespace_before_token = matches[this.newline_count];
      }
    
      return resulting_string;
    };
    
    WhitespacePattern.prototype.matching = function(whitespace_chars, newline_chars) {
      var result = this._create();
      result.__set_whitespace_patterns(whitespace_chars, newline_chars);
      result._update();
      return result;
    };
    
    WhitespacePattern.prototype._create = function() {
      return new WhitespacePattern(this._input, this);
    };
    
    WhitespacePattern.prototype.__split = function(regexp, input_string) {
      regexp.lastIndex = 0;
      var start_index = 0;
      var result = [];
      var next_match = regexp.exec(input_string);
      while (next_match) {
        result.push(input_string.substring(start_index, next_match.index));
        start_index = next_match.index + next_match[0].length;
        next_match = regexp.exec(input_string);
      }
    
      if (start_index < input_string.length) {
        result.push(input_string.substring(start_index, input_string.length));
      } else {
        result.push('');
      }
    
      return result;
    };
    
    
    
    module.exports.WhitespacePattern = WhitespacePattern;
    
    
    /***/ }),
    /* 12 */
    /***/ (function(module) {
    
    /*jshint node:true */
    /*
    
      The MIT License (MIT)
    
      Copyright (c) 2007-2018 Einar Lielmanis, Liam Newman, and contributors.
    
      Permission is hereby granted, free of charge, to any person
      obtaining a copy of this software and associated documentation files
      (the "Software"), to deal in the Software without restriction,
      including without limitation the rights to use, copy, modify, merge,
      publish, distribute, sublicense, and/or sell copies of the Software,
      and to permit persons to whom the Software is furnished to do so,
      subject to the following conditions:
    
      The above copyright notice and this permission notice shall be
      included in all copies or substantial portions of the Software.
    
      THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
      EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
      MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
      NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
      BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
      ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
      CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
      SOFTWARE.
    */
    
    
    
    function Pattern(input_scanner, parent) {
      this._input = input_scanner;
      this._starting_pattern = null;
      this._match_pattern = null;
      this._until_pattern = null;
      this._until_after = false;
    
      if (parent) {
        this._starting_pattern = this._input.get_regexp(parent._starting_pattern, true);
        this._match_pattern = this._input.get_regexp(parent._match_pattern, true);
        this._until_pattern = this._input.get_regexp(parent._until_pattern);
        this._until_after = parent._until_after;
      }
    }
    
    Pattern.prototype.read = function() {
      var result = this._input.read(this._starting_pattern);
      if (!this._starting_pattern || result) {
        result += this._input.read(this._match_pattern, this._until_pattern, this._until_after);
      }
      return result;
    };
    
    Pattern.prototype.read_match = function() {
      return this._input.match(this._match_pattern);
    };
    
    Pattern.prototype.until_after = function(pattern) {
      var result = this._create();
      result._until_after = true;
      result._until_pattern = this._input.get_regexp(pattern);
      result._update();
      return result;
    };
    
    Pattern.prototype.until = function(pattern) {
      var result = this._create();
      result._until_after = false;
      result._until_pattern = this._input.get_regexp(pattern);
      result._update();
      return result;
    };
    
    Pattern.prototype.starting_with = function(pattern) {
      var result = this._create();
      result._starting_pattern = this._input.get_regexp(pattern, true);
      result._update();
      return result;
    };
    
    Pattern.prototype.matching = function(pattern) {
      var result = this._create();
      result._match_pattern = this._input.get_regexp(pattern, true);
      result._update();
      return result;
    };
    
    Pattern.prototype._create = function() {
      return new Pattern(this._input, this);
    };
    
    Pattern.prototype._update = function() {};
    
    module.exports.Pattern = Pattern;
    
    
    /***/ }),
    /* 13 */
    /***/ (function(module) {
    
    /*jshint node:true */
    /*
    
      The MIT License (MIT)
    
      Copyright (c) 2007-2018 Einar Lielmanis, Liam Newman, and contributors.
    
      Permission is hereby granted, free of charge, to any person
      obtaining a copy of this software and associated documentation files
      (the "Software"), to deal in the Software without restriction,
      including without limitation the rights to use, copy, modify, merge,
      publish, distribute, sublicense, and/or sell copies of the Software,
      and to permit persons to whom the Software is furnished to do so,
      subject to the following conditions:
    
      The above copyright notice and this permission notice shall be
      included in all copies or substantial portions of the Software.
    
      THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
      EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
      MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
      NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
      BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
      ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
      CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
      SOFTWARE.
    */
    
    
    
    function Directives(start_block_pattern, end_block_pattern) {
      start_block_pattern = typeof start_block_pattern === 'string' ? start_block_pattern : start_block_pattern.source;
      end_block_pattern = typeof end_block_pattern === 'string' ? end_block_pattern : end_block_pattern.source;
      this.__directives_block_pattern = new RegExp(start_block_pattern + / beautify( \w+[:]\w+)+ /.source + end_block_pattern, 'g');
      this.__directive_pattern = / (\w+)[:](\w+)/g;
    
      this.__directives_end_ignore_pattern = new RegExp(start_block_pattern + /\sbeautify\signore:end\s/.source + end_block_pattern, 'g');
    }
    
    Directives.prototype.get_directives = function(text) {
      if (!text.match(this.__directives_block_pattern)) {
        return null;
      }
    
      var directives = {};
      this.__directive_pattern.lastIndex = 0;
      var directive_match = this.__directive_pattern.exec(text);
    
      while (directive_match) {
        directives[directive_match[1]] = directive_match[2];
        directive_match = this.__directive_pattern.exec(text);
      }
    
      return directives;
    };
    
    Directives.prototype.readIgnored = function(input) {
      return input.readUntilAfter(this.__directives_end_ignore_pattern);
    };
    
    
    module.exports.Directives = Directives;
    
    
    /***/ }),
    /* 14 */
    /***/ (function(module, __unused_webpack_exports, __nested_webpack_require_45735__) {
    
    /*jshint node:true */
    /*
    
      The MIT License (MIT)
    
      Copyright (c) 2007-2018 Einar Lielmanis, Liam Newman, and contributors.
    
      Permission is hereby granted, free of charge, to any person
      obtaining a copy of this software and associated documentation files
      (the "Software"), to deal in the Software without restriction,
      including without limitation the rights to use, copy, modify, merge,
      publish, distribute, sublicense, and/or sell copies of the Software,
      and to permit persons to whom the Software is furnished to do so,
      subject to the following conditions:
    
      The above copyright notice and this permission notice shall be
      included in all copies or substantial portions of the Software.
    
      THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
      EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
      MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
      NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
      BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
      ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
      CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
      SOFTWARE.
    */
    
    
    
    var Pattern = (__nested_webpack_require_45735__(12).Pattern);
    
    
    var template_names = {
      django: false,
      erb: false,
      handlebars: false,
      php: false,
      smarty: false,
      angular: false
    };
    
    // This lets templates appear anywhere we would do a readUntil
    // The cost is higher but it is pay to play.
    function TemplatablePattern(input_scanner, parent) {
      Pattern.call(this, input_scanner, parent);
      this.__template_pattern = null;
      this._disabled = Object.assign({}, template_names);
      this._excluded = Object.assign({}, template_names);
    
      if (parent) {
        this.__template_pattern = this._input.get_regexp(parent.__template_pattern);
        this._excluded = Object.assign(this._excluded, parent._excluded);
        this._disabled = Object.assign(this._disabled, parent._disabled);
      }
      var pattern = new Pattern(input_scanner);
      this.__patterns = {
        handlebars_comment: pattern.starting_with(/{{!--/).until_after(/--}}/),
        handlebars_unescaped: pattern.starting_with(/{{{/).until_after(/}}}/),
        handlebars: pattern.starting_with(/{{/).until_after(/}}/),
        php: pattern.starting_with(/<\?(?:[= ]|php)/).until_after(/\?>/),
        erb: pattern.starting_with(/<%[^%]/).until_after(/[^%]%>/),
        // django coflicts with handlebars a bit.
        django: pattern.starting_with(/{%/).until_after(/%}/),
        django_value: pattern.starting_with(/{{/).until_after(/}}/),
        django_comment: pattern.starting_with(/{#/).until_after(/#}/),
        smarty: pattern.starting_with(/{(?=[^}{\s\n])/).until_after(/[^\s\n]}/),
        smarty_comment: pattern.starting_with(/{\*/).until_after(/\*}/),
        smarty_literal: pattern.starting_with(/{literal}/).until_after(/{\/literal}/)
      };
    }
    TemplatablePattern.prototype = new Pattern();
    
    TemplatablePattern.prototype._create = function() {
      return new TemplatablePattern(this._input, this);
    };
    
    TemplatablePattern.prototype._update = function() {
      this.__set_templated_pattern();
    };
    
    TemplatablePattern.prototype.disable = function(language) {
      var result = this._create();
      result._disabled[language] = true;
      result._update();
      return result;
    };
    
    TemplatablePattern.prototype.read_options = function(options) {
      var result = this._create();
      for (var language in template_names) {
        result._disabled[language] = options.templating.indexOf(language) === -1;
      }
      result._update();
      return result;
    };
    
    TemplatablePattern.prototype.exclude = function(language) {
      var result = this._create();
      result._excluded[language] = true;
      result._update();
      return result;
    };
    
    TemplatablePattern.prototype.read = function() {
      var result = '';
      if (this._match_pattern) {
        result = this._input.read(this._starting_pattern);
      } else {
        result = this._input.read(this._starting_pattern, this.__template_pattern);
      }
      var next = this._read_template();
      while (next) {
        if (this._match_pattern) {
          next += this._input.read(this._match_pattern);
        } else {
          next += this._input.readUntil(this.__template_pattern);
        }
        result += next;
        next = this._read_template();
      }
    
      if (this._until_after) {
        result += this._input.readUntilAfter(this._until_pattern);
      }
      return result;
    };
    
    TemplatablePattern.prototype.__set_templated_pattern = function() {
      var items = [];
    
      if (!this._disabled.php) {
        items.push(this.__patterns.php._starting_pattern.source);
      }
      if (!this._disabled.handlebars) {
        items.push(this.__patterns.handlebars._starting_pattern.source);
      }
      if (!this._disabled.angular) {
        // Handlebars ('{{' and '}}') are also special tokens in Angular)
        items.push(this.__patterns.handlebars._starting_pattern.source);
      }
      if (!this._disabled.erb) {
        items.push(this.__patterns.erb._starting_pattern.source);
      }
      if (!this._disabled.django) {
        items.push(this.__patterns.django._starting_pattern.source);
        // The starting pattern for django is more complex because it has different
        // patterns for value, comment, and other sections
        items.push(this.__patterns.django_value._starting_pattern.source);
        items.push(this.__patterns.django_comment._starting_pattern.source);
      }
      if (!this._disabled.smarty) {
        items.push(this.__patterns.smarty._starting_pattern.source);
      }
    
      if (this._until_pattern) {
        items.push(this._until_pattern.source);
      }
      this.__template_pattern = this._input.get_regexp('(?:' + items.join('|') + ')');
    };
    
    TemplatablePattern.prototype._read_template = function() {
      var resulting_string = '';
      var c = this._input.peek();
      if (c === '<') {
        var peek1 = this._input.peek(1);
        //if we're in a comment, do something special
        // We treat all comments as literals, even more than preformatted tags
        // we just look for the appropriate close tag
        if (!this._disabled.php && !this._excluded.php && peek1 === '?') {
          resulting_string = resulting_string ||
            this.__patterns.php.read();
        }
        if (!this._disabled.erb && !this._excluded.erb && peek1 === '%') {
          resulting_string = resulting_string ||
            this.__patterns.erb.read();
        }
      } else if (c === '{') {
        if (!this._disabled.handlebars && !this._excluded.handlebars) {
          resulting_string = resulting_string ||
            this.__patterns.handlebars_comment.read();
          resulting_string = resulting_string ||
            this.__patterns.handlebars_unescaped.read();
          resulting_string = resulting_string ||
            this.__patterns.handlebars.read();
        }
        if (!this._disabled.django) {
          // django coflicts with handlebars a bit.
          if (!this._excluded.django && !this._excluded.handlebars) {
            resulting_string = resulting_string ||
              this.__patterns.django_value.read();
          }
          if (!this._excluded.django) {
            resulting_string = resulting_string ||
              this.__patterns.django_comment.read();
            resulting_string = resulting_string ||
              this.__patterns.django.read();
          }
        }
        if (!this._disabled.smarty) {
          // smarty cannot be enabled with django or handlebars enabled
          if (this._disabled.django && this._disabled.handlebars) {
            resulting_string = resulting_string ||
              this.__patterns.smarty_comment.read();
            resulting_string = resulting_string ||
              this.__patterns.smarty_literal.read();
            resulting_string = resulting_string ||
              this.__patterns.smarty.read();
          }
        }
      }
      return resulting_string;
    };
    
    
    module.exports.TemplatablePattern = TemplatablePattern;
    
    
    /***/ }),
    /* 15 */,
    /* 16 */,
    /* 17 */,
    /* 18 */
    /***/ (function(module, __unused_webpack_exports, __nested_webpack_require_53475__) {
    
    /*jshint node:true */
    /*
    
      The MIT License (MIT)
    
      Copyright (c) 2007-2018 Einar Lielmanis, Liam Newman, and contributors.
    
      Permission is hereby granted, free of charge, to any person
      obtaining a copy of this software and associated documentation files
      (the "Software"), to deal in the Software without restriction,
      including without limitation the rights to use, copy, modify, merge,
      publish, distribute, sublicense, and/or sell copies of the Software,
      and to permit persons to whom the Software is furnished to do so,
      subject to the following conditions:
    
      The above copyright notice and this permission notice shall be
      included in all copies or substantial portions of the Software.
    
      THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
      EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
      MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
      NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
      BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
      ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
      CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
      SOFTWARE.
    */
    
    
    
    var Beautifier = (__nested_webpack_require_53475__(19).Beautifier),
      Options = (__nested_webpack_require_53475__(20).Options);
    
    function style_html(html_source, options, js_beautify, css_beautify) {
      var beautifier = new Beautifier(html_source, options, js_beautify, css_beautify);
      return beautifier.beautify();
    }
    
    module.exports = style_html;
    module.exports.defaultOptions = function() {
      return new Options();
    };
    
    
    /***/ }),
    /* 19 */
    /***/ (function(module, __unused_webpack_exports, __nested_webpack_require_55153__) {
    
    /*jshint node:true */
    /*
    
      The MIT License (MIT)
    
      Copyright (c) 2007-2018 Einar Lielmanis, Liam Newman, and contributors.
    
      Permission is hereby granted, free of charge, to any person
      obtaining a copy of this software and associated documentation files
      (the "Software"), to deal in the Software without restriction,
      including without limitation the rights to use, copy, modify, merge,
      publish, distribute, sublicense, and/or sell copies of the Software,
      and to permit persons to whom the Software is furnished to do so,
      subject to the following conditions:
    
      The above copyright notice and this permission notice shall be
      included in all copies or substantial portions of the Software.
    
      THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
      EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
      MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
      NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
      BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
      ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
      CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
      SOFTWARE.
    */
    
    
    
    var Options = (__nested_webpack_require_55153__(20).Options);
    var Output = (__nested_webpack_require_55153__(2).Output);
    var Tokenizer = (__nested_webpack_require_55153__(21).Tokenizer);
    var TOKEN = (__nested_webpack_require_55153__(21).TOKEN);
    
    var lineBreak = /\r\n|[\r\n]/;
    var allLineBreaks = /\r\n|[\r\n]/g;
    
    var Printer = function(options, base_indent_string) { //handles input/output and some other printing functions
    
      this.indent_level = 0;
      this.alignment_size = 0;
      this.max_preserve_newlines = options.max_preserve_newlines;
      this.preserve_newlines = options.preserve_newlines;
    
      this._output = new Output(options, base_indent_string);
    
    };
    
    Printer.prototype.current_line_has_match = function(pattern) {
      return this._output.current_line.has_match(pattern);
    };
    
    Printer.prototype.set_space_before_token = function(value, non_breaking) {
      this._output.space_before_token = value;
      this._output.non_breaking_space = non_breaking;
    };
    
    Printer.prototype.set_wrap_point = function() {
      this._output.set_indent(this.indent_level, this.alignment_size);
      this._output.set_wrap_point();
    };
    
    
    Printer.prototype.add_raw_token = function(token) {
      this._output.add_raw_token(token);
    };
    
    Printer.prototype.print_preserved_newlines = function(raw_token) {
      var newlines = 0;
      if (raw_token.type !== TOKEN.TEXT && raw_token.previous.type !== TOKEN.TEXT) {
        newlines = raw_token.newlines ? 1 : 0;
      }
    
      if (this.preserve_newlines) {
        newlines = raw_token.newlines < this.max_preserve_newlines + 1 ? raw_token.newlines : this.max_preserve_newlines + 1;
      }
      for (var n = 0; n < newlines; n++) {
        this.print_newline(n > 0);
      }
    
      return newlines !== 0;
    };
    
    Printer.prototype.traverse_whitespace = function(raw_token) {
      if (raw_token.whitespace_before || raw_token.newlines) {
        if (!this.print_preserved_newlines(raw_token)) {
          this._output.space_before_token = true;
        }
        return true;
      }
      return false;
    };
    
    Printer.prototype.previous_token_wrapped = function() {
      return this._output.previous_token_wrapped;
    };
    
    Printer.prototype.print_newline = function(force) {
      this._output.add_new_line(force);
    };
    
    Printer.prototype.print_token = function(token) {
      if (token.text) {
        this._output.set_indent(this.indent_level, this.alignment_size);
        this._output.add_token(token.text);
      }
    };
    
    Printer.prototype.indent = function() {
      this.indent_level++;
    };
    
    Printer.prototype.deindent = function() {
      if (this.indent_level > 0) {
        this.indent_level--;
        this._output.set_indent(this.indent_level, this.alignment_size);
      }
    };
    
    Printer.prototype.get_full_indent = function(level) {
      level = this.indent_level + (level || 0);
      if (level < 1) {
        return '';
      }
    
      return this._output.get_indent_string(level);
    };
    
    var get_type_attribute = function(start_token) {
      var result = null;
      var raw_token = start_token.next;
    
      // Search attributes for a type attribute
      while (raw_token.type !== TOKEN.EOF && start_token.closed !== raw_token) {
        if (raw_token.type === TOKEN.ATTRIBUTE && raw_token.text === 'type') {
          if (raw_token.next && raw_token.next.type === TOKEN.EQUALS &&
            raw_token.next.next && raw_token.next.next.type === TOKEN.VALUE) {
            result = raw_token.next.next.text;
          }
          break;
        }
        raw_token = raw_token.next;
      }
    
      return result;
    };
    
    var get_custom_beautifier_name = function(tag_check, raw_token) {
      var typeAttribute = null;
      var result = null;
    
      if (!raw_token.closed) {
        return null;
      }
    
      if (tag_check === 'script') {
        typeAttribute = 'text/javascript';
      } else if (tag_check === 'style') {
        typeAttribute = 'text/css';
      }
    
      typeAttribute = get_type_attribute(raw_token) || typeAttribute;
    
      // For script and style tags that have a type attribute, only enable custom beautifiers for matching values
      // For those without a type attribute use default;
      if (typeAttribute.search('text/css') > -1) {
        result = 'css';
      } else if (typeAttribute.search(/module|((text|application|dojo)\/(x-)?(javascript|ecmascript|jscript|livescript|(ld\+)?json|method|aspect))/) > -1) {
        result = 'javascript';
      } else if (typeAttribute.search(/(text|application|dojo)\/(x-)?(html)/) > -1) {
        result = 'html';
      } else if (typeAttribute.search(/test\/null/) > -1) {
        // Test only mime-type for testing the beautifier when null is passed as beautifing function
        result = 'null';
      }
    
      return result;
    };
    
    function in_array(what, arr) {
      return arr.indexOf(what) !== -1;
    }
    
    function TagFrame(parent, parser_token, indent_level) {
      this.parent = parent || null;
      this.tag = parser_token ? parser_token.tag_name : '';
      this.indent_level = indent_level || 0;
      this.parser_token = parser_token || null;
    }
    
    function TagStack(printer) {
      this._printer = printer;
      this._current_frame = null;
    }
    
    TagStack.prototype.get_parser_token = function() {
      return this._current_frame ? this._current_frame.parser_token : null;
    };
    
    TagStack.prototype.record_tag = function(parser_token) { //function to record a tag and its parent in this.tags Object
      var new_frame = new TagFrame(this._current_frame, parser_token, this._printer.indent_level);
      this._current_frame = new_frame;
    };
    
    TagStack.prototype._try_pop_frame = function(frame) { //function to retrieve the opening tag to the corresponding closer
      var parser_token = null;
    
      if (frame) {
        parser_token = frame.parser_token;
        this._printer.indent_level = frame.indent_level;
        this._current_frame = frame.parent;
      }
    
      return parser_token;
    };
    
    TagStack.prototype._get_frame = function(tag_list, stop_list) { //function to retrieve the opening tag to the corresponding closer
      var frame = this._current_frame;
    
      while (frame) { //till we reach '' (the initial value);
        if (tag_list.indexOf(frame.tag) !== -1) { //if this is it use it
          break;
        } else if (stop_list && stop_list.indexOf(frame.tag) !== -1) {
          frame = null;
          break;
        }
        frame = frame.parent;
      }
    
      return frame;
    };
    
    TagStack.prototype.try_pop = function(tag, stop_list) { //function to retrieve the opening tag to the corresponding closer
      var frame = this._get_frame([tag], stop_list);
      return this._try_pop_frame(frame);
    };
    
    TagStack.prototype.indent_to_tag = function(tag_list) {
      var frame = this._get_frame(tag_list);
      if (frame) {
        this._printer.indent_level = frame.indent_level;
      }
    };
    
    function Beautifier(source_text, options, js_beautify, css_beautify) {
      //Wrapper function to invoke all the necessary constructors and deal with the output.
      this._source_text = source_text || '';
      options = options || {};
      this._js_beautify = js_beautify;
      this._css_beautify = css_beautify;
      this._tag_stack = null;
    
      // Allow the setting of language/file-type specific options
      // with inheritance of overall settings
      var optionHtml = new Options(options, 'html');
    
      this._options = optionHtml;
    
      this._is_wrap_attributes_force = this._options.wrap_attributes.substr(0, 'force'.length) === 'force';
      this._is_wrap_attributes_force_expand_multiline = (this._options.wrap_attributes === 'force-expand-multiline');
      this._is_wrap_attributes_force_aligned = (this._options.wrap_attributes === 'force-aligned');
      this._is_wrap_attributes_aligned_multiple = (this._options.wrap_attributes === 'aligned-multiple');
      this._is_wrap_attributes_preserve = this._options.wrap_attributes.substr(0, 'preserve'.length) === 'preserve';
      this._is_wrap_attributes_preserve_aligned = (this._options.wrap_attributes === 'preserve-aligned');
    }
    
    Beautifier.prototype.beautify = function() {
    
      // if disabled, return the input unchanged.
      if (this._options.disabled) {
        return this._source_text;
      }
    
      var source_text = this._source_text;
      var eol = this._options.eol;
      if (this._options.eol === 'auto') {
        eol = '\n';
        if (source_text && lineBreak.test(source_text)) {
          eol = source_text.match(lineBreak)[0];
        }
      }
    
      // HACK: newline parsing inconsistent. This brute force normalizes the input.
      source_text = source_text.replace(allLineBreaks, '\n');
    
      var baseIndentString = source_text.match(/^[\t ]*/)[0];
    
      var last_token = {
        text: '',
        type: ''
      };
    
      var last_tag_token = new TagOpenParserToken(this._options);
    
      var printer = new Printer(this._options, baseIndentString);
      var tokens = new Tokenizer(source_text, this._options).tokenize();
    
      this._tag_stack = new TagStack(printer);
    
      var parser_token = null;
      var raw_token = tokens.next();
      while (raw_token.type !== TOKEN.EOF) {
    
        if (raw_token.type === TOKEN.TAG_OPEN || raw_token.type === TOKEN.COMMENT) {
          parser_token = this._handle_tag_open(printer, raw_token, last_tag_token, last_token, tokens);
          last_tag_token = parser_token;
        } else if ((raw_token.type === TOKEN.ATTRIBUTE || raw_token.type === TOKEN.EQUALS || raw_token.type === TOKEN.VALUE) ||
          (raw_token.type === TOKEN.TEXT && !last_tag_token.tag_complete)) {
          parser_token = this._handle_inside_tag(printer, raw_token, last_tag_token, last_token);
        } else if (raw_token.type === TOKEN.TAG_CLOSE) {
          parser_token = this._handle_tag_close(printer, raw_token, last_tag_token);
        } else if (raw_token.type === TOKEN.TEXT) {
          parser_token = this._handle_text(printer, raw_token, last_tag_token);
        } else if (raw_token.type === TOKEN.CONTROL_FLOW_OPEN) {
          parser_token = this._handle_control_flow_open(printer, raw_token);
        } else if (raw_token.type === TOKEN.CONTROL_FLOW_CLOSE) {
          parser_token = this._handle_control_flow_close(printer, raw_token);
        } else {
          // This should never happen, but if it does. Print the raw token
          printer.add_raw_token(raw_token);
        }
    
        last_token = parser_token;
    
        raw_token = tokens.next();
      }
      var sweet_code = printer._output.get_code(eol);
    
      return sweet_code;
    };
    
    Beautifier.prototype._handle_control_flow_open = function(printer, raw_token) {
      var parser_token = {
        text: raw_token.text,
        type: raw_token.type
      };
      printer.set_space_before_token(raw_token.newlines || raw_token.whitespace_before !== '', true);
      if (raw_token.newlines) {
        printer.print_preserved_newlines(raw_token);
      } else {
        printer.set_space_before_token(raw_token.newlines || raw_token.whitespace_before !== '', true);
      }
      printer.print_token(raw_token);
      printer.indent();
      return parser_token;
    };
    
    Beautifier.prototype._handle_control_flow_close = function(printer, raw_token) {
      var parser_token = {
        text: raw_token.text,
        type: raw_token.type
      };
    
      printer.deindent();
      if (raw_token.newlines) {
        printer.print_preserved_newlines(raw_token);
      } else {
        printer.set_space_before_token(raw_token.newlines || raw_token.whitespace_before !== '', true);
      }
      printer.print_token(raw_token);
      return parser_token;
    };
    
    Beautifier.prototype._handle_tag_close = function(printer, raw_token, last_tag_token) {
      var parser_token = {
        text: raw_token.text,
        type: raw_token.type
      };
      printer.alignment_size = 0;
      last_tag_token.tag_complete = true;
    
      printer.set_space_before_token(raw_token.newlines || raw_token.whitespace_before !== '', true);
      if (last_tag_token.is_unformatted) {
        printer.add_raw_token(raw_token);
      } else {
        if (last_tag_token.tag_start_char === '<') {
          printer.set_space_before_token(raw_token.text[0] === '/', true); // space before />, no space before >
          if (this._is_wrap_attributes_force_expand_multiline && last_tag_token.has_wrapped_attrs) {
            printer.print_newline(false);
          }
        }
        printer.print_token(raw_token);
    
      }
    
      if (last_tag_token.indent_content &&
        !(last_tag_token.is_unformatted || last_tag_token.is_content_unformatted)) {
        printer.indent();
    
        // only indent once per opened tag
        last_tag_token.indent_content = false;
      }
    
      if (!last_tag_token.is_inline_element &&
        !(last_tag_token.is_unformatted || last_tag_token.is_content_unformatted)) {
        printer.set_wrap_point();
      }
    
      return parser_token;
    };
    
    Beautifier.prototype._handle_inside_tag = function(printer, raw_token, last_tag_token, last_token) {
      var wrapped = last_tag_token.has_wrapped_attrs;
      var parser_token = {
        text: raw_token.text,
        type: raw_token.type
      };
    
      printer.set_space_before_token(raw_token.newlines || raw_token.whitespace_before !== '', true);
      if (last_tag_token.is_unformatted) {
        printer.add_raw_token(raw_token);
      } else if (last_tag_token.tag_start_char === '{' && raw_token.type === TOKEN.TEXT) {
        // For the insides of handlebars allow newlines or a single space between open and contents
        if (printer.print_preserved_newlines(raw_token)) {
          raw_token.newlines = 0;
          printer.add_raw_token(raw_token);
        } else {
          printer.print_token(raw_token);
        }
      } else {
        if (raw_token.type === TOKEN.ATTRIBUTE) {
          printer.set_space_before_token(true);
        } else if (raw_token.type === TOKEN.EQUALS) { //no space before =
          printer.set_space_before_token(false);
        } else if (raw_token.type === TOKEN.VALUE && raw_token.previous.type === TOKEN.EQUALS) { //no space before value
          printer.set_space_before_token(false);
        }
    
        if (raw_token.type === TOKEN.ATTRIBUTE && last_tag_token.tag_start_char === '<') {
          if (this._is_wrap_attributes_preserve || this._is_wrap_attributes_preserve_aligned) {
            printer.traverse_whitespace(raw_token);
            wrapped = wrapped || raw_token.newlines !== 0;
          }
    
          // Wrap for 'force' options, and if the number of attributes is at least that specified in 'wrap_attributes_min_attrs':
          // 1. always wrap the second and beyond attributes
          // 2. wrap the first attribute only if 'force-expand-multiline' is specified
          if (this._is_wrap_attributes_force &&
            last_tag_token.attr_count >= this._options.wrap_attributes_min_attrs &&
            (last_token.type !== TOKEN.TAG_OPEN || // ie. second attribute and beyond
              this._is_wrap_attributes_force_expand_multiline)) {
            printer.print_newline(false);
            wrapped = true;
          }
        }
        printer.print_token(raw_token);
        wrapped = wrapped || printer.previous_token_wrapped();
        last_tag_token.has_wrapped_attrs = wrapped;
      }
      return parser_token;
    };
    
    Beautifier.prototype._handle_text = function(printer, raw_token, last_tag_token) {
      var parser_token = {
        text: raw_token.text,
        type: 'TK_CONTENT'
      };
      if (last_tag_token.custom_beautifier_name) { //check if we need to format javascript
        this._print_custom_beatifier_text(printer, raw_token, last_tag_token);
      } else if (last_tag_token.is_unformatted || last_tag_token.is_content_unformatted) {
        printer.add_raw_token(raw_token);
      } else {
        printer.traverse_whitespace(raw_token);
        printer.print_token(raw_token);
      }
      return parser_token;
    };
    
    Beautifier.prototype._print_custom_beatifier_text = function(printer, raw_token, last_tag_token) {
      var local = this;
      if (raw_token.text !== '') {
    
        var text = raw_token.text,
          _beautifier,
          script_indent_level = 1,
          pre = '',
          post = '';
        if (last_tag_token.custom_beautifier_name === 'javascript' && typeof this._js_beautify === 'function') {
          _beautifier = this._js_beautify;
        } else if (last_tag_token.custom_beautifier_name === 'css' && typeof this._css_beautify === 'function') {
          _beautifier = this._css_beautify;
        } else if (last_tag_token.custom_beautifier_name === 'html') {
          _beautifier = function(html_source, options) {
            var beautifier = new Beautifier(html_source, options, local._js_beautify, local._css_beautify);
            return beautifier.beautify();
          };
        }
    
        if (this._options.indent_scripts === "keep") {
          script_indent_level = 0;
        } else if (this._options.indent_scripts === "separate") {
          script_indent_level = -printer.indent_level;
        }
    
        var indentation = printer.get_full_indent(script_indent_level);
    
        // if there is at least one empty line at the end of this text, strip it
        // we'll be adding one back after the text but before the containing tag.
        text = text.replace(/\n[ \t]*$/, '');
    
        // Handle the case where content is wrapped in a comment or cdata.
        if (last_tag_token.custom_beautifier_name !== 'html' &&
          text[0] === '<' && text.match(/^(<!--|<!\[CDATA\[)/)) {
          var matched = /^(<!--[^\n]*|<!\[CDATA\[)(\n?)([ \t\n]*)([\s\S]*)(-->|]]>)$/.exec(text);
    
          // if we start to wrap but don't finish, print raw
          if (!matched) {
            printer.add_raw_token(raw_token);
            return;
          }
    
          pre = indentation + matched[1] + '\n';
          text = matched[4];
          if (matched[5]) {
            post = indentation + matched[5];
          }
    
          // if there is at least one empty line at the end of this text, strip it
          // we'll be adding one back after the text but before the containing tag.
          text = text.replace(/\n[ \t]*$/, '');
    
          if (matched[2] || matched[3].indexOf('\n') !== -1) {
            // if the first line of the non-comment text has spaces
            // use that as the basis for indenting in null case.
            matched = matched[3].match(/[ \t]+$/);
            if (matched) {
              raw_token.whitespace_before = matched[0];
            }
          }
        }
    
        if (text) {
          if (_beautifier) {
    
            // call the Beautifier if avaliable
            var Child_options = function() {
              this.eol = '\n';
            };
            Child_options.prototype = this._options.raw_options;
            var child_options = new Child_options();
            text = _beautifier(indentation + text, child_options);
          } else {
            // simply indent the string otherwise
            var white = raw_token.whitespace_before;
            if (white) {
              text = text.replace(new RegExp('\n(' + white + ')?', 'g'), '\n');
            }
    
            text = indentation + text.replace(/\n/g, '\n' + indentation);
          }
        }
    
        if (pre) {
          if (!text) {
            text = pre + post;
          } else {
            text = pre + text + '\n' + post;
          }
        }
    
        printer.print_newline(false);
        if (text) {
          raw_token.text = text;
          raw_token.whitespace_before = '';
          raw_token.newlines = 0;
          printer.add_raw_token(raw_token);
          printer.print_newline(true);
        }
      }
    };
    
    Beautifier.prototype._handle_tag_open = function(printer, raw_token, last_tag_token, last_token, tokens) {
      var parser_token = this._get_tag_open_token(raw_token);
    
      if ((last_tag_token.is_unformatted || last_tag_token.is_content_unformatted) &&
        !last_tag_token.is_empty_element &&
        raw_token.type === TOKEN.TAG_OPEN && !parser_token.is_start_tag) {
        // End element tags for unformatted or content_unformatted elements
        // are printed raw to keep any newlines inside them exactly the same.
        printer.add_raw_token(raw_token);
        parser_token.start_tag_token = this._tag_stack.try_pop(parser_token.tag_name);
      } else {
        printer.traverse_whitespace(raw_token);
        this._set_tag_position(printer, raw_token, parser_token, last_tag_token, last_token);
        if (!parser_token.is_inline_element) {
          printer.set_wrap_point();
        }
        printer.print_token(raw_token);
      }
    
      // count the number of attributes
      if (parser_token.is_start_tag && this._is_wrap_attributes_force) {
        var peek_index = 0;
        var peek_token;
        do {
          peek_token = tokens.peek(peek_index);
          if (peek_token.type === TOKEN.ATTRIBUTE) {
            parser_token.attr_count += 1;
          }
          peek_index += 1;
        } while (peek_token.type !== TOKEN.EOF && peek_token.type !== TOKEN.TAG_CLOSE);
      }
    
      //indent attributes an auto, forced, aligned or forced-align line-wrap
      if (this._is_wrap_attributes_force_aligned || this._is_wrap_attributes_aligned_multiple || this._is_wrap_attributes_preserve_aligned) {
        parser_token.alignment_size = raw_token.text.length + 1;
      }
    
      if (!parser_token.tag_complete && !parser_token.is_unformatted) {
        printer.alignment_size = parser_token.alignment_size;
      }
    
      return parser_token;
    };
    
    var TagOpenParserToken = function(options, parent, raw_token) {
      this.parent = parent || null;
      this.text = '';
      this.type = 'TK_TAG_OPEN';
      this.tag_name = '';
      this.is_inline_element = false;
      this.is_unformatted = false;
      this.is_content_unformatted = false;
      this.is_empty_element = false;
      this.is_start_tag = false;
      this.is_end_tag = false;
      this.indent_content = false;
      this.multiline_content = false;
      this.custom_beautifier_name = null;
      this.start_tag_token = null;
      this.attr_count = 0;
      this.has_wrapped_attrs = false;
      this.alignment_size = 0;
      this.tag_complete = false;
      this.tag_start_char = '';
      this.tag_check = '';
    
      if (!raw_token) {
        this.tag_complete = true;
      } else {
        var tag_check_match;
    
        this.tag_start_char = raw_token.text[0];
        this.text = raw_token.text;
    
        if (this.tag_start_char === '<') {
          tag_check_match = raw_token.text.match(/^<([^\s>]*)/);
          this.tag_check = tag_check_match ? tag_check_match[1] : '';
        } else {
          tag_check_match = raw_token.text.match(/^{{~?(?:[\^]|#\*?)?([^\s}]+)/);
          this.tag_check = tag_check_match ? tag_check_match[1] : '';
    
          // handle "{{#> myPartial}}" or "{{~#> myPartial}}"
          if ((raw_token.text.startsWith('{{#>') || raw_token.text.startsWith('{{~#>')) && this.tag_check[0] === '>') {
            if (this.tag_check === '>' && raw_token.next !== null) {
              this.tag_check = raw_token.next.text.split(' ')[0];
            } else {
              this.tag_check = raw_token.text.split('>')[1];
            }
          }
        }
    
        this.tag_check = this.tag_check.toLowerCase();
    
        if (raw_token.type === TOKEN.COMMENT) {
          this.tag_complete = true;
        }
    
        this.is_start_tag = this.tag_check.charAt(0) !== '/';
        this.tag_name = !this.is_start_tag ? this.tag_check.substr(1) : this.tag_check;
        this.is_end_tag = !this.is_start_tag ||
          (raw_token.closed && raw_token.closed.text === '/>');
    
        // if whitespace handler ~ included (i.e. {{~#if true}}), handlebars tags start at pos 3 not pos 2
        var handlebar_starts = 2;
        if (this.tag_start_char === '{' && this.text.length >= 3) {
          if (this.text.charAt(2) === '~') {
            handlebar_starts = 3;
          }
        }
    
        // handlebars tags that don't start with # or ^ are single_tags, and so also start and end.
        // if they start with # or ^, they are still considered single tags if indenting of handlebars is set to false
        this.is_end_tag = this.is_end_tag ||
          (this.tag_start_char === '{' && (!options.indent_handlebars || this.text.length < 3 || (/[^#\^]/.test(this.text.charAt(handlebar_starts)))));
      }
    };
    
    Beautifier.prototype._get_tag_open_token = function(raw_token) { //function to get a full tag and parse its type
      var parser_token = new TagOpenParserToken(this._options, this._tag_stack.get_parser_token(), raw_token);
    
      parser_token.alignment_size = this._options.wrap_attributes_indent_size;
    
      parser_token.is_end_tag = parser_token.is_end_tag ||
        in_array(parser_token.tag_check, this._options.void_elements);
    
      parser_token.is_empty_element = parser_token.tag_complete ||
        (parser_token.is_start_tag && parser_token.is_end_tag);
    
      parser_token.is_unformatted = !parser_token.tag_complete && in_array(parser_token.tag_check, this._options.unformatted);
      parser_token.is_content_unformatted = !parser_token.is_empty_element && in_array(parser_token.tag_check, this._options.content_unformatted);
      parser_token.is_inline_element = in_array(parser_token.tag_name, this._options.inline) || (this._options.inline_custom_elements && parser_token.tag_name.includes("-")) || parser_token.tag_start_char === '{';
    
      return parser_token;
    };
    
    Beautifier.prototype._set_tag_position = function(printer, raw_token, parser_token, last_tag_token, last_token) {
    
      if (!parser_token.is_empty_element) {
        if (parser_token.is_end_tag) { //this tag is a double tag so check for tag-ending
          parser_token.start_tag_token = this._tag_stack.try_pop(parser_token.tag_name); //remove it and all ancestors
        } else { // it's a start-tag
          // check if this tag is starting an element that has optional end element
          // and do an ending needed
          if (this._do_optional_end_element(parser_token)) {
            if (!parser_token.is_inline_element) {
              printer.print_newline(false);
            }
          }
    
          this._tag_stack.record_tag(parser_token); //push it on the tag stack
    
          if ((parser_token.tag_name === 'script' || parser_token.tag_name === 'style') &&
            !(parser_token.is_unformatted || parser_token.is_content_unformatted)) {
            parser_token.custom_beautifier_name = get_custom_beautifier_name(parser_token.tag_check, raw_token);
          }
        }
      }
    
      if (in_array(parser_token.tag_check, this._options.extra_liners)) { //check if this double needs an extra line
        printer.print_newline(false);
        if (!printer._output.just_added_blankline()) {
          printer.print_newline(true);
        }
      }
    
      if (parser_token.is_empty_element) { //if this tag name is a single tag type (either in the list or has a closing /)
    
        // if you hit an else case, reset the indent level if you are inside an:
        // 'if', 'unless', or 'each' block.
        if (parser_token.tag_start_char === '{' && parser_token.tag_check === 'else') {
          this._tag_stack.indent_to_tag(['if', 'unless', 'each']);
          parser_token.indent_content = true;
          // Don't add a newline if opening {{#if}} tag is on the current line
          var foundIfOnCurrentLine = printer.current_line_has_match(/{{#if/);
          if (!foundIfOnCurrentLine) {
            printer.print_newline(false);
          }
        }
    
        // Don't add a newline before elements that should remain where they are.
        if (parser_token.tag_name === '!--' && last_token.type === TOKEN.TAG_CLOSE &&
          last_tag_token.is_end_tag && parser_token.text.indexOf('\n') === -1) {
          //Do nothing. Leave comments on same line.
        } else {
          if (!(parser_token.is_inline_element || parser_token.is_unformatted)) {
            printer.print_newline(false);
          }
          this._calcluate_parent_multiline(printer, parser_token);
        }
      } else if (parser_token.is_end_tag) { //this tag is a double tag so check for tag-ending
        var do_end_expand = false;
    
        // deciding whether a block is multiline should not be this hard
        do_end_expand = parser_token.start_tag_token && parser_token.start_tag_token.multiline_content;
        do_end_expand = do_end_expand || (!parser_token.is_inline_element &&
          !(last_tag_token.is_inline_element || last_tag_token.is_unformatted) &&
          !(last_token.type === TOKEN.TAG_CLOSE && parser_token.start_tag_token === last_tag_token) &&
          last_token.type !== 'TK_CONTENT'
        );
    
        if (parser_token.is_content_unformatted || parser_token.is_unformatted) {
          do_end_expand = false;
        }
    
        if (do_end_expand) {
          printer.print_newline(false);
        }
      } else { // it's a start-tag
        parser_token.indent_content = !parser_token.custom_beautifier_name;
    
        if (parser_token.tag_start_char === '<') {
          if (parser_token.tag_name === 'html') {
            parser_token.indent_content = this._options.indent_inner_html;
          } else if (parser_token.tag_name === 'head') {
            parser_token.indent_content = this._options.indent_head_inner_html;
          } else if (parser_token.tag_name === 'body') {
            parser_token.indent_content = this._options.indent_body_inner_html;
          }
        }
    
        if (!(parser_token.is_inline_element || parser_token.is_unformatted) &&
          (last_token.type !== 'TK_CONTENT' || parser_token.is_content_unformatted)) {
          printer.print_newline(false);
        }
    
        this._calcluate_parent_multiline(printer, parser_token);
      }
    };
    
    Beautifier.prototype._calcluate_parent_multiline = function(printer, parser_token) {
      if (parser_token.parent && printer._output.just_added_newline() &&
        !((parser_token.is_inline_element || parser_token.is_unformatted) && parser_token.parent.is_inline_element)) {
        parser_token.parent.multiline_content = true;
      }
    };
    
    //To be used for <p> tag special case:
    var p_closers = ['address', 'article', 'aside', 'blockquote', 'details', 'div', 'dl', 'fieldset', 'figcaption', 'figure', 'footer', 'form', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'header', 'hr', 'main', 'menu', 'nav', 'ol', 'p', 'pre', 'section', 'table', 'ul'];
    var p_parent_excludes = ['a', 'audio', 'del', 'ins', 'map', 'noscript', 'video'];
    
    Beautifier.prototype._do_optional_end_element = function(parser_token) {
      var result = null;
      // NOTE: cases of "if there is no more content in the parent element"
      // are handled automatically by the beautifier.
      // It assumes parent or ancestor close tag closes all children.
      // https://www.w3.org/TR/html5/syntax.html#optional-tags
      if (parser_token.is_empty_element || !parser_token.is_start_tag || !parser_token.parent) {
        return;
    
      }
    
      if (parser_token.tag_name === 'body') {
        // A head element’s end tag may be omitted if the head element is not immediately followed by a space character or a comment.
        result = result || this._tag_stack.try_pop('head');
    
        //} else if (parser_token.tag_name === 'body') {
        // DONE: A body element’s end tag may be omitted if the body element is not immediately followed by a comment.
    
      } else if (parser_token.tag_name === 'li') {
        // An li element’s end tag may be omitted if the li element is immediately followed by another li element or if there is no more content in the parent element.
        result = result || this._tag_stack.try_pop('li', ['ol', 'ul', 'menu']);
    
      } else if (parser_token.tag_name === 'dd' || parser_token.tag_name === 'dt') {
        // A dd element’s end tag may be omitted if the dd element is immediately followed by another dd element or a dt element, or if there is no more content in the parent element.
        // A dt element’s end tag may be omitted if the dt element is immediately followed by another dt element or a dd element.
        result = result || this._tag_stack.try_pop('dt', ['dl']);
        result = result || this._tag_stack.try_pop('dd', ['dl']);
    
    
      } else if (parser_token.parent.tag_name === 'p' && p_closers.indexOf(parser_token.tag_name) !== -1) {
        // IMPORTANT: this else-if works because p_closers has no overlap with any other element we look for in this method
        // check for the parent element is an HTML element that is not an <a>, <audio>, <del>, <ins>, <map>, <noscript>, or <video> element,  or an autonomous custom element.
        // To do this right, this needs to be coded as an inclusion of the inverse of the exclusion above.
        // But to start with (if we ignore "autonomous custom elements") the exclusion would be fine.
        var p_parent = parser_token.parent.parent;
        if (!p_parent || p_parent_excludes.indexOf(p_parent.tag_name) === -1) {
          result = result || this._tag_stack.try_pop('p');
        }
      } else if (parser_token.tag_name === 'rp' || parser_token.tag_name === 'rt') {
        // An rt element’s end tag may be omitted if the rt element is immediately followed by an rt or rp element, or if there is no more content in the parent element.
        // An rp element’s end tag may be omitted if the rp element is immediately followed by an rt or rp element, or if there is no more content in the parent element.
        result = result || this._tag_stack.try_pop('rt', ['ruby', 'rtc']);
        result = result || this._tag_stack.try_pop('rp', ['ruby', 'rtc']);
    
      } else if (parser_token.tag_name === 'optgroup') {
        // An optgroup element’s end tag may be omitted if the optgroup element is immediately followed by another optgroup element, or if there is no more content in the parent element.
        // An option element’s end tag may be omitted if the option element is immediately followed by another option element, or if it is immediately followed by an optgroup element, or if there is no more content in the parent element.
        result = result || this._tag_stack.try_pop('optgroup', ['select']);
        //result = result || this._tag_stack.try_pop('option', ['select']);
    
      } else if (parser_token.tag_name === 'option') {
        // An option element’s end tag may be omitted if the option element is immediately followed by another option element, or if it is immediately followed by an optgroup element, or if there is no more content in the parent element.
        result = result || this._tag_stack.try_pop('option', ['select', 'datalist', 'optgroup']);
    
      } else if (parser_token.tag_name === 'colgroup') {
        // DONE: A colgroup element’s end tag may be omitted if the colgroup element is not immediately followed by a space character or a comment.
        // A caption element's end tag may be ommitted if a colgroup, thead, tfoot, tbody, or tr element is started.
        result = result || this._tag_stack.try_pop('caption', ['table']);
    
      } else if (parser_token.tag_name === 'thead') {
        // A colgroup element's end tag may be ommitted if a thead, tfoot, tbody, or tr element is started.
        // A caption element's end tag may be ommitted if a colgroup, thead, tfoot, tbody, or tr element is started.
        result = result || this._tag_stack.try_pop('caption', ['table']);
        result = result || this._tag_stack.try_pop('colgroup', ['table']);
    
        //} else if (parser_token.tag_name === 'caption') {
        // DONE: A caption element’s end tag may be omitted if the caption element is not immediately followed by a space character or a comment.
    
      } else if (parser_token.tag_name === 'tbody' || parser_token.tag_name === 'tfoot') {
        // A thead element’s end tag may be omitted if the thead element is immediately followed by a tbody or tfoot element.
        // A tbody element’s end tag may be omitted if the tbody element is immediately followed by a tbody or tfoot element, or if there is no more content in the parent element.
        // A colgroup element's end tag may be ommitted if a thead, tfoot, tbody, or tr element is started.
        // A caption element's end tag may be ommitted if a colgroup, thead, tfoot, tbody, or tr element is started.
        result = result || this._tag_stack.try_pop('caption', ['table']);
        result = result || this._tag_stack.try_pop('colgroup', ['table']);
        result = result || this._tag_stack.try_pop('thead', ['table']);
        result = result || this._tag_stack.try_pop('tbody', ['table']);
    
        //} else if (parser_token.tag_name === 'tfoot') {
        // DONE: A tfoot element’s end tag may be omitted if there is no more content in the parent element.
    
      } else if (parser_token.tag_name === 'tr') {
        // A tr element’s end tag may be omitted if the tr element is immediately followed by another tr element, or if there is no more content in the parent element.
        // A colgroup element's end tag may be ommitted if a thead, tfoot, tbody, or tr element is started.
        // A caption element's end tag may be ommitted if a colgroup, thead, tfoot, tbody, or tr element is started.
        result = result || this._tag_stack.try_pop('caption', ['table']);
        result = result || this._tag_stack.try_pop('colgroup', ['table']);
        result = result || this._tag_stack.try_pop('tr', ['table', 'thead', 'tbody', 'tfoot']);
    
      } else if (parser_token.tag_name === 'th' || parser_token.tag_name === 'td') {
        // A td element’s end tag may be omitted if the td element is immediately followed by a td or th element, or if there is no more content in the parent element.
        // A th element’s end tag may be omitted if the th element is immediately followed by a td or th element, or if there is no more content in the parent element.
        result = result || this._tag_stack.try_pop('td', ['table', 'thead', 'tbody', 'tfoot', 'tr']);
        result = result || this._tag_stack.try_pop('th', ['table', 'thead', 'tbody', 'tfoot', 'tr']);
      }
    
      // Start element omission not handled currently
      // A head element’s start tag may be omitted if the element is empty, or if the first thing inside the head element is an element.
      // A tbody element’s start tag may be omitted if the first thing inside the tbody element is a tr element, and if the element is not immediately preceded by a tbody, thead, or tfoot element whose end tag has been omitted. (It can’t be omitted if the element is empty.)
      // A colgroup element’s start tag may be omitted if the first thing inside the colgroup element is a col element, and if the element is not immediately preceded by another colgroup element whose end tag has been omitted. (It can’t be omitted if the element is empty.)
    
      // Fix up the parent of the parser token
      parser_token.parent = this._tag_stack.get_parser_token();
    
      return result;
    };
    
    module.exports.Beautifier = Beautifier;
    
    
    /***/ }),
    /* 20 */
    /***/ (function(module, __unused_webpack_exports, __nested_webpack_require_92890__) {
    
    /*jshint node:true */
    /*
    
      The MIT License (MIT)
    
      Copyright (c) 2007-2018 Einar Lielmanis, Liam Newman, and contributors.
    
      Permission is hereby granted, free of charge, to any person
      obtaining a copy of this software and associated documentation files
      (the "Software"), to deal in the Software without restriction,
      including without limitation the rights to use, copy, modify, merge,
      publish, distribute, sublicense, and/or sell copies of the Software,
      and to permit persons to whom the Software is furnished to do so,
      subject to the following conditions:
    
      The above copyright notice and this permission notice shall be
      included in all copies or substantial portions of the Software.
    
      THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
      EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
      MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
      NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
      BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
      ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
      CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
      SOFTWARE.
    */
    
    
    
    var BaseOptions = (__nested_webpack_require_92890__(6).Options);
    
    function Options(options) {
      BaseOptions.call(this, options, 'html');
      if (this.templating.length === 1 && this.templating[0] === 'auto') {
        this.templating = ['django', 'erb', 'handlebars', 'php'];
      }
    
      this.indent_inner_html = this._get_boolean('indent_inner_html');
      this.indent_body_inner_html = this._get_boolean('indent_body_inner_html', true);
      this.indent_head_inner_html = this._get_boolean('indent_head_inner_html', true);
    
      this.indent_handlebars = this._get_boolean('indent_handlebars', true);
      this.wrap_attributes = this._get_selection('wrap_attributes',
        ['auto', 'force', 'force-aligned', 'force-expand-multiline', 'aligned-multiple', 'preserve', 'preserve-aligned']);
      this.wrap_attributes_min_attrs = this._get_number('wrap_attributes_min_attrs', 2);
      this.wrap_attributes_indent_size = this._get_number('wrap_attributes_indent_size', this.indent_size);
      this.extra_liners = this._get_array('extra_liners', ['head', 'body', '/html']);
    
      // Block vs inline elements
      // https://developer.mozilla.org/en-US/docs/Web/HTML/Block-level_elements
      // https://developer.mozilla.org/en-US/docs/Web/HTML/Inline_elements
      // https://www.w3.org/TR/html5/dom.html#phrasing-content
      this.inline = this._get_array('inline', [
        'a', 'abbr', 'area', 'audio', 'b', 'bdi', 'bdo', 'br', 'button', 'canvas', 'cite',
        'code', 'data', 'datalist', 'del', 'dfn', 'em', 'embed', 'i', 'iframe', 'img',
        'input', 'ins', 'kbd', 'keygen', 'label', 'map', 'mark', 'math', 'meter', 'noscript',
        'object', 'output', 'progress', 'q', 'ruby', 's', 'samp', /* 'script', */ 'select', 'small',
        'span', 'strong', 'sub', 'sup', 'svg', 'template', 'textarea', 'time', 'u', 'var',
        'video', 'wbr', 'text',
        // obsolete inline tags
        'acronym', 'big', 'strike', 'tt'
      ]);
      this.inline_custom_elements = this._get_boolean('inline_custom_elements', true);
      this.void_elements = this._get_array('void_elements', [
        // HTLM void elements - aka self-closing tags - aka singletons
        // https://www.w3.org/html/wg/drafts/html/master/syntax.html#void-elements
        'area', 'base', 'br', 'col', 'embed', 'hr', 'img', 'input', 'keygen',
        'link', 'menuitem', 'meta', 'param', 'source', 'track', 'wbr',
        // NOTE: Optional tags are too complex for a simple list
        // they are hard coded in _do_optional_end_element
    
        // Doctype and xml elements
        '!doctype', '?xml',
    
        // obsolete tags
        // basefont: https://www.computerhope.com/jargon/h/html-basefont-tag.htm
        // isndex: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/isindex
        'basefont', 'isindex'
      ]);
      this.unformatted = this._get_array('unformatted', []);
      this.content_unformatted = this._get_array('content_unformatted', [
        'pre', 'textarea'
      ]);
      this.unformatted_content_delimiter = this._get_characters('unformatted_content_delimiter');
      this.indent_scripts = this._get_selection('indent_scripts', ['normal', 'keep', 'separate']);
    
    }
    Options.prototype = new BaseOptions();
    
    
    
    module.exports.Options = Options;
    
    
    /***/ }),
    /* 21 */
    /***/ (function(module, __unused_webpack_exports, __nested_webpack_require_97257__) {
    
    /*jshint node:true */
    /*
    
      The MIT License (MIT)
    
      Copyright (c) 2007-2018 Einar Lielmanis, Liam Newman, and contributors.
    
      Permission is hereby granted, free of charge, to any person
      obtaining a copy of this software and associated documentation files
      (the "Software"), to deal in the Software without restriction,
      including without limitation the rights to use, copy, modify, merge,
      publish, distribute, sublicense, and/or sell copies of the Software,
      and to permit persons to whom the Software is furnished to do so,
      subject to the following conditions:
    
      The above copyright notice and this permission notice shall be
      included in all copies or substantial portions of the Software.
    
      THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
      EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
      MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
      NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
      BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
      ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
      CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
      SOFTWARE.
    */
    
    
    
    var BaseTokenizer = (__nested_webpack_require_97257__(9).Tokenizer);
    var BASETOKEN = (__nested_webpack_require_97257__(9).TOKEN);
    var Directives = (__nested_webpack_require_97257__(13).Directives);
    var TemplatablePattern = (__nested_webpack_require_97257__(14).TemplatablePattern);
    var Pattern = (__nested_webpack_require_97257__(12).Pattern);
    
    var TOKEN = {
      TAG_OPEN: 'TK_TAG_OPEN',
      TAG_CLOSE: 'TK_TAG_CLOSE',
      CONTROL_FLOW_OPEN: 'TK_CONTROL_FLOW_OPEN',
      CONTROL_FLOW_CLOSE: 'TK_CONTROL_FLOW_CLOSE',
      ATTRIBUTE: 'TK_ATTRIBUTE',
      EQUALS: 'TK_EQUALS',
      VALUE: 'TK_VALUE',
      COMMENT: 'TK_COMMENT',
      TEXT: 'TK_TEXT',
      UNKNOWN: 'TK_UNKNOWN',
      START: BASETOKEN.START,
      RAW: BASETOKEN.RAW,
      EOF: BASETOKEN.EOF
    };
    
    var directives_core = new Directives(/<\!--/, /-->/);
    
    var Tokenizer = function(input_string, options) {
      BaseTokenizer.call(this, input_string, options);
      this._current_tag_name = '';
    
      // Words end at whitespace or when a tag starts
      // if we are indenting handlebars, they are considered tags
      var templatable_reader = new TemplatablePattern(this._input).read_options(this._options);
      var pattern_reader = new Pattern(this._input);
    
      this.__patterns = {
        word: templatable_reader.until(/[\n\r\t <]/),
        word_control_flow_close_excluded: templatable_reader.until(/[\n\r\t <}]/),
        single_quote: templatable_reader.until_after(/'/),
        double_quote: templatable_reader.until_after(/"/),
        attribute: templatable_reader.until(/[\n\r\t =>]|\/>/),
        element_name: templatable_reader.until(/[\n\r\t >\/]/),
    
        angular_control_flow_start: pattern_reader.matching(/\@[a-zA-Z]+[^({]*[({]/),
        handlebars_comment: pattern_reader.starting_with(/{{!--/).until_after(/--}}/),
        handlebars: pattern_reader.starting_with(/{{/).until_after(/}}/),
        handlebars_open: pattern_reader.until(/[\n\r\t }]/),
        handlebars_raw_close: pattern_reader.until(/}}/),
        comment: pattern_reader.starting_with(/<!--/).until_after(/-->/),
        cdata: pattern_reader.starting_with(/<!\[CDATA\[/).until_after(/]]>/),
        // https://en.wikipedia.org/wiki/Conditional_comment
        conditional_comment: pattern_reader.starting_with(/<!\[/).until_after(/]>/),
        processing: pattern_reader.starting_with(/<\?/).until_after(/\?>/)
      };
    
      if (this._options.indent_handlebars) {
        this.__patterns.word = this.__patterns.word.exclude('handlebars');
        this.__patterns.word_control_flow_close_excluded = this.__patterns.word_control_flow_close_excluded.exclude('handlebars');
      }
    
      this._unformatted_content_delimiter = null;
    
      if (this._options.unformatted_content_delimiter) {
        var literal_regexp = this._input.get_literal_regexp(this._options.unformatted_content_delimiter);
        this.__patterns.unformatted_content_delimiter =
          pattern_reader.matching(literal_regexp)
          .until_after(literal_regexp);
      }
    };
    Tokenizer.prototype = new BaseTokenizer();
    
    Tokenizer.prototype._is_comment = function(current_token) { // jshint unused:false
      return false; //current_token.type === TOKEN.COMMENT || current_token.type === TOKEN.UNKNOWN;
    };
    
    Tokenizer.prototype._is_opening = function(current_token) {
      return current_token.type === TOKEN.TAG_OPEN || current_token.type === TOKEN.CONTROL_FLOW_OPEN;
    };
    
    Tokenizer.prototype._is_closing = function(current_token, open_token) {
      return (current_token.type === TOKEN.TAG_CLOSE &&
        (open_token && (
          ((current_token.text === '>' || current_token.text === '/>') && open_token.text[0] === '<') ||
          (current_token.text === '}}' && open_token.text[0] === '{' && open_token.text[1] === '{')))
      ) || (current_token.type === TOKEN.CONTROL_FLOW_CLOSE &&
        (current_token.text === '}' && open_token.text.endsWith('{')));
    };
    
    Tokenizer.prototype._reset = function() {
      this._current_tag_name = '';
    };
    
    Tokenizer.prototype._get_next_token = function(previous_token, open_token) { // jshint unused:false
      var token = null;
      this._readWhitespace();
      var c = this._input.peek();
    
      if (c === null) {
        return this._create_token(TOKEN.EOF, '');
      }
    
      token = token || this._read_open_handlebars(c, open_token);
      token = token || this._read_attribute(c, previous_token, open_token);
      token = token || this._read_close(c, open_token);
      token = token || this._read_script_and_style(c, previous_token);
      token = token || this._read_control_flows(c, open_token);
      token = token || this._read_raw_content(c, previous_token, open_token);
      token = token || this._read_content_word(c, open_token);
      token = token || this._read_comment_or_cdata(c);
      token = token || this._read_processing(c);
      token = token || this._read_open(c, open_token);
      token = token || this._create_token(TOKEN.UNKNOWN, this._input.next());
    
      return token;
    };
    
    Tokenizer.prototype._read_comment_or_cdata = function(c) { // jshint unused:false
      var token = null;
      var resulting_string = null;
      var directives = null;
    
      if (c === '<') {
        var peek1 = this._input.peek(1);
        // We treat all comments as literals, even more than preformatted tags
        // we only look for the appropriate closing marker
        if (peek1 === '!') {
          resulting_string = this.__patterns.comment.read();
    
          // only process directive on html comments
          if (resulting_string) {
            directives = directives_core.get_directives(resulting_string);
            if (directives && directives.ignore === 'start') {
              resulting_string += directives_core.readIgnored(this._input);
            }
          } else {
            resulting_string = this.__patterns.cdata.read();
          }
        }
    
        if (resulting_string) {
          token = this._create_token(TOKEN.COMMENT, resulting_string);
          token.directives = directives;
        }
      }
    
      return token;
    };
    
    Tokenizer.prototype._read_processing = function(c) { // jshint unused:false
      var token = null;
      var resulting_string = null;
      var directives = null;
    
      if (c === '<') {
        var peek1 = this._input.peek(1);
        if (peek1 === '!' || peek1 === '?') {
          resulting_string = this.__patterns.conditional_comment.read();
          resulting_string = resulting_string || this.__patterns.processing.read();
        }
    
        if (resulting_string) {
          token = this._create_token(TOKEN.COMMENT, resulting_string);
          token.directives = directives;
        }
      }
    
      return token;
    };
    
    Tokenizer.prototype._read_open = function(c, open_token) {
      var resulting_string = null;
      var token = null;
      if (!open_token || open_token.type === TOKEN.CONTROL_FLOW_OPEN) {
        if (c === '<') {
    
          resulting_string = this._input.next();
          if (this._input.peek() === '/') {
            resulting_string += this._input.next();
          }
          resulting_string += this.__patterns.element_name.read();
          token = this._create_token(TOKEN.TAG_OPEN, resulting_string);
        }
      }
      return token;
    };
    
    Tokenizer.prototype._read_open_handlebars = function(c, open_token) {
      var resulting_string = null;
      var token = null;
      if (!open_token || open_token.type === TOKEN.CONTROL_FLOW_OPEN) {
        if ((this._options.templating.includes('angular') || this._options.indent_handlebars) && c === '{' && this._input.peek(1) === '{') {
          if (this._options.indent_handlebars && this._input.peek(2) === '!') {
            resulting_string = this.__patterns.handlebars_comment.read();
            resulting_string = resulting_string || this.__patterns.handlebars.read();
            token = this._create_token(TOKEN.COMMENT, resulting_string);
          } else {
            resulting_string = this.__patterns.handlebars_open.read();
            token = this._create_token(TOKEN.TAG_OPEN, resulting_string);
          }
        }
      }
      return token;
    };
    
    Tokenizer.prototype._read_control_flows = function(c, open_token) {
      var resulting_string = '';
      var token = null;
      // Only check for control flows if angular templating is set
      if (!this._options.templating.includes('angular')) {
        return token;
      }
    
      if (c === '@') {
        resulting_string = this.__patterns.angular_control_flow_start.read();
        if (resulting_string === '') {
          return token;
        }
    
        var opening_parentheses_count = resulting_string.endsWith('(') ? 1 : 0;
        var closing_parentheses_count = 0;
        // The opening brace of the control flow is where the number of opening and closing parentheses equal
        // e.g. @if({value: true} !== null) { 
        while (!(resulting_string.endsWith('{') && opening_parentheses_count === closing_parentheses_count)) {
          var next_char = this._input.next();
          if (next_char === null) {
            break;
          } else if (next_char === '(') {
            opening_parentheses_count++;
          } else if (next_char === ')') {
            closing_parentheses_count++;
          }
          resulting_string += next_char;
        }
        token = this._create_token(TOKEN.CONTROL_FLOW_OPEN, resulting_string);
      } else if (c === '}' && open_token && open_token.type === TOKEN.CONTROL_FLOW_OPEN) {
        resulting_string = this._input.next();
        token = this._create_token(TOKEN.CONTROL_FLOW_CLOSE, resulting_string);
      }
      return token;
    };
    
    
    Tokenizer.prototype._read_close = function(c, open_token) {
      var resulting_string = null;
      var token = null;
      if (open_token && open_token.type === TOKEN.TAG_OPEN) {
        if (open_token.text[0] === '<' && (c === '>' || (c === '/' && this._input.peek(1) === '>'))) {
          resulting_string = this._input.next();
          if (c === '/') { //  for close tag "/>"
            resulting_string += this._input.next();
          }
          token = this._create_token(TOKEN.TAG_CLOSE, resulting_string);
        } else if (open_token.text[0] === '{' && c === '}' && this._input.peek(1) === '}') {
          this._input.next();
          this._input.next();
          token = this._create_token(TOKEN.TAG_CLOSE, '}}');
        }
      }
    
      return token;
    };
    
    Tokenizer.prototype._read_attribute = function(c, previous_token, open_token) {
      var token = null;
      var resulting_string = '';
      if (open_token && open_token.text[0] === '<') {
    
        if (c === '=') {
          token = this._create_token(TOKEN.EQUALS, this._input.next());
        } else if (c === '"' || c === "'") {
          var content = this._input.next();
          if (c === '"') {
            content += this.__patterns.double_quote.read();
          } else {
            content += this.__patterns.single_quote.read();
          }
          token = this._create_token(TOKEN.VALUE, content);
        } else {
          resulting_string = this.__patterns.attribute.read();
    
          if (resulting_string) {
            if (previous_token.type === TOKEN.EQUALS) {
              token = this._create_token(TOKEN.VALUE, resulting_string);
            } else {
              token = this._create_token(TOKEN.ATTRIBUTE, resulting_string);
            }
          }
        }
      }
      return token;
    };
    
    Tokenizer.prototype._is_content_unformatted = function(tag_name) {
      // void_elements have no content and so cannot have unformatted content
      // script and style tags should always be read as unformatted content
      // finally content_unformatted and unformatted element contents are unformatted
      return this._options.void_elements.indexOf(tag_name) === -1 &&
        (this._options.content_unformatted.indexOf(tag_name) !== -1 ||
          this._options.unformatted.indexOf(tag_name) !== -1);
    };
    
    Tokenizer.prototype._read_raw_content = function(c, previous_token, open_token) { // jshint unused:false
      var resulting_string = '';
      if (open_token && open_token.text[0] === '{') {
        resulting_string = this.__patterns.handlebars_raw_close.read();
      } else if (previous_token.type === TOKEN.TAG_CLOSE &&
        previous_token.opened.text[0] === '<' && previous_token.text[0] !== '/') {
        // ^^ empty tag has no content 
        var tag_name = previous_token.opened.text.substr(1).toLowerCase();
        if (this._is_content_unformatted(tag_name)) {
    
          resulting_string = this._input.readUntil(new RegExp('</' + tag_name + '[\\n\\r\\t ]*?>', 'ig'));
        }
      }
    
      if (resulting_string) {
        return this._create_token(TOKEN.TEXT, resulting_string);
      }
    
      return null;
    };
    
    Tokenizer.prototype._read_script_and_style = function(c, previous_token) { // jshint unused:false 
      if (previous_token.type === TOKEN.TAG_CLOSE && previous_token.opened.text[0] === '<' && previous_token.text[0] !== '/') {
        var tag_name = previous_token.opened.text.substr(1).toLowerCase();
        if (tag_name === 'script' || tag_name === 'style') {
          // Script and style tags are allowed to have comments wrapping their content
          // or just have regular content.
          var token = this._read_comment_or_cdata(c);
          if (token) {
            token.type = TOKEN.TEXT;
            return token;
          }
          var resulting_string = this._input.readUntil(new RegExp('</' + tag_name + '[\\n\\r\\t ]*?>', 'ig'));
          if (resulting_string) {
            return this._create_token(TOKEN.TEXT, resulting_string);
          }
        }
      }
      return null;
    };
    
    Tokenizer.prototype._read_content_word = function(c, open_token) {
      var resulting_string = '';
      if (this._options.unformatted_content_delimiter) {
        if (c === this._options.unformatted_content_delimiter[0]) {
          resulting_string = this.__patterns.unformatted_content_delimiter.read();
        }
      }
    
      if (!resulting_string) {
        resulting_string = (open_token && open_token.type === TOKEN.CONTROL_FLOW_OPEN) ? this.__patterns.word_control_flow_close_excluded.read() : this.__patterns.word.read();
      }
      if (resulting_string) {
        return this._create_token(TOKEN.TEXT, resulting_string);
      }
      return null;
    };
    
    module.exports.Tokenizer = Tokenizer;
    module.exports.TOKEN = TOKEN;
    
    
    /***/ })
    /******/ 	]);
    /************************************************************************/
    /******/ 	// The module cache
    /******/ 	var __webpack_module_cache__ = {};
    /******/ 	
    /******/ 	// The require function
    /******/ 	function __nested_webpack_require_112012__(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] = {
    /******/ 			// no module.id needed
    /******/ 			// no module.loaded needed
    /******/ 			exports: {}
    /******/ 		};
    /******/ 	
    /******/ 		// Execute the module function
    /******/ 		__webpack_modules__[moduleId](module, module.exports, __nested_webpack_require_112012__);
    /******/ 	
    /******/ 		// Return the exports of the module
    /******/ 		return module.exports;
    /******/ 	}
    /******/ 	
    /************************************************************************/
    /******/ 	
    /******/ 	// startup
    /******/ 	// Load entry module and return exports
    /******/ 	// This entry module is referenced by other modules so it can't be inlined
    /******/ 	var __nested_webpack_exports__ = __nested_webpack_require_112012__(18);
    /******/ 	legacy_beautify_html = __nested_webpack_exports__;
    /******/ 	
    /******/ })()
    ;
    var style_html = legacy_beautify_html;
    /* Footer */
    if (true) {
        // Add support for AMD ( https://github.com/amdjs/amdjs-api/wiki/AMD#defineamd-property- )
        !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__, __webpack_require__(/*! ./beautify */ 58553), __webpack_require__(/*! ./beautify-css */ 87804)], __WEBPACK_AMD_DEFINE_RESULT__ = (function(requireamd) {
            var js_beautify = __webpack_require__(/*! ./beautify */ 58553);
            var css_beautify = __webpack_require__(/*! ./beautify-css */ 87804);
    
            return {
                html_beautify: function(html_source, options) {
                    return style_html(html_source, options, js_beautify.js_beautify, css_beautify.css_beautify);
                }
            };
        }).apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__),
    		__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    } else { var css_beautify, js_beautify; }
    
    }());
    
    
    /***/ }),
    
    /***/ 58553:
    /*!*************************************************************************!*\
      !*** ./node_modules/_js-beautify@1.15.4@js-beautify/js/lib/beautify.js ***!
      \*************************************************************************/
    /***/ (function(module, exports) {
    
    var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/* AUTO-GENERATED. DO NOT MODIFY. */
    /*
    
      The MIT License (MIT)
    
      Copyright (c) 2007-2018 Einar Lielmanis, Liam Newman, and contributors.
    
      Permission is hereby granted, free of charge, to any person
      obtaining a copy of this software and associated documentation files
      (the "Software"), to deal in the Software without restriction,
      including without limitation the rights to use, copy, modify, merge,
      publish, distribute, sublicense, and/or sell copies of the Software,
      and to permit persons to whom the Software is furnished to do so,
      subject to the following conditions:
    
      The above copyright notice and this permission notice shall be
      included in all copies or substantial portions of the Software.
    
      THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
      EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
      MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
      NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
      BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
      ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
      CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
      SOFTWARE.
    
     JS Beautifier
    ---------------
    
    
      Written by Einar Lielmanis, <einar@beautifier.io>
          https://beautifier.io/
    
      Originally converted to javascript by Vital, <vital76@gmail.com>
      "End braces on own line" added by Chris J. Shull, <chrisjshull@gmail.com>
      Parsing improvements for brace-less statements by Liam Newman <bitwiseman@beautifier.io>
    
    
      Usage:
        js_beautify(js_source_text);
        js_beautify(js_source_text, options);
    
      The options are:
        indent_size (default 4)          - indentation size,
        indent_char (default space)      - character to indent with,
        preserve_newlines (default true) - whether existing line breaks should be preserved,
        max_preserve_newlines (default unlimited) - maximum number of line breaks to be preserved in one chunk,
    
        jslint_happy (default false) - if true, then jslint-stricter mode is enforced.
    
                jslint_happy        !jslint_happy
                ---------------------------------
                function ()         function()
    
                switch () {         switch() {
                case 1:               case 1:
                  break;                break;
                }                   }
    
        space_after_anon_function (default false) - should the space before an anonymous function's parens be added, "function()" vs "function ()",
              NOTE: This option is overridden by jslint_happy (i.e. if jslint_happy is true, space_after_anon_function is true by design)
    
        brace_style (default "collapse") - "collapse" | "expand" | "end-expand" | "none" | any of the former + ",preserve-inline"
                put braces on the same line as control statements (default), or put braces on own line (Allman / ANSI style), or just put end braces on own line, or attempt to keep them where they are.
                preserve-inline will try to preserve inline blocks of curly braces
    
        space_before_conditional (default true) - should the space before conditional statement be added, "if(true)" vs "if (true)",
    
        unescape_strings (default false) - should printable characters in strings encoded in \xNN notation be unescaped, "example" vs "\x65\x78\x61\x6d\x70\x6c\x65"
    
        wrap_line_length (default unlimited) - lines should wrap at next opportunity after this number of characters.
              NOTE: This is not a hard limit. Lines will continue until a point where a newline would
                    be preserved if it were present.
    
        end_with_newline (default false)  - end output with a newline
    
    
        e.g
    
        js_beautify(js_source_text, {
          'indent_size': 1,
          'indent_char': '\t'
        });
    
    */
    
    (function() {
    
    /* GENERATED_BUILD_OUTPUT */
    var legacy_beautify_js;
    /******/ (function() { // webpackBootstrap
    /******/ 	"use strict";
    /******/ 	var __webpack_modules__ = ([
    /* 0 */
    /***/ (function(module, __unused_webpack_exports, __nested_webpack_require_4000__) {
    
    /*jshint node:true */
    /*
    
      The MIT License (MIT)
    
      Copyright (c) 2007-2018 Einar Lielmanis, Liam Newman, and contributors.
    
      Permission is hereby granted, free of charge, to any person
      obtaining a copy of this software and associated documentation files
      (the "Software"), to deal in the Software without restriction,
      including without limitation the rights to use, copy, modify, merge,
      publish, distribute, sublicense, and/or sell copies of the Software,
      and to permit persons to whom the Software is furnished to do so,
      subject to the following conditions:
    
      The above copyright notice and this permission notice shall be
      included in all copies or substantial portions of the Software.
    
      THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
      EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
      MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
      NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
      BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
      ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
      CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
      SOFTWARE.
    */
    
    
    
    var Beautifier = (__nested_webpack_require_4000__(1).Beautifier),
      Options = (__nested_webpack_require_4000__(5).Options);
    
    function js_beautify(js_source_text, options) {
      var beautifier = new Beautifier(js_source_text, options);
      return beautifier.beautify();
    }
    
    module.exports = js_beautify;
    module.exports.defaultOptions = function() {
      return new Options();
    };
    
    
    /***/ }),
    /* 1 */
    /***/ (function(module, __unused_webpack_exports, __nested_webpack_require_5629__) {
    
    /*jshint node:true */
    /*
    
      The MIT License (MIT)
    
      Copyright (c) 2007-2018 Einar Lielmanis, Liam Newman, and contributors.
    
      Permission is hereby granted, free of charge, to any person
      obtaining a copy of this software and associated documentation files
      (the "Software"), to deal in the Software without restriction,
      including without limitation the rights to use, copy, modify, merge,
      publish, distribute, sublicense, and/or sell copies of the Software,
      and to permit persons to whom the Software is furnished to do so,
      subject to the following conditions:
    
      The above copyright notice and this permission notice shall be
      included in all copies or substantial portions of the Software.
    
      THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
      EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
      MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
      NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
      BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
      ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
      CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
      SOFTWARE.
    */
    
    
    
    var Output = (__nested_webpack_require_5629__(2).Output);
    var Token = (__nested_webpack_require_5629__(3).Token);
    var acorn = __nested_webpack_require_5629__(4);
    var Options = (__nested_webpack_require_5629__(5).Options);
    var Tokenizer = (__nested_webpack_require_5629__(7).Tokenizer);
    var line_starters = (__nested_webpack_require_5629__(7).line_starters);
    var positionable_operators = (__nested_webpack_require_5629__(7).positionable_operators);
    var TOKEN = (__nested_webpack_require_5629__(7).TOKEN);
    
    
    function in_array(what, arr) {
      return arr.indexOf(what) !== -1;
    }
    
    function ltrim(s) {
      return s.replace(/^\s+/g, '');
    }
    
    function generateMapFromStrings(list) {
      var result = {};
      for (var x = 0; x < list.length; x++) {
        // make the mapped names underscored instead of dash
        result[list[x].replace(/-/g, '_')] = list[x];
      }
      return result;
    }
    
    function reserved_word(token, word) {
      return token && token.type === TOKEN.RESERVED && token.text === word;
    }
    
    function reserved_array(token, words) {
      return token && token.type === TOKEN.RESERVED && in_array(token.text, words);
    }
    // Unsure of what they mean, but they work. Worth cleaning up in future.
    var special_words = ['case', 'return', 'do', 'if', 'throw', 'else', 'await', 'break', 'continue', 'async'];
    
    var validPositionValues = ['before-newline', 'after-newline', 'preserve-newline'];
    
    // Generate map from array
    var OPERATOR_POSITION = generateMapFromStrings(validPositionValues);
    
    var OPERATOR_POSITION_BEFORE_OR_PRESERVE = [OPERATOR_POSITION.before_newline, OPERATOR_POSITION.preserve_newline];
    
    var MODE = {
      BlockStatement: 'BlockStatement', // 'BLOCK'
      Statement: 'Statement', // 'STATEMENT'
      ObjectLiteral: 'ObjectLiteral', // 'OBJECT',
      ArrayLiteral: 'ArrayLiteral', //'[EXPRESSION]',
      ForInitializer: 'ForInitializer', //'(FOR-EXPRESSION)',
      Conditional: 'Conditional', //'(COND-EXPRESSION)',
      Expression: 'Expression' //'(EXPRESSION)'
    };
    
    function remove_redundant_indentation(output, frame) {
      // This implementation is effective but has some issues:
      //     - can cause line wrap to happen too soon due to indent removal
      //           after wrap points are calculated
      // These issues are minor compared to ugly indentation.
    
      if (frame.multiline_frame ||
        frame.mode === MODE.ForInitializer ||
        frame.mode === MODE.Conditional) {
        return;
      }
    
      // remove one indent from each line inside this section
      output.remove_indent(frame.start_line_index);
    }
    
    // we could use just string.split, but
    // IE doesn't like returning empty strings
    function split_linebreaks(s) {
      //return s.split(/\x0d\x0a|\x0a/);
    
      s = s.replace(acorn.allLineBreaks, '\n');
      var out = [],
        idx = s.indexOf("\n");
      while (idx !== -1) {
        out.push(s.substring(0, idx));
        s = s.substring(idx + 1);
        idx = s.indexOf("\n");
      }
      if (s.length) {
        out.push(s);
      }
      return out;
    }
    
    function is_array(mode) {
      return mode === MODE.ArrayLiteral;
    }
    
    function is_expression(mode) {
      return in_array(mode, [MODE.Expression, MODE.ForInitializer, MODE.Conditional]);
    }
    
    function all_lines_start_with(lines, c) {
      for (var i = 0; i < lines.length; i++) {
        var line = lines[i].trim();
        if (line.charAt(0) !== c) {
          return false;
        }
      }
      return true;
    }
    
    function each_line_matches_indent(lines, indent) {
      var i = 0,
        len = lines.length,
        line;
      for (; i < len; i++) {
        line = lines[i];
        // allow empty lines to pass through
        if (line && line.indexOf(indent) !== 0) {
          return false;
        }
      }
      return true;
    }
    
    
    function Beautifier(source_text, options) {
      options = options || {};
      this._source_text = source_text || '';
    
      this._output = null;
      this._tokens = null;
      this._last_last_text = null;
      this._flags = null;
      this._previous_flags = null;
    
      this._flag_store = null;
      this._options = new Options(options);
    }
    
    Beautifier.prototype.create_flags = function(flags_base, mode) {
      var next_indent_level = 0;
      if (flags_base) {
        next_indent_level = flags_base.indentation_level;
        if (!this._output.just_added_newline() &&
          flags_base.line_indent_level > next_indent_level) {
          next_indent_level = flags_base.line_indent_level;
        }
      }
    
      var next_flags = {
        mode: mode,
        parent: flags_base,
        last_token: flags_base ? flags_base.last_token : new Token(TOKEN.START_BLOCK, ''), // last token text
        last_word: flags_base ? flags_base.last_word : '', // last TOKEN.WORD passed
        declaration_statement: false,
        declaration_assignment: false,
        multiline_frame: false,
        inline_frame: false,
        if_block: false,
        else_block: false,
        class_start_block: false, // class A { INSIDE HERE } or class B extends C { INSIDE HERE }
        do_block: false,
        do_while: false,
        import_block: false,
        in_case_statement: false, // switch(..){ INSIDE HERE }
        in_case: false, // we're on the exact line with "case 0:"
        case_body: false, // the indented case-action block
        case_block: false, // the indented case-action block is wrapped with {}
        indentation_level: next_indent_level,
        alignment: 0,
        line_indent_level: flags_base ? flags_base.line_indent_level : next_indent_level,
        start_line_index: this._output.get_line_number(),
        ternary_depth: 0
      };
      return next_flags;
    };
    
    Beautifier.prototype._reset = function(source_text) {
      var baseIndentString = source_text.match(/^[\t ]*/)[0];
    
      this._last_last_text = ''; // pre-last token text
      this._output = new Output(this._options, baseIndentString);
    
      // If testing the ignore directive, start with output disable set to true
      this._output.raw = this._options.test_output_raw;
    
    
      // Stack of parsing/formatting states, including MODE.
      // We tokenize, parse, and output in an almost purely a forward-only stream of token input
      // and formatted output.  This makes the beautifier less accurate than full parsers
      // but also far more tolerant of syntax errors.
      //
      // For example, the default mode is MODE.BlockStatement. If we see a '{' we push a new frame of type
      // MODE.BlockStatement on the the stack, even though it could be object literal.  If we later
      // encounter a ":", we'll switch to to MODE.ObjectLiteral.  If we then see a ";",
      // most full parsers would die, but the beautifier gracefully falls back to
      // MODE.BlockStatement and continues on.
      this._flag_store = [];
      this.set_mode(MODE.BlockStatement);
      var tokenizer = new Tokenizer(source_text, this._options);
      this._tokens = tokenizer.tokenize();
      return source_text;
    };
    
    Beautifier.prototype.beautify = function() {
      // if disabled, return the input unchanged.
      if (this._options.disabled) {
        return this._source_text;
      }
    
      var sweet_code;
      var source_text = this._reset(this._source_text);
    
      var eol = this._options.eol;
      if (this._options.eol === 'auto') {
        eol = '\n';
        if (source_text && acorn.lineBreak.test(source_text || '')) {
          eol = source_text.match(acorn.lineBreak)[0];
        }
      }
    
      var current_token = this._tokens.next();
      while (current_token) {
        this.handle_token(current_token);
    
        this._last_last_text = this._flags.last_token.text;
        this._flags.last_token = current_token;
    
        current_token = this._tokens.next();
      }
    
      sweet_code = this._output.get_code(eol);
    
      return sweet_code;
    };
    
    Beautifier.prototype.handle_token = function(current_token, preserve_statement_flags) {
      if (current_token.type === TOKEN.START_EXPR) {
        this.handle_start_expr(current_token);
      } else if (current_token.type === TOKEN.END_EXPR) {
        this.handle_end_expr(current_token);
      } else if (current_token.type === TOKEN.START_BLOCK) {
        this.handle_start_block(current_token);
      } else if (current_token.type === TOKEN.END_BLOCK) {
        this.handle_end_block(current_token);
      } else if (current_token.type === TOKEN.WORD) {
        this.handle_word(current_token);
      } else if (current_token.type === TOKEN.RESERVED) {
        this.handle_word(current_token);
      } else if (current_token.type === TOKEN.SEMICOLON) {
        this.handle_semicolon(current_token);
      } else if (current_token.type === TOKEN.STRING) {
        this.handle_string(current_token);
      } else if (current_token.type === TOKEN.EQUALS) {
        this.handle_equals(current_token);
      } else if (current_token.type === TOKEN.OPERATOR) {
        this.handle_operator(current_token);
      } else if (current_token.type === TOKEN.COMMA) {
        this.handle_comma(current_token);
      } else if (current_token.type === TOKEN.BLOCK_COMMENT) {
        this.handle_block_comment(current_token, preserve_statement_flags);
      } else if (current_token.type === TOKEN.COMMENT) {
        this.handle_comment(current_token, preserve_statement_flags);
      } else if (current_token.type === TOKEN.DOT) {
        this.handle_dot(current_token);
      } else if (current_token.type === TOKEN.EOF) {
        this.handle_eof(current_token);
      } else if (current_token.type === TOKEN.UNKNOWN) {
        this.handle_unknown(current_token, preserve_statement_flags);
      } else {
        this.handle_unknown(current_token, preserve_statement_flags);
      }
    };
    
    Beautifier.prototype.handle_whitespace_and_comments = function(current_token, preserve_statement_flags) {
      var newlines = current_token.newlines;
      var keep_whitespace = this._options.keep_array_indentation && is_array(this._flags.mode);
    
      if (current_token.comments_before) {
        var comment_token = current_token.comments_before.next();
        while (comment_token) {
          // The cleanest handling of inline comments is to treat them as though they aren't there.
          // Just continue formatting and the behavior should be logical.
          // Also ignore unknown tokens.  Again, this should result in better behavior.
          this.handle_whitespace_and_comments(comment_token, preserve_statement_flags);
          this.handle_token(comment_token, preserve_statement_flags);
          comment_token = current_token.comments_before.next();
        }
      }
    
      if (keep_whitespace) {
        for (var i = 0; i < newlines; i += 1) {
          this.print_newline(i > 0, preserve_statement_flags);
        }
      } else {
        if (this._options.max_preserve_newlines && newlines > this._options.max_preserve_newlines) {
          newlines = this._options.max_preserve_newlines;
        }
    
        if (this._options.preserve_newlines) {
          if (newlines > 1) {
            this.print_newline(false, preserve_statement_flags);
            for (var j = 1; j < newlines; j += 1) {
              this.print_newline(true, preserve_statement_flags);
            }
          }
        }
      }
    
    };
    
    var newline_restricted_tokens = ['async', 'break', 'continue', 'return', 'throw', 'yield'];
    
    Beautifier.prototype.allow_wrap_or_preserved_newline = function(current_token, force_linewrap) {
      force_linewrap = (force_linewrap === undefined) ? false : force_linewrap;
    
      // Never wrap the first token on a line
      if (this._output.just_added_newline()) {
        return;
      }
    
      var shouldPreserveOrForce = (this._options.preserve_newlines && current_token.newlines) || force_linewrap;
      var operatorLogicApplies = in_array(this._flags.last_token.text, positionable_operators) ||
        in_array(current_token.text, positionable_operators);
    
      if (operatorLogicApplies) {
        var shouldPrintOperatorNewline = (
            in_array(this._flags.last_token.text, positionable_operators) &&
            in_array(this._options.operator_position, OPERATOR_POSITION_BEFORE_OR_PRESERVE)
          ) ||
          in_array(current_token.text, positionable_operators);
        shouldPreserveOrForce = shouldPreserveOrForce && shouldPrintOperatorNewline;
      }
    
      if (shouldPreserveOrForce) {
        this.print_newline(false, true);
      } else if (this._options.wrap_line_length) {
        if (reserved_array(this._flags.last_token, newline_restricted_tokens)) {
          // These tokens should never have a newline inserted
          // between them and the following expression.
          return;
        }
        this._output.set_wrap_point();
      }
    };
    
    Beautifier.prototype.print_newline = function(force_newline, preserve_statement_flags) {
      if (!preserve_statement_flags) {
        if (this._flags.last_token.text !== ';' && this._flags.last_token.text !== ',' && this._flags.last_token.text !== '=' && (this._flags.last_token.type !== TOKEN.OPERATOR || this._flags.last_token.text === '--' || this._flags.last_token.text === '++')) {
          var next_token = this._tokens.peek();
          while (this._flags.mode === MODE.Statement &&
            !(this._flags.if_block && reserved_word(next_token, 'else')) &&
            !this._flags.do_block) {
            this.restore_mode();
          }
        }
      }
    
      if (this._output.add_new_line(force_newline)) {
        this._flags.multiline_frame = true;
      }
    };
    
    Beautifier.prototype.print_token_line_indentation = function(current_token) {
      if (this._output.just_added_newline()) {
        if (this._options.keep_array_indentation &&
          current_token.newlines &&
          (current_token.text === '[' || is_array(this._flags.mode))) {
          this._output.current_line.set_indent(-1);
          this._output.current_line.push(current_token.whitespace_before);
          this._output.space_before_token = false;
        } else if (this._output.set_indent(this._flags.indentation_level, this._flags.alignment)) {
          this._flags.line_indent_level = this._flags.indentation_level;
        }
      }
    };
    
    Beautifier.prototype.print_token = function(current_token) {
      if (this._output.raw) {
        this._output.add_raw_token(current_token);
        return;
      }
    
      if (this._options.comma_first && current_token.previous && current_token.previous.type === TOKEN.COMMA &&
        this._output.just_added_newline()) {
        if (this._output.previous_line.last() === ',') {
          var popped = this._output.previous_line.pop();
          // if the comma was already at the start of the line,
          // pull back onto that line and reprint the indentation
          if (this._output.previous_line.is_empty()) {
            this._output.previous_line.push(popped);
            this._output.trim(true);
            this._output.current_line.pop();
            this._output.trim();
          }
    
          // add the comma in front of the next token
          this.print_token_line_indentation(current_token);
          this._output.add_token(',');
          this._output.space_before_token = true;
        }
      }
    
      this.print_token_line_indentation(current_token);
      this._output.non_breaking_space = true;
      this._output.add_token(current_token.text);
      if (this._output.previous_token_wrapped) {
        this._flags.multiline_frame = true;
      }
    };
    
    Beautifier.prototype.indent = function() {
      this._flags.indentation_level += 1;
      this._output.set_indent(this._flags.indentation_level, this._flags.alignment);
    };
    
    Beautifier.prototype.deindent = function() {
      if (this._flags.indentation_level > 0 &&
        ((!this._flags.parent) || this._flags.indentation_level > this._flags.parent.indentation_level)) {
        this._flags.indentation_level -= 1;
        this._output.set_indent(this._flags.indentation_level, this._flags.alignment);
      }
    };
    
    Beautifier.prototype.set_mode = function(mode) {
      if (this._flags) {
        this._flag_store.push(this._flags);
        this._previous_flags = this._flags;
      } else {
        this._previous_flags = this.create_flags(null, mode);
      }
    
      this._flags = this.create_flags(this._previous_flags, mode);
      this._output.set_indent(this._flags.indentation_level, this._flags.alignment);
    };
    
    
    Beautifier.prototype.restore_mode = function() {
      if (this._flag_store.length > 0) {
        this._previous_flags = this._flags;
        this._flags = this._flag_store.pop();
        if (this._previous_flags.mode === MODE.Statement) {
          remove_redundant_indentation(this._output, this._previous_flags);
        }
        this._output.set_indent(this._flags.indentation_level, this._flags.alignment);
      }
    };
    
    Beautifier.prototype.start_of_object_property = function() {
      return this._flags.parent.mode === MODE.ObjectLiteral && this._flags.mode === MODE.Statement && (
        (this._flags.last_token.text === ':' && this._flags.ternary_depth === 0) || (reserved_array(this._flags.last_token, ['get', 'set'])));
    };
    
    Beautifier.prototype.start_of_statement = function(current_token) {
      var start = false;
      start = start || reserved_array(this._flags.last_token, ['var', 'let', 'const']) && current_token.type === TOKEN.WORD;
      start = start || reserved_word(this._flags.last_token, 'do');
      start = start || (!(this._flags.parent.mode === MODE.ObjectLiteral && this._flags.mode === MODE.Statement)) && reserved_array(this._flags.last_token, newline_restricted_tokens) && !current_token.newlines;
      start = start || reserved_word(this._flags.last_token, 'else') &&
        !(reserved_word(current_token, 'if') && !current_token.comments_before);
      start = start || (this._flags.last_token.type === TOKEN.END_EXPR && (this._previous_flags.mode === MODE.ForInitializer || this._previous_flags.mode === MODE.Conditional));
      start = start || (this._flags.last_token.type === TOKEN.WORD && this._flags.mode === MODE.BlockStatement &&
        !this._flags.in_case &&
        !(current_token.text === '--' || current_token.text === '++') &&
        this._last_last_text !== 'function' &&
        current_token.type !== TOKEN.WORD && current_token.type !== TOKEN.RESERVED);
      start = start || (this._flags.mode === MODE.ObjectLiteral && (
        (this._flags.last_token.text === ':' && this._flags.ternary_depth === 0) || reserved_array(this._flags.last_token, ['get', 'set'])));
    
      if (start) {
        this.set_mode(MODE.Statement);
        this.indent();
    
        this.handle_whitespace_and_comments(current_token, true);
    
        // Issue #276:
        // If starting a new statement with [if, for, while, do], push to a new line.
        // if (a) if (b) if(c) d(); else e(); else f();
        if (!this.start_of_object_property()) {
          this.allow_wrap_or_preserved_newline(current_token,
            reserved_array(current_token, ['do', 'for', 'if', 'while']));
        }
        return true;
      }
      return false;
    };
    
    Beautifier.prototype.handle_start_expr = function(current_token) {
      // The conditional starts the statement if appropriate.
      if (!this.start_of_statement(current_token)) {
        this.handle_whitespace_and_comments(current_token);
      }
    
      var next_mode = MODE.Expression;
      if (current_token.text === '[') {
    
        if (this._flags.last_token.type === TOKEN.WORD || this._flags.last_token.text === ')') {
          // this is array index specifier, break immediately
          // a[x], fn()[x]
          if (reserved_array(this._flags.last_token, line_starters)) {
            this._output.space_before_token = true;
          }
          this.print_token(current_token);
          this.set_mode(next_mode);
          this.indent();
          if (this._options.space_in_paren) {
            this._output.space_before_token = true;
          }
          return;
        }
    
        next_mode = MODE.ArrayLiteral;
        if (is_array(this._flags.mode)) {
          if (this._flags.last_token.text === '[' ||
            (this._flags.last_token.text === ',' && (this._last_last_text === ']' || this._last_last_text === '}'))) {
            // ], [ goes to new line
            // }, [ goes to new line
            if (!this._options.keep_array_indentation) {
              this.print_newline();
            }
          }
        }
    
        if (!in_array(this._flags.last_token.type, [TOKEN.START_EXPR, TOKEN.END_EXPR, TOKEN.WORD, TOKEN.OPERATOR, TOKEN.DOT])) {
          this._output.space_before_token = true;
        }
      } else {
        if (this._flags.last_token.type === TOKEN.RESERVED) {
          if (this._flags.last_token.text === 'for') {
            this._output.space_before_token = this._options.space_before_conditional;
            next_mode = MODE.ForInitializer;
          } else if (in_array(this._flags.last_token.text, ['if', 'while', 'switch'])) {
            this._output.space_before_token = this._options.space_before_conditional;
            next_mode = MODE.Conditional;
          } else if (in_array(this._flags.last_word, ['await', 'async'])) {
            // Should be a space between await and an IIFE, or async and an arrow function
            this._output.space_before_token = true;
          } else if (this._flags.last_token.text === 'import' && current_token.whitespace_before === '') {
            this._output.space_before_token = false;
          } else if (in_array(this._flags.last_token.text, line_starters) || this._flags.last_token.text === 'catch') {
            this._output.space_before_token = true;
          }
        } else if (this._flags.last_token.type === TOKEN.EQUALS || this._flags.last_token.type === TOKEN.OPERATOR) {
          // Support of this kind of newline preservation.
          // a = (b &&
          //     (c || d));
          if (!this.start_of_object_property()) {
            this.allow_wrap_or_preserved_newline(current_token);
          }
        } else if (this._flags.last_token.type === TOKEN.WORD) {
          this._output.space_before_token = false;
    
          // function name() vs function name ()
          // function* name() vs function* name ()
          // async name() vs async name ()
          // In ES6, you can also define the method properties of an object
          // var obj = {a: function() {}}
          // It can be abbreviated
          // var obj = {a() {}}
          // var obj = { a() {}} vs var obj = { a () {}}
          // var obj = { * a() {}} vs var obj = { * a () {}}
          var peek_back_two = this._tokens.peek(-3);
          if (this._options.space_after_named_function && peek_back_two) {
            // peek starts at next character so -1 is current token
            var peek_back_three = this._tokens.peek(-4);
            if (reserved_array(peek_back_two, ['async', 'function']) ||
              (peek_back_two.text === '*' && reserved_array(peek_back_three, ['async', 'function']))) {
              this._output.space_before_token = true;
            } else if (this._flags.mode === MODE.ObjectLiteral) {
              if ((peek_back_two.text === '{' || peek_back_two.text === ',') ||
                (peek_back_two.text === '*' && (peek_back_three.text === '{' || peek_back_three.text === ','))) {
                this._output.space_before_token = true;
              }
            } else if (this._flags.parent && this._flags.parent.class_start_block) {
              this._output.space_before_token = true;
            }
          }
        } else {
          // Support preserving wrapped arrow function expressions
          // a.b('c',
          //     () => d.e
          // )
          this.allow_wrap_or_preserved_newline(current_token);
        }
    
        // function() vs function ()
        // yield*() vs yield* ()
        // function*() vs function* ()
        if ((this._flags.last_token.type === TOKEN.RESERVED && (this._flags.last_word === 'function' || this._flags.last_word === 'typeof')) ||
          (this._flags.last_token.text === '*' &&
            (in_array(this._last_last_text, ['function', 'yield']) ||
              (this._flags.mode === MODE.ObjectLiteral && in_array(this._last_last_text, ['{', ',']))))) {
          this._output.space_before_token = this._options.space_after_anon_function;
        }
      }
    
      if (this._flags.last_token.text === ';' || this._flags.last_token.type === TOKEN.START_BLOCK) {
        this.print_newline();
      } else if (this._flags.last_token.type === TOKEN.END_EXPR || this._flags.last_token.type === TOKEN.START_EXPR || this._flags.last_token.type === TOKEN.END_BLOCK || this._flags.last_token.text === '.' || this._flags.last_token.type === TOKEN.COMMA) {
        // do nothing on (( and )( and ][ and ]( and .(
        // TODO: Consider whether forcing this is required.  Review failing tests when removed.
        this.allow_wrap_or_preserved_newline(current_token, current_token.newlines);
      }
    
      this.print_token(current_token);
      this.set_mode(next_mode);
      if (this._options.space_in_paren) {
        this._output.space_before_token = true;
      }
    
      // In all cases, if we newline while inside an expression it should be indented.
      this.indent();
    };
    
    Beautifier.prototype.handle_end_expr = function(current_token) {
      // statements inside expressions are not valid syntax, but...
      // statements must all be closed when their container closes
      while (this._flags.mode === MODE.Statement) {
        this.restore_mode();
      }
    
      this.handle_whitespace_and_comments(current_token);
    
      if (this._flags.multiline_frame) {
        this.allow_wrap_or_preserved_newline(current_token,
          current_token.text === ']' && is_array(this._flags.mode) && !this._options.keep_array_indentation);
      }
    
      if (this._options.space_in_paren) {
        if (this._flags.last_token.type === TOKEN.START_EXPR && !this._options.space_in_empty_paren) {
          // () [] no inner space in empty parens like these, ever, ref #320
          this._output.trim();
          this._output.space_before_token = false;
        } else {
          this._output.space_before_token = true;
        }
      }
      this.deindent();
      this.print_token(current_token);
      this.restore_mode();
    
      remove_redundant_indentation(this._output, this._previous_flags);
    
      // do {} while () // no statement required after
      if (this._flags.do_while && this._previous_flags.mode === MODE.Conditional) {
        this._previous_flags.mode = MODE.Expression;
        this._flags.do_block = false;
        this._flags.do_while = false;
    
      }
    };
    
    Beautifier.prototype.handle_start_block = function(current_token) {
      this.handle_whitespace_and_comments(current_token);
    
      // Check if this is should be treated as a ObjectLiteral
      var next_token = this._tokens.peek();
      var second_token = this._tokens.peek(1);
      if (this._flags.last_word === 'switch' && this._flags.last_token.type === TOKEN.END_EXPR) {
        this.set_mode(MODE.BlockStatement);
        this._flags.in_case_statement = true;
      } else if (this._flags.case_body) {
        this.set_mode(MODE.BlockStatement);
      } else if (second_token && (
          (in_array(second_token.text, [':', ',']) && in_array(next_token.type, [TOKEN.STRING, TOKEN.WORD, TOKEN.RESERVED])) ||
          (in_array(next_token.text, ['get', 'set', '...']) && in_array(second_token.type, [TOKEN.WORD, TOKEN.RESERVED]))
        )) {
        // We don't support TypeScript,but we didn't break it for a very long time.
        // We'll try to keep not breaking it.
        if (in_array(this._last_last_text, ['class', 'interface']) && !in_array(second_token.text, [':', ','])) {
          this.set_mode(MODE.BlockStatement);
        } else {
          this.set_mode(MODE.ObjectLiteral);
        }
      } else if (this._flags.last_token.type === TOKEN.OPERATOR && this._flags.last_token.text === '=>') {
        // arrow function: (param1, paramN) => { statements }
        this.set_mode(MODE.BlockStatement);
      } else if (in_array(this._flags.last_token.type, [TOKEN.EQUALS, TOKEN.START_EXPR, TOKEN.COMMA, TOKEN.OPERATOR]) ||
        reserved_array(this._flags.last_token, ['return', 'throw', 'import', 'default'])
      ) {
        // Detecting shorthand function syntax is difficult by scanning forward,
        //     so check the surrounding context.
        // If the block is being returned, imported, export default, passed as arg,
        //     assigned with = or assigned in a nested object, treat as an ObjectLiteral.
        this.set_mode(MODE.ObjectLiteral);
      } else {
        this.set_mode(MODE.BlockStatement);
      }
    
      if (this._flags.last_token) {
        if (reserved_array(this._flags.last_token.previous, ['class', 'extends'])) {
          this._flags.class_start_block = true;
        }
      }
    
      var empty_braces = !next_token.comments_before && next_token.text === '}';
      var empty_anonymous_function = empty_braces && this._flags.last_word === 'function' &&
        this._flags.last_token.type === TOKEN.END_EXPR;
    
      if (this._options.brace_preserve_inline) // check for inline, set inline_frame if so
      {
        // search forward for a newline wanted inside this block
        var index = 0;
        var check_token = null;
        this._flags.inline_frame = true;
        do {
          index += 1;
          check_token = this._tokens.peek(index - 1);
          if (check_token.newlines) {
            this._flags.inline_frame = false;
            break;
          }
        } while (check_token.type !== TOKEN.EOF &&
          !(check_token.type === TOKEN.END_BLOCK && check_token.opened === current_token));
      }
    
      if ((this._options.brace_style === "expand" ||
          (this._options.brace_style === "none" && current_token.newlines)) &&
        !this._flags.inline_frame) {
        if (this._flags.last_token.type !== TOKEN.OPERATOR &&
          (empty_anonymous_function ||
            this._flags.last_token.type === TOKEN.EQUALS ||
            (reserved_array(this._flags.last_token, special_words) && this._flags.last_token.text !== 'else'))) {
          this._output.space_before_token = true;
        } else {
          this.print_newline(false, true);
        }
      } else { // collapse || inline_frame
        if (is_array(this._previous_flags.mode) && (this._flags.last_token.type === TOKEN.START_EXPR || this._flags.last_token.type === TOKEN.COMMA)) {
          if (this._flags.last_token.type === TOKEN.COMMA || this._options.space_in_paren) {
            this._output.space_before_token = true;
          }
    
          if (this._flags.last_token.type === TOKEN.COMMA || (this._flags.last_token.type === TOKEN.START_EXPR && this._flags.inline_frame)) {
            this.allow_wrap_or_preserved_newline(current_token);
            this._previous_flags.multiline_frame = this._previous_flags.multiline_frame || this._flags.multiline_frame;
            this._flags.multiline_frame = false;
          }
        }
        if (this._flags.last_token.type !== TOKEN.OPERATOR && this._flags.last_token.type !== TOKEN.START_EXPR) {
          if (in_array(this._flags.last_token.type, [TOKEN.START_BLOCK, TOKEN.SEMICOLON]) && !this._flags.inline_frame) {
            this.print_newline();
          } else {
            this._output.space_before_token = true;
          }
        }
      }
      this.print_token(current_token);
      this.indent();
    
      // Except for specific cases, open braces are followed by a new line.
      if (!empty_braces && !(this._options.brace_preserve_inline && this._flags.inline_frame)) {
        this.print_newline();
      }
    };
    
    Beautifier.prototype.handle_end_block = function(current_token) {
      // statements must all be closed when their container closes
      this.handle_whitespace_and_comments(current_token);
    
      while (this._flags.mode === MODE.Statement) {
        this.restore_mode();
      }
    
      var empty_braces = this._flags.last_token.type === TOKEN.START_BLOCK;
    
      if (this._flags.inline_frame && !empty_braces) { // try inline_frame (only set if this._options.braces-preserve-inline) first
        this._output.space_before_token = true;
      } else if (this._options.brace_style === "expand") {
        if (!empty_braces) {
          this.print_newline();
        }
      } else {
        // skip {}
        if (!empty_braces) {
          if (is_array(this._flags.mode) && this._options.keep_array_indentation) {
            // we REALLY need a newline here, but newliner would skip that
            this._options.keep_array_indentation = false;
            this.print_newline();
            this._options.keep_array_indentation = true;
    
          } else {
            this.print_newline();
          }
        }
      }
      this.restore_mode();
      this.print_token(current_token);
    };
    
    Beautifier.prototype.handle_word = function(current_token) {
      if (current_token.type === TOKEN.RESERVED) {
        if (in_array(current_token.text, ['set', 'get']) && this._flags.mode !== MODE.ObjectLiteral) {
          current_token.type = TOKEN.WORD;
        } else if (current_token.text === 'import' && in_array(this._tokens.peek().text, ['(', '.'])) {
          current_token.type = TOKEN.WORD;
        } else if (in_array(current_token.text, ['as', 'from']) && !this._flags.import_block) {
          current_token.type = TOKEN.WORD;
        } else if (this._flags.mode === MODE.ObjectLiteral) {
          var next_token = this._tokens.peek();
          if (next_token.text === ':') {
            current_token.type = TOKEN.WORD;
          }
        }
      }
    
      if (this.start_of_statement(current_token)) {
        // The conditional starts the statement if appropriate.
        if (reserved_array(this._flags.last_token, ['var', 'let', 'const']) && current_token.type === TOKEN.WORD) {
          this._flags.declaration_statement = true;
        }
      } else if (current_token.newlines && !is_expression(this._flags.mode) &&
        (this._flags.last_token.type !== TOKEN.OPERATOR || (this._flags.last_token.text === '--' || this._flags.last_token.text === '++')) &&
        this._flags.last_token.type !== TOKEN.EQUALS &&
        (this._options.preserve_newlines || !reserved_array(this._flags.last_token, ['var', 'let', 'const', 'set', 'get']))) {
        this.handle_whitespace_and_comments(current_token);
        this.print_newline();
      } else {
        this.handle_whitespace_and_comments(current_token);
      }
    
      if (this._flags.do_block && !this._flags.do_while) {
        if (reserved_word(current_token, 'while')) {
          // do {} ## while ()
          this._output.space_before_token = true;
          this.print_token(current_token);
          this._output.space_before_token = true;
          this._flags.do_while = true;
          return;
        } else {
          // do {} should always have while as the next word.
          // if we don't see the expected while, recover
          this.print_newline();
          this._flags.do_block = false;
        }
      }
    
      // if may be followed by else, or not
      // Bare/inline ifs are tricky
      // Need to unwind the modes correctly: if (a) if (b) c(); else d(); else e();
      if (this._flags.if_block) {
        if (!this._flags.else_block && reserved_word(current_token, 'else')) {
          this._flags.else_block = true;
        } else {
          while (this._flags.mode === MODE.Statement) {
            this.restore_mode();
          }
          this._flags.if_block = false;
          this._flags.else_block = false;
        }
      }
    
      if (this._flags.in_case_statement && reserved_array(current_token, ['case', 'default'])) {
        this.print_newline();
        if (!this._flags.case_block && (this._flags.case_body || this._options.jslint_happy)) {
          // switch cases following one another
          this.deindent();
        }
        this._flags.case_body = false;
    
        this.print_token(current_token);
        this._flags.in_case = true;
        return;
      }
    
      if (this._flags.last_token.type === TOKEN.COMMA || this._flags.last_token.type === TOKEN.START_EXPR || this._flags.last_token.type === TOKEN.EQUALS || this._flags.last_token.type === TOKEN.OPERATOR) {
        if (!this.start_of_object_property() && !(
            // start of object property is different for numeric values with +/- prefix operators
            in_array(this._flags.last_token.text, ['+', '-']) && this._last_last_text === ':' && this._flags.parent.mode === MODE.ObjectLiteral)) {
          this.allow_wrap_or_preserved_newline(current_token);
        }
      }
    
      if (reserved_word(current_token, 'function')) {
        if (in_array(this._flags.last_token.text, ['}', ';']) ||
          (this._output.just_added_newline() && !(in_array(this._flags.last_token.text, ['(', '[', '{', ':', '=', ',']) || this._flags.last_token.type === TOKEN.OPERATOR))) {
          // make sure there is a nice clean space of at least one blank line
          // before a new function definition
          if (!this._output.just_added_blankline() && !current_token.comments_before) {
            this.print_newline();
            this.print_newline(true);
          }
        }
        if (this._flags.last_token.type === TOKEN.RESERVED || this._flags.last_token.type === TOKEN.WORD) {
          if (reserved_array(this._flags.last_token, ['get', 'set', 'new', 'export']) ||
            reserved_array(this._flags.last_token, newline_restricted_tokens)) {
            this._output.space_before_token = true;
          } else if (reserved_word(this._flags.last_token, 'default') && this._last_last_text === 'export') {
            this._output.space_before_token = true;
          } else if (this._flags.last_token.text === 'declare') {
            // accomodates Typescript declare function formatting
            this._output.space_before_token = true;
          } else {
            this.print_newline();
          }
        } else if (this._flags.last_token.type === TOKEN.OPERATOR || this._flags.last_token.text === '=') {
          // foo = function
          this._output.space_before_token = true;
        } else if (!this._flags.multiline_frame && (is_expression(this._flags.mode) || is_array(this._flags.mode))) {
          // (function
        } else {
          this.print_newline();
        }
    
        this.print_token(current_token);
        this._flags.last_word = current_token.text;
        return;
      }
    
      var prefix = 'NONE';
    
      if (this._flags.last_token.type === TOKEN.END_BLOCK) {
    
        if (this._previous_flags.inline_frame) {
          prefix = 'SPACE';
        } else if (!reserved_array(current_token, ['else', 'catch', 'finally', 'from'])) {
          prefix = 'NEWLINE';
        } else {
          if (this._options.brace_style === "expand" ||
            this._options.brace_style === "end-expand" ||
            (this._options.brace_style === "none" && current_token.newlines)) {
            prefix = 'NEWLINE';
          } else {
            prefix = 'SPACE';
            this._output.space_before_token = true;
          }
        }
      } else if (this._flags.last_token.type === TOKEN.SEMICOLON && this._flags.mode === MODE.BlockStatement) {
        // TODO: Should this be for STATEMENT as well?
        prefix = 'NEWLINE';
      } else if (this._flags.last_token.type === TOKEN.SEMICOLON && is_expression(this._flags.mode)) {
        prefix = 'SPACE';
      } else if (this._flags.last_token.type === TOKEN.STRING) {
        prefix = 'NEWLINE';
      } else if (this._flags.last_token.type === TOKEN.RESERVED || this._flags.last_token.type === TOKEN.WORD ||
        (this._flags.last_token.text === '*' &&
          (in_array(this._last_last_text, ['function', 'yield']) ||
            (this._flags.mode === MODE.ObjectLiteral && in_array(this._last_last_text, ['{', ',']))))) {
        prefix = 'SPACE';
      } else if (this._flags.last_token.type === TOKEN.START_BLOCK) {
        if (this._flags.inline_frame) {
          prefix = 'SPACE';
        } else {
          prefix = 'NEWLINE';
        }
      } else if (this._flags.last_token.type === TOKEN.END_EXPR) {
        this._output.space_before_token = true;
        prefix = 'NEWLINE';
      }
    
      if (reserved_array(current_token, line_starters) && this._flags.last_token.text !== ')') {
        if (this._flags.inline_frame || this._flags.last_token.text === 'else' || this._flags.last_token.text === 'export') {
          prefix = 'SPACE';
        } else {
          prefix = 'NEWLINE';
        }
    
      }
    
      if (reserved_array(current_token, ['else', 'catch', 'finally'])) {
        if ((!(this._flags.last_token.type === TOKEN.END_BLOCK && this._previous_flags.mode === MODE.BlockStatement) ||
            this._options.brace_style === "expand" ||
            this._options.brace_style === "end-expand" ||
            (this._options.brace_style === "none" && current_token.newlines)) &&
          !this._flags.inline_frame) {
          this.print_newline();
        } else {
          this._output.trim(true);
          var line = this._output.current_line;
          // If we trimmed and there's something other than a close block before us
          // put a newline back in.  Handles '} // comment' scenario.
          if (line.last() !== '}') {
            this.print_newline();
          }
          this._output.space_before_token = true;
        }
      } else if (prefix === 'NEWLINE') {
        if (reserved_array(this._flags.last_token, special_words)) {
          // no newline between 'return nnn'
          this._output.space_before_token = true;
        } else if (this._flags.last_token.text === 'declare' && reserved_array(current_token, ['var', 'let', 'const'])) {
          // accomodates Typescript declare formatting
          this._output.space_before_token = true;
        } else if (this._flags.last_token.type !== TOKEN.END_EXPR) {
          if ((this._flags.last_token.type !== TOKEN.START_EXPR || !reserved_array(current_token, ['var', 'let', 'const'])) && this._flags.last_token.text !== ':') {
            // no need to force newline on 'var': for (var x = 0...)
            if (reserved_word(current_token, 'if') && reserved_word(current_token.previous, 'else')) {
              // no newline for } else if {
              this._output.space_before_token = true;
            } else {
              this.print_newline();
            }
          }
        } else if (reserved_array(current_token, line_starters) && this._flags.last_token.text !== ')') {
          this.print_newline();
        }
      } else if (this._flags.multiline_frame && is_array(this._flags.mode) && this._flags.last_token.text === ',' && this._last_last_text === '}') {
        this.print_newline(); // }, in lists get a newline treatment
      } else if (prefix === 'SPACE') {
        this._output.space_before_token = true;
      }
      if (current_token.previous && (current_token.previous.type === TOKEN.WORD || current_token.previous.type === TOKEN.RESERVED)) {
        this._output.space_before_token = true;
      }
      this.print_token(current_token);
      this._flags.last_word = current_token.text;
    
      if (current_token.type === TOKEN.RESERVED) {
        if (current_token.text === 'do') {
          this._flags.do_block = true;
        } else if (current_token.text === 'if') {
          this._flags.if_block = true;
        } else if (current_token.text === 'import') {
          this._flags.import_block = true;
        } else if (this._flags.import_block && reserved_word(current_token, 'from')) {
          this._flags.import_block = false;
        }
      }
    };
    
    Beautifier.prototype.handle_semicolon = function(current_token) {
      if (this.start_of_statement(current_token)) {
        // The conditional starts the statement if appropriate.
        // Semicolon can be the start (and end) of a statement
        this._output.space_before_token = false;
      } else {
        this.handle_whitespace_and_comments(current_token);
      }
    
      var next_token = this._tokens.peek();
      while (this._flags.mode === MODE.Statement &&
        !(this._flags.if_block && reserved_word(next_token, 'else')) &&
        !this._flags.do_block) {
        this.restore_mode();
      }
    
      // hacky but effective for the moment
      if (this._flags.import_block) {
        this._flags.import_block = false;
      }
      this.print_token(current_token);
    };
    
    Beautifier.prototype.handle_string = function(current_token) {
      if (current_token.text.startsWith("`") && current_token.newlines === 0 && current_token.whitespace_before === '' && (current_token.previous.text === ')' || this._flags.last_token.type === TOKEN.WORD)) {
        //Conditional for detectign backtick strings
      } else if (this.start_of_statement(current_token)) {
        // The conditional starts the statement if appropriate.
        // One difference - strings want at least a space before
        this._output.space_before_token = true;
      } else {
        this.handle_whitespace_and_comments(current_token);
        if (this._flags.last_token.type === TOKEN.RESERVED || this._flags.last_token.type === TOKEN.WORD || this._flags.inline_frame) {
          this._output.space_before_token = true;
        } else if (this._flags.last_token.type === TOKEN.COMMA || this._flags.last_token.type === TOKEN.START_EXPR || this._flags.last_token.type === TOKEN.EQUALS || this._flags.last_token.type === TOKEN.OPERATOR) {
          if (!this.start_of_object_property()) {
            this.allow_wrap_or_preserved_newline(current_token);
          }
        } else if ((current_token.text.startsWith("`") && this._flags.last_token.type === TOKEN.END_EXPR && (current_token.previous.text === ']' || current_token.previous.text === ')') && current_token.newlines === 0)) {
          this._output.space_before_token = true;
        } else {
          this.print_newline();
        }
      }
      this.print_token(current_token);
    };
    
    Beautifier.prototype.handle_equals = function(current_token) {
      if (this.start_of_statement(current_token)) {
        // The conditional starts the statement if appropriate.
      } else {
        this.handle_whitespace_and_comments(current_token);
      }
    
      if (this._flags.declaration_statement) {
        // just got an '=' in a var-line, different formatting/line-breaking, etc will now be done
        this._flags.declaration_assignment = true;
      }
      this._output.space_before_token = true;
      this.print_token(current_token);
      this._output.space_before_token = true;
    };
    
    Beautifier.prototype.handle_comma = function(current_token) {
      this.handle_whitespace_and_comments(current_token, true);
    
      this.print_token(current_token);
      this._output.space_before_token = true;
      if (this._flags.declaration_statement) {
        if (is_expression(this._flags.parent.mode)) {
          // do not break on comma, for(var a = 1, b = 2)
          this._flags.declaration_assignment = false;
        }
    
        if (this._flags.declaration_assignment) {
          this._flags.declaration_assignment = false;
          this.print_newline(false, true);
        } else if (this._options.comma_first) {
          // for comma-first, we want to allow a newline before the comma
          // to turn into a newline after the comma, which we will fixup later
          this.allow_wrap_or_preserved_newline(current_token);
        }
      } else if (this._flags.mode === MODE.ObjectLiteral ||
        (this._flags.mode === MODE.Statement && this._flags.parent.mode === MODE.ObjectLiteral)) {
        if (this._flags.mode === MODE.Statement) {
          this.restore_mode();
        }
    
        if (!this._flags.inline_frame) {
          this.print_newline();
        }
      } else if (this._options.comma_first) {
        // EXPR or DO_BLOCK
        // for comma-first, we want to allow a newline before the comma
        // to turn into a newline after the comma, which we will fixup later
        this.allow_wrap_or_preserved_newline(current_token);
      }
    };
    
    Beautifier.prototype.handle_operator = function(current_token) {
      var isGeneratorAsterisk = current_token.text === '*' &&
        (reserved_array(this._flags.last_token, ['function', 'yield']) ||
          (in_array(this._flags.last_token.type, [TOKEN.START_BLOCK, TOKEN.COMMA, TOKEN.END_BLOCK, TOKEN.SEMICOLON]))
        );
      var isUnary = in_array(current_token.text, ['-', '+']) && (
        in_array(this._flags.last_token.type, [TOKEN.START_BLOCK, TOKEN.START_EXPR, TOKEN.EQUALS, TOKEN.OPERATOR]) ||
        in_array(this._flags.last_token.text, line_starters) ||
        this._flags.last_token.text === ','
      );
    
      if (this.start_of_statement(current_token)) {
        // The conditional starts the statement if appropriate.
      } else {
        var preserve_statement_flags = !isGeneratorAsterisk;
        this.handle_whitespace_and_comments(current_token, preserve_statement_flags);
      }
    
      // hack for actionscript's import .*;
      if (current_token.text === '*' && this._flags.last_token.type === TOKEN.DOT) {
        this.print_token(current_token);
        return;
      }
    
      if (current_token.text === '::') {
        // no spaces around exotic namespacing syntax operator
        this.print_token(current_token);
        return;
      }
    
      if (in_array(current_token.text, ['-', '+']) && this.start_of_object_property()) {
        // numeric value with +/- symbol in front as a property
        this.print_token(current_token);
        return;
      }
    
      // Allow line wrapping between operators when operator_position is
      //   set to before or preserve
      if (this._flags.last_token.type === TOKEN.OPERATOR && in_array(this._options.operator_position, OPERATOR_POSITION_BEFORE_OR_PRESERVE)) {
        this.allow_wrap_or_preserved_newline(current_token);
      }
    
      if (current_token.text === ':' && this._flags.in_case) {
        this.print_token(current_token);
    
        this._flags.in_case = false;
        this._flags.case_body = true;
        if (this._tokens.peek().type !== TOKEN.START_BLOCK) {
          this.indent();
          this.print_newline();
          this._flags.case_block = false;
        } else {
          this._flags.case_block = true;
          this._output.space_before_token = true;
        }
        return;
      }
    
      var space_before = true;
      var space_after = true;
      var in_ternary = false;
      if (current_token.text === ':') {
        if (this._flags.ternary_depth === 0) {
          // Colon is invalid javascript outside of ternary and object, but do our best to guess what was meant.
          space_before = false;
        } else {
          this._flags.ternary_depth -= 1;
          in_ternary = true;
        }
      } else if (current_token.text === '?') {
        this._flags.ternary_depth += 1;
      }
    
      // let's handle the operator_position option prior to any conflicting logic
      if (!isUnary && !isGeneratorAsterisk && this._options.preserve_newlines && in_array(current_token.text, positionable_operators)) {
        var isColon = current_token.text === ':';
        var isTernaryColon = (isColon && in_ternary);
        var isOtherColon = (isColon && !in_ternary);
    
        switch (this._options.operator_position) {
          case OPERATOR_POSITION.before_newline:
            // if the current token is : and it's not a ternary statement then we set space_before to false
            this._output.space_before_token = !isOtherColon;
    
            this.print_token(current_token);
    
            if (!isColon || isTernaryColon) {
              this.allow_wrap_or_preserved_newline(current_token);
            }
    
            this._output.space_before_token = true;
            return;
    
          case OPERATOR_POSITION.after_newline:
            // if the current token is anything but colon, or (via deduction) it's a colon and in a ternary statement,
            //   then print a newline.
    
            this._output.space_before_token = true;
    
            if (!isColon || isTernaryColon) {
              if (this._tokens.peek().newlines) {
                this.print_newline(false, true);
              } else {
                this.allow_wrap_or_preserved_newline(current_token);
              }
            } else {
              this._output.space_before_token = false;
            }
    
            this.print_token(current_token);
    
            this._output.space_before_token = true;
            return;
    
          case OPERATOR_POSITION.preserve_newline:
            if (!isOtherColon) {
              this.allow_wrap_or_preserved_newline(current_token);
            }
    
            // if we just added a newline, or the current token is : and it's not a ternary statement,
            //   then we set space_before to false
            space_before = !(this._output.just_added_newline() || isOtherColon);
    
            this._output.space_before_token = space_before;
            this.print_token(current_token);
            this._output.space_before_token = true;
            return;
        }
      }
    
      if (isGeneratorAsterisk) {
        this.allow_wrap_or_preserved_newline(current_token);
        space_before = false;
        var next_token = this._tokens.peek();
        space_after = next_token && in_array(next_token.type, [TOKEN.WORD, TOKEN.RESERVED]);
      } else if (current_token.text === '...') {
        this.allow_wrap_or_preserved_newline(current_token);
        space_before = this._flags.last_token.type === TOKEN.START_BLOCK;
        space_after = false;
      } else if (in_array(current_token.text, ['--', '++', '!', '~']) || isUnary) {
        // unary operators (and binary +/- pretending to be unary) special cases
        if (this._flags.last_token.type === TOKEN.COMMA || this._flags.last_token.type === TOKEN.START_EXPR) {
          this.allow_wrap_or_preserved_newline(current_token);
        }
    
        space_before = false;
        space_after = false;
    
        // http://www.ecma-international.org/ecma-262/5.1/#sec-7.9.1
        // if there is a newline between -- or ++ and anything else we should preserve it.
        if (current_token.newlines && (current_token.text === '--' || current_token.text === '++' || current_token.text === '~')) {
          var new_line_needed = reserved_array(this._flags.last_token, special_words) && current_token.newlines;
          if (new_line_needed && (this._previous_flags.if_block || this._previous_flags.else_block)) {
            this.restore_mode();
          }
          this.print_newline(new_line_needed, true);
        }
    
        if (this._flags.last_token.text === ';' && is_expression(this._flags.mode)) {
          // for (;; ++i)
          //        ^^^
          space_before = true;
        }
    
        if (this._flags.last_token.type === TOKEN.RESERVED) {
          space_before = true;
        } else if (this._flags.last_token.type === TOKEN.END_EXPR) {
          space_before = !(this._flags.last_token.text === ']' && (current_token.text === '--' || current_token.text === '++'));
        } else if (this._flags.last_token.type === TOKEN.OPERATOR) {
          // a++ + ++b;
          // a - -b
          space_before = in_array(current_token.text, ['--', '-', '++', '+']) && in_array(this._flags.last_token.text, ['--', '-', '++', '+']);
          // + and - are not unary when preceeded by -- or ++ operator
          // a-- + b
          // a * +b
          // a - -b
          if (in_array(current_token.text, ['+', '-']) && in_array(this._flags.last_token.text, ['--', '++'])) {
            space_after = true;
          }
        }
    
    
        if (((this._flags.mode === MODE.BlockStatement && !this._flags.inline_frame) || this._flags.mode === MODE.Statement) &&
          (this._flags.last_token.text === '{' || this._flags.last_token.text === ';')) {
          // { foo; --i }
          // foo(); --bar;
          this.print_newline();
        }
      }
    
      this._output.space_before_token = this._output.space_before_token || space_before;
      this.print_token(current_token);
      this._output.space_before_token = space_after;
    };
    
    Beautifier.prototype.handle_block_comment = function(current_token, preserve_statement_flags) {
      if (this._output.raw) {
        this._output.add_raw_token(current_token);
        if (current_token.directives && current_token.directives.preserve === 'end') {
          // If we're testing the raw output behavior, do not allow a directive to turn it off.
          this._output.raw = this._options.test_output_raw;
        }
        return;
      }
    
      if (current_token.directives) {
        this.print_newline(false, preserve_statement_flags);
        this.print_token(current_token);
        if (current_token.directives.preserve === 'start') {
          this._output.raw = true;
        }
        this.print_newline(false, true);
        return;
      }
    
      // inline block
      if (!acorn.newline.test(current_token.text) && !current_token.newlines) {
        this._output.space_before_token = true;
        this.print_token(current_token);
        this._output.space_before_token = true;
        return;
      } else {
        this.print_block_commment(current_token, preserve_statement_flags);
      }
    };
    
    Beautifier.prototype.print_block_commment = function(current_token, preserve_statement_flags) {
      var lines = split_linebreaks(current_token.text);
      var j; // iterator for this case
      var javadoc = false;
      var starless = false;
      var lastIndent = current_token.whitespace_before;
      var lastIndentLength = lastIndent.length;
    
      // block comment starts with a new line
      this.print_newline(false, preserve_statement_flags);
    
      // first line always indented
      this.print_token_line_indentation(current_token);
      this._output.add_token(lines[0]);
      this.print_newline(false, preserve_statement_flags);
    
    
      if (lines.length > 1) {
        lines = lines.slice(1);
        javadoc = all_lines_start_with(lines, '*');
        starless = each_line_matches_indent(lines, lastIndent);
    
        if (javadoc) {
          this._flags.alignment = 1;
        }
    
        for (j = 0; j < lines.length; j++) {
          if (javadoc) {
            // javadoc: reformat and re-indent
            this.print_token_line_indentation(current_token);
            this._output.add_token(ltrim(lines[j]));
          } else if (starless && lines[j]) {
            // starless: re-indent non-empty content, avoiding trim
            this.print_token_line_indentation(current_token);
            this._output.add_token(lines[j].substring(lastIndentLength));
          } else {
            // normal comments output raw
            this._output.current_line.set_indent(-1);
            this._output.add_token(lines[j]);
          }
    
          // for comments on their own line or  more than one line, make sure there's a new line after
          this.print_newline(false, preserve_statement_flags);
        }
    
        this._flags.alignment = 0;
      }
    };
    
    
    Beautifier.prototype.handle_comment = function(current_token, preserve_statement_flags) {
      if (current_token.newlines) {
        this.print_newline(false, preserve_statement_flags);
      } else {
        this._output.trim(true);
      }
    
      this._output.space_before_token = true;
      this.print_token(current_token);
      this.print_newline(false, preserve_statement_flags);
    };
    
    Beautifier.prototype.handle_dot = function(current_token) {
      if (this.start_of_statement(current_token)) {
        // The conditional starts the statement if appropriate.
      } else {
        this.handle_whitespace_and_comments(current_token, true);
      }
    
      if (this._flags.last_token.text.match('^[0-9]+$')) {
        this._output.space_before_token = true;
      }
    
      if (reserved_array(this._flags.last_token, special_words)) {
        this._output.space_before_token = false;
      } else {
        // allow preserved newlines before dots in general
        // force newlines on dots after close paren when break_chained - for bar().baz()
        this.allow_wrap_or_preserved_newline(current_token,
          this._flags.last_token.text === ')' && this._options.break_chained_methods);
      }
    
      // Only unindent chained method dot if this dot starts a new line.
      // Otherwise the automatic extra indentation removal will handle the over indent
      if (this._options.unindent_chained_methods && this._output.just_added_newline()) {
        this.deindent();
      }
    
      this.print_token(current_token);
    };
    
    Beautifier.prototype.handle_unknown = function(current_token, preserve_statement_flags) {
      this.print_token(current_token);
    
      if (current_token.text[current_token.text.length - 1] === '\n') {
        this.print_newline(false, preserve_statement_flags);
      }
    };
    
    Beautifier.prototype.handle_eof = function(current_token) {
      // Unwind any open statements
      while (this._flags.mode === MODE.Statement) {
        this.restore_mode();
      }
      this.handle_whitespace_and_comments(current_token);
    };
    
    module.exports.Beautifier = Beautifier;
    
    
    /***/ }),
    /* 2 */
    /***/ (function(module) {
    
    /*jshint node:true */
    /*
      The MIT License (MIT)
    
      Copyright (c) 2007-2018 Einar Lielmanis, Liam Newman, and contributors.
    
      Permission is hereby granted, free of charge, to any person
      obtaining a copy of this software and associated documentation files
      (the "Software"), to deal in the Software without restriction,
      including without limitation the rights to use, copy, modify, merge,
      publish, distribute, sublicense, and/or sell copies of the Software,
      and to permit persons to whom the Software is furnished to do so,
      subject to the following conditions:
    
      The above copyright notice and this permission notice shall be
      included in all copies or substantial portions of the Software.
    
      THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
      EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
      MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
      NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
      BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
      ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
      CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
      SOFTWARE.
    */
    
    
    
    function OutputLine(parent) {
      this.__parent = parent;
      this.__character_count = 0;
      // use indent_count as a marker for this.__lines that have preserved indentation
      this.__indent_count = -1;
      this.__alignment_count = 0;
      this.__wrap_point_index = 0;
      this.__wrap_point_character_count = 0;
      this.__wrap_point_indent_count = -1;
      this.__wrap_point_alignment_count = 0;
    
      this.__items = [];
    }
    
    OutputLine.prototype.clone_empty = function() {
      var line = new OutputLine(this.__parent);
      line.set_indent(this.__indent_count, this.__alignment_count);
      return line;
    };
    
    OutputLine.prototype.item = function(index) {
      if (index < 0) {
        return this.__items[this.__items.length + index];
      } else {
        return this.__items[index];
      }
    };
    
    OutputLine.prototype.has_match = function(pattern) {
      for (var lastCheckedOutput = this.__items.length - 1; lastCheckedOutput >= 0; lastCheckedOutput--) {
        if (this.__items[lastCheckedOutput].match(pattern)) {
          return true;
        }
      }
      return false;
    };
    
    OutputLine.prototype.set_indent = function(indent, alignment) {
      if (this.is_empty()) {
        this.__indent_count = indent || 0;
        this.__alignment_count = alignment || 0;
        this.__character_count = this.__parent.get_indent_size(this.__indent_count, this.__alignment_count);
      }
    };
    
    OutputLine.prototype._set_wrap_point = function() {
      if (this.__parent.wrap_line_length) {
        this.__wrap_point_index = this.__items.length;
        this.__wrap_point_character_count = this.__character_count;
        this.__wrap_point_indent_count = this.__parent.next_line.__indent_count;
        this.__wrap_point_alignment_count = this.__parent.next_line.__alignment_count;
      }
    };
    
    OutputLine.prototype._should_wrap = function() {
      return this.__wrap_point_index &&
        this.__character_count > this.__parent.wrap_line_length &&
        this.__wrap_point_character_count > this.__parent.next_line.__character_count;
    };
    
    OutputLine.prototype._allow_wrap = function() {
      if (this._should_wrap()) {
        this.__parent.add_new_line();
        var next = this.__parent.current_line;
        next.set_indent(this.__wrap_point_indent_count, this.__wrap_point_alignment_count);
        next.__items = this.__items.slice(this.__wrap_point_index);
        this.__items = this.__items.slice(0, this.__wrap_point_index);
    
        next.__character_count += this.__character_count - this.__wrap_point_character_count;
        this.__character_count = this.__wrap_point_character_count;
    
        if (next.__items[0] === " ") {
          next.__items.splice(0, 1);
          next.__character_count -= 1;
        }
        return true;
      }
      return false;
    };
    
    OutputLine.prototype.is_empty = function() {
      return this.__items.length === 0;
    };
    
    OutputLine.prototype.last = function() {
      if (!this.is_empty()) {
        return this.__items[this.__items.length - 1];
      } else {
        return null;
      }
    };
    
    OutputLine.prototype.push = function(item) {
      this.__items.push(item);
      var last_newline_index = item.lastIndexOf('\n');
      if (last_newline_index !== -1) {
        this.__character_count = item.length - last_newline_index;
      } else {
        this.__character_count += item.length;
      }
    };
    
    OutputLine.prototype.pop = function() {
      var item = null;
      if (!this.is_empty()) {
        item = this.__items.pop();
        this.__character_count -= item.length;
      }
      return item;
    };
    
    
    OutputLine.prototype._remove_indent = function() {
      if (this.__indent_count > 0) {
        this.__indent_count -= 1;
        this.__character_count -= this.__parent.indent_size;
      }
    };
    
    OutputLine.prototype._remove_wrap_indent = function() {
      if (this.__wrap_point_indent_count > 0) {
        this.__wrap_point_indent_count -= 1;
      }
    };
    OutputLine.prototype.trim = function() {
      while (this.last() === ' ') {
        this.__items.pop();
        this.__character_count -= 1;
      }
    };
    
    OutputLine.prototype.toString = function() {
      var result = '';
      if (this.is_empty()) {
        if (this.__parent.indent_empty_lines) {
          result = this.__parent.get_indent_string(this.__indent_count);
        }
      } else {
        result = this.__parent.get_indent_string(this.__indent_count, this.__alignment_count);
        result += this.__items.join('');
      }
      return result;
    };
    
    function IndentStringCache(options, baseIndentString) {
      this.__cache = [''];
      this.__indent_size = options.indent_size;
      this.__indent_string = options.indent_char;
      if (!options.indent_with_tabs) {
        this.__indent_string = new Array(options.indent_size + 1).join(options.indent_char);
      }
    
      // Set to null to continue support for auto detection of base indent
      baseIndentString = baseIndentString || '';
      if (options.indent_level > 0) {
        baseIndentString = new Array(options.indent_level + 1).join(this.__indent_string);
      }
    
      this.__base_string = baseIndentString;
      this.__base_string_length = baseIndentString.length;
    }
    
    IndentStringCache.prototype.get_indent_size = function(indent, column) {
      var result = this.__base_string_length;
      column = column || 0;
      if (indent < 0) {
        result = 0;
      }
      result += indent * this.__indent_size;
      result += column;
      return result;
    };
    
    IndentStringCache.prototype.get_indent_string = function(indent_level, column) {
      var result = this.__base_string;
      column = column || 0;
      if (indent_level < 0) {
        indent_level = 0;
        result = '';
      }
      column += indent_level * this.__indent_size;
      this.__ensure_cache(column);
      result += this.__cache[column];
      return result;
    };
    
    IndentStringCache.prototype.__ensure_cache = function(column) {
      while (column >= this.__cache.length) {
        this.__add_column();
      }
    };
    
    IndentStringCache.prototype.__add_column = function() {
      var column = this.__cache.length;
      var indent = 0;
      var result = '';
      if (this.__indent_size && column >= this.__indent_size) {
        indent = Math.floor(column / this.__indent_size);
        column -= indent * this.__indent_size;
        result = new Array(indent + 1).join(this.__indent_string);
      }
      if (column) {
        result += new Array(column + 1).join(' ');
      }
    
      this.__cache.push(result);
    };
    
    function Output(options, baseIndentString) {
      this.__indent_cache = new IndentStringCache(options, baseIndentString);
      this.raw = false;
      this._end_with_newline = options.end_with_newline;
      this.indent_size = options.indent_size;
      this.wrap_line_length = options.wrap_line_length;
      this.indent_empty_lines = options.indent_empty_lines;
      this.__lines = [];
      this.previous_line = null;
      this.current_line = null;
      this.next_line = new OutputLine(this);
      this.space_before_token = false;
      this.non_breaking_space = false;
      this.previous_token_wrapped = false;
      // initialize
      this.__add_outputline();
    }
    
    Output.prototype.__add_outputline = function() {
      this.previous_line = this.current_line;
      this.current_line = this.next_line.clone_empty();
      this.__lines.push(this.current_line);
    };
    
    Output.prototype.get_line_number = function() {
      return this.__lines.length;
    };
    
    Output.prototype.get_indent_string = function(indent, column) {
      return this.__indent_cache.get_indent_string(indent, column);
    };
    
    Output.prototype.get_indent_size = function(indent, column) {
      return this.__indent_cache.get_indent_size(indent, column);
    };
    
    Output.prototype.is_empty = function() {
      return !this.previous_line && this.current_line.is_empty();
    };
    
    Output.prototype.add_new_line = function(force_newline) {
      // never newline at the start of file
      // otherwise, newline only if we didn't just add one or we're forced
      if (this.is_empty() ||
        (!force_newline && this.just_added_newline())) {
        return false;
      }
    
      // if raw output is enabled, don't print additional newlines,
      // but still return True as though you had
      if (!this.raw) {
        this.__add_outputline();
      }
      return true;
    };
    
    Output.prototype.get_code = function(eol) {
      this.trim(true);
    
      // handle some edge cases where the last tokens
      // has text that ends with newline(s)
      var last_item = this.current_line.pop();
      if (last_item) {
        if (last_item[last_item.length - 1] === '\n') {
          last_item = last_item.replace(/\n+$/g, '');
        }
        this.current_line.push(last_item);
      }
    
      if (this._end_with_newline) {
        this.__add_outputline();
      }
    
      var sweet_code = this.__lines.join('\n');
    
      if (eol !== '\n') {
        sweet_code = sweet_code.replace(/[\n]/g, eol);
      }
      return sweet_code;
    };
    
    Output.prototype.set_wrap_point = function() {
      this.current_line._set_wrap_point();
    };
    
    Output.prototype.set_indent = function(indent, alignment) {
      indent = indent || 0;
      alignment = alignment || 0;
    
      // Next line stores alignment values
      this.next_line.set_indent(indent, alignment);
    
      // Never indent your first output indent at the start of the file
      if (this.__lines.length > 1) {
        this.current_line.set_indent(indent, alignment);
        return true;
      }
    
      this.current_line.set_indent();
      return false;
    };
    
    Output.prototype.add_raw_token = function(token) {
      for (var x = 0; x < token.newlines; x++) {
        this.__add_outputline();
      }
      this.current_line.set_indent(-1);
      this.current_line.push(token.whitespace_before);
      this.current_line.push(token.text);
      this.space_before_token = false;
      this.non_breaking_space = false;
      this.previous_token_wrapped = false;
    };
    
    Output.prototype.add_token = function(printable_token) {
      this.__add_space_before_token();
      this.current_line.push(printable_token);
      this.space_before_token = false;
      this.non_breaking_space = false;
      this.previous_token_wrapped = this.current_line._allow_wrap();
    };
    
    Output.prototype.__add_space_before_token = function() {
      if (this.space_before_token && !this.just_added_newline()) {
        if (!this.non_breaking_space) {
          this.set_wrap_point();
        }
        this.current_line.push(' ');
      }
    };
    
    Output.prototype.remove_indent = function(index) {
      var output_length = this.__lines.length;
      while (index < output_length) {
        this.__lines[index]._remove_indent();
        index++;
      }
      this.current_line._remove_wrap_indent();
    };
    
    Output.prototype.trim = function(eat_newlines) {
      eat_newlines = (eat_newlines === undefined) ? false : eat_newlines;
    
      this.current_line.trim();
    
      while (eat_newlines && this.__lines.length > 1 &&
        this.current_line.is_empty()) {
        this.__lines.pop();
        this.current_line = this.__lines[this.__lines.length - 1];
        this.current_line.trim();
      }
    
      this.previous_line = this.__lines.length > 1 ?
        this.__lines[this.__lines.length - 2] : null;
    };
    
    Output.prototype.just_added_newline = function() {
      return this.current_line.is_empty();
    };
    
    Output.prototype.just_added_blankline = function() {
      return this.is_empty() ||
        (this.current_line.is_empty() && this.previous_line.is_empty());
    };
    
    Output.prototype.ensure_empty_line_above = function(starts_with, ends_with) {
      var index = this.__lines.length - 2;
      while (index >= 0) {
        var potentialEmptyLine = this.__lines[index];
        if (potentialEmptyLine.is_empty()) {
          break;
        } else if (potentialEmptyLine.item(0).indexOf(starts_with) !== 0 &&
          potentialEmptyLine.item(-1) !== ends_with) {
          this.__lines.splice(index + 1, 0, new OutputLine(this));
          this.previous_line = this.__lines[this.__lines.length - 2];
          break;
        }
        index--;
      }
    };
    
    module.exports.Output = Output;
    
    
    /***/ }),
    /* 3 */
    /***/ (function(module) {
    
    /*jshint node:true */
    /*
    
      The MIT License (MIT)
    
      Copyright (c) 2007-2018 Einar Lielmanis, Liam Newman, and contributors.
    
      Permission is hereby granted, free of charge, to any person
      obtaining a copy of this software and associated documentation files
      (the "Software"), to deal in the Software without restriction,
      including without limitation the rights to use, copy, modify, merge,
      publish, distribute, sublicense, and/or sell copies of the Software,
      and to permit persons to whom the Software is furnished to do so,
      subject to the following conditions:
    
      The above copyright notice and this permission notice shall be
      included in all copies or substantial portions of the Software.
    
      THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
      EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
      MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
      NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
      BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
      ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
      CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
      SOFTWARE.
    */
    
    
    
    function Token(type, text, newlines, whitespace_before) {
      this.type = type;
      this.text = text;
    
      // comments_before are
      // comments that have a new line before them
      // and may or may not have a newline after
      // this is a set of comments before
      this.comments_before = null; /* inline comment*/
    
    
      // this.comments_after =  new TokenStream(); // no new line before and newline after
      this.newlines = newlines || 0;
      this.whitespace_before = whitespace_before || '';
      this.parent = null;
      this.next = null;
      this.previous = null;
      this.opened = null;
      this.closed = null;
      this.directives = null;
    }
    
    
    module.exports.Token = Token;
    
    
    /***/ }),
    /* 4 */
    /***/ (function(__unused_webpack_module, exports) {
    
    /* jshint node: true, curly: false */
    // Parts of this section of code is taken from acorn.
    //
    // Acorn was written by Marijn Haverbeke and released under an MIT
    // license. The Unicode regexps (for identifiers and whitespace) were
    // taken from [Esprima](http://esprima.org) by Ariya Hidayat.
    //
    // Git repositories for Acorn are available at
    //
    //     http://marijnhaverbeke.nl/git/acorn
    //     https://github.com/marijnh/acorn.git
    
    // ## Character categories
    
    
    
    
    // acorn used char codes to squeeze the last bit of performance out
    // Beautifier is okay without that, so we're using regex
    // permit # (23), $ (36), and @ (64). @ is used in ES7 decorators.
    // 65 through 91 are uppercase letters.
    // permit _ (95).
    // 97 through 123 are lowercase letters.
    var baseASCIIidentifierStartChars = "\\x23\\x24\\x40\\x41-\\x5a\\x5f\\x61-\\x7a";
    
    // inside an identifier @ is not allowed but 0-9 are.
    var baseASCIIidentifierChars = "\\x24\\x30-\\x39\\x41-\\x5a\\x5f\\x61-\\x7a";
    
    // Big ugly regular expressions that match characters in the
    // whitespace, identifier, and identifier-start categories. These
    // are only applied when a character is found to actually have a
    // code point above 128.
    var nonASCIIidentifierStartChars = "\\xaa\\xb5\\xba\\xc0-\\xd6\\xd8-\\xf6\\xf8-\\u02c1\\u02c6-\\u02d1\\u02e0-\\u02e4\\u02ec\\u02ee\\u0370-\\u0374\\u0376\\u0377\\u037a-\\u037d\\u0386\\u0388-\\u038a\\u038c\\u038e-\\u03a1\\u03a3-\\u03f5\\u03f7-\\u0481\\u048a-\\u0527\\u0531-\\u0556\\u0559\\u0561-\\u0587\\u05d0-\\u05ea\\u05f0-\\u05f2\\u0620-\\u064a\\u066e\\u066f\\u0671-\\u06d3\\u06d5\\u06e5\\u06e6\\u06ee\\u06ef\\u06fa-\\u06fc\\u06ff\\u0710\\u0712-\\u072f\\u074d-\\u07a5\\u07b1\\u07ca-\\u07ea\\u07f4\\u07f5\\u07fa\\u0800-\\u0815\\u081a\\u0824\\u0828\\u0840-\\u0858\\u08a0\\u08a2-\\u08ac\\u0904-\\u0939\\u093d\\u0950\\u0958-\\u0961\\u0971-\\u0977\\u0979-\\u097f\\u0985-\\u098c\\u098f\\u0990\\u0993-\\u09a8\\u09aa-\\u09b0\\u09b2\\u09b6-\\u09b9\\u09bd\\u09ce\\u09dc\\u09dd\\u09df-\\u09e1\\u09f0\\u09f1\\u0a05-\\u0a0a\\u0a0f\\u0a10\\u0a13-\\u0a28\\u0a2a-\\u0a30\\u0a32\\u0a33\\u0a35\\u0a36\\u0a38\\u0a39\\u0a59-\\u0a5c\\u0a5e\\u0a72-\\u0a74\\u0a85-\\u0a8d\\u0a8f-\\u0a91\\u0a93-\\u0aa8\\u0aaa-\\u0ab0\\u0ab2\\u0ab3\\u0ab5-\\u0ab9\\u0abd\\u0ad0\\u0ae0\\u0ae1\\u0b05-\\u0b0c\\u0b0f\\u0b10\\u0b13-\\u0b28\\u0b2a-\\u0b30\\u0b32\\u0b33\\u0b35-\\u0b39\\u0b3d\\u0b5c\\u0b5d\\u0b5f-\\u0b61\\u0b71\\u0b83\\u0b85-\\u0b8a\\u0b8e-\\u0b90\\u0b92-\\u0b95\\u0b99\\u0b9a\\u0b9c\\u0b9e\\u0b9f\\u0ba3\\u0ba4\\u0ba8-\\u0baa\\u0bae-\\u0bb9\\u0bd0\\u0c05-\\u0c0c\\u0c0e-\\u0c10\\u0c12-\\u0c28\\u0c2a-\\u0c33\\u0c35-\\u0c39\\u0c3d\\u0c58\\u0c59\\u0c60\\u0c61\\u0c85-\\u0c8c\\u0c8e-\\u0c90\\u0c92-\\u0ca8\\u0caa-\\u0cb3\\u0cb5-\\u0cb9\\u0cbd\\u0cde\\u0ce0\\u0ce1\\u0cf1\\u0cf2\\u0d05-\\u0d0c\\u0d0e-\\u0d10\\u0d12-\\u0d3a\\u0d3d\\u0d4e\\u0d60\\u0d61\\u0d7a-\\u0d7f\\u0d85-\\u0d96\\u0d9a-\\u0db1\\u0db3-\\u0dbb\\u0dbd\\u0dc0-\\u0dc6\\u0e01-\\u0e30\\u0e32\\u0e33\\u0e40-\\u0e46\\u0e81\\u0e82\\u0e84\\u0e87\\u0e88\\u0e8a\\u0e8d\\u0e94-\\u0e97\\u0e99-\\u0e9f\\u0ea1-\\u0ea3\\u0ea5\\u0ea7\\u0eaa\\u0eab\\u0ead-\\u0eb0\\u0eb2\\u0eb3\\u0ebd\\u0ec0-\\u0ec4\\u0ec6\\u0edc-\\u0edf\\u0f00\\u0f40-\\u0f47\\u0f49-\\u0f6c\\u0f88-\\u0f8c\\u1000-\\u102a\\u103f\\u1050-\\u1055\\u105a-\\u105d\\u1061\\u1065\\u1066\\u106e-\\u1070\\u1075-\\u1081\\u108e\\u10a0-\\u10c5\\u10c7\\u10cd\\u10d0-\\u10fa\\u10fc-\\u1248\\u124a-\\u124d\\u1250-\\u1256\\u1258\\u125a-\\u125d\\u1260-\\u1288\\u128a-\\u128d\\u1290-\\u12b0\\u12b2-\\u12b5\\u12b8-\\u12be\\u12c0\\u12c2-\\u12c5\\u12c8-\\u12d6\\u12d8-\\u1310\\u1312-\\u1315\\u1318-\\u135a\\u1380-\\u138f\\u13a0-\\u13f4\\u1401-\\u166c\\u166f-\\u167f\\u1681-\\u169a\\u16a0-\\u16ea\\u16ee-\\u16f0\\u1700-\\u170c\\u170e-\\u1711\\u1720-\\u1731\\u1740-\\u1751\\u1760-\\u176c\\u176e-\\u1770\\u1780-\\u17b3\\u17d7\\u17dc\\u1820-\\u1877\\u1880-\\u18a8\\u18aa\\u18b0-\\u18f5\\u1900-\\u191c\\u1950-\\u196d\\u1970-\\u1974\\u1980-\\u19ab\\u19c1-\\u19c7\\u1a00-\\u1a16\\u1a20-\\u1a54\\u1aa7\\u1b05-\\u1b33\\u1b45-\\u1b4b\\u1b83-\\u1ba0\\u1bae\\u1baf\\u1bba-\\u1be5\\u1c00-\\u1c23\\u1c4d-\\u1c4f\\u1c5a-\\u1c7d\\u1ce9-\\u1cec\\u1cee-\\u1cf1\\u1cf5\\u1cf6\\u1d00-\\u1dbf\\u1e00-\\u1f15\\u1f18-\\u1f1d\\u1f20-\\u1f45\\u1f48-\\u1f4d\\u1f50-\\u1f57\\u1f59\\u1f5b\\u1f5d\\u1f5f-\\u1f7d\\u1f80-\\u1fb4\\u1fb6-\\u1fbc\\u1fbe\\u1fc2-\\u1fc4\\u1fc6-\\u1fcc\\u1fd0-\\u1fd3\\u1fd6-\\u1fdb\\u1fe0-\\u1fec\\u1ff2-\\u1ff4\\u1ff6-\\u1ffc\\u2071\\u207f\\u2090-\\u209c\\u2102\\u2107\\u210a-\\u2113\\u2115\\u2119-\\u211d\\u2124\\u2126\\u2128\\u212a-\\u212d\\u212f-\\u2139\\u213c-\\u213f\\u2145-\\u2149\\u214e\\u2160-\\u2188\\u2c00-\\u2c2e\\u2c30-\\u2c5e\\u2c60-\\u2ce4\\u2ceb-\\u2cee\\u2cf2\\u2cf3\\u2d00-\\u2d25\\u2d27\\u2d2d\\u2d30-\\u2d67\\u2d6f\\u2d80-\\u2d96\\u2da0-\\u2da6\\u2da8-\\u2dae\\u2db0-\\u2db6\\u2db8-\\u2dbe\\u2dc0-\\u2dc6\\u2dc8-\\u2dce\\u2dd0-\\u2dd6\\u2dd8-\\u2dde\\u2e2f\\u3005-\\u3007\\u3021-\\u3029\\u3031-\\u3035\\u3038-\\u303c\\u3041-\\u3096\\u309d-\\u309f\\u30a1-\\u30fa\\u30fc-\\u30ff\\u3105-\\u312d\\u3131-\\u318e\\u31a0-\\u31ba\\u31f0-\\u31ff\\u3400-\\u4db5\\u4e00-\\u9fcc\\ua000-\\ua48c\\ua4d0-\\ua4fd\\ua500-\\ua60c\\ua610-\\ua61f\\ua62a\\ua62b\\ua640-\\ua66e\\ua67f-\\ua697\\ua6a0-\\ua6ef\\ua717-\\ua71f\\ua722-\\ua788\\ua78b-\\ua78e\\ua790-\\ua793\\ua7a0-\\ua7aa\\ua7f8-\\ua801\\ua803-\\ua805\\ua807-\\ua80a\\ua80c-\\ua822\\ua840-\\ua873\\ua882-\\ua8b3\\ua8f2-\\ua8f7\\ua8fb\\ua90a-\\ua925\\ua930-\\ua946\\ua960-\\ua97c\\ua984-\\ua9b2\\ua9cf\\uaa00-\\uaa28\\uaa40-\\uaa42\\uaa44-\\uaa4b\\uaa60-\\uaa76\\uaa7a\\uaa80-\\uaaaf\\uaab1\\uaab5\\uaab6\\uaab9-\\uaabd\\uaac0\\uaac2\\uaadb-\\uaadd\\uaae0-\\uaaea\\uaaf2-\\uaaf4\\uab01-\\uab06\\uab09-\\uab0e\\uab11-\\uab16\\uab20-\\uab26\\uab28-\\uab2e\\uabc0-\\uabe2\\uac00-\\ud7a3\\ud7b0-\\ud7c6\\ud7cb-\\ud7fb\\uf900-\\ufa6d\\ufa70-\\ufad9\\ufb00-\\ufb06\\ufb13-\\ufb17\\ufb1d\\ufb1f-\\ufb28\\ufb2a-\\ufb36\\ufb38-\\ufb3c\\ufb3e\\ufb40\\ufb41\\ufb43\\ufb44\\ufb46-\\ufbb1\\ufbd3-\\ufd3d\\ufd50-\\ufd8f\\ufd92-\\ufdc7\\ufdf0-\\ufdfb\\ufe70-\\ufe74\\ufe76-\\ufefc\\uff21-\\uff3a\\uff41-\\uff5a\\uff66-\\uffbe\\uffc2-\\uffc7\\uffca-\\uffcf\\uffd2-\\uffd7\\uffda-\\uffdc";
    var nonASCIIidentifierChars = "\\u0300-\\u036f\\u0483-\\u0487\\u0591-\\u05bd\\u05bf\\u05c1\\u05c2\\u05c4\\u05c5\\u05c7\\u0610-\\u061a\\u0620-\\u0649\\u0672-\\u06d3\\u06e7-\\u06e8\\u06fb-\\u06fc\\u0730-\\u074a\\u0800-\\u0814\\u081b-\\u0823\\u0825-\\u0827\\u0829-\\u082d\\u0840-\\u0857\\u08e4-\\u08fe\\u0900-\\u0903\\u093a-\\u093c\\u093e-\\u094f\\u0951-\\u0957\\u0962-\\u0963\\u0966-\\u096f\\u0981-\\u0983\\u09bc\\u09be-\\u09c4\\u09c7\\u09c8\\u09d7\\u09df-\\u09e0\\u0a01-\\u0a03\\u0a3c\\u0a3e-\\u0a42\\u0a47\\u0a48\\u0a4b-\\u0a4d\\u0a51\\u0a66-\\u0a71\\u0a75\\u0a81-\\u0a83\\u0abc\\u0abe-\\u0ac5\\u0ac7-\\u0ac9\\u0acb-\\u0acd\\u0ae2-\\u0ae3\\u0ae6-\\u0aef\\u0b01-\\u0b03\\u0b3c\\u0b3e-\\u0b44\\u0b47\\u0b48\\u0b4b-\\u0b4d\\u0b56\\u0b57\\u0b5f-\\u0b60\\u0b66-\\u0b6f\\u0b82\\u0bbe-\\u0bc2\\u0bc6-\\u0bc8\\u0bca-\\u0bcd\\u0bd7\\u0be6-\\u0bef\\u0c01-\\u0c03\\u0c46-\\u0c48\\u0c4a-\\u0c4d\\u0c55\\u0c56\\u0c62-\\u0c63\\u0c66-\\u0c6f\\u0c82\\u0c83\\u0cbc\\u0cbe-\\u0cc4\\u0cc6-\\u0cc8\\u0cca-\\u0ccd\\u0cd5\\u0cd6\\u0ce2-\\u0ce3\\u0ce6-\\u0cef\\u0d02\\u0d03\\u0d46-\\u0d48\\u0d57\\u0d62-\\u0d63\\u0d66-\\u0d6f\\u0d82\\u0d83\\u0dca\\u0dcf-\\u0dd4\\u0dd6\\u0dd8-\\u0ddf\\u0df2\\u0df3\\u0e34-\\u0e3a\\u0e40-\\u0e45\\u0e50-\\u0e59\\u0eb4-\\u0eb9\\u0ec8-\\u0ecd\\u0ed0-\\u0ed9\\u0f18\\u0f19\\u0f20-\\u0f29\\u0f35\\u0f37\\u0f39\\u0f41-\\u0f47\\u0f71-\\u0f84\\u0f86-\\u0f87\\u0f8d-\\u0f97\\u0f99-\\u0fbc\\u0fc6\\u1000-\\u1029\\u1040-\\u1049\\u1067-\\u106d\\u1071-\\u1074\\u1082-\\u108d\\u108f-\\u109d\\u135d-\\u135f\\u170e-\\u1710\\u1720-\\u1730\\u1740-\\u1750\\u1772\\u1773\\u1780-\\u17b2\\u17dd\\u17e0-\\u17e9\\u180b-\\u180d\\u1810-\\u1819\\u1920-\\u192b\\u1930-\\u193b\\u1951-\\u196d\\u19b0-\\u19c0\\u19c8-\\u19c9\\u19d0-\\u19d9\\u1a00-\\u1a15\\u1a20-\\u1a53\\u1a60-\\u1a7c\\u1a7f-\\u1a89\\u1a90-\\u1a99\\u1b46-\\u1b4b\\u1b50-\\u1b59\\u1b6b-\\u1b73\\u1bb0-\\u1bb9\\u1be6-\\u1bf3\\u1c00-\\u1c22\\u1c40-\\u1c49\\u1c5b-\\u1c7d\\u1cd0-\\u1cd2\\u1d00-\\u1dbe\\u1e01-\\u1f15\\u200c\\u200d\\u203f\\u2040\\u2054\\u20d0-\\u20dc\\u20e1\\u20e5-\\u20f0\\u2d81-\\u2d96\\u2de0-\\u2dff\\u3021-\\u3028\\u3099\\u309a\\ua640-\\ua66d\\ua674-\\ua67d\\ua69f\\ua6f0-\\ua6f1\\ua7f8-\\ua800\\ua806\\ua80b\\ua823-\\ua827\\ua880-\\ua881\\ua8b4-\\ua8c4\\ua8d0-\\ua8d9\\ua8f3-\\ua8f7\\ua900-\\ua909\\ua926-\\ua92d\\ua930-\\ua945\\ua980-\\ua983\\ua9b3-\\ua9c0\\uaa00-\\uaa27\\uaa40-\\uaa41\\uaa4c-\\uaa4d\\uaa50-\\uaa59\\uaa7b\\uaae0-\\uaae9\\uaaf2-\\uaaf3\\uabc0-\\uabe1\\uabec\\uabed\\uabf0-\\uabf9\\ufb20-\\ufb28\\ufe00-\\ufe0f\\ufe20-\\ufe26\\ufe33\\ufe34\\ufe4d-\\ufe4f\\uff10-\\uff19\\uff3f";
    //var nonASCIIidentifierStart = new RegExp("[" + nonASCIIidentifierStartChars + "]");
    //var nonASCIIidentifier = new RegExp("[" + nonASCIIidentifierStartChars + nonASCIIidentifierChars + "]");
    
    var unicodeEscapeOrCodePoint = "\\\\u[0-9a-fA-F]{4}|\\\\u\\{[0-9a-fA-F]+\\}";
    var identifierStart = "(?:" + unicodeEscapeOrCodePoint + "|[" + baseASCIIidentifierStartChars + nonASCIIidentifierStartChars + "])";
    var identifierChars = "(?:" + unicodeEscapeOrCodePoint + "|[" + baseASCIIidentifierChars + nonASCIIidentifierStartChars + nonASCIIidentifierChars + "])*";
    
    exports.identifier = new RegExp(identifierStart + identifierChars, 'g');
    exports.identifierStart = new RegExp(identifierStart);
    exports.identifierMatch = new RegExp("(?:" + unicodeEscapeOrCodePoint + "|[" + baseASCIIidentifierChars + nonASCIIidentifierStartChars + nonASCIIidentifierChars + "])+");
    
    var nonASCIIwhitespace = /[\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]/; // jshint ignore:line
    
    // Whether a single character denotes a newline.
    
    exports.newline = /[\n\r\u2028\u2029]/;
    
    // Matches a whole line break (where CRLF is considered a single
    // line break). Used to count lines.
    
    // in javascript, these two differ
    // in python they are the same, different methods are called on them
    exports.lineBreak = new RegExp('\r\n|' + exports.newline.source);
    exports.allLineBreaks = new RegExp(exports.lineBreak.source, 'g');
    
    
    /***/ }),
    /* 5 */
    /***/ (function(module, __unused_webpack_exports, __nested_webpack_require_87818__) {
    
    /*jshint node:true */
    /*
    
      The MIT License (MIT)
    
      Copyright (c) 2007-2018 Einar Lielmanis, Liam Newman, and contributors.
    
      Permission is hereby granted, free of charge, to any person
      obtaining a copy of this software and associated documentation files
      (the "Software"), to deal in the Software without restriction,
      including without limitation the rights to use, copy, modify, merge,
      publish, distribute, sublicense, and/or sell copies of the Software,
      and to permit persons to whom the Software is furnished to do so,
      subject to the following conditions:
    
      The above copyright notice and this permission notice shall be
      included in all copies or substantial portions of the Software.
    
      THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
      EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
      MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
      NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
      BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
      ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
      CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
      SOFTWARE.
    */
    
    
    
    var BaseOptions = (__nested_webpack_require_87818__(6).Options);
    
    var validPositionValues = ['before-newline', 'after-newline', 'preserve-newline'];
    
    function Options(options) {
      BaseOptions.call(this, options, 'js');
    
      // compatibility, re
      var raw_brace_style = this.raw_options.brace_style || null;
      if (raw_brace_style === "expand-strict") { //graceful handling of deprecated option
        this.raw_options.brace_style = "expand";
      } else if (raw_brace_style === "collapse-preserve-inline") { //graceful handling of deprecated option
        this.raw_options.brace_style = "collapse,preserve-inline";
      } else if (this.raw_options.braces_on_own_line !== undefined) { //graceful handling of deprecated option
        this.raw_options.brace_style = this.raw_options.braces_on_own_line ? "expand" : "collapse";
        // } else if (!raw_brace_style) { //Nothing exists to set it
        //   raw_brace_style = "collapse";
      }
    
      //preserve-inline in delimited string will trigger brace_preserve_inline, everything
      //else is considered a brace_style and the last one only will have an effect
    
      var brace_style_split = this._get_selection_list('brace_style', ['collapse', 'expand', 'end-expand', 'none', 'preserve-inline']);
    
      this.brace_preserve_inline = false; //Defaults in case one or other was not specified in meta-option
      this.brace_style = "collapse";
    
      for (var bs = 0; bs < brace_style_split.length; bs++) {
        if (brace_style_split[bs] === "preserve-inline") {
          this.brace_preserve_inline = true;
        } else {
          this.brace_style = brace_style_split[bs];
        }
      }
    
      this.unindent_chained_methods = this._get_boolean('unindent_chained_methods');
      this.break_chained_methods = this._get_boolean('break_chained_methods');
      this.space_in_paren = this._get_boolean('space_in_paren');
      this.space_in_empty_paren = this._get_boolean('space_in_empty_paren');
      this.jslint_happy = this._get_boolean('jslint_happy');
      this.space_after_anon_function = this._get_boolean('space_after_anon_function');
      this.space_after_named_function = this._get_boolean('space_after_named_function');
      this.keep_array_indentation = this._get_boolean('keep_array_indentation');
      this.space_before_conditional = this._get_boolean('space_before_conditional', true);
      this.unescape_strings = this._get_boolean('unescape_strings');
      this.e4x = this._get_boolean('e4x');
      this.comma_first = this._get_boolean('comma_first');
      this.operator_position = this._get_selection('operator_position', validPositionValues);
    
      // For testing of beautify preserve:start directive
      this.test_output_raw = this._get_boolean('test_output_raw');
    
      // force this._options.space_after_anon_function to true if this._options.jslint_happy
      if (this.jslint_happy) {
        this.space_after_anon_function = true;
      }
    
    }
    Options.prototype = new BaseOptions();
    
    
    
    module.exports.Options = Options;
    
    
    /***/ }),
    /* 6 */
    /***/ (function(module) {
    
    /*jshint node:true */
    /*
    
      The MIT License (MIT)
    
      Copyright (c) 2007-2018 Einar Lielmanis, Liam Newman, and contributors.
    
      Permission is hereby granted, free of charge, to any person
      obtaining a copy of this software and associated documentation files
      (the "Software"), to deal in the Software without restriction,
      including without limitation the rights to use, copy, modify, merge,
      publish, distribute, sublicense, and/or sell copies of the Software,
      and to permit persons to whom the Software is furnished to do so,
      subject to the following conditions:
    
      The above copyright notice and this permission notice shall be
      included in all copies or substantial portions of the Software.
    
      THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
      EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
      MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
      NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
      BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
      ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
      CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
      SOFTWARE.
    */
    
    
    
    function Options(options, merge_child_field) {
      this.raw_options = _mergeOpts(options, merge_child_field);
    
      // Support passing the source text back with no change
      this.disabled = this._get_boolean('disabled');
    
      this.eol = this._get_characters('eol', 'auto');
      this.end_with_newline = this._get_boolean('end_with_newline');
      this.indent_size = this._get_number('indent_size', 4);
      this.indent_char = this._get_characters('indent_char', ' ');
      this.indent_level = this._get_number('indent_level');
    
      this.preserve_newlines = this._get_boolean('preserve_newlines', true);
      this.max_preserve_newlines = this._get_number('max_preserve_newlines', 32786);
      if (!this.preserve_newlines) {
        this.max_preserve_newlines = 0;
      }
    
      this.indent_with_tabs = this._get_boolean('indent_with_tabs', this.indent_char === '\t');
      if (this.indent_with_tabs) {
        this.indent_char = '\t';
    
        // indent_size behavior changed after 1.8.6
        // It used to be that indent_size would be
        // set to 1 for indent_with_tabs. That is no longer needed and
        // actually doesn't make sense - why not use spaces? Further,
        // that might produce unexpected behavior - tabs being used
        // for single-column alignment. So, when indent_with_tabs is true
        // and indent_size is 1, reset indent_size to 4.
        if (this.indent_size === 1) {
          this.indent_size = 4;
        }
      }
    
      // Backwards compat with 1.3.x
      this.wrap_line_length = this._get_number('wrap_line_length', this._get_number('max_char'));
    
      this.indent_empty_lines = this._get_boolean('indent_empty_lines');
    
      // valid templating languages ['django', 'erb', 'handlebars', 'php', 'smarty', 'angular']
      // For now, 'auto' = all off for javascript, all except angular on for html (and inline javascript/css).
      // other values ignored
      this.templating = this._get_selection_list('templating', ['auto', 'none', 'angular', 'django', 'erb', 'handlebars', 'php', 'smarty'], ['auto']);
    }
    
    Options.prototype._get_array = function(name, default_value) {
      var option_value = this.raw_options[name];
      var result = default_value || [];
      if (typeof option_value === 'object') {
        if (option_value !== null && typeof option_value.concat === 'function') {
          result = option_value.concat();
        }
      } else if (typeof option_value === 'string') {
        result = option_value.split(/[^a-zA-Z0-9_\/\-]+/);
      }
      return result;
    };
    
    Options.prototype._get_boolean = function(name, default_value) {
      var option_value = this.raw_options[name];
      var result = option_value === undefined ? !!default_value : !!option_value;
      return result;
    };
    
    Options.prototype._get_characters = function(name, default_value) {
      var option_value = this.raw_options[name];
      var result = default_value || '';
      if (typeof option_value === 'string') {
        result = option_value.replace(/\\r/, '\r').replace(/\\n/, '\n').replace(/\\t/, '\t');
      }
      return result;
    };
    
    Options.prototype._get_number = function(name, default_value) {
      var option_value = this.raw_options[name];
      default_value = parseInt(default_value, 10);
      if (isNaN(default_value)) {
        default_value = 0;
      }
      var result = parseInt(option_value, 10);
      if (isNaN(result)) {
        result = default_value;
      }
      return result;
    };
    
    Options.prototype._get_selection = function(name, selection_list, default_value) {
      var result = this._get_selection_list(name, selection_list, default_value);
      if (result.length !== 1) {
        throw new Error(
          "Invalid Option Value: The option '" + name + "' can only be one of the following values:\n" +
          selection_list + "\nYou passed in: '" + this.raw_options[name] + "'");
      }
    
      return result[0];
    };
    
    
    Options.prototype._get_selection_list = function(name, selection_list, default_value) {
      if (!selection_list || selection_list.length === 0) {
        throw new Error("Selection list cannot be empty.");
      }
    
      default_value = default_value || [selection_list[0]];
      if (!this._is_valid_selection(default_value, selection_list)) {
        throw new Error("Invalid Default Value!");
      }
    
      var result = this._get_array(name, default_value);
      if (!this._is_valid_selection(result, selection_list)) {
        throw new Error(
          "Invalid Option Value: The option '" + name + "' can contain only the following values:\n" +
          selection_list + "\nYou passed in: '" + this.raw_options[name] + "'");
      }
    
      return result;
    };
    
    Options.prototype._is_valid_selection = function(result, selection_list) {
      return result.length && selection_list.length &&
        !result.some(function(item) { return selection_list.indexOf(item) === -1; });
    };
    
    
    // merges child options up with the parent options object
    // Example: obj = {a: 1, b: {a: 2}}
    //          mergeOpts(obj, 'b')
    //
    //          Returns: {a: 2}
    function _mergeOpts(allOptions, childFieldName) {
      var finalOpts = {};
      allOptions = _normalizeOpts(allOptions);
      var name;
    
      for (name in allOptions) {
        if (name !== childFieldName) {
          finalOpts[name] = allOptions[name];
        }
      }
    
      //merge in the per type settings for the childFieldName
      if (childFieldName && allOptions[childFieldName]) {
        for (name in allOptions[childFieldName]) {
          finalOpts[name] = allOptions[childFieldName][name];
        }
      }
      return finalOpts;
    }
    
    function _normalizeOpts(options) {
      var convertedOpts = {};
      var key;
    
      for (key in options) {
        var newKey = key.replace(/-/g, "_");
        convertedOpts[newKey] = options[key];
      }
      return convertedOpts;
    }
    
    module.exports.Options = Options;
    module.exports.normalizeOpts = _normalizeOpts;
    module.exports.mergeOpts = _mergeOpts;
    
    
    /***/ }),
    /* 7 */
    /***/ (function(module, __unused_webpack_exports, __nested_webpack_require_98755__) {
    
    /*jshint node:true */
    /*
    
      The MIT License (MIT)
    
      Copyright (c) 2007-2018 Einar Lielmanis, Liam Newman, and contributors.
    
      Permission is hereby granted, free of charge, to any person
      obtaining a copy of this software and associated documentation files
      (the "Software"), to deal in the Software without restriction,
      including without limitation the rights to use, copy, modify, merge,
      publish, distribute, sublicense, and/or sell copies of the Software,
      and to permit persons to whom the Software is furnished to do so,
      subject to the following conditions:
    
      The above copyright notice and this permission notice shall be
      included in all copies or substantial portions of the Software.
    
      THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
      EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
      MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
      NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
      BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
      ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
      CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
      SOFTWARE.
    */
    
    
    
    var InputScanner = (__nested_webpack_require_98755__(8).InputScanner);
    var BaseTokenizer = (__nested_webpack_require_98755__(9).Tokenizer);
    var BASETOKEN = (__nested_webpack_require_98755__(9).TOKEN);
    var Directives = (__nested_webpack_require_98755__(13).Directives);
    var acorn = __nested_webpack_require_98755__(4);
    var Pattern = (__nested_webpack_require_98755__(12).Pattern);
    var TemplatablePattern = (__nested_webpack_require_98755__(14).TemplatablePattern);
    
    
    function in_array(what, arr) {
      return arr.indexOf(what) !== -1;
    }
    
    
    var TOKEN = {
      START_EXPR: 'TK_START_EXPR',
      END_EXPR: 'TK_END_EXPR',
      START_BLOCK: 'TK_START_BLOCK',
      END_BLOCK: 'TK_END_BLOCK',
      WORD: 'TK_WORD',
      RESERVED: 'TK_RESERVED',
      SEMICOLON: 'TK_SEMICOLON',
      STRING: 'TK_STRING',
      EQUALS: 'TK_EQUALS',
      OPERATOR: 'TK_OPERATOR',
      COMMA: 'TK_COMMA',
      BLOCK_COMMENT: 'TK_BLOCK_COMMENT',
      COMMENT: 'TK_COMMENT',
      DOT: 'TK_DOT',
      UNKNOWN: 'TK_UNKNOWN',
      START: BASETOKEN.START,
      RAW: BASETOKEN.RAW,
      EOF: BASETOKEN.EOF
    };
    
    
    var directives_core = new Directives(/\/\*/, /\*\//);
    
    var number_pattern = /0[xX][0123456789abcdefABCDEF_]*n?|0[oO][01234567_]*n?|0[bB][01_]*n?|\d[\d_]*n|(?:\.\d[\d_]*|\d[\d_]*\.?[\d_]*)(?:[eE][+-]?[\d_]+)?/;
    
    var digit = /[0-9]/;
    
    // Dot "." must be distinguished from "..." and decimal
    var dot_pattern = /[^\d\.]/;
    
    var positionable_operators = (
      ">>> === !== &&= ??= ||= " +
      "<< && >= ** != == <= >> || ?? |> " +
      "< / - + > : & % ? ^ | *").split(' ');
    
    // IMPORTANT: this must be sorted longest to shortest or tokenizing many not work.
    // Also, you must update possitionable operators separately from punct
    var punct =
      ">>>= " +
      "... >>= <<= === >>> !== **= &&= ??= ||= " +
      "=> ^= :: /= << <= == && -= >= >> != -- += ** || ?? ++ %= &= *= |= |> " +
      "= ! ? > < : / ^ - + * & % ~ |";
    
    punct = punct.replace(/[-[\]{}()*+?.,\\^$|#]/g, "\\$&");
    // ?. but not if followed by a number 
    punct = '\\?\\.(?!\\d) ' + punct;
    punct = punct.replace(/ /g, '|');
    
    var punct_pattern = new RegExp(punct);
    
    // words which should always start on new line.
    var line_starters = 'continue,try,throw,return,var,let,const,if,switch,case,default,for,while,break,function,import,export'.split(',');
    var reserved_words = line_starters.concat(['do', 'in', 'of', 'else', 'get', 'set', 'new', 'catch', 'finally', 'typeof', 'yield', 'async', 'await', 'from', 'as', 'class', 'extends']);
    var reserved_word_pattern = new RegExp('^(?:' + reserved_words.join('|') + ')$');
    
    // var template_pattern = /(?:(?:<\?php|<\?=)[\s\S]*?\?>)|(?:<%[\s\S]*?%>)/g;
    
    var in_html_comment;
    
    var Tokenizer = function(input_string, options) {
      BaseTokenizer.call(this, input_string, options);
    
      this._patterns.whitespace = this._patterns.whitespace.matching(
        /\u00A0\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff/.source,
        /\u2028\u2029/.source);
    
      var pattern_reader = new Pattern(this._input);
      var templatable = new TemplatablePattern(this._input)
        .read_options(this._options);
    
      this.__patterns = {
        template: templatable,
        identifier: templatable.starting_with(acorn.identifier).matching(acorn.identifierMatch),
        number: pattern_reader.matching(number_pattern),
        punct: pattern_reader.matching(punct_pattern),
        // comment ends just before nearest linefeed or end of file
        comment: pattern_reader.starting_with(/\/\//).until(/[\n\r\u2028\u2029]/),
        //  /* ... */ comment ends with nearest */ or end of file
        block_comment: pattern_reader.starting_with(/\/\*/).until_after(/\*\//),
        html_comment_start: pattern_reader.matching(/<!--/),
        html_comment_end: pattern_reader.matching(/-->/),
        include: pattern_reader.starting_with(/#include/).until_after(acorn.lineBreak),
        shebang: pattern_reader.starting_with(/#!/).until_after(acorn.lineBreak),
        xml: pattern_reader.matching(/[\s\S]*?<(\/?)([-a-zA-Z:0-9_.]+|{[^}]+?}|!\[CDATA\[[^\]]*?\]\]|)(\s*{[^}]+?}|\s+[-a-zA-Z:0-9_.]+|\s+[-a-zA-Z:0-9_.]+\s*=\s*('[^']*'|"[^"]*"|{([^{}]|{[^}]+?})+?}))*\s*(\/?)\s*>/),
        single_quote: templatable.until(/['\\\n\r\u2028\u2029]/),
        double_quote: templatable.until(/["\\\n\r\u2028\u2029]/),
        template_text: templatable.until(/[`\\$]/),
        template_expression: templatable.until(/[`}\\]/)
      };
    
    };
    Tokenizer.prototype = new BaseTokenizer();
    
    Tokenizer.prototype._is_comment = function(current_token) {
      return current_token.type === TOKEN.COMMENT || current_token.type === TOKEN.BLOCK_COMMENT || current_token.type === TOKEN.UNKNOWN;
    };
    
    Tokenizer.prototype._is_opening = function(current_token) {
      return current_token.type === TOKEN.START_BLOCK || current_token.type === TOKEN.START_EXPR;
    };
    
    Tokenizer.prototype._is_closing = function(current_token, open_token) {
      return (current_token.type === TOKEN.END_BLOCK || current_token.type === TOKEN.END_EXPR) &&
        (open_token && (
          (current_token.text === ']' && open_token.text === '[') ||
          (current_token.text === ')' && open_token.text === '(') ||
          (current_token.text === '}' && open_token.text === '{')));
    };
    
    Tokenizer.prototype._reset = function() {
      in_html_comment = false;
    };
    
    Tokenizer.prototype._get_next_token = function(previous_token, open_token) { // jshint unused:false
      var token = null;
      this._readWhitespace();
      var c = this._input.peek();
    
      if (c === null) {
        return this._create_token(TOKEN.EOF, '');
      }
    
      token = token || this._read_non_javascript(c);
      token = token || this._read_string(c);
      token = token || this._read_pair(c, this._input.peek(1)); // Issue #2062 hack for record type '#{'
      token = token || this._read_word(previous_token);
      token = token || this._read_singles(c);
      token = token || this._read_comment(c);
      token = token || this._read_regexp(c, previous_token);
      token = token || this._read_xml(c, previous_token);
      token = token || this._read_punctuation();
      token = token || this._create_token(TOKEN.UNKNOWN, this._input.next());
    
      return token;
    };
    
    Tokenizer.prototype._read_word = function(previous_token) {
      var resulting_string;
      resulting_string = this.__patterns.identifier.read();
      if (resulting_string !== '') {
        resulting_string = resulting_string.replace(acorn.allLineBreaks, '\n');
        if (!(previous_token.type === TOKEN.DOT ||
            (previous_token.type === TOKEN.RESERVED && (previous_token.text === 'set' || previous_token.text === 'get'))) &&
          reserved_word_pattern.test(resulting_string)) {
          if ((resulting_string === 'in' || resulting_string === 'of') &&
            (previous_token.type === TOKEN.WORD || previous_token.type === TOKEN.STRING)) { // hack for 'in' and 'of' operators
            return this._create_token(TOKEN.OPERATOR, resulting_string);
          }
          return this._create_token(TOKEN.RESERVED, resulting_string);
        }
        return this._create_token(TOKEN.WORD, resulting_string);
      }
    
      resulting_string = this.__patterns.number.read();
      if (resulting_string !== '') {
        return this._create_token(TOKEN.WORD, resulting_string);
      }
    };
    
    Tokenizer.prototype._read_singles = function(c) {
      var token = null;
      if (c === '(' || c === '[') {
        token = this._create_token(TOKEN.START_EXPR, c);
      } else if (c === ')' || c === ']') {
        token = this._create_token(TOKEN.END_EXPR, c);
      } else if (c === '{') {
        token = this._create_token(TOKEN.START_BLOCK, c);
      } else if (c === '}') {
        token = this._create_token(TOKEN.END_BLOCK, c);
      } else if (c === ';') {
        token = this._create_token(TOKEN.SEMICOLON, c);
      } else if (c === '.' && dot_pattern.test(this._input.peek(1))) {
        token = this._create_token(TOKEN.DOT, c);
      } else if (c === ',') {
        token = this._create_token(TOKEN.COMMA, c);
      }
    
      if (token) {
        this._input.next();
      }
      return token;
    };
    
    Tokenizer.prototype._read_pair = function(c, d) {
      var token = null;
      if (c === '#' && d === '{') {
        token = this._create_token(TOKEN.START_BLOCK, c + d);
      }
    
      if (token) {
        this._input.next();
        this._input.next();
      }
      return token;
    };
    
    Tokenizer.prototype._read_punctuation = function() {
      var resulting_string = this.__patterns.punct.read();
    
      if (resulting_string !== '') {
        if (resulting_string === '=') {
          return this._create_token(TOKEN.EQUALS, resulting_string);
        } else if (resulting_string === '?.') {
          return this._create_token(TOKEN.DOT, resulting_string);
        } else {
          return this._create_token(TOKEN.OPERATOR, resulting_string);
        }
      }
    };
    
    Tokenizer.prototype._read_non_javascript = function(c) {
      var resulting_string = '';
    
      if (c === '#') {
        if (this._is_first_token()) {
          resulting_string = this.__patterns.shebang.read();
    
          if (resulting_string) {
            return this._create_token(TOKEN.UNKNOWN, resulting_string.trim() + '\n');
          }
        }
    
        // handles extendscript #includes
        resulting_string = this.__patterns.include.read();
    
        if (resulting_string) {
          return this._create_token(TOKEN.UNKNOWN, resulting_string.trim() + '\n');
        }
    
        c = this._input.next();
    
        // Spidermonkey-specific sharp variables for circular references. Considered obsolete.
        var sharp = '#';
        if (this._input.hasNext() && this._input.testChar(digit)) {
          do {
            c = this._input.next();
            sharp += c;
          } while (this._input.hasNext() && c !== '#' && c !== '=');
          if (c === '#') {
            //
          } else if (this._input.peek() === '[' && this._input.peek(1) === ']') {
            sharp += '[]';
            this._input.next();
            this._input.next();
          } else if (this._input.peek() === '{' && this._input.peek(1) === '}') {
            sharp += '{}';
            this._input.next();
            this._input.next();
          }
          return this._create_token(TOKEN.WORD, sharp);
        }
    
        this._input.back();
    
      } else if (c === '<' && this._is_first_token()) {
        resulting_string = this.__patterns.html_comment_start.read();
        if (resulting_string) {
          while (this._input.hasNext() && !this._input.testChar(acorn.newline)) {
            resulting_string += this._input.next();
          }
          in_html_comment = true;
          return this._create_token(TOKEN.COMMENT, resulting_string);
        }
      } else if (in_html_comment && c === '-') {
        resulting_string = this.__patterns.html_comment_end.read();
        if (resulting_string) {
          in_html_comment = false;
          return this._create_token(TOKEN.COMMENT, resulting_string);
        }
      }
    
      return null;
    };
    
    Tokenizer.prototype._read_comment = function(c) {
      var token = null;
      if (c === '/') {
        var comment = '';
        if (this._input.peek(1) === '*') {
          // peek for comment /* ... */
          comment = this.__patterns.block_comment.read();
          var directives = directives_core.get_directives(comment);
          if (directives && directives.ignore === 'start') {
            comment += directives_core.readIgnored(this._input);
          }
          comment = comment.replace(acorn.allLineBreaks, '\n');
          token = this._create_token(TOKEN.BLOCK_COMMENT, comment);
          token.directives = directives;
        } else if (this._input.peek(1) === '/') {
          // peek for comment // ...
          comment = this.__patterns.comment.read();
          token = this._create_token(TOKEN.COMMENT, comment);
        }
      }
      return token;
    };
    
    Tokenizer.prototype._read_string = function(c) {
      if (c === '`' || c === "'" || c === '"') {
        var resulting_string = this._input.next();
        this.has_char_escapes = false;
    
        if (c === '`') {
          resulting_string += this._read_string_recursive('`', true, '${');
        } else {
          resulting_string += this._read_string_recursive(c);
        }
    
        if (this.has_char_escapes && this._options.unescape_strings) {
          resulting_string = unescape_string(resulting_string);
        }
    
        if (this._input.peek() === c) {
          resulting_string += this._input.next();
        }
    
        resulting_string = resulting_string.replace(acorn.allLineBreaks, '\n');
    
        return this._create_token(TOKEN.STRING, resulting_string);
      }
    
      return null;
    };
    
    Tokenizer.prototype._allow_regexp_or_xml = function(previous_token) {
      // regex and xml can only appear in specific locations during parsing
      return (previous_token.type === TOKEN.RESERVED && in_array(previous_token.text, ['return', 'case', 'throw', 'else', 'do', 'typeof', 'yield'])) ||
        (previous_token.type === TOKEN.END_EXPR && previous_token.text === ')' &&
          previous_token.opened.previous.type === TOKEN.RESERVED && in_array(previous_token.opened.previous.text, ['if', 'while', 'for'])) ||
        (in_array(previous_token.type, [TOKEN.COMMENT, TOKEN.START_EXPR, TOKEN.START_BLOCK, TOKEN.START,
          TOKEN.END_BLOCK, TOKEN.OPERATOR, TOKEN.EQUALS, TOKEN.EOF, TOKEN.SEMICOLON, TOKEN.COMMA
        ]));
    };
    
    Tokenizer.prototype._read_regexp = function(c, previous_token) {
    
      if (c === '/' && this._allow_regexp_or_xml(previous_token)) {
        // handle regexp
        //
        var resulting_string = this._input.next();
        var esc = false;
    
        var in_char_class = false;
        while (this._input.hasNext() &&
          ((esc || in_char_class || this._input.peek() !== c) &&
            !this._input.testChar(acorn.newline))) {
          resulting_string += this._input.peek();
          if (!esc) {
            esc = this._input.peek() === '\\';
            if (this._input.peek() === '[') {
              in_char_class = true;
            } else if (this._input.peek() === ']') {
              in_char_class = false;
            }
          } else {
            esc = false;
          }
          this._input.next();
        }
    
        if (this._input.peek() === c) {
          resulting_string += this._input.next();
    
          // regexps may have modifiers /regexp/MOD , so fetch those, too
          // Only [gim] are valid, but if the user puts in garbage, do what we can to take it.
          resulting_string += this._input.read(acorn.identifier);
        }
        return this._create_token(TOKEN.STRING, resulting_string);
      }
      return null;
    };
    
    Tokenizer.prototype._read_xml = function(c, previous_token) {
    
      if (this._options.e4x && c === "<" && this._allow_regexp_or_xml(previous_token)) {
        var xmlStr = '';
        var match = this.__patterns.xml.read_match();
        // handle e4x xml literals
        //
        if (match) {
          // Trim root tag to attempt to
          var rootTag = match[2].replace(/^{\s+/, '{').replace(/\s+}$/, '}');
          var isCurlyRoot = rootTag.indexOf('{') === 0;
          var depth = 0;
          while (match) {
            var isEndTag = !!match[1];
            var tagName = match[2];
            var isSingletonTag = (!!match[match.length - 1]) || (tagName.slice(0, 8) === "![CDATA[");
            if (!isSingletonTag &&
              (tagName === rootTag || (isCurlyRoot && tagName.replace(/^{\s+/, '{').replace(/\s+}$/, '}')))) {
              if (isEndTag) {
                --depth;
              } else {
                ++depth;
              }
            }
            xmlStr += match[0];
            if (depth <= 0) {
              break;
            }
            match = this.__patterns.xml.read_match();
          }
          // if we didn't close correctly, keep unformatted.
          if (!match) {
            xmlStr += this._input.match(/[\s\S]*/g)[0];
          }
          xmlStr = xmlStr.replace(acorn.allLineBreaks, '\n');
          return this._create_token(TOKEN.STRING, xmlStr);
        }
      }
    
      return null;
    };
    
    function unescape_string(s) {
      // You think that a regex would work for this
      // return s.replace(/\\x([0-9a-f]{2})/gi, function(match, val) {
      //         return String.fromCharCode(parseInt(val, 16));
      //     })
      // However, dealing with '\xff', '\\xff', '\\\xff' makes this more fun.
      var out = '',
        escaped = 0;
    
      var input_scan = new InputScanner(s);
      var matched = null;
    
      while (input_scan.hasNext()) {
        // Keep any whitespace, non-slash characters
        // also keep slash pairs.
        matched = input_scan.match(/([\s]|[^\\]|\\\\)+/g);
    
        if (matched) {
          out += matched[0];
        }
    
        if (input_scan.peek() === '\\') {
          input_scan.next();
          if (input_scan.peek() === 'x') {
            matched = input_scan.match(/x([0-9A-Fa-f]{2})/g);
          } else if (input_scan.peek() === 'u') {
            matched = input_scan.match(/u([0-9A-Fa-f]{4})/g);
            if (!matched) {
              matched = input_scan.match(/u\{([0-9A-Fa-f]+)\}/g);
            }
          } else {
            out += '\\';
            if (input_scan.hasNext()) {
              out += input_scan.next();
            }
            continue;
          }
    
          // If there's some error decoding, return the original string
          if (!matched) {
            return s;
          }
    
          escaped = parseInt(matched[1], 16);
    
          if (escaped > 0x7e && escaped <= 0xff && matched[0].indexOf('x') === 0) {
            // we bail out on \x7f..\xff,
            // leaving whole string escaped,
            // as it's probably completely binary
            return s;
          } else if (escaped >= 0x00 && escaped < 0x20) {
            // leave 0x00...0x1f escaped
            out += '\\' + matched[0];
          } else if (escaped > 0x10FFFF) {
            // If the escape sequence is out of bounds, keep the original sequence and continue conversion
            out += '\\' + matched[0];
          } else if (escaped === 0x22 || escaped === 0x27 || escaped === 0x5c) {
            // single-quote, apostrophe, backslash - escape these
            out += '\\' + String.fromCharCode(escaped);
          } else {
            out += String.fromCharCode(escaped);
          }
        }
      }
    
      return out;
    }
    
    // handle string
    //
    Tokenizer.prototype._read_string_recursive = function(delimiter, allow_unescaped_newlines, start_sub) {
      var current_char;
      var pattern;
      if (delimiter === '\'') {
        pattern = this.__patterns.single_quote;
      } else if (delimiter === '"') {
        pattern = this.__patterns.double_quote;
      } else if (delimiter === '`') {
        pattern = this.__patterns.template_text;
      } else if (delimiter === '}') {
        pattern = this.__patterns.template_expression;
      }
    
      var resulting_string = pattern.read();
      var next = '';
      while (this._input.hasNext()) {
        next = this._input.next();
        if (next === delimiter ||
          (!allow_unescaped_newlines && acorn.newline.test(next))) {
          this._input.back();
          break;
        } else if (next === '\\' && this._input.hasNext()) {
          current_char = this._input.peek();
    
          if (current_char === 'x' || current_char === 'u') {
            this.has_char_escapes = true;
          } else if (current_char === '\r' && this._input.peek(1) === '\n') {
            this._input.next();
          }
          next += this._input.next();
        } else if (start_sub) {
          if (start_sub === '${' && next === '$' && this._input.peek() === '{') {
            next += this._input.next();
          }
    
          if (start_sub === next) {
            if (delimiter === '`') {
              next += this._read_string_recursive('}', allow_unescaped_newlines, '`');
            } else {
              next += this._read_string_recursive('`', allow_unescaped_newlines, '${');
            }
            if (this._input.hasNext()) {
              next += this._input.next();
            }
          }
        }
        next += pattern.read();
        resulting_string += next;
      }
    
      return resulting_string;
    };
    
    module.exports.Tokenizer = Tokenizer;
    module.exports.TOKEN = TOKEN;
    module.exports.positionable_operators = positionable_operators.slice();
    module.exports.line_starters = line_starters.slice();
    
    
    /***/ }),
    /* 8 */
    /***/ (function(module) {
    
    /*jshint node:true */
    /*
    
      The MIT License (MIT)
    
      Copyright (c) 2007-2018 Einar Lielmanis, Liam Newman, and contributors.
    
      Permission is hereby granted, free of charge, to any person
      obtaining a copy of this software and associated documentation files
      (the "Software"), to deal in the Software without restriction,
      including without limitation the rights to use, copy, modify, merge,
      publish, distribute, sublicense, and/or sell copies of the Software,
      and to permit persons to whom the Software is furnished to do so,
      subject to the following conditions:
    
      The above copyright notice and this permission notice shall be
      included in all copies or substantial portions of the Software.
    
      THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
      EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
      MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
      NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
      BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
      ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
      CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
      SOFTWARE.
    */
    
    
    
    var regexp_has_sticky = RegExp.prototype.hasOwnProperty('sticky');
    
    function InputScanner(input_string) {
      this.__input = input_string || '';
      this.__input_length = this.__input.length;
      this.__position = 0;
    }
    
    InputScanner.prototype.restart = function() {
      this.__position = 0;
    };
    
    InputScanner.prototype.back = function() {
      if (this.__position > 0) {
        this.__position -= 1;
      }
    };
    
    InputScanner.prototype.hasNext = function() {
      return this.__position < this.__input_length;
    };
    
    InputScanner.prototype.next = function() {
      var val = null;
      if (this.hasNext()) {
        val = this.__input.charAt(this.__position);
        this.__position += 1;
      }
      return val;
    };
    
    InputScanner.prototype.peek = function(index) {
      var val = null;
      index = index || 0;
      index += this.__position;
      if (index >= 0 && index < this.__input_length) {
        val = this.__input.charAt(index);
      }
      return val;
    };
    
    // This is a JavaScript only helper function (not in python)
    // Javascript doesn't have a match method
    // and not all implementation support "sticky" flag.
    // If they do not support sticky then both this.match() and this.test() method
    // must get the match and check the index of the match.
    // If sticky is supported and set, this method will use it.
    // Otherwise it will check that global is set, and fall back to the slower method.
    InputScanner.prototype.__match = function(pattern, index) {
      pattern.lastIndex = index;
      var pattern_match = pattern.exec(this.__input);
    
      if (pattern_match && !(regexp_has_sticky && pattern.sticky)) {
        if (pattern_match.index !== index) {
          pattern_match = null;
        }
      }
    
      return pattern_match;
    };
    
    InputScanner.prototype.test = function(pattern, index) {
      index = index || 0;
      index += this.__position;
    
      if (index >= 0 && index < this.__input_length) {
        return !!this.__match(pattern, index);
      } else {
        return false;
      }
    };
    
    InputScanner.prototype.testChar = function(pattern, index) {
      // test one character regex match
      var val = this.peek(index);
      pattern.lastIndex = 0;
      return val !== null && pattern.test(val);
    };
    
    InputScanner.prototype.match = function(pattern) {
      var pattern_match = this.__match(pattern, this.__position);
      if (pattern_match) {
        this.__position += pattern_match[0].length;
      } else {
        pattern_match = null;
      }
      return pattern_match;
    };
    
    InputScanner.prototype.read = function(starting_pattern, until_pattern, until_after) {
      var val = '';
      var match;
      if (starting_pattern) {
        match = this.match(starting_pattern);
        if (match) {
          val += match[0];
        }
      }
      if (until_pattern && (match || !starting_pattern)) {
        val += this.readUntil(until_pattern, until_after);
      }
      return val;
    };
    
    InputScanner.prototype.readUntil = function(pattern, until_after) {
      var val = '';
      var match_index = this.__position;
      pattern.lastIndex = this.__position;
      var pattern_match = pattern.exec(this.__input);
      if (pattern_match) {
        match_index = pattern_match.index;
        if (until_after) {
          match_index += pattern_match[0].length;
        }
      } else {
        match_index = this.__input_length;
      }
    
      val = this.__input.substring(this.__position, match_index);
      this.__position = match_index;
      return val;
    };
    
    InputScanner.prototype.readUntilAfter = function(pattern) {
      return this.readUntil(pattern, true);
    };
    
    InputScanner.prototype.get_regexp = function(pattern, match_from) {
      var result = null;
      var flags = 'g';
      if (match_from && regexp_has_sticky) {
        flags = 'y';
      }
      // strings are converted to regexp
      if (typeof pattern === "string" && pattern !== '') {
        // result = new RegExp(pattern.replace(/[-\/\\^$*+?.()|[\]{}]/g, '\\$&'), flags);
        result = new RegExp(pattern, flags);
      } else if (pattern) {
        result = new RegExp(pattern.source, flags);
      }
      return result;
    };
    
    InputScanner.prototype.get_literal_regexp = function(literal_string) {
      return RegExp(literal_string.replace(/[-\/\\^$*+?.()|[\]{}]/g, '\\$&'));
    };
    
    /* css beautifier legacy helpers */
    InputScanner.prototype.peekUntilAfter = function(pattern) {
      var start = this.__position;
      var val = this.readUntilAfter(pattern);
      this.__position = start;
      return val;
    };
    
    InputScanner.prototype.lookBack = function(testVal) {
      var start = this.__position - 1;
      return start >= testVal.length && this.__input.substring(start - testVal.length, start)
        .toLowerCase() === testVal;
    };
    
    module.exports.InputScanner = InputScanner;
    
    
    /***/ }),
    /* 9 */
    /***/ (function(module, __unused_webpack_exports, __nested_webpack_require_124617__) {
    
    /*jshint node:true */
    /*
    
      The MIT License (MIT)
    
      Copyright (c) 2007-2018 Einar Lielmanis, Liam Newman, and contributors.
    
      Permission is hereby granted, free of charge, to any person
      obtaining a copy of this software and associated documentation files
      (the "Software"), to deal in the Software without restriction,
      including without limitation the rights to use, copy, modify, merge,
      publish, distribute, sublicense, and/or sell copies of the Software,
      and to permit persons to whom the Software is furnished to do so,
      subject to the following conditions:
    
      The above copyright notice and this permission notice shall be
      included in all copies or substantial portions of the Software.
    
      THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
      EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
      MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
      NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
      BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
      ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
      CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
      SOFTWARE.
    */
    
    
    
    var InputScanner = (__nested_webpack_require_124617__(8).InputScanner);
    var Token = (__nested_webpack_require_124617__(3).Token);
    var TokenStream = (__nested_webpack_require_124617__(10).TokenStream);
    var WhitespacePattern = (__nested_webpack_require_124617__(11).WhitespacePattern);
    
    var TOKEN = {
      START: 'TK_START',
      RAW: 'TK_RAW',
      EOF: 'TK_EOF'
    };
    
    var Tokenizer = function(input_string, options) {
      this._input = new InputScanner(input_string);
      this._options = options || {};
      this.__tokens = null;
    
      this._patterns = {};
      this._patterns.whitespace = new WhitespacePattern(this._input);
    };
    
    Tokenizer.prototype.tokenize = function() {
      this._input.restart();
      this.__tokens = new TokenStream();
    
      this._reset();
    
      var current;
      var previous = new Token(TOKEN.START, '');
      var open_token = null;
      var open_stack = [];
      var comments = new TokenStream();
    
      while (previous.type !== TOKEN.EOF) {
        current = this._get_next_token(previous, open_token);
        while (this._is_comment(current)) {
          comments.add(current);
          current = this._get_next_token(previous, open_token);
        }
    
        if (!comments.isEmpty()) {
          current.comments_before = comments;
          comments = new TokenStream();
        }
    
        current.parent = open_token;
    
        if (this._is_opening(current)) {
          open_stack.push(open_token);
          open_token = current;
        } else if (open_token && this._is_closing(current, open_token)) {
          current.opened = open_token;
          open_token.closed = current;
          open_token = open_stack.pop();
          current.parent = open_token;
        }
    
        current.previous = previous;
        previous.next = current;
    
        this.__tokens.add(current);
        previous = current;
      }
    
      return this.__tokens;
    };
    
    
    Tokenizer.prototype._is_first_token = function() {
      return this.__tokens.isEmpty();
    };
    
    Tokenizer.prototype._reset = function() {};
    
    Tokenizer.prototype._get_next_token = function(previous_token, open_token) { // jshint unused:false
      this._readWhitespace();
      var resulting_string = this._input.read(/.+/g);
      if (resulting_string) {
        return this._create_token(TOKEN.RAW, resulting_string);
      } else {
        return this._create_token(TOKEN.EOF, '');
      }
    };
    
    Tokenizer.prototype._is_comment = function(current_token) { // jshint unused:false
      return false;
    };
    
    Tokenizer.prototype._is_opening = function(current_token) { // jshint unused:false
      return false;
    };
    
    Tokenizer.prototype._is_closing = function(current_token, open_token) { // jshint unused:false
      return false;
    };
    
    Tokenizer.prototype._create_token = function(type, text) {
      var token = new Token(type, text,
        this._patterns.whitespace.newline_count,
        this._patterns.whitespace.whitespace_before_token);
      return token;
    };
    
    Tokenizer.prototype._readWhitespace = function() {
      return this._patterns.whitespace.read();
    };
    
    
    
    module.exports.Tokenizer = Tokenizer;
    module.exports.TOKEN = TOKEN;
    
    
    /***/ }),
    /* 10 */
    /***/ (function(module) {
    
    /*jshint node:true */
    /*
    
      The MIT License (MIT)
    
      Copyright (c) 2007-2018 Einar Lielmanis, Liam Newman, and contributors.
    
      Permission is hereby granted, free of charge, to any person
      obtaining a copy of this software and associated documentation files
      (the "Software"), to deal in the Software without restriction,
      including without limitation the rights to use, copy, modify, merge,
      publish, distribute, sublicense, and/or sell copies of the Software,
      and to permit persons to whom the Software is furnished to do so,
      subject to the following conditions:
    
      The above copyright notice and this permission notice shall be
      included in all copies or substantial portions of the Software.
    
      THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
      EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
      MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
      NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
      BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
      ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
      CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
      SOFTWARE.
    */
    
    
    
    function TokenStream(parent_token) {
      // private
      this.__tokens = [];
      this.__tokens_length = this.__tokens.length;
      this.__position = 0;
      this.__parent_token = parent_token;
    }
    
    TokenStream.prototype.restart = function() {
      this.__position = 0;
    };
    
    TokenStream.prototype.isEmpty = function() {
      return this.__tokens_length === 0;
    };
    
    TokenStream.prototype.hasNext = function() {
      return this.__position < this.__tokens_length;
    };
    
    TokenStream.prototype.next = function() {
      var val = null;
      if (this.hasNext()) {
        val = this.__tokens[this.__position];
        this.__position += 1;
      }
      return val;
    };
    
    TokenStream.prototype.peek = function(index) {
      var val = null;
      index = index || 0;
      index += this.__position;
      if (index >= 0 && index < this.__tokens_length) {
        val = this.__tokens[index];
      }
      return val;
    };
    
    TokenStream.prototype.add = function(token) {
      if (this.__parent_token) {
        token.parent = this.__parent_token;
      }
      this.__tokens.push(token);
      this.__tokens_length += 1;
    };
    
    module.exports.TokenStream = TokenStream;
    
    
    /***/ }),
    /* 11 */
    /***/ (function(module, __unused_webpack_exports, __nested_webpack_require_131037__) {
    
    /*jshint node:true */
    /*
    
      The MIT License (MIT)
    
      Copyright (c) 2007-2018 Einar Lielmanis, Liam Newman, and contributors.
    
      Permission is hereby granted, free of charge, to any person
      obtaining a copy of this software and associated documentation files
      (the "Software"), to deal in the Software without restriction,
      including without limitation the rights to use, copy, modify, merge,
      publish, distribute, sublicense, and/or sell copies of the Software,
      and to permit persons to whom the Software is furnished to do so,
      subject to the following conditions:
    
      The above copyright notice and this permission notice shall be
      included in all copies or substantial portions of the Software.
    
      THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
      EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
      MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
      NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
      BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
      ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
      CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
      SOFTWARE.
    */
    
    
    
    var Pattern = (__nested_webpack_require_131037__(12).Pattern);
    
    function WhitespacePattern(input_scanner, parent) {
      Pattern.call(this, input_scanner, parent);
      if (parent) {
        this._line_regexp = this._input.get_regexp(parent._line_regexp);
      } else {
        this.__set_whitespace_patterns('', '');
      }
    
      this.newline_count = 0;
      this.whitespace_before_token = '';
    }
    WhitespacePattern.prototype = new Pattern();
    
    WhitespacePattern.prototype.__set_whitespace_patterns = function(whitespace_chars, newline_chars) {
      whitespace_chars += '\\t ';
      newline_chars += '\\n\\r';
    
      this._match_pattern = this._input.get_regexp(
        '[' + whitespace_chars + newline_chars + ']+', true);
      this._newline_regexp = this._input.get_regexp(
        '\\r\\n|[' + newline_chars + ']');
    };
    
    WhitespacePattern.prototype.read = function() {
      this.newline_count = 0;
      this.whitespace_before_token = '';
    
      var resulting_string = this._input.read(this._match_pattern);
      if (resulting_string === ' ') {
        this.whitespace_before_token = ' ';
      } else if (resulting_string) {
        var matches = this.__split(this._newline_regexp, resulting_string);
        this.newline_count = matches.length - 1;
        this.whitespace_before_token = matches[this.newline_count];
      }
    
      return resulting_string;
    };
    
    WhitespacePattern.prototype.matching = function(whitespace_chars, newline_chars) {
      var result = this._create();
      result.__set_whitespace_patterns(whitespace_chars, newline_chars);
      result._update();
      return result;
    };
    
    WhitespacePattern.prototype._create = function() {
      return new WhitespacePattern(this._input, this);
    };
    
    WhitespacePattern.prototype.__split = function(regexp, input_string) {
      regexp.lastIndex = 0;
      var start_index = 0;
      var result = [];
      var next_match = regexp.exec(input_string);
      while (next_match) {
        result.push(input_string.substring(start_index, next_match.index));
        start_index = next_match.index + next_match[0].length;
        next_match = regexp.exec(input_string);
      }
    
      if (start_index < input_string.length) {
        result.push(input_string.substring(start_index, input_string.length));
      } else {
        result.push('');
      }
    
      return result;
    };
    
    
    
    module.exports.WhitespacePattern = WhitespacePattern;
    
    
    /***/ }),
    /* 12 */
    /***/ (function(module) {
    
    /*jshint node:true */
    /*
    
      The MIT License (MIT)
    
      Copyright (c) 2007-2018 Einar Lielmanis, Liam Newman, and contributors.
    
      Permission is hereby granted, free of charge, to any person
      obtaining a copy of this software and associated documentation files
      (the "Software"), to deal in the Software without restriction,
      including without limitation the rights to use, copy, modify, merge,
      publish, distribute, sublicense, and/or sell copies of the Software,
      and to permit persons to whom the Software is furnished to do so,
      subject to the following conditions:
    
      The above copyright notice and this permission notice shall be
      included in all copies or substantial portions of the Software.
    
      THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
      EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
      MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
      NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
      BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
      ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
      CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
      SOFTWARE.
    */
    
    
    
    function Pattern(input_scanner, parent) {
      this._input = input_scanner;
      this._starting_pattern = null;
      this._match_pattern = null;
      this._until_pattern = null;
      this._until_after = false;
    
      if (parent) {
        this._starting_pattern = this._input.get_regexp(parent._starting_pattern, true);
        this._match_pattern = this._input.get_regexp(parent._match_pattern, true);
        this._until_pattern = this._input.get_regexp(parent._until_pattern);
        this._until_after = parent._until_after;
      }
    }
    
    Pattern.prototype.read = function() {
      var result = this._input.read(this._starting_pattern);
      if (!this._starting_pattern || result) {
        result += this._input.read(this._match_pattern, this._until_pattern, this._until_after);
      }
      return result;
    };
    
    Pattern.prototype.read_match = function() {
      return this._input.match(this._match_pattern);
    };
    
    Pattern.prototype.until_after = function(pattern) {
      var result = this._create();
      result._until_after = true;
      result._until_pattern = this._input.get_regexp(pattern);
      result._update();
      return result;
    };
    
    Pattern.prototype.until = function(pattern) {
      var result = this._create();
      result._until_after = false;
      result._until_pattern = this._input.get_regexp(pattern);
      result._update();
      return result;
    };
    
    Pattern.prototype.starting_with = function(pattern) {
      var result = this._create();
      result._starting_pattern = this._input.get_regexp(pattern, true);
      result._update();
      return result;
    };
    
    Pattern.prototype.matching = function(pattern) {
      var result = this._create();
      result._match_pattern = this._input.get_regexp(pattern, true);
      result._update();
      return result;
    };
    
    Pattern.prototype._create = function() {
      return new Pattern(this._input, this);
    };
    
    Pattern.prototype._update = function() {};
    
    module.exports.Pattern = Pattern;
    
    
    /***/ }),
    /* 13 */
    /***/ (function(module) {
    
    /*jshint node:true */
    /*
    
      The MIT License (MIT)
    
      Copyright (c) 2007-2018 Einar Lielmanis, Liam Newman, and contributors.
    
      Permission is hereby granted, free of charge, to any person
      obtaining a copy of this software and associated documentation files
      (the "Software"), to deal in the Software without restriction,
      including without limitation the rights to use, copy, modify, merge,
      publish, distribute, sublicense, and/or sell copies of the Software,
      and to permit persons to whom the Software is furnished to do so,
      subject to the following conditions:
    
      The above copyright notice and this permission notice shall be
      included in all copies or substantial portions of the Software.
    
      THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
      EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
      MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
      NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
      BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
      ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
      CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
      SOFTWARE.
    */
    
    
    
    function Directives(start_block_pattern, end_block_pattern) {
      start_block_pattern = typeof start_block_pattern === 'string' ? start_block_pattern : start_block_pattern.source;
      end_block_pattern = typeof end_block_pattern === 'string' ? end_block_pattern : end_block_pattern.source;
      this.__directives_block_pattern = new RegExp(start_block_pattern + / beautify( \w+[:]\w+)+ /.source + end_block_pattern, 'g');
      this.__directive_pattern = / (\w+)[:](\w+)/g;
    
      this.__directives_end_ignore_pattern = new RegExp(start_block_pattern + /\sbeautify\signore:end\s/.source + end_block_pattern, 'g');
    }
    
    Directives.prototype.get_directives = function(text) {
      if (!text.match(this.__directives_block_pattern)) {
        return null;
      }
    
      var directives = {};
      this.__directive_pattern.lastIndex = 0;
      var directive_match = this.__directive_pattern.exec(text);
    
      while (directive_match) {
        directives[directive_match[1]] = directive_match[2];
        directive_match = this.__directive_pattern.exec(text);
      }
    
      return directives;
    };
    
    Directives.prototype.readIgnored = function(input) {
      return input.readUntilAfter(this.__directives_end_ignore_pattern);
    };
    
    
    module.exports.Directives = Directives;
    
    
    /***/ }),
    /* 14 */
    /***/ (function(module, __unused_webpack_exports, __nested_webpack_require_140024__) {
    
    /*jshint node:true */
    /*
    
      The MIT License (MIT)
    
      Copyright (c) 2007-2018 Einar Lielmanis, Liam Newman, and contributors.
    
      Permission is hereby granted, free of charge, to any person
      obtaining a copy of this software and associated documentation files
      (the "Software"), to deal in the Software without restriction,
      including without limitation the rights to use, copy, modify, merge,
      publish, distribute, sublicense, and/or sell copies of the Software,
      and to permit persons to whom the Software is furnished to do so,
      subject to the following conditions:
    
      The above copyright notice and this permission notice shall be
      included in all copies or substantial portions of the Software.
    
      THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
      EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
      MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
      NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
      BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
      ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
      CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
      SOFTWARE.
    */
    
    
    
    var Pattern = (__nested_webpack_require_140024__(12).Pattern);
    
    
    var template_names = {
      django: false,
      erb: false,
      handlebars: false,
      php: false,
      smarty: false,
      angular: false
    };
    
    // This lets templates appear anywhere we would do a readUntil
    // The cost is higher but it is pay to play.
    function TemplatablePattern(input_scanner, parent) {
      Pattern.call(this, input_scanner, parent);
      this.__template_pattern = null;
      this._disabled = Object.assign({}, template_names);
      this._excluded = Object.assign({}, template_names);
    
      if (parent) {
        this.__template_pattern = this._input.get_regexp(parent.__template_pattern);
        this._excluded = Object.assign(this._excluded, parent._excluded);
        this._disabled = Object.assign(this._disabled, parent._disabled);
      }
      var pattern = new Pattern(input_scanner);
      this.__patterns = {
        handlebars_comment: pattern.starting_with(/{{!--/).until_after(/--}}/),
        handlebars_unescaped: pattern.starting_with(/{{{/).until_after(/}}}/),
        handlebars: pattern.starting_with(/{{/).until_after(/}}/),
        php: pattern.starting_with(/<\?(?:[= ]|php)/).until_after(/\?>/),
        erb: pattern.starting_with(/<%[^%]/).until_after(/[^%]%>/),
        // django coflicts with handlebars a bit.
        django: pattern.starting_with(/{%/).until_after(/%}/),
        django_value: pattern.starting_with(/{{/).until_after(/}}/),
        django_comment: pattern.starting_with(/{#/).until_after(/#}/),
        smarty: pattern.starting_with(/{(?=[^}{\s\n])/).until_after(/[^\s\n]}/),
        smarty_comment: pattern.starting_with(/{\*/).until_after(/\*}/),
        smarty_literal: pattern.starting_with(/{literal}/).until_after(/{\/literal}/)
      };
    }
    TemplatablePattern.prototype = new Pattern();
    
    TemplatablePattern.prototype._create = function() {
      return new TemplatablePattern(this._input, this);
    };
    
    TemplatablePattern.prototype._update = function() {
      this.__set_templated_pattern();
    };
    
    TemplatablePattern.prototype.disable = function(language) {
      var result = this._create();
      result._disabled[language] = true;
      result._update();
      return result;
    };
    
    TemplatablePattern.prototype.read_options = function(options) {
      var result = this._create();
      for (var language in template_names) {
        result._disabled[language] = options.templating.indexOf(language) === -1;
      }
      result._update();
      return result;
    };
    
    TemplatablePattern.prototype.exclude = function(language) {
      var result = this._create();
      result._excluded[language] = true;
      result._update();
      return result;
    };
    
    TemplatablePattern.prototype.read = function() {
      var result = '';
      if (this._match_pattern) {
        result = this._input.read(this._starting_pattern);
      } else {
        result = this._input.read(this._starting_pattern, this.__template_pattern);
      }
      var next = this._read_template();
      while (next) {
        if (this._match_pattern) {
          next += this._input.read(this._match_pattern);
        } else {
          next += this._input.readUntil(this.__template_pattern);
        }
        result += next;
        next = this._read_template();
      }
    
      if (this._until_after) {
        result += this._input.readUntilAfter(this._until_pattern);
      }
      return result;
    };
    
    TemplatablePattern.prototype.__set_templated_pattern = function() {
      var items = [];
    
      if (!this._disabled.php) {
        items.push(this.__patterns.php._starting_pattern.source);
      }
      if (!this._disabled.handlebars) {
        items.push(this.__patterns.handlebars._starting_pattern.source);
      }
      if (!this._disabled.angular) {
        // Handlebars ('{{' and '}}') are also special tokens in Angular)
        items.push(this.__patterns.handlebars._starting_pattern.source);
      }
      if (!this._disabled.erb) {
        items.push(this.__patterns.erb._starting_pattern.source);
      }
      if (!this._disabled.django) {
        items.push(this.__patterns.django._starting_pattern.source);
        // The starting pattern for django is more complex because it has different
        // patterns for value, comment, and other sections
        items.push(this.__patterns.django_value._starting_pattern.source);
        items.push(this.__patterns.django_comment._starting_pattern.source);
      }
      if (!this._disabled.smarty) {
        items.push(this.__patterns.smarty._starting_pattern.source);
      }
    
      if (this._until_pattern) {
        items.push(this._until_pattern.source);
      }
      this.__template_pattern = this._input.get_regexp('(?:' + items.join('|') + ')');
    };
    
    TemplatablePattern.prototype._read_template = function() {
      var resulting_string = '';
      var c = this._input.peek();
      if (c === '<') {
        var peek1 = this._input.peek(1);
        //if we're in a comment, do something special
        // We treat all comments as literals, even more than preformatted tags
        // we just look for the appropriate close tag
        if (!this._disabled.php && !this._excluded.php && peek1 === '?') {
          resulting_string = resulting_string ||
            this.__patterns.php.read();
        }
        if (!this._disabled.erb && !this._excluded.erb && peek1 === '%') {
          resulting_string = resulting_string ||
            this.__patterns.erb.read();
        }
      } else if (c === '{') {
        if (!this._disabled.handlebars && !this._excluded.handlebars) {
          resulting_string = resulting_string ||
            this.__patterns.handlebars_comment.read();
          resulting_string = resulting_string ||
            this.__patterns.handlebars_unescaped.read();
          resulting_string = resulting_string ||
            this.__patterns.handlebars.read();
        }
        if (!this._disabled.django) {
          // django coflicts with handlebars a bit.
          if (!this._excluded.django && !this._excluded.handlebars) {
            resulting_string = resulting_string ||
              this.__patterns.django_value.read();
          }
          if (!this._excluded.django) {
            resulting_string = resulting_string ||
              this.__patterns.django_comment.read();
            resulting_string = resulting_string ||
              this.__patterns.django.read();
          }
        }
        if (!this._disabled.smarty) {
          // smarty cannot be enabled with django or handlebars enabled
          if (this._disabled.django && this._disabled.handlebars) {
            resulting_string = resulting_string ||
              this.__patterns.smarty_comment.read();
            resulting_string = resulting_string ||
              this.__patterns.smarty_literal.read();
            resulting_string = resulting_string ||
              this.__patterns.smarty.read();
          }
        }
      }
      return resulting_string;
    };
    
    
    module.exports.TemplatablePattern = TemplatablePattern;
    
    
    /***/ })
    /******/ 	]);
    /************************************************************************/
    /******/ 	// The module cache
    /******/ 	var __webpack_module_cache__ = {};
    /******/ 	
    /******/ 	// The require function
    /******/ 	function __nested_webpack_require_147893__(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] = {
    /******/ 			// no module.id needed
    /******/ 			// no module.loaded needed
    /******/ 			exports: {}
    /******/ 		};
    /******/ 	
    /******/ 		// Execute the module function
    /******/ 		__webpack_modules__[moduleId](module, module.exports, __nested_webpack_require_147893__);
    /******/ 	
    /******/ 		// Return the exports of the module
    /******/ 		return module.exports;
    /******/ 	}
    /******/ 	
    /************************************************************************/
    /******/ 	
    /******/ 	// startup
    /******/ 	// Load entry module and return exports
    /******/ 	// This entry module is referenced by other modules so it can't be inlined
    /******/ 	var __nested_webpack_exports__ = __nested_webpack_require_147893__(0);
    /******/ 	legacy_beautify_js = __nested_webpack_exports__;
    /******/ 	
    /******/ })()
    ;
    var js_beautify = legacy_beautify_js;
    /* Footer */
    if (true) {
        // Add support for AMD ( https://github.com/amdjs/amdjs-api/wiki/AMD#defineamd-property- )
        !(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_RESULT__ = (function() {
            return { js_beautify: js_beautify };
        }).apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__),
    		__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    } else {}
    
    }());
    
    
    
    /***/ }),
    
    /***/ 15342:
    /*!********************************************************!*\
      !*** ./node_modules/_katex@0.11.1@katex/dist/katex.js ***!
      \********************************************************/
    /***/ (function(module) {
    
    (function webpackUniversalModuleDefinition(root, factory) {
    	if(true)
    		module.exports = factory();
    	else {}
    })((typeof self !== 'undefined' ? self : this), function() {
    return /******/ (function(modules) { // webpackBootstrap
    /******/ 	// The module cache
    /******/ 	var installedModules = {};
    /******/
    /******/ 	// The require function
    /******/ 	function __nested_webpack_require_572__(moduleId) {
    /******/
    /******/ 		// Check if module is in cache
    /******/ 		if(installedModules[moduleId]) {
    /******/ 			return installedModules[moduleId].exports;
    /******/ 		}
    /******/ 		// Create a new module (and put it into the cache)
    /******/ 		var module = installedModules[moduleId] = {
    /******/ 			i: moduleId,
    /******/ 			l: false,
    /******/ 			exports: {}
    /******/ 		};
    /******/
    /******/ 		// Execute the module function
    /******/ 		modules[moduleId].call(module.exports, module, module.exports, __nested_webpack_require_572__);
    /******/
    /******/ 		// Flag the module as loaded
    /******/ 		module.l = true;
    /******/
    /******/ 		// Return the exports of the module
    /******/ 		return module.exports;
    /******/ 	}
    /******/
    /******/
    /******/ 	// expose the modules object (__webpack_modules__)
    /******/ 	__nested_webpack_require_572__.m = modules;
    /******/
    /******/ 	// expose the module cache
    /******/ 	__nested_webpack_require_572__.c = installedModules;
    /******/
    /******/ 	// define getter function for harmony exports
    /******/ 	__nested_webpack_require_572__.d = function(exports, name, getter) {
    /******/ 		if(!__nested_webpack_require_572__.o(exports, name)) {
    /******/ 			Object.defineProperty(exports, name, { enumerable: true, get: getter });
    /******/ 		}
    /******/ 	};
    /******/
    /******/ 	// define __esModule on exports
    /******/ 	__nested_webpack_require_572__.r = function(exports) {
    /******/ 		if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
    /******/ 			Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
    /******/ 		}
    /******/ 		Object.defineProperty(exports, '__esModule', { value: true });
    /******/ 	};
    /******/
    /******/ 	// create a fake namespace object
    /******/ 	// mode & 1: value is a module id, require it
    /******/ 	// mode & 2: merge all properties of value into the ns
    /******/ 	// mode & 4: return value when already ns object
    /******/ 	// mode & 8|1: behave like require
    /******/ 	__nested_webpack_require_572__.t = function(value, mode) {
    /******/ 		if(mode & 1) value = __nested_webpack_require_572__(value);
    /******/ 		if(mode & 8) return value;
    /******/ 		if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
    /******/ 		var ns = Object.create(null);
    /******/ 		__nested_webpack_require_572__.r(ns);
    /******/ 		Object.defineProperty(ns, 'default', { enumerable: true, value: value });
    /******/ 		if(mode & 2 && typeof value != 'string') for(var key in value) __nested_webpack_require_572__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
    /******/ 		return ns;
    /******/ 	};
    /******/
    /******/ 	// getDefaultExport function for compatibility with non-harmony modules
    /******/ 	__nested_webpack_require_572__.n = function(module) {
    /******/ 		var getter = module && module.__esModule ?
    /******/ 			function getDefault() { return module['default']; } :
    /******/ 			function getModuleExports() { return module; };
    /******/ 		__nested_webpack_require_572__.d(getter, 'a', getter);
    /******/ 		return getter;
    /******/ 	};
    /******/
    /******/ 	// Object.prototype.hasOwnProperty.call
    /******/ 	__nested_webpack_require_572__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
    /******/
    /******/ 	// __webpack_public_path__
    /******/ 	__nested_webpack_require_572__.p = "";
    /******/
    /******/
    /******/ 	// Load entry module and return exports
    /******/ 	return __nested_webpack_require_572__(__nested_webpack_require_572__.s = 1);
    /******/ })
    /************************************************************************/
    /******/ ([
    /* 0 */
    /***/ (function(module, exports, __webpack_require__) {
    
    // extracted by mini-css-extract-plugin
    
    /***/ }),
    /* 1 */
    /***/ (function(module, __nested_webpack_exports__, __nested_webpack_require_4164__) {
    
    "use strict";
    __nested_webpack_require_4164__.r(__nested_webpack_exports__);
    
    // EXTERNAL MODULE: ./src/katex.less
    var katex = __nested_webpack_require_4164__(0);
    
    // CONCATENATED MODULE: ./src/SourceLocation.js
    /**
     * Lexing or parsing positional information for error reporting.
     * This object is immutable.
     */
    var SourceLocation =
    /*#__PURE__*/
    function () {
      // The + prefix indicates that these fields aren't writeable
      // Lexer holding the input string.
      // Start offset, zero-based inclusive.
      // End offset, zero-based exclusive.
      function SourceLocation(lexer, start, end) {
        this.lexer = void 0;
        this.start = void 0;
        this.end = void 0;
        this.lexer = lexer;
        this.start = start;
        this.end = end;
      }
      /**
       * Merges two `SourceLocation`s from location providers, given they are
       * provided in order of appearance.
       * - Returns the first one's location if only the first is provided.
       * - Returns a merged range of the first and the last if both are provided
       *   and their lexers match.
       * - Otherwise, returns null.
       */
    
    
      SourceLocation.range = function range(first, second) {
        if (!second) {
          return first && first.loc;
        } else if (!first || !first.loc || !second.loc || first.loc.lexer !== second.loc.lexer) {
          return null;
        } else {
          return new SourceLocation(first.loc.lexer, first.loc.start, second.loc.end);
        }
      };
    
      return SourceLocation;
    }();
    
    
    // CONCATENATED MODULE: ./src/Token.js
    
    /**
     * Interface required to break circular dependency between Token, Lexer, and
     * ParseError.
     */
    
    /**
     * The resulting token returned from `lex`.
     *
     * It consists of the token text plus some position information.
     * The position information is essentially a range in an input string,
     * but instead of referencing the bare input string, we refer to the lexer.
     * That way it is possible to attach extra metadata to the input string,
     * like for example a file name or similar.
     *
     * The position information is optional, so it is OK to construct synthetic
     * tokens if appropriate. Not providing available position information may
     * lead to degraded error reporting, though.
     */
    var Token_Token =
    /*#__PURE__*/
    function () {
      function Token(text, // the text of this token
      loc) {
        this.text = void 0;
        this.loc = void 0;
        this.text = text;
        this.loc = loc;
      }
      /**
       * Given a pair of tokens (this and endToken), compute a `Token` encompassing
       * the whole input range enclosed by these two.
       */
    
    
      var _proto = Token.prototype;
    
      _proto.range = function range(endToken, // last token of the range, inclusive
      text) // the text of the newly constructed token
      {
        return new Token(text, SourceLocation.range(this, endToken));
      };
    
      return Token;
    }();
    // CONCATENATED MODULE: ./src/ParseError.js
    
    
    /**
     * This is the ParseError class, which is the main error thrown by KaTeX
     * functions when something has gone wrong. This is used to distinguish internal
     * errors from errors in the expression that the user provided.
     *
     * If possible, a caller should provide a Token or ParseNode with information
     * about where in the source string the problem occurred.
     */
    var ParseError = // Error position based on passed-in Token or ParseNode.
    function ParseError(message, // The error message
    token) // An object providing position information
    {
      this.position = void 0;
      var error = "KaTeX parse error: " + message;
      var start;
      var loc = token && token.loc;
    
      if (loc && loc.start <= loc.end) {
        // If we have the input and a position, make the error a bit fancier
        // Get the input
        var input = loc.lexer.input; // Prepend some information
    
        start = loc.start;
        var end = loc.end;
    
        if (start === input.length) {
          error += " at end of input: ";
        } else {
          error += " at position " + (start + 1) + ": ";
        } // Underline token in question using combining underscores
    
    
        var underlined = input.slice(start, end).replace(/[^]/g, "$&\u0332"); // Extract some context from the input and add it to the error
    
        var left;
    
        if (start > 15) {
          left = "…" + input.slice(start - 15, start);
        } else {
          left = input.slice(0, start);
        }
    
        var right;
    
        if (end + 15 < input.length) {
          right = input.slice(end, end + 15) + "…";
        } else {
          right = input.slice(end);
        }
    
        error += left + underlined + right;
      } // Some hackery to make ParseError a prototype of Error
      // See http://stackoverflow.com/a/8460753
    
    
      var self = new Error(error);
      self.name = "ParseError"; // $FlowFixMe
    
      self.__proto__ = ParseError.prototype; // $FlowFixMe
    
      self.position = start;
      return self;
    }; // $FlowFixMe More hackery
    
    
    ParseError.prototype.__proto__ = Error.prototype;
    /* harmony default export */ var src_ParseError = (ParseError);
    // CONCATENATED MODULE: ./src/utils.js
    /**
     * This file contains a list of utility functions which are useful in other
     * files.
     */
    
    /**
     * Return whether an element is contained in a list
     */
    var contains = function contains(list, elem) {
      return list.indexOf(elem) !== -1;
    };
    /**
     * Provide a default value if a setting is undefined
     * NOTE: Couldn't use `T` as the output type due to facebook/flow#5022.
     */
    
    
    var deflt = function deflt(setting, defaultIfUndefined) {
      return setting === undefined ? defaultIfUndefined : setting;
    }; // hyphenate and escape adapted from Facebook's React under Apache 2 license
    
    
    var uppercase = /([A-Z])/g;
    
    var hyphenate = function hyphenate(str) {
      return str.replace(uppercase, "-$1").toLowerCase();
    };
    
    var ESCAPE_LOOKUP = {
      "&": "&amp;",
      ">": "&gt;",
      "<": "&lt;",
      "\"": "&quot;",
      "'": "&#x27;"
    };
    var ESCAPE_REGEX = /[&><"']/g;
    /**
     * Escapes text to prevent scripting attacks.
     */
    
    function utils_escape(text) {
      return String(text).replace(ESCAPE_REGEX, function (match) {
        return ESCAPE_LOOKUP[match];
      });
    }
    /**
     * Sometimes we want to pull out the innermost element of a group. In most
     * cases, this will just be the group itself, but when ordgroups and colors have
     * a single element, we want to pull that out.
     */
    
    
    var getBaseElem = function getBaseElem(group) {
      if (group.type === "ordgroup") {
        if (group.body.length === 1) {
          return getBaseElem(group.body[0]);
        } else {
          return group;
        }
      } else if (group.type === "color") {
        if (group.body.length === 1) {
          return getBaseElem(group.body[0]);
        } else {
          return group;
        }
      } else if (group.type === "font") {
        return getBaseElem(group.body);
      } else {
        return group;
      }
    };
    /**
     * TeXbook algorithms often reference "character boxes", which are simply groups
     * with a single character in them. To decide if something is a character box,
     * we find its innermost group, and see if it is a single character.
     */
    
    
    var utils_isCharacterBox = function isCharacterBox(group) {
      var baseElem = getBaseElem(group); // These are all they types of groups which hold single characters
    
      return baseElem.type === "mathord" || baseElem.type === "textord" || baseElem.type === "atom";
    };
    
    var assert = function assert(value) {
      if (!value) {
        throw new Error('Expected non-null, but got ' + String(value));
      }
    
      return value;
    };
    /**
     * Return the protocol of a URL, or "_relative" if the URL does not specify a
     * protocol (and thus is relative).
     */
    
    var protocolFromUrl = function protocolFromUrl(url) {
      var protocol = /^\s*([^\\/#]*?)(?::|&#0*58|&#x0*3a)/i.exec(url);
      return protocol != null ? protocol[1] : "_relative";
    };
    /* harmony default export */ var utils = ({
      contains: contains,
      deflt: deflt,
      escape: utils_escape,
      hyphenate: hyphenate,
      getBaseElem: getBaseElem,
      isCharacterBox: utils_isCharacterBox,
      protocolFromUrl: protocolFromUrl
    });
    // CONCATENATED MODULE: ./src/Settings.js
    /* eslint no-console:0 */
    
    /**
     * This is a module for storing settings passed into KaTeX. It correctly handles
     * default settings.
     */
    
    
    
    
    /**
     * The main Settings object
     *
     * The current options stored are:
     *  - displayMode: Whether the expression should be typeset as inline math
     *                 (false, the default), meaning that the math starts in
     *                 \textstyle and is placed in an inline-block); or as display
     *                 math (true), meaning that the math starts in \displaystyle
     *                 and is placed in a block with vertical margin.
     */
    var Settings_Settings =
    /*#__PURE__*/
    function () {
      function Settings(options) {
        this.displayMode = void 0;
        this.output = void 0;
        this.leqno = void 0;
        this.fleqn = void 0;
        this.throwOnError = void 0;
        this.errorColor = void 0;
        this.macros = void 0;
        this.minRuleThickness = void 0;
        this.colorIsTextColor = void 0;
        this.strict = void 0;
        this.trust = void 0;
        this.maxSize = void 0;
        this.maxExpand = void 0;
        // allow null options
        options = options || {};
        this.displayMode = utils.deflt(options.displayMode, false);
        this.output = utils.deflt(options.output, "htmlAndMathml");
        this.leqno = utils.deflt(options.leqno, false);
        this.fleqn = utils.deflt(options.fleqn, false);
        this.throwOnError = utils.deflt(options.throwOnError, true);
        this.errorColor = utils.deflt(options.errorColor, "#cc0000");
        this.macros = options.macros || {};
        this.minRuleThickness = Math.max(0, utils.deflt(options.minRuleThickness, 0));
        this.colorIsTextColor = utils.deflt(options.colorIsTextColor, false);
        this.strict = utils.deflt(options.strict, "warn");
        this.trust = utils.deflt(options.trust, false);
        this.maxSize = Math.max(0, utils.deflt(options.maxSize, Infinity));
        this.maxExpand = Math.max(0, utils.deflt(options.maxExpand, 1000));
      }
      /**
       * Report nonstrict (non-LaTeX-compatible) input.
       * Can safely not be called if `this.strict` is false in JavaScript.
       */
    
    
      var _proto = Settings.prototype;
    
      _proto.reportNonstrict = function reportNonstrict(errorCode, errorMsg, token) {
        var strict = this.strict;
    
        if (typeof strict === "function") {
          // Allow return value of strict function to be boolean or string
          // (or null/undefined, meaning no further processing).
          strict = strict(errorCode, errorMsg, token);
        }
    
        if (!strict || strict === "ignore") {
          return;
        } else if (strict === true || strict === "error") {
          throw new src_ParseError("LaTeX-incompatible input and strict mode is set to 'error': " + (errorMsg + " [" + errorCode + "]"), token);
        } else if (strict === "warn") {
          typeof console !== "undefined" && console.warn("LaTeX-incompatible input and strict mode is set to 'warn': " + (errorMsg + " [" + errorCode + "]"));
        } else {
          // won't happen in type-safe code
          typeof console !== "undefined" && console.warn("LaTeX-incompatible input and strict mode is set to " + ("unrecognized '" + strict + "': " + errorMsg + " [" + errorCode + "]"));
        }
      }
      /**
       * Check whether to apply strict (LaTeX-adhering) behavior for unusual
       * input (like `\\`).  Unlike `nonstrict`, will not throw an error;
       * instead, "error" translates to a return value of `true`, while "ignore"
       * translates to a return value of `false`.  May still print a warning:
       * "warn" prints a warning and returns `false`.
       * This is for the second category of `errorCode`s listed in the README.
       */
      ;
    
      _proto.useStrictBehavior = function useStrictBehavior(errorCode, errorMsg, token) {
        var strict = this.strict;
    
        if (typeof strict === "function") {
          // Allow return value of strict function to be boolean or string
          // (or null/undefined, meaning no further processing).
          // But catch any exceptions thrown by function, treating them
          // like "error".
          try {
            strict = strict(errorCode, errorMsg, token);
          } catch (error) {
            strict = "error";
          }
        }
    
        if (!strict || strict === "ignore") {
          return false;
        } else if (strict === true || strict === "error") {
          return true;
        } else if (strict === "warn") {
          typeof console !== "undefined" && console.warn("LaTeX-incompatible input and strict mode is set to 'warn': " + (errorMsg + " [" + errorCode + "]"));
          return false;
        } else {
          // won't happen in type-safe code
          typeof console !== "undefined" && console.warn("LaTeX-incompatible input and strict mode is set to " + ("unrecognized '" + strict + "': " + errorMsg + " [" + errorCode + "]"));
          return false;
        }
      }
      /**
       * Check whether to test potentially dangerous input, and return
       * `true` (trusted) or `false` (untrusted).  The sole argument `context`
       * should be an object with `command` field specifying the relevant LaTeX
       * command (as a string starting with `\`), and any other arguments, etc.
       * If `context` has a `url` field, a `protocol` field will automatically
       * get added by this function (changing the specified object).
       */
      ;
    
      _proto.isTrusted = function isTrusted(context) {
        if (context.url && !context.protocol) {
          context.protocol = utils.protocolFromUrl(context.url);
        }
    
        var trust = typeof this.trust === "function" ? this.trust(context) : this.trust;
        return Boolean(trust);
      };
    
      return Settings;
    }();
    
    
    // CONCATENATED MODULE: ./src/Style.js
    /**
     * This file contains information and classes for the various kinds of styles
     * used in TeX. It provides a generic `Style` class, which holds information
     * about a specific style. It then provides instances of all the different kinds
     * of styles possible, and provides functions to move between them and get
     * information about them.
     */
    
    /**
     * The main style class. Contains a unique id for the style, a size (which is
     * the same for cramped and uncramped version of a style), and a cramped flag.
     */
    var Style =
    /*#__PURE__*/
    function () {
      function Style(id, size, cramped) {
        this.id = void 0;
        this.size = void 0;
        this.cramped = void 0;
        this.id = id;
        this.size = size;
        this.cramped = cramped;
      }
      /**
       * Get the style of a superscript given a base in the current style.
       */
    
    
      var _proto = Style.prototype;
    
      _proto.sup = function sup() {
        return Style_styles[_sup[this.id]];
      }
      /**
       * Get the style of a subscript given a base in the current style.
       */
      ;
    
      _proto.sub = function sub() {
        return Style_styles[_sub[this.id]];
      }
      /**
       * Get the style of a fraction numerator given the fraction in the current
       * style.
       */
      ;
    
      _proto.fracNum = function fracNum() {
        return Style_styles[_fracNum[this.id]];
      }
      /**
       * Get the style of a fraction denominator given the fraction in the current
       * style.
       */
      ;
    
      _proto.fracDen = function fracDen() {
        return Style_styles[_fracDen[this.id]];
      }
      /**
       * Get the cramped version of a style (in particular, cramping a cramped style
       * doesn't change the style).
       */
      ;
    
      _proto.cramp = function cramp() {
        return Style_styles[_cramp[this.id]];
      }
      /**
       * Get a text or display version of this style.
       */
      ;
    
      _proto.text = function text() {
        return Style_styles[_text[this.id]];
      }
      /**
       * Return true if this style is tightly spaced (scriptstyle/scriptscriptstyle)
       */
      ;
    
      _proto.isTight = function isTight() {
        return this.size >= 2;
      };
    
      return Style;
    }(); // Export an interface for type checking, but don't expose the implementation.
    // This way, no more styles can be generated.
    
    
    // IDs of the different styles
    var D = 0;
    var Dc = 1;
    var T = 2;
    var Tc = 3;
    var S = 4;
    var Sc = 5;
    var SS = 6;
    var SSc = 7; // Instances of the different styles
    
    var Style_styles = [new Style(D, 0, false), new Style(Dc, 0, true), new Style(T, 1, false), new Style(Tc, 1, true), new Style(S, 2, false), new Style(Sc, 2, true), new Style(SS, 3, false), new Style(SSc, 3, true)]; // Lookup tables for switching from one style to another
    
    var _sup = [S, Sc, S, Sc, SS, SSc, SS, SSc];
    var _sub = [Sc, Sc, Sc, Sc, SSc, SSc, SSc, SSc];
    var _fracNum = [T, Tc, S, Sc, SS, SSc, SS, SSc];
    var _fracDen = [Tc, Tc, Sc, Sc, SSc, SSc, SSc, SSc];
    var _cramp = [Dc, Dc, Tc, Tc, Sc, Sc, SSc, SSc];
    var _text = [D, Dc, T, Tc, T, Tc, T, Tc]; // We only export some of the styles.
    
    /* harmony default export */ var src_Style = ({
      DISPLAY: Style_styles[D],
      TEXT: Style_styles[T],
      SCRIPT: Style_styles[S],
      SCRIPTSCRIPT: Style_styles[SS]
    });
    // CONCATENATED MODULE: ./src/unicodeScripts.js
    /*
     * This file defines the Unicode scripts and script families that we
     * support. To add new scripts or families, just add a new entry to the
     * scriptData array below. Adding scripts to the scriptData array allows
     * characters from that script to appear in \text{} environments.
     */
    
    /**
     * Each script or script family has a name and an array of blocks.
     * Each block is an array of two numbers which specify the start and
     * end points (inclusive) of a block of Unicode codepoints.
     */
    
    /**
     * Unicode block data for the families of scripts we support in \text{}.
     * Scripts only need to appear here if they do not have font metrics.
     */
    var scriptData = [{
      // Latin characters beyond the Latin-1 characters we have metrics for.
      // Needed for Czech, Hungarian and Turkish text, for example.
      name: 'latin',
      blocks: [[0x0100, 0x024f], // Latin Extended-A and Latin Extended-B
      [0x0300, 0x036f]]
    }, {
      // The Cyrillic script used by Russian and related languages.
      // A Cyrillic subset used to be supported as explicitly defined
      // symbols in symbols.js
      name: 'cyrillic',
      blocks: [[0x0400, 0x04ff]]
    }, {
      // The Brahmic scripts of South and Southeast Asia
      // Devanagari (0900–097F)
      // Bengali (0980–09FF)
      // Gurmukhi (0A00–0A7F)
      // Gujarati (0A80–0AFF)
      // Oriya (0B00–0B7F)
      // Tamil (0B80–0BFF)
      // Telugu (0C00–0C7F)
      // Kannada (0C80–0CFF)
      // Malayalam (0D00–0D7F)
      // Sinhala (0D80–0DFF)
      // Thai (0E00–0E7F)
      // Lao (0E80–0EFF)
      // Tibetan (0F00–0FFF)
      // Myanmar (1000–109F)
      name: 'brahmic',
      blocks: [[0x0900, 0x109F]]
    }, {
      name: 'georgian',
      blocks: [[0x10A0, 0x10ff]]
    }, {
      // Chinese and Japanese.
      // The "k" in cjk is for Korean, but we've separated Korean out
      name: "cjk",
      blocks: [[0x3000, 0x30FF], // CJK symbols and punctuation, Hiragana, Katakana
      [0x4E00, 0x9FAF], // CJK ideograms
      [0xFF00, 0xFF60]]
    }, {
      // Korean
      name: 'hangul',
      blocks: [[0xAC00, 0xD7AF]]
    }];
    /**
     * Given a codepoint, return the name of the script or script family
     * it is from, or null if it is not part of a known block
     */
    
    function scriptFromCodepoint(codepoint) {
      for (var i = 0; i < scriptData.length; i++) {
        var script = scriptData[i];
    
        for (var _i = 0; _i < script.blocks.length; _i++) {
          var block = script.blocks[_i];
    
          if (codepoint >= block[0] && codepoint <= block[1]) {
            return script.name;
          }
        }
      }
    
      return null;
    }
    /**
     * A flattened version of all the supported blocks in a single array.
     * This is an optimization to make supportedCodepoint() fast.
     */
    
    var allBlocks = [];
    scriptData.forEach(function (s) {
      return s.blocks.forEach(function (b) {
        return allBlocks.push.apply(allBlocks, b);
      });
    });
    /**
     * Given a codepoint, return true if it falls within one of the
     * scripts or script families defined above and false otherwise.
     *
     * Micro benchmarks shows that this is faster than
     * /[\u3000-\u30FF\u4E00-\u9FAF\uFF00-\uFF60\uAC00-\uD7AF\u0900-\u109F]/.test()
     * in Firefox, Chrome and Node.
     */
    
    function supportedCodepoint(codepoint) {
      for (var i = 0; i < allBlocks.length; i += 2) {
        if (codepoint >= allBlocks[i] && codepoint <= allBlocks[i + 1]) {
          return true;
        }
      }
    
      return false;
    }
    // CONCATENATED MODULE: ./src/svgGeometry.js
    /**
     * This file provides support to domTree.js and delimiter.js.
     * It's a storehouse of path geometry for SVG images.
     */
    // In all paths below, the viewBox-to-em scale is 1000:1.
    var hLinePad = 80; // padding above a sqrt viniculum. Prevents image cropping.
    // The viniculum of a \sqrt can be made thicker by a KaTeX rendering option.
    // Think of variable extraViniculum as two detours in the SVG path.
    // The detour begins at the lower left of the area labeled extraViniculum below.
    // The detour proceeds one extraViniculum distance up and slightly to the right,
    // displacing the radiused corner between surd and viniculum. The radius is
    // traversed as usual, then the detour resumes. It goes right, to the end of
    // the very long viniculumn, then down one extraViniculum distance,
    // after which it resumes regular path geometry for the radical.
    
    /*                                                  viniculum
                                                       /
             /▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒←extraViniculum
            / █████████████████████←0.04em (40 unit) std viniculum thickness
           / /
          / /
         / /\
        / / surd
    */
    
    var sqrtMain = function sqrtMain(extraViniculum, hLinePad) {
      // sqrtMain path geometry is from glyph U221A in the font KaTeX Main
      return "M95," + (622 + extraViniculum + hLinePad) + "\nc-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14\nc0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54\nc44.2,-33.3,65.8,-50.3,66.5,-51c1.3,-1.3,3,-2,5,-2c4.7,0,8.7,3.3,12,10\ns173,378,173,378c0.7,0,35.3,-71,104,-213c68.7,-142,137.5,-285,206.5,-429\nc69,-144,104.5,-217.7,106.5,-221\nl" + extraViniculum / 2.075 + " -" + extraViniculum + "\nc5.3,-9.3,12,-14,20,-14\nH400000v" + (40 + extraViniculum) + "H845.2724\ns-225.272,467,-225.272,467s-235,486,-235,486c-2.7,4.7,-9,7,-19,7\nc-6,0,-10,-1,-12,-3s-194,-422,-194,-422s-65,47,-65,47z\nM" + (834 + extraViniculum) + " " + hLinePad + "h400000v" + (40 + extraViniculum) + "h-400000z";
    };
    
    var sqrtSize1 = function sqrtSize1(extraViniculum, hLinePad) {
      // size1 is from glyph U221A in the font KaTeX_Size1-Regular
      return "M263," + (601 + extraViniculum + hLinePad) + "c0.7,0,18,39.7,52,119\nc34,79.3,68.167,158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120\nc340,-704.7,510.7,-1060.3,512,-1067\nl" + extraViniculum / 2.084 + " -" + extraViniculum + "\nc4.7,-7.3,11,-11,19,-11\nH40000v" + (40 + extraViniculum) + "H1012.3\ns-271.3,567,-271.3,567c-38.7,80.7,-84,175,-136,283c-52,108,-89.167,185.3,-111.5,232\nc-22.3,46.7,-33.8,70.3,-34.5,71c-4.7,4.7,-12.3,7,-23,7s-12,-1,-12,-1\ns-109,-253,-109,-253c-72.7,-168,-109.3,-252,-110,-252c-10.7,8,-22,16.7,-34,26\nc-22,17.3,-33.3,26,-34,26s-26,-26,-26,-26s76,-59,76,-59s76,-60,76,-60z\nM" + (1001 + extraViniculum) + " " + hLinePad + "h400000v" + (40 + extraViniculum) + "h-400000z";
    };
    
    var sqrtSize2 = function sqrtSize2(extraViniculum, hLinePad) {
      // size2 is from glyph U221A in the font KaTeX_Size2-Regular
      return "M983 " + (10 + extraViniculum + hLinePad) + "\nl" + extraViniculum / 3.13 + " -" + extraViniculum + "\nc4,-6.7,10,-10,18,-10 H400000v" + (40 + extraViniculum) + "\nH1013.1s-83.4,268,-264.1,840c-180.7,572,-277,876.3,-289,913c-4.7,4.7,-12.7,7,-24,7\ns-12,0,-12,0c-1.3,-3.3,-3.7,-11.7,-7,-25c-35.3,-125.3,-106.7,-373.3,-214,-744\nc-10,12,-21,25,-33,39s-32,39,-32,39c-6,-5.3,-15,-14,-27,-26s25,-30,25,-30\nc26.7,-32.7,52,-63,76,-91s52,-60,52,-60s208,722,208,722\nc56,-175.3,126.3,-397.3,211,-666c84.7,-268.7,153.8,-488.2,207.5,-658.5\nc53.7,-170.3,84.5,-266.8,92.5,-289.5z\nM" + (1001 + extraViniculum) + " " + hLinePad + "h400000v" + (40 + extraViniculum) + "h-400000z";
    };
    
    var sqrtSize3 = function sqrtSize3(extraViniculum, hLinePad) {
      // size3 is from glyph U221A in the font KaTeX_Size3-Regular
      return "M424," + (2398 + extraViniculum + hLinePad) + "\nc-1.3,-0.7,-38.5,-172,-111.5,-514c-73,-342,-109.8,-513.3,-110.5,-514\nc0,-2,-10.7,14.3,-32,49c-4.7,7.3,-9.8,15.7,-15.5,25c-5.7,9.3,-9.8,16,-12.5,20\ns-5,7,-5,7c-4,-3.3,-8.3,-7.7,-13,-13s-13,-13,-13,-13s76,-122,76,-122s77,-121,77,-121\ns209,968,209,968c0,-2,84.7,-361.7,254,-1079c169.3,-717.3,254.7,-1077.7,256,-1081\nl" + extraViniculum / 4.223 + " -" + extraViniculum + "c4,-6.7,10,-10,18,-10 H400000\nv" + (40 + extraViniculum) + "H1014.6\ns-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185\nc-2,6,-10,9,-24,9\nc-8,0,-12,-0.7,-12,-2z M" + (1001 + extraViniculum) + " " + hLinePad + "\nh400000v" + (40 + extraViniculum) + "h-400000z";
    };
    
    var sqrtSize4 = function sqrtSize4(extraViniculum, hLinePad) {
      // size4 is from glyph U221A in the font KaTeX_Size4-Regular
      return "M473," + (2713 + extraViniculum + hLinePad) + "\nc339.3,-1799.3,509.3,-2700,510,-2702 l" + extraViniculum / 5.298 + " -" + extraViniculum + "\nc3.3,-7.3,9.3,-11,18,-11 H400000v" + (40 + extraViniculum) + "H1017.7\ns-90.5,478,-276.2,1466c-185.7,988,-279.5,1483,-281.5,1485c-2,6,-10,9,-24,9\nc-8,0,-12,-0.7,-12,-2c0,-1.3,-5.3,-32,-16,-92c-50.7,-293.3,-119.7,-693.3,-207,-1200\nc0,-1.3,-5.3,8.7,-16,30c-10.7,21.3,-21.3,42.7,-32,64s-16,33,-16,33s-26,-26,-26,-26\ns76,-153,76,-153s77,-151,77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104,\n606zM" + (1001 + extraViniculum) + " " + hLinePad + "h400000v" + (40 + extraViniculum) + "H1017.7z";
    };
    
    var sqrtTall = function sqrtTall(extraViniculum, hLinePad, viewBoxHeight) {
      // sqrtTall is from glyph U23B7 in the font KaTeX_Size4-Regular
      // One path edge has a variable length. It runs vertically from the viniculumn
      // to a point near (14 units) the bottom of the surd. The viniculum
      // is normally 40 units thick. So the length of the line in question is:
      var vertSegment = viewBoxHeight - 54 - hLinePad - extraViniculum;
      return "M702 " + (extraViniculum + hLinePad) + "H400000" + (40 + extraViniculum) + "\nH742v" + vertSegment + "l-4 4-4 4c-.667.7 -2 1.5-4 2.5s-4.167 1.833-6.5 2.5-5.5 1-9.5 1\nh-12l-28-84c-16.667-52-96.667 -294.333-240-727l-212 -643 -85 170\nc-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667\n219 661 l218 661zM702 " + hLinePad + "H400000v" + (40 + extraViniculum) + "H742z";
    };
    
    var sqrtPath = function sqrtPath(size, extraViniculum, viewBoxHeight) {
      extraViniculum = 1000 * extraViniculum; // Convert from document ems to viewBox.
    
      var path = "";
    
      switch (size) {
        case "sqrtMain":
          path = sqrtMain(extraViniculum, hLinePad);
          break;
    
        case "sqrtSize1":
          path = sqrtSize1(extraViniculum, hLinePad);
          break;
    
        case "sqrtSize2":
          path = sqrtSize2(extraViniculum, hLinePad);
          break;
    
        case "sqrtSize3":
          path = sqrtSize3(extraViniculum, hLinePad);
          break;
    
        case "sqrtSize4":
          path = sqrtSize4(extraViniculum, hLinePad);
          break;
    
        case "sqrtTall":
          path = sqrtTall(extraViniculum, hLinePad, viewBoxHeight);
      }
    
      return path;
    };
    var svgGeometry_path = {
      // The doubleleftarrow geometry is from glyph U+21D0 in the font KaTeX Main
      doubleleftarrow: "M262 157\nl10-10c34-36 62.7-77 86-123 3.3-8 5-13.3 5-16 0-5.3-6.7-8-20-8-7.3\n 0-12.2.5-14.5 1.5-2.3 1-4.8 4.5-7.5 10.5-49.3 97.3-121.7 169.3-217 216-28\n 14-57.3 25-88 33-6.7 2-11 3.8-13 5.5-2 1.7-3 4.2-3 7.5s1 5.8 3 7.5\nc2 1.7 6.3 3.5 13 5.5 68 17.3 128.2 47.8 180.5 91.5 52.3 43.7 93.8 96.2 124.5\n 157.5 9.3 8 15.3 12.3 18 13h6c12-.7 18-4 18-10 0-2-1.7-7-5-15-23.3-46-52-87\n-86-123l-10-10h399738v-40H218c328 0 0 0 0 0l-10-8c-26.7-20-65.7-43-117-69 2.7\n-2 6-3.7 10-5 36.7-16 72.3-37.3 107-64l10-8h399782v-40z\nm8 0v40h399730v-40zm0 194v40h399730v-40z",
      // doublerightarrow is from glyph U+21D2 in font KaTeX Main
      doublerightarrow: "M399738 392l\n-10 10c-34 36-62.7 77-86 123-3.3 8-5 13.3-5 16 0 5.3 6.7 8 20 8 7.3 0 12.2-.5\n 14.5-1.5 2.3-1 4.8-4.5 7.5-10.5 49.3-97.3 121.7-169.3 217-216 28-14 57.3-25 88\n-33 6.7-2 11-3.8 13-5.5 2-1.7 3-4.2 3-7.5s-1-5.8-3-7.5c-2-1.7-6.3-3.5-13-5.5-68\n-17.3-128.2-47.8-180.5-91.5-52.3-43.7-93.8-96.2-124.5-157.5-9.3-8-15.3-12.3-18\n-13h-6c-12 .7-18 4-18 10 0 2 1.7 7 5 15 23.3 46 52 87 86 123l10 10H0v40h399782\nc-328 0 0 0 0 0l10 8c26.7 20 65.7 43 117 69-2.7 2-6 3.7-10 5-36.7 16-72.3 37.3\n-107 64l-10 8H0v40zM0 157v40h399730v-40zm0 194v40h399730v-40z",
      // leftarrow is from glyph U+2190 in font KaTeX Main
      leftarrow: "M400000 241H110l3-3c68.7-52.7 113.7-120\n 135-202 4-14.7 6-23 6-25 0-7.3-7-11-21-11-8 0-13.2.8-15.5 2.5-2.3 1.7-4.2 5.8\n-5.5 12.5-1.3 4.7-2.7 10.3-4 17-12 48.7-34.8 92-68.5 130S65.3 228.3 18 247\nc-10 4-16 7.7-18 11 0 8.7 6 14.3 18 17 47.3 18.7 87.8 47 121.5 85S196 441.3 208\n 490c.7 2 1.3 5 2 9s1.2 6.7 1.5 8c.3 1.3 1 3.3 2 6s2.2 4.5 3.5 5.5c1.3 1 3.3\n 1.8 6 2.5s6 1 10 1c14 0 21-3.7 21-11 0-2-2-10.3-6-25-20-79.3-65-146.7-135-202\n l-3-3h399890zM100 241v40h399900v-40z",
      // overbrace is from glyphs U+23A9/23A8/23A7 in font KaTeX_Size4-Regular
      leftbrace: "M6 548l-6-6v-35l6-11c56-104 135.3-181.3 238-232 57.3-28.7 117\n-45 179-50h399577v120H403c-43.3 7-81 15-113 26-100.7 33-179.7 91-237 174-2.7\n 5-6 9-10 13-.7 1-7.3 1-20 1H6z",
      leftbraceunder: "M0 6l6-6h17c12.688 0 19.313.3 20 1 4 4 7.313 8.3 10 13\n 35.313 51.3 80.813 93.8 136.5 127.5 55.688 33.7 117.188 55.8 184.5 66.5.688\n 0 2 .3 4 1 18.688 2.7 76 4.3 172 5h399450v120H429l-6-1c-124.688-8-235-61.7\n-331-161C60.687 138.7 32.312 99.3 7 54L0 41V6z",
      // overgroup is from the MnSymbol package (public domain)
      leftgroup: "M400000 80\nH435C64 80 168.3 229.4 21 260c-5.9 1.2-18 0-18 0-2 0-3-1-3-3v-38C76 61 257 0\n 435 0h399565z",
      leftgroupunder: "M400000 262\nH435C64 262 168.3 112.6 21 82c-5.9-1.2-18 0-18 0-2 0-3 1-3 3v38c76 158 257 219\n 435 219h399565z",
      // Harpoons are from glyph U+21BD in font KaTeX Main
      leftharpoon: "M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3\n-3.3 10.2-9.5 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5\n-18.3 3-21-1.3-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7\n-196 228-6.7 4.7-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40z",
      leftharpoonplus: "M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3-3.3 10.2-9.5\n 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5-18.3 3-21-1.3\n-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7-196 228-6.7 4.7\n-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40zM0 435v40h400000v-40z\nm0 0v40h400000v-40z",
      leftharpoondown: "M7 241c-4 4-6.333 8.667-7 14 0 5.333.667 9 2 11s5.333\n 5.333 12 10c90.667 54 156 130 196 228 3.333 10.667 6.333 16.333 9 17 2 .667 5\n 1 9 1h5c10.667 0 16.667-2 18-6 2-2.667 1-9.667-3-21-32-87.333-82.667-157.667\n-152-211l-3-3h399907v-40zM93 281 H400000 v-40L7 241z",
      leftharpoondownplus: "M7 435c-4 4-6.3 8.7-7 14 0 5.3.7 9 2 11s5.3 5.3 12\n 10c90.7 54 156 130 196 228 3.3 10.7 6.3 16.3 9 17 2 .7 5 1 9 1h5c10.7 0 16.7\n-2 18-6 2-2.7 1-9.7-3-21-32-87.3-82.7-157.7-152-211l-3-3h399907v-40H7zm93 0\nv40h399900v-40zM0 241v40h399900v-40zm0 0v40h399900v-40z",
      // hook is from glyph U+21A9 in font KaTeX Main
      lefthook: "M400000 281 H103s-33-11.2-61-33.5S0 197.3 0 164s14.2-61.2 42.5\n-83.5C70.8 58.2 104 47 142 47 c16.7 0 25 6.7 25 20 0 12-8.7 18.7-26 20-40 3.3\n-68.7 15.7-86 37-10 12-15 25.3-15 40 0 22.7 9.8 40.7 29.5 54 19.7 13.3 43.5 21\n 71.5 23h399859zM103 281v-40h399897v40z",
      leftlinesegment: "M40 281 V428 H0 V94 H40 V241 H400000 v40z\nM40 281 V428 H0 V94 H40 V241 H400000 v40z",
      leftmapsto: "M40 281 V448H0V74H40V241H400000v40z\nM40 281 V448H0V74H40V241H400000v40z",
      // tofrom is from glyph U+21C4 in font KaTeX AMS Regular
      leftToFrom: "M0 147h400000v40H0zm0 214c68 40 115.7 95.7 143 167h22c15.3 0 23\n-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69-70-101l-7-8h399905v-40H95l7-8\nc28.7-32 52-65.7 70-101 10.7-23.3 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 265.3\n 68 321 0 361zm0-174v-40h399900v40zm100 154v40h399900v-40z",
      longequal: "M0 50 h400000 v40H0z m0 194h40000v40H0z\nM0 50 h400000 v40H0z m0 194h40000v40H0z",
      midbrace: "M200428 334\nc-100.7-8.3-195.3-44-280-108-55.3-42-101.7-93-139-153l-9-14c-2.7 4-5.7 8.7-9 14\n-53.3 86.7-123.7 153-211 199-66.7 36-137.3 56.3-212 62H0V214h199568c178.3-11.7\n 311.7-78.3 403-201 6-8 9.7-12 11-12 .7-.7 6.7-1 18-1s17.3.3 18 1c1.3 0 5 4 11\n 12 44.7 59.3 101.3 106.3 170 141s145.3 54.3 229 60h199572v120z",
      midbraceunder: "M199572 214\nc100.7 8.3 195.3 44 280 108 55.3 42 101.7 93 139 153l9 14c2.7-4 5.7-8.7 9-14\n 53.3-86.7 123.7-153 211-199 66.7-36 137.3-56.3 212-62h199568v120H200432c-178.3\n 11.7-311.7 78.3-403 201-6 8-9.7 12-11 12-.7.7-6.7 1-18 1s-17.3-.3-18-1c-1.3 0\n-5-4-11-12-44.7-59.3-101.3-106.3-170-141s-145.3-54.3-229-60H0V214z",
      oiintSize1: "M512.6 71.6c272.6 0 320.3 106.8 320.3 178.2 0 70.8-47.7 177.6\n-320.3 177.6S193.1 320.6 193.1 249.8c0-71.4 46.9-178.2 319.5-178.2z\nm368.1 178.2c0-86.4-60.9-215.4-368.1-215.4-306.4 0-367.3 129-367.3 215.4 0 85.8\n60.9 214.8 367.3 214.8 307.2 0 368.1-129 368.1-214.8z",
      oiintSize2: "M757.8 100.1c384.7 0 451.1 137.6 451.1 230 0 91.3-66.4 228.8\n-451.1 228.8-386.3 0-452.7-137.5-452.7-228.8 0-92.4 66.4-230 452.7-230z\nm502.4 230c0-111.2-82.4-277.2-502.4-277.2s-504 166-504 277.2\nc0 110 84 276 504 276s502.4-166 502.4-276z",
      oiiintSize1: "M681.4 71.6c408.9 0 480.5 106.8 480.5 178.2 0 70.8-71.6 177.6\n-480.5 177.6S202.1 320.6 202.1 249.8c0-71.4 70.5-178.2 479.3-178.2z\nm525.8 178.2c0-86.4-86.8-215.4-525.7-215.4-437.9 0-524.7 129-524.7 215.4 0\n85.8 86.8 214.8 524.7 214.8 438.9 0 525.7-129 525.7-214.8z",
      oiiintSize2: "M1021.2 53c603.6 0 707.8 165.8 707.8 277.2 0 110-104.2 275.8\n-707.8 275.8-606 0-710.2-165.8-710.2-275.8C311 218.8 415.2 53 1021.2 53z\nm770.4 277.1c0-131.2-126.4-327.6-770.5-327.6S248.4 198.9 248.4 330.1\nc0 130 128.8 326.4 772.7 326.4s770.5-196.4 770.5-326.4z",
      rightarrow: "M0 241v40h399891c-47.3 35.3-84 78-110 128\n-16.7 32-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20\n 11 8 0 13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7\n 39-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85\n-40.5-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5\n-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67\n 151.7 139 205zm0 0v40h399900v-40z",
      rightbrace: "M400000 542l\n-6 6h-17c-12.7 0-19.3-.3-20-1-4-4-7.3-8.3-10-13-35.3-51.3-80.8-93.8-136.5-127.5\ns-117.2-55.8-184.5-66.5c-.7 0-2-.3-4-1-18.7-2.7-76-4.3-172-5H0V214h399571l6 1\nc124.7 8 235 61.7 331 161 31.3 33.3 59.7 72.7 85 118l7 13v35z",
      rightbraceunder: "M399994 0l6 6v35l-6 11c-56 104-135.3 181.3-238 232-57.3\n 28.7-117 45-179 50H-300V214h399897c43.3-7 81-15 113-26 100.7-33 179.7-91 237\n-174 2.7-5 6-9 10-13 .7-1 7.3-1 20-1h17z",
      rightgroup: "M0 80h399565c371 0 266.7 149.4 414 180 5.9 1.2 18 0 18 0 2 0\n 3-1 3-3v-38c-76-158-257-219-435-219H0z",
      rightgroupunder: "M0 262h399565c371 0 266.7-149.4 414-180 5.9-1.2 18 0 18\n 0 2 0 3 1 3 3v38c-76 158-257 219-435 219H0z",
      rightharpoon: "M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3\n-3.7-15.3-11-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2\n-10.7 0-16.7 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58\n 69.2 92 94.5zm0 0v40h399900v-40z",
      rightharpoonplus: "M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3-3.7-15.3-11\n-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2-10.7 0-16.7\n 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58 69.2 92 94.5z\nm0 0v40h399900v-40z m100 194v40h399900v-40zm0 0v40h399900v-40z",
      rightharpoondown: "M399747 511c0 7.3 6.7 11 20 11 8 0 13-.8 15-2.5s4.7-6.8\n 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3 8.5-5.8 9.5\n-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3-64.7 57-92 95\n-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 241v40h399900v-40z",
      rightharpoondownplus: "M399747 705c0 7.3 6.7 11 20 11 8 0 13-.8\n 15-2.5s4.7-6.8 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3\n 8.5-5.8 9.5-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3\n-64.7 57-92 95-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 435v40h399900v-40z\nm0-194v40h400000v-40zm0 0v40h400000v-40z",
      righthook: "M399859 241c-764 0 0 0 0 0 40-3.3 68.7-15.7 86-37 10-12 15-25.3\n 15-40 0-22.7-9.8-40.7-29.5-54-19.7-13.3-43.5-21-71.5-23-17.3-1.3-26-8-26-20 0\n-13.3 8.7-20 26-20 38 0 71 11.2 99 33.5 0 0 7 5.6 21 16.7 14 11.2 21 33.5 21\n 66.8s-14 61.2-42 83.5c-28 22.3-61 33.5-99 33.5L0 241z M0 281v-40h399859v40z",
      rightlinesegment: "M399960 241 V94 h40 V428 h-40 V281 H0 v-40z\nM399960 241 V94 h40 V428 h-40 V281 H0 v-40z",
      rightToFrom: "M400000 167c-70.7-42-118-97.7-142-167h-23c-15.3 0-23 .3-23\n 1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8H0v40h399905l-7 8c-28.7 32\n-52 65.7-70 101-10.7 23.3-16 35.7-16 37 0 .7 7.7 1 23 1h23c24-69.3 71.3-125 142\n-167z M100 147v40h399900v-40zM0 341v40h399900v-40z",
      // twoheadleftarrow is from glyph U+219E in font KaTeX AMS Regular
      twoheadleftarrow: "M0 167c68 40\n 115.7 95.7 143 167h22c15.3 0 23-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69\n-70-101l-7-8h125l9 7c50.7 39.3 85 86 103 140h46c0-4.7-6.3-18.7-19-42-18-35.3\n-40-67.3-66-96l-9-9h399716v-40H284l9-9c26-28.7 48-60.7 66-96 12.7-23.333 19\n-37.333 19-42h-46c-18 54-52.3 100.7-103 140l-9 7H95l7-8c28.7-32 52-65.7 70-101\n 10.7-23.333 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 71.3 68 127 0 167z",
      twoheadrightarrow: "M400000 167\nc-68-40-115.7-95.7-143-167h-22c-15.3 0-23 .3-23 1 0 1.3 5.3 13.7 16 37 18 35.3\n 41.3 69 70 101l7 8h-125l-9-7c-50.7-39.3-85-86-103-140h-46c0 4.7 6.3 18.7 19 42\n 18 35.3 40 67.3 66 96l9 9H0v40h399716l-9 9c-26 28.7-48 60.7-66 96-12.7 23.333\n-19 37.333-19 42h46c18-54 52.3-100.7 103-140l9-7h125l-7 8c-28.7 32-52 65.7-70\n 101-10.7 23.333-16 35.7-16 37 0 .7 7.7 1 23 1h22c27.3-71.3 75-127 143-167z",
      // tilde1 is a modified version of a glyph from the MnSymbol package
      tilde1: "M200 55.538c-77 0-168 73.953-177 73.953-3 0-7\n-2.175-9-5.437L2 97c-1-2-2-4-2-6 0-4 2-7 5-9l20-12C116 12 171 0 207 0c86 0\n 114 68 191 68 78 0 168-68 177-68 4 0 7 2 9 5l12 19c1 2.175 2 4.35 2 6.525 0\n 4.35-2 7.613-5 9.788l-19 13.05c-92 63.077-116.937 75.308-183 76.128\n-68.267.847-113-73.952-191-73.952z",
      // ditto tilde2, tilde3, & tilde4
      tilde2: "M344 55.266c-142 0-300.638 81.316-311.5 86.418\n-8.01 3.762-22.5 10.91-23.5 5.562L1 120c-1-2-1-3-1-4 0-5 3-9 8-10l18.4-9C160.9\n 31.9 283 0 358 0c148 0 188 122 331 122s314-97 326-97c4 0 8 2 10 7l7 21.114\nc1 2.14 1 3.21 1 4.28 0 5.347-3 9.626-7 10.696l-22.3 12.622C852.6 158.372 751\n 181.476 676 181.476c-149 0-189-126.21-332-126.21z",
      tilde3: "M786 59C457 59 32 175.242 13 175.242c-6 0-10-3.457\n-11-10.37L.15 138c-1-7 3-12 10-13l19.2-6.4C378.4 40.7 634.3 0 804.3 0c337 0\n 411.8 157 746.8 157 328 0 754-112 773-112 5 0 10 3 11 9l1 14.075c1 8.066-.697\n 16.595-6.697 17.492l-21.052 7.31c-367.9 98.146-609.15 122.696-778.15 122.696\n -338 0-409-156.573-744-156.573z",
      tilde4: "M786 58C457 58 32 177.487 13 177.487c-6 0-10-3.345\n-11-10.035L.15 143c-1-7 3-12 10-13l22-6.7C381.2 35 637.15 0 807.15 0c337 0 409\n 177 744 177 328 0 754-127 773-127 5 0 10 3 11 9l1 14.794c1 7.805-3 13.38-9\n 14.495l-20.7 5.574c-366.85 99.79-607.3 139.372-776.3 139.372-338 0-409\n -175.236-744-175.236z",
      // vec is from glyph U+20D7 in font KaTeX Main
      vec: "M377 20c0-5.333 1.833-10 5.5-14S391 0 397 0c4.667 0 8.667 1.667 12 5\n3.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11\n10.667 11 18 0 6-1 10-3 12s-6.667 5-14 9c-28.667 14.667-53.667 35.667-75 63\n-1.333 1.333-3.167 3.5-5.5 6.5s-4 4.833-5 5.5c-1 .667-2.5 1.333-4.5 2s-4.333 1\n-7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59\nH213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359\nc-16-25.333-24-45-24-59z",
      // widehat1 is a modified version of a glyph from the MnSymbol package
      widehat1: "M529 0h5l519 115c5 1 9 5 9 10 0 1-1 2-1 3l-4 22\nc-1 5-5 9-11 9h-2L532 67 19 159h-2c-5 0-9-4-11-9l-5-22c-1-6 2-12 8-13z",
      // ditto widehat2, widehat3, & widehat4
      widehat2: "M1181 0h2l1171 176c6 0 10 5 10 11l-2 23c-1 6-5 10\n-11 10h-1L1182 67 15 220h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z",
      widehat3: "M1181 0h2l1171 236c6 0 10 5 10 11l-2 23c-1 6-5 10\n-11 10h-1L1182 67 15 280h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z",
      widehat4: "M1181 0h2l1171 296c6 0 10 5 10 11l-2 23c-1 6-5 10\n-11 10h-1L1182 67 15 340h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z",
      // widecheck paths are all inverted versions of widehat
      widecheck1: "M529,159h5l519,-115c5,-1,9,-5,9,-10c0,-1,-1,-2,-1,-3l-4,-22c-1,\n-5,-5,-9,-11,-9h-2l-512,92l-513,-92h-2c-5,0,-9,4,-11,9l-5,22c-1,6,2,12,8,13z",
      widecheck2: "M1181,220h2l1171,-176c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,\n-11,-10h-1l-1168,153l-1167,-153h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z",
      widecheck3: "M1181,280h2l1171,-236c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,\n-11,-10h-1l-1168,213l-1167,-213h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z",
      widecheck4: "M1181,340h2l1171,-296c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,\n-11,-10h-1l-1168,273l-1167,-273h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z",
      // The next ten paths support reaction arrows from the mhchem package.
      // Arrows for \ce{<-->} are offset from xAxis by 0.22ex, per mhchem in LaTeX
      // baraboveleftarrow is mostly from from glyph U+2190 in font KaTeX Main
      baraboveleftarrow: "M400000 620h-399890l3 -3c68.7 -52.7 113.7 -120 135 -202\nc4 -14.7 6 -23 6 -25c0 -7.3 -7 -11 -21 -11c-8 0 -13.2 0.8 -15.5 2.5\nc-2.3 1.7 -4.2 5.8 -5.5 12.5c-1.3 4.7 -2.7 10.3 -4 17c-12 48.7 -34.8 92 -68.5 130\ns-74.2 66.3 -121.5 85c-10 4 -16 7.7 -18 11c0 8.7 6 14.3 18 17c47.3 18.7 87.8 47\n121.5 85s56.5 81.3 68.5 130c0.7 2 1.3 5 2 9s1.2 6.7 1.5 8c0.3 1.3 1 3.3 2 6\ns2.2 4.5 3.5 5.5c1.3 1 3.3 1.8 6 2.5s6 1 10 1c14 0 21 -3.7 21 -11\nc0 -2 -2 -10.3 -6 -25c-20 -79.3 -65 -146.7 -135 -202l-3 -3h399890z\nM100 620v40h399900v-40z M0 241v40h399900v-40zM0 241v40h399900v-40z",
      // rightarrowabovebar is mostly from glyph U+2192, KaTeX Main
      rightarrowabovebar: "M0 241v40h399891c-47.3 35.3-84 78-110 128-16.7 32\n-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20 11 8 0\n13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7 39\n-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85-40.5\n-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5\n-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67\n151.7 139 205zm96 379h399894v40H0zm0 0h399904v40H0z",
      // The short left harpoon has 0.5em (i.e. 500 units) kern on the left end.
      // Ref from mhchem.sty: \rlap{\raisebox{-.22ex}{$\kern0.5em
      baraboveshortleftharpoon: "M507,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11\nc1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17\nc2,0.7,5,1,9,1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21\nc-32,-87.3,-82.7,-157.7,-152,-211c0,0,-3,-3,-3,-3l399351,0l0,-40\nc-398570,0,-399437,0,-399437,0z M593 435 v40 H399500 v-40z\nM0 281 v-40 H399908 v40z M0 281 v-40 H399908 v40z",
      rightharpoonaboveshortbar: "M0,241 l0,40c399126,0,399993,0,399993,0\nc4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,\n-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6\nc-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z\nM0 241 v40 H399908 v-40z M0 475 v-40 H399500 v40z M0 475 v-40 H399500 v40z",
      shortbaraboveleftharpoon: "M7,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11\nc1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17c2,0.7,5,1,9,\n1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21c-32,-87.3,-82.7,-157.7,\n-152,-211c0,0,-3,-3,-3,-3l399907,0l0,-40c-399126,0,-399993,0,-399993,0z\nM93 435 v40 H400000 v-40z M500 241 v40 H400000 v-40z M500 241 v40 H400000 v-40z",
      shortrightharpoonabovebar: "M53,241l0,40c398570,0,399437,0,399437,0\nc4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,\n-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6\nc-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z\nM500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z"
    };
    // CONCATENATED MODULE: ./src/tree.js
    
    
    /**
     * This node represents a document fragment, which contains elements, but when
     * placed into the DOM doesn't have any representation itself. It only contains
     * children and doesn't have any DOM node properties.
     */
    var tree_DocumentFragment =
    /*#__PURE__*/
    function () {
      // HtmlDomNode
      // Never used; needed for satisfying interface.
      function DocumentFragment(children) {
        this.children = void 0;
        this.classes = void 0;
        this.height = void 0;
        this.depth = void 0;
        this.maxFontSize = void 0;
        this.style = void 0;
        this.children = children;
        this.classes = [];
        this.height = 0;
        this.depth = 0;
        this.maxFontSize = 0;
        this.style = {};
      }
    
      var _proto = DocumentFragment.prototype;
    
      _proto.hasClass = function hasClass(className) {
        return utils.contains(this.classes, className);
      }
      /** Convert the fragment into a node. */
      ;
    
      _proto.toNode = function toNode() {
        var frag = document.createDocumentFragment();
    
        for (var i = 0; i < this.children.length; i++) {
          frag.appendChild(this.children[i].toNode());
        }
    
        return frag;
      }
      /** Convert the fragment into HTML markup. */
      ;
    
      _proto.toMarkup = function toMarkup() {
        var markup = ""; // Simply concatenate the markup for the children together.
    
        for (var i = 0; i < this.children.length; i++) {
          markup += this.children[i].toMarkup();
        }
    
        return markup;
      }
      /**
       * Converts the math node into a string, similar to innerText. Applies to
       * MathDomNode's only.
       */
      ;
    
      _proto.toText = function toText() {
        // To avoid this, we would subclass documentFragment separately for
        // MathML, but polyfills for subclassing is expensive per PR 1469.
        // $FlowFixMe: Only works for ChildType = MathDomNode.
        var toText = function toText(child) {
          return child.toText();
        };
    
        return this.children.map(toText).join("");
      };
    
      return DocumentFragment;
    }();
    // CONCATENATED MODULE: ./src/domTree.js
    /**
     * These objects store the data about the DOM nodes we create, as well as some
     * extra data. They can then be transformed into real DOM nodes with the
     * `toNode` function or HTML markup using `toMarkup`. They are useful for both
     * storing extra properties on the nodes, as well as providing a way to easily
     * work with the DOM.
     *
     * Similar functions for working with MathML nodes exist in mathMLTree.js.
     *
     * TODO: refactor `span` and `anchor` into common superclass when
     * target environments support class inheritance
     */
    
    
    
    
    
    /**
     * Create an HTML className based on a list of classes. In addition to joining
     * with spaces, we also remove empty classes.
     */
    var createClass = function createClass(classes) {
      return classes.filter(function (cls) {
        return cls;
      }).join(" ");
    };
    
    var initNode = function initNode(classes, options, style) {
      this.classes = classes || [];
      this.attributes = {};
      this.height = 0;
      this.depth = 0;
      this.maxFontSize = 0;
      this.style = style || {};
    
      if (options) {
        if (options.style.isTight()) {
          this.classes.push("mtight");
        }
    
        var color = options.getColor();
    
        if (color) {
          this.style.color = color;
        }
      }
    };
    /**
     * Convert into an HTML node
     */
    
    
    var _toNode = function toNode(tagName) {
      var node = document.createElement(tagName); // Apply the class
    
      node.className = createClass(this.classes); // Apply inline styles
    
      for (var style in this.style) {
        if (this.style.hasOwnProperty(style)) {
          // $FlowFixMe Flow doesn't seem to understand span.style's type.
          node.style[style] = this.style[style];
        }
      } // Apply attributes
    
    
      for (var attr in this.attributes) {
        if (this.attributes.hasOwnProperty(attr)) {
          node.setAttribute(attr, this.attributes[attr]);
        }
      } // Append the children, also as HTML nodes
    
    
      for (var i = 0; i < this.children.length; i++) {
        node.appendChild(this.children[i].toNode());
      }
    
      return node;
    };
    /**
     * Convert into an HTML markup string
     */
    
    
    var _toMarkup = function toMarkup(tagName) {
      var markup = "<" + tagName; // Add the class
    
      if (this.classes.length) {
        markup += " class=\"" + utils.escape(createClass(this.classes)) + "\"";
      }
    
      var styles = ""; // Add the styles, after hyphenation
    
      for (var style in this.style) {
        if (this.style.hasOwnProperty(style)) {
          styles += utils.hyphenate(style) + ":" + this.style[style] + ";";
        }
      }
    
      if (styles) {
        markup += " style=\"" + utils.escape(styles) + "\"";
      } // Add the attributes
    
    
      for (var attr in this.attributes) {
        if (this.attributes.hasOwnProperty(attr)) {
          markup += " " + attr + "=\"" + utils.escape(this.attributes[attr]) + "\"";
        }
      }
    
      markup += ">"; // Add the markup of the children, also as markup
    
      for (var i = 0; i < this.children.length; i++) {
        markup += this.children[i].toMarkup();
      }
    
      markup += "</" + tagName + ">";
      return markup;
    }; // Making the type below exact with all optional fields doesn't work due to
    // - https://github.com/facebook/flow/issues/4582
    // - https://github.com/facebook/flow/issues/5688
    // However, since *all* fields are optional, $Shape<> works as suggested in 5688
    // above.
    // This type does not include all CSS properties. Additional properties should
    // be added as needed.
    
    
    /**
     * This node represents a span node, with a className, a list of children, and
     * an inline style. It also contains information about its height, depth, and
     * maxFontSize.
     *
     * Represents two types with different uses: SvgSpan to wrap an SVG and DomSpan
     * otherwise. This typesafety is important when HTML builders access a span's
     * children.
     */
    var domTree_Span =
    /*#__PURE__*/
    function () {
      function Span(classes, children, options, style) {
        this.children = void 0;
        this.attributes = void 0;
        this.classes = void 0;
        this.height = void 0;
        this.depth = void 0;
        this.width = void 0;
        this.maxFontSize = void 0;
        this.style = void 0;
        initNode.call(this, classes, options, style);
        this.children = children || [];
      }
      /**
       * Sets an arbitrary attribute on the span. Warning: use this wisely. Not
       * all browsers support attributes the same, and having too many custom
       * attributes is probably bad.
       */
    
    
      var _proto = Span.prototype;
    
      _proto.setAttribute = function setAttribute(attribute, value) {
        this.attributes[attribute] = value;
      };
    
      _proto.hasClass = function hasClass(className) {
        return utils.contains(this.classes, className);
      };
    
      _proto.toNode = function toNode() {
        return _toNode.call(this, "span");
      };
    
      _proto.toMarkup = function toMarkup() {
        return _toMarkup.call(this, "span");
      };
    
      return Span;
    }();
    /**
     * This node represents an anchor (<a>) element with a hyperlink.  See `span`
     * for further details.
     */
    
    var domTree_Anchor =
    /*#__PURE__*/
    function () {
      function Anchor(href, classes, children, options) {
        this.children = void 0;
        this.attributes = void 0;
        this.classes = void 0;
        this.height = void 0;
        this.depth = void 0;
        this.maxFontSize = void 0;
        this.style = void 0;
        initNode.call(this, classes, options);
        this.children = children || [];
        this.setAttribute('href', href);
      }
    
      var _proto2 = Anchor.prototype;
    
      _proto2.setAttribute = function setAttribute(attribute, value) {
        this.attributes[attribute] = value;
      };
    
      _proto2.hasClass = function hasClass(className) {
        return utils.contains(this.classes, className);
      };
    
      _proto2.toNode = function toNode() {
        return _toNode.call(this, "a");
      };
    
      _proto2.toMarkup = function toMarkup() {
        return _toMarkup.call(this, "a");
      };
    
      return Anchor;
    }();
    /**
     * This node represents an image embed (<img>) element.
     */
    
    var domTree_Img =
    /*#__PURE__*/
    function () {
      function Img(src, alt, style) {
        this.src = void 0;
        this.alt = void 0;
        this.classes = void 0;
        this.height = void 0;
        this.depth = void 0;
        this.maxFontSize = void 0;
        this.style = void 0;
        this.alt = alt;
        this.src = src;
        this.classes = ["mord"];
        this.style = style;
      }
    
      var _proto3 = Img.prototype;
    
      _proto3.hasClass = function hasClass(className) {
        return utils.contains(this.classes, className);
      };
    
      _proto3.toNode = function toNode() {
        var node = document.createElement("img");
        node.src = this.src;
        node.alt = this.alt;
        node.className = "mord"; // Apply inline styles
    
        for (var style in this.style) {
          if (this.style.hasOwnProperty(style)) {
            // $FlowFixMe
            node.style[style] = this.style[style];
          }
        }
    
        return node;
      };
    
      _proto3.toMarkup = function toMarkup() {
        var markup = "<img  src='" + this.src + " 'alt='" + this.alt + "' "; // Add the styles, after hyphenation
    
        var styles = "";
    
        for (var style in this.style) {
          if (this.style.hasOwnProperty(style)) {
            styles += utils.hyphenate(style) + ":" + this.style[style] + ";";
          }
        }
    
        if (styles) {
          markup += " style=\"" + utils.escape(styles) + "\"";
        }
    
        markup += "'/>";
        return markup;
      };
    
      return Img;
    }();
    var iCombinations = {
      'î': "\u0131\u0302",
      'ï': "\u0131\u0308",
      'í': "\u0131\u0301",
      // 'ī': '\u0131\u0304', // enable when we add Extended Latin
      'ì': "\u0131\u0300"
    };
    /**
     * A symbol node contains information about a single symbol. It either renders
     * to a single text node, or a span with a single text node in it, depending on
     * whether it has CSS classes, styles, or needs italic correction.
     */
    
    var domTree_SymbolNode =
    /*#__PURE__*/
    function () {
      function SymbolNode(text, height, depth, italic, skew, width, classes, style) {
        this.text = void 0;
        this.height = void 0;
        this.depth = void 0;
        this.italic = void 0;
        this.skew = void 0;
        this.width = void 0;
        this.maxFontSize = void 0;
        this.classes = void 0;
        this.style = void 0;
        this.text = text;
        this.height = height || 0;
        this.depth = depth || 0;
        this.italic = italic || 0;
        this.skew = skew || 0;
        this.width = width || 0;
        this.classes = classes || [];
        this.style = style || {};
        this.maxFontSize = 0; // Mark text from non-Latin scripts with specific classes so that we
        // can specify which fonts to use.  This allows us to render these
        // characters with a serif font in situations where the browser would
        // either default to a sans serif or render a placeholder character.
        // We use CSS class names like cjk_fallback, hangul_fallback and
        // brahmic_fallback. See ./unicodeScripts.js for the set of possible
        // script names
    
        var script = scriptFromCodepoint(this.text.charCodeAt(0));
    
        if (script) {
          this.classes.push(script + "_fallback");
        }
    
        if (/[îïíì]/.test(this.text)) {
          // add ī when we add Extended Latin
          this.text = iCombinations[this.text];
        }
      }
    
      var _proto4 = SymbolNode.prototype;
    
      _proto4.hasClass = function hasClass(className) {
        return utils.contains(this.classes, className);
      }
      /**
       * Creates a text node or span from a symbol node. Note that a span is only
       * created if it is needed.
       */
      ;
    
      _proto4.toNode = function toNode() {
        var node = document.createTextNode(this.text);
        var span = null;
    
        if (this.italic > 0) {
          span = document.createElement("span");
          span.style.marginRight = this.italic + "em";
        }
    
        if (this.classes.length > 0) {
          span = span || document.createElement("span");
          span.className = createClass(this.classes);
        }
    
        for (var style in this.style) {
          if (this.style.hasOwnProperty(style)) {
            span = span || document.createElement("span"); // $FlowFixMe Flow doesn't seem to understand span.style's type.
    
            span.style[style] = this.style[style];
          }
        }
    
        if (span) {
          span.appendChild(node);
          return span;
        } else {
          return node;
        }
      }
      /**
       * Creates markup for a symbol node.
       */
      ;
    
      _proto4.toMarkup = function toMarkup() {
        // TODO(alpert): More duplication than I'd like from
        // span.prototype.toMarkup and symbolNode.prototype.toNode...
        var needsSpan = false;
        var markup = "<span";
    
        if (this.classes.length) {
          needsSpan = true;
          markup += " class=\"";
          markup += utils.escape(createClass(this.classes));
          markup += "\"";
        }
    
        var styles = "";
    
        if (this.italic > 0) {
          styles += "margin-right:" + this.italic + "em;";
        }
    
        for (var style in this.style) {
          if (this.style.hasOwnProperty(style)) {
            styles += utils.hyphenate(style) + ":" + this.style[style] + ";";
          }
        }
    
        if (styles) {
          needsSpan = true;
          markup += " style=\"" + utils.escape(styles) + "\"";
        }
    
        var escaped = utils.escape(this.text);
    
        if (needsSpan) {
          markup += ">";
          markup += escaped;
          markup += "</span>";
          return markup;
        } else {
          return escaped;
        }
      };
    
      return SymbolNode;
    }();
    /**
     * SVG nodes are used to render stretchy wide elements.
     */
    
    var SvgNode =
    /*#__PURE__*/
    function () {
      function SvgNode(children, attributes) {
        this.children = void 0;
        this.attributes = void 0;
        this.children = children || [];
        this.attributes = attributes || {};
      }
    
      var _proto5 = SvgNode.prototype;
    
      _proto5.toNode = function toNode() {
        var svgNS = "http://www.w3.org/2000/svg";
        var node = document.createElementNS(svgNS, "svg"); // Apply attributes
    
        for (var attr in this.attributes) {
          if (Object.prototype.hasOwnProperty.call(this.attributes, attr)) {
            node.setAttribute(attr, this.attributes[attr]);
          }
        }
    
        for (var i = 0; i < this.children.length; i++) {
          node.appendChild(this.children[i].toNode());
        }
    
        return node;
      };
    
      _proto5.toMarkup = function toMarkup() {
        var markup = "<svg"; // Apply attributes
    
        for (var attr in this.attributes) {
          if (Object.prototype.hasOwnProperty.call(this.attributes, attr)) {
            markup += " " + attr + "='" + this.attributes[attr] + "'";
          }
        }
    
        markup += ">";
    
        for (var i = 0; i < this.children.length; i++) {
          markup += this.children[i].toMarkup();
        }
    
        markup += "</svg>";
        return markup;
      };
    
      return SvgNode;
    }();
    var domTree_PathNode =
    /*#__PURE__*/
    function () {
      function PathNode(pathName, alternate) {
        this.pathName = void 0;
        this.alternate = void 0;
        this.pathName = pathName;
        this.alternate = alternate; // Used only for \sqrt
      }
    
      var _proto6 = PathNode.prototype;
    
      _proto6.toNode = function toNode() {
        var svgNS = "http://www.w3.org/2000/svg";
        var node = document.createElementNS(svgNS, "path");
    
        if (this.alternate) {
          node.setAttribute("d", this.alternate);
        } else {
          node.setAttribute("d", svgGeometry_path[this.pathName]);
        }
    
        return node;
      };
    
      _proto6.toMarkup = function toMarkup() {
        if (this.alternate) {
          return "<path d='" + this.alternate + "'/>";
        } else {
          return "<path d='" + svgGeometry_path[this.pathName] + "'/>";
        }
      };
    
      return PathNode;
    }();
    var LineNode =
    /*#__PURE__*/
    function () {
      function LineNode(attributes) {
        this.attributes = void 0;
        this.attributes = attributes || {};
      }
    
      var _proto7 = LineNode.prototype;
    
      _proto7.toNode = function toNode() {
        var svgNS = "http://www.w3.org/2000/svg";
        var node = document.createElementNS(svgNS, "line"); // Apply attributes
    
        for (var attr in this.attributes) {
          if (Object.prototype.hasOwnProperty.call(this.attributes, attr)) {
            node.setAttribute(attr, this.attributes[attr]);
          }
        }
    
        return node;
      };
    
      _proto7.toMarkup = function toMarkup() {
        var markup = "<line";
    
        for (var attr in this.attributes) {
          if (Object.prototype.hasOwnProperty.call(this.attributes, attr)) {
            markup += " " + attr + "='" + this.attributes[attr] + "'";
          }
        }
    
        markup += "/>";
        return markup;
      };
    
      return LineNode;
    }();
    function assertSymbolDomNode(group) {
      if (group instanceof domTree_SymbolNode) {
        return group;
      } else {
        throw new Error("Expected symbolNode but got " + String(group) + ".");
      }
    }
    function assertSpan(group) {
      if (group instanceof domTree_Span) {
        return group;
      } else {
        throw new Error("Expected span<HtmlDomNode> but got " + String(group) + ".");
      }
    }
    // CONCATENATED MODULE: ./submodules/katex-fonts/fontMetricsData.js
    // This file is GENERATED by buildMetrics.sh. DO NOT MODIFY.
    /* harmony default export */ var fontMetricsData = ({
      "AMS-Regular": {
        "65": [0, 0.68889, 0, 0, 0.72222],
        "66": [0, 0.68889, 0, 0, 0.66667],
        "67": [0, 0.68889, 0, 0, 0.72222],
        "68": [0, 0.68889, 0, 0, 0.72222],
        "69": [0, 0.68889, 0, 0, 0.66667],
        "70": [0, 0.68889, 0, 0, 0.61111],
        "71": [0, 0.68889, 0, 0, 0.77778],
        "72": [0, 0.68889, 0, 0, 0.77778],
        "73": [0, 0.68889, 0, 0, 0.38889],
        "74": [0.16667, 0.68889, 0, 0, 0.5],
        "75": [0, 0.68889, 0, 0, 0.77778],
        "76": [0, 0.68889, 0, 0, 0.66667],
        "77": [0, 0.68889, 0, 0, 0.94445],
        "78": [0, 0.68889, 0, 0, 0.72222],
        "79": [0.16667, 0.68889, 0, 0, 0.77778],
        "80": [0, 0.68889, 0, 0, 0.61111],
        "81": [0.16667, 0.68889, 0, 0, 0.77778],
        "82": [0, 0.68889, 0, 0, 0.72222],
        "83": [0, 0.68889, 0, 0, 0.55556],
        "84": [0, 0.68889, 0, 0, 0.66667],
        "85": [0, 0.68889, 0, 0, 0.72222],
        "86": [0, 0.68889, 0, 0, 0.72222],
        "87": [0, 0.68889, 0, 0, 1.0],
        "88": [0, 0.68889, 0, 0, 0.72222],
        "89": [0, 0.68889, 0, 0, 0.72222],
        "90": [0, 0.68889, 0, 0, 0.66667],
        "107": [0, 0.68889, 0, 0, 0.55556],
        "165": [0, 0.675, 0.025, 0, 0.75],
        "174": [0.15559, 0.69224, 0, 0, 0.94666],
        "240": [0, 0.68889, 0, 0, 0.55556],
        "295": [0, 0.68889, 0, 0, 0.54028],
        "710": [0, 0.825, 0, 0, 2.33334],
        "732": [0, 0.9, 0, 0, 2.33334],
        "770": [0, 0.825, 0, 0, 2.33334],
        "771": [0, 0.9, 0, 0, 2.33334],
        "989": [0.08167, 0.58167, 0, 0, 0.77778],
        "1008": [0, 0.43056, 0.04028, 0, 0.66667],
        "8245": [0, 0.54986, 0, 0, 0.275],
        "8463": [0, 0.68889, 0, 0, 0.54028],
        "8487": [0, 0.68889, 0, 0, 0.72222],
        "8498": [0, 0.68889, 0, 0, 0.55556],
        "8502": [0, 0.68889, 0, 0, 0.66667],
        "8503": [0, 0.68889, 0, 0, 0.44445],
        "8504": [0, 0.68889, 0, 0, 0.66667],
        "8513": [0, 0.68889, 0, 0, 0.63889],
        "8592": [-0.03598, 0.46402, 0, 0, 0.5],
        "8594": [-0.03598, 0.46402, 0, 0, 0.5],
        "8602": [-0.13313, 0.36687, 0, 0, 1.0],
        "8603": [-0.13313, 0.36687, 0, 0, 1.0],
        "8606": [0.01354, 0.52239, 0, 0, 1.0],
        "8608": [0.01354, 0.52239, 0, 0, 1.0],
        "8610": [0.01354, 0.52239, 0, 0, 1.11111],
        "8611": [0.01354, 0.52239, 0, 0, 1.11111],
        "8619": [0, 0.54986, 0, 0, 1.0],
        "8620": [0, 0.54986, 0, 0, 1.0],
        "8621": [-0.13313, 0.37788, 0, 0, 1.38889],
        "8622": [-0.13313, 0.36687, 0, 0, 1.0],
        "8624": [0, 0.69224, 0, 0, 0.5],
        "8625": [0, 0.69224, 0, 0, 0.5],
        "8630": [0, 0.43056, 0, 0, 1.0],
        "8631": [0, 0.43056, 0, 0, 1.0],
        "8634": [0.08198, 0.58198, 0, 0, 0.77778],
        "8635": [0.08198, 0.58198, 0, 0, 0.77778],
        "8638": [0.19444, 0.69224, 0, 0, 0.41667],
        "8639": [0.19444, 0.69224, 0, 0, 0.41667],
        "8642": [0.19444, 0.69224, 0, 0, 0.41667],
        "8643": [0.19444, 0.69224, 0, 0, 0.41667],
        "8644": [0.1808, 0.675, 0, 0, 1.0],
        "8646": [0.1808, 0.675, 0, 0, 1.0],
        "8647": [0.1808, 0.675, 0, 0, 1.0],
        "8648": [0.19444, 0.69224, 0, 0, 0.83334],
        "8649": [0.1808, 0.675, 0, 0, 1.0],
        "8650": [0.19444, 0.69224, 0, 0, 0.83334],
        "8651": [0.01354, 0.52239, 0, 0, 1.0],
        "8652": [0.01354, 0.52239, 0, 0, 1.0],
        "8653": [-0.13313, 0.36687, 0, 0, 1.0],
        "8654": [-0.13313, 0.36687, 0, 0, 1.0],
        "8655": [-0.13313, 0.36687, 0, 0, 1.0],
        "8666": [0.13667, 0.63667, 0, 0, 1.0],
        "8667": [0.13667, 0.63667, 0, 0, 1.0],
        "8669": [-0.13313, 0.37788, 0, 0, 1.0],
        "8672": [-0.064, 0.437, 0, 0, 1.334],
        "8674": [-0.064, 0.437, 0, 0, 1.334],
        "8705": [0, 0.825, 0, 0, 0.5],
        "8708": [0, 0.68889, 0, 0, 0.55556],
        "8709": [0.08167, 0.58167, 0, 0, 0.77778],
        "8717": [0, 0.43056, 0, 0, 0.42917],
        "8722": [-0.03598, 0.46402, 0, 0, 0.5],
        "8724": [0.08198, 0.69224, 0, 0, 0.77778],
        "8726": [0.08167, 0.58167, 0, 0, 0.77778],
        "8733": [0, 0.69224, 0, 0, 0.77778],
        "8736": [0, 0.69224, 0, 0, 0.72222],
        "8737": [0, 0.69224, 0, 0, 0.72222],
        "8738": [0.03517, 0.52239, 0, 0, 0.72222],
        "8739": [0.08167, 0.58167, 0, 0, 0.22222],
        "8740": [0.25142, 0.74111, 0, 0, 0.27778],
        "8741": [0.08167, 0.58167, 0, 0, 0.38889],
        "8742": [0.25142, 0.74111, 0, 0, 0.5],
        "8756": [0, 0.69224, 0, 0, 0.66667],
        "8757": [0, 0.69224, 0, 0, 0.66667],
        "8764": [-0.13313, 0.36687, 0, 0, 0.77778],
        "8765": [-0.13313, 0.37788, 0, 0, 0.77778],
        "8769": [-0.13313, 0.36687, 0, 0, 0.77778],
        "8770": [-0.03625, 0.46375, 0, 0, 0.77778],
        "8774": [0.30274, 0.79383, 0, 0, 0.77778],
        "8776": [-0.01688, 0.48312, 0, 0, 0.77778],
        "8778": [0.08167, 0.58167, 0, 0, 0.77778],
        "8782": [0.06062, 0.54986, 0, 0, 0.77778],
        "8783": [0.06062, 0.54986, 0, 0, 0.77778],
        "8785": [0.08198, 0.58198, 0, 0, 0.77778],
        "8786": [0.08198, 0.58198, 0, 0, 0.77778],
        "8787": [0.08198, 0.58198, 0, 0, 0.77778],
        "8790": [0, 0.69224, 0, 0, 0.77778],
        "8791": [0.22958, 0.72958, 0, 0, 0.77778],
        "8796": [0.08198, 0.91667, 0, 0, 0.77778],
        "8806": [0.25583, 0.75583, 0, 0, 0.77778],
        "8807": [0.25583, 0.75583, 0, 0, 0.77778],
        "8808": [0.25142, 0.75726, 0, 0, 0.77778],
        "8809": [0.25142, 0.75726, 0, 0, 0.77778],
        "8812": [0.25583, 0.75583, 0, 0, 0.5],
        "8814": [0.20576, 0.70576, 0, 0, 0.77778],
        "8815": [0.20576, 0.70576, 0, 0, 0.77778],
        "8816": [0.30274, 0.79383, 0, 0, 0.77778],
        "8817": [0.30274, 0.79383, 0, 0, 0.77778],
        "8818": [0.22958, 0.72958, 0, 0, 0.77778],
        "8819": [0.22958, 0.72958, 0, 0, 0.77778],
        "8822": [0.1808, 0.675, 0, 0, 0.77778],
        "8823": [0.1808, 0.675, 0, 0, 0.77778],
        "8828": [0.13667, 0.63667, 0, 0, 0.77778],
        "8829": [0.13667, 0.63667, 0, 0, 0.77778],
        "8830": [0.22958, 0.72958, 0, 0, 0.77778],
        "8831": [0.22958, 0.72958, 0, 0, 0.77778],
        "8832": [0.20576, 0.70576, 0, 0, 0.77778],
        "8833": [0.20576, 0.70576, 0, 0, 0.77778],
        "8840": [0.30274, 0.79383, 0, 0, 0.77778],
        "8841": [0.30274, 0.79383, 0, 0, 0.77778],
        "8842": [0.13597, 0.63597, 0, 0, 0.77778],
        "8843": [0.13597, 0.63597, 0, 0, 0.77778],
        "8847": [0.03517, 0.54986, 0, 0, 0.77778],
        "8848": [0.03517, 0.54986, 0, 0, 0.77778],
        "8858": [0.08198, 0.58198, 0, 0, 0.77778],
        "8859": [0.08198, 0.58198, 0, 0, 0.77778],
        "8861": [0.08198, 0.58198, 0, 0, 0.77778],
        "8862": [0, 0.675, 0, 0, 0.77778],
        "8863": [0, 0.675, 0, 0, 0.77778],
        "8864": [0, 0.675, 0, 0, 0.77778],
        "8865": [0, 0.675, 0, 0, 0.77778],
        "8872": [0, 0.69224, 0, 0, 0.61111],
        "8873": [0, 0.69224, 0, 0, 0.72222],
        "8874": [0, 0.69224, 0, 0, 0.88889],
        "8876": [0, 0.68889, 0, 0, 0.61111],
        "8877": [0, 0.68889, 0, 0, 0.61111],
        "8878": [0, 0.68889, 0, 0, 0.72222],
        "8879": [0, 0.68889, 0, 0, 0.72222],
        "8882": [0.03517, 0.54986, 0, 0, 0.77778],
        "8883": [0.03517, 0.54986, 0, 0, 0.77778],
        "8884": [0.13667, 0.63667, 0, 0, 0.77778],
        "8885": [0.13667, 0.63667, 0, 0, 0.77778],
        "8888": [0, 0.54986, 0, 0, 1.11111],
        "8890": [0.19444, 0.43056, 0, 0, 0.55556],
        "8891": [0.19444, 0.69224, 0, 0, 0.61111],
        "8892": [0.19444, 0.69224, 0, 0, 0.61111],
        "8901": [0, 0.54986, 0, 0, 0.27778],
        "8903": [0.08167, 0.58167, 0, 0, 0.77778],
        "8905": [0.08167, 0.58167, 0, 0, 0.77778],
        "8906": [0.08167, 0.58167, 0, 0, 0.77778],
        "8907": [0, 0.69224, 0, 0, 0.77778],
        "8908": [0, 0.69224, 0, 0, 0.77778],
        "8909": [-0.03598, 0.46402, 0, 0, 0.77778],
        "8910": [0, 0.54986, 0, 0, 0.76042],
        "8911": [0, 0.54986, 0, 0, 0.76042],
        "8912": [0.03517, 0.54986, 0, 0, 0.77778],
        "8913": [0.03517, 0.54986, 0, 0, 0.77778],
        "8914": [0, 0.54986, 0, 0, 0.66667],
        "8915": [0, 0.54986, 0, 0, 0.66667],
        "8916": [0, 0.69224, 0, 0, 0.66667],
        "8918": [0.0391, 0.5391, 0, 0, 0.77778],
        "8919": [0.0391, 0.5391, 0, 0, 0.77778],
        "8920": [0.03517, 0.54986, 0, 0, 1.33334],
        "8921": [0.03517, 0.54986, 0, 0, 1.33334],
        "8922": [0.38569, 0.88569, 0, 0, 0.77778],
        "8923": [0.38569, 0.88569, 0, 0, 0.77778],
        "8926": [0.13667, 0.63667, 0, 0, 0.77778],
        "8927": [0.13667, 0.63667, 0, 0, 0.77778],
        "8928": [0.30274, 0.79383, 0, 0, 0.77778],
        "8929": [0.30274, 0.79383, 0, 0, 0.77778],
        "8934": [0.23222, 0.74111, 0, 0, 0.77778],
        "8935": [0.23222, 0.74111, 0, 0, 0.77778],
        "8936": [0.23222, 0.74111, 0, 0, 0.77778],
        "8937": [0.23222, 0.74111, 0, 0, 0.77778],
        "8938": [0.20576, 0.70576, 0, 0, 0.77778],
        "8939": [0.20576, 0.70576, 0, 0, 0.77778],
        "8940": [0.30274, 0.79383, 0, 0, 0.77778],
        "8941": [0.30274, 0.79383, 0, 0, 0.77778],
        "8994": [0.19444, 0.69224, 0, 0, 0.77778],
        "8995": [0.19444, 0.69224, 0, 0, 0.77778],
        "9416": [0.15559, 0.69224, 0, 0, 0.90222],
        "9484": [0, 0.69224, 0, 0, 0.5],
        "9488": [0, 0.69224, 0, 0, 0.5],
        "9492": [0, 0.37788, 0, 0, 0.5],
        "9496": [0, 0.37788, 0, 0, 0.5],
        "9585": [0.19444, 0.68889, 0, 0, 0.88889],
        "9586": [0.19444, 0.74111, 0, 0, 0.88889],
        "9632": [0, 0.675, 0, 0, 0.77778],
        "9633": [0, 0.675, 0, 0, 0.77778],
        "9650": [0, 0.54986, 0, 0, 0.72222],
        "9651": [0, 0.54986, 0, 0, 0.72222],
        "9654": [0.03517, 0.54986, 0, 0, 0.77778],
        "9660": [0, 0.54986, 0, 0, 0.72222],
        "9661": [0, 0.54986, 0, 0, 0.72222],
        "9664": [0.03517, 0.54986, 0, 0, 0.77778],
        "9674": [0.11111, 0.69224, 0, 0, 0.66667],
        "9733": [0.19444, 0.69224, 0, 0, 0.94445],
        "10003": [0, 0.69224, 0, 0, 0.83334],
        "10016": [0, 0.69224, 0, 0, 0.83334],
        "10731": [0.11111, 0.69224, 0, 0, 0.66667],
        "10846": [0.19444, 0.75583, 0, 0, 0.61111],
        "10877": [0.13667, 0.63667, 0, 0, 0.77778],
        "10878": [0.13667, 0.63667, 0, 0, 0.77778],
        "10885": [0.25583, 0.75583, 0, 0, 0.77778],
        "10886": [0.25583, 0.75583, 0, 0, 0.77778],
        "10887": [0.13597, 0.63597, 0, 0, 0.77778],
        "10888": [0.13597, 0.63597, 0, 0, 0.77778],
        "10889": [0.26167, 0.75726, 0, 0, 0.77778],
        "10890": [0.26167, 0.75726, 0, 0, 0.77778],
        "10891": [0.48256, 0.98256, 0, 0, 0.77778],
        "10892": [0.48256, 0.98256, 0, 0, 0.77778],
        "10901": [0.13667, 0.63667, 0, 0, 0.77778],
        "10902": [0.13667, 0.63667, 0, 0, 0.77778],
        "10933": [0.25142, 0.75726, 0, 0, 0.77778],
        "10934": [0.25142, 0.75726, 0, 0, 0.77778],
        "10935": [0.26167, 0.75726, 0, 0, 0.77778],
        "10936": [0.26167, 0.75726, 0, 0, 0.77778],
        "10937": [0.26167, 0.75726, 0, 0, 0.77778],
        "10938": [0.26167, 0.75726, 0, 0, 0.77778],
        "10949": [0.25583, 0.75583, 0, 0, 0.77778],
        "10950": [0.25583, 0.75583, 0, 0, 0.77778],
        "10955": [0.28481, 0.79383, 0, 0, 0.77778],
        "10956": [0.28481, 0.79383, 0, 0, 0.77778],
        "57350": [0.08167, 0.58167, 0, 0, 0.22222],
        "57351": [0.08167, 0.58167, 0, 0, 0.38889],
        "57352": [0.08167, 0.58167, 0, 0, 0.77778],
        "57353": [0, 0.43056, 0.04028, 0, 0.66667],
        "57356": [0.25142, 0.75726, 0, 0, 0.77778],
        "57357": [0.25142, 0.75726, 0, 0, 0.77778],
        "57358": [0.41951, 0.91951, 0, 0, 0.77778],
        "57359": [0.30274, 0.79383, 0, 0, 0.77778],
        "57360": [0.30274, 0.79383, 0, 0, 0.77778],
        "57361": [0.41951, 0.91951, 0, 0, 0.77778],
        "57366": [0.25142, 0.75726, 0, 0, 0.77778],
        "57367": [0.25142, 0.75726, 0, 0, 0.77778],
        "57368": [0.25142, 0.75726, 0, 0, 0.77778],
        "57369": [0.25142, 0.75726, 0, 0, 0.77778],
        "57370": [0.13597, 0.63597, 0, 0, 0.77778],
        "57371": [0.13597, 0.63597, 0, 0, 0.77778]
      },
      "Caligraphic-Regular": {
        "48": [0, 0.43056, 0, 0, 0.5],
        "49": [0, 0.43056, 0, 0, 0.5],
        "50": [0, 0.43056, 0, 0, 0.5],
        "51": [0.19444, 0.43056, 0, 0, 0.5],
        "52": [0.19444, 0.43056, 0, 0, 0.5],
        "53": [0.19444, 0.43056, 0, 0, 0.5],
        "54": [0, 0.64444, 0, 0, 0.5],
        "55": [0.19444, 0.43056, 0, 0, 0.5],
        "56": [0, 0.64444, 0, 0, 0.5],
        "57": [0.19444, 0.43056, 0, 0, 0.5],
        "65": [0, 0.68333, 0, 0.19445, 0.79847],
        "66": [0, 0.68333, 0.03041, 0.13889, 0.65681],
        "67": [0, 0.68333, 0.05834, 0.13889, 0.52653],
        "68": [0, 0.68333, 0.02778, 0.08334, 0.77139],
        "69": [0, 0.68333, 0.08944, 0.11111, 0.52778],
        "70": [0, 0.68333, 0.09931, 0.11111, 0.71875],
        "71": [0.09722, 0.68333, 0.0593, 0.11111, 0.59487],
        "72": [0, 0.68333, 0.00965, 0.11111, 0.84452],
        "73": [0, 0.68333, 0.07382, 0, 0.54452],
        "74": [0.09722, 0.68333, 0.18472, 0.16667, 0.67778],
        "75": [0, 0.68333, 0.01445, 0.05556, 0.76195],
        "76": [0, 0.68333, 0, 0.13889, 0.68972],
        "77": [0, 0.68333, 0, 0.13889, 1.2009],
        "78": [0, 0.68333, 0.14736, 0.08334, 0.82049],
        "79": [0, 0.68333, 0.02778, 0.11111, 0.79611],
        "80": [0, 0.68333, 0.08222, 0.08334, 0.69556],
        "81": [0.09722, 0.68333, 0, 0.11111, 0.81667],
        "82": [0, 0.68333, 0, 0.08334, 0.8475],
        "83": [0, 0.68333, 0.075, 0.13889, 0.60556],
        "84": [0, 0.68333, 0.25417, 0, 0.54464],
        "85": [0, 0.68333, 0.09931, 0.08334, 0.62583],
        "86": [0, 0.68333, 0.08222, 0, 0.61278],
        "87": [0, 0.68333, 0.08222, 0.08334, 0.98778],
        "88": [0, 0.68333, 0.14643, 0.13889, 0.7133],
        "89": [0.09722, 0.68333, 0.08222, 0.08334, 0.66834],
        "90": [0, 0.68333, 0.07944, 0.13889, 0.72473]
      },
      "Fraktur-Regular": {
        "33": [0, 0.69141, 0, 0, 0.29574],
        "34": [0, 0.69141, 0, 0, 0.21471],
        "38": [0, 0.69141, 0, 0, 0.73786],
        "39": [0, 0.69141, 0, 0, 0.21201],
        "40": [0.24982, 0.74947, 0, 0, 0.38865],
        "41": [0.24982, 0.74947, 0, 0, 0.38865],
        "42": [0, 0.62119, 0, 0, 0.27764],
        "43": [0.08319, 0.58283, 0, 0, 0.75623],
        "44": [0, 0.10803, 0, 0, 0.27764],
        "45": [0.08319, 0.58283, 0, 0, 0.75623],
        "46": [0, 0.10803, 0, 0, 0.27764],
        "47": [0.24982, 0.74947, 0, 0, 0.50181],
        "48": [0, 0.47534, 0, 0, 0.50181],
        "49": [0, 0.47534, 0, 0, 0.50181],
        "50": [0, 0.47534, 0, 0, 0.50181],
        "51": [0.18906, 0.47534, 0, 0, 0.50181],
        "52": [0.18906, 0.47534, 0, 0, 0.50181],
        "53": [0.18906, 0.47534, 0, 0, 0.50181],
        "54": [0, 0.69141, 0, 0, 0.50181],
        "55": [0.18906, 0.47534, 0, 0, 0.50181],
        "56": [0, 0.69141, 0, 0, 0.50181],
        "57": [0.18906, 0.47534, 0, 0, 0.50181],
        "58": [0, 0.47534, 0, 0, 0.21606],
        "59": [0.12604, 0.47534, 0, 0, 0.21606],
        "61": [-0.13099, 0.36866, 0, 0, 0.75623],
        "63": [0, 0.69141, 0, 0, 0.36245],
        "65": [0, 0.69141, 0, 0, 0.7176],
        "66": [0, 0.69141, 0, 0, 0.88397],
        "67": [0, 0.69141, 0, 0, 0.61254],
        "68": [0, 0.69141, 0, 0, 0.83158],
        "69": [0, 0.69141, 0, 0, 0.66278],
        "70": [0.12604, 0.69141, 0, 0, 0.61119],
        "71": [0, 0.69141, 0, 0, 0.78539],
        "72": [0.06302, 0.69141, 0, 0, 0.7203],
        "73": [0, 0.69141, 0, 0, 0.55448],
        "74": [0.12604, 0.69141, 0, 0, 0.55231],
        "75": [0, 0.69141, 0, 0, 0.66845],
        "76": [0, 0.69141, 0, 0, 0.66602],
        "77": [0, 0.69141, 0, 0, 1.04953],
        "78": [0, 0.69141, 0, 0, 0.83212],
        "79": [0, 0.69141, 0, 0, 0.82699],
        "80": [0.18906, 0.69141, 0, 0, 0.82753],
        "81": [0.03781, 0.69141, 0, 0, 0.82699],
        "82": [0, 0.69141, 0, 0, 0.82807],
        "83": [0, 0.69141, 0, 0, 0.82861],
        "84": [0, 0.69141, 0, 0, 0.66899],
        "85": [0, 0.69141, 0, 0, 0.64576],
        "86": [0, 0.69141, 0, 0, 0.83131],
        "87": [0, 0.69141, 0, 0, 1.04602],
        "88": [0, 0.69141, 0, 0, 0.71922],
        "89": [0.18906, 0.69141, 0, 0, 0.83293],
        "90": [0.12604, 0.69141, 0, 0, 0.60201],
        "91": [0.24982, 0.74947, 0, 0, 0.27764],
        "93": [0.24982, 0.74947, 0, 0, 0.27764],
        "94": [0, 0.69141, 0, 0, 0.49965],
        "97": [0, 0.47534, 0, 0, 0.50046],
        "98": [0, 0.69141, 0, 0, 0.51315],
        "99": [0, 0.47534, 0, 0, 0.38946],
        "100": [0, 0.62119, 0, 0, 0.49857],
        "101": [0, 0.47534, 0, 0, 0.40053],
        "102": [0.18906, 0.69141, 0, 0, 0.32626],
        "103": [0.18906, 0.47534, 0, 0, 0.5037],
        "104": [0.18906, 0.69141, 0, 0, 0.52126],
        "105": [0, 0.69141, 0, 0, 0.27899],
        "106": [0, 0.69141, 0, 0, 0.28088],
        "107": [0, 0.69141, 0, 0, 0.38946],
        "108": [0, 0.69141, 0, 0, 0.27953],
        "109": [0, 0.47534, 0, 0, 0.76676],
        "110": [0, 0.47534, 0, 0, 0.52666],
        "111": [0, 0.47534, 0, 0, 0.48885],
        "112": [0.18906, 0.52396, 0, 0, 0.50046],
        "113": [0.18906, 0.47534, 0, 0, 0.48912],
        "114": [0, 0.47534, 0, 0, 0.38919],
        "115": [0, 0.47534, 0, 0, 0.44266],
        "116": [0, 0.62119, 0, 0, 0.33301],
        "117": [0, 0.47534, 0, 0, 0.5172],
        "118": [0, 0.52396, 0, 0, 0.5118],
        "119": [0, 0.52396, 0, 0, 0.77351],
        "120": [0.18906, 0.47534, 0, 0, 0.38865],
        "121": [0.18906, 0.47534, 0, 0, 0.49884],
        "122": [0.18906, 0.47534, 0, 0, 0.39054],
        "8216": [0, 0.69141, 0, 0, 0.21471],
        "8217": [0, 0.69141, 0, 0, 0.21471],
        "58112": [0, 0.62119, 0, 0, 0.49749],
        "58113": [0, 0.62119, 0, 0, 0.4983],
        "58114": [0.18906, 0.69141, 0, 0, 0.33328],
        "58115": [0.18906, 0.69141, 0, 0, 0.32923],
        "58116": [0.18906, 0.47534, 0, 0, 0.50343],
        "58117": [0, 0.69141, 0, 0, 0.33301],
        "58118": [0, 0.62119, 0, 0, 0.33409],
        "58119": [0, 0.47534, 0, 0, 0.50073]
      },
      "Main-Bold": {
        "33": [0, 0.69444, 0, 0, 0.35],
        "34": [0, 0.69444, 0, 0, 0.60278],
        "35": [0.19444, 0.69444, 0, 0, 0.95833],
        "36": [0.05556, 0.75, 0, 0, 0.575],
        "37": [0.05556, 0.75, 0, 0, 0.95833],
        "38": [0, 0.69444, 0, 0, 0.89444],
        "39": [0, 0.69444, 0, 0, 0.31944],
        "40": [0.25, 0.75, 0, 0, 0.44722],
        "41": [0.25, 0.75, 0, 0, 0.44722],
        "42": [0, 0.75, 0, 0, 0.575],
        "43": [0.13333, 0.63333, 0, 0, 0.89444],
        "44": [0.19444, 0.15556, 0, 0, 0.31944],
        "45": [0, 0.44444, 0, 0, 0.38333],
        "46": [0, 0.15556, 0, 0, 0.31944],
        "47": [0.25, 0.75, 0, 0, 0.575],
        "48": [0, 0.64444, 0, 0, 0.575],
        "49": [0, 0.64444, 0, 0, 0.575],
        "50": [0, 0.64444, 0, 0, 0.575],
        "51": [0, 0.64444, 0, 0, 0.575],
        "52": [0, 0.64444, 0, 0, 0.575],
        "53": [0, 0.64444, 0, 0, 0.575],
        "54": [0, 0.64444, 0, 0, 0.575],
        "55": [0, 0.64444, 0, 0, 0.575],
        "56": [0, 0.64444, 0, 0, 0.575],
        "57": [0, 0.64444, 0, 0, 0.575],
        "58": [0, 0.44444, 0, 0, 0.31944],
        "59": [0.19444, 0.44444, 0, 0, 0.31944],
        "60": [0.08556, 0.58556, 0, 0, 0.89444],
        "61": [-0.10889, 0.39111, 0, 0, 0.89444],
        "62": [0.08556, 0.58556, 0, 0, 0.89444],
        "63": [0, 0.69444, 0, 0, 0.54305],
        "64": [0, 0.69444, 0, 0, 0.89444],
        "65": [0, 0.68611, 0, 0, 0.86944],
        "66": [0, 0.68611, 0, 0, 0.81805],
        "67": [0, 0.68611, 0, 0, 0.83055],
        "68": [0, 0.68611, 0, 0, 0.88194],
        "69": [0, 0.68611, 0, 0, 0.75555],
        "70": [0, 0.68611, 0, 0, 0.72361],
        "71": [0, 0.68611, 0, 0, 0.90416],
        "72": [0, 0.68611, 0, 0, 0.9],
        "73": [0, 0.68611, 0, 0, 0.43611],
        "74": [0, 0.68611, 0, 0, 0.59444],
        "75": [0, 0.68611, 0, 0, 0.90138],
        "76": [0, 0.68611, 0, 0, 0.69166],
        "77": [0, 0.68611, 0, 0, 1.09166],
        "78": [0, 0.68611, 0, 0, 0.9],
        "79": [0, 0.68611, 0, 0, 0.86388],
        "80": [0, 0.68611, 0, 0, 0.78611],
        "81": [0.19444, 0.68611, 0, 0, 0.86388],
        "82": [0, 0.68611, 0, 0, 0.8625],
        "83": [0, 0.68611, 0, 0, 0.63889],
        "84": [0, 0.68611, 0, 0, 0.8],
        "85": [0, 0.68611, 0, 0, 0.88472],
        "86": [0, 0.68611, 0.01597, 0, 0.86944],
        "87": [0, 0.68611, 0.01597, 0, 1.18888],
        "88": [0, 0.68611, 0, 0, 0.86944],
        "89": [0, 0.68611, 0.02875, 0, 0.86944],
        "90": [0, 0.68611, 0, 0, 0.70277],
        "91": [0.25, 0.75, 0, 0, 0.31944],
        "92": [0.25, 0.75, 0, 0, 0.575],
        "93": [0.25, 0.75, 0, 0, 0.31944],
        "94": [0, 0.69444, 0, 0, 0.575],
        "95": [0.31, 0.13444, 0.03194, 0, 0.575],
        "97": [0, 0.44444, 0, 0, 0.55902],
        "98": [0, 0.69444, 0, 0, 0.63889],
        "99": [0, 0.44444, 0, 0, 0.51111],
        "100": [0, 0.69444, 0, 0, 0.63889],
        "101": [0, 0.44444, 0, 0, 0.52708],
        "102": [0, 0.69444, 0.10903, 0, 0.35139],
        "103": [0.19444, 0.44444, 0.01597, 0, 0.575],
        "104": [0, 0.69444, 0, 0, 0.63889],
        "105": [0, 0.69444, 0, 0, 0.31944],
        "106": [0.19444, 0.69444, 0, 0, 0.35139],
        "107": [0, 0.69444, 0, 0, 0.60694],
        "108": [0, 0.69444, 0, 0, 0.31944],
        "109": [0, 0.44444, 0, 0, 0.95833],
        "110": [0, 0.44444, 0, 0, 0.63889],
        "111": [0, 0.44444, 0, 0, 0.575],
        "112": [0.19444, 0.44444, 0, 0, 0.63889],
        "113": [0.19444, 0.44444, 0, 0, 0.60694],
        "114": [0, 0.44444, 0, 0, 0.47361],
        "115": [0, 0.44444, 0, 0, 0.45361],
        "116": [0, 0.63492, 0, 0, 0.44722],
        "117": [0, 0.44444, 0, 0, 0.63889],
        "118": [0, 0.44444, 0.01597, 0, 0.60694],
        "119": [0, 0.44444, 0.01597, 0, 0.83055],
        "120": [0, 0.44444, 0, 0, 0.60694],
        "121": [0.19444, 0.44444, 0.01597, 0, 0.60694],
        "122": [0, 0.44444, 0, 0, 0.51111],
        "123": [0.25, 0.75, 0, 0, 0.575],
        "124": [0.25, 0.75, 0, 0, 0.31944],
        "125": [0.25, 0.75, 0, 0, 0.575],
        "126": [0.35, 0.34444, 0, 0, 0.575],
        "168": [0, 0.69444, 0, 0, 0.575],
        "172": [0, 0.44444, 0, 0, 0.76666],
        "176": [0, 0.69444, 0, 0, 0.86944],
        "177": [0.13333, 0.63333, 0, 0, 0.89444],
        "184": [0.17014, 0, 0, 0, 0.51111],
        "198": [0, 0.68611, 0, 0, 1.04166],
        "215": [0.13333, 0.63333, 0, 0, 0.89444],
        "216": [0.04861, 0.73472, 0, 0, 0.89444],
        "223": [0, 0.69444, 0, 0, 0.59722],
        "230": [0, 0.44444, 0, 0, 0.83055],
        "247": [0.13333, 0.63333, 0, 0, 0.89444],
        "248": [0.09722, 0.54167, 0, 0, 0.575],
        "305": [0, 0.44444, 0, 0, 0.31944],
        "338": [0, 0.68611, 0, 0, 1.16944],
        "339": [0, 0.44444, 0, 0, 0.89444],
        "567": [0.19444, 0.44444, 0, 0, 0.35139],
        "710": [0, 0.69444, 0, 0, 0.575],
        "711": [0, 0.63194, 0, 0, 0.575],
        "713": [0, 0.59611, 0, 0, 0.575],
        "714": [0, 0.69444, 0, 0, 0.575],
        "715": [0, 0.69444, 0, 0, 0.575],
        "728": [0, 0.69444, 0, 0, 0.575],
        "729": [0, 0.69444, 0, 0, 0.31944],
        "730": [0, 0.69444, 0, 0, 0.86944],
        "732": [0, 0.69444, 0, 0, 0.575],
        "733": [0, 0.69444, 0, 0, 0.575],
        "915": [0, 0.68611, 0, 0, 0.69166],
        "916": [0, 0.68611, 0, 0, 0.95833],
        "920": [0, 0.68611, 0, 0, 0.89444],
        "923": [0, 0.68611, 0, 0, 0.80555],
        "926": [0, 0.68611, 0, 0, 0.76666],
        "928": [0, 0.68611, 0, 0, 0.9],
        "931": [0, 0.68611, 0, 0, 0.83055],
        "933": [0, 0.68611, 0, 0, 0.89444],
        "934": [0, 0.68611, 0, 0, 0.83055],
        "936": [0, 0.68611, 0, 0, 0.89444],
        "937": [0, 0.68611, 0, 0, 0.83055],
        "8211": [0, 0.44444, 0.03194, 0, 0.575],
        "8212": [0, 0.44444, 0.03194, 0, 1.14999],
        "8216": [0, 0.69444, 0, 0, 0.31944],
        "8217": [0, 0.69444, 0, 0, 0.31944],
        "8220": [0, 0.69444, 0, 0, 0.60278],
        "8221": [0, 0.69444, 0, 0, 0.60278],
        "8224": [0.19444, 0.69444, 0, 0, 0.51111],
        "8225": [0.19444, 0.69444, 0, 0, 0.51111],
        "8242": [0, 0.55556, 0, 0, 0.34444],
        "8407": [0, 0.72444, 0.15486, 0, 0.575],
        "8463": [0, 0.69444, 0, 0, 0.66759],
        "8465": [0, 0.69444, 0, 0, 0.83055],
        "8467": [0, 0.69444, 0, 0, 0.47361],
        "8472": [0.19444, 0.44444, 0, 0, 0.74027],
        "8476": [0, 0.69444, 0, 0, 0.83055],
        "8501": [0, 0.69444, 0, 0, 0.70277],
        "8592": [-0.10889, 0.39111, 0, 0, 1.14999],
        "8593": [0.19444, 0.69444, 0, 0, 0.575],
        "8594": [-0.10889, 0.39111, 0, 0, 1.14999],
        "8595": [0.19444, 0.69444, 0, 0, 0.575],
        "8596": [-0.10889, 0.39111, 0, 0, 1.14999],
        "8597": [0.25, 0.75, 0, 0, 0.575],
        "8598": [0.19444, 0.69444, 0, 0, 1.14999],
        "8599": [0.19444, 0.69444, 0, 0, 1.14999],
        "8600": [0.19444, 0.69444, 0, 0, 1.14999],
        "8601": [0.19444, 0.69444, 0, 0, 1.14999],
        "8636": [-0.10889, 0.39111, 0, 0, 1.14999],
        "8637": [-0.10889, 0.39111, 0, 0, 1.14999],
        "8640": [-0.10889, 0.39111, 0, 0, 1.14999],
        "8641": [-0.10889, 0.39111, 0, 0, 1.14999],
        "8656": [-0.10889, 0.39111, 0, 0, 1.14999],
        "8657": [0.19444, 0.69444, 0, 0, 0.70277],
        "8658": [-0.10889, 0.39111, 0, 0, 1.14999],
        "8659": [0.19444, 0.69444, 0, 0, 0.70277],
        "8660": [-0.10889, 0.39111, 0, 0, 1.14999],
        "8661": [0.25, 0.75, 0, 0, 0.70277],
        "8704": [0, 0.69444, 0, 0, 0.63889],
        "8706": [0, 0.69444, 0.06389, 0, 0.62847],
        "8707": [0, 0.69444, 0, 0, 0.63889],
        "8709": [0.05556, 0.75, 0, 0, 0.575],
        "8711": [0, 0.68611, 0, 0, 0.95833],
        "8712": [0.08556, 0.58556, 0, 0, 0.76666],
        "8715": [0.08556, 0.58556, 0, 0, 0.76666],
        "8722": [0.13333, 0.63333, 0, 0, 0.89444],
        "8723": [0.13333, 0.63333, 0, 0, 0.89444],
        "8725": [0.25, 0.75, 0, 0, 0.575],
        "8726": [0.25, 0.75, 0, 0, 0.575],
        "8727": [-0.02778, 0.47222, 0, 0, 0.575],
        "8728": [-0.02639, 0.47361, 0, 0, 0.575],
        "8729": [-0.02639, 0.47361, 0, 0, 0.575],
        "8730": [0.18, 0.82, 0, 0, 0.95833],
        "8733": [0, 0.44444, 0, 0, 0.89444],
        "8734": [0, 0.44444, 0, 0, 1.14999],
        "8736": [0, 0.69224, 0, 0, 0.72222],
        "8739": [0.25, 0.75, 0, 0, 0.31944],
        "8741": [0.25, 0.75, 0, 0, 0.575],
        "8743": [0, 0.55556, 0, 0, 0.76666],
        "8744": [0, 0.55556, 0, 0, 0.76666],
        "8745": [0, 0.55556, 0, 0, 0.76666],
        "8746": [0, 0.55556, 0, 0, 0.76666],
        "8747": [0.19444, 0.69444, 0.12778, 0, 0.56875],
        "8764": [-0.10889, 0.39111, 0, 0, 0.89444],
        "8768": [0.19444, 0.69444, 0, 0, 0.31944],
        "8771": [0.00222, 0.50222, 0, 0, 0.89444],
        "8776": [0.02444, 0.52444, 0, 0, 0.89444],
        "8781": [0.00222, 0.50222, 0, 0, 0.89444],
        "8801": [0.00222, 0.50222, 0, 0, 0.89444],
        "8804": [0.19667, 0.69667, 0, 0, 0.89444],
        "8805": [0.19667, 0.69667, 0, 0, 0.89444],
        "8810": [0.08556, 0.58556, 0, 0, 1.14999],
        "8811": [0.08556, 0.58556, 0, 0, 1.14999],
        "8826": [0.08556, 0.58556, 0, 0, 0.89444],
        "8827": [0.08556, 0.58556, 0, 0, 0.89444],
        "8834": [0.08556, 0.58556, 0, 0, 0.89444],
        "8835": [0.08556, 0.58556, 0, 0, 0.89444],
        "8838": [0.19667, 0.69667, 0, 0, 0.89444],
        "8839": [0.19667, 0.69667, 0, 0, 0.89444],
        "8846": [0, 0.55556, 0, 0, 0.76666],
        "8849": [0.19667, 0.69667, 0, 0, 0.89444],
        "8850": [0.19667, 0.69667, 0, 0, 0.89444],
        "8851": [0, 0.55556, 0, 0, 0.76666],
        "8852": [0, 0.55556, 0, 0, 0.76666],
        "8853": [0.13333, 0.63333, 0, 0, 0.89444],
        "8854": [0.13333, 0.63333, 0, 0, 0.89444],
        "8855": [0.13333, 0.63333, 0, 0, 0.89444],
        "8856": [0.13333, 0.63333, 0, 0, 0.89444],
        "8857": [0.13333, 0.63333, 0, 0, 0.89444],
        "8866": [0, 0.69444, 0, 0, 0.70277],
        "8867": [0, 0.69444, 0, 0, 0.70277],
        "8868": [0, 0.69444, 0, 0, 0.89444],
        "8869": [0, 0.69444, 0, 0, 0.89444],
        "8900": [-0.02639, 0.47361, 0, 0, 0.575],
        "8901": [-0.02639, 0.47361, 0, 0, 0.31944],
        "8902": [-0.02778, 0.47222, 0, 0, 0.575],
        "8968": [0.25, 0.75, 0, 0, 0.51111],
        "8969": [0.25, 0.75, 0, 0, 0.51111],
        "8970": [0.25, 0.75, 0, 0, 0.51111],
        "8971": [0.25, 0.75, 0, 0, 0.51111],
        "8994": [-0.13889, 0.36111, 0, 0, 1.14999],
        "8995": [-0.13889, 0.36111, 0, 0, 1.14999],
        "9651": [0.19444, 0.69444, 0, 0, 1.02222],
        "9657": [-0.02778, 0.47222, 0, 0, 0.575],
        "9661": [0.19444, 0.69444, 0, 0, 1.02222],
        "9667": [-0.02778, 0.47222, 0, 0, 0.575],
        "9711": [0.19444, 0.69444, 0, 0, 1.14999],
        "9824": [0.12963, 0.69444, 0, 0, 0.89444],
        "9825": [0.12963, 0.69444, 0, 0, 0.89444],
        "9826": [0.12963, 0.69444, 0, 0, 0.89444],
        "9827": [0.12963, 0.69444, 0, 0, 0.89444],
        "9837": [0, 0.75, 0, 0, 0.44722],
        "9838": [0.19444, 0.69444, 0, 0, 0.44722],
        "9839": [0.19444, 0.69444, 0, 0, 0.44722],
        "10216": [0.25, 0.75, 0, 0, 0.44722],
        "10217": [0.25, 0.75, 0, 0, 0.44722],
        "10815": [0, 0.68611, 0, 0, 0.9],
        "10927": [0.19667, 0.69667, 0, 0, 0.89444],
        "10928": [0.19667, 0.69667, 0, 0, 0.89444],
        "57376": [0.19444, 0.69444, 0, 0, 0]
      },
      "Main-BoldItalic": {
        "33": [0, 0.69444, 0.11417, 0, 0.38611],
        "34": [0, 0.69444, 0.07939, 0, 0.62055],
        "35": [0.19444, 0.69444, 0.06833, 0, 0.94444],
        "37": [0.05556, 0.75, 0.12861, 0, 0.94444],
        "38": [0, 0.69444, 0.08528, 0, 0.88555],
        "39": [0, 0.69444, 0.12945, 0, 0.35555],
        "40": [0.25, 0.75, 0.15806, 0, 0.47333],
        "41": [0.25, 0.75, 0.03306, 0, 0.47333],
        "42": [0, 0.75, 0.14333, 0, 0.59111],
        "43": [0.10333, 0.60333, 0.03306, 0, 0.88555],
        "44": [0.19444, 0.14722, 0, 0, 0.35555],
        "45": [0, 0.44444, 0.02611, 0, 0.41444],
        "46": [0, 0.14722, 0, 0, 0.35555],
        "47": [0.25, 0.75, 0.15806, 0, 0.59111],
        "48": [0, 0.64444, 0.13167, 0, 0.59111],
        "49": [0, 0.64444, 0.13167, 0, 0.59111],
        "50": [0, 0.64444, 0.13167, 0, 0.59111],
        "51": [0, 0.64444, 0.13167, 0, 0.59111],
        "52": [0.19444, 0.64444, 0.13167, 0, 0.59111],
        "53": [0, 0.64444, 0.13167, 0, 0.59111],
        "54": [0, 0.64444, 0.13167, 0, 0.59111],
        "55": [0.19444, 0.64444, 0.13167, 0, 0.59111],
        "56": [0, 0.64444, 0.13167, 0, 0.59111],
        "57": [0, 0.64444, 0.13167, 0, 0.59111],
        "58": [0, 0.44444, 0.06695, 0, 0.35555],
        "59": [0.19444, 0.44444, 0.06695, 0, 0.35555],
        "61": [-0.10889, 0.39111, 0.06833, 0, 0.88555],
        "63": [0, 0.69444, 0.11472, 0, 0.59111],
        "64": [0, 0.69444, 0.09208, 0, 0.88555],
        "65": [0, 0.68611, 0, 0, 0.86555],
        "66": [0, 0.68611, 0.0992, 0, 0.81666],
        "67": [0, 0.68611, 0.14208, 0, 0.82666],
        "68": [0, 0.68611, 0.09062, 0, 0.87555],
        "69": [0, 0.68611, 0.11431, 0, 0.75666],
        "70": [0, 0.68611, 0.12903, 0, 0.72722],
        "71": [0, 0.68611, 0.07347, 0, 0.89527],
        "72": [0, 0.68611, 0.17208, 0, 0.8961],
        "73": [0, 0.68611, 0.15681, 0, 0.47166],
        "74": [0, 0.68611, 0.145, 0, 0.61055],
        "75": [0, 0.68611, 0.14208, 0, 0.89499],
        "76": [0, 0.68611, 0, 0, 0.69777],
        "77": [0, 0.68611, 0.17208, 0, 1.07277],
        "78": [0, 0.68611, 0.17208, 0, 0.8961],
        "79": [0, 0.68611, 0.09062, 0, 0.85499],
        "80": [0, 0.68611, 0.0992, 0, 0.78721],
        "81": [0.19444, 0.68611, 0.09062, 0, 0.85499],
        "82": [0, 0.68611, 0.02559, 0, 0.85944],
        "83": [0, 0.68611, 0.11264, 0, 0.64999],
        "84": [0, 0.68611, 0.12903, 0, 0.7961],
        "85": [0, 0.68611, 0.17208, 0, 0.88083],
        "86": [0, 0.68611, 0.18625, 0, 0.86555],
        "87": [0, 0.68611, 0.18625, 0, 1.15999],
        "88": [0, 0.68611, 0.15681, 0, 0.86555],
        "89": [0, 0.68611, 0.19803, 0, 0.86555],
        "90": [0, 0.68611, 0.14208, 0, 0.70888],
        "91": [0.25, 0.75, 0.1875, 0, 0.35611],
        "93": [0.25, 0.75, 0.09972, 0, 0.35611],
        "94": [0, 0.69444, 0.06709, 0, 0.59111],
        "95": [0.31, 0.13444, 0.09811, 0, 0.59111],
        "97": [0, 0.44444, 0.09426, 0, 0.59111],
        "98": [0, 0.69444, 0.07861, 0, 0.53222],
        "99": [0, 0.44444, 0.05222, 0, 0.53222],
        "100": [0, 0.69444, 0.10861, 0, 0.59111],
        "101": [0, 0.44444, 0.085, 0, 0.53222],
        "102": [0.19444, 0.69444, 0.21778, 0, 0.4],
        "103": [0.19444, 0.44444, 0.105, 0, 0.53222],
        "104": [0, 0.69444, 0.09426, 0, 0.59111],
        "105": [0, 0.69326, 0.11387, 0, 0.35555],
        "106": [0.19444, 0.69326, 0.1672, 0, 0.35555],
        "107": [0, 0.69444, 0.11111, 0, 0.53222],
        "108": [0, 0.69444, 0.10861, 0, 0.29666],
        "109": [0, 0.44444, 0.09426, 0, 0.94444],
        "110": [0, 0.44444, 0.09426, 0, 0.64999],
        "111": [0, 0.44444, 0.07861, 0, 0.59111],
        "112": [0.19444, 0.44444, 0.07861, 0, 0.59111],
        "113": [0.19444, 0.44444, 0.105, 0, 0.53222],
        "114": [0, 0.44444, 0.11111, 0, 0.50167],
        "115": [0, 0.44444, 0.08167, 0, 0.48694],
        "116": [0, 0.63492, 0.09639, 0, 0.385],
        "117": [0, 0.44444, 0.09426, 0, 0.62055],
        "118": [0, 0.44444, 0.11111, 0, 0.53222],
        "119": [0, 0.44444, 0.11111, 0, 0.76777],
        "120": [0, 0.44444, 0.12583, 0, 0.56055],
        "121": [0.19444, 0.44444, 0.105, 0, 0.56166],
        "122": [0, 0.44444, 0.13889, 0, 0.49055],
        "126": [0.35, 0.34444, 0.11472, 0, 0.59111],
        "163": [0, 0.69444, 0, 0, 0.86853],
        "168": [0, 0.69444, 0.11473, 0, 0.59111],
        "176": [0, 0.69444, 0, 0, 0.94888],
        "184": [0.17014, 0, 0, 0, 0.53222],
        "198": [0, 0.68611, 0.11431, 0, 1.02277],
        "216": [0.04861, 0.73472, 0.09062, 0, 0.88555],
        "223": [0.19444, 0.69444, 0.09736, 0, 0.665],
        "230": [0, 0.44444, 0.085, 0, 0.82666],
        "248": [0.09722, 0.54167, 0.09458, 0, 0.59111],
        "305": [0, 0.44444, 0.09426, 0, 0.35555],
        "338": [0, 0.68611, 0.11431, 0, 1.14054],
        "339": [0, 0.44444, 0.085, 0, 0.82666],
        "567": [0.19444, 0.44444, 0.04611, 0, 0.385],
        "710": [0, 0.69444, 0.06709, 0, 0.59111],
        "711": [0, 0.63194, 0.08271, 0, 0.59111],
        "713": [0, 0.59444, 0.10444, 0, 0.59111],
        "714": [0, 0.69444, 0.08528, 0, 0.59111],
        "715": [0, 0.69444, 0, 0, 0.59111],
        "728": [0, 0.69444, 0.10333, 0, 0.59111],
        "729": [0, 0.69444, 0.12945, 0, 0.35555],
        "730": [0, 0.69444, 0, 0, 0.94888],
        "732": [0, 0.69444, 0.11472, 0, 0.59111],
        "733": [0, 0.69444, 0.11472, 0, 0.59111],
        "915": [0, 0.68611, 0.12903, 0, 0.69777],
        "916": [0, 0.68611, 0, 0, 0.94444],
        "920": [0, 0.68611, 0.09062, 0, 0.88555],
        "923": [0, 0.68611, 0, 0, 0.80666],
        "926": [0, 0.68611, 0.15092, 0, 0.76777],
        "928": [0, 0.68611, 0.17208, 0, 0.8961],
        "931": [0, 0.68611, 0.11431, 0, 0.82666],
        "933": [0, 0.68611, 0.10778, 0, 0.88555],
        "934": [0, 0.68611, 0.05632, 0, 0.82666],
        "936": [0, 0.68611, 0.10778, 0, 0.88555],
        "937": [0, 0.68611, 0.0992, 0, 0.82666],
        "8211": [0, 0.44444, 0.09811, 0, 0.59111],
        "8212": [0, 0.44444, 0.09811, 0, 1.18221],
        "8216": [0, 0.69444, 0.12945, 0, 0.35555],
        "8217": [0, 0.69444, 0.12945, 0, 0.35555],
        "8220": [0, 0.69444, 0.16772, 0, 0.62055],
        "8221": [0, 0.69444, 0.07939, 0, 0.62055]
      },
      "Main-Italic": {
        "33": [0, 0.69444, 0.12417, 0, 0.30667],
        "34": [0, 0.69444, 0.06961, 0, 0.51444],
        "35": [0.19444, 0.69444, 0.06616, 0, 0.81777],
        "37": [0.05556, 0.75, 0.13639, 0, 0.81777],
        "38": [0, 0.69444, 0.09694, 0, 0.76666],
        "39": [0, 0.69444, 0.12417, 0, 0.30667],
        "40": [0.25, 0.75, 0.16194, 0, 0.40889],
        "41": [0.25, 0.75, 0.03694, 0, 0.40889],
        "42": [0, 0.75, 0.14917, 0, 0.51111],
        "43": [0.05667, 0.56167, 0.03694, 0, 0.76666],
        "44": [0.19444, 0.10556, 0, 0, 0.30667],
        "45": [0, 0.43056, 0.02826, 0, 0.35778],
        "46": [0, 0.10556, 0, 0, 0.30667],
        "47": [0.25, 0.75, 0.16194, 0, 0.51111],
        "48": [0, 0.64444, 0.13556, 0, 0.51111],
        "49": [0, 0.64444, 0.13556, 0, 0.51111],
        "50": [0, 0.64444, 0.13556, 0, 0.51111],
        "51": [0, 0.64444, 0.13556, 0, 0.51111],
        "52": [0.19444, 0.64444, 0.13556, 0, 0.51111],
        "53": [0, 0.64444, 0.13556, 0, 0.51111],
        "54": [0, 0.64444, 0.13556, 0, 0.51111],
        "55": [0.19444, 0.64444, 0.13556, 0, 0.51111],
        "56": [0, 0.64444, 0.13556, 0, 0.51111],
        "57": [0, 0.64444, 0.13556, 0, 0.51111],
        "58": [0, 0.43056, 0.0582, 0, 0.30667],
        "59": [0.19444, 0.43056, 0.0582, 0, 0.30667],
        "61": [-0.13313, 0.36687, 0.06616, 0, 0.76666],
        "63": [0, 0.69444, 0.1225, 0, 0.51111],
        "64": [0, 0.69444, 0.09597, 0, 0.76666],
        "65": [0, 0.68333, 0, 0, 0.74333],
        "66": [0, 0.68333, 0.10257, 0, 0.70389],
        "67": [0, 0.68333, 0.14528, 0, 0.71555],
        "68": [0, 0.68333, 0.09403, 0, 0.755],
        "69": [0, 0.68333, 0.12028, 0, 0.67833],
        "70": [0, 0.68333, 0.13305, 0, 0.65277],
        "71": [0, 0.68333, 0.08722, 0, 0.77361],
        "72": [0, 0.68333, 0.16389, 0, 0.74333],
        "73": [0, 0.68333, 0.15806, 0, 0.38555],
        "74": [0, 0.68333, 0.14028, 0, 0.525],
        "75": [0, 0.68333, 0.14528, 0, 0.76888],
        "76": [0, 0.68333, 0, 0, 0.62722],
        "77": [0, 0.68333, 0.16389, 0, 0.89666],
        "78": [0, 0.68333, 0.16389, 0, 0.74333],
        "79": [0, 0.68333, 0.09403, 0, 0.76666],
        "80": [0, 0.68333, 0.10257, 0, 0.67833],
        "81": [0.19444, 0.68333, 0.09403, 0, 0.76666],
        "82": [0, 0.68333, 0.03868, 0, 0.72944],
        "83": [0, 0.68333, 0.11972, 0, 0.56222],
        "84": [0, 0.68333, 0.13305, 0, 0.71555],
        "85": [0, 0.68333, 0.16389, 0, 0.74333],
        "86": [0, 0.68333, 0.18361, 0, 0.74333],
        "87": [0, 0.68333, 0.18361, 0, 0.99888],
        "88": [0, 0.68333, 0.15806, 0, 0.74333],
        "89": [0, 0.68333, 0.19383, 0, 0.74333],
        "90": [0, 0.68333, 0.14528, 0, 0.61333],
        "91": [0.25, 0.75, 0.1875, 0, 0.30667],
        "93": [0.25, 0.75, 0.10528, 0, 0.30667],
        "94": [0, 0.69444, 0.06646, 0, 0.51111],
        "95": [0.31, 0.12056, 0.09208, 0, 0.51111],
        "97": [0, 0.43056, 0.07671, 0, 0.51111],
        "98": [0, 0.69444, 0.06312, 0, 0.46],
        "99": [0, 0.43056, 0.05653, 0, 0.46],
        "100": [0, 0.69444, 0.10333, 0, 0.51111],
        "101": [0, 0.43056, 0.07514, 0, 0.46],
        "102": [0.19444, 0.69444, 0.21194, 0, 0.30667],
        "103": [0.19444, 0.43056, 0.08847, 0, 0.46],
        "104": [0, 0.69444, 0.07671, 0, 0.51111],
        "105": [0, 0.65536, 0.1019, 0, 0.30667],
        "106": [0.19444, 0.65536, 0.14467, 0, 0.30667],
        "107": [0, 0.69444, 0.10764, 0, 0.46],
        "108": [0, 0.69444, 0.10333, 0, 0.25555],
        "109": [0, 0.43056, 0.07671, 0, 0.81777],
        "110": [0, 0.43056, 0.07671, 0, 0.56222],
        "111": [0, 0.43056, 0.06312, 0, 0.51111],
        "112": [0.19444, 0.43056, 0.06312, 0, 0.51111],
        "113": [0.19444, 0.43056, 0.08847, 0, 0.46],
        "114": [0, 0.43056, 0.10764, 0, 0.42166],
        "115": [0, 0.43056, 0.08208, 0, 0.40889],
        "116": [0, 0.61508, 0.09486, 0, 0.33222],
        "117": [0, 0.43056, 0.07671, 0, 0.53666],
        "118": [0, 0.43056, 0.10764, 0, 0.46],
        "119": [0, 0.43056, 0.10764, 0, 0.66444],
        "120": [0, 0.43056, 0.12042, 0, 0.46389],
        "121": [0.19444, 0.43056, 0.08847, 0, 0.48555],
        "122": [0, 0.43056, 0.12292, 0, 0.40889],
        "126": [0.35, 0.31786, 0.11585, 0, 0.51111],
        "163": [0, 0.69444, 0, 0, 0.76909],
        "168": [0, 0.66786, 0.10474, 0, 0.51111],
        "176": [0, 0.69444, 0, 0, 0.83129],
        "184": [0.17014, 0, 0, 0, 0.46],
        "198": [0, 0.68333, 0.12028, 0, 0.88277],
        "216": [0.04861, 0.73194, 0.09403, 0, 0.76666],
        "223": [0.19444, 0.69444, 0.10514, 0, 0.53666],
        "230": [0, 0.43056, 0.07514, 0, 0.71555],
        "248": [0.09722, 0.52778, 0.09194, 0, 0.51111],
        "305": [0, 0.43056, 0, 0.02778, 0.32246],
        "338": [0, 0.68333, 0.12028, 0, 0.98499],
        "339": [0, 0.43056, 0.07514, 0, 0.71555],
        "567": [0.19444, 0.43056, 0, 0.08334, 0.38403],
        "710": [0, 0.69444, 0.06646, 0, 0.51111],
        "711": [0, 0.62847, 0.08295, 0, 0.51111],
        "713": [0, 0.56167, 0.10333, 0, 0.51111],
        "714": [0, 0.69444, 0.09694, 0, 0.51111],
        "715": [0, 0.69444, 0, 0, 0.51111],
        "728": [0, 0.69444, 0.10806, 0, 0.51111],
        "729": [0, 0.66786, 0.11752, 0, 0.30667],
        "730": [0, 0.69444, 0, 0, 0.83129],
        "732": [0, 0.66786, 0.11585, 0, 0.51111],
        "733": [0, 0.69444, 0.1225, 0, 0.51111],
        "915": [0, 0.68333, 0.13305, 0, 0.62722],
        "916": [0, 0.68333, 0, 0, 0.81777],
        "920": [0, 0.68333, 0.09403, 0, 0.76666],
        "923": [0, 0.68333, 0, 0, 0.69222],
        "926": [0, 0.68333, 0.15294, 0, 0.66444],
        "928": [0, 0.68333, 0.16389, 0, 0.74333],
        "931": [0, 0.68333, 0.12028, 0, 0.71555],
        "933": [0, 0.68333, 0.11111, 0, 0.76666],
        "934": [0, 0.68333, 0.05986, 0, 0.71555],
        "936": [0, 0.68333, 0.11111, 0, 0.76666],
        "937": [0, 0.68333, 0.10257, 0, 0.71555],
        "8211": [0, 0.43056, 0.09208, 0, 0.51111],
        "8212": [0, 0.43056, 0.09208, 0, 1.02222],
        "8216": [0, 0.69444, 0.12417, 0, 0.30667],
        "8217": [0, 0.69444, 0.12417, 0, 0.30667],
        "8220": [0, 0.69444, 0.1685, 0, 0.51444],
        "8221": [0, 0.69444, 0.06961, 0, 0.51444],
        "8463": [0, 0.68889, 0, 0, 0.54028]
      },
      "Main-Regular": {
        "32": [0, 0, 0, 0, 0.25],
        "33": [0, 0.69444, 0, 0, 0.27778],
        "34": [0, 0.69444, 0, 0, 0.5],
        "35": [0.19444, 0.69444, 0, 0, 0.83334],
        "36": [0.05556, 0.75, 0, 0, 0.5],
        "37": [0.05556, 0.75, 0, 0, 0.83334],
        "38": [0, 0.69444, 0, 0, 0.77778],
        "39": [0, 0.69444, 0, 0, 0.27778],
        "40": [0.25, 0.75, 0, 0, 0.38889],
        "41": [0.25, 0.75, 0, 0, 0.38889],
        "42": [0, 0.75, 0, 0, 0.5],
        "43": [0.08333, 0.58333, 0, 0, 0.77778],
        "44": [0.19444, 0.10556, 0, 0, 0.27778],
        "45": [0, 0.43056, 0, 0, 0.33333],
        "46": [0, 0.10556, 0, 0, 0.27778],
        "47": [0.25, 0.75, 0, 0, 0.5],
        "48": [0, 0.64444, 0, 0, 0.5],
        "49": [0, 0.64444, 0, 0, 0.5],
        "50": [0, 0.64444, 0, 0, 0.5],
        "51": [0, 0.64444, 0, 0, 0.5],
        "52": [0, 0.64444, 0, 0, 0.5],
        "53": [0, 0.64444, 0, 0, 0.5],
        "54": [0, 0.64444, 0, 0, 0.5],
        "55": [0, 0.64444, 0, 0, 0.5],
        "56": [0, 0.64444, 0, 0, 0.5],
        "57": [0, 0.64444, 0, 0, 0.5],
        "58": [0, 0.43056, 0, 0, 0.27778],
        "59": [0.19444, 0.43056, 0, 0, 0.27778],
        "60": [0.0391, 0.5391, 0, 0, 0.77778],
        "61": [-0.13313, 0.36687, 0, 0, 0.77778],
        "62": [0.0391, 0.5391, 0, 0, 0.77778],
        "63": [0, 0.69444, 0, 0, 0.47222],
        "64": [0, 0.69444, 0, 0, 0.77778],
        "65": [0, 0.68333, 0, 0, 0.75],
        "66": [0, 0.68333, 0, 0, 0.70834],
        "67": [0, 0.68333, 0, 0, 0.72222],
        "68": [0, 0.68333, 0, 0, 0.76389],
        "69": [0, 0.68333, 0, 0, 0.68056],
        "70": [0, 0.68333, 0, 0, 0.65278],
        "71": [0, 0.68333, 0, 0, 0.78472],
        "72": [0, 0.68333, 0, 0, 0.75],
        "73": [0, 0.68333, 0, 0, 0.36111],
        "74": [0, 0.68333, 0, 0, 0.51389],
        "75": [0, 0.68333, 0, 0, 0.77778],
        "76": [0, 0.68333, 0, 0, 0.625],
        "77": [0, 0.68333, 0, 0, 0.91667],
        "78": [0, 0.68333, 0, 0, 0.75],
        "79": [0, 0.68333, 0, 0, 0.77778],
        "80": [0, 0.68333, 0, 0, 0.68056],
        "81": [0.19444, 0.68333, 0, 0, 0.77778],
        "82": [0, 0.68333, 0, 0, 0.73611],
        "83": [0, 0.68333, 0, 0, 0.55556],
        "84": [0, 0.68333, 0, 0, 0.72222],
        "85": [0, 0.68333, 0, 0, 0.75],
        "86": [0, 0.68333, 0.01389, 0, 0.75],
        "87": [0, 0.68333, 0.01389, 0, 1.02778],
        "88": [0, 0.68333, 0, 0, 0.75],
        "89": [0, 0.68333, 0.025, 0, 0.75],
        "90": [0, 0.68333, 0, 0, 0.61111],
        "91": [0.25, 0.75, 0, 0, 0.27778],
        "92": [0.25, 0.75, 0, 0, 0.5],
        "93": [0.25, 0.75, 0, 0, 0.27778],
        "94": [0, 0.69444, 0, 0, 0.5],
        "95": [0.31, 0.12056, 0.02778, 0, 0.5],
        "97": [0, 0.43056, 0, 0, 0.5],
        "98": [0, 0.69444, 0, 0, 0.55556],
        "99": [0, 0.43056, 0, 0, 0.44445],
        "100": [0, 0.69444, 0, 0, 0.55556],
        "101": [0, 0.43056, 0, 0, 0.44445],
        "102": [0, 0.69444, 0.07778, 0, 0.30556],
        "103": [0.19444, 0.43056, 0.01389, 0, 0.5],
        "104": [0, 0.69444, 0, 0, 0.55556],
        "105": [0, 0.66786, 0, 0, 0.27778],
        "106": [0.19444, 0.66786, 0, 0, 0.30556],
        "107": [0, 0.69444, 0, 0, 0.52778],
        "108": [0, 0.69444, 0, 0, 0.27778],
        "109": [0, 0.43056, 0, 0, 0.83334],
        "110": [0, 0.43056, 0, 0, 0.55556],
        "111": [0, 0.43056, 0, 0, 0.5],
        "112": [0.19444, 0.43056, 0, 0, 0.55556],
        "113": [0.19444, 0.43056, 0, 0, 0.52778],
        "114": [0, 0.43056, 0, 0, 0.39167],
        "115": [0, 0.43056, 0, 0, 0.39445],
        "116": [0, 0.61508, 0, 0, 0.38889],
        "117": [0, 0.43056, 0, 0, 0.55556],
        "118": [0, 0.43056, 0.01389, 0, 0.52778],
        "119": [0, 0.43056, 0.01389, 0, 0.72222],
        "120": [0, 0.43056, 0, 0, 0.52778],
        "121": [0.19444, 0.43056, 0.01389, 0, 0.52778],
        "122": [0, 0.43056, 0, 0, 0.44445],
        "123": [0.25, 0.75, 0, 0, 0.5],
        "124": [0.25, 0.75, 0, 0, 0.27778],
        "125": [0.25, 0.75, 0, 0, 0.5],
        "126": [0.35, 0.31786, 0, 0, 0.5],
        "160": [0, 0, 0, 0, 0.25],
        "167": [0.19444, 0.69444, 0, 0, 0.44445],
        "168": [0, 0.66786, 0, 0, 0.5],
        "172": [0, 0.43056, 0, 0, 0.66667],
        "176": [0, 0.69444, 0, 0, 0.75],
        "177": [0.08333, 0.58333, 0, 0, 0.77778],
        "182": [0.19444, 0.69444, 0, 0, 0.61111],
        "184": [0.17014, 0, 0, 0, 0.44445],
        "198": [0, 0.68333, 0, 0, 0.90278],
        "215": [0.08333, 0.58333, 0, 0, 0.77778],
        "216": [0.04861, 0.73194, 0, 0, 0.77778],
        "223": [0, 0.69444, 0, 0, 0.5],
        "230": [0, 0.43056, 0, 0, 0.72222],
        "247": [0.08333, 0.58333, 0, 0, 0.77778],
        "248": [0.09722, 0.52778, 0, 0, 0.5],
        "305": [0, 0.43056, 0, 0, 0.27778],
        "338": [0, 0.68333, 0, 0, 1.01389],
        "339": [0, 0.43056, 0, 0, 0.77778],
        "567": [0.19444, 0.43056, 0, 0, 0.30556],
        "710": [0, 0.69444, 0, 0, 0.5],
        "711": [0, 0.62847, 0, 0, 0.5],
        "713": [0, 0.56778, 0, 0, 0.5],
        "714": [0, 0.69444, 0, 0, 0.5],
        "715": [0, 0.69444, 0, 0, 0.5],
        "728": [0, 0.69444, 0, 0, 0.5],
        "729": [0, 0.66786, 0, 0, 0.27778],
        "730": [0, 0.69444, 0, 0, 0.75],
        "732": [0, 0.66786, 0, 0, 0.5],
        "733": [0, 0.69444, 0, 0, 0.5],
        "915": [0, 0.68333, 0, 0, 0.625],
        "916": [0, 0.68333, 0, 0, 0.83334],
        "920": [0, 0.68333, 0, 0, 0.77778],
        "923": [0, 0.68333, 0, 0, 0.69445],
        "926": [0, 0.68333, 0, 0, 0.66667],
        "928": [0, 0.68333, 0, 0, 0.75],
        "931": [0, 0.68333, 0, 0, 0.72222],
        "933": [0, 0.68333, 0, 0, 0.77778],
        "934": [0, 0.68333, 0, 0, 0.72222],
        "936": [0, 0.68333, 0, 0, 0.77778],
        "937": [0, 0.68333, 0, 0, 0.72222],
        "8211": [0, 0.43056, 0.02778, 0, 0.5],
        "8212": [0, 0.43056, 0.02778, 0, 1.0],
        "8216": [0, 0.69444, 0, 0, 0.27778],
        "8217": [0, 0.69444, 0, 0, 0.27778],
        "8220": [0, 0.69444, 0, 0, 0.5],
        "8221": [0, 0.69444, 0, 0, 0.5],
        "8224": [0.19444, 0.69444, 0, 0, 0.44445],
        "8225": [0.19444, 0.69444, 0, 0, 0.44445],
        "8230": [0, 0.12, 0, 0, 1.172],
        "8242": [0, 0.55556, 0, 0, 0.275],
        "8407": [0, 0.71444, 0.15382, 0, 0.5],
        "8463": [0, 0.68889, 0, 0, 0.54028],
        "8465": [0, 0.69444, 0, 0, 0.72222],
        "8467": [0, 0.69444, 0, 0.11111, 0.41667],
        "8472": [0.19444, 0.43056, 0, 0.11111, 0.63646],
        "8476": [0, 0.69444, 0, 0, 0.72222],
        "8501": [0, 0.69444, 0, 0, 0.61111],
        "8592": [-0.13313, 0.36687, 0, 0, 1.0],
        "8593": [0.19444, 0.69444, 0, 0, 0.5],
        "8594": [-0.13313, 0.36687, 0, 0, 1.0],
        "8595": [0.19444, 0.69444, 0, 0, 0.5],
        "8596": [-0.13313, 0.36687, 0, 0, 1.0],
        "8597": [0.25, 0.75, 0, 0, 0.5],
        "8598": [0.19444, 0.69444, 0, 0, 1.0],
        "8599": [0.19444, 0.69444, 0, 0, 1.0],
        "8600": [0.19444, 0.69444, 0, 0, 1.0],
        "8601": [0.19444, 0.69444, 0, 0, 1.0],
        "8614": [0.011, 0.511, 0, 0, 1.0],
        "8617": [0.011, 0.511, 0, 0, 1.126],
        "8618": [0.011, 0.511, 0, 0, 1.126],
        "8636": [-0.13313, 0.36687, 0, 0, 1.0],
        "8637": [-0.13313, 0.36687, 0, 0, 1.0],
        "8640": [-0.13313, 0.36687, 0, 0, 1.0],
        "8641": [-0.13313, 0.36687, 0, 0, 1.0],
        "8652": [0.011, 0.671, 0, 0, 1.0],
        "8656": [-0.13313, 0.36687, 0, 0, 1.0],
        "8657": [0.19444, 0.69444, 0, 0, 0.61111],
        "8658": [-0.13313, 0.36687, 0, 0, 1.0],
        "8659": [0.19444, 0.69444, 0, 0, 0.61111],
        "8660": [-0.13313, 0.36687, 0, 0, 1.0],
        "8661": [0.25, 0.75, 0, 0, 0.61111],
        "8704": [0, 0.69444, 0, 0, 0.55556],
        "8706": [0, 0.69444, 0.05556, 0.08334, 0.5309],
        "8707": [0, 0.69444, 0, 0, 0.55556],
        "8709": [0.05556, 0.75, 0, 0, 0.5],
        "8711": [0, 0.68333, 0, 0, 0.83334],
        "8712": [0.0391, 0.5391, 0, 0, 0.66667],
        "8715": [0.0391, 0.5391, 0, 0, 0.66667],
        "8722": [0.08333, 0.58333, 0, 0, 0.77778],
        "8723": [0.08333, 0.58333, 0, 0, 0.77778],
        "8725": [0.25, 0.75, 0, 0, 0.5],
        "8726": [0.25, 0.75, 0, 0, 0.5],
        "8727": [-0.03472, 0.46528, 0, 0, 0.5],
        "8728": [-0.05555, 0.44445, 0, 0, 0.5],
        "8729": [-0.05555, 0.44445, 0, 0, 0.5],
        "8730": [0.2, 0.8, 0, 0, 0.83334],
        "8733": [0, 0.43056, 0, 0, 0.77778],
        "8734": [0, 0.43056, 0, 0, 1.0],
        "8736": [0, 0.69224, 0, 0, 0.72222],
        "8739": [0.25, 0.75, 0, 0, 0.27778],
        "8741": [0.25, 0.75, 0, 0, 0.5],
        "8743": [0, 0.55556, 0, 0, 0.66667],
        "8744": [0, 0.55556, 0, 0, 0.66667],
        "8745": [0, 0.55556, 0, 0, 0.66667],
        "8746": [0, 0.55556, 0, 0, 0.66667],
        "8747": [0.19444, 0.69444, 0.11111, 0, 0.41667],
        "8764": [-0.13313, 0.36687, 0, 0, 0.77778],
        "8768": [0.19444, 0.69444, 0, 0, 0.27778],
        "8771": [-0.03625, 0.46375, 0, 0, 0.77778],
        "8773": [-0.022, 0.589, 0, 0, 1.0],
        "8776": [-0.01688, 0.48312, 0, 0, 0.77778],
        "8781": [-0.03625, 0.46375, 0, 0, 0.77778],
        "8784": [-0.133, 0.67, 0, 0, 0.778],
        "8801": [-0.03625, 0.46375, 0, 0, 0.77778],
        "8804": [0.13597, 0.63597, 0, 0, 0.77778],
        "8805": [0.13597, 0.63597, 0, 0, 0.77778],
        "8810": [0.0391, 0.5391, 0, 0, 1.0],
        "8811": [0.0391, 0.5391, 0, 0, 1.0],
        "8826": [0.0391, 0.5391, 0, 0, 0.77778],
        "8827": [0.0391, 0.5391, 0, 0, 0.77778],
        "8834": [0.0391, 0.5391, 0, 0, 0.77778],
        "8835": [0.0391, 0.5391, 0, 0, 0.77778],
        "8838": [0.13597, 0.63597, 0, 0, 0.77778],
        "8839": [0.13597, 0.63597, 0, 0, 0.77778],
        "8846": [0, 0.55556, 0, 0, 0.66667],
        "8849": [0.13597, 0.63597, 0, 0, 0.77778],
        "8850": [0.13597, 0.63597, 0, 0, 0.77778],
        "8851": [0, 0.55556, 0, 0, 0.66667],
        "8852": [0, 0.55556, 0, 0, 0.66667],
        "8853": [0.08333, 0.58333, 0, 0, 0.77778],
        "8854": [0.08333, 0.58333, 0, 0, 0.77778],
        "8855": [0.08333, 0.58333, 0, 0, 0.77778],
        "8856": [0.08333, 0.58333, 0, 0, 0.77778],
        "8857": [0.08333, 0.58333, 0, 0, 0.77778],
        "8866": [0, 0.69444, 0, 0, 0.61111],
        "8867": [0, 0.69444, 0, 0, 0.61111],
        "8868": [0, 0.69444, 0, 0, 0.77778],
        "8869": [0, 0.69444, 0, 0, 0.77778],
        "8872": [0.249, 0.75, 0, 0, 0.867],
        "8900": [-0.05555, 0.44445, 0, 0, 0.5],
        "8901": [-0.05555, 0.44445, 0, 0, 0.27778],
        "8902": [-0.03472, 0.46528, 0, 0, 0.5],
        "8904": [0.005, 0.505, 0, 0, 0.9],
        "8942": [0.03, 0.9, 0, 0, 0.278],
        "8943": [-0.19, 0.31, 0, 0, 1.172],
        "8945": [-0.1, 0.82, 0, 0, 1.282],
        "8968": [0.25, 0.75, 0, 0, 0.44445],
        "8969": [0.25, 0.75, 0, 0, 0.44445],
        "8970": [0.25, 0.75, 0, 0, 0.44445],
        "8971": [0.25, 0.75, 0, 0, 0.44445],
        "8994": [-0.14236, 0.35764, 0, 0, 1.0],
        "8995": [-0.14236, 0.35764, 0, 0, 1.0],
        "9136": [0.244, 0.744, 0, 0, 0.412],
        "9137": [0.244, 0.744, 0, 0, 0.412],
        "9651": [0.19444, 0.69444, 0, 0, 0.88889],
        "9657": [-0.03472, 0.46528, 0, 0, 0.5],
        "9661": [0.19444, 0.69444, 0, 0, 0.88889],
        "9667": [-0.03472, 0.46528, 0, 0, 0.5],
        "9711": [0.19444, 0.69444, 0, 0, 1.0],
        "9824": [0.12963, 0.69444, 0, 0, 0.77778],
        "9825": [0.12963, 0.69444, 0, 0, 0.77778],
        "9826": [0.12963, 0.69444, 0, 0, 0.77778],
        "9827": [0.12963, 0.69444, 0, 0, 0.77778],
        "9837": [0, 0.75, 0, 0, 0.38889],
        "9838": [0.19444, 0.69444, 0, 0, 0.38889],
        "9839": [0.19444, 0.69444, 0, 0, 0.38889],
        "10216": [0.25, 0.75, 0, 0, 0.38889],
        "10217": [0.25, 0.75, 0, 0, 0.38889],
        "10222": [0.244, 0.744, 0, 0, 0.412],
        "10223": [0.244, 0.744, 0, 0, 0.412],
        "10229": [0.011, 0.511, 0, 0, 1.609],
        "10230": [0.011, 0.511, 0, 0, 1.638],
        "10231": [0.011, 0.511, 0, 0, 1.859],
        "10232": [0.024, 0.525, 0, 0, 1.609],
        "10233": [0.024, 0.525, 0, 0, 1.638],
        "10234": [0.024, 0.525, 0, 0, 1.858],
        "10236": [0.011, 0.511, 0, 0, 1.638],
        "10815": [0, 0.68333, 0, 0, 0.75],
        "10927": [0.13597, 0.63597, 0, 0, 0.77778],
        "10928": [0.13597, 0.63597, 0, 0, 0.77778],
        "57376": [0.19444, 0.69444, 0, 0, 0]
      },
      "Math-BoldItalic": {
        "65": [0, 0.68611, 0, 0, 0.86944],
        "66": [0, 0.68611, 0.04835, 0, 0.8664],
        "67": [0, 0.68611, 0.06979, 0, 0.81694],
        "68": [0, 0.68611, 0.03194, 0, 0.93812],
        "69": [0, 0.68611, 0.05451, 0, 0.81007],
        "70": [0, 0.68611, 0.15972, 0, 0.68889],
        "71": [0, 0.68611, 0, 0, 0.88673],
        "72": [0, 0.68611, 0.08229, 0, 0.98229],
        "73": [0, 0.68611, 0.07778, 0, 0.51111],
        "74": [0, 0.68611, 0.10069, 0, 0.63125],
        "75": [0, 0.68611, 0.06979, 0, 0.97118],
        "76": [0, 0.68611, 0, 0, 0.75555],
        "77": [0, 0.68611, 0.11424, 0, 1.14201],
        "78": [0, 0.68611, 0.11424, 0, 0.95034],
        "79": [0, 0.68611, 0.03194, 0, 0.83666],
        "80": [0, 0.68611, 0.15972, 0, 0.72309],
        "81": [0.19444, 0.68611, 0, 0, 0.86861],
        "82": [0, 0.68611, 0.00421, 0, 0.87235],
        "83": [0, 0.68611, 0.05382, 0, 0.69271],
        "84": [0, 0.68611, 0.15972, 0, 0.63663],
        "85": [0, 0.68611, 0.11424, 0, 0.80027],
        "86": [0, 0.68611, 0.25555, 0, 0.67778],
        "87": [0, 0.68611, 0.15972, 0, 1.09305],
        "88": [0, 0.68611, 0.07778, 0, 0.94722],
        "89": [0, 0.68611, 0.25555, 0, 0.67458],
        "90": [0, 0.68611, 0.06979, 0, 0.77257],
        "97": [0, 0.44444, 0, 0, 0.63287],
        "98": [0, 0.69444, 0, 0, 0.52083],
        "99": [0, 0.44444, 0, 0, 0.51342],
        "100": [0, 0.69444, 0, 0, 0.60972],
        "101": [0, 0.44444, 0, 0, 0.55361],
        "102": [0.19444, 0.69444, 0.11042, 0, 0.56806],
        "103": [0.19444, 0.44444, 0.03704, 0, 0.5449],
        "104": [0, 0.69444, 0, 0, 0.66759],
        "105": [0, 0.69326, 0, 0, 0.4048],
        "106": [0.19444, 0.69326, 0.0622, 0, 0.47083],
        "107": [0, 0.69444, 0.01852, 0, 0.6037],
        "108": [0, 0.69444, 0.0088, 0, 0.34815],
        "109": [0, 0.44444, 0, 0, 1.0324],
        "110": [0, 0.44444, 0, 0, 0.71296],
        "111": [0, 0.44444, 0, 0, 0.58472],
        "112": [0.19444, 0.44444, 0, 0, 0.60092],
        "113": [0.19444, 0.44444, 0.03704, 0, 0.54213],
        "114": [0, 0.44444, 0.03194, 0, 0.5287],
        "115": [0, 0.44444, 0, 0, 0.53125],
        "116": [0, 0.63492, 0, 0, 0.41528],
        "117": [0, 0.44444, 0, 0, 0.68102],
        "118": [0, 0.44444, 0.03704, 0, 0.56666],
        "119": [0, 0.44444, 0.02778, 0, 0.83148],
        "120": [0, 0.44444, 0, 0, 0.65903],
        "121": [0.19444, 0.44444, 0.03704, 0, 0.59028],
        "122": [0, 0.44444, 0.04213, 0, 0.55509],
        "915": [0, 0.68611, 0.15972, 0, 0.65694],
        "916": [0, 0.68611, 0, 0, 0.95833],
        "920": [0, 0.68611, 0.03194, 0, 0.86722],
        "923": [0, 0.68611, 0, 0, 0.80555],
        "926": [0, 0.68611, 0.07458, 0, 0.84125],
        "928": [0, 0.68611, 0.08229, 0, 0.98229],
        "931": [0, 0.68611, 0.05451, 0, 0.88507],
        "933": [0, 0.68611, 0.15972, 0, 0.67083],
        "934": [0, 0.68611, 0, 0, 0.76666],
        "936": [0, 0.68611, 0.11653, 0, 0.71402],
        "937": [0, 0.68611, 0.04835, 0, 0.8789],
        "945": [0, 0.44444, 0, 0, 0.76064],
        "946": [0.19444, 0.69444, 0.03403, 0, 0.65972],
        "947": [0.19444, 0.44444, 0.06389, 0, 0.59003],
        "948": [0, 0.69444, 0.03819, 0, 0.52222],
        "949": [0, 0.44444, 0, 0, 0.52882],
        "950": [0.19444, 0.69444, 0.06215, 0, 0.50833],
        "951": [0.19444, 0.44444, 0.03704, 0, 0.6],
        "952": [0, 0.69444, 0.03194, 0, 0.5618],
        "953": [0, 0.44444, 0, 0, 0.41204],
        "954": [0, 0.44444, 0, 0, 0.66759],
        "955": [0, 0.69444, 0, 0, 0.67083],
        "956": [0.19444, 0.44444, 0, 0, 0.70787],
        "957": [0, 0.44444, 0.06898, 0, 0.57685],
        "958": [0.19444, 0.69444, 0.03021, 0, 0.50833],
        "959": [0, 0.44444, 0, 0, 0.58472],
        "960": [0, 0.44444, 0.03704, 0, 0.68241],
        "961": [0.19444, 0.44444, 0, 0, 0.6118],
        "962": [0.09722, 0.44444, 0.07917, 0, 0.42361],
        "963": [0, 0.44444, 0.03704, 0, 0.68588],
        "964": [0, 0.44444, 0.13472, 0, 0.52083],
        "965": [0, 0.44444, 0.03704, 0, 0.63055],
        "966": [0.19444, 0.44444, 0, 0, 0.74722],
        "967": [0.19444, 0.44444, 0, 0, 0.71805],
        "968": [0.19444, 0.69444, 0.03704, 0, 0.75833],
        "969": [0, 0.44444, 0.03704, 0, 0.71782],
        "977": [0, 0.69444, 0, 0, 0.69155],
        "981": [0.19444, 0.69444, 0, 0, 0.7125],
        "982": [0, 0.44444, 0.03194, 0, 0.975],
        "1009": [0.19444, 0.44444, 0, 0, 0.6118],
        "1013": [0, 0.44444, 0, 0, 0.48333]
      },
      "Math-Italic": {
        "65": [0, 0.68333, 0, 0.13889, 0.75],
        "66": [0, 0.68333, 0.05017, 0.08334, 0.75851],
        "67": [0, 0.68333, 0.07153, 0.08334, 0.71472],
        "68": [0, 0.68333, 0.02778, 0.05556, 0.82792],
        "69": [0, 0.68333, 0.05764, 0.08334, 0.7382],
        "70": [0, 0.68333, 0.13889, 0.08334, 0.64306],
        "71": [0, 0.68333, 0, 0.08334, 0.78625],
        "72": [0, 0.68333, 0.08125, 0.05556, 0.83125],
        "73": [0, 0.68333, 0.07847, 0.11111, 0.43958],
        "74": [0, 0.68333, 0.09618, 0.16667, 0.55451],
        "75": [0, 0.68333, 0.07153, 0.05556, 0.84931],
        "76": [0, 0.68333, 0, 0.02778, 0.68056],
        "77": [0, 0.68333, 0.10903, 0.08334, 0.97014],
        "78": [0, 0.68333, 0.10903, 0.08334, 0.80347],
        "79": [0, 0.68333, 0.02778, 0.08334, 0.76278],
        "80": [0, 0.68333, 0.13889, 0.08334, 0.64201],
        "81": [0.19444, 0.68333, 0, 0.08334, 0.79056],
        "82": [0, 0.68333, 0.00773, 0.08334, 0.75929],
        "83": [0, 0.68333, 0.05764, 0.08334, 0.6132],
        "84": [0, 0.68333, 0.13889, 0.08334, 0.58438],
        "85": [0, 0.68333, 0.10903, 0.02778, 0.68278],
        "86": [0, 0.68333, 0.22222, 0, 0.58333],
        "87": [0, 0.68333, 0.13889, 0, 0.94445],
        "88": [0, 0.68333, 0.07847, 0.08334, 0.82847],
        "89": [0, 0.68333, 0.22222, 0, 0.58056],
        "90": [0, 0.68333, 0.07153, 0.08334, 0.68264],
        "97": [0, 0.43056, 0, 0, 0.52859],
        "98": [0, 0.69444, 0, 0, 0.42917],
        "99": [0, 0.43056, 0, 0.05556, 0.43276],
        "100": [0, 0.69444, 0, 0.16667, 0.52049],
        "101": [0, 0.43056, 0, 0.05556, 0.46563],
        "102": [0.19444, 0.69444, 0.10764, 0.16667, 0.48959],
        "103": [0.19444, 0.43056, 0.03588, 0.02778, 0.47697],
        "104": [0, 0.69444, 0, 0, 0.57616],
        "105": [0, 0.65952, 0, 0, 0.34451],
        "106": [0.19444, 0.65952, 0.05724, 0, 0.41181],
        "107": [0, 0.69444, 0.03148, 0, 0.5206],
        "108": [0, 0.69444, 0.01968, 0.08334, 0.29838],
        "109": [0, 0.43056, 0, 0, 0.87801],
        "110": [0, 0.43056, 0, 0, 0.60023],
        "111": [0, 0.43056, 0, 0.05556, 0.48472],
        "112": [0.19444, 0.43056, 0, 0.08334, 0.50313],
        "113": [0.19444, 0.43056, 0.03588, 0.08334, 0.44641],
        "114": [0, 0.43056, 0.02778, 0.05556, 0.45116],
        "115": [0, 0.43056, 0, 0.05556, 0.46875],
        "116": [0, 0.61508, 0, 0.08334, 0.36111],
        "117": [0, 0.43056, 0, 0.02778, 0.57246],
        "118": [0, 0.43056, 0.03588, 0.02778, 0.48472],
        "119": [0, 0.43056, 0.02691, 0.08334, 0.71592],
        "120": [0, 0.43056, 0, 0.02778, 0.57153],
        "121": [0.19444, 0.43056, 0.03588, 0.05556, 0.49028],
        "122": [0, 0.43056, 0.04398, 0.05556, 0.46505],
        "915": [0, 0.68333, 0.13889, 0.08334, 0.61528],
        "916": [0, 0.68333, 0, 0.16667, 0.83334],
        "920": [0, 0.68333, 0.02778, 0.08334, 0.76278],
        "923": [0, 0.68333, 0, 0.16667, 0.69445],
        "926": [0, 0.68333, 0.07569, 0.08334, 0.74236],
        "928": [0, 0.68333, 0.08125, 0.05556, 0.83125],
        "931": [0, 0.68333, 0.05764, 0.08334, 0.77986],
        "933": [0, 0.68333, 0.13889, 0.05556, 0.58333],
        "934": [0, 0.68333, 0, 0.08334, 0.66667],
        "936": [0, 0.68333, 0.11, 0.05556, 0.61222],
        "937": [0, 0.68333, 0.05017, 0.08334, 0.7724],
        "945": [0, 0.43056, 0.0037, 0.02778, 0.6397],
        "946": [0.19444, 0.69444, 0.05278, 0.08334, 0.56563],
        "947": [0.19444, 0.43056, 0.05556, 0, 0.51773],
        "948": [0, 0.69444, 0.03785, 0.05556, 0.44444],
        "949": [0, 0.43056, 0, 0.08334, 0.46632],
        "950": [0.19444, 0.69444, 0.07378, 0.08334, 0.4375],
        "951": [0.19444, 0.43056, 0.03588, 0.05556, 0.49653],
        "952": [0, 0.69444, 0.02778, 0.08334, 0.46944],
        "953": [0, 0.43056, 0, 0.05556, 0.35394],
        "954": [0, 0.43056, 0, 0, 0.57616],
        "955": [0, 0.69444, 0, 0, 0.58334],
        "956": [0.19444, 0.43056, 0, 0.02778, 0.60255],
        "957": [0, 0.43056, 0.06366, 0.02778, 0.49398],
        "958": [0.19444, 0.69444, 0.04601, 0.11111, 0.4375],
        "959": [0, 0.43056, 0, 0.05556, 0.48472],
        "960": [0, 0.43056, 0.03588, 0, 0.57003],
        "961": [0.19444, 0.43056, 0, 0.08334, 0.51702],
        "962": [0.09722, 0.43056, 0.07986, 0.08334, 0.36285],
        "963": [0, 0.43056, 0.03588, 0, 0.57141],
        "964": [0, 0.43056, 0.1132, 0.02778, 0.43715],
        "965": [0, 0.43056, 0.03588, 0.02778, 0.54028],
        "966": [0.19444, 0.43056, 0, 0.08334, 0.65417],
        "967": [0.19444, 0.43056, 0, 0.05556, 0.62569],
        "968": [0.19444, 0.69444, 0.03588, 0.11111, 0.65139],
        "969": [0, 0.43056, 0.03588, 0, 0.62245],
        "977": [0, 0.69444, 0, 0.08334, 0.59144],
        "981": [0.19444, 0.69444, 0, 0.08334, 0.59583],
        "982": [0, 0.43056, 0.02778, 0, 0.82813],
        "1009": [0.19444, 0.43056, 0, 0.08334, 0.51702],
        "1013": [0, 0.43056, 0, 0.05556, 0.4059]
      },
      "Math-Regular": {
        "65": [0, 0.68333, 0, 0.13889, 0.75],
        "66": [0, 0.68333, 0.05017, 0.08334, 0.75851],
        "67": [0, 0.68333, 0.07153, 0.08334, 0.71472],
        "68": [0, 0.68333, 0.02778, 0.05556, 0.82792],
        "69": [0, 0.68333, 0.05764, 0.08334, 0.7382],
        "70": [0, 0.68333, 0.13889, 0.08334, 0.64306],
        "71": [0, 0.68333, 0, 0.08334, 0.78625],
        "72": [0, 0.68333, 0.08125, 0.05556, 0.83125],
        "73": [0, 0.68333, 0.07847, 0.11111, 0.43958],
        "74": [0, 0.68333, 0.09618, 0.16667, 0.55451],
        "75": [0, 0.68333, 0.07153, 0.05556, 0.84931],
        "76": [0, 0.68333, 0, 0.02778, 0.68056],
        "77": [0, 0.68333, 0.10903, 0.08334, 0.97014],
        "78": [0, 0.68333, 0.10903, 0.08334, 0.80347],
        "79": [0, 0.68333, 0.02778, 0.08334, 0.76278],
        "80": [0, 0.68333, 0.13889, 0.08334, 0.64201],
        "81": [0.19444, 0.68333, 0, 0.08334, 0.79056],
        "82": [0, 0.68333, 0.00773, 0.08334, 0.75929],
        "83": [0, 0.68333, 0.05764, 0.08334, 0.6132],
        "84": [0, 0.68333, 0.13889, 0.08334, 0.58438],
        "85": [0, 0.68333, 0.10903, 0.02778, 0.68278],
        "86": [0, 0.68333, 0.22222, 0, 0.58333],
        "87": [0, 0.68333, 0.13889, 0, 0.94445],
        "88": [0, 0.68333, 0.07847, 0.08334, 0.82847],
        "89": [0, 0.68333, 0.22222, 0, 0.58056],
        "90": [0, 0.68333, 0.07153, 0.08334, 0.68264],
        "97": [0, 0.43056, 0, 0, 0.52859],
        "98": [0, 0.69444, 0, 0, 0.42917],
        "99": [0, 0.43056, 0, 0.05556, 0.43276],
        "100": [0, 0.69444, 0, 0.16667, 0.52049],
        "101": [0, 0.43056, 0, 0.05556, 0.46563],
        "102": [0.19444, 0.69444, 0.10764, 0.16667, 0.48959],
        "103": [0.19444, 0.43056, 0.03588, 0.02778, 0.47697],
        "104": [0, 0.69444, 0, 0, 0.57616],
        "105": [0, 0.65952, 0, 0, 0.34451],
        "106": [0.19444, 0.65952, 0.05724, 0, 0.41181],
        "107": [0, 0.69444, 0.03148, 0, 0.5206],
        "108": [0, 0.69444, 0.01968, 0.08334, 0.29838],
        "109": [0, 0.43056, 0, 0, 0.87801],
        "110": [0, 0.43056, 0, 0, 0.60023],
        "111": [0, 0.43056, 0, 0.05556, 0.48472],
        "112": [0.19444, 0.43056, 0, 0.08334, 0.50313],
        "113": [0.19444, 0.43056, 0.03588, 0.08334, 0.44641],
        "114": [0, 0.43056, 0.02778, 0.05556, 0.45116],
        "115": [0, 0.43056, 0, 0.05556, 0.46875],
        "116": [0, 0.61508, 0, 0.08334, 0.36111],
        "117": [0, 0.43056, 0, 0.02778, 0.57246],
        "118": [0, 0.43056, 0.03588, 0.02778, 0.48472],
        "119": [0, 0.43056, 0.02691, 0.08334, 0.71592],
        "120": [0, 0.43056, 0, 0.02778, 0.57153],
        "121": [0.19444, 0.43056, 0.03588, 0.05556, 0.49028],
        "122": [0, 0.43056, 0.04398, 0.05556, 0.46505],
        "915": [0, 0.68333, 0.13889, 0.08334, 0.61528],
        "916": [0, 0.68333, 0, 0.16667, 0.83334],
        "920": [0, 0.68333, 0.02778, 0.08334, 0.76278],
        "923": [0, 0.68333, 0, 0.16667, 0.69445],
        "926": [0, 0.68333, 0.07569, 0.08334, 0.74236],
        "928": [0, 0.68333, 0.08125, 0.05556, 0.83125],
        "931": [0, 0.68333, 0.05764, 0.08334, 0.77986],
        "933": [0, 0.68333, 0.13889, 0.05556, 0.58333],
        "934": [0, 0.68333, 0, 0.08334, 0.66667],
        "936": [0, 0.68333, 0.11, 0.05556, 0.61222],
        "937": [0, 0.68333, 0.05017, 0.08334, 0.7724],
        "945": [0, 0.43056, 0.0037, 0.02778, 0.6397],
        "946": [0.19444, 0.69444, 0.05278, 0.08334, 0.56563],
        "947": [0.19444, 0.43056, 0.05556, 0, 0.51773],
        "948": [0, 0.69444, 0.03785, 0.05556, 0.44444],
        "949": [0, 0.43056, 0, 0.08334, 0.46632],
        "950": [0.19444, 0.69444, 0.07378, 0.08334, 0.4375],
        "951": [0.19444, 0.43056, 0.03588, 0.05556, 0.49653],
        "952": [0, 0.69444, 0.02778, 0.08334, 0.46944],
        "953": [0, 0.43056, 0, 0.05556, 0.35394],
        "954": [0, 0.43056, 0, 0, 0.57616],
        "955": [0, 0.69444, 0, 0, 0.58334],
        "956": [0.19444, 0.43056, 0, 0.02778, 0.60255],
        "957": [0, 0.43056, 0.06366, 0.02778, 0.49398],
        "958": [0.19444, 0.69444, 0.04601, 0.11111, 0.4375],
        "959": [0, 0.43056, 0, 0.05556, 0.48472],
        "960": [0, 0.43056, 0.03588, 0, 0.57003],
        "961": [0.19444, 0.43056, 0, 0.08334, 0.51702],
        "962": [0.09722, 0.43056, 0.07986, 0.08334, 0.36285],
        "963": [0, 0.43056, 0.03588, 0, 0.57141],
        "964": [0, 0.43056, 0.1132, 0.02778, 0.43715],
        "965": [0, 0.43056, 0.03588, 0.02778, 0.54028],
        "966": [0.19444, 0.43056, 0, 0.08334, 0.65417],
        "967": [0.19444, 0.43056, 0, 0.05556, 0.62569],
        "968": [0.19444, 0.69444, 0.03588, 0.11111, 0.65139],
        "969": [0, 0.43056, 0.03588, 0, 0.62245],
        "977": [0, 0.69444, 0, 0.08334, 0.59144],
        "981": [0.19444, 0.69444, 0, 0.08334, 0.59583],
        "982": [0, 0.43056, 0.02778, 0, 0.82813],
        "1009": [0.19444, 0.43056, 0, 0.08334, 0.51702],
        "1013": [0, 0.43056, 0, 0.05556, 0.4059]
      },
      "SansSerif-Bold": {
        "33": [0, 0.69444, 0, 0, 0.36667],
        "34": [0, 0.69444, 0, 0, 0.55834],
        "35": [0.19444, 0.69444, 0, 0, 0.91667],
        "36": [0.05556, 0.75, 0, 0, 0.55],
        "37": [0.05556, 0.75, 0, 0, 1.02912],
        "38": [0, 0.69444, 0, 0, 0.83056],
        "39": [0, 0.69444, 0, 0, 0.30556],
        "40": [0.25, 0.75, 0, 0, 0.42778],
        "41": [0.25, 0.75, 0, 0, 0.42778],
        "42": [0, 0.75, 0, 0, 0.55],
        "43": [0.11667, 0.61667, 0, 0, 0.85556],
        "44": [0.10556, 0.13056, 0, 0, 0.30556],
        "45": [0, 0.45833, 0, 0, 0.36667],
        "46": [0, 0.13056, 0, 0, 0.30556],
        "47": [0.25, 0.75, 0, 0, 0.55],
        "48": [0, 0.69444, 0, 0, 0.55],
        "49": [0, 0.69444, 0, 0, 0.55],
        "50": [0, 0.69444, 0, 0, 0.55],
        "51": [0, 0.69444, 0, 0, 0.55],
        "52": [0, 0.69444, 0, 0, 0.55],
        "53": [0, 0.69444, 0, 0, 0.55],
        "54": [0, 0.69444, 0, 0, 0.55],
        "55": [0, 0.69444, 0, 0, 0.55],
        "56": [0, 0.69444, 0, 0, 0.55],
        "57": [0, 0.69444, 0, 0, 0.55],
        "58": [0, 0.45833, 0, 0, 0.30556],
        "59": [0.10556, 0.45833, 0, 0, 0.30556],
        "61": [-0.09375, 0.40625, 0, 0, 0.85556],
        "63": [0, 0.69444, 0, 0, 0.51945],
        "64": [0, 0.69444, 0, 0, 0.73334],
        "65": [0, 0.69444, 0, 0, 0.73334],
        "66": [0, 0.69444, 0, 0, 0.73334],
        "67": [0, 0.69444, 0, 0, 0.70278],
        "68": [0, 0.69444, 0, 0, 0.79445],
        "69": [0, 0.69444, 0, 0, 0.64167],
        "70": [0, 0.69444, 0, 0, 0.61111],
        "71": [0, 0.69444, 0, 0, 0.73334],
        "72": [0, 0.69444, 0, 0, 0.79445],
        "73": [0, 0.69444, 0, 0, 0.33056],
        "74": [0, 0.69444, 0, 0, 0.51945],
        "75": [0, 0.69444, 0, 0, 0.76389],
        "76": [0, 0.69444, 0, 0, 0.58056],
        "77": [0, 0.69444, 0, 0, 0.97778],
        "78": [0, 0.69444, 0, 0, 0.79445],
        "79": [0, 0.69444, 0, 0, 0.79445],
        "80": [0, 0.69444, 0, 0, 0.70278],
        "81": [0.10556, 0.69444, 0, 0, 0.79445],
        "82": [0, 0.69444, 0, 0, 0.70278],
        "83": [0, 0.69444, 0, 0, 0.61111],
        "84": [0, 0.69444, 0, 0, 0.73334],
        "85": [0, 0.69444, 0, 0, 0.76389],
        "86": [0, 0.69444, 0.01528, 0, 0.73334],
        "87": [0, 0.69444, 0.01528, 0, 1.03889],
        "88": [0, 0.69444, 0, 0, 0.73334],
        "89": [0, 0.69444, 0.0275, 0, 0.73334],
        "90": [0, 0.69444, 0, 0, 0.67223],
        "91": [0.25, 0.75, 0, 0, 0.34306],
        "93": [0.25, 0.75, 0, 0, 0.34306],
        "94": [0, 0.69444, 0, 0, 0.55],
        "95": [0.35, 0.10833, 0.03056, 0, 0.55],
        "97": [0, 0.45833, 0, 0, 0.525],
        "98": [0, 0.69444, 0, 0, 0.56111],
        "99": [0, 0.45833, 0, 0, 0.48889],
        "100": [0, 0.69444, 0, 0, 0.56111],
        "101": [0, 0.45833, 0, 0, 0.51111],
        "102": [0, 0.69444, 0.07639, 0, 0.33611],
        "103": [0.19444, 0.45833, 0.01528, 0, 0.55],
        "104": [0, 0.69444, 0, 0, 0.56111],
        "105": [0, 0.69444, 0, 0, 0.25556],
        "106": [0.19444, 0.69444, 0, 0, 0.28611],
        "107": [0, 0.69444, 0, 0, 0.53056],
        "108": [0, 0.69444, 0, 0, 0.25556],
        "109": [0, 0.45833, 0, 0, 0.86667],
        "110": [0, 0.45833, 0, 0, 0.56111],
        "111": [0, 0.45833, 0, 0, 0.55],
        "112": [0.19444, 0.45833, 0, 0, 0.56111],
        "113": [0.19444, 0.45833, 0, 0, 0.56111],
        "114": [0, 0.45833, 0.01528, 0, 0.37222],
        "115": [0, 0.45833, 0, 0, 0.42167],
        "116": [0, 0.58929, 0, 0, 0.40417],
        "117": [0, 0.45833, 0, 0, 0.56111],
        "118": [0, 0.45833, 0.01528, 0, 0.5],
        "119": [0, 0.45833, 0.01528, 0, 0.74445],
        "120": [0, 0.45833, 0, 0, 0.5],
        "121": [0.19444, 0.45833, 0.01528, 0, 0.5],
        "122": [0, 0.45833, 0, 0, 0.47639],
        "126": [0.35, 0.34444, 0, 0, 0.55],
        "168": [0, 0.69444, 0, 0, 0.55],
        "176": [0, 0.69444, 0, 0, 0.73334],
        "180": [0, 0.69444, 0, 0, 0.55],
        "184": [0.17014, 0, 0, 0, 0.48889],
        "305": [0, 0.45833, 0, 0, 0.25556],
        "567": [0.19444, 0.45833, 0, 0, 0.28611],
        "710": [0, 0.69444, 0, 0, 0.55],
        "711": [0, 0.63542, 0, 0, 0.55],
        "713": [0, 0.63778, 0, 0, 0.55],
        "728": [0, 0.69444, 0, 0, 0.55],
        "729": [0, 0.69444, 0, 0, 0.30556],
        "730": [0, 0.69444, 0, 0, 0.73334],
        "732": [0, 0.69444, 0, 0, 0.55],
        "733": [0, 0.69444, 0, 0, 0.55],
        "915": [0, 0.69444, 0, 0, 0.58056],
        "916": [0, 0.69444, 0, 0, 0.91667],
        "920": [0, 0.69444, 0, 0, 0.85556],
        "923": [0, 0.69444, 0, 0, 0.67223],
        "926": [0, 0.69444, 0, 0, 0.73334],
        "928": [0, 0.69444, 0, 0, 0.79445],
        "931": [0, 0.69444, 0, 0, 0.79445],
        "933": [0, 0.69444, 0, 0, 0.85556],
        "934": [0, 0.69444, 0, 0, 0.79445],
        "936": [0, 0.69444, 0, 0, 0.85556],
        "937": [0, 0.69444, 0, 0, 0.79445],
        "8211": [0, 0.45833, 0.03056, 0, 0.55],
        "8212": [0, 0.45833, 0.03056, 0, 1.10001],
        "8216": [0, 0.69444, 0, 0, 0.30556],
        "8217": [0, 0.69444, 0, 0, 0.30556],
        "8220": [0, 0.69444, 0, 0, 0.55834],
        "8221": [0, 0.69444, 0, 0, 0.55834]
      },
      "SansSerif-Italic": {
        "33": [0, 0.69444, 0.05733, 0, 0.31945],
        "34": [0, 0.69444, 0.00316, 0, 0.5],
        "35": [0.19444, 0.69444, 0.05087, 0, 0.83334],
        "36": [0.05556, 0.75, 0.11156, 0, 0.5],
        "37": [0.05556, 0.75, 0.03126, 0, 0.83334],
        "38": [0, 0.69444, 0.03058, 0, 0.75834],
        "39": [0, 0.69444, 0.07816, 0, 0.27778],
        "40": [0.25, 0.75, 0.13164, 0, 0.38889],
        "41": [0.25, 0.75, 0.02536, 0, 0.38889],
        "42": [0, 0.75, 0.11775, 0, 0.5],
        "43": [0.08333, 0.58333, 0.02536, 0, 0.77778],
        "44": [0.125, 0.08333, 0, 0, 0.27778],
        "45": [0, 0.44444, 0.01946, 0, 0.33333],
        "46": [0, 0.08333, 0, 0, 0.27778],
        "47": [0.25, 0.75, 0.13164, 0, 0.5],
        "48": [0, 0.65556, 0.11156, 0, 0.5],
        "49": [0, 0.65556, 0.11156, 0, 0.5],
        "50": [0, 0.65556, 0.11156, 0, 0.5],
        "51": [0, 0.65556, 0.11156, 0, 0.5],
        "52": [0, 0.65556, 0.11156, 0, 0.5],
        "53": [0, 0.65556, 0.11156, 0, 0.5],
        "54": [0, 0.65556, 0.11156, 0, 0.5],
        "55": [0, 0.65556, 0.11156, 0, 0.5],
        "56": [0, 0.65556, 0.11156, 0, 0.5],
        "57": [0, 0.65556, 0.11156, 0, 0.5],
        "58": [0, 0.44444, 0.02502, 0, 0.27778],
        "59": [0.125, 0.44444, 0.02502, 0, 0.27778],
        "61": [-0.13, 0.37, 0.05087, 0, 0.77778],
        "63": [0, 0.69444, 0.11809, 0, 0.47222],
        "64": [0, 0.69444, 0.07555, 0, 0.66667],
        "65": [0, 0.69444, 0, 0, 0.66667],
        "66": [0, 0.69444, 0.08293, 0, 0.66667],
        "67": [0, 0.69444, 0.11983, 0, 0.63889],
        "68": [0, 0.69444, 0.07555, 0, 0.72223],
        "69": [0, 0.69444, 0.11983, 0, 0.59722],
        "70": [0, 0.69444, 0.13372, 0, 0.56945],
        "71": [0, 0.69444, 0.11983, 0, 0.66667],
        "72": [0, 0.69444, 0.08094, 0, 0.70834],
        "73": [0, 0.69444, 0.13372, 0, 0.27778],
        "74": [0, 0.69444, 0.08094, 0, 0.47222],
        "75": [0, 0.69444, 0.11983, 0, 0.69445],
        "76": [0, 0.69444, 0, 0, 0.54167],
        "77": [0, 0.69444, 0.08094, 0, 0.875],
        "78": [0, 0.69444, 0.08094, 0, 0.70834],
        "79": [0, 0.69444, 0.07555, 0, 0.73611],
        "80": [0, 0.69444, 0.08293, 0, 0.63889],
        "81": [0.125, 0.69444, 0.07555, 0, 0.73611],
        "82": [0, 0.69444, 0.08293, 0, 0.64584],
        "83": [0, 0.69444, 0.09205, 0, 0.55556],
        "84": [0, 0.69444, 0.13372, 0, 0.68056],
        "85": [0, 0.69444, 0.08094, 0, 0.6875],
        "86": [0, 0.69444, 0.1615, 0, 0.66667],
        "87": [0, 0.69444, 0.1615, 0, 0.94445],
        "88": [0, 0.69444, 0.13372, 0, 0.66667],
        "89": [0, 0.69444, 0.17261, 0, 0.66667],
        "90": [0, 0.69444, 0.11983, 0, 0.61111],
        "91": [0.25, 0.75, 0.15942, 0, 0.28889],
        "93": [0.25, 0.75, 0.08719, 0, 0.28889],
        "94": [0, 0.69444, 0.0799, 0, 0.5],
        "95": [0.35, 0.09444, 0.08616, 0, 0.5],
        "97": [0, 0.44444, 0.00981, 0, 0.48056],
        "98": [0, 0.69444, 0.03057, 0, 0.51667],
        "99": [0, 0.44444, 0.08336, 0, 0.44445],
        "100": [0, 0.69444, 0.09483, 0, 0.51667],
        "101": [0, 0.44444, 0.06778, 0, 0.44445],
        "102": [0, 0.69444, 0.21705, 0, 0.30556],
        "103": [0.19444, 0.44444, 0.10836, 0, 0.5],
        "104": [0, 0.69444, 0.01778, 0, 0.51667],
        "105": [0, 0.67937, 0.09718, 0, 0.23889],
        "106": [0.19444, 0.67937, 0.09162, 0, 0.26667],
        "107": [0, 0.69444, 0.08336, 0, 0.48889],
        "108": [0, 0.69444, 0.09483, 0, 0.23889],
        "109": [0, 0.44444, 0.01778, 0, 0.79445],
        "110": [0, 0.44444, 0.01778, 0, 0.51667],
        "111": [0, 0.44444, 0.06613, 0, 0.5],
        "112": [0.19444, 0.44444, 0.0389, 0, 0.51667],
        "113": [0.19444, 0.44444, 0.04169, 0, 0.51667],
        "114": [0, 0.44444, 0.10836, 0, 0.34167],
        "115": [0, 0.44444, 0.0778, 0, 0.38333],
        "116": [0, 0.57143, 0.07225, 0, 0.36111],
        "117": [0, 0.44444, 0.04169, 0, 0.51667],
        "118": [0, 0.44444, 0.10836, 0, 0.46111],
        "119": [0, 0.44444, 0.10836, 0, 0.68334],
        "120": [0, 0.44444, 0.09169, 0, 0.46111],
        "121": [0.19444, 0.44444, 0.10836, 0, 0.46111],
        "122": [0, 0.44444, 0.08752, 0, 0.43472],
        "126": [0.35, 0.32659, 0.08826, 0, 0.5],
        "168": [0, 0.67937, 0.06385, 0, 0.5],
        "176": [0, 0.69444, 0, 0, 0.73752],
        "184": [0.17014, 0, 0, 0, 0.44445],
        "305": [0, 0.44444, 0.04169, 0, 0.23889],
        "567": [0.19444, 0.44444, 0.04169, 0, 0.26667],
        "710": [0, 0.69444, 0.0799, 0, 0.5],
        "711": [0, 0.63194, 0.08432, 0, 0.5],
        "713": [0, 0.60889, 0.08776, 0, 0.5],
        "714": [0, 0.69444, 0.09205, 0, 0.5],
        "715": [0, 0.69444, 0, 0, 0.5],
        "728": [0, 0.69444, 0.09483, 0, 0.5],
        "729": [0, 0.67937, 0.07774, 0, 0.27778],
        "730": [0, 0.69444, 0, 0, 0.73752],
        "732": [0, 0.67659, 0.08826, 0, 0.5],
        "733": [0, 0.69444, 0.09205, 0, 0.5],
        "915": [0, 0.69444, 0.13372, 0, 0.54167],
        "916": [0, 0.69444, 0, 0, 0.83334],
        "920": [0, 0.69444, 0.07555, 0, 0.77778],
        "923": [0, 0.69444, 0, 0, 0.61111],
        "926": [0, 0.69444, 0.12816, 0, 0.66667],
        "928": [0, 0.69444, 0.08094, 0, 0.70834],
        "931": [0, 0.69444, 0.11983, 0, 0.72222],
        "933": [0, 0.69444, 0.09031, 0, 0.77778],
        "934": [0, 0.69444, 0.04603, 0, 0.72222],
        "936": [0, 0.69444, 0.09031, 0, 0.77778],
        "937": [0, 0.69444, 0.08293, 0, 0.72222],
        "8211": [0, 0.44444, 0.08616, 0, 0.5],
        "8212": [0, 0.44444, 0.08616, 0, 1.0],
        "8216": [0, 0.69444, 0.07816, 0, 0.27778],
        "8217": [0, 0.69444, 0.07816, 0, 0.27778],
        "8220": [0, 0.69444, 0.14205, 0, 0.5],
        "8221": [0, 0.69444, 0.00316, 0, 0.5]
      },
      "SansSerif-Regular": {
        "33": [0, 0.69444, 0, 0, 0.31945],
        "34": [0, 0.69444, 0, 0, 0.5],
        "35": [0.19444, 0.69444, 0, 0, 0.83334],
        "36": [0.05556, 0.75, 0, 0, 0.5],
        "37": [0.05556, 0.75, 0, 0, 0.83334],
        "38": [0, 0.69444, 0, 0, 0.75834],
        "39": [0, 0.69444, 0, 0, 0.27778],
        "40": [0.25, 0.75, 0, 0, 0.38889],
        "41": [0.25, 0.75, 0, 0, 0.38889],
        "42": [0, 0.75, 0, 0, 0.5],
        "43": [0.08333, 0.58333, 0, 0, 0.77778],
        "44": [0.125, 0.08333, 0, 0, 0.27778],
        "45": [0, 0.44444, 0, 0, 0.33333],
        "46": [0, 0.08333, 0, 0, 0.27778],
        "47": [0.25, 0.75, 0, 0, 0.5],
        "48": [0, 0.65556, 0, 0, 0.5],
        "49": [0, 0.65556, 0, 0, 0.5],
        "50": [0, 0.65556, 0, 0, 0.5],
        "51": [0, 0.65556, 0, 0, 0.5],
        "52": [0, 0.65556, 0, 0, 0.5],
        "53": [0, 0.65556, 0, 0, 0.5],
        "54": [0, 0.65556, 0, 0, 0.5],
        "55": [0, 0.65556, 0, 0, 0.5],
        "56": [0, 0.65556, 0, 0, 0.5],
        "57": [0, 0.65556, 0, 0, 0.5],
        "58": [0, 0.44444, 0, 0, 0.27778],
        "59": [0.125, 0.44444, 0, 0, 0.27778],
        "61": [-0.13, 0.37, 0, 0, 0.77778],
        "63": [0, 0.69444, 0, 0, 0.47222],
        "64": [0, 0.69444, 0, 0, 0.66667],
        "65": [0, 0.69444, 0, 0, 0.66667],
        "66": [0, 0.69444, 0, 0, 0.66667],
        "67": [0, 0.69444, 0, 0, 0.63889],
        "68": [0, 0.69444, 0, 0, 0.72223],
        "69": [0, 0.69444, 0, 0, 0.59722],
        "70": [0, 0.69444, 0, 0, 0.56945],
        "71": [0, 0.69444, 0, 0, 0.66667],
        "72": [0, 0.69444, 0, 0, 0.70834],
        "73": [0, 0.69444, 0, 0, 0.27778],
        "74": [0, 0.69444, 0, 0, 0.47222],
        "75": [0, 0.69444, 0, 0, 0.69445],
        "76": [0, 0.69444, 0, 0, 0.54167],
        "77": [0, 0.69444, 0, 0, 0.875],
        "78": [0, 0.69444, 0, 0, 0.70834],
        "79": [0, 0.69444, 0, 0, 0.73611],
        "80": [0, 0.69444, 0, 0, 0.63889],
        "81": [0.125, 0.69444, 0, 0, 0.73611],
        "82": [0, 0.69444, 0, 0, 0.64584],
        "83": [0, 0.69444, 0, 0, 0.55556],
        "84": [0, 0.69444, 0, 0, 0.68056],
        "85": [0, 0.69444, 0, 0, 0.6875],
        "86": [0, 0.69444, 0.01389, 0, 0.66667],
        "87": [0, 0.69444, 0.01389, 0, 0.94445],
        "88": [0, 0.69444, 0, 0, 0.66667],
        "89": [0, 0.69444, 0.025, 0, 0.66667],
        "90": [0, 0.69444, 0, 0, 0.61111],
        "91": [0.25, 0.75, 0, 0, 0.28889],
        "93": [0.25, 0.75, 0, 0, 0.28889],
        "94": [0, 0.69444, 0, 0, 0.5],
        "95": [0.35, 0.09444, 0.02778, 0, 0.5],
        "97": [0, 0.44444, 0, 0, 0.48056],
        "98": [0, 0.69444, 0, 0, 0.51667],
        "99": [0, 0.44444, 0, 0, 0.44445],
        "100": [0, 0.69444, 0, 0, 0.51667],
        "101": [0, 0.44444, 0, 0, 0.44445],
        "102": [0, 0.69444, 0.06944, 0, 0.30556],
        "103": [0.19444, 0.44444, 0.01389, 0, 0.5],
        "104": [0, 0.69444, 0, 0, 0.51667],
        "105": [0, 0.67937, 0, 0, 0.23889],
        "106": [0.19444, 0.67937, 0, 0, 0.26667],
        "107": [0, 0.69444, 0, 0, 0.48889],
        "108": [0, 0.69444, 0, 0, 0.23889],
        "109": [0, 0.44444, 0, 0, 0.79445],
        "110": [0, 0.44444, 0, 0, 0.51667],
        "111": [0, 0.44444, 0, 0, 0.5],
        "112": [0.19444, 0.44444, 0, 0, 0.51667],
        "113": [0.19444, 0.44444, 0, 0, 0.51667],
        "114": [0, 0.44444, 0.01389, 0, 0.34167],
        "115": [0, 0.44444, 0, 0, 0.38333],
        "116": [0, 0.57143, 0, 0, 0.36111],
        "117": [0, 0.44444, 0, 0, 0.51667],
        "118": [0, 0.44444, 0.01389, 0, 0.46111],
        "119": [0, 0.44444, 0.01389, 0, 0.68334],
        "120": [0, 0.44444, 0, 0, 0.46111],
        "121": [0.19444, 0.44444, 0.01389, 0, 0.46111],
        "122": [0, 0.44444, 0, 0, 0.43472],
        "126": [0.35, 0.32659, 0, 0, 0.5],
        "168": [0, 0.67937, 0, 0, 0.5],
        "176": [0, 0.69444, 0, 0, 0.66667],
        "184": [0.17014, 0, 0, 0, 0.44445],
        "305": [0, 0.44444, 0, 0, 0.23889],
        "567": [0.19444, 0.44444, 0, 0, 0.26667],
        "710": [0, 0.69444, 0, 0, 0.5],
        "711": [0, 0.63194, 0, 0, 0.5],
        "713": [0, 0.60889, 0, 0, 0.5],
        "714": [0, 0.69444, 0, 0, 0.5],
        "715": [0, 0.69444, 0, 0, 0.5],
        "728": [0, 0.69444, 0, 0, 0.5],
        "729": [0, 0.67937, 0, 0, 0.27778],
        "730": [0, 0.69444, 0, 0, 0.66667],
        "732": [0, 0.67659, 0, 0, 0.5],
        "733": [0, 0.69444, 0, 0, 0.5],
        "915": [0, 0.69444, 0, 0, 0.54167],
        "916": [0, 0.69444, 0, 0, 0.83334],
        "920": [0, 0.69444, 0, 0, 0.77778],
        "923": [0, 0.69444, 0, 0, 0.61111],
        "926": [0, 0.69444, 0, 0, 0.66667],
        "928": [0, 0.69444, 0, 0, 0.70834],
        "931": [0, 0.69444, 0, 0, 0.72222],
        "933": [0, 0.69444, 0, 0, 0.77778],
        "934": [0, 0.69444, 0, 0, 0.72222],
        "936": [0, 0.69444, 0, 0, 0.77778],
        "937": [0, 0.69444, 0, 0, 0.72222],
        "8211": [0, 0.44444, 0.02778, 0, 0.5],
        "8212": [0, 0.44444, 0.02778, 0, 1.0],
        "8216": [0, 0.69444, 0, 0, 0.27778],
        "8217": [0, 0.69444, 0, 0, 0.27778],
        "8220": [0, 0.69444, 0, 0, 0.5],
        "8221": [0, 0.69444, 0, 0, 0.5]
      },
      "Script-Regular": {
        "65": [0, 0.7, 0.22925, 0, 0.80253],
        "66": [0, 0.7, 0.04087, 0, 0.90757],
        "67": [0, 0.7, 0.1689, 0, 0.66619],
        "68": [0, 0.7, 0.09371, 0, 0.77443],
        "69": [0, 0.7, 0.18583, 0, 0.56162],
        "70": [0, 0.7, 0.13634, 0, 0.89544],
        "71": [0, 0.7, 0.17322, 0, 0.60961],
        "72": [0, 0.7, 0.29694, 0, 0.96919],
        "73": [0, 0.7, 0.19189, 0, 0.80907],
        "74": [0.27778, 0.7, 0.19189, 0, 1.05159],
        "75": [0, 0.7, 0.31259, 0, 0.91364],
        "76": [0, 0.7, 0.19189, 0, 0.87373],
        "77": [0, 0.7, 0.15981, 0, 1.08031],
        "78": [0, 0.7, 0.3525, 0, 0.9015],
        "79": [0, 0.7, 0.08078, 0, 0.73787],
        "80": [0, 0.7, 0.08078, 0, 1.01262],
        "81": [0, 0.7, 0.03305, 0, 0.88282],
        "82": [0, 0.7, 0.06259, 0, 0.85],
        "83": [0, 0.7, 0.19189, 0, 0.86767],
        "84": [0, 0.7, 0.29087, 0, 0.74697],
        "85": [0, 0.7, 0.25815, 0, 0.79996],
        "86": [0, 0.7, 0.27523, 0, 0.62204],
        "87": [0, 0.7, 0.27523, 0, 0.80532],
        "88": [0, 0.7, 0.26006, 0, 0.94445],
        "89": [0, 0.7, 0.2939, 0, 0.70961],
        "90": [0, 0.7, 0.24037, 0, 0.8212]
      },
      "Size1-Regular": {
        "40": [0.35001, 0.85, 0, 0, 0.45834],
        "41": [0.35001, 0.85, 0, 0, 0.45834],
        "47": [0.35001, 0.85, 0, 0, 0.57778],
        "91": [0.35001, 0.85, 0, 0, 0.41667],
        "92": [0.35001, 0.85, 0, 0, 0.57778],
        "93": [0.35001, 0.85, 0, 0, 0.41667],
        "123": [0.35001, 0.85, 0, 0, 0.58334],
        "125": [0.35001, 0.85, 0, 0, 0.58334],
        "710": [0, 0.72222, 0, 0, 0.55556],
        "732": [0, 0.72222, 0, 0, 0.55556],
        "770": [0, 0.72222, 0, 0, 0.55556],
        "771": [0, 0.72222, 0, 0, 0.55556],
        "8214": [-0.00099, 0.601, 0, 0, 0.77778],
        "8593": [1e-05, 0.6, 0, 0, 0.66667],
        "8595": [1e-05, 0.6, 0, 0, 0.66667],
        "8657": [1e-05, 0.6, 0, 0, 0.77778],
        "8659": [1e-05, 0.6, 0, 0, 0.77778],
        "8719": [0.25001, 0.75, 0, 0, 0.94445],
        "8720": [0.25001, 0.75, 0, 0, 0.94445],
        "8721": [0.25001, 0.75, 0, 0, 1.05556],
        "8730": [0.35001, 0.85, 0, 0, 1.0],
        "8739": [-0.00599, 0.606, 0, 0, 0.33333],
        "8741": [-0.00599, 0.606, 0, 0, 0.55556],
        "8747": [0.30612, 0.805, 0.19445, 0, 0.47222],
        "8748": [0.306, 0.805, 0.19445, 0, 0.47222],
        "8749": [0.306, 0.805, 0.19445, 0, 0.47222],
        "8750": [0.30612, 0.805, 0.19445, 0, 0.47222],
        "8896": [0.25001, 0.75, 0, 0, 0.83334],
        "8897": [0.25001, 0.75, 0, 0, 0.83334],
        "8898": [0.25001, 0.75, 0, 0, 0.83334],
        "8899": [0.25001, 0.75, 0, 0, 0.83334],
        "8968": [0.35001, 0.85, 0, 0, 0.47222],
        "8969": [0.35001, 0.85, 0, 0, 0.47222],
        "8970": [0.35001, 0.85, 0, 0, 0.47222],
        "8971": [0.35001, 0.85, 0, 0, 0.47222],
        "9168": [-0.00099, 0.601, 0, 0, 0.66667],
        "10216": [0.35001, 0.85, 0, 0, 0.47222],
        "10217": [0.35001, 0.85, 0, 0, 0.47222],
        "10752": [0.25001, 0.75, 0, 0, 1.11111],
        "10753": [0.25001, 0.75, 0, 0, 1.11111],
        "10754": [0.25001, 0.75, 0, 0, 1.11111],
        "10756": [0.25001, 0.75, 0, 0, 0.83334],
        "10758": [0.25001, 0.75, 0, 0, 0.83334]
      },
      "Size2-Regular": {
        "40": [0.65002, 1.15, 0, 0, 0.59722],
        "41": [0.65002, 1.15, 0, 0, 0.59722],
        "47": [0.65002, 1.15, 0, 0, 0.81111],
        "91": [0.65002, 1.15, 0, 0, 0.47222],
        "92": [0.65002, 1.15, 0, 0, 0.81111],
        "93": [0.65002, 1.15, 0, 0, 0.47222],
        "123": [0.65002, 1.15, 0, 0, 0.66667],
        "125": [0.65002, 1.15, 0, 0, 0.66667],
        "710": [0, 0.75, 0, 0, 1.0],
        "732": [0, 0.75, 0, 0, 1.0],
        "770": [0, 0.75, 0, 0, 1.0],
        "771": [0, 0.75, 0, 0, 1.0],
        "8719": [0.55001, 1.05, 0, 0, 1.27778],
        "8720": [0.55001, 1.05, 0, 0, 1.27778],
        "8721": [0.55001, 1.05, 0, 0, 1.44445],
        "8730": [0.65002, 1.15, 0, 0, 1.0],
        "8747": [0.86225, 1.36, 0.44445, 0, 0.55556],
        "8748": [0.862, 1.36, 0.44445, 0, 0.55556],
        "8749": [0.862, 1.36, 0.44445, 0, 0.55556],
        "8750": [0.86225, 1.36, 0.44445, 0, 0.55556],
        "8896": [0.55001, 1.05, 0, 0, 1.11111],
        "8897": [0.55001, 1.05, 0, 0, 1.11111],
        "8898": [0.55001, 1.05, 0, 0, 1.11111],
        "8899": [0.55001, 1.05, 0, 0, 1.11111],
        "8968": [0.65002, 1.15, 0, 0, 0.52778],
        "8969": [0.65002, 1.15, 0, 0, 0.52778],
        "8970": [0.65002, 1.15, 0, 0, 0.52778],
        "8971": [0.65002, 1.15, 0, 0, 0.52778],
        "10216": [0.65002, 1.15, 0, 0, 0.61111],
        "10217": [0.65002, 1.15, 0, 0, 0.61111],
        "10752": [0.55001, 1.05, 0, 0, 1.51112],
        "10753": [0.55001, 1.05, 0, 0, 1.51112],
        "10754": [0.55001, 1.05, 0, 0, 1.51112],
        "10756": [0.55001, 1.05, 0, 0, 1.11111],
        "10758": [0.55001, 1.05, 0, 0, 1.11111]
      },
      "Size3-Regular": {
        "40": [0.95003, 1.45, 0, 0, 0.73611],
        "41": [0.95003, 1.45, 0, 0, 0.73611],
        "47": [0.95003, 1.45, 0, 0, 1.04445],
        "91": [0.95003, 1.45, 0, 0, 0.52778],
        "92": [0.95003, 1.45, 0, 0, 1.04445],
        "93": [0.95003, 1.45, 0, 0, 0.52778],
        "123": [0.95003, 1.45, 0, 0, 0.75],
        "125": [0.95003, 1.45, 0, 0, 0.75],
        "710": [0, 0.75, 0, 0, 1.44445],
        "732": [0, 0.75, 0, 0, 1.44445],
        "770": [0, 0.75, 0, 0, 1.44445],
        "771": [0, 0.75, 0, 0, 1.44445],
        "8730": [0.95003, 1.45, 0, 0, 1.0],
        "8968": [0.95003, 1.45, 0, 0, 0.58334],
        "8969": [0.95003, 1.45, 0, 0, 0.58334],
        "8970": [0.95003, 1.45, 0, 0, 0.58334],
        "8971": [0.95003, 1.45, 0, 0, 0.58334],
        "10216": [0.95003, 1.45, 0, 0, 0.75],
        "10217": [0.95003, 1.45, 0, 0, 0.75]
      },
      "Size4-Regular": {
        "40": [1.25003, 1.75, 0, 0, 0.79167],
        "41": [1.25003, 1.75, 0, 0, 0.79167],
        "47": [1.25003, 1.75, 0, 0, 1.27778],
        "91": [1.25003, 1.75, 0, 0, 0.58334],
        "92": [1.25003, 1.75, 0, 0, 1.27778],
        "93": [1.25003, 1.75, 0, 0, 0.58334],
        "123": [1.25003, 1.75, 0, 0, 0.80556],
        "125": [1.25003, 1.75, 0, 0, 0.80556],
        "710": [0, 0.825, 0, 0, 1.8889],
        "732": [0, 0.825, 0, 0, 1.8889],
        "770": [0, 0.825, 0, 0, 1.8889],
        "771": [0, 0.825, 0, 0, 1.8889],
        "8730": [1.25003, 1.75, 0, 0, 1.0],
        "8968": [1.25003, 1.75, 0, 0, 0.63889],
        "8969": [1.25003, 1.75, 0, 0, 0.63889],
        "8970": [1.25003, 1.75, 0, 0, 0.63889],
        "8971": [1.25003, 1.75, 0, 0, 0.63889],
        "9115": [0.64502, 1.155, 0, 0, 0.875],
        "9116": [1e-05, 0.6, 0, 0, 0.875],
        "9117": [0.64502, 1.155, 0, 0, 0.875],
        "9118": [0.64502, 1.155, 0, 0, 0.875],
        "9119": [1e-05, 0.6, 0, 0, 0.875],
        "9120": [0.64502, 1.155, 0, 0, 0.875],
        "9121": [0.64502, 1.155, 0, 0, 0.66667],
        "9122": [-0.00099, 0.601, 0, 0, 0.66667],
        "9123": [0.64502, 1.155, 0, 0, 0.66667],
        "9124": [0.64502, 1.155, 0, 0, 0.66667],
        "9125": [-0.00099, 0.601, 0, 0, 0.66667],
        "9126": [0.64502, 1.155, 0, 0, 0.66667],
        "9127": [1e-05, 0.9, 0, 0, 0.88889],
        "9128": [0.65002, 1.15, 0, 0, 0.88889],
        "9129": [0.90001, 0, 0, 0, 0.88889],
        "9130": [0, 0.3, 0, 0, 0.88889],
        "9131": [1e-05, 0.9, 0, 0, 0.88889],
        "9132": [0.65002, 1.15, 0, 0, 0.88889],
        "9133": [0.90001, 0, 0, 0, 0.88889],
        "9143": [0.88502, 0.915, 0, 0, 1.05556],
        "10216": [1.25003, 1.75, 0, 0, 0.80556],
        "10217": [1.25003, 1.75, 0, 0, 0.80556],
        "57344": [-0.00499, 0.605, 0, 0, 1.05556],
        "57345": [-0.00499, 0.605, 0, 0, 1.05556],
        "57680": [0, 0.12, 0, 0, 0.45],
        "57681": [0, 0.12, 0, 0, 0.45],
        "57682": [0, 0.12, 0, 0, 0.45],
        "57683": [0, 0.12, 0, 0, 0.45]
      },
      "Typewriter-Regular": {
        "32": [0, 0, 0, 0, 0.525],
        "33": [0, 0.61111, 0, 0, 0.525],
        "34": [0, 0.61111, 0, 0, 0.525],
        "35": [0, 0.61111, 0, 0, 0.525],
        "36": [0.08333, 0.69444, 0, 0, 0.525],
        "37": [0.08333, 0.69444, 0, 0, 0.525],
        "38": [0, 0.61111, 0, 0, 0.525],
        "39": [0, 0.61111, 0, 0, 0.525],
        "40": [0.08333, 0.69444, 0, 0, 0.525],
        "41": [0.08333, 0.69444, 0, 0, 0.525],
        "42": [0, 0.52083, 0, 0, 0.525],
        "43": [-0.08056, 0.53055, 0, 0, 0.525],
        "44": [0.13889, 0.125, 0, 0, 0.525],
        "45": [-0.08056, 0.53055, 0, 0, 0.525],
        "46": [0, 0.125, 0, 0, 0.525],
        "47": [0.08333, 0.69444, 0, 0, 0.525],
        "48": [0, 0.61111, 0, 0, 0.525],
        "49": [0, 0.61111, 0, 0, 0.525],
        "50": [0, 0.61111, 0, 0, 0.525],
        "51": [0, 0.61111, 0, 0, 0.525],
        "52": [0, 0.61111, 0, 0, 0.525],
        "53": [0, 0.61111, 0, 0, 0.525],
        "54": [0, 0.61111, 0, 0, 0.525],
        "55": [0, 0.61111, 0, 0, 0.525],
        "56": [0, 0.61111, 0, 0, 0.525],
        "57": [0, 0.61111, 0, 0, 0.525],
        "58": [0, 0.43056, 0, 0, 0.525],
        "59": [0.13889, 0.43056, 0, 0, 0.525],
        "60": [-0.05556, 0.55556, 0, 0, 0.525],
        "61": [-0.19549, 0.41562, 0, 0, 0.525],
        "62": [-0.05556, 0.55556, 0, 0, 0.525],
        "63": [0, 0.61111, 0, 0, 0.525],
        "64": [0, 0.61111, 0, 0, 0.525],
        "65": [0, 0.61111, 0, 0, 0.525],
        "66": [0, 0.61111, 0, 0, 0.525],
        "67": [0, 0.61111, 0, 0, 0.525],
        "68": [0, 0.61111, 0, 0, 0.525],
        "69": [0, 0.61111, 0, 0, 0.525],
        "70": [0, 0.61111, 0, 0, 0.525],
        "71": [0, 0.61111, 0, 0, 0.525],
        "72": [0, 0.61111, 0, 0, 0.525],
        "73": [0, 0.61111, 0, 0, 0.525],
        "74": [0, 0.61111, 0, 0, 0.525],
        "75": [0, 0.61111, 0, 0, 0.525],
        "76": [0, 0.61111, 0, 0, 0.525],
        "77": [0, 0.61111, 0, 0, 0.525],
        "78": [0, 0.61111, 0, 0, 0.525],
        "79": [0, 0.61111, 0, 0, 0.525],
        "80": [0, 0.61111, 0, 0, 0.525],
        "81": [0.13889, 0.61111, 0, 0, 0.525],
        "82": [0, 0.61111, 0, 0, 0.525],
        "83": [0, 0.61111, 0, 0, 0.525],
        "84": [0, 0.61111, 0, 0, 0.525],
        "85": [0, 0.61111, 0, 0, 0.525],
        "86": [0, 0.61111, 0, 0, 0.525],
        "87": [0, 0.61111, 0, 0, 0.525],
        "88": [0, 0.61111, 0, 0, 0.525],
        "89": [0, 0.61111, 0, 0, 0.525],
        "90": [0, 0.61111, 0, 0, 0.525],
        "91": [0.08333, 0.69444, 0, 0, 0.525],
        "92": [0.08333, 0.69444, 0, 0, 0.525],
        "93": [0.08333, 0.69444, 0, 0, 0.525],
        "94": [0, 0.61111, 0, 0, 0.525],
        "95": [0.09514, 0, 0, 0, 0.525],
        "96": [0, 0.61111, 0, 0, 0.525],
        "97": [0, 0.43056, 0, 0, 0.525],
        "98": [0, 0.61111, 0, 0, 0.525],
        "99": [0, 0.43056, 0, 0, 0.525],
        "100": [0, 0.61111, 0, 0, 0.525],
        "101": [0, 0.43056, 0, 0, 0.525],
        "102": [0, 0.61111, 0, 0, 0.525],
        "103": [0.22222, 0.43056, 0, 0, 0.525],
        "104": [0, 0.61111, 0, 0, 0.525],
        "105": [0, 0.61111, 0, 0, 0.525],
        "106": [0.22222, 0.61111, 0, 0, 0.525],
        "107": [0, 0.61111, 0, 0, 0.525],
        "108": [0, 0.61111, 0, 0, 0.525],
        "109": [0, 0.43056, 0, 0, 0.525],
        "110": [0, 0.43056, 0, 0, 0.525],
        "111": [0, 0.43056, 0, 0, 0.525],
        "112": [0.22222, 0.43056, 0, 0, 0.525],
        "113": [0.22222, 0.43056, 0, 0, 0.525],
        "114": [0, 0.43056, 0, 0, 0.525],
        "115": [0, 0.43056, 0, 0, 0.525],
        "116": [0, 0.55358, 0, 0, 0.525],
        "117": [0, 0.43056, 0, 0, 0.525],
        "118": [0, 0.43056, 0, 0, 0.525],
        "119": [0, 0.43056, 0, 0, 0.525],
        "120": [0, 0.43056, 0, 0, 0.525],
        "121": [0.22222, 0.43056, 0, 0, 0.525],
        "122": [0, 0.43056, 0, 0, 0.525],
        "123": [0.08333, 0.69444, 0, 0, 0.525],
        "124": [0.08333, 0.69444, 0, 0, 0.525],
        "125": [0.08333, 0.69444, 0, 0, 0.525],
        "126": [0, 0.61111, 0, 0, 0.525],
        "127": [0, 0.61111, 0, 0, 0.525],
        "160": [0, 0, 0, 0, 0.525],
        "176": [0, 0.61111, 0, 0, 0.525],
        "184": [0.19445, 0, 0, 0, 0.525],
        "305": [0, 0.43056, 0, 0, 0.525],
        "567": [0.22222, 0.43056, 0, 0, 0.525],
        "711": [0, 0.56597, 0, 0, 0.525],
        "713": [0, 0.56555, 0, 0, 0.525],
        "714": [0, 0.61111, 0, 0, 0.525],
        "715": [0, 0.61111, 0, 0, 0.525],
        "728": [0, 0.61111, 0, 0, 0.525],
        "730": [0, 0.61111, 0, 0, 0.525],
        "770": [0, 0.61111, 0, 0, 0.525],
        "771": [0, 0.61111, 0, 0, 0.525],
        "776": [0, 0.61111, 0, 0, 0.525],
        "915": [0, 0.61111, 0, 0, 0.525],
        "916": [0, 0.61111, 0, 0, 0.525],
        "920": [0, 0.61111, 0, 0, 0.525],
        "923": [0, 0.61111, 0, 0, 0.525],
        "926": [0, 0.61111, 0, 0, 0.525],
        "928": [0, 0.61111, 0, 0, 0.525],
        "931": [0, 0.61111, 0, 0, 0.525],
        "933": [0, 0.61111, 0, 0, 0.525],
        "934": [0, 0.61111, 0, 0, 0.525],
        "936": [0, 0.61111, 0, 0, 0.525],
        "937": [0, 0.61111, 0, 0, 0.525],
        "8216": [0, 0.61111, 0, 0, 0.525],
        "8217": [0, 0.61111, 0, 0, 0.525],
        "8242": [0, 0.61111, 0, 0, 0.525],
        "9251": [0.11111, 0.21944, 0, 0, 0.525]
      }
    });
    // CONCATENATED MODULE: ./src/fontMetrics.js
    
    
    /**
     * This file contains metrics regarding fonts and individual symbols. The sigma
     * and xi variables, as well as the metricMap map contain data extracted from
     * TeX, TeX font metrics, and the TTF files. These data are then exposed via the
     * `metrics` variable and the getCharacterMetrics function.
     */
    // In TeX, there are actually three sets of dimensions, one for each of
    // textstyle (size index 5 and higher: >=9pt), scriptstyle (size index 3 and 4:
    // 7-8pt), and scriptscriptstyle (size index 1 and 2: 5-6pt).  These are
    // provided in the the arrays below, in that order.
    //
    // The font metrics are stored in fonts cmsy10, cmsy7, and cmsy5 respsectively.
    // This was determined by running the following script:
    //
    //     latex -interaction=nonstopmode \
    //     '\documentclass{article}\usepackage{amsmath}\begin{document}' \
    //     '$a$ \expandafter\show\the\textfont2' \
    //     '\expandafter\show\the\scriptfont2' \
    //     '\expandafter\show\the\scriptscriptfont2' \
    //     '\stop'
    //
    // The metrics themselves were retreived using the following commands:
    //
    //     tftopl cmsy10
    //     tftopl cmsy7
    //     tftopl cmsy5
    //
    // The output of each of these commands is quite lengthy.  The only part we
    // care about is the FONTDIMEN section. Each value is measured in EMs.
    var sigmasAndXis = {
      slant: [0.250, 0.250, 0.250],
      // sigma1
      space: [0.000, 0.000, 0.000],
      // sigma2
      stretch: [0.000, 0.000, 0.000],
      // sigma3
      shrink: [0.000, 0.000, 0.000],
      // sigma4
      xHeight: [0.431, 0.431, 0.431],
      // sigma5
      quad: [1.000, 1.171, 1.472],
      // sigma6
      extraSpace: [0.000, 0.000, 0.000],
      // sigma7
      num1: [0.677, 0.732, 0.925],
      // sigma8
      num2: [0.394, 0.384, 0.387],
      // sigma9
      num3: [0.444, 0.471, 0.504],
      // sigma10
      denom1: [0.686, 0.752, 1.025],
      // sigma11
      denom2: [0.345, 0.344, 0.532],
      // sigma12
      sup1: [0.413, 0.503, 0.504],
      // sigma13
      sup2: [0.363, 0.431, 0.404],
      // sigma14
      sup3: [0.289, 0.286, 0.294],
      // sigma15
      sub1: [0.150, 0.143, 0.200],
      // sigma16
      sub2: [0.247, 0.286, 0.400],
      // sigma17
      supDrop: [0.386, 0.353, 0.494],
      // sigma18
      subDrop: [0.050, 0.071, 0.100],
      // sigma19
      delim1: [2.390, 1.700, 1.980],
      // sigma20
      delim2: [1.010, 1.157, 1.420],
      // sigma21
      axisHeight: [0.250, 0.250, 0.250],
      // sigma22
      // These font metrics are extracted from TeX by using tftopl on cmex10.tfm;
      // they correspond to the font parameters of the extension fonts (family 3).
      // See the TeXbook, page 441. In AMSTeX, the extension fonts scale; to
      // match cmex7, we'd use cmex7.tfm values for script and scriptscript
      // values.
      defaultRuleThickness: [0.04, 0.049, 0.049],
      // xi8; cmex7: 0.049
      bigOpSpacing1: [0.111, 0.111, 0.111],
      // xi9
      bigOpSpacing2: [0.166, 0.166, 0.166],
      // xi10
      bigOpSpacing3: [0.2, 0.2, 0.2],
      // xi11
      bigOpSpacing4: [0.6, 0.611, 0.611],
      // xi12; cmex7: 0.611
      bigOpSpacing5: [0.1, 0.143, 0.143],
      // xi13; cmex7: 0.143
      // The \sqrt rule width is taken from the height of the surd character.
      // Since we use the same font at all sizes, this thickness doesn't scale.
      sqrtRuleThickness: [0.04, 0.04, 0.04],
      // This value determines how large a pt is, for metrics which are defined
      // in terms of pts.
      // This value is also used in katex.less; if you change it make sure the
      // values match.
      ptPerEm: [10.0, 10.0, 10.0],
      // The space between adjacent `|` columns in an array definition. From
      // `\showthe\doublerulesep` in LaTeX. Equals 2.0 / ptPerEm.
      doubleRuleSep: [0.2, 0.2, 0.2],
      // The width of separator lines in {array} environments. From
      // `\showthe\arrayrulewidth` in LaTeX. Equals 0.4 / ptPerEm.
      arrayRuleWidth: [0.04, 0.04, 0.04],
      // Two values from LaTeX source2e:
      fboxsep: [0.3, 0.3, 0.3],
      //        3 pt / ptPerEm
      fboxrule: [0.04, 0.04, 0.04] // 0.4 pt / ptPerEm
    
    }; // This map contains a mapping from font name and character code to character
    // metrics, including height, depth, italic correction, and skew (kern from the
    // character to the corresponding \skewchar)
    // This map is generated via `make metrics`. It should not be changed manually.
    
     // These are very rough approximations.  We default to Times New Roman which
    // should have Latin-1 and Cyrillic characters, but may not depending on the
    // operating system.  The metrics do not account for extra height from the
    // accents.  In the case of Cyrillic characters which have both ascenders and
    // descenders we prefer approximations with ascenders, primarily to prevent
    // the fraction bar or root line from intersecting the glyph.
    // TODO(kevinb) allow union of multiple glyph metrics for better accuracy.
    
    var extraCharacterMap = {
      // Latin-1
      'Å': 'A',
      'Ç': 'C',
      'Ð': 'D',
      'Þ': 'o',
      'å': 'a',
      'ç': 'c',
      'ð': 'd',
      'þ': 'o',
      // Cyrillic
      'А': 'A',
      'Б': 'B',
      'В': 'B',
      'Г': 'F',
      'Д': 'A',
      'Е': 'E',
      'Ж': 'K',
      'З': '3',
      'И': 'N',
      'Й': 'N',
      'К': 'K',
      'Л': 'N',
      'М': 'M',
      'Н': 'H',
      'О': 'O',
      'П': 'N',
      'Р': 'P',
      'С': 'C',
      'Т': 'T',
      'У': 'y',
      'Ф': 'O',
      'Х': 'X',
      'Ц': 'U',
      'Ч': 'h',
      'Ш': 'W',
      'Щ': 'W',
      'Ъ': 'B',
      'Ы': 'X',
      'Ь': 'B',
      'Э': '3',
      'Ю': 'X',
      'Я': 'R',
      'а': 'a',
      'б': 'b',
      'в': 'a',
      'г': 'r',
      'д': 'y',
      'е': 'e',
      'ж': 'm',
      'з': 'e',
      'и': 'n',
      'й': 'n',
      'к': 'n',
      'л': 'n',
      'м': 'm',
      'н': 'n',
      'о': 'o',
      'п': 'n',
      'р': 'p',
      'с': 'c',
      'т': 'o',
      'у': 'y',
      'ф': 'b',
      'х': 'x',
      'ц': 'n',
      'ч': 'n',
      'ш': 'w',
      'щ': 'w',
      'ъ': 'a',
      'ы': 'm',
      'ь': 'a',
      'э': 'e',
      'ю': 'm',
      'я': 'r'
    };
    
    /**
     * This function adds new font metrics to default metricMap
     * It can also override existing metrics
     */
    function setFontMetrics(fontName, metrics) {
      fontMetricsData[fontName] = metrics;
    }
    /**
     * This function is a convenience function for looking up information in the
     * metricMap table. It takes a character as a string, and a font.
     *
     * Note: the `width` property may be undefined if fontMetricsData.js wasn't
     * built using `Make extended_metrics`.
     */
    
    function getCharacterMetrics(character, font, mode) {
      if (!fontMetricsData[font]) {
        throw new Error("Font metrics not found for font: " + font + ".");
      }
    
      var ch = character.charCodeAt(0);
      var metrics = fontMetricsData[font][ch];
    
      if (!metrics && character[0] in extraCharacterMap) {
        ch = extraCharacterMap[character[0]].charCodeAt(0);
        metrics = fontMetricsData[font][ch];
      }
    
      if (!metrics && mode === 'text') {
        // We don't typically have font metrics for Asian scripts.
        // But since we support them in text mode, we need to return
        // some sort of metrics.
        // So if the character is in a script we support but we
        // don't have metrics for it, just use the metrics for
        // the Latin capital letter M. This is close enough because
        // we (currently) only care about the height of the glpyh
        // not its width.
        if (supportedCodepoint(ch)) {
          metrics = fontMetricsData[font][77]; // 77 is the charcode for 'M'
        }
      }
    
      if (metrics) {
        return {
          depth: metrics[0],
          height: metrics[1],
          italic: metrics[2],
          skew: metrics[3],
          width: metrics[4]
        };
      }
    }
    var fontMetricsBySizeIndex = {};
    /**
     * Get the font metrics for a given size.
     */
    
    function getGlobalMetrics(size) {
      var sizeIndex;
    
      if (size >= 5) {
        sizeIndex = 0;
      } else if (size >= 3) {
        sizeIndex = 1;
      } else {
        sizeIndex = 2;
      }
    
      if (!fontMetricsBySizeIndex[sizeIndex]) {
        var metrics = fontMetricsBySizeIndex[sizeIndex] = {
          cssEmPerMu: sigmasAndXis.quad[sizeIndex] / 18
        };
    
        for (var key in sigmasAndXis) {
          if (sigmasAndXis.hasOwnProperty(key)) {
            metrics[key] = sigmasAndXis[key][sizeIndex];
          }
        }
      }
    
      return fontMetricsBySizeIndex[sizeIndex];
    }
    // CONCATENATED MODULE: ./src/symbols.js
    /**
     * This file holds a list of all no-argument functions and single-character
     * symbols (like 'a' or ';').
     *
     * For each of the symbols, there are three properties they can have:
     * - font (required): the font to be used for this symbol. Either "main" (the
         normal font), or "ams" (the ams fonts).
     * - group (required): the ParseNode group type the symbol should have (i.e.
         "textord", "mathord", etc).
         See https://github.com/KaTeX/KaTeX/wiki/Examining-TeX#group-types
     * - replace: the character that this symbol or function should be
     *   replaced with (i.e. "\phi" has a replace value of "\u03d5", the phi
     *   character in the main font).
     *
     * The outermost map in the table indicates what mode the symbols should be
     * accepted in (e.g. "math" or "text").
     */
    // Some of these have a "-token" suffix since these are also used as `ParseNode`
    // types for raw text tokens, and we want to avoid conflicts with higher-level
    // `ParseNode` types. These `ParseNode`s are constructed within `Parser` by
    // looking up the `symbols` map.
    var ATOMS = {
      "bin": 1,
      "close": 1,
      "inner": 1,
      "open": 1,
      "punct": 1,
      "rel": 1
    };
    var NON_ATOMS = {
      "accent-token": 1,
      "mathord": 1,
      "op-token": 1,
      "spacing": 1,
      "textord": 1
    };
    var symbols = {
      "math": {},
      "text": {}
    };
    /* harmony default export */ var src_symbols = (symbols);
    /** `acceptUnicodeChar = true` is only applicable if `replace` is set. */
    
    function defineSymbol(mode, font, group, replace, name, acceptUnicodeChar) {
      symbols[mode][name] = {
        font: font,
        group: group,
        replace: replace
      };
    
      if (acceptUnicodeChar && replace) {
        symbols[mode][replace] = symbols[mode][name];
      }
    } // Some abbreviations for commonly used strings.
    // This helps minify the code, and also spotting typos using jshint.
    // modes:
    
    var symbols_math = "math";
    var symbols_text = "text"; // fonts:
    
    var main = "main";
    var ams = "ams"; // groups:
    
    var symbols_accent = "accent-token";
    var bin = "bin";
    var symbols_close = "close";
    var symbols_inner = "inner";
    var mathord = "mathord";
    var op = "op-token";
    var symbols_open = "open";
    var punct = "punct";
    var rel = "rel";
    var symbols_spacing = "spacing";
    var symbols_textord = "textord"; // Now comes the symbol table
    // Relation Symbols
    
    defineSymbol(symbols_math, main, rel, "\u2261", "\\equiv", true);
    defineSymbol(symbols_math, main, rel, "\u227A", "\\prec", true);
    defineSymbol(symbols_math, main, rel, "\u227B", "\\succ", true);
    defineSymbol(symbols_math, main, rel, "\u223C", "\\sim", true);
    defineSymbol(symbols_math, main, rel, "\u22A5", "\\perp");
    defineSymbol(symbols_math, main, rel, "\u2AAF", "\\preceq", true);
    defineSymbol(symbols_math, main, rel, "\u2AB0", "\\succeq", true);
    defineSymbol(symbols_math, main, rel, "\u2243", "\\simeq", true);
    defineSymbol(symbols_math, main, rel, "\u2223", "\\mid", true);
    defineSymbol(symbols_math, main, rel, "\u226A", "\\ll", true);
    defineSymbol(symbols_math, main, rel, "\u226B", "\\gg", true);
    defineSymbol(symbols_math, main, rel, "\u224D", "\\asymp", true);
    defineSymbol(symbols_math, main, rel, "\u2225", "\\parallel");
    defineSymbol(symbols_math, main, rel, "\u22C8", "\\bowtie", true);
    defineSymbol(symbols_math, main, rel, "\u2323", "\\smile", true);
    defineSymbol(symbols_math, main, rel, "\u2291", "\\sqsubseteq", true);
    defineSymbol(symbols_math, main, rel, "\u2292", "\\sqsupseteq", true);
    defineSymbol(symbols_math, main, rel, "\u2250", "\\doteq", true);
    defineSymbol(symbols_math, main, rel, "\u2322", "\\frown", true);
    defineSymbol(symbols_math, main, rel, "\u220B", "\\ni", true);
    defineSymbol(symbols_math, main, rel, "\u221D", "\\propto", true);
    defineSymbol(symbols_math, main, rel, "\u22A2", "\\vdash", true);
    defineSymbol(symbols_math, main, rel, "\u22A3", "\\dashv", true);
    defineSymbol(symbols_math, main, rel, "\u220B", "\\owns"); // Punctuation
    
    defineSymbol(symbols_math, main, punct, ".", "\\ldotp");
    defineSymbol(symbols_math, main, punct, "\u22C5", "\\cdotp"); // Misc Symbols
    
    defineSymbol(symbols_math, main, symbols_textord, "#", "\\#");
    defineSymbol(symbols_text, main, symbols_textord, "#", "\\#");
    defineSymbol(symbols_math, main, symbols_textord, "&", "\\&");
    defineSymbol(symbols_text, main, symbols_textord, "&", "\\&");
    defineSymbol(symbols_math, main, symbols_textord, "\u2135", "\\aleph", true);
    defineSymbol(symbols_math, main, symbols_textord, "\u2200", "\\forall", true);
    defineSymbol(symbols_math, main, symbols_textord, "\u210F", "\\hbar", true);
    defineSymbol(symbols_math, main, symbols_textord, "\u2203", "\\exists", true);
    defineSymbol(symbols_math, main, symbols_textord, "\u2207", "\\nabla", true);
    defineSymbol(symbols_math, main, symbols_textord, "\u266D", "\\flat", true);
    defineSymbol(symbols_math, main, symbols_textord, "\u2113", "\\ell", true);
    defineSymbol(symbols_math, main, symbols_textord, "\u266E", "\\natural", true);
    defineSymbol(symbols_math, main, symbols_textord, "\u2663", "\\clubsuit", true);
    defineSymbol(symbols_math, main, symbols_textord, "\u2118", "\\wp", true);
    defineSymbol(symbols_math, main, symbols_textord, "\u266F", "\\sharp", true);
    defineSymbol(symbols_math, main, symbols_textord, "\u2662", "\\diamondsuit", true);
    defineSymbol(symbols_math, main, symbols_textord, "\u211C", "\\Re", true);
    defineSymbol(symbols_math, main, symbols_textord, "\u2661", "\\heartsuit", true);
    defineSymbol(symbols_math, main, symbols_textord, "\u2111", "\\Im", true);
    defineSymbol(symbols_math, main, symbols_textord, "\u2660", "\\spadesuit", true);
    defineSymbol(symbols_text, main, symbols_textord, "\xA7", "\\S", true);
    defineSymbol(symbols_text, main, symbols_textord, "\xB6", "\\P", true); // Math and Text
    
    defineSymbol(symbols_math, main, symbols_textord, "\u2020", "\\dag");
    defineSymbol(symbols_text, main, symbols_textord, "\u2020", "\\dag");
    defineSymbol(symbols_text, main, symbols_textord, "\u2020", "\\textdagger");
    defineSymbol(symbols_math, main, symbols_textord, "\u2021", "\\ddag");
    defineSymbol(symbols_text, main, symbols_textord, "\u2021", "\\ddag");
    defineSymbol(symbols_text, main, symbols_textord, "\u2021", "\\textdaggerdbl"); // Large Delimiters
    
    defineSymbol(symbols_math, main, symbols_close, "\u23B1", "\\rmoustache", true);
    defineSymbol(symbols_math, main, symbols_open, "\u23B0", "\\lmoustache", true);
    defineSymbol(symbols_math, main, symbols_close, "\u27EF", "\\rgroup", true);
    defineSymbol(symbols_math, main, symbols_open, "\u27EE", "\\lgroup", true); // Binary Operators
    
    defineSymbol(symbols_math, main, bin, "\u2213", "\\mp", true);
    defineSymbol(symbols_math, main, bin, "\u2296", "\\ominus", true);
    defineSymbol(symbols_math, main, bin, "\u228E", "\\uplus", true);
    defineSymbol(symbols_math, main, bin, "\u2293", "\\sqcap", true);
    defineSymbol(symbols_math, main, bin, "\u2217", "\\ast");
    defineSymbol(symbols_math, main, bin, "\u2294", "\\sqcup", true);
    defineSymbol(symbols_math, main, bin, "\u25EF", "\\bigcirc");
    defineSymbol(symbols_math, main, bin, "\u2219", "\\bullet");
    defineSymbol(symbols_math, main, bin, "\u2021", "\\ddagger");
    defineSymbol(symbols_math, main, bin, "\u2240", "\\wr", true);
    defineSymbol(symbols_math, main, bin, "\u2A3F", "\\amalg");
    defineSymbol(symbols_math, main, bin, "&", "\\And"); // from amsmath
    // Arrow Symbols
    
    defineSymbol(symbols_math, main, rel, "\u27F5", "\\longleftarrow", true);
    defineSymbol(symbols_math, main, rel, "\u21D0", "\\Leftarrow", true);
    defineSymbol(symbols_math, main, rel, "\u27F8", "\\Longleftarrow", true);
    defineSymbol(symbols_math, main, rel, "\u27F6", "\\longrightarrow", true);
    defineSymbol(symbols_math, main, rel, "\u21D2", "\\Rightarrow", true);
    defineSymbol(symbols_math, main, rel, "\u27F9", "\\Longrightarrow", true);
    defineSymbol(symbols_math, main, rel, "\u2194", "\\leftrightarrow", true);
    defineSymbol(symbols_math, main, rel, "\u27F7", "\\longleftrightarrow", true);
    defineSymbol(symbols_math, main, rel, "\u21D4", "\\Leftrightarrow", true);
    defineSymbol(symbols_math, main, rel, "\u27FA", "\\Longleftrightarrow", true);
    defineSymbol(symbols_math, main, rel, "\u21A6", "\\mapsto", true);
    defineSymbol(symbols_math, main, rel, "\u27FC", "\\longmapsto", true);
    defineSymbol(symbols_math, main, rel, "\u2197", "\\nearrow", true);
    defineSymbol(symbols_math, main, rel, "\u21A9", "\\hookleftarrow", true);
    defineSymbol(symbols_math, main, rel, "\u21AA", "\\hookrightarrow", true);
    defineSymbol(symbols_math, main, rel, "\u2198", "\\searrow", true);
    defineSymbol(symbols_math, main, rel, "\u21BC", "\\leftharpoonup", true);
    defineSymbol(symbols_math, main, rel, "\u21C0", "\\rightharpoonup", true);
    defineSymbol(symbols_math, main, rel, "\u2199", "\\swarrow", true);
    defineSymbol(symbols_math, main, rel, "\u21BD", "\\leftharpoondown", true);
    defineSymbol(symbols_math, main, rel, "\u21C1", "\\rightharpoondown", true);
    defineSymbol(symbols_math, main, rel, "\u2196", "\\nwarrow", true);
    defineSymbol(symbols_math, main, rel, "\u21CC", "\\rightleftharpoons", true); // AMS Negated Binary Relations
    
    defineSymbol(symbols_math, ams, rel, "\u226E", "\\nless", true); // Symbol names preceeded by "@" each have a corresponding macro.
    
    defineSymbol(symbols_math, ams, rel, "\uE010", "\\@nleqslant");
    defineSymbol(symbols_math, ams, rel, "\uE011", "\\@nleqq");
    defineSymbol(symbols_math, ams, rel, "\u2A87", "\\lneq", true);
    defineSymbol(symbols_math, ams, rel, "\u2268", "\\lneqq", true);
    defineSymbol(symbols_math, ams, rel, "\uE00C", "\\@lvertneqq");
    defineSymbol(symbols_math, ams, rel, "\u22E6", "\\lnsim", true);
    defineSymbol(symbols_math, ams, rel, "\u2A89", "\\lnapprox", true);
    defineSymbol(symbols_math, ams, rel, "\u2280", "\\nprec", true); // unicode-math maps \u22e0 to \npreccurlyeq. We'll use the AMS synonym.
    
    defineSymbol(symbols_math, ams, rel, "\u22E0", "\\npreceq", true);
    defineSymbol(symbols_math, ams, rel, "\u22E8", "\\precnsim", true);
    defineSymbol(symbols_math, ams, rel, "\u2AB9", "\\precnapprox", true);
    defineSymbol(symbols_math, ams, rel, "\u2241", "\\nsim", true);
    defineSymbol(symbols_math, ams, rel, "\uE006", "\\@nshortmid");
    defineSymbol(symbols_math, ams, rel, "\u2224", "\\nmid", true);
    defineSymbol(symbols_math, ams, rel, "\u22AC", "\\nvdash", true);
    defineSymbol(symbols_math, ams, rel, "\u22AD", "\\nvDash", true);
    defineSymbol(symbols_math, ams, rel, "\u22EA", "\\ntriangleleft");
    defineSymbol(symbols_math, ams, rel, "\u22EC", "\\ntrianglelefteq", true);
    defineSymbol(symbols_math, ams, rel, "\u228A", "\\subsetneq", true);
    defineSymbol(symbols_math, ams, rel, "\uE01A", "\\@varsubsetneq");
    defineSymbol(symbols_math, ams, rel, "\u2ACB", "\\subsetneqq", true);
    defineSymbol(symbols_math, ams, rel, "\uE017", "\\@varsubsetneqq");
    defineSymbol(symbols_math, ams, rel, "\u226F", "\\ngtr", true);
    defineSymbol(symbols_math, ams, rel, "\uE00F", "\\@ngeqslant");
    defineSymbol(symbols_math, ams, rel, "\uE00E", "\\@ngeqq");
    defineSymbol(symbols_math, ams, rel, "\u2A88", "\\gneq", true);
    defineSymbol(symbols_math, ams, rel, "\u2269", "\\gneqq", true);
    defineSymbol(symbols_math, ams, rel, "\uE00D", "\\@gvertneqq");
    defineSymbol(symbols_math, ams, rel, "\u22E7", "\\gnsim", true);
    defineSymbol(symbols_math, ams, rel, "\u2A8A", "\\gnapprox", true);
    defineSymbol(symbols_math, ams, rel, "\u2281", "\\nsucc", true); // unicode-math maps \u22e1 to \nsucccurlyeq. We'll use the AMS synonym.
    
    defineSymbol(symbols_math, ams, rel, "\u22E1", "\\nsucceq", true);
    defineSymbol(symbols_math, ams, rel, "\u22E9", "\\succnsim", true);
    defineSymbol(symbols_math, ams, rel, "\u2ABA", "\\succnapprox", true); // unicode-math maps \u2246 to \simneqq. We'll use the AMS synonym.
    
    defineSymbol(symbols_math, ams, rel, "\u2246", "\\ncong", true);
    defineSymbol(symbols_math, ams, rel, "\uE007", "\\@nshortparallel");
    defineSymbol(symbols_math, ams, rel, "\u2226", "\\nparallel", true);
    defineSymbol(symbols_math, ams, rel, "\u22AF", "\\nVDash", true);
    defineSymbol(symbols_math, ams, rel, "\u22EB", "\\ntriangleright");
    defineSymbol(symbols_math, ams, rel, "\u22ED", "\\ntrianglerighteq", true);
    defineSymbol(symbols_math, ams, rel, "\uE018", "\\@nsupseteqq");
    defineSymbol(symbols_math, ams, rel, "\u228B", "\\supsetneq", true);
    defineSymbol(symbols_math, ams, rel, "\uE01B", "\\@varsupsetneq");
    defineSymbol(symbols_math, ams, rel, "\u2ACC", "\\supsetneqq", true);
    defineSymbol(symbols_math, ams, rel, "\uE019", "\\@varsupsetneqq");
    defineSymbol(symbols_math, ams, rel, "\u22AE", "\\nVdash", true);
    defineSymbol(symbols_math, ams, rel, "\u2AB5", "\\precneqq", true);
    defineSymbol(symbols_math, ams, rel, "\u2AB6", "\\succneqq", true);
    defineSymbol(symbols_math, ams, rel, "\uE016", "\\@nsubseteqq");
    defineSymbol(symbols_math, ams, bin, "\u22B4", "\\unlhd");
    defineSymbol(symbols_math, ams, bin, "\u22B5", "\\unrhd"); // AMS Negated Arrows
    
    defineSymbol(symbols_math, ams, rel, "\u219A", "\\nleftarrow", true);
    defineSymbol(symbols_math, ams, rel, "\u219B", "\\nrightarrow", true);
    defineSymbol(symbols_math, ams, rel, "\u21CD", "\\nLeftarrow", true);
    defineSymbol(symbols_math, ams, rel, "\u21CF", "\\nRightarrow", true);
    defineSymbol(symbols_math, ams, rel, "\u21AE", "\\nleftrightarrow", true);
    defineSymbol(symbols_math, ams, rel, "\u21CE", "\\nLeftrightarrow", true); // AMS Misc
    
    defineSymbol(symbols_math, ams, rel, "\u25B3", "\\vartriangle");
    defineSymbol(symbols_math, ams, symbols_textord, "\u210F", "\\hslash");
    defineSymbol(symbols_math, ams, symbols_textord, "\u25BD", "\\triangledown");
    defineSymbol(symbols_math, ams, symbols_textord, "\u25CA", "\\lozenge");
    defineSymbol(symbols_math, ams, symbols_textord, "\u24C8", "\\circledS");
    defineSymbol(symbols_math, ams, symbols_textord, "\xAE", "\\circledR");
    defineSymbol(symbols_text, ams, symbols_textord, "\xAE", "\\circledR");
    defineSymbol(symbols_math, ams, symbols_textord, "\u2221", "\\measuredangle", true);
    defineSymbol(symbols_math, ams, symbols_textord, "\u2204", "\\nexists");
    defineSymbol(symbols_math, ams, symbols_textord, "\u2127", "\\mho");
    defineSymbol(symbols_math, ams, symbols_textord, "\u2132", "\\Finv", true);
    defineSymbol(symbols_math, ams, symbols_textord, "\u2141", "\\Game", true);
    defineSymbol(symbols_math, ams, symbols_textord, "\u2035", "\\backprime");
    defineSymbol(symbols_math, ams, symbols_textord, "\u25B2", "\\blacktriangle");
    defineSymbol(symbols_math, ams, symbols_textord, "\u25BC", "\\blacktriangledown");
    defineSymbol(symbols_math, ams, symbols_textord, "\u25A0", "\\blacksquare");
    defineSymbol(symbols_math, ams, symbols_textord, "\u29EB", "\\blacklozenge");
    defineSymbol(symbols_math, ams, symbols_textord, "\u2605", "\\bigstar");
    defineSymbol(symbols_math, ams, symbols_textord, "\u2222", "\\sphericalangle", true);
    defineSymbol(symbols_math, ams, symbols_textord, "\u2201", "\\complement", true); // unicode-math maps U+F0 (ð) to \matheth. We map to AMS function \eth
    
    defineSymbol(symbols_math, ams, symbols_textord, "\xF0", "\\eth", true);
    defineSymbol(symbols_math, ams, symbols_textord, "\u2571", "\\diagup");
    defineSymbol(symbols_math, ams, symbols_textord, "\u2572", "\\diagdown");
    defineSymbol(symbols_math, ams, symbols_textord, "\u25A1", "\\square");
    defineSymbol(symbols_math, ams, symbols_textord, "\u25A1", "\\Box");
    defineSymbol(symbols_math, ams, symbols_textord, "\u25CA", "\\Diamond"); // unicode-math maps U+A5 to \mathyen. We map to AMS function \yen
    
    defineSymbol(symbols_math, ams, symbols_textord, "\xA5", "\\yen", true);
    defineSymbol(symbols_text, ams, symbols_textord, "\xA5", "\\yen", true);
    defineSymbol(symbols_math, ams, symbols_textord, "\u2713", "\\checkmark", true);
    defineSymbol(symbols_text, ams, symbols_textord, "\u2713", "\\checkmark"); // AMS Hebrew
    
    defineSymbol(symbols_math, ams, symbols_textord, "\u2136", "\\beth", true);
    defineSymbol(symbols_math, ams, symbols_textord, "\u2138", "\\daleth", true);
    defineSymbol(symbols_math, ams, symbols_textord, "\u2137", "\\gimel", true); // AMS Greek
    
    defineSymbol(symbols_math, ams, symbols_textord, "\u03DD", "\\digamma", true);
    defineSymbol(symbols_math, ams, symbols_textord, "\u03F0", "\\varkappa"); // AMS Delimiters
    
    defineSymbol(symbols_math, ams, symbols_open, "\u250C", "\\ulcorner", true);
    defineSymbol(symbols_math, ams, symbols_close, "\u2510", "\\urcorner", true);
    defineSymbol(symbols_math, ams, symbols_open, "\u2514", "\\llcorner", true);
    defineSymbol(symbols_math, ams, symbols_close, "\u2518", "\\lrcorner", true); // AMS Binary Relations
    
    defineSymbol(symbols_math, ams, rel, "\u2266", "\\leqq", true);
    defineSymbol(symbols_math, ams, rel, "\u2A7D", "\\leqslant", true);
    defineSymbol(symbols_math, ams, rel, "\u2A95", "\\eqslantless", true);
    defineSymbol(symbols_math, ams, rel, "\u2272", "\\lesssim", true);
    defineSymbol(symbols_math, ams, rel, "\u2A85", "\\lessapprox", true);
    defineSymbol(symbols_math, ams, rel, "\u224A", "\\approxeq", true);
    defineSymbol(symbols_math, ams, bin, "\u22D6", "\\lessdot");
    defineSymbol(symbols_math, ams, rel, "\u22D8", "\\lll", true);
    defineSymbol(symbols_math, ams, rel, "\u2276", "\\lessgtr", true);
    defineSymbol(symbols_math, ams, rel, "\u22DA", "\\lesseqgtr", true);
    defineSymbol(symbols_math, ams, rel, "\u2A8B", "\\lesseqqgtr", true);
    defineSymbol(symbols_math, ams, rel, "\u2251", "\\doteqdot");
    defineSymbol(symbols_math, ams, rel, "\u2253", "\\risingdotseq", true);
    defineSymbol(symbols_math, ams, rel, "\u2252", "\\fallingdotseq", true);
    defineSymbol(symbols_math, ams, rel, "\u223D", "\\backsim", true);
    defineSymbol(symbols_math, ams, rel, "\u22CD", "\\backsimeq", true);
    defineSymbol(symbols_math, ams, rel, "\u2AC5", "\\subseteqq", true);
    defineSymbol(symbols_math, ams, rel, "\u22D0", "\\Subset", true);
    defineSymbol(symbols_math, ams, rel, "\u228F", "\\sqsubset", true);
    defineSymbol(symbols_math, ams, rel, "\u227C", "\\preccurlyeq", true);
    defineSymbol(symbols_math, ams, rel, "\u22DE", "\\curlyeqprec", true);
    defineSymbol(symbols_math, ams, rel, "\u227E", "\\precsim", true);
    defineSymbol(symbols_math, ams, rel, "\u2AB7", "\\precapprox", true);
    defineSymbol(symbols_math, ams, rel, "\u22B2", "\\vartriangleleft");
    defineSymbol(symbols_math, ams, rel, "\u22B4", "\\trianglelefteq");
    defineSymbol(symbols_math, ams, rel, "\u22A8", "\\vDash", true);
    defineSymbol(symbols_math, ams, rel, "\u22AA", "\\Vvdash", true);
    defineSymbol(symbols_math, ams, rel, "\u2323", "\\smallsmile");
    defineSymbol(symbols_math, ams, rel, "\u2322", "\\smallfrown");
    defineSymbol(symbols_math, ams, rel, "\u224F", "\\bumpeq", true);
    defineSymbol(symbols_math, ams, rel, "\u224E", "\\Bumpeq", true);
    defineSymbol(symbols_math, ams, rel, "\u2267", "\\geqq", true);
    defineSymbol(symbols_math, ams, rel, "\u2A7E", "\\geqslant", true);
    defineSymbol(symbols_math, ams, rel, "\u2A96", "\\eqslantgtr", true);
    defineSymbol(symbols_math, ams, rel, "\u2273", "\\gtrsim", true);
    defineSymbol(symbols_math, ams, rel, "\u2A86", "\\gtrapprox", true);
    defineSymbol(symbols_math, ams, bin, "\u22D7", "\\gtrdot");
    defineSymbol(symbols_math, ams, rel, "\u22D9", "\\ggg", true);
    defineSymbol(symbols_math, ams, rel, "\u2277", "\\gtrless", true);
    defineSymbol(symbols_math, ams, rel, "\u22DB", "\\gtreqless", true);
    defineSymbol(symbols_math, ams, rel, "\u2A8C", "\\gtreqqless", true);
    defineSymbol(symbols_math, ams, rel, "\u2256", "\\eqcirc", true);
    defineSymbol(symbols_math, ams, rel, "\u2257", "\\circeq", true);
    defineSymbol(symbols_math, ams, rel, "\u225C", "\\triangleq", true);
    defineSymbol(symbols_math, ams, rel, "\u223C", "\\thicksim");
    defineSymbol(symbols_math, ams, rel, "\u2248", "\\thickapprox");
    defineSymbol(symbols_math, ams, rel, "\u2AC6", "\\supseteqq", true);
    defineSymbol(symbols_math, ams, rel, "\u22D1", "\\Supset", true);
    defineSymbol(symbols_math, ams, rel, "\u2290", "\\sqsupset", true);
    defineSymbol(symbols_math, ams, rel, "\u227D", "\\succcurlyeq", true);
    defineSymbol(symbols_math, ams, rel, "\u22DF", "\\curlyeqsucc", true);
    defineSymbol(symbols_math, ams, rel, "\u227F", "\\succsim", true);
    defineSymbol(symbols_math, ams, rel, "\u2AB8", "\\succapprox", true);
    defineSymbol(symbols_math, ams, rel, "\u22B3", "\\vartriangleright");
    defineSymbol(symbols_math, ams, rel, "\u22B5", "\\trianglerighteq");
    defineSymbol(symbols_math, ams, rel, "\u22A9", "\\Vdash", true);
    defineSymbol(symbols_math, ams, rel, "\u2223", "\\shortmid");
    defineSymbol(symbols_math, ams, rel, "\u2225", "\\shortparallel");
    defineSymbol(symbols_math, ams, rel, "\u226C", "\\between", true);
    defineSymbol(symbols_math, ams, rel, "\u22D4", "\\pitchfork", true);
    defineSymbol(symbols_math, ams, rel, "\u221D", "\\varpropto");
    defineSymbol(symbols_math, ams, rel, "\u25C0", "\\blacktriangleleft"); // unicode-math says that \therefore is a mathord atom.
    // We kept the amssymb atom type, which is rel.
    
    defineSymbol(symbols_math, ams, rel, "\u2234", "\\therefore", true);
    defineSymbol(symbols_math, ams, rel, "\u220D", "\\backepsilon");
    defineSymbol(symbols_math, ams, rel, "\u25B6", "\\blacktriangleright"); // unicode-math says that \because is a mathord atom.
    // We kept the amssymb atom type, which is rel.
    
    defineSymbol(symbols_math, ams, rel, "\u2235", "\\because", true);
    defineSymbol(symbols_math, ams, rel, "\u22D8", "\\llless");
    defineSymbol(symbols_math, ams, rel, "\u22D9", "\\gggtr");
    defineSymbol(symbols_math, ams, bin, "\u22B2", "\\lhd");
    defineSymbol(symbols_math, ams, bin, "\u22B3", "\\rhd");
    defineSymbol(symbols_math, ams, rel, "\u2242", "\\eqsim", true);
    defineSymbol(symbols_math, main, rel, "\u22C8", "\\Join");
    defineSymbol(symbols_math, ams, rel, "\u2251", "\\Doteq", true); // AMS Binary Operators
    
    defineSymbol(symbols_math, ams, bin, "\u2214", "\\dotplus", true);
    defineSymbol(symbols_math, ams, bin, "\u2216", "\\smallsetminus");
    defineSymbol(symbols_math, ams, bin, "\u22D2", "\\Cap", true);
    defineSymbol(symbols_math, ams, bin, "\u22D3", "\\Cup", true);
    defineSymbol(symbols_math, ams, bin, "\u2A5E", "\\doublebarwedge", true);
    defineSymbol(symbols_math, ams, bin, "\u229F", "\\boxminus", true);
    defineSymbol(symbols_math, ams, bin, "\u229E", "\\boxplus", true);
    defineSymbol(symbols_math, ams, bin, "\u22C7", "\\divideontimes", true);
    defineSymbol(symbols_math, ams, bin, "\u22C9", "\\ltimes", true);
    defineSymbol(symbols_math, ams, bin, "\u22CA", "\\rtimes", true);
    defineSymbol(symbols_math, ams, bin, "\u22CB", "\\leftthreetimes", true);
    defineSymbol(symbols_math, ams, bin, "\u22CC", "\\rightthreetimes", true);
    defineSymbol(symbols_math, ams, bin, "\u22CF", "\\curlywedge", true);
    defineSymbol(symbols_math, ams, bin, "\u22CE", "\\curlyvee", true);
    defineSymbol(symbols_math, ams, bin, "\u229D", "\\circleddash", true);
    defineSymbol(symbols_math, ams, bin, "\u229B", "\\circledast", true);
    defineSymbol(symbols_math, ams, bin, "\u22C5", "\\centerdot");
    defineSymbol(symbols_math, ams, bin, "\u22BA", "\\intercal", true);
    defineSymbol(symbols_math, ams, bin, "\u22D2", "\\doublecap");
    defineSymbol(symbols_math, ams, bin, "\u22D3", "\\doublecup");
    defineSymbol(symbols_math, ams, bin, "\u22A0", "\\boxtimes", true); // AMS Arrows
    // Note: unicode-math maps \u21e2 to their own function \rightdasharrow.
    // We'll map it to AMS function \dashrightarrow. It produces the same atom.
    
    defineSymbol(symbols_math, ams, rel, "\u21E2", "\\dashrightarrow", true); // unicode-math maps \u21e0 to \leftdasharrow. We'll use the AMS synonym.
    
    defineSymbol(symbols_math, ams, rel, "\u21E0", "\\dashleftarrow", true);
    defineSymbol(symbols_math, ams, rel, "\u21C7", "\\leftleftarrows", true);
    defineSymbol(symbols_math, ams, rel, "\u21C6", "\\leftrightarrows", true);
    defineSymbol(symbols_math, ams, rel, "\u21DA", "\\Lleftarrow", true);
    defineSymbol(symbols_math, ams, rel, "\u219E", "\\twoheadleftarrow", true);
    defineSymbol(symbols_math, ams, rel, "\u21A2", "\\leftarrowtail", true);
    defineSymbol(symbols_math, ams, rel, "\u21AB", "\\looparrowleft", true);
    defineSymbol(symbols_math, ams, rel, "\u21CB", "\\leftrightharpoons", true);
    defineSymbol(symbols_math, ams, rel, "\u21B6", "\\curvearrowleft", true); // unicode-math maps \u21ba to \acwopencirclearrow. We'll use the AMS synonym.
    
    defineSymbol(symbols_math, ams, rel, "\u21BA", "\\circlearrowleft", true);
    defineSymbol(symbols_math, ams, rel, "\u21B0", "\\Lsh", true);
    defineSymbol(symbols_math, ams, rel, "\u21C8", "\\upuparrows", true);
    defineSymbol(symbols_math, ams, rel, "\u21BF", "\\upharpoonleft", true);
    defineSymbol(symbols_math, ams, rel, "\u21C3", "\\downharpoonleft", true);
    defineSymbol(symbols_math, ams, rel, "\u22B8", "\\multimap", true);
    defineSymbol(symbols_math, ams, rel, "\u21AD", "\\leftrightsquigarrow", true);
    defineSymbol(symbols_math, ams, rel, "\u21C9", "\\rightrightarrows", true);
    defineSymbol(symbols_math, ams, rel, "\u21C4", "\\rightleftarrows", true);
    defineSymbol(symbols_math, ams, rel, "\u21A0", "\\twoheadrightarrow", true);
    defineSymbol(symbols_math, ams, rel, "\u21A3", "\\rightarrowtail", true);
    defineSymbol(symbols_math, ams, rel, "\u21AC", "\\looparrowright", true);
    defineSymbol(symbols_math, ams, rel, "\u21B7", "\\curvearrowright", true); // unicode-math maps \u21bb to \cwopencirclearrow. We'll use the AMS synonym.
    
    defineSymbol(symbols_math, ams, rel, "\u21BB", "\\circlearrowright", true);
    defineSymbol(symbols_math, ams, rel, "\u21B1", "\\Rsh", true);
    defineSymbol(symbols_math, ams, rel, "\u21CA", "\\downdownarrows", true);
    defineSymbol(symbols_math, ams, rel, "\u21BE", "\\upharpoonright", true);
    defineSymbol(symbols_math, ams, rel, "\u21C2", "\\downharpoonright", true);
    defineSymbol(symbols_math, ams, rel, "\u21DD", "\\rightsquigarrow", true);
    defineSymbol(symbols_math, ams, rel, "\u21DD", "\\leadsto");
    defineSymbol(symbols_math, ams, rel, "\u21DB", "\\Rrightarrow", true);
    defineSymbol(symbols_math, ams, rel, "\u21BE", "\\restriction");
    defineSymbol(symbols_math, main, symbols_textord, "\u2018", "`");
    defineSymbol(symbols_math, main, symbols_textord, "$", "\\$");
    defineSymbol(symbols_text, main, symbols_textord, "$", "\\$");
    defineSymbol(symbols_text, main, symbols_textord, "$", "\\textdollar");
    defineSymbol(symbols_math, main, symbols_textord, "%", "\\%");
    defineSymbol(symbols_text, main, symbols_textord, "%", "\\%");
    defineSymbol(symbols_math, main, symbols_textord, "_", "\\_");
    defineSymbol(symbols_text, main, symbols_textord, "_", "\\_");
    defineSymbol(symbols_text, main, symbols_textord, "_", "\\textunderscore");
    defineSymbol(symbols_math, main, symbols_textord, "\u2220", "\\angle", true);
    defineSymbol(symbols_math, main, symbols_textord, "\u221E", "\\infty", true);
    defineSymbol(symbols_math, main, symbols_textord, "\u2032", "\\prime");
    defineSymbol(symbols_math, main, symbols_textord, "\u25B3", "\\triangle");
    defineSymbol(symbols_math, main, symbols_textord, "\u0393", "\\Gamma", true);
    defineSymbol(symbols_math, main, symbols_textord, "\u0394", "\\Delta", true);
    defineSymbol(symbols_math, main, symbols_textord, "\u0398", "\\Theta", true);
    defineSymbol(symbols_math, main, symbols_textord, "\u039B", "\\Lambda", true);
    defineSymbol(symbols_math, main, symbols_textord, "\u039E", "\\Xi", true);
    defineSymbol(symbols_math, main, symbols_textord, "\u03A0", "\\Pi", true);
    defineSymbol(symbols_math, main, symbols_textord, "\u03A3", "\\Sigma", true);
    defineSymbol(symbols_math, main, symbols_textord, "\u03A5", "\\Upsilon", true);
    defineSymbol(symbols_math, main, symbols_textord, "\u03A6", "\\Phi", true);
    defineSymbol(symbols_math, main, symbols_textord, "\u03A8", "\\Psi", true);
    defineSymbol(symbols_math, main, symbols_textord, "\u03A9", "\\Omega", true);
    defineSymbol(symbols_math, main, symbols_textord, "A", "\u0391");
    defineSymbol(symbols_math, main, symbols_textord, "B", "\u0392");
    defineSymbol(symbols_math, main, symbols_textord, "E", "\u0395");
    defineSymbol(symbols_math, main, symbols_textord, "Z", "\u0396");
    defineSymbol(symbols_math, main, symbols_textord, "H", "\u0397");
    defineSymbol(symbols_math, main, symbols_textord, "I", "\u0399");
    defineSymbol(symbols_math, main, symbols_textord, "K", "\u039A");
    defineSymbol(symbols_math, main, symbols_textord, "M", "\u039C");
    defineSymbol(symbols_math, main, symbols_textord, "N", "\u039D");
    defineSymbol(symbols_math, main, symbols_textord, "O", "\u039F");
    defineSymbol(symbols_math, main, symbols_textord, "P", "\u03A1");
    defineSymbol(symbols_math, main, symbols_textord, "T", "\u03A4");
    defineSymbol(symbols_math, main, symbols_textord, "X", "\u03A7");
    defineSymbol(symbols_math, main, symbols_textord, "\xAC", "\\neg", true);
    defineSymbol(symbols_math, main, symbols_textord, "\xAC", "\\lnot");
    defineSymbol(symbols_math, main, symbols_textord, "\u22A4", "\\top");
    defineSymbol(symbols_math, main, symbols_textord, "\u22A5", "\\bot");
    defineSymbol(symbols_math, main, symbols_textord, "\u2205", "\\emptyset");
    defineSymbol(symbols_math, ams, symbols_textord, "\u2205", "\\varnothing");
    defineSymbol(symbols_math, main, mathord, "\u03B1", "\\alpha", true);
    defineSymbol(symbols_math, main, mathord, "\u03B2", "\\beta", true);
    defineSymbol(symbols_math, main, mathord, "\u03B3", "\\gamma", true);
    defineSymbol(symbols_math, main, mathord, "\u03B4", "\\delta", true);
    defineSymbol(symbols_math, main, mathord, "\u03F5", "\\epsilon", true);
    defineSymbol(symbols_math, main, mathord, "\u03B6", "\\zeta", true);
    defineSymbol(symbols_math, main, mathord, "\u03B7", "\\eta", true);
    defineSymbol(symbols_math, main, mathord, "\u03B8", "\\theta", true);
    defineSymbol(symbols_math, main, mathord, "\u03B9", "\\iota", true);
    defineSymbol(symbols_math, main, mathord, "\u03BA", "\\kappa", true);
    defineSymbol(symbols_math, main, mathord, "\u03BB", "\\lambda", true);
    defineSymbol(symbols_math, main, mathord, "\u03BC", "\\mu", true);
    defineSymbol(symbols_math, main, mathord, "\u03BD", "\\nu", true);
    defineSymbol(symbols_math, main, mathord, "\u03BE", "\\xi", true);
    defineSymbol(symbols_math, main, mathord, "\u03BF", "\\omicron", true);
    defineSymbol(symbols_math, main, mathord, "\u03C0", "\\pi", true);
    defineSymbol(symbols_math, main, mathord, "\u03C1", "\\rho", true);
    defineSymbol(symbols_math, main, mathord, "\u03C3", "\\sigma", true);
    defineSymbol(symbols_math, main, mathord, "\u03C4", "\\tau", true);
    defineSymbol(symbols_math, main, mathord, "\u03C5", "\\upsilon", true);
    defineSymbol(symbols_math, main, mathord, "\u03D5", "\\phi", true);
    defineSymbol(symbols_math, main, mathord, "\u03C7", "\\chi", true);
    defineSymbol(symbols_math, main, mathord, "\u03C8", "\\psi", true);
    defineSymbol(symbols_math, main, mathord, "\u03C9", "\\omega", true);
    defineSymbol(symbols_math, main, mathord, "\u03B5", "\\varepsilon", true);
    defineSymbol(symbols_math, main, mathord, "\u03D1", "\\vartheta", true);
    defineSymbol(symbols_math, main, mathord, "\u03D6", "\\varpi", true);
    defineSymbol(symbols_math, main, mathord, "\u03F1", "\\varrho", true);
    defineSymbol(symbols_math, main, mathord, "\u03C2", "\\varsigma", true);
    defineSymbol(symbols_math, main, mathord, "\u03C6", "\\varphi", true);
    defineSymbol(symbols_math, main, bin, "\u2217", "*");
    defineSymbol(symbols_math, main, bin, "+", "+");
    defineSymbol(symbols_math, main, bin, "\u2212", "-");
    defineSymbol(symbols_math, main, bin, "\u22C5", "\\cdot", true);
    defineSymbol(symbols_math, main, bin, "\u2218", "\\circ");
    defineSymbol(symbols_math, main, bin, "\xF7", "\\div", true);
    defineSymbol(symbols_math, main, bin, "\xB1", "\\pm", true);
    defineSymbol(symbols_math, main, bin, "\xD7", "\\times", true);
    defineSymbol(symbols_math, main, bin, "\u2229", "\\cap", true);
    defineSymbol(symbols_math, main, bin, "\u222A", "\\cup", true);
    defineSymbol(symbols_math, main, bin, "\u2216", "\\setminus");
    defineSymbol(symbols_math, main, bin, "\u2227", "\\land");
    defineSymbol(symbols_math, main, bin, "\u2228", "\\lor");
    defineSymbol(symbols_math, main, bin, "\u2227", "\\wedge", true);
    defineSymbol(symbols_math, main, bin, "\u2228", "\\vee", true);
    defineSymbol(symbols_math, main, symbols_textord, "\u221A", "\\surd");
    defineSymbol(symbols_math, main, symbols_open, "(", "(");
    defineSymbol(symbols_math, main, symbols_open, "[", "[");
    defineSymbol(symbols_math, main, symbols_open, "\u27E8", "\\langle", true);
    defineSymbol(symbols_math, main, symbols_open, "\u2223", "\\lvert");
    defineSymbol(symbols_math, main, symbols_open, "\u2225", "\\lVert");
    defineSymbol(symbols_math, main, symbols_close, ")", ")");
    defineSymbol(symbols_math, main, symbols_close, "]", "]");
    defineSymbol(symbols_math, main, symbols_close, "?", "?");
    defineSymbol(symbols_math, main, symbols_close, "!", "!");
    defineSymbol(symbols_math, main, symbols_close, "\u27E9", "\\rangle", true);
    defineSymbol(symbols_math, main, symbols_close, "\u2223", "\\rvert");
    defineSymbol(symbols_math, main, symbols_close, "\u2225", "\\rVert");
    defineSymbol(symbols_math, main, rel, "=", "=");
    defineSymbol(symbols_math, main, rel, "<", "<");
    defineSymbol(symbols_math, main, rel, ">", ">");
    defineSymbol(symbols_math, main, rel, ":", ":");
    defineSymbol(symbols_math, main, rel, "\u2248", "\\approx", true);
    defineSymbol(symbols_math, main, rel, "\u2245", "\\cong", true);
    defineSymbol(symbols_math, main, rel, "\u2265", "\\ge");
    defineSymbol(symbols_math, main, rel, "\u2265", "\\geq", true);
    defineSymbol(symbols_math, main, rel, "\u2190", "\\gets");
    defineSymbol(symbols_math, main, rel, ">", "\\gt");
    defineSymbol(symbols_math, main, rel, "\u2208", "\\in", true);
    defineSymbol(symbols_math, main, rel, "\uE020", "\\@not");
    defineSymbol(symbols_math, main, rel, "\u2282", "\\subset", true);
    defineSymbol(symbols_math, main, rel, "\u2283", "\\supset", true);
    defineSymbol(symbols_math, main, rel, "\u2286", "\\subseteq", true);
    defineSymbol(symbols_math, main, rel, "\u2287", "\\supseteq", true);
    defineSymbol(symbols_math, ams, rel, "\u2288", "\\nsubseteq", true);
    defineSymbol(symbols_math, ams, rel, "\u2289", "\\nsupseteq", true);
    defineSymbol(symbols_math, main, rel, "\u22A8", "\\models");
    defineSymbol(symbols_math, main, rel, "\u2190", "\\leftarrow", true);
    defineSymbol(symbols_math, main, rel, "\u2264", "\\le");
    defineSymbol(symbols_math, main, rel, "\u2264", "\\leq", true);
    defineSymbol(symbols_math, main, rel, "<", "\\lt");
    defineSymbol(symbols_math, main, rel, "\u2192", "\\rightarrow", true);
    defineSymbol(symbols_math, main, rel, "\u2192", "\\to");
    defineSymbol(symbols_math, ams, rel, "\u2271", "\\ngeq", true);
    defineSymbol(symbols_math, ams, rel, "\u2270", "\\nleq", true);
    defineSymbol(symbols_math, main, symbols_spacing, "\xA0", "\\ ");
    defineSymbol(symbols_math, main, symbols_spacing, "\xA0", "~");
    defineSymbol(symbols_math, main, symbols_spacing, "\xA0", "\\space"); // Ref: LaTeX Source 2e: \DeclareRobustCommand{\nobreakspace}{%
    
    defineSymbol(symbols_math, main, symbols_spacing, "\xA0", "\\nobreakspace");
    defineSymbol(symbols_text, main, symbols_spacing, "\xA0", "\\ ");
    defineSymbol(symbols_text, main, symbols_spacing, "\xA0", "~");
    defineSymbol(symbols_text, main, symbols_spacing, "\xA0", "\\space");
    defineSymbol(symbols_text, main, symbols_spacing, "\xA0", "\\nobreakspace");
    defineSymbol(symbols_math, main, symbols_spacing, null, "\\nobreak");
    defineSymbol(symbols_math, main, symbols_spacing, null, "\\allowbreak");
    defineSymbol(symbols_math, main, punct, ",", ",");
    defineSymbol(symbols_math, main, punct, ";", ";");
    defineSymbol(symbols_math, ams, bin, "\u22BC", "\\barwedge", true);
    defineSymbol(symbols_math, ams, bin, "\u22BB", "\\veebar", true);
    defineSymbol(symbols_math, main, bin, "\u2299", "\\odot", true);
    defineSymbol(symbols_math, main, bin, "\u2295", "\\oplus", true);
    defineSymbol(symbols_math, main, bin, "\u2297", "\\otimes", true);
    defineSymbol(symbols_math, main, symbols_textord, "\u2202", "\\partial", true);
    defineSymbol(symbols_math, main, bin, "\u2298", "\\oslash", true);
    defineSymbol(symbols_math, ams, bin, "\u229A", "\\circledcirc", true);
    defineSymbol(symbols_math, ams, bin, "\u22A1", "\\boxdot", true);
    defineSymbol(symbols_math, main, bin, "\u25B3", "\\bigtriangleup");
    defineSymbol(symbols_math, main, bin, "\u25BD", "\\bigtriangledown");
    defineSymbol(symbols_math, main, bin, "\u2020", "\\dagger");
    defineSymbol(symbols_math, main, bin, "\u22C4", "\\diamond");
    defineSymbol(symbols_math, main, bin, "\u22C6", "\\star");
    defineSymbol(symbols_math, main, bin, "\u25C3", "\\triangleleft");
    defineSymbol(symbols_math, main, bin, "\u25B9", "\\triangleright");
    defineSymbol(symbols_math, main, symbols_open, "{", "\\{");
    defineSymbol(symbols_text, main, symbols_textord, "{", "\\{");
    defineSymbol(symbols_text, main, symbols_textord, "{", "\\textbraceleft");
    defineSymbol(symbols_math, main, symbols_close, "}", "\\}");
    defineSymbol(symbols_text, main, symbols_textord, "}", "\\}");
    defineSymbol(symbols_text, main, symbols_textord, "}", "\\textbraceright");
    defineSymbol(symbols_math, main, symbols_open, "{", "\\lbrace");
    defineSymbol(symbols_math, main, symbols_close, "}", "\\rbrace");
    defineSymbol(symbols_math, main, symbols_open, "[", "\\lbrack");
    defineSymbol(symbols_text, main, symbols_textord, "[", "\\lbrack");
    defineSymbol(symbols_math, main, symbols_close, "]", "\\rbrack");
    defineSymbol(symbols_text, main, symbols_textord, "]", "\\rbrack");
    defineSymbol(symbols_math, main, symbols_open, "(", "\\lparen");
    defineSymbol(symbols_math, main, symbols_close, ")", "\\rparen");
    defineSymbol(symbols_text, main, symbols_textord, "<", "\\textless"); // in T1 fontenc
    
    defineSymbol(symbols_text, main, symbols_textord, ">", "\\textgreater"); // in T1 fontenc
    
    defineSymbol(symbols_math, main, symbols_open, "\u230A", "\\lfloor", true);
    defineSymbol(symbols_math, main, symbols_close, "\u230B", "\\rfloor", true);
    defineSymbol(symbols_math, main, symbols_open, "\u2308", "\\lceil", true);
    defineSymbol(symbols_math, main, symbols_close, "\u2309", "\\rceil", true);
    defineSymbol(symbols_math, main, symbols_textord, "\\", "\\backslash");
    defineSymbol(symbols_math, main, symbols_textord, "\u2223", "|");
    defineSymbol(symbols_math, main, symbols_textord, "\u2223", "\\vert");
    defineSymbol(symbols_text, main, symbols_textord, "|", "\\textbar"); // in T1 fontenc
    
    defineSymbol(symbols_math, main, symbols_textord, "\u2225", "\\|");
    defineSymbol(symbols_math, main, symbols_textord, "\u2225", "\\Vert");
    defineSymbol(symbols_text, main, symbols_textord, "\u2225", "\\textbardbl");
    defineSymbol(symbols_text, main, symbols_textord, "~", "\\textasciitilde");
    defineSymbol(symbols_text, main, symbols_textord, "\\", "\\textbackslash");
    defineSymbol(symbols_text, main, symbols_textord, "^", "\\textasciicircum");
    defineSymbol(symbols_math, main, rel, "\u2191", "\\uparrow", true);
    defineSymbol(symbols_math, main, rel, "\u21D1", "\\Uparrow", true);
    defineSymbol(symbols_math, main, rel, "\u2193", "\\downarrow", true);
    defineSymbol(symbols_math, main, rel, "\u21D3", "\\Downarrow", true);
    defineSymbol(symbols_math, main, rel, "\u2195", "\\updownarrow", true);
    defineSymbol(symbols_math, main, rel, "\u21D5", "\\Updownarrow", true);
    defineSymbol(symbols_math, main, op, "\u2210", "\\coprod");
    defineSymbol(symbols_math, main, op, "\u22C1", "\\bigvee");
    defineSymbol(symbols_math, main, op, "\u22C0", "\\bigwedge");
    defineSymbol(symbols_math, main, op, "\u2A04", "\\biguplus");
    defineSymbol(symbols_math, main, op, "\u22C2", "\\bigcap");
    defineSymbol(symbols_math, main, op, "\u22C3", "\\bigcup");
    defineSymbol(symbols_math, main, op, "\u222B", "\\int");
    defineSymbol(symbols_math, main, op, "\u222B", "\\intop");
    defineSymbol(symbols_math, main, op, "\u222C", "\\iint");
    defineSymbol(symbols_math, main, op, "\u222D", "\\iiint");
    defineSymbol(symbols_math, main, op, "\u220F", "\\prod");
    defineSymbol(symbols_math, main, op, "\u2211", "\\sum");
    defineSymbol(symbols_math, main, op, "\u2A02", "\\bigotimes");
    defineSymbol(symbols_math, main, op, "\u2A01", "\\bigoplus");
    defineSymbol(symbols_math, main, op, "\u2A00", "\\bigodot");
    defineSymbol(symbols_math, main, op, "\u222E", "\\oint");
    defineSymbol(symbols_math, main, op, "\u222F", "\\oiint");
    defineSymbol(symbols_math, main, op, "\u2230", "\\oiiint");
    defineSymbol(symbols_math, main, op, "\u2A06", "\\bigsqcup");
    defineSymbol(symbols_math, main, op, "\u222B", "\\smallint");
    defineSymbol(symbols_text, main, symbols_inner, "\u2026", "\\textellipsis");
    defineSymbol(symbols_math, main, symbols_inner, "\u2026", "\\mathellipsis");
    defineSymbol(symbols_text, main, symbols_inner, "\u2026", "\\ldots", true);
    defineSymbol(symbols_math, main, symbols_inner, "\u2026", "\\ldots", true);
    defineSymbol(symbols_math, main, symbols_inner, "\u22EF", "\\@cdots", true);
    defineSymbol(symbols_math, main, symbols_inner, "\u22F1", "\\ddots", true);
    defineSymbol(symbols_math, main, symbols_textord, "\u22EE", "\\varvdots"); // \vdots is a macro
    
    defineSymbol(symbols_math, main, symbols_accent, "\u02CA", "\\acute");
    defineSymbol(symbols_math, main, symbols_accent, "\u02CB", "\\grave");
    defineSymbol(symbols_math, main, symbols_accent, "\xA8", "\\ddot");
    defineSymbol(symbols_math, main, symbols_accent, "~", "\\tilde");
    defineSymbol(symbols_math, main, symbols_accent, "\u02C9", "\\bar");
    defineSymbol(symbols_math, main, symbols_accent, "\u02D8", "\\breve");
    defineSymbol(symbols_math, main, symbols_accent, "\u02C7", "\\check");
    defineSymbol(symbols_math, main, symbols_accent, "^", "\\hat");
    defineSymbol(symbols_math, main, symbols_accent, "\u20D7", "\\vec");
    defineSymbol(symbols_math, main, symbols_accent, "\u02D9", "\\dot");
    defineSymbol(symbols_math, main, symbols_accent, "\u02DA", "\\mathring");
    defineSymbol(symbols_math, main, mathord, "\u0131", "\\imath", true);
    defineSymbol(symbols_math, main, mathord, "\u0237", "\\jmath", true);
    defineSymbol(symbols_text, main, symbols_textord, "\u0131", "\\i", true);
    defineSymbol(symbols_text, main, symbols_textord, "\u0237", "\\j", true);
    defineSymbol(symbols_text, main, symbols_textord, "\xDF", "\\ss", true);
    defineSymbol(symbols_text, main, symbols_textord, "\xE6", "\\ae", true);
    defineSymbol(symbols_text, main, symbols_textord, "\xE6", "\\ae", true);
    defineSymbol(symbols_text, main, symbols_textord, "\u0153", "\\oe", true);
    defineSymbol(symbols_text, main, symbols_textord, "\xF8", "\\o", true);
    defineSymbol(symbols_text, main, symbols_textord, "\xC6", "\\AE", true);
    defineSymbol(symbols_text, main, symbols_textord, "\u0152", "\\OE", true);
    defineSymbol(symbols_text, main, symbols_textord, "\xD8", "\\O", true);
    defineSymbol(symbols_text, main, symbols_accent, "\u02CA", "\\'"); // acute
    
    defineSymbol(symbols_text, main, symbols_accent, "\u02CB", "\\`"); // grave
    
    defineSymbol(symbols_text, main, symbols_accent, "\u02C6", "\\^"); // circumflex
    
    defineSymbol(symbols_text, main, symbols_accent, "\u02DC", "\\~"); // tilde
    
    defineSymbol(symbols_text, main, symbols_accent, "\u02C9", "\\="); // macron
    
    defineSymbol(symbols_text, main, symbols_accent, "\u02D8", "\\u"); // breve
    
    defineSymbol(symbols_text, main, symbols_accent, "\u02D9", "\\."); // dot above
    
    defineSymbol(symbols_text, main, symbols_accent, "\u02DA", "\\r"); // ring above
    
    defineSymbol(symbols_text, main, symbols_accent, "\u02C7", "\\v"); // caron
    
    defineSymbol(symbols_text, main, symbols_accent, "\xA8", '\\"'); // diaresis
    
    defineSymbol(symbols_text, main, symbols_accent, "\u02DD", "\\H"); // double acute
    
    defineSymbol(symbols_text, main, symbols_accent, "\u25EF", "\\textcircled"); // \bigcirc glyph
    // These ligatures are detected and created in Parser.js's `formLigatures`.
    
    var ligatures = {
      "--": true,
      "---": true,
      "``": true,
      "''": true
    };
    defineSymbol(symbols_text, main, symbols_textord, "\u2013", "--");
    defineSymbol(symbols_text, main, symbols_textord, "\u2013", "\\textendash");
    defineSymbol(symbols_text, main, symbols_textord, "\u2014", "---");
    defineSymbol(symbols_text, main, symbols_textord, "\u2014", "\\textemdash");
    defineSymbol(symbols_text, main, symbols_textord, "\u2018", "`");
    defineSymbol(symbols_text, main, symbols_textord, "\u2018", "\\textquoteleft");
    defineSymbol(symbols_text, main, symbols_textord, "\u2019", "'");
    defineSymbol(symbols_text, main, symbols_textord, "\u2019", "\\textquoteright");
    defineSymbol(symbols_text, main, symbols_textord, "\u201C", "``");
    defineSymbol(symbols_text, main, symbols_textord, "\u201C", "\\textquotedblleft");
    defineSymbol(symbols_text, main, symbols_textord, "\u201D", "''");
    defineSymbol(symbols_text, main, symbols_textord, "\u201D", "\\textquotedblright"); //  \degree from gensymb package
    
    defineSymbol(symbols_math, main, symbols_textord, "\xB0", "\\degree", true);
    defineSymbol(symbols_text, main, symbols_textord, "\xB0", "\\degree"); // \textdegree from inputenc package
    
    defineSymbol(symbols_text, main, symbols_textord, "\xB0", "\\textdegree", true); // TODO: In LaTeX, \pounds can generate a different character in text and math
    // mode, but among our fonts, only Main-Italic defines this character "163".
    
    defineSymbol(symbols_math, main, mathord, "\xA3", "\\pounds");
    defineSymbol(symbols_math, main, mathord, "\xA3", "\\mathsterling", true);
    defineSymbol(symbols_text, main, mathord, "\xA3", "\\pounds");
    defineSymbol(symbols_text, main, mathord, "\xA3", "\\textsterling", true);
    defineSymbol(symbols_math, ams, symbols_textord, "\u2720", "\\maltese");
    defineSymbol(symbols_text, ams, symbols_textord, "\u2720", "\\maltese");
    defineSymbol(symbols_text, main, symbols_spacing, "\xA0", "\\ ");
    defineSymbol(symbols_text, main, symbols_spacing, "\xA0", " ");
    defineSymbol(symbols_text, main, symbols_spacing, "\xA0", "~"); // There are lots of symbols which are the same, so we add them in afterwards.
    // All of these are textords in math mode
    
    var mathTextSymbols = "0123456789/@.\"";
    
    for (var symbols_i = 0; symbols_i < mathTextSymbols.length; symbols_i++) {
      var symbols_ch = mathTextSymbols.charAt(symbols_i);
      defineSymbol(symbols_math, main, symbols_textord, symbols_ch, symbols_ch);
    } // All of these are textords in text mode
    
    
    var textSymbols = "0123456789!@*()-=+[]<>|\";:?/.,";
    
    for (var src_symbols_i = 0; src_symbols_i < textSymbols.length; src_symbols_i++) {
      var _ch = textSymbols.charAt(src_symbols_i);
    
      defineSymbol(symbols_text, main, symbols_textord, _ch, _ch);
    } // All of these are textords in text mode, and mathords in math mode
    
    
    var letters = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";
    
    for (var symbols_i2 = 0; symbols_i2 < letters.length; symbols_i2++) {
      var _ch2 = letters.charAt(symbols_i2);
    
      defineSymbol(symbols_math, main, mathord, _ch2, _ch2);
      defineSymbol(symbols_text, main, symbols_textord, _ch2, _ch2);
    } // Blackboard bold and script letters in Unicode range
    
    
    defineSymbol(symbols_math, ams, symbols_textord, "C", "\u2102"); // blackboard bold
    
    defineSymbol(symbols_text, ams, symbols_textord, "C", "\u2102");
    defineSymbol(symbols_math, ams, symbols_textord, "H", "\u210D");
    defineSymbol(symbols_text, ams, symbols_textord, "H", "\u210D");
    defineSymbol(symbols_math, ams, symbols_textord, "N", "\u2115");
    defineSymbol(symbols_text, ams, symbols_textord, "N", "\u2115");
    defineSymbol(symbols_math, ams, symbols_textord, "P", "\u2119");
    defineSymbol(symbols_text, ams, symbols_textord, "P", "\u2119");
    defineSymbol(symbols_math, ams, symbols_textord, "Q", "\u211A");
    defineSymbol(symbols_text, ams, symbols_textord, "Q", "\u211A");
    defineSymbol(symbols_math, ams, symbols_textord, "R", "\u211D");
    defineSymbol(symbols_text, ams, symbols_textord, "R", "\u211D");
    defineSymbol(symbols_math, ams, symbols_textord, "Z", "\u2124");
    defineSymbol(symbols_text, ams, symbols_textord, "Z", "\u2124");
    defineSymbol(symbols_math, main, mathord, "h", "\u210E"); // italic h, Planck constant
    
    defineSymbol(symbols_text, main, mathord, "h", "\u210E"); // The next loop loads wide (surrogate pair) characters.
    // We support some letters in the Unicode range U+1D400 to U+1D7FF,
    // Mathematical Alphanumeric Symbols.
    // Some editors do not deal well with wide characters. So don't write the
    // string into this file. Instead, create the string from the surrogate pair.
    
    var symbols_wideChar = "";
    
    for (var symbols_i3 = 0; symbols_i3 < letters.length; symbols_i3++) {
      var _ch3 = letters.charAt(symbols_i3); // The hex numbers in the next line are a surrogate pair.
      // 0xD835 is the high surrogate for all letters in the range we support.
      // 0xDC00 is the low surrogate for bold A.
    
    
      symbols_wideChar = String.fromCharCode(0xD835, 0xDC00 + symbols_i3); // A-Z a-z bold
    
      defineSymbol(symbols_math, main, mathord, _ch3, symbols_wideChar);
      defineSymbol(symbols_text, main, symbols_textord, _ch3, symbols_wideChar);
      symbols_wideChar = String.fromCharCode(0xD835, 0xDC34 + symbols_i3); // A-Z a-z italic
    
      defineSymbol(symbols_math, main, mathord, _ch3, symbols_wideChar);
      defineSymbol(symbols_text, main, symbols_textord, _ch3, symbols_wideChar);
      symbols_wideChar = String.fromCharCode(0xD835, 0xDC68 + symbols_i3); // A-Z a-z bold italic
    
      defineSymbol(symbols_math, main, mathord, _ch3, symbols_wideChar);
      defineSymbol(symbols_text, main, symbols_textord, _ch3, symbols_wideChar);
      symbols_wideChar = String.fromCharCode(0xD835, 0xDD04 + symbols_i3); // A-Z a-z Fractur
    
      defineSymbol(symbols_math, main, mathord, _ch3, symbols_wideChar);
      defineSymbol(symbols_text, main, symbols_textord, _ch3, symbols_wideChar);
      symbols_wideChar = String.fromCharCode(0xD835, 0xDDA0 + symbols_i3); // A-Z a-z sans-serif
    
      defineSymbol(symbols_math, main, mathord, _ch3, symbols_wideChar);
      defineSymbol(symbols_text, main, symbols_textord, _ch3, symbols_wideChar);
      symbols_wideChar = String.fromCharCode(0xD835, 0xDDD4 + symbols_i3); // A-Z a-z sans bold
    
      defineSymbol(symbols_math, main, mathord, _ch3, symbols_wideChar);
      defineSymbol(symbols_text, main, symbols_textord, _ch3, symbols_wideChar);
      symbols_wideChar = String.fromCharCode(0xD835, 0xDE08 + symbols_i3); // A-Z a-z sans italic
    
      defineSymbol(symbols_math, main, mathord, _ch3, symbols_wideChar);
      defineSymbol(symbols_text, main, symbols_textord, _ch3, symbols_wideChar);
      symbols_wideChar = String.fromCharCode(0xD835, 0xDE70 + symbols_i3); // A-Z a-z monospace
    
      defineSymbol(symbols_math, main, mathord, _ch3, symbols_wideChar);
      defineSymbol(symbols_text, main, symbols_textord, _ch3, symbols_wideChar);
    
      if (symbols_i3 < 26) {
        // KaTeX fonts have only capital letters for blackboard bold and script.
        // See exception for k below.
        symbols_wideChar = String.fromCharCode(0xD835, 0xDD38 + symbols_i3); // A-Z double struck
    
        defineSymbol(symbols_math, main, mathord, _ch3, symbols_wideChar);
        defineSymbol(symbols_text, main, symbols_textord, _ch3, symbols_wideChar);
        symbols_wideChar = String.fromCharCode(0xD835, 0xDC9C + symbols_i3); // A-Z script
    
        defineSymbol(symbols_math, main, mathord, _ch3, symbols_wideChar);
        defineSymbol(symbols_text, main, symbols_textord, _ch3, symbols_wideChar);
      } // TODO: Add bold script when it is supported by a KaTeX font.
    
    } // "k" is the only double struck lower case letter in the KaTeX fonts.
    
    
    symbols_wideChar = String.fromCharCode(0xD835, 0xDD5C); // k double struck
    
    defineSymbol(symbols_math, main, mathord, "k", symbols_wideChar);
    defineSymbol(symbols_text, main, symbols_textord, "k", symbols_wideChar); // Next, some wide character numerals
    
    for (var symbols_i4 = 0; symbols_i4 < 10; symbols_i4++) {
      var _ch4 = symbols_i4.toString();
    
      symbols_wideChar = String.fromCharCode(0xD835, 0xDFCE + symbols_i4); // 0-9 bold
    
      defineSymbol(symbols_math, main, mathord, _ch4, symbols_wideChar);
      defineSymbol(symbols_text, main, symbols_textord, _ch4, symbols_wideChar);
      symbols_wideChar = String.fromCharCode(0xD835, 0xDFE2 + symbols_i4); // 0-9 sans serif
    
      defineSymbol(symbols_math, main, mathord, _ch4, symbols_wideChar);
      defineSymbol(symbols_text, main, symbols_textord, _ch4, symbols_wideChar);
      symbols_wideChar = String.fromCharCode(0xD835, 0xDFEC + symbols_i4); // 0-9 bold sans
    
      defineSymbol(symbols_math, main, mathord, _ch4, symbols_wideChar);
      defineSymbol(symbols_text, main, symbols_textord, _ch4, symbols_wideChar);
      symbols_wideChar = String.fromCharCode(0xD835, 0xDFF6 + symbols_i4); // 0-9 monospace
    
      defineSymbol(symbols_math, main, mathord, _ch4, symbols_wideChar);
      defineSymbol(symbols_text, main, symbols_textord, _ch4, symbols_wideChar);
    } // We add these Latin-1 letters as symbols for backwards-compatibility,
    // but they are not actually in the font, nor are they supported by the
    // Unicode accent mechanism, so they fall back to Times font and look ugly.
    // TODO(edemaine): Fix this.
    
    
    var extraLatin = "ÇÐÞçþ";
    
    for (var _i5 = 0; _i5 < extraLatin.length; _i5++) {
      var _ch5 = extraLatin.charAt(_i5);
    
      defineSymbol(symbols_math, main, mathord, _ch5, _ch5);
      defineSymbol(symbols_text, main, symbols_textord, _ch5, _ch5);
    }
    
    defineSymbol(symbols_text, main, symbols_textord, "ð", "ð"); // Unicode versions of existing characters
    
    defineSymbol(symbols_text, main, symbols_textord, "\u2013", "–");
    defineSymbol(symbols_text, main, symbols_textord, "\u2014", "—");
    defineSymbol(symbols_text, main, symbols_textord, "\u2018", "‘");
    defineSymbol(symbols_text, main, symbols_textord, "\u2019", "’");
    defineSymbol(symbols_text, main, symbols_textord, "\u201C", "“");
    defineSymbol(symbols_text, main, symbols_textord, "\u201D", "”");
    // CONCATENATED MODULE: ./src/wide-character.js
    /**
     * This file provides support for Unicode range U+1D400 to U+1D7FF,
     * Mathematical Alphanumeric Symbols.
     *
     * Function wideCharacterFont takes a wide character as input and returns
     * the font information necessary to render it properly.
     */
    
    /**
     * Data below is from https://www.unicode.org/charts/PDF/U1D400.pdf
     * That document sorts characters into groups by font type, say bold or italic.
     *
     * In the arrays below, each subarray consists three elements:
     *      * The CSS class of that group when in math mode.
     *      * The CSS class of that group when in text mode.
     *      * The font name, so that KaTeX can get font metrics.
     */
    
    var wideLatinLetterData = [["mathbf", "textbf", "Main-Bold"], // A-Z bold upright
    ["mathbf", "textbf", "Main-Bold"], // a-z bold upright
    ["mathdefault", "textit", "Math-Italic"], // A-Z italic
    ["mathdefault", "textit", "Math-Italic"], // a-z italic
    ["boldsymbol", "boldsymbol", "Main-BoldItalic"], // A-Z bold italic
    ["boldsymbol", "boldsymbol", "Main-BoldItalic"], // a-z bold italic
    // Map fancy A-Z letters to script, not calligraphic.
    // This aligns with unicode-math and math fonts (except Cambria Math).
    ["mathscr", "textscr", "Script-Regular"], // A-Z script
    ["", "", ""], // a-z script.  No font
    ["", "", ""], // A-Z bold script. No font
    ["", "", ""], // a-z bold script. No font
    ["mathfrak", "textfrak", "Fraktur-Regular"], // A-Z Fraktur
    ["mathfrak", "textfrak", "Fraktur-Regular"], // a-z Fraktur
    ["mathbb", "textbb", "AMS-Regular"], // A-Z double-struck
    ["mathbb", "textbb", "AMS-Regular"], // k double-struck
    ["", "", ""], // A-Z bold Fraktur No font metrics
    ["", "", ""], // a-z bold Fraktur.   No font.
    ["mathsf", "textsf", "SansSerif-Regular"], // A-Z sans-serif
    ["mathsf", "textsf", "SansSerif-Regular"], // a-z sans-serif
    ["mathboldsf", "textboldsf", "SansSerif-Bold"], // A-Z bold sans-serif
    ["mathboldsf", "textboldsf", "SansSerif-Bold"], // a-z bold sans-serif
    ["mathitsf", "textitsf", "SansSerif-Italic"], // A-Z italic sans-serif
    ["mathitsf", "textitsf", "SansSerif-Italic"], // a-z italic sans-serif
    ["", "", ""], // A-Z bold italic sans. No font
    ["", "", ""], // a-z bold italic sans. No font
    ["mathtt", "texttt", "Typewriter-Regular"], // A-Z monospace
    ["mathtt", "texttt", "Typewriter-Regular"]];
    var wideNumeralData = [["mathbf", "textbf", "Main-Bold"], // 0-9 bold
    ["", "", ""], // 0-9 double-struck. No KaTeX font.
    ["mathsf", "textsf", "SansSerif-Regular"], // 0-9 sans-serif
    ["mathboldsf", "textboldsf", "SansSerif-Bold"], // 0-9 bold sans-serif
    ["mathtt", "texttt", "Typewriter-Regular"]];
    var wide_character_wideCharacterFont = function wideCharacterFont(wideChar, mode) {
      // IE doesn't support codePointAt(). So work with the surrogate pair.
      var H = wideChar.charCodeAt(0); // high surrogate
    
      var L = wideChar.charCodeAt(1); // low surrogate
    
      var codePoint = (H - 0xD800) * 0x400 + (L - 0xDC00) + 0x10000;
      var j = mode === "math" ? 0 : 1; // column index for CSS class.
    
      if (0x1D400 <= codePoint && codePoint < 0x1D6A4) {
        // wideLatinLetterData contains exactly 26 chars on each row.
        // So we can calculate the relevant row. No traverse necessary.
        var i = Math.floor((codePoint - 0x1D400) / 26);
        return [wideLatinLetterData[i][2], wideLatinLetterData[i][j]];
      } else if (0x1D7CE <= codePoint && codePoint <= 0x1D7FF) {
        // Numerals, ten per row.
        var _i = Math.floor((codePoint - 0x1D7CE) / 10);
    
        return [wideNumeralData[_i][2], wideNumeralData[_i][j]];
      } else if (codePoint === 0x1D6A5 || codePoint === 0x1D6A6) {
        // dotless i or j
        return [wideLatinLetterData[0][2], wideLatinLetterData[0][j]];
      } else if (0x1D6A6 < codePoint && codePoint < 0x1D7CE) {
        // Greek letters. Not supported, yet.
        return ["", ""];
      } else {
        // We don't support any wide characters outside 1D400–1D7FF.
        throw new src_ParseError("Unsupported character: " + wideChar);
      }
    };
    // CONCATENATED MODULE: ./src/Options.js
    /**
     * This file contains information about the options that the Parser carries
     * around with it while parsing. Data is held in an `Options` object, and when
     * recursing, a new `Options` object can be created with the `.with*` and
     * `.reset` functions.
     */
    
    var sizeStyleMap = [// Each element contains [textsize, scriptsize, scriptscriptsize].
    // The size mappings are taken from TeX with \normalsize=10pt.
    [1, 1, 1], // size1: [5, 5, 5]              \tiny
    [2, 1, 1], // size2: [6, 5, 5]
    [3, 1, 1], // size3: [7, 5, 5]              \scriptsize
    [4, 2, 1], // size4: [8, 6, 5]              \footnotesize
    [5, 2, 1], // size5: [9, 6, 5]              \small
    [6, 3, 1], // size6: [10, 7, 5]             \normalsize
    [7, 4, 2], // size7: [12, 8, 6]             \large
    [8, 6, 3], // size8: [14.4, 10, 7]          \Large
    [9, 7, 6], // size9: [17.28, 12, 10]        \LARGE
    [10, 8, 7], // size10: [20.74, 14.4, 12]     \huge
    [11, 10, 9]];
    var sizeMultipliers = [// fontMetrics.js:getGlobalMetrics also uses size indexes, so if
    // you change size indexes, change that function.
    0.5, 0.6, 0.7, 0.8, 0.9, 1.0, 1.2, 1.44, 1.728, 2.074, 2.488];
    
    var sizeAtStyle = function sizeAtStyle(size, style) {
      return style.size < 2 ? size : sizeStyleMap[size - 1][style.size - 1];
    }; // In these types, "" (empty string) means "no change".
    
    
    /**
     * This is the main options class. It contains the current style, size, color,
     * and font.
     *
     * Options objects should not be modified. To create a new Options with
     * different properties, call a `.having*` method.
     */
    var Options_Options =
    /*#__PURE__*/
    function () {
      // A font family applies to a group of fonts (i.e. SansSerif), while a font
      // represents a specific font (i.e. SansSerif Bold).
      // See: https://tex.stackexchange.com/questions/22350/difference-between-textrm-and-mathrm
    
      /**
       * The base size index.
       */
      function Options(data) {
        this.style = void 0;
        this.color = void 0;
        this.size = void 0;
        this.textSize = void 0;
        this.phantom = void 0;
        this.font = void 0;
        this.fontFamily = void 0;
        this.fontWeight = void 0;
        this.fontShape = void 0;
        this.sizeMultiplier = void 0;
        this.maxSize = void 0;
        this.minRuleThickness = void 0;
        this._fontMetrics = void 0;
        this.style = data.style;
        this.color = data.color;
        this.size = data.size || Options.BASESIZE;
        this.textSize = data.textSize || this.size;
        this.phantom = !!data.phantom;
        this.font = data.font || "";
        this.fontFamily = data.fontFamily || "";
        this.fontWeight = data.fontWeight || '';
        this.fontShape = data.fontShape || '';
        this.sizeMultiplier = sizeMultipliers[this.size - 1];
        this.maxSize = data.maxSize;
        this.minRuleThickness = data.minRuleThickness;
        this._fontMetrics = undefined;
      }
      /**
       * Returns a new options object with the same properties as "this".  Properties
       * from "extension" will be copied to the new options object.
       */
    
    
      var _proto = Options.prototype;
    
      _proto.extend = function extend(extension) {
        var data = {
          style: this.style,
          size: this.size,
          textSize: this.textSize,
          color: this.color,
          phantom: this.phantom,
          font: this.font,
          fontFamily: this.fontFamily,
          fontWeight: this.fontWeight,
          fontShape: this.fontShape,
          maxSize: this.maxSize,
          minRuleThickness: this.minRuleThickness
        };
    
        for (var key in extension) {
          if (extension.hasOwnProperty(key)) {
            data[key] = extension[key];
          }
        }
    
        return new Options(data);
      }
      /**
       * Return an options object with the given style. If `this.style === style`,
       * returns `this`.
       */
      ;
    
      _proto.havingStyle = function havingStyle(style) {
        if (this.style === style) {
          return this;
        } else {
          return this.extend({
            style: style,
            size: sizeAtStyle(this.textSize, style)
          });
        }
      }
      /**
       * Return an options object with a cramped version of the current style. If
       * the current style is cramped, returns `this`.
       */
      ;
    
      _proto.havingCrampedStyle = function havingCrampedStyle() {
        return this.havingStyle(this.style.cramp());
      }
      /**
       * Return an options object with the given size and in at least `\textstyle`.
       * Returns `this` if appropriate.
       */
      ;
    
      _proto.havingSize = function havingSize(size) {
        if (this.size === size && this.textSize === size) {
          return this;
        } else {
          return this.extend({
            style: this.style.text(),
            size: size,
            textSize: size,
            sizeMultiplier: sizeMultipliers[size - 1]
          });
        }
      }
      /**
       * Like `this.havingSize(BASESIZE).havingStyle(style)`. If `style` is omitted,
       * changes to at least `\textstyle`.
       */
      ;
    
      _proto.havingBaseStyle = function havingBaseStyle(style) {
        style = style || this.style.text();
        var wantSize = sizeAtStyle(Options.BASESIZE, style);
    
        if (this.size === wantSize && this.textSize === Options.BASESIZE && this.style === style) {
          return this;
        } else {
          return this.extend({
            style: style,
            size: wantSize
          });
        }
      }
      /**
       * Remove the effect of sizing changes such as \Huge.
       * Keep the effect of the current style, such as \scriptstyle.
       */
      ;
    
      _proto.havingBaseSizing = function havingBaseSizing() {
        var size;
    
        switch (this.style.id) {
          case 4:
          case 5:
            size = 3; // normalsize in scriptstyle
    
            break;
    
          case 6:
          case 7:
            size = 1; // normalsize in scriptscriptstyle
    
            break;
    
          default:
            size = 6;
          // normalsize in textstyle or displaystyle
        }
    
        return this.extend({
          style: this.style.text(),
          size: size
        });
      }
      /**
       * Create a new options object with the given color.
       */
      ;
    
      _proto.withColor = function withColor(color) {
        return this.extend({
          color: color
        });
      }
      /**
       * Create a new options object with "phantom" set to true.
       */
      ;
    
      _proto.withPhantom = function withPhantom() {
        return this.extend({
          phantom: true
        });
      }
      /**
       * Creates a new options object with the given math font or old text font.
       * @type {[type]}
       */
      ;
    
      _proto.withFont = function withFont(font) {
        return this.extend({
          font: font
        });
      }
      /**
       * Create a new options objects with the given fontFamily.
       */
      ;
    
      _proto.withTextFontFamily = function withTextFontFamily(fontFamily) {
        return this.extend({
          fontFamily: fontFamily,
          font: ""
        });
      }
      /**
       * Creates a new options object with the given font weight
       */
      ;
    
      _proto.withTextFontWeight = function withTextFontWeight(fontWeight) {
        return this.extend({
          fontWeight: fontWeight,
          font: ""
        });
      }
      /**
       * Creates a new options object with the given font weight
       */
      ;
    
      _proto.withTextFontShape = function withTextFontShape(fontShape) {
        return this.extend({
          fontShape: fontShape,
          font: ""
        });
      }
      /**
       * Return the CSS sizing classes required to switch from enclosing options
       * `oldOptions` to `this`. Returns an array of classes.
       */
      ;
    
      _proto.sizingClasses = function sizingClasses(oldOptions) {
        if (oldOptions.size !== this.size) {
          return ["sizing", "reset-size" + oldOptions.size, "size" + this.size];
        } else {
          return [];
        }
      }
      /**
       * Return the CSS sizing classes required to switch to the base size. Like
       * `this.havingSize(BASESIZE).sizingClasses(this)`.
       */
      ;
    
      _proto.baseSizingClasses = function baseSizingClasses() {
        if (this.size !== Options.BASESIZE) {
          return ["sizing", "reset-size" + this.size, "size" + Options.BASESIZE];
        } else {
          return [];
        }
      }
      /**
       * Return the font metrics for this size.
       */
      ;
    
      _proto.fontMetrics = function fontMetrics() {
        if (!this._fontMetrics) {
          this._fontMetrics = getGlobalMetrics(this.size);
        }
    
        return this._fontMetrics;
      }
      /**
       * Gets the CSS color of the current options object
       */
      ;
    
      _proto.getColor = function getColor() {
        if (this.phantom) {
          return "transparent";
        } else {
          return this.color;
        }
      };
    
      return Options;
    }();
    
    Options_Options.BASESIZE = 6;
    /* harmony default export */ var src_Options = (Options_Options);
    // CONCATENATED MODULE: ./src/units.js
    /**
     * This file does conversion between units.  In particular, it provides
     * calculateSize to convert other units into ems.
     */
    
     // This table gives the number of TeX pts in one of each *absolute* TeX unit.
    // Thus, multiplying a length by this number converts the length from units
    // into pts.  Dividing the result by ptPerEm gives the number of ems
    // *assuming* a font size of ptPerEm (normal size, normal style).
    
    var ptPerUnit = {
      // https://en.wikibooks.org/wiki/LaTeX/Lengths and
      // https://tex.stackexchange.com/a/8263
      "pt": 1,
      // TeX point
      "mm": 7227 / 2540,
      // millimeter
      "cm": 7227 / 254,
      // centimeter
      "in": 72.27,
      // inch
      "bp": 803 / 800,
      // big (PostScript) points
      "pc": 12,
      // pica
      "dd": 1238 / 1157,
      // didot
      "cc": 14856 / 1157,
      // cicero (12 didot)
      "nd": 685 / 642,
      // new didot
      "nc": 1370 / 107,
      // new cicero (12 new didot)
      "sp": 1 / 65536,
      // scaled point (TeX's internal smallest unit)
      // https://tex.stackexchange.com/a/41371
      "px": 803 / 800 // \pdfpxdimen defaults to 1 bp in pdfTeX and LuaTeX
    
    }; // Dictionary of relative units, for fast validity testing.
    
    var relativeUnit = {
      "ex": true,
      "em": true,
      "mu": true
    };
    
    /**
     * Determine whether the specified unit (either a string defining the unit
     * or a "size" parse node containing a unit field) is valid.
     */
    var validUnit = function validUnit(unit) {
      if (typeof unit !== "string") {
        unit = unit.unit;
      }
    
      return unit in ptPerUnit || unit in relativeUnit || unit === "ex";
    };
    /*
     * Convert a "size" parse node (with numeric "number" and string "unit" fields,
     * as parsed by functions.js argType "size") into a CSS em value for the
     * current style/scale.  `options` gives the current options.
     */
    
    var units_calculateSize = function calculateSize(sizeValue, options) {
      var scale;
    
      if (sizeValue.unit in ptPerUnit) {
        // Absolute units
        scale = ptPerUnit[sizeValue.unit] // Convert unit to pt
        / options.fontMetrics().ptPerEm // Convert pt to CSS em
        / options.sizeMultiplier; // Unscale to make absolute units
      } else if (sizeValue.unit === "mu") {
        // `mu` units scale with scriptstyle/scriptscriptstyle.
        scale = options.fontMetrics().cssEmPerMu;
      } else {
        // Other relative units always refer to the *textstyle* font
        // in the current size.
        var unitOptions;
    
        if (options.style.isTight()) {
          // isTight() means current style is script/scriptscript.
          unitOptions = options.havingStyle(options.style.text());
        } else {
          unitOptions = options;
        } // TODO: In TeX these units are relative to the quad of the current
        // *text* font, e.g. cmr10. KaTeX instead uses values from the
        // comparably-sized *Computer Modern symbol* font. At 10pt, these
        // match. At 7pt and 5pt, they differ: cmr7=1.138894, cmsy7=1.170641;
        // cmr5=1.361133, cmsy5=1.472241. Consider $\scriptsize a\kern1emb$.
        // TeX \showlists shows a kern of 1.13889 * fontsize;
        // KaTeX shows a kern of 1.171 * fontsize.
    
    
        if (sizeValue.unit === "ex") {
          scale = unitOptions.fontMetrics().xHeight;
        } else if (sizeValue.unit === "em") {
          scale = unitOptions.fontMetrics().quad;
        } else {
          throw new src_ParseError("Invalid unit: '" + sizeValue.unit + "'");
        }
    
        if (unitOptions !== options) {
          scale *= unitOptions.sizeMultiplier / options.sizeMultiplier;
        }
      }
    
      return Math.min(sizeValue.number * scale, options.maxSize);
    };
    // CONCATENATED MODULE: ./src/buildCommon.js
    /* eslint no-console:0 */
    
    /**
     * This module contains general functions that can be used for building
     * different kinds of domTree nodes in a consistent manner.
     */
    
    
    
    
    
    
    
    // The following have to be loaded from Main-Italic font, using class mathit
    var mathitLetters = ["\\imath", "ı", // dotless i
    "\\jmath", "ȷ", // dotless j
    "\\pounds", "\\mathsterling", "\\textsterling", "£"];
    /**
     * Looks up the given symbol in fontMetrics, after applying any symbol
     * replacements defined in symbol.js
     */
    
    var buildCommon_lookupSymbol = function lookupSymbol(value, // TODO(#963): Use a union type for this.
    fontName, mode) {
      // Replace the value with its replaced value from symbol.js
      if (src_symbols[mode][value] && src_symbols[mode][value].replace) {
        value = src_symbols[mode][value].replace;
      }
    
      return {
        value: value,
        metrics: getCharacterMetrics(value, fontName, mode)
      };
    };
    /**
     * Makes a symbolNode after translation via the list of symbols in symbols.js.
     * Correctly pulls out metrics for the character, and optionally takes a list of
     * classes to be attached to the node.
     *
     * TODO: make argument order closer to makeSpan
     * TODO: add a separate argument for math class (e.g. `mop`, `mbin`), which
     * should if present come first in `classes`.
     * TODO(#953): Make `options` mandatory and always pass it in.
     */
    
    
    var buildCommon_makeSymbol = function makeSymbol(value, fontName, mode, options, classes) {
      var lookup = buildCommon_lookupSymbol(value, fontName, mode);
      var metrics = lookup.metrics;
      value = lookup.value;
      var symbolNode;
    
      if (metrics) {
        var italic = metrics.italic;
    
        if (mode === "text" || options && options.font === "mathit") {
          italic = 0;
        }
    
        symbolNode = new domTree_SymbolNode(value, metrics.height, metrics.depth, italic, metrics.skew, metrics.width, classes);
      } else {
        // TODO(emily): Figure out a good way to only print this in development
        typeof console !== "undefined" && console.warn("No character metrics " + ("for '" + value + "' in style '" + fontName + "' and mode '" + mode + "'"));
        symbolNode = new domTree_SymbolNode(value, 0, 0, 0, 0, 0, classes);
      }
    
      if (options) {
        symbolNode.maxFontSize = options.sizeMultiplier;
    
        if (options.style.isTight()) {
          symbolNode.classes.push("mtight");
        }
    
        var color = options.getColor();
    
        if (color) {
          symbolNode.style.color = color;
        }
      }
    
      return symbolNode;
    };
    /**
     * Makes a symbol in Main-Regular or AMS-Regular.
     * Used for rel, bin, open, close, inner, and punct.
     */
    
    
    var buildCommon_mathsym = function mathsym(value, mode, options, classes) {
      if (classes === void 0) {
        classes = [];
      }
    
      // Decide what font to render the symbol in by its entry in the symbols
      // table.
      // Have a special case for when the value = \ because the \ is used as a
      // textord in unsupported command errors but cannot be parsed as a regular
      // text ordinal and is therefore not present as a symbol in the symbols
      // table for text, as well as a special case for boldsymbol because it
      // can be used for bold + and -
      if (options.font === "boldsymbol" && buildCommon_lookupSymbol(value, "Main-Bold", mode).metrics) {
        return buildCommon_makeSymbol(value, "Main-Bold", mode, options, classes.concat(["mathbf"]));
      } else if (value === "\\" || src_symbols[mode][value].font === "main") {
        return buildCommon_makeSymbol(value, "Main-Regular", mode, options, classes);
      } else {
        return buildCommon_makeSymbol(value, "AMS-Regular", mode, options, classes.concat(["amsrm"]));
      }
    };
    /**
     * Determines which of the two font names (Main-Italic and Math-Italic) and
     * corresponding style tags (maindefault or mathit) to use for default math font,
     * depending on the symbol.
     */
    
    
    var buildCommon_mathdefault = function mathdefault(value, mode, options, classes) {
      if (/[0-9]/.test(value.charAt(0)) || // glyphs for \imath and \jmath do not exist in Math-Italic so we
      // need to use Main-Italic instead
      utils.contains(mathitLetters, value)) {
        return {
          fontName: "Main-Italic",
          fontClass: "mathit"
        };
      } else {
        return {
          fontName: "Math-Italic",
          fontClass: "mathdefault"
        };
      }
    };
    /**
     * Determines which of the font names (Main-Italic, Math-Italic, and Caligraphic)
     * and corresponding style tags (mathit, mathdefault, or mathcal) to use for font
     * "mathnormal", depending on the symbol.  Use this function instead of fontMap for
     * font "mathnormal".
     */
    
    
    var buildCommon_mathnormal = function mathnormal(value, mode, options, classes) {
      if (utils.contains(mathitLetters, value)) {
        return {
          fontName: "Main-Italic",
          fontClass: "mathit"
        };
      } else if (/[0-9]/.test(value.charAt(0))) {
        return {
          fontName: "Caligraphic-Regular",
          fontClass: "mathcal"
        };
      } else {
        return {
          fontName: "Math-Italic",
          fontClass: "mathdefault"
        };
      }
    };
    /**
     * Determines which of the two font names (Main-Bold and Math-BoldItalic) and
     * corresponding style tags (mathbf or boldsymbol) to use for font "boldsymbol",
     * depending on the symbol.  Use this function instead of fontMap for font
     * "boldsymbol".
     */
    
    
    var boldsymbol = function boldsymbol(value, mode, options, classes) {
      if (buildCommon_lookupSymbol(value, "Math-BoldItalic", mode).metrics) {
        return {
          fontName: "Math-BoldItalic",
          fontClass: "boldsymbol"
        };
      } else {
        // Some glyphs do not exist in Math-BoldItalic so we need to use
        // Main-Bold instead.
        return {
          fontName: "Main-Bold",
          fontClass: "mathbf"
        };
      }
    };
    /**
     * Makes either a mathord or textord in the correct font and color.
     */
    
    
    var buildCommon_makeOrd = function makeOrd(group, options, type) {
      var mode = group.mode;
      var text = group.text;
      var classes = ["mord"]; // Math mode or Old font (i.e. \rm)
    
      var isFont = mode === "math" || mode === "text" && options.font;
      var fontOrFamily = isFont ? options.font : options.fontFamily;
    
      if (text.charCodeAt(0) === 0xD835) {
        // surrogate pairs get special treatment
        var _wideCharacterFont = wide_character_wideCharacterFont(text, mode),
            wideFontName = _wideCharacterFont[0],
            wideFontClass = _wideCharacterFont[1];
    
        return buildCommon_makeSymbol(text, wideFontName, mode, options, classes.concat(wideFontClass));
      } else if (fontOrFamily) {
        var fontName;
        var fontClasses;
    
        if (fontOrFamily === "boldsymbol" || fontOrFamily === "mathnormal") {
          var fontData = fontOrFamily === "boldsymbol" ? boldsymbol(text, mode, options, classes) : buildCommon_mathnormal(text, mode, options, classes);
          fontName = fontData.fontName;
          fontClasses = [fontData.fontClass];
        } else if (utils.contains(mathitLetters, text)) {
          fontName = "Main-Italic";
          fontClasses = ["mathit"];
        } else if (isFont) {
          fontName = fontMap[fontOrFamily].fontName;
          fontClasses = [fontOrFamily];
        } else {
          fontName = retrieveTextFontName(fontOrFamily, options.fontWeight, options.fontShape);
          fontClasses = [fontOrFamily, options.fontWeight, options.fontShape];
        }
    
        if (buildCommon_lookupSymbol(text, fontName, mode).metrics) {
          return buildCommon_makeSymbol(text, fontName, mode, options, classes.concat(fontClasses));
        } else if (ligatures.hasOwnProperty(text) && fontName.substr(0, 10) === "Typewriter") {
          // Deconstruct ligatures in monospace fonts (\texttt, \tt).
          var parts = [];
    
          for (var i = 0; i < text.length; i++) {
            parts.push(buildCommon_makeSymbol(text[i], fontName, mode, options, classes.concat(fontClasses)));
          }
    
          return buildCommon_makeFragment(parts);
        }
      } // Makes a symbol in the default font for mathords and textords.
    
    
      if (type === "mathord") {
        var fontLookup = buildCommon_mathdefault(text, mode, options, classes);
        return buildCommon_makeSymbol(text, fontLookup.fontName, mode, options, classes.concat([fontLookup.fontClass]));
      } else if (type === "textord") {
        var font = src_symbols[mode][text] && src_symbols[mode][text].font;
    
        if (font === "ams") {
          var _fontName = retrieveTextFontName("amsrm", options.fontWeight, options.fontShape);
    
          return buildCommon_makeSymbol(text, _fontName, mode, options, classes.concat("amsrm", options.fontWeight, options.fontShape));
        } else if (font === "main" || !font) {
          var _fontName2 = retrieveTextFontName("textrm", options.fontWeight, options.fontShape);
    
          return buildCommon_makeSymbol(text, _fontName2, mode, options, classes.concat(options.fontWeight, options.fontShape));
        } else {
          // fonts added by plugins
          var _fontName3 = retrieveTextFontName(font, options.fontWeight, options.fontShape); // We add font name as a css class
    
    
          return buildCommon_makeSymbol(text, _fontName3, mode, options, classes.concat(_fontName3, options.fontWeight, options.fontShape));
        }
      } else {
        throw new Error("unexpected type: " + type + " in makeOrd");
      }
    };
    /**
     * Returns true if subsequent symbolNodes have the same classes, skew, maxFont,
     * and styles.
     */
    
    
    var buildCommon_canCombine = function canCombine(prev, next) {
      if (createClass(prev.classes) !== createClass(next.classes) || prev.skew !== next.skew || prev.maxFontSize !== next.maxFontSize) {
        return false;
      }
    
      for (var style in prev.style) {
        if (prev.style.hasOwnProperty(style) && prev.style[style] !== next.style[style]) {
          return false;
        }
      }
    
      for (var _style in next.style) {
        if (next.style.hasOwnProperty(_style) && prev.style[_style] !== next.style[_style]) {
          return false;
        }
      }
    
      return true;
    };
    /**
     * Combine consequetive domTree.symbolNodes into a single symbolNode.
     * Note: this function mutates the argument.
     */
    
    
    var buildCommon_tryCombineChars = function tryCombineChars(chars) {
      for (var i = 0; i < chars.length - 1; i++) {
        var prev = chars[i];
        var next = chars[i + 1];
    
        if (prev instanceof domTree_SymbolNode && next instanceof domTree_SymbolNode && buildCommon_canCombine(prev, next)) {
          prev.text += next.text;
          prev.height = Math.max(prev.height, next.height);
          prev.depth = Math.max(prev.depth, next.depth); // Use the last character's italic correction since we use
          // it to add padding to the right of the span created from
          // the combined characters.
    
          prev.italic = next.italic;
          chars.splice(i + 1, 1);
          i--;
        }
      }
    
      return chars;
    };
    /**
     * Calculate the height, depth, and maxFontSize of an element based on its
     * children.
     */
    
    
    var sizeElementFromChildren = function sizeElementFromChildren(elem) {
      var height = 0;
      var depth = 0;
      var maxFontSize = 0;
    
      for (var i = 0; i < elem.children.length; i++) {
        var child = elem.children[i];
    
        if (child.height > height) {
          height = child.height;
        }
    
        if (child.depth > depth) {
          depth = child.depth;
        }
    
        if (child.maxFontSize > maxFontSize) {
          maxFontSize = child.maxFontSize;
        }
      }
    
      elem.height = height;
      elem.depth = depth;
      elem.maxFontSize = maxFontSize;
    };
    /**
     * Makes a span with the given list of classes, list of children, and options.
     *
     * TODO(#953): Ensure that `options` is always provided (currently some call
     * sites don't pass it) and make the type below mandatory.
     * TODO: add a separate argument for math class (e.g. `mop`, `mbin`), which
     * should if present come first in `classes`.
     */
    
    
    var buildCommon_makeSpan = function makeSpan(classes, children, options, style) {
      var span = new domTree_Span(classes, children, options, style);
      sizeElementFromChildren(span);
      return span;
    }; // SVG one is simpler -- doesn't require height, depth, max-font setting.
    // This is also a separate method for typesafety.
    
    
    var buildCommon_makeSvgSpan = function makeSvgSpan(classes, children, options, style) {
      return new domTree_Span(classes, children, options, style);
    };
    
    var makeLineSpan = function makeLineSpan(className, options, thickness) {
      var line = buildCommon_makeSpan([className], [], options);
      line.height = Math.max(thickness || options.fontMetrics().defaultRuleThickness, options.minRuleThickness);
      line.style.borderBottomWidth = line.height + "em";
      line.maxFontSize = 1.0;
      return line;
    };
    /**
     * Makes an anchor with the given href, list of classes, list of children,
     * and options.
     */
    
    
    var buildCommon_makeAnchor = function makeAnchor(href, classes, children, options) {
      var anchor = new domTree_Anchor(href, classes, children, options);
      sizeElementFromChildren(anchor);
      return anchor;
    };
    /**
     * Makes a document fragment with the given list of children.
     */
    
    
    var buildCommon_makeFragment = function makeFragment(children) {
      var fragment = new tree_DocumentFragment(children);
      sizeElementFromChildren(fragment);
      return fragment;
    };
    /**
     * Wraps group in a span if it's a document fragment, allowing to apply classes
     * and styles
     */
    
    
    var buildCommon_wrapFragment = function wrapFragment(group, options) {
      if (group instanceof tree_DocumentFragment) {
        return buildCommon_makeSpan([], [group], options);
      }
    
      return group;
    }; // These are exact object types to catch typos in the names of the optional fields.
    
    
    // Computes the updated `children` list and the overall depth.
    //
    // This helper function for makeVList makes it easier to enforce type safety by
    // allowing early exits (returns) in the logic.
    var getVListChildrenAndDepth = function getVListChildrenAndDepth(params) {
      if (params.positionType === "individualShift") {
        var oldChildren = params.children;
        var children = [oldChildren[0]]; // Add in kerns to the list of params.children to get each element to be
        // shifted to the correct specified shift
    
        var _depth = -oldChildren[0].shift - oldChildren[0].elem.depth;
    
        var currPos = _depth;
    
        for (var i = 1; i < oldChildren.length; i++) {
          var diff = -oldChildren[i].shift - currPos - oldChildren[i].elem.depth;
          var size = diff - (oldChildren[i - 1].elem.height + oldChildren[i - 1].elem.depth);
          currPos = currPos + diff;
          children.push({
            type: "kern",
            size: size
          });
          children.push(oldChildren[i]);
        }
    
        return {
          children: children,
          depth: _depth
        };
      }
    
      var depth;
    
      if (params.positionType === "top") {
        // We always start at the bottom, so calculate the bottom by adding up
        // all the sizes
        var bottom = params.positionData;
    
        for (var _i = 0; _i < params.children.length; _i++) {
          var child = params.children[_i];
          bottom -= child.type === "kern" ? child.size : child.elem.height + child.elem.depth;
        }
    
        depth = bottom;
      } else if (params.positionType === "bottom") {
        depth = -params.positionData;
      } else {
        var firstChild = params.children[0];
    
        if (firstChild.type !== "elem") {
          throw new Error('First child must have type "elem".');
        }
    
        if (params.positionType === "shift") {
          depth = -firstChild.elem.depth - params.positionData;
        } else if (params.positionType === "firstBaseline") {
          depth = -firstChild.elem.depth;
        } else {
          throw new Error("Invalid positionType " + params.positionType + ".");
        }
      }
    
      return {
        children: params.children,
        depth: depth
      };
    };
    /**
     * Makes a vertical list by stacking elements and kerns on top of each other.
     * Allows for many different ways of specifying the positioning method.
     *
     * See VListParam documentation above.
     */
    
    
    var buildCommon_makeVList = function makeVList(params, options) {
      var _getVListChildrenAndD = getVListChildrenAndDepth(params),
          children = _getVListChildrenAndD.children,
          depth = _getVListChildrenAndD.depth; // Create a strut that is taller than any list item. The strut is added to
      // each item, where it will determine the item's baseline. Since it has
      // `overflow:hidden`, the strut's top edge will sit on the item's line box's
      // top edge and the strut's bottom edge will sit on the item's baseline,
      // with no additional line-height spacing. This allows the item baseline to
      // be positioned precisely without worrying about font ascent and
      // line-height.
    
    
      var pstrutSize = 0;
    
      for (var i = 0; i < children.length; i++) {
        var child = children[i];
    
        if (child.type === "elem") {
          var elem = child.elem;
          pstrutSize = Math.max(pstrutSize, elem.maxFontSize, elem.height);
        }
      }
    
      pstrutSize += 2;
      var pstrut = buildCommon_makeSpan(["pstrut"], []);
      pstrut.style.height = pstrutSize + "em"; // Create a new list of actual children at the correct offsets
    
      var realChildren = [];
      var minPos = depth;
      var maxPos = depth;
      var currPos = depth;
    
      for (var _i2 = 0; _i2 < children.length; _i2++) {
        var _child = children[_i2];
    
        if (_child.type === "kern") {
          currPos += _child.size;
        } else {
          var _elem = _child.elem;
          var classes = _child.wrapperClasses || [];
          var style = _child.wrapperStyle || {};
          var childWrap = buildCommon_makeSpan(classes, [pstrut, _elem], undefined, style);
          childWrap.style.top = -pstrutSize - currPos - _elem.depth + "em";
    
          if (_child.marginLeft) {
            childWrap.style.marginLeft = _child.marginLeft;
          }
    
          if (_child.marginRight) {
            childWrap.style.marginRight = _child.marginRight;
          }
    
          realChildren.push(childWrap);
          currPos += _elem.height + _elem.depth;
        }
    
        minPos = Math.min(minPos, currPos);
        maxPos = Math.max(maxPos, currPos);
      } // The vlist contents go in a table-cell with `vertical-align:bottom`.
      // This cell's bottom edge will determine the containing table's baseline
      // without overly expanding the containing line-box.
    
    
      var vlist = buildCommon_makeSpan(["vlist"], realChildren);
      vlist.style.height = maxPos + "em"; // A second row is used if necessary to represent the vlist's depth.
    
      var rows;
    
      if (minPos < 0) {
        // We will define depth in an empty span with display: table-cell.
        // It should render with the height that we define. But Chrome, in
        // contenteditable mode only, treats that span as if it contains some
        // text content. And that min-height over-rides our desired height.
        // So we put another empty span inside the depth strut span.
        var emptySpan = buildCommon_makeSpan([], []);
        var depthStrut = buildCommon_makeSpan(["vlist"], [emptySpan]);
        depthStrut.style.height = -minPos + "em"; // Safari wants the first row to have inline content; otherwise it
        // puts the bottom of the *second* row on the baseline.
    
        var topStrut = buildCommon_makeSpan(["vlist-s"], [new domTree_SymbolNode("\u200B")]);
        rows = [buildCommon_makeSpan(["vlist-r"], [vlist, topStrut]), buildCommon_makeSpan(["vlist-r"], [depthStrut])];
      } else {
        rows = [buildCommon_makeSpan(["vlist-r"], [vlist])];
      }
    
      var vtable = buildCommon_makeSpan(["vlist-t"], rows);
    
      if (rows.length === 2) {
        vtable.classes.push("vlist-t2");
      }
    
      vtable.height = maxPos;
      vtable.depth = -minPos;
      return vtable;
    }; // Glue is a concept from TeX which is a flexible space between elements in
    // either a vertical or horizontal list. In KaTeX, at least for now, it's
    // static space between elements in a horizontal layout.
    
    
    var buildCommon_makeGlue = function makeGlue(measurement, options) {
      // Make an empty span for the space
      var rule = buildCommon_makeSpan(["mspace"], [], options);
      var size = units_calculateSize(measurement, options);
      rule.style.marginRight = size + "em";
      return rule;
    }; // Takes font options, and returns the appropriate fontLookup name
    
    
    var retrieveTextFontName = function retrieveTextFontName(fontFamily, fontWeight, fontShape) {
      var baseFontName = "";
    
      switch (fontFamily) {
        case "amsrm":
          baseFontName = "AMS";
          break;
    
        case "textrm":
          baseFontName = "Main";
          break;
    
        case "textsf":
          baseFontName = "SansSerif";
          break;
    
        case "texttt":
          baseFontName = "Typewriter";
          break;
    
        default:
          baseFontName = fontFamily;
        // use fonts added by a plugin
      }
    
      var fontStylesName;
    
      if (fontWeight === "textbf" && fontShape === "textit") {
        fontStylesName = "BoldItalic";
      } else if (fontWeight === "textbf") {
        fontStylesName = "Bold";
      } else if (fontWeight === "textit") {
        fontStylesName = "Italic";
      } else {
        fontStylesName = "Regular";
      }
    
      return baseFontName + "-" + fontStylesName;
    };
    /**
     * Maps TeX font commands to objects containing:
     * - variant: string used for "mathvariant" attribute in buildMathML.js
     * - fontName: the "style" parameter to fontMetrics.getCharacterMetrics
     */
    // A map between tex font commands an MathML mathvariant attribute values
    
    
    var fontMap = {
      // styles
      "mathbf": {
        variant: "bold",
        fontName: "Main-Bold"
      },
      "mathrm": {
        variant: "normal",
        fontName: "Main-Regular"
      },
      "textit": {
        variant: "italic",
        fontName: "Main-Italic"
      },
      "mathit": {
        variant: "italic",
        fontName: "Main-Italic"
      },
      // Default math font, "mathnormal" and "boldsymbol" are missing because they
      // require the use of several fonts: Main-Italic and Math-Italic for default
      // math font, Main-Italic, Math-Italic, Caligraphic for "mathnormal", and
      // Math-BoldItalic and Main-Bold for "boldsymbol".  This is handled by a
      // special case in makeOrd which ends up calling mathdefault, mathnormal,
      // and boldsymbol.
      // families
      "mathbb": {
        variant: "double-struck",
        fontName: "AMS-Regular"
      },
      "mathcal": {
        variant: "script",
        fontName: "Caligraphic-Regular"
      },
      "mathfrak": {
        variant: "fraktur",
        fontName: "Fraktur-Regular"
      },
      "mathscr": {
        variant: "script",
        fontName: "Script-Regular"
      },
      "mathsf": {
        variant: "sans-serif",
        fontName: "SansSerif-Regular"
      },
      "mathtt": {
        variant: "monospace",
        fontName: "Typewriter-Regular"
      }
    };
    var svgData = {
      //   path, width, height
      vec: ["vec", 0.471, 0.714],
      // values from the font glyph
      oiintSize1: ["oiintSize1", 0.957, 0.499],
      // oval to overlay the integrand
      oiintSize2: ["oiintSize2", 1.472, 0.659],
      oiiintSize1: ["oiiintSize1", 1.304, 0.499],
      oiiintSize2: ["oiiintSize2", 1.98, 0.659]
    };
    
    var buildCommon_staticSvg = function staticSvg(value, options) {
      // Create a span with inline SVG for the element.
      var _svgData$value = svgData[value],
          pathName = _svgData$value[0],
          width = _svgData$value[1],
          height = _svgData$value[2];
      var path = new domTree_PathNode(pathName);
      var svgNode = new SvgNode([path], {
        "width": width + "em",
        "height": height + "em",
        // Override CSS rule `.katex svg { width: 100% }`
        "style": "width:" + width + "em",
        "viewBox": "0 0 " + 1000 * width + " " + 1000 * height,
        "preserveAspectRatio": "xMinYMin"
      });
      var span = buildCommon_makeSvgSpan(["overlay"], [svgNode], options);
      span.height = height;
      span.style.height = height + "em";
      span.style.width = width + "em";
      return span;
    };
    
    /* harmony default export */ var buildCommon = ({
      fontMap: fontMap,
      makeSymbol: buildCommon_makeSymbol,
      mathsym: buildCommon_mathsym,
      makeSpan: buildCommon_makeSpan,
      makeSvgSpan: buildCommon_makeSvgSpan,
      makeLineSpan: makeLineSpan,
      makeAnchor: buildCommon_makeAnchor,
      makeFragment: buildCommon_makeFragment,
      wrapFragment: buildCommon_wrapFragment,
      makeVList: buildCommon_makeVList,
      makeOrd: buildCommon_makeOrd,
      makeGlue: buildCommon_makeGlue,
      staticSvg: buildCommon_staticSvg,
      svgData: svgData,
      tryCombineChars: buildCommon_tryCombineChars
    });
    // CONCATENATED MODULE: ./src/parseNode.js
    
    
    /**
     * Asserts that the node is of the given type and returns it with stricter
     * typing. Throws if the node's type does not match.
     */
    function assertNodeType(node, type) {
      var typedNode = checkNodeType(node, type);
    
      if (!typedNode) {
        throw new Error("Expected node of type " + type + ", but got " + (node ? "node of type " + node.type : String(node)));
      } // $FlowFixMe: Unsure why.
    
    
      return typedNode;
    }
    /**
     * Returns the node more strictly typed iff it is of the given type. Otherwise,
     * returns null.
     */
    
    function checkNodeType(node, type) {
      if (node && node.type === type) {
        // The definition of ParseNode<TYPE> doesn't communicate to flow that
        // `type: TYPE` (as that's not explicitly mentioned anywhere), though that
        // happens to be true for all our value types.
        // $FlowFixMe
        return node;
      }
    
      return null;
    }
    /**
     * Asserts that the node is of the given type and returns it with stricter
     * typing. Throws if the node's type does not match.
     */
    
    function assertAtomFamily(node, family) {
      var typedNode = checkAtomFamily(node, family);
    
      if (!typedNode) {
        throw new Error("Expected node of type \"atom\" and family \"" + family + "\", but got " + (node ? node.type === "atom" ? "atom of family " + node.family : "node of type " + node.type : String(node)));
      }
    
      return typedNode;
    }
    /**
     * Returns the node more strictly typed iff it is of the given type. Otherwise,
     * returns null.
     */
    
    function checkAtomFamily(node, family) {
      return node && node.type === "atom" && node.family === family ? node : null;
    }
    /**
     * Returns the node more strictly typed iff it is of the given type. Otherwise,
     * returns null.
     */
    
    function assertSymbolNodeType(node) {
      var typedNode = checkSymbolNodeType(node);
    
      if (!typedNode) {
        throw new Error("Expected node of symbol group type, but got " + (node ? "node of type " + node.type : String(node)));
      }
    
      return typedNode;
    }
    /**
     * Returns the node more strictly typed iff it is of the given type. Otherwise,
     * returns null.
     */
    
    function checkSymbolNodeType(node) {
      if (node && (node.type === "atom" || NON_ATOMS.hasOwnProperty(node.type))) {
        // $FlowFixMe
        return node;
      }
    
      return null;
    }
    // CONCATENATED MODULE: ./src/spacingData.js
    /**
     * Describes spaces between different classes of atoms.
     */
    var thinspace = {
      number: 3,
      unit: "mu"
    };
    var mediumspace = {
      number: 4,
      unit: "mu"
    };
    var thickspace = {
      number: 5,
      unit: "mu"
    }; // Making the type below exact with all optional fields doesn't work due to
    // - https://github.com/facebook/flow/issues/4582
    // - https://github.com/facebook/flow/issues/5688
    // However, since *all* fields are optional, $Shape<> works as suggested in 5688
    // above.
    
    // Spacing relationships for display and text styles
    var spacings = {
      mord: {
        mop: thinspace,
        mbin: mediumspace,
        mrel: thickspace,
        minner: thinspace
      },
      mop: {
        mord: thinspace,
        mop: thinspace,
        mrel: thickspace,
        minner: thinspace
      },
      mbin: {
        mord: mediumspace,
        mop: mediumspace,
        mopen: mediumspace,
        minner: mediumspace
      },
      mrel: {
        mord: thickspace,
        mop: thickspace,
        mopen: thickspace,
        minner: thickspace
      },
      mopen: {},
      mclose: {
        mop: thinspace,
        mbin: mediumspace,
        mrel: thickspace,
        minner: thinspace
      },
      mpunct: {
        mord: thinspace,
        mop: thinspace,
        mrel: thickspace,
        mopen: thinspace,
        mclose: thinspace,
        mpunct: thinspace,
        minner: thinspace
      },
      minner: {
        mord: thinspace,
        mop: thinspace,
        mbin: mediumspace,
        mrel: thickspace,
        mopen: thinspace,
        mpunct: thinspace,
        minner: thinspace
      }
    }; // Spacing relationships for script and scriptscript styles
    
    var tightSpacings = {
      mord: {
        mop: thinspace
      },
      mop: {
        mord: thinspace,
        mop: thinspace
      },
      mbin: {},
      mrel: {},
      mopen: {},
      mclose: {
        mop: thinspace
      },
      mpunct: {},
      minner: {
        mop: thinspace
      }
    };
    // CONCATENATED MODULE: ./src/defineFunction.js
    
    
    /**
     * All registered functions.
     * `functions.js` just exports this same dictionary again and makes it public.
     * `Parser.js` requires this dictionary.
     */
    var _functions = {};
    /**
     * All HTML builders. Should be only used in the `define*` and the `build*ML`
     * functions.
     */
    
    var _htmlGroupBuilders = {};
    /**
     * All MathML builders. Should be only used in the `define*` and the `build*ML`
     * functions.
     */
    
    var _mathmlGroupBuilders = {};
    function defineFunction(_ref) {
      var type = _ref.type,
          names = _ref.names,
          props = _ref.props,
          handler = _ref.handler,
          htmlBuilder = _ref.htmlBuilder,
          mathmlBuilder = _ref.mathmlBuilder;
      // Set default values of functions
      var data = {
        type: type,
        numArgs: props.numArgs,
        argTypes: props.argTypes,
        greediness: props.greediness === undefined ? 1 : props.greediness,
        allowedInText: !!props.allowedInText,
        allowedInMath: props.allowedInMath === undefined ? true : props.allowedInMath,
        numOptionalArgs: props.numOptionalArgs || 0,
        infix: !!props.infix,
        handler: handler
      };
    
      for (var i = 0; i < names.length; ++i) {
        _functions[names[i]] = data;
      }
    
      if (type) {
        if (htmlBuilder) {
          _htmlGroupBuilders[type] = htmlBuilder;
        }
    
        if (mathmlBuilder) {
          _mathmlGroupBuilders[type] = mathmlBuilder;
        }
      }
    }
    /**
     * Use this to register only the HTML and MathML builders for a function (e.g.
     * if the function's ParseNode is generated in Parser.js rather than via a
     * stand-alone handler provided to `defineFunction`).
     */
    
    function defineFunctionBuilders(_ref2) {
      var type = _ref2.type,
          htmlBuilder = _ref2.htmlBuilder,
          mathmlBuilder = _ref2.mathmlBuilder;
      defineFunction({
        type: type,
        names: [],
        props: {
          numArgs: 0
        },
        handler: function handler() {
          throw new Error('Should never be called.');
        },
        htmlBuilder: htmlBuilder,
        mathmlBuilder: mathmlBuilder
      });
    } // Since the corresponding buildHTML/buildMathML function expects a
    // list of elements, we normalize for different kinds of arguments
    
    var defineFunction_ordargument = function ordargument(arg) {
      var node = checkNodeType(arg, "ordgroup");
      return node ? node.body : [arg];
    };
    // CONCATENATED MODULE: ./src/buildHTML.js
    /**
     * This file does the main work of building a domTree structure from a parse
     * tree. The entry point is the `buildHTML` function, which takes a parse tree.
     * Then, the buildExpression, buildGroup, and various groupBuilders functions
     * are called, to produce a final HTML tree.
     */
    
    
    
    
    
    
    
    
    
    var buildHTML_makeSpan = buildCommon.makeSpan; // Binary atoms (first class `mbin`) change into ordinary atoms (`mord`)
    // depending on their surroundings. See TeXbook pg. 442-446, Rules 5 and 6,
    // and the text before Rule 19.
    
    var binLeftCanceller = ["leftmost", "mbin", "mopen", "mrel", "mop", "mpunct"];
    var binRightCanceller = ["rightmost", "mrel", "mclose", "mpunct"];
    var styleMap = {
      "display": src_Style.DISPLAY,
      "text": src_Style.TEXT,
      "script": src_Style.SCRIPT,
      "scriptscript": src_Style.SCRIPTSCRIPT
    };
    var DomEnum = {
      mord: "mord",
      mop: "mop",
      mbin: "mbin",
      mrel: "mrel",
      mopen: "mopen",
      mclose: "mclose",
      mpunct: "mpunct",
      minner: "minner"
    };
    
    /**
     * Take a list of nodes, build them in order, and return a list of the built
     * nodes. documentFragments are flattened into their contents, so the
     * returned list contains no fragments. `isRealGroup` is true if `expression`
     * is a real group (no atoms will be added on either side), as opposed to
     * a partial group (e.g. one created by \color). `surrounding` is an array
     * consisting type of nodes that will be added to the left and right.
     */
    var buildHTML_buildExpression = function buildExpression(expression, options, isRealGroup, surrounding) {
      if (surrounding === void 0) {
        surrounding = [null, null];
      }
    
      // Parse expressions into `groups`.
      var groups = [];
    
      for (var i = 0; i < expression.length; i++) {
        var output = buildHTML_buildGroup(expression[i], options);
    
        if (output instanceof tree_DocumentFragment) {
          var children = output.children;
          groups.push.apply(groups, children);
        } else {
          groups.push(output);
        }
      } // If `expression` is a partial group, let the parent handle spacings
      // to avoid processing groups multiple times.
    
    
      if (!isRealGroup) {
        return groups;
      }
    
      var glueOptions = options;
    
      if (expression.length === 1) {
        var node = checkNodeType(expression[0], "sizing") || checkNodeType(expression[0], "styling");
    
        if (!node) {// No match.
        } else if (node.type === "sizing") {
          glueOptions = options.havingSize(node.size);
        } else if (node.type === "styling") {
          glueOptions = options.havingStyle(styleMap[node.style]);
        }
      } // Dummy spans for determining spacings between surrounding atoms.
      // If `expression` has no atoms on the left or right, class "leftmost"
      // or "rightmost", respectively, is used to indicate it.
    
    
      var dummyPrev = buildHTML_makeSpan([surrounding[0] || "leftmost"], [], options);
      var dummyNext = buildHTML_makeSpan([surrounding[1] || "rightmost"], [], options); // TODO: These code assumes that a node's math class is the first element
      // of its `classes` array. A later cleanup should ensure this, for
      // instance by changing the signature of `makeSpan`.
      // Before determining what spaces to insert, perform bin cancellation.
      // Binary operators change to ordinary symbols in some contexts.
    
      traverseNonSpaceNodes(groups, function (node, prev) {
        var prevType = prev.classes[0];
        var type = node.classes[0];
    
        if (prevType === "mbin" && utils.contains(binRightCanceller, type)) {
          prev.classes[0] = "mord";
        } else if (type === "mbin" && utils.contains(binLeftCanceller, prevType)) {
          node.classes[0] = "mord";
        }
      }, {
        node: dummyPrev
      }, dummyNext);
      traverseNonSpaceNodes(groups, function (node, prev) {
        var prevType = getTypeOfDomTree(prev);
        var type = getTypeOfDomTree(node); // 'mtight' indicates that the node is script or scriptscript style.
    
        var space = prevType && type ? node.hasClass("mtight") ? tightSpacings[prevType][type] : spacings[prevType][type] : null;
    
        if (space) {
          // Insert glue (spacing) after the `prev`.
          return buildCommon.makeGlue(space, glueOptions);
        }
      }, {
        node: dummyPrev
      }, dummyNext);
      return groups;
    }; // Depth-first traverse non-space `nodes`, calling `callback` with the current and
    // previous node as arguments, optionally returning a node to insert after the
    // previous node. `prev` is an object with the previous node and `insertAfter`
    // function to insert after it. `next` is a node that will be added to the right.
    // Used for bin cancellation and inserting spacings.
    
    var traverseNonSpaceNodes = function traverseNonSpaceNodes(nodes, callback, prev, next) {
      if (next) {
        // temporarily append the right node, if exists
        nodes.push(next);
      }
    
      var i = 0;
    
      for (; i < nodes.length; i++) {
        var node = nodes[i];
        var partialGroup = buildHTML_checkPartialGroup(node);
    
        if (partialGroup) {
          // Recursive DFS
          // $FlowFixMe: make nodes a $ReadOnlyArray by returning a new array
          traverseNonSpaceNodes(partialGroup.children, callback, prev);
          continue;
        } // Ignore explicit spaces (e.g., \;, \,) when determining what implicit
        // spacing should go between atoms of different classes
    
    
        if (node.classes[0] === "mspace") {
          continue;
        }
    
        var result = callback(node, prev.node);
    
        if (result) {
          if (prev.insertAfter) {
            prev.insertAfter(result);
          } else {
            // insert at front
            nodes.unshift(result);
            i++;
          }
        }
    
        prev.node = node;
    
        prev.insertAfter = function (index) {
          return function (n) {
            nodes.splice(index + 1, 0, n);
            i++;
          };
        }(i);
      }
    
      if (next) {
        nodes.pop();
      }
    }; // Check if given node is a partial group, i.e., does not affect spacing around.
    
    
    var buildHTML_checkPartialGroup = function checkPartialGroup(node) {
      if (node instanceof tree_DocumentFragment || node instanceof domTree_Anchor) {
        return node;
      }
    
      return null;
    }; // Return the outermost node of a domTree.
    
    
    var getOutermostNode = function getOutermostNode(node, side) {
      var partialGroup = buildHTML_checkPartialGroup(node);
    
      if (partialGroup) {
        var children = partialGroup.children;
    
        if (children.length) {
          if (side === "right") {
            return getOutermostNode(children[children.length - 1], "right");
          } else if (side === "left") {
            return getOutermostNode(children[0], "left");
          }
        }
      }
    
      return node;
    }; // Return math atom class (mclass) of a domTree.
    // If `side` is given, it will get the type of the outermost node at given side.
    
    
    var getTypeOfDomTree = function getTypeOfDomTree(node, side) {
      if (!node) {
        return null;
      }
    
      if (side) {
        node = getOutermostNode(node, side);
      } // This makes a lot of assumptions as to where the type of atom
      // appears.  We should do a better job of enforcing this.
    
    
      return DomEnum[node.classes[0]] || null;
    };
    var makeNullDelimiter = function makeNullDelimiter(options, classes) {
      var moreClasses = ["nulldelimiter"].concat(options.baseSizingClasses());
      return buildHTML_makeSpan(classes.concat(moreClasses));
    };
    /**
     * buildGroup is the function that takes a group and calls the correct groupType
     * function for it. It also handles the interaction of size and style changes
     * between parents and children.
     */
    
    var buildHTML_buildGroup = function buildGroup(group, options, baseOptions) {
      if (!group) {
        return buildHTML_makeSpan();
      }
    
      if (_htmlGroupBuilders[group.type]) {
        // Call the groupBuilders function
        var groupNode = _htmlGroupBuilders[group.type](group, options); // If the size changed between the parent and the current group, account
        // for that size difference.
    
        if (baseOptions && options.size !== baseOptions.size) {
          groupNode = buildHTML_makeSpan(options.sizingClasses(baseOptions), [groupNode], options);
          var multiplier = options.sizeMultiplier / baseOptions.sizeMultiplier;
          groupNode.height *= multiplier;
          groupNode.depth *= multiplier;
        }
    
        return groupNode;
      } else {
        throw new src_ParseError("Got group of unknown type: '" + group.type + "'");
      }
    };
    /**
     * Combine an array of HTML DOM nodes (e.g., the output of `buildExpression`)
     * into an unbreakable HTML node of class .base, with proper struts to
     * guarantee correct vertical extent.  `buildHTML` calls this repeatedly to
     * make up the entire expression as a sequence of unbreakable units.
     */
    
    function buildHTMLUnbreakable(children, options) {
      // Compute height and depth of this chunk.
      var body = buildHTML_makeSpan(["base"], children, options); // Add strut, which ensures that the top of the HTML element falls at
      // the height of the expression, and the bottom of the HTML element
      // falls at the depth of the expression.
      // We used to have separate top and bottom struts, where the bottom strut
      // would like to use `vertical-align: top`, but in IE 9 this lowers the
      // baseline of the box to the bottom of this strut (instead of staying in
      // the normal place) so we use an absolute value for vertical-align instead.
    
      var strut = buildHTML_makeSpan(["strut"]);
      strut.style.height = body.height + body.depth + "em";
      strut.style.verticalAlign = -body.depth + "em";
      body.children.unshift(strut);
      return body;
    }
    /**
     * Take an entire parse tree, and build it into an appropriate set of HTML
     * nodes.
     */
    
    
    function buildHTML(tree, options) {
      // Strip off outer tag wrapper for processing below.
      var tag = null;
    
      if (tree.length === 1 && tree[0].type === "tag") {
        tag = tree[0].tag;
        tree = tree[0].body;
      } // Build the expression contained in the tree
    
    
      var expression = buildHTML_buildExpression(tree, options, true);
      var children = []; // Create one base node for each chunk between potential line breaks.
      // The TeXBook [p.173] says "A formula will be broken only after a
      // relation symbol like $=$ or $<$ or $\rightarrow$, or after a binary
      // operation symbol like $+$ or $-$ or $\times$, where the relation or
      // binary operation is on the ``outer level'' of the formula (i.e., not
      // enclosed in {...} and not part of an \over construction)."
    
      var parts = [];
    
      for (var i = 0; i < expression.length; i++) {
        parts.push(expression[i]);
    
        if (expression[i].hasClass("mbin") || expression[i].hasClass("mrel") || expression[i].hasClass("allowbreak")) {
          // Put any post-operator glue on same line as operator.
          // Watch for \nobreak along the way, and stop at \newline.
          var nobreak = false;
    
          while (i < expression.length - 1 && expression[i + 1].hasClass("mspace") && !expression[i + 1].hasClass("newline")) {
            i++;
            parts.push(expression[i]);
    
            if (expression[i].hasClass("nobreak")) {
              nobreak = true;
            }
          } // Don't allow break if \nobreak among the post-operator glue.
    
    
          if (!nobreak) {
            children.push(buildHTMLUnbreakable(parts, options));
            parts = [];
          }
        } else if (expression[i].hasClass("newline")) {
          // Write the line except the newline
          parts.pop();
    
          if (parts.length > 0) {
            children.push(buildHTMLUnbreakable(parts, options));
            parts = [];
          } // Put the newline at the top level
    
    
          children.push(expression[i]);
        }
      }
    
      if (parts.length > 0) {
        children.push(buildHTMLUnbreakable(parts, options));
      } // Now, if there was a tag, build it too and append it as a final child.
    
    
      var tagChild;
    
      if (tag) {
        tagChild = buildHTMLUnbreakable(buildHTML_buildExpression(tag, options, true));
        tagChild.classes = ["tag"];
        children.push(tagChild);
      }
    
      var htmlNode = buildHTML_makeSpan(["katex-html"], children);
      htmlNode.setAttribute("aria-hidden", "true"); // Adjust the strut of the tag to be the maximum height of all children
      // (the height of the enclosing htmlNode) for proper vertical alignment.
    
      if (tagChild) {
        var strut = tagChild.children[0];
        strut.style.height = htmlNode.height + htmlNode.depth + "em";
        strut.style.verticalAlign = -htmlNode.depth + "em";
      }
    
      return htmlNode;
    }
    // CONCATENATED MODULE: ./src/mathMLTree.js
    /**
     * These objects store data about MathML nodes. This is the MathML equivalent
     * of the types in domTree.js. Since MathML handles its own rendering, and
     * since we're mainly using MathML to improve accessibility, we don't manage
     * any of the styling state that the plain DOM nodes do.
     *
     * The `toNode` and `toMarkup` functions work simlarly to how they do in
     * domTree.js, creating namespaced DOM nodes and HTML text markup respectively.
     */
    
    
    function newDocumentFragment(children) {
      return new tree_DocumentFragment(children);
    }
    /**
     * This node represents a general purpose MathML node of any type. The
     * constructor requires the type of node to create (for example, `"mo"` or
     * `"mspace"`, corresponding to `<mo>` and `<mspace>` tags).
     */
    
    var mathMLTree_MathNode =
    /*#__PURE__*/
    function () {
      function MathNode(type, children) {
        this.type = void 0;
        this.attributes = void 0;
        this.children = void 0;
        this.type = type;
        this.attributes = {};
        this.children = children || [];
      }
      /**
       * Sets an attribute on a MathML node. MathML depends on attributes to convey a
       * semantic content, so this is used heavily.
       */
    
    
      var _proto = MathNode.prototype;
    
      _proto.setAttribute = function setAttribute(name, value) {
        this.attributes[name] = value;
      }
      /**
       * Gets an attribute on a MathML node.
       */
      ;
    
      _proto.getAttribute = function getAttribute(name) {
        return this.attributes[name];
      }
      /**
       * Converts the math node into a MathML-namespaced DOM element.
       */
      ;
    
      _proto.toNode = function toNode() {
        var node = document.createElementNS("http://www.w3.org/1998/Math/MathML", this.type);
    
        for (var attr in this.attributes) {
          if (Object.prototype.hasOwnProperty.call(this.attributes, attr)) {
            node.setAttribute(attr, this.attributes[attr]);
          }
        }
    
        for (var i = 0; i < this.children.length; i++) {
          node.appendChild(this.children[i].toNode());
        }
    
        return node;
      }
      /**
       * Converts the math node into an HTML markup string.
       */
      ;
    
      _proto.toMarkup = function toMarkup() {
        var markup = "<" + this.type; // Add the attributes
    
        for (var attr in this.attributes) {
          if (Object.prototype.hasOwnProperty.call(this.attributes, attr)) {
            markup += " " + attr + "=\"";
            markup += utils.escape(this.attributes[attr]);
            markup += "\"";
          }
        }
    
        markup += ">";
    
        for (var i = 0; i < this.children.length; i++) {
          markup += this.children[i].toMarkup();
        }
    
        markup += "</" + this.type + ">";
        return markup;
      }
      /**
       * Converts the math node into a string, similar to innerText, but escaped.
       */
      ;
    
      _proto.toText = function toText() {
        return this.children.map(function (child) {
          return child.toText();
        }).join("");
      };
    
      return MathNode;
    }();
    /**
     * This node represents a piece of text.
     */
    
    var mathMLTree_TextNode =
    /*#__PURE__*/
    function () {
      function TextNode(text) {
        this.text = void 0;
        this.text = text;
      }
      /**
       * Converts the text node into a DOM text node.
       */
    
    
      var _proto2 = TextNode.prototype;
    
      _proto2.toNode = function toNode() {
        return document.createTextNode(this.text);
      }
      /**
       * Converts the text node into escaped HTML markup
       * (representing the text itself).
       */
      ;
    
      _proto2.toMarkup = function toMarkup() {
        return utils.escape(this.toText());
      }
      /**
       * Converts the text node into a string
       * (representing the text iteself).
       */
      ;
    
      _proto2.toText = function toText() {
        return this.text;
      };
    
      return TextNode;
    }();
    /**
     * This node represents a space, but may render as <mspace.../> or as text,
     * depending on the width.
     */
    
    var SpaceNode =
    /*#__PURE__*/
    function () {
      /**
       * Create a Space node with width given in CSS ems.
       */
      function SpaceNode(width) {
        this.width = void 0;
        this.character = void 0;
        this.width = width; // See https://www.w3.org/TR/2000/WD-MathML2-20000328/chapter6.html
        // for a table of space-like characters.  We use Unicode
        // representations instead of &LongNames; as it's not clear how to
        // make the latter via document.createTextNode.
    
        if (width >= 0.05555 && width <= 0.05556) {
          this.character = "\u200A"; // &VeryThinSpace;
        } else if (width >= 0.1666 && width <= 0.1667) {
          this.character = "\u2009"; // &ThinSpace;
        } else if (width >= 0.2222 && width <= 0.2223) {
          this.character = "\u2005"; // &MediumSpace;
        } else if (width >= 0.2777 && width <= 0.2778) {
          this.character = "\u2005\u200A"; // &ThickSpace;
        } else if (width >= -0.05556 && width <= -0.05555) {
          this.character = "\u200A\u2063"; // &NegativeVeryThinSpace;
        } else if (width >= -0.1667 && width <= -0.1666) {
          this.character = "\u2009\u2063"; // &NegativeThinSpace;
        } else if (width >= -0.2223 && width <= -0.2222) {
          this.character = "\u205F\u2063"; // &NegativeMediumSpace;
        } else if (width >= -0.2778 && width <= -0.2777) {
          this.character = "\u2005\u2063"; // &NegativeThickSpace;
        } else {
          this.character = null;
        }
      }
      /**
       * Converts the math node into a MathML-namespaced DOM element.
       */
    
    
      var _proto3 = SpaceNode.prototype;
    
      _proto3.toNode = function toNode() {
        if (this.character) {
          return document.createTextNode(this.character);
        } else {
          var node = document.createElementNS("http://www.w3.org/1998/Math/MathML", "mspace");
          node.setAttribute("width", this.width + "em");
          return node;
        }
      }
      /**
       * Converts the math node into an HTML markup string.
       */
      ;
    
      _proto3.toMarkup = function toMarkup() {
        if (this.character) {
          return "<mtext>" + this.character + "</mtext>";
        } else {
          return "<mspace width=\"" + this.width + "em\"/>";
        }
      }
      /**
       * Converts the math node into a string, similar to innerText.
       */
      ;
    
      _proto3.toText = function toText() {
        if (this.character) {
          return this.character;
        } else {
          return " ";
        }
      };
    
      return SpaceNode;
    }();
    
    /* harmony default export */ var mathMLTree = ({
      MathNode: mathMLTree_MathNode,
      TextNode: mathMLTree_TextNode,
      SpaceNode: SpaceNode,
      newDocumentFragment: newDocumentFragment
    });
    // CONCATENATED MODULE: ./src/buildMathML.js
    /**
     * This file converts a parse tree into a cooresponding MathML tree. The main
     * entry point is the `buildMathML` function, which takes a parse tree from the
     * parser.
     */
    
    
    
    
    
    
    
    
    
    /**
     * Takes a symbol and converts it into a MathML text node after performing
     * optional replacement from symbols.js.
     */
    var buildMathML_makeText = function makeText(text, mode, options) {
      if (src_symbols[mode][text] && src_symbols[mode][text].replace && text.charCodeAt(0) !== 0xD835 && !(ligatures.hasOwnProperty(text) && options && (options.fontFamily && options.fontFamily.substr(4, 2) === "tt" || options.font && options.font.substr(4, 2) === "tt"))) {
        text = src_symbols[mode][text].replace;
      }
    
      return new mathMLTree.TextNode(text);
    };
    /**
     * Wrap the given array of nodes in an <mrow> node if needed, i.e.,
     * unless the array has length 1.  Always returns a single node.
     */
    
    var buildMathML_makeRow = function makeRow(body) {
      if (body.length === 1) {
        return body[0];
      } else {
        return new mathMLTree.MathNode("mrow", body);
      }
    };
    /**
     * Returns the math variant as a string or null if none is required.
     */
    
    var buildMathML_getVariant = function getVariant(group, options) {
      // Handle \text... font specifiers as best we can.
      // MathML has a limited list of allowable mathvariant specifiers; see
      // https://www.w3.org/TR/MathML3/chapter3.html#presm.commatt
      if (options.fontFamily === "texttt") {
        return "monospace";
      } else if (options.fontFamily === "textsf") {
        if (options.fontShape === "textit" && options.fontWeight === "textbf") {
          return "sans-serif-bold-italic";
        } else if (options.fontShape === "textit") {
          return "sans-serif-italic";
        } else if (options.fontWeight === "textbf") {
          return "bold-sans-serif";
        } else {
          return "sans-serif";
        }
      } else if (options.fontShape === "textit" && options.fontWeight === "textbf") {
        return "bold-italic";
      } else if (options.fontShape === "textit") {
        return "italic";
      } else if (options.fontWeight === "textbf") {
        return "bold";
      }
    
      var font = options.font;
    
      if (!font || font === "mathnormal") {
        return null;
      }
    
      var mode = group.mode;
    
      if (font === "mathit") {
        return "italic";
      } else if (font === "boldsymbol") {
        return "bold-italic";
      } else if (font === "mathbf") {
        return "bold";
      } else if (font === "mathbb") {
        return "double-struck";
      } else if (font === "mathfrak") {
        return "fraktur";
      } else if (font === "mathscr" || font === "mathcal") {
        // MathML makes no distinction between script and caligrahpic
        return "script";
      } else if (font === "mathsf") {
        return "sans-serif";
      } else if (font === "mathtt") {
        return "monospace";
      }
    
      var text = group.text;
    
      if (utils.contains(["\\imath", "\\jmath"], text)) {
        return null;
      }
    
      if (src_symbols[mode][text] && src_symbols[mode][text].replace) {
        text = src_symbols[mode][text].replace;
      }
    
      var fontName = buildCommon.fontMap[font].fontName;
    
      if (getCharacterMetrics(text, fontName, mode)) {
        return buildCommon.fontMap[font].variant;
      }
    
      return null;
    };
    /**
     * Takes a list of nodes, builds them, and returns a list of the generated
     * MathML nodes.  Also combine consecutive <mtext> outputs into a single
     * <mtext> tag.
     */
    
    var buildMathML_buildExpression = function buildExpression(expression, options, isOrdgroup) {
      if (expression.length === 1) {
        var group = buildMathML_buildGroup(expression[0], options);
    
        if (isOrdgroup && group instanceof mathMLTree_MathNode && group.type === "mo") {
          // When TeX writers want to suppress spacing on an operator,
          // they often put the operator by itself inside braces.
          group.setAttribute("lspace", "0em");
          group.setAttribute("rspace", "0em");
        }
    
        return [group];
      }
    
      var groups = [];
      var lastGroup;
    
      for (var i = 0; i < expression.length; i++) {
        var _group = buildMathML_buildGroup(expression[i], options);
    
        if (_group instanceof mathMLTree_MathNode && lastGroup instanceof mathMLTree_MathNode) {
          // Concatenate adjacent <mtext>s
          if (_group.type === 'mtext' && lastGroup.type === 'mtext' && _group.getAttribute('mathvariant') === lastGroup.getAttribute('mathvariant')) {
            var _lastGroup$children;
    
            (_lastGroup$children = lastGroup.children).push.apply(_lastGroup$children, _group.children);
    
            continue; // Concatenate adjacent <mn>s
          } else if (_group.type === 'mn' && lastGroup.type === 'mn') {
            var _lastGroup$children2;
    
            (_lastGroup$children2 = lastGroup.children).push.apply(_lastGroup$children2, _group.children);
    
            continue; // Concatenate <mn>...</mn> followed by <mi>.</mi>
          } else if (_group.type === 'mi' && _group.children.length === 1 && lastGroup.type === 'mn') {
            var child = _group.children[0];
    
            if (child instanceof mathMLTree_TextNode && child.text === '.') {
              var _lastGroup$children3;
    
              (_lastGroup$children3 = lastGroup.children).push.apply(_lastGroup$children3, _group.children);
    
              continue;
            }
          } else if (lastGroup.type === 'mi' && lastGroup.children.length === 1) {
            var lastChild = lastGroup.children[0];
    
            if (lastChild instanceof mathMLTree_TextNode && lastChild.text === "\u0338" && (_group.type === 'mo' || _group.type === 'mi' || _group.type === 'mn')) {
              var _child = _group.children[0];
    
              if (_child instanceof mathMLTree_TextNode && _child.text.length > 0) {
                // Overlay with combining character long solidus
                _child.text = _child.text.slice(0, 1) + "\u0338" + _child.text.slice(1);
                groups.pop();
              }
            }
          }
        }
    
        groups.push(_group);
        lastGroup = _group;
      }
    
      return groups;
    };
    /**
     * Equivalent to buildExpression, but wraps the elements in an <mrow>
     * if there's more than one.  Returns a single node instead of an array.
     */
    
    var buildExpressionRow = function buildExpressionRow(expression, options, isOrdgroup) {
      return buildMathML_makeRow(buildMathML_buildExpression(expression, options, isOrdgroup));
    };
    /**
     * Takes a group from the parser and calls the appropriate groupBuilders function
     * on it to produce a MathML node.
     */
    
    var buildMathML_buildGroup = function buildGroup(group, options) {
      if (!group) {
        return new mathMLTree.MathNode("mrow");
      }
    
      if (_mathmlGroupBuilders[group.type]) {
        // Call the groupBuilders function
        var result = _mathmlGroupBuilders[group.type](group, options);
        return result;
      } else {
        throw new src_ParseError("Got group of unknown type: '" + group.type + "'");
      }
    };
    /**
     * Takes a full parse tree and settings and builds a MathML representation of
     * it. In particular, we put the elements from building the parse tree into a
     * <semantics> tag so we can also include that TeX source as an annotation.
     *
     * Note that we actually return a domTree element with a `<math>` inside it so
     * we can do appropriate styling.
     */
    
    function buildMathML(tree, texExpression, options, forMathmlOnly) {
      var expression = buildMathML_buildExpression(tree, options); // Wrap up the expression in an mrow so it is presented in the semantics
      // tag correctly, unless it's a single <mrow> or <mtable>.
    
      var wrapper;
    
      if (expression.length === 1 && expression[0] instanceof mathMLTree_MathNode && utils.contains(["mrow", "mtable"], expression[0].type)) {
        wrapper = expression[0];
      } else {
        wrapper = new mathMLTree.MathNode("mrow", expression);
      } // Build a TeX annotation of the source
    
    
      var annotation = new mathMLTree.MathNode("annotation", [new mathMLTree.TextNode(texExpression)]);
      annotation.setAttribute("encoding", "application/x-tex");
      var semantics = new mathMLTree.MathNode("semantics", [wrapper, annotation]);
      var math = new mathMLTree.MathNode("math", [semantics]);
      math.setAttribute("xmlns", "http://www.w3.org/1998/Math/MathML"); // You can't style <math> nodes, so we wrap the node in a span.
      // NOTE: The span class is not typed to have <math> nodes as children, and
      // we don't want to make the children type more generic since the children
      // of span are expected to have more fields in `buildHtml` contexts.
    
      var wrapperClass = forMathmlOnly ? "katex" : "katex-mathml"; // $FlowFixMe
    
      return buildCommon.makeSpan([wrapperClass], [math]);
    }
    // CONCATENATED MODULE: ./src/buildTree.js
    
    
    
    
    
    
    
    var buildTree_optionsFromSettings = function optionsFromSettings(settings) {
      return new src_Options({
        style: settings.displayMode ? src_Style.DISPLAY : src_Style.TEXT,
        maxSize: settings.maxSize,
        minRuleThickness: settings.minRuleThickness
      });
    };
    
    var buildTree_displayWrap = function displayWrap(node, settings) {
      if (settings.displayMode) {
        var classes = ["katex-display"];
    
        if (settings.leqno) {
          classes.push("leqno");
        }
    
        if (settings.fleqn) {
          classes.push("fleqn");
        }
    
        node = buildCommon.makeSpan(classes, [node]);
      }
    
      return node;
    };
    
    var buildTree_buildTree = function buildTree(tree, expression, settings) {
      var options = buildTree_optionsFromSettings(settings);
      var katexNode;
    
      if (settings.output === "mathml") {
        return buildMathML(tree, expression, options, true);
      } else if (settings.output === "html") {
        var htmlNode = buildHTML(tree, options);
        katexNode = buildCommon.makeSpan(["katex"], [htmlNode]);
      } else {
        var mathMLNode = buildMathML(tree, expression, options, false);
    
        var _htmlNode = buildHTML(tree, options);
    
        katexNode = buildCommon.makeSpan(["katex"], [mathMLNode, _htmlNode]);
      }
    
      return buildTree_displayWrap(katexNode, settings);
    };
    var buildTree_buildHTMLTree = function buildHTMLTree(tree, expression, settings) {
      var options = buildTree_optionsFromSettings(settings);
      var htmlNode = buildHTML(tree, options);
      var katexNode = buildCommon.makeSpan(["katex"], [htmlNode]);
      return buildTree_displayWrap(katexNode, settings);
    };
    /* harmony default export */ var src_buildTree = (buildTree_buildTree);
    // CONCATENATED MODULE: ./src/stretchy.js
    /**
     * This file provides support to buildMathML.js and buildHTML.js
     * for stretchy wide elements rendered from SVG files
     * and other CSS trickery.
     */
    
    
    
    
    var stretchyCodePoint = {
      widehat: "^",
      widecheck: "ˇ",
      widetilde: "~",
      utilde: "~",
      overleftarrow: "\u2190",
      underleftarrow: "\u2190",
      xleftarrow: "\u2190",
      overrightarrow: "\u2192",
      underrightarrow: "\u2192",
      xrightarrow: "\u2192",
      underbrace: "\u23DF",
      overbrace: "\u23DE",
      overgroup: "\u23E0",
      undergroup: "\u23E1",
      overleftrightarrow: "\u2194",
      underleftrightarrow: "\u2194",
      xleftrightarrow: "\u2194",
      Overrightarrow: "\u21D2",
      xRightarrow: "\u21D2",
      overleftharpoon: "\u21BC",
      xleftharpoonup: "\u21BC",
      overrightharpoon: "\u21C0",
      xrightharpoonup: "\u21C0",
      xLeftarrow: "\u21D0",
      xLeftrightarrow: "\u21D4",
      xhookleftarrow: "\u21A9",
      xhookrightarrow: "\u21AA",
      xmapsto: "\u21A6",
      xrightharpoondown: "\u21C1",
      xleftharpoondown: "\u21BD",
      xrightleftharpoons: "\u21CC",
      xleftrightharpoons: "\u21CB",
      xtwoheadleftarrow: "\u219E",
      xtwoheadrightarrow: "\u21A0",
      xlongequal: "=",
      xtofrom: "\u21C4",
      xrightleftarrows: "\u21C4",
      xrightequilibrium: "\u21CC",
      // Not a perfect match.
      xleftequilibrium: "\u21CB" // None better available.
    
    };
    
    var stretchy_mathMLnode = function mathMLnode(label) {
      var node = new mathMLTree.MathNode("mo", [new mathMLTree.TextNode(stretchyCodePoint[label.substr(1)])]);
      node.setAttribute("stretchy", "true");
      return node;
    }; // Many of the KaTeX SVG images have been adapted from glyphs in KaTeX fonts.
    // Copyright (c) 2009-2010, Design Science, Inc. (<www.mathjax.org>)
    // Copyright (c) 2014-2017 Khan Academy (<www.khanacademy.org>)
    // Licensed under the SIL Open Font License, Version 1.1.
    // See \nhttp://scripts.sil.org/OFL
    // Very Long SVGs
    //    Many of the KaTeX stretchy wide elements use a long SVG image and an
    //    overflow: hidden tactic to achieve a stretchy image while avoiding
    //    distortion of arrowheads or brace corners.
    //    The SVG typically contains a very long (400 em) arrow.
    //    The SVG is in a container span that has overflow: hidden, so the span
    //    acts like a window that exposes only part of the  SVG.
    //    The SVG always has a longer, thinner aspect ratio than the container span.
    //    After the SVG fills 100% of the height of the container span,
    //    there is a long arrow shaft left over. That left-over shaft is not shown.
    //    Instead, it is sliced off because the span's CSS has overflow: hidden.
    //    Thus, the reader sees an arrow that matches the subject matter width
    //    without distortion.
    //    Some functions, such as \cancel, need to vary their aspect ratio. These
    //    functions do not get the overflow SVG treatment.
    // Second Brush Stroke
    //    Low resolution monitors struggle to display images in fine detail.
    //    So browsers apply anti-aliasing. A long straight arrow shaft therefore
    //    will sometimes appear as if it has a blurred edge.
    //    To mitigate this, these SVG files contain a second "brush-stroke" on the
    //    arrow shafts. That is, a second long thin rectangular SVG path has been
    //    written directly on top of each arrow shaft. This reinforcement causes
    //    some of the screen pixels to display as black instead of the anti-aliased
    //    gray pixel that a  single path would generate. So we get arrow shafts
    //    whose edges appear to be sharper.
    // In the katexImagesData object just below, the dimensions all
    // correspond to path geometry inside the relevant SVG.
    // For example, \overrightarrow uses the same arrowhead as glyph U+2192
    // from the KaTeX Main font. The scaling factor is 1000.
    // That is, inside the font, that arrowhead is 522 units tall, which
    // corresponds to 0.522 em inside the document.
    
    
    var katexImagesData = {
      //   path(s), minWidth, height, align
      overrightarrow: [["rightarrow"], 0.888, 522, "xMaxYMin"],
      overleftarrow: [["leftarrow"], 0.888, 522, "xMinYMin"],
      underrightarrow: [["rightarrow"], 0.888, 522, "xMaxYMin"],
      underleftarrow: [["leftarrow"], 0.888, 522, "xMinYMin"],
      xrightarrow: [["rightarrow"], 1.469, 522, "xMaxYMin"],
      xleftarrow: [["leftarrow"], 1.469, 522, "xMinYMin"],
      Overrightarrow: [["doublerightarrow"], 0.888, 560, "xMaxYMin"],
      xRightarrow: [["doublerightarrow"], 1.526, 560, "xMaxYMin"],
      xLeftarrow: [["doubleleftarrow"], 1.526, 560, "xMinYMin"],
      overleftharpoon: [["leftharpoon"], 0.888, 522, "xMinYMin"],
      xleftharpoonup: [["leftharpoon"], 0.888, 522, "xMinYMin"],
      xleftharpoondown: [["leftharpoondown"], 0.888, 522, "xMinYMin"],
      overrightharpoon: [["rightharpoon"], 0.888, 522, "xMaxYMin"],
      xrightharpoonup: [["rightharpoon"], 0.888, 522, "xMaxYMin"],
      xrightharpoondown: [["rightharpoondown"], 0.888, 522, "xMaxYMin"],
      xlongequal: [["longequal"], 0.888, 334, "xMinYMin"],
      xtwoheadleftarrow: [["twoheadleftarrow"], 0.888, 334, "xMinYMin"],
      xtwoheadrightarrow: [["twoheadrightarrow"], 0.888, 334, "xMaxYMin"],
      overleftrightarrow: [["leftarrow", "rightarrow"], 0.888, 522],
      overbrace: [["leftbrace", "midbrace", "rightbrace"], 1.6, 548],
      underbrace: [["leftbraceunder", "midbraceunder", "rightbraceunder"], 1.6, 548],
      underleftrightarrow: [["leftarrow", "rightarrow"], 0.888, 522],
      xleftrightarrow: [["leftarrow", "rightarrow"], 1.75, 522],
      xLeftrightarrow: [["doubleleftarrow", "doublerightarrow"], 1.75, 560],
      xrightleftharpoons: [["leftharpoondownplus", "rightharpoonplus"], 1.75, 716],
      xleftrightharpoons: [["leftharpoonplus", "rightharpoondownplus"], 1.75, 716],
      xhookleftarrow: [["leftarrow", "righthook"], 1.08, 522],
      xhookrightarrow: [["lefthook", "rightarrow"], 1.08, 522],
      overlinesegment: [["leftlinesegment", "rightlinesegment"], 0.888, 522],
      underlinesegment: [["leftlinesegment", "rightlinesegment"], 0.888, 522],
      overgroup: [["leftgroup", "rightgroup"], 0.888, 342],
      undergroup: [["leftgroupunder", "rightgroupunder"], 0.888, 342],
      xmapsto: [["leftmapsto", "rightarrow"], 1.5, 522],
      xtofrom: [["leftToFrom", "rightToFrom"], 1.75, 528],
      // The next three arrows are from the mhchem package.
      // In mhchem.sty, min-length is 2.0em. But these arrows might appear in the
      // document as \xrightarrow or \xrightleftharpoons. Those have
      // min-length = 1.75em, so we set min-length on these next three to match.
      xrightleftarrows: [["baraboveleftarrow", "rightarrowabovebar"], 1.75, 901],
      xrightequilibrium: [["baraboveshortleftharpoon", "rightharpoonaboveshortbar"], 1.75, 716],
      xleftequilibrium: [["shortbaraboveleftharpoon", "shortrightharpoonabovebar"], 1.75, 716]
    };
    
    var groupLength = function groupLength(arg) {
      if (arg.type === "ordgroup") {
        return arg.body.length;
      } else {
        return 1;
      }
    };
    
    var stretchy_svgSpan = function svgSpan(group, options) {
      // Create a span with inline SVG for the element.
      function buildSvgSpan_() {
        var viewBoxWidth = 400000; // default
    
        var label = group.label.substr(1);
    
        if (utils.contains(["widehat", "widecheck", "widetilde", "utilde"], label)) {
          // Each type in the `if` statement corresponds to one of the ParseNode
          // types below. This narrowing is required to access `grp.base`.
          var grp = group; // There are four SVG images available for each function.
          // Choose a taller image when there are more characters.
    
          var numChars = groupLength(grp.base);
          var viewBoxHeight;
          var pathName;
    
          var _height;
    
          if (numChars > 5) {
            if (label === "widehat" || label === "widecheck") {
              viewBoxHeight = 420;
              viewBoxWidth = 2364;
              _height = 0.42;
              pathName = label + "4";
            } else {
              viewBoxHeight = 312;
              viewBoxWidth = 2340;
              _height = 0.34;
              pathName = "tilde4";
            }
          } else {
            var imgIndex = [1, 1, 2, 2, 3, 3][numChars];
    
            if (label === "widehat" || label === "widecheck") {
              viewBoxWidth = [0, 1062, 2364, 2364, 2364][imgIndex];
              viewBoxHeight = [0, 239, 300, 360, 420][imgIndex];
              _height = [0, 0.24, 0.3, 0.3, 0.36, 0.42][imgIndex];
              pathName = label + imgIndex;
            } else {
              viewBoxWidth = [0, 600, 1033, 2339, 2340][imgIndex];
              viewBoxHeight = [0, 260, 286, 306, 312][imgIndex];
              _height = [0, 0.26, 0.286, 0.3, 0.306, 0.34][imgIndex];
              pathName = "tilde" + imgIndex;
            }
          }
    
          var path = new domTree_PathNode(pathName);
          var svgNode = new SvgNode([path], {
            "width": "100%",
            "height": _height + "em",
            "viewBox": "0 0 " + viewBoxWidth + " " + viewBoxHeight,
            "preserveAspectRatio": "none"
          });
          return {
            span: buildCommon.makeSvgSpan([], [svgNode], options),
            minWidth: 0,
            height: _height
          };
        } else {
          var spans = [];
          var data = katexImagesData[label];
          var paths = data[0],
              _minWidth = data[1],
              _viewBoxHeight = data[2];
    
          var _height2 = _viewBoxHeight / 1000;
    
          var numSvgChildren = paths.length;
          var widthClasses;
          var aligns;
    
          if (numSvgChildren === 1) {
            // $FlowFixMe: All these cases must be of the 4-tuple type.
            var align1 = data[3];
            widthClasses = ["hide-tail"];
            aligns = [align1];
          } else if (numSvgChildren === 2) {
            widthClasses = ["halfarrow-left", "halfarrow-right"];
            aligns = ["xMinYMin", "xMaxYMin"];
          } else if (numSvgChildren === 3) {
            widthClasses = ["brace-left", "brace-center", "brace-right"];
            aligns = ["xMinYMin", "xMidYMin", "xMaxYMin"];
          } else {
            throw new Error("Correct katexImagesData or update code here to support\n                    " + numSvgChildren + " children.");
          }
    
          for (var i = 0; i < numSvgChildren; i++) {
            var _path = new domTree_PathNode(paths[i]);
    
            var _svgNode = new SvgNode([_path], {
              "width": "400em",
              "height": _height2 + "em",
              "viewBox": "0 0 " + viewBoxWidth + " " + _viewBoxHeight,
              "preserveAspectRatio": aligns[i] + " slice"
            });
    
            var _span = buildCommon.makeSvgSpan([widthClasses[i]], [_svgNode], options);
    
            if (numSvgChildren === 1) {
              return {
                span: _span,
                minWidth: _minWidth,
                height: _height2
              };
            } else {
              _span.style.height = _height2 + "em";
              spans.push(_span);
            }
          }
    
          return {
            span: buildCommon.makeSpan(["stretchy"], spans, options),
            minWidth: _minWidth,
            height: _height2
          };
        }
      } // buildSvgSpan_()
    
    
      var _buildSvgSpan_ = buildSvgSpan_(),
          span = _buildSvgSpan_.span,
          minWidth = _buildSvgSpan_.minWidth,
          height = _buildSvgSpan_.height; // Note that we are returning span.depth = 0.
      // Any adjustments relative to the baseline must be done in buildHTML.
    
    
      span.height = height;
      span.style.height = height + "em";
    
      if (minWidth > 0) {
        span.style.minWidth = minWidth + "em";
      }
    
      return span;
    };
    
    var stretchy_encloseSpan = function encloseSpan(inner, label, pad, options) {
      // Return an image span for \cancel, \bcancel, \xcancel, or \fbox
      var img;
      var totalHeight = inner.height + inner.depth + 2 * pad;
    
      if (/fbox|color/.test(label)) {
        img = buildCommon.makeSpan(["stretchy", label], [], options);
    
        if (label === "fbox") {
          var color = options.color && options.getColor();
    
          if (color) {
            img.style.borderColor = color;
          }
        }
      } else {
        // \cancel, \bcancel, or \xcancel
        // Since \cancel's SVG is inline and it omits the viewBox attribute,
        // its stroke-width will not vary with span area.
        var lines = [];
    
        if (/^[bx]cancel$/.test(label)) {
          lines.push(new LineNode({
            "x1": "0",
            "y1": "0",
            "x2": "100%",
            "y2": "100%",
            "stroke-width": "0.046em"
          }));
        }
    
        if (/^x?cancel$/.test(label)) {
          lines.push(new LineNode({
            "x1": "0",
            "y1": "100%",
            "x2": "100%",
            "y2": "0",
            "stroke-width": "0.046em"
          }));
        }
    
        var svgNode = new SvgNode(lines, {
          "width": "100%",
          "height": totalHeight + "em"
        });
        img = buildCommon.makeSvgSpan([], [svgNode], options);
      }
    
      img.height = totalHeight;
      img.style.height = totalHeight + "em";
      return img;
    };
    
    /* harmony default export */ var stretchy = ({
      encloseSpan: stretchy_encloseSpan,
      mathMLnode: stretchy_mathMLnode,
      svgSpan: stretchy_svgSpan
    });
    // CONCATENATED MODULE: ./src/functions/accent.js
    
    
    
    
    
    
    
    
    
    // NOTE: Unlike most `htmlBuilder`s, this one handles not only "accent", but
    var accent_htmlBuilder = function htmlBuilder(grp, options) {
      // Accents are handled in the TeXbook pg. 443, rule 12.
      var base;
      var group;
      var supSub = checkNodeType(grp, "supsub");
      var supSubGroup;
    
      if (supSub) {
        // If our base is a character box, and we have superscripts and
        // subscripts, the supsub will defer to us. In particular, we want
        // to attach the superscripts and subscripts to the inner body (so
        // that the position of the superscripts and subscripts won't be
        // affected by the height of the accent). We accomplish this by
        // sticking the base of the accent into the base of the supsub, and
        // rendering that, while keeping track of where the accent is.
        // The real accent group is the base of the supsub group
        group = assertNodeType(supSub.base, "accent"); // The character box is the base of the accent group
    
        base = group.base; // Stick the character box into the base of the supsub group
    
        supSub.base = base; // Rerender the supsub group with its new base, and store that
        // result.
    
        supSubGroup = assertSpan(buildHTML_buildGroup(supSub, options)); // reset original base
    
        supSub.base = group;
      } else {
        group = assertNodeType(grp, "accent");
        base = group.base;
      } // Build the base group
    
    
      var body = buildHTML_buildGroup(base, options.havingCrampedStyle()); // Does the accent need to shift for the skew of a character?
    
      var mustShift = group.isShifty && utils.isCharacterBox(base); // Calculate the skew of the accent. This is based on the line "If the
      // nucleus is not a single character, let s = 0; otherwise set s to the
      // kern amount for the nucleus followed by the \skewchar of its font."
      // Note that our skew metrics are just the kern between each character
      // and the skewchar.
    
      var skew = 0;
    
      if (mustShift) {
        // If the base is a character box, then we want the skew of the
        // innermost character. To do that, we find the innermost character:
        var baseChar = utils.getBaseElem(base); // Then, we render its group to get the symbol inside it
    
        var baseGroup = buildHTML_buildGroup(baseChar, options.havingCrampedStyle()); // Finally, we pull the skew off of the symbol.
    
        skew = assertSymbolDomNode(baseGroup).skew; // Note that we now throw away baseGroup, because the layers we
        // removed with getBaseElem might contain things like \color which
        // we can't get rid of.
        // TODO(emily): Find a better way to get the skew
      } // calculate the amount of space between the body and the accent
    
    
      var clearance = Math.min(body.height, options.fontMetrics().xHeight); // Build the accent
    
      var accentBody;
    
      if (!group.isStretchy) {
        var accent;
        var width;
    
        if (group.label === "\\vec") {
          // Before version 0.9, \vec used the combining font glyph U+20D7.
          // But browsers, especially Safari, are not consistent in how they
          // render combining characters when not preceded by a character.
          // So now we use an SVG.
          // If Safari reforms, we should consider reverting to the glyph.
          accent = buildCommon.staticSvg("vec", options);
          width = buildCommon.svgData.vec[1];
        } else {
          accent = buildCommon.makeOrd({
            mode: group.mode,
            text: group.label
          }, options, "textord");
          accent = assertSymbolDomNode(accent); // Remove the italic correction of the accent, because it only serves to
          // shift the accent over to a place we don't want.
    
          accent.italic = 0;
          width = accent.width;
        }
    
        accentBody = buildCommon.makeSpan(["accent-body"], [accent]); // "Full" accents expand the width of the resulting symbol to be
        // at least the width of the accent, and overlap directly onto the
        // character without any vertical offset.
    
        var accentFull = group.label === "\\textcircled";
    
        if (accentFull) {
          accentBody.classes.push('accent-full');
          clearance = body.height;
        } // Shift the accent over by the skew.
    
    
        var left = skew; // CSS defines `.katex .accent .accent-body:not(.accent-full) { width: 0 }`
        // so that the accent doesn't contribute to the bounding box.
        // We need to shift the character by its width (effectively half
        // its width) to compensate.
    
        if (!accentFull) {
          left -= width / 2;
        }
    
        accentBody.style.left = left + "em"; // \textcircled uses the \bigcirc glyph, so it needs some
        // vertical adjustment to match LaTeX.
    
        if (group.label === "\\textcircled") {
          accentBody.style.top = ".2em";
        }
    
        accentBody = buildCommon.makeVList({
          positionType: "firstBaseline",
          children: [{
            type: "elem",
            elem: body
          }, {
            type: "kern",
            size: -clearance
          }, {
            type: "elem",
            elem: accentBody
          }]
        }, options);
      } else {
        accentBody = stretchy.svgSpan(group, options);
        accentBody = buildCommon.makeVList({
          positionType: "firstBaseline",
          children: [{
            type: "elem",
            elem: body
          }, {
            type: "elem",
            elem: accentBody,
            wrapperClasses: ["svg-align"],
            wrapperStyle: skew > 0 ? {
              width: "calc(100% - " + 2 * skew + "em)",
              marginLeft: 2 * skew + "em"
            } : undefined
          }]
        }, options);
      }
    
      var accentWrap = buildCommon.makeSpan(["mord", "accent"], [accentBody], options);
    
      if (supSubGroup) {
        // Here, we replace the "base" child of the supsub with our newly
        // generated accent.
        supSubGroup.children[0] = accentWrap; // Since we don't rerun the height calculation after replacing the
        // accent, we manually recalculate height.
    
        supSubGroup.height = Math.max(accentWrap.height, supSubGroup.height); // Accents should always be ords, even when their innards are not.
    
        supSubGroup.classes[0] = "mord";
        return supSubGroup;
      } else {
        return accentWrap;
      }
    };
    
    var accent_mathmlBuilder = function mathmlBuilder(group, options) {
      var accentNode = group.isStretchy ? stretchy.mathMLnode(group.label) : new mathMLTree.MathNode("mo", [buildMathML_makeText(group.label, group.mode)]);
      var node = new mathMLTree.MathNode("mover", [buildMathML_buildGroup(group.base, options), accentNode]);
      node.setAttribute("accent", "true");
      return node;
    };
    
    var NON_STRETCHY_ACCENT_REGEX = new RegExp(["\\acute", "\\grave", "\\ddot", "\\tilde", "\\bar", "\\breve", "\\check", "\\hat", "\\vec", "\\dot", "\\mathring"].map(function (accent) {
      return "\\" + accent;
    }).join("|")); // Accents
    
    defineFunction({
      type: "accent",
      names: ["\\acute", "\\grave", "\\ddot", "\\tilde", "\\bar", "\\breve", "\\check", "\\hat", "\\vec", "\\dot", "\\mathring", "\\widecheck", "\\widehat", "\\widetilde", "\\overrightarrow", "\\overleftarrow", "\\Overrightarrow", "\\overleftrightarrow", "\\overgroup", "\\overlinesegment", "\\overleftharpoon", "\\overrightharpoon"],
      props: {
        numArgs: 1
      },
      handler: function handler(context, args) {
        var base = args[0];
        var isStretchy = !NON_STRETCHY_ACCENT_REGEX.test(context.funcName);
        var isShifty = !isStretchy || context.funcName === "\\widehat" || context.funcName === "\\widetilde" || context.funcName === "\\widecheck";
        return {
          type: "accent",
          mode: context.parser.mode,
          label: context.funcName,
          isStretchy: isStretchy,
          isShifty: isShifty,
          base: base
        };
      },
      htmlBuilder: accent_htmlBuilder,
      mathmlBuilder: accent_mathmlBuilder
    }); // Text-mode accents
    
    defineFunction({
      type: "accent",
      names: ["\\'", "\\`", "\\^", "\\~", "\\=", "\\u", "\\.", '\\"', "\\r", "\\H", "\\v", "\\textcircled"],
      props: {
        numArgs: 1,
        allowedInText: true,
        allowedInMath: false
      },
      handler: function handler(context, args) {
        var base = args[0];
        return {
          type: "accent",
          mode: context.parser.mode,
          label: context.funcName,
          isStretchy: false,
          isShifty: true,
          base: base
        };
      },
      htmlBuilder: accent_htmlBuilder,
      mathmlBuilder: accent_mathmlBuilder
    });
    // CONCATENATED MODULE: ./src/functions/accentunder.js
    // Horizontal overlap functions
    
    
    
    
    
    
    defineFunction({
      type: "accentUnder",
      names: ["\\underleftarrow", "\\underrightarrow", "\\underleftrightarrow", "\\undergroup", "\\underlinesegment", "\\utilde"],
      props: {
        numArgs: 1
      },
      handler: function handler(_ref, args) {
        var parser = _ref.parser,
            funcName = _ref.funcName;
        var base = args[0];
        return {
          type: "accentUnder",
          mode: parser.mode,
          label: funcName,
          base: base
        };
      },
      htmlBuilder: function htmlBuilder(group, options) {
        // Treat under accents much like underlines.
        var innerGroup = buildHTML_buildGroup(group.base, options);
        var accentBody = stretchy.svgSpan(group, options);
        var kern = group.label === "\\utilde" ? 0.12 : 0; // Generate the vlist, with the appropriate kerns
    
        var vlist = buildCommon.makeVList({
          positionType: "bottom",
          positionData: accentBody.height + kern,
          children: [{
            type: "elem",
            elem: accentBody,
            wrapperClasses: ["svg-align"]
          }, {
            type: "kern",
            size: kern
          }, {
            type: "elem",
            elem: innerGroup
          }]
        }, options);
        return buildCommon.makeSpan(["mord", "accentunder"], [vlist], options);
      },
      mathmlBuilder: function mathmlBuilder(group, options) {
        var accentNode = stretchy.mathMLnode(group.label);
        var node = new mathMLTree.MathNode("munder", [buildMathML_buildGroup(group.base, options), accentNode]);
        node.setAttribute("accentunder", "true");
        return node;
      }
    });
    // CONCATENATED MODULE: ./src/functions/arrow.js
    
    
    
    
    
    
    
    // Helper function
    var arrow_paddedNode = function paddedNode(group) {
      var node = new mathMLTree.MathNode("mpadded", group ? [group] : []);
      node.setAttribute("width", "+0.6em");
      node.setAttribute("lspace", "0.3em");
      return node;
    }; // Stretchy arrows with an optional argument
    
    
    defineFunction({
      type: "xArrow",
      names: ["\\xleftarrow", "\\xrightarrow", "\\xLeftarrow", "\\xRightarrow", "\\xleftrightarrow", "\\xLeftrightarrow", "\\xhookleftarrow", "\\xhookrightarrow", "\\xmapsto", "\\xrightharpoondown", "\\xrightharpoonup", "\\xleftharpoondown", "\\xleftharpoonup", "\\xrightleftharpoons", "\\xleftrightharpoons", "\\xlongequal", "\\xtwoheadrightarrow", "\\xtwoheadleftarrow", "\\xtofrom", // The next 3 functions are here to support the mhchem extension.
      // Direct use of these functions is discouraged and may break someday.
      "\\xrightleftarrows", "\\xrightequilibrium", "\\xleftequilibrium"],
      props: {
        numArgs: 1,
        numOptionalArgs: 1
      },
      handler: function handler(_ref, args, optArgs) {
        var parser = _ref.parser,
            funcName = _ref.funcName;
        return {
          type: "xArrow",
          mode: parser.mode,
          label: funcName,
          body: args[0],
          below: optArgs[0]
        };
      },
      // Flow is unable to correctly infer the type of `group`, even though it's
      // unamibiguously determined from the passed-in `type` above.
      htmlBuilder: function htmlBuilder(group, options) {
        var style = options.style; // Build the argument groups in the appropriate style.
        // Ref: amsmath.dtx:   \hbox{$\scriptstyle\mkern#3mu{#6}\mkern#4mu$}%
        // Some groups can return document fragments.  Handle those by wrapping
        // them in a span.
    
        var newOptions = options.havingStyle(style.sup());
        var upperGroup = buildCommon.wrapFragment(buildHTML_buildGroup(group.body, newOptions, options), options);
        upperGroup.classes.push("x-arrow-pad");
        var lowerGroup;
    
        if (group.below) {
          // Build the lower group
          newOptions = options.havingStyle(style.sub());
          lowerGroup = buildCommon.wrapFragment(buildHTML_buildGroup(group.below, newOptions, options), options);
          lowerGroup.classes.push("x-arrow-pad");
        }
    
        var arrowBody = stretchy.svgSpan(group, options); // Re shift: Note that stretchy.svgSpan returned arrowBody.depth = 0.
        // The point we want on the math axis is at 0.5 * arrowBody.height.
    
        var arrowShift = -options.fontMetrics().axisHeight + 0.5 * arrowBody.height; // 2 mu kern. Ref: amsmath.dtx: #7\if0#2\else\mkern#2mu\fi
    
        var upperShift = -options.fontMetrics().axisHeight - 0.5 * arrowBody.height - 0.111; // 0.111 em = 2 mu
    
        if (upperGroup.depth > 0.25 || group.label === "\\xleftequilibrium") {
          upperShift -= upperGroup.depth; // shift up if depth encroaches
        } // Generate the vlist
    
    
        var vlist;
    
        if (lowerGroup) {
          var lowerShift = -options.fontMetrics().axisHeight + lowerGroup.height + 0.5 * arrowBody.height + 0.111;
          vlist = buildCommon.makeVList({
            positionType: "individualShift",
            children: [{
              type: "elem",
              elem: upperGroup,
              shift: upperShift
            }, {
              type: "elem",
              elem: arrowBody,
              shift: arrowShift
            }, {
              type: "elem",
              elem: lowerGroup,
              shift: lowerShift
            }]
          }, options);
        } else {
          vlist = buildCommon.makeVList({
            positionType: "individualShift",
            children: [{
              type: "elem",
              elem: upperGroup,
              shift: upperShift
            }, {
              type: "elem",
              elem: arrowBody,
              shift: arrowShift
            }]
          }, options);
        } // $FlowFixMe: Replace this with passing "svg-align" into makeVList.
    
    
        vlist.children[0].children[0].children[1].classes.push("svg-align");
        return buildCommon.makeSpan(["mrel", "x-arrow"], [vlist], options);
      },
      mathmlBuilder: function mathmlBuilder(group, options) {
        var arrowNode = stretchy.mathMLnode(group.label);
        var node;
    
        if (group.body) {
          var upperNode = arrow_paddedNode(buildMathML_buildGroup(group.body, options));
    
          if (group.below) {
            var lowerNode = arrow_paddedNode(buildMathML_buildGroup(group.below, options));
            node = new mathMLTree.MathNode("munderover", [arrowNode, lowerNode, upperNode]);
          } else {
            node = new mathMLTree.MathNode("mover", [arrowNode, upperNode]);
          }
        } else if (group.below) {
          var _lowerNode = arrow_paddedNode(buildMathML_buildGroup(group.below, options));
    
          node = new mathMLTree.MathNode("munder", [arrowNode, _lowerNode]);
        } else {
          // This should never happen.
          // Parser.js throws an error if there is no argument.
          node = arrow_paddedNode();
          node = new mathMLTree.MathNode("mover", [arrowNode, node]);
        }
    
        return node;
      }
    });
    // CONCATENATED MODULE: ./src/functions/char.js
    
    
     // \@char is an internal function that takes a grouped decimal argument like
    // {123} and converts into symbol with code 123.  It is used by the *macro*
    // \char defined in macros.js.
    
    defineFunction({
      type: "textord",
      names: ["\\@char"],
      props: {
        numArgs: 1,
        allowedInText: true
      },
      handler: function handler(_ref, args) {
        var parser = _ref.parser;
        var arg = assertNodeType(args[0], "ordgroup");
        var group = arg.body;
        var number = "";
    
        for (var i = 0; i < group.length; i++) {
          var node = assertNodeType(group[i], "textord");
          number += node.text;
        }
    
        var code = parseInt(number);
    
        if (isNaN(code)) {
          throw new src_ParseError("\\@char has non-numeric argument " + number);
        }
    
        return {
          type: "textord",
          mode: parser.mode,
          text: String.fromCharCode(code)
        };
      }
    });
    // CONCATENATED MODULE: ./src/functions/color.js
    
    
    
    
    
    
    
    var color_htmlBuilder = function htmlBuilder(group, options) {
      var elements = buildHTML_buildExpression(group.body, options.withColor(group.color), false); // \color isn't supposed to affect the type of the elements it contains.
      // To accomplish this, we wrap the results in a fragment, so the inner
      // elements will be able to directly interact with their neighbors. For
      // example, `\color{red}{2 +} 3` has the same spacing as `2 + 3`
    
      return buildCommon.makeFragment(elements);
    };
    
    var color_mathmlBuilder = function mathmlBuilder(group, options) {
      var inner = buildMathML_buildExpression(group.body, options.withColor(group.color));
      var node = new mathMLTree.MathNode("mstyle", inner);
      node.setAttribute("mathcolor", group.color);
      return node;
    };
    
    defineFunction({
      type: "color",
      names: ["\\textcolor"],
      props: {
        numArgs: 2,
        allowedInText: true,
        greediness: 3,
        argTypes: ["color", "original"]
      },
      handler: function handler(_ref, args) {
        var parser = _ref.parser;
        var color = assertNodeType(args[0], "color-token").color;
        var body = args[1];
        return {
          type: "color",
          mode: parser.mode,
          color: color,
          body: defineFunction_ordargument(body)
        };
      },
      htmlBuilder: color_htmlBuilder,
      mathmlBuilder: color_mathmlBuilder
    });
    defineFunction({
      type: "color",
      names: ["\\color"],
      props: {
        numArgs: 1,
        allowedInText: true,
        greediness: 3,
        argTypes: ["color"]
      },
      handler: function handler(_ref2, args) {
        var parser = _ref2.parser,
            breakOnTokenText = _ref2.breakOnTokenText;
        var color = assertNodeType(args[0], "color-token").color; // Set macro \current@color in current namespace to store the current
        // color, mimicking the behavior of color.sty.
        // This is currently used just to correctly color a \right
        // that follows a \color command.
    
        parser.gullet.macros.set("\\current@color", color); // Parse out the implicit body that should be colored.
    
        var body = parser.parseExpression(true, breakOnTokenText);
        return {
          type: "color",
          mode: parser.mode,
          color: color,
          body: body
        };
      },
      htmlBuilder: color_htmlBuilder,
      mathmlBuilder: color_mathmlBuilder
    });
    // CONCATENATED MODULE: ./src/functions/cr.js
    // Row breaks within tabular environments, and line breaks at top level
    
    
    
    
    
     // \\ is a macro mapping to either \cr or \newline.  Because they have the
    // same signature, we implement them as one megafunction, with newRow
    // indicating whether we're in the \cr case, and newLine indicating whether
    // to break the line in the \newline case.
    
    defineFunction({
      type: "cr",
      names: ["\\cr", "\\newline"],
      props: {
        numArgs: 0,
        numOptionalArgs: 1,
        argTypes: ["size"],
        allowedInText: true
      },
      handler: function handler(_ref, args, optArgs) {
        var parser = _ref.parser,
            funcName = _ref.funcName;
        var size = optArgs[0];
        var newRow = funcName === "\\cr";
        var newLine = false;
    
        if (!newRow) {
          if (parser.settings.displayMode && parser.settings.useStrictBehavior("newLineInDisplayMode", "In LaTeX, \\\\ or \\newline " + "does nothing in display mode")) {
            newLine = false;
          } else {
            newLine = true;
          }
        }
    
        return {
          type: "cr",
          mode: parser.mode,
          newLine: newLine,
          newRow: newRow,
          size: size && assertNodeType(size, "size").value
        };
      },
      // The following builders are called only at the top level,
      // not within tabular/array environments.
      htmlBuilder: function htmlBuilder(group, options) {
        if (group.newRow) {
          throw new src_ParseError("\\cr valid only within a tabular/array environment");
        }
    
        var span = buildCommon.makeSpan(["mspace"], [], options);
    
        if (group.newLine) {
          span.classes.push("newline");
    
          if (group.size) {
            span.style.marginTop = units_calculateSize(group.size, options) + "em";
          }
        }
    
        return span;
      },
      mathmlBuilder: function mathmlBuilder(group, options) {
        var node = new mathMLTree.MathNode("mspace");
    
        if (group.newLine) {
          node.setAttribute("linebreak", "newline");
    
          if (group.size) {
            node.setAttribute("height", units_calculateSize(group.size, options) + "em");
          }
        }
    
        return node;
      }
    });
    // CONCATENATED MODULE: ./src/delimiter.js
    /**
     * This file deals with creating delimiters of various sizes. The TeXbook
     * discusses these routines on page 441-442, in the "Another subroutine sets box
     * x to a specified variable delimiter" paragraph.
     *
     * There are three main routines here. `makeSmallDelim` makes a delimiter in the
     * normal font, but in either text, script, or scriptscript style.
     * `makeLargeDelim` makes a delimiter in textstyle, but in one of the Size1,
     * Size2, Size3, or Size4 fonts. `makeStackedDelim` makes a delimiter out of
     * smaller pieces that are stacked on top of one another.
     *
     * The functions take a parameter `center`, which determines if the delimiter
     * should be centered around the axis.
     *
     * Then, there are three exposed functions. `sizedDelim` makes a delimiter in
     * one of the given sizes. This is used for things like `\bigl`.
     * `customSizedDelim` makes a delimiter with a given total height+depth. It is
     * called in places like `\sqrt`. `leftRightDelim` makes an appropriate
     * delimiter which surrounds an expression of a given height an depth. It is
     * used in `\left` and `\right`.
     */
    
    
    
    
    
    
    
    
    
    /**
     * Get the metrics for a given symbol and font, after transformation (i.e.
     * after following replacement from symbols.js)
     */
    var delimiter_getMetrics = function getMetrics(symbol, font, mode) {
      var replace = src_symbols.math[symbol] && src_symbols.math[symbol].replace;
      var metrics = getCharacterMetrics(replace || symbol, font, mode);
    
      if (!metrics) {
        throw new Error("Unsupported symbol " + symbol + " and font size " + font + ".");
      }
    
      return metrics;
    };
    /**
     * Puts a delimiter span in a given style, and adds appropriate height, depth,
     * and maxFontSizes.
     */
    
    
    var delimiter_styleWrap = function styleWrap(delim, toStyle, options, classes) {
      var newOptions = options.havingBaseStyle(toStyle);
      var span = buildCommon.makeSpan(classes.concat(newOptions.sizingClasses(options)), [delim], options);
      var delimSizeMultiplier = newOptions.sizeMultiplier / options.sizeMultiplier;
      span.height *= delimSizeMultiplier;
      span.depth *= delimSizeMultiplier;
      span.maxFontSize = newOptions.sizeMultiplier;
      return span;
    };
    
    var centerSpan = function centerSpan(span, options, style) {
      var newOptions = options.havingBaseStyle(style);
      var shift = (1 - options.sizeMultiplier / newOptions.sizeMultiplier) * options.fontMetrics().axisHeight;
      span.classes.push("delimcenter");
      span.style.top = shift + "em";
      span.height -= shift;
      span.depth += shift;
    };
    /**
     * Makes a small delimiter. This is a delimiter that comes in the Main-Regular
     * font, but is restyled to either be in textstyle, scriptstyle, or
     * scriptscriptstyle.
     */
    
    
    var delimiter_makeSmallDelim = function makeSmallDelim(delim, style, center, options, mode, classes) {
      var text = buildCommon.makeSymbol(delim, "Main-Regular", mode, options);
      var span = delimiter_styleWrap(text, style, options, classes);
    
      if (center) {
        centerSpan(span, options, style);
      }
    
      return span;
    };
    /**
     * Builds a symbol in the given font size (note size is an integer)
     */
    
    
    var delimiter_mathrmSize = function mathrmSize(value, size, mode, options) {
      return buildCommon.makeSymbol(value, "Size" + size + "-Regular", mode, options);
    };
    /**
     * Makes a large delimiter. This is a delimiter that comes in the Size1, Size2,
     * Size3, or Size4 fonts. It is always rendered in textstyle.
     */
    
    
    var delimiter_makeLargeDelim = function makeLargeDelim(delim, size, center, options, mode, classes) {
      var inner = delimiter_mathrmSize(delim, size, mode, options);
      var span = delimiter_styleWrap(buildCommon.makeSpan(["delimsizing", "size" + size], [inner], options), src_Style.TEXT, options, classes);
    
      if (center) {
        centerSpan(span, options, src_Style.TEXT);
      }
    
      return span;
    };
    /**
     * Make an inner span with the given offset and in the given font. This is used
     * in `makeStackedDelim` to make the stacking pieces for the delimiter.
     */
    
    
    var delimiter_makeInner = function makeInner(symbol, font, mode) {
      var sizeClass; // Apply the correct CSS class to choose the right font.
    
      if (font === "Size1-Regular") {
        sizeClass = "delim-size1";
      } else
        /* if (font === "Size4-Regular") */
        {
          sizeClass = "delim-size4";
        }
    
      var inner = buildCommon.makeSpan(["delimsizinginner", sizeClass], [buildCommon.makeSpan([], [buildCommon.makeSymbol(symbol, font, mode)])]); // Since this will be passed into `makeVList` in the end, wrap the element
      // in the appropriate tag that VList uses.
    
      return {
        type: "elem",
        elem: inner
      };
    }; // Helper for makeStackedDelim
    
    
    var lap = {
      type: "kern",
      size: -0.005
    };
    /**
     * Make a stacked delimiter out of a given delimiter, with the total height at
     * least `heightTotal`. This routine is mentioned on page 442 of the TeXbook.
     */
    
    var delimiter_makeStackedDelim = function makeStackedDelim(delim, heightTotal, center, options, mode, classes) {
      // There are four parts, the top, an optional middle, a repeated part, and a
      // bottom.
      var top;
      var middle;
      var repeat;
      var bottom;
      top = repeat = bottom = delim;
      middle = null; // Also keep track of what font the delimiters are in
    
      var font = "Size1-Regular"; // We set the parts and font based on the symbol. Note that we use
      // '\u23d0' instead of '|' and '\u2016' instead of '\\|' for the
      // repeats of the arrows
    
      if (delim === "\\uparrow") {
        repeat = bottom = "\u23D0";
      } else if (delim === "\\Uparrow") {
        repeat = bottom = "\u2016";
      } else if (delim === "\\downarrow") {
        top = repeat = "\u23D0";
      } else if (delim === "\\Downarrow") {
        top = repeat = "\u2016";
      } else if (delim === "\\updownarrow") {
        top = "\\uparrow";
        repeat = "\u23D0";
        bottom = "\\downarrow";
      } else if (delim === "\\Updownarrow") {
        top = "\\Uparrow";
        repeat = "\u2016";
        bottom = "\\Downarrow";
      } else if (delim === "[" || delim === "\\lbrack") {
        top = "\u23A1";
        repeat = "\u23A2";
        bottom = "\u23A3";
        font = "Size4-Regular";
      } else if (delim === "]" || delim === "\\rbrack") {
        top = "\u23A4";
        repeat = "\u23A5";
        bottom = "\u23A6";
        font = "Size4-Regular";
      } else if (delim === "\\lfloor" || delim === "\u230A") {
        repeat = top = "\u23A2";
        bottom = "\u23A3";
        font = "Size4-Regular";
      } else if (delim === "\\lceil" || delim === "\u2308") {
        top = "\u23A1";
        repeat = bottom = "\u23A2";
        font = "Size4-Regular";
      } else if (delim === "\\rfloor" || delim === "\u230B") {
        repeat = top = "\u23A5";
        bottom = "\u23A6";
        font = "Size4-Regular";
      } else if (delim === "\\rceil" || delim === "\u2309") {
        top = "\u23A4";
        repeat = bottom = "\u23A5";
        font = "Size4-Regular";
      } else if (delim === "(" || delim === "\\lparen") {
        top = "\u239B";
        repeat = "\u239C";
        bottom = "\u239D";
        font = "Size4-Regular";
      } else if (delim === ")" || delim === "\\rparen") {
        top = "\u239E";
        repeat = "\u239F";
        bottom = "\u23A0";
        font = "Size4-Regular";
      } else if (delim === "\\{" || delim === "\\lbrace") {
        top = "\u23A7";
        middle = "\u23A8";
        bottom = "\u23A9";
        repeat = "\u23AA";
        font = "Size4-Regular";
      } else if (delim === "\\}" || delim === "\\rbrace") {
        top = "\u23AB";
        middle = "\u23AC";
        bottom = "\u23AD";
        repeat = "\u23AA";
        font = "Size4-Regular";
      } else if (delim === "\\lgroup" || delim === "\u27EE") {
        top = "\u23A7";
        bottom = "\u23A9";
        repeat = "\u23AA";
        font = "Size4-Regular";
      } else if (delim === "\\rgroup" || delim === "\u27EF") {
        top = "\u23AB";
        bottom = "\u23AD";
        repeat = "\u23AA";
        font = "Size4-Regular";
      } else if (delim === "\\lmoustache" || delim === "\u23B0") {
        top = "\u23A7";
        bottom = "\u23AD";
        repeat = "\u23AA";
        font = "Size4-Regular";
      } else if (delim === "\\rmoustache" || delim === "\u23B1") {
        top = "\u23AB";
        bottom = "\u23A9";
        repeat = "\u23AA";
        font = "Size4-Regular";
      } // Get the metrics of the four sections
    
    
      var topMetrics = delimiter_getMetrics(top, font, mode);
      var topHeightTotal = topMetrics.height + topMetrics.depth;
      var repeatMetrics = delimiter_getMetrics(repeat, font, mode);
      var repeatHeightTotal = repeatMetrics.height + repeatMetrics.depth;
      var bottomMetrics = delimiter_getMetrics(bottom, font, mode);
      var bottomHeightTotal = bottomMetrics.height + bottomMetrics.depth;
      var middleHeightTotal = 0;
      var middleFactor = 1;
    
      if (middle !== null) {
        var middleMetrics = delimiter_getMetrics(middle, font, mode);
        middleHeightTotal = middleMetrics.height + middleMetrics.depth;
        middleFactor = 2; // repeat symmetrically above and below middle
      } // Calcuate the minimal height that the delimiter can have.
      // It is at least the size of the top, bottom, and optional middle combined.
    
    
      var minHeight = topHeightTotal + bottomHeightTotal + middleHeightTotal; // Compute the number of copies of the repeat symbol we will need
    
      var repeatCount = Math.max(0, Math.ceil((heightTotal - minHeight) / (middleFactor * repeatHeightTotal))); // Compute the total height of the delimiter including all the symbols
    
      var realHeightTotal = minHeight + repeatCount * middleFactor * repeatHeightTotal; // The center of the delimiter is placed at the center of the axis. Note
      // that in this context, "center" means that the delimiter should be
      // centered around the axis in the current style, while normally it is
      // centered around the axis in textstyle.
    
      var axisHeight = options.fontMetrics().axisHeight;
    
      if (center) {
        axisHeight *= options.sizeMultiplier;
      } // Calculate the depth
    
    
      var depth = realHeightTotal / 2 - axisHeight; // This function differs from the TeX procedure in one way.
      // We shift each repeat element downwards by 0.005em, to prevent a gap
      // due to browser floating point rounding error.
      // Then, at the last element-to element joint, we add one extra repeat
      // element to cover the gap created by the shifts.
      // Find the shift needed to align the upper end of the extra element at a point
      // 0.005em above the lower end of the top element.
    
      var shiftOfExtraElement = (repeatCount + 1) * 0.005 - repeatHeightTotal; // Now, we start building the pieces that will go into the vlist
      // Keep a list of the inner pieces
    
      var inners = []; // Add the bottom symbol
    
      inners.push(delimiter_makeInner(bottom, font, mode));
    
      if (middle === null) {
        // Add that many symbols
        for (var i = 0; i < repeatCount; i++) {
          inners.push(lap); // overlap
    
          inners.push(delimiter_makeInner(repeat, font, mode));
        }
      } else {
        // When there is a middle bit, we need the middle part and two repeated
        // sections
        for (var _i = 0; _i < repeatCount; _i++) {
          inners.push(lap);
          inners.push(delimiter_makeInner(repeat, font, mode));
        } // Insert one extra repeat element.
    
    
        inners.push({
          type: "kern",
          size: shiftOfExtraElement
        });
        inners.push(delimiter_makeInner(repeat, font, mode));
        inners.push(lap); // Now insert the middle of the brace.
    
        inners.push(delimiter_makeInner(middle, font, mode));
    
        for (var _i2 = 0; _i2 < repeatCount; _i2++) {
          inners.push(lap);
          inners.push(delimiter_makeInner(repeat, font, mode));
        }
      } // To cover the gap create by the overlaps, insert one more repeat element,
      // at a position that juts 0.005 above the bottom of the top element.
    
    
      inners.push({
        type: "kern",
        size: shiftOfExtraElement
      });
      inners.push(delimiter_makeInner(repeat, font, mode));
      inners.push(lap); // Add the top symbol
    
      inners.push(delimiter_makeInner(top, font, mode)); // Finally, build the vlist
    
      var newOptions = options.havingBaseStyle(src_Style.TEXT);
      var inner = buildCommon.makeVList({
        positionType: "bottom",
        positionData: depth,
        children: inners
      }, newOptions);
      return delimiter_styleWrap(buildCommon.makeSpan(["delimsizing", "mult"], [inner], newOptions), src_Style.TEXT, options, classes);
    }; // All surds have 0.08em padding above the viniculum inside the SVG.
    // That keeps browser span height rounding error from pinching the line.
    
    
    var vbPad = 80; // padding above the surd, measured inside the viewBox.
    
    var emPad = 0.08; // padding, in ems, measured in the document.
    
    var delimiter_sqrtSvg = function sqrtSvg(sqrtName, height, viewBoxHeight, extraViniculum, options) {
      var path = sqrtPath(sqrtName, extraViniculum, viewBoxHeight);
      var pathNode = new domTree_PathNode(sqrtName, path);
      var svg = new SvgNode([pathNode], {
        // Note: 1000:1 ratio of viewBox to document em width.
        "width": "400em",
        "height": height + "em",
        "viewBox": "0 0 400000 " + viewBoxHeight,
        "preserveAspectRatio": "xMinYMin slice"
      });
      return buildCommon.makeSvgSpan(["hide-tail"], [svg], options);
    };
    /**
     * Make a sqrt image of the given height,
     */
    
    
    var makeSqrtImage = function makeSqrtImage(height, options) {
      // Define a newOptions that removes the effect of size changes such as \Huge.
      // We don't pick different a height surd for \Huge. For it, we scale up.
      var newOptions = options.havingBaseSizing(); // Pick the desired surd glyph from a sequence of surds.
    
      var delim = traverseSequence("\\surd", height * newOptions.sizeMultiplier, stackLargeDelimiterSequence, newOptions);
      var sizeMultiplier = newOptions.sizeMultiplier; // default
      // The standard sqrt SVGs each have a 0.04em thick viniculum.
      // If Settings.minRuleThickness is larger than that, we add extraViniculum.
    
      var extraViniculum = Math.max(0, options.minRuleThickness - options.fontMetrics().sqrtRuleThickness); // Create a span containing an SVG image of a sqrt symbol.
    
      var span;
      var spanHeight = 0;
      var texHeight = 0;
      var viewBoxHeight = 0;
      var advanceWidth; // We create viewBoxes with 80 units of "padding" above each surd.
      // Then browser rounding error on the parent span height will not
      // encroach on the ink of the viniculum. But that padding is not
      // included in the TeX-like `height` used for calculation of
      // vertical alignment. So texHeight = span.height < span.style.height.
    
      if (delim.type === "small") {
        // Get an SVG that is derived from glyph U+221A in font KaTeX-Main.
        // 1000 unit normal glyph height.
        viewBoxHeight = 1000 + 1000 * extraViniculum + vbPad;
    
        if (height < 1.0) {
          sizeMultiplier = 1.0; // mimic a \textfont radical
        } else if (height < 1.4) {
          sizeMultiplier = 0.7; // mimic a \scriptfont radical
        }
    
        spanHeight = (1.0 + extraViniculum + emPad) / sizeMultiplier;
        texHeight = (1.00 + extraViniculum) / sizeMultiplier;
        span = delimiter_sqrtSvg("sqrtMain", spanHeight, viewBoxHeight, extraViniculum, options);
        span.style.minWidth = "0.853em";
        advanceWidth = 0.833 / sizeMultiplier; // from the font.
      } else if (delim.type === "large") {
        // These SVGs come from fonts: KaTeX_Size1, _Size2, etc.
        viewBoxHeight = (1000 + vbPad) * sizeToMaxHeight[delim.size];
        texHeight = (sizeToMaxHeight[delim.size] + extraViniculum) / sizeMultiplier;
        spanHeight = (sizeToMaxHeight[delim.size] + extraViniculum + emPad) / sizeMultiplier;
        span = delimiter_sqrtSvg("sqrtSize" + delim.size, spanHeight, viewBoxHeight, extraViniculum, options);
        span.style.minWidth = "1.02em";
        advanceWidth = 1.0 / sizeMultiplier; // 1.0 from the font.
      } else {
        // Tall sqrt. In TeX, this would be stacked using multiple glyphs.
        // We'll use a single SVG to accomplish the same thing.
        spanHeight = height + extraViniculum + emPad;
        texHeight = height + extraViniculum;
        viewBoxHeight = Math.floor(1000 * height + extraViniculum) + vbPad;
        span = delimiter_sqrtSvg("sqrtTall", spanHeight, viewBoxHeight, extraViniculum, options);
        span.style.minWidth = "0.742em";
        advanceWidth = 1.056;
      }
    
      span.height = texHeight;
      span.style.height = spanHeight + "em";
      return {
        span: span,
        advanceWidth: advanceWidth,
        // Calculate the actual line width.
        // This actually should depend on the chosen font -- e.g. \boldmath
        // should use the thicker surd symbols from e.g. KaTeX_Main-Bold, and
        // have thicker rules.
        ruleWidth: (options.fontMetrics().sqrtRuleThickness + extraViniculum) * sizeMultiplier
      };
    }; // There are three kinds of delimiters, delimiters that stack when they become
    // too large
    
    
    var stackLargeDelimiters = ["(", "\\lparen", ")", "\\rparen", "[", "\\lbrack", "]", "\\rbrack", "\\{", "\\lbrace", "\\}", "\\rbrace", "\\lfloor", "\\rfloor", "\u230A", "\u230B", "\\lceil", "\\rceil", "\u2308", "\u2309", "\\surd"]; // delimiters that always stack
    
    var stackAlwaysDelimiters = ["\\uparrow", "\\downarrow", "\\updownarrow", "\\Uparrow", "\\Downarrow", "\\Updownarrow", "|", "\\|", "\\vert", "\\Vert", "\\lvert", "\\rvert", "\\lVert", "\\rVert", "\\lgroup", "\\rgroup", "\u27EE", "\u27EF", "\\lmoustache", "\\rmoustache", "\u23B0", "\u23B1"]; // and delimiters that never stack
    
    var stackNeverDelimiters = ["<", ">", "\\langle", "\\rangle", "/", "\\backslash", "\\lt", "\\gt"]; // Metrics of the different sizes. Found by looking at TeX's output of
    // $\bigl| // \Bigl| \biggl| \Biggl| \showlists$
    // Used to create stacked delimiters of appropriate sizes in makeSizedDelim.
    
    var sizeToMaxHeight = [0, 1.2, 1.8, 2.4, 3.0];
    /**
     * Used to create a delimiter of a specific size, where `size` is 1, 2, 3, or 4.
     */
    
    var delimiter_makeSizedDelim = function makeSizedDelim(delim, size, options, mode, classes) {
      // < and > turn into \langle and \rangle in delimiters
      if (delim === "<" || delim === "\\lt" || delim === "\u27E8") {
        delim = "\\langle";
      } else if (delim === ">" || delim === "\\gt" || delim === "\u27E9") {
        delim = "\\rangle";
      } // Sized delimiters are never centered.
    
    
      if (utils.contains(stackLargeDelimiters, delim) || utils.contains(stackNeverDelimiters, delim)) {
        return delimiter_makeLargeDelim(delim, size, false, options, mode, classes);
      } else if (utils.contains(stackAlwaysDelimiters, delim)) {
        return delimiter_makeStackedDelim(delim, sizeToMaxHeight[size], false, options, mode, classes);
      } else {
        throw new src_ParseError("Illegal delimiter: '" + delim + "'");
      }
    };
    /**
     * There are three different sequences of delimiter sizes that the delimiters
     * follow depending on the kind of delimiter. This is used when creating custom
     * sized delimiters to decide whether to create a small, large, or stacked
     * delimiter.
     *
     * In real TeX, these sequences aren't explicitly defined, but are instead
     * defined inside the font metrics. Since there are only three sequences that
     * are possible for the delimiters that TeX defines, it is easier to just encode
     * them explicitly here.
     */
    
    
    // Delimiters that never stack try small delimiters and large delimiters only
    var stackNeverDelimiterSequence = [{
      type: "small",
      style: src_Style.SCRIPTSCRIPT
    }, {
      type: "small",
      style: src_Style.SCRIPT
    }, {
      type: "small",
      style: src_Style.TEXT
    }, {
      type: "large",
      size: 1
    }, {
      type: "large",
      size: 2
    }, {
      type: "large",
      size: 3
    }, {
      type: "large",
      size: 4
    }]; // Delimiters that always stack try the small delimiters first, then stack
    
    var stackAlwaysDelimiterSequence = [{
      type: "small",
      style: src_Style.SCRIPTSCRIPT
    }, {
      type: "small",
      style: src_Style.SCRIPT
    }, {
      type: "small",
      style: src_Style.TEXT
    }, {
      type: "stack"
    }]; // Delimiters that stack when large try the small and then large delimiters, and
    // stack afterwards
    
    var stackLargeDelimiterSequence = [{
      type: "small",
      style: src_Style.SCRIPTSCRIPT
    }, {
      type: "small",
      style: src_Style.SCRIPT
    }, {
      type: "small",
      style: src_Style.TEXT
    }, {
      type: "large",
      size: 1
    }, {
      type: "large",
      size: 2
    }, {
      type: "large",
      size: 3
    }, {
      type: "large",
      size: 4
    }, {
      type: "stack"
    }];
    /**
     * Get the font used in a delimiter based on what kind of delimiter it is.
     * TODO(#963) Use more specific font family return type once that is introduced.
     */
    
    var delimTypeToFont = function delimTypeToFont(type) {
      if (type.type === "small") {
        return "Main-Regular";
      } else if (type.type === "large") {
        return "Size" + type.size + "-Regular";
      } else if (type.type === "stack") {
        return "Size4-Regular";
      } else {
        throw new Error("Add support for delim type '" + type.type + "' here.");
      }
    };
    /**
     * Traverse a sequence of types of delimiters to decide what kind of delimiter
     * should be used to create a delimiter of the given height+depth.
     */
    
    
    var traverseSequence = function traverseSequence(delim, height, sequence, options) {
      // Here, we choose the index we should start at in the sequences. In smaller
      // sizes (which correspond to larger numbers in style.size) we start earlier
      // in the sequence. Thus, scriptscript starts at index 3-3=0, script starts
      // at index 3-2=1, text starts at 3-1=2, and display starts at min(2,3-0)=2
      var start = Math.min(2, 3 - options.style.size);
    
      for (var i = start; i < sequence.length; i++) {
        if (sequence[i].type === "stack") {
          // This is always the last delimiter, so we just break the loop now.
          break;
        }
    
        var metrics = delimiter_getMetrics(delim, delimTypeToFont(sequence[i]), "math");
        var heightDepth = metrics.height + metrics.depth; // Small delimiters are scaled down versions of the same font, so we
        // account for the style change size.
    
        if (sequence[i].type === "small") {
          var newOptions = options.havingBaseStyle(sequence[i].style);
          heightDepth *= newOptions.sizeMultiplier;
        } // Check if the delimiter at this size works for the given height.
    
    
        if (heightDepth > height) {
          return sequence[i];
        }
      } // If we reached the end of the sequence, return the last sequence element.
    
    
      return sequence[sequence.length - 1];
    };
    /**
     * Make a delimiter of a given height+depth, with optional centering. Here, we
     * traverse the sequences, and create a delimiter that the sequence tells us to.
     */
    
    
    var delimiter_makeCustomSizedDelim = function makeCustomSizedDelim(delim, height, center, options, mode, classes) {
      if (delim === "<" || delim === "\\lt" || delim === "\u27E8") {
        delim = "\\langle";
      } else if (delim === ">" || delim === "\\gt" || delim === "\u27E9") {
        delim = "\\rangle";
      } // Decide what sequence to use
    
    
      var sequence;
    
      if (utils.contains(stackNeverDelimiters, delim)) {
        sequence = stackNeverDelimiterSequence;
      } else if (utils.contains(stackLargeDelimiters, delim)) {
        sequence = stackLargeDelimiterSequence;
      } else {
        sequence = stackAlwaysDelimiterSequence;
      } // Look through the sequence
    
    
      var delimType = traverseSequence(delim, height, sequence, options); // Get the delimiter from font glyphs.
      // Depending on the sequence element we decided on, call the
      // appropriate function.
    
      if (delimType.type === "small") {
        return delimiter_makeSmallDelim(delim, delimType.style, center, options, mode, classes);
      } else if (delimType.type === "large") {
        return delimiter_makeLargeDelim(delim, delimType.size, center, options, mode, classes);
      } else
        /* if (delimType.type === "stack") */
        {
          return delimiter_makeStackedDelim(delim, height, center, options, mode, classes);
        }
    };
    /**
     * Make a delimiter for use with `\left` and `\right`, given a height and depth
     * of an expression that the delimiters surround.
     */
    
    
    var makeLeftRightDelim = function makeLeftRightDelim(delim, height, depth, options, mode, classes) {
      // We always center \left/\right delimiters, so the axis is always shifted
      var axisHeight = options.fontMetrics().axisHeight * options.sizeMultiplier; // Taken from TeX source, tex.web, function make_left_right
    
      var delimiterFactor = 901;
      var delimiterExtend = 5.0 / options.fontMetrics().ptPerEm;
      var maxDistFromAxis = Math.max(height - axisHeight, depth + axisHeight);
      var totalHeight = Math.max( // In real TeX, calculations are done using integral values which are
      // 65536 per pt, or 655360 per em. So, the division here truncates in
      // TeX but doesn't here, producing different results. If we wanted to
      // exactly match TeX's calculation, we could do
      //   Math.floor(655360 * maxDistFromAxis / 500) *
      //    delimiterFactor / 655360
      // (To see the difference, compare
      //    x^{x^{\left(\rule{0.1em}{0.68em}\right)}}
      // in TeX and KaTeX)
      maxDistFromAxis / 500 * delimiterFactor, 2 * maxDistFromAxis - delimiterExtend); // Finally, we defer to `makeCustomSizedDelim` with our calculated total
      // height
    
      return delimiter_makeCustomSizedDelim(delim, totalHeight, true, options, mode, classes);
    };
    
    /* harmony default export */ var delimiter = ({
      sqrtImage: makeSqrtImage,
      sizedDelim: delimiter_makeSizedDelim,
      customSizedDelim: delimiter_makeCustomSizedDelim,
      leftRightDelim: makeLeftRightDelim
    });
    // CONCATENATED MODULE: ./src/functions/delimsizing.js
    
    
    
    
    
    
    
    
    
    // Extra data needed for the delimiter handler down below
    var delimiterSizes = {
      "\\bigl": {
        mclass: "mopen",
        size: 1
      },
      "\\Bigl": {
        mclass: "mopen",
        size: 2
      },
      "\\biggl": {
        mclass: "mopen",
        size: 3
      },
      "\\Biggl": {
        mclass: "mopen",
        size: 4
      },
      "\\bigr": {
        mclass: "mclose",
        size: 1
      },
      "\\Bigr": {
        mclass: "mclose",
        size: 2
      },
      "\\biggr": {
        mclass: "mclose",
        size: 3
      },
      "\\Biggr": {
        mclass: "mclose",
        size: 4
      },
      "\\bigm": {
        mclass: "mrel",
        size: 1
      },
      "\\Bigm": {
        mclass: "mrel",
        size: 2
      },
      "\\biggm": {
        mclass: "mrel",
        size: 3
      },
      "\\Biggm": {
        mclass: "mrel",
        size: 4
      },
      "\\big": {
        mclass: "mord",
        size: 1
      },
      "\\Big": {
        mclass: "mord",
        size: 2
      },
      "\\bigg": {
        mclass: "mord",
        size: 3
      },
      "\\Bigg": {
        mclass: "mord",
        size: 4
      }
    };
    var delimiters = ["(", "\\lparen", ")", "\\rparen", "[", "\\lbrack", "]", "\\rbrack", "\\{", "\\lbrace", "\\}", "\\rbrace", "\\lfloor", "\\rfloor", "\u230A", "\u230B", "\\lceil", "\\rceil", "\u2308", "\u2309", "<", ">", "\\langle", "\u27E8", "\\rangle", "\u27E9", "\\lt", "\\gt", "\\lvert", "\\rvert", "\\lVert", "\\rVert", "\\lgroup", "\\rgroup", "\u27EE", "\u27EF", "\\lmoustache", "\\rmoustache", "\u23B0", "\u23B1", "/", "\\backslash", "|", "\\vert", "\\|", "\\Vert", "\\uparrow", "\\Uparrow", "\\downarrow", "\\Downarrow", "\\updownarrow", "\\Updownarrow", "."];
    
    // Delimiter functions
    function checkDelimiter(delim, context) {
      var symDelim = checkSymbolNodeType(delim);
    
      if (symDelim && utils.contains(delimiters, symDelim.text)) {
        return symDelim;
      } else {
        throw new src_ParseError("Invalid delimiter: '" + (symDelim ? symDelim.text : JSON.stringify(delim)) + "' after '" + context.funcName + "'", delim);
      }
    }
    
    defineFunction({
      type: "delimsizing",
      names: ["\\bigl", "\\Bigl", "\\biggl", "\\Biggl", "\\bigr", "\\Bigr", "\\biggr", "\\Biggr", "\\bigm", "\\Bigm", "\\biggm", "\\Biggm", "\\big", "\\Big", "\\bigg", "\\Bigg"],
      props: {
        numArgs: 1
      },
      handler: function handler(context, args) {
        var delim = checkDelimiter(args[0], context);
        return {
          type: "delimsizing",
          mode: context.parser.mode,
          size: delimiterSizes[context.funcName].size,
          mclass: delimiterSizes[context.funcName].mclass,
          delim: delim.text
        };
      },
      htmlBuilder: function htmlBuilder(group, options) {
        if (group.delim === ".") {
          // Empty delimiters still count as elements, even though they don't
          // show anything.
          return buildCommon.makeSpan([group.mclass]);
        } // Use delimiter.sizedDelim to generate the delimiter.
    
    
        return delimiter.sizedDelim(group.delim, group.size, options, group.mode, [group.mclass]);
      },
      mathmlBuilder: function mathmlBuilder(group) {
        var children = [];
    
        if (group.delim !== ".") {
          children.push(buildMathML_makeText(group.delim, group.mode));
        }
    
        var node = new mathMLTree.MathNode("mo", children);
    
        if (group.mclass === "mopen" || group.mclass === "mclose") {
          // Only some of the delimsizing functions act as fences, and they
          // return "mopen" or "mclose" mclass.
          node.setAttribute("fence", "true");
        } else {
          // Explicitly disable fencing if it's not a fence, to override the
          // defaults.
          node.setAttribute("fence", "false");
        }
    
        return node;
      }
    });
    
    function assertParsed(group) {
      if (!group.body) {
        throw new Error("Bug: The leftright ParseNode wasn't fully parsed.");
      }
    }
    
    defineFunction({
      type: "leftright-right",
      names: ["\\right"],
      props: {
        numArgs: 1
      },
      handler: function handler(context, args) {
        // \left case below triggers parsing of \right in
        //   `const right = parser.parseFunction();`
        // uses this return value.
        var color = context.parser.gullet.macros.get("\\current@color");
    
        if (color && typeof color !== "string") {
          throw new src_ParseError("\\current@color set to non-string in \\right");
        }
    
        return {
          type: "leftright-right",
          mode: context.parser.mode,
          delim: checkDelimiter(args[0], context).text,
          color: color // undefined if not set via \color
    
        };
      }
    });
    defineFunction({
      type: "leftright",
      names: ["\\left"],
      props: {
        numArgs: 1
      },
      handler: function handler(context, args) {
        var delim = checkDelimiter(args[0], context);
        var parser = context.parser; // Parse out the implicit body
    
        ++parser.leftrightDepth; // parseExpression stops before '\\right'
    
        var body = parser.parseExpression(false);
        --parser.leftrightDepth; // Check the next token
    
        parser.expect("\\right", false);
        var right = assertNodeType(parser.parseFunction(), "leftright-right");
        return {
          type: "leftright",
          mode: parser.mode,
          body: body,
          left: delim.text,
          right: right.delim,
          rightColor: right.color
        };
      },
      htmlBuilder: function htmlBuilder(group, options) {
        assertParsed(group); // Build the inner expression
    
        var inner = buildHTML_buildExpression(group.body, options, true, ["mopen", "mclose"]);
        var innerHeight = 0;
        var innerDepth = 0;
        var hadMiddle = false; // Calculate its height and depth
    
        for (var i = 0; i < inner.length; i++) {
          // Property `isMiddle` not defined on `span`. See comment in
          // "middle"'s htmlBuilder.
          // $FlowFixMe
          if (inner[i].isMiddle) {
            hadMiddle = true;
          } else {
            innerHeight = Math.max(inner[i].height, innerHeight);
            innerDepth = Math.max(inner[i].depth, innerDepth);
          }
        } // The size of delimiters is the same, regardless of what style we are
        // in. Thus, to correctly calculate the size of delimiter we need around
        // a group, we scale down the inner size based on the size.
    
    
        innerHeight *= options.sizeMultiplier;
        innerDepth *= options.sizeMultiplier;
        var leftDelim;
    
        if (group.left === ".") {
          // Empty delimiters in \left and \right make null delimiter spaces.
          leftDelim = makeNullDelimiter(options, ["mopen"]);
        } else {
          // Otherwise, use leftRightDelim to generate the correct sized
          // delimiter.
          leftDelim = delimiter.leftRightDelim(group.left, innerHeight, innerDepth, options, group.mode, ["mopen"]);
        } // Add it to the beginning of the expression
    
    
        inner.unshift(leftDelim); // Handle middle delimiters
    
        if (hadMiddle) {
          for (var _i = 1; _i < inner.length; _i++) {
            var middleDelim = inner[_i]; // Property `isMiddle` not defined on `span`. See comment in
            // "middle"'s htmlBuilder.
            // $FlowFixMe
    
            var isMiddle = middleDelim.isMiddle;
    
            if (isMiddle) {
              // Apply the options that were active when \middle was called
              inner[_i] = delimiter.leftRightDelim(isMiddle.delim, innerHeight, innerDepth, isMiddle.options, group.mode, []);
            }
          }
        }
    
        var rightDelim; // Same for the right delimiter, but using color specified by \color
    
        if (group.right === ".") {
          rightDelim = makeNullDelimiter(options, ["mclose"]);
        } else {
          var colorOptions = group.rightColor ? options.withColor(group.rightColor) : options;
          rightDelim = delimiter.leftRightDelim(group.right, innerHeight, innerDepth, colorOptions, group.mode, ["mclose"]);
        } // Add it to the end of the expression.
    
    
        inner.push(rightDelim);
        return buildCommon.makeSpan(["minner"], inner, options);
      },
      mathmlBuilder: function mathmlBuilder(group, options) {
        assertParsed(group);
        var inner = buildMathML_buildExpression(group.body, options);
    
        if (group.left !== ".") {
          var leftNode = new mathMLTree.MathNode("mo", [buildMathML_makeText(group.left, group.mode)]);
          leftNode.setAttribute("fence", "true");
          inner.unshift(leftNode);
        }
    
        if (group.right !== ".") {
          var rightNode = new mathMLTree.MathNode("mo", [buildMathML_makeText(group.right, group.mode)]);
          rightNode.setAttribute("fence", "true");
    
          if (group.rightColor) {
            rightNode.setAttribute("mathcolor", group.rightColor);
          }
    
          inner.push(rightNode);
        }
    
        return buildMathML_makeRow(inner);
      }
    });
    defineFunction({
      type: "middle",
      names: ["\\middle"],
      props: {
        numArgs: 1
      },
      handler: function handler(context, args) {
        var delim = checkDelimiter(args[0], context);
    
        if (!context.parser.leftrightDepth) {
          throw new src_ParseError("\\middle without preceding \\left", delim);
        }
    
        return {
          type: "middle",
          mode: context.parser.mode,
          delim: delim.text
        };
      },
      htmlBuilder: function htmlBuilder(group, options) {
        var middleDelim;
    
        if (group.delim === ".") {
          middleDelim = makeNullDelimiter(options, []);
        } else {
          middleDelim = delimiter.sizedDelim(group.delim, 1, options, group.mode, []);
          var isMiddle = {
            delim: group.delim,
            options: options
          }; // Property `isMiddle` not defined on `span`. It is only used in
          // this file above.
          // TODO: Fix this violation of the `span` type and possibly rename
          // things since `isMiddle` sounds like a boolean, but is a struct.
          // $FlowFixMe
    
          middleDelim.isMiddle = isMiddle;
        }
    
        return middleDelim;
      },
      mathmlBuilder: function mathmlBuilder(group, options) {
        // A Firefox \middle will strech a character vertically only if it
        // is in the fence part of the operator dictionary at:
        // https://www.w3.org/TR/MathML3/appendixc.html.
        // So we need to avoid U+2223 and use plain "|" instead.
        var textNode = group.delim === "\\vert" || group.delim === "|" ? buildMathML_makeText("|", "text") : buildMathML_makeText(group.delim, group.mode);
        var middleNode = new mathMLTree.MathNode("mo", [textNode]);
        middleNode.setAttribute("fence", "true"); // MathML gives 5/18em spacing to each <mo> element.
        // \middle should get delimiter spacing instead.
    
        middleNode.setAttribute("lspace", "0.05em");
        middleNode.setAttribute("rspace", "0.05em");
        return middleNode;
      }
    });
    // CONCATENATED MODULE: ./src/functions/enclose.js
    
    
    
    
    
    
    
    
    
    var enclose_htmlBuilder = function htmlBuilder(group, options) {
      // \cancel, \bcancel, \xcancel, \sout, \fbox, \colorbox, \fcolorbox
      // Some groups can return document fragments.  Handle those by wrapping
      // them in a span.
      var inner = buildCommon.wrapFragment(buildHTML_buildGroup(group.body, options), options);
      var label = group.label.substr(1);
      var scale = options.sizeMultiplier;
      var img;
      var imgShift = 0; // In the LaTeX cancel package, line geometry is slightly different
      // depending on whether the subject is wider than it is tall, or vice versa.
      // We don't know the width of a group, so as a proxy, we test if
      // the subject is a single character. This captures most of the
      // subjects that should get the "tall" treatment.
    
      var isSingleChar = utils.isCharacterBox(group.body);
    
      if (label === "sout") {
        img = buildCommon.makeSpan(["stretchy", "sout"]);
        img.height = options.fontMetrics().defaultRuleThickness / scale;
        imgShift = -0.5 * options.fontMetrics().xHeight;
      } else {
        // Add horizontal padding
        if (/cancel/.test(label)) {
          if (!isSingleChar) {
            inner.classes.push("cancel-pad");
          }
        } else {
          inner.classes.push("boxpad");
        } // Add vertical padding
    
    
        var vertPad = 0;
        var ruleThickness = 0; // ref: cancel package: \advance\totalheight2\p@ % "+2"
    
        if (/box/.test(label)) {
          ruleThickness = Math.max(options.fontMetrics().fboxrule, // default
          options.minRuleThickness // User override.
          );
          vertPad = options.fontMetrics().fboxsep + (label === "colorbox" ? 0 : ruleThickness);
        } else {
          vertPad = isSingleChar ? 0.2 : 0;
        }
    
        img = stretchy.encloseSpan(inner, label, vertPad, options);
    
        if (/fbox|boxed|fcolorbox/.test(label)) {
          img.style.borderStyle = "solid";
          img.style.borderWidth = ruleThickness + "em";
        }
    
        imgShift = inner.depth + vertPad;
    
        if (group.backgroundColor) {
          img.style.backgroundColor = group.backgroundColor;
    
          if (group.borderColor) {
            img.style.borderColor = group.borderColor;
          }
        }
      }
    
      var vlist;
    
      if (group.backgroundColor) {
        vlist = buildCommon.makeVList({
          positionType: "individualShift",
          children: [// Put the color background behind inner;
          {
            type: "elem",
            elem: img,
            shift: imgShift
          }, {
            type: "elem",
            elem: inner,
            shift: 0
          }]
        }, options);
      } else {
        vlist = buildCommon.makeVList({
          positionType: "individualShift",
          children: [// Write the \cancel stroke on top of inner.
          {
            type: "elem",
            elem: inner,
            shift: 0
          }, {
            type: "elem",
            elem: img,
            shift: imgShift,
            wrapperClasses: /cancel/.test(label) ? ["svg-align"] : []
          }]
        }, options);
      }
    
      if (/cancel/.test(label)) {
        // The cancel package documentation says that cancel lines add their height
        // to the expression, but tests show that isn't how it actually works.
        vlist.height = inner.height;
        vlist.depth = inner.depth;
      }
    
      if (/cancel/.test(label) && !isSingleChar) {
        // cancel does not create horiz space for its line extension.
        return buildCommon.makeSpan(["mord", "cancel-lap"], [vlist], options);
      } else {
        return buildCommon.makeSpan(["mord"], [vlist], options);
      }
    };
    
    var enclose_mathmlBuilder = function mathmlBuilder(group, options) {
      var fboxsep = 0;
      var node = new mathMLTree.MathNode(group.label.indexOf("colorbox") > -1 ? "mpadded" : "menclose", [buildMathML_buildGroup(group.body, options)]);
    
      switch (group.label) {
        case "\\cancel":
          node.setAttribute("notation", "updiagonalstrike");
          break;
    
        case "\\bcancel":
          node.setAttribute("notation", "downdiagonalstrike");
          break;
    
        case "\\sout":
          node.setAttribute("notation", "horizontalstrike");
          break;
    
        case "\\fbox":
          node.setAttribute("notation", "box");
          break;
    
        case "\\fcolorbox":
        case "\\colorbox":
          // <menclose> doesn't have a good notation option. So use <mpadded>
          // instead. Set some attributes that come included with <menclose>.
          fboxsep = options.fontMetrics().fboxsep * options.fontMetrics().ptPerEm;
          node.setAttribute("width", "+" + 2 * fboxsep + "pt");
          node.setAttribute("height", "+" + 2 * fboxsep + "pt");
          node.setAttribute("lspace", fboxsep + "pt"); //
    
          node.setAttribute("voffset", fboxsep + "pt");
    
          if (group.label === "\\fcolorbox") {
            var thk = Math.max(options.fontMetrics().fboxrule, // default
            options.minRuleThickness // user override
            );
            node.setAttribute("style", "border: " + thk + "em solid " + String(group.borderColor));
          }
    
          break;
    
        case "\\xcancel":
          node.setAttribute("notation", "updiagonalstrike downdiagonalstrike");
          break;
      }
    
      if (group.backgroundColor) {
        node.setAttribute("mathbackground", group.backgroundColor);
      }
    
      return node;
    };
    
    defineFunction({
      type: "enclose",
      names: ["\\colorbox"],
      props: {
        numArgs: 2,
        allowedInText: true,
        greediness: 3,
        argTypes: ["color", "text"]
      },
      handler: function handler(_ref, args, optArgs) {
        var parser = _ref.parser,
            funcName = _ref.funcName;
        var color = assertNodeType(args[0], "color-token").color;
        var body = args[1];
        return {
          type: "enclose",
          mode: parser.mode,
          label: funcName,
          backgroundColor: color,
          body: body
        };
      },
      htmlBuilder: enclose_htmlBuilder,
      mathmlBuilder: enclose_mathmlBuilder
    });
    defineFunction({
      type: "enclose",
      names: ["\\fcolorbox"],
      props: {
        numArgs: 3,
        allowedInText: true,
        greediness: 3,
        argTypes: ["color", "color", "text"]
      },
      handler: function handler(_ref2, args, optArgs) {
        var parser = _ref2.parser,
            funcName = _ref2.funcName;
        var borderColor = assertNodeType(args[0], "color-token").color;
        var backgroundColor = assertNodeType(args[1], "color-token").color;
        var body = args[2];
        return {
          type: "enclose",
          mode: parser.mode,
          label: funcName,
          backgroundColor: backgroundColor,
          borderColor: borderColor,
          body: body
        };
      },
      htmlBuilder: enclose_htmlBuilder,
      mathmlBuilder: enclose_mathmlBuilder
    });
    defineFunction({
      type: "enclose",
      names: ["\\fbox"],
      props: {
        numArgs: 1,
        argTypes: ["hbox"],
        allowedInText: true
      },
      handler: function handler(_ref3, args) {
        var parser = _ref3.parser;
        return {
          type: "enclose",
          mode: parser.mode,
          label: "\\fbox",
          body: args[0]
        };
      }
    });
    defineFunction({
      type: "enclose",
      names: ["\\cancel", "\\bcancel", "\\xcancel", "\\sout"],
      props: {
        numArgs: 1
      },
      handler: function handler(_ref4, args, optArgs) {
        var parser = _ref4.parser,
            funcName = _ref4.funcName;
        var body = args[0];
        return {
          type: "enclose",
          mode: parser.mode,
          label: funcName,
          body: body
        };
      },
      htmlBuilder: enclose_htmlBuilder,
      mathmlBuilder: enclose_mathmlBuilder
    });
    // CONCATENATED MODULE: ./src/defineEnvironment.js
    
    
    /**
     * All registered environments.
     * `environments.js` exports this same dictionary again and makes it public.
     * `Parser.js` requires this dictionary via `environments.js`.
     */
    var _environments = {};
    function defineEnvironment(_ref) {
      var type = _ref.type,
          names = _ref.names,
          props = _ref.props,
          handler = _ref.handler,
          htmlBuilder = _ref.htmlBuilder,
          mathmlBuilder = _ref.mathmlBuilder;
      // Set default values of environments.
      var data = {
        type: type,
        numArgs: props.numArgs || 0,
        greediness: 1,
        allowedInText: false,
        numOptionalArgs: 0,
        handler: handler
      };
    
      for (var i = 0; i < names.length; ++i) {
        // TODO: The value type of _environments should be a type union of all
        // possible `EnvSpec<>` possibilities instead of `EnvSpec<*>`, which is
        // an existential type.
        // $FlowFixMe
        _environments[names[i]] = data;
      }
    
      if (htmlBuilder) {
        _htmlGroupBuilders[type] = htmlBuilder;
      }
    
      if (mathmlBuilder) {
        _mathmlGroupBuilders[type] = mathmlBuilder;
      }
    }
    // CONCATENATED MODULE: ./src/environments/array.js
    
    
    
    
    
    
    
    
    
    
    
    
    
    function getHLines(parser) {
      // Return an array. The array length = number of hlines.
      // Each element in the array tells if the line is dashed.
      var hlineInfo = [];
      parser.consumeSpaces();
      var nxt = parser.fetch().text;
    
      while (nxt === "\\hline" || nxt === "\\hdashline") {
        parser.consume();
        hlineInfo.push(nxt === "\\hdashline");
        parser.consumeSpaces();
        nxt = parser.fetch().text;
      }
    
      return hlineInfo;
    }
    /**
     * Parse the body of the environment, with rows delimited by \\ and
     * columns delimited by &, and create a nested list in row-major order
     * with one group per cell.  If given an optional argument style
     * ("text", "display", etc.), then each cell is cast into that style.
     */
    
    
    function parseArray(parser, _ref, style) {
      var hskipBeforeAndAfter = _ref.hskipBeforeAndAfter,
          addJot = _ref.addJot,
          cols = _ref.cols,
          arraystretch = _ref.arraystretch,
          colSeparationType = _ref.colSeparationType;
      // Parse body of array with \\ temporarily mapped to \cr
      parser.gullet.beginGroup();
      parser.gullet.macros.set("\\\\", "\\cr"); // Get current arraystretch if it's not set by the environment
    
      if (!arraystretch) {
        var stretch = parser.gullet.expandMacroAsText("\\arraystretch");
    
        if (stretch == null) {
          // Default \arraystretch from lttab.dtx
          arraystretch = 1;
        } else {
          arraystretch = parseFloat(stretch);
    
          if (!arraystretch || arraystretch < 0) {
            throw new src_ParseError("Invalid \\arraystretch: " + stretch);
          }
        }
      } // Start group for first cell
    
    
      parser.gullet.beginGroup();
      var row = [];
      var body = [row];
      var rowGaps = [];
      var hLinesBeforeRow = []; // Test for \hline at the top of the array.
    
      hLinesBeforeRow.push(getHLines(parser));
    
      while (true) {
        // eslint-disable-line no-constant-condition
        // Parse each cell in its own group (namespace)
        var cell = parser.parseExpression(false, "\\cr");
        parser.gullet.endGroup();
        parser.gullet.beginGroup();
        cell = {
          type: "ordgroup",
          mode: parser.mode,
          body: cell
        };
    
        if (style) {
          cell = {
            type: "styling",
            mode: parser.mode,
            style: style,
            body: [cell]
          };
        }
    
        row.push(cell);
        var next = parser.fetch().text;
    
        if (next === "&") {
          parser.consume();
        } else if (next === "\\end") {
          // Arrays terminate newlines with `\crcr` which consumes a `\cr` if
          // the last line is empty.
          // NOTE: Currently, `cell` is the last item added into `row`.
          if (row.length === 1 && cell.type === "styling" && cell.body[0].body.length === 0) {
            body.pop();
          }
    
          if (hLinesBeforeRow.length < body.length + 1) {
            hLinesBeforeRow.push([]);
          }
    
          break;
        } else if (next === "\\cr") {
          var cr = assertNodeType(parser.parseFunction(), "cr");
          rowGaps.push(cr.size); // check for \hline(s) following the row separator
    
          hLinesBeforeRow.push(getHLines(parser));
          row = [];
          body.push(row);
        } else {
          throw new src_ParseError("Expected & or \\\\ or \\cr or \\end", parser.nextToken);
        }
      } // End cell group
    
    
      parser.gullet.endGroup(); // End array group defining \\
    
      parser.gullet.endGroup();
      return {
        type: "array",
        mode: parser.mode,
        addJot: addJot,
        arraystretch: arraystretch,
        body: body,
        cols: cols,
        rowGaps: rowGaps,
        hskipBeforeAndAfter: hskipBeforeAndAfter,
        hLinesBeforeRow: hLinesBeforeRow,
        colSeparationType: colSeparationType
      };
    } // Decides on a style for cells in an array according to whether the given
    // environment name starts with the letter 'd'.
    
    
    function dCellStyle(envName) {
      if (envName.substr(0, 1) === "d") {
        return "display";
      } else {
        return "text";
      }
    }
    
    var array_htmlBuilder = function htmlBuilder(group, options) {
      var r;
      var c;
      var nr = group.body.length;
      var hLinesBeforeRow = group.hLinesBeforeRow;
      var nc = 0;
      var body = new Array(nr);
      var hlines = [];
      var ruleThickness = Math.max( // From LaTeX \showthe\arrayrulewidth. Equals 0.04 em.
      options.fontMetrics().arrayRuleWidth, options.minRuleThickness // User override.
      ); // Horizontal spacing
    
      var pt = 1 / options.fontMetrics().ptPerEm;
      var arraycolsep = 5 * pt; // default value, i.e. \arraycolsep in article.cls
    
      if (group.colSeparationType && group.colSeparationType === "small") {
        // We're in a {smallmatrix}. Default column space is \thickspace,
        // i.e. 5/18em = 0.2778em, per amsmath.dtx for {smallmatrix}.
        // But that needs adjustment because LaTeX applies \scriptstyle to the
        // entire array, including the colspace, but this function applies
        // \scriptstyle only inside each element.
        var localMultiplier = options.havingStyle(src_Style.SCRIPT).sizeMultiplier;
        arraycolsep = 0.2778 * (localMultiplier / options.sizeMultiplier);
      } // Vertical spacing
    
    
      var baselineskip = 12 * pt; // see size10.clo
      // Default \jot from ltmath.dtx
      // TODO(edemaine): allow overriding \jot via \setlength (#687)
    
      var jot = 3 * pt;
      var arrayskip = group.arraystretch * baselineskip;
      var arstrutHeight = 0.7 * arrayskip; // \strutbox in ltfsstrc.dtx and
    
      var arstrutDepth = 0.3 * arrayskip; // \@arstrutbox in lttab.dtx
    
      var totalHeight = 0; // Set a position for \hline(s) at the top of the array, if any.
    
      function setHLinePos(hlinesInGap) {
        for (var i = 0; i < hlinesInGap.length; ++i) {
          if (i > 0) {
            totalHeight += 0.25;
          }
    
          hlines.push({
            pos: totalHeight,
            isDashed: hlinesInGap[i]
          });
        }
      }
    
      setHLinePos(hLinesBeforeRow[0]);
    
      for (r = 0; r < group.body.length; ++r) {
        var inrow = group.body[r];
        var height = arstrutHeight; // \@array adds an \@arstrut
    
        var depth = arstrutDepth; // to each tow (via the template)
    
        if (nc < inrow.length) {
          nc = inrow.length;
        }
    
        var outrow = new Array(inrow.length);
    
        for (c = 0; c < inrow.length; ++c) {
          var elt = buildHTML_buildGroup(inrow[c], options);
    
          if (depth < elt.depth) {
            depth = elt.depth;
          }
    
          if (height < elt.height) {
            height = elt.height;
          }
    
          outrow[c] = elt;
        }
    
        var rowGap = group.rowGaps[r];
        var gap = 0;
    
        if (rowGap) {
          gap = units_calculateSize(rowGap, options);
    
          if (gap > 0) {
            // \@argarraycr
            gap += arstrutDepth;
    
            if (depth < gap) {
              depth = gap; // \@xargarraycr
            }
    
            gap = 0;
          }
        } // In AMS multiline environments such as aligned and gathered, rows
        // correspond to lines that have additional \jot added to the
        // \baselineskip via \openup.
    
    
        if (group.addJot) {
          depth += jot;
        }
    
        outrow.height = height;
        outrow.depth = depth;
        totalHeight += height;
        outrow.pos = totalHeight;
        totalHeight += depth + gap; // \@yargarraycr
    
        body[r] = outrow; // Set a position for \hline(s), if any.
    
        setHLinePos(hLinesBeforeRow[r + 1]);
      }
    
      var offset = totalHeight / 2 + options.fontMetrics().axisHeight;
      var colDescriptions = group.cols || [];
      var cols = [];
      var colSep;
      var colDescrNum;
    
      for (c = 0, colDescrNum = 0; // Continue while either there are more columns or more column
      // descriptions, so trailing separators don't get lost.
      c < nc || colDescrNum < colDescriptions.length; ++c, ++colDescrNum) {
        var colDescr = colDescriptions[colDescrNum] || {};
        var firstSeparator = true;
    
        while (colDescr.type === "separator") {
          // If there is more than one separator in a row, add a space
          // between them.
          if (!firstSeparator) {
            colSep = buildCommon.makeSpan(["arraycolsep"], []);
            colSep.style.width = options.fontMetrics().doubleRuleSep + "em";
            cols.push(colSep);
          }
    
          if (colDescr.separator === "|" || colDescr.separator === ":") {
            var lineType = colDescr.separator === "|" ? "solid" : "dashed";
            var separator = buildCommon.makeSpan(["vertical-separator"], [], options);
            separator.style.height = totalHeight + "em";
            separator.style.borderRightWidth = ruleThickness + "em";
            separator.style.borderRightStyle = lineType;
            separator.style.margin = "0 -" + ruleThickness / 2 + "em";
            separator.style.verticalAlign = -(totalHeight - offset) + "em";
            cols.push(separator);
          } else {
            throw new src_ParseError("Invalid separator type: " + colDescr.separator);
          }
    
          colDescrNum++;
          colDescr = colDescriptions[colDescrNum] || {};
          firstSeparator = false;
        }
    
        if (c >= nc) {
          continue;
        }
    
        var sepwidth = void 0;
    
        if (c > 0 || group.hskipBeforeAndAfter) {
          sepwidth = utils.deflt(colDescr.pregap, arraycolsep);
    
          if (sepwidth !== 0) {
            colSep = buildCommon.makeSpan(["arraycolsep"], []);
            colSep.style.width = sepwidth + "em";
            cols.push(colSep);
          }
        }
    
        var col = [];
    
        for (r = 0; r < nr; ++r) {
          var row = body[r];
          var elem = row[c];
    
          if (!elem) {
            continue;
          }
    
          var shift = row.pos - offset;
          elem.depth = row.depth;
          elem.height = row.height;
          col.push({
            type: "elem",
            elem: elem,
            shift: shift
          });
        }
    
        col = buildCommon.makeVList({
          positionType: "individualShift",
          children: col
        }, options);
        col = buildCommon.makeSpan(["col-align-" + (colDescr.align || "c")], [col]);
        cols.push(col);
    
        if (c < nc - 1 || group.hskipBeforeAndAfter) {
          sepwidth = utils.deflt(colDescr.postgap, arraycolsep);
    
          if (sepwidth !== 0) {
            colSep = buildCommon.makeSpan(["arraycolsep"], []);
            colSep.style.width = sepwidth + "em";
            cols.push(colSep);
          }
        }
      }
    
      body = buildCommon.makeSpan(["mtable"], cols); // Add \hline(s), if any.
    
      if (hlines.length > 0) {
        var line = buildCommon.makeLineSpan("hline", options, ruleThickness);
        var dashes = buildCommon.makeLineSpan("hdashline", options, ruleThickness);
        var vListElems = [{
          type: "elem",
          elem: body,
          shift: 0
        }];
    
        while (hlines.length > 0) {
          var hline = hlines.pop();
          var lineShift = hline.pos - offset;
    
          if (hline.isDashed) {
            vListElems.push({
              type: "elem",
              elem: dashes,
              shift: lineShift
            });
          } else {
            vListElems.push({
              type: "elem",
              elem: line,
              shift: lineShift
            });
          }
        }
    
        body = buildCommon.makeVList({
          positionType: "individualShift",
          children: vListElems
        }, options);
      }
    
      return buildCommon.makeSpan(["mord"], [body], options);
    };
    
    var alignMap = {
      c: "center ",
      l: "left ",
      r: "right "
    };
    
    var array_mathmlBuilder = function mathmlBuilder(group, options) {
      var table = new mathMLTree.MathNode("mtable", group.body.map(function (row) {
        return new mathMLTree.MathNode("mtr", row.map(function (cell) {
          return new mathMLTree.MathNode("mtd", [buildMathML_buildGroup(cell, options)]);
        }));
      })); // Set column alignment, row spacing, column spacing, and
      // array lines by setting attributes on the table element.
      // Set the row spacing. In MathML, we specify a gap distance.
      // We do not use rowGap[] because MathML automatically increases
      // cell height with the height/depth of the element content.
      // LaTeX \arraystretch multiplies the row baseline-to-baseline distance.
      // We simulate this by adding (arraystretch - 1)em to the gap. This
      // does a reasonable job of adjusting arrays containing 1 em tall content.
      // The 0.16 and 0.09 values are found emprically. They produce an array
      // similar to LaTeX and in which content does not interfere with \hines.
    
      var gap = group.arraystretch === 0.5 ? 0.1 // {smallmatrix}, {subarray}
      : 0.16 + group.arraystretch - 1 + (group.addJot ? 0.09 : 0);
      table.setAttribute("rowspacing", gap + "em"); // MathML table lines go only between cells.
      // To place a line on an edge we'll use <menclose>, if necessary.
    
      var menclose = "";
      var align = "";
    
      if (group.cols) {
        // Find column alignment, column spacing, and  vertical lines.
        var cols = group.cols;
        var columnLines = "";
        var prevTypeWasAlign = false;
        var iStart = 0;
        var iEnd = cols.length;
    
        if (cols[0].type === "separator") {
          menclose += "top ";
          iStart = 1;
        }
    
        if (cols[cols.length - 1].type === "separator") {
          menclose += "bottom ";
          iEnd -= 1;
        }
    
        for (var i = iStart; i < iEnd; i++) {
          if (cols[i].type === "align") {
            align += alignMap[cols[i].align];
    
            if (prevTypeWasAlign) {
              columnLines += "none ";
            }
    
            prevTypeWasAlign = true;
          } else if (cols[i].type === "separator") {
            // MathML accepts only single lines between cells.
            // So we read only the first of consecutive separators.
            if (prevTypeWasAlign) {
              columnLines += cols[i].separator === "|" ? "solid " : "dashed ";
              prevTypeWasAlign = false;
            }
          }
        }
    
        table.setAttribute("columnalign", align.trim());
    
        if (/[sd]/.test(columnLines)) {
          table.setAttribute("columnlines", columnLines.trim());
        }
      } // Set column spacing.
    
    
      if (group.colSeparationType === "align") {
        var _cols = group.cols || [];
    
        var spacing = "";
    
        for (var _i = 1; _i < _cols.length; _i++) {
          spacing += _i % 2 ? "0em " : "1em ";
        }
    
        table.setAttribute("columnspacing", spacing.trim());
      } else if (group.colSeparationType === "alignat") {
        table.setAttribute("columnspacing", "0em");
      } else if (group.colSeparationType === "small") {
        table.setAttribute("columnspacing", "0.2778em");
      } else {
        table.setAttribute("columnspacing", "1em");
      } // Address \hline and \hdashline
    
    
      var rowLines = "";
      var hlines = group.hLinesBeforeRow;
      menclose += hlines[0].length > 0 ? "left " : "";
      menclose += hlines[hlines.length - 1].length > 0 ? "right " : "";
    
      for (var _i2 = 1; _i2 < hlines.length - 1; _i2++) {
        rowLines += hlines[_i2].length === 0 ? "none " // MathML accepts only a single line between rows. Read one element.
        : hlines[_i2][0] ? "dashed " : "solid ";
      }
    
      if (/[sd]/.test(rowLines)) {
        table.setAttribute("rowlines", rowLines.trim());
      }
    
      if (menclose !== "") {
        table = new mathMLTree.MathNode("menclose", [table]);
        table.setAttribute("notation", menclose.trim());
      }
    
      if (group.arraystretch && group.arraystretch < 1) {
        // A small array. Wrap in scriptstyle so row gap is not too large.
        table = new mathMLTree.MathNode("mstyle", [table]);
        table.setAttribute("scriptlevel", "1");
      }
    
      return table;
    }; // Convenience function for aligned and alignedat environments.
    
    
    var array_alignedHandler = function alignedHandler(context, args) {
      var cols = [];
      var res = parseArray(context.parser, {
        cols: cols,
        addJot: true
      }, "display"); // Determining number of columns.
      // 1. If the first argument is given, we use it as a number of columns,
      //    and makes sure that each row doesn't exceed that number.
      // 2. Otherwise, just count number of columns = maximum number
      //    of cells in each row ("aligned" mode -- isAligned will be true).
      //
      // At the same time, prepend empty group {} at beginning of every second
      // cell in each row (starting with second cell) so that operators become
      // binary.  This behavior is implemented in amsmath's \start@aligned.
    
      var numMaths;
      var numCols = 0;
      var emptyGroup = {
        type: "ordgroup",
        mode: context.mode,
        body: []
      };
      var ordgroup = checkNodeType(args[0], "ordgroup");
    
      if (ordgroup) {
        var arg0 = "";
    
        for (var i = 0; i < ordgroup.body.length; i++) {
          var textord = assertNodeType(ordgroup.body[i], "textord");
          arg0 += textord.text;
        }
    
        numMaths = Number(arg0);
        numCols = numMaths * 2;
      }
    
      var isAligned = !numCols;
      res.body.forEach(function (row) {
        for (var _i3 = 1; _i3 < row.length; _i3 += 2) {
          // Modify ordgroup node within styling node
          var styling = assertNodeType(row[_i3], "styling");
    
          var _ordgroup = assertNodeType(styling.body[0], "ordgroup");
    
          _ordgroup.body.unshift(emptyGroup);
        }
    
        if (!isAligned) {
          // Case 1
          var curMaths = row.length / 2;
    
          if (numMaths < curMaths) {
            throw new src_ParseError("Too many math in a row: " + ("expected " + numMaths + ", but got " + curMaths), row[0]);
          }
        } else if (numCols < row.length) {
          // Case 2
          numCols = row.length;
        }
      }); // Adjusting alignment.
      // In aligned mode, we add one \qquad between columns;
      // otherwise we add nothing.
    
      for (var _i4 = 0; _i4 < numCols; ++_i4) {
        var align = "r";
        var pregap = 0;
    
        if (_i4 % 2 === 1) {
          align = "l";
        } else if (_i4 > 0 && isAligned) {
          // "aligned" mode.
          pregap = 1; // add one \quad
        }
    
        cols[_i4] = {
          type: "align",
          align: align,
          pregap: pregap,
          postgap: 0
        };
      }
    
      res.colSeparationType = isAligned ? "align" : "alignat";
      return res;
    }; // Arrays are part of LaTeX, defined in lttab.dtx so its documentation
    // is part of the source2e.pdf file of LaTeX2e source documentation.
    // {darray} is an {array} environment where cells are set in \displaystyle,
    // as defined in nccmath.sty.
    
    
    defineEnvironment({
      type: "array",
      names: ["array", "darray"],
      props: {
        numArgs: 1
      },
      handler: function handler(context, args) {
        // Since no types are specified above, the two possibilities are
        // - The argument is wrapped in {} or [], in which case Parser's
        //   parseGroup() returns an "ordgroup" wrapping some symbol node.
        // - The argument is a bare symbol node.
        var symNode = checkSymbolNodeType(args[0]);
        var colalign = symNode ? [args[0]] : assertNodeType(args[0], "ordgroup").body;
        var cols = colalign.map(function (nde) {
          var node = assertSymbolNodeType(nde);
          var ca = node.text;
    
          if ("lcr".indexOf(ca) !== -1) {
            return {
              type: "align",
              align: ca
            };
          } else if (ca === "|") {
            return {
              type: "separator",
              separator: "|"
            };
          } else if (ca === ":") {
            return {
              type: "separator",
              separator: ":"
            };
          }
    
          throw new src_ParseError("Unknown column alignment: " + ca, nde);
        });
        var res = {
          cols: cols,
          hskipBeforeAndAfter: true // \@preamble in lttab.dtx
    
        };
        return parseArray(context.parser, res, dCellStyle(context.envName));
      },
      htmlBuilder: array_htmlBuilder,
      mathmlBuilder: array_mathmlBuilder
    }); // The matrix environments of amsmath builds on the array environment
    // of LaTeX, which is discussed above.
    
    defineEnvironment({
      type: "array",
      names: ["matrix", "pmatrix", "bmatrix", "Bmatrix", "vmatrix", "Vmatrix"],
      props: {
        numArgs: 0
      },
      handler: function handler(context) {
        var delimiters = {
          "matrix": null,
          "pmatrix": ["(", ")"],
          "bmatrix": ["[", "]"],
          "Bmatrix": ["\\{", "\\}"],
          "vmatrix": ["|", "|"],
          "Vmatrix": ["\\Vert", "\\Vert"]
        }[context.envName]; // \hskip -\arraycolsep in amsmath
    
        var payload = {
          hskipBeforeAndAfter: false
        };
        var res = parseArray(context.parser, payload, dCellStyle(context.envName));
        return delimiters ? {
          type: "leftright",
          mode: context.mode,
          body: [res],
          left: delimiters[0],
          right: delimiters[1],
          rightColor: undefined // \right uninfluenced by \color in array
    
        } : res;
      },
      htmlBuilder: array_htmlBuilder,
      mathmlBuilder: array_mathmlBuilder
    });
    defineEnvironment({
      type: "array",
      names: ["smallmatrix"],
      props: {
        numArgs: 0
      },
      handler: function handler(context) {
        var payload = {
          arraystretch: 0.5
        };
        var res = parseArray(context.parser, payload, "script");
        res.colSeparationType = "small";
        return res;
      },
      htmlBuilder: array_htmlBuilder,
      mathmlBuilder: array_mathmlBuilder
    });
    defineEnvironment({
      type: "array",
      names: ["subarray"],
      props: {
        numArgs: 1
      },
      handler: function handler(context, args) {
        // Parsing of {subarray} is similar to {array}
        var symNode = checkSymbolNodeType(args[0]);
        var colalign = symNode ? [args[0]] : assertNodeType(args[0], "ordgroup").body;
        var cols = colalign.map(function (nde) {
          var node = assertSymbolNodeType(nde);
          var ca = node.text; // {subarray} only recognizes "l" & "c"
    
          if ("lc".indexOf(ca) !== -1) {
            return {
              type: "align",
              align: ca
            };
          }
    
          throw new src_ParseError("Unknown column alignment: " + ca, nde);
        });
    
        if (cols.length > 1) {
          throw new src_ParseError("{subarray} can contain only one column");
        }
    
        var res = {
          cols: cols,
          hskipBeforeAndAfter: false,
          arraystretch: 0.5
        };
        res = parseArray(context.parser, res, "script");
    
        if (res.body[0].length > 1) {
          throw new src_ParseError("{subarray} can contain only one column");
        }
    
        return res;
      },
      htmlBuilder: array_htmlBuilder,
      mathmlBuilder: array_mathmlBuilder
    }); // A cases environment (in amsmath.sty) is almost equivalent to
    // \def\arraystretch{1.2}%
    // \left\{\begin{array}{@{}l@{\quad}l@{}} … \end{array}\right.
    // {dcases} is a {cases} environment where cells are set in \displaystyle,
    // as defined in mathtools.sty.
    
    defineEnvironment({
      type: "array",
      names: ["cases", "dcases"],
      props: {
        numArgs: 0
      },
      handler: function handler(context) {
        var payload = {
          arraystretch: 1.2,
          cols: [{
            type: "align",
            align: "l",
            pregap: 0,
            // TODO(kevinb) get the current style.
            // For now we use the metrics for TEXT style which is what we were
            // doing before.  Before attempting to get the current style we
            // should look at TeX's behavior especially for \over and matrices.
            postgap: 1.0
            /* 1em quad */
    
          }, {
            type: "align",
            align: "l",
            pregap: 0,
            postgap: 0
          }]
        };
        var res = parseArray(context.parser, payload, dCellStyle(context.envName));
        return {
          type: "leftright",
          mode: context.mode,
          body: [res],
          left: "\\{",
          right: ".",
          rightColor: undefined
        };
      },
      htmlBuilder: array_htmlBuilder,
      mathmlBuilder: array_mathmlBuilder
    }); // An aligned environment is like the align* environment
    // except it operates within math mode.
    // Note that we assume \nomallineskiplimit to be zero,
    // so that \strut@ is the same as \strut.
    
    defineEnvironment({
      type: "array",
      names: ["aligned"],
      props: {
        numArgs: 0
      },
      handler: array_alignedHandler,
      htmlBuilder: array_htmlBuilder,
      mathmlBuilder: array_mathmlBuilder
    }); // A gathered environment is like an array environment with one centered
    // column, but where rows are considered lines so get \jot line spacing
    // and contents are set in \displaystyle.
    
    defineEnvironment({
      type: "array",
      names: ["gathered"],
      props: {
        numArgs: 0
      },
      handler: function handler(context) {
        var res = {
          cols: [{
            type: "align",
            align: "c"
          }],
          addJot: true
        };
        return parseArray(context.parser, res, "display");
      },
      htmlBuilder: array_htmlBuilder,
      mathmlBuilder: array_mathmlBuilder
    }); // alignat environment is like an align environment, but one must explicitly
    // specify maximum number of columns in each row, and can adjust spacing between
    // each columns.
    
    defineEnvironment({
      type: "array",
      names: ["alignedat"],
      // One for numbered and for unnumbered;
      // but, KaTeX doesn't supports math numbering yet,
      // they make no difference for now.
      props: {
        numArgs: 1
      },
      handler: array_alignedHandler,
      htmlBuilder: array_htmlBuilder,
      mathmlBuilder: array_mathmlBuilder
    }); // Catch \hline outside array environment
    
    defineFunction({
      type: "text",
      // Doesn't matter what this is.
      names: ["\\hline", "\\hdashline"],
      props: {
        numArgs: 0,
        allowedInText: true,
        allowedInMath: true
      },
      handler: function handler(context, args) {
        throw new src_ParseError(context.funcName + " valid only within array environment");
      }
    });
    // CONCATENATED MODULE: ./src/environments.js
    
    var environments = _environments;
    /* harmony default export */ var src_environments = (environments); // All environment definitions should be imported below
    
    
    // CONCATENATED MODULE: ./src/functions/environment.js
    
    
    
     // Environment delimiters. HTML/MathML rendering is defined in the corresponding
    // defineEnvironment definitions.
    // $FlowFixMe, "environment" handler returns an environment ParseNode
    
    defineFunction({
      type: "environment",
      names: ["\\begin", "\\end"],
      props: {
        numArgs: 1,
        argTypes: ["text"]
      },
      handler: function handler(_ref, args) {
        var parser = _ref.parser,
            funcName = _ref.funcName;
        var nameGroup = args[0];
    
        if (nameGroup.type !== "ordgroup") {
          throw new src_ParseError("Invalid environment name", nameGroup);
        }
    
        var envName = "";
    
        for (var i = 0; i < nameGroup.body.length; ++i) {
          envName += assertNodeType(nameGroup.body[i], "textord").text;
        }
    
        if (funcName === "\\begin") {
          // begin...end is similar to left...right
          if (!src_environments.hasOwnProperty(envName)) {
            throw new src_ParseError("No such environment: " + envName, nameGroup);
          } // Build the environment object. Arguments and other information will
          // be made available to the begin and end methods using properties.
    
    
          var env = src_environments[envName];
    
          var _parser$parseArgument = parser.parseArguments("\\begin{" + envName + "}", env),
              _args = _parser$parseArgument.args,
              optArgs = _parser$parseArgument.optArgs;
    
          var context = {
            mode: parser.mode,
            envName: envName,
            parser: parser
          };
          var result = env.handler(context, _args, optArgs);
          parser.expect("\\end", false);
          var endNameToken = parser.nextToken;
          var end = assertNodeType(parser.parseFunction(), "environment");
    
          if (end.name !== envName) {
            throw new src_ParseError("Mismatch: \\begin{" + envName + "} matched by \\end{" + end.name + "}", endNameToken);
          }
    
          return result;
        }
    
        return {
          type: "environment",
          mode: parser.mode,
          name: envName,
          nameGroup: nameGroup
        };
      }
    });
    // CONCATENATED MODULE: ./src/functions/mclass.js
    
    
    
    
    
    
    var mclass_makeSpan = buildCommon.makeSpan;
    
    function mclass_htmlBuilder(group, options) {
      var elements = buildHTML_buildExpression(group.body, options, true);
      return mclass_makeSpan([group.mclass], elements, options);
    }
    
    function mclass_mathmlBuilder(group, options) {
      var node;
      var inner = buildMathML_buildExpression(group.body, options);
    
      if (group.mclass === "minner") {
        return mathMLTree.newDocumentFragment(inner);
      } else if (group.mclass === "mord") {
        if (group.isCharacterBox) {
          node = inner[0];
          node.type = "mi";
        } else {
          node = new mathMLTree.MathNode("mi", inner);
        }
      } else {
        if (group.isCharacterBox) {
          node = inner[0];
          node.type = "mo";
        } else {
          node = new mathMLTree.MathNode("mo", inner);
        } // Set spacing based on what is the most likely adjacent atom type.
        // See TeXbook p170.
    
    
        if (group.mclass === "mbin") {
          node.attributes.lspace = "0.22em"; // medium space
    
          node.attributes.rspace = "0.22em";
        } else if (group.mclass === "mpunct") {
          node.attributes.lspace = "0em";
          node.attributes.rspace = "0.17em"; // thinspace
        } else if (group.mclass === "mopen" || group.mclass === "mclose") {
          node.attributes.lspace = "0em";
          node.attributes.rspace = "0em";
        } // MathML <mo> default space is 5/18 em, so <mrel> needs no action.
        // Ref: https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mo
    
      }
    
      return node;
    } // Math class commands except \mathop
    
    
    defineFunction({
      type: "mclass",
      names: ["\\mathord", "\\mathbin", "\\mathrel", "\\mathopen", "\\mathclose", "\\mathpunct", "\\mathinner"],
      props: {
        numArgs: 1
      },
      handler: function handler(_ref, args) {
        var parser = _ref.parser,
            funcName = _ref.funcName;
        var body = args[0];
        return {
          type: "mclass",
          mode: parser.mode,
          mclass: "m" + funcName.substr(5),
          // TODO(kevinb): don't prefix with 'm'
          body: defineFunction_ordargument(body),
          isCharacterBox: utils.isCharacterBox(body)
        };
      },
      htmlBuilder: mclass_htmlBuilder,
      mathmlBuilder: mclass_mathmlBuilder
    });
    var binrelClass = function binrelClass(arg) {
      // \binrel@ spacing varies with (bin|rel|ord) of the atom in the argument.
      // (by rendering separately and with {}s before and after, and measuring
      // the change in spacing).  We'll do roughly the same by detecting the
      // atom type directly.
      var atom = arg.type === "ordgroup" && arg.body.length ? arg.body[0] : arg;
    
      if (atom.type === "atom" && (atom.family === "bin" || atom.family === "rel")) {
        return "m" + atom.family;
      } else {
        return "mord";
      }
    }; // \@binrel{x}{y} renders like y but as mbin/mrel/mord if x is mbin/mrel/mord.
    // This is equivalent to \binrel@{x}\binrel@@{y} in AMSTeX.
    
    defineFunction({
      type: "mclass",
      names: ["\\@binrel"],
      props: {
        numArgs: 2
      },
      handler: function handler(_ref2, args) {
        var parser = _ref2.parser;
        return {
          type: "mclass",
          mode: parser.mode,
          mclass: binrelClass(args[0]),
          body: [args[1]],
          isCharacterBox: utils.isCharacterBox(args[1])
        };
      }
    }); // Build a relation or stacked op by placing one symbol on top of another
    
    defineFunction({
      type: "mclass",
      names: ["\\stackrel", "\\overset", "\\underset"],
      props: {
        numArgs: 2
      },
      handler: function handler(_ref3, args) {
        var parser = _ref3.parser,
            funcName = _ref3.funcName;
        var baseArg = args[1];
        var shiftedArg = args[0];
        var mclass;
    
        if (funcName !== "\\stackrel") {
          // LaTeX applies \binrel spacing to \overset and \underset.
          mclass = binrelClass(baseArg);
        } else {
          mclass = "mrel"; // for \stackrel
        }
    
        var baseOp = {
          type: "op",
          mode: baseArg.mode,
          limits: true,
          alwaysHandleSupSub: true,
          parentIsSupSub: false,
          symbol: false,
          suppressBaseShift: funcName !== "\\stackrel",
          body: defineFunction_ordargument(baseArg)
        };
        var supsub = {
          type: "supsub",
          mode: shiftedArg.mode,
          base: baseOp,
          sup: funcName === "\\underset" ? null : shiftedArg,
          sub: funcName === "\\underset" ? shiftedArg : null
        };
        return {
          type: "mclass",
          mode: parser.mode,
          mclass: mclass,
          body: [supsub],
          isCharacterBox: utils.isCharacterBox(supsub)
        };
      },
      htmlBuilder: mclass_htmlBuilder,
      mathmlBuilder: mclass_mathmlBuilder
    });
    // CONCATENATED MODULE: ./src/functions/font.js
    // TODO(kevinb): implement \\sl and \\sc
    
    
    
    
    
    
    var font_htmlBuilder = function htmlBuilder(group, options) {
      var font = group.font;
      var newOptions = options.withFont(font);
      return buildHTML_buildGroup(group.body, newOptions);
    };
    
    var font_mathmlBuilder = function mathmlBuilder(group, options) {
      var font = group.font;
      var newOptions = options.withFont(font);
      return buildMathML_buildGroup(group.body, newOptions);
    };
    
    var fontAliases = {
      "\\Bbb": "\\mathbb",
      "\\bold": "\\mathbf",
      "\\frak": "\\mathfrak",
      "\\bm": "\\boldsymbol"
    };
    defineFunction({
      type: "font",
      names: [// styles, except \boldsymbol defined below
      "\\mathrm", "\\mathit", "\\mathbf", "\\mathnormal", // families
      "\\mathbb", "\\mathcal", "\\mathfrak", "\\mathscr", "\\mathsf", "\\mathtt", // aliases, except \bm defined below
      "\\Bbb", "\\bold", "\\frak"],
      props: {
        numArgs: 1,
        greediness: 2
      },
      handler: function handler(_ref, args) {
        var parser = _ref.parser,
            funcName = _ref.funcName;
        var body = args[0];
        var func = funcName;
    
        if (func in fontAliases) {
          func = fontAliases[func];
        }
    
        return {
          type: "font",
          mode: parser.mode,
          font: func.slice(1),
          body: body
        };
      },
      htmlBuilder: font_htmlBuilder,
      mathmlBuilder: font_mathmlBuilder
    });
    defineFunction({
      type: "mclass",
      names: ["\\boldsymbol", "\\bm"],
      props: {
        numArgs: 1,
        greediness: 2
      },
      handler: function handler(_ref2, args) {
        var parser = _ref2.parser;
        var body = args[0];
        var isCharacterBox = utils.isCharacterBox(body); // amsbsy.sty's \boldsymbol uses \binrel spacing to inherit the
        // argument's bin|rel|ord status
    
        return {
          type: "mclass",
          mode: parser.mode,
          mclass: binrelClass(body),
          body: [{
            type: "font",
            mode: parser.mode,
            font: "boldsymbol",
            body: body
          }],
          isCharacterBox: isCharacterBox
        };
      }
    }); // Old font changing functions
    
    defineFunction({
      type: "font",
      names: ["\\rm", "\\sf", "\\tt", "\\bf", "\\it"],
      props: {
        numArgs: 0,
        allowedInText: true
      },
      handler: function handler(_ref3, args) {
        var parser = _ref3.parser,
            funcName = _ref3.funcName,
            breakOnTokenText = _ref3.breakOnTokenText;
        var mode = parser.mode;
        var body = parser.parseExpression(true, breakOnTokenText);
        var style = "math" + funcName.slice(1);
        return {
          type: "font",
          mode: mode,
          font: style,
          body: {
            type: "ordgroup",
            mode: parser.mode,
            body: body
          }
        };
      },
      htmlBuilder: font_htmlBuilder,
      mathmlBuilder: font_mathmlBuilder
    });
    // CONCATENATED MODULE: ./src/functions/genfrac.js
    
    
    
    
    
    
    
    
    
    
    
    var genfrac_adjustStyle = function adjustStyle(size, originalStyle) {
      // Figure out what style this fraction should be in based on the
      // function used
      var style = originalStyle;
    
      if (size === "display") {
        // Get display style as a default.
        // If incoming style is sub/sup, use style.text() to get correct size.
        style = style.id >= src_Style.SCRIPT.id ? style.text() : src_Style.DISPLAY;
      } else if (size === "text" && style.size === src_Style.DISPLAY.size) {
        // We're in a \tfrac but incoming style is displaystyle, so:
        style = src_Style.TEXT;
      } else if (size === "script") {
        style = src_Style.SCRIPT;
      } else if (size === "scriptscript") {
        style = src_Style.SCRIPTSCRIPT;
      }
    
      return style;
    };
    
    var genfrac_htmlBuilder = function htmlBuilder(group, options) {
      // Fractions are handled in the TeXbook on pages 444-445, rules 15(a-e).
      var style = genfrac_adjustStyle(group.size, options.style);
      var nstyle = style.fracNum();
      var dstyle = style.fracDen();
      var newOptions;
      newOptions = options.havingStyle(nstyle);
      var numerm = buildHTML_buildGroup(group.numer, newOptions, options);
    
      if (group.continued) {
        // \cfrac inserts a \strut into the numerator.
        // Get \strut dimensions from TeXbook page 353.
        var hStrut = 8.5 / options.fontMetrics().ptPerEm;
        var dStrut = 3.5 / options.fontMetrics().ptPerEm;
        numerm.height = numerm.height < hStrut ? hStrut : numerm.height;
        numerm.depth = numerm.depth < dStrut ? dStrut : numerm.depth;
      }
    
      newOptions = options.havingStyle(dstyle);
      var denomm = buildHTML_buildGroup(group.denom, newOptions, options);
      var rule;
      var ruleWidth;
      var ruleSpacing;
    
      if (group.hasBarLine) {
        if (group.barSize) {
          ruleWidth = units_calculateSize(group.barSize, options);
          rule = buildCommon.makeLineSpan("frac-line", options, ruleWidth);
        } else {
          rule = buildCommon.makeLineSpan("frac-line", options);
        }
    
        ruleWidth = rule.height;
        ruleSpacing = rule.height;
      } else {
        rule = null;
        ruleWidth = 0;
        ruleSpacing = options.fontMetrics().defaultRuleThickness;
      } // Rule 15b
    
    
      var numShift;
      var clearance;
      var denomShift;
    
      if (style.size === src_Style.DISPLAY.size || group.size === "display") {
        numShift = options.fontMetrics().num1;
    
        if (ruleWidth > 0) {
          clearance = 3 * ruleSpacing;
        } else {
          clearance = 7 * ruleSpacing;
        }
    
        denomShift = options.fontMetrics().denom1;
      } else {
        if (ruleWidth > 0) {
          numShift = options.fontMetrics().num2;
          clearance = ruleSpacing;
        } else {
          numShift = options.fontMetrics().num3;
          clearance = 3 * ruleSpacing;
        }
    
        denomShift = options.fontMetrics().denom2;
      }
    
      var frac;
    
      if (!rule) {
        // Rule 15c
        var candidateClearance = numShift - numerm.depth - (denomm.height - denomShift);
    
        if (candidateClearance < clearance) {
          numShift += 0.5 * (clearance - candidateClearance);
          denomShift += 0.5 * (clearance - candidateClearance);
        }
    
        frac = buildCommon.makeVList({
          positionType: "individualShift",
          children: [{
            type: "elem",
            elem: denomm,
            shift: denomShift
          }, {
            type: "elem",
            elem: numerm,
            shift: -numShift
          }]
        }, options);
      } else {
        // Rule 15d
        var axisHeight = options.fontMetrics().axisHeight;
    
        if (numShift - numerm.depth - (axisHeight + 0.5 * ruleWidth) < clearance) {
          numShift += clearance - (numShift - numerm.depth - (axisHeight + 0.5 * ruleWidth));
        }
    
        if (axisHeight - 0.5 * ruleWidth - (denomm.height - denomShift) < clearance) {
          denomShift += clearance - (axisHeight - 0.5 * ruleWidth - (denomm.height - denomShift));
        }
    
        var midShift = -(axisHeight - 0.5 * ruleWidth);
        frac = buildCommon.makeVList({
          positionType: "individualShift",
          children: [{
            type: "elem",
            elem: denomm,
            shift: denomShift
          }, {
            type: "elem",
            elem: rule,
            shift: midShift
          }, {
            type: "elem",
            elem: numerm,
            shift: -numShift
          }]
        }, options);
      } // Since we manually change the style sometimes (with \dfrac or \tfrac),
      // account for the possible size change here.
    
    
      newOptions = options.havingStyle(style);
      frac.height *= newOptions.sizeMultiplier / options.sizeMultiplier;
      frac.depth *= newOptions.sizeMultiplier / options.sizeMultiplier; // Rule 15e
    
      var delimSize;
    
      if (style.size === src_Style.DISPLAY.size) {
        delimSize = options.fontMetrics().delim1;
      } else {
        delimSize = options.fontMetrics().delim2;
      }
    
      var leftDelim;
      var rightDelim;
    
      if (group.leftDelim == null) {
        leftDelim = makeNullDelimiter(options, ["mopen"]);
      } else {
        leftDelim = delimiter.customSizedDelim(group.leftDelim, delimSize, true, options.havingStyle(style), group.mode, ["mopen"]);
      }
    
      if (group.continued) {
        rightDelim = buildCommon.makeSpan([]); // zero width for \cfrac
      } else if (group.rightDelim == null) {
        rightDelim = makeNullDelimiter(options, ["mclose"]);
      } else {
        rightDelim = delimiter.customSizedDelim(group.rightDelim, delimSize, true, options.havingStyle(style), group.mode, ["mclose"]);
      }
    
      return buildCommon.makeSpan(["mord"].concat(newOptions.sizingClasses(options)), [leftDelim, buildCommon.makeSpan(["mfrac"], [frac]), rightDelim], options);
    };
    
    var genfrac_mathmlBuilder = function mathmlBuilder(group, options) {
      var node = new mathMLTree.MathNode("mfrac", [buildMathML_buildGroup(group.numer, options), buildMathML_buildGroup(group.denom, options)]);
    
      if (!group.hasBarLine) {
        node.setAttribute("linethickness", "0px");
      } else if (group.barSize) {
        var ruleWidth = units_calculateSize(group.barSize, options);
        node.setAttribute("linethickness", ruleWidth + "em");
      }
    
      var style = genfrac_adjustStyle(group.size, options.style);
    
      if (style.size !== options.style.size) {
        node = new mathMLTree.MathNode("mstyle", [node]);
        var isDisplay = style.size === src_Style.DISPLAY.size ? "true" : "false";
        node.setAttribute("displaystyle", isDisplay);
        node.setAttribute("scriptlevel", "0");
      }
    
      if (group.leftDelim != null || group.rightDelim != null) {
        var withDelims = [];
    
        if (group.leftDelim != null) {
          var leftOp = new mathMLTree.MathNode("mo", [new mathMLTree.TextNode(group.leftDelim.replace("\\", ""))]);
          leftOp.setAttribute("fence", "true");
          withDelims.push(leftOp);
        }
    
        withDelims.push(node);
    
        if (group.rightDelim != null) {
          var rightOp = new mathMLTree.MathNode("mo", [new mathMLTree.TextNode(group.rightDelim.replace("\\", ""))]);
          rightOp.setAttribute("fence", "true");
          withDelims.push(rightOp);
        }
    
        return buildMathML_makeRow(withDelims);
      }
    
      return node;
    };
    
    defineFunction({
      type: "genfrac",
      names: ["\\cfrac", "\\dfrac", "\\frac", "\\tfrac", "\\dbinom", "\\binom", "\\tbinom", "\\\\atopfrac", // can’t be entered directly
      "\\\\bracefrac", "\\\\brackfrac"],
      props: {
        numArgs: 2,
        greediness: 2
      },
      handler: function handler(_ref, args) {
        var parser = _ref.parser,
            funcName = _ref.funcName;
        var numer = args[0];
        var denom = args[1];
        var hasBarLine;
        var leftDelim = null;
        var rightDelim = null;
        var size = "auto";
    
        switch (funcName) {
          case "\\cfrac":
          case "\\dfrac":
          case "\\frac":
          case "\\tfrac":
            hasBarLine = true;
            break;
    
          case "\\\\atopfrac":
            hasBarLine = false;
            break;
    
          case "\\dbinom":
          case "\\binom":
          case "\\tbinom":
            hasBarLine = false;
            leftDelim = "(";
            rightDelim = ")";
            break;
    
          case "\\\\bracefrac":
            hasBarLine = false;
            leftDelim = "\\{";
            rightDelim = "\\}";
            break;
    
          case "\\\\brackfrac":
            hasBarLine = false;
            leftDelim = "[";
            rightDelim = "]";
            break;
    
          default:
            throw new Error("Unrecognized genfrac command");
        }
    
        switch (funcName) {
          case "\\cfrac":
          case "\\dfrac":
          case "\\dbinom":
            size = "display";
            break;
    
          case "\\tfrac":
          case "\\tbinom":
            size = "text";
            break;
        }
    
        return {
          type: "genfrac",
          mode: parser.mode,
          continued: funcName === "\\cfrac",
          numer: numer,
          denom: denom,
          hasBarLine: hasBarLine,
          leftDelim: leftDelim,
          rightDelim: rightDelim,
          size: size,
          barSize: null
        };
      },
      htmlBuilder: genfrac_htmlBuilder,
      mathmlBuilder: genfrac_mathmlBuilder
    }); // Infix generalized fractions -- these are not rendered directly, but replaced
    // immediately by one of the variants above.
    
    defineFunction({
      type: "infix",
      names: ["\\over", "\\choose", "\\atop", "\\brace", "\\brack"],
      props: {
        numArgs: 0,
        infix: true
      },
      handler: function handler(_ref2) {
        var parser = _ref2.parser,
            funcName = _ref2.funcName,
            token = _ref2.token;
        var replaceWith;
    
        switch (funcName) {
          case "\\over":
            replaceWith = "\\frac";
            break;
    
          case "\\choose":
            replaceWith = "\\binom";
            break;
    
          case "\\atop":
            replaceWith = "\\\\atopfrac";
            break;
    
          case "\\brace":
            replaceWith = "\\\\bracefrac";
            break;
    
          case "\\brack":
            replaceWith = "\\\\brackfrac";
            break;
    
          default:
            throw new Error("Unrecognized infix genfrac command");
        }
    
        return {
          type: "infix",
          mode: parser.mode,
          replaceWith: replaceWith,
          token: token
        };
      }
    });
    var stylArray = ["display", "text", "script", "scriptscript"];
    
    var delimFromValue = function delimFromValue(delimString) {
      var delim = null;
    
      if (delimString.length > 0) {
        delim = delimString;
        delim = delim === "." ? null : delim;
      }
    
      return delim;
    };
    
    defineFunction({
      type: "genfrac",
      names: ["\\genfrac"],
      props: {
        numArgs: 6,
        greediness: 6,
        argTypes: ["math", "math", "size", "text", "math", "math"]
      },
      handler: function handler(_ref3, args) {
        var parser = _ref3.parser;
        var numer = args[4];
        var denom = args[5]; // Look into the parse nodes to get the desired delimiters.
    
        var leftNode = checkNodeType(args[0], "atom");
    
        if (leftNode) {
          leftNode = assertAtomFamily(args[0], "open");
        }
    
        var leftDelim = leftNode ? delimFromValue(leftNode.text) : null;
        var rightNode = checkNodeType(args[1], "atom");
    
        if (rightNode) {
          rightNode = assertAtomFamily(args[1], "close");
        }
    
        var rightDelim = rightNode ? delimFromValue(rightNode.text) : null;
        var barNode = assertNodeType(args[2], "size");
        var hasBarLine;
        var barSize = null;
    
        if (barNode.isBlank) {
          // \genfrac acts differently than \above.
          // \genfrac treats an empty size group as a signal to use a
          // standard bar size. \above would see size = 0 and omit the bar.
          hasBarLine = true;
        } else {
          barSize = barNode.value;
          hasBarLine = barSize.number > 0;
        } // Find out if we want displaystyle, textstyle, etc.
    
    
        var size = "auto";
        var styl = checkNodeType(args[3], "ordgroup");
    
        if (styl) {
          if (styl.body.length > 0) {
            var textOrd = assertNodeType(styl.body[0], "textord");
            size = stylArray[Number(textOrd.text)];
          }
        } else {
          styl = assertNodeType(args[3], "textord");
          size = stylArray[Number(styl.text)];
        }
    
        return {
          type: "genfrac",
          mode: parser.mode,
          numer: numer,
          denom: denom,
          continued: false,
          hasBarLine: hasBarLine,
          barSize: barSize,
          leftDelim: leftDelim,
          rightDelim: rightDelim,
          size: size
        };
      },
      htmlBuilder: genfrac_htmlBuilder,
      mathmlBuilder: genfrac_mathmlBuilder
    }); // \above is an infix fraction that also defines a fraction bar size.
    
    defineFunction({
      type: "infix",
      names: ["\\above"],
      props: {
        numArgs: 1,
        argTypes: ["size"],
        infix: true
      },
      handler: function handler(_ref4, args) {
        var parser = _ref4.parser,
            funcName = _ref4.funcName,
            token = _ref4.token;
        return {
          type: "infix",
          mode: parser.mode,
          replaceWith: "\\\\abovefrac",
          size: assertNodeType(args[0], "size").value,
          token: token
        };
      }
    });
    defineFunction({
      type: "genfrac",
      names: ["\\\\abovefrac"],
      props: {
        numArgs: 3,
        argTypes: ["math", "size", "math"]
      },
      handler: function handler(_ref5, args) {
        var parser = _ref5.parser,
            funcName = _ref5.funcName;
        var numer = args[0];
        var barSize = assert(assertNodeType(args[1], "infix").size);
        var denom = args[2];
        var hasBarLine = barSize.number > 0;
        return {
          type: "genfrac",
          mode: parser.mode,
          numer: numer,
          denom: denom,
          continued: false,
          hasBarLine: hasBarLine,
          barSize: barSize,
          leftDelim: null,
          rightDelim: null,
          size: "auto"
        };
      },
      htmlBuilder: genfrac_htmlBuilder,
      mathmlBuilder: genfrac_mathmlBuilder
    });
    // CONCATENATED MODULE: ./src/functions/horizBrace.js
    
    
    
    
    
    
    
    
    // NOTE: Unlike most `htmlBuilder`s, this one handles not only "horizBrace", but
    var horizBrace_htmlBuilder = function htmlBuilder(grp, options) {
      var style = options.style; // Pull out the `ParseNode<"horizBrace">` if `grp` is a "supsub" node.
    
      var supSubGroup;
      var group;
      var supSub = checkNodeType(grp, "supsub");
    
      if (supSub) {
        // Ref: LaTeX source2e: }}}}\limits}
        // i.e. LaTeX treats the brace similar to an op and passes it
        // with \limits, so we need to assign supsub style.
        supSubGroup = supSub.sup ? buildHTML_buildGroup(supSub.sup, options.havingStyle(style.sup()), options) : buildHTML_buildGroup(supSub.sub, options.havingStyle(style.sub()), options);
        group = assertNodeType(supSub.base, "horizBrace");
      } else {
        group = assertNodeType(grp, "horizBrace");
      } // Build the base group
    
    
      var body = buildHTML_buildGroup(group.base, options.havingBaseStyle(src_Style.DISPLAY)); // Create the stretchy element
    
      var braceBody = stretchy.svgSpan(group, options); // Generate the vlist, with the appropriate kerns        ┏━━━━━━━━┓
      // This first vlist contains the content and the brace:   equation
    
      var vlist;
    
      if (group.isOver) {
        vlist = buildCommon.makeVList({
          positionType: "firstBaseline",
          children: [{
            type: "elem",
            elem: body
          }, {
            type: "kern",
            size: 0.1
          }, {
            type: "elem",
            elem: braceBody
          }]
        }, options); // $FlowFixMe: Replace this with passing "svg-align" into makeVList.
    
        vlist.children[0].children[0].children[1].classes.push("svg-align");
      } else {
        vlist = buildCommon.makeVList({
          positionType: "bottom",
          positionData: body.depth + 0.1 + braceBody.height,
          children: [{
            type: "elem",
            elem: braceBody
          }, {
            type: "kern",
            size: 0.1
          }, {
            type: "elem",
            elem: body
          }]
        }, options); // $FlowFixMe: Replace this with passing "svg-align" into makeVList.
    
        vlist.children[0].children[0].children[0].classes.push("svg-align");
      }
    
      if (supSubGroup) {
        // To write the supsub, wrap the first vlist in another vlist:
        // They can't all go in the same vlist, because the note might be
        // wider than the equation. We want the equation to control the
        // brace width.
        //      note          long note           long note
        //   ┏━━━━━━━━┓   or    ┏━━━┓     not    ┏━━━━━━━━━┓
        //    equation           eqn                 eqn
        var vSpan = buildCommon.makeSpan(["mord", group.isOver ? "mover" : "munder"], [vlist], options);
    
        if (group.isOver) {
          vlist = buildCommon.makeVList({
            positionType: "firstBaseline",
            children: [{
              type: "elem",
              elem: vSpan
            }, {
              type: "kern",
              size: 0.2
            }, {
              type: "elem",
              elem: supSubGroup
            }]
          }, options);
        } else {
          vlist = buildCommon.makeVList({
            positionType: "bottom",
            positionData: vSpan.depth + 0.2 + supSubGroup.height + supSubGroup.depth,
            children: [{
              type: "elem",
              elem: supSubGroup
            }, {
              type: "kern",
              size: 0.2
            }, {
              type: "elem",
              elem: vSpan
            }]
          }, options);
        }
      }
    
      return buildCommon.makeSpan(["mord", group.isOver ? "mover" : "munder"], [vlist], options);
    };
    
    var horizBrace_mathmlBuilder = function mathmlBuilder(group, options) {
      var accentNode = stretchy.mathMLnode(group.label);
      return new mathMLTree.MathNode(group.isOver ? "mover" : "munder", [buildMathML_buildGroup(group.base, options), accentNode]);
    }; // Horizontal stretchy braces
    
    
    defineFunction({
      type: "horizBrace",
      names: ["\\overbrace", "\\underbrace"],
      props: {
        numArgs: 1
      },
      handler: function handler(_ref, args) {
        var parser = _ref.parser,
            funcName = _ref.funcName;
        return {
          type: "horizBrace",
          mode: parser.mode,
          label: funcName,
          isOver: /^\\over/.test(funcName),
          base: args[0]
        };
      },
      htmlBuilder: horizBrace_htmlBuilder,
      mathmlBuilder: horizBrace_mathmlBuilder
    });
    // CONCATENATED MODULE: ./src/functions/href.js
    
    
    
    
    
    
    defineFunction({
      type: "href",
      names: ["\\href"],
      props: {
        numArgs: 2,
        argTypes: ["url", "original"],
        allowedInText: true
      },
      handler: function handler(_ref, args) {
        var parser = _ref.parser;
        var body = args[1];
        var href = assertNodeType(args[0], "url").url;
    
        if (!parser.settings.isTrusted({
          command: "\\href",
          url: href
        })) {
          return parser.formatUnsupportedCmd("\\href");
        }
    
        return {
          type: "href",
          mode: parser.mode,
          href: href,
          body: defineFunction_ordargument(body)
        };
      },
      htmlBuilder: function htmlBuilder(group, options) {
        var elements = buildHTML_buildExpression(group.body, options, false);
        return buildCommon.makeAnchor(group.href, [], elements, options);
      },
      mathmlBuilder: function mathmlBuilder(group, options) {
        var math = buildExpressionRow(group.body, options);
    
        if (!(math instanceof mathMLTree_MathNode)) {
          math = new mathMLTree_MathNode("mrow", [math]);
        }
    
        math.setAttribute("href", group.href);
        return math;
      }
    });
    defineFunction({
      type: "href",
      names: ["\\url"],
      props: {
        numArgs: 1,
        argTypes: ["url"],
        allowedInText: true
      },
      handler: function handler(_ref2, args) {
        var parser = _ref2.parser;
        var href = assertNodeType(args[0], "url").url;
    
        if (!parser.settings.isTrusted({
          command: "\\url",
          url: href
        })) {
          return parser.formatUnsupportedCmd("\\url");
        }
    
        var chars = [];
    
        for (var i = 0; i < href.length; i++) {
          var c = href[i];
    
          if (c === "~") {
            c = "\\textasciitilde";
          }
    
          chars.push({
            type: "textord",
            mode: "text",
            text: c
          });
        }
    
        var body = {
          type: "text",
          mode: parser.mode,
          font: "\\texttt",
          body: chars
        };
        return {
          type: "href",
          mode: parser.mode,
          href: href,
          body: defineFunction_ordargument(body)
        };
      }
    });
    // CONCATENATED MODULE: ./src/functions/htmlmathml.js
    
    
    
    
    defineFunction({
      type: "htmlmathml",
      names: ["\\html@mathml"],
      props: {
        numArgs: 2,
        allowedInText: true
      },
      handler: function handler(_ref, args) {
        var parser = _ref.parser;
        return {
          type: "htmlmathml",
          mode: parser.mode,
          html: defineFunction_ordargument(args[0]),
          mathml: defineFunction_ordargument(args[1])
        };
      },
      htmlBuilder: function htmlBuilder(group, options) {
        var elements = buildHTML_buildExpression(group.html, options, false);
        return buildCommon.makeFragment(elements);
      },
      mathmlBuilder: function mathmlBuilder(group, options) {
        return buildExpressionRow(group.mathml, options);
      }
    });
    // CONCATENATED MODULE: ./src/functions/includegraphics.js
    
    
    
    
    
    
    
    var includegraphics_sizeData = function sizeData(str) {
      if (/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(str)) {
        // str is a number with no unit specified.
        // default unit is bp, per graphix package.
        return {
          number: +str,
          unit: "bp"
        };
      } else {
        var match = /([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(str);
    
        if (!match) {
          throw new src_ParseError("Invalid size: '" + str + "' in \\includegraphics");
        }
    
        var data = {
          number: +(match[1] + match[2]),
          // sign + magnitude, cast to number
          unit: match[3]
        };
    
        if (!validUnit(data)) {
          throw new src_ParseError("Invalid unit: '" + data.unit + "' in \\includegraphics.");
        }
    
        return data;
      }
    };
    
    defineFunction({
      type: "includegraphics",
      names: ["\\includegraphics"],
      props: {
        numArgs: 1,
        numOptionalArgs: 1,
        argTypes: ["raw", "url"],
        allowedInText: false
      },
      handler: function handler(_ref, args, optArgs) {
        var parser = _ref.parser;
        var width = {
          number: 0,
          unit: "em"
        };
        var height = {
          number: 0.9,
          unit: "em"
        }; // sorta character sized.
    
        var totalheight = {
          number: 0,
          unit: "em"
        };
        var alt = "";
    
        if (optArgs[0]) {
          var attributeStr = assertNodeType(optArgs[0], "raw").string; // Parser.js does not parse key/value pairs. We get a string.
    
          var attributes = attributeStr.split(",");
    
          for (var i = 0; i < attributes.length; i++) {
            var keyVal = attributes[i].split("=");
    
            if (keyVal.length === 2) {
              var str = keyVal[1].trim();
    
              switch (keyVal[0].trim()) {
                case "alt":
                  alt = str;
                  break;
    
                case "width":
                  width = includegraphics_sizeData(str);
                  break;
    
                case "height":
                  height = includegraphics_sizeData(str);
                  break;
    
                case "totalheight":
                  totalheight = includegraphics_sizeData(str);
                  break;
    
                default:
                  throw new src_ParseError("Invalid key: '" + keyVal[0] + "' in \\includegraphics.");
              }
            }
          }
        }
    
        var src = assertNodeType(args[0], "url").url;
    
        if (alt === "") {
          // No alt given. Use the file name. Strip away the path.
          alt = src;
          alt = alt.replace(/^.*[\\/]/, '');
          alt = alt.substring(0, alt.lastIndexOf('.'));
        }
    
        if (!parser.settings.isTrusted({
          command: "\\includegraphics",
          url: src
        })) {
          return parser.formatUnsupportedCmd("\\includegraphics");
        }
    
        return {
          type: "includegraphics",
          mode: parser.mode,
          alt: alt,
          width: width,
          height: height,
          totalheight: totalheight,
          src: src
        };
      },
      htmlBuilder: function htmlBuilder(group, options) {
        var height = units_calculateSize(group.height, options);
        var depth = 0;
    
        if (group.totalheight.number > 0) {
          depth = units_calculateSize(group.totalheight, options) - height;
          depth = Number(depth.toFixed(2));
        }
    
        var width = 0;
    
        if (group.width.number > 0) {
          width = units_calculateSize(group.width, options);
        }
    
        var style = {
          height: height + depth + "em"
        };
    
        if (width > 0) {
          style.width = width + "em";
        }
    
        if (depth > 0) {
          style.verticalAlign = -depth + "em";
        }
    
        var node = new domTree_Img(group.src, group.alt, style);
        node.height = height;
        node.depth = depth;
        return node;
      },
      mathmlBuilder: function mathmlBuilder(group, options) {
        var node = new mathMLTree.MathNode("mglyph", []);
        node.setAttribute("alt", group.alt);
        var height = units_calculateSize(group.height, options);
        var depth = 0;
    
        if (group.totalheight.number > 0) {
          depth = units_calculateSize(group.totalheight, options) - height;
          depth = depth.toFixed(2);
          node.setAttribute("valign", "-" + depth + "em");
        }
    
        node.setAttribute("height", height + depth + "em");
    
        if (group.width.number > 0) {
          var width = units_calculateSize(group.width, options);
          node.setAttribute("width", width + "em");
        }
    
        node.setAttribute("src", group.src);
        return node;
      }
    });
    // CONCATENATED MODULE: ./src/functions/kern.js
    // Horizontal spacing commands
    
    
    
    
     // TODO: \hskip and \mskip should support plus and minus in lengths
    
    defineFunction({
      type: "kern",
      names: ["\\kern", "\\mkern", "\\hskip", "\\mskip"],
      props: {
        numArgs: 1,
        argTypes: ["size"],
        allowedInText: true
      },
      handler: function handler(_ref, args) {
        var parser = _ref.parser,
            funcName = _ref.funcName;
        var size = assertNodeType(args[0], "size");
    
        if (parser.settings.strict) {
          var mathFunction = funcName[1] === 'm'; // \mkern, \mskip
    
          var muUnit = size.value.unit === 'mu';
    
          if (mathFunction) {
            if (!muUnit) {
              parser.settings.reportNonstrict("mathVsTextUnits", "LaTeX's " + funcName + " supports only mu units, " + ("not " + size.value.unit + " units"));
            }
    
            if (parser.mode !== "math") {
              parser.settings.reportNonstrict("mathVsTextUnits", "LaTeX's " + funcName + " works only in math mode");
            }
          } else {
            // !mathFunction
            if (muUnit) {
              parser.settings.reportNonstrict("mathVsTextUnits", "LaTeX's " + funcName + " doesn't support mu units");
            }
          }
        }
    
        return {
          type: "kern",
          mode: parser.mode,
          dimension: size.value
        };
      },
      htmlBuilder: function htmlBuilder(group, options) {
        return buildCommon.makeGlue(group.dimension, options);
      },
      mathmlBuilder: function mathmlBuilder(group, options) {
        var dimension = units_calculateSize(group.dimension, options);
        return new mathMLTree.SpaceNode(dimension);
      }
    });
    // CONCATENATED MODULE: ./src/functions/lap.js
    // Horizontal overlap functions
    
    
    
    
    
    defineFunction({
      type: "lap",
      names: ["\\mathllap", "\\mathrlap", "\\mathclap"],
      props: {
        numArgs: 1,
        allowedInText: true
      },
      handler: function handler(_ref, args) {
        var parser = _ref.parser,
            funcName = _ref.funcName;
        var body = args[0];
        return {
          type: "lap",
          mode: parser.mode,
          alignment: funcName.slice(5),
          body: body
        };
      },
      htmlBuilder: function htmlBuilder(group, options) {
        // mathllap, mathrlap, mathclap
        var inner;
    
        if (group.alignment === "clap") {
          // ref: https://www.math.lsu.edu/~aperlis/publications/mathclap/
          inner = buildCommon.makeSpan([], [buildHTML_buildGroup(group.body, options)]); // wrap, since CSS will center a .clap > .inner > span
    
          inner = buildCommon.makeSpan(["inner"], [inner], options);
        } else {
          inner = buildCommon.makeSpan(["inner"], [buildHTML_buildGroup(group.body, options)]);
        }
    
        var fix = buildCommon.makeSpan(["fix"], []);
        var node = buildCommon.makeSpan([group.alignment], [inner, fix], options); // At this point, we have correctly set horizontal alignment of the
        // two items involved in the lap.
        // Next, use a strut to set the height of the HTML bounding box.
        // Otherwise, a tall argument may be misplaced.
    
        var strut = buildCommon.makeSpan(["strut"]);
        strut.style.height = node.height + node.depth + "em";
        strut.style.verticalAlign = -node.depth + "em";
        node.children.unshift(strut); // Next, prevent vertical misplacement when next to something tall.
    
        node = buildCommon.makeVList({
          positionType: "firstBaseline",
          children: [{
            type: "elem",
            elem: node
          }]
        }, options); // Get the horizontal spacing correct relative to adjacent items.
    
        return buildCommon.makeSpan(["mord"], [node], options);
      },
      mathmlBuilder: function mathmlBuilder(group, options) {
        // mathllap, mathrlap, mathclap
        var node = new mathMLTree.MathNode("mpadded", [buildMathML_buildGroup(group.body, options)]);
    
        if (group.alignment !== "rlap") {
          var offset = group.alignment === "llap" ? "-1" : "-0.5";
          node.setAttribute("lspace", offset + "width");
        }
    
        node.setAttribute("width", "0px");
        return node;
      }
    });
    // CONCATENATED MODULE: ./src/functions/math.js
    
     // Switching from text mode back to math mode
    
    defineFunction({
      type: "styling",
      names: ["\\(", "$"],
      props: {
        numArgs: 0,
        allowedInText: true,
        allowedInMath: false
      },
      handler: function handler(_ref, args) {
        var funcName = _ref.funcName,
            parser = _ref.parser;
        var outerMode = parser.mode;
        parser.switchMode("math");
        var close = funcName === "\\(" ? "\\)" : "$";
        var body = parser.parseExpression(false, close);
        parser.expect(close);
        parser.switchMode(outerMode);
        return {
          type: "styling",
          mode: parser.mode,
          style: "text",
          body: body
        };
      }
    }); // Check for extra closing math delimiters
    
    defineFunction({
      type: "text",
      // Doesn't matter what this is.
      names: ["\\)", "\\]"],
      props: {
        numArgs: 0,
        allowedInText: true,
        allowedInMath: false
      },
      handler: function handler(context, args) {
        throw new src_ParseError("Mismatched " + context.funcName);
      }
    });
    // CONCATENATED MODULE: ./src/functions/mathchoice.js
    
    
    
    
    
    
    var mathchoice_chooseMathStyle = function chooseMathStyle(group, options) {
      switch (options.style.size) {
        case src_Style.DISPLAY.size:
          return group.display;
    
        case src_Style.TEXT.size:
          return group.text;
    
        case src_Style.SCRIPT.size:
          return group.script;
    
        case src_Style.SCRIPTSCRIPT.size:
          return group.scriptscript;
    
        default:
          return group.text;
      }
    };
    
    defineFunction({
      type: "mathchoice",
      names: ["\\mathchoice"],
      props: {
        numArgs: 4
      },
      handler: function handler(_ref, args) {
        var parser = _ref.parser;
        return {
          type: "mathchoice",
          mode: parser.mode,
          display: defineFunction_ordargument(args[0]),
          text: defineFunction_ordargument(args[1]),
          script: defineFunction_ordargument(args[2]),
          scriptscript: defineFunction_ordargument(args[3])
        };
      },
      htmlBuilder: function htmlBuilder(group, options) {
        var body = mathchoice_chooseMathStyle(group, options);
        var elements = buildHTML_buildExpression(body, options, false);
        return buildCommon.makeFragment(elements);
      },
      mathmlBuilder: function mathmlBuilder(group, options) {
        var body = mathchoice_chooseMathStyle(group, options);
        return buildExpressionRow(body, options);
      }
    });
    // CONCATENATED MODULE: ./src/functions/utils/assembleSupSub.js
    
    
    // For an operator with limits, assemble the base, sup, and sub into a span.
    var assembleSupSub_assembleSupSub = function assembleSupSub(base, supGroup, subGroup, options, style, slant, baseShift) {
      // IE 8 clips \int if it is in a display: inline-block. We wrap it
      // in a new span so it is an inline, and works.
      base = buildCommon.makeSpan([], [base]);
      var sub;
      var sup; // We manually have to handle the superscripts and subscripts. This,
      // aside from the kern calculations, is copied from supsub.
    
      if (supGroup) {
        var elem = buildHTML_buildGroup(supGroup, options.havingStyle(style.sup()), options);
        sup = {
          elem: elem,
          kern: Math.max(options.fontMetrics().bigOpSpacing1, options.fontMetrics().bigOpSpacing3 - elem.depth)
        };
      }
    
      if (subGroup) {
        var _elem = buildHTML_buildGroup(subGroup, options.havingStyle(style.sub()), options);
    
        sub = {
          elem: _elem,
          kern: Math.max(options.fontMetrics().bigOpSpacing2, options.fontMetrics().bigOpSpacing4 - _elem.height)
        };
      } // Build the final group as a vlist of the possible subscript, base,
      // and possible superscript.
    
    
      var finalGroup;
    
      if (sup && sub) {
        var bottom = options.fontMetrics().bigOpSpacing5 + sub.elem.height + sub.elem.depth + sub.kern + base.depth + baseShift;
        finalGroup = buildCommon.makeVList({
          positionType: "bottom",
          positionData: bottom,
          children: [{
            type: "kern",
            size: options.fontMetrics().bigOpSpacing5
          }, {
            type: "elem",
            elem: sub.elem,
            marginLeft: -slant + "em"
          }, {
            type: "kern",
            size: sub.kern
          }, {
            type: "elem",
            elem: base
          }, {
            type: "kern",
            size: sup.kern
          }, {
            type: "elem",
            elem: sup.elem,
            marginLeft: slant + "em"
          }, {
            type: "kern",
            size: options.fontMetrics().bigOpSpacing5
          }]
        }, options);
      } else if (sub) {
        var top = base.height - baseShift; // Shift the limits by the slant of the symbol. Note
        // that we are supposed to shift the limits by 1/2 of the slant,
        // but since we are centering the limits adding a full slant of
        // margin will shift by 1/2 that.
    
        finalGroup = buildCommon.makeVList({
          positionType: "top",
          positionData: top,
          children: [{
            type: "kern",
            size: options.fontMetrics().bigOpSpacing5
          }, {
            type: "elem",
            elem: sub.elem,
            marginLeft: -slant + "em"
          }, {
            type: "kern",
            size: sub.kern
          }, {
            type: "elem",
            elem: base
          }]
        }, options);
      } else if (sup) {
        var _bottom = base.depth + baseShift;
    
        finalGroup = buildCommon.makeVList({
          positionType: "bottom",
          positionData: _bottom,
          children: [{
            type: "elem",
            elem: base
          }, {
            type: "kern",
            size: sup.kern
          }, {
            type: "elem",
            elem: sup.elem,
            marginLeft: slant + "em"
          }, {
            type: "kern",
            size: options.fontMetrics().bigOpSpacing5
          }]
        }, options);
      } else {
        // This case probably shouldn't occur (this would mean the
        // supsub was sending us a group with no superscript or
        // subscript) but be safe.
        return base;
      }
    
      return buildCommon.makeSpan(["mop", "op-limits"], [finalGroup], options);
    };
    // CONCATENATED MODULE: ./src/functions/op.js
    // Limits, symbols
    
    
    
    
    
    
    
    
    
    
    // Most operators have a large successor symbol, but these don't.
    var noSuccessor = ["\\smallint"]; // NOTE: Unlike most `htmlBuilder`s, this one handles not only "op", but also
    // "supsub" since some of them (like \int) can affect super/subscripting.
    
    var op_htmlBuilder = function htmlBuilder(grp, options) {
      // Operators are handled in the TeXbook pg. 443-444, rule 13(a).
      var supGroup;
      var subGroup;
      var hasLimits = false;
      var group;
      var supSub = checkNodeType(grp, "supsub");
    
      if (supSub) {
        // If we have limits, supsub will pass us its group to handle. Pull
        // out the superscript and subscript and set the group to the op in
        // its base.
        supGroup = supSub.sup;
        subGroup = supSub.sub;
        group = assertNodeType(supSub.base, "op");
        hasLimits = true;
      } else {
        group = assertNodeType(grp, "op");
      }
    
      var style = options.style;
      var large = false;
    
      if (style.size === src_Style.DISPLAY.size && group.symbol && !utils.contains(noSuccessor, group.name)) {
        // Most symbol operators get larger in displaystyle (rule 13)
        large = true;
      }
    
      var base;
    
      if (group.symbol) {
        // If this is a symbol, create the symbol.
        var fontName = large ? "Size2-Regular" : "Size1-Regular";
        var stash = "";
    
        if (group.name === "\\oiint" || group.name === "\\oiiint") {
          // No font glyphs yet, so use a glyph w/o the oval.
          // TODO: When font glyphs are available, delete this code.
          stash = group.name.substr(1); // $FlowFixMe
    
          group.name = stash === "oiint" ? "\\iint" : "\\iiint";
        }
    
        base = buildCommon.makeSymbol(group.name, fontName, "math", options, ["mop", "op-symbol", large ? "large-op" : "small-op"]);
    
        if (stash.length > 0) {
          // We're in \oiint or \oiiint. Overlay the oval.
          // TODO: When font glyphs are available, delete this code.
          var italic = base.italic;
          var oval = buildCommon.staticSvg(stash + "Size" + (large ? "2" : "1"), options);
          base = buildCommon.makeVList({
            positionType: "individualShift",
            children: [{
              type: "elem",
              elem: base,
              shift: 0
            }, {
              type: "elem",
              elem: oval,
              shift: large ? 0.08 : 0
            }]
          }, options); // $FlowFixMe
    
          group.name = "\\" + stash;
          base.classes.unshift("mop"); // $FlowFixMe
    
          base.italic = italic;
        }
      } else if (group.body) {
        // If this is a list, compose that list.
        var inner = buildHTML_buildExpression(group.body, options, true);
    
        if (inner.length === 1 && inner[0] instanceof domTree_SymbolNode) {
          base = inner[0];
          base.classes[0] = "mop"; // replace old mclass
        } else {
          base = buildCommon.makeSpan(["mop"], buildCommon.tryCombineChars(inner), options);
        }
      } else {
        // Otherwise, this is a text operator. Build the text from the
        // operator's name.
        // TODO(emily): Add a space in the middle of some of these
        // operators, like \limsup
        var output = [];
    
        for (var i = 1; i < group.name.length; i++) {
          output.push(buildCommon.mathsym(group.name[i], group.mode, options));
        }
    
        base = buildCommon.makeSpan(["mop"], output, options);
      } // If content of op is a single symbol, shift it vertically.
    
    
      var baseShift = 0;
      var slant = 0;
    
      if ((base instanceof domTree_SymbolNode || group.name === "\\oiint" || group.name === "\\oiiint") && !group.suppressBaseShift) {
        // We suppress the shift of the base of \overset and \underset. Otherwise,
        // shift the symbol so its center lies on the axis (rule 13). It
        // appears that our fonts have the centers of the symbols already
        // almost on the axis, so these numbers are very small. Note we
        // don't actually apply this here, but instead it is used either in
        // the vlist creation or separately when there are no limits.
        baseShift = (base.height - base.depth) / 2 - options.fontMetrics().axisHeight; // The slant of the symbol is just its italic correction.
        // $FlowFixMe
    
        slant = base.italic;
      }
    
      if (hasLimits) {
        return assembleSupSub_assembleSupSub(base, supGroup, subGroup, options, style, slant, baseShift);
      } else {
        if (baseShift) {
          base.style.position = "relative";
          base.style.top = baseShift + "em";
        }
    
        return base;
      }
    };
    
    var op_mathmlBuilder = function mathmlBuilder(group, options) {
      var node;
    
      if (group.symbol) {
        // This is a symbol. Just add the symbol.
        node = new mathMLTree_MathNode("mo", [buildMathML_makeText(group.name, group.mode)]);
    
        if (utils.contains(noSuccessor, group.name)) {
          node.setAttribute("largeop", "false");
        }
      } else if (group.body) {
        // This is an operator with children. Add them.
        node = new mathMLTree_MathNode("mo", buildMathML_buildExpression(group.body, options));
      } else {
        // This is a text operator. Add all of the characters from the
        // operator's name.
        node = new mathMLTree_MathNode("mi", [new mathMLTree_TextNode(group.name.slice(1))]); // Append an <mo>&ApplyFunction;</mo>.
        // ref: https://www.w3.org/TR/REC-MathML/chap3_2.html#sec3.2.4
    
        var operator = new mathMLTree_MathNode("mo", [buildMathML_makeText("\u2061", "text")]);
    
        if (group.parentIsSupSub) {
          node = new mathMLTree_MathNode("mo", [node, operator]);
        } else {
          node = newDocumentFragment([node, operator]);
        }
      }
    
      return node;
    };
    
    var singleCharBigOps = {
      "\u220F": "\\prod",
      "\u2210": "\\coprod",
      "\u2211": "\\sum",
      "\u22C0": "\\bigwedge",
      "\u22C1": "\\bigvee",
      "\u22C2": "\\bigcap",
      "\u22C3": "\\bigcup",
      "\u2A00": "\\bigodot",
      "\u2A01": "\\bigoplus",
      "\u2A02": "\\bigotimes",
      "\u2A04": "\\biguplus",
      "\u2A06": "\\bigsqcup"
    };
    defineFunction({
      type: "op",
      names: ["\\coprod", "\\bigvee", "\\bigwedge", "\\biguplus", "\\bigcap", "\\bigcup", "\\intop", "\\prod", "\\sum", "\\bigotimes", "\\bigoplus", "\\bigodot", "\\bigsqcup", "\\smallint", "\u220F", "\u2210", "\u2211", "\u22C0", "\u22C1", "\u22C2", "\u22C3", "\u2A00", "\u2A01", "\u2A02", "\u2A04", "\u2A06"],
      props: {
        numArgs: 0
      },
      handler: function handler(_ref, args) {
        var parser = _ref.parser,
            funcName = _ref.funcName;
        var fName = funcName;
    
        if (fName.length === 1) {
          fName = singleCharBigOps[fName];
        }
    
        return {
          type: "op",
          mode: parser.mode,
          limits: true,
          parentIsSupSub: false,
          symbol: true,
          name: fName
        };
      },
      htmlBuilder: op_htmlBuilder,
      mathmlBuilder: op_mathmlBuilder
    }); // Note: calling defineFunction with a type that's already been defined only
    // works because the same htmlBuilder and mathmlBuilder are being used.
    
    defineFunction({
      type: "op",
      names: ["\\mathop"],
      props: {
        numArgs: 1
      },
      handler: function handler(_ref2, args) {
        var parser = _ref2.parser;
        var body = args[0];
        return {
          type: "op",
          mode: parser.mode,
          limits: false,
          parentIsSupSub: false,
          symbol: false,
          body: defineFunction_ordargument(body)
        };
      },
      htmlBuilder: op_htmlBuilder,
      mathmlBuilder: op_mathmlBuilder
    }); // There are 2 flags for operators; whether they produce limits in
    // displaystyle, and whether they are symbols and should grow in
    // displaystyle. These four groups cover the four possible choices.
    
    var singleCharIntegrals = {
      "\u222B": "\\int",
      "\u222C": "\\iint",
      "\u222D": "\\iiint",
      "\u222E": "\\oint",
      "\u222F": "\\oiint",
      "\u2230": "\\oiiint"
    }; // No limits, not symbols
    
    defineFunction({
      type: "op",
      names: ["\\arcsin", "\\arccos", "\\arctan", "\\arctg", "\\arcctg", "\\arg", "\\ch", "\\cos", "\\cosec", "\\cosh", "\\cot", "\\cotg", "\\coth", "\\csc", "\\ctg", "\\cth", "\\deg", "\\dim", "\\exp", "\\hom", "\\ker", "\\lg", "\\ln", "\\log", "\\sec", "\\sin", "\\sinh", "\\sh", "\\tan", "\\tanh", "\\tg", "\\th"],
      props: {
        numArgs: 0
      },
      handler: function handler(_ref3) {
        var parser = _ref3.parser,
            funcName = _ref3.funcName;
        return {
          type: "op",
          mode: parser.mode,
          limits: false,
          parentIsSupSub: false,
          symbol: false,
          name: funcName
        };
      },
      htmlBuilder: op_htmlBuilder,
      mathmlBuilder: op_mathmlBuilder
    }); // Limits, not symbols
    
    defineFunction({
      type: "op",
      names: ["\\det", "\\gcd", "\\inf", "\\lim", "\\max", "\\min", "\\Pr", "\\sup"],
      props: {
        numArgs: 0
      },
      handler: function handler(_ref4) {
        var parser = _ref4.parser,
            funcName = _ref4.funcName;
        return {
          type: "op",
          mode: parser.mode,
          limits: true,
          parentIsSupSub: false,
          symbol: false,
          name: funcName
        };
      },
      htmlBuilder: op_htmlBuilder,
      mathmlBuilder: op_mathmlBuilder
    }); // No limits, symbols
    
    defineFunction({
      type: "op",
      names: ["\\int", "\\iint", "\\iiint", "\\oint", "\\oiint", "\\oiiint", "\u222B", "\u222C", "\u222D", "\u222E", "\u222F", "\u2230"],
      props: {
        numArgs: 0
      },
      handler: function handler(_ref5) {
        var parser = _ref5.parser,
            funcName = _ref5.funcName;
        var fName = funcName;
    
        if (fName.length === 1) {
          fName = singleCharIntegrals[fName];
        }
    
        return {
          type: "op",
          mode: parser.mode,
          limits: false,
          parentIsSupSub: false,
          symbol: true,
          name: fName
        };
      },
      htmlBuilder: op_htmlBuilder,
      mathmlBuilder: op_mathmlBuilder
    });
    // CONCATENATED MODULE: ./src/functions/operatorname.js
    
    
    
    
    
    
    
    
    // NOTE: Unlike most `htmlBuilder`s, this one handles not only
    // "operatorname", but also  "supsub" since \operatorname* can
    var operatorname_htmlBuilder = function htmlBuilder(grp, options) {
      // Operators are handled in the TeXbook pg. 443-444, rule 13(a).
      var supGroup;
      var subGroup;
      var hasLimits = false;
      var group;
      var supSub = checkNodeType(grp, "supsub");
    
      if (supSub) {
        // If we have limits, supsub will pass us its group to handle. Pull
        // out the superscript and subscript and set the group to the op in
        // its base.
        supGroup = supSub.sup;
        subGroup = supSub.sub;
        group = assertNodeType(supSub.base, "operatorname");
        hasLimits = true;
      } else {
        group = assertNodeType(grp, "operatorname");
      }
    
      var base;
    
      if (group.body.length > 0) {
        var body = group.body.map(function (child) {
          // $FlowFixMe: Check if the node has a string `text` property.
          var childText = child.text;
    
          if (typeof childText === "string") {
            return {
              type: "textord",
              mode: child.mode,
              text: childText
            };
          } else {
            return child;
          }
        }); // Consolidate function names into symbol characters.
    
        var expression = buildHTML_buildExpression(body, options.withFont("mathrm"), true);
    
        for (var i = 0; i < expression.length; i++) {
          var child = expression[i];
    
          if (child instanceof domTree_SymbolNode) {
            // Per amsopn package,
            // change minus to hyphen and \ast to asterisk
            child.text = child.text.replace(/\u2212/, "-").replace(/\u2217/, "*");
          }
        }
    
        base = buildCommon.makeSpan(["mop"], expression, options);
      } else {
        base = buildCommon.makeSpan(["mop"], [], options);
      }
    
      if (hasLimits) {
        return assembleSupSub_assembleSupSub(base, supGroup, subGroup, options, options.style, 0, 0);
      } else {
        return base;
      }
    };
    
    var operatorname_mathmlBuilder = function mathmlBuilder(group, options) {
      // The steps taken here are similar to the html version.
      var expression = buildMathML_buildExpression(group.body, options.withFont("mathrm")); // Is expression a string or has it something like a fraction?
    
      var isAllString = true; // default
    
      for (var i = 0; i < expression.length; i++) {
        var node = expression[i];
    
        if (node instanceof mathMLTree.SpaceNode) {// Do nothing
        } else if (node instanceof mathMLTree.MathNode) {
          switch (node.type) {
            case "mi":
            case "mn":
            case "ms":
            case "mspace":
            case "mtext":
              break;
            // Do nothing yet.
    
            case "mo":
              {
                var child = node.children[0];
    
                if (node.children.length === 1 && child instanceof mathMLTree.TextNode) {
                  child.text = child.text.replace(/\u2212/, "-").replace(/\u2217/, "*");
                } else {
                  isAllString = false;
                }
    
                break;
              }
    
            default:
              isAllString = false;
          }
        } else {
          isAllString = false;
        }
      }
    
      if (isAllString) {
        // Write a single TextNode instead of multiple nested tags.
        var word = expression.map(function (node) {
          return node.toText();
        }).join("");
        expression = [new mathMLTree.TextNode(word)];
      }
    
      var identifier = new mathMLTree.MathNode("mi", expression);
      identifier.setAttribute("mathvariant", "normal"); // \u2061 is the same as &ApplyFunction;
      // ref: https://www.w3schools.com/charsets/ref_html_entities_a.asp
    
      var operator = new mathMLTree.MathNode("mo", [buildMathML_makeText("\u2061", "text")]);
    
      if (group.parentIsSupSub) {
        return new mathMLTree.MathNode("mo", [identifier, operator]);
      } else {
        return mathMLTree.newDocumentFragment([identifier, operator]);
      }
    }; // \operatorname
    // amsopn.dtx: \mathop{#1\kern\z@\operator@font#3}\newmcodes@
    
    
    defineFunction({
      type: "operatorname",
      names: ["\\operatorname", "\\operatorname*"],
      props: {
        numArgs: 1
      },
      handler: function handler(_ref, args) {
        var parser = _ref.parser,
            funcName = _ref.funcName;
        var body = args[0];
        return {
          type: "operatorname",
          mode: parser.mode,
          body: defineFunction_ordargument(body),
          alwaysHandleSupSub: funcName === "\\operatorname*",
          limits: false,
          parentIsSupSub: false
        };
      },
      htmlBuilder: operatorname_htmlBuilder,
      mathmlBuilder: operatorname_mathmlBuilder
    });
    // CONCATENATED MODULE: ./src/functions/ordgroup.js
    
    
    
    
    defineFunctionBuilders({
      type: "ordgroup",
      htmlBuilder: function htmlBuilder(group, options) {
        if (group.semisimple) {
          return buildCommon.makeFragment(buildHTML_buildExpression(group.body, options, false));
        }
    
        return buildCommon.makeSpan(["mord"], buildHTML_buildExpression(group.body, options, true), options);
      },
      mathmlBuilder: function mathmlBuilder(group, options) {
        return buildExpressionRow(group.body, options, true);
      }
    });
    // CONCATENATED MODULE: ./src/functions/overline.js
    
    
    
    
    
    defineFunction({
      type: "overline",
      names: ["\\overline"],
      props: {
        numArgs: 1
      },
      handler: function handler(_ref, args) {
        var parser = _ref.parser;
        var body = args[0];
        return {
          type: "overline",
          mode: parser.mode,
          body: body
        };
      },
      htmlBuilder: function htmlBuilder(group, options) {
        // Overlines are handled in the TeXbook pg 443, Rule 9.
        // Build the inner group in the cramped style.
        var innerGroup = buildHTML_buildGroup(group.body, options.havingCrampedStyle()); // Create the line above the body
    
        var line = buildCommon.makeLineSpan("overline-line", options); // Generate the vlist, with the appropriate kerns
    
        var defaultRuleThickness = options.fontMetrics().defaultRuleThickness;
        var vlist = buildCommon.makeVList({
          positionType: "firstBaseline",
          children: [{
            type: "elem",
            elem: innerGroup
          }, {
            type: "kern",
            size: 3 * defaultRuleThickness
          }, {
            type: "elem",
            elem: line
          }, {
            type: "kern",
            size: defaultRuleThickness
          }]
        }, options);
        return buildCommon.makeSpan(["mord", "overline"], [vlist], options);
      },
      mathmlBuilder: function mathmlBuilder(group, options) {
        var operator = new mathMLTree.MathNode("mo", [new mathMLTree.TextNode("\u203E")]);
        operator.setAttribute("stretchy", "true");
        var node = new mathMLTree.MathNode("mover", [buildMathML_buildGroup(group.body, options), operator]);
        node.setAttribute("accent", "true");
        return node;
      }
    });
    // CONCATENATED MODULE: ./src/functions/phantom.js
    
    
    
    
    
    defineFunction({
      type: "phantom",
      names: ["\\phantom"],
      props: {
        numArgs: 1,
        allowedInText: true
      },
      handler: function handler(_ref, args) {
        var parser = _ref.parser;
        var body = args[0];
        return {
          type: "phantom",
          mode: parser.mode,
          body: defineFunction_ordargument(body)
        };
      },
      htmlBuilder: function htmlBuilder(group, options) {
        var elements = buildHTML_buildExpression(group.body, options.withPhantom(), false); // \phantom isn't supposed to affect the elements it contains.
        // See "color" for more details.
    
        return buildCommon.makeFragment(elements);
      },
      mathmlBuilder: function mathmlBuilder(group, options) {
        var inner = buildMathML_buildExpression(group.body, options);
        return new mathMLTree.MathNode("mphantom", inner);
      }
    });
    defineFunction({
      type: "hphantom",
      names: ["\\hphantom"],
      props: {
        numArgs: 1,
        allowedInText: true
      },
      handler: function handler(_ref2, args) {
        var parser = _ref2.parser;
        var body = args[0];
        return {
          type: "hphantom",
          mode: parser.mode,
          body: body
        };
      },
      htmlBuilder: function htmlBuilder(group, options) {
        var node = buildCommon.makeSpan([], [buildHTML_buildGroup(group.body, options.withPhantom())]);
        node.height = 0;
        node.depth = 0;
    
        if (node.children) {
          for (var i = 0; i < node.children.length; i++) {
            node.children[i].height = 0;
            node.children[i].depth = 0;
          }
        } // See smash for comment re: use of makeVList
    
    
        node = buildCommon.makeVList({
          positionType: "firstBaseline",
          children: [{
            type: "elem",
            elem: node
          }]
        }, options); // For spacing, TeX treats \smash as a math group (same spacing as ord).
    
        return buildCommon.makeSpan(["mord"], [node], options);
      },
      mathmlBuilder: function mathmlBuilder(group, options) {
        var inner = buildMathML_buildExpression(defineFunction_ordargument(group.body), options);
        var phantom = new mathMLTree.MathNode("mphantom", inner);
        var node = new mathMLTree.MathNode("mpadded", [phantom]);
        node.setAttribute("height", "0px");
        node.setAttribute("depth", "0px");
        return node;
      }
    });
    defineFunction({
      type: "vphantom",
      names: ["\\vphantom"],
      props: {
        numArgs: 1,
        allowedInText: true
      },
      handler: function handler(_ref3, args) {
        var parser = _ref3.parser;
        var body = args[0];
        return {
          type: "vphantom",
          mode: parser.mode,
          body: body
        };
      },
      htmlBuilder: function htmlBuilder(group, options) {
        var inner = buildCommon.makeSpan(["inner"], [buildHTML_buildGroup(group.body, options.withPhantom())]);
        var fix = buildCommon.makeSpan(["fix"], []);
        return buildCommon.makeSpan(["mord", "rlap"], [inner, fix], options);
      },
      mathmlBuilder: function mathmlBuilder(group, options) {
        var inner = buildMathML_buildExpression(defineFunction_ordargument(group.body), options);
        var phantom = new mathMLTree.MathNode("mphantom", inner);
        var node = new mathMLTree.MathNode("mpadded", [phantom]);
        node.setAttribute("width", "0px");
        return node;
      }
    });
    // CONCATENATED MODULE: ./src/functions/raisebox.js
    
    
    
    
    
    
     // Box manipulation
    
    defineFunction({
      type: "raisebox",
      names: ["\\raisebox"],
      props: {
        numArgs: 2,
        argTypes: ["size", "hbox"],
        allowedInText: true
      },
      handler: function handler(_ref, args) {
        var parser = _ref.parser;
        var amount = assertNodeType(args[0], "size").value;
        var body = args[1];
        return {
          type: "raisebox",
          mode: parser.mode,
          dy: amount,
          body: body
        };
      },
      htmlBuilder: function htmlBuilder(group, options) {
        var body = buildHTML_buildGroup(group.body, options);
        var dy = units_calculateSize(group.dy, options);
        return buildCommon.makeVList({
          positionType: "shift",
          positionData: -dy,
          children: [{
            type: "elem",
            elem: body
          }]
        }, options);
      },
      mathmlBuilder: function mathmlBuilder(group, options) {
        var node = new mathMLTree.MathNode("mpadded", [buildMathML_buildGroup(group.body, options)]);
        var dy = group.dy.number + group.dy.unit;
        node.setAttribute("voffset", dy);
        return node;
      }
    });
    // CONCATENATED MODULE: ./src/functions/rule.js
    
    
    
    
    
    defineFunction({
      type: "rule",
      names: ["\\rule"],
      props: {
        numArgs: 2,
        numOptionalArgs: 1,
        argTypes: ["size", "size", "size"]
      },
      handler: function handler(_ref, args, optArgs) {
        var parser = _ref.parser;
        var shift = optArgs[0];
        var width = assertNodeType(args[0], "size");
        var height = assertNodeType(args[1], "size");
        return {
          type: "rule",
          mode: parser.mode,
          shift: shift && assertNodeType(shift, "size").value,
          width: width.value,
          height: height.value
        };
      },
      htmlBuilder: function htmlBuilder(group, options) {
        // Make an empty span for the rule
        var rule = buildCommon.makeSpan(["mord", "rule"], [], options); // Calculate the shift, width, and height of the rule, and account for units
    
        var width = units_calculateSize(group.width, options);
        var height = units_calculateSize(group.height, options);
        var shift = group.shift ? units_calculateSize(group.shift, options) : 0; // Style the rule to the right size
    
        rule.style.borderRightWidth = width + "em";
        rule.style.borderTopWidth = height + "em";
        rule.style.bottom = shift + "em"; // Record the height and width
    
        rule.width = width;
        rule.height = height + shift;
        rule.depth = -shift; // Font size is the number large enough that the browser will
        // reserve at least `absHeight` space above the baseline.
        // The 1.125 factor was empirically determined
    
        rule.maxFontSize = height * 1.125 * options.sizeMultiplier;
        return rule;
      },
      mathmlBuilder: function mathmlBuilder(group, options) {
        var width = units_calculateSize(group.width, options);
        var height = units_calculateSize(group.height, options);
        var shift = group.shift ? units_calculateSize(group.shift, options) : 0;
        var color = options.color && options.getColor() || "black";
        var rule = new mathMLTree.MathNode("mspace");
        rule.setAttribute("mathbackground", color);
        rule.setAttribute("width", width + "em");
        rule.setAttribute("height", height + "em");
        var wrapper = new mathMLTree.MathNode("mpadded", [rule]);
    
        if (shift >= 0) {
          wrapper.setAttribute("height", "+" + shift + "em");
        } else {
          wrapper.setAttribute("height", shift + "em");
          wrapper.setAttribute("depth", "+" + -shift + "em");
        }
    
        wrapper.setAttribute("voffset", shift + "em");
        return wrapper;
      }
    });
    // CONCATENATED MODULE: ./src/functions/sizing.js
    
    
    
    
    
    function sizingGroup(value, options, baseOptions) {
      var inner = buildHTML_buildExpression(value, options, false);
      var multiplier = options.sizeMultiplier / baseOptions.sizeMultiplier; // Add size-resetting classes to the inner list and set maxFontSize
      // manually. Handle nested size changes.
    
      for (var i = 0; i < inner.length; i++) {
        var pos = inner[i].classes.indexOf("sizing");
    
        if (pos < 0) {
          Array.prototype.push.apply(inner[i].classes, options.sizingClasses(baseOptions));
        } else if (inner[i].classes[pos + 1] === "reset-size" + options.size) {
          // This is a nested size change: e.g., inner[i] is the "b" in
          // `\Huge a \small b`. Override the old size (the `reset-` class)
          // but not the new size.
          inner[i].classes[pos + 1] = "reset-size" + baseOptions.size;
        }
    
        inner[i].height *= multiplier;
        inner[i].depth *= multiplier;
      }
    
      return buildCommon.makeFragment(inner);
    }
    var sizeFuncs = ["\\tiny", "\\sixptsize", "\\scriptsize", "\\footnotesize", "\\small", "\\normalsize", "\\large", "\\Large", "\\LARGE", "\\huge", "\\Huge"];
    var sizing_htmlBuilder = function htmlBuilder(group, options) {
      // Handle sizing operators like \Huge. Real TeX doesn't actually allow
      // these functions inside of math expressions, so we do some special
      // handling.
      var newOptions = options.havingSize(group.size);
      return sizingGroup(group.body, newOptions, options);
    };
    defineFunction({
      type: "sizing",
      names: sizeFuncs,
      props: {
        numArgs: 0,
        allowedInText: true
      },
      handler: function handler(_ref, args) {
        var breakOnTokenText = _ref.breakOnTokenText,
            funcName = _ref.funcName,
            parser = _ref.parser;
        var body = parser.parseExpression(false, breakOnTokenText);
        return {
          type: "sizing",
          mode: parser.mode,
          // Figure out what size to use based on the list of functions above
          size: sizeFuncs.indexOf(funcName) + 1,
          body: body
        };
      },
      htmlBuilder: sizing_htmlBuilder,
      mathmlBuilder: function mathmlBuilder(group, options) {
        var newOptions = options.havingSize(group.size);
        var inner = buildMathML_buildExpression(group.body, newOptions);
        var node = new mathMLTree.MathNode("mstyle", inner); // TODO(emily): This doesn't produce the correct size for nested size
        // changes, because we don't keep state of what style we're currently
        // in, so we can't reset the size to normal before changing it.  Now
        // that we're passing an options parameter we should be able to fix
        // this.
    
        node.setAttribute("mathsize", newOptions.sizeMultiplier + "em");
        return node;
      }
    });
    // CONCATENATED MODULE: ./src/functions/smash.js
    // smash, with optional [tb], as in AMS
    
    
    
    
    
    
    defineFunction({
      type: "smash",
      names: ["\\smash"],
      props: {
        numArgs: 1,
        numOptionalArgs: 1,
        allowedInText: true
      },
      handler: function handler(_ref, args, optArgs) {
        var parser = _ref.parser;
        var smashHeight = false;
        var smashDepth = false;
        var tbArg = optArgs[0] && assertNodeType(optArgs[0], "ordgroup");
    
        if (tbArg) {
          // Optional [tb] argument is engaged.
          // ref: amsmath: \renewcommand{\smash}[1][tb]{%
          //               def\mb@t{\ht}\def\mb@b{\dp}\def\mb@tb{\ht\z@\z@\dp}%
          var letter = "";
    
          for (var i = 0; i < tbArg.body.length; ++i) {
            var node = tbArg.body[i]; // $FlowFixMe: Not every node type has a `text` property.
    
            letter = node.text;
    
            if (letter === "t") {
              smashHeight = true;
            } else if (letter === "b") {
              smashDepth = true;
            } else {
              smashHeight = false;
              smashDepth = false;
              break;
            }
          }
        } else {
          smashHeight = true;
          smashDepth = true;
        }
    
        var body = args[0];
        return {
          type: "smash",
          mode: parser.mode,
          body: body,
          smashHeight: smashHeight,
          smashDepth: smashDepth
        };
      },
      htmlBuilder: function htmlBuilder(group, options) {
        var node = buildCommon.makeSpan([], [buildHTML_buildGroup(group.body, options)]);
    
        if (!group.smashHeight && !group.smashDepth) {
          return node;
        }
    
        if (group.smashHeight) {
          node.height = 0; // In order to influence makeVList, we have to reset the children.
    
          if (node.children) {
            for (var i = 0; i < node.children.length; i++) {
              node.children[i].height = 0;
            }
          }
        }
    
        if (group.smashDepth) {
          node.depth = 0;
    
          if (node.children) {
            for (var _i = 0; _i < node.children.length; _i++) {
              node.children[_i].depth = 0;
            }
          }
        } // At this point, we've reset the TeX-like height and depth values.
        // But the span still has an HTML line height.
        // makeVList applies "display: table-cell", which prevents the browser
        // from acting on that line height. So we'll call makeVList now.
    
    
        var smashedNode = buildCommon.makeVList({
          positionType: "firstBaseline",
          children: [{
            type: "elem",
            elem: node
          }]
        }, options); // For spacing, TeX treats \hphantom as a math group (same spacing as ord).
    
        return buildCommon.makeSpan(["mord"], [smashedNode], options);
      },
      mathmlBuilder: function mathmlBuilder(group, options) {
        var node = new mathMLTree.MathNode("mpadded", [buildMathML_buildGroup(group.body, options)]);
    
        if (group.smashHeight) {
          node.setAttribute("height", "0px");
        }
    
        if (group.smashDepth) {
          node.setAttribute("depth", "0px");
        }
    
        return node;
      }
    });
    // CONCATENATED MODULE: ./src/functions/sqrt.js
    
    
    
    
    
    
    
    defineFunction({
      type: "sqrt",
      names: ["\\sqrt"],
      props: {
        numArgs: 1,
        numOptionalArgs: 1
      },
      handler: function handler(_ref, args, optArgs) {
        var parser = _ref.parser;
        var index = optArgs[0];
        var body = args[0];
        return {
          type: "sqrt",
          mode: parser.mode,
          body: body,
          index: index
        };
      },
      htmlBuilder: function htmlBuilder(group, options) {
        // Square roots are handled in the TeXbook pg. 443, Rule 11.
        // First, we do the same steps as in overline to build the inner group
        // and line
        var inner = buildHTML_buildGroup(group.body, options.havingCrampedStyle());
    
        if (inner.height === 0) {
          // Render a small surd.
          inner.height = options.fontMetrics().xHeight;
        } // Some groups can return document fragments.  Handle those by wrapping
        // them in a span.
    
    
        inner = buildCommon.wrapFragment(inner, options); // Calculate the minimum size for the \surd delimiter
    
        var metrics = options.fontMetrics();
        var theta = metrics.defaultRuleThickness;
        var phi = theta;
    
        if (options.style.id < src_Style.TEXT.id) {
          phi = options.fontMetrics().xHeight;
        } // Calculate the clearance between the body and line
    
    
        var lineClearance = theta + phi / 4;
        var minDelimiterHeight = inner.height + inner.depth + lineClearance + theta; // Create a sqrt SVG of the required minimum size
    
        var _delimiter$sqrtImage = delimiter.sqrtImage(minDelimiterHeight, options),
            img = _delimiter$sqrtImage.span,
            ruleWidth = _delimiter$sqrtImage.ruleWidth,
            advanceWidth = _delimiter$sqrtImage.advanceWidth;
    
        var delimDepth = img.height - ruleWidth; // Adjust the clearance based on the delimiter size
    
        if (delimDepth > inner.height + inner.depth + lineClearance) {
          lineClearance = (lineClearance + delimDepth - inner.height - inner.depth) / 2;
        } // Shift the sqrt image
    
    
        var imgShift = img.height - inner.height - lineClearance - ruleWidth;
        inner.style.paddingLeft = advanceWidth + "em"; // Overlay the image and the argument.
    
        var body = buildCommon.makeVList({
          positionType: "firstBaseline",
          children: [{
            type: "elem",
            elem: inner,
            wrapperClasses: ["svg-align"]
          }, {
            type: "kern",
            size: -(inner.height + imgShift)
          }, {
            type: "elem",
            elem: img
          }, {
            type: "kern",
            size: ruleWidth
          }]
        }, options);
    
        if (!group.index) {
          return buildCommon.makeSpan(["mord", "sqrt"], [body], options);
        } else {
          // Handle the optional root index
          // The index is always in scriptscript style
          var newOptions = options.havingStyle(src_Style.SCRIPTSCRIPT);
          var rootm = buildHTML_buildGroup(group.index, newOptions, options); // The amount the index is shifted by. This is taken from the TeX
          // source, in the definition of `\r@@t`.
    
          var toShift = 0.6 * (body.height - body.depth); // Build a VList with the superscript shifted up correctly
    
          var rootVList = buildCommon.makeVList({
            positionType: "shift",
            positionData: -toShift,
            children: [{
              type: "elem",
              elem: rootm
            }]
          }, options); // Add a class surrounding it so we can add on the appropriate
          // kerning
    
          var rootVListWrap = buildCommon.makeSpan(["root"], [rootVList]);
          return buildCommon.makeSpan(["mord", "sqrt"], [rootVListWrap, body], options);
        }
      },
      mathmlBuilder: function mathmlBuilder(group, options) {
        var body = group.body,
            index = group.index;
        return index ? new mathMLTree.MathNode("mroot", [buildMathML_buildGroup(body, options), buildMathML_buildGroup(index, options)]) : new mathMLTree.MathNode("msqrt", [buildMathML_buildGroup(body, options)]);
      }
    });
    // CONCATENATED MODULE: ./src/functions/styling.js
    
    
    
    
    
    var styling_styleMap = {
      "display": src_Style.DISPLAY,
      "text": src_Style.TEXT,
      "script": src_Style.SCRIPT,
      "scriptscript": src_Style.SCRIPTSCRIPT
    };
    defineFunction({
      type: "styling",
      names: ["\\displaystyle", "\\textstyle", "\\scriptstyle", "\\scriptscriptstyle"],
      props: {
        numArgs: 0,
        allowedInText: true
      },
      handler: function handler(_ref, args) {
        var breakOnTokenText = _ref.breakOnTokenText,
            funcName = _ref.funcName,
            parser = _ref.parser;
        // parse out the implicit body
        var body = parser.parseExpression(true, breakOnTokenText); // TODO: Refactor to avoid duplicating styleMap in multiple places (e.g.
        // here and in buildHTML and de-dupe the enumeration of all the styles).
        // $FlowFixMe: The names above exactly match the styles.
    
        var style = funcName.slice(1, funcName.length - 5);
        return {
          type: "styling",
          mode: parser.mode,
          // Figure out what style to use by pulling out the style from
          // the function name
          style: style,
          body: body
        };
      },
      htmlBuilder: function htmlBuilder(group, options) {
        // Style changes are handled in the TeXbook on pg. 442, Rule 3.
        var newStyle = styling_styleMap[group.style];
        var newOptions = options.havingStyle(newStyle).withFont('');
        return sizingGroup(group.body, newOptions, options);
      },
      mathmlBuilder: function mathmlBuilder(group, options) {
        // Figure out what style we're changing to.
        var newStyle = styling_styleMap[group.style];
        var newOptions = options.havingStyle(newStyle);
        var inner = buildMathML_buildExpression(group.body, newOptions);
        var node = new mathMLTree.MathNode("mstyle", inner);
        var styleAttributes = {
          "display": ["0", "true"],
          "text": ["0", "false"],
          "script": ["1", "false"],
          "scriptscript": ["2", "false"]
        };
        var attr = styleAttributes[group.style];
        node.setAttribute("scriptlevel", attr[0]);
        node.setAttribute("displaystyle", attr[1]);
        return node;
      }
    });
    // CONCATENATED MODULE: ./src/functions/supsub.js
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    /**
     * Sometimes, groups perform special rules when they have superscripts or
     * subscripts attached to them. This function lets the `supsub` group know that
     * Sometimes, groups perform special rules when they have superscripts or
     * its inner element should handle the superscripts and subscripts instead of
     * handling them itself.
     */
    var supsub_htmlBuilderDelegate = function htmlBuilderDelegate(group, options) {
      var base = group.base;
    
      if (!base) {
        return null;
      } else if (base.type === "op") {
        // Operators handle supsubs differently when they have limits
        // (e.g. `\displaystyle\sum_2^3`)
        var delegate = base.limits && (options.style.size === src_Style.DISPLAY.size || base.alwaysHandleSupSub);
        return delegate ? op_htmlBuilder : null;
      } else if (base.type === "operatorname") {
        var _delegate = base.alwaysHandleSupSub && (options.style.size === src_Style.DISPLAY.size || base.limits);
    
        return _delegate ? operatorname_htmlBuilder : null;
      } else if (base.type === "accent") {
        return utils.isCharacterBox(base.base) ? accent_htmlBuilder : null;
      } else if (base.type === "horizBrace") {
        var isSup = !group.sub;
        return isSup === base.isOver ? horizBrace_htmlBuilder : null;
      } else {
        return null;
      }
    }; // Super scripts and subscripts, whose precise placement can depend on other
    // functions that precede them.
    
    
    defineFunctionBuilders({
      type: "supsub",
      htmlBuilder: function htmlBuilder(group, options) {
        // Superscript and subscripts are handled in the TeXbook on page
        // 445-446, rules 18(a-f).
        // Here is where we defer to the inner group if it should handle
        // superscripts and subscripts itself.
        var builderDelegate = supsub_htmlBuilderDelegate(group, options);
    
        if (builderDelegate) {
          return builderDelegate(group, options);
        }
    
        var valueBase = group.base,
            valueSup = group.sup,
            valueSub = group.sub;
        var base = buildHTML_buildGroup(valueBase, options);
        var supm;
        var subm;
        var metrics = options.fontMetrics(); // Rule 18a
    
        var supShift = 0;
        var subShift = 0;
        var isCharacterBox = valueBase && utils.isCharacterBox(valueBase);
    
        if (valueSup) {
          var newOptions = options.havingStyle(options.style.sup());
          supm = buildHTML_buildGroup(valueSup, newOptions, options);
    
          if (!isCharacterBox) {
            supShift = base.height - newOptions.fontMetrics().supDrop * newOptions.sizeMultiplier / options.sizeMultiplier;
          }
        }
    
        if (valueSub) {
          var _newOptions = options.havingStyle(options.style.sub());
    
          subm = buildHTML_buildGroup(valueSub, _newOptions, options);
    
          if (!isCharacterBox) {
            subShift = base.depth + _newOptions.fontMetrics().subDrop * _newOptions.sizeMultiplier / options.sizeMultiplier;
          }
        } // Rule 18c
    
    
        var minSupShift;
    
        if (options.style === src_Style.DISPLAY) {
          minSupShift = metrics.sup1;
        } else if (options.style.cramped) {
          minSupShift = metrics.sup3;
        } else {
          minSupShift = metrics.sup2;
        } // scriptspace is a font-size-independent size, so scale it
        // appropriately for use as the marginRight.
    
    
        var multiplier = options.sizeMultiplier;
        var marginRight = 0.5 / metrics.ptPerEm / multiplier + "em";
        var marginLeft = null;
    
        if (subm) {
          // Subscripts shouldn't be shifted by the base's italic correction.
          // Account for that by shifting the subscript back the appropriate
          // amount. Note we only do this when the base is a single symbol.
          var isOiint = group.base && group.base.type === "op" && group.base.name && (group.base.name === "\\oiint" || group.base.name === "\\oiiint");
    
          if (base instanceof domTree_SymbolNode || isOiint) {
            // $FlowFixMe
            marginLeft = -base.italic + "em";
          }
        }
    
        var supsub;
    
        if (supm && subm) {
          supShift = Math.max(supShift, minSupShift, supm.depth + 0.25 * metrics.xHeight);
          subShift = Math.max(subShift, metrics.sub2);
          var ruleWidth = metrics.defaultRuleThickness; // Rule 18e
    
          var maxWidth = 4 * ruleWidth;
    
          if (supShift - supm.depth - (subm.height - subShift) < maxWidth) {
            subShift = maxWidth - (supShift - supm.depth) + subm.height;
            var psi = 0.8 * metrics.xHeight - (supShift - supm.depth);
    
            if (psi > 0) {
              supShift += psi;
              subShift -= psi;
            }
          }
    
          var vlistElem = [{
            type: "elem",
            elem: subm,
            shift: subShift,
            marginRight: marginRight,
            marginLeft: marginLeft
          }, {
            type: "elem",
            elem: supm,
            shift: -supShift,
            marginRight: marginRight
          }];
          supsub = buildCommon.makeVList({
            positionType: "individualShift",
            children: vlistElem
          }, options);
        } else if (subm) {
          // Rule 18b
          subShift = Math.max(subShift, metrics.sub1, subm.height - 0.8 * metrics.xHeight);
          var _vlistElem = [{
            type: "elem",
            elem: subm,
            marginLeft: marginLeft,
            marginRight: marginRight
          }];
          supsub = buildCommon.makeVList({
            positionType: "shift",
            positionData: subShift,
            children: _vlistElem
          }, options);
        } else if (supm) {
          // Rule 18c, d
          supShift = Math.max(supShift, minSupShift, supm.depth + 0.25 * metrics.xHeight);
          supsub = buildCommon.makeVList({
            positionType: "shift",
            positionData: -supShift,
            children: [{
              type: "elem",
              elem: supm,
              marginRight: marginRight
            }]
          }, options);
        } else {
          throw new Error("supsub must have either sup or sub.");
        } // Wrap the supsub vlist in a span.msupsub to reset text-align.
    
    
        var mclass = getTypeOfDomTree(base, "right") || "mord";
        return buildCommon.makeSpan([mclass], [base, buildCommon.makeSpan(["msupsub"], [supsub])], options);
      },
      mathmlBuilder: function mathmlBuilder(group, options) {
        // Is the inner group a relevant horizonal brace?
        var isBrace = false;
        var isOver;
        var isSup;
        var horizBrace = checkNodeType(group.base, "horizBrace");
    
        if (horizBrace) {
          isSup = !!group.sup;
    
          if (isSup === horizBrace.isOver) {
            isBrace = true;
            isOver = horizBrace.isOver;
          }
        }
    
        if (group.base && (group.base.type === "op" || group.base.type === "operatorname")) {
          group.base.parentIsSupSub = true;
        }
    
        var children = [buildMathML_buildGroup(group.base, options)];
    
        if (group.sub) {
          children.push(buildMathML_buildGroup(group.sub, options));
        }
    
        if (group.sup) {
          children.push(buildMathML_buildGroup(group.sup, options));
        }
    
        var nodeType;
    
        if (isBrace) {
          nodeType = isOver ? "mover" : "munder";
        } else if (!group.sub) {
          var base = group.base;
    
          if (base && base.type === "op" && base.limits && (options.style === src_Style.DISPLAY || base.alwaysHandleSupSub)) {
            nodeType = "mover";
          } else if (base && base.type === "operatorname" && base.alwaysHandleSupSub && (base.limits || options.style === src_Style.DISPLAY)) {
            nodeType = "mover";
          } else {
            nodeType = "msup";
          }
        } else if (!group.sup) {
          var _base = group.base;
    
          if (_base && _base.type === "op" && _base.limits && (options.style === src_Style.DISPLAY || _base.alwaysHandleSupSub)) {
            nodeType = "munder";
          } else if (_base && _base.type === "operatorname" && _base.alwaysHandleSupSub && (_base.limits || options.style === src_Style.DISPLAY)) {
            nodeType = "munder";
          } else {
            nodeType = "msub";
          }
        } else {
          var _base2 = group.base;
    
          if (_base2 && _base2.type === "op" && _base2.limits && options.style === src_Style.DISPLAY) {
            nodeType = "munderover";
          } else if (_base2 && _base2.type === "operatorname" && _base2.alwaysHandleSupSub && (options.style === src_Style.DISPLAY || _base2.limits)) {
            nodeType = "munderover";
          } else {
            nodeType = "msubsup";
          }
        }
    
        var node = new mathMLTree.MathNode(nodeType, children);
        return node;
      }
    });
    // CONCATENATED MODULE: ./src/functions/symbolsOp.js
    
    
    
     // Operator ParseNodes created in Parser.js from symbol Groups in src/symbols.js.
    
    defineFunctionBuilders({
      type: "atom",
      htmlBuilder: function htmlBuilder(group, options) {
        return buildCommon.mathsym(group.text, group.mode, options, ["m" + group.family]);
      },
      mathmlBuilder: function mathmlBuilder(group, options) {
        var node = new mathMLTree.MathNode("mo", [buildMathML_makeText(group.text, group.mode)]);
    
        if (group.family === "bin") {
          var variant = buildMathML_getVariant(group, options);
    
          if (variant === "bold-italic") {
            node.setAttribute("mathvariant", variant);
          }
        } else if (group.family === "punct") {
          node.setAttribute("separator", "true");
        } else if (group.family === "open" || group.family === "close") {
          // Delims built here should not stretch vertically.
          // See delimsizing.js for stretchy delims.
          node.setAttribute("stretchy", "false");
        }
    
        return node;
      }
    });
    // CONCATENATED MODULE: ./src/functions/symbolsOrd.js
    
    
    
    
    // "mathord" and "textord" ParseNodes created in Parser.js from symbol Groups in
    var defaultVariant = {
      "mi": "italic",
      "mn": "normal",
      "mtext": "normal"
    };
    defineFunctionBuilders({
      type: "mathord",
      htmlBuilder: function htmlBuilder(group, options) {
        return buildCommon.makeOrd(group, options, "mathord");
      },
      mathmlBuilder: function mathmlBuilder(group, options) {
        var node = new mathMLTree.MathNode("mi", [buildMathML_makeText(group.text, group.mode, options)]);
        var variant = buildMathML_getVariant(group, options) || "italic";
    
        if (variant !== defaultVariant[node.type]) {
          node.setAttribute("mathvariant", variant);
        }
    
        return node;
      }
    });
    defineFunctionBuilders({
      type: "textord",
      htmlBuilder: function htmlBuilder(group, options) {
        return buildCommon.makeOrd(group, options, "textord");
      },
      mathmlBuilder: function mathmlBuilder(group, options) {
        var text = buildMathML_makeText(group.text, group.mode, options);
        var variant = buildMathML_getVariant(group, options) || "normal";
        var node;
    
        if (group.mode === 'text') {
          node = new mathMLTree.MathNode("mtext", [text]);
        } else if (/[0-9]/.test(group.text)) {
          // TODO(kevinb) merge adjacent <mn> nodes
          // do it as a post processing step
          node = new mathMLTree.MathNode("mn", [text]);
        } else if (group.text === "\\prime") {
          node = new mathMLTree.MathNode("mo", [text]);
        } else {
          node = new mathMLTree.MathNode("mi", [text]);
        }
    
        if (variant !== defaultVariant[node.type]) {
          node.setAttribute("mathvariant", variant);
        }
    
        return node;
      }
    });
    // CONCATENATED MODULE: ./src/functions/symbolsSpacing.js
    
    
    
     // A map of CSS-based spacing functions to their CSS class.
    
    var cssSpace = {
      "\\nobreak": "nobreak",
      "\\allowbreak": "allowbreak"
    }; // A lookup table to determine whether a spacing function/symbol should be
    // treated like a regular space character.  If a symbol or command is a key
    // in this table, then it should be a regular space character.  Furthermore,
    // the associated value may have a `className` specifying an extra CSS class
    // to add to the created `span`.
    
    var regularSpace = {
      " ": {},
      "\\ ": {},
      "~": {
        className: "nobreak"
      },
      "\\space": {},
      "\\nobreakspace": {
        className: "nobreak"
      }
    }; // ParseNode<"spacing"> created in Parser.js from the "spacing" symbol Groups in
    // src/symbols.js.
    
    defineFunctionBuilders({
      type: "spacing",
      htmlBuilder: function htmlBuilder(group, options) {
        if (regularSpace.hasOwnProperty(group.text)) {
          var className = regularSpace[group.text].className || ""; // Spaces are generated by adding an actual space. Each of these
          // things has an entry in the symbols table, so these will be turned
          // into appropriate outputs.
    
          if (group.mode === "text") {
            var ord = buildCommon.makeOrd(group, options, "textord");
            ord.classes.push(className);
            return ord;
          } else {
            return buildCommon.makeSpan(["mspace", className], [buildCommon.mathsym(group.text, group.mode, options)], options);
          }
        } else if (cssSpace.hasOwnProperty(group.text)) {
          // Spaces based on just a CSS class.
          return buildCommon.makeSpan(["mspace", cssSpace[group.text]], [], options);
        } else {
          throw new src_ParseError("Unknown type of space \"" + group.text + "\"");
        }
      },
      mathmlBuilder: function mathmlBuilder(group, options) {
        var node;
    
        if (regularSpace.hasOwnProperty(group.text)) {
          node = new mathMLTree.MathNode("mtext", [new mathMLTree.TextNode("\xA0")]);
        } else if (cssSpace.hasOwnProperty(group.text)) {
          // CSS-based MathML spaces (\nobreak, \allowbreak) are ignored
          return new mathMLTree.MathNode("mspace");
        } else {
          throw new src_ParseError("Unknown type of space \"" + group.text + "\"");
        }
    
        return node;
      }
    });
    // CONCATENATED MODULE: ./src/functions/tag.js
    
    
    
    
    var tag_pad = function pad() {
      var padNode = new mathMLTree.MathNode("mtd", []);
      padNode.setAttribute("width", "50%");
      return padNode;
    };
    
    defineFunctionBuilders({
      type: "tag",
      mathmlBuilder: function mathmlBuilder(group, options) {
        var table = new mathMLTree.MathNode("mtable", [new mathMLTree.MathNode("mtr", [tag_pad(), new mathMLTree.MathNode("mtd", [buildExpressionRow(group.body, options)]), tag_pad(), new mathMLTree.MathNode("mtd", [buildExpressionRow(group.tag, options)])])]);
        table.setAttribute("width", "100%");
        return table; // TODO: Left-aligned tags.
        // Currently, the group and options passed here do not contain
        // enough info to set tag alignment. `leqno` is in Settings but it is
        // not passed to Options. On the HTML side, leqno is
        // set by a CSS class applied in buildTree.js. That would have worked
        // in MathML if browsers supported <mlabeledtr>. Since they don't, we
        // need to rewrite the way this function is called.
      }
    });
    // CONCATENATED MODULE: ./src/functions/text.js
    
    
    
     // Non-mathy text, possibly in a font
    
    var textFontFamilies = {
      "\\text": undefined,
      "\\textrm": "textrm",
      "\\textsf": "textsf",
      "\\texttt": "texttt",
      "\\textnormal": "textrm"
    };
    var textFontWeights = {
      "\\textbf": "textbf",
      "\\textmd": "textmd"
    };
    var textFontShapes = {
      "\\textit": "textit",
      "\\textup": "textup"
    };
    
    var optionsWithFont = function optionsWithFont(group, options) {
      var font = group.font; // Checks if the argument is a font family or a font style.
    
      if (!font) {
        return options;
      } else if (textFontFamilies[font]) {
        return options.withTextFontFamily(textFontFamilies[font]);
      } else if (textFontWeights[font]) {
        return options.withTextFontWeight(textFontWeights[font]);
      } else {
        return options.withTextFontShape(textFontShapes[font]);
      }
    };
    
    defineFunction({
      type: "text",
      names: [// Font families
      "\\text", "\\textrm", "\\textsf", "\\texttt", "\\textnormal", // Font weights
      "\\textbf", "\\textmd", // Font Shapes
      "\\textit", "\\textup"],
      props: {
        numArgs: 1,
        argTypes: ["text"],
        greediness: 2,
        allowedInText: true
      },
      handler: function handler(_ref, args) {
        var parser = _ref.parser,
            funcName = _ref.funcName;
        var body = args[0];
        return {
          type: "text",
          mode: parser.mode,
          body: defineFunction_ordargument(body),
          font: funcName
        };
      },
      htmlBuilder: function htmlBuilder(group, options) {
        var newOptions = optionsWithFont(group, options);
        var inner = buildHTML_buildExpression(group.body, newOptions, true);
        return buildCommon.makeSpan(["mord", "text"], buildCommon.tryCombineChars(inner), newOptions);
      },
      mathmlBuilder: function mathmlBuilder(group, options) {
        var newOptions = optionsWithFont(group, options);
        return buildExpressionRow(group.body, newOptions);
      }
    });
    // CONCATENATED MODULE: ./src/functions/underline.js
    
    
    
    
    
    defineFunction({
      type: "underline",
      names: ["\\underline"],
      props: {
        numArgs: 1,
        allowedInText: true
      },
      handler: function handler(_ref, args) {
        var parser = _ref.parser;
        return {
          type: "underline",
          mode: parser.mode,
          body: args[0]
        };
      },
      htmlBuilder: function htmlBuilder(group, options) {
        // Underlines are handled in the TeXbook pg 443, Rule 10.
        // Build the inner group.
        var innerGroup = buildHTML_buildGroup(group.body, options); // Create the line to go below the body
    
        var line = buildCommon.makeLineSpan("underline-line", options); // Generate the vlist, with the appropriate kerns
    
        var defaultRuleThickness = options.fontMetrics().defaultRuleThickness;
        var vlist = buildCommon.makeVList({
          positionType: "top",
          positionData: innerGroup.height,
          children: [{
            type: "kern",
            size: defaultRuleThickness
          }, {
            type: "elem",
            elem: line
          }, {
            type: "kern",
            size: 3 * defaultRuleThickness
          }, {
            type: "elem",
            elem: innerGroup
          }]
        }, options);
        return buildCommon.makeSpan(["mord", "underline"], [vlist], options);
      },
      mathmlBuilder: function mathmlBuilder(group, options) {
        var operator = new mathMLTree.MathNode("mo", [new mathMLTree.TextNode("\u203E")]);
        operator.setAttribute("stretchy", "true");
        var node = new mathMLTree.MathNode("munder", [buildMathML_buildGroup(group.body, options), operator]);
        node.setAttribute("accentunder", "true");
        return node;
      }
    });
    // CONCATENATED MODULE: ./src/functions/verb.js
    
    
    
    
    defineFunction({
      type: "verb",
      names: ["\\verb"],
      props: {
        numArgs: 0,
        allowedInText: true
      },
      handler: function handler(context, args, optArgs) {
        // \verb and \verb* are dealt with directly in Parser.js.
        // If we end up here, it's because of a failure to match the two delimiters
        // in the regex in Lexer.js.  LaTeX raises the following error when \verb is
        // terminated by end of line (or file).
        throw new src_ParseError("\\verb ended by end of line instead of matching delimiter");
      },
      htmlBuilder: function htmlBuilder(group, options) {
        var text = makeVerb(group);
        var body = []; // \verb enters text mode and therefore is sized like \textstyle
    
        var newOptions = options.havingStyle(options.style.text());
    
        for (var i = 0; i < text.length; i++) {
          var c = text[i];
    
          if (c === '~') {
            c = '\\textasciitilde';
          }
    
          body.push(buildCommon.makeSymbol(c, "Typewriter-Regular", group.mode, newOptions, ["mord", "texttt"]));
        }
    
        return buildCommon.makeSpan(["mord", "text"].concat(newOptions.sizingClasses(options)), buildCommon.tryCombineChars(body), newOptions);
      },
      mathmlBuilder: function mathmlBuilder(group, options) {
        var text = new mathMLTree.TextNode(makeVerb(group));
        var node = new mathMLTree.MathNode("mtext", [text]);
        node.setAttribute("mathvariant", "monospace");
        return node;
      }
    });
    /**
     * Converts verb group into body string.
     *
     * \verb* replaces each space with an open box \u2423
     * \verb replaces each space with a no-break space \xA0
     */
    
    var makeVerb = function makeVerb(group) {
      return group.body.replace(/ /g, group.star ? "\u2423" : '\xA0');
    };
    // CONCATENATED MODULE: ./src/functions.js
    /** Include this to ensure that all functions are defined. */
    
    var functions = _functions;
    /* harmony default export */ var src_functions = (functions); // TODO(kevinb): have functions return an object and call defineFunction with
    // that object in this file instead of relying on side-effects.
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    // CONCATENATED MODULE: ./src/Lexer.js
    /**
     * The Lexer class handles tokenizing the input in various ways. Since our
     * parser expects us to be able to backtrack, the lexer allows lexing from any
     * given starting point.
     *
     * Its main exposed function is the `lex` function, which takes a position to
     * lex from and a type of token to lex. It defers to the appropriate `_innerLex`
     * function.
     *
     * The various `_innerLex` functions perform the actual lexing of different
     * kinds.
     */
    
    
    
    
    /* The following tokenRegex
     * - matches typical whitespace (but not NBSP etc.) using its first group
     * - does not match any control character \x00-\x1f except whitespace
     * - does not match a bare backslash
     * - matches any ASCII character except those just mentioned
     * - does not match the BMP private use area \uE000-\uF8FF
     * - does not match bare surrogate code units
     * - matches any BMP character except for those just described
     * - matches any valid Unicode surrogate pair
     * - matches a backslash followed by one or more letters
     * - matches a backslash followed by any BMP character, including newline
     * Just because the Lexer matches something doesn't mean it's valid input:
     * If there is no matching function or symbol definition, the Parser will
     * still reject the input.
     */
    var spaceRegexString = "[ \r\n\t]";
    var controlWordRegexString = "\\\\[a-zA-Z@]+";
    var controlSymbolRegexString = "\\\\[^\uD800-\uDFFF]";
    var controlWordWhitespaceRegexString = "" + controlWordRegexString + spaceRegexString + "*";
    var controlWordWhitespaceRegex = new RegExp("^(" + controlWordRegexString + ")" + spaceRegexString + "*$");
    var combiningDiacriticalMarkString = "[\u0300-\u036F]";
    var combiningDiacriticalMarksEndRegex = new RegExp(combiningDiacriticalMarkString + "+$");
    var tokenRegexString = "(" + spaceRegexString + "+)|" + // whitespace
    "([!-\\[\\]-\u2027\u202A-\uD7FF\uF900-\uFFFF]" + ( // single codepoint
    combiningDiacriticalMarkString + "*") + // ...plus accents
    "|[\uD800-\uDBFF][\uDC00-\uDFFF]" + ( // surrogate pair
    combiningDiacriticalMarkString + "*") + // ...plus accents
    "|\\\\verb\\*([^]).*?\\3" + // \verb*
    "|\\\\verb([^*a-zA-Z]).*?\\4" + // \verb unstarred
    "|\\\\operatorname\\*" + ( // \operatorname*
    "|" + controlWordWhitespaceRegexString) + ( // \macroName + spaces
    "|" + controlSymbolRegexString + ")"); // \\, \', etc.
    
    /** Main Lexer class */
    
    var Lexer_Lexer =
    /*#__PURE__*/
    function () {
      // category codes, only supports comment characters (14) for now
      function Lexer(input, settings) {
        this.input = void 0;
        this.settings = void 0;
        this.tokenRegex = void 0;
        this.catcodes = void 0;
        // Separate accents from characters
        this.input = input;
        this.settings = settings;
        this.tokenRegex = new RegExp(tokenRegexString, 'g');
        this.catcodes = {
          "%": 14 // comment character
    
        };
      }
    
      var _proto = Lexer.prototype;
    
      _proto.setCatcode = function setCatcode(char, code) {
        this.catcodes[char] = code;
      }
      /**
       * This function lexes a single token.
       */
      ;
    
      _proto.lex = function lex() {
        var input = this.input;
        var pos = this.tokenRegex.lastIndex;
    
        if (pos === input.length) {
          return new Token_Token("EOF", new SourceLocation(this, pos, pos));
        }
    
        var match = this.tokenRegex.exec(input);
    
        if (match === null || match.index !== pos) {
          throw new src_ParseError("Unexpected character: '" + input[pos] + "'", new Token_Token(input[pos], new SourceLocation(this, pos, pos + 1)));
        }
    
        var text = match[2] || " ";
    
        if (this.catcodes[text] === 14) {
          // comment character
          var nlIndex = input.indexOf('\n', this.tokenRegex.lastIndex);
    
          if (nlIndex === -1) {
            this.tokenRegex.lastIndex = input.length; // EOF
    
            this.settings.reportNonstrict("commentAtEnd", "% comment has no terminating newline; LaTeX would " + "fail because of commenting the end of math mode (e.g. $)");
          } else {
            this.tokenRegex.lastIndex = nlIndex + 1;
          }
    
          return this.lex();
        } // Trim any trailing whitespace from control word match
    
    
        var controlMatch = text.match(controlWordWhitespaceRegex);
    
        if (controlMatch) {
          text = controlMatch[1];
        }
    
        return new Token_Token(text, new SourceLocation(this, pos, this.tokenRegex.lastIndex));
      };
    
      return Lexer;
    }();
    
    
    // CONCATENATED MODULE: ./src/Namespace.js
    /**
     * A `Namespace` refers to a space of nameable things like macros or lengths,
     * which can be `set` either globally or local to a nested group, using an
     * undo stack similar to how TeX implements this functionality.
     * Performance-wise, `get` and local `set` take constant time, while global
     * `set` takes time proportional to the depth of group nesting.
     */
    
    
    var Namespace_Namespace =
    /*#__PURE__*/
    function () {
      /**
       * Both arguments are optional.  The first argument is an object of
       * built-in mappings which never change.  The second argument is an object
       * of initial (global-level) mappings, which will constantly change
       * according to any global/top-level `set`s done.
       */
      function Namespace(builtins, globalMacros) {
        if (builtins === void 0) {
          builtins = {};
        }
    
        if (globalMacros === void 0) {
          globalMacros = {};
        }
    
        this.current = void 0;
        this.builtins = void 0;
        this.undefStack = void 0;
        this.current = globalMacros;
        this.builtins = builtins;
        this.undefStack = [];
      }
      /**
       * Start a new nested group, affecting future local `set`s.
       */
    
    
      var _proto = Namespace.prototype;
    
      _proto.beginGroup = function beginGroup() {
        this.undefStack.push({});
      }
      /**
       * End current nested group, restoring values before the group began.
       */
      ;
    
      _proto.endGroup = function endGroup() {
        if (this.undefStack.length === 0) {
          throw new src_ParseError("Unbalanced namespace destruction: attempt " + "to pop global namespace; please report this as a bug");
        }
    
        var undefs = this.undefStack.pop();
    
        for (var undef in undefs) {
          if (undefs.hasOwnProperty(undef)) {
            if (undefs[undef] === undefined) {
              delete this.current[undef];
            } else {
              this.current[undef] = undefs[undef];
            }
          }
        }
      }
      /**
       * Detect whether `name` has a definition.  Equivalent to
       * `get(name) != null`.
       */
      ;
    
      _proto.has = function has(name) {
        return this.current.hasOwnProperty(name) || this.builtins.hasOwnProperty(name);
      }
      /**
       * Get the current value of a name, or `undefined` if there is no value.
       *
       * Note: Do not use `if (namespace.get(...))` to detect whether a macro
       * is defined, as the definition may be the empty string which evaluates
       * to `false` in JavaScript.  Use `if (namespace.get(...) != null)` or
       * `if (namespace.has(...))`.
       */
      ;
    
      _proto.get = function get(name) {
        if (this.current.hasOwnProperty(name)) {
          return this.current[name];
        } else {
          return this.builtins[name];
        }
      }
      /**
       * Set the current value of a name, and optionally set it globally too.
       * Local set() sets the current value and (when appropriate) adds an undo
       * operation to the undo stack.  Global set() may change the undo
       * operation at every level, so takes time linear in their number.
       */
      ;
    
      _proto.set = function set(name, value, global) {
        if (global === void 0) {
          global = false;
        }
    
        if (global) {
          // Global set is equivalent to setting in all groups.  Simulate this
          // by destroying any undos currently scheduled for this name,
          // and adding an undo with the *new* value (in case it later gets
          // locally reset within this environment).
          for (var i = 0; i < this.undefStack.length; i++) {
            delete this.undefStack[i][name];
          }
    
          if (this.undefStack.length > 0) {
            this.undefStack[this.undefStack.length - 1][name] = value;
          }
        } else {
          // Undo this set at end of this group (possibly to `undefined`),
          // unless an undo is already in place, in which case that older
          // value is the correct one.
          var top = this.undefStack[this.undefStack.length - 1];
    
          if (top && !top.hasOwnProperty(name)) {
            top[name] = this.current[name];
          }
        }
    
        this.current[name] = value;
      };
    
      return Namespace;
    }();
    
    
    // CONCATENATED MODULE: ./src/macros.js
    /**
     * Predefined macros for KaTeX.
     * This can be used to define some commands in terms of others.
     */
    
    
    
    
    
    var builtinMacros = {};
    /* harmony default export */ var macros = (builtinMacros); // This function might one day accept an additional argument and do more things.
    
    function defineMacro(name, body) {
      builtinMacros[name] = body;
    } //////////////////////////////////////////////////////////////////////
    // macro tools
    // LaTeX's \@firstoftwo{#1}{#2} expands to #1, skipping #2
    // TeX source: \long\def\@firstoftwo#1#2{#1}
    
    defineMacro("\\@firstoftwo", function (context) {
      var args = context.consumeArgs(2);
      return {
        tokens: args[0],
        numArgs: 0
      };
    }); // LaTeX's \@secondoftwo{#1}{#2} expands to #2, skipping #1
    // TeX source: \long\def\@secondoftwo#1#2{#2}
    
    defineMacro("\\@secondoftwo", function (context) {
      var args = context.consumeArgs(2);
      return {
        tokens: args[1],
        numArgs: 0
      };
    }); // LaTeX's \@ifnextchar{#1}{#2}{#3} looks ahead to the next (unexpanded)
    // symbol.  If it matches #1, then the macro expands to #2; otherwise, #3.
    // Note, however, that it does not consume the next symbol in either case.
    
    defineMacro("\\@ifnextchar", function (context) {
      var args = context.consumeArgs(3); // symbol, if, else
    
      var nextToken = context.future();
    
      if (args[0].length === 1 && args[0][0].text === nextToken.text) {
        return {
          tokens: args[1],
          numArgs: 0
        };
      } else {
        return {
          tokens: args[2],
          numArgs: 0
        };
      }
    }); // LaTeX's \@ifstar{#1}{#2} looks ahead to the next (unexpanded) symbol.
    // If it is `*`, then it consumes the symbol, and the macro expands to #1;
    // otherwise, the macro expands to #2 (without consuming the symbol).
    // TeX source: \def\@ifstar#1{\@ifnextchar *{\@firstoftwo{#1}}}
    
    defineMacro("\\@ifstar", "\\@ifnextchar *{\\@firstoftwo{#1}}"); // LaTeX's \TextOrMath{#1}{#2} expands to #1 in text mode, #2 in math mode
    
    defineMacro("\\TextOrMath", function (context) {
      var args = context.consumeArgs(2);
    
      if (context.mode === 'text') {
        return {
          tokens: args[0],
          numArgs: 0
        };
      } else {
        return {
          tokens: args[1],
          numArgs: 0
        };
      }
    }); // Lookup table for parsing numbers in base 8 through 16
    
    var digitToNumber = {
      "0": 0,
      "1": 1,
      "2": 2,
      "3": 3,
      "4": 4,
      "5": 5,
      "6": 6,
      "7": 7,
      "8": 8,
      "9": 9,
      "a": 10,
      "A": 10,
      "b": 11,
      "B": 11,
      "c": 12,
      "C": 12,
      "d": 13,
      "D": 13,
      "e": 14,
      "E": 14,
      "f": 15,
      "F": 15
    }; // TeX \char makes a literal character (catcode 12) using the following forms:
    // (see The TeXBook, p. 43)
    //   \char123  -- decimal
    //   \char'123 -- octal
    //   \char"123 -- hex
    //   \char`x   -- character that can be written (i.e. isn't active)
    //   \char`\x  -- character that cannot be written (e.g. %)
    // These all refer to characters from the font, so we turn them into special
    // calls to a function \@char dealt with in the Parser.
    
    defineMacro("\\char", function (context) {
      var token = context.popToken();
      var base;
      var number = '';
    
      if (token.text === "'") {
        base = 8;
        token = context.popToken();
      } else if (token.text === '"') {
        base = 16;
        token = context.popToken();
      } else if (token.text === "`") {
        token = context.popToken();
    
        if (token.text[0] === "\\") {
          number = token.text.charCodeAt(1);
        } else if (token.text === "EOF") {
          throw new src_ParseError("\\char` missing argument");
        } else {
          number = token.text.charCodeAt(0);
        }
      } else {
        base = 10;
      }
    
      if (base) {
        // Parse a number in the given base, starting with first `token`.
        number = digitToNumber[token.text];
    
        if (number == null || number >= base) {
          throw new src_ParseError("Invalid base-" + base + " digit " + token.text);
        }
    
        var digit;
    
        while ((digit = digitToNumber[context.future().text]) != null && digit < base) {
          number *= base;
          number += digit;
          context.popToken();
        }
      }
    
      return "\\@char{" + number + "}";
    }); // Basic support for macro definitions:
    //     \def\macro{expansion}
    //     \def\macro#1{expansion}
    //     \def\macro#1#2{expansion}
    //     \def\macro#1#2#3#4#5#6#7#8#9{expansion}
    // Also the \gdef and \global\def equivalents
    
    var macros_def = function def(context, global) {
      var arg = context.consumeArgs(1)[0];
    
      if (arg.length !== 1) {
        throw new src_ParseError("\\gdef's first argument must be a macro name");
      }
    
      var name = arg[0].text; // Count argument specifiers, and check they are in the order #1 #2 ...
    
      var numArgs = 0;
      arg = context.consumeArgs(1)[0];
    
      while (arg.length === 1 && arg[0].text === "#") {
        arg = context.consumeArgs(1)[0];
    
        if (arg.length !== 1) {
          throw new src_ParseError("Invalid argument number length \"" + arg.length + "\"");
        }
    
        if (!/^[1-9]$/.test(arg[0].text)) {
          throw new src_ParseError("Invalid argument number \"" + arg[0].text + "\"");
        }
    
        numArgs++;
    
        if (parseInt(arg[0].text) !== numArgs) {
          throw new src_ParseError("Argument number \"" + arg[0].text + "\" out of order");
        }
    
        arg = context.consumeArgs(1)[0];
      } // Final arg is the expansion of the macro
    
    
      context.macros.set(name, {
        tokens: arg,
        numArgs: numArgs
      }, global);
      return '';
    };
    
    defineMacro("\\gdef", function (context) {
      return macros_def(context, true);
    });
    defineMacro("\\def", function (context) {
      return macros_def(context, false);
    });
    defineMacro("\\global", function (context) {
      var next = context.consumeArgs(1)[0];
    
      if (next.length !== 1) {
        throw new src_ParseError("Invalid command after \\global");
      }
    
      var command = next[0].text; // TODO: Should expand command
    
      if (command === "\\def") {
        // \global\def is equivalent to \gdef
        return macros_def(context, true);
      } else {
        throw new src_ParseError("Invalid command '" + command + "' after \\global");
      }
    }); // \newcommand{\macro}[args]{definition}
    // \renewcommand{\macro}[args]{definition}
    // TODO: Optional arguments: \newcommand{\macro}[args][default]{definition}
    
    var macros_newcommand = function newcommand(context, existsOK, nonexistsOK) {
      var arg = context.consumeArgs(1)[0];
    
      if (arg.length !== 1) {
        throw new src_ParseError("\\newcommand's first argument must be a macro name");
      }
    
      var name = arg[0].text;
      var exists = context.isDefined(name);
    
      if (exists && !existsOK) {
        throw new src_ParseError("\\newcommand{" + name + "} attempting to redefine " + (name + "; use \\renewcommand"));
      }
    
      if (!exists && !nonexistsOK) {
        throw new src_ParseError("\\renewcommand{" + name + "} when command " + name + " " + "does not yet exist; use \\newcommand");
      }
    
      var numArgs = 0;
      arg = context.consumeArgs(1)[0];
    
      if (arg.length === 1 && arg[0].text === "[") {
        var argText = '';
        var token = context.expandNextToken();
    
        while (token.text !== "]" && token.text !== "EOF") {
          // TODO: Should properly expand arg, e.g., ignore {}s
          argText += token.text;
          token = context.expandNextToken();
        }
    
        if (!argText.match(/^\s*[0-9]+\s*$/)) {
          throw new src_ParseError("Invalid number of arguments: " + argText);
        }
    
        numArgs = parseInt(argText);
        arg = context.consumeArgs(1)[0];
      } // Final arg is the expansion of the macro
    
    
      context.macros.set(name, {
        tokens: arg,
        numArgs: numArgs
      });
      return '';
    };
    
    defineMacro("\\newcommand", function (context) {
      return macros_newcommand(context, false, true);
    });
    defineMacro("\\renewcommand", function (context) {
      return macros_newcommand(context, true, false);
    });
    defineMacro("\\providecommand", function (context) {
      return macros_newcommand(context, true, true);
    }); //////////////////////////////////////////////////////////////////////
    // Grouping
    // \let\bgroup={ \let\egroup=}
    
    defineMacro("\\bgroup", "{");
    defineMacro("\\egroup", "}"); // Symbols from latex.ltx:
    // \def\lq{`}
    // \def\rq{'}
    // \def \aa {\r a}
    // \def \AA {\r A}
    
    defineMacro("\\lq", "`");
    defineMacro("\\rq", "'");
    defineMacro("\\aa", "\\r a");
    defineMacro("\\AA", "\\r A"); // Copyright (C) and registered (R) symbols. Use raw symbol in MathML.
    // \DeclareTextCommandDefault{\textcopyright}{\textcircled{c}}
    // \DeclareTextCommandDefault{\textregistered}{\textcircled{%
    //      \check@mathfonts\fontsize\sf@size\z@\math@fontsfalse\selectfont R}}
    // \DeclareRobustCommand{\copyright}{%
    //    \ifmmode{\nfss@text{\textcopyright}}\else\textcopyright\fi}
    
    defineMacro("\\textcopyright", "\\html@mathml{\\textcircled{c}}{\\char`©}");
    defineMacro("\\copyright", "\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}");
    defineMacro("\\textregistered", "\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`®}"); // Characters omitted from Unicode range 1D400–1D7FF
    
    defineMacro("\u212C", "\\mathscr{B}"); // script
    
    defineMacro("\u2130", "\\mathscr{E}");
    defineMacro("\u2131", "\\mathscr{F}");
    defineMacro("\u210B", "\\mathscr{H}");
    defineMacro("\u2110", "\\mathscr{I}");
    defineMacro("\u2112", "\\mathscr{L}");
    defineMacro("\u2133", "\\mathscr{M}");
    defineMacro("\u211B", "\\mathscr{R}");
    defineMacro("\u212D", "\\mathfrak{C}"); // Fraktur
    
    defineMacro("\u210C", "\\mathfrak{H}");
    defineMacro("\u2128", "\\mathfrak{Z}"); // Define \Bbbk with a macro that works in both HTML and MathML.
    
    defineMacro("\\Bbbk", "\\Bbb{k}"); // Unicode middle dot
    // The KaTeX fonts do not contain U+00B7. Instead, \cdotp displays
    // the dot at U+22C5 and gives it punct spacing.
    
    defineMacro("\xB7", "\\cdotp"); // \llap and \rlap render their contents in text mode
    
    defineMacro("\\llap", "\\mathllap{\\textrm{#1}}");
    defineMacro("\\rlap", "\\mathrlap{\\textrm{#1}}");
    defineMacro("\\clap", "\\mathclap{\\textrm{#1}}"); // \not is defined by base/fontmath.ltx via
    // \DeclareMathSymbol{\not}{\mathrel}{symbols}{"36}
    // It's thus treated like a \mathrel, but defined by a symbol that has zero
    // width but extends to the right.  We use \rlap to get that spacing.
    // For MathML we write U+0338 here. buildMathML.js will then do the overlay.
    
    defineMacro("\\not", '\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}'); // Negated symbols from base/fontmath.ltx:
    // \def\neq{\not=} \let\ne=\neq
    // \DeclareRobustCommand
    //   \notin{\mathrel{\m@th\mathpalette\c@ncel\in}}
    // \def\c@ncel#1#2{\m@th\ooalign{$\hfil#1\mkern1mu/\hfil$\crcr$#1#2$}}
    
    defineMacro("\\neq", "\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`≠}}");
    defineMacro("\\ne", "\\neq");
    defineMacro("\u2260", "\\neq");
    defineMacro("\\notin", "\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}" + "{\\mathrel{\\char`∉}}");
    defineMacro("\u2209", "\\notin"); // Unicode stacked relations
    
    defineMacro("\u2258", "\\html@mathml{" + "\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}" + "}{\\mathrel{\\char`\u2258}}");
    defineMacro("\u2259", "\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`\u2258}}");
    defineMacro("\u225A", "\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`\u225A}}");
    defineMacro("\u225B", "\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}" + "{\\mathrel{\\char`\u225B}}");
    defineMacro("\u225D", "\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}" + "{\\mathrel{\\char`\u225D}}");
    defineMacro("\u225E", "\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}" + "{\\mathrel{\\char`\u225E}}");
    defineMacro("\u225F", "\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`\u225F}}"); // Misc Unicode
    
    defineMacro("\u27C2", "\\perp");
    defineMacro("\u203C", "\\mathclose{!\\mkern-0.8mu!}");
    defineMacro("\u220C", "\\notni");
    defineMacro("\u231C", "\\ulcorner");
    defineMacro("\u231D", "\\urcorner");
    defineMacro("\u231E", "\\llcorner");
    defineMacro("\u231F", "\\lrcorner");
    defineMacro("\xA9", "\\copyright");
    defineMacro("\xAE", "\\textregistered");
    defineMacro("\uFE0F", "\\textregistered"); //////////////////////////////////////////////////////////////////////
    // LaTeX_2ε
    // \vdots{\vbox{\baselineskip4\p@  \lineskiplimit\z@
    // \kern6\p@\hbox{.}\hbox{.}\hbox{.}}}
    // We'll call \varvdots, which gets a glyph from symbols.js.
    // The zero-width rule gets us an equivalent to the vertical 6pt kern.
    
    defineMacro("\\vdots", "\\mathord{\\varvdots\\rule{0pt}{15pt}}");
    defineMacro("\u22EE", "\\vdots"); //////////////////////////////////////////////////////////////////////
    // amsmath.sty
    // http://mirrors.concertpass.com/tex-archive/macros/latex/required/amsmath/amsmath.pdf
    // Italic Greek capital letters.  AMS defines these with \DeclareMathSymbol,
    // but they are equivalent to \mathit{\Letter}.
    
    defineMacro("\\varGamma", "\\mathit{\\Gamma}");
    defineMacro("\\varDelta", "\\mathit{\\Delta}");
    defineMacro("\\varTheta", "\\mathit{\\Theta}");
    defineMacro("\\varLambda", "\\mathit{\\Lambda}");
    defineMacro("\\varXi", "\\mathit{\\Xi}");
    defineMacro("\\varPi", "\\mathit{\\Pi}");
    defineMacro("\\varSigma", "\\mathit{\\Sigma}");
    defineMacro("\\varUpsilon", "\\mathit{\\Upsilon}");
    defineMacro("\\varPhi", "\\mathit{\\Phi}");
    defineMacro("\\varPsi", "\\mathit{\\Psi}");
    defineMacro("\\varOmega", "\\mathit{\\Omega}"); //\newcommand{\substack}[1]{\subarray{c}#1\endsubarray}
    
    defineMacro("\\substack", "\\begin{subarray}{c}#1\\end{subarray}"); // \renewcommand{\colon}{\nobreak\mskip2mu\mathpunct{}\nonscript
    // \mkern-\thinmuskip{:}\mskip6muplus1mu\relax}
    
    defineMacro("\\colon", "\\nobreak\\mskip2mu\\mathpunct{}" + "\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu"); // \newcommand{\boxed}[1]{\fbox{\m@th$\displaystyle#1$}}
    
    defineMacro("\\boxed", "\\fbox{$\\displaystyle{#1}$}"); // \def\iff{\DOTSB\;\Longleftrightarrow\;}
    // \def\implies{\DOTSB\;\Longrightarrow\;}
    // \def\impliedby{\DOTSB\;\Longleftarrow\;}
    
    defineMacro("\\iff", "\\DOTSB\\;\\Longleftrightarrow\\;");
    defineMacro("\\implies", "\\DOTSB\\;\\Longrightarrow\\;");
    defineMacro("\\impliedby", "\\DOTSB\\;\\Longleftarrow\\;"); // AMSMath's automatic \dots, based on \mdots@@ macro.
    
    var dotsByToken = {
      ',': '\\dotsc',
      '\\not': '\\dotsb',
      // \keybin@ checks for the following:
      '+': '\\dotsb',
      '=': '\\dotsb',
      '<': '\\dotsb',
      '>': '\\dotsb',
      '-': '\\dotsb',
      '*': '\\dotsb',
      ':': '\\dotsb',
      // Symbols whose definition starts with \DOTSB:
      '\\DOTSB': '\\dotsb',
      '\\coprod': '\\dotsb',
      '\\bigvee': '\\dotsb',
      '\\bigwedge': '\\dotsb',
      '\\biguplus': '\\dotsb',
      '\\bigcap': '\\dotsb',
      '\\bigcup': '\\dotsb',
      '\\prod': '\\dotsb',
      '\\sum': '\\dotsb',
      '\\bigotimes': '\\dotsb',
      '\\bigoplus': '\\dotsb',
      '\\bigodot': '\\dotsb',
      '\\bigsqcup': '\\dotsb',
      '\\And': '\\dotsb',
      '\\longrightarrow': '\\dotsb',
      '\\Longrightarrow': '\\dotsb',
      '\\longleftarrow': '\\dotsb',
      '\\Longleftarrow': '\\dotsb',
      '\\longleftrightarrow': '\\dotsb',
      '\\Longleftrightarrow': '\\dotsb',
      '\\mapsto': '\\dotsb',
      '\\longmapsto': '\\dotsb',
      '\\hookrightarrow': '\\dotsb',
      '\\doteq': '\\dotsb',
      // Symbols whose definition starts with \mathbin:
      '\\mathbin': '\\dotsb',
      // Symbols whose definition starts with \mathrel:
      '\\mathrel': '\\dotsb',
      '\\relbar': '\\dotsb',
      '\\Relbar': '\\dotsb',
      '\\xrightarrow': '\\dotsb',
      '\\xleftarrow': '\\dotsb',
      // Symbols whose definition starts with \DOTSI:
      '\\DOTSI': '\\dotsi',
      '\\int': '\\dotsi',
      '\\oint': '\\dotsi',
      '\\iint': '\\dotsi',
      '\\iiint': '\\dotsi',
      '\\iiiint': '\\dotsi',
      '\\idotsint': '\\dotsi',
      // Symbols whose definition starts with \DOTSX:
      '\\DOTSX': '\\dotsx'
    };
    defineMacro("\\dots", function (context) {
      // TODO: If used in text mode, should expand to \textellipsis.
      // However, in KaTeX, \textellipsis and \ldots behave the same
      // (in text mode), and it's unlikely we'd see any of the math commands
      // that affect the behavior of \dots when in text mode.  So fine for now
      // (until we support \ifmmode ... \else ... \fi).
      var thedots = '\\dotso';
      var next = context.expandAfterFuture().text;
    
      if (next in dotsByToken) {
        thedots = dotsByToken[next];
      } else if (next.substr(0, 4) === '\\not') {
        thedots = '\\dotsb';
      } else if (next in src_symbols.math) {
        if (utils.contains(['bin', 'rel'], src_symbols.math[next].group)) {
          thedots = '\\dotsb';
        }
      }
    
      return thedots;
    });
    var spaceAfterDots = {
      // \rightdelim@ checks for the following:
      ')': true,
      ']': true,
      '\\rbrack': true,
      '\\}': true,
      '\\rbrace': true,
      '\\rangle': true,
      '\\rceil': true,
      '\\rfloor': true,
      '\\rgroup': true,
      '\\rmoustache': true,
      '\\right': true,
      '\\bigr': true,
      '\\biggr': true,
      '\\Bigr': true,
      '\\Biggr': true,
      // \extra@ also tests for the following:
      '$': true,
      // \extrap@ checks for the following:
      ';': true,
      '.': true,
      ',': true
    };
    defineMacro("\\dotso", function (context) {
      var next = context.future().text;
    
      if (next in spaceAfterDots) {
        return "\\ldots\\,";
      } else {
        return "\\ldots";
      }
    });
    defineMacro("\\dotsc", function (context) {
      var next = context.future().text; // \dotsc uses \extra@ but not \extrap@, instead specially checking for
      // ';' and '.', but doesn't check for ','.
    
      if (next in spaceAfterDots && next !== ',') {
        return "\\ldots\\,";
      } else {
        return "\\ldots";
      }
    });
    defineMacro("\\cdots", function (context) {
      var next = context.future().text;
    
      if (next in spaceAfterDots) {
        return "\\@cdots\\,";
      } else {
        return "\\@cdots";
      }
    });
    defineMacro("\\dotsb", "\\cdots");
    defineMacro("\\dotsm", "\\cdots");
    defineMacro("\\dotsi", "\\!\\cdots"); // amsmath doesn't actually define \dotsx, but \dots followed by a macro
    // starting with \DOTSX implies \dotso, and then \extra@ detects this case
    // and forces the added `\,`.
    
    defineMacro("\\dotsx", "\\ldots\\,"); // \let\DOTSI\relax
    // \let\DOTSB\relax
    // \let\DOTSX\relax
    
    defineMacro("\\DOTSI", "\\relax");
    defineMacro("\\DOTSB", "\\relax");
    defineMacro("\\DOTSX", "\\relax"); // Spacing, based on amsmath.sty's override of LaTeX defaults
    // \DeclareRobustCommand{\tmspace}[3]{%
    //   \ifmmode\mskip#1#2\else\kern#1#3\fi\relax}
    
    defineMacro("\\tmspace", "\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax"); // \renewcommand{\,}{\tmspace+\thinmuskip{.1667em}}
    // TODO: math mode should use \thinmuskip
    
    defineMacro("\\,", "\\tmspace+{3mu}{.1667em}"); // \let\thinspace\,
    
    defineMacro("\\thinspace", "\\,"); // \def\>{\mskip\medmuskip}
    // \renewcommand{\:}{\tmspace+\medmuskip{.2222em}}
    // TODO: \> and math mode of \: should use \medmuskip = 4mu plus 2mu minus 4mu
    
    defineMacro("\\>", "\\mskip{4mu}");
    defineMacro("\\:", "\\tmspace+{4mu}{.2222em}"); // \let\medspace\:
    
    defineMacro("\\medspace", "\\:"); // \renewcommand{\;}{\tmspace+\thickmuskip{.2777em}}
    // TODO: math mode should use \thickmuskip = 5mu plus 5mu
    
    defineMacro("\\;", "\\tmspace+{5mu}{.2777em}"); // \let\thickspace\;
    
    defineMacro("\\thickspace", "\\;"); // \renewcommand{\!}{\tmspace-\thinmuskip{.1667em}}
    // TODO: math mode should use \thinmuskip
    
    defineMacro("\\!", "\\tmspace-{3mu}{.1667em}"); // \let\negthinspace\!
    
    defineMacro("\\negthinspace", "\\!"); // \newcommand{\negmedspace}{\tmspace-\medmuskip{.2222em}}
    // TODO: math mode should use \medmuskip
    
    defineMacro("\\negmedspace", "\\tmspace-{4mu}{.2222em}"); // \newcommand{\negthickspace}{\tmspace-\thickmuskip{.2777em}}
    // TODO: math mode should use \thickmuskip
    
    defineMacro("\\negthickspace", "\\tmspace-{5mu}{.277em}"); // \def\enspace{\kern.5em }
    
    defineMacro("\\enspace", "\\kern.5em "); // \def\enskip{\hskip.5em\relax}
    
    defineMacro("\\enskip", "\\hskip.5em\\relax"); // \def\quad{\hskip1em\relax}
    
    defineMacro("\\quad", "\\hskip1em\\relax"); // \def\qquad{\hskip2em\relax}
    
    defineMacro("\\qquad", "\\hskip2em\\relax"); // \tag@in@display form of \tag
    
    defineMacro("\\tag", "\\@ifstar\\tag@literal\\tag@paren");
    defineMacro("\\tag@paren", "\\tag@literal{({#1})}");
    defineMacro("\\tag@literal", function (context) {
      if (context.macros.get("\\df@tag")) {
        throw new src_ParseError("Multiple \\tag");
      }
    
      return "\\gdef\\df@tag{\\text{#1}}";
    }); // \renewcommand{\bmod}{\nonscript\mskip-\medmuskip\mkern5mu\mathbin
    //   {\operator@font mod}\penalty900
    //   \mkern5mu\nonscript\mskip-\medmuskip}
    // \newcommand{\pod}[1]{\allowbreak
    //   \if@display\mkern18mu\else\mkern8mu\fi(#1)}
    // \renewcommand{\pmod}[1]{\pod{{\operator@font mod}\mkern6mu#1}}
    // \newcommand{\mod}[1]{\allowbreak\if@display\mkern18mu
    //   \else\mkern12mu\fi{\operator@font mod}\,\,#1}
    // TODO: math mode should use \medmuskip = 4mu plus 2mu minus 4mu
    
    defineMacro("\\bmod", "\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}" + "\\mathbin{\\rm mod}" + "\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}");
    defineMacro("\\pod", "\\allowbreak" + "\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)");
    defineMacro("\\pmod", "\\pod{{\\rm mod}\\mkern6mu#1}");
    defineMacro("\\mod", "\\allowbreak" + "\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}" + "{\\rm mod}\\,\\,#1"); // \pmb    --   A simulation of bold.
    // The version in ambsy.sty works by typesetting three copies of the argument
    // with small offsets. We use two copies. We omit the vertical offset because
    // of rendering problems that makeVList encounters in Safari.
    
    defineMacro("\\pmb", "\\html@mathml{" + "\\@binrel{#1}{\\mathrlap{#1}\\kern0.5px#1}}" + "{\\mathbf{#1}}"); //////////////////////////////////////////////////////////////////////
    // LaTeX source2e
    // \\ defaults to \newline, but changes to \cr within array environment
    
    defineMacro("\\\\", "\\newline"); // \def\TeX{T\kern-.1667em\lower.5ex\hbox{E}\kern-.125emX\@}
    // TODO: Doesn't normally work in math mode because \@ fails.  KaTeX doesn't
    // support \@ yet, so that's omitted, and we add \text so that the result
    // doesn't look funny in math mode.
    
    defineMacro("\\TeX", "\\textrm{\\html@mathml{" + "T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX" + "}{TeX}}"); // \DeclareRobustCommand{\LaTeX}{L\kern-.36em%
    //         {\sbox\z@ T%
    //          \vbox to\ht\z@{\hbox{\check@mathfonts
    //                               \fontsize\sf@size\z@
    //                               \math@fontsfalse\selectfont
    //                               A}%
    //                         \vss}%
    //         }%
    //         \kern-.15em%
    //         \TeX}
    // This code aligns the top of the A with the T (from the perspective of TeX's
    // boxes, though visually the A appears to extend above slightly).
    // We compute the corresponding \raisebox when A is rendered in \normalsize
    // \scriptstyle, which has a scale factor of 0.7 (see Options.js).
    
    var latexRaiseA = fontMetricsData['Main-Regular']["T".charCodeAt(0)][1] - 0.7 * fontMetricsData['Main-Regular']["A".charCodeAt(0)][1] + "em";
    defineMacro("\\LaTeX", "\\textrm{\\html@mathml{" + ("L\\kern-.36em\\raisebox{" + latexRaiseA + "}{\\scriptstyle A}") + "\\kern-.15em\\TeX}{LaTeX}}"); // New KaTeX logo based on tweaking LaTeX logo
    
    defineMacro("\\KaTeX", "\\textrm{\\html@mathml{" + ("K\\kern-.17em\\raisebox{" + latexRaiseA + "}{\\scriptstyle A}") + "\\kern-.15em\\TeX}{KaTeX}}"); // \DeclareRobustCommand\hspace{\@ifstar\@hspacer\@hspace}
    // \def\@hspace#1{\hskip  #1\relax}
    // \def\@hspacer#1{\vrule \@width\z@\nobreak
    //                 \hskip #1\hskip \z@skip}
    
    defineMacro("\\hspace", "\\@ifstar\\@hspacer\\@hspace");
    defineMacro("\\@hspace", "\\hskip #1\\relax");
    defineMacro("\\@hspacer", "\\rule{0pt}{0pt}\\hskip #1\\relax"); //////////////////////////////////////////////////////////////////////
    // mathtools.sty
    //\providecommand\ordinarycolon{:}
    
    defineMacro("\\ordinarycolon", ":"); //\def\vcentcolon{\mathrel{\mathop\ordinarycolon}}
    //TODO(edemaine): Not yet centered. Fix via \raisebox or #726
    
    defineMacro("\\vcentcolon", "\\mathrel{\\mathop\\ordinarycolon}"); // \providecommand*\dblcolon{\vcentcolon\mathrel{\mkern-.9mu}\vcentcolon}
    
    defineMacro("\\dblcolon", "\\html@mathml{" + "\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}" + "{\\mathop{\\char\"2237}}"); // \providecommand*\coloneqq{\vcentcolon\mathrel{\mkern-1.2mu}=}
    
    defineMacro("\\coloneqq", "\\html@mathml{" + "\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}" + "{\\mathop{\\char\"2254}}"); // ≔
    // \providecommand*\Coloneqq{\dblcolon\mathrel{\mkern-1.2mu}=}
    
    defineMacro("\\Coloneqq", "\\html@mathml{" + "\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}" + "{\\mathop{\\char\"2237\\char\"3d}}"); // \providecommand*\coloneq{\vcentcolon\mathrel{\mkern-1.2mu}\mathrel{-}}
    
    defineMacro("\\coloneq", "\\html@mathml{" + "\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}" + "{\\mathop{\\char\"3a\\char\"2212}}"); // \providecommand*\Coloneq{\dblcolon\mathrel{\mkern-1.2mu}\mathrel{-}}
    
    defineMacro("\\Coloneq", "\\html@mathml{" + "\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}" + "{\\mathop{\\char\"2237\\char\"2212}}"); // \providecommand*\eqqcolon{=\mathrel{\mkern-1.2mu}\vcentcolon}
    
    defineMacro("\\eqqcolon", "\\html@mathml{" + "\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}" + "{\\mathop{\\char\"2255}}"); // ≕
    // \providecommand*\Eqqcolon{=\mathrel{\mkern-1.2mu}\dblcolon}
    
    defineMacro("\\Eqqcolon", "\\html@mathml{" + "\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}" + "{\\mathop{\\char\"3d\\char\"2237}}"); // \providecommand*\eqcolon{\mathrel{-}\mathrel{\mkern-1.2mu}\vcentcolon}
    
    defineMacro("\\eqcolon", "\\html@mathml{" + "\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}" + "{\\mathop{\\char\"2239}}"); // \providecommand*\Eqcolon{\mathrel{-}\mathrel{\mkern-1.2mu}\dblcolon}
    
    defineMacro("\\Eqcolon", "\\html@mathml{" + "\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}" + "{\\mathop{\\char\"2212\\char\"2237}}"); // \providecommand*\colonapprox{\vcentcolon\mathrel{\mkern-1.2mu}\approx}
    
    defineMacro("\\colonapprox", "\\html@mathml{" + "\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}" + "{\\mathop{\\char\"3a\\char\"2248}}"); // \providecommand*\Colonapprox{\dblcolon\mathrel{\mkern-1.2mu}\approx}
    
    defineMacro("\\Colonapprox", "\\html@mathml{" + "\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}" + "{\\mathop{\\char\"2237\\char\"2248}}"); // \providecommand*\colonsim{\vcentcolon\mathrel{\mkern-1.2mu}\sim}
    
    defineMacro("\\colonsim", "\\html@mathml{" + "\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}" + "{\\mathop{\\char\"3a\\char\"223c}}"); // \providecommand*\Colonsim{\dblcolon\mathrel{\mkern-1.2mu}\sim}
    
    defineMacro("\\Colonsim", "\\html@mathml{" + "\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}" + "{\\mathop{\\char\"2237\\char\"223c}}"); // Some Unicode characters are implemented with macros to mathtools functions.
    
    defineMacro("\u2237", "\\dblcolon"); // ::
    
    defineMacro("\u2239", "\\eqcolon"); // -:
    
    defineMacro("\u2254", "\\coloneqq"); // :=
    
    defineMacro("\u2255", "\\eqqcolon"); // =:
    
    defineMacro("\u2A74", "\\Coloneqq"); // ::=
    //////////////////////////////////////////////////////////////////////
    // colonequals.sty
    // Alternate names for mathtools's macros:
    
    defineMacro("\\ratio", "\\vcentcolon");
    defineMacro("\\coloncolon", "\\dblcolon");
    defineMacro("\\colonequals", "\\coloneqq");
    defineMacro("\\coloncolonequals", "\\Coloneqq");
    defineMacro("\\equalscolon", "\\eqqcolon");
    defineMacro("\\equalscoloncolon", "\\Eqqcolon");
    defineMacro("\\colonminus", "\\coloneq");
    defineMacro("\\coloncolonminus", "\\Coloneq");
    defineMacro("\\minuscolon", "\\eqcolon");
    defineMacro("\\minuscoloncolon", "\\Eqcolon"); // \colonapprox name is same in mathtools and colonequals.
    
    defineMacro("\\coloncolonapprox", "\\Colonapprox"); // \colonsim name is same in mathtools and colonequals.
    
    defineMacro("\\coloncolonsim", "\\Colonsim"); // Additional macros, implemented by analogy with mathtools definitions:
    
    defineMacro("\\simcolon", "\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}");
    defineMacro("\\simcoloncolon", "\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}");
    defineMacro("\\approxcolon", "\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}");
    defineMacro("\\approxcoloncolon", "\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}"); // Present in newtxmath, pxfonts and txfonts
    
    defineMacro("\\notni", "\\html@mathml{\\not\\ni}{\\mathrel{\\char`\u220C}}");
    defineMacro("\\limsup", "\\DOTSB\\operatorname*{lim\\,sup}");
    defineMacro("\\liminf", "\\DOTSB\\operatorname*{lim\\,inf}"); //////////////////////////////////////////////////////////////////////
    // MathML alternates for KaTeX glyphs in the Unicode private area
    
    defineMacro("\\gvertneqq", "\\html@mathml{\\@gvertneqq}{\u2269}");
    defineMacro("\\lvertneqq", "\\html@mathml{\\@lvertneqq}{\u2268}");
    defineMacro("\\ngeqq", "\\html@mathml{\\@ngeqq}{\u2271}");
    defineMacro("\\ngeqslant", "\\html@mathml{\\@ngeqslant}{\u2271}");
    defineMacro("\\nleqq", "\\html@mathml{\\@nleqq}{\u2270}");
    defineMacro("\\nleqslant", "\\html@mathml{\\@nleqslant}{\u2270}");
    defineMacro("\\nshortmid", "\\html@mathml{\\@nshortmid}{∤}");
    defineMacro("\\nshortparallel", "\\html@mathml{\\@nshortparallel}{∦}");
    defineMacro("\\nsubseteqq", "\\html@mathml{\\@nsubseteqq}{\u2288}");
    defineMacro("\\nsupseteqq", "\\html@mathml{\\@nsupseteqq}{\u2289}");
    defineMacro("\\varsubsetneq", "\\html@mathml{\\@varsubsetneq}{⊊}");
    defineMacro("\\varsubsetneqq", "\\html@mathml{\\@varsubsetneqq}{⫋}");
    defineMacro("\\varsupsetneq", "\\html@mathml{\\@varsupsetneq}{⊋}");
    defineMacro("\\varsupsetneqq", "\\html@mathml{\\@varsupsetneqq}{⫌}"); //////////////////////////////////////////////////////////////////////
    // stmaryrd and semantic
    // The stmaryrd and semantic packages render the next four items by calling a
    // glyph. Those glyphs do not exist in the KaTeX fonts. Hence the macros.
    
    defineMacro("\\llbracket", "\\html@mathml{" + "\\mathopen{[\\mkern-3.2mu[}}" + "{\\mathopen{\\char`\u27E6}}");
    defineMacro("\\rrbracket", "\\html@mathml{" + "\\mathclose{]\\mkern-3.2mu]}}" + "{\\mathclose{\\char`\u27E7}}");
    defineMacro("\u27E6", "\\llbracket"); // blackboard bold [
    
    defineMacro("\u27E7", "\\rrbracket"); // blackboard bold ]
    
    defineMacro("\\lBrace", "\\html@mathml{" + "\\mathopen{\\{\\mkern-3.2mu[}}" + "{\\mathopen{\\char`\u2983}}");
    defineMacro("\\rBrace", "\\html@mathml{" + "\\mathclose{]\\mkern-3.2mu\\}}}" + "{\\mathclose{\\char`\u2984}}");
    defineMacro("\u2983", "\\lBrace"); // blackboard bold {
    
    defineMacro("\u2984", "\\rBrace"); // blackboard bold }
    // TODO: Create variable sized versions of the last two items. I believe that
    // will require new font glyphs.
    //////////////////////////////////////////////////////////////////////
    // texvc.sty
    // The texvc package contains macros available in mediawiki pages.
    // We omit the functions deprecated at
    // https://en.wikipedia.org/wiki/Help:Displaying_a_formula#Deprecated_syntax
    // We also omit texvc's \O, which conflicts with \text{\O}
    
    defineMacro("\\darr", "\\downarrow");
    defineMacro("\\dArr", "\\Downarrow");
    defineMacro("\\Darr", "\\Downarrow");
    defineMacro("\\lang", "\\langle");
    defineMacro("\\rang", "\\rangle");
    defineMacro("\\uarr", "\\uparrow");
    defineMacro("\\uArr", "\\Uparrow");
    defineMacro("\\Uarr", "\\Uparrow");
    defineMacro("\\N", "\\mathbb{N}");
    defineMacro("\\R", "\\mathbb{R}");
    defineMacro("\\Z", "\\mathbb{Z}");
    defineMacro("\\alef", "\\aleph");
    defineMacro("\\alefsym", "\\aleph");
    defineMacro("\\Alpha", "\\mathrm{A}");
    defineMacro("\\Beta", "\\mathrm{B}");
    defineMacro("\\bull", "\\bullet");
    defineMacro("\\Chi", "\\mathrm{X}");
    defineMacro("\\clubs", "\\clubsuit");
    defineMacro("\\cnums", "\\mathbb{C}");
    defineMacro("\\Complex", "\\mathbb{C}");
    defineMacro("\\Dagger", "\\ddagger");
    defineMacro("\\diamonds", "\\diamondsuit");
    defineMacro("\\empty", "\\emptyset");
    defineMacro("\\Epsilon", "\\mathrm{E}");
    defineMacro("\\Eta", "\\mathrm{H}");
    defineMacro("\\exist", "\\exists");
    defineMacro("\\harr", "\\leftrightarrow");
    defineMacro("\\hArr", "\\Leftrightarrow");
    defineMacro("\\Harr", "\\Leftrightarrow");
    defineMacro("\\hearts", "\\heartsuit");
    defineMacro("\\image", "\\Im");
    defineMacro("\\infin", "\\infty");
    defineMacro("\\Iota", "\\mathrm{I}");
    defineMacro("\\isin", "\\in");
    defineMacro("\\Kappa", "\\mathrm{K}");
    defineMacro("\\larr", "\\leftarrow");
    defineMacro("\\lArr", "\\Leftarrow");
    defineMacro("\\Larr", "\\Leftarrow");
    defineMacro("\\lrarr", "\\leftrightarrow");
    defineMacro("\\lrArr", "\\Leftrightarrow");
    defineMacro("\\Lrarr", "\\Leftrightarrow");
    defineMacro("\\Mu", "\\mathrm{M}");
    defineMacro("\\natnums", "\\mathbb{N}");
    defineMacro("\\Nu", "\\mathrm{N}");
    defineMacro("\\Omicron", "\\mathrm{O}");
    defineMacro("\\plusmn", "\\pm");
    defineMacro("\\rarr", "\\rightarrow");
    defineMacro("\\rArr", "\\Rightarrow");
    defineMacro("\\Rarr", "\\Rightarrow");
    defineMacro("\\real", "\\Re");
    defineMacro("\\reals", "\\mathbb{R}");
    defineMacro("\\Reals", "\\mathbb{R}");
    defineMacro("\\Rho", "\\mathrm{P}");
    defineMacro("\\sdot", "\\cdot");
    defineMacro("\\sect", "\\S");
    defineMacro("\\spades", "\\spadesuit");
    defineMacro("\\sub", "\\subset");
    defineMacro("\\sube", "\\subseteq");
    defineMacro("\\supe", "\\supseteq");
    defineMacro("\\Tau", "\\mathrm{T}");
    defineMacro("\\thetasym", "\\vartheta"); // TODO: defineMacro("\\varcoppa", "\\\mbox{\\coppa}");
    
    defineMacro("\\weierp", "\\wp");
    defineMacro("\\Zeta", "\\mathrm{Z}"); //////////////////////////////////////////////////////////////////////
    // statmath.sty
    // https://ctan.math.illinois.edu/macros/latex/contrib/statmath/statmath.pdf
    
    defineMacro("\\argmin", "\\DOTSB\\operatorname*{arg\\,min}");
    defineMacro("\\argmax", "\\DOTSB\\operatorname*{arg\\,max}");
    defineMacro("\\plim", "\\DOTSB\\mathop{\\operatorname{plim}}\\limits"); // Custom Khan Academy colors, should be moved to an optional package
    
    defineMacro("\\blue", "\\textcolor{##6495ed}{#1}");
    defineMacro("\\orange", "\\textcolor{##ffa500}{#1}");
    defineMacro("\\pink", "\\textcolor{##ff00af}{#1}");
    defineMacro("\\red", "\\textcolor{##df0030}{#1}");
    defineMacro("\\green", "\\textcolor{##28ae7b}{#1}");
    defineMacro("\\gray", "\\textcolor{gray}{#1}");
    defineMacro("\\purple", "\\textcolor{##9d38bd}{#1}");
    defineMacro("\\blueA", "\\textcolor{##ccfaff}{#1}");
    defineMacro("\\blueB", "\\textcolor{##80f6ff}{#1}");
    defineMacro("\\blueC", "\\textcolor{##63d9ea}{#1}");
    defineMacro("\\blueD", "\\textcolor{##11accd}{#1}");
    defineMacro("\\blueE", "\\textcolor{##0c7f99}{#1}");
    defineMacro("\\tealA", "\\textcolor{##94fff5}{#1}");
    defineMacro("\\tealB", "\\textcolor{##26edd5}{#1}");
    defineMacro("\\tealC", "\\textcolor{##01d1c1}{#1}");
    defineMacro("\\tealD", "\\textcolor{##01a995}{#1}");
    defineMacro("\\tealE", "\\textcolor{##208170}{#1}");
    defineMacro("\\greenA", "\\textcolor{##b6ffb0}{#1}");
    defineMacro("\\greenB", "\\textcolor{##8af281}{#1}");
    defineMacro("\\greenC", "\\textcolor{##74cf70}{#1}");
    defineMacro("\\greenD", "\\textcolor{##1fab54}{#1}");
    defineMacro("\\greenE", "\\textcolor{##0d923f}{#1}");
    defineMacro("\\goldA", "\\textcolor{##ffd0a9}{#1}");
    defineMacro("\\goldB", "\\textcolor{##ffbb71}{#1}");
    defineMacro("\\goldC", "\\textcolor{##ff9c39}{#1}");
    defineMacro("\\goldD", "\\textcolor{##e07d10}{#1}");
    defineMacro("\\goldE", "\\textcolor{##a75a05}{#1}");
    defineMacro("\\redA", "\\textcolor{##fca9a9}{#1}");
    defineMacro("\\redB", "\\textcolor{##ff8482}{#1}");
    defineMacro("\\redC", "\\textcolor{##f9685d}{#1}");
    defineMacro("\\redD", "\\textcolor{##e84d39}{#1}");
    defineMacro("\\redE", "\\textcolor{##bc2612}{#1}");
    defineMacro("\\maroonA", "\\textcolor{##ffbde0}{#1}");
    defineMacro("\\maroonB", "\\textcolor{##ff92c6}{#1}");
    defineMacro("\\maroonC", "\\textcolor{##ed5fa6}{#1}");
    defineMacro("\\maroonD", "\\textcolor{##ca337c}{#1}");
    defineMacro("\\maroonE", "\\textcolor{##9e034e}{#1}");
    defineMacro("\\purpleA", "\\textcolor{##ddd7ff}{#1}");
    defineMacro("\\purpleB", "\\textcolor{##c6b9fc}{#1}");
    defineMacro("\\purpleC", "\\textcolor{##aa87ff}{#1}");
    defineMacro("\\purpleD", "\\textcolor{##7854ab}{#1}");
    defineMacro("\\purpleE", "\\textcolor{##543b78}{#1}");
    defineMacro("\\mintA", "\\textcolor{##f5f9e8}{#1}");
    defineMacro("\\mintB", "\\textcolor{##edf2df}{#1}");
    defineMacro("\\mintC", "\\textcolor{##e0e5cc}{#1}");
    defineMacro("\\grayA", "\\textcolor{##f6f7f7}{#1}");
    defineMacro("\\grayB", "\\textcolor{##f0f1f2}{#1}");
    defineMacro("\\grayC", "\\textcolor{##e3e5e6}{#1}");
    defineMacro("\\grayD", "\\textcolor{##d6d8da}{#1}");
    defineMacro("\\grayE", "\\textcolor{##babec2}{#1}");
    defineMacro("\\grayF", "\\textcolor{##888d93}{#1}");
    defineMacro("\\grayG", "\\textcolor{##626569}{#1}");
    defineMacro("\\grayH", "\\textcolor{##3b3e40}{#1}");
    defineMacro("\\grayI", "\\textcolor{##21242c}{#1}");
    defineMacro("\\kaBlue", "\\textcolor{##314453}{#1}");
    defineMacro("\\kaGreen", "\\textcolor{##71B307}{#1}");
    // CONCATENATED MODULE: ./src/MacroExpander.js
    /**
     * This file contains the “gullet” where macros are expanded
     * until only non-macro tokens remain.
     */
    
    
    
    
    
    
    
    // List of commands that act like macros but aren't defined as a macro,
    // function, or symbol.  Used in `isDefined`.
    var implicitCommands = {
      "\\relax": true,
      // MacroExpander.js
      "^": true,
      // Parser.js
      "_": true,
      // Parser.js
      "\\limits": true,
      // Parser.js
      "\\nolimits": true // Parser.js
    
    };
    
    var MacroExpander_MacroExpander =
    /*#__PURE__*/
    function () {
      function MacroExpander(input, settings, mode) {
        this.settings = void 0;
        this.expansionCount = void 0;
        this.lexer = void 0;
        this.macros = void 0;
        this.stack = void 0;
        this.mode = void 0;
        this.settings = settings;
        this.expansionCount = 0;
        this.feed(input); // Make new global namespace
    
        this.macros = new Namespace_Namespace(macros, settings.macros);
        this.mode = mode;
        this.stack = []; // contains tokens in REVERSE order
      }
      /**
       * Feed a new input string to the same MacroExpander
       * (with existing macros etc.).
       */
    
    
      var _proto = MacroExpander.prototype;
    
      _proto.feed = function feed(input) {
        this.lexer = new Lexer_Lexer(input, this.settings);
      }
      /**
       * Switches between "text" and "math" modes.
       */
      ;
    
      _proto.switchMode = function switchMode(newMode) {
        this.mode = newMode;
      }
      /**
       * Start a new group nesting within all namespaces.
       */
      ;
    
      _proto.beginGroup = function beginGroup() {
        this.macros.beginGroup();
      }
      /**
       * End current group nesting within all namespaces.
       */
      ;
    
      _proto.endGroup = function endGroup() {
        this.macros.endGroup();
      }
      /**
       * Returns the topmost token on the stack, without expanding it.
       * Similar in behavior to TeX's `\futurelet`.
       */
      ;
    
      _proto.future = function future() {
        if (this.stack.length === 0) {
          this.pushToken(this.lexer.lex());
        }
    
        return this.stack[this.stack.length - 1];
      }
      /**
       * Remove and return the next unexpanded token.
       */
      ;
    
      _proto.popToken = function popToken() {
        this.future(); // ensure non-empty stack
    
        return this.stack.pop();
      }
      /**
       * Add a given token to the token stack.  In particular, this get be used
       * to put back a token returned from one of the other methods.
       */
      ;
    
      _proto.pushToken = function pushToken(token) {
        this.stack.push(token);
      }
      /**
       * Append an array of tokens to the token stack.
       */
      ;
    
      _proto.pushTokens = function pushTokens(tokens) {
        var _this$stack;
    
        (_this$stack = this.stack).push.apply(_this$stack, tokens);
      }
      /**
       * Consume all following space tokens, without expansion.
       */
      ;
    
      _proto.consumeSpaces = function consumeSpaces() {
        for (;;) {
          var token = this.future();
    
          if (token.text === " ") {
            this.stack.pop();
          } else {
            break;
          }
        }
      }
      /**
       * Consume the specified number of arguments from the token stream,
       * and return the resulting array of arguments.
       */
      ;
    
      _proto.consumeArgs = function consumeArgs(numArgs) {
        var args = []; // obtain arguments, either single token or balanced {…} group
    
        for (var i = 0; i < numArgs; ++i) {
          this.consumeSpaces(); // ignore spaces before each argument
    
          var startOfArg = this.popToken();
    
          if (startOfArg.text === "{") {
            var arg = [];
            var depth = 1;
    
            while (depth !== 0) {
              var tok = this.popToken();
              arg.push(tok);
    
              if (tok.text === "{") {
                ++depth;
              } else if (tok.text === "}") {
                --depth;
              } else if (tok.text === "EOF") {
                throw new src_ParseError("End of input in macro argument", startOfArg);
              }
            }
    
            arg.pop(); // remove last }
    
            arg.reverse(); // like above, to fit in with stack order
    
            args[i] = arg;
          } else if (startOfArg.text === "EOF") {
            throw new src_ParseError("End of input expecting macro argument");
          } else {
            args[i] = [startOfArg];
          }
        }
    
        return args;
      }
      /**
       * Expand the next token only once if possible.
       *
       * If the token is expanded, the resulting tokens will be pushed onto
       * the stack in reverse order and will be returned as an array,
       * also in reverse order.
       *
       * If not, the next token will be returned without removing it
       * from the stack.  This case can be detected by a `Token` return value
       * instead of an `Array` return value.
       *
       * In either case, the next token will be on the top of the stack,
       * or the stack will be empty.
       *
       * Used to implement `expandAfterFuture` and `expandNextToken`.
       *
       * At the moment, macro expansion doesn't handle delimited macros,
       * i.e. things like those defined by \def\foo#1\end{…}.
       * See the TeX book page 202ff. for details on how those should behave.
       */
      ;
    
      _proto.expandOnce = function expandOnce() {
        var topToken = this.popToken();
        var name = topToken.text;
    
        var expansion = this._getExpansion(name);
    
        if (expansion == null) {
          // mainly checking for undefined here
          // Fully expanded
          this.pushToken(topToken);
          return topToken;
        }
    
        this.expansionCount++;
    
        if (this.expansionCount > this.settings.maxExpand) {
          throw new src_ParseError("Too many expansions: infinite loop or " + "need to increase maxExpand setting");
        }
    
        var tokens = expansion.tokens;
    
        if (expansion.numArgs) {
          var args = this.consumeArgs(expansion.numArgs); // paste arguments in place of the placeholders
    
          tokens = tokens.slice(); // make a shallow copy
    
          for (var i = tokens.length - 1; i >= 0; --i) {
            var tok = tokens[i];
    
            if (tok.text === "#") {
              if (i === 0) {
                throw new src_ParseError("Incomplete placeholder at end of macro body", tok);
              }
    
              tok = tokens[--i]; // next token on stack
    
              if (tok.text === "#") {
                // ## → #
                tokens.splice(i + 1, 1); // drop first #
              } else if (/^[1-9]$/.test(tok.text)) {
                var _tokens;
    
                // replace the placeholder with the indicated argument
                (_tokens = tokens).splice.apply(_tokens, [i, 2].concat(args[+tok.text - 1]));
              } else {
                throw new src_ParseError("Not a valid argument number", tok);
              }
            }
          }
        } // Concatenate expansion onto top of stack.
    
    
        this.pushTokens(tokens);
        return tokens;
      }
      /**
       * Expand the next token only once (if possible), and return the resulting
       * top token on the stack (without removing anything from the stack).
       * Similar in behavior to TeX's `\expandafter\futurelet`.
       * Equivalent to expandOnce() followed by future().
       */
      ;
    
      _proto.expandAfterFuture = function expandAfterFuture() {
        this.expandOnce();
        return this.future();
      }
      /**
       * Recursively expand first token, then return first non-expandable token.
       */
      ;
    
      _proto.expandNextToken = function expandNextToken() {
        for (;;) {
          var expanded = this.expandOnce(); // expandOnce returns Token if and only if it's fully expanded.
    
          if (expanded instanceof Token_Token) {
            // \relax stops the expansion, but shouldn't get returned (a
            // null return value couldn't get implemented as a function).
            if (expanded.text === "\\relax") {
              this.stack.pop();
            } else {
              return this.stack.pop(); // === expanded
            }
          }
        } // Flow unable to figure out that this pathway is impossible.
        // https://github.com/facebook/flow/issues/4808
    
    
        throw new Error(); // eslint-disable-line no-unreachable
      }
      /**
       * Fully expand the given macro name and return the resulting list of
       * tokens, or return `undefined` if no such macro is defined.
       */
      ;
    
      _proto.expandMacro = function expandMacro(name) {
        if (!this.macros.get(name)) {
          return undefined;
        }
    
        var output = [];
        var oldStackLength = this.stack.length;
        this.pushToken(new Token_Token(name));
    
        while (this.stack.length > oldStackLength) {
          var expanded = this.expandOnce(); // expandOnce returns Token if and only if it's fully expanded.
    
          if (expanded instanceof Token_Token) {
            output.push(this.stack.pop());
          }
        }
    
        return output;
      }
      /**
       * Fully expand the given macro name and return the result as a string,
       * or return `undefined` if no such macro is defined.
       */
      ;
    
      _proto.expandMacroAsText = function expandMacroAsText(name) {
        var tokens = this.expandMacro(name);
    
        if (tokens) {
          return tokens.map(function (token) {
            return token.text;
          }).join("");
        } else {
          return tokens;
        }
      }
      /**
       * Returns the expanded macro as a reversed array of tokens and a macro
       * argument count.  Or returns `null` if no such macro.
       */
      ;
    
      _proto._getExpansion = function _getExpansion(name) {
        var definition = this.macros.get(name);
    
        if (definition == null) {
          // mainly checking for undefined here
          return definition;
        }
    
        var expansion = typeof definition === "function" ? definition(this) : definition;
    
        if (typeof expansion === "string") {
          var numArgs = 0;
    
          if (expansion.indexOf("#") !== -1) {
            var stripped = expansion.replace(/##/g, "");
    
            while (stripped.indexOf("#" + (numArgs + 1)) !== -1) {
              ++numArgs;
            }
          }
    
          var bodyLexer = new Lexer_Lexer(expansion, this.settings);
          var tokens = [];
          var tok = bodyLexer.lex();
    
          while (tok.text !== "EOF") {
            tokens.push(tok);
            tok = bodyLexer.lex();
          }
    
          tokens.reverse(); // to fit in with stack using push and pop
    
          var expanded = {
            tokens: tokens,
            numArgs: numArgs
          };
          return expanded;
        }
    
        return expansion;
      }
      /**
       * Determine whether a command is currently "defined" (has some
       * functionality), meaning that it's a macro (in the current group),
       * a function, a symbol, or one of the special commands listed in
       * `implicitCommands`.
       */
      ;
    
      _proto.isDefined = function isDefined(name) {
        return this.macros.has(name) || src_functions.hasOwnProperty(name) || src_symbols.math.hasOwnProperty(name) || src_symbols.text.hasOwnProperty(name) || implicitCommands.hasOwnProperty(name);
      };
    
      return MacroExpander;
    }();
    
    
    // CONCATENATED MODULE: ./src/unicodeAccents.js
    // Mapping of Unicode accent characters to their LaTeX equivalent in text and
    // math mode (when they exist).
    /* harmony default export */ var unicodeAccents = ({
      "\u0301": {
        text: "\\'",
        math: '\\acute'
      },
      "\u0300": {
        text: '\\`',
        math: '\\grave'
      },
      "\u0308": {
        text: '\\"',
        math: '\\ddot'
      },
      "\u0303": {
        text: '\\~',
        math: '\\tilde'
      },
      "\u0304": {
        text: '\\=',
        math: '\\bar'
      },
      "\u0306": {
        text: "\\u",
        math: '\\breve'
      },
      "\u030C": {
        text: '\\v',
        math: '\\check'
      },
      "\u0302": {
        text: '\\^',
        math: '\\hat'
      },
      "\u0307": {
        text: '\\.',
        math: '\\dot'
      },
      "\u030A": {
        text: '\\r',
        math: '\\mathring'
      },
      "\u030B": {
        text: '\\H'
      }
    });
    // CONCATENATED MODULE: ./src/unicodeSymbols.js
    // This file is GENERATED by unicodeMake.js. DO NOT MODIFY.
    /* harmony default export */ var unicodeSymbols = ({
      "\xE1": "a\u0301",
      // á = \'{a}
      "\xE0": "a\u0300",
      // à = \`{a}
      "\xE4": "a\u0308",
      // ä = \"{a}
      "\u01DF": "a\u0308\u0304",
      // ǟ = \"\={a}
      "\xE3": "a\u0303",
      // ã = \~{a}
      "\u0101": "a\u0304",
      // ā = \={a}
      "\u0103": "a\u0306",
      // ă = \u{a}
      "\u1EAF": "a\u0306\u0301",
      // ắ = \u\'{a}
      "\u1EB1": "a\u0306\u0300",
      // ằ = \u\`{a}
      "\u1EB5": "a\u0306\u0303",
      // ẵ = \u\~{a}
      "\u01CE": "a\u030C",
      // ǎ = \v{a}
      "\xE2": "a\u0302",
      // â = \^{a}
      "\u1EA5": "a\u0302\u0301",
      // ấ = \^\'{a}
      "\u1EA7": "a\u0302\u0300",
      // ầ = \^\`{a}
      "\u1EAB": "a\u0302\u0303",
      // ẫ = \^\~{a}
      "\u0227": "a\u0307",
      // ȧ = \.{a}
      "\u01E1": "a\u0307\u0304",
      // ǡ = \.\={a}
      "\xE5": "a\u030A",
      // å = \r{a}
      "\u01FB": "a\u030A\u0301",
      // ǻ = \r\'{a}
      "\u1E03": "b\u0307",
      // ḃ = \.{b}
      "\u0107": "c\u0301",
      // ć = \'{c}
      "\u010D": "c\u030C",
      // č = \v{c}
      "\u0109": "c\u0302",
      // ĉ = \^{c}
      "\u010B": "c\u0307",
      // ċ = \.{c}
      "\u010F": "d\u030C",
      // ď = \v{d}
      "\u1E0B": "d\u0307",
      // ḋ = \.{d}
      "\xE9": "e\u0301",
      // é = \'{e}
      "\xE8": "e\u0300",
      // è = \`{e}
      "\xEB": "e\u0308",
      // ë = \"{e}
      "\u1EBD": "e\u0303",
      // ẽ = \~{e}
      "\u0113": "e\u0304",
      // ē = \={e}
      "\u1E17": "e\u0304\u0301",
      // ḗ = \=\'{e}
      "\u1E15": "e\u0304\u0300",
      // ḕ = \=\`{e}
      "\u0115": "e\u0306",
      // ĕ = \u{e}
      "\u011B": "e\u030C",
      // ě = \v{e}
      "\xEA": "e\u0302",
      // ê = \^{e}
      "\u1EBF": "e\u0302\u0301",
      // ế = \^\'{e}
      "\u1EC1": "e\u0302\u0300",
      // ề = \^\`{e}
      "\u1EC5": "e\u0302\u0303",
      // ễ = \^\~{e}
      "\u0117": "e\u0307",
      // ė = \.{e}
      "\u1E1F": "f\u0307",
      // ḟ = \.{f}
      "\u01F5": "g\u0301",
      // ǵ = \'{g}
      "\u1E21": "g\u0304",
      // ḡ = \={g}
      "\u011F": "g\u0306",
      // ğ = \u{g}
      "\u01E7": "g\u030C",
      // ǧ = \v{g}
      "\u011D": "g\u0302",
      // ĝ = \^{g}
      "\u0121": "g\u0307",
      // ġ = \.{g}
      "\u1E27": "h\u0308",
      // ḧ = \"{h}
      "\u021F": "h\u030C",
      // ȟ = \v{h}
      "\u0125": "h\u0302",
      // ĥ = \^{h}
      "\u1E23": "h\u0307",
      // ḣ = \.{h}
      "\xED": "i\u0301",
      // í = \'{i}
      "\xEC": "i\u0300",
      // ì = \`{i}
      "\xEF": "i\u0308",
      // ï = \"{i}
      "\u1E2F": "i\u0308\u0301",
      // ḯ = \"\'{i}
      "\u0129": "i\u0303",
      // ĩ = \~{i}
      "\u012B": "i\u0304",
      // ī = \={i}
      "\u012D": "i\u0306",
      // ĭ = \u{i}
      "\u01D0": "i\u030C",
      // ǐ = \v{i}
      "\xEE": "i\u0302",
      // î = \^{i}
      "\u01F0": "j\u030C",
      // ǰ = \v{j}
      "\u0135": "j\u0302",
      // ĵ = \^{j}
      "\u1E31": "k\u0301",
      // ḱ = \'{k}
      "\u01E9": "k\u030C",
      // ǩ = \v{k}
      "\u013A": "l\u0301",
      // ĺ = \'{l}
      "\u013E": "l\u030C",
      // ľ = \v{l}
      "\u1E3F": "m\u0301",
      // ḿ = \'{m}
      "\u1E41": "m\u0307",
      // ṁ = \.{m}
      "\u0144": "n\u0301",
      // ń = \'{n}
      "\u01F9": "n\u0300",
      // ǹ = \`{n}
      "\xF1": "n\u0303",
      // ñ = \~{n}
      "\u0148": "n\u030C",
      // ň = \v{n}
      "\u1E45": "n\u0307",
      // ṅ = \.{n}
      "\xF3": "o\u0301",
      // ó = \'{o}
      "\xF2": "o\u0300",
      // ò = \`{o}
      "\xF6": "o\u0308",
      // ö = \"{o}
      "\u022B": "o\u0308\u0304",
      // ȫ = \"\={o}
      "\xF5": "o\u0303",
      // õ = \~{o}
      "\u1E4D": "o\u0303\u0301",
      // ṍ = \~\'{o}
      "\u1E4F": "o\u0303\u0308",
      // ṏ = \~\"{o}
      "\u022D": "o\u0303\u0304",
      // ȭ = \~\={o}
      "\u014D": "o\u0304",
      // ō = \={o}
      "\u1E53": "o\u0304\u0301",
      // ṓ = \=\'{o}
      "\u1E51": "o\u0304\u0300",
      // ṑ = \=\`{o}
      "\u014F": "o\u0306",
      // ŏ = \u{o}
      "\u01D2": "o\u030C",
      // ǒ = \v{o}
      "\xF4": "o\u0302",
      // ô = \^{o}
      "\u1ED1": "o\u0302\u0301",
      // ố = \^\'{o}
      "\u1ED3": "o\u0302\u0300",
      // ồ = \^\`{o}
      "\u1ED7": "o\u0302\u0303",
      // ỗ = \^\~{o}
      "\u022F": "o\u0307",
      // ȯ = \.{o}
      "\u0231": "o\u0307\u0304",
      // ȱ = \.\={o}
      "\u0151": "o\u030B",
      // ő = \H{o}
      "\u1E55": "p\u0301",
      // ṕ = \'{p}
      "\u1E57": "p\u0307",
      // ṗ = \.{p}
      "\u0155": "r\u0301",
      // ŕ = \'{r}
      "\u0159": "r\u030C",
      // ř = \v{r}
      "\u1E59": "r\u0307",
      // ṙ = \.{r}
      "\u015B": "s\u0301",
      // ś = \'{s}
      "\u1E65": "s\u0301\u0307",
      // ṥ = \'\.{s}
      "\u0161": "s\u030C",
      // š = \v{s}
      "\u1E67": "s\u030C\u0307",
      // ṧ = \v\.{s}
      "\u015D": "s\u0302",
      // ŝ = \^{s}
      "\u1E61": "s\u0307",
      // ṡ = \.{s}
      "\u1E97": "t\u0308",
      // ẗ = \"{t}
      "\u0165": "t\u030C",
      // ť = \v{t}
      "\u1E6B": "t\u0307",
      // ṫ = \.{t}
      "\xFA": "u\u0301",
      // ú = \'{u}
      "\xF9": "u\u0300",
      // ù = \`{u}
      "\xFC": "u\u0308",
      // ü = \"{u}
      "\u01D8": "u\u0308\u0301",
      // ǘ = \"\'{u}
      "\u01DC": "u\u0308\u0300",
      // ǜ = \"\`{u}
      "\u01D6": "u\u0308\u0304",
      // ǖ = \"\={u}
      "\u01DA": "u\u0308\u030C",
      // ǚ = \"\v{u}
      "\u0169": "u\u0303",
      // ũ = \~{u}
      "\u1E79": "u\u0303\u0301",
      // ṹ = \~\'{u}
      "\u016B": "u\u0304",
      // ū = \={u}
      "\u1E7B": "u\u0304\u0308",
      // ṻ = \=\"{u}
      "\u016D": "u\u0306",
      // ŭ = \u{u}
      "\u01D4": "u\u030C",
      // ǔ = \v{u}
      "\xFB": "u\u0302",
      // û = \^{u}
      "\u016F": "u\u030A",
      // ů = \r{u}
      "\u0171": "u\u030B",
      // ű = \H{u}
      "\u1E7D": "v\u0303",
      // ṽ = \~{v}
      "\u1E83": "w\u0301",
      // ẃ = \'{w}
      "\u1E81": "w\u0300",
      // ẁ = \`{w}
      "\u1E85": "w\u0308",
      // ẅ = \"{w}
      "\u0175": "w\u0302",
      // ŵ = \^{w}
      "\u1E87": "w\u0307",
      // ẇ = \.{w}
      "\u1E98": "w\u030A",
      // ẘ = \r{w}
      "\u1E8D": "x\u0308",
      // ẍ = \"{x}
      "\u1E8B": "x\u0307",
      // ẋ = \.{x}
      "\xFD": "y\u0301",
      // ý = \'{y}
      "\u1EF3": "y\u0300",
      // ỳ = \`{y}
      "\xFF": "y\u0308",
      // ÿ = \"{y}
      "\u1EF9": "y\u0303",
      // ỹ = \~{y}
      "\u0233": "y\u0304",
      // ȳ = \={y}
      "\u0177": "y\u0302",
      // ŷ = \^{y}
      "\u1E8F": "y\u0307",
      // ẏ = \.{y}
      "\u1E99": "y\u030A",
      // ẙ = \r{y}
      "\u017A": "z\u0301",
      // ź = \'{z}
      "\u017E": "z\u030C",
      // ž = \v{z}
      "\u1E91": "z\u0302",
      // ẑ = \^{z}
      "\u017C": "z\u0307",
      // ż = \.{z}
      "\xC1": "A\u0301",
      // Á = \'{A}
      "\xC0": "A\u0300",
      // À = \`{A}
      "\xC4": "A\u0308",
      // Ä = \"{A}
      "\u01DE": "A\u0308\u0304",
      // Ǟ = \"\={A}
      "\xC3": "A\u0303",
      // Ã = \~{A}
      "\u0100": "A\u0304",
      // Ā = \={A}
      "\u0102": "A\u0306",
      // Ă = \u{A}
      "\u1EAE": "A\u0306\u0301",
      // Ắ = \u\'{A}
      "\u1EB0": "A\u0306\u0300",
      // Ằ = \u\`{A}
      "\u1EB4": "A\u0306\u0303",
      // Ẵ = \u\~{A}
      "\u01CD": "A\u030C",
      // Ǎ = \v{A}
      "\xC2": "A\u0302",
      // Â = \^{A}
      "\u1EA4": "A\u0302\u0301",
      // Ấ = \^\'{A}
      "\u1EA6": "A\u0302\u0300",
      // Ầ = \^\`{A}
      "\u1EAA": "A\u0302\u0303",
      // Ẫ = \^\~{A}
      "\u0226": "A\u0307",
      // Ȧ = \.{A}
      "\u01E0": "A\u0307\u0304",
      // Ǡ = \.\={A}
      "\xC5": "A\u030A",
      // Å = \r{A}
      "\u01FA": "A\u030A\u0301",
      // Ǻ = \r\'{A}
      "\u1E02": "B\u0307",
      // Ḃ = \.{B}
      "\u0106": "C\u0301",
      // Ć = \'{C}
      "\u010C": "C\u030C",
      // Č = \v{C}
      "\u0108": "C\u0302",
      // Ĉ = \^{C}
      "\u010A": "C\u0307",
      // Ċ = \.{C}
      "\u010E": "D\u030C",
      // Ď = \v{D}
      "\u1E0A": "D\u0307",
      // Ḋ = \.{D}
      "\xC9": "E\u0301",
      // É = \'{E}
      "\xC8": "E\u0300",
      // È = \`{E}
      "\xCB": "E\u0308",
      // Ë = \"{E}
      "\u1EBC": "E\u0303",
      // Ẽ = \~{E}
      "\u0112": "E\u0304",
      // Ē = \={E}
      "\u1E16": "E\u0304\u0301",
      // Ḗ = \=\'{E}
      "\u1E14": "E\u0304\u0300",
      // Ḕ = \=\`{E}
      "\u0114": "E\u0306",
      // Ĕ = \u{E}
      "\u011A": "E\u030C",
      // Ě = \v{E}
      "\xCA": "E\u0302",
      // Ê = \^{E}
      "\u1EBE": "E\u0302\u0301",
      // Ế = \^\'{E}
      "\u1EC0": "E\u0302\u0300",
      // Ề = \^\`{E}
      "\u1EC4": "E\u0302\u0303",
      // Ễ = \^\~{E}
      "\u0116": "E\u0307",
      // Ė = \.{E}
      "\u1E1E": "F\u0307",
      // Ḟ = \.{F}
      "\u01F4": "G\u0301",
      // Ǵ = \'{G}
      "\u1E20": "G\u0304",
      // Ḡ = \={G}
      "\u011E": "G\u0306",
      // Ğ = \u{G}
      "\u01E6": "G\u030C",
      // Ǧ = \v{G}
      "\u011C": "G\u0302",
      // Ĝ = \^{G}
      "\u0120": "G\u0307",
      // Ġ = \.{G}
      "\u1E26": "H\u0308",
      // Ḧ = \"{H}
      "\u021E": "H\u030C",
      // Ȟ = \v{H}
      "\u0124": "H\u0302",
      // Ĥ = \^{H}
      "\u1E22": "H\u0307",
      // Ḣ = \.{H}
      "\xCD": "I\u0301",
      // Í = \'{I}
      "\xCC": "I\u0300",
      // Ì = \`{I}
      "\xCF": "I\u0308",
      // Ï = \"{I}
      "\u1E2E": "I\u0308\u0301",
      // Ḯ = \"\'{I}
      "\u0128": "I\u0303",
      // Ĩ = \~{I}
      "\u012A": "I\u0304",
      // Ī = \={I}
      "\u012C": "I\u0306",
      // Ĭ = \u{I}
      "\u01CF": "I\u030C",
      // Ǐ = \v{I}
      "\xCE": "I\u0302",
      // Î = \^{I}
      "\u0130": "I\u0307",
      // İ = \.{I}
      "\u0134": "J\u0302",
      // Ĵ = \^{J}
      "\u1E30": "K\u0301",
      // Ḱ = \'{K}
      "\u01E8": "K\u030C",
      // Ǩ = \v{K}
      "\u0139": "L\u0301",
      // Ĺ = \'{L}
      "\u013D": "L\u030C",
      // Ľ = \v{L}
      "\u1E3E": "M\u0301",
      // Ḿ = \'{M}
      "\u1E40": "M\u0307",
      // Ṁ = \.{M}
      "\u0143": "N\u0301",
      // Ń = \'{N}
      "\u01F8": "N\u0300",
      // Ǹ = \`{N}
      "\xD1": "N\u0303",
      // Ñ = \~{N}
      "\u0147": "N\u030C",
      // Ň = \v{N}
      "\u1E44": "N\u0307",
      // Ṅ = \.{N}
      "\xD3": "O\u0301",
      // Ó = \'{O}
      "\xD2": "O\u0300",
      // Ò = \`{O}
      "\xD6": "O\u0308",
      // Ö = \"{O}
      "\u022A": "O\u0308\u0304",
      // Ȫ = \"\={O}
      "\xD5": "O\u0303",
      // Õ = \~{O}
      "\u1E4C": "O\u0303\u0301",
      // Ṍ = \~\'{O}
      "\u1E4E": "O\u0303\u0308",
      // Ṏ = \~\"{O}
      "\u022C": "O\u0303\u0304",
      // Ȭ = \~\={O}
      "\u014C": "O\u0304",
      // Ō = \={O}
      "\u1E52": "O\u0304\u0301",
      // Ṓ = \=\'{O}
      "\u1E50": "O\u0304\u0300",
      // Ṑ = \=\`{O}
      "\u014E": "O\u0306",
      // Ŏ = \u{O}
      "\u01D1": "O\u030C",
      // Ǒ = \v{O}
      "\xD4": "O\u0302",
      // Ô = \^{O}
      "\u1ED0": "O\u0302\u0301",
      // Ố = \^\'{O}
      "\u1ED2": "O\u0302\u0300",
      // Ồ = \^\`{O}
      "\u1ED6": "O\u0302\u0303",
      // Ỗ = \^\~{O}
      "\u022E": "O\u0307",
      // Ȯ = \.{O}
      "\u0230": "O\u0307\u0304",
      // Ȱ = \.\={O}
      "\u0150": "O\u030B",
      // Ő = \H{O}
      "\u1E54": "P\u0301",
      // Ṕ = \'{P}
      "\u1E56": "P\u0307",
      // Ṗ = \.{P}
      "\u0154": "R\u0301",
      // Ŕ = \'{R}
      "\u0158": "R\u030C",
      // Ř = \v{R}
      "\u1E58": "R\u0307",
      // Ṙ = \.{R}
      "\u015A": "S\u0301",
      // Ś = \'{S}
      "\u1E64": "S\u0301\u0307",
      // Ṥ = \'\.{S}
      "\u0160": "S\u030C",
      // Š = \v{S}
      "\u1E66": "S\u030C\u0307",
      // Ṧ = \v\.{S}
      "\u015C": "S\u0302",
      // Ŝ = \^{S}
      "\u1E60": "S\u0307",
      // Ṡ = \.{S}
      "\u0164": "T\u030C",
      // Ť = \v{T}
      "\u1E6A": "T\u0307",
      // Ṫ = \.{T}
      "\xDA": "U\u0301",
      // Ú = \'{U}
      "\xD9": "U\u0300",
      // Ù = \`{U}
      "\xDC": "U\u0308",
      // Ü = \"{U}
      "\u01D7": "U\u0308\u0301",
      // Ǘ = \"\'{U}
      "\u01DB": "U\u0308\u0300",
      // Ǜ = \"\`{U}
      "\u01D5": "U\u0308\u0304",
      // Ǖ = \"\={U}
      "\u01D9": "U\u0308\u030C",
      // Ǚ = \"\v{U}
      "\u0168": "U\u0303",
      // Ũ = \~{U}
      "\u1E78": "U\u0303\u0301",
      // Ṹ = \~\'{U}
      "\u016A": "U\u0304",
      // Ū = \={U}
      "\u1E7A": "U\u0304\u0308",
      // Ṻ = \=\"{U}
      "\u016C": "U\u0306",
      // Ŭ = \u{U}
      "\u01D3": "U\u030C",
      // Ǔ = \v{U}
      "\xDB": "U\u0302",
      // Û = \^{U}
      "\u016E": "U\u030A",
      // Ů = \r{U}
      "\u0170": "U\u030B",
      // Ű = \H{U}
      "\u1E7C": "V\u0303",
      // Ṽ = \~{V}
      "\u1E82": "W\u0301",
      // Ẃ = \'{W}
      "\u1E80": "W\u0300",
      // Ẁ = \`{W}
      "\u1E84": "W\u0308",
      // Ẅ = \"{W}
      "\u0174": "W\u0302",
      // Ŵ = \^{W}
      "\u1E86": "W\u0307",
      // Ẇ = \.{W}
      "\u1E8C": "X\u0308",
      // Ẍ = \"{X}
      "\u1E8A": "X\u0307",
      // Ẋ = \.{X}
      "\xDD": "Y\u0301",
      // Ý = \'{Y}
      "\u1EF2": "Y\u0300",
      // Ỳ = \`{Y}
      "\u0178": "Y\u0308",
      // Ÿ = \"{Y}
      "\u1EF8": "Y\u0303",
      // Ỹ = \~{Y}
      "\u0232": "Y\u0304",
      // Ȳ = \={Y}
      "\u0176": "Y\u0302",
      // Ŷ = \^{Y}
      "\u1E8E": "Y\u0307",
      // Ẏ = \.{Y}
      "\u0179": "Z\u0301",
      // Ź = \'{Z}
      "\u017D": "Z\u030C",
      // Ž = \v{Z}
      "\u1E90": "Z\u0302",
      // Ẑ = \^{Z}
      "\u017B": "Z\u0307",
      // Ż = \.{Z}
      "\u03AC": "\u03B1\u0301",
      // ά = \'{α}
      "\u1F70": "\u03B1\u0300",
      // ὰ = \`{α}
      "\u1FB1": "\u03B1\u0304",
      // ᾱ = \={α}
      "\u1FB0": "\u03B1\u0306",
      // ᾰ = \u{α}
      "\u03AD": "\u03B5\u0301",
      // έ = \'{ε}
      "\u1F72": "\u03B5\u0300",
      // ὲ = \`{ε}
      "\u03AE": "\u03B7\u0301",
      // ή = \'{η}
      "\u1F74": "\u03B7\u0300",
      // ὴ = \`{η}
      "\u03AF": "\u03B9\u0301",
      // ί = \'{ι}
      "\u1F76": "\u03B9\u0300",
      // ὶ = \`{ι}
      "\u03CA": "\u03B9\u0308",
      // ϊ = \"{ι}
      "\u0390": "\u03B9\u0308\u0301",
      // ΐ = \"\'{ι}
      "\u1FD2": "\u03B9\u0308\u0300",
      // ῒ = \"\`{ι}
      "\u1FD1": "\u03B9\u0304",
      // ῑ = \={ι}
      "\u1FD0": "\u03B9\u0306",
      // ῐ = \u{ι}
      "\u03CC": "\u03BF\u0301",
      // ό = \'{ο}
      "\u1F78": "\u03BF\u0300",
      // ὸ = \`{ο}
      "\u03CD": "\u03C5\u0301",
      // ύ = \'{υ}
      "\u1F7A": "\u03C5\u0300",
      // ὺ = \`{υ}
      "\u03CB": "\u03C5\u0308",
      // ϋ = \"{υ}
      "\u03B0": "\u03C5\u0308\u0301",
      // ΰ = \"\'{υ}
      "\u1FE2": "\u03C5\u0308\u0300",
      // ῢ = \"\`{υ}
      "\u1FE1": "\u03C5\u0304",
      // ῡ = \={υ}
      "\u1FE0": "\u03C5\u0306",
      // ῠ = \u{υ}
      "\u03CE": "\u03C9\u0301",
      // ώ = \'{ω}
      "\u1F7C": "\u03C9\u0300",
      // ὼ = \`{ω}
      "\u038E": "\u03A5\u0301",
      // Ύ = \'{Υ}
      "\u1FEA": "\u03A5\u0300",
      // Ὺ = \`{Υ}
      "\u03AB": "\u03A5\u0308",
      // Ϋ = \"{Υ}
      "\u1FE9": "\u03A5\u0304",
      // Ῡ = \={Υ}
      "\u1FE8": "\u03A5\u0306",
      // Ῠ = \u{Υ}
      "\u038F": "\u03A9\u0301",
      // Ώ = \'{Ω}
      "\u1FFA": "\u03A9\u0300" // Ὼ = \`{Ω}
    
    });
    // CONCATENATED MODULE: ./src/Parser.js
    /* eslint no-constant-condition:0 */
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    /**
     * This file contains the parser used to parse out a TeX expression from the
     * input. Since TeX isn't context-free, standard parsers don't work particularly
     * well.
     *
     * The strategy of this parser is as such:
     *
     * The main functions (the `.parse...` ones) take a position in the current
     * parse string to parse tokens from. The lexer (found in Lexer.js, stored at
     * this.gullet.lexer) also supports pulling out tokens at arbitrary places. When
     * individual tokens are needed at a position, the lexer is called to pull out a
     * token, which is then used.
     *
     * The parser has a property called "mode" indicating the mode that
     * the parser is currently in. Currently it has to be one of "math" or
     * "text", which denotes whether the current environment is a math-y
     * one or a text-y one (e.g. inside \text). Currently, this serves to
     * limit the functions which can be used in text mode.
     *
     * The main functions then return an object which contains the useful data that
     * was parsed at its given point, and a new position at the end of the parsed
     * data. The main functions can call each other and continue the parsing by
     * using the returned position as a new starting point.
     *
     * There are also extra `.handle...` functions, which pull out some reused
     * functionality into self-contained functions.
     *
     * The functions return ParseNodes.
     */
    var Parser_Parser =
    /*#__PURE__*/
    function () {
      function Parser(input, settings) {
        this.mode = void 0;
        this.gullet = void 0;
        this.settings = void 0;
        this.leftrightDepth = void 0;
        this.nextToken = void 0;
        // Start in math mode
        this.mode = "math"; // Create a new macro expander (gullet) and (indirectly via that) also a
        // new lexer (mouth) for this parser (stomach, in the language of TeX)
    
        this.gullet = new MacroExpander_MacroExpander(input, settings, this.mode); // Store the settings for use in parsing
    
        this.settings = settings; // Count leftright depth (for \middle errors)
    
        this.leftrightDepth = 0;
      }
      /**
       * Checks a result to make sure it has the right type, and throws an
       * appropriate error otherwise.
       */
    
    
      var _proto = Parser.prototype;
    
      _proto.expect = function expect(text, consume) {
        if (consume === void 0) {
          consume = true;
        }
    
        if (this.fetch().text !== text) {
          throw new src_ParseError("Expected '" + text + "', got '" + this.fetch().text + "'", this.fetch());
        }
    
        if (consume) {
          this.consume();
        }
      }
      /**
       * Discards the current lookahead token, considering it consumed.
       */
      ;
    
      _proto.consume = function consume() {
        this.nextToken = null;
      }
      /**
       * Return the current lookahead token, or if there isn't one (at the
       * beginning, or if the previous lookahead token was consume()d),
       * fetch the next token as the new lookahead token and return it.
       */
      ;
    
      _proto.fetch = function fetch() {
        if (this.nextToken == null) {
          this.nextToken = this.gullet.expandNextToken();
        }
    
        return this.nextToken;
      }
      /**
       * Switches between "text" and "math" modes.
       */
      ;
    
      _proto.switchMode = function switchMode(newMode) {
        this.mode = newMode;
        this.gullet.switchMode(newMode);
      }
      /**
       * Main parsing function, which parses an entire input.
       */
      ;
    
      _proto.parse = function parse() {
        // Create a group namespace for the math expression.
        // (LaTeX creates a new group for every $...$, $$...$$, \[...\].)
        this.gullet.beginGroup(); // Use old \color behavior (same as LaTeX's \textcolor) if requested.
        // We do this within the group for the math expression, so it doesn't
        // pollute settings.macros.
    
        if (this.settings.colorIsTextColor) {
          this.gullet.macros.set("\\color", "\\textcolor");
        } // Try to parse the input
    
    
        var parse = this.parseExpression(false); // If we succeeded, make sure there's an EOF at the end
    
        this.expect("EOF"); // End the group namespace for the expression
    
        this.gullet.endGroup();
        return parse;
      };
    
      _proto.parseExpression = function parseExpression(breakOnInfix, breakOnTokenText) {
        var body = []; // Keep adding atoms to the body until we can't parse any more atoms (either
        // we reached the end, a }, or a \right)
    
        while (true) {
          // Ignore spaces in math mode
          if (this.mode === "math") {
            this.consumeSpaces();
          }
    
          var lex = this.fetch();
    
          if (Parser.endOfExpression.indexOf(lex.text) !== -1) {
            break;
          }
    
          if (breakOnTokenText && lex.text === breakOnTokenText) {
            break;
          }
    
          if (breakOnInfix && src_functions[lex.text] && src_functions[lex.text].infix) {
            break;
          }
    
          var atom = this.parseAtom(breakOnTokenText);
    
          if (!atom) {
            break;
          }
    
          body.push(atom);
        }
    
        if (this.mode === "text") {
          this.formLigatures(body);
        }
    
        return this.handleInfixNodes(body);
      }
      /**
       * Rewrites infix operators such as \over with corresponding commands such
       * as \frac.
       *
       * There can only be one infix operator per group.  If there's more than one
       * then the expression is ambiguous.  This can be resolved by adding {}.
       */
      ;
    
      _proto.handleInfixNodes = function handleInfixNodes(body) {
        var overIndex = -1;
        var funcName;
    
        for (var i = 0; i < body.length; i++) {
          var node = checkNodeType(body[i], "infix");
    
          if (node) {
            if (overIndex !== -1) {
              throw new src_ParseError("only one infix operator per group", node.token);
            }
    
            overIndex = i;
            funcName = node.replaceWith;
          }
        }
    
        if (overIndex !== -1 && funcName) {
          var numerNode;
          var denomNode;
          var numerBody = body.slice(0, overIndex);
          var denomBody = body.slice(overIndex + 1);
    
          if (numerBody.length === 1 && numerBody[0].type === "ordgroup") {
            numerNode = numerBody[0];
          } else {
            numerNode = {
              type: "ordgroup",
              mode: this.mode,
              body: numerBody
            };
          }
    
          if (denomBody.length === 1 && denomBody[0].type === "ordgroup") {
            denomNode = denomBody[0];
          } else {
            denomNode = {
              type: "ordgroup",
              mode: this.mode,
              body: denomBody
            };
          }
    
          var _node;
    
          if (funcName === "\\\\abovefrac") {
            _node = this.callFunction(funcName, [numerNode, body[overIndex], denomNode], []);
          } else {
            _node = this.callFunction(funcName, [numerNode, denomNode], []);
          }
    
          return [_node];
        } else {
          return body;
        }
      } // The greediness of a superscript or subscript
      ;
    
      /**
       * Handle a subscript or superscript with nice errors.
       */
      _proto.handleSupSubscript = function handleSupSubscript(name) {
        var symbolToken = this.fetch();
        var symbol = symbolToken.text;
        this.consume();
        var group = this.parseGroup(name, false, Parser.SUPSUB_GREEDINESS, undefined, undefined, true); // ignore spaces before sup/subscript argument
    
        if (!group) {
          throw new src_ParseError("Expected group after '" + symbol + "'", symbolToken);
        }
    
        return group;
      }
      /**
       * Converts the textual input of an unsupported command into a text node
       * contained within a color node whose color is determined by errorColor
       */
      ;
    
      _proto.formatUnsupportedCmd = function formatUnsupportedCmd(text) {
        var textordArray = [];
    
        for (var i = 0; i < text.length; i++) {
          textordArray.push({
            type: "textord",
            mode: "text",
            text: text[i]
          });
        }
    
        var textNode = {
          type: "text",
          mode: this.mode,
          body: textordArray
        };
        var colorNode = {
          type: "color",
          mode: this.mode,
          color: this.settings.errorColor,
          body: [textNode]
        };
        return colorNode;
      }
      /**
       * Parses a group with optional super/subscripts.
       */
      ;
    
      _proto.parseAtom = function parseAtom(breakOnTokenText) {
        // The body of an atom is an implicit group, so that things like
        // \left(x\right)^2 work correctly.
        var base = this.parseGroup("atom", false, null, breakOnTokenText); // In text mode, we don't have superscripts or subscripts
    
        if (this.mode === "text") {
          return base;
        } // Note that base may be empty (i.e. null) at this point.
    
    
        var superscript;
        var subscript;
    
        while (true) {
          // Guaranteed in math mode, so eat any spaces first.
          this.consumeSpaces(); // Lex the first token
    
          var lex = this.fetch();
    
          if (lex.text === "\\limits" || lex.text === "\\nolimits") {
            // We got a limit control
            var opNode = checkNodeType(base, "op");
    
            if (opNode) {
              var limits = lex.text === "\\limits";
              opNode.limits = limits;
              opNode.alwaysHandleSupSub = true;
            } else {
              opNode = checkNodeType(base, "operatorname");
    
              if (opNode && opNode.alwaysHandleSupSub) {
                var _limits = lex.text === "\\limits";
    
                opNode.limits = _limits;
              } else {
                throw new src_ParseError("Limit controls must follow a math operator", lex);
              }
            }
    
            this.consume();
          } else if (lex.text === "^") {
            // We got a superscript start
            if (superscript) {
              throw new src_ParseError("Double superscript", lex);
            }
    
            superscript = this.handleSupSubscript("superscript");
          } else if (lex.text === "_") {
            // We got a subscript start
            if (subscript) {
              throw new src_ParseError("Double subscript", lex);
            }
    
            subscript = this.handleSupSubscript("subscript");
          } else if (lex.text === "'") {
            // We got a prime
            if (superscript) {
              throw new src_ParseError("Double superscript", lex);
            }
    
            var prime = {
              type: "textord",
              mode: this.mode,
              text: "\\prime"
            }; // Many primes can be grouped together, so we handle this here
    
            var primes = [prime];
            this.consume(); // Keep lexing tokens until we get something that's not a prime
    
            while (this.fetch().text === "'") {
              // For each one, add another prime to the list
              primes.push(prime);
              this.consume();
            } // If there's a superscript following the primes, combine that
            // superscript in with the primes.
    
    
            if (this.fetch().text === "^") {
              primes.push(this.handleSupSubscript("superscript"));
            } // Put everything into an ordgroup as the superscript
    
    
            superscript = {
              type: "ordgroup",
              mode: this.mode,
              body: primes
            };
          } else {
            // If it wasn't ^, _, or ', stop parsing super/subscripts
            break;
          }
        } // Base must be set if superscript or subscript are set per logic above,
        // but need to check here for type check to pass.
    
    
        if (superscript || subscript) {
          // If we got either a superscript or subscript, create a supsub
          return {
            type: "supsub",
            mode: this.mode,
            base: base,
            sup: superscript,
            sub: subscript
          };
        } else {
          // Otherwise return the original body
          return base;
        }
      }
      /**
       * Parses an entire function, including its base and all of its arguments.
       */
      ;
    
      _proto.parseFunction = function parseFunction(breakOnTokenText, name, // For error reporting.
      greediness) {
        var token = this.fetch();
        var func = token.text;
        var funcData = src_functions[func];
    
        if (!funcData) {
          return null;
        }
    
        this.consume(); // consume command token
    
        if (greediness != null && funcData.greediness <= greediness) {
          throw new src_ParseError("Got function '" + func + "' with no arguments" + (name ? " as " + name : ""), token);
        } else if (this.mode === "text" && !funcData.allowedInText) {
          throw new src_ParseError("Can't use function '" + func + "' in text mode", token);
        } else if (this.mode === "math" && funcData.allowedInMath === false) {
          throw new src_ParseError("Can't use function '" + func + "' in math mode", token);
        }
    
        var _this$parseArguments = this.parseArguments(func, funcData),
            args = _this$parseArguments.args,
            optArgs = _this$parseArguments.optArgs;
    
        return this.callFunction(func, args, optArgs, token, breakOnTokenText);
      }
      /**
       * Call a function handler with a suitable context and arguments.
       */
      ;
    
      _proto.callFunction = function callFunction(name, args, optArgs, token, breakOnTokenText) {
        var context = {
          funcName: name,
          parser: this,
          token: token,
          breakOnTokenText: breakOnTokenText
        };
        var func = src_functions[name];
    
        if (func && func.handler) {
          return func.handler(context, args, optArgs);
        } else {
          throw new src_ParseError("No function handler for " + name);
        }
      }
      /**
       * Parses the arguments of a function or environment
       */
      ;
    
      _proto.parseArguments = function parseArguments(func, // Should look like "\name" or "\begin{name}".
      funcData) {
        var totalArgs = funcData.numArgs + funcData.numOptionalArgs;
    
        if (totalArgs === 0) {
          return {
            args: [],
            optArgs: []
          };
        }
    
        var baseGreediness = funcData.greediness;
        var args = [];
        var optArgs = [];
    
        for (var i = 0; i < totalArgs; i++) {
          var argType = funcData.argTypes && funcData.argTypes[i];
          var isOptional = i < funcData.numOptionalArgs; // Ignore spaces between arguments.  As the TeXbook says:
          // "After you have said ‘\def\row#1#2{...}’, you are allowed to
          //  put spaces between the arguments (e.g., ‘\row x n’), because
          //  TeX doesn’t use single spaces as undelimited arguments."
    
          var consumeSpaces = i > 0 && !isOptional || // Also consume leading spaces in math mode, as parseSymbol
          // won't know what to do with them.  This can only happen with
          // macros, e.g. \frac\foo\foo where \foo expands to a space symbol.
          // In LaTeX, the \foo's get treated as (blank) arguments.
          // In KaTeX, for now, both spaces will get consumed.
          // TODO(edemaine)
          i === 0 && !isOptional && this.mode === "math";
          var arg = this.parseGroupOfType("argument to '" + func + "'", argType, isOptional, baseGreediness, consumeSpaces);
    
          if (!arg) {
            if (isOptional) {
              optArgs.push(null);
              continue;
            }
    
            throw new src_ParseError("Expected group after '" + func + "'", this.fetch());
          }
    
          (isOptional ? optArgs : args).push(arg);
        }
    
        return {
          args: args,
          optArgs: optArgs
        };
      }
      /**
       * Parses a group when the mode is changing.
       */
      ;
    
      _proto.parseGroupOfType = function parseGroupOfType(name, type, optional, greediness, consumeSpaces) {
        switch (type) {
          case "color":
            if (consumeSpaces) {
              this.consumeSpaces();
            }
    
            return this.parseColorGroup(optional);
    
          case "size":
            if (consumeSpaces) {
              this.consumeSpaces();
            }
    
            return this.parseSizeGroup(optional);
    
          case "url":
            return this.parseUrlGroup(optional, consumeSpaces);
    
          case "math":
          case "text":
            return this.parseGroup(name, optional, greediness, undefined, type, consumeSpaces);
    
          case "hbox":
            {
              // hbox argument type wraps the argument in the equivalent of
              // \hbox, which is like \text but switching to \textstyle size.
              var group = this.parseGroup(name, optional, greediness, undefined, "text", consumeSpaces);
    
              if (!group) {
                return group;
              }
    
              var styledGroup = {
                type: "styling",
                mode: group.mode,
                body: [group],
                style: "text" // simulate \textstyle
    
              };
              return styledGroup;
            }
    
          case "raw":
            {
              if (consumeSpaces) {
                this.consumeSpaces();
              }
    
              if (optional && this.fetch().text === "{") {
                return null;
              }
    
              var token = this.parseStringGroup("raw", optional, true);
    
              if (token) {
                return {
                  type: "raw",
                  mode: "text",
                  string: token.text
                };
              } else {
                throw new src_ParseError("Expected raw group", this.fetch());
              }
            }
    
          case "original":
          case null:
          case undefined:
            return this.parseGroup(name, optional, greediness, undefined, undefined, consumeSpaces);
    
          default:
            throw new src_ParseError("Unknown group type as " + name, this.fetch());
        }
      }
      /**
       * Discard any space tokens, fetching the next non-space token.
       */
      ;
    
      _proto.consumeSpaces = function consumeSpaces() {
        while (this.fetch().text === " ") {
          this.consume();
        }
      }
      /**
       * Parses a group, essentially returning the string formed by the
       * brace-enclosed tokens plus some position information.
       */
      ;
    
      _proto.parseStringGroup = function parseStringGroup(modeName, // Used to describe the mode in error messages.
      optional, raw) {
        var groupBegin = optional ? "[" : "{";
        var groupEnd = optional ? "]" : "}";
        var beginToken = this.fetch();
    
        if (beginToken.text !== groupBegin) {
          if (optional) {
            return null;
          } else if (raw && beginToken.text !== "EOF" && /[^{}[\]]/.test(beginToken.text)) {
            this.consume();
            return beginToken;
          }
        }
    
        var outerMode = this.mode;
        this.mode = "text";
        this.expect(groupBegin);
        var str = "";
        var firstToken = this.fetch();
        var nested = 0; // allow nested braces in raw string group
    
        var lastToken = firstToken;
        var nextToken;
    
        while ((nextToken = this.fetch()).text !== groupEnd || raw && nested > 0) {
          switch (nextToken.text) {
            case "EOF":
              throw new src_ParseError("Unexpected end of input in " + modeName, firstToken.range(lastToken, str));
    
            case groupBegin:
              nested++;
              break;
    
            case groupEnd:
              nested--;
              break;
          }
    
          lastToken = nextToken;
          str += lastToken.text;
          this.consume();
        }
    
        this.expect(groupEnd);
        this.mode = outerMode;
        return firstToken.range(lastToken, str);
      }
      /**
       * Parses a regex-delimited group: the largest sequence of tokens
       * whose concatenated strings match `regex`. Returns the string
       * formed by the tokens plus some position information.
       */
      ;
    
      _proto.parseRegexGroup = function parseRegexGroup(regex, modeName) {
        var outerMode = this.mode;
        this.mode = "text";
        var firstToken = this.fetch();
        var lastToken = firstToken;
        var str = "";
        var nextToken;
    
        while ((nextToken = this.fetch()).text !== "EOF" && regex.test(str + nextToken.text)) {
          lastToken = nextToken;
          str += lastToken.text;
          this.consume();
        }
    
        if (str === "") {
          throw new src_ParseError("Invalid " + modeName + ": '" + firstToken.text + "'", firstToken);
        }
    
        this.mode = outerMode;
        return firstToken.range(lastToken, str);
      }
      /**
       * Parses a color description.
       */
      ;
    
      _proto.parseColorGroup = function parseColorGroup(optional) {
        var res = this.parseStringGroup("color", optional);
    
        if (!res) {
          return null;
        }
    
        var match = /^(#[a-f0-9]{3}|#?[a-f0-9]{6}|[a-z]+)$/i.exec(res.text);
    
        if (!match) {
          throw new src_ParseError("Invalid color: '" + res.text + "'", res);
        }
    
        var color = match[0];
    
        if (/^[0-9a-f]{6}$/i.test(color)) {
          // We allow a 6-digit HTML color spec without a leading "#".
          // This follows the xcolor package's HTML color model.
          // Predefined color names are all missed by this RegEx pattern.
          color = "#" + color;
        }
    
        return {
          type: "color-token",
          mode: this.mode,
          color: color
        };
      }
      /**
       * Parses a size specification, consisting of magnitude and unit.
       */
      ;
    
      _proto.parseSizeGroup = function parseSizeGroup(optional) {
        var res;
        var isBlank = false;
    
        if (!optional && this.fetch().text !== "{") {
          res = this.parseRegexGroup(/^[-+]? *(?:$|\d+|\d+\.\d*|\.\d*) *[a-z]{0,2} *$/, "size");
        } else {
          res = this.parseStringGroup("size", optional);
        }
    
        if (!res) {
          return null;
        }
    
        if (!optional && res.text.length === 0) {
          // Because we've tested for what is !optional, this block won't
          // affect \kern, \hspace, etc. It will capture the mandatory arguments
          // to \genfrac and \above.
          res.text = "0pt"; // Enable \above{}
    
          isBlank = true; // This is here specifically for \genfrac
        }
    
        var match = /([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(res.text);
    
        if (!match) {
          throw new src_ParseError("Invalid size: '" + res.text + "'", res);
        }
    
        var data = {
          number: +(match[1] + match[2]),
          // sign + magnitude, cast to number
          unit: match[3]
        };
    
        if (!validUnit(data)) {
          throw new src_ParseError("Invalid unit: '" + data.unit + "'", res);
        }
    
        return {
          type: "size",
          mode: this.mode,
          value: data,
          isBlank: isBlank
        };
      }
      /**
       * Parses an URL, checking escaped letters and allowed protocols,
       * and setting the catcode of % as an active character (as in \hyperref).
       */
      ;
    
      _proto.parseUrlGroup = function parseUrlGroup(optional, consumeSpaces) {
        this.gullet.lexer.setCatcode("%", 13); // active character
    
        var res = this.parseStringGroup("url", optional, true); // get raw string
    
        this.gullet.lexer.setCatcode("%", 14); // comment character
    
        if (!res) {
          return null;
        } // hyperref package allows backslashes alone in href, but doesn't
        // generate valid links in such cases; we interpret this as
        // "undefined" behaviour, and keep them as-is. Some browser will
        // replace backslashes with forward slashes.
    
    
        var url = res.text.replace(/\\([#$%&~_^{}])/g, '$1');
        return {
          type: "url",
          mode: this.mode,
          url: url
        };
      }
      /**
       * If `optional` is false or absent, this parses an ordinary group,
       * which is either a single nucleus (like "x") or an expression
       * in braces (like "{x+y}") or an implicit group, a group that starts
       * at the current position, and ends right before a higher explicit
       * group ends, or at EOF.
       * If `optional` is true, it parses either a bracket-delimited expression
       * (like "[x+y]") or returns null to indicate the absence of a
       * bracket-enclosed group.
       * If `mode` is present, switches to that mode while parsing the group,
       * and switches back after.
       */
      ;
    
      _proto.parseGroup = function parseGroup(name, // For error reporting.
      optional, greediness, breakOnTokenText, mode, consumeSpaces) {
        // Switch to specified mode
        var outerMode = this.mode;
    
        if (mode) {
          this.switchMode(mode);
        } // Consume spaces if requested, crucially *after* we switch modes,
        // so that the next non-space token is parsed in the correct mode.
    
    
        if (consumeSpaces) {
          this.consumeSpaces();
        } // Get first token
    
    
        var firstToken = this.fetch();
        var text = firstToken.text;
        var result; // Try to parse an open brace or \begingroup
    
        if (optional ? text === "[" : text === "{" || text === "\\begingroup") {
          this.consume();
          var groupEnd = Parser.endOfGroup[text]; // Start a new group namespace
    
          this.gullet.beginGroup(); // If we get a brace, parse an expression
    
          var expression = this.parseExpression(false, groupEnd);
          var lastToken = this.fetch(); // Check that we got a matching closing brace
    
          this.expect(groupEnd); // End group namespace
    
          this.gullet.endGroup();
          result = {
            type: "ordgroup",
            mode: this.mode,
            loc: SourceLocation.range(firstToken, lastToken),
            body: expression,
            // A group formed by \begingroup...\endgroup is a semi-simple group
            // which doesn't affect spacing in math mode, i.e., is transparent.
            // https://tex.stackexchange.com/questions/1930/when-should-one-
            // use-begingroup-instead-of-bgroup
            semisimple: text === "\\begingroup" || undefined
          };
        } else if (optional) {
          // Return nothing for an optional group
          result = null;
        } else {
          // If there exists a function with this name, parse the function.
          // Otherwise, just return a nucleus
          result = this.parseFunction(breakOnTokenText, name, greediness) || this.parseSymbol();
    
          if (result == null && text[0] === "\\" && !implicitCommands.hasOwnProperty(text)) {
            if (this.settings.throwOnError) {
              throw new src_ParseError("Undefined control sequence: " + text, firstToken);
            }
    
            result = this.formatUnsupportedCmd(text);
            this.consume();
          }
        } // Switch mode back
    
    
        if (mode) {
          this.switchMode(outerMode);
        }
    
        return result;
      }
      /**
       * Form ligature-like combinations of characters for text mode.
       * This includes inputs like "--", "---", "``" and "''".
       * The result will simply replace multiple textord nodes with a single
       * character in each value by a single textord node having multiple
       * characters in its value.  The representation is still ASCII source.
       * The group will be modified in place.
       */
      ;
    
      _proto.formLigatures = function formLigatures(group) {
        var n = group.length - 1;
    
        for (var i = 0; i < n; ++i) {
          var a = group[i]; // $FlowFixMe: Not every node type has a `text` property.
    
          var v = a.text;
    
          if (v === "-" && group[i + 1].text === "-") {
            if (i + 1 < n && group[i + 2].text === "-") {
              group.splice(i, 3, {
                type: "textord",
                mode: "text",
                loc: SourceLocation.range(a, group[i + 2]),
                text: "---"
              });
              n -= 2;
            } else {
              group.splice(i, 2, {
                type: "textord",
                mode: "text",
                loc: SourceLocation.range(a, group[i + 1]),
                text: "--"
              });
              n -= 1;
            }
          }
    
          if ((v === "'" || v === "`") && group[i + 1].text === v) {
            group.splice(i, 2, {
              type: "textord",
              mode: "text",
              loc: SourceLocation.range(a, group[i + 1]),
              text: v + v
            });
            n -= 1;
          }
        }
      }
      /**
       * Parse a single symbol out of the string. Here, we handle single character
       * symbols and special functions like \verb.
       */
      ;
    
      _proto.parseSymbol = function parseSymbol() {
        var nucleus = this.fetch();
        var text = nucleus.text;
    
        if (/^\\verb[^a-zA-Z]/.test(text)) {
          this.consume();
          var arg = text.slice(5);
          var star = arg.charAt(0) === "*";
    
          if (star) {
            arg = arg.slice(1);
          } // Lexer's tokenRegex is constructed to always have matching
          // first/last characters.
    
    
          if (arg.length < 2 || arg.charAt(0) !== arg.slice(-1)) {
            throw new src_ParseError("\\verb assertion failed --\n                    please report what input caused this bug");
          }
    
          arg = arg.slice(1, -1); // remove first and last char
    
          return {
            type: "verb",
            mode: "text",
            body: arg,
            star: star
          };
        } // At this point, we should have a symbol, possibly with accents.
        // First expand any accented base symbol according to unicodeSymbols.
    
    
        if (unicodeSymbols.hasOwnProperty(text[0]) && !src_symbols[this.mode][text[0]]) {
          // This behavior is not strict (XeTeX-compatible) in math mode.
          if (this.settings.strict && this.mode === "math") {
            this.settings.reportNonstrict("unicodeTextInMathMode", "Accented Unicode text character \"" + text[0] + "\" used in " + "math mode", nucleus);
          }
    
          text = unicodeSymbols[text[0]] + text.substr(1);
        } // Strip off any combining characters
    
    
        var match = combiningDiacriticalMarksEndRegex.exec(text);
    
        if (match) {
          text = text.substring(0, match.index);
    
          if (text === 'i') {
            text = "\u0131"; // dotless i, in math and text mode
          } else if (text === 'j') {
            text = "\u0237"; // dotless j, in math and text mode
          }
        } // Recognize base symbol
    
    
        var symbol;
    
        if (src_symbols[this.mode][text]) {
          if (this.settings.strict && this.mode === 'math' && extraLatin.indexOf(text) >= 0) {
            this.settings.reportNonstrict("unicodeTextInMathMode", "Latin-1/Unicode text character \"" + text[0] + "\" used in " + "math mode", nucleus);
          }
    
          var group = src_symbols[this.mode][text].group;
          var loc = SourceLocation.range(nucleus);
          var s;
    
          if (ATOMS.hasOwnProperty(group)) {
            // $FlowFixMe
            var family = group;
            s = {
              type: "atom",
              mode: this.mode,
              family: family,
              loc: loc,
              text: text
            };
          } else {
            // $FlowFixMe
            s = {
              type: group,
              mode: this.mode,
              loc: loc,
              text: text
            };
          }
    
          symbol = s;
        } else if (text.charCodeAt(0) >= 0x80) {
          // no symbol for e.g. ^
          if (this.settings.strict) {
            if (!supportedCodepoint(text.charCodeAt(0))) {
              this.settings.reportNonstrict("unknownSymbol", "Unrecognized Unicode character \"" + text[0] + "\"" + (" (" + text.charCodeAt(0) + ")"), nucleus);
            } else if (this.mode === "math") {
              this.settings.reportNonstrict("unicodeTextInMathMode", "Unicode text character \"" + text[0] + "\" used in math mode", nucleus);
            }
          } // All nonmathematical Unicode characters are rendered as if they
          // are in text mode (wrapped in \text) because that's what it
          // takes to render them in LaTeX.  Setting `mode: this.mode` is
          // another natural choice (the user requested math mode), but
          // this makes it more difficult for getCharacterMetrics() to
          // distinguish Unicode characters without metrics and those for
          // which we want to simulate the letter M.
    
    
          symbol = {
            type: "textord",
            mode: "text",
            loc: SourceLocation.range(nucleus),
            text: text
          };
        } else {
          return null; // EOF, ^, _, {, }, etc.
        }
    
        this.consume(); // Transform combining characters into accents
    
        if (match) {
          for (var i = 0; i < match[0].length; i++) {
            var accent = match[0][i];
    
            if (!unicodeAccents[accent]) {
              throw new src_ParseError("Unknown accent ' " + accent + "'", nucleus);
            }
    
            var command = unicodeAccents[accent][this.mode];
    
            if (!command) {
              throw new src_ParseError("Accent " + accent + " unsupported in " + this.mode + " mode", nucleus);
            }
    
            symbol = {
              type: "accent",
              mode: this.mode,
              loc: SourceLocation.range(nucleus),
              label: command,
              isStretchy: false,
              isShifty: true,
              base: symbol
            };
          }
        }
    
        return symbol;
      };
    
      return Parser;
    }();
    
    Parser_Parser.endOfExpression = ["}", "\\endgroup", "\\end", "\\right", "&"];
    Parser_Parser.endOfGroup = {
      "[": "]",
      "{": "}",
      "\\begingroup": "\\endgroup"
      /**
       * Parses an "expression", which is a list of atoms.
       *
       * `breakOnInfix`: Should the parsing stop when we hit infix nodes? This
       *                 happens when functions have higher precendence han infix
       *                 nodes in implicit parses.
       *
       * `breakOnTokenText`: The text of the token that the expression should end
       *                     with, or `null` if something else should end the
       *                     expression.
       */
    
    };
    Parser_Parser.SUPSUB_GREEDINESS = 1;
    
    // CONCATENATED MODULE: ./src/parseTree.js
    /**
     * Provides a single function for parsing an expression using a Parser
     * TODO(emily): Remove this
     */
    
    
    
    /**
     * Parses an expression using a Parser, then returns the parsed result.
     */
    var parseTree_parseTree = function parseTree(toParse, settings) {
      if (!(typeof toParse === 'string' || toParse instanceof String)) {
        throw new TypeError('KaTeX can only parse string typed expression');
      }
    
      var parser = new Parser_Parser(toParse, settings); // Blank out any \df@tag to avoid spurious "Duplicate \tag" errors
    
      delete parser.gullet.macros.current["\\df@tag"];
      var tree = parser.parse(); // If the input used \tag, it will set the \df@tag macro to the tag.
      // In this case, we separately parse the tag and wrap the tree.
    
      if (parser.gullet.macros.get("\\df@tag")) {
        if (!settings.displayMode) {
          throw new src_ParseError("\\tag works only in display equations");
        }
    
        parser.gullet.feed("\\df@tag");
        tree = [{
          type: "tag",
          mode: "text",
          body: tree,
          tag: parser.parse()
        }];
      }
    
      return tree;
    };
    
    /* harmony default export */ var src_parseTree = (parseTree_parseTree);
    // CONCATENATED MODULE: ./katex.js
    /* eslint no-console:0 */
    
    /**
     * This is the main entry point for KaTeX. Here, we expose functions for
     * rendering expressions either to DOM nodes or to markup strings.
     *
     * We also expose the ParseError class to check if errors thrown from KaTeX are
     * errors in the expression, or errors in javascript handling.
     */
    
    
    
    
    
    
    
    
    
    
    /**
     * Parse and build an expression, and place that expression in the DOM node
     * given.
     */
    var katex_render = function render(expression, baseNode, options) {
      baseNode.textContent = "";
      var node = katex_renderToDomTree(expression, options).toNode();
      baseNode.appendChild(node);
    }; // KaTeX's styles don't work properly in quirks mode. Print out an error, and
    // disable rendering.
    
    
    if (typeof document !== "undefined") {
      if (document.compatMode !== "CSS1Compat") {
        typeof console !== "undefined" && console.warn("Warning: KaTeX doesn't work in quirks mode. Make sure your " + "website has a suitable doctype.");
    
        katex_render = function render() {
          throw new src_ParseError("KaTeX doesn't work in quirks mode.");
        };
      }
    }
    /**
     * Parse and build an expression, and return the markup for that.
     */
    
    
    var renderToString = function renderToString(expression, options) {
      var markup = katex_renderToDomTree(expression, options).toMarkup();
      return markup;
    };
    /**
     * Parse an expression and return the parse tree.
     */
    
    
    var katex_generateParseTree = function generateParseTree(expression, options) {
      var settings = new Settings_Settings(options);
      return src_parseTree(expression, settings);
    };
    /**
     * If the given error is a KaTeX ParseError and options.throwOnError is false,
     * renders the invalid LaTeX as a span with hover title giving the KaTeX
     * error message.  Otherwise, simply throws the error.
     */
    
    
    var katex_renderError = function renderError(error, expression, options) {
      if (options.throwOnError || !(error instanceof src_ParseError)) {
        throw error;
      }
    
      var node = buildCommon.makeSpan(["katex-error"], [new domTree_SymbolNode(expression)]);
      node.setAttribute("title", error.toString());
      node.setAttribute("style", "color:" + options.errorColor);
      return node;
    };
    /**
     * Generates and returns the katex build tree. This is used for advanced
     * use cases (like rendering to custom output).
     */
    
    
    var katex_renderToDomTree = function renderToDomTree(expression, options) {
      var settings = new Settings_Settings(options);
    
      try {
        var tree = src_parseTree(expression, settings);
        return buildTree_buildTree(tree, expression, settings);
      } catch (error) {
        return katex_renderError(error, expression, settings);
      }
    };
    /**
     * Generates and returns the katex build tree, with just HTML (no MathML).
     * This is used for advanced use cases (like rendering to custom output).
     */
    
    
    var katex_renderToHTMLTree = function renderToHTMLTree(expression, options) {
      var settings = new Settings_Settings(options);
    
      try {
        var tree = src_parseTree(expression, settings);
        return buildTree_buildHTMLTree(tree, expression, settings);
      } catch (error) {
        return katex_renderError(error, expression, settings);
      }
    };
    
    /* harmony default export */ var katex_0 = ({
      /**
       * Current KaTeX version
       */
      version: "0.11.1",
    
      /**
       * Renders the given LaTeX into an HTML+MathML combination, and adds
       * it as a child to the specified DOM node.
       */
      render: katex_render,
    
      /**
       * Renders the given LaTeX into an HTML+MathML combination string,
       * for sending to the client.
       */
      renderToString: renderToString,
    
      /**
       * KaTeX error, usually during parsing.
       */
      ParseError: src_ParseError,
    
      /**
       * Parses the given LaTeX into KaTeX's internal parse tree structure,
       * without rendering to HTML or MathML.
       *
       * NOTE: This method is not currently recommended for public use.
       * The internal tree representation is unstable and is very likely
       * to change. Use at your own risk.
       */
      __parse: katex_generateParseTree,
    
      /**
       * Renders the given LaTeX into an HTML+MathML internal DOM tree
       * representation, without flattening that representation to a string.
       *
       * NOTE: This method is not currently recommended for public use.
       * The internal tree representation is unstable and is very likely
       * to change. Use at your own risk.
       */
      __renderToDomTree: katex_renderToDomTree,
    
      /**
       * Renders the given LaTeX into an HTML internal DOM tree representation,
       * without MathML and without flattening that representation to a string.
       *
       * NOTE: This method is not currently recommended for public use.
       * The internal tree representation is unstable and is very likely
       * to change. Use at your own risk.
       */
      __renderToHTMLTree: katex_renderToHTMLTree,
    
      /**
       * extends internal font metrics object with a new object
       * each key in the new object represents a font name
      */
      __setFontMetrics: setFontMetrics,
    
      /**
       * adds a new symbol to builtin symbols table
       */
      __defineSymbol: defineSymbol,
    
      /**
       * adds a new macro to builtin macro list
       */
      __defineMacro: defineMacro,
    
      /**
       * Expose the dom tree node types, which can be useful for type checking nodes.
       *
       * NOTE: This method is not currently recommended for public use.
       * The internal tree representation is unstable and is very likely
       * to change. Use at your own risk.
       */
      __domTree: {
        Span: domTree_Span,
        Anchor: domTree_Anchor,
        SymbolNode: domTree_SymbolNode,
        SvgNode: SvgNode,
        PathNode: domTree_PathNode,
        LineNode: LineNode
      }
    });
    // CONCATENATED MODULE: ./katex.webpack.js
    /**
     * This is the webpack entry point for KaTeX. As ECMAScript, flow[1] and jest[2]
     * doesn't support CSS modules natively, a separate entry point is used and
     * it is not flowtyped.
     *
     * [1] https://gist.github.com/lambdahands/d19e0da96285b749f0ef
     * [2] https://facebook.github.io/jest/docs/en/webpack.html
     */
    
    
    /* harmony default export */ var katex_webpack = __nested_webpack_exports__["default"] = (katex_0);
    
    /***/ })
    /******/ ])["default"];
    });
    
    /***/ }),
    
    /***/ 79955:
    /*!******************************************************!*\
      !*** ./node_modules/_lodash@4.17.23@lodash/_Hash.js ***!
      \******************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    var hashClear = __webpack_require__(/*! ./_hashClear */ 65812),
        hashDelete = __webpack_require__(/*! ./_hashDelete */ 87000),
        hashGet = __webpack_require__(/*! ./_hashGet */ 66198),
        hashHas = __webpack_require__(/*! ./_hashHas */ 64800),
        hashSet = __webpack_require__(/*! ./_hashSet */ 8602);
    
    /**
     * Creates a hash object.
     *
     * @private
     * @constructor
     * @param {Array} [entries] The key-value pairs to cache.
     */
    function Hash(entries) {
      var index = -1,
          length = entries == null ? 0 : entries.length;
    
      this.clear();
      while (++index < length) {
        var entry = entries[index];
        this.set(entry[0], entry[1]);
      }
    }
    
    // Add methods to `Hash`.
    Hash.prototype.clear = hashClear;
    Hash.prototype['delete'] = hashDelete;
    Hash.prototype.get = hashGet;
    Hash.prototype.has = hashHas;
    Hash.prototype.set = hashSet;
    
    module.exports = Hash;
    
    
    /***/ }),
    
    /***/ 53110:
    /*!***********************************************************!*\
      !*** ./node_modules/_lodash@4.17.23@lodash/_ListCache.js ***!
      \***********************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    var listCacheClear = __webpack_require__(/*! ./_listCacheClear */ 62238),
        listCacheDelete = __webpack_require__(/*! ./_listCacheDelete */ 65652),
        listCacheGet = __webpack_require__(/*! ./_listCacheGet */ 75965),
        listCacheHas = __webpack_require__(/*! ./_listCacheHas */ 83895),
        listCacheSet = __webpack_require__(/*! ./_listCacheSet */ 43475);
    
    /**
     * Creates an list cache object.
     *
     * @private
     * @constructor
     * @param {Array} [entries] The key-value pairs to cache.
     */
    function ListCache(entries) {
      var index = -1,
          length = entries == null ? 0 : entries.length;
    
      this.clear();
      while (++index < length) {
        var entry = entries[index];
        this.set(entry[0], entry[1]);
      }
    }
    
    // Add methods to `ListCache`.
    ListCache.prototype.clear = listCacheClear;
    ListCache.prototype['delete'] = listCacheDelete;
    ListCache.prototype.get = listCacheGet;
    ListCache.prototype.has = listCacheHas;
    ListCache.prototype.set = listCacheSet;
    
    module.exports = ListCache;
    
    
    /***/ }),
    
    /***/ 25281:
    /*!*****************************************************!*\
      !*** ./node_modules/_lodash@4.17.23@lodash/_Map.js ***!
      \*****************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    var getNative = __webpack_require__(/*! ./_getNative */ 93454),
        root = __webpack_require__(/*! ./_root */ 40911);
    
    /* Built-in method references that are verified to be native. */
    var Map = getNative(root, 'Map');
    
    module.exports = Map;
    
    
    /***/ }),
    
    /***/ 97800:
    /*!**********************************************************!*\
      !*** ./node_modules/_lodash@4.17.23@lodash/_MapCache.js ***!
      \**********************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    var mapCacheClear = __webpack_require__(/*! ./_mapCacheClear */ 91642),
        mapCacheDelete = __webpack_require__(/*! ./_mapCacheDelete */ 71646),
        mapCacheGet = __webpack_require__(/*! ./_mapCacheGet */ 70200),
        mapCacheHas = __webpack_require__(/*! ./_mapCacheHas */ 85304),
        mapCacheSet = __webpack_require__(/*! ./_mapCacheSet */ 57862);
    
    /**
     * Creates a map cache object to store key-value pairs.
     *
     * @private
     * @constructor
     * @param {Array} [entries] The key-value pairs to cache.
     */
    function MapCache(entries) {
      var index = -1,
          length = entries == null ? 0 : entries.length;
    
      this.clear();
      while (++index < length) {
        var entry = entries[index];
        this.set(entry[0], entry[1]);
      }
    }
    
    // Add methods to `MapCache`.
    MapCache.prototype.clear = mapCacheClear;
    MapCache.prototype['delete'] = mapCacheDelete;
    MapCache.prototype.get = mapCacheGet;
    MapCache.prototype.has = mapCacheHas;
    MapCache.prototype.set = mapCacheSet;
    
    module.exports = MapCache;
    
    
    /***/ }),
    
    /***/ 26163:
    /*!*******************************************************!*\
      !*** ./node_modules/_lodash@4.17.23@lodash/_Stack.js ***!
      \*******************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    var ListCache = __webpack_require__(/*! ./_ListCache */ 53110),
        stackClear = __webpack_require__(/*! ./_stackClear */ 83214),
        stackDelete = __webpack_require__(/*! ./_stackDelete */ 52806),
        stackGet = __webpack_require__(/*! ./_stackGet */ 52032),
        stackHas = __webpack_require__(/*! ./_stackHas */ 51118),
        stackSet = __webpack_require__(/*! ./_stackSet */ 36321);
    
    /**
     * Creates a stack cache object to store key-value pairs.
     *
     * @private
     * @constructor
     * @param {Array} [entries] The key-value pairs to cache.
     */
    function Stack(entries) {
      var data = this.__data__ = new ListCache(entries);
      this.size = data.size;
    }
    
    // Add methods to `Stack`.
    Stack.prototype.clear = stackClear;
    Stack.prototype['delete'] = stackDelete;
    Stack.prototype.get = stackGet;
    Stack.prototype.has = stackHas;
    Stack.prototype.set = stackSet;
    
    module.exports = Stack;
    
    
    /***/ }),
    
    /***/ 33140:
    /*!********************************************************!*\
      !*** ./node_modules/_lodash@4.17.23@lodash/_Symbol.js ***!
      \********************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    var root = __webpack_require__(/*! ./_root */ 40911);
    
    /** Built-in value references. */
    var Symbol = root.Symbol;
    
    module.exports = Symbol;
    
    
    /***/ }),
    
    /***/ 85015:
    /*!************************************************************!*\
      !*** ./node_modules/_lodash@4.17.23@lodash/_Uint8Array.js ***!
      \************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    var root = __webpack_require__(/*! ./_root */ 40911);
    
    /** Built-in value references. */
    var Uint8Array = root.Uint8Array;
    
    module.exports = Uint8Array;
    
    
    /***/ }),
    
    /***/ 33546:
    /*!*******************************************************!*\
      !*** ./node_modules/_lodash@4.17.23@lodash/_apply.js ***!
      \*******************************************************/
    /***/ (function(module) {
    
    /**
     * A faster alternative to `Function#apply`, this function invokes `func`
     * with the `this` binding of `thisArg` and the arguments of `args`.
     *
     * @private
     * @param {Function} func The function to invoke.
     * @param {*} thisArg The `this` binding of `func`.
     * @param {Array} args The arguments to invoke `func` with.
     * @returns {*} Returns the result of `func`.
     */
    function apply(func, thisArg, args) {
      switch (args.length) {
        case 0: return func.call(thisArg);
        case 1: return func.call(thisArg, args[0]);
        case 2: return func.call(thisArg, args[0], args[1]);
        case 3: return func.call(thisArg, args[0], args[1], args[2]);
      }
      return func.apply(thisArg, args);
    }
    
    module.exports = apply;
    
    
    /***/ }),
    
    /***/ 91762:
    /*!***************************************************************!*\
      !*** ./node_modules/_lodash@4.17.23@lodash/_arrayLikeKeys.js ***!
      \***************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    var baseTimes = __webpack_require__(/*! ./_baseTimes */ 16564),
        isArguments = __webpack_require__(/*! ./isArguments */ 30516),
        isArray = __webpack_require__(/*! ./isArray */ 41594),
        isBuffer = __webpack_require__(/*! ./isBuffer */ 33636),
        isIndex = __webpack_require__(/*! ./_isIndex */ 65068),
        isTypedArray = __webpack_require__(/*! ./isTypedArray */ 53745);
    
    /** Used for built-in method references. */
    var objectProto = Object.prototype;
    
    /** Used to check objects for own properties. */
    var hasOwnProperty = objectProto.hasOwnProperty;
    
    /**
     * Creates an array of the enumerable property names of the array-like `value`.
     *
     * @private
     * @param {*} value The value to query.
     * @param {boolean} inherited Specify returning inherited property names.
     * @returns {Array} Returns the array of property names.
     */
    function arrayLikeKeys(value, inherited) {
      var isArr = isArray(value),
          isArg = !isArr && isArguments(value),
          isBuff = !isArr && !isArg && isBuffer(value),
          isType = !isArr && !isArg && !isBuff && isTypedArray(value),
          skipIndexes = isArr || isArg || isBuff || isType,
          result = skipIndexes ? baseTimes(value.length, String) : [],
          length = result.length;
    
      for (var key in value) {
        if ((inherited || hasOwnProperty.call(value, key)) &&
            !(skipIndexes && (
               // Safari 9 has enumerable `arguments.length` in strict mode.
               key == 'length' ||
               // Node.js 0.10 has enumerable non-index properties on buffers.
               (isBuff && (key == 'offset' || key == 'parent')) ||
               // PhantomJS 2 has enumerable non-index properties on typed arrays.
               (isType && (key == 'buffer' || key == 'byteLength' || key == 'byteOffset')) ||
               // Skip index properties.
               isIndex(key, length)
            ))) {
          result.push(key);
        }
      }
      return result;
    }
    
    module.exports = arrayLikeKeys;
    
    
    /***/ }),
    
    /***/ 25538:
    /*!******************************************************************!*\
      !*** ./node_modules/_lodash@4.17.23@lodash/_assignMergeValue.js ***!
      \******************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    var baseAssignValue = __webpack_require__(/*! ./_baseAssignValue */ 67109),
        eq = __webpack_require__(/*! ./eq */ 83914);
    
    /**
     * This function is like `assignValue` except that it doesn't assign
     * `undefined` values.
     *
     * @private
     * @param {Object} object The object to modify.
     * @param {string} key The key of the property to assign.
     * @param {*} value The value to assign.
     */
    function assignMergeValue(object, key, value) {
      if ((value !== undefined && !eq(object[key], value)) ||
          (value === undefined && !(key in object))) {
        baseAssignValue(object, key, value);
      }
    }
    
    module.exports = assignMergeValue;
    
    
    /***/ }),
    
    /***/ 78436:
    /*!*************************************************************!*\
      !*** ./node_modules/_lodash@4.17.23@lodash/_assignValue.js ***!
      \*************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    var baseAssignValue = __webpack_require__(/*! ./_baseAssignValue */ 67109),
        eq = __webpack_require__(/*! ./eq */ 83914);
    
    /** Used for built-in method references. */
    var objectProto = Object.prototype;
    
    /** Used to check objects for own properties. */
    var hasOwnProperty = objectProto.hasOwnProperty;
    
    /**
     * Assigns `value` to `key` of `object` if the existing value is not equivalent
     * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
     * for equality comparisons.
     *
     * @private
     * @param {Object} object The object to modify.
     * @param {string} key The key of the property to assign.
     * @param {*} value The value to assign.
     */
    function assignValue(object, key, value) {
      var objValue = object[key];
      if (!(hasOwnProperty.call(object, key) && eq(objValue, value)) ||
          (value === undefined && !(key in object))) {
        baseAssignValue(object, key, value);
      }
    }
    
    module.exports = assignValue;
    
    
    /***/ }),
    
    /***/ 82249:
    /*!**************************************************************!*\
      !*** ./node_modules/_lodash@4.17.23@lodash/_assocIndexOf.js ***!
      \**************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    var eq = __webpack_require__(/*! ./eq */ 83914);
    
    /**
     * Gets the index at which the `key` is found in `array` of key-value pairs.
     *
     * @private
     * @param {Array} array The array to inspect.
     * @param {*} key The key to search for.
     * @returns {number} Returns the index of the matched value, else `-1`.
     */
    function assocIndexOf(array, key) {
      var length = array.length;
      while (length--) {
        if (eq(array[length][0], key)) {
          return length;
        }
      }
      return -1;
    }
    
    module.exports = assocIndexOf;
    
    
    /***/ }),
    
    /***/ 67109:
    /*!*****************************************************************!*\
      !*** ./node_modules/_lodash@4.17.23@lodash/_baseAssignValue.js ***!
      \*****************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    var defineProperty = __webpack_require__(/*! ./_defineProperty */ 49962);
    
    /**
     * The base implementation of `assignValue` and `assignMergeValue` without
     * value checks.
     *
     * @private
     * @param {Object} object The object to modify.
     * @param {string} key The key of the property to assign.
     * @param {*} value The value to assign.
     */
    function baseAssignValue(object, key, value) {
      if (key == '__proto__' && defineProperty) {
        defineProperty(object, key, {
          'configurable': true,
          'enumerable': true,
          'value': value,
          'writable': true
        });
      } else {
        object[key] = value;
      }
    }
    
    module.exports = baseAssignValue;
    
    
    /***/ }),
    
    /***/ 93511:
    /*!************************************************************!*\
      !*** ./node_modules/_lodash@4.17.23@lodash/_baseCreate.js ***!
      \************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    var isObject = __webpack_require__(/*! ./isObject */ 71721);
    
    /** Built-in value references. */
    var objectCreate = Object.create;
    
    /**
     * The base implementation of `_.create` without support for assigning
     * properties to the created object.
     *
     * @private
     * @param {Object} proto The object to inherit from.
     * @returns {Object} Returns the new object.
     */
    var baseCreate = (function() {
      function object() {}
      return function(proto) {
        if (!isObject(proto)) {
          return {};
        }
        if (objectCreate) {
          return objectCreate(proto);
        }
        object.prototype = proto;
        var result = new object;
        object.prototype = undefined;
        return result;
      };
    }());
    
    module.exports = baseCreate;
    
    
    /***/ }),
    
    /***/ 43294:
    /*!*********************************************************!*\
      !*** ./node_modules/_lodash@4.17.23@lodash/_baseFor.js ***!
      \*********************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    var createBaseFor = __webpack_require__(/*! ./_createBaseFor */ 78323);
    
    /**
     * The base implementation of `baseForOwn` which iterates over `object`
     * properties returned by `keysFunc` and invokes `iteratee` for each property.
     * Iteratee functions may exit iteration early by explicitly returning `false`.
     *
     * @private
     * @param {Object} object The object to iterate over.
     * @param {Function} iteratee The function invoked per iteration.
     * @param {Function} keysFunc The function to get the keys of `object`.
     * @returns {Object} Returns `object`.
     */
    var baseFor = createBaseFor();
    
    module.exports = baseFor;
    
    
    /***/ }),
    
    /***/ 17325:
    /*!************************************************************!*\
      !*** ./node_modules/_lodash@4.17.23@lodash/_baseGetTag.js ***!
      \************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    var Symbol = __webpack_require__(/*! ./_Symbol */ 33140),
        getRawTag = __webpack_require__(/*! ./_getRawTag */ 84723),
        objectToString = __webpack_require__(/*! ./_objectToString */ 92631);
    
    /** `Object#toString` result references. */
    var nullTag = '[object Null]',
        undefinedTag = '[object Undefined]';
    
    /** Built-in value references. */
    var symToStringTag = Symbol ? Symbol.toStringTag : undefined;
    
    /**
     * The base implementation of `getTag` without fallbacks for buggy environments.
     *
     * @private
     * @param {*} value The value to query.
     * @returns {string} Returns the `toStringTag`.
     */
    function baseGetTag(value) {
      if (value == null) {
        return value === undefined ? undefinedTag : nullTag;
      }
      return (symToStringTag && symToStringTag in Object(value))
        ? getRawTag(value)
        : objectToString(value);
    }
    
    module.exports = baseGetTag;
    
    
    /***/ }),
    
    /***/ 3841:
    /*!*****************************************************************!*\
      !*** ./node_modules/_lodash@4.17.23@lodash/_baseIsArguments.js ***!
      \*****************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    var baseGetTag = __webpack_require__(/*! ./_baseGetTag */ 17325),
        isObjectLike = __webpack_require__(/*! ./isObjectLike */ 71161);
    
    /** `Object#toString` result references. */
    var argsTag = '[object Arguments]';
    
    /**
     * The base implementation of `_.isArguments`.
     *
     * @private
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `value` is an `arguments` object,
     */
    function baseIsArguments(value) {
      return isObjectLike(value) && baseGetTag(value) == argsTag;
    }
    
    module.exports = baseIsArguments;
    
    
    /***/ }),
    
    /***/ 64023:
    /*!**************************************************************!*\
      !*** ./node_modules/_lodash@4.17.23@lodash/_baseIsNative.js ***!
      \**************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    var isFunction = __webpack_require__(/*! ./isFunction */ 92581),
        isMasked = __webpack_require__(/*! ./_isMasked */ 42469),
        isObject = __webpack_require__(/*! ./isObject */ 71721),
        toSource = __webpack_require__(/*! ./_toSource */ 89614);
    
    /**
     * Used to match `RegExp`
     * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).
     */
    var reRegExpChar = /[\\^$.*+?()[\]{}|]/g;
    
    /** Used to detect host constructors (Safari). */
    var reIsHostCtor = /^\[object .+?Constructor\]$/;
    
    /** Used for built-in method references. */
    var funcProto = Function.prototype,
        objectProto = Object.prototype;
    
    /** Used to resolve the decompiled source of functions. */
    var funcToString = funcProto.toString;
    
    /** Used to check objects for own properties. */
    var hasOwnProperty = objectProto.hasOwnProperty;
    
    /** Used to detect if a method is native. */
    var reIsNative = RegExp('^' +
      funcToString.call(hasOwnProperty).replace(reRegExpChar, '\\$&')
      .replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, '$1.*?') + '$'
    );
    
    /**
     * The base implementation of `_.isNative` without bad shim checks.
     *
     * @private
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `value` is a native function,
     *  else `false`.
     */
    function baseIsNative(value) {
      if (!isObject(value) || isMasked(value)) {
        return false;
      }
      var pattern = isFunction(value) ? reIsNative : reIsHostCtor;
      return pattern.test(toSource(value));
    }
    
    module.exports = baseIsNative;
    
    
    /***/ }),
    
    /***/ 61651:
    /*!******************************************************************!*\
      !*** ./node_modules/_lodash@4.17.23@lodash/_baseIsTypedArray.js ***!
      \******************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    var baseGetTag = __webpack_require__(/*! ./_baseGetTag */ 17325),
        isLength = __webpack_require__(/*! ./isLength */ 41199),
        isObjectLike = __webpack_require__(/*! ./isObjectLike */ 71161);
    
    /** `Object#toString` result references. */
    var argsTag = '[object Arguments]',
        arrayTag = '[object Array]',
        boolTag = '[object Boolean]',
        dateTag = '[object Date]',
        errorTag = '[object Error]',
        funcTag = '[object Function]',
        mapTag = '[object Map]',
        numberTag = '[object Number]',
        objectTag = '[object Object]',
        regexpTag = '[object RegExp]',
        setTag = '[object Set]',
        stringTag = '[object String]',
        weakMapTag = '[object WeakMap]';
    
    var arrayBufferTag = '[object ArrayBuffer]',
        dataViewTag = '[object DataView]',
        float32Tag = '[object Float32Array]',
        float64Tag = '[object Float64Array]',
        int8Tag = '[object Int8Array]',
        int16Tag = '[object Int16Array]',
        int32Tag = '[object Int32Array]',
        uint8Tag = '[object Uint8Array]',
        uint8ClampedTag = '[object Uint8ClampedArray]',
        uint16Tag = '[object Uint16Array]',
        uint32Tag = '[object Uint32Array]';
    
    /** Used to identify `toStringTag` values of typed arrays. */
    var typedArrayTags = {};
    typedArrayTags[float32Tag] = typedArrayTags[float64Tag] =
    typedArrayTags[int8Tag] = typedArrayTags[int16Tag] =
    typedArrayTags[int32Tag] = typedArrayTags[uint8Tag] =
    typedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] =
    typedArrayTags[uint32Tag] = true;
    typedArrayTags[argsTag] = typedArrayTags[arrayTag] =
    typedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] =
    typedArrayTags[dataViewTag] = typedArrayTags[dateTag] =
    typedArrayTags[errorTag] = typedArrayTags[funcTag] =
    typedArrayTags[mapTag] = typedArrayTags[numberTag] =
    typedArrayTags[objectTag] = typedArrayTags[regexpTag] =
    typedArrayTags[setTag] = typedArrayTags[stringTag] =
    typedArrayTags[weakMapTag] = false;
    
    /**
     * The base implementation of `_.isTypedArray` without Node.js optimizations.
     *
     * @private
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.
     */
    function baseIsTypedArray(value) {
      return isObjectLike(value) &&
        isLength(value.length) && !!typedArrayTags[baseGetTag(value)];
    }
    
    module.exports = baseIsTypedArray;
    
    
    /***/ }),
    
    /***/ 54193:
    /*!************************************************************!*\
      !*** ./node_modules/_lodash@4.17.23@lodash/_baseKeysIn.js ***!
      \************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    var isObject = __webpack_require__(/*! ./isObject */ 71721),
        isPrototype = __webpack_require__(/*! ./_isPrototype */ 46024),
        nativeKeysIn = __webpack_require__(/*! ./_nativeKeysIn */ 54229);
    
    /** Used for built-in method references. */
    var objectProto = Object.prototype;
    
    /** Used to check objects for own properties. */
    var hasOwnProperty = objectProto.hasOwnProperty;
    
    /**
     * The base implementation of `_.keysIn` which doesn't treat sparse arrays as dense.
     *
     * @private
     * @param {Object} object The object to query.
     * @returns {Array} Returns the array of property names.
     */
    function baseKeysIn(object) {
      if (!isObject(object)) {
        return nativeKeysIn(object);
      }
      var isProto = isPrototype(object),
          result = [];
    
      for (var key in object) {
        if (!(key == 'constructor' && (isProto || !hasOwnProperty.call(object, key)))) {
          result.push(key);
        }
      }
      return result;
    }
    
    module.exports = baseKeysIn;
    
    
    /***/ }),
    
    /***/ 37111:
    /*!***********************************************************!*\
      !*** ./node_modules/_lodash@4.17.23@lodash/_baseMerge.js ***!
      \***********************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    var Stack = __webpack_require__(/*! ./_Stack */ 26163),
        assignMergeValue = __webpack_require__(/*! ./_assignMergeValue */ 25538),
        baseFor = __webpack_require__(/*! ./_baseFor */ 43294),
        baseMergeDeep = __webpack_require__(/*! ./_baseMergeDeep */ 55112),
        isObject = __webpack_require__(/*! ./isObject */ 71721),
        keysIn = __webpack_require__(/*! ./keysIn */ 331),
        safeGet = __webpack_require__(/*! ./_safeGet */ 10943);
    
    /**
     * The base implementation of `_.merge` without support for multiple sources.
     *
     * @private
     * @param {Object} object The destination object.
     * @param {Object} source The source object.
     * @param {number} srcIndex The index of `source`.
     * @param {Function} [customizer] The function to customize merged values.
     * @param {Object} [stack] Tracks traversed source values and their merged
     *  counterparts.
     */
    function baseMerge(object, source, srcIndex, customizer, stack) {
      if (object === source) {
        return;
      }
      baseFor(source, function(srcValue, key) {
        stack || (stack = new Stack);
        if (isObject(srcValue)) {
          baseMergeDeep(object, source, key, srcIndex, baseMerge, customizer, stack);
        }
        else {
          var newValue = customizer
            ? customizer(safeGet(object, key), srcValue, (key + ''), object, source, stack)
            : undefined;
    
          if (newValue === undefined) {
            newValue = srcValue;
          }
          assignMergeValue(object, key, newValue);
        }
      }, keysIn);
    }
    
    module.exports = baseMerge;
    
    
    /***/ }),
    
    /***/ 55112:
    /*!***************************************************************!*\
      !*** ./node_modules/_lodash@4.17.23@lodash/_baseMergeDeep.js ***!
      \***************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    var assignMergeValue = __webpack_require__(/*! ./_assignMergeValue */ 25538),
        cloneBuffer = __webpack_require__(/*! ./_cloneBuffer */ 6151),
        cloneTypedArray = __webpack_require__(/*! ./_cloneTypedArray */ 89577),
        copyArray = __webpack_require__(/*! ./_copyArray */ 63272),
        initCloneObject = __webpack_require__(/*! ./_initCloneObject */ 71349),
        isArguments = __webpack_require__(/*! ./isArguments */ 30516),
        isArray = __webpack_require__(/*! ./isArray */ 41594),
        isArrayLikeObject = __webpack_require__(/*! ./isArrayLikeObject */ 20577),
        isBuffer = __webpack_require__(/*! ./isBuffer */ 33636),
        isFunction = __webpack_require__(/*! ./isFunction */ 92581),
        isObject = __webpack_require__(/*! ./isObject */ 71721),
        isPlainObject = __webpack_require__(/*! ./isPlainObject */ 29538),
        isTypedArray = __webpack_require__(/*! ./isTypedArray */ 53745),
        safeGet = __webpack_require__(/*! ./_safeGet */ 10943),
        toPlainObject = __webpack_require__(/*! ./toPlainObject */ 8416);
    
    /**
     * A specialized version of `baseMerge` for arrays and objects which performs
     * deep merges and tracks traversed objects enabling objects with circular
     * references to be merged.
     *
     * @private
     * @param {Object} object The destination object.
     * @param {Object} source The source object.
     * @param {string} key The key of the value to merge.
     * @param {number} srcIndex The index of `source`.
     * @param {Function} mergeFunc The function to merge values.
     * @param {Function} [customizer] The function to customize assigned values.
     * @param {Object} [stack] Tracks traversed source values and their merged
     *  counterparts.
     */
    function baseMergeDeep(object, source, key, srcIndex, mergeFunc, customizer, stack) {
      var objValue = safeGet(object, key),
          srcValue = safeGet(source, key),
          stacked = stack.get(srcValue);
    
      if (stacked) {
        assignMergeValue(object, key, stacked);
        return;
      }
      var newValue = customizer
        ? customizer(objValue, srcValue, (key + ''), object, source, stack)
        : undefined;
    
      var isCommon = newValue === undefined;
    
      if (isCommon) {
        var isArr = isArray(srcValue),
            isBuff = !isArr && isBuffer(srcValue),
            isTyped = !isArr && !isBuff && isTypedArray(srcValue);
    
        newValue = srcValue;
        if (isArr || isBuff || isTyped) {
          if (isArray(objValue)) {
            newValue = objValue;
          }
          else if (isArrayLikeObject(objValue)) {
            newValue = copyArray(objValue);
          }
          else if (isBuff) {
            isCommon = false;
            newValue = cloneBuffer(srcValue, true);
          }
          else if (isTyped) {
            isCommon = false;
            newValue = cloneTypedArray(srcValue, true);
          }
          else {
            newValue = [];
          }
        }
        else if (isPlainObject(srcValue) || isArguments(srcValue)) {
          newValue = objValue;
          if (isArguments(objValue)) {
            newValue = toPlainObject(objValue);
          }
          else if (!isObject(objValue) || isFunction(objValue)) {
            newValue = initCloneObject(srcValue);
          }
        }
        else {
          isCommon = false;
        }
      }
      if (isCommon) {
        // Recursively merge objects and arrays (susceptible to call stack limits).
        stack.set(srcValue, newValue);
        mergeFunc(newValue, srcValue, srcIndex, customizer, stack);
        stack['delete'](srcValue);
      }
      assignMergeValue(object, key, newValue);
    }
    
    module.exports = baseMergeDeep;
    
    
    /***/ }),
    
    /***/ 2440:
    /*!**********************************************************!*\
      !*** ./node_modules/_lodash@4.17.23@lodash/_baseRest.js ***!
      \**********************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    var identity = __webpack_require__(/*! ./identity */ 44525),
        overRest = __webpack_require__(/*! ./_overRest */ 9291),
        setToString = __webpack_require__(/*! ./_setToString */ 48815);
    
    /**
     * The base implementation of `_.rest` which doesn't validate or coerce arguments.
     *
     * @private
     * @param {Function} func The function to apply a rest parameter to.
     * @param {number} [start=func.length-1] The start position of the rest parameter.
     * @returns {Function} Returns the new function.
     */
    function baseRest(func, start) {
      return setToString(overRest(func, start, identity), func + '');
    }
    
    module.exports = baseRest;
    
    
    /***/ }),
    
    /***/ 57916:
    /*!*****************************************************************!*\
      !*** ./node_modules/_lodash@4.17.23@lodash/_baseSetToString.js ***!
      \*****************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    var constant = __webpack_require__(/*! ./constant */ 46221),
        defineProperty = __webpack_require__(/*! ./_defineProperty */ 49962),
        identity = __webpack_require__(/*! ./identity */ 44525);
    
    /**
     * The base implementation of `setToString` without support for hot loop shorting.
     *
     * @private
     * @param {Function} func The function to modify.
     * @param {Function} string The `toString` result.
     * @returns {Function} Returns `func`.
     */
    var baseSetToString = !defineProperty ? identity : function(func, string) {
      return defineProperty(func, 'toString', {
        'configurable': true,
        'enumerable': false,
        'value': constant(string),
        'writable': true
      });
    };
    
    module.exports = baseSetToString;
    
    
    /***/ }),
    
    /***/ 16564:
    /*!***********************************************************!*\
      !*** ./node_modules/_lodash@4.17.23@lodash/_baseTimes.js ***!
      \***********************************************************/
    /***/ (function(module) {
    
    /**
     * The base implementation of `_.times` without support for iteratee shorthands
     * or max array length checks.
     *
     * @private
     * @param {number} n The number of times to invoke `iteratee`.
     * @param {Function} iteratee The function invoked per iteration.
     * @returns {Array} Returns the array of results.
     */
    function baseTimes(n, iteratee) {
      var index = -1,
          result = Array(n);
    
      while (++index < n) {
        result[index] = iteratee(index);
      }
      return result;
    }
    
    module.exports = baseTimes;
    
    
    /***/ }),
    
    /***/ 82230:
    /*!***********************************************************!*\
      !*** ./node_modules/_lodash@4.17.23@lodash/_baseUnary.js ***!
      \***********************************************************/
    /***/ (function(module) {
    
    /**
     * The base implementation of `_.unary` without support for storing metadata.
     *
     * @private
     * @param {Function} func The function to cap arguments for.
     * @returns {Function} Returns the new capped function.
     */
    function baseUnary(func) {
      return function(value) {
        return func(value);
      };
    }
    
    module.exports = baseUnary;
    
    
    /***/ }),
    
    /***/ 507:
    /*!******************************************************************!*\
      !*** ./node_modules/_lodash@4.17.23@lodash/_cloneArrayBuffer.js ***!
      \******************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    var Uint8Array = __webpack_require__(/*! ./_Uint8Array */ 85015);
    
    /**
     * Creates a clone of `arrayBuffer`.
     *
     * @private
     * @param {ArrayBuffer} arrayBuffer The array buffer to clone.
     * @returns {ArrayBuffer} Returns the cloned array buffer.
     */
    function cloneArrayBuffer(arrayBuffer) {
      var result = new arrayBuffer.constructor(arrayBuffer.byteLength);
      new Uint8Array(result).set(new Uint8Array(arrayBuffer));
      return result;
    }
    
    module.exports = cloneArrayBuffer;
    
    
    /***/ }),
    
    /***/ 6151:
    /*!*************************************************************!*\
      !*** ./node_modules/_lodash@4.17.23@lodash/_cloneBuffer.js ***!
      \*************************************************************/
    /***/ (function(module, exports, __webpack_require__) {
    
    /* module decorator */ module = __webpack_require__.nmd(module);
    var root = __webpack_require__(/*! ./_root */ 40911);
    
    /** Detect free variable `exports`. */
    var freeExports =  true && exports && !exports.nodeType && exports;
    
    /** Detect free variable `module`. */
    var freeModule = freeExports && "object" == 'object' && module && !module.nodeType && module;
    
    /** Detect the popular CommonJS extension `module.exports`. */
    var moduleExports = freeModule && freeModule.exports === freeExports;
    
    /** Built-in value references. */
    var Buffer = moduleExports ? root.Buffer : undefined,
        allocUnsafe = Buffer ? Buffer.allocUnsafe : undefined;
    
    /**
     * Creates a clone of  `buffer`.
     *
     * @private
     * @param {Buffer} buffer The buffer to clone.
     * @param {boolean} [isDeep] Specify a deep clone.
     * @returns {Buffer} Returns the cloned buffer.
     */
    function cloneBuffer(buffer, isDeep) {
      if (isDeep) {
        return buffer.slice();
      }
      var length = buffer.length,
          result = allocUnsafe ? allocUnsafe(length) : new buffer.constructor(length);
    
      buffer.copy(result);
      return result;
    }
    
    module.exports = cloneBuffer;
    
    
    /***/ }),
    
    /***/ 89577:
    /*!*****************************************************************!*\
      !*** ./node_modules/_lodash@4.17.23@lodash/_cloneTypedArray.js ***!
      \*****************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    var cloneArrayBuffer = __webpack_require__(/*! ./_cloneArrayBuffer */ 507);
    
    /**
     * Creates a clone of `typedArray`.
     *
     * @private
     * @param {Object} typedArray The typed array to clone.
     * @param {boolean} [isDeep] Specify a deep clone.
     * @returns {Object} Returns the cloned typed array.
     */
    function cloneTypedArray(typedArray, isDeep) {
      var buffer = isDeep ? cloneArrayBuffer(typedArray.buffer) : typedArray.buffer;
      return new typedArray.constructor(buffer, typedArray.byteOffset, typedArray.length);
    }
    
    module.exports = cloneTypedArray;
    
    
    /***/ }),
    
    /***/ 63272:
    /*!***********************************************************!*\
      !*** ./node_modules/_lodash@4.17.23@lodash/_copyArray.js ***!
      \***********************************************************/
    /***/ (function(module) {
    
    /**
     * Copies the values of `source` to `array`.
     *
     * @private
     * @param {Array} source The array to copy values from.
     * @param {Array} [array=[]] The array to copy values to.
     * @returns {Array} Returns `array`.
     */
    function copyArray(source, array) {
      var index = -1,
          length = source.length;
    
      array || (array = Array(length));
      while (++index < length) {
        array[index] = source[index];
      }
      return array;
    }
    
    module.exports = copyArray;
    
    
    /***/ }),
    
    /***/ 39408:
    /*!************************************************************!*\
      !*** ./node_modules/_lodash@4.17.23@lodash/_copyObject.js ***!
      \************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    var assignValue = __webpack_require__(/*! ./_assignValue */ 78436),
        baseAssignValue = __webpack_require__(/*! ./_baseAssignValue */ 67109);
    
    /**
     * Copies properties of `source` to `object`.
     *
     * @private
     * @param {Object} source The object to copy properties from.
     * @param {Array} props The property identifiers to copy.
     * @param {Object} [object={}] The object to copy properties to.
     * @param {Function} [customizer] The function to customize copied values.
     * @returns {Object} Returns `object`.
     */
    function copyObject(source, props, object, customizer) {
      var isNew = !object;
      object || (object = {});
    
      var index = -1,
          length = props.length;
    
      while (++index < length) {
        var key = props[index];
    
        var newValue = customizer
          ? customizer(object[key], source[key], key, object, source)
          : undefined;
    
        if (newValue === undefined) {
          newValue = source[key];
        }
        if (isNew) {
          baseAssignValue(object, key, newValue);
        } else {
          assignValue(object, key, newValue);
        }
      }
      return object;
    }
    
    module.exports = copyObject;
    
    
    /***/ }),
    
    /***/ 4377:
    /*!************************************************************!*\
      !*** ./node_modules/_lodash@4.17.23@lodash/_coreJsData.js ***!
      \************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    var root = __webpack_require__(/*! ./_root */ 40911);
    
    /** Used to detect overreaching core-js shims. */
    var coreJsData = root['__core-js_shared__'];
    
    module.exports = coreJsData;
    
    
    /***/ }),
    
    /***/ 94792:
    /*!****************************************************************!*\
      !*** ./node_modules/_lodash@4.17.23@lodash/_createAssigner.js ***!
      \****************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    var baseRest = __webpack_require__(/*! ./_baseRest */ 2440),
        isIterateeCall = __webpack_require__(/*! ./_isIterateeCall */ 20688);
    
    /**
     * Creates a function like `_.assign`.
     *
     * @private
     * @param {Function} assigner The function to assign values.
     * @returns {Function} Returns the new assigner function.
     */
    function createAssigner(assigner) {
      return baseRest(function(object, sources) {
        var index = -1,
            length = sources.length,
            customizer = length > 1 ? sources[length - 1] : undefined,
            guard = length > 2 ? sources[2] : undefined;
    
        customizer = (assigner.length > 3 && typeof customizer == 'function')
          ? (length--, customizer)
          : undefined;
    
        if (guard && isIterateeCall(sources[0], sources[1], guard)) {
          customizer = length < 3 ? undefined : customizer;
          length = 1;
        }
        object = Object(object);
        while (++index < length) {
          var source = sources[index];
          if (source) {
            assigner(object, source, index, customizer);
          }
        }
        return object;
      });
    }
    
    module.exports = createAssigner;
    
    
    /***/ }),
    
    /***/ 78323:
    /*!***************************************************************!*\
      !*** ./node_modules/_lodash@4.17.23@lodash/_createBaseFor.js ***!
      \***************************************************************/
    /***/ (function(module) {
    
    /**
     * Creates a base function for methods like `_.forIn` and `_.forOwn`.
     *
     * @private
     * @param {boolean} [fromRight] Specify iterating from right to left.
     * @returns {Function} Returns the new base function.
     */
    function createBaseFor(fromRight) {
      return function(object, iteratee, keysFunc) {
        var index = -1,
            iterable = Object(object),
            props = keysFunc(object),
            length = props.length;
    
        while (length--) {
          var key = props[fromRight ? length : ++index];
          if (iteratee(iterable[key], key, iterable) === false) {
            break;
          }
        }
        return object;
      };
    }
    
    module.exports = createBaseFor;
    
    
    /***/ }),
    
    /***/ 49962:
    /*!****************************************************************!*\
      !*** ./node_modules/_lodash@4.17.23@lodash/_defineProperty.js ***!
      \****************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    var getNative = __webpack_require__(/*! ./_getNative */ 93454);
    
    var defineProperty = (function() {
      try {
        var func = getNative(Object, 'defineProperty');
        func({}, '', {});
        return func;
      } catch (e) {}
    }());
    
    module.exports = defineProperty;
    
    
    /***/ }),
    
    /***/ 89413:
    /*!************************************************************!*\
      !*** ./node_modules/_lodash@4.17.23@lodash/_freeGlobal.js ***!
      \************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    /** Detect free variable `global` from Node.js. */
    var freeGlobal = typeof __webpack_require__.g == 'object' && __webpack_require__.g && __webpack_require__.g.Object === Object && __webpack_require__.g;
    
    module.exports = freeGlobal;
    
    
    /***/ }),
    
    /***/ 27856:
    /*!************************************************************!*\
      !*** ./node_modules/_lodash@4.17.23@lodash/_getMapData.js ***!
      \************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    var isKeyable = __webpack_require__(/*! ./_isKeyable */ 99595);
    
    /**
     * Gets the data for `map`.
     *
     * @private
     * @param {Object} map The map to query.
     * @param {string} key The reference key.
     * @returns {*} Returns the map data.
     */
    function getMapData(map, key) {
      var data = map.__data__;
      return isKeyable(key)
        ? data[typeof key == 'string' ? 'string' : 'hash']
        : data.map;
    }
    
    module.exports = getMapData;
    
    
    /***/ }),
    
    /***/ 93454:
    /*!***********************************************************!*\
      !*** ./node_modules/_lodash@4.17.23@lodash/_getNative.js ***!
      \***********************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    var baseIsNative = __webpack_require__(/*! ./_baseIsNative */ 64023),
        getValue = __webpack_require__(/*! ./_getValue */ 31094);
    
    /**
     * Gets the native function at `key` of `object`.
     *
     * @private
     * @param {Object} object The object to query.
     * @param {string} key The key of the method to get.
     * @returns {*} Returns the function if it's native, else `undefined`.
     */
    function getNative(object, key) {
      var value = getValue(object, key);
      return baseIsNative(value) ? value : undefined;
    }
    
    module.exports = getNative;
    
    
    /***/ }),
    
    /***/ 13530:
    /*!**************************************************************!*\
      !*** ./node_modules/_lodash@4.17.23@lodash/_getPrototype.js ***!
      \**************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    var overArg = __webpack_require__(/*! ./_overArg */ 1276);
    
    /** Built-in value references. */
    var getPrototype = overArg(Object.getPrototypeOf, Object);
    
    module.exports = getPrototype;
    
    
    /***/ }),
    
    /***/ 84723:
    /*!***********************************************************!*\
      !*** ./node_modules/_lodash@4.17.23@lodash/_getRawTag.js ***!
      \***********************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    var Symbol = __webpack_require__(/*! ./_Symbol */ 33140);
    
    /** Used for built-in method references. */
    var objectProto = Object.prototype;
    
    /** Used to check objects for own properties. */
    var hasOwnProperty = objectProto.hasOwnProperty;
    
    /**
     * Used to resolve the
     * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
     * of values.
     */
    var nativeObjectToString = objectProto.toString;
    
    /** Built-in value references. */
    var symToStringTag = Symbol ? Symbol.toStringTag : undefined;
    
    /**
     * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.
     *
     * @private
     * @param {*} value The value to query.
     * @returns {string} Returns the raw `toStringTag`.
     */
    function getRawTag(value) {
      var isOwn = hasOwnProperty.call(value, symToStringTag),
          tag = value[symToStringTag];
    
      try {
        value[symToStringTag] = undefined;
        var unmasked = true;
      } catch (e) {}
    
      var result = nativeObjectToString.call(value);
      if (unmasked) {
        if (isOwn) {
          value[symToStringTag] = tag;
        } else {
          delete value[symToStringTag];
        }
      }
      return result;
    }
    
    module.exports = getRawTag;
    
    
    /***/ }),
    
    /***/ 31094:
    /*!**********************************************************!*\
      !*** ./node_modules/_lodash@4.17.23@lodash/_getValue.js ***!
      \**********************************************************/
    /***/ (function(module) {
    
    /**
     * Gets the value at `key` of `object`.
     *
     * @private
     * @param {Object} [object] The object to query.
     * @param {string} key The key of the property to get.
     * @returns {*} Returns the property value.
     */
    function getValue(object, key) {
      return object == null ? undefined : object[key];
    }
    
    module.exports = getValue;
    
    
    /***/ }),
    
    /***/ 65812:
    /*!***********************************************************!*\
      !*** ./node_modules/_lodash@4.17.23@lodash/_hashClear.js ***!
      \***********************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    var nativeCreate = __webpack_require__(/*! ./_nativeCreate */ 60865);
    
    /**
     * Removes all key-value entries from the hash.
     *
     * @private
     * @name clear
     * @memberOf Hash
     */
    function hashClear() {
      this.__data__ = nativeCreate ? nativeCreate(null) : {};
      this.size = 0;
    }
    
    module.exports = hashClear;
    
    
    /***/ }),
    
    /***/ 87000:
    /*!************************************************************!*\
      !*** ./node_modules/_lodash@4.17.23@lodash/_hashDelete.js ***!
      \************************************************************/
    /***/ (function(module) {
    
    /**
     * Removes `key` and its value from the hash.
     *
     * @private
     * @name delete
     * @memberOf Hash
     * @param {Object} hash The hash to modify.
     * @param {string} key The key of the value to remove.
     * @returns {boolean} Returns `true` if the entry was removed, else `false`.
     */
    function hashDelete(key) {
      var result = this.has(key) && delete this.__data__[key];
      this.size -= result ? 1 : 0;
      return result;
    }
    
    module.exports = hashDelete;
    
    
    /***/ }),
    
    /***/ 66198:
    /*!*********************************************************!*\
      !*** ./node_modules/_lodash@4.17.23@lodash/_hashGet.js ***!
      \*********************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    var nativeCreate = __webpack_require__(/*! ./_nativeCreate */ 60865);
    
    /** Used to stand-in for `undefined` hash values. */
    var HASH_UNDEFINED = '__lodash_hash_undefined__';
    
    /** Used for built-in method references. */
    var objectProto = Object.prototype;
    
    /** Used to check objects for own properties. */
    var hasOwnProperty = objectProto.hasOwnProperty;
    
    /**
     * Gets the hash value for `key`.
     *
     * @private
     * @name get
     * @memberOf Hash
     * @param {string} key The key of the value to get.
     * @returns {*} Returns the entry value.
     */
    function hashGet(key) {
      var data = this.__data__;
      if (nativeCreate) {
        var result = data[key];
        return result === HASH_UNDEFINED ? undefined : result;
      }
      return hasOwnProperty.call(data, key) ? data[key] : undefined;
    }
    
    module.exports = hashGet;
    
    
    /***/ }),
    
    /***/ 64800:
    /*!*********************************************************!*\
      !*** ./node_modules/_lodash@4.17.23@lodash/_hashHas.js ***!
      \*********************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    var nativeCreate = __webpack_require__(/*! ./_nativeCreate */ 60865);
    
    /** Used for built-in method references. */
    var objectProto = Object.prototype;
    
    /** Used to check objects for own properties. */
    var hasOwnProperty = objectProto.hasOwnProperty;
    
    /**
     * Checks if a hash value for `key` exists.
     *
     * @private
     * @name has
     * @memberOf Hash
     * @param {string} key The key of the entry to check.
     * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
     */
    function hashHas(key) {
      var data = this.__data__;
      return nativeCreate ? (data[key] !== undefined) : hasOwnProperty.call(data, key);
    }
    
    module.exports = hashHas;
    
    
    /***/ }),
    
    /***/ 8602:
    /*!*********************************************************!*\
      !*** ./node_modules/_lodash@4.17.23@lodash/_hashSet.js ***!
      \*********************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    var nativeCreate = __webpack_require__(/*! ./_nativeCreate */ 60865);
    
    /** Used to stand-in for `undefined` hash values. */
    var HASH_UNDEFINED = '__lodash_hash_undefined__';
    
    /**
     * Sets the hash `key` to `value`.
     *
     * @private
     * @name set
     * @memberOf Hash
     * @param {string} key The key of the value to set.
     * @param {*} value The value to set.
     * @returns {Object} Returns the hash instance.
     */
    function hashSet(key, value) {
      var data = this.__data__;
      this.size += this.has(key) ? 0 : 1;
      data[key] = (nativeCreate && value === undefined) ? HASH_UNDEFINED : value;
      return this;
    }
    
    module.exports = hashSet;
    
    
    /***/ }),
    
    /***/ 71349:
    /*!*****************************************************************!*\
      !*** ./node_modules/_lodash@4.17.23@lodash/_initCloneObject.js ***!
      \*****************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    var baseCreate = __webpack_require__(/*! ./_baseCreate */ 93511),
        getPrototype = __webpack_require__(/*! ./_getPrototype */ 13530),
        isPrototype = __webpack_require__(/*! ./_isPrototype */ 46024);
    
    /**
     * Initializes an object clone.
     *
     * @private
     * @param {Object} object The object to clone.
     * @returns {Object} Returns the initialized clone.
     */
    function initCloneObject(object) {
      return (typeof object.constructor == 'function' && !isPrototype(object))
        ? baseCreate(getPrototype(object))
        : {};
    }
    
    module.exports = initCloneObject;
    
    
    /***/ }),
    
    /***/ 65068:
    /*!*********************************************************!*\
      !*** ./node_modules/_lodash@4.17.23@lodash/_isIndex.js ***!
      \*********************************************************/
    /***/ (function(module) {
    
    /** Used as references for various `Number` constants. */
    var MAX_SAFE_INTEGER = 9007199254740991;
    
    /** Used to detect unsigned integer values. */
    var reIsUint = /^(?:0|[1-9]\d*)$/;
    
    /**
     * Checks if `value` is a valid array-like index.
     *
     * @private
     * @param {*} value The value to check.
     * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.
     * @returns {boolean} Returns `true` if `value` is a valid index, else `false`.
     */
    function isIndex(value, length) {
      var type = typeof value;
      length = length == null ? MAX_SAFE_INTEGER : length;
    
      return !!length &&
        (type == 'number' ||
          (type != 'symbol' && reIsUint.test(value))) &&
            (value > -1 && value % 1 == 0 && value < length);
    }
    
    module.exports = isIndex;
    
    
    /***/ }),
    
    /***/ 20688:
    /*!****************************************************************!*\
      !*** ./node_modules/_lodash@4.17.23@lodash/_isIterateeCall.js ***!
      \****************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    var eq = __webpack_require__(/*! ./eq */ 83914),
        isArrayLike = __webpack_require__(/*! ./isArrayLike */ 9015),
        isIndex = __webpack_require__(/*! ./_isIndex */ 65068),
        isObject = __webpack_require__(/*! ./isObject */ 71721);
    
    /**
     * Checks if the given arguments are from an iteratee call.
     *
     * @private
     * @param {*} value The potential iteratee value argument.
     * @param {*} index The potential iteratee index or key argument.
     * @param {*} object The potential iteratee object argument.
     * @returns {boolean} Returns `true` if the arguments are from an iteratee call,
     *  else `false`.
     */
    function isIterateeCall(value, index, object) {
      if (!isObject(object)) {
        return false;
      }
      var type = typeof index;
      if (type == 'number'
            ? (isArrayLike(object) && isIndex(index, object.length))
            : (type == 'string' && index in object)
          ) {
        return eq(object[index], value);
      }
      return false;
    }
    
    module.exports = isIterateeCall;
    
    
    /***/ }),
    
    /***/ 99595:
    /*!***********************************************************!*\
      !*** ./node_modules/_lodash@4.17.23@lodash/_isKeyable.js ***!
      \***********************************************************/
    /***/ (function(module) {
    
    /**
     * Checks if `value` is suitable for use as unique object key.
     *
     * @private
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `value` is suitable, else `false`.
     */
    function isKeyable(value) {
      var type = typeof value;
      return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean')
        ? (value !== '__proto__')
        : (value === null);
    }
    
    module.exports = isKeyable;
    
    
    /***/ }),
    
    /***/ 42469:
    /*!**********************************************************!*\
      !*** ./node_modules/_lodash@4.17.23@lodash/_isMasked.js ***!
      \**********************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    var coreJsData = __webpack_require__(/*! ./_coreJsData */ 4377);
    
    /** Used to detect methods masquerading as native. */
    var maskSrcKey = (function() {
      var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || '');
      return uid ? ('Symbol(src)_1.' + uid) : '';
    }());
    
    /**
     * Checks if `func` has its source masked.
     *
     * @private
     * @param {Function} func The function to check.
     * @returns {boolean} Returns `true` if `func` is masked, else `false`.
     */
    function isMasked(func) {
      return !!maskSrcKey && (maskSrcKey in func);
    }
    
    module.exports = isMasked;
    
    
    /***/ }),
    
    /***/ 46024:
    /*!*************************************************************!*\
      !*** ./node_modules/_lodash@4.17.23@lodash/_isPrototype.js ***!
      \*************************************************************/
    /***/ (function(module) {
    
    /** Used for built-in method references. */
    var objectProto = Object.prototype;
    
    /**
     * Checks if `value` is likely a prototype object.
     *
     * @private
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `value` is a prototype, else `false`.
     */
    function isPrototype(value) {
      var Ctor = value && value.constructor,
          proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto;
    
      return value === proto;
    }
    
    module.exports = isPrototype;
    
    
    /***/ }),
    
    /***/ 62238:
    /*!****************************************************************!*\
      !*** ./node_modules/_lodash@4.17.23@lodash/_listCacheClear.js ***!
      \****************************************************************/
    /***/ (function(module) {
    
    /**
     * Removes all key-value entries from the list cache.
     *
     * @private
     * @name clear
     * @memberOf ListCache
     */
    function listCacheClear() {
      this.__data__ = [];
      this.size = 0;
    }
    
    module.exports = listCacheClear;
    
    
    /***/ }),
    
    /***/ 65652:
    /*!*****************************************************************!*\
      !*** ./node_modules/_lodash@4.17.23@lodash/_listCacheDelete.js ***!
      \*****************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    var assocIndexOf = __webpack_require__(/*! ./_assocIndexOf */ 82249);
    
    /** Used for built-in method references. */
    var arrayProto = Array.prototype;
    
    /** Built-in value references. */
    var splice = arrayProto.splice;
    
    /**
     * Removes `key` and its value from the list cache.
     *
     * @private
     * @name delete
     * @memberOf ListCache
     * @param {string} key The key of the value to remove.
     * @returns {boolean} Returns `true` if the entry was removed, else `false`.
     */
    function listCacheDelete(key) {
      var data = this.__data__,
          index = assocIndexOf(data, key);
    
      if (index < 0) {
        return false;
      }
      var lastIndex = data.length - 1;
      if (index == lastIndex) {
        data.pop();
      } else {
        splice.call(data, index, 1);
      }
      --this.size;
      return true;
    }
    
    module.exports = listCacheDelete;
    
    
    /***/ }),
    
    /***/ 75965:
    /*!**************************************************************!*\
      !*** ./node_modules/_lodash@4.17.23@lodash/_listCacheGet.js ***!
      \**************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    var assocIndexOf = __webpack_require__(/*! ./_assocIndexOf */ 82249);
    
    /**
     * Gets the list cache value for `key`.
     *
     * @private
     * @name get
     * @memberOf ListCache
     * @param {string} key The key of the value to get.
     * @returns {*} Returns the entry value.
     */
    function listCacheGet(key) {
      var data = this.__data__,
          index = assocIndexOf(data, key);
    
      return index < 0 ? undefined : data[index][1];
    }
    
    module.exports = listCacheGet;
    
    
    /***/ }),
    
    /***/ 83895:
    /*!**************************************************************!*\
      !*** ./node_modules/_lodash@4.17.23@lodash/_listCacheHas.js ***!
      \**************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    var assocIndexOf = __webpack_require__(/*! ./_assocIndexOf */ 82249);
    
    /**
     * Checks if a list cache value for `key` exists.
     *
     * @private
     * @name has
     * @memberOf ListCache
     * @param {string} key The key of the entry to check.
     * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
     */
    function listCacheHas(key) {
      return assocIndexOf(this.__data__, key) > -1;
    }
    
    module.exports = listCacheHas;
    
    
    /***/ }),
    
    /***/ 43475:
    /*!**************************************************************!*\
      !*** ./node_modules/_lodash@4.17.23@lodash/_listCacheSet.js ***!
      \**************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    var assocIndexOf = __webpack_require__(/*! ./_assocIndexOf */ 82249);
    
    /**
     * Sets the list cache `key` to `value`.
     *
     * @private
     * @name set
     * @memberOf ListCache
     * @param {string} key The key of the value to set.
     * @param {*} value The value to set.
     * @returns {Object} Returns the list cache instance.
     */
    function listCacheSet(key, value) {
      var data = this.__data__,
          index = assocIndexOf(data, key);
    
      if (index < 0) {
        ++this.size;
        data.push([key, value]);
      } else {
        data[index][1] = value;
      }
      return this;
    }
    
    module.exports = listCacheSet;
    
    
    /***/ }),
    
    /***/ 91642:
    /*!***************************************************************!*\
      !*** ./node_modules/_lodash@4.17.23@lodash/_mapCacheClear.js ***!
      \***************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    var Hash = __webpack_require__(/*! ./_Hash */ 79955),
        ListCache = __webpack_require__(/*! ./_ListCache */ 53110),
        Map = __webpack_require__(/*! ./_Map */ 25281);
    
    /**
     * Removes all key-value entries from the map.
     *
     * @private
     * @name clear
     * @memberOf MapCache
     */
    function mapCacheClear() {
      this.size = 0;
      this.__data__ = {
        'hash': new Hash,
        'map': new (Map || ListCache),
        'string': new Hash
      };
    }
    
    module.exports = mapCacheClear;
    
    
    /***/ }),
    
    /***/ 71646:
    /*!****************************************************************!*\
      !*** ./node_modules/_lodash@4.17.23@lodash/_mapCacheDelete.js ***!
      \****************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    var getMapData = __webpack_require__(/*! ./_getMapData */ 27856);
    
    /**
     * Removes `key` and its value from the map.
     *
     * @private
     * @name delete
     * @memberOf MapCache
     * @param {string} key The key of the value to remove.
     * @returns {boolean} Returns `true` if the entry was removed, else `false`.
     */
    function mapCacheDelete(key) {
      var result = getMapData(this, key)['delete'](key);
      this.size -= result ? 1 : 0;
      return result;
    }
    
    module.exports = mapCacheDelete;
    
    
    /***/ }),
    
    /***/ 70200:
    /*!*************************************************************!*\
      !*** ./node_modules/_lodash@4.17.23@lodash/_mapCacheGet.js ***!
      \*************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    var getMapData = __webpack_require__(/*! ./_getMapData */ 27856);
    
    /**
     * Gets the map value for `key`.
     *
     * @private
     * @name get
     * @memberOf MapCache
     * @param {string} key The key of the value to get.
     * @returns {*} Returns the entry value.
     */
    function mapCacheGet(key) {
      return getMapData(this, key).get(key);
    }
    
    module.exports = mapCacheGet;
    
    
    /***/ }),
    
    /***/ 85304:
    /*!*************************************************************!*\
      !*** ./node_modules/_lodash@4.17.23@lodash/_mapCacheHas.js ***!
      \*************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    var getMapData = __webpack_require__(/*! ./_getMapData */ 27856);
    
    /**
     * Checks if a map value for `key` exists.
     *
     * @private
     * @name has
     * @memberOf MapCache
     * @param {string} key The key of the entry to check.
     * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
     */
    function mapCacheHas(key) {
      return getMapData(this, key).has(key);
    }
    
    module.exports = mapCacheHas;
    
    
    /***/ }),
    
    /***/ 57862:
    /*!*************************************************************!*\
      !*** ./node_modules/_lodash@4.17.23@lodash/_mapCacheSet.js ***!
      \*************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    var getMapData = __webpack_require__(/*! ./_getMapData */ 27856);
    
    /**
     * Sets the map `key` to `value`.
     *
     * @private
     * @name set
     * @memberOf MapCache
     * @param {string} key The key of the value to set.
     * @param {*} value The value to set.
     * @returns {Object} Returns the map cache instance.
     */
    function mapCacheSet(key, value) {
      var data = getMapData(this, key),
          size = data.size;
    
      data.set(key, value);
      this.size += data.size == size ? 0 : 1;
      return this;
    }
    
    module.exports = mapCacheSet;
    
    
    /***/ }),
    
    /***/ 60865:
    /*!**************************************************************!*\
      !*** ./node_modules/_lodash@4.17.23@lodash/_nativeCreate.js ***!
      \**************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    var getNative = __webpack_require__(/*! ./_getNative */ 93454);
    
    /* Built-in method references that are verified to be native. */
    var nativeCreate = getNative(Object, 'create');
    
    module.exports = nativeCreate;
    
    
    /***/ }),
    
    /***/ 54229:
    /*!**************************************************************!*\
      !*** ./node_modules/_lodash@4.17.23@lodash/_nativeKeysIn.js ***!
      \**************************************************************/
    /***/ (function(module) {
    
    /**
     * This function is like
     * [`Object.keys`](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)
     * except that it includes inherited enumerable properties.
     *
     * @private
     * @param {Object} object The object to query.
     * @returns {Array} Returns the array of property names.
     */
    function nativeKeysIn(object) {
      var result = [];
      if (object != null) {
        for (var key in Object(object)) {
          result.push(key);
        }
      }
      return result;
    }
    
    module.exports = nativeKeysIn;
    
    
    /***/ }),
    
    /***/ 37340:
    /*!**********************************************************!*\
      !*** ./node_modules/_lodash@4.17.23@lodash/_nodeUtil.js ***!
      \**********************************************************/
    /***/ (function(module, exports, __webpack_require__) {
    
    /* module decorator */ module = __webpack_require__.nmd(module);
    var freeGlobal = __webpack_require__(/*! ./_freeGlobal */ 89413);
    
    /** Detect free variable `exports`. */
    var freeExports =  true && exports && !exports.nodeType && exports;
    
    /** Detect free variable `module`. */
    var freeModule = freeExports && "object" == 'object' && module && !module.nodeType && module;
    
    /** Detect the popular CommonJS extension `module.exports`. */
    var moduleExports = freeModule && freeModule.exports === freeExports;
    
    /** Detect free variable `process` from Node.js. */
    var freeProcess = moduleExports && freeGlobal.process;
    
    /** Used to access faster Node.js helpers. */
    var nodeUtil = (function() {
      try {
        // Use `util.types` for Node.js 10+.
        var types = freeModule && freeModule.require && freeModule.require('util').types;
    
        if (types) {
          return types;
        }
    
        // Legacy `process.binding('util')` for Node.js < 10.
        return freeProcess && freeProcess.binding && freeProcess.binding('util');
      } catch (e) {}
    }());
    
    module.exports = nodeUtil;
    
    
    /***/ }),
    
    /***/ 92631:
    /*!****************************************************************!*\
      !*** ./node_modules/_lodash@4.17.23@lodash/_objectToString.js ***!
      \****************************************************************/
    /***/ (function(module) {
    
    /** Used for built-in method references. */
    var objectProto = Object.prototype;
    
    /**
     * Used to resolve the
     * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
     * of values.
     */
    var nativeObjectToString = objectProto.toString;
    
    /**
     * Converts `value` to a string using `Object.prototype.toString`.
     *
     * @private
     * @param {*} value The value to convert.
     * @returns {string} Returns the converted string.
     */
    function objectToString(value) {
      return nativeObjectToString.call(value);
    }
    
    module.exports = objectToString;
    
    
    /***/ }),
    
    /***/ 1276:
    /*!*********************************************************!*\
      !*** ./node_modules/_lodash@4.17.23@lodash/_overArg.js ***!
      \*********************************************************/
    /***/ (function(module) {
    
    /**
     * Creates a unary function that invokes `func` with its argument transformed.
     *
     * @private
     * @param {Function} func The function to wrap.
     * @param {Function} transform The argument transform.
     * @returns {Function} Returns the new function.
     */
    function overArg(func, transform) {
      return function(arg) {
        return func(transform(arg));
      };
    }
    
    module.exports = overArg;
    
    
    /***/ }),
    
    /***/ 9291:
    /*!**********************************************************!*\
      !*** ./node_modules/_lodash@4.17.23@lodash/_overRest.js ***!
      \**********************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    var apply = __webpack_require__(/*! ./_apply */ 33546);
    
    /* Built-in method references for those with the same name as other `lodash` methods. */
    var nativeMax = Math.max;
    
    /**
     * A specialized version of `baseRest` which transforms the rest array.
     *
     * @private
     * @param {Function} func The function to apply a rest parameter to.
     * @param {number} [start=func.length-1] The start position of the rest parameter.
     * @param {Function} transform The rest array transform.
     * @returns {Function} Returns the new function.
     */
    function overRest(func, start, transform) {
      start = nativeMax(start === undefined ? (func.length - 1) : start, 0);
      return function() {
        var args = arguments,
            index = -1,
            length = nativeMax(args.length - start, 0),
            array = Array(length);
    
        while (++index < length) {
          array[index] = args[start + index];
        }
        index = -1;
        var otherArgs = Array(start + 1);
        while (++index < start) {
          otherArgs[index] = args[index];
        }
        otherArgs[start] = transform(array);
        return apply(func, this, otherArgs);
      };
    }
    
    module.exports = overRest;
    
    
    /***/ }),
    
    /***/ 40911:
    /*!******************************************************!*\
      !*** ./node_modules/_lodash@4.17.23@lodash/_root.js ***!
      \******************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    var freeGlobal = __webpack_require__(/*! ./_freeGlobal */ 89413);
    
    /** Detect free variable `self`. */
    var freeSelf = typeof self == 'object' && self && self.Object === Object && self;
    
    /** Used as a reference to the global object. */
    var root = freeGlobal || freeSelf || Function('return this')();
    
    module.exports = root;
    
    
    /***/ }),
    
    /***/ 10943:
    /*!*********************************************************!*\
      !*** ./node_modules/_lodash@4.17.23@lodash/_safeGet.js ***!
      \*********************************************************/
    /***/ (function(module) {
    
    /**
     * Gets the value at `key`, unless `key` is "__proto__" or "constructor".
     *
     * @private
     * @param {Object} object The object to query.
     * @param {string} key The key of the property to get.
     * @returns {*} Returns the property value.
     */
    function safeGet(object, key) {
      if (key === 'constructor' && typeof object[key] === 'function') {
        return;
      }
    
      if (key == '__proto__') {
        return;
      }
    
      return object[key];
    }
    
    module.exports = safeGet;
    
    
    /***/ }),
    
    /***/ 48815:
    /*!*************************************************************!*\
      !*** ./node_modules/_lodash@4.17.23@lodash/_setToString.js ***!
      \*************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    var baseSetToString = __webpack_require__(/*! ./_baseSetToString */ 57916),
        shortOut = __webpack_require__(/*! ./_shortOut */ 23031);
    
    /**
     * Sets the `toString` method of `func` to return `string`.
     *
     * @private
     * @param {Function} func The function to modify.
     * @param {Function} string The `toString` result.
     * @returns {Function} Returns `func`.
     */
    var setToString = shortOut(baseSetToString);
    
    module.exports = setToString;
    
    
    /***/ }),
    
    /***/ 23031:
    /*!**********************************************************!*\
      !*** ./node_modules/_lodash@4.17.23@lodash/_shortOut.js ***!
      \**********************************************************/
    /***/ (function(module) {
    
    /** Used to detect hot functions by number of calls within a span of milliseconds. */
    var HOT_COUNT = 800,
        HOT_SPAN = 16;
    
    /* Built-in method references for those with the same name as other `lodash` methods. */
    var nativeNow = Date.now;
    
    /**
     * Creates a function that'll short out and invoke `identity` instead
     * of `func` when it's called `HOT_COUNT` or more times in `HOT_SPAN`
     * milliseconds.
     *
     * @private
     * @param {Function} func The function to restrict.
     * @returns {Function} Returns the new shortable function.
     */
    function shortOut(func) {
      var count = 0,
          lastCalled = 0;
    
      return function() {
        var stamp = nativeNow(),
            remaining = HOT_SPAN - (stamp - lastCalled);
    
        lastCalled = stamp;
        if (remaining > 0) {
          if (++count >= HOT_COUNT) {
            return arguments[0];
          }
        } else {
          count = 0;
        }
        return func.apply(undefined, arguments);
      };
    }
    
    module.exports = shortOut;
    
    
    /***/ }),
    
    /***/ 83214:
    /*!************************************************************!*\
      !*** ./node_modules/_lodash@4.17.23@lodash/_stackClear.js ***!
      \************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    var ListCache = __webpack_require__(/*! ./_ListCache */ 53110);
    
    /**
     * Removes all key-value entries from the stack.
     *
     * @private
     * @name clear
     * @memberOf Stack
     */
    function stackClear() {
      this.__data__ = new ListCache;
      this.size = 0;
    }
    
    module.exports = stackClear;
    
    
    /***/ }),
    
    /***/ 52806:
    /*!*************************************************************!*\
      !*** ./node_modules/_lodash@4.17.23@lodash/_stackDelete.js ***!
      \*************************************************************/
    /***/ (function(module) {
    
    /**
     * Removes `key` and its value from the stack.
     *
     * @private
     * @name delete
     * @memberOf Stack
     * @param {string} key The key of the value to remove.
     * @returns {boolean} Returns `true` if the entry was removed, else `false`.
     */
    function stackDelete(key) {
      var data = this.__data__,
          result = data['delete'](key);
    
      this.size = data.size;
      return result;
    }
    
    module.exports = stackDelete;
    
    
    /***/ }),
    
    /***/ 52032:
    /*!**********************************************************!*\
      !*** ./node_modules/_lodash@4.17.23@lodash/_stackGet.js ***!
      \**********************************************************/
    /***/ (function(module) {
    
    /**
     * Gets the stack value for `key`.
     *
     * @private
     * @name get
     * @memberOf Stack
     * @param {string} key The key of the value to get.
     * @returns {*} Returns the entry value.
     */
    function stackGet(key) {
      return this.__data__.get(key);
    }
    
    module.exports = stackGet;
    
    
    /***/ }),
    
    /***/ 51118:
    /*!**********************************************************!*\
      !*** ./node_modules/_lodash@4.17.23@lodash/_stackHas.js ***!
      \**********************************************************/
    /***/ (function(module) {
    
    /**
     * Checks if a stack value for `key` exists.
     *
     * @private
     * @name has
     * @memberOf Stack
     * @param {string} key The key of the entry to check.
     * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
     */
    function stackHas(key) {
      return this.__data__.has(key);
    }
    
    module.exports = stackHas;
    
    
    /***/ }),
    
    /***/ 36321:
    /*!**********************************************************!*\
      !*** ./node_modules/_lodash@4.17.23@lodash/_stackSet.js ***!
      \**********************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    var ListCache = __webpack_require__(/*! ./_ListCache */ 53110),
        Map = __webpack_require__(/*! ./_Map */ 25281),
        MapCache = __webpack_require__(/*! ./_MapCache */ 97800);
    
    /** Used as the size to enable large array optimizations. */
    var LARGE_ARRAY_SIZE = 200;
    
    /**
     * Sets the stack `key` to `value`.
     *
     * @private
     * @name set
     * @memberOf Stack
     * @param {string} key The key of the value to set.
     * @param {*} value The value to set.
     * @returns {Object} Returns the stack cache instance.
     */
    function stackSet(key, value) {
      var data = this.__data__;
      if (data instanceof ListCache) {
        var pairs = data.__data__;
        if (!Map || (pairs.length < LARGE_ARRAY_SIZE - 1)) {
          pairs.push([key, value]);
          this.size = ++data.size;
          return this;
        }
        data = this.__data__ = new MapCache(pairs);
      }
      data.set(key, value);
      this.size = data.size;
      return this;
    }
    
    module.exports = stackSet;
    
    
    /***/ }),
    
    /***/ 89614:
    /*!**********************************************************!*\
      !*** ./node_modules/_lodash@4.17.23@lodash/_toSource.js ***!
      \**********************************************************/
    /***/ (function(module) {
    
    /** Used for built-in method references. */
    var funcProto = Function.prototype;
    
    /** Used to resolve the decompiled source of functions. */
    var funcToString = funcProto.toString;
    
    /**
     * Converts `func` to its source code.
     *
     * @private
     * @param {Function} func The function to convert.
     * @returns {string} Returns the source code.
     */
    function toSource(func) {
      if (func != null) {
        try {
          return funcToString.call(func);
        } catch (e) {}
        try {
          return (func + '');
        } catch (e) {}
      }
      return '';
    }
    
    module.exports = toSource;
    
    
    /***/ }),
    
    /***/ 46221:
    /*!*********************************************************!*\
      !*** ./node_modules/_lodash@4.17.23@lodash/constant.js ***!
      \*********************************************************/
    /***/ (function(module) {
    
    /**
     * Creates a function that returns `value`.
     *
     * @static
     * @memberOf _
     * @since 2.4.0
     * @category Util
     * @param {*} value The value to return from the new function.
     * @returns {Function} Returns the new constant function.
     * @example
     *
     * var objects = _.times(2, _.constant({ 'a': 1 }));
     *
     * console.log(objects);
     * // => [{ 'a': 1 }, { 'a': 1 }]
     *
     * console.log(objects[0] === objects[1]);
     * // => true
     */
    function constant(value) {
      return function() {
        return value;
      };
    }
    
    module.exports = constant;
    
    
    /***/ }),
    
    /***/ 83914:
    /*!***************************************************!*\
      !*** ./node_modules/_lodash@4.17.23@lodash/eq.js ***!
      \***************************************************/
    /***/ (function(module) {
    
    /**
     * Performs a
     * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
     * comparison between two values to determine if they are equivalent.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Lang
     * @param {*} value The value to compare.
     * @param {*} other The other value to compare.
     * @returns {boolean} Returns `true` if the values are equivalent, else `false`.
     * @example
     *
     * var object = { 'a': 1 };
     * var other = { 'a': 1 };
     *
     * _.eq(object, object);
     * // => true
     *
     * _.eq(object, other);
     * // => false
     *
     * _.eq('a', 'a');
     * // => true
     *
     * _.eq('a', Object('a'));
     * // => false
     *
     * _.eq(NaN, NaN);
     * // => true
     */
    function eq(value, other) {
      return value === other || (value !== value && other !== other);
    }
    
    module.exports = eq;
    
    
    /***/ }),
    
    /***/ 44525:
    /*!*********************************************************!*\
      !*** ./node_modules/_lodash@4.17.23@lodash/identity.js ***!
      \*********************************************************/
    /***/ (function(module) {
    
    /**
     * This method returns the first argument it receives.
     *
     * @static
     * @since 0.1.0
     * @memberOf _
     * @category Util
     * @param {*} value Any value.
     * @returns {*} Returns `value`.
     * @example
     *
     * var object = { 'a': 1 };
     *
     * console.log(_.identity(object) === object);
     * // => true
     */
    function identity(value) {
      return value;
    }
    
    module.exports = identity;
    
    
    /***/ }),
    
    /***/ 30516:
    /*!************************************************************!*\
      !*** ./node_modules/_lodash@4.17.23@lodash/isArguments.js ***!
      \************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    var baseIsArguments = __webpack_require__(/*! ./_baseIsArguments */ 3841),
        isObjectLike = __webpack_require__(/*! ./isObjectLike */ 71161);
    
    /** Used for built-in method references. */
    var objectProto = Object.prototype;
    
    /** Used to check objects for own properties. */
    var hasOwnProperty = objectProto.hasOwnProperty;
    
    /** Built-in value references. */
    var propertyIsEnumerable = objectProto.propertyIsEnumerable;
    
    /**
     * Checks if `value` is likely an `arguments` object.
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Lang
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `value` is an `arguments` object,
     *  else `false`.
     * @example
     *
     * _.isArguments(function() { return arguments; }());
     * // => true
     *
     * _.isArguments([1, 2, 3]);
     * // => false
     */
    var isArguments = baseIsArguments(function() { return arguments; }()) ? baseIsArguments : function(value) {
      return isObjectLike(value) && hasOwnProperty.call(value, 'callee') &&
        !propertyIsEnumerable.call(value, 'callee');
    };
    
    module.exports = isArguments;
    
    
    /***/ }),
    
    /***/ 41594:
    /*!********************************************************!*\
      !*** ./node_modules/_lodash@4.17.23@lodash/isArray.js ***!
      \********************************************************/
    /***/ (function(module) {
    
    /**
     * Checks if `value` is classified as an `Array` object.
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Lang
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `value` is an array, else `false`.
     * @example
     *
     * _.isArray([1, 2, 3]);
     * // => true
     *
     * _.isArray(document.body.children);
     * // => false
     *
     * _.isArray('abc');
     * // => false
     *
     * _.isArray(_.noop);
     * // => false
     */
    var isArray = Array.isArray;
    
    module.exports = isArray;
    
    
    /***/ }),
    
    /***/ 9015:
    /*!************************************************************!*\
      !*** ./node_modules/_lodash@4.17.23@lodash/isArrayLike.js ***!
      \************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    var isFunction = __webpack_require__(/*! ./isFunction */ 92581),
        isLength = __webpack_require__(/*! ./isLength */ 41199);
    
    /**
     * Checks if `value` is array-like. A value is considered array-like if it's
     * not a function and has a `value.length` that's an integer greater than or
     * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Lang
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `value` is array-like, else `false`.
     * @example
     *
     * _.isArrayLike([1, 2, 3]);
     * // => true
     *
     * _.isArrayLike(document.body.children);
     * // => true
     *
     * _.isArrayLike('abc');
     * // => true
     *
     * _.isArrayLike(_.noop);
     * // => false
     */
    function isArrayLike(value) {
      return value != null && isLength(value.length) && !isFunction(value);
    }
    
    module.exports = isArrayLike;
    
    
    /***/ }),
    
    /***/ 20577:
    /*!******************************************************************!*\
      !*** ./node_modules/_lodash@4.17.23@lodash/isArrayLikeObject.js ***!
      \******************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    var isArrayLike = __webpack_require__(/*! ./isArrayLike */ 9015),
        isObjectLike = __webpack_require__(/*! ./isObjectLike */ 71161);
    
    /**
     * This method is like `_.isArrayLike` except that it also checks if `value`
     * is an object.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Lang
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `value` is an array-like object,
     *  else `false`.
     * @example
     *
     * _.isArrayLikeObject([1, 2, 3]);
     * // => true
     *
     * _.isArrayLikeObject(document.body.children);
     * // => true
     *
     * _.isArrayLikeObject('abc');
     * // => false
     *
     * _.isArrayLikeObject(_.noop);
     * // => false
     */
    function isArrayLikeObject(value) {
      return isObjectLike(value) && isArrayLike(value);
    }
    
    module.exports = isArrayLikeObject;
    
    
    /***/ }),
    
    /***/ 33636:
    /*!*********************************************************!*\
      !*** ./node_modules/_lodash@4.17.23@lodash/isBuffer.js ***!
      \*********************************************************/
    /***/ (function(module, exports, __webpack_require__) {
    
    /* module decorator */ module = __webpack_require__.nmd(module);
    var root = __webpack_require__(/*! ./_root */ 40911),
        stubFalse = __webpack_require__(/*! ./stubFalse */ 75374);
    
    /** Detect free variable `exports`. */
    var freeExports =  true && exports && !exports.nodeType && exports;
    
    /** Detect free variable `module`. */
    var freeModule = freeExports && "object" == 'object' && module && !module.nodeType && module;
    
    /** Detect the popular CommonJS extension `module.exports`. */
    var moduleExports = freeModule && freeModule.exports === freeExports;
    
    /** Built-in value references. */
    var Buffer = moduleExports ? root.Buffer : undefined;
    
    /* Built-in method references for those with the same name as other `lodash` methods. */
    var nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined;
    
    /**
     * Checks if `value` is a buffer.
     *
     * @static
     * @memberOf _
     * @since 4.3.0
     * @category Lang
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `value` is a buffer, else `false`.
     * @example
     *
     * _.isBuffer(new Buffer(2));
     * // => true
     *
     * _.isBuffer(new Uint8Array(2));
     * // => false
     */
    var isBuffer = nativeIsBuffer || stubFalse;
    
    module.exports = isBuffer;
    
    
    /***/ }),
    
    /***/ 92581:
    /*!***********************************************************!*\
      !*** ./node_modules/_lodash@4.17.23@lodash/isFunction.js ***!
      \***********************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    var baseGetTag = __webpack_require__(/*! ./_baseGetTag */ 17325),
        isObject = __webpack_require__(/*! ./isObject */ 71721);
    
    /** `Object#toString` result references. */
    var asyncTag = '[object AsyncFunction]',
        funcTag = '[object Function]',
        genTag = '[object GeneratorFunction]',
        proxyTag = '[object Proxy]';
    
    /**
     * Checks if `value` is classified as a `Function` object.
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Lang
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `value` is a function, else `false`.
     * @example
     *
     * _.isFunction(_);
     * // => true
     *
     * _.isFunction(/abc/);
     * // => false
     */
    function isFunction(value) {
      if (!isObject(value)) {
        return false;
      }
      // The use of `Object#toString` avoids issues with the `typeof` operator
      // in Safari 9 which returns 'object' for typed arrays and other constructors.
      var tag = baseGetTag(value);
      return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag;
    }
    
    module.exports = isFunction;
    
    
    /***/ }),
    
    /***/ 41199:
    /*!*********************************************************!*\
      !*** ./node_modules/_lodash@4.17.23@lodash/isLength.js ***!
      \*********************************************************/
    /***/ (function(module) {
    
    /** Used as references for various `Number` constants. */
    var MAX_SAFE_INTEGER = 9007199254740991;
    
    /**
     * Checks if `value` is a valid array-like length.
     *
     * **Note:** This method is loosely based on
     * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Lang
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `value` is a valid length, else `false`.
     * @example
     *
     * _.isLength(3);
     * // => true
     *
     * _.isLength(Number.MIN_VALUE);
     * // => false
     *
     * _.isLength(Infinity);
     * // => false
     *
     * _.isLength('3');
     * // => false
     */
    function isLength(value) {
      return typeof value == 'number' &&
        value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;
    }
    
    module.exports = isLength;
    
    
    /***/ }),
    
    /***/ 71721:
    /*!*********************************************************!*\
      !*** ./node_modules/_lodash@4.17.23@lodash/isObject.js ***!
      \*********************************************************/
    /***/ (function(module) {
    
    /**
     * Checks if `value` is the
     * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)
     * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Lang
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `value` is an object, else `false`.
     * @example
     *
     * _.isObject({});
     * // => true
     *
     * _.isObject([1, 2, 3]);
     * // => true
     *
     * _.isObject(_.noop);
     * // => true
     *
     * _.isObject(null);
     * // => false
     */
    function isObject(value) {
      var type = typeof value;
      return value != null && (type == 'object' || type == 'function');
    }
    
    module.exports = isObject;
    
    
    /***/ }),
    
    /***/ 71161:
    /*!*************************************************************!*\
      !*** ./node_modules/_lodash@4.17.23@lodash/isObjectLike.js ***!
      \*************************************************************/
    /***/ (function(module) {
    
    /**
     * Checks if `value` is object-like. A value is object-like if it's not `null`
     * and has a `typeof` result of "object".
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Lang
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `value` is object-like, else `false`.
     * @example
     *
     * _.isObjectLike({});
     * // => true
     *
     * _.isObjectLike([1, 2, 3]);
     * // => true
     *
     * _.isObjectLike(_.noop);
     * // => false
     *
     * _.isObjectLike(null);
     * // => false
     */
    function isObjectLike(value) {
      return value != null && typeof value == 'object';
    }
    
    module.exports = isObjectLike;
    
    
    /***/ }),
    
    /***/ 29538:
    /*!**************************************************************!*\
      !*** ./node_modules/_lodash@4.17.23@lodash/isPlainObject.js ***!
      \**************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    var baseGetTag = __webpack_require__(/*! ./_baseGetTag */ 17325),
        getPrototype = __webpack_require__(/*! ./_getPrototype */ 13530),
        isObjectLike = __webpack_require__(/*! ./isObjectLike */ 71161);
    
    /** `Object#toString` result references. */
    var objectTag = '[object Object]';
    
    /** Used for built-in method references. */
    var funcProto = Function.prototype,
        objectProto = Object.prototype;
    
    /** Used to resolve the decompiled source of functions. */
    var funcToString = funcProto.toString;
    
    /** Used to check objects for own properties. */
    var hasOwnProperty = objectProto.hasOwnProperty;
    
    /** Used to infer the `Object` constructor. */
    var objectCtorString = funcToString.call(Object);
    
    /**
     * Checks if `value` is a plain object, that is, an object created by the
     * `Object` constructor or one with a `[[Prototype]]` of `null`.
     *
     * @static
     * @memberOf _
     * @since 0.8.0
     * @category Lang
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `value` is a plain object, else `false`.
     * @example
     *
     * function Foo() {
     *   this.a = 1;
     * }
     *
     * _.isPlainObject(new Foo);
     * // => false
     *
     * _.isPlainObject([1, 2, 3]);
     * // => false
     *
     * _.isPlainObject({ 'x': 0, 'y': 0 });
     * // => true
     *
     * _.isPlainObject(Object.create(null));
     * // => true
     */
    function isPlainObject(value) {
      if (!isObjectLike(value) || baseGetTag(value) != objectTag) {
        return false;
      }
      var proto = getPrototype(value);
      if (proto === null) {
        return true;
      }
      var Ctor = hasOwnProperty.call(proto, 'constructor') && proto.constructor;
      return typeof Ctor == 'function' && Ctor instanceof Ctor &&
        funcToString.call(Ctor) == objectCtorString;
    }
    
    module.exports = isPlainObject;
    
    
    /***/ }),
    
    /***/ 53745:
    /*!*************************************************************!*\
      !*** ./node_modules/_lodash@4.17.23@lodash/isTypedArray.js ***!
      \*************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    var baseIsTypedArray = __webpack_require__(/*! ./_baseIsTypedArray */ 61651),
        baseUnary = __webpack_require__(/*! ./_baseUnary */ 82230),
        nodeUtil = __webpack_require__(/*! ./_nodeUtil */ 37340);
    
    /* Node.js helper references. */
    var nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;
    
    /**
     * Checks if `value` is classified as a typed array.
     *
     * @static
     * @memberOf _
     * @since 3.0.0
     * @category Lang
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.
     * @example
     *
     * _.isTypedArray(new Uint8Array);
     * // => true
     *
     * _.isTypedArray([]);
     * // => false
     */
    var isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray;
    
    module.exports = isTypedArray;
    
    
    /***/ }),
    
    /***/ 331:
    /*!*******************************************************!*\
      !*** ./node_modules/_lodash@4.17.23@lodash/keysIn.js ***!
      \*******************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    var arrayLikeKeys = __webpack_require__(/*! ./_arrayLikeKeys */ 91762),
        baseKeysIn = __webpack_require__(/*! ./_baseKeysIn */ 54193),
        isArrayLike = __webpack_require__(/*! ./isArrayLike */ 9015);
    
    /**
     * Creates an array of the own and inherited enumerable property names of `object`.
     *
     * **Note:** Non-object values are coerced to objects.
     *
     * @static
     * @memberOf _
     * @since 3.0.0
     * @category Object
     * @param {Object} object The object to query.
     * @returns {Array} Returns the array of property names.
     * @example
     *
     * function Foo() {
     *   this.a = 1;
     *   this.b = 2;
     * }
     *
     * Foo.prototype.c = 3;
     *
     * _.keysIn(new Foo);
     * // => ['a', 'b', 'c'] (iteration order is not guaranteed)
     */
    function keysIn(object) {
      return isArrayLike(object) ? arrayLikeKeys(object, true) : baseKeysIn(object);
    }
    
    module.exports = keysIn;
    
    
    /***/ }),
    
    /***/ 78267:
    /*!*******************************************************!*\
      !*** ./node_modules/_lodash@4.17.23@lodash/lodash.js ***!
      \*******************************************************/
    /***/ (function(module, exports, __webpack_require__) {
    
    /* module decorator */ module = __webpack_require__.nmd(module);
    var __WEBPACK_AMD_DEFINE_RESULT__;/**
     * @license
     * Lodash <https://lodash.com/>
     * Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
     * Released under MIT license <https://lodash.com/license>
     * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
     * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
     */
    ;(function() {
    
      /** Used as a safe reference for `undefined` in pre-ES5 environments. */
      var undefined;
    
      /** Used as the semantic version number. */
      var VERSION = '4.17.23';
    
      /** Used as the size to enable large array optimizations. */
      var LARGE_ARRAY_SIZE = 200;
    
      /** Error message constants. */
      var CORE_ERROR_TEXT = 'Unsupported core-js use. Try https://npms.io/search?q=ponyfill.',
          FUNC_ERROR_TEXT = 'Expected a function',
          INVALID_TEMPL_VAR_ERROR_TEXT = 'Invalid `variable` option passed into `_.template`';
    
      /** Used to stand-in for `undefined` hash values. */
      var HASH_UNDEFINED = '__lodash_hash_undefined__';
    
      /** Used as the maximum memoize cache size. */
      var MAX_MEMOIZE_SIZE = 500;
    
      /** Used as the internal argument placeholder. */
      var PLACEHOLDER = '__lodash_placeholder__';
    
      /** Used to compose bitmasks for cloning. */
      var CLONE_DEEP_FLAG = 1,
          CLONE_FLAT_FLAG = 2,
          CLONE_SYMBOLS_FLAG = 4;
    
      /** Used to compose bitmasks for value comparisons. */
      var COMPARE_PARTIAL_FLAG = 1,
          COMPARE_UNORDERED_FLAG = 2;
    
      /** Used to compose bitmasks for function metadata. */
      var WRAP_BIND_FLAG = 1,
          WRAP_BIND_KEY_FLAG = 2,
          WRAP_CURRY_BOUND_FLAG = 4,
          WRAP_CURRY_FLAG = 8,
          WRAP_CURRY_RIGHT_FLAG = 16,
          WRAP_PARTIAL_FLAG = 32,
          WRAP_PARTIAL_RIGHT_FLAG = 64,
          WRAP_ARY_FLAG = 128,
          WRAP_REARG_FLAG = 256,
          WRAP_FLIP_FLAG = 512;
    
      /** Used as default options for `_.truncate`. */
      var DEFAULT_TRUNC_LENGTH = 30,
          DEFAULT_TRUNC_OMISSION = '...';
    
      /** Used to detect hot functions by number of calls within a span of milliseconds. */
      var HOT_COUNT = 800,
          HOT_SPAN = 16;
    
      /** Used to indicate the type of lazy iteratees. */
      var LAZY_FILTER_FLAG = 1,
          LAZY_MAP_FLAG = 2,
          LAZY_WHILE_FLAG = 3;
    
      /** Used as references for various `Number` constants. */
      var INFINITY = 1 / 0,
          MAX_SAFE_INTEGER = 9007199254740991,
          MAX_INTEGER = 1.7976931348623157e+308,
          NAN = 0 / 0;
    
      /** Used as references for the maximum length and index of an array. */
      var MAX_ARRAY_LENGTH = 4294967295,
          MAX_ARRAY_INDEX = MAX_ARRAY_LENGTH - 1,
          HALF_MAX_ARRAY_LENGTH = MAX_ARRAY_LENGTH >>> 1;
    
      /** Used to associate wrap methods with their bit flags. */
      var wrapFlags = [
        ['ary', WRAP_ARY_FLAG],
        ['bind', WRAP_BIND_FLAG],
        ['bindKey', WRAP_BIND_KEY_FLAG],
        ['curry', WRAP_CURRY_FLAG],
        ['curryRight', WRAP_CURRY_RIGHT_FLAG],
        ['flip', WRAP_FLIP_FLAG],
        ['partial', WRAP_PARTIAL_FLAG],
        ['partialRight', WRAP_PARTIAL_RIGHT_FLAG],
        ['rearg', WRAP_REARG_FLAG]
      ];
    
      /** `Object#toString` result references. */
      var argsTag = '[object Arguments]',
          arrayTag = '[object Array]',
          asyncTag = '[object AsyncFunction]',
          boolTag = '[object Boolean]',
          dateTag = '[object Date]',
          domExcTag = '[object DOMException]',
          errorTag = '[object Error]',
          funcTag = '[object Function]',
          genTag = '[object GeneratorFunction]',
          mapTag = '[object Map]',
          numberTag = '[object Number]',
          nullTag = '[object Null]',
          objectTag = '[object Object]',
          promiseTag = '[object Promise]',
          proxyTag = '[object Proxy]',
          regexpTag = '[object RegExp]',
          setTag = '[object Set]',
          stringTag = '[object String]',
          symbolTag = '[object Symbol]',
          undefinedTag = '[object Undefined]',
          weakMapTag = '[object WeakMap]',
          weakSetTag = '[object WeakSet]';
    
      var arrayBufferTag = '[object ArrayBuffer]',
          dataViewTag = '[object DataView]',
          float32Tag = '[object Float32Array]',
          float64Tag = '[object Float64Array]',
          int8Tag = '[object Int8Array]',
          int16Tag = '[object Int16Array]',
          int32Tag = '[object Int32Array]',
          uint8Tag = '[object Uint8Array]',
          uint8ClampedTag = '[object Uint8ClampedArray]',
          uint16Tag = '[object Uint16Array]',
          uint32Tag = '[object Uint32Array]';
    
      /** Used to match empty string literals in compiled template source. */
      var reEmptyStringLeading = /\b__p \+= '';/g,
          reEmptyStringMiddle = /\b(__p \+=) '' \+/g,
          reEmptyStringTrailing = /(__e\(.*?\)|\b__t\)) \+\n'';/g;
    
      /** Used to match HTML entities and HTML characters. */
      var reEscapedHtml = /&(?:amp|lt|gt|quot|#39);/g,
          reUnescapedHtml = /[&<>"']/g,
          reHasEscapedHtml = RegExp(reEscapedHtml.source),
          reHasUnescapedHtml = RegExp(reUnescapedHtml.source);
    
      /** Used to match template delimiters. */
      var reEscape = /<%-([\s\S]+?)%>/g,
          reEvaluate = /<%([\s\S]+?)%>/g,
          reInterpolate = /<%=([\s\S]+?)%>/g;
    
      /** Used to match property names within property paths. */
      var reIsDeepProp = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,
          reIsPlainProp = /^\w*$/,
          rePropName = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g;
    
      /**
       * Used to match `RegExp`
       * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).
       */
      var reRegExpChar = /[\\^$.*+?()[\]{}|]/g,
          reHasRegExpChar = RegExp(reRegExpChar.source);
    
      /** Used to match leading whitespace. */
      var reTrimStart = /^\s+/;
    
      /** Used to match a single whitespace character. */
      var reWhitespace = /\s/;
    
      /** Used to match wrap detail comments. */
      var reWrapComment = /\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,
          reWrapDetails = /\{\n\/\* \[wrapped with (.+)\] \*/,
          reSplitDetails = /,? & /;
    
      /** Used to match words composed of alphanumeric characters. */
      var reAsciiWord = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;
    
      /**
       * Used to validate the `validate` option in `_.template` variable.
       *
       * Forbids characters which could potentially change the meaning of the function argument definition:
       * - "()," (modification of function parameters)
       * - "=" (default value)
       * - "[]{}" (destructuring of function parameters)
       * - "/" (beginning of a comment)
       * - whitespace
       */
      var reForbiddenIdentifierChars = /[()=,{}\[\]\/\s]/;
    
      /** Used to match backslashes in property paths. */
      var reEscapeChar = /\\(\\)?/g;
    
      /**
       * Used to match
       * [ES template delimiters](http://ecma-international.org/ecma-262/7.0/#sec-template-literal-lexical-components).
       */
      var reEsTemplate = /\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g;
    
      /** Used to match `RegExp` flags from their coerced string values. */
      var reFlags = /\w*$/;
    
      /** Used to detect bad signed hexadecimal string values. */
      var reIsBadHex = /^[-+]0x[0-9a-f]+$/i;
    
      /** Used to detect binary string values. */
      var reIsBinary = /^0b[01]+$/i;
    
      /** Used to detect host constructors (Safari). */
      var reIsHostCtor = /^\[object .+?Constructor\]$/;
    
      /** Used to detect octal string values. */
      var reIsOctal = /^0o[0-7]+$/i;
    
      /** Used to detect unsigned integer values. */
      var reIsUint = /^(?:0|[1-9]\d*)$/;
    
      /** Used to match Latin Unicode letters (excluding mathematical operators). */
      var reLatin = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g;
    
      /** Used to ensure capturing order of template delimiters. */
      var reNoMatch = /($^)/;
    
      /** Used to match unescaped characters in compiled string literals. */
      var reUnescapedString = /['\n\r\u2028\u2029\\]/g;
    
      /** Used to compose unicode character classes. */
      var rsAstralRange = '\\ud800-\\udfff',
          rsComboMarksRange = '\\u0300-\\u036f',
          reComboHalfMarksRange = '\\ufe20-\\ufe2f',
          rsComboSymbolsRange = '\\u20d0-\\u20ff',
          rsComboRange = rsComboMarksRange + reComboHalfMarksRange + rsComboSymbolsRange,
          rsDingbatRange = '\\u2700-\\u27bf',
          rsLowerRange = 'a-z\\xdf-\\xf6\\xf8-\\xff',
          rsMathOpRange = '\\xac\\xb1\\xd7\\xf7',
          rsNonCharRange = '\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf',
          rsPunctuationRange = '\\u2000-\\u206f',
          rsSpaceRange = ' \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000',
          rsUpperRange = 'A-Z\\xc0-\\xd6\\xd8-\\xde',
          rsVarRange = '\\ufe0e\\ufe0f',
          rsBreakRange = rsMathOpRange + rsNonCharRange + rsPunctuationRange + rsSpaceRange;
    
      /** Used to compose unicode capture groups. */
      var rsApos = "['\u2019]",
          rsAstral = '[' + rsAstralRange + ']',
          rsBreak = '[' + rsBreakRange + ']',
          rsCombo = '[' + rsComboRange + ']',
          rsDigits = '\\d+',
          rsDingbat = '[' + rsDingbatRange + ']',
          rsLower = '[' + rsLowerRange + ']',
          rsMisc = '[^' + rsAstralRange + rsBreakRange + rsDigits + rsDingbatRange + rsLowerRange + rsUpperRange + ']',
          rsFitz = '\\ud83c[\\udffb-\\udfff]',
          rsModifier = '(?:' + rsCombo + '|' + rsFitz + ')',
          rsNonAstral = '[^' + rsAstralRange + ']',
          rsRegional = '(?:\\ud83c[\\udde6-\\uddff]){2}',
          rsSurrPair = '[\\ud800-\\udbff][\\udc00-\\udfff]',
          rsUpper = '[' + rsUpperRange + ']',
          rsZWJ = '\\u200d';
    
      /** Used to compose unicode regexes. */
      var rsMiscLower = '(?:' + rsLower + '|' + rsMisc + ')',
          rsMiscUpper = '(?:' + rsUpper + '|' + rsMisc + ')',
          rsOptContrLower = '(?:' + rsApos + '(?:d|ll|m|re|s|t|ve))?',
          rsOptContrUpper = '(?:' + rsApos + '(?:D|LL|M|RE|S|T|VE))?',
          reOptMod = rsModifier + '?',
          rsOptVar = '[' + rsVarRange + ']?',
          rsOptJoin = '(?:' + rsZWJ + '(?:' + [rsNonAstral, rsRegional, rsSurrPair].join('|') + ')' + rsOptVar + reOptMod + ')*',
          rsOrdLower = '\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])',
          rsOrdUpper = '\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])',
          rsSeq = rsOptVar + reOptMod + rsOptJoin,
          rsEmoji = '(?:' + [rsDingbat, rsRegional, rsSurrPair].join('|') + ')' + rsSeq,
          rsSymbol = '(?:' + [rsNonAstral + rsCombo + '?', rsCombo, rsRegional, rsSurrPair, rsAstral].join('|') + ')';
    
      /** Used to match apostrophes. */
      var reApos = RegExp(rsApos, 'g');
    
      /**
       * Used to match [combining diacritical marks](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks) and
       * [combining diacritical marks for symbols](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks_for_Symbols).
       */
      var reComboMark = RegExp(rsCombo, 'g');
    
      /** Used to match [string symbols](https://mathiasbynens.be/notes/javascript-unicode). */
      var reUnicode = RegExp(rsFitz + '(?=' + rsFitz + ')|' + rsSymbol + rsSeq, 'g');
    
      /** Used to match complex or compound words. */
      var reUnicodeWord = RegExp([
        rsUpper + '?' + rsLower + '+' + rsOptContrLower + '(?=' + [rsBreak, rsUpper, '$'].join('|') + ')',
        rsMiscUpper + '+' + rsOptContrUpper + '(?=' + [rsBreak, rsUpper + rsMiscLower, '$'].join('|') + ')',
        rsUpper + '?' + rsMiscLower + '+' + rsOptContrLower,
        rsUpper + '+' + rsOptContrUpper,
        rsOrdUpper,
        rsOrdLower,
        rsDigits,
        rsEmoji
      ].join('|'), 'g');
    
      /** Used to detect strings with [zero-width joiners or code points from the astral planes](http://eev.ee/blog/2015/09/12/dark-corners-of-unicode/). */
      var reHasUnicode = RegExp('[' + rsZWJ + rsAstralRange  + rsComboRange + rsVarRange + ']');
    
      /** Used to detect strings that need a more robust regexp to match words. */
      var reHasUnicodeWord = /[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;
    
      /** Used to assign default `context` object properties. */
      var contextProps = [
        'Array', 'Buffer', 'DataView', 'Date', 'Error', 'Float32Array', 'Float64Array',
        'Function', 'Int8Array', 'Int16Array', 'Int32Array', 'Map', 'Math', 'Object',
        'Promise', 'RegExp', 'Set', 'String', 'Symbol', 'TypeError', 'Uint8Array',
        'Uint8ClampedArray', 'Uint16Array', 'Uint32Array', 'WeakMap',
        '_', 'clearTimeout', 'isFinite', 'parseInt', 'setTimeout'
      ];
    
      /** Used to make template sourceURLs easier to identify. */
      var templateCounter = -1;
    
      /** Used to identify `toStringTag` values of typed arrays. */
      var typedArrayTags = {};
      typedArrayTags[float32Tag] = typedArrayTags[float64Tag] =
      typedArrayTags[int8Tag] = typedArrayTags[int16Tag] =
      typedArrayTags[int32Tag] = typedArrayTags[uint8Tag] =
      typedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] =
      typedArrayTags[uint32Tag] = true;
      typedArrayTags[argsTag] = typedArrayTags[arrayTag] =
      typedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] =
      typedArrayTags[dataViewTag] = typedArrayTags[dateTag] =
      typedArrayTags[errorTag] = typedArrayTags[funcTag] =
      typedArrayTags[mapTag] = typedArrayTags[numberTag] =
      typedArrayTags[objectTag] = typedArrayTags[regexpTag] =
      typedArrayTags[setTag] = typedArrayTags[stringTag] =
      typedArrayTags[weakMapTag] = false;
    
      /** Used to identify `toStringTag` values supported by `_.clone`. */
      var cloneableTags = {};
      cloneableTags[argsTag] = cloneableTags[arrayTag] =
      cloneableTags[arrayBufferTag] = cloneableTags[dataViewTag] =
      cloneableTags[boolTag] = cloneableTags[dateTag] =
      cloneableTags[float32Tag] = cloneableTags[float64Tag] =
      cloneableTags[int8Tag] = cloneableTags[int16Tag] =
      cloneableTags[int32Tag] = cloneableTags[mapTag] =
      cloneableTags[numberTag] = cloneableTags[objectTag] =
      cloneableTags[regexpTag] = cloneableTags[setTag] =
      cloneableTags[stringTag] = cloneableTags[symbolTag] =
      cloneableTags[uint8Tag] = cloneableTags[uint8ClampedTag] =
      cloneableTags[uint16Tag] = cloneableTags[uint32Tag] = true;
      cloneableTags[errorTag] = cloneableTags[funcTag] =
      cloneableTags[weakMapTag] = false;
    
      /** Used to map Latin Unicode letters to basic Latin letters. */
      var deburredLetters = {
        // Latin-1 Supplement block.
        '\xc0': 'A',  '\xc1': 'A', '\xc2': 'A', '\xc3': 'A', '\xc4': 'A', '\xc5': 'A',
        '\xe0': 'a',  '\xe1': 'a', '\xe2': 'a', '\xe3': 'a', '\xe4': 'a', '\xe5': 'a',
        '\xc7': 'C',  '\xe7': 'c',
        '\xd0': 'D',  '\xf0': 'd',
        '\xc8': 'E',  '\xc9': 'E', '\xca': 'E', '\xcb': 'E',
        '\xe8': 'e',  '\xe9': 'e', '\xea': 'e', '\xeb': 'e',
        '\xcc': 'I',  '\xcd': 'I', '\xce': 'I', '\xcf': 'I',
        '\xec': 'i',  '\xed': 'i', '\xee': 'i', '\xef': 'i',
        '\xd1': 'N',  '\xf1': 'n',
        '\xd2': 'O',  '\xd3': 'O', '\xd4': 'O', '\xd5': 'O', '\xd6': 'O', '\xd8': 'O',
        '\xf2': 'o',  '\xf3': 'o', '\xf4': 'o', '\xf5': 'o', '\xf6': 'o', '\xf8': 'o',
        '\xd9': 'U',  '\xda': 'U', '\xdb': 'U', '\xdc': 'U',
        '\xf9': 'u',  '\xfa': 'u', '\xfb': 'u', '\xfc': 'u',
        '\xdd': 'Y',  '\xfd': 'y', '\xff': 'y',
        '\xc6': 'Ae', '\xe6': 'ae',
        '\xde': 'Th', '\xfe': 'th',
        '\xdf': 'ss',
        // Latin Extended-A block.
        '\u0100': 'A',  '\u0102': 'A', '\u0104': 'A',
        '\u0101': 'a',  '\u0103': 'a', '\u0105': 'a',
        '\u0106': 'C',  '\u0108': 'C', '\u010a': 'C', '\u010c': 'C',
        '\u0107': 'c',  '\u0109': 'c', '\u010b': 'c', '\u010d': 'c',
        '\u010e': 'D',  '\u0110': 'D', '\u010f': 'd', '\u0111': 'd',
        '\u0112': 'E',  '\u0114': 'E', '\u0116': 'E', '\u0118': 'E', '\u011a': 'E',
        '\u0113': 'e',  '\u0115': 'e', '\u0117': 'e', '\u0119': 'e', '\u011b': 'e',
        '\u011c': 'G',  '\u011e': 'G', '\u0120': 'G', '\u0122': 'G',
        '\u011d': 'g',  '\u011f': 'g', '\u0121': 'g', '\u0123': 'g',
        '\u0124': 'H',  '\u0126': 'H', '\u0125': 'h', '\u0127': 'h',
        '\u0128': 'I',  '\u012a': 'I', '\u012c': 'I', '\u012e': 'I', '\u0130': 'I',
        '\u0129': 'i',  '\u012b': 'i', '\u012d': 'i', '\u012f': 'i', '\u0131': 'i',
        '\u0134': 'J',  '\u0135': 'j',
        '\u0136': 'K',  '\u0137': 'k', '\u0138': 'k',
        '\u0139': 'L',  '\u013b': 'L', '\u013d': 'L', '\u013f': 'L', '\u0141': 'L',
        '\u013a': 'l',  '\u013c': 'l', '\u013e': 'l', '\u0140': 'l', '\u0142': 'l',
        '\u0143': 'N',  '\u0145': 'N', '\u0147': 'N', '\u014a': 'N',
        '\u0144': 'n',  '\u0146': 'n', '\u0148': 'n', '\u014b': 'n',
        '\u014c': 'O',  '\u014e': 'O', '\u0150': 'O',
        '\u014d': 'o',  '\u014f': 'o', '\u0151': 'o',
        '\u0154': 'R',  '\u0156': 'R', '\u0158': 'R',
        '\u0155': 'r',  '\u0157': 'r', '\u0159': 'r',
        '\u015a': 'S',  '\u015c': 'S', '\u015e': 'S', '\u0160': 'S',
        '\u015b': 's',  '\u015d': 's', '\u015f': 's', '\u0161': 's',
        '\u0162': 'T',  '\u0164': 'T', '\u0166': 'T',
        '\u0163': 't',  '\u0165': 't', '\u0167': 't',
        '\u0168': 'U',  '\u016a': 'U', '\u016c': 'U', '\u016e': 'U', '\u0170': 'U', '\u0172': 'U',
        '\u0169': 'u',  '\u016b': 'u', '\u016d': 'u', '\u016f': 'u', '\u0171': 'u', '\u0173': 'u',
        '\u0174': 'W',  '\u0175': 'w',
        '\u0176': 'Y',  '\u0177': 'y', '\u0178': 'Y',
        '\u0179': 'Z',  '\u017b': 'Z', '\u017d': 'Z',
        '\u017a': 'z',  '\u017c': 'z', '\u017e': 'z',
        '\u0132': 'IJ', '\u0133': 'ij',
        '\u0152': 'Oe', '\u0153': 'oe',
        '\u0149': "'n", '\u017f': 's'
      };
    
      /** Used to map characters to HTML entities. */
      var htmlEscapes = {
        '&': '&amp;',
        '<': '&lt;',
        '>': '&gt;',
        '"': '&quot;',
        "'": '&#39;'
      };
    
      /** Used to map HTML entities to characters. */
      var htmlUnescapes = {
        '&amp;': '&',
        '&lt;': '<',
        '&gt;': '>',
        '&quot;': '"',
        '&#39;': "'"
      };
    
      /** Used to escape characters for inclusion in compiled string literals. */
      var stringEscapes = {
        '\\': '\\',
        "'": "'",
        '\n': 'n',
        '\r': 'r',
        '\u2028': 'u2028',
        '\u2029': 'u2029'
      };
    
      /** Built-in method references without a dependency on `root`. */
      var freeParseFloat = parseFloat,
          freeParseInt = parseInt;
    
      /** Detect free variable `global` from Node.js. */
      var freeGlobal = typeof __webpack_require__.g == 'object' && __webpack_require__.g && __webpack_require__.g.Object === Object && __webpack_require__.g;
    
      /** Detect free variable `self`. */
      var freeSelf = typeof self == 'object' && self && self.Object === Object && self;
    
      /** Used as a reference to the global object. */
      var root = freeGlobal || freeSelf || Function('return this')();
    
      /** Detect free variable `exports`. */
      var freeExports =  true && exports && !exports.nodeType && exports;
    
      /** Detect free variable `module`. */
      var freeModule = freeExports && "object" == 'object' && module && !module.nodeType && module;
    
      /** Detect the popular CommonJS extension `module.exports`. */
      var moduleExports = freeModule && freeModule.exports === freeExports;
    
      /** Detect free variable `process` from Node.js. */
      var freeProcess = moduleExports && freeGlobal.process;
    
      /** Used to access faster Node.js helpers. */
      var nodeUtil = (function() {
        try {
          // Use `util.types` for Node.js 10+.
          var types = freeModule && freeModule.require && freeModule.require('util').types;
    
          if (types) {
            return types;
          }
    
          // Legacy `process.binding('util')` for Node.js < 10.
          return freeProcess && freeProcess.binding && freeProcess.binding('util');
        } catch (e) {}
      }());
    
      /* Node.js helper references. */
      var nodeIsArrayBuffer = nodeUtil && nodeUtil.isArrayBuffer,
          nodeIsDate = nodeUtil && nodeUtil.isDate,
          nodeIsMap = nodeUtil && nodeUtil.isMap,
          nodeIsRegExp = nodeUtil && nodeUtil.isRegExp,
          nodeIsSet = nodeUtil && nodeUtil.isSet,
          nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;
    
      /*--------------------------------------------------------------------------*/
    
      /**
       * A faster alternative to `Function#apply`, this function invokes `func`
       * with the `this` binding of `thisArg` and the arguments of `args`.
       *
       * @private
       * @param {Function} func The function to invoke.
       * @param {*} thisArg The `this` binding of `func`.
       * @param {Array} args The arguments to invoke `func` with.
       * @returns {*} Returns the result of `func`.
       */
      function apply(func, thisArg, args) {
        switch (args.length) {
          case 0: return func.call(thisArg);
          case 1: return func.call(thisArg, args[0]);
          case 2: return func.call(thisArg, args[0], args[1]);
          case 3: return func.call(thisArg, args[0], args[1], args[2]);
        }
        return func.apply(thisArg, args);
      }
    
      /**
       * A specialized version of `baseAggregator` for arrays.
       *
       * @private
       * @param {Array} [array] The array to iterate over.
       * @param {Function} setter The function to set `accumulator` values.
       * @param {Function} iteratee The iteratee to transform keys.
       * @param {Object} accumulator The initial aggregated object.
       * @returns {Function} Returns `accumulator`.
       */
      function arrayAggregator(array, setter, iteratee, accumulator) {
        var index = -1,
            length = array == null ? 0 : array.length;
    
        while (++index < length) {
          var value = array[index];
          setter(accumulator, value, iteratee(value), array);
        }
        return accumulator;
      }
    
      /**
       * A specialized version of `_.forEach` for arrays without support for
       * iteratee shorthands.
       *
       * @private
       * @param {Array} [array] The array to iterate over.
       * @param {Function} iteratee The function invoked per iteration.
       * @returns {Array} Returns `array`.
       */
      function arrayEach(array, iteratee) {
        var index = -1,
            length = array == null ? 0 : array.length;
    
        while (++index < length) {
          if (iteratee(array[index], index, array) === false) {
            break;
          }
        }
        return array;
      }
    
      /**
       * A specialized version of `_.forEachRight` for arrays without support for
       * iteratee shorthands.
       *
       * @private
       * @param {Array} [array] The array to iterate over.
       * @param {Function} iteratee The function invoked per iteration.
       * @returns {Array} Returns `array`.
       */
      function arrayEachRight(array, iteratee) {
        var length = array == null ? 0 : array.length;
    
        while (length--) {
          if (iteratee(array[length], length, array) === false) {
            break;
          }
        }
        return array;
      }
    
      /**
       * A specialized version of `_.every` for arrays without support for
       * iteratee shorthands.
       *
       * @private
       * @param {Array} [array] The array to iterate over.
       * @param {Function} predicate The function invoked per iteration.
       * @returns {boolean} Returns `true` if all elements pass the predicate check,
       *  else `false`.
       */
      function arrayEvery(array, predicate) {
        var index = -1,
            length = array == null ? 0 : array.length;
    
        while (++index < length) {
          if (!predicate(array[index], index, array)) {
            return false;
          }
        }
        return true;
      }
    
      /**
       * A specialized version of `_.filter` for arrays without support for
       * iteratee shorthands.
       *
       * @private
       * @param {Array} [array] The array to iterate over.
       * @param {Function} predicate The function invoked per iteration.
       * @returns {Array} Returns the new filtered array.
       */
      function arrayFilter(array, predicate) {
        var index = -1,
            length = array == null ? 0 : array.length,
            resIndex = 0,
            result = [];
    
        while (++index < length) {
          var value = array[index];
          if (predicate(value, index, array)) {
            result[resIndex++] = value;
          }
        }
        return result;
      }
    
      /**
       * A specialized version of `_.includes` for arrays without support for
       * specifying an index to search from.
       *
       * @private
       * @param {Array} [array] The array to inspect.
       * @param {*} target The value to search for.
       * @returns {boolean} Returns `true` if `target` is found, else `false`.
       */
      function arrayIncludes(array, value) {
        var length = array == null ? 0 : array.length;
        return !!length && baseIndexOf(array, value, 0) > -1;
      }
    
      /**
       * This function is like `arrayIncludes` except that it accepts a comparator.
       *
       * @private
       * @param {Array} [array] The array to inspect.
       * @param {*} target The value to search for.
       * @param {Function} comparator The comparator invoked per element.
       * @returns {boolean} Returns `true` if `target` is found, else `false`.
       */
      function arrayIncludesWith(array, value, comparator) {
        var index = -1,
            length = array == null ? 0 : array.length;
    
        while (++index < length) {
          if (comparator(value, array[index])) {
            return true;
          }
        }
        return false;
      }
    
      /**
       * A specialized version of `_.map` for arrays without support for iteratee
       * shorthands.
       *
       * @private
       * @param {Array} [array] The array to iterate over.
       * @param {Function} iteratee The function invoked per iteration.
       * @returns {Array} Returns the new mapped array.
       */
      function arrayMap(array, iteratee) {
        var index = -1,
            length = array == null ? 0 : array.length,
            result = Array(length);
    
        while (++index < length) {
          result[index] = iteratee(array[index], index, array);
        }
        return result;
      }
    
      /**
       * Appends the elements of `values` to `array`.
       *
       * @private
       * @param {Array} array The array to modify.
       * @param {Array} values The values to append.
       * @returns {Array} Returns `array`.
       */
      function arrayPush(array, values) {
        var index = -1,
            length = values.length,
            offset = array.length;
    
        while (++index < length) {
          array[offset + index] = values[index];
        }
        return array;
      }
    
      /**
       * A specialized version of `_.reduce` for arrays without support for
       * iteratee shorthands.
       *
       * @private
       * @param {Array} [array] The array to iterate over.
       * @param {Function} iteratee The function invoked per iteration.
       * @param {*} [accumulator] The initial value.
       * @param {boolean} [initAccum] Specify using the first element of `array` as
       *  the initial value.
       * @returns {*} Returns the accumulated value.
       */
      function arrayReduce(array, iteratee, accumulator, initAccum) {
        var index = -1,
            length = array == null ? 0 : array.length;
    
        if (initAccum && length) {
          accumulator = array[++index];
        }
        while (++index < length) {
          accumulator = iteratee(accumulator, array[index], index, array);
        }
        return accumulator;
      }
    
      /**
       * A specialized version of `_.reduceRight` for arrays without support for
       * iteratee shorthands.
       *
       * @private
       * @param {Array} [array] The array to iterate over.
       * @param {Function} iteratee The function invoked per iteration.
       * @param {*} [accumulator] The initial value.
       * @param {boolean} [initAccum] Specify using the last element of `array` as
       *  the initial value.
       * @returns {*} Returns the accumulated value.
       */
      function arrayReduceRight(array, iteratee, accumulator, initAccum) {
        var length = array == null ? 0 : array.length;
        if (initAccum && length) {
          accumulator = array[--length];
        }
        while (length--) {
          accumulator = iteratee(accumulator, array[length], length, array);
        }
        return accumulator;
      }
    
      /**
       * A specialized version of `_.some` for arrays without support for iteratee
       * shorthands.
       *
       * @private
       * @param {Array} [array] The array to iterate over.
       * @param {Function} predicate The function invoked per iteration.
       * @returns {boolean} Returns `true` if any element passes the predicate check,
       *  else `false`.
       */
      function arraySome(array, predicate) {
        var index = -1,
            length = array == null ? 0 : array.length;
    
        while (++index < length) {
          if (predicate(array[index], index, array)) {
            return true;
          }
        }
        return false;
      }
    
      /**
       * Gets the size of an ASCII `string`.
       *
       * @private
       * @param {string} string The string inspect.
       * @returns {number} Returns the string size.
       */
      var asciiSize = baseProperty('length');
    
      /**
       * Converts an ASCII `string` to an array.
       *
       * @private
       * @param {string} string The string to convert.
       * @returns {Array} Returns the converted array.
       */
      function asciiToArray(string) {
        return string.split('');
      }
    
      /**
       * Splits an ASCII `string` into an array of its words.
       *
       * @private
       * @param {string} The string to inspect.
       * @returns {Array} Returns the words of `string`.
       */
      function asciiWords(string) {
        return string.match(reAsciiWord) || [];
      }
    
      /**
       * The base implementation of methods like `_.findKey` and `_.findLastKey`,
       * without support for iteratee shorthands, which iterates over `collection`
       * using `eachFunc`.
       *
       * @private
       * @param {Array|Object} collection The collection to inspect.
       * @param {Function} predicate The function invoked per iteration.
       * @param {Function} eachFunc The function to iterate over `collection`.
       * @returns {*} Returns the found element or its key, else `undefined`.
       */
      function baseFindKey(collection, predicate, eachFunc) {
        var result;
        eachFunc(collection, function(value, key, collection) {
          if (predicate(value, key, collection)) {
            result = key;
            return false;
          }
        });
        return result;
      }
    
      /**
       * The base implementation of `_.findIndex` and `_.findLastIndex` without
       * support for iteratee shorthands.
       *
       * @private
       * @param {Array} array The array to inspect.
       * @param {Function} predicate The function invoked per iteration.
       * @param {number} fromIndex The index to search from.
       * @param {boolean} [fromRight] Specify iterating from right to left.
       * @returns {number} Returns the index of the matched value, else `-1`.
       */
      function baseFindIndex(array, predicate, fromIndex, fromRight) {
        var length = array.length,
            index = fromIndex + (fromRight ? 1 : -1);
    
        while ((fromRight ? index-- : ++index < length)) {
          if (predicate(array[index], index, array)) {
            return index;
          }
        }
        return -1;
      }
    
      /**
       * The base implementation of `_.indexOf` without `fromIndex` bounds checks.
       *
       * @private
       * @param {Array} array The array to inspect.
       * @param {*} value The value to search for.
       * @param {number} fromIndex The index to search from.
       * @returns {number} Returns the index of the matched value, else `-1`.
       */
      function baseIndexOf(array, value, fromIndex) {
        return value === value
          ? strictIndexOf(array, value, fromIndex)
          : baseFindIndex(array, baseIsNaN, fromIndex);
      }
    
      /**
       * This function is like `baseIndexOf` except that it accepts a comparator.
       *
       * @private
       * @param {Array} array The array to inspect.
       * @param {*} value The value to search for.
       * @param {number} fromIndex The index to search from.
       * @param {Function} comparator The comparator invoked per element.
       * @returns {number} Returns the index of the matched value, else `-1`.
       */
      function baseIndexOfWith(array, value, fromIndex, comparator) {
        var index = fromIndex - 1,
            length = array.length;
    
        while (++index < length) {
          if (comparator(array[index], value)) {
            return index;
          }
        }
        return -1;
      }
    
      /**
       * The base implementation of `_.isNaN` without support for number objects.
       *
       * @private
       * @param {*} value The value to check.
       * @returns {boolean} Returns `true` if `value` is `NaN`, else `false`.
       */
      function baseIsNaN(value) {
        return value !== value;
      }
    
      /**
       * The base implementation of `_.mean` and `_.meanBy` without support for
       * iteratee shorthands.
       *
       * @private
       * @param {Array} array The array to iterate over.
       * @param {Function} iteratee The function invoked per iteration.
       * @returns {number} Returns the mean.
       */
      function baseMean(array, iteratee) {
        var length = array == null ? 0 : array.length;
        return length ? (baseSum(array, iteratee) / length) : NAN;
      }
    
      /**
       * The base implementation of `_.property` without support for deep paths.
       *
       * @private
       * @param {string} key The key of the property to get.
       * @returns {Function} Returns the new accessor function.
       */
      function baseProperty(key) {
        return function(object) {
          return object == null ? undefined : object[key];
        };
      }
    
      /**
       * The base implementation of `_.propertyOf` without support for deep paths.
       *
       * @private
       * @param {Object} object The object to query.
       * @returns {Function} Returns the new accessor function.
       */
      function basePropertyOf(object) {
        return function(key) {
          return object == null ? undefined : object[key];
        };
      }
    
      /**
       * The base implementation of `_.reduce` and `_.reduceRight`, without support
       * for iteratee shorthands, which iterates over `collection` using `eachFunc`.
       *
       * @private
       * @param {Array|Object} collection The collection to iterate over.
       * @param {Function} iteratee The function invoked per iteration.
       * @param {*} accumulator The initial value.
       * @param {boolean} initAccum Specify using the first or last element of
       *  `collection` as the initial value.
       * @param {Function} eachFunc The function to iterate over `collection`.
       * @returns {*} Returns the accumulated value.
       */
      function baseReduce(collection, iteratee, accumulator, initAccum, eachFunc) {
        eachFunc(collection, function(value, index, collection) {
          accumulator = initAccum
            ? (initAccum = false, value)
            : iteratee(accumulator, value, index, collection);
        });
        return accumulator;
      }
    
      /**
       * The base implementation of `_.sortBy` which uses `comparer` to define the
       * sort order of `array` and replaces criteria objects with their corresponding
       * values.
       *
       * @private
       * @param {Array} array The array to sort.
       * @param {Function} comparer The function to define sort order.
       * @returns {Array} Returns `array`.
       */
      function baseSortBy(array, comparer) {
        var length = array.length;
    
        array.sort(comparer);
        while (length--) {
          array[length] = array[length].value;
        }
        return array;
      }
    
      /**
       * The base implementation of `_.sum` and `_.sumBy` without support for
       * iteratee shorthands.
       *
       * @private
       * @param {Array} array The array to iterate over.
       * @param {Function} iteratee The function invoked per iteration.
       * @returns {number} Returns the sum.
       */
      function baseSum(array, iteratee) {
        var result,
            index = -1,
            length = array.length;
    
        while (++index < length) {
          var current = iteratee(array[index]);
          if (current !== undefined) {
            result = result === undefined ? current : (result + current);
          }
        }
        return result;
      }
    
      /**
       * The base implementation of `_.times` without support for iteratee shorthands
       * or max array length checks.
       *
       * @private
       * @param {number} n The number of times to invoke `iteratee`.
       * @param {Function} iteratee The function invoked per iteration.
       * @returns {Array} Returns the array of results.
       */
      function baseTimes(n, iteratee) {
        var index = -1,
            result = Array(n);
    
        while (++index < n) {
          result[index] = iteratee(index);
        }
        return result;
      }
    
      /**
       * The base implementation of `_.toPairs` and `_.toPairsIn` which creates an array
       * of key-value pairs for `object` corresponding to the property names of `props`.
       *
       * @private
       * @param {Object} object The object to query.
       * @param {Array} props The property names to get values for.
       * @returns {Object} Returns the key-value pairs.
       */
      function baseToPairs(object, props) {
        return arrayMap(props, function(key) {
          return [key, object[key]];
        });
      }
    
      /**
       * The base implementation of `_.trim`.
       *
       * @private
       * @param {string} string The string to trim.
       * @returns {string} Returns the trimmed string.
       */
      function baseTrim(string) {
        return string
          ? string.slice(0, trimmedEndIndex(string) + 1).replace(reTrimStart, '')
          : string;
      }
    
      /**
       * The base implementation of `_.unary` without support for storing metadata.
       *
       * @private
       * @param {Function} func The function to cap arguments for.
       * @returns {Function} Returns the new capped function.
       */
      function baseUnary(func) {
        return function(value) {
          return func(value);
        };
      }
    
      /**
       * The base implementation of `_.values` and `_.valuesIn` which creates an
       * array of `object` property values corresponding to the property names
       * of `props`.
       *
       * @private
       * @param {Object} object The object to query.
       * @param {Array} props The property names to get values for.
       * @returns {Object} Returns the array of property values.
       */
      function baseValues(object, props) {
        return arrayMap(props, function(key) {
          return object[key];
        });
      }
    
      /**
       * Checks if a `cache` value for `key` exists.
       *
       * @private
       * @param {Object} cache The cache to query.
       * @param {string} key The key of the entry to check.
       * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
       */
      function cacheHas(cache, key) {
        return cache.has(key);
      }
    
      /**
       * Used by `_.trim` and `_.trimStart` to get the index of the first string symbol
       * that is not found in the character symbols.
       *
       * @private
       * @param {Array} strSymbols The string symbols to inspect.
       * @param {Array} chrSymbols The character symbols to find.
       * @returns {number} Returns the index of the first unmatched string symbol.
       */
      function charsStartIndex(strSymbols, chrSymbols) {
        var index = -1,
            length = strSymbols.length;
    
        while (++index < length && baseIndexOf(chrSymbols, strSymbols[index], 0) > -1) {}
        return index;
      }
    
      /**
       * Used by `_.trim` and `_.trimEnd` to get the index of the last string symbol
       * that is not found in the character symbols.
       *
       * @private
       * @param {Array} strSymbols The string symbols to inspect.
       * @param {Array} chrSymbols The character symbols to find.
       * @returns {number} Returns the index of the last unmatched string symbol.
       */
      function charsEndIndex(strSymbols, chrSymbols) {
        var index = strSymbols.length;
    
        while (index-- && baseIndexOf(chrSymbols, strSymbols[index], 0) > -1) {}
        return index;
      }
    
      /**
       * Gets the number of `placeholder` occurrences in `array`.
       *
       * @private
       * @param {Array} array The array to inspect.
       * @param {*} placeholder The placeholder to search for.
       * @returns {number} Returns the placeholder count.
       */
      function countHolders(array, placeholder) {
        var length = array.length,
            result = 0;
    
        while (length--) {
          if (array[length] === placeholder) {
            ++result;
          }
        }
        return result;
      }
    
      /**
       * Used by `_.deburr` to convert Latin-1 Supplement and Latin Extended-A
       * letters to basic Latin letters.
       *
       * @private
       * @param {string} letter The matched letter to deburr.
       * @returns {string} Returns the deburred letter.
       */
      var deburrLetter = basePropertyOf(deburredLetters);
    
      /**
       * Used by `_.escape` to convert characters to HTML entities.
       *
       * @private
       * @param {string} chr The matched character to escape.
       * @returns {string} Returns the escaped character.
       */
      var escapeHtmlChar = basePropertyOf(htmlEscapes);
    
      /**
       * Used by `_.template` to escape characters for inclusion in compiled string literals.
       *
       * @private
       * @param {string} chr The matched character to escape.
       * @returns {string} Returns the escaped character.
       */
      function escapeStringChar(chr) {
        return '\\' + stringEscapes[chr];
      }
    
      /**
       * Gets the value at `key` of `object`.
       *
       * @private
       * @param {Object} [object] The object to query.
       * @param {string} key The key of the property to get.
       * @returns {*} Returns the property value.
       */
      function getValue(object, key) {
        return object == null ? undefined : object[key];
      }
    
      /**
       * Checks if `string` contains Unicode symbols.
       *
       * @private
       * @param {string} string The string to inspect.
       * @returns {boolean} Returns `true` if a symbol is found, else `false`.
       */
      function hasUnicode(string) {
        return reHasUnicode.test(string);
      }
    
      /**
       * Checks if `string` contains a word composed of Unicode symbols.
       *
       * @private
       * @param {string} string The string to inspect.
       * @returns {boolean} Returns `true` if a word is found, else `false`.
       */
      function hasUnicodeWord(string) {
        return reHasUnicodeWord.test(string);
      }
    
      /**
       * Converts `iterator` to an array.
       *
       * @private
       * @param {Object} iterator The iterator to convert.
       * @returns {Array} Returns the converted array.
       */
      function iteratorToArray(iterator) {
        var data,
            result = [];
    
        while (!(data = iterator.next()).done) {
          result.push(data.value);
        }
        return result;
      }
    
      /**
       * Converts `map` to its key-value pairs.
       *
       * @private
       * @param {Object} map The map to convert.
       * @returns {Array} Returns the key-value pairs.
       */
      function mapToArray(map) {
        var index = -1,
            result = Array(map.size);
    
        map.forEach(function(value, key) {
          result[++index] = [key, value];
        });
        return result;
      }
    
      /**
       * Creates a unary function that invokes `func` with its argument transformed.
       *
       * @private
       * @param {Function} func The function to wrap.
       * @param {Function} transform The argument transform.
       * @returns {Function} Returns the new function.
       */
      function overArg(func, transform) {
        return function(arg) {
          return func(transform(arg));
        };
      }
    
      /**
       * Replaces all `placeholder` elements in `array` with an internal placeholder
       * and returns an array of their indexes.
       *
       * @private
       * @param {Array} array The array to modify.
       * @param {*} placeholder The placeholder to replace.
       * @returns {Array} Returns the new array of placeholder indexes.
       */
      function replaceHolders(array, placeholder) {
        var index = -1,
            length = array.length,
            resIndex = 0,
            result = [];
    
        while (++index < length) {
          var value = array[index];
          if (value === placeholder || value === PLACEHOLDER) {
            array[index] = PLACEHOLDER;
            result[resIndex++] = index;
          }
        }
        return result;
      }
    
      /**
       * Converts `set` to an array of its values.
       *
       * @private
       * @param {Object} set The set to convert.
       * @returns {Array} Returns the values.
       */
      function setToArray(set) {
        var index = -1,
            result = Array(set.size);
    
        set.forEach(function(value) {
          result[++index] = value;
        });
        return result;
      }
    
      /**
       * Converts `set` to its value-value pairs.
       *
       * @private
       * @param {Object} set The set to convert.
       * @returns {Array} Returns the value-value pairs.
       */
      function setToPairs(set) {
        var index = -1,
            result = Array(set.size);
    
        set.forEach(function(value) {
          result[++index] = [value, value];
        });
        return result;
      }
    
      /**
       * A specialized version of `_.indexOf` which performs strict equality
       * comparisons of values, i.e. `===`.
       *
       * @private
       * @param {Array} array The array to inspect.
       * @param {*} value The value to search for.
       * @param {number} fromIndex The index to search from.
       * @returns {number} Returns the index of the matched value, else `-1`.
       */
      function strictIndexOf(array, value, fromIndex) {
        var index = fromIndex - 1,
            length = array.length;
    
        while (++index < length) {
          if (array[index] === value) {
            return index;
          }
        }
        return -1;
      }
    
      /**
       * A specialized version of `_.lastIndexOf` which performs strict equality
       * comparisons of values, i.e. `===`.
       *
       * @private
       * @param {Array} array The array to inspect.
       * @param {*} value The value to search for.
       * @param {number} fromIndex The index to search from.
       * @returns {number} Returns the index of the matched value, else `-1`.
       */
      function strictLastIndexOf(array, value, fromIndex) {
        var index = fromIndex + 1;
        while (index--) {
          if (array[index] === value) {
            return index;
          }
        }
        return index;
      }
    
      /**
       * Gets the number of symbols in `string`.
       *
       * @private
       * @param {string} string The string to inspect.
       * @returns {number} Returns the string size.
       */
      function stringSize(string) {
        return hasUnicode(string)
          ? unicodeSize(string)
          : asciiSize(string);
      }
    
      /**
       * Converts `string` to an array.
       *
       * @private
       * @param {string} string The string to convert.
       * @returns {Array} Returns the converted array.
       */
      function stringToArray(string) {
        return hasUnicode(string)
          ? unicodeToArray(string)
          : asciiToArray(string);
      }
    
      /**
       * Used by `_.trim` and `_.trimEnd` to get the index of the last non-whitespace
       * character of `string`.
       *
       * @private
       * @param {string} string The string to inspect.
       * @returns {number} Returns the index of the last non-whitespace character.
       */
      function trimmedEndIndex(string) {
        var index = string.length;
    
        while (index-- && reWhitespace.test(string.charAt(index))) {}
        return index;
      }
    
      /**
       * Used by `_.unescape` to convert HTML entities to characters.
       *
       * @private
       * @param {string} chr The matched character to unescape.
       * @returns {string} Returns the unescaped character.
       */
      var unescapeHtmlChar = basePropertyOf(htmlUnescapes);
    
      /**
       * Gets the size of a Unicode `string`.
       *
       * @private
       * @param {string} string The string inspect.
       * @returns {number} Returns the string size.
       */
      function unicodeSize(string) {
        var result = reUnicode.lastIndex = 0;
        while (reUnicode.test(string)) {
          ++result;
        }
        return result;
      }
    
      /**
       * Converts a Unicode `string` to an array.
       *
       * @private
       * @param {string} string The string to convert.
       * @returns {Array} Returns the converted array.
       */
      function unicodeToArray(string) {
        return string.match(reUnicode) || [];
      }
    
      /**
       * Splits a Unicode `string` into an array of its words.
       *
       * @private
       * @param {string} The string to inspect.
       * @returns {Array} Returns the words of `string`.
       */
      function unicodeWords(string) {
        return string.match(reUnicodeWord) || [];
      }
    
      /*--------------------------------------------------------------------------*/
    
      /**
       * Create a new pristine `lodash` function using the `context` object.
       *
       * @static
       * @memberOf _
       * @since 1.1.0
       * @category Util
       * @param {Object} [context=root] The context object.
       * @returns {Function} Returns a new `lodash` function.
       * @example
       *
       * _.mixin({ 'foo': _.constant('foo') });
       *
       * var lodash = _.runInContext();
       * lodash.mixin({ 'bar': lodash.constant('bar') });
       *
       * _.isFunction(_.foo);
       * // => true
       * _.isFunction(_.bar);
       * // => false
       *
       * lodash.isFunction(lodash.foo);
       * // => false
       * lodash.isFunction(lodash.bar);
       * // => true
       *
       * // Create a suped-up `defer` in Node.js.
       * var defer = _.runInContext({ 'setTimeout': setImmediate }).defer;
       */
      var runInContext = (function runInContext(context) {
        context = context == null ? root : _.defaults(root.Object(), context, _.pick(root, contextProps));
    
        /** Built-in constructor references. */
        var Array = context.Array,
            Date = context.Date,
            Error = context.Error,
            Function = context.Function,
            Math = context.Math,
            Object = context.Object,
            RegExp = context.RegExp,
            String = context.String,
            TypeError = context.TypeError;
    
        /** Used for built-in method references. */
        var arrayProto = Array.prototype,
            funcProto = Function.prototype,
            objectProto = Object.prototype;
    
        /** Used to detect overreaching core-js shims. */
        var coreJsData = context['__core-js_shared__'];
    
        /** Used to resolve the decompiled source of functions. */
        var funcToString = funcProto.toString;
    
        /** Used to check objects for own properties. */
        var hasOwnProperty = objectProto.hasOwnProperty;
    
        /** Used to generate unique IDs. */
        var idCounter = 0;
    
        /** Used to detect methods masquerading as native. */
        var maskSrcKey = (function() {
          var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || '');
          return uid ? ('Symbol(src)_1.' + uid) : '';
        }());
    
        /**
         * Used to resolve the
         * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
         * of values.
         */
        var nativeObjectToString = objectProto.toString;
    
        /** Used to infer the `Object` constructor. */
        var objectCtorString = funcToString.call(Object);
    
        /** Used to restore the original `_` reference in `_.noConflict`. */
        var oldDash = root._;
    
        /** Used to detect if a method is native. */
        var reIsNative = RegExp('^' +
          funcToString.call(hasOwnProperty).replace(reRegExpChar, '\\$&')
          .replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, '$1.*?') + '$'
        );
    
        /** Built-in value references. */
        var Buffer = moduleExports ? context.Buffer : undefined,
            Symbol = context.Symbol,
            Uint8Array = context.Uint8Array,
            allocUnsafe = Buffer ? Buffer.allocUnsafe : undefined,
            getPrototype = overArg(Object.getPrototypeOf, Object),
            objectCreate = Object.create,
            propertyIsEnumerable = objectProto.propertyIsEnumerable,
            splice = arrayProto.splice,
            spreadableSymbol = Symbol ? Symbol.isConcatSpreadable : undefined,
            symIterator = Symbol ? Symbol.iterator : undefined,
            symToStringTag = Symbol ? Symbol.toStringTag : undefined;
    
        var defineProperty = (function() {
          try {
            var func = getNative(Object, 'defineProperty');
            func({}, '', {});
            return func;
          } catch (e) {}
        }());
    
        /** Mocked built-ins. */
        var ctxClearTimeout = context.clearTimeout !== root.clearTimeout && context.clearTimeout,
            ctxNow = Date && Date.now !== root.Date.now && Date.now,
            ctxSetTimeout = context.setTimeout !== root.setTimeout && context.setTimeout;
    
        /* Built-in method references for those with the same name as other `lodash` methods. */
        var nativeCeil = Math.ceil,
            nativeFloor = Math.floor,
            nativeGetSymbols = Object.getOwnPropertySymbols,
            nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined,
            nativeIsFinite = context.isFinite,
            nativeJoin = arrayProto.join,
            nativeKeys = overArg(Object.keys, Object),
            nativeMax = Math.max,
            nativeMin = Math.min,
            nativeNow = Date.now,
            nativeParseInt = context.parseInt,
            nativeRandom = Math.random,
            nativeReverse = arrayProto.reverse;
    
        /* Built-in method references that are verified to be native. */
        var DataView = getNative(context, 'DataView'),
            Map = getNative(context, 'Map'),
            Promise = getNative(context, 'Promise'),
            Set = getNative(context, 'Set'),
            WeakMap = getNative(context, 'WeakMap'),
            nativeCreate = getNative(Object, 'create');
    
        /** Used to store function metadata. */
        var metaMap = WeakMap && new WeakMap;
    
        /** Used to lookup unminified function names. */
        var realNames = {};
    
        /** Used to detect maps, sets, and weakmaps. */
        var dataViewCtorString = toSource(DataView),
            mapCtorString = toSource(Map),
            promiseCtorString = toSource(Promise),
            setCtorString = toSource(Set),
            weakMapCtorString = toSource(WeakMap);
    
        /** Used to convert symbols to primitives and strings. */
        var symbolProto = Symbol ? Symbol.prototype : undefined,
            symbolValueOf = symbolProto ? symbolProto.valueOf : undefined,
            symbolToString = symbolProto ? symbolProto.toString : undefined;
    
        /*------------------------------------------------------------------------*/
    
        /**
         * Creates a `lodash` object which wraps `value` to enable implicit method
         * chain sequences. Methods that operate on and return arrays, collections,
         * and functions can be chained together. Methods that retrieve a single value
         * or may return a primitive value will automatically end the chain sequence
         * and return the unwrapped value. Otherwise, the value must be unwrapped
         * with `_#value`.
         *
         * Explicit chain sequences, which must be unwrapped with `_#value`, may be
         * enabled using `_.chain`.
         *
         * The execution of chained methods is lazy, that is, it's deferred until
         * `_#value` is implicitly or explicitly called.
         *
         * Lazy evaluation allows several methods to support shortcut fusion.
         * Shortcut fusion is an optimization to merge iteratee calls; this avoids
         * the creation of intermediate arrays and can greatly reduce the number of
         * iteratee executions. Sections of a chain sequence qualify for shortcut
         * fusion if the section is applied to an array and iteratees accept only
         * one argument. The heuristic for whether a section qualifies for shortcut
         * fusion is subject to change.
         *
         * Chaining is supported in custom builds as long as the `_#value` method is
         * directly or indirectly included in the build.
         *
         * In addition to lodash methods, wrappers have `Array` and `String` methods.
         *
         * The wrapper `Array` methods are:
         * `concat`, `join`, `pop`, `push`, `shift`, `sort`, `splice`, and `unshift`
         *
         * The wrapper `String` methods are:
         * `replace` and `split`
         *
         * The wrapper methods that support shortcut fusion are:
         * `at`, `compact`, `drop`, `dropRight`, `dropWhile`, `filter`, `find`,
         * `findLast`, `head`, `initial`, `last`, `map`, `reject`, `reverse`, `slice`,
         * `tail`, `take`, `takeRight`, `takeRightWhile`, `takeWhile`, and `toArray`
         *
         * The chainable wrapper methods are:
         * `after`, `ary`, `assign`, `assignIn`, `assignInWith`, `assignWith`, `at`,
         * `before`, `bind`, `bindAll`, `bindKey`, `castArray`, `chain`, `chunk`,
         * `commit`, `compact`, `concat`, `conforms`, `constant`, `countBy`, `create`,
         * `curry`, `debounce`, `defaults`, `defaultsDeep`, `defer`, `delay`,
         * `difference`, `differenceBy`, `differenceWith`, `drop`, `dropRight`,
         * `dropRightWhile`, `dropWhile`, `extend`, `extendWith`, `fill`, `filter`,
         * `flatMap`, `flatMapDeep`, `flatMapDepth`, `flatten`, `flattenDeep`,
         * `flattenDepth`, `flip`, `flow`, `flowRight`, `fromPairs`, `functions`,
         * `functionsIn`, `groupBy`, `initial`, `intersection`, `intersectionBy`,
         * `intersectionWith`, `invert`, `invertBy`, `invokeMap`, `iteratee`, `keyBy`,
         * `keys`, `keysIn`, `map`, `mapKeys`, `mapValues`, `matches`, `matchesProperty`,
         * `memoize`, `merge`, `mergeWith`, `method`, `methodOf`, `mixin`, `negate`,
         * `nthArg`, `omit`, `omitBy`, `once`, `orderBy`, `over`, `overArgs`,
         * `overEvery`, `overSome`, `partial`, `partialRight`, `partition`, `pick`,
         * `pickBy`, `plant`, `property`, `propertyOf`, `pull`, `pullAll`, `pullAllBy`,
         * `pullAllWith`, `pullAt`, `push`, `range`, `rangeRight`, `rearg`, `reject`,
         * `remove`, `rest`, `reverse`, `sampleSize`, `set`, `setWith`, `shuffle`,
         * `slice`, `sort`, `sortBy`, `splice`, `spread`, `tail`, `take`, `takeRight`,
         * `takeRightWhile`, `takeWhile`, `tap`, `throttle`, `thru`, `toArray`,
         * `toPairs`, `toPairsIn`, `toPath`, `toPlainObject`, `transform`, `unary`,
         * `union`, `unionBy`, `unionWith`, `uniq`, `uniqBy`, `uniqWith`, `unset`,
         * `unshift`, `unzip`, `unzipWith`, `update`, `updateWith`, `values`,
         * `valuesIn`, `without`, `wrap`, `xor`, `xorBy`, `xorWith`, `zip`,
         * `zipObject`, `zipObjectDeep`, and `zipWith`
         *
         * The wrapper methods that are **not** chainable by default are:
         * `add`, `attempt`, `camelCase`, `capitalize`, `ceil`, `clamp`, `clone`,
         * `cloneDeep`, `cloneDeepWith`, `cloneWith`, `conformsTo`, `deburr`,
         * `defaultTo`, `divide`, `each`, `eachRight`, `endsWith`, `eq`, `escape`,
         * `escapeRegExp`, `every`, `find`, `findIndex`, `findKey`, `findLast`,
         * `findLastIndex`, `findLastKey`, `first`, `floor`, `forEach`, `forEachRight`,
         * `forIn`, `forInRight`, `forOwn`, `forOwnRight`, `get`, `gt`, `gte`, `has`,
         * `hasIn`, `head`, `identity`, `includes`, `indexOf`, `inRange`, `invoke`,
         * `isArguments`, `isArray`, `isArrayBuffer`, `isArrayLike`, `isArrayLikeObject`,
         * `isBoolean`, `isBuffer`, `isDate`, `isElement`, `isEmpty`, `isEqual`,
         * `isEqualWith`, `isError`, `isFinite`, `isFunction`, `isInteger`, `isLength`,
         * `isMap`, `isMatch`, `isMatchWith`, `isNaN`, `isNative`, `isNil`, `isNull`,
         * `isNumber`, `isObject`, `isObjectLike`, `isPlainObject`, `isRegExp`,
         * `isSafeInteger`, `isSet`, `isString`, `isUndefined`, `isTypedArray`,
         * `isWeakMap`, `isWeakSet`, `join`, `kebabCase`, `last`, `lastIndexOf`,
         * `lowerCase`, `lowerFirst`, `lt`, `lte`, `max`, `maxBy`, `mean`, `meanBy`,
         * `min`, `minBy`, `multiply`, `noConflict`, `noop`, `now`, `nth`, `pad`,
         * `padEnd`, `padStart`, `parseInt`, `pop`, `random`, `reduce`, `reduceRight`,
         * `repeat`, `result`, `round`, `runInContext`, `sample`, `shift`, `size`,
         * `snakeCase`, `some`, `sortedIndex`, `sortedIndexBy`, `sortedLastIndex`,
         * `sortedLastIndexBy`, `startCase`, `startsWith`, `stubArray`, `stubFalse`,
         * `stubObject`, `stubString`, `stubTrue`, `subtract`, `sum`, `sumBy`,
         * `template`, `times`, `toFinite`, `toInteger`, `toJSON`, `toLength`,
         * `toLower`, `toNumber`, `toSafeInteger`, `toString`, `toUpper`, `trim`,
         * `trimEnd`, `trimStart`, `truncate`, `unescape`, `uniqueId`, `upperCase`,
         * `upperFirst`, `value`, and `words`
         *
         * @name _
         * @constructor
         * @category Seq
         * @param {*} value The value to wrap in a `lodash` instance.
         * @returns {Object} Returns the new `lodash` wrapper instance.
         * @example
         *
         * function square(n) {
         *   return n * n;
         * }
         *
         * var wrapped = _([1, 2, 3]);
         *
         * // Returns an unwrapped value.
         * wrapped.reduce(_.add);
         * // => 6
         *
         * // Returns a wrapped value.
         * var squares = wrapped.map(square);
         *
         * _.isArray(squares);
         * // => false
         *
         * _.isArray(squares.value());
         * // => true
         */
        function lodash(value) {
          if (isObjectLike(value) && !isArray(value) && !(value instanceof LazyWrapper)) {
            if (value instanceof LodashWrapper) {
              return value;
            }
            if (hasOwnProperty.call(value, '__wrapped__')) {
              return wrapperClone(value);
            }
          }
          return new LodashWrapper(value);
        }
    
        /**
         * The base implementation of `_.create` without support for assigning
         * properties to the created object.
         *
         * @private
         * @param {Object} proto The object to inherit from.
         * @returns {Object} Returns the new object.
         */
        var baseCreate = (function() {
          function object() {}
          return function(proto) {
            if (!isObject(proto)) {
              return {};
            }
            if (objectCreate) {
              return objectCreate(proto);
            }
            object.prototype = proto;
            var result = new object;
            object.prototype = undefined;
            return result;
          };
        }());
    
        /**
         * The function whose prototype chain sequence wrappers inherit from.
         *
         * @private
         */
        function baseLodash() {
          // No operation performed.
        }
    
        /**
         * The base constructor for creating `lodash` wrapper objects.
         *
         * @private
         * @param {*} value The value to wrap.
         * @param {boolean} [chainAll] Enable explicit method chain sequences.
         */
        function LodashWrapper(value, chainAll) {
          this.__wrapped__ = value;
          this.__actions__ = [];
          this.__chain__ = !!chainAll;
          this.__index__ = 0;
          this.__values__ = undefined;
        }
    
        /**
         * By default, the template delimiters used by lodash are like those in
         * embedded Ruby (ERB) as well as ES2015 template strings. Change the
         * following template settings to use alternative delimiters.
         *
         * @static
         * @memberOf _
         * @type {Object}
         */
        lodash.templateSettings = {
    
          /**
           * Used to detect `data` property values to be HTML-escaped.
           *
           * @memberOf _.templateSettings
           * @type {RegExp}
           */
          'escape': reEscape,
    
          /**
           * Used to detect code to be evaluated.
           *
           * @memberOf _.templateSettings
           * @type {RegExp}
           */
          'evaluate': reEvaluate,
    
          /**
           * Used to detect `data` property values to inject.
           *
           * @memberOf _.templateSettings
           * @type {RegExp}
           */
          'interpolate': reInterpolate,
    
          /**
           * Used to reference the data object in the template text.
           *
           * @memberOf _.templateSettings
           * @type {string}
           */
          'variable': '',
    
          /**
           * Used to import variables into the compiled template.
           *
           * @memberOf _.templateSettings
           * @type {Object}
           */
          'imports': {
    
            /**
             * A reference to the `lodash` function.
             *
             * @memberOf _.templateSettings.imports
             * @type {Function}
             */
            '_': lodash
          }
        };
    
        // Ensure wrappers are instances of `baseLodash`.
        lodash.prototype = baseLodash.prototype;
        lodash.prototype.constructor = lodash;
    
        LodashWrapper.prototype = baseCreate(baseLodash.prototype);
        LodashWrapper.prototype.constructor = LodashWrapper;
    
        /*------------------------------------------------------------------------*/
    
        /**
         * Creates a lazy wrapper object which wraps `value` to enable lazy evaluation.
         *
         * @private
         * @constructor
         * @param {*} value The value to wrap.
         */
        function LazyWrapper(value) {
          this.__wrapped__ = value;
          this.__actions__ = [];
          this.__dir__ = 1;
          this.__filtered__ = false;
          this.__iteratees__ = [];
          this.__takeCount__ = MAX_ARRAY_LENGTH;
          this.__views__ = [];
        }
    
        /**
         * Creates a clone of the lazy wrapper object.
         *
         * @private
         * @name clone
         * @memberOf LazyWrapper
         * @returns {Object} Returns the cloned `LazyWrapper` object.
         */
        function lazyClone() {
          var result = new LazyWrapper(this.__wrapped__);
          result.__actions__ = copyArray(this.__actions__);
          result.__dir__ = this.__dir__;
          result.__filtered__ = this.__filtered__;
          result.__iteratees__ = copyArray(this.__iteratees__);
          result.__takeCount__ = this.__takeCount__;
          result.__views__ = copyArray(this.__views__);
          return result;
        }
    
        /**
         * Reverses the direction of lazy iteration.
         *
         * @private
         * @name reverse
         * @memberOf LazyWrapper
         * @returns {Object} Returns the new reversed `LazyWrapper` object.
         */
        function lazyReverse() {
          if (this.__filtered__) {
            var result = new LazyWrapper(this);
            result.__dir__ = -1;
            result.__filtered__ = true;
          } else {
            result = this.clone();
            result.__dir__ *= -1;
          }
          return result;
        }
    
        /**
         * Extracts the unwrapped value from its lazy wrapper.
         *
         * @private
         * @name value
         * @memberOf LazyWrapper
         * @returns {*} Returns the unwrapped value.
         */
        function lazyValue() {
          var array = this.__wrapped__.value(),
              dir = this.__dir__,
              isArr = isArray(array),
              isRight = dir < 0,
              arrLength = isArr ? array.length : 0,
              view = getView(0, arrLength, this.__views__),
              start = view.start,
              end = view.end,
              length = end - start,
              index = isRight ? end : (start - 1),
              iteratees = this.__iteratees__,
              iterLength = iteratees.length,
              resIndex = 0,
              takeCount = nativeMin(length, this.__takeCount__);
    
          if (!isArr || (!isRight && arrLength == length && takeCount == length)) {
            return baseWrapperValue(array, this.__actions__);
          }
          var result = [];
    
          outer:
          while (length-- && resIndex < takeCount) {
            index += dir;
    
            var iterIndex = -1,
                value = array[index];
    
            while (++iterIndex < iterLength) {
              var data = iteratees[iterIndex],
                  iteratee = data.iteratee,
                  type = data.type,
                  computed = iteratee(value);
    
              if (type == LAZY_MAP_FLAG) {
                value = computed;
              } else if (!computed) {
                if (type == LAZY_FILTER_FLAG) {
                  continue outer;
                } else {
                  break outer;
                }
              }
            }
            result[resIndex++] = value;
          }
          return result;
        }
    
        // Ensure `LazyWrapper` is an instance of `baseLodash`.
        LazyWrapper.prototype = baseCreate(baseLodash.prototype);
        LazyWrapper.prototype.constructor = LazyWrapper;
    
        /*------------------------------------------------------------------------*/
    
        /**
         * Creates a hash object.
         *
         * @private
         * @constructor
         * @param {Array} [entries] The key-value pairs to cache.
         */
        function Hash(entries) {
          var index = -1,
              length = entries == null ? 0 : entries.length;
    
          this.clear();
          while (++index < length) {
            var entry = entries[index];
            this.set(entry[0], entry[1]);
          }
        }
    
        /**
         * Removes all key-value entries from the hash.
         *
         * @private
         * @name clear
         * @memberOf Hash
         */
        function hashClear() {
          this.__data__ = nativeCreate ? nativeCreate(null) : {};
          this.size = 0;
        }
    
        /**
         * Removes `key` and its value from the hash.
         *
         * @private
         * @name delete
         * @memberOf Hash
         * @param {Object} hash The hash to modify.
         * @param {string} key The key of the value to remove.
         * @returns {boolean} Returns `true` if the entry was removed, else `false`.
         */
        function hashDelete(key) {
          var result = this.has(key) && delete this.__data__[key];
          this.size -= result ? 1 : 0;
          return result;
        }
    
        /**
         * Gets the hash value for `key`.
         *
         * @private
         * @name get
         * @memberOf Hash
         * @param {string} key The key of the value to get.
         * @returns {*} Returns the entry value.
         */
        function hashGet(key) {
          var data = this.__data__;
          if (nativeCreate) {
            var result = data[key];
            return result === HASH_UNDEFINED ? undefined : result;
          }
          return hasOwnProperty.call(data, key) ? data[key] : undefined;
        }
    
        /**
         * Checks if a hash value for `key` exists.
         *
         * @private
         * @name has
         * @memberOf Hash
         * @param {string} key The key of the entry to check.
         * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
         */
        function hashHas(key) {
          var data = this.__data__;
          return nativeCreate ? (data[key] !== undefined) : hasOwnProperty.call(data, key);
        }
    
        /**
         * Sets the hash `key` to `value`.
         *
         * @private
         * @name set
         * @memberOf Hash
         * @param {string} key The key of the value to set.
         * @param {*} value The value to set.
         * @returns {Object} Returns the hash instance.
         */
        function hashSet(key, value) {
          var data = this.__data__;
          this.size += this.has(key) ? 0 : 1;
          data[key] = (nativeCreate && value === undefined) ? HASH_UNDEFINED : value;
          return this;
        }
    
        // Add methods to `Hash`.
        Hash.prototype.clear = hashClear;
        Hash.prototype['delete'] = hashDelete;
        Hash.prototype.get = hashGet;
        Hash.prototype.has = hashHas;
        Hash.prototype.set = hashSet;
    
        /*------------------------------------------------------------------------*/
    
        /**
         * Creates an list cache object.
         *
         * @private
         * @constructor
         * @param {Array} [entries] The key-value pairs to cache.
         */
        function ListCache(entries) {
          var index = -1,
              length = entries == null ? 0 : entries.length;
    
          this.clear();
          while (++index < length) {
            var entry = entries[index];
            this.set(entry[0], entry[1]);
          }
        }
    
        /**
         * Removes all key-value entries from the list cache.
         *
         * @private
         * @name clear
         * @memberOf ListCache
         */
        function listCacheClear() {
          this.__data__ = [];
          this.size = 0;
        }
    
        /**
         * Removes `key` and its value from the list cache.
         *
         * @private
         * @name delete
         * @memberOf ListCache
         * @param {string} key The key of the value to remove.
         * @returns {boolean} Returns `true` if the entry was removed, else `false`.
         */
        function listCacheDelete(key) {
          var data = this.__data__,
              index = assocIndexOf(data, key);
    
          if (index < 0) {
            return false;
          }
          var lastIndex = data.length - 1;
          if (index == lastIndex) {
            data.pop();
          } else {
            splice.call(data, index, 1);
          }
          --this.size;
          return true;
        }
    
        /**
         * Gets the list cache value for `key`.
         *
         * @private
         * @name get
         * @memberOf ListCache
         * @param {string} key The key of the value to get.
         * @returns {*} Returns the entry value.
         */
        function listCacheGet(key) {
          var data = this.__data__,
              index = assocIndexOf(data, key);
    
          return index < 0 ? undefined : data[index][1];
        }
    
        /**
         * Checks if a list cache value for `key` exists.
         *
         * @private
         * @name has
         * @memberOf ListCache
         * @param {string} key The key of the entry to check.
         * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
         */
        function listCacheHas(key) {
          return assocIndexOf(this.__data__, key) > -1;
        }
    
        /**
         * Sets the list cache `key` to `value`.
         *
         * @private
         * @name set
         * @memberOf ListCache
         * @param {string} key The key of the value to set.
         * @param {*} value The value to set.
         * @returns {Object} Returns the list cache instance.
         */
        function listCacheSet(key, value) {
          var data = this.__data__,
              index = assocIndexOf(data, key);
    
          if (index < 0) {
            ++this.size;
            data.push([key, value]);
          } else {
            data[index][1] = value;
          }
          return this;
        }
    
        // Add methods to `ListCache`.
        ListCache.prototype.clear = listCacheClear;
        ListCache.prototype['delete'] = listCacheDelete;
        ListCache.prototype.get = listCacheGet;
        ListCache.prototype.has = listCacheHas;
        ListCache.prototype.set = listCacheSet;
    
        /*------------------------------------------------------------------------*/
    
        /**
         * Creates a map cache object to store key-value pairs.
         *
         * @private
         * @constructor
         * @param {Array} [entries] The key-value pairs to cache.
         */
        function MapCache(entries) {
          var index = -1,
              length = entries == null ? 0 : entries.length;
    
          this.clear();
          while (++index < length) {
            var entry = entries[index];
            this.set(entry[0], entry[1]);
          }
        }
    
        /**
         * Removes all key-value entries from the map.
         *
         * @private
         * @name clear
         * @memberOf MapCache
         */
        function mapCacheClear() {
          this.size = 0;
          this.__data__ = {
            'hash': new Hash,
            'map': new (Map || ListCache),
            'string': new Hash
          };
        }
    
        /**
         * Removes `key` and its value from the map.
         *
         * @private
         * @name delete
         * @memberOf MapCache
         * @param {string} key The key of the value to remove.
         * @returns {boolean} Returns `true` if the entry was removed, else `false`.
         */
        function mapCacheDelete(key) {
          var result = getMapData(this, key)['delete'](key);
          this.size -= result ? 1 : 0;
          return result;
        }
    
        /**
         * Gets the map value for `key`.
         *
         * @private
         * @name get
         * @memberOf MapCache
         * @param {string} key The key of the value to get.
         * @returns {*} Returns the entry value.
         */
        function mapCacheGet(key) {
          return getMapData(this, key).get(key);
        }
    
        /**
         * Checks if a map value for `key` exists.
         *
         * @private
         * @name has
         * @memberOf MapCache
         * @param {string} key The key of the entry to check.
         * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
         */
        function mapCacheHas(key) {
          return getMapData(this, key).has(key);
        }
    
        /**
         * Sets the map `key` to `value`.
         *
         * @private
         * @name set
         * @memberOf MapCache
         * @param {string} key The key of the value to set.
         * @param {*} value The value to set.
         * @returns {Object} Returns the map cache instance.
         */
        function mapCacheSet(key, value) {
          var data = getMapData(this, key),
              size = data.size;
    
          data.set(key, value);
          this.size += data.size == size ? 0 : 1;
          return this;
        }
    
        // Add methods to `MapCache`.
        MapCache.prototype.clear = mapCacheClear;
        MapCache.prototype['delete'] = mapCacheDelete;
        MapCache.prototype.get = mapCacheGet;
        MapCache.prototype.has = mapCacheHas;
        MapCache.prototype.set = mapCacheSet;
    
        /*------------------------------------------------------------------------*/
    
        /**
         *
         * Creates an array cache object to store unique values.
         *
         * @private
         * @constructor
         * @param {Array} [values] The values to cache.
         */
        function SetCache(values) {
          var index = -1,
              length = values == null ? 0 : values.length;
    
          this.__data__ = new MapCache;
          while (++index < length) {
            this.add(values[index]);
          }
        }
    
        /**
         * Adds `value` to the array cache.
         *
         * @private
         * @name add
         * @memberOf SetCache
         * @alias push
         * @param {*} value The value to cache.
         * @returns {Object} Returns the cache instance.
         */
        function setCacheAdd(value) {
          this.__data__.set(value, HASH_UNDEFINED);
          return this;
        }
    
        /**
         * Checks if `value` is in the array cache.
         *
         * @private
         * @name has
         * @memberOf SetCache
         * @param {*} value The value to search for.
         * @returns {number} Returns `true` if `value` is found, else `false`.
         */
        function setCacheHas(value) {
          return this.__data__.has(value);
        }
    
        // Add methods to `SetCache`.
        SetCache.prototype.add = SetCache.prototype.push = setCacheAdd;
        SetCache.prototype.has = setCacheHas;
    
        /*------------------------------------------------------------------------*/
    
        /**
         * Creates a stack cache object to store key-value pairs.
         *
         * @private
         * @constructor
         * @param {Array} [entries] The key-value pairs to cache.
         */
        function Stack(entries) {
          var data = this.__data__ = new ListCache(entries);
          this.size = data.size;
        }
    
        /**
         * Removes all key-value entries from the stack.
         *
         * @private
         * @name clear
         * @memberOf Stack
         */
        function stackClear() {
          this.__data__ = new ListCache;
          this.size = 0;
        }
    
        /**
         * Removes `key` and its value from the stack.
         *
         * @private
         * @name delete
         * @memberOf Stack
         * @param {string} key The key of the value to remove.
         * @returns {boolean} Returns `true` if the entry was removed, else `false`.
         */
        function stackDelete(key) {
          var data = this.__data__,
              result = data['delete'](key);
    
          this.size = data.size;
          return result;
        }
    
        /**
         * Gets the stack value for `key`.
         *
         * @private
         * @name get
         * @memberOf Stack
         * @param {string} key The key of the value to get.
         * @returns {*} Returns the entry value.
         */
        function stackGet(key) {
          return this.__data__.get(key);
        }
    
        /**
         * Checks if a stack value for `key` exists.
         *
         * @private
         * @name has
         * @memberOf Stack
         * @param {string} key The key of the entry to check.
         * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
         */
        function stackHas(key) {
          return this.__data__.has(key);
        }
    
        /**
         * Sets the stack `key` to `value`.
         *
         * @private
         * @name set
         * @memberOf Stack
         * @param {string} key The key of the value to set.
         * @param {*} value The value to set.
         * @returns {Object} Returns the stack cache instance.
         */
        function stackSet(key, value) {
          var data = this.__data__;
          if (data instanceof ListCache) {
            var pairs = data.__data__;
            if (!Map || (pairs.length < LARGE_ARRAY_SIZE - 1)) {
              pairs.push([key, value]);
              this.size = ++data.size;
              return this;
            }
            data = this.__data__ = new MapCache(pairs);
          }
          data.set(key, value);
          this.size = data.size;
          return this;
        }
    
        // Add methods to `Stack`.
        Stack.prototype.clear = stackClear;
        Stack.prototype['delete'] = stackDelete;
        Stack.prototype.get = stackGet;
        Stack.prototype.has = stackHas;
        Stack.prototype.set = stackSet;
    
        /*------------------------------------------------------------------------*/
    
        /**
         * Creates an array of the enumerable property names of the array-like `value`.
         *
         * @private
         * @param {*} value The value to query.
         * @param {boolean} inherited Specify returning inherited property names.
         * @returns {Array} Returns the array of property names.
         */
        function arrayLikeKeys(value, inherited) {
          var isArr = isArray(value),
              isArg = !isArr && isArguments(value),
              isBuff = !isArr && !isArg && isBuffer(value),
              isType = !isArr && !isArg && !isBuff && isTypedArray(value),
              skipIndexes = isArr || isArg || isBuff || isType,
              result = skipIndexes ? baseTimes(value.length, String) : [],
              length = result.length;
    
          for (var key in value) {
            if ((inherited || hasOwnProperty.call(value, key)) &&
                !(skipIndexes && (
                   // Safari 9 has enumerable `arguments.length` in strict mode.
                   key == 'length' ||
                   // Node.js 0.10 has enumerable non-index properties on buffers.
                   (isBuff && (key == 'offset' || key == 'parent')) ||
                   // PhantomJS 2 has enumerable non-index properties on typed arrays.
                   (isType && (key == 'buffer' || key == 'byteLength' || key == 'byteOffset')) ||
                   // Skip index properties.
                   isIndex(key, length)
                ))) {
              result.push(key);
            }
          }
          return result;
        }
    
        /**
         * A specialized version of `_.sample` for arrays.
         *
         * @private
         * @param {Array} array The array to sample.
         * @returns {*} Returns the random element.
         */
        function arraySample(array) {
          var length = array.length;
          return length ? array[baseRandom(0, length - 1)] : undefined;
        }
    
        /**
         * A specialized version of `_.sampleSize` for arrays.
         *
         * @private
         * @param {Array} array The array to sample.
         * @param {number} n The number of elements to sample.
         * @returns {Array} Returns the random elements.
         */
        function arraySampleSize(array, n) {
          return shuffleSelf(copyArray(array), baseClamp(n, 0, array.length));
        }
    
        /**
         * A specialized version of `_.shuffle` for arrays.
         *
         * @private
         * @param {Array} array The array to shuffle.
         * @returns {Array} Returns the new shuffled array.
         */
        function arrayShuffle(array) {
          return shuffleSelf(copyArray(array));
        }
    
        /**
         * This function is like `assignValue` except that it doesn't assign
         * `undefined` values.
         *
         * @private
         * @param {Object} object The object to modify.
         * @param {string} key The key of the property to assign.
         * @param {*} value The value to assign.
         */
        function assignMergeValue(object, key, value) {
          if ((value !== undefined && !eq(object[key], value)) ||
              (value === undefined && !(key in object))) {
            baseAssignValue(object, key, value);
          }
        }
    
        /**
         * Assigns `value` to `key` of `object` if the existing value is not equivalent
         * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
         * for equality comparisons.
         *
         * @private
         * @param {Object} object The object to modify.
         * @param {string} key The key of the property to assign.
         * @param {*} value The value to assign.
         */
        function assignValue(object, key, value) {
          var objValue = object[key];
          if (!(hasOwnProperty.call(object, key) && eq(objValue, value)) ||
              (value === undefined && !(key in object))) {
            baseAssignValue(object, key, value);
          }
        }
    
        /**
         * Gets the index at which the `key` is found in `array` of key-value pairs.
         *
         * @private
         * @param {Array} array The array to inspect.
         * @param {*} key The key to search for.
         * @returns {number} Returns the index of the matched value, else `-1`.
         */
        function assocIndexOf(array, key) {
          var length = array.length;
          while (length--) {
            if (eq(array[length][0], key)) {
              return length;
            }
          }
          return -1;
        }
    
        /**
         * Aggregates elements of `collection` on `accumulator` with keys transformed
         * by `iteratee` and values set by `setter`.
         *
         * @private
         * @param {Array|Object} collection The collection to iterate over.
         * @param {Function} setter The function to set `accumulator` values.
         * @param {Function} iteratee The iteratee to transform keys.
         * @param {Object} accumulator The initial aggregated object.
         * @returns {Function} Returns `accumulator`.
         */
        function baseAggregator(collection, setter, iteratee, accumulator) {
          baseEach(collection, function(value, key, collection) {
            setter(accumulator, value, iteratee(value), collection);
          });
          return accumulator;
        }
    
        /**
         * The base implementation of `_.assign` without support for multiple sources
         * or `customizer` functions.
         *
         * @private
         * @param {Object} object The destination object.
         * @param {Object} source The source object.
         * @returns {Object} Returns `object`.
         */
        function baseAssign(object, source) {
          return object && copyObject(source, keys(source), object);
        }
    
        /**
         * The base implementation of `_.assignIn` without support for multiple sources
         * or `customizer` functions.
         *
         * @private
         * @param {Object} object The destination object.
         * @param {Object} source The source object.
         * @returns {Object} Returns `object`.
         */
        function baseAssignIn(object, source) {
          return object && copyObject(source, keysIn(source), object);
        }
    
        /**
         * The base implementation of `assignValue` and `assignMergeValue` without
         * value checks.
         *
         * @private
         * @param {Object} object The object to modify.
         * @param {string} key The key of the property to assign.
         * @param {*} value The value to assign.
         */
        function baseAssignValue(object, key, value) {
          if (key == '__proto__' && defineProperty) {
            defineProperty(object, key, {
              'configurable': true,
              'enumerable': true,
              'value': value,
              'writable': true
            });
          } else {
            object[key] = value;
          }
        }
    
        /**
         * The base implementation of `_.at` without support for individual paths.
         *
         * @private
         * @param {Object} object The object to iterate over.
         * @param {string[]} paths The property paths to pick.
         * @returns {Array} Returns the picked elements.
         */
        function baseAt(object, paths) {
          var index = -1,
              length = paths.length,
              result = Array(length),
              skip = object == null;
    
          while (++index < length) {
            result[index] = skip ? undefined : get(object, paths[index]);
          }
          return result;
        }
    
        /**
         * The base implementation of `_.clamp` which doesn't coerce arguments.
         *
         * @private
         * @param {number} number The number to clamp.
         * @param {number} [lower] The lower bound.
         * @param {number} upper The upper bound.
         * @returns {number} Returns the clamped number.
         */
        function baseClamp(number, lower, upper) {
          if (number === number) {
            if (upper !== undefined) {
              number = number <= upper ? number : upper;
            }
            if (lower !== undefined) {
              number = number >= lower ? number : lower;
            }
          }
          return number;
        }
    
        /**
         * The base implementation of `_.clone` and `_.cloneDeep` which tracks
         * traversed objects.
         *
         * @private
         * @param {*} value The value to clone.
         * @param {boolean} bitmask The bitmask flags.
         *  1 - Deep clone
         *  2 - Flatten inherited properties
         *  4 - Clone symbols
         * @param {Function} [customizer] The function to customize cloning.
         * @param {string} [key] The key of `value`.
         * @param {Object} [object] The parent object of `value`.
         * @param {Object} [stack] Tracks traversed objects and their clone counterparts.
         * @returns {*} Returns the cloned value.
         */
        function baseClone(value, bitmask, customizer, key, object, stack) {
          var result,
              isDeep = bitmask & CLONE_DEEP_FLAG,
              isFlat = bitmask & CLONE_FLAT_FLAG,
              isFull = bitmask & CLONE_SYMBOLS_FLAG;
    
          if (customizer) {
            result = object ? customizer(value, key, object, stack) : customizer(value);
          }
          if (result !== undefined) {
            return result;
          }
          if (!isObject(value)) {
            return value;
          }
          var isArr = isArray(value);
          if (isArr) {
            result = initCloneArray(value);
            if (!isDeep) {
              return copyArray(value, result);
            }
          } else {
            var tag = getTag(value),
                isFunc = tag == funcTag || tag == genTag;
    
            if (isBuffer(value)) {
              return cloneBuffer(value, isDeep);
            }
            if (tag == objectTag || tag == argsTag || (isFunc && !object)) {
              result = (isFlat || isFunc) ? {} : initCloneObject(value);
              if (!isDeep) {
                return isFlat
                  ? copySymbolsIn(value, baseAssignIn(result, value))
                  : copySymbols(value, baseAssign(result, value));
              }
            } else {
              if (!cloneableTags[tag]) {
                return object ? value : {};
              }
              result = initCloneByTag(value, tag, isDeep);
            }
          }
          // Check for circular references and return its corresponding clone.
          stack || (stack = new Stack);
          var stacked = stack.get(value);
          if (stacked) {
            return stacked;
          }
          stack.set(value, result);
    
          if (isSet(value)) {
            value.forEach(function(subValue) {
              result.add(baseClone(subValue, bitmask, customizer, subValue, value, stack));
            });
          } else if (isMap(value)) {
            value.forEach(function(subValue, key) {
              result.set(key, baseClone(subValue, bitmask, customizer, key, value, stack));
            });
          }
    
          var keysFunc = isFull
            ? (isFlat ? getAllKeysIn : getAllKeys)
            : (isFlat ? keysIn : keys);
    
          var props = isArr ? undefined : keysFunc(value);
          arrayEach(props || value, function(subValue, key) {
            if (props) {
              key = subValue;
              subValue = value[key];
            }
            // Recursively populate clone (susceptible to call stack limits).
            assignValue(result, key, baseClone(subValue, bitmask, customizer, key, value, stack));
          });
          return result;
        }
    
        /**
         * The base implementation of `_.conforms` which doesn't clone `source`.
         *
         * @private
         * @param {Object} source The object of property predicates to conform to.
         * @returns {Function} Returns the new spec function.
         */
        function baseConforms(source) {
          var props = keys(source);
          return function(object) {
            return baseConformsTo(object, source, props);
          };
        }
    
        /**
         * The base implementation of `_.conformsTo` which accepts `props` to check.
         *
         * @private
         * @param {Object} object The object to inspect.
         * @param {Object} source The object of property predicates to conform to.
         * @returns {boolean} Returns `true` if `object` conforms, else `false`.
         */
        function baseConformsTo(object, source, props) {
          var length = props.length;
          if (object == null) {
            return !length;
          }
          object = Object(object);
          while (length--) {
            var key = props[length],
                predicate = source[key],
                value = object[key];
    
            if ((value === undefined && !(key in object)) || !predicate(value)) {
              return false;
            }
          }
          return true;
        }
    
        /**
         * The base implementation of `_.delay` and `_.defer` which accepts `args`
         * to provide to `func`.
         *
         * @private
         * @param {Function} func The function to delay.
         * @param {number} wait The number of milliseconds to delay invocation.
         * @param {Array} args The arguments to provide to `func`.
         * @returns {number|Object} Returns the timer id or timeout object.
         */
        function baseDelay(func, wait, args) {
          if (typeof func != 'function') {
            throw new TypeError(FUNC_ERROR_TEXT);
          }
          return setTimeout(function() { func.apply(undefined, args); }, wait);
        }
    
        /**
         * The base implementation of methods like `_.difference` without support
         * for excluding multiple arrays or iteratee shorthands.
         *
         * @private
         * @param {Array} array The array to inspect.
         * @param {Array} values The values to exclude.
         * @param {Function} [iteratee] The iteratee invoked per element.
         * @param {Function} [comparator] The comparator invoked per element.
         * @returns {Array} Returns the new array of filtered values.
         */
        function baseDifference(array, values, iteratee, comparator) {
          var index = -1,
              includes = arrayIncludes,
              isCommon = true,
              length = array.length,
              result = [],
              valuesLength = values.length;
    
          if (!length) {
            return result;
          }
          if (iteratee) {
            values = arrayMap(values, baseUnary(iteratee));
          }
          if (comparator) {
            includes = arrayIncludesWith;
            isCommon = false;
          }
          else if (values.length >= LARGE_ARRAY_SIZE) {
            includes = cacheHas;
            isCommon = false;
            values = new SetCache(values);
          }
          outer:
          while (++index < length) {
            var value = array[index],
                computed = iteratee == null ? value : iteratee(value);
    
            value = (comparator || value !== 0) ? value : 0;
            if (isCommon && computed === computed) {
              var valuesIndex = valuesLength;
              while (valuesIndex--) {
                if (values[valuesIndex] === computed) {
                  continue outer;
                }
              }
              result.push(value);
            }
            else if (!includes(values, computed, comparator)) {
              result.push(value);
            }
          }
          return result;
        }
    
        /**
         * The base implementation of `_.forEach` without support for iteratee shorthands.
         *
         * @private
         * @param {Array|Object} collection The collection to iterate over.
         * @param {Function} iteratee The function invoked per iteration.
         * @returns {Array|Object} Returns `collection`.
         */
        var baseEach = createBaseEach(baseForOwn);
    
        /**
         * The base implementation of `_.forEachRight` without support for iteratee shorthands.
         *
         * @private
         * @param {Array|Object} collection The collection to iterate over.
         * @param {Function} iteratee The function invoked per iteration.
         * @returns {Array|Object} Returns `collection`.
         */
        var baseEachRight = createBaseEach(baseForOwnRight, true);
    
        /**
         * The base implementation of `_.every` without support for iteratee shorthands.
         *
         * @private
         * @param {Array|Object} collection The collection to iterate over.
         * @param {Function} predicate The function invoked per iteration.
         * @returns {boolean} Returns `true` if all elements pass the predicate check,
         *  else `false`
         */
        function baseEvery(collection, predicate) {
          var result = true;
          baseEach(collection, function(value, index, collection) {
            result = !!predicate(value, index, collection);
            return result;
          });
          return result;
        }
    
        /**
         * The base implementation of methods like `_.max` and `_.min` which accepts a
         * `comparator` to determine the extremum value.
         *
         * @private
         * @param {Array} array The array to iterate over.
         * @param {Function} iteratee The iteratee invoked per iteration.
         * @param {Function} comparator The comparator used to compare values.
         * @returns {*} Returns the extremum value.
         */
        function baseExtremum(array, iteratee, comparator) {
          var index = -1,
              length = array.length;
    
          while (++index < length) {
            var value = array[index],
                current = iteratee(value);
    
            if (current != null && (computed === undefined
                  ? (current === current && !isSymbol(current))
                  : comparator(current, computed)
                )) {
              var computed = current,
                  result = value;
            }
          }
          return result;
        }
    
        /**
         * The base implementation of `_.fill` without an iteratee call guard.
         *
         * @private
         * @param {Array} array The array to fill.
         * @param {*} value The value to fill `array` with.
         * @param {number} [start=0] The start position.
         * @param {number} [end=array.length] The end position.
         * @returns {Array} Returns `array`.
         */
        function baseFill(array, value, start, end) {
          var length = array.length;
    
          start = toInteger(start);
          if (start < 0) {
            start = -start > length ? 0 : (length + start);
          }
          end = (end === undefined || end > length) ? length : toInteger(end);
          if (end < 0) {
            end += length;
          }
          end = start > end ? 0 : toLength(end);
          while (start < end) {
            array[start++] = value;
          }
          return array;
        }
    
        /**
         * The base implementation of `_.filter` without support for iteratee shorthands.
         *
         * @private
         * @param {Array|Object} collection The collection to iterate over.
         * @param {Function} predicate The function invoked per iteration.
         * @returns {Array} Returns the new filtered array.
         */
        function baseFilter(collection, predicate) {
          var result = [];
          baseEach(collection, function(value, index, collection) {
            if (predicate(value, index, collection)) {
              result.push(value);
            }
          });
          return result;
        }
    
        /**
         * The base implementation of `_.flatten` with support for restricting flattening.
         *
         * @private
         * @param {Array} array The array to flatten.
         * @param {number} depth The maximum recursion depth.
         * @param {boolean} [predicate=isFlattenable] The function invoked per iteration.
         * @param {boolean} [isStrict] Restrict to values that pass `predicate` checks.
         * @param {Array} [result=[]] The initial result value.
         * @returns {Array} Returns the new flattened array.
         */
        function baseFlatten(array, depth, predicate, isStrict, result) {
          var index = -1,
              length = array.length;
    
          predicate || (predicate = isFlattenable);
          result || (result = []);
    
          while (++index < length) {
            var value = array[index];
            if (depth > 0 && predicate(value)) {
              if (depth > 1) {
                // Recursively flatten arrays (susceptible to call stack limits).
                baseFlatten(value, depth - 1, predicate, isStrict, result);
              } else {
                arrayPush(result, value);
              }
            } else if (!isStrict) {
              result[result.length] = value;
            }
          }
          return result;
        }
    
        /**
         * The base implementation of `baseForOwn` which iterates over `object`
         * properties returned by `keysFunc` and invokes `iteratee` for each property.
         * Iteratee functions may exit iteration early by explicitly returning `false`.
         *
         * @private
         * @param {Object} object The object to iterate over.
         * @param {Function} iteratee The function invoked per iteration.
         * @param {Function} keysFunc The function to get the keys of `object`.
         * @returns {Object} Returns `object`.
         */
        var baseFor = createBaseFor();
    
        /**
         * This function is like `baseFor` except that it iterates over properties
         * in the opposite order.
         *
         * @private
         * @param {Object} object The object to iterate over.
         * @param {Function} iteratee The function invoked per iteration.
         * @param {Function} keysFunc The function to get the keys of `object`.
         * @returns {Object} Returns `object`.
         */
        var baseForRight = createBaseFor(true);
    
        /**
         * The base implementation of `_.forOwn` without support for iteratee shorthands.
         *
         * @private
         * @param {Object} object The object to iterate over.
         * @param {Function} iteratee The function invoked per iteration.
         * @returns {Object} Returns `object`.
         */
        function baseForOwn(object, iteratee) {
          return object && baseFor(object, iteratee, keys);
        }
    
        /**
         * The base implementation of `_.forOwnRight` without support for iteratee shorthands.
         *
         * @private
         * @param {Object} object The object to iterate over.
         * @param {Function} iteratee The function invoked per iteration.
         * @returns {Object} Returns `object`.
         */
        function baseForOwnRight(object, iteratee) {
          return object && baseForRight(object, iteratee, keys);
        }
    
        /**
         * The base implementation of `_.functions` which creates an array of
         * `object` function property names filtered from `props`.
         *
         * @private
         * @param {Object} object The object to inspect.
         * @param {Array} props The property names to filter.
         * @returns {Array} Returns the function names.
         */
        function baseFunctions(object, props) {
          return arrayFilter(props, function(key) {
            return isFunction(object[key]);
          });
        }
    
        /**
         * The base implementation of `_.get` without support for default values.
         *
         * @private
         * @param {Object} object The object to query.
         * @param {Array|string} path The path of the property to get.
         * @returns {*} Returns the resolved value.
         */
        function baseGet(object, path) {
          path = castPath(path, object);
    
          var index = 0,
              length = path.length;
    
          while (object != null && index < length) {
            object = object[toKey(path[index++])];
          }
          return (index && index == length) ? object : undefined;
        }
    
        /**
         * The base implementation of `getAllKeys` and `getAllKeysIn` which uses
         * `keysFunc` and `symbolsFunc` to get the enumerable property names and
         * symbols of `object`.
         *
         * @private
         * @param {Object} object The object to query.
         * @param {Function} keysFunc The function to get the keys of `object`.
         * @param {Function} symbolsFunc The function to get the symbols of `object`.
         * @returns {Array} Returns the array of property names and symbols.
         */
        function baseGetAllKeys(object, keysFunc, symbolsFunc) {
          var result = keysFunc(object);
          return isArray(object) ? result : arrayPush(result, symbolsFunc(object));
        }
    
        /**
         * The base implementation of `getTag` without fallbacks for buggy environments.
         *
         * @private
         * @param {*} value The value to query.
         * @returns {string} Returns the `toStringTag`.
         */
        function baseGetTag(value) {
          if (value == null) {
            return value === undefined ? undefinedTag : nullTag;
          }
          return (symToStringTag && symToStringTag in Object(value))
            ? getRawTag(value)
            : objectToString(value);
        }
    
        /**
         * The base implementation of `_.gt` which doesn't coerce arguments.
         *
         * @private
         * @param {*} value The value to compare.
         * @param {*} other The other value to compare.
         * @returns {boolean} Returns `true` if `value` is greater than `other`,
         *  else `false`.
         */
        function baseGt(value, other) {
          return value > other;
        }
    
        /**
         * The base implementation of `_.has` without support for deep paths.
         *
         * @private
         * @param {Object} [object] The object to query.
         * @param {Array|string} key The key to check.
         * @returns {boolean} Returns `true` if `key` exists, else `false`.
         */
        function baseHas(object, key) {
          return object != null && hasOwnProperty.call(object, key);
        }
    
        /**
         * The base implementation of `_.hasIn` without support for deep paths.
         *
         * @private
         * @param {Object} [object] The object to query.
         * @param {Array|string} key The key to check.
         * @returns {boolean} Returns `true` if `key` exists, else `false`.
         */
        function baseHasIn(object, key) {
          return object != null && key in Object(object);
        }
    
        /**
         * The base implementation of `_.inRange` which doesn't coerce arguments.
         *
         * @private
         * @param {number} number The number to check.
         * @param {number} start The start of the range.
         * @param {number} end The end of the range.
         * @returns {boolean} Returns `true` if `number` is in the range, else `false`.
         */
        function baseInRange(number, start, end) {
          return number >= nativeMin(start, end) && number < nativeMax(start, end);
        }
    
        /**
         * The base implementation of methods like `_.intersection`, without support
         * for iteratee shorthands, that accepts an array of arrays to inspect.
         *
         * @private
         * @param {Array} arrays The arrays to inspect.
         * @param {Function} [iteratee] The iteratee invoked per element.
         * @param {Function} [comparator] The comparator invoked per element.
         * @returns {Array} Returns the new array of shared values.
         */
        function baseIntersection(arrays, iteratee, comparator) {
          var includes = comparator ? arrayIncludesWith : arrayIncludes,
              length = arrays[0].length,
              othLength = arrays.length,
              othIndex = othLength,
              caches = Array(othLength),
              maxLength = Infinity,
              result = [];
    
          while (othIndex--) {
            var array = arrays[othIndex];
            if (othIndex && iteratee) {
              array = arrayMap(array, baseUnary(iteratee));
            }
            maxLength = nativeMin(array.length, maxLength);
            caches[othIndex] = !comparator && (iteratee || (length >= 120 && array.length >= 120))
              ? new SetCache(othIndex && array)
              : undefined;
          }
          array = arrays[0];
    
          var index = -1,
              seen = caches[0];
    
          outer:
          while (++index < length && result.length < maxLength) {
            var value = array[index],
                computed = iteratee ? iteratee(value) : value;
    
            value = (comparator || value !== 0) ? value : 0;
            if (!(seen
                  ? cacheHas(seen, computed)
                  : includes(result, computed, comparator)
                )) {
              othIndex = othLength;
              while (--othIndex) {
                var cache = caches[othIndex];
                if (!(cache
                      ? cacheHas(cache, computed)
                      : includes(arrays[othIndex], computed, comparator))
                    ) {
                  continue outer;
                }
              }
              if (seen) {
                seen.push(computed);
              }
              result.push(value);
            }
          }
          return result;
        }
    
        /**
         * The base implementation of `_.invert` and `_.invertBy` which inverts
         * `object` with values transformed by `iteratee` and set by `setter`.
         *
         * @private
         * @param {Object} object The object to iterate over.
         * @param {Function} setter The function to set `accumulator` values.
         * @param {Function} iteratee The iteratee to transform values.
         * @param {Object} accumulator The initial inverted object.
         * @returns {Function} Returns `accumulator`.
         */
        function baseInverter(object, setter, iteratee, accumulator) {
          baseForOwn(object, function(value, key, object) {
            setter(accumulator, iteratee(value), key, object);
          });
          return accumulator;
        }
    
        /**
         * The base implementation of `_.invoke` without support for individual
         * method arguments.
         *
         * @private
         * @param {Object} object The object to query.
         * @param {Array|string} path The path of the method to invoke.
         * @param {Array} args The arguments to invoke the method with.
         * @returns {*} Returns the result of the invoked method.
         */
        function baseInvoke(object, path, args) {
          path = castPath(path, object);
          object = parent(object, path);
          var func = object == null ? object : object[toKey(last(path))];
          return func == null ? undefined : apply(func, object, args);
        }
    
        /**
         * The base implementation of `_.isArguments`.
         *
         * @private
         * @param {*} value The value to check.
         * @returns {boolean} Returns `true` if `value` is an `arguments` object,
         */
        function baseIsArguments(value) {
          return isObjectLike(value) && baseGetTag(value) == argsTag;
        }
    
        /**
         * The base implementation of `_.isArrayBuffer` without Node.js optimizations.
         *
         * @private
         * @param {*} value The value to check.
         * @returns {boolean} Returns `true` if `value` is an array buffer, else `false`.
         */
        function baseIsArrayBuffer(value) {
          return isObjectLike(value) && baseGetTag(value) == arrayBufferTag;
        }
    
        /**
         * The base implementation of `_.isDate` without Node.js optimizations.
         *
         * @private
         * @param {*} value The value to check.
         * @returns {boolean} Returns `true` if `value` is a date object, else `false`.
         */
        function baseIsDate(value) {
          return isObjectLike(value) && baseGetTag(value) == dateTag;
        }
    
        /**
         * The base implementation of `_.isEqual` which supports partial comparisons
         * and tracks traversed objects.
         *
         * @private
         * @param {*} value The value to compare.
         * @param {*} other The other value to compare.
         * @param {boolean} bitmask The bitmask flags.
         *  1 - Unordered comparison
         *  2 - Partial comparison
         * @param {Function} [customizer] The function to customize comparisons.
         * @param {Object} [stack] Tracks traversed `value` and `other` objects.
         * @returns {boolean} Returns `true` if the values are equivalent, else `false`.
         */
        function baseIsEqual(value, other, bitmask, customizer, stack) {
          if (value === other) {
            return true;
          }
          if (value == null || other == null || (!isObjectLike(value) && !isObjectLike(other))) {
            return value !== value && other !== other;
          }
          return baseIsEqualDeep(value, other, bitmask, customizer, baseIsEqual, stack);
        }
    
        /**
         * A specialized version of `baseIsEqual` for arrays and objects which performs
         * deep comparisons and tracks traversed objects enabling objects with circular
         * references to be compared.
         *
         * @private
         * @param {Object} object The object to compare.
         * @param {Object} other The other object to compare.
         * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.
         * @param {Function} customizer The function to customize comparisons.
         * @param {Function} equalFunc The function to determine equivalents of values.
         * @param {Object} [stack] Tracks traversed `object` and `other` objects.
         * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.
         */
        function baseIsEqualDeep(object, other, bitmask, customizer, equalFunc, stack) {
          var objIsArr = isArray(object),
              othIsArr = isArray(other),
              objTag = objIsArr ? arrayTag : getTag(object),
              othTag = othIsArr ? arrayTag : getTag(other);
    
          objTag = objTag == argsTag ? objectTag : objTag;
          othTag = othTag == argsTag ? objectTag : othTag;
    
          var objIsObj = objTag == objectTag,
              othIsObj = othTag == objectTag,
              isSameTag = objTag == othTag;
    
          if (isSameTag && isBuffer(object)) {
            if (!isBuffer(other)) {
              return false;
            }
            objIsArr = true;
            objIsObj = false;
          }
          if (isSameTag && !objIsObj) {
            stack || (stack = new Stack);
            return (objIsArr || isTypedArray(object))
              ? equalArrays(object, other, bitmask, customizer, equalFunc, stack)
              : equalByTag(object, other, objTag, bitmask, customizer, equalFunc, stack);
          }
          if (!(bitmask & COMPARE_PARTIAL_FLAG)) {
            var objIsWrapped = objIsObj && hasOwnProperty.call(object, '__wrapped__'),
                othIsWrapped = othIsObj && hasOwnProperty.call(other, '__wrapped__');
    
            if (objIsWrapped || othIsWrapped) {
              var objUnwrapped = objIsWrapped ? object.value() : object,
                  othUnwrapped = othIsWrapped ? other.value() : other;
    
              stack || (stack = new Stack);
              return equalFunc(objUnwrapped, othUnwrapped, bitmask, customizer, stack);
            }
          }
          if (!isSameTag) {
            return false;
          }
          stack || (stack = new Stack);
          return equalObjects(object, other, bitmask, customizer, equalFunc, stack);
        }
    
        /**
         * The base implementation of `_.isMap` without Node.js optimizations.
         *
         * @private
         * @param {*} value The value to check.
         * @returns {boolean} Returns `true` if `value` is a map, else `false`.
         */
        function baseIsMap(value) {
          return isObjectLike(value) && getTag(value) == mapTag;
        }
    
        /**
         * The base implementation of `_.isMatch` without support for iteratee shorthands.
         *
         * @private
         * @param {Object} object The object to inspect.
         * @param {Object} source The object of property values to match.
         * @param {Array} matchData The property names, values, and compare flags to match.
         * @param {Function} [customizer] The function to customize comparisons.
         * @returns {boolean} Returns `true` if `object` is a match, else `false`.
         */
        function baseIsMatch(object, source, matchData, customizer) {
          var index = matchData.length,
              length = index,
              noCustomizer = !customizer;
    
          if (object == null) {
            return !length;
          }
          object = Object(object);
          while (index--) {
            var data = matchData[index];
            if ((noCustomizer && data[2])
                  ? data[1] !== object[data[0]]
                  : !(data[0] in object)
                ) {
              return false;
            }
          }
          while (++index < length) {
            data = matchData[index];
            var key = data[0],
                objValue = object[key],
                srcValue = data[1];
    
            if (noCustomizer && data[2]) {
              if (objValue === undefined && !(key in object)) {
                return false;
              }
            } else {
              var stack = new Stack;
              if (customizer) {
                var result = customizer(objValue, srcValue, key, object, source, stack);
              }
              if (!(result === undefined
                    ? baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG, customizer, stack)
                    : result
                  )) {
                return false;
              }
            }
          }
          return true;
        }
    
        /**
         * The base implementation of `_.isNative` without bad shim checks.
         *
         * @private
         * @param {*} value The value to check.
         * @returns {boolean} Returns `true` if `value` is a native function,
         *  else `false`.
         */
        function baseIsNative(value) {
          if (!isObject(value) || isMasked(value)) {
            return false;
          }
          var pattern = isFunction(value) ? reIsNative : reIsHostCtor;
          return pattern.test(toSource(value));
        }
    
        /**
         * The base implementation of `_.isRegExp` without Node.js optimizations.
         *
         * @private
         * @param {*} value The value to check.
         * @returns {boolean} Returns `true` if `value` is a regexp, else `false`.
         */
        function baseIsRegExp(value) {
          return isObjectLike(value) && baseGetTag(value) == regexpTag;
        }
    
        /**
         * The base implementation of `_.isSet` without Node.js optimizations.
         *
         * @private
         * @param {*} value The value to check.
         * @returns {boolean} Returns `true` if `value` is a set, else `false`.
         */
        function baseIsSet(value) {
          return isObjectLike(value) && getTag(value) == setTag;
        }
    
        /**
         * The base implementation of `_.isTypedArray` without Node.js optimizations.
         *
         * @private
         * @param {*} value The value to check.
         * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.
         */
        function baseIsTypedArray(value) {
          return isObjectLike(value) &&
            isLength(value.length) && !!typedArrayTags[baseGetTag(value)];
        }
    
        /**
         * The base implementation of `_.iteratee`.
         *
         * @private
         * @param {*} [value=_.identity] The value to convert to an iteratee.
         * @returns {Function} Returns the iteratee.
         */
        function baseIteratee(value) {
          // Don't store the `typeof` result in a variable to avoid a JIT bug in Safari 9.
          // See https://bugs.webkit.org/show_bug.cgi?id=156034 for more details.
          if (typeof value == 'function') {
            return value;
          }
          if (value == null) {
            return identity;
          }
          if (typeof value == 'object') {
            return isArray(value)
              ? baseMatchesProperty(value[0], value[1])
              : baseMatches(value);
          }
          return property(value);
        }
    
        /**
         * The base implementation of `_.keys` which doesn't treat sparse arrays as dense.
         *
         * @private
         * @param {Object} object The object to query.
         * @returns {Array} Returns the array of property names.
         */
        function baseKeys(object) {
          if (!isPrototype(object)) {
            return nativeKeys(object);
          }
          var result = [];
          for (var key in Object(object)) {
            if (hasOwnProperty.call(object, key) && key != 'constructor') {
              result.push(key);
            }
          }
          return result;
        }
    
        /**
         * The base implementation of `_.keysIn` which doesn't treat sparse arrays as dense.
         *
         * @private
         * @param {Object} object The object to query.
         * @returns {Array} Returns the array of property names.
         */
        function baseKeysIn(object) {
          if (!isObject(object)) {
            return nativeKeysIn(object);
          }
          var isProto = isPrototype(object),
              result = [];
    
          for (var key in object) {
            if (!(key == 'constructor' && (isProto || !hasOwnProperty.call(object, key)))) {
              result.push(key);
            }
          }
          return result;
        }
    
        /**
         * The base implementation of `_.lt` which doesn't coerce arguments.
         *
         * @private
         * @param {*} value The value to compare.
         * @param {*} other The other value to compare.
         * @returns {boolean} Returns `true` if `value` is less than `other`,
         *  else `false`.
         */
        function baseLt(value, other) {
          return value < other;
        }
    
        /**
         * The base implementation of `_.map` without support for iteratee shorthands.
         *
         * @private
         * @param {Array|Object} collection The collection to iterate over.
         * @param {Function} iteratee The function invoked per iteration.
         * @returns {Array} Returns the new mapped array.
         */
        function baseMap(collection, iteratee) {
          var index = -1,
              result = isArrayLike(collection) ? Array(collection.length) : [];
    
          baseEach(collection, function(value, key, collection) {
            result[++index] = iteratee(value, key, collection);
          });
          return result;
        }
    
        /**
         * The base implementation of `_.matches` which doesn't clone `source`.
         *
         * @private
         * @param {Object} source The object of property values to match.
         * @returns {Function} Returns the new spec function.
         */
        function baseMatches(source) {
          var matchData = getMatchData(source);
          if (matchData.length == 1 && matchData[0][2]) {
            return matchesStrictComparable(matchData[0][0], matchData[0][1]);
          }
          return function(object) {
            return object === source || baseIsMatch(object, source, matchData);
          };
        }
    
        /**
         * The base implementation of `_.matchesProperty` which doesn't clone `srcValue`.
         *
         * @private
         * @param {string} path The path of the property to get.
         * @param {*} srcValue The value to match.
         * @returns {Function} Returns the new spec function.
         */
        function baseMatchesProperty(path, srcValue) {
          if (isKey(path) && isStrictComparable(srcValue)) {
            return matchesStrictComparable(toKey(path), srcValue);
          }
          return function(object) {
            var objValue = get(object, path);
            return (objValue === undefined && objValue === srcValue)
              ? hasIn(object, path)
              : baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG);
          };
        }
    
        /**
         * The base implementation of `_.merge` without support for multiple sources.
         *
         * @private
         * @param {Object} object The destination object.
         * @param {Object} source The source object.
         * @param {number} srcIndex The index of `source`.
         * @param {Function} [customizer] The function to customize merged values.
         * @param {Object} [stack] Tracks traversed source values and their merged
         *  counterparts.
         */
        function baseMerge(object, source, srcIndex, customizer, stack) {
          if (object === source) {
            return;
          }
          baseFor(source, function(srcValue, key) {
            stack || (stack = new Stack);
            if (isObject(srcValue)) {
              baseMergeDeep(object, source, key, srcIndex, baseMerge, customizer, stack);
            }
            else {
              var newValue = customizer
                ? customizer(safeGet(object, key), srcValue, (key + ''), object, source, stack)
                : undefined;
    
              if (newValue === undefined) {
                newValue = srcValue;
              }
              assignMergeValue(object, key, newValue);
            }
          }, keysIn);
        }
    
        /**
         * A specialized version of `baseMerge` for arrays and objects which performs
         * deep merges and tracks traversed objects enabling objects with circular
         * references to be merged.
         *
         * @private
         * @param {Object} object The destination object.
         * @param {Object} source The source object.
         * @param {string} key The key of the value to merge.
         * @param {number} srcIndex The index of `source`.
         * @param {Function} mergeFunc The function to merge values.
         * @param {Function} [customizer] The function to customize assigned values.
         * @param {Object} [stack] Tracks traversed source values and their merged
         *  counterparts.
         */
        function baseMergeDeep(object, source, key, srcIndex, mergeFunc, customizer, stack) {
          var objValue = safeGet(object, key),
              srcValue = safeGet(source, key),
              stacked = stack.get(srcValue);
    
          if (stacked) {
            assignMergeValue(object, key, stacked);
            return;
          }
          var newValue = customizer
            ? customizer(objValue, srcValue, (key + ''), object, source, stack)
            : undefined;
    
          var isCommon = newValue === undefined;
    
          if (isCommon) {
            var isArr = isArray(srcValue),
                isBuff = !isArr && isBuffer(srcValue),
                isTyped = !isArr && !isBuff && isTypedArray(srcValue);
    
            newValue = srcValue;
            if (isArr || isBuff || isTyped) {
              if (isArray(objValue)) {
                newValue = objValue;
              }
              else if (isArrayLikeObject(objValue)) {
                newValue = copyArray(objValue);
              }
              else if (isBuff) {
                isCommon = false;
                newValue = cloneBuffer(srcValue, true);
              }
              else if (isTyped) {
                isCommon = false;
                newValue = cloneTypedArray(srcValue, true);
              }
              else {
                newValue = [];
              }
            }
            else if (isPlainObject(srcValue) || isArguments(srcValue)) {
              newValue = objValue;
              if (isArguments(objValue)) {
                newValue = toPlainObject(objValue);
              }
              else if (!isObject(objValue) || isFunction(objValue)) {
                newValue = initCloneObject(srcValue);
              }
            }
            else {
              isCommon = false;
            }
          }
          if (isCommon) {
            // Recursively merge objects and arrays (susceptible to call stack limits).
            stack.set(srcValue, newValue);
            mergeFunc(newValue, srcValue, srcIndex, customizer, stack);
            stack['delete'](srcValue);
          }
          assignMergeValue(object, key, newValue);
        }
    
        /**
         * The base implementation of `_.nth` which doesn't coerce arguments.
         *
         * @private
         * @param {Array} array The array to query.
         * @param {number} n The index of the element to return.
         * @returns {*} Returns the nth element of `array`.
         */
        function baseNth(array, n) {
          var length = array.length;
          if (!length) {
            return;
          }
          n += n < 0 ? length : 0;
          return isIndex(n, length) ? array[n] : undefined;
        }
    
        /**
         * The base implementation of `_.orderBy` without param guards.
         *
         * @private
         * @param {Array|Object} collection The collection to iterate over.
         * @param {Function[]|Object[]|string[]} iteratees The iteratees to sort by.
         * @param {string[]} orders The sort orders of `iteratees`.
         * @returns {Array} Returns the new sorted array.
         */
        function baseOrderBy(collection, iteratees, orders) {
          if (iteratees.length) {
            iteratees = arrayMap(iteratees, function(iteratee) {
              if (isArray(iteratee)) {
                return function(value) {
                  return baseGet(value, iteratee.length === 1 ? iteratee[0] : iteratee);
                };
              }
              return iteratee;
            });
          } else {
            iteratees = [identity];
          }
    
          var index = -1;
          iteratees = arrayMap(iteratees, baseUnary(getIteratee()));
    
          var result = baseMap(collection, function(value, key, collection) {
            var criteria = arrayMap(iteratees, function(iteratee) {
              return iteratee(value);
            });
            return { 'criteria': criteria, 'index': ++index, 'value': value };
          });
    
          return baseSortBy(result, function(object, other) {
            return compareMultiple(object, other, orders);
          });
        }
    
        /**
         * The base implementation of `_.pick` without support for individual
         * property identifiers.
         *
         * @private
         * @param {Object} object The source object.
         * @param {string[]} paths The property paths to pick.
         * @returns {Object} Returns the new object.
         */
        function basePick(object, paths) {
          return basePickBy(object, paths, function(value, path) {
            return hasIn(object, path);
          });
        }
    
        /**
         * The base implementation of  `_.pickBy` without support for iteratee shorthands.
         *
         * @private
         * @param {Object} object The source object.
         * @param {string[]} paths The property paths to pick.
         * @param {Function} predicate The function invoked per property.
         * @returns {Object} Returns the new object.
         */
        function basePickBy(object, paths, predicate) {
          var index = -1,
              length = paths.length,
              result = {};
    
          while (++index < length) {
            var path = paths[index],
                value = baseGet(object, path);
    
            if (predicate(value, path)) {
              baseSet(result, castPath(path, object), value);
            }
          }
          return result;
        }
    
        /**
         * A specialized version of `baseProperty` which supports deep paths.
         *
         * @private
         * @param {Array|string} path The path of the property to get.
         * @returns {Function} Returns the new accessor function.
         */
        function basePropertyDeep(path) {
          return function(object) {
            return baseGet(object, path);
          };
        }
    
        /**
         * The base implementation of `_.pullAllBy` without support for iteratee
         * shorthands.
         *
         * @private
         * @param {Array} array The array to modify.
         * @param {Array} values The values to remove.
         * @param {Function} [iteratee] The iteratee invoked per element.
         * @param {Function} [comparator] The comparator invoked per element.
         * @returns {Array} Returns `array`.
         */
        function basePullAll(array, values, iteratee, comparator) {
          var indexOf = comparator ? baseIndexOfWith : baseIndexOf,
              index = -1,
              length = values.length,
              seen = array;
    
          if (array === values) {
            values = copyArray(values);
          }
          if (iteratee) {
            seen = arrayMap(array, baseUnary(iteratee));
          }
          while (++index < length) {
            var fromIndex = 0,
                value = values[index],
                computed = iteratee ? iteratee(value) : value;
    
            while ((fromIndex = indexOf(seen, computed, fromIndex, comparator)) > -1) {
              if (seen !== array) {
                splice.call(seen, fromIndex, 1);
              }
              splice.call(array, fromIndex, 1);
            }
          }
          return array;
        }
    
        /**
         * The base implementation of `_.pullAt` without support for individual
         * indexes or capturing the removed elements.
         *
         * @private
         * @param {Array} array The array to modify.
         * @param {number[]} indexes The indexes of elements to remove.
         * @returns {Array} Returns `array`.
         */
        function basePullAt(array, indexes) {
          var length = array ? indexes.length : 0,
              lastIndex = length - 1;
    
          while (length--) {
            var index = indexes[length];
            if (length == lastIndex || index !== previous) {
              var previous = index;
              if (isIndex(index)) {
                splice.call(array, index, 1);
              } else {
                baseUnset(array, index);
              }
            }
          }
          return array;
        }
    
        /**
         * The base implementation of `_.random` without support for returning
         * floating-point numbers.
         *
         * @private
         * @param {number} lower The lower bound.
         * @param {number} upper The upper bound.
         * @returns {number} Returns the random number.
         */
        function baseRandom(lower, upper) {
          return lower + nativeFloor(nativeRandom() * (upper - lower + 1));
        }
    
        /**
         * The base implementation of `_.range` and `_.rangeRight` which doesn't
         * coerce arguments.
         *
         * @private
         * @param {number} start The start of the range.
         * @param {number} end The end of the range.
         * @param {number} step The value to increment or decrement by.
         * @param {boolean} [fromRight] Specify iterating from right to left.
         * @returns {Array} Returns the range of numbers.
         */
        function baseRange(start, end, step, fromRight) {
          var index = -1,
              length = nativeMax(nativeCeil((end - start) / (step || 1)), 0),
              result = Array(length);
    
          while (length--) {
            result[fromRight ? length : ++index] = start;
            start += step;
          }
          return result;
        }
    
        /**
         * The base implementation of `_.repeat` which doesn't coerce arguments.
         *
         * @private
         * @param {string} string The string to repeat.
         * @param {number} n The number of times to repeat the string.
         * @returns {string} Returns the repeated string.
         */
        function baseRepeat(string, n) {
          var result = '';
          if (!string || n < 1 || n > MAX_SAFE_INTEGER) {
            return result;
          }
          // Leverage the exponentiation by squaring algorithm for a faster repeat.
          // See https://en.wikipedia.org/wiki/Exponentiation_by_squaring for more details.
          do {
            if (n % 2) {
              result += string;
            }
            n = nativeFloor(n / 2);
            if (n) {
              string += string;
            }
          } while (n);
    
          return result;
        }
    
        /**
         * The base implementation of `_.rest` which doesn't validate or coerce arguments.
         *
         * @private
         * @param {Function} func The function to apply a rest parameter to.
         * @param {number} [start=func.length-1] The start position of the rest parameter.
         * @returns {Function} Returns the new function.
         */
        function baseRest(func, start) {
          return setToString(overRest(func, start, identity), func + '');
        }
    
        /**
         * The base implementation of `_.sample`.
         *
         * @private
         * @param {Array|Object} collection The collection to sample.
         * @returns {*} Returns the random element.
         */
        function baseSample(collection) {
          return arraySample(values(collection));
        }
    
        /**
         * The base implementation of `_.sampleSize` without param guards.
         *
         * @private
         * @param {Array|Object} collection The collection to sample.
         * @param {number} n The number of elements to sample.
         * @returns {Array} Returns the random elements.
         */
        function baseSampleSize(collection, n) {
          var array = values(collection);
          return shuffleSelf(array, baseClamp(n, 0, array.length));
        }
    
        /**
         * The base implementation of `_.set`.
         *
         * @private
         * @param {Object} object The object to modify.
         * @param {Array|string} path The path of the property to set.
         * @param {*} value The value to set.
         * @param {Function} [customizer] The function to customize path creation.
         * @returns {Object} Returns `object`.
         */
        function baseSet(object, path, value, customizer) {
          if (!isObject(object)) {
            return object;
          }
          path = castPath(path, object);
    
          var index = -1,
              length = path.length,
              lastIndex = length - 1,
              nested = object;
    
          while (nested != null && ++index < length) {
            var key = toKey(path[index]),
                newValue = value;
    
            if (key === '__proto__' || key === 'constructor' || key === 'prototype') {
              return object;
            }
    
            if (index != lastIndex) {
              var objValue = nested[key];
              newValue = customizer ? customizer(objValue, key, nested) : undefined;
              if (newValue === undefined) {
                newValue = isObject(objValue)
                  ? objValue
                  : (isIndex(path[index + 1]) ? [] : {});
              }
            }
            assignValue(nested, key, newValue);
            nested = nested[key];
          }
          return object;
        }
    
        /**
         * The base implementation of `setData` without support for hot loop shorting.
         *
         * @private
         * @param {Function} func The function to associate metadata with.
         * @param {*} data The metadata.
         * @returns {Function} Returns `func`.
         */
        var baseSetData = !metaMap ? identity : function(func, data) {
          metaMap.set(func, data);
          return func;
        };
    
        /**
         * The base implementation of `setToString` without support for hot loop shorting.
         *
         * @private
         * @param {Function} func The function to modify.
         * @param {Function} string The `toString` result.
         * @returns {Function} Returns `func`.
         */
        var baseSetToString = !defineProperty ? identity : function(func, string) {
          return defineProperty(func, 'toString', {
            'configurable': true,
            'enumerable': false,
            'value': constant(string),
            'writable': true
          });
        };
    
        /**
         * The base implementation of `_.shuffle`.
         *
         * @private
         * @param {Array|Object} collection The collection to shuffle.
         * @returns {Array} Returns the new shuffled array.
         */
        function baseShuffle(collection) {
          return shuffleSelf(values(collection));
        }
    
        /**
         * The base implementation of `_.slice` without an iteratee call guard.
         *
         * @private
         * @param {Array} array The array to slice.
         * @param {number} [start=0] The start position.
         * @param {number} [end=array.length] The end position.
         * @returns {Array} Returns the slice of `array`.
         */
        function baseSlice(array, start, end) {
          var index = -1,
              length = array.length;
    
          if (start < 0) {
            start = -start > length ? 0 : (length + start);
          }
          end = end > length ? length : end;
          if (end < 0) {
            end += length;
          }
          length = start > end ? 0 : ((end - start) >>> 0);
          start >>>= 0;
    
          var result = Array(length);
          while (++index < length) {
            result[index] = array[index + start];
          }
          return result;
        }
    
        /**
         * The base implementation of `_.some` without support for iteratee shorthands.
         *
         * @private
         * @param {Array|Object} collection The collection to iterate over.
         * @param {Function} predicate The function invoked per iteration.
         * @returns {boolean} Returns `true` if any element passes the predicate check,
         *  else `false`.
         */
        function baseSome(collection, predicate) {
          var result;
    
          baseEach(collection, function(value, index, collection) {
            result = predicate(value, index, collection);
            return !result;
          });
          return !!result;
        }
    
        /**
         * The base implementation of `_.sortedIndex` and `_.sortedLastIndex` which
         * performs a binary search of `array` to determine the index at which `value`
         * should be inserted into `array` in order to maintain its sort order.
         *
         * @private
         * @param {Array} array The sorted array to inspect.
         * @param {*} value The value to evaluate.
         * @param {boolean} [retHighest] Specify returning the highest qualified index.
         * @returns {number} Returns the index at which `value` should be inserted
         *  into `array`.
         */
        function baseSortedIndex(array, value, retHighest) {
          var low = 0,
              high = array == null ? low : array.length;
    
          if (typeof value == 'number' && value === value && high <= HALF_MAX_ARRAY_LENGTH) {
            while (low < high) {
              var mid = (low + high) >>> 1,
                  computed = array[mid];
    
              if (computed !== null && !isSymbol(computed) &&
                  (retHighest ? (computed <= value) : (computed < value))) {
                low = mid + 1;
              } else {
                high = mid;
              }
            }
            return high;
          }
          return baseSortedIndexBy(array, value, identity, retHighest);
        }
    
        /**
         * The base implementation of `_.sortedIndexBy` and `_.sortedLastIndexBy`
         * which invokes `iteratee` for `value` and each element of `array` to compute
         * their sort ranking. The iteratee is invoked with one argument; (value).
         *
         * @private
         * @param {Array} array The sorted array to inspect.
         * @param {*} value The value to evaluate.
         * @param {Function} iteratee The iteratee invoked per element.
         * @param {boolean} [retHighest] Specify returning the highest qualified index.
         * @returns {number} Returns the index at which `value` should be inserted
         *  into `array`.
         */
        function baseSortedIndexBy(array, value, iteratee, retHighest) {
          var low = 0,
              high = array == null ? 0 : array.length;
          if (high === 0) {
            return 0;
          }
    
          value = iteratee(value);
          var valIsNaN = value !== value,
              valIsNull = value === null,
              valIsSymbol = isSymbol(value),
              valIsUndefined = value === undefined;
    
          while (low < high) {
            var mid = nativeFloor((low + high) / 2),
                computed = iteratee(array[mid]),
                othIsDefined = computed !== undefined,
                othIsNull = computed === null,
                othIsReflexive = computed === computed,
                othIsSymbol = isSymbol(computed);
    
            if (valIsNaN) {
              var setLow = retHighest || othIsReflexive;
            } else if (valIsUndefined) {
              setLow = othIsReflexive && (retHighest || othIsDefined);
            } else if (valIsNull) {
              setLow = othIsReflexive && othIsDefined && (retHighest || !othIsNull);
            } else if (valIsSymbol) {
              setLow = othIsReflexive && othIsDefined && !othIsNull && (retHighest || !othIsSymbol);
            } else if (othIsNull || othIsSymbol) {
              setLow = false;
            } else {
              setLow = retHighest ? (computed <= value) : (computed < value);
            }
            if (setLow) {
              low = mid + 1;
            } else {
              high = mid;
            }
          }
          return nativeMin(high, MAX_ARRAY_INDEX);
        }
    
        /**
         * The base implementation of `_.sortedUniq` and `_.sortedUniqBy` without
         * support for iteratee shorthands.
         *
         * @private
         * @param {Array} array The array to inspect.
         * @param {Function} [iteratee] The iteratee invoked per element.
         * @returns {Array} Returns the new duplicate free array.
         */
        function baseSortedUniq(array, iteratee) {
          var index = -1,
              length = array.length,
              resIndex = 0,
              result = [];
    
          while (++index < length) {
            var value = array[index],
                computed = iteratee ? iteratee(value) : value;
    
            if (!index || !eq(computed, seen)) {
              var seen = computed;
              result[resIndex++] = value === 0 ? 0 : value;
            }
          }
          return result;
        }
    
        /**
         * The base implementation of `_.toNumber` which doesn't ensure correct
         * conversions of binary, hexadecimal, or octal string values.
         *
         * @private
         * @param {*} value The value to process.
         * @returns {number} Returns the number.
         */
        function baseToNumber(value) {
          if (typeof value == 'number') {
            return value;
          }
          if (isSymbol(value)) {
            return NAN;
          }
          return +value;
        }
    
        /**
         * The base implementation of `_.toString` which doesn't convert nullish
         * values to empty strings.
         *
         * @private
         * @param {*} value The value to process.
         * @returns {string} Returns the string.
         */
        function baseToString(value) {
          // Exit early for strings to avoid a performance hit in some environments.
          if (typeof value == 'string') {
            return value;
          }
          if (isArray(value)) {
            // Recursively convert values (susceptible to call stack limits).
            return arrayMap(value, baseToString) + '';
          }
          if (isSymbol(value)) {
            return symbolToString ? symbolToString.call(value) : '';
          }
          var result = (value + '');
          return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;
        }
    
        /**
         * The base implementation of `_.uniqBy` without support for iteratee shorthands.
         *
         * @private
         * @param {Array} array The array to inspect.
         * @param {Function} [iteratee] The iteratee invoked per element.
         * @param {Function} [comparator] The comparator invoked per element.
         * @returns {Array} Returns the new duplicate free array.
         */
        function baseUniq(array, iteratee, comparator) {
          var index = -1,
              includes = arrayIncludes,
              length = array.length,
              isCommon = true,
              result = [],
              seen = result;
    
          if (comparator) {
            isCommon = false;
            includes = arrayIncludesWith;
          }
          else if (length >= LARGE_ARRAY_SIZE) {
            var set = iteratee ? null : createSet(array);
            if (set) {
              return setToArray(set);
            }
            isCommon = false;
            includes = cacheHas;
            seen = new SetCache;
          }
          else {
            seen = iteratee ? [] : result;
          }
          outer:
          while (++index < length) {
            var value = array[index],
                computed = iteratee ? iteratee(value) : value;
    
            value = (comparator || value !== 0) ? value : 0;
            if (isCommon && computed === computed) {
              var seenIndex = seen.length;
              while (seenIndex--) {
                if (seen[seenIndex] === computed) {
                  continue outer;
                }
              }
              if (iteratee) {
                seen.push(computed);
              }
              result.push(value);
            }
            else if (!includes(seen, computed, comparator)) {
              if (seen !== result) {
                seen.push(computed);
              }
              result.push(value);
            }
          }
          return result;
        }
    
        /**
         * The base implementation of `_.unset`.
         *
         * @private
         * @param {Object} object The object to modify.
         * @param {Array|string} path The property path to unset.
         * @returns {boolean} Returns `true` if the property is deleted, else `false`.
         */
        function baseUnset(object, path) {
          path = castPath(path, object);
    
          // Prevent prototype pollution, see: https://github.com/lodash/lodash/security/advisories/GHSA-xxjr-mmjv-4gpg
          var index = -1,
              length = path.length;
    
          if (!length) {
            return true;
          }
    
          var isRootPrimitive = object == null || (typeof object !== 'object' && typeof object !== 'function');
    
          while (++index < length) {
            var key = path[index];
    
            // skip non-string keys (e.g., Symbols, numbers)
            if (typeof key !== 'string') {
              continue;
            }
    
            // Always block "__proto__" anywhere in the path if it's not expected
            if (key === '__proto__' && !hasOwnProperty.call(object, '__proto__')) {
              return false;
            }
    
            // Block "constructor.prototype" chains
            if (key === 'constructor' &&
                (index + 1) < length &&
                typeof path[index + 1] === 'string' &&
                path[index + 1] === 'prototype') {
    
              // Allow ONLY when the path starts at a primitive root, e.g., _.unset(0, 'constructor.prototype.a')
              if (isRootPrimitive && index === 0) {
                continue;
              }
    
              return false;
            }
          }
    
          var obj = parent(object, path);
          return obj == null || delete obj[toKey(last(path))];
        }
    
        /**
         * The base implementation of `_.update`.
         *
         * @private
         * @param {Object} object The object to modify.
         * @param {Array|string} path The path of the property to update.
         * @param {Function} updater The function to produce the updated value.
         * @param {Function} [customizer] The function to customize path creation.
         * @returns {Object} Returns `object`.
         */
        function baseUpdate(object, path, updater, customizer) {
          return baseSet(object, path, updater(baseGet(object, path)), customizer);
        }
    
        /**
         * The base implementation of methods like `_.dropWhile` and `_.takeWhile`
         * without support for iteratee shorthands.
         *
         * @private
         * @param {Array} array The array to query.
         * @param {Function} predicate The function invoked per iteration.
         * @param {boolean} [isDrop] Specify dropping elements instead of taking them.
         * @param {boolean} [fromRight] Specify iterating from right to left.
         * @returns {Array} Returns the slice of `array`.
         */
        function baseWhile(array, predicate, isDrop, fromRight) {
          var length = array.length,
              index = fromRight ? length : -1;
    
          while ((fromRight ? index-- : ++index < length) &&
            predicate(array[index], index, array)) {}
    
          return isDrop
            ? baseSlice(array, (fromRight ? 0 : index), (fromRight ? index + 1 : length))
            : baseSlice(array, (fromRight ? index + 1 : 0), (fromRight ? length : index));
        }
    
        /**
         * The base implementation of `wrapperValue` which returns the result of
         * performing a sequence of actions on the unwrapped `value`, where each
         * successive action is supplied the return value of the previous.
         *
         * @private
         * @param {*} value The unwrapped value.
         * @param {Array} actions Actions to perform to resolve the unwrapped value.
         * @returns {*} Returns the resolved value.
         */
        function baseWrapperValue(value, actions) {
          var result = value;
          if (result instanceof LazyWrapper) {
            result = result.value();
          }
          return arrayReduce(actions, function(result, action) {
            return action.func.apply(action.thisArg, arrayPush([result], action.args));
          }, result);
        }
    
        /**
         * The base implementation of methods like `_.xor`, without support for
         * iteratee shorthands, that accepts an array of arrays to inspect.
         *
         * @private
         * @param {Array} arrays The arrays to inspect.
         * @param {Function} [iteratee] The iteratee invoked per element.
         * @param {Function} [comparator] The comparator invoked per element.
         * @returns {Array} Returns the new array of values.
         */
        function baseXor(arrays, iteratee, comparator) {
          var length = arrays.length;
          if (length < 2) {
            return length ? baseUniq(arrays[0]) : [];
          }
          var index = -1,
              result = Array(length);
    
          while (++index < length) {
            var array = arrays[index],
                othIndex = -1;
    
            while (++othIndex < length) {
              if (othIndex != index) {
                result[index] = baseDifference(result[index] || array, arrays[othIndex], iteratee, comparator);
              }
            }
          }
          return baseUniq(baseFlatten(result, 1), iteratee, comparator);
        }
    
        /**
         * This base implementation of `_.zipObject` which assigns values using `assignFunc`.
         *
         * @private
         * @param {Array} props The property identifiers.
         * @param {Array} values The property values.
         * @param {Function} assignFunc The function to assign values.
         * @returns {Object} Returns the new object.
         */
        function baseZipObject(props, values, assignFunc) {
          var index = -1,
              length = props.length,
              valsLength = values.length,
              result = {};
    
          while (++index < length) {
            var value = index < valsLength ? values[index] : undefined;
            assignFunc(result, props[index], value);
          }
          return result;
        }
    
        /**
         * Casts `value` to an empty array if it's not an array like object.
         *
         * @private
         * @param {*} value The value to inspect.
         * @returns {Array|Object} Returns the cast array-like object.
         */
        function castArrayLikeObject(value) {
          return isArrayLikeObject(value) ? value : [];
        }
    
        /**
         * Casts `value` to `identity` if it's not a function.
         *
         * @private
         * @param {*} value The value to inspect.
         * @returns {Function} Returns cast function.
         */
        function castFunction(value) {
          return typeof value == 'function' ? value : identity;
        }
    
        /**
         * Casts `value` to a path array if it's not one.
         *
         * @private
         * @param {*} value The value to inspect.
         * @param {Object} [object] The object to query keys on.
         * @returns {Array} Returns the cast property path array.
         */
        function castPath(value, object) {
          if (isArray(value)) {
            return value;
          }
          return isKey(value, object) ? [value] : stringToPath(toString(value));
        }
    
        /**
         * A `baseRest` alias which can be replaced with `identity` by module
         * replacement plugins.
         *
         * @private
         * @type {Function}
         * @param {Function} func The function to apply a rest parameter to.
         * @returns {Function} Returns the new function.
         */
        var castRest = baseRest;
    
        /**
         * Casts `array` to a slice if it's needed.
         *
         * @private
         * @param {Array} array The array to inspect.
         * @param {number} start The start position.
         * @param {number} [end=array.length] The end position.
         * @returns {Array} Returns the cast slice.
         */
        function castSlice(array, start, end) {
          var length = array.length;
          end = end === undefined ? length : end;
          return (!start && end >= length) ? array : baseSlice(array, start, end);
        }
    
        /**
         * A simple wrapper around the global [`clearTimeout`](https://mdn.io/clearTimeout).
         *
         * @private
         * @param {number|Object} id The timer id or timeout object of the timer to clear.
         */
        var clearTimeout = ctxClearTimeout || function(id) {
          return root.clearTimeout(id);
        };
    
        /**
         * Creates a clone of  `buffer`.
         *
         * @private
         * @param {Buffer} buffer The buffer to clone.
         * @param {boolean} [isDeep] Specify a deep clone.
         * @returns {Buffer} Returns the cloned buffer.
         */
        function cloneBuffer(buffer, isDeep) {
          if (isDeep) {
            return buffer.slice();
          }
          var length = buffer.length,
              result = allocUnsafe ? allocUnsafe(length) : new buffer.constructor(length);
    
          buffer.copy(result);
          return result;
        }
    
        /**
         * Creates a clone of `arrayBuffer`.
         *
         * @private
         * @param {ArrayBuffer} arrayBuffer The array buffer to clone.
         * @returns {ArrayBuffer} Returns the cloned array buffer.
         */
        function cloneArrayBuffer(arrayBuffer) {
          var result = new arrayBuffer.constructor(arrayBuffer.byteLength);
          new Uint8Array(result).set(new Uint8Array(arrayBuffer));
          return result;
        }
    
        /**
         * Creates a clone of `dataView`.
         *
         * @private
         * @param {Object} dataView The data view to clone.
         * @param {boolean} [isDeep] Specify a deep clone.
         * @returns {Object} Returns the cloned data view.
         */
        function cloneDataView(dataView, isDeep) {
          var buffer = isDeep ? cloneArrayBuffer(dataView.buffer) : dataView.buffer;
          return new dataView.constructor(buffer, dataView.byteOffset, dataView.byteLength);
        }
    
        /**
         * Creates a clone of `regexp`.
         *
         * @private
         * @param {Object} regexp The regexp to clone.
         * @returns {Object} Returns the cloned regexp.
         */
        function cloneRegExp(regexp) {
          var result = new regexp.constructor(regexp.source, reFlags.exec(regexp));
          result.lastIndex = regexp.lastIndex;
          return result;
        }
    
        /**
         * Creates a clone of the `symbol` object.
         *
         * @private
         * @param {Object} symbol The symbol object to clone.
         * @returns {Object} Returns the cloned symbol object.
         */
        function cloneSymbol(symbol) {
          return symbolValueOf ? Object(symbolValueOf.call(symbol)) : {};
        }
    
        /**
         * Creates a clone of `typedArray`.
         *
         * @private
         * @param {Object} typedArray The typed array to clone.
         * @param {boolean} [isDeep] Specify a deep clone.
         * @returns {Object} Returns the cloned typed array.
         */
        function cloneTypedArray(typedArray, isDeep) {
          var buffer = isDeep ? cloneArrayBuffer(typedArray.buffer) : typedArray.buffer;
          return new typedArray.constructor(buffer, typedArray.byteOffset, typedArray.length);
        }
    
        /**
         * Compares values to sort them in ascending order.
         *
         * @private
         * @param {*} value The value to compare.
         * @param {*} other The other value to compare.
         * @returns {number} Returns the sort order indicator for `value`.
         */
        function compareAscending(value, other) {
          if (value !== other) {
            var valIsDefined = value !== undefined,
                valIsNull = value === null,
                valIsReflexive = value === value,
                valIsSymbol = isSymbol(value);
    
            var othIsDefined = other !== undefined,
                othIsNull = other === null,
                othIsReflexive = other === other,
                othIsSymbol = isSymbol(other);
    
            if ((!othIsNull && !othIsSymbol && !valIsSymbol && value > other) ||
                (valIsSymbol && othIsDefined && othIsReflexive && !othIsNull && !othIsSymbol) ||
                (valIsNull && othIsDefined && othIsReflexive) ||
                (!valIsDefined && othIsReflexive) ||
                !valIsReflexive) {
              return 1;
            }
            if ((!valIsNull && !valIsSymbol && !othIsSymbol && value < other) ||
                (othIsSymbol && valIsDefined && valIsReflexive && !valIsNull && !valIsSymbol) ||
                (othIsNull && valIsDefined && valIsReflexive) ||
                (!othIsDefined && valIsReflexive) ||
                !othIsReflexive) {
              return -1;
            }
          }
          return 0;
        }
    
        /**
         * Used by `_.orderBy` to compare multiple properties of a value to another
         * and stable sort them.
         *
         * If `orders` is unspecified, all values are sorted in ascending order. Otherwise,
         * specify an order of "desc" for descending or "asc" for ascending sort order
         * of corresponding values.
         *
         * @private
         * @param {Object} object The object to compare.
         * @param {Object} other The other object to compare.
         * @param {boolean[]|string[]} orders The order to sort by for each property.
         * @returns {number} Returns the sort order indicator for `object`.
         */
        function compareMultiple(object, other, orders) {
          var index = -1,
              objCriteria = object.criteria,
              othCriteria = other.criteria,
              length = objCriteria.length,
              ordersLength = orders.length;
    
          while (++index < length) {
            var result = compareAscending(objCriteria[index], othCriteria[index]);
            if (result) {
              if (index >= ordersLength) {
                return result;
              }
              var order = orders[index];
              return result * (order == 'desc' ? -1 : 1);
            }
          }
          // Fixes an `Array#sort` bug in the JS engine embedded in Adobe applications
          // that causes it, under certain circumstances, to provide the same value for
          // `object` and `other`. See https://github.com/jashkenas/underscore/pull/1247
          // for more details.
          //
          // This also ensures a stable sort in V8 and other engines.
          // See https://bugs.chromium.org/p/v8/issues/detail?id=90 for more details.
          return object.index - other.index;
        }
    
        /**
         * Creates an array that is the composition of partially applied arguments,
         * placeholders, and provided arguments into a single array of arguments.
         *
         * @private
         * @param {Array} args The provided arguments.
         * @param {Array} partials The arguments to prepend to those provided.
         * @param {Array} holders The `partials` placeholder indexes.
         * @params {boolean} [isCurried] Specify composing for a curried function.
         * @returns {Array} Returns the new array of composed arguments.
         */
        function composeArgs(args, partials, holders, isCurried) {
          var argsIndex = -1,
              argsLength = args.length,
              holdersLength = holders.length,
              leftIndex = -1,
              leftLength = partials.length,
              rangeLength = nativeMax(argsLength - holdersLength, 0),
              result = Array(leftLength + rangeLength),
              isUncurried = !isCurried;
    
          while (++leftIndex < leftLength) {
            result[leftIndex] = partials[leftIndex];
          }
          while (++argsIndex < holdersLength) {
            if (isUncurried || argsIndex < argsLength) {
              result[holders[argsIndex]] = args[argsIndex];
            }
          }
          while (rangeLength--) {
            result[leftIndex++] = args[argsIndex++];
          }
          return result;
        }
    
        /**
         * This function is like `composeArgs` except that the arguments composition
         * is tailored for `_.partialRight`.
         *
         * @private
         * @param {Array} args The provided arguments.
         * @param {Array} partials The arguments to append to those provided.
         * @param {Array} holders The `partials` placeholder indexes.
         * @params {boolean} [isCurried] Specify composing for a curried function.
         * @returns {Array} Returns the new array of composed arguments.
         */
        function composeArgsRight(args, partials, holders, isCurried) {
          var argsIndex = -1,
              argsLength = args.length,
              holdersIndex = -1,
              holdersLength = holders.length,
              rightIndex = -1,
              rightLength = partials.length,
              rangeLength = nativeMax(argsLength - holdersLength, 0),
              result = Array(rangeLength + rightLength),
              isUncurried = !isCurried;
    
          while (++argsIndex < rangeLength) {
            result[argsIndex] = args[argsIndex];
          }
          var offset = argsIndex;
          while (++rightIndex < rightLength) {
            result[offset + rightIndex] = partials[rightIndex];
          }
          while (++holdersIndex < holdersLength) {
            if (isUncurried || argsIndex < argsLength) {
              result[offset + holders[holdersIndex]] = args[argsIndex++];
            }
          }
          return result;
        }
    
        /**
         * Copies the values of `source` to `array`.
         *
         * @private
         * @param {Array} source The array to copy values from.
         * @param {Array} [array=[]] The array to copy values to.
         * @returns {Array} Returns `array`.
         */
        function copyArray(source, array) {
          var index = -1,
              length = source.length;
    
          array || (array = Array(length));
          while (++index < length) {
            array[index] = source[index];
          }
          return array;
        }
    
        /**
         * Copies properties of `source` to `object`.
         *
         * @private
         * @param {Object} source The object to copy properties from.
         * @param {Array} props The property identifiers to copy.
         * @param {Object} [object={}] The object to copy properties to.
         * @param {Function} [customizer] The function to customize copied values.
         * @returns {Object} Returns `object`.
         */
        function copyObject(source, props, object, customizer) {
          var isNew = !object;
          object || (object = {});
    
          var index = -1,
              length = props.length;
    
          while (++index < length) {
            var key = props[index];
    
            var newValue = customizer
              ? customizer(object[key], source[key], key, object, source)
              : undefined;
    
            if (newValue === undefined) {
              newValue = source[key];
            }
            if (isNew) {
              baseAssignValue(object, key, newValue);
            } else {
              assignValue(object, key, newValue);
            }
          }
          return object;
        }
    
        /**
         * Copies own symbols of `source` to `object`.
         *
         * @private
         * @param {Object} source The object to copy symbols from.
         * @param {Object} [object={}] The object to copy symbols to.
         * @returns {Object} Returns `object`.
         */
        function copySymbols(source, object) {
          return copyObject(source, getSymbols(source), object);
        }
    
        /**
         * Copies own and inherited symbols of `source` to `object`.
         *
         * @private
         * @param {Object} source The object to copy symbols from.
         * @param {Object} [object={}] The object to copy symbols to.
         * @returns {Object} Returns `object`.
         */
        function copySymbolsIn(source, object) {
          return copyObject(source, getSymbolsIn(source), object);
        }
    
        /**
         * Creates a function like `_.groupBy`.
         *
         * @private
         * @param {Function} setter The function to set accumulator values.
         * @param {Function} [initializer] The accumulator object initializer.
         * @returns {Function} Returns the new aggregator function.
         */
        function createAggregator(setter, initializer) {
          return function(collection, iteratee) {
            var func = isArray(collection) ? arrayAggregator : baseAggregator,
                accumulator = initializer ? initializer() : {};
    
            return func(collection, setter, getIteratee(iteratee, 2), accumulator);
          };
        }
    
        /**
         * Creates a function like `_.assign`.
         *
         * @private
         * @param {Function} assigner The function to assign values.
         * @returns {Function} Returns the new assigner function.
         */
        function createAssigner(assigner) {
          return baseRest(function(object, sources) {
            var index = -1,
                length = sources.length,
                customizer = length > 1 ? sources[length - 1] : undefined,
                guard = length > 2 ? sources[2] : undefined;
    
            customizer = (assigner.length > 3 && typeof customizer == 'function')
              ? (length--, customizer)
              : undefined;
    
            if (guard && isIterateeCall(sources[0], sources[1], guard)) {
              customizer = length < 3 ? undefined : customizer;
              length = 1;
            }
            object = Object(object);
            while (++index < length) {
              var source = sources[index];
              if (source) {
                assigner(object, source, index, customizer);
              }
            }
            return object;
          });
        }
    
        /**
         * Creates a `baseEach` or `baseEachRight` function.
         *
         * @private
         * @param {Function} eachFunc The function to iterate over a collection.
         * @param {boolean} [fromRight] Specify iterating from right to left.
         * @returns {Function} Returns the new base function.
         */
        function createBaseEach(eachFunc, fromRight) {
          return function(collection, iteratee) {
            if (collection == null) {
              return collection;
            }
            if (!isArrayLike(collection)) {
              return eachFunc(collection, iteratee);
            }
            var length = collection.length,
                index = fromRight ? length : -1,
                iterable = Object(collection);
    
            while ((fromRight ? index-- : ++index < length)) {
              if (iteratee(iterable[index], index, iterable) === false) {
                break;
              }
            }
            return collection;
          };
        }
    
        /**
         * Creates a base function for methods like `_.forIn` and `_.forOwn`.
         *
         * @private
         * @param {boolean} [fromRight] Specify iterating from right to left.
         * @returns {Function} Returns the new base function.
         */
        function createBaseFor(fromRight) {
          return function(object, iteratee, keysFunc) {
            var index = -1,
                iterable = Object(object),
                props = keysFunc(object),
                length = props.length;
    
            while (length--) {
              var key = props[fromRight ? length : ++index];
              if (iteratee(iterable[key], key, iterable) === false) {
                break;
              }
            }
            return object;
          };
        }
    
        /**
         * Creates a function that wraps `func` to invoke it with the optional `this`
         * binding of `thisArg`.
         *
         * @private
         * @param {Function} func The function to wrap.
         * @param {number} bitmask The bitmask flags. See `createWrap` for more details.
         * @param {*} [thisArg] The `this` binding of `func`.
         * @returns {Function} Returns the new wrapped function.
         */
        function createBind(func, bitmask, thisArg) {
          var isBind = bitmask & WRAP_BIND_FLAG,
              Ctor = createCtor(func);
    
          function wrapper() {
            var fn = (this && this !== root && this instanceof wrapper) ? Ctor : func;
            return fn.apply(isBind ? thisArg : this, arguments);
          }
          return wrapper;
        }
    
        /**
         * Creates a function like `_.lowerFirst`.
         *
         * @private
         * @param {string} methodName The name of the `String` case method to use.
         * @returns {Function} Returns the new case function.
         */
        function createCaseFirst(methodName) {
          return function(string) {
            string = toString(string);
    
            var strSymbols = hasUnicode(string)
              ? stringToArray(string)
              : undefined;
    
            var chr = strSymbols
              ? strSymbols[0]
              : string.charAt(0);
    
            var trailing = strSymbols
              ? castSlice(strSymbols, 1).join('')
              : string.slice(1);
    
            return chr[methodName]() + trailing;
          };
        }
    
        /**
         * Creates a function like `_.camelCase`.
         *
         * @private
         * @param {Function} callback The function to combine each word.
         * @returns {Function} Returns the new compounder function.
         */
        function createCompounder(callback) {
          return function(string) {
            return arrayReduce(words(deburr(string).replace(reApos, '')), callback, '');
          };
        }
    
        /**
         * Creates a function that produces an instance of `Ctor` regardless of
         * whether it was invoked as part of a `new` expression or by `call` or `apply`.
         *
         * @private
         * @param {Function} Ctor The constructor to wrap.
         * @returns {Function} Returns the new wrapped function.
         */
        function createCtor(Ctor) {
          return function() {
            // Use a `switch` statement to work with class constructors. See
            // http://ecma-international.org/ecma-262/7.0/#sec-ecmascript-function-objects-call-thisargument-argumentslist
            // for more details.
            var args = arguments;
            switch (args.length) {
              case 0: return new Ctor;
              case 1: return new Ctor(args[0]);
              case 2: return new Ctor(args[0], args[1]);
              case 3: return new Ctor(args[0], args[1], args[2]);
              case 4: return new Ctor(args[0], args[1], args[2], args[3]);
              case 5: return new Ctor(args[0], args[1], args[2], args[3], args[4]);
              case 6: return new Ctor(args[0], args[1], args[2], args[3], args[4], args[5]);
              case 7: return new Ctor(args[0], args[1], args[2], args[3], args[4], args[5], args[6]);
            }
            var thisBinding = baseCreate(Ctor.prototype),
                result = Ctor.apply(thisBinding, args);
    
            // Mimic the constructor's `return` behavior.
            // See https://es5.github.io/#x13.2.2 for more details.
            return isObject(result) ? result : thisBinding;
          };
        }
    
        /**
         * Creates a function that wraps `func` to enable currying.
         *
         * @private
         * @param {Function} func The function to wrap.
         * @param {number} bitmask The bitmask flags. See `createWrap` for more details.
         * @param {number} arity The arity of `func`.
         * @returns {Function} Returns the new wrapped function.
         */
        function createCurry(func, bitmask, arity) {
          var Ctor = createCtor(func);
    
          function wrapper() {
            var length = arguments.length,
                args = Array(length),
                index = length,
                placeholder = getHolder(wrapper);
    
            while (index--) {
              args[index] = arguments[index];
            }
            var holders = (length < 3 && args[0] !== placeholder && args[length - 1] !== placeholder)
              ? []
              : replaceHolders(args, placeholder);
    
            length -= holders.length;
            if (length < arity) {
              return createRecurry(
                func, bitmask, createHybrid, wrapper.placeholder, undefined,
                args, holders, undefined, undefined, arity - length);
            }
            var fn = (this && this !== root && this instanceof wrapper) ? Ctor : func;
            return apply(fn, this, args);
          }
          return wrapper;
        }
    
        /**
         * Creates a `_.find` or `_.findLast` function.
         *
         * @private
         * @param {Function} findIndexFunc The function to find the collection index.
         * @returns {Function} Returns the new find function.
         */
        function createFind(findIndexFunc) {
          return function(collection, predicate, fromIndex) {
            var iterable = Object(collection);
            if (!isArrayLike(collection)) {
              var iteratee = getIteratee(predicate, 3);
              collection = keys(collection);
              predicate = function(key) { return iteratee(iterable[key], key, iterable); };
            }
            var index = findIndexFunc(collection, predicate, fromIndex);
            return index > -1 ? iterable[iteratee ? collection[index] : index] : undefined;
          };
        }
    
        /**
         * Creates a `_.flow` or `_.flowRight` function.
         *
         * @private
         * @param {boolean} [fromRight] Specify iterating from right to left.
         * @returns {Function} Returns the new flow function.
         */
        function createFlow(fromRight) {
          return flatRest(function(funcs) {
            var length = funcs.length,
                index = length,
                prereq = LodashWrapper.prototype.thru;
    
            if (fromRight) {
              funcs.reverse();
            }
            while (index--) {
              var func = funcs[index];
              if (typeof func != 'function') {
                throw new TypeError(FUNC_ERROR_TEXT);
              }
              if (prereq && !wrapper && getFuncName(func) == 'wrapper') {
                var wrapper = new LodashWrapper([], true);
              }
            }
            index = wrapper ? index : length;
            while (++index < length) {
              func = funcs[index];
    
              var funcName = getFuncName(func),
                  data = funcName == 'wrapper' ? getData(func) : undefined;
    
              if (data && isLaziable(data[0]) &&
                    data[1] == (WRAP_ARY_FLAG | WRAP_CURRY_FLAG | WRAP_PARTIAL_FLAG | WRAP_REARG_FLAG) &&
                    !data[4].length && data[9] == 1
                  ) {
                wrapper = wrapper[getFuncName(data[0])].apply(wrapper, data[3]);
              } else {
                wrapper = (func.length == 1 && isLaziable(func))
                  ? wrapper[funcName]()
                  : wrapper.thru(func);
              }
            }
            return function() {
              var args = arguments,
                  value = args[0];
    
              if (wrapper && args.length == 1 && isArray(value)) {
                return wrapper.plant(value).value();
              }
              var index = 0,
                  result = length ? funcs[index].apply(this, args) : value;
    
              while (++index < length) {
                result = funcs[index].call(this, result);
              }
              return result;
            };
          });
        }
    
        /**
         * Creates a function that wraps `func` to invoke it with optional `this`
         * binding of `thisArg`, partial application, and currying.
         *
         * @private
         * @param {Function|string} func The function or method name to wrap.
         * @param {number} bitmask The bitmask flags. See `createWrap` for more details.
         * @param {*} [thisArg] The `this` binding of `func`.
         * @param {Array} [partials] The arguments to prepend to those provided to
         *  the new function.
         * @param {Array} [holders] The `partials` placeholder indexes.
         * @param {Array} [partialsRight] The arguments to append to those provided
         *  to the new function.
         * @param {Array} [holdersRight] The `partialsRight` placeholder indexes.
         * @param {Array} [argPos] The argument positions of the new function.
         * @param {number} [ary] The arity cap of `func`.
         * @param {number} [arity] The arity of `func`.
         * @returns {Function} Returns the new wrapped function.
         */
        function createHybrid(func, bitmask, thisArg, partials, holders, partialsRight, holdersRight, argPos, ary, arity) {
          var isAry = bitmask & WRAP_ARY_FLAG,
              isBind = bitmask & WRAP_BIND_FLAG,
              isBindKey = bitmask & WRAP_BIND_KEY_FLAG,
              isCurried = bitmask & (WRAP_CURRY_FLAG | WRAP_CURRY_RIGHT_FLAG),
              isFlip = bitmask & WRAP_FLIP_FLAG,
              Ctor = isBindKey ? undefined : createCtor(func);
    
          function wrapper() {
            var length = arguments.length,
                args = Array(length),
                index = length;
    
            while (index--) {
              args[index] = arguments[index];
            }
            if (isCurried) {
              var placeholder = getHolder(wrapper),
                  holdersCount = countHolders(args, placeholder);
            }
            if (partials) {
              args = composeArgs(args, partials, holders, isCurried);
            }
            if (partialsRight) {
              args = composeArgsRight(args, partialsRight, holdersRight, isCurried);
            }
            length -= holdersCount;
            if (isCurried && length < arity) {
              var newHolders = replaceHolders(args, placeholder);
              return createRecurry(
                func, bitmask, createHybrid, wrapper.placeholder, thisArg,
                args, newHolders, argPos, ary, arity - length
              );
            }
            var thisBinding = isBind ? thisArg : this,
                fn = isBindKey ? thisBinding[func] : func;
    
            length = args.length;
            if (argPos) {
              args = reorder(args, argPos);
            } else if (isFlip && length > 1) {
              args.reverse();
            }
            if (isAry && ary < length) {
              args.length = ary;
            }
            if (this && this !== root && this instanceof wrapper) {
              fn = Ctor || createCtor(fn);
            }
            return fn.apply(thisBinding, args);
          }
          return wrapper;
        }
    
        /**
         * Creates a function like `_.invertBy`.
         *
         * @private
         * @param {Function} setter The function to set accumulator values.
         * @param {Function} toIteratee The function to resolve iteratees.
         * @returns {Function} Returns the new inverter function.
         */
        function createInverter(setter, toIteratee) {
          return function(object, iteratee) {
            return baseInverter(object, setter, toIteratee(iteratee), {});
          };
        }
    
        /**
         * Creates a function that performs a mathematical operation on two values.
         *
         * @private
         * @param {Function} operator The function to perform the operation.
         * @param {number} [defaultValue] The value used for `undefined` arguments.
         * @returns {Function} Returns the new mathematical operation function.
         */
        function createMathOperation(operator, defaultValue) {
          return function(value, other) {
            var result;
            if (value === undefined && other === undefined) {
              return defaultValue;
            }
            if (value !== undefined) {
              result = value;
            }
            if (other !== undefined) {
              if (result === undefined) {
                return other;
              }
              if (typeof value == 'string' || typeof other == 'string') {
                value = baseToString(value);
                other = baseToString(other);
              } else {
                value = baseToNumber(value);
                other = baseToNumber(other);
              }
              result = operator(value, other);
            }
            return result;
          };
        }
    
        /**
         * Creates a function like `_.over`.
         *
         * @private
         * @param {Function} arrayFunc The function to iterate over iteratees.
         * @returns {Function} Returns the new over function.
         */
        function createOver(arrayFunc) {
          return flatRest(function(iteratees) {
            iteratees = arrayMap(iteratees, baseUnary(getIteratee()));
            return baseRest(function(args) {
              var thisArg = this;
              return arrayFunc(iteratees, function(iteratee) {
                return apply(iteratee, thisArg, args);
              });
            });
          });
        }
    
        /**
         * Creates the padding for `string` based on `length`. The `chars` string
         * is truncated if the number of characters exceeds `length`.
         *
         * @private
         * @param {number} length The padding length.
         * @param {string} [chars=' '] The string used as padding.
         * @returns {string} Returns the padding for `string`.
         */
        function createPadding(length, chars) {
          chars = chars === undefined ? ' ' : baseToString(chars);
    
          var charsLength = chars.length;
          if (charsLength < 2) {
            return charsLength ? baseRepeat(chars, length) : chars;
          }
          var result = baseRepeat(chars, nativeCeil(length / stringSize(chars)));
          return hasUnicode(chars)
            ? castSlice(stringToArray(result), 0, length).join('')
            : result.slice(0, length);
        }
    
        /**
         * Creates a function that wraps `func` to invoke it with the `this` binding
         * of `thisArg` and `partials` prepended to the arguments it receives.
         *
         * @private
         * @param {Function} func The function to wrap.
         * @param {number} bitmask The bitmask flags. See `createWrap` for more details.
         * @param {*} thisArg The `this` binding of `func`.
         * @param {Array} partials The arguments to prepend to those provided to
         *  the new function.
         * @returns {Function} Returns the new wrapped function.
         */
        function createPartial(func, bitmask, thisArg, partials) {
          var isBind = bitmask & WRAP_BIND_FLAG,
              Ctor = createCtor(func);
    
          function wrapper() {
            var argsIndex = -1,
                argsLength = arguments.length,
                leftIndex = -1,
                leftLength = partials.length,
                args = Array(leftLength + argsLength),
                fn = (this && this !== root && this instanceof wrapper) ? Ctor : func;
    
            while (++leftIndex < leftLength) {
              args[leftIndex] = partials[leftIndex];
            }
            while (argsLength--) {
              args[leftIndex++] = arguments[++argsIndex];
            }
            return apply(fn, isBind ? thisArg : this, args);
          }
          return wrapper;
        }
    
        /**
         * Creates a `_.range` or `_.rangeRight` function.
         *
         * @private
         * @param {boolean} [fromRight] Specify iterating from right to left.
         * @returns {Function} Returns the new range function.
         */
        function createRange(fromRight) {
          return function(start, end, step) {
            if (step && typeof step != 'number' && isIterateeCall(start, end, step)) {
              end = step = undefined;
            }
            // Ensure the sign of `-0` is preserved.
            start = toFinite(start);
            if (end === undefined) {
              end = start;
              start = 0;
            } else {
              end = toFinite(end);
            }
            step = step === undefined ? (start < end ? 1 : -1) : toFinite(step);
            return baseRange(start, end, step, fromRight);
          };
        }
    
        /**
         * Creates a function that performs a relational operation on two values.
         *
         * @private
         * @param {Function} operator The function to perform the operation.
         * @returns {Function} Returns the new relational operation function.
         */
        function createRelationalOperation(operator) {
          return function(value, other) {
            if (!(typeof value == 'string' && typeof other == 'string')) {
              value = toNumber(value);
              other = toNumber(other);
            }
            return operator(value, other);
          };
        }
    
        /**
         * Creates a function that wraps `func` to continue currying.
         *
         * @private
         * @param {Function} func The function to wrap.
         * @param {number} bitmask The bitmask flags. See `createWrap` for more details.
         * @param {Function} wrapFunc The function to create the `func` wrapper.
         * @param {*} placeholder The placeholder value.
         * @param {*} [thisArg] The `this` binding of `func`.
         * @param {Array} [partials] The arguments to prepend to those provided to
         *  the new function.
         * @param {Array} [holders] The `partials` placeholder indexes.
         * @param {Array} [argPos] The argument positions of the new function.
         * @param {number} [ary] The arity cap of `func`.
         * @param {number} [arity] The arity of `func`.
         * @returns {Function} Returns the new wrapped function.
         */
        function createRecurry(func, bitmask, wrapFunc, placeholder, thisArg, partials, holders, argPos, ary, arity) {
          var isCurry = bitmask & WRAP_CURRY_FLAG,
              newHolders = isCurry ? holders : undefined,
              newHoldersRight = isCurry ? undefined : holders,
              newPartials = isCurry ? partials : undefined,
              newPartialsRight = isCurry ? undefined : partials;
    
          bitmask |= (isCurry ? WRAP_PARTIAL_FLAG : WRAP_PARTIAL_RIGHT_FLAG);
          bitmask &= ~(isCurry ? WRAP_PARTIAL_RIGHT_FLAG : WRAP_PARTIAL_FLAG);
    
          if (!(bitmask & WRAP_CURRY_BOUND_FLAG)) {
            bitmask &= ~(WRAP_BIND_FLAG | WRAP_BIND_KEY_FLAG);
          }
          var newData = [
            func, bitmask, thisArg, newPartials, newHolders, newPartialsRight,
            newHoldersRight, argPos, ary, arity
          ];
    
          var result = wrapFunc.apply(undefined, newData);
          if (isLaziable(func)) {
            setData(result, newData);
          }
          result.placeholder = placeholder;
          return setWrapToString(result, func, bitmask);
        }
    
        /**
         * Creates a function like `_.round`.
         *
         * @private
         * @param {string} methodName The name of the `Math` method to use when rounding.
         * @returns {Function} Returns the new round function.
         */
        function createRound(methodName) {
          var func = Math[methodName];
          return function(number, precision) {
            number = toNumber(number);
            precision = precision == null ? 0 : nativeMin(toInteger(precision), 292);
            if (precision && nativeIsFinite(number)) {
              // Shift with exponential notation to avoid floating-point issues.
              // See [MDN](https://mdn.io/round#Examples) for more details.
              var pair = (toString(number) + 'e').split('e'),
                  value = func(pair[0] + 'e' + (+pair[1] + precision));
    
              pair = (toString(value) + 'e').split('e');
              return +(pair[0] + 'e' + (+pair[1] - precision));
            }
            return func(number);
          };
        }
    
        /**
         * Creates a set object of `values`.
         *
         * @private
         * @param {Array} values The values to add to the set.
         * @returns {Object} Returns the new set.
         */
        var createSet = !(Set && (1 / setToArray(new Set([,-0]))[1]) == INFINITY) ? noop : function(values) {
          return new Set(values);
        };
    
        /**
         * Creates a `_.toPairs` or `_.toPairsIn` function.
         *
         * @private
         * @param {Function} keysFunc The function to get the keys of a given object.
         * @returns {Function} Returns the new pairs function.
         */
        function createToPairs(keysFunc) {
          return function(object) {
            var tag = getTag(object);
            if (tag == mapTag) {
              return mapToArray(object);
            }
            if (tag == setTag) {
              return setToPairs(object);
            }
            return baseToPairs(object, keysFunc(object));
          };
        }
    
        /**
         * Creates a function that either curries or invokes `func` with optional
         * `this` binding and partially applied arguments.
         *
         * @private
         * @param {Function|string} func The function or method name to wrap.
         * @param {number} bitmask The bitmask flags.
         *    1 - `_.bind`
         *    2 - `_.bindKey`
         *    4 - `_.curry` or `_.curryRight` of a bound function
         *    8 - `_.curry`
         *   16 - `_.curryRight`
         *   32 - `_.partial`
         *   64 - `_.partialRight`
         *  128 - `_.rearg`
         *  256 - `_.ary`
         *  512 - `_.flip`
         * @param {*} [thisArg] The `this` binding of `func`.
         * @param {Array} [partials] The arguments to be partially applied.
         * @param {Array} [holders] The `partials` placeholder indexes.
         * @param {Array} [argPos] The argument positions of the new function.
         * @param {number} [ary] The arity cap of `func`.
         * @param {number} [arity] The arity of `func`.
         * @returns {Function} Returns the new wrapped function.
         */
        function createWrap(func, bitmask, thisArg, partials, holders, argPos, ary, arity) {
          var isBindKey = bitmask & WRAP_BIND_KEY_FLAG;
          if (!isBindKey && typeof func != 'function') {
            throw new TypeError(FUNC_ERROR_TEXT);
          }
          var length = partials ? partials.length : 0;
          if (!length) {
            bitmask &= ~(WRAP_PARTIAL_FLAG | WRAP_PARTIAL_RIGHT_FLAG);
            partials = holders = undefined;
          }
          ary = ary === undefined ? ary : nativeMax(toInteger(ary), 0);
          arity = arity === undefined ? arity : toInteger(arity);
          length -= holders ? holders.length : 0;
    
          if (bitmask & WRAP_PARTIAL_RIGHT_FLAG) {
            var partialsRight = partials,
                holdersRight = holders;
    
            partials = holders = undefined;
          }
          var data = isBindKey ? undefined : getData(func);
    
          var newData = [
            func, bitmask, thisArg, partials, holders, partialsRight, holdersRight,
            argPos, ary, arity
          ];
    
          if (data) {
            mergeData(newData, data);
          }
          func = newData[0];
          bitmask = newData[1];
          thisArg = newData[2];
          partials = newData[3];
          holders = newData[4];
          arity = newData[9] = newData[9] === undefined
            ? (isBindKey ? 0 : func.length)
            : nativeMax(newData[9] - length, 0);
    
          if (!arity && bitmask & (WRAP_CURRY_FLAG | WRAP_CURRY_RIGHT_FLAG)) {
            bitmask &= ~(WRAP_CURRY_FLAG | WRAP_CURRY_RIGHT_FLAG);
          }
          if (!bitmask || bitmask == WRAP_BIND_FLAG) {
            var result = createBind(func, bitmask, thisArg);
          } else if (bitmask == WRAP_CURRY_FLAG || bitmask == WRAP_CURRY_RIGHT_FLAG) {
            result = createCurry(func, bitmask, arity);
          } else if ((bitmask == WRAP_PARTIAL_FLAG || bitmask == (WRAP_BIND_FLAG | WRAP_PARTIAL_FLAG)) && !holders.length) {
            result = createPartial(func, bitmask, thisArg, partials);
          } else {
            result = createHybrid.apply(undefined, newData);
          }
          var setter = data ? baseSetData : setData;
          return setWrapToString(setter(result, newData), func, bitmask);
        }
    
        /**
         * Used by `_.defaults` to customize its `_.assignIn` use to assign properties
         * of source objects to the destination object for all destination properties
         * that resolve to `undefined`.
         *
         * @private
         * @param {*} objValue The destination value.
         * @param {*} srcValue The source value.
         * @param {string} key The key of the property to assign.
         * @param {Object} object The parent object of `objValue`.
         * @returns {*} Returns the value to assign.
         */
        function customDefaultsAssignIn(objValue, srcValue, key, object) {
          if (objValue === undefined ||
              (eq(objValue, objectProto[key]) && !hasOwnProperty.call(object, key))) {
            return srcValue;
          }
          return objValue;
        }
    
        /**
         * Used by `_.defaultsDeep` to customize its `_.merge` use to merge source
         * objects into destination objects that are passed thru.
         *
         * @private
         * @param {*} objValue The destination value.
         * @param {*} srcValue The source value.
         * @param {string} key The key of the property to merge.
         * @param {Object} object The parent object of `objValue`.
         * @param {Object} source The parent object of `srcValue`.
         * @param {Object} [stack] Tracks traversed source values and their merged
         *  counterparts.
         * @returns {*} Returns the value to assign.
         */
        function customDefaultsMerge(objValue, srcValue, key, object, source, stack) {
          if (isObject(objValue) && isObject(srcValue)) {
            // Recursively merge objects and arrays (susceptible to call stack limits).
            stack.set(srcValue, objValue);
            baseMerge(objValue, srcValue, undefined, customDefaultsMerge, stack);
            stack['delete'](srcValue);
          }
          return objValue;
        }
    
        /**
         * Used by `_.omit` to customize its `_.cloneDeep` use to only clone plain
         * objects.
         *
         * @private
         * @param {*} value The value to inspect.
         * @param {string} key The key of the property to inspect.
         * @returns {*} Returns the uncloned value or `undefined` to defer cloning to `_.cloneDeep`.
         */
        function customOmitClone(value) {
          return isPlainObject(value) ? undefined : value;
        }
    
        /**
         * A specialized version of `baseIsEqualDeep` for arrays with support for
         * partial deep comparisons.
         *
         * @private
         * @param {Array} array The array to compare.
         * @param {Array} other The other array to compare.
         * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.
         * @param {Function} customizer The function to customize comparisons.
         * @param {Function} equalFunc The function to determine equivalents of values.
         * @param {Object} stack Tracks traversed `array` and `other` objects.
         * @returns {boolean} Returns `true` if the arrays are equivalent, else `false`.
         */
        function equalArrays(array, other, bitmask, customizer, equalFunc, stack) {
          var isPartial = bitmask & COMPARE_PARTIAL_FLAG,
              arrLength = array.length,
              othLength = other.length;
    
          if (arrLength != othLength && !(isPartial && othLength > arrLength)) {
            return false;
          }
          // Check that cyclic values are equal.
          var arrStacked = stack.get(array);
          var othStacked = stack.get(other);
          if (arrStacked && othStacked) {
            return arrStacked == other && othStacked == array;
          }
          var index = -1,
              result = true,
              seen = (bitmask & COMPARE_UNORDERED_FLAG) ? new SetCache : undefined;
    
          stack.set(array, other);
          stack.set(other, array);
    
          // Ignore non-index properties.
          while (++index < arrLength) {
            var arrValue = array[index],
                othValue = other[index];
    
            if (customizer) {
              var compared = isPartial
                ? customizer(othValue, arrValue, index, other, array, stack)
                : customizer(arrValue, othValue, index, array, other, stack);
            }
            if (compared !== undefined) {
              if (compared) {
                continue;
              }
              result = false;
              break;
            }
            // Recursively compare arrays (susceptible to call stack limits).
            if (seen) {
              if (!arraySome(other, function(othValue, othIndex) {
                    if (!cacheHas(seen, othIndex) &&
                        (arrValue === othValue || equalFunc(arrValue, othValue, bitmask, customizer, stack))) {
                      return seen.push(othIndex);
                    }
                  })) {
                result = false;
                break;
              }
            } else if (!(
                  arrValue === othValue ||
                    equalFunc(arrValue, othValue, bitmask, customizer, stack)
                )) {
              result = false;
              break;
            }
          }
          stack['delete'](array);
          stack['delete'](other);
          return result;
        }
    
        /**
         * A specialized version of `baseIsEqualDeep` for comparing objects of
         * the same `toStringTag`.
         *
         * **Note:** This function only supports comparing values with tags of
         * `Boolean`, `Date`, `Error`, `Number`, `RegExp`, or `String`.
         *
         * @private
         * @param {Object} object The object to compare.
         * @param {Object} other The other object to compare.
         * @param {string} tag The `toStringTag` of the objects to compare.
         * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.
         * @param {Function} customizer The function to customize comparisons.
         * @param {Function} equalFunc The function to determine equivalents of values.
         * @param {Object} stack Tracks traversed `object` and `other` objects.
         * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.
         */
        function equalByTag(object, other, tag, bitmask, customizer, equalFunc, stack) {
          switch (tag) {
            case dataViewTag:
              if ((object.byteLength != other.byteLength) ||
                  (object.byteOffset != other.byteOffset)) {
                return false;
              }
              object = object.buffer;
              other = other.buffer;
    
            case arrayBufferTag:
              if ((object.byteLength != other.byteLength) ||
                  !equalFunc(new Uint8Array(object), new Uint8Array(other))) {
                return false;
              }
              return true;
    
            case boolTag:
            case dateTag:
            case numberTag:
              // Coerce booleans to `1` or `0` and dates to milliseconds.
              // Invalid dates are coerced to `NaN`.
              return eq(+object, +other);
    
            case errorTag:
              return object.name == other.name && object.message == other.message;
    
            case regexpTag:
            case stringTag:
              // Coerce regexes to strings and treat strings, primitives and objects,
              // as equal. See http://www.ecma-international.org/ecma-262/7.0/#sec-regexp.prototype.tostring
              // for more details.
              return object == (other + '');
    
            case mapTag:
              var convert = mapToArray;
    
            case setTag:
              var isPartial = bitmask & COMPARE_PARTIAL_FLAG;
              convert || (convert = setToArray);
    
              if (object.size != other.size && !isPartial) {
                return false;
              }
              // Assume cyclic values are equal.
              var stacked = stack.get(object);
              if (stacked) {
                return stacked == other;
              }
              bitmask |= COMPARE_UNORDERED_FLAG;
    
              // Recursively compare objects (susceptible to call stack limits).
              stack.set(object, other);
              var result = equalArrays(convert(object), convert(other), bitmask, customizer, equalFunc, stack);
              stack['delete'](object);
              return result;
    
            case symbolTag:
              if (symbolValueOf) {
                return symbolValueOf.call(object) == symbolValueOf.call(other);
              }
          }
          return false;
        }
    
        /**
         * A specialized version of `baseIsEqualDeep` for objects with support for
         * partial deep comparisons.
         *
         * @private
         * @param {Object} object The object to compare.
         * @param {Object} other The other object to compare.
         * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.
         * @param {Function} customizer The function to customize comparisons.
         * @param {Function} equalFunc The function to determine equivalents of values.
         * @param {Object} stack Tracks traversed `object` and `other` objects.
         * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.
         */
        function equalObjects(object, other, bitmask, customizer, equalFunc, stack) {
          var isPartial = bitmask & COMPARE_PARTIAL_FLAG,
              objProps = getAllKeys(object),
              objLength = objProps.length,
              othProps = getAllKeys(other),
              othLength = othProps.length;
    
          if (objLength != othLength && !isPartial) {
            return false;
          }
          var index = objLength;
          while (index--) {
            var key = objProps[index];
            if (!(isPartial ? key in other : hasOwnProperty.call(other, key))) {
              return false;
            }
          }
          // Check that cyclic values are equal.
          var objStacked = stack.get(object);
          var othStacked = stack.get(other);
          if (objStacked && othStacked) {
            return objStacked == other && othStacked == object;
          }
          var result = true;
          stack.set(object, other);
          stack.set(other, object);
    
          var skipCtor = isPartial;
          while (++index < objLength) {
            key = objProps[index];
            var objValue = object[key],
                othValue = other[key];
    
            if (customizer) {
              var compared = isPartial
                ? customizer(othValue, objValue, key, other, object, stack)
                : customizer(objValue, othValue, key, object, other, stack);
            }
            // Recursively compare objects (susceptible to call stack limits).
            if (!(compared === undefined
                  ? (objValue === othValue || equalFunc(objValue, othValue, bitmask, customizer, stack))
                  : compared
                )) {
              result = false;
              break;
            }
            skipCtor || (skipCtor = key == 'constructor');
          }
          if (result && !skipCtor) {
            var objCtor = object.constructor,
                othCtor = other.constructor;
    
            // Non `Object` object instances with different constructors are not equal.
            if (objCtor != othCtor &&
                ('constructor' in object && 'constructor' in other) &&
                !(typeof objCtor == 'function' && objCtor instanceof objCtor &&
                  typeof othCtor == 'function' && othCtor instanceof othCtor)) {
              result = false;
            }
          }
          stack['delete'](object);
          stack['delete'](other);
          return result;
        }
    
        /**
         * A specialized version of `baseRest` which flattens the rest array.
         *
         * @private
         * @param {Function} func The function to apply a rest parameter to.
         * @returns {Function} Returns the new function.
         */
        function flatRest(func) {
          return setToString(overRest(func, undefined, flatten), func + '');
        }
    
        /**
         * Creates an array of own enumerable property names and symbols of `object`.
         *
         * @private
         * @param {Object} object The object to query.
         * @returns {Array} Returns the array of property names and symbols.
         */
        function getAllKeys(object) {
          return baseGetAllKeys(object, keys, getSymbols);
        }
    
        /**
         * Creates an array of own and inherited enumerable property names and
         * symbols of `object`.
         *
         * @private
         * @param {Object} object The object to query.
         * @returns {Array} Returns the array of property names and symbols.
         */
        function getAllKeysIn(object) {
          return baseGetAllKeys(object, keysIn, getSymbolsIn);
        }
    
        /**
         * Gets metadata for `func`.
         *
         * @private
         * @param {Function} func The function to query.
         * @returns {*} Returns the metadata for `func`.
         */
        var getData = !metaMap ? noop : function(func) {
          return metaMap.get(func);
        };
    
        /**
         * Gets the name of `func`.
         *
         * @private
         * @param {Function} func The function to query.
         * @returns {string} Returns the function name.
         */
        function getFuncName(func) {
          var result = (func.name + ''),
              array = realNames[result],
              length = hasOwnProperty.call(realNames, result) ? array.length : 0;
    
          while (length--) {
            var data = array[length],
                otherFunc = data.func;
            if (otherFunc == null || otherFunc == func) {
              return data.name;
            }
          }
          return result;
        }
    
        /**
         * Gets the argument placeholder value for `func`.
         *
         * @private
         * @param {Function} func The function to inspect.
         * @returns {*} Returns the placeholder value.
         */
        function getHolder(func) {
          var object = hasOwnProperty.call(lodash, 'placeholder') ? lodash : func;
          return object.placeholder;
        }
    
        /**
         * Gets the appropriate "iteratee" function. If `_.iteratee` is customized,
         * this function returns the custom method, otherwise it returns `baseIteratee`.
         * If arguments are provided, the chosen function is invoked with them and
         * its result is returned.
         *
         * @private
         * @param {*} [value] The value to convert to an iteratee.
         * @param {number} [arity] The arity of the created iteratee.
         * @returns {Function} Returns the chosen function or its result.
         */
        function getIteratee() {
          var result = lodash.iteratee || iteratee;
          result = result === iteratee ? baseIteratee : result;
          return arguments.length ? result(arguments[0], arguments[1]) : result;
        }
    
        /**
         * Gets the data for `map`.
         *
         * @private
         * @param {Object} map The map to query.
         * @param {string} key The reference key.
         * @returns {*} Returns the map data.
         */
        function getMapData(map, key) {
          var data = map.__data__;
          return isKeyable(key)
            ? data[typeof key == 'string' ? 'string' : 'hash']
            : data.map;
        }
    
        /**
         * Gets the property names, values, and compare flags of `object`.
         *
         * @private
         * @param {Object} object The object to query.
         * @returns {Array} Returns the match data of `object`.
         */
        function getMatchData(object) {
          var result = keys(object),
              length = result.length;
    
          while (length--) {
            var key = result[length],
                value = object[key];
    
            result[length] = [key, value, isStrictComparable(value)];
          }
          return result;
        }
    
        /**
         * Gets the native function at `key` of `object`.
         *
         * @private
         * @param {Object} object The object to query.
         * @param {string} key The key of the method to get.
         * @returns {*} Returns the function if it's native, else `undefined`.
         */
        function getNative(object, key) {
          var value = getValue(object, key);
          return baseIsNative(value) ? value : undefined;
        }
    
        /**
         * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.
         *
         * @private
         * @param {*} value The value to query.
         * @returns {string} Returns the raw `toStringTag`.
         */
        function getRawTag(value) {
          var isOwn = hasOwnProperty.call(value, symToStringTag),
              tag = value[symToStringTag];
    
          try {
            value[symToStringTag] = undefined;
            var unmasked = true;
          } catch (e) {}
    
          var result = nativeObjectToString.call(value);
          if (unmasked) {
            if (isOwn) {
              value[symToStringTag] = tag;
            } else {
              delete value[symToStringTag];
            }
          }
          return result;
        }
    
        /**
         * Creates an array of the own enumerable symbols of `object`.
         *
         * @private
         * @param {Object} object The object to query.
         * @returns {Array} Returns the array of symbols.
         */
        var getSymbols = !nativeGetSymbols ? stubArray : function(object) {
          if (object == null) {
            return [];
          }
          object = Object(object);
          return arrayFilter(nativeGetSymbols(object), function(symbol) {
            return propertyIsEnumerable.call(object, symbol);
          });
        };
    
        /**
         * Creates an array of the own and inherited enumerable symbols of `object`.
         *
         * @private
         * @param {Object} object The object to query.
         * @returns {Array} Returns the array of symbols.
         */
        var getSymbolsIn = !nativeGetSymbols ? stubArray : function(object) {
          var result = [];
          while (object) {
            arrayPush(result, getSymbols(object));
            object = getPrototype(object);
          }
          return result;
        };
    
        /**
         * Gets the `toStringTag` of `value`.
         *
         * @private
         * @param {*} value The value to query.
         * @returns {string} Returns the `toStringTag`.
         */
        var getTag = baseGetTag;
    
        // Fallback for data views, maps, sets, and weak maps in IE 11 and promises in Node.js < 6.
        if ((DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag) ||
            (Map && getTag(new Map) != mapTag) ||
            (Promise && getTag(Promise.resolve()) != promiseTag) ||
            (Set && getTag(new Set) != setTag) ||
            (WeakMap && getTag(new WeakMap) != weakMapTag)) {
          getTag = function(value) {
            var result = baseGetTag(value),
                Ctor = result == objectTag ? value.constructor : undefined,
                ctorString = Ctor ? toSource(Ctor) : '';
    
            if (ctorString) {
              switch (ctorString) {
                case dataViewCtorString: return dataViewTag;
                case mapCtorString: return mapTag;
                case promiseCtorString: return promiseTag;
                case setCtorString: return setTag;
                case weakMapCtorString: return weakMapTag;
              }
            }
            return result;
          };
        }
    
        /**
         * Gets the view, applying any `transforms` to the `start` and `end` positions.
         *
         * @private
         * @param {number} start The start of the view.
         * @param {number} end The end of the view.
         * @param {Array} transforms The transformations to apply to the view.
         * @returns {Object} Returns an object containing the `start` and `end`
         *  positions of the view.
         */
        function getView(start, end, transforms) {
          var index = -1,
              length = transforms.length;
    
          while (++index < length) {
            var data = transforms[index],
                size = data.size;
    
            switch (data.type) {
              case 'drop':      start += size; break;
              case 'dropRight': end -= size; break;
              case 'take':      end = nativeMin(end, start + size); break;
              case 'takeRight': start = nativeMax(start, end - size); break;
            }
          }
          return { 'start': start, 'end': end };
        }
    
        /**
         * Extracts wrapper details from the `source` body comment.
         *
         * @private
         * @param {string} source The source to inspect.
         * @returns {Array} Returns the wrapper details.
         */
        function getWrapDetails(source) {
          var match = source.match(reWrapDetails);
          return match ? match[1].split(reSplitDetails) : [];
        }
    
        /**
         * Checks if `path` exists on `object`.
         *
         * @private
         * @param {Object} object The object to query.
         * @param {Array|string} path The path to check.
         * @param {Function} hasFunc The function to check properties.
         * @returns {boolean} Returns `true` if `path` exists, else `false`.
         */
        function hasPath(object, path, hasFunc) {
          path = castPath(path, object);
    
          var index = -1,
              length = path.length,
              result = false;
    
          while (++index < length) {
            var key = toKey(path[index]);
            if (!(result = object != null && hasFunc(object, key))) {
              break;
            }
            object = object[key];
          }
          if (result || ++index != length) {
            return result;
          }
          length = object == null ? 0 : object.length;
          return !!length && isLength(length) && isIndex(key, length) &&
            (isArray(object) || isArguments(object));
        }
    
        /**
         * Initializes an array clone.
         *
         * @private
         * @param {Array} array The array to clone.
         * @returns {Array} Returns the initialized clone.
         */
        function initCloneArray(array) {
          var length = array.length,
              result = new array.constructor(length);
    
          // Add properties assigned by `RegExp#exec`.
          if (length && typeof array[0] == 'string' && hasOwnProperty.call(array, 'index')) {
            result.index = array.index;
            result.input = array.input;
          }
          return result;
        }
    
        /**
         * Initializes an object clone.
         *
         * @private
         * @param {Object} object The object to clone.
         * @returns {Object} Returns the initialized clone.
         */
        function initCloneObject(object) {
          return (typeof object.constructor == 'function' && !isPrototype(object))
            ? baseCreate(getPrototype(object))
            : {};
        }
    
        /**
         * Initializes an object clone based on its `toStringTag`.
         *
         * **Note:** This function only supports cloning values with tags of
         * `Boolean`, `Date`, `Error`, `Map`, `Number`, `RegExp`, `Set`, or `String`.
         *
         * @private
         * @param {Object} object The object to clone.
         * @param {string} tag The `toStringTag` of the object to clone.
         * @param {boolean} [isDeep] Specify a deep clone.
         * @returns {Object} Returns the initialized clone.
         */
        function initCloneByTag(object, tag, isDeep) {
          var Ctor = object.constructor;
          switch (tag) {
            case arrayBufferTag:
              return cloneArrayBuffer(object);
    
            case boolTag:
            case dateTag:
              return new Ctor(+object);
    
            case dataViewTag:
              return cloneDataView(object, isDeep);
    
            case float32Tag: case float64Tag:
            case int8Tag: case int16Tag: case int32Tag:
            case uint8Tag: case uint8ClampedTag: case uint16Tag: case uint32Tag:
              return cloneTypedArray(object, isDeep);
    
            case mapTag:
              return new Ctor;
    
            case numberTag:
            case stringTag:
              return new Ctor(object);
    
            case regexpTag:
              return cloneRegExp(object);
    
            case setTag:
              return new Ctor;
    
            case symbolTag:
              return cloneSymbol(object);
          }
        }
    
        /**
         * Inserts wrapper `details` in a comment at the top of the `source` body.
         *
         * @private
         * @param {string} source The source to modify.
         * @returns {Array} details The details to insert.
         * @returns {string} Returns the modified source.
         */
        function insertWrapDetails(source, details) {
          var length = details.length;
          if (!length) {
            return source;
          }
          var lastIndex = length - 1;
          details[lastIndex] = (length > 1 ? '& ' : '') + details[lastIndex];
          details = details.join(length > 2 ? ', ' : ' ');
          return source.replace(reWrapComment, '{\n/* [wrapped with ' + details + '] */\n');
        }
    
        /**
         * Checks if `value` is a flattenable `arguments` object or array.
         *
         * @private
         * @param {*} value The value to check.
         * @returns {boolean} Returns `true` if `value` is flattenable, else `false`.
         */
        function isFlattenable(value) {
          return isArray(value) || isArguments(value) ||
            !!(spreadableSymbol && value && value[spreadableSymbol]);
        }
    
        /**
         * Checks if `value` is a valid array-like index.
         *
         * @private
         * @param {*} value The value to check.
         * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.
         * @returns {boolean} Returns `true` if `value` is a valid index, else `false`.
         */
        function isIndex(value, length) {
          var type = typeof value;
          length = length == null ? MAX_SAFE_INTEGER : length;
    
          return !!length &&
            (type == 'number' ||
              (type != 'symbol' && reIsUint.test(value))) &&
                (value > -1 && value % 1 == 0 && value < length);
        }
    
        /**
         * Checks if the given arguments are from an iteratee call.
         *
         * @private
         * @param {*} value The potential iteratee value argument.
         * @param {*} index The potential iteratee index or key argument.
         * @param {*} object The potential iteratee object argument.
         * @returns {boolean} Returns `true` if the arguments are from an iteratee call,
         *  else `false`.
         */
        function isIterateeCall(value, index, object) {
          if (!isObject(object)) {
            return false;
          }
          var type = typeof index;
          if (type == 'number'
                ? (isArrayLike(object) && isIndex(index, object.length))
                : (type == 'string' && index in object)
              ) {
            return eq(object[index], value);
          }
          return false;
        }
    
        /**
         * Checks if `value` is a property name and not a property path.
         *
         * @private
         * @param {*} value The value to check.
         * @param {Object} [object] The object to query keys on.
         * @returns {boolean} Returns `true` if `value` is a property name, else `false`.
         */
        function isKey(value, object) {
          if (isArray(value)) {
            return false;
          }
          var type = typeof value;
          if (type == 'number' || type == 'symbol' || type == 'boolean' ||
              value == null || isSymbol(value)) {
            return true;
          }
          return reIsPlainProp.test(value) || !reIsDeepProp.test(value) ||
            (object != null && value in Object(object));
        }
    
        /**
         * Checks if `value` is suitable for use as unique object key.
         *
         * @private
         * @param {*} value The value to check.
         * @returns {boolean} Returns `true` if `value` is suitable, else `false`.
         */
        function isKeyable(value) {
          var type = typeof value;
          return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean')
            ? (value !== '__proto__')
            : (value === null);
        }
    
        /**
         * Checks if `func` has a lazy counterpart.
         *
         * @private
         * @param {Function} func The function to check.
         * @returns {boolean} Returns `true` if `func` has a lazy counterpart,
         *  else `false`.
         */
        function isLaziable(func) {
          var funcName = getFuncName(func),
              other = lodash[funcName];
    
          if (typeof other != 'function' || !(funcName in LazyWrapper.prototype)) {
            return false;
          }
          if (func === other) {
            return true;
          }
          var data = getData(other);
          return !!data && func === data[0];
        }
    
        /**
         * Checks if `func` has its source masked.
         *
         * @private
         * @param {Function} func The function to check.
         * @returns {boolean} Returns `true` if `func` is masked, else `false`.
         */
        function isMasked(func) {
          return !!maskSrcKey && (maskSrcKey in func);
        }
    
        /**
         * Checks if `func` is capable of being masked.
         *
         * @private
         * @param {*} value The value to check.
         * @returns {boolean} Returns `true` if `func` is maskable, else `false`.
         */
        var isMaskable = coreJsData ? isFunction : stubFalse;
    
        /**
         * Checks if `value` is likely a prototype object.
         *
         * @private
         * @param {*} value The value to check.
         * @returns {boolean} Returns `true` if `value` is a prototype, else `false`.
         */
        function isPrototype(value) {
          var Ctor = value && value.constructor,
              proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto;
    
          return value === proto;
        }
    
        /**
         * Checks if `value` is suitable for strict equality comparisons, i.e. `===`.
         *
         * @private
         * @param {*} value The value to check.
         * @returns {boolean} Returns `true` if `value` if suitable for strict
         *  equality comparisons, else `false`.
         */
        function isStrictComparable(value) {
          return value === value && !isObject(value);
        }
    
        /**
         * A specialized version of `matchesProperty` for source values suitable
         * for strict equality comparisons, i.e. `===`.
         *
         * @private
         * @param {string} key The key of the property to get.
         * @param {*} srcValue The value to match.
         * @returns {Function} Returns the new spec function.
         */
        function matchesStrictComparable(key, srcValue) {
          return function(object) {
            if (object == null) {
              return false;
            }
            return object[key] === srcValue &&
              (srcValue !== undefined || (key in Object(object)));
          };
        }
    
        /**
         * A specialized version of `_.memoize` which clears the memoized function's
         * cache when it exceeds `MAX_MEMOIZE_SIZE`.
         *
         * @private
         * @param {Function} func The function to have its output memoized.
         * @returns {Function} Returns the new memoized function.
         */
        function memoizeCapped(func) {
          var result = memoize(func, function(key) {
            if (cache.size === MAX_MEMOIZE_SIZE) {
              cache.clear();
            }
            return key;
          });
    
          var cache = result.cache;
          return result;
        }
    
        /**
         * Merges the function metadata of `source` into `data`.
         *
         * Merging metadata reduces the number of wrappers used to invoke a function.
         * This is possible because methods like `_.bind`, `_.curry`, and `_.partial`
         * may be applied regardless of execution order. Methods like `_.ary` and
         * `_.rearg` modify function arguments, making the order in which they are
         * executed important, preventing the merging of metadata. However, we make
         * an exception for a safe combined case where curried functions have `_.ary`
         * and or `_.rearg` applied.
         *
         * @private
         * @param {Array} data The destination metadata.
         * @param {Array} source The source metadata.
         * @returns {Array} Returns `data`.
         */
        function mergeData(data, source) {
          var bitmask = data[1],
              srcBitmask = source[1],
              newBitmask = bitmask | srcBitmask,
              isCommon = newBitmask < (WRAP_BIND_FLAG | WRAP_BIND_KEY_FLAG | WRAP_ARY_FLAG);
    
          var isCombo =
            ((srcBitmask == WRAP_ARY_FLAG) && (bitmask == WRAP_CURRY_FLAG)) ||
            ((srcBitmask == WRAP_ARY_FLAG) && (bitmask == WRAP_REARG_FLAG) && (data[7].length <= source[8])) ||
            ((srcBitmask == (WRAP_ARY_FLAG | WRAP_REARG_FLAG)) && (source[7].length <= source[8]) && (bitmask == WRAP_CURRY_FLAG));
    
          // Exit early if metadata can't be merged.
          if (!(isCommon || isCombo)) {
            return data;
          }
          // Use source `thisArg` if available.
          if (srcBitmask & WRAP_BIND_FLAG) {
            data[2] = source[2];
            // Set when currying a bound function.
            newBitmask |= bitmask & WRAP_BIND_FLAG ? 0 : WRAP_CURRY_BOUND_FLAG;
          }
          // Compose partial arguments.
          var value = source[3];
          if (value) {
            var partials = data[3];
            data[3] = partials ? composeArgs(partials, value, source[4]) : value;
            data[4] = partials ? replaceHolders(data[3], PLACEHOLDER) : source[4];
          }
          // Compose partial right arguments.
          value = source[5];
          if (value) {
            partials = data[5];
            data[5] = partials ? composeArgsRight(partials, value, source[6]) : value;
            data[6] = partials ? replaceHolders(data[5], PLACEHOLDER) : source[6];
          }
          // Use source `argPos` if available.
          value = source[7];
          if (value) {
            data[7] = value;
          }
          // Use source `ary` if it's smaller.
          if (srcBitmask & WRAP_ARY_FLAG) {
            data[8] = data[8] == null ? source[8] : nativeMin(data[8], source[8]);
          }
          // Use source `arity` if one is not provided.
          if (data[9] == null) {
            data[9] = source[9];
          }
          // Use source `func` and merge bitmasks.
          data[0] = source[0];
          data[1] = newBitmask;
    
          return data;
        }
    
        /**
         * This function is like
         * [`Object.keys`](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)
         * except that it includes inherited enumerable properties.
         *
         * @private
         * @param {Object} object The object to query.
         * @returns {Array} Returns the array of property names.
         */
        function nativeKeysIn(object) {
          var result = [];
          if (object != null) {
            for (var key in Object(object)) {
              result.push(key);
            }
          }
          return result;
        }
    
        /**
         * Converts `value` to a string using `Object.prototype.toString`.
         *
         * @private
         * @param {*} value The value to convert.
         * @returns {string} Returns the converted string.
         */
        function objectToString(value) {
          return nativeObjectToString.call(value);
        }
    
        /**
         * A specialized version of `baseRest` which transforms the rest array.
         *
         * @private
         * @param {Function} func The function to apply a rest parameter to.
         * @param {number} [start=func.length-1] The start position of the rest parameter.
         * @param {Function} transform The rest array transform.
         * @returns {Function} Returns the new function.
         */
        function overRest(func, start, transform) {
          start = nativeMax(start === undefined ? (func.length - 1) : start, 0);
          return function() {
            var args = arguments,
                index = -1,
                length = nativeMax(args.length - start, 0),
                array = Array(length);
    
            while (++index < length) {
              array[index] = args[start + index];
            }
            index = -1;
            var otherArgs = Array(start + 1);
            while (++index < start) {
              otherArgs[index] = args[index];
            }
            otherArgs[start] = transform(array);
            return apply(func, this, otherArgs);
          };
        }
    
        /**
         * Gets the parent value at `path` of `object`.
         *
         * @private
         * @param {Object} object The object to query.
         * @param {Array} path The path to get the parent value of.
         * @returns {*} Returns the parent value.
         */
        function parent(object, path) {
          return path.length < 2 ? object : baseGet(object, baseSlice(path, 0, -1));
        }
    
        /**
         * Reorder `array` according to the specified indexes where the element at
         * the first index is assigned as the first element, the element at
         * the second index is assigned as the second element, and so on.
         *
         * @private
         * @param {Array} array The array to reorder.
         * @param {Array} indexes The arranged array indexes.
         * @returns {Array} Returns `array`.
         */
        function reorder(array, indexes) {
          var arrLength = array.length,
              length = nativeMin(indexes.length, arrLength),
              oldArray = copyArray(array);
    
          while (length--) {
            var index = indexes[length];
            array[length] = isIndex(index, arrLength) ? oldArray[index] : undefined;
          }
          return array;
        }
    
        /**
         * Gets the value at `key`, unless `key` is "__proto__" or "constructor".
         *
         * @private
         * @param {Object} object The object to query.
         * @param {string} key The key of the property to get.
         * @returns {*} Returns the property value.
         */
        function safeGet(object, key) {
          if (key === 'constructor' && typeof object[key] === 'function') {
            return;
          }
    
          if (key == '__proto__') {
            return;
          }
    
          return object[key];
        }
    
        /**
         * Sets metadata for `func`.
         *
         * **Note:** If this function becomes hot, i.e. is invoked a lot in a short
         * period of time, it will trip its breaker and transition to an identity
         * function to avoid garbage collection pauses in V8. See
         * [V8 issue 2070](https://bugs.chromium.org/p/v8/issues/detail?id=2070)
         * for more details.
         *
         * @private
         * @param {Function} func The function to associate metadata with.
         * @param {*} data The metadata.
         * @returns {Function} Returns `func`.
         */
        var setData = shortOut(baseSetData);
    
        /**
         * A simple wrapper around the global [`setTimeout`](https://mdn.io/setTimeout).
         *
         * @private
         * @param {Function} func The function to delay.
         * @param {number} wait The number of milliseconds to delay invocation.
         * @returns {number|Object} Returns the timer id or timeout object.
         */
        var setTimeout = ctxSetTimeout || function(func, wait) {
          return root.setTimeout(func, wait);
        };
    
        /**
         * Sets the `toString` method of `func` to return `string`.
         *
         * @private
         * @param {Function} func The function to modify.
         * @param {Function} string The `toString` result.
         * @returns {Function} Returns `func`.
         */
        var setToString = shortOut(baseSetToString);
    
        /**
         * Sets the `toString` method of `wrapper` to mimic the source of `reference`
         * with wrapper details in a comment at the top of the source body.
         *
         * @private
         * @param {Function} wrapper The function to modify.
         * @param {Function} reference The reference function.
         * @param {number} bitmask The bitmask flags. See `createWrap` for more details.
         * @returns {Function} Returns `wrapper`.
         */
        function setWrapToString(wrapper, reference, bitmask) {
          var source = (reference + '');
          return setToString(wrapper, insertWrapDetails(source, updateWrapDetails(getWrapDetails(source), bitmask)));
        }
    
        /**
         * Creates a function that'll short out and invoke `identity` instead
         * of `func` when it's called `HOT_COUNT` or more times in `HOT_SPAN`
         * milliseconds.
         *
         * @private
         * @param {Function} func The function to restrict.
         * @returns {Function} Returns the new shortable function.
         */
        function shortOut(func) {
          var count = 0,
              lastCalled = 0;
    
          return function() {
            var stamp = nativeNow(),
                remaining = HOT_SPAN - (stamp - lastCalled);
    
            lastCalled = stamp;
            if (remaining > 0) {
              if (++count >= HOT_COUNT) {
                return arguments[0];
              }
            } else {
              count = 0;
            }
            return func.apply(undefined, arguments);
          };
        }
    
        /**
         * A specialized version of `_.shuffle` which mutates and sets the size of `array`.
         *
         * @private
         * @param {Array} array The array to shuffle.
         * @param {number} [size=array.length] The size of `array`.
         * @returns {Array} Returns `array`.
         */
        function shuffleSelf(array, size) {
          var index = -1,
              length = array.length,
              lastIndex = length - 1;
    
          size = size === undefined ? length : size;
          while (++index < size) {
            var rand = baseRandom(index, lastIndex),
                value = array[rand];
    
            array[rand] = array[index];
            array[index] = value;
          }
          array.length = size;
          return array;
        }
    
        /**
         * Converts `string` to a property path array.
         *
         * @private
         * @param {string} string The string to convert.
         * @returns {Array} Returns the property path array.
         */
        var stringToPath = memoizeCapped(function(string) {
          var result = [];
          if (string.charCodeAt(0) === 46 /* . */) {
            result.push('');
          }
          string.replace(rePropName, function(match, number, quote, subString) {
            result.push(quote ? subString.replace(reEscapeChar, '$1') : (number || match));
          });
          return result;
        });
    
        /**
         * Converts `value` to a string key if it's not a string or symbol.
         *
         * @private
         * @param {*} value The value to inspect.
         * @returns {string|symbol} Returns the key.
         */
        function toKey(value) {
          if (typeof value == 'string' || isSymbol(value)) {
            return value;
          }
          var result = (value + '');
          return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;
        }
    
        /**
         * Converts `func` to its source code.
         *
         * @private
         * @param {Function} func The function to convert.
         * @returns {string} Returns the source code.
         */
        function toSource(func) {
          if (func != null) {
            try {
              return funcToString.call(func);
            } catch (e) {}
            try {
              return (func + '');
            } catch (e) {}
          }
          return '';
        }
    
        /**
         * Updates wrapper `details` based on `bitmask` flags.
         *
         * @private
         * @returns {Array} details The details to modify.
         * @param {number} bitmask The bitmask flags. See `createWrap` for more details.
         * @returns {Array} Returns `details`.
         */
        function updateWrapDetails(details, bitmask) {
          arrayEach(wrapFlags, function(pair) {
            var value = '_.' + pair[0];
            if ((bitmask & pair[1]) && !arrayIncludes(details, value)) {
              details.push(value);
            }
          });
          return details.sort();
        }
    
        /**
         * Creates a clone of `wrapper`.
         *
         * @private
         * @param {Object} wrapper The wrapper to clone.
         * @returns {Object} Returns the cloned wrapper.
         */
        function wrapperClone(wrapper) {
          if (wrapper instanceof LazyWrapper) {
            return wrapper.clone();
          }
          var result = new LodashWrapper(wrapper.__wrapped__, wrapper.__chain__);
          result.__actions__ = copyArray(wrapper.__actions__);
          result.__index__  = wrapper.__index__;
          result.__values__ = wrapper.__values__;
          return result;
        }
    
        /*------------------------------------------------------------------------*/
    
        /**
         * Creates an array of elements split into groups the length of `size`.
         * If `array` can't be split evenly, the final chunk will be the remaining
         * elements.
         *
         * @static
         * @memberOf _
         * @since 3.0.0
         * @category Array
         * @param {Array} array The array to process.
         * @param {number} [size=1] The length of each chunk
         * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.
         * @returns {Array} Returns the new array of chunks.
         * @example
         *
         * _.chunk(['a', 'b', 'c', 'd'], 2);
         * // => [['a', 'b'], ['c', 'd']]
         *
         * _.chunk(['a', 'b', 'c', 'd'], 3);
         * // => [['a', 'b', 'c'], ['d']]
         */
        function chunk(array, size, guard) {
          if ((guard ? isIterateeCall(array, size, guard) : size === undefined)) {
            size = 1;
          } else {
            size = nativeMax(toInteger(size), 0);
          }
          var length = array == null ? 0 : array.length;
          if (!length || size < 1) {
            return [];
          }
          var index = 0,
              resIndex = 0,
              result = Array(nativeCeil(length / size));
    
          while (index < length) {
            result[resIndex++] = baseSlice(array, index, (index += size));
          }
          return result;
        }
    
        /**
         * Creates an array with all falsey values removed. The values `false`, `null`,
         * `0`, `""`, `undefined`, and `NaN` are falsey.
         *
         * @static
         * @memberOf _
         * @since 0.1.0
         * @category Array
         * @param {Array} array The array to compact.
         * @returns {Array} Returns the new array of filtered values.
         * @example
         *
         * _.compact([0, 1, false, 2, '', 3]);
         * // => [1, 2, 3]
         */
        function compact(array) {
          var index = -1,
              length = array == null ? 0 : array.length,
              resIndex = 0,
              result = [];
    
          while (++index < length) {
            var value = array[index];
            if (value) {
              result[resIndex++] = value;
            }
          }
          return result;
        }
    
        /**
         * Creates a new array concatenating `array` with any additional arrays
         * and/or values.
         *
         * @static
         * @memberOf _
         * @since 4.0.0
         * @category Array
         * @param {Array} array The array to concatenate.
         * @param {...*} [values] The values to concatenate.
         * @returns {Array} Returns the new concatenated array.
         * @example
         *
         * var array = [1];
         * var other = _.concat(array, 2, [3], [[4]]);
         *
         * console.log(other);
         * // => [1, 2, 3, [4]]
         *
         * console.log(array);
         * // => [1]
         */
        function concat() {
          var length = arguments.length;
          if (!length) {
            return [];
          }
          var args = Array(length - 1),
              array = arguments[0],
              index = length;
    
          while (index--) {
            args[index - 1] = arguments[index];
          }
          return arrayPush(isArray(array) ? copyArray(array) : [array], baseFlatten(args, 1));
        }
    
        /**
         * Creates an array of `array` values not included in the other given arrays
         * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
         * for equality comparisons. The order and references of result values are
         * determined by the first array.
         *
         * **Note:** Unlike `_.pullAll`, this method returns a new array.
         *
         * @static
         * @memberOf _
         * @since 0.1.0
         * @category Array
         * @param {Array} array The array to inspect.
         * @param {...Array} [values] The values to exclude.
         * @returns {Array} Returns the new array of filtered values.
         * @see _.without, _.xor
         * @example
         *
         * _.difference([2, 1], [2, 3]);
         * // => [1]
         */
        var difference = baseRest(function(array, values) {
          return isArrayLikeObject(array)
            ? baseDifference(array, baseFlatten(values, 1, isArrayLikeObject, true))
            : [];
        });
    
        /**
         * This method is like `_.difference` except that it accepts `iteratee` which
         * is invoked for each element of `array` and `values` to generate the criterion
         * by which they're compared. The order and references of result values are
         * determined by the first array. The iteratee is invoked with one argument:
         * (value).
         *
         * **Note:** Unlike `_.pullAllBy`, this method returns a new array.
         *
         * @static
         * @memberOf _
         * @since 4.0.0
         * @category Array
         * @param {Array} array The array to inspect.
         * @param {...Array} [values] The values to exclude.
         * @param {Function} [iteratee=_.identity] The iteratee invoked per element.
         * @returns {Array} Returns the new array of filtered values.
         * @example
         *
         * _.differenceBy([2.1, 1.2], [2.3, 3.4], Math.floor);
         * // => [1.2]
         *
         * // The `_.property` iteratee shorthand.
         * _.differenceBy([{ 'x': 2 }, { 'x': 1 }], [{ 'x': 1 }], 'x');
         * // => [{ 'x': 2 }]
         */
        var differenceBy = baseRest(function(array, values) {
          var iteratee = last(values);
          if (isArrayLikeObject(iteratee)) {
            iteratee = undefined;
          }
          return isArrayLikeObject(array)
            ? baseDifference(array, baseFlatten(values, 1, isArrayLikeObject, true), getIteratee(iteratee, 2))
            : [];
        });
    
        /**
         * This method is like `_.difference` except that it accepts `comparator`
         * which is invoked to compare elements of `array` to `values`. The order and
         * references of result values are determined by the first array. The comparator
         * is invoked with two arguments: (arrVal, othVal).
         *
         * **Note:** Unlike `_.pullAllWith`, this method returns a new array.
         *
         * @static
         * @memberOf _
         * @since 4.0.0
         * @category Array
         * @param {Array} array The array to inspect.
         * @param {...Array} [values] The values to exclude.
         * @param {Function} [comparator] The comparator invoked per element.
         * @returns {Array} Returns the new array of filtered values.
         * @example
         *
         * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }];
         *
         * _.differenceWith(objects, [{ 'x': 1, 'y': 2 }], _.isEqual);
         * // => [{ 'x': 2, 'y': 1 }]
         */
        var differenceWith = baseRest(function(array, values) {
          var comparator = last(values);
          if (isArrayLikeObject(comparator)) {
            comparator = undefined;
          }
          return isArrayLikeObject(array)
            ? baseDifference(array, baseFlatten(values, 1, isArrayLikeObject, true), undefined, comparator)
            : [];
        });
    
        /**
         * Creates a slice of `array` with `n` elements dropped from the beginning.
         *
         * @static
         * @memberOf _
         * @since 0.5.0
         * @category Array
         * @param {Array} array The array to query.
         * @param {number} [n=1] The number of elements to drop.
         * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.
         * @returns {Array} Returns the slice of `array`.
         * @example
         *
         * _.drop([1, 2, 3]);
         * // => [2, 3]
         *
         * _.drop([1, 2, 3], 2);
         * // => [3]
         *
         * _.drop([1, 2, 3], 5);
         * // => []
         *
         * _.drop([1, 2, 3], 0);
         * // => [1, 2, 3]
         */
        function drop(array, n, guard) {
          var length = array == null ? 0 : array.length;
          if (!length) {
            return [];
          }
          n = (guard || n === undefined) ? 1 : toInteger(n);
          return baseSlice(array, n < 0 ? 0 : n, length);
        }
    
        /**
         * Creates a slice of `array` with `n` elements dropped from the end.
         *
         * @static
         * @memberOf _
         * @since 3.0.0
         * @category Array
         * @param {Array} array The array to query.
         * @param {number} [n=1] The number of elements to drop.
         * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.
         * @returns {Array} Returns the slice of `array`.
         * @example
         *
         * _.dropRight([1, 2, 3]);
         * // => [1, 2]
         *
         * _.dropRight([1, 2, 3], 2);
         * // => [1]
         *
         * _.dropRight([1, 2, 3], 5);
         * // => []
         *
         * _.dropRight([1, 2, 3], 0);
         * // => [1, 2, 3]
         */
        function dropRight(array, n, guard) {
          var length = array == null ? 0 : array.length;
          if (!length) {
            return [];
          }
          n = (guard || n === undefined) ? 1 : toInteger(n);
          n = length - n;
          return baseSlice(array, 0, n < 0 ? 0 : n);
        }
    
        /**
         * Creates a slice of `array` excluding elements dropped from the end.
         * Elements are dropped until `predicate` returns falsey. The predicate is
         * invoked with three arguments: (value, index, array).
         *
         * @static
         * @memberOf _
         * @since 3.0.0
         * @category Array
         * @param {Array} array The array to query.
         * @param {Function} [predicate=_.identity] The function invoked per iteration.
         * @returns {Array} Returns the slice of `array`.
         * @example
         *
         * var users = [
         *   { 'user': 'barney',  'active': true },
         *   { 'user': 'fred',    'active': false },
         *   { 'user': 'pebbles', 'active': false }
         * ];
         *
         * _.dropRightWhile(users, function(o) { return !o.active; });
         * // => objects for ['barney']
         *
         * // The `_.matches` iteratee shorthand.
         * _.dropRightWhile(users, { 'user': 'pebbles', 'active': false });
         * // => objects for ['barney', 'fred']
         *
         * // The `_.matchesProperty` iteratee shorthand.
         * _.dropRightWhile(users, ['active', false]);
         * // => objects for ['barney']
         *
         * // The `_.property` iteratee shorthand.
         * _.dropRightWhile(users, 'active');
         * // => objects for ['barney', 'fred', 'pebbles']
         */
        function dropRightWhile(array, predicate) {
          return (array && array.length)
            ? baseWhile(array, getIteratee(predicate, 3), true, true)
            : [];
        }
    
        /**
         * Creates a slice of `array` excluding elements dropped from the beginning.
         * Elements are dropped until `predicate` returns falsey. The predicate is
         * invoked with three arguments: (value, index, array).
         *
         * @static
         * @memberOf _
         * @since 3.0.0
         * @category Array
         * @param {Array} array The array to query.
         * @param {Function} [predicate=_.identity] The function invoked per iteration.
         * @returns {Array} Returns the slice of `array`.
         * @example
         *
         * var users = [
         *   { 'user': 'barney',  'active': false },
         *   { 'user': 'fred',    'active': false },
         *   { 'user': 'pebbles', 'active': true }
         * ];
         *
         * _.dropWhile(users, function(o) { return !o.active; });
         * // => objects for ['pebbles']
         *
         * // The `_.matches` iteratee shorthand.
         * _.dropWhile(users, { 'user': 'barney', 'active': false });
         * // => objects for ['fred', 'pebbles']
         *
         * // The `_.matchesProperty` iteratee shorthand.
         * _.dropWhile(users, ['active', false]);
         * // => objects for ['pebbles']
         *
         * // The `_.property` iteratee shorthand.
         * _.dropWhile(users, 'active');
         * // => objects for ['barney', 'fred', 'pebbles']
         */
        function dropWhile(array, predicate) {
          return (array && array.length)
            ? baseWhile(array, getIteratee(predicate, 3), true)
            : [];
        }
    
        /**
         * Fills elements of `array` with `value` from `start` up to, but not
         * including, `end`.
         *
         * **Note:** This method mutates `array`.
         *
         * @static
         * @memberOf _
         * @since 3.2.0
         * @category Array
         * @param {Array} array The array to fill.
         * @param {*} value The value to fill `array` with.
         * @param {number} [start=0] The start position.
         * @param {number} [end=array.length] The end position.
         * @returns {Array} Returns `array`.
         * @example
         *
         * var array = [1, 2, 3];
         *
         * _.fill(array, 'a');
         * console.log(array);
         * // => ['a', 'a', 'a']
         *
         * _.fill(Array(3), 2);
         * // => [2, 2, 2]
         *
         * _.fill([4, 6, 8, 10], '*', 1, 3);
         * // => [4, '*', '*', 10]
         */
        function fill(array, value, start, end) {
          var length = array == null ? 0 : array.length;
          if (!length) {
            return [];
          }
          if (start && typeof start != 'number' && isIterateeCall(array, value, start)) {
            start = 0;
            end = length;
          }
          return baseFill(array, value, start, end);
        }
    
        /**
         * This method is like `_.find` except that it returns the index of the first
         * element `predicate` returns truthy for instead of the element itself.
         *
         * @static
         * @memberOf _
         * @since 1.1.0
         * @category Array
         * @param {Array} array The array to inspect.
         * @param {Function} [predicate=_.identity] The function invoked per iteration.
         * @param {number} [fromIndex=0] The index to search from.
         * @returns {number} Returns the index of the found element, else `-1`.
         * @example
         *
         * var users = [
         *   { 'user': 'barney',  'active': false },
         *   { 'user': 'fred',    'active': false },
         *   { 'user': 'pebbles', 'active': true }
         * ];
         *
         * _.findIndex(users, function(o) { return o.user == 'barney'; });
         * // => 0
         *
         * // The `_.matches` iteratee shorthand.
         * _.findIndex(users, { 'user': 'fred', 'active': false });
         * // => 1
         *
         * // The `_.matchesProperty` iteratee shorthand.
         * _.findIndex(users, ['active', false]);
         * // => 0
         *
         * // The `_.property` iteratee shorthand.
         * _.findIndex(users, 'active');
         * // => 2
         */
        function findIndex(array, predicate, fromIndex) {
          var length = array == null ? 0 : array.length;
          if (!length) {
            return -1;
          }
          var index = fromIndex == null ? 0 : toInteger(fromIndex);
          if (index < 0) {
            index = nativeMax(length + index, 0);
          }
          return baseFindIndex(array, getIteratee(predicate, 3), index);
        }
    
        /**
         * This method is like `_.findIndex` except that it iterates over elements
         * of `collection` from right to left.
         *
         * @static
         * @memberOf _
         * @since 2.0.0
         * @category Array
         * @param {Array} array The array to inspect.
         * @param {Function} [predicate=_.identity] The function invoked per iteration.
         * @param {number} [fromIndex=array.length-1] The index to search from.
         * @returns {number} Returns the index of the found element, else `-1`.
         * @example
         *
         * var users = [
         *   { 'user': 'barney',  'active': true },
         *   { 'user': 'fred',    'active': false },
         *   { 'user': 'pebbles', 'active': false }
         * ];
         *
         * _.findLastIndex(users, function(o) { return o.user == 'pebbles'; });
         * // => 2
         *
         * // The `_.matches` iteratee shorthand.
         * _.findLastIndex(users, { 'user': 'barney', 'active': true });
         * // => 0
         *
         * // The `_.matchesProperty` iteratee shorthand.
         * _.findLastIndex(users, ['active', false]);
         * // => 2
         *
         * // The `_.property` iteratee shorthand.
         * _.findLastIndex(users, 'active');
         * // => 0
         */
        function findLastIndex(array, predicate, fromIndex) {
          var length = array == null ? 0 : array.length;
          if (!length) {
            return -1;
          }
          var index = length - 1;
          if (fromIndex !== undefined) {
            index = toInteger(fromIndex);
            index = fromIndex < 0
              ? nativeMax(length + index, 0)
              : nativeMin(index, length - 1);
          }
          return baseFindIndex(array, getIteratee(predicate, 3), index, true);
        }
    
        /**
         * Flattens `array` a single level deep.
         *
         * @static
         * @memberOf _
         * @since 0.1.0
         * @category Array
         * @param {Array} array The array to flatten.
         * @returns {Array} Returns the new flattened array.
         * @example
         *
         * _.flatten([1, [2, [3, [4]], 5]]);
         * // => [1, 2, [3, [4]], 5]
         */
        function flatten(array) {
          var length = array == null ? 0 : array.length;
          return length ? baseFlatten(array, 1) : [];
        }
    
        /**
         * Recursively flattens `array`.
         *
         * @static
         * @memberOf _
         * @since 3.0.0
         * @category Array
         * @param {Array} array The array to flatten.
         * @returns {Array} Returns the new flattened array.
         * @example
         *
         * _.flattenDeep([1, [2, [3, [4]], 5]]);
         * // => [1, 2, 3, 4, 5]
         */
        function flattenDeep(array) {
          var length = array == null ? 0 : array.length;
          return length ? baseFlatten(array, INFINITY) : [];
        }
    
        /**
         * Recursively flatten `array` up to `depth` times.
         *
         * @static
         * @memberOf _
         * @since 4.4.0
         * @category Array
         * @param {Array} array The array to flatten.
         * @param {number} [depth=1] The maximum recursion depth.
         * @returns {Array} Returns the new flattened array.
         * @example
         *
         * var array = [1, [2, [3, [4]], 5]];
         *
         * _.flattenDepth(array, 1);
         * // => [1, 2, [3, [4]], 5]
         *
         * _.flattenDepth(array, 2);
         * // => [1, 2, 3, [4], 5]
         */
        function flattenDepth(array, depth) {
          var length = array == null ? 0 : array.length;
          if (!length) {
            return [];
          }
          depth = depth === undefined ? 1 : toInteger(depth);
          return baseFlatten(array, depth);
        }
    
        /**
         * The inverse of `_.toPairs`; this method returns an object composed
         * from key-value `pairs`.
         *
         * @static
         * @memberOf _
         * @since 4.0.0
         * @category Array
         * @param {Array} pairs The key-value pairs.
         * @returns {Object} Returns the new object.
         * @example
         *
         * _.fromPairs([['a', 1], ['b', 2]]);
         * // => { 'a': 1, 'b': 2 }
         */
        function fromPairs(pairs) {
          var index = -1,
              length = pairs == null ? 0 : pairs.length,
              result = {};
    
          while (++index < length) {
            var pair = pairs[index];
            result[pair[0]] = pair[1];
          }
          return result;
        }
    
        /**
         * Gets the first element of `array`.
         *
         * @static
         * @memberOf _
         * @since 0.1.0
         * @alias first
         * @category Array
         * @param {Array} array The array to query.
         * @returns {*} Returns the first element of `array`.
         * @example
         *
         * _.head([1, 2, 3]);
         * // => 1
         *
         * _.head([]);
         * // => undefined
         */
        function head(array) {
          return (array && array.length) ? array[0] : undefined;
        }
    
        /**
         * Gets the index at which the first occurrence of `value` is found in `array`
         * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
         * for equality comparisons. If `fromIndex` is negative, it's used as the
         * offset from the end of `array`.
         *
         * @static
         * @memberOf _
         * @since 0.1.0
         * @category Array
         * @param {Array} array The array to inspect.
         * @param {*} value The value to search for.
         * @param {number} [fromIndex=0] The index to search from.
         * @returns {number} Returns the index of the matched value, else `-1`.
         * @example
         *
         * _.indexOf([1, 2, 1, 2], 2);
         * // => 1
         *
         * // Search from the `fromIndex`.
         * _.indexOf([1, 2, 1, 2], 2, 2);
         * // => 3
         */
        function indexOf(array, value, fromIndex) {
          var length = array == null ? 0 : array.length;
          if (!length) {
            return -1;
          }
          var index = fromIndex == null ? 0 : toInteger(fromIndex);
          if (index < 0) {
            index = nativeMax(length + index, 0);
          }
          return baseIndexOf(array, value, index);
        }
    
        /**
         * Gets all but the last element of `array`.
         *
         * @static
         * @memberOf _
         * @since 0.1.0
         * @category Array
         * @param {Array} array The array to query.
         * @returns {Array} Returns the slice of `array`.
         * @example
         *
         * _.initial([1, 2, 3]);
         * // => [1, 2]
         */
        function initial(array) {
          var length = array == null ? 0 : array.length;
          return length ? baseSlice(array, 0, -1) : [];
        }
    
        /**
         * Creates an array of unique values that are included in all given arrays
         * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
         * for equality comparisons. The order and references of result values are
         * determined by the first array.
         *
         * @static
         * @memberOf _
         * @since 0.1.0
         * @category Array
         * @param {...Array} [arrays] The arrays to inspect.
         * @returns {Array} Returns the new array of intersecting values.
         * @example
         *
         * _.intersection([2, 1], [2, 3]);
         * // => [2]
         */
        var intersection = baseRest(function(arrays) {
          var mapped = arrayMap(arrays, castArrayLikeObject);
          return (mapped.length && mapped[0] === arrays[0])
            ? baseIntersection(mapped)
            : [];
        });
    
        /**
         * This method is like `_.intersection` except that it accepts `iteratee`
         * which is invoked for each element of each `arrays` to generate the criterion
         * by which they're compared. The order and references of result values are
         * determined by the first array. The iteratee is invoked with one argument:
         * (value).
         *
         * @static
         * @memberOf _
         * @since 4.0.0
         * @category Array
         * @param {...Array} [arrays] The arrays to inspect.
         * @param {Function} [iteratee=_.identity] The iteratee invoked per element.
         * @returns {Array} Returns the new array of intersecting values.
         * @example
         *
         * _.intersectionBy([2.1, 1.2], [2.3, 3.4], Math.floor);
         * // => [2.1]
         *
         * // The `_.property` iteratee shorthand.
         * _.intersectionBy([{ 'x': 1 }], [{ 'x': 2 }, { 'x': 1 }], 'x');
         * // => [{ 'x': 1 }]
         */
        var intersectionBy = baseRest(function(arrays) {
          var iteratee = last(arrays),
              mapped = arrayMap(arrays, castArrayLikeObject);
    
          if (iteratee === last(mapped)) {
            iteratee = undefined;
          } else {
            mapped.pop();
          }
          return (mapped.length && mapped[0] === arrays[0])
            ? baseIntersection(mapped, getIteratee(iteratee, 2))
            : [];
        });
    
        /**
         * This method is like `_.intersection` except that it accepts `comparator`
         * which is invoked to compare elements of `arrays`. The order and references
         * of result values are determined by the first array. The comparator is
         * invoked with two arguments: (arrVal, othVal).
         *
         * @static
         * @memberOf _
         * @since 4.0.0
         * @category Array
         * @param {...Array} [arrays] The arrays to inspect.
         * @param {Function} [comparator] The comparator invoked per element.
         * @returns {Array} Returns the new array of intersecting values.
         * @example
         *
         * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }];
         * var others = [{ 'x': 1, 'y': 1 }, { 'x': 1, 'y': 2 }];
         *
         * _.intersectionWith(objects, others, _.isEqual);
         * // => [{ 'x': 1, 'y': 2 }]
         */
        var intersectionWith = baseRest(function(arrays) {
          var comparator = last(arrays),
              mapped = arrayMap(arrays, castArrayLikeObject);
    
          comparator = typeof comparator == 'function' ? comparator : undefined;
          if (comparator) {
            mapped.pop();
          }
          return (mapped.length && mapped[0] === arrays[0])
            ? baseIntersection(mapped, undefined, comparator)
            : [];
        });
    
        /**
         * Converts all elements in `array` into a string separated by `separator`.
         *
         * @static
         * @memberOf _
         * @since 4.0.0
         * @category Array
         * @param {Array} array The array to convert.
         * @param {string} [separator=','] The element separator.
         * @returns {string} Returns the joined string.
         * @example
         *
         * _.join(['a', 'b', 'c'], '~');
         * // => 'a~b~c'
         */
        function join(array, separator) {
          return array == null ? '' : nativeJoin.call(array, separator);
        }
    
        /**
         * Gets the last element of `array`.
         *
         * @static
         * @memberOf _
         * @since 0.1.0
         * @category Array
         * @param {Array} array The array to query.
         * @returns {*} Returns the last element of `array`.
         * @example
         *
         * _.last([1, 2, 3]);
         * // => 3
         */
        function last(array) {
          var length = array == null ? 0 : array.length;
          return length ? array[length - 1] : undefined;
        }
    
        /**
         * This method is like `_.indexOf` except that it iterates over elements of
         * `array` from right to left.
         *
         * @static
         * @memberOf _
         * @since 0.1.0
         * @category Array
         * @param {Array} array The array to inspect.
         * @param {*} value The value to search for.
         * @param {number} [fromIndex=array.length-1] The index to search from.
         * @returns {number} Returns the index of the matched value, else `-1`.
         * @example
         *
         * _.lastIndexOf([1, 2, 1, 2], 2);
         * // => 3
         *
         * // Search from the `fromIndex`.
         * _.lastIndexOf([1, 2, 1, 2], 2, 2);
         * // => 1
         */
        function lastIndexOf(array, value, fromIndex) {
          var length = array == null ? 0 : array.length;
          if (!length) {
            return -1;
          }
          var index = length;
          if (fromIndex !== undefined) {
            index = toInteger(fromIndex);
            index = index < 0 ? nativeMax(length + index, 0) : nativeMin(index, length - 1);
          }
          return value === value
            ? strictLastIndexOf(array, value, index)
            : baseFindIndex(array, baseIsNaN, index, true);
        }
    
        /**
         * Gets the element at index `n` of `array`. If `n` is negative, the nth
         * element from the end is returned.
         *
         * @static
         * @memberOf _
         * @since 4.11.0
         * @category Array
         * @param {Array} array The array to query.
         * @param {number} [n=0] The index of the element to return.
         * @returns {*} Returns the nth element of `array`.
         * @example
         *
         * var array = ['a', 'b', 'c', 'd'];
         *
         * _.nth(array, 1);
         * // => 'b'
         *
         * _.nth(array, -2);
         * // => 'c';
         */
        function nth(array, n) {
          return (array && array.length) ? baseNth(array, toInteger(n)) : undefined;
        }
    
        /**
         * Removes all given values from `array` using
         * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
         * for equality comparisons.
         *
         * **Note:** Unlike `_.without`, this method mutates `array`. Use `_.remove`
         * to remove elements from an array by predicate.
         *
         * @static
         * @memberOf _
         * @since 2.0.0
         * @category Array
         * @param {Array} array The array to modify.
         * @param {...*} [values] The values to remove.
         * @returns {Array} Returns `array`.
         * @example
         *
         * var array = ['a', 'b', 'c', 'a', 'b', 'c'];
         *
         * _.pull(array, 'a', 'c');
         * console.log(array);
         * // => ['b', 'b']
         */
        var pull = baseRest(pullAll);
    
        /**
         * This method is like `_.pull` except that it accepts an array of values to remove.
         *
         * **Note:** Unlike `_.difference`, this method mutates `array`.
         *
         * @static
         * @memberOf _
         * @since 4.0.0
         * @category Array
         * @param {Array} array The array to modify.
         * @param {Array} values The values to remove.
         * @returns {Array} Returns `array`.
         * @example
         *
         * var array = ['a', 'b', 'c', 'a', 'b', 'c'];
         *
         * _.pullAll(array, ['a', 'c']);
         * console.log(array);
         * // => ['b', 'b']
         */
        function pullAll(array, values) {
          return (array && array.length && values && values.length)
            ? basePullAll(array, values)
            : array;
        }
    
        /**
         * This method is like `_.pullAll` except that it accepts `iteratee` which is
         * invoked for each element of `array` and `values` to generate the criterion
         * by which they're compared. The iteratee is invoked with one argument: (value).
         *
         * **Note:** Unlike `_.differenceBy`, this method mutates `array`.
         *
         * @static
         * @memberOf _
         * @since 4.0.0
         * @category Array
         * @param {Array} array The array to modify.
         * @param {Array} values The values to remove.
         * @param {Function} [iteratee=_.identity] The iteratee invoked per element.
         * @returns {Array} Returns `array`.
         * @example
         *
         * var array = [{ 'x': 1 }, { 'x': 2 }, { 'x': 3 }, { 'x': 1 }];
         *
         * _.pullAllBy(array, [{ 'x': 1 }, { 'x': 3 }], 'x');
         * console.log(array);
         * // => [{ 'x': 2 }]
         */
        function pullAllBy(array, values, iteratee) {
          return (array && array.length && values && values.length)
            ? basePullAll(array, values, getIteratee(iteratee, 2))
            : array;
        }
    
        /**
         * This method is like `_.pullAll` except that it accepts `comparator` which
         * is invoked to compare elements of `array` to `values`. The comparator is
         * invoked with two arguments: (arrVal, othVal).
         *
         * **Note:** Unlike `_.differenceWith`, this method mutates `array`.
         *
         * @static
         * @memberOf _
         * @since 4.6.0
         * @category Array
         * @param {Array} array The array to modify.
         * @param {Array} values The values to remove.
         * @param {Function} [comparator] The comparator invoked per element.
         * @returns {Array} Returns `array`.
         * @example
         *
         * var array = [{ 'x': 1, 'y': 2 }, { 'x': 3, 'y': 4 }, { 'x': 5, 'y': 6 }];
         *
         * _.pullAllWith(array, [{ 'x': 3, 'y': 4 }], _.isEqual);
         * console.log(array);
         * // => [{ 'x': 1, 'y': 2 }, { 'x': 5, 'y': 6 }]
         */
        function pullAllWith(array, values, comparator) {
          return (array && array.length && values && values.length)
            ? basePullAll(array, values, undefined, comparator)
            : array;
        }
    
        /**
         * Removes elements from `array` corresponding to `indexes` and returns an
         * array of removed elements.
         *
         * **Note:** Unlike `_.at`, this method mutates `array`.
         *
         * @static
         * @memberOf _
         * @since 3.0.0
         * @category Array
         * @param {Array} array The array to modify.
         * @param {...(number|number[])} [indexes] The indexes of elements to remove.
         * @returns {Array} Returns the new array of removed elements.
         * @example
         *
         * var array = ['a', 'b', 'c', 'd'];
         * var pulled = _.pullAt(array, [1, 3]);
         *
         * console.log(array);
         * // => ['a', 'c']
         *
         * console.log(pulled);
         * // => ['b', 'd']
         */
        var pullAt = flatRest(function(array, indexes) {
          var length = array == null ? 0 : array.length,
              result = baseAt(array, indexes);
    
          basePullAt(array, arrayMap(indexes, function(index) {
            return isIndex(index, length) ? +index : index;
          }).sort(compareAscending));
    
          return result;
        });
    
        /**
         * Removes all elements from `array` that `predicate` returns truthy for
         * and returns an array of the removed elements. The predicate is invoked
         * with three arguments: (value, index, array).
         *
         * **Note:** Unlike `_.filter`, this method mutates `array`. Use `_.pull`
         * to pull elements from an array by value.
         *
         * @static
         * @memberOf _
         * @since 2.0.0
         * @category Array
         * @param {Array} array The array to modify.
         * @param {Function} [predicate=_.identity] The function invoked per iteration.
         * @returns {Array} Returns the new array of removed elements.
         * @example
         *
         * var array = [1, 2, 3, 4];
         * var evens = _.remove(array, function(n) {
         *   return n % 2 == 0;
         * });
         *
         * console.log(array);
         * // => [1, 3]
         *
         * console.log(evens);
         * // => [2, 4]
         */
        function remove(array, predicate) {
          var result = [];
          if (!(array && array.length)) {
            return result;
          }
          var index = -1,
              indexes = [],
              length = array.length;
    
          predicate = getIteratee(predicate, 3);
          while (++index < length) {
            var value = array[index];
            if (predicate(value, index, array)) {
              result.push(value);
              indexes.push(index);
            }
          }
          basePullAt(array, indexes);
          return result;
        }
    
        /**
         * Reverses `array` so that the first element becomes the last, the second
         * element becomes the second to last, and so on.
         *
         * **Note:** This method mutates `array` and is based on
         * [`Array#reverse`](https://mdn.io/Array/reverse).
         *
         * @static
         * @memberOf _
         * @since 4.0.0
         * @category Array
         * @param {Array} array The array to modify.
         * @returns {Array} Returns `array`.
         * @example
         *
         * var array = [1, 2, 3];
         *
         * _.reverse(array);
         * // => [3, 2, 1]
         *
         * console.log(array);
         * // => [3, 2, 1]
         */
        function reverse(array) {
          return array == null ? array : nativeReverse.call(array);
        }
    
        /**
         * Creates a slice of `array` from `start` up to, but not including, `end`.
         *
         * **Note:** This method is used instead of
         * [`Array#slice`](https://mdn.io/Array/slice) to ensure dense arrays are
         * returned.
         *
         * @static
         * @memberOf _
         * @since 3.0.0
         * @category Array
         * @param {Array} array The array to slice.
         * @param {number} [start=0] The start position.
         * @param {number} [end=array.length] The end position.
         * @returns {Array} Returns the slice of `array`.
         */
        function slice(array, start, end) {
          var length = array == null ? 0 : array.length;
          if (!length) {
            return [];
          }
          if (end && typeof end != 'number' && isIterateeCall(array, start, end)) {
            start = 0;
            end = length;
          }
          else {
            start = start == null ? 0 : toInteger(start);
            end = end === undefined ? length : toInteger(end);
          }
          return baseSlice(array, start, end);
        }
    
        /**
         * Uses a binary search to determine the lowest index at which `value`
         * should be inserted into `array` in order to maintain its sort order.
         *
         * @static
         * @memberOf _
         * @since 0.1.0
         * @category Array
         * @param {Array} array The sorted array to inspect.
         * @param {*} value The value to evaluate.
         * @returns {number} Returns the index at which `value` should be inserted
         *  into `array`.
         * @example
         *
         * _.sortedIndex([30, 50], 40);
         * // => 1
         */
        function sortedIndex(array, value) {
          return baseSortedIndex(array, value);
        }
    
        /**
         * This method is like `_.sortedIndex` except that it accepts `iteratee`
         * which is invoked for `value` and each element of `array` to compute their
         * sort ranking. The iteratee is invoked with one argument: (value).
         *
         * @static
         * @memberOf _
         * @since 4.0.0
         * @category Array
         * @param {Array} array The sorted array to inspect.
         * @param {*} value The value to evaluate.
         * @param {Function} [iteratee=_.identity] The iteratee invoked per element.
         * @returns {number} Returns the index at which `value` should be inserted
         *  into `array`.
         * @example
         *
         * var objects = [{ 'x': 4 }, { 'x': 5 }];
         *
         * _.sortedIndexBy(objects, { 'x': 4 }, function(o) { return o.x; });
         * // => 0
         *
         * // The `_.property` iteratee shorthand.
         * _.sortedIndexBy(objects, { 'x': 4 }, 'x');
         * // => 0
         */
        function sortedIndexBy(array, value, iteratee) {
          return baseSortedIndexBy(array, value, getIteratee(iteratee, 2));
        }
    
        /**
         * This method is like `_.indexOf` except that it performs a binary
         * search on a sorted `array`.
         *
         * @static
         * @memberOf _
         * @since 4.0.0
         * @category Array
         * @param {Array} array The array to inspect.
         * @param {*} value The value to search for.
         * @returns {number} Returns the index of the matched value, else `-1`.
         * @example
         *
         * _.sortedIndexOf([4, 5, 5, 5, 6], 5);
         * // => 1
         */
        function sortedIndexOf(array, value) {
          var length = array == null ? 0 : array.length;
          if (length) {
            var index = baseSortedIndex(array, value);
            if (index < length && eq(array[index], value)) {
              return index;
            }
          }
          return -1;
        }
    
        /**
         * This method is like `_.sortedIndex` except that it returns the highest
         * index at which `value` should be inserted into `array` in order to
         * maintain its sort order.
         *
         * @static
         * @memberOf _
         * @since 3.0.0
         * @category Array
         * @param {Array} array The sorted array to inspect.
         * @param {*} value The value to evaluate.
         * @returns {number} Returns the index at which `value` should be inserted
         *  into `array`.
         * @example
         *
         * _.sortedLastIndex([4, 5, 5, 5, 6], 5);
         * // => 4
         */
        function sortedLastIndex(array, value) {
          return baseSortedIndex(array, value, true);
        }
    
        /**
         * This method is like `_.sortedLastIndex` except that it accepts `iteratee`
         * which is invoked for `value` and each element of `array` to compute their
         * sort ranking. The iteratee is invoked with one argument: (value).
         *
         * @static
         * @memberOf _
         * @since 4.0.0
         * @category Array
         * @param {Array} array The sorted array to inspect.
         * @param {*} value The value to evaluate.
         * @param {Function} [iteratee=_.identity] The iteratee invoked per element.
         * @returns {number} Returns the index at which `value` should be inserted
         *  into `array`.
         * @example
         *
         * var objects = [{ 'x': 4 }, { 'x': 5 }];
         *
         * _.sortedLastIndexBy(objects, { 'x': 4 }, function(o) { return o.x; });
         * // => 1
         *
         * // The `_.property` iteratee shorthand.
         * _.sortedLastIndexBy(objects, { 'x': 4 }, 'x');
         * // => 1
         */
        function sortedLastIndexBy(array, value, iteratee) {
          return baseSortedIndexBy(array, value, getIteratee(iteratee, 2), true);
        }
    
        /**
         * This method is like `_.lastIndexOf` except that it performs a binary
         * search on a sorted `array`.
         *
         * @static
         * @memberOf _
         * @since 4.0.0
         * @category Array
         * @param {Array} array The array to inspect.
         * @param {*} value The value to search for.
         * @returns {number} Returns the index of the matched value, else `-1`.
         * @example
         *
         * _.sortedLastIndexOf([4, 5, 5, 5, 6], 5);
         * // => 3
         */
        function sortedLastIndexOf(array, value) {
          var length = array == null ? 0 : array.length;
          if (length) {
            var index = baseSortedIndex(array, value, true) - 1;
            if (eq(array[index], value)) {
              return index;
            }
          }
          return -1;
        }
    
        /**
         * This method is like `_.uniq` except that it's designed and optimized
         * for sorted arrays.
         *
         * @static
         * @memberOf _
         * @since 4.0.0
         * @category Array
         * @param {Array} array The array to inspect.
         * @returns {Array} Returns the new duplicate free array.
         * @example
         *
         * _.sortedUniq([1, 1, 2]);
         * // => [1, 2]
         */
        function sortedUniq(array) {
          return (array && array.length)
            ? baseSortedUniq(array)
            : [];
        }
    
        /**
         * This method is like `_.uniqBy` except that it's designed and optimized
         * for sorted arrays.
         *
         * @static
         * @memberOf _
         * @since 4.0.0
         * @category Array
         * @param {Array} array The array to inspect.
         * @param {Function} [iteratee] The iteratee invoked per element.
         * @returns {Array} Returns the new duplicate free array.
         * @example
         *
         * _.sortedUniqBy([1.1, 1.2, 2.3, 2.4], Math.floor);
         * // => [1.1, 2.3]
         */
        function sortedUniqBy(array, iteratee) {
          return (array && array.length)
            ? baseSortedUniq(array, getIteratee(iteratee, 2))
            : [];
        }
    
        /**
         * Gets all but the first element of `array`.
         *
         * @static
         * @memberOf _
         * @since 4.0.0
         * @category Array
         * @param {Array} array The array to query.
         * @returns {Array} Returns the slice of `array`.
         * @example
         *
         * _.tail([1, 2, 3]);
         * // => [2, 3]
         */
        function tail(array) {
          var length = array == null ? 0 : array.length;
          return length ? baseSlice(array, 1, length) : [];
        }
    
        /**
         * Creates a slice of `array` with `n` elements taken from the beginning.
         *
         * @static
         * @memberOf _
         * @since 0.1.0
         * @category Array
         * @param {Array} array The array to query.
         * @param {number} [n=1] The number of elements to take.
         * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.
         * @returns {Array} Returns the slice of `array`.
         * @example
         *
         * _.take([1, 2, 3]);
         * // => [1]
         *
         * _.take([1, 2, 3], 2);
         * // => [1, 2]
         *
         * _.take([1, 2, 3], 5);
         * // => [1, 2, 3]
         *
         * _.take([1, 2, 3], 0);
         * // => []
         */
        function take(array, n, guard) {
          if (!(array && array.length)) {
            return [];
          }
          n = (guard || n === undefined) ? 1 : toInteger(n);
          return baseSlice(array, 0, n < 0 ? 0 : n);
        }
    
        /**
         * Creates a slice of `array` with `n` elements taken from the end.
         *
         * @static
         * @memberOf _
         * @since 3.0.0
         * @category Array
         * @param {Array} array The array to query.
         * @param {number} [n=1] The number of elements to take.
         * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.
         * @returns {Array} Returns the slice of `array`.
         * @example
         *
         * _.takeRight([1, 2, 3]);
         * // => [3]
         *
         * _.takeRight([1, 2, 3], 2);
         * // => [2, 3]
         *
         * _.takeRight([1, 2, 3], 5);
         * // => [1, 2, 3]
         *
         * _.takeRight([1, 2, 3], 0);
         * // => []
         */
        function takeRight(array, n, guard) {
          var length = array == null ? 0 : array.length;
          if (!length) {
            return [];
          }
          n = (guard || n === undefined) ? 1 : toInteger(n);
          n = length - n;
          return baseSlice(array, n < 0 ? 0 : n, length);
        }
    
        /**
         * Creates a slice of `array` with elements taken from the end. Elements are
         * taken until `predicate` returns falsey. The predicate is invoked with
         * three arguments: (value, index, array).
         *
         * @static
         * @memberOf _
         * @since 3.0.0
         * @category Array
         * @param {Array} array The array to query.
         * @param {Function} [predicate=_.identity] The function invoked per iteration.
         * @returns {Array} Returns the slice of `array`.
         * @example
         *
         * var users = [
         *   { 'user': 'barney',  'active': true },
         *   { 'user': 'fred',    'active': false },
         *   { 'user': 'pebbles', 'active': false }
         * ];
         *
         * _.takeRightWhile(users, function(o) { return !o.active; });
         * // => objects for ['fred', 'pebbles']
         *
         * // The `_.matches` iteratee shorthand.
         * _.takeRightWhile(users, { 'user': 'pebbles', 'active': false });
         * // => objects for ['pebbles']
         *
         * // The `_.matchesProperty` iteratee shorthand.
         * _.takeRightWhile(users, ['active', false]);
         * // => objects for ['fred', 'pebbles']
         *
         * // The `_.property` iteratee shorthand.
         * _.takeRightWhile(users, 'active');
         * // => []
         */
        function takeRightWhile(array, predicate) {
          return (array && array.length)
            ? baseWhile(array, getIteratee(predicate, 3), false, true)
            : [];
        }
    
        /**
         * Creates a slice of `array` with elements taken from the beginning. Elements
         * are taken until `predicate` returns falsey. The predicate is invoked with
         * three arguments: (value, index, array).
         *
         * @static
         * @memberOf _
         * @since 3.0.0
         * @category Array
         * @param {Array} array The array to query.
         * @param {Function} [predicate=_.identity] The function invoked per iteration.
         * @returns {Array} Returns the slice of `array`.
         * @example
         *
         * var users = [
         *   { 'user': 'barney',  'active': false },
         *   { 'user': 'fred',    'active': false },
         *   { 'user': 'pebbles', 'active': true }
         * ];
         *
         * _.takeWhile(users, function(o) { return !o.active; });
         * // => objects for ['barney', 'fred']
         *
         * // The `_.matches` iteratee shorthand.
         * _.takeWhile(users, { 'user': 'barney', 'active': false });
         * // => objects for ['barney']
         *
         * // The `_.matchesProperty` iteratee shorthand.
         * _.takeWhile(users, ['active', false]);
         * // => objects for ['barney', 'fred']
         *
         * // The `_.property` iteratee shorthand.
         * _.takeWhile(users, 'active');
         * // => []
         */
        function takeWhile(array, predicate) {
          return (array && array.length)
            ? baseWhile(array, getIteratee(predicate, 3))
            : [];
        }
    
        /**
         * Creates an array of unique values, in order, from all given arrays using
         * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
         * for equality comparisons.
         *
         * @static
         * @memberOf _
         * @since 0.1.0
         * @category Array
         * @param {...Array} [arrays] The arrays to inspect.
         * @returns {Array} Returns the new array of combined values.
         * @example
         *
         * _.union([2], [1, 2]);
         * // => [2, 1]
         */
        var union = baseRest(function(arrays) {
          return baseUniq(baseFlatten(arrays, 1, isArrayLikeObject, true));
        });
    
        /**
         * This method is like `_.union` except that it accepts `iteratee` which is
         * invoked for each element of each `arrays` to generate the criterion by
         * which uniqueness is computed. Result values are chosen from the first
         * array in which the value occurs. The iteratee is invoked with one argument:
         * (value).
         *
         * @static
         * @memberOf _
         * @since 4.0.0
         * @category Array
         * @param {...Array} [arrays] The arrays to inspect.
         * @param {Function} [iteratee=_.identity] The iteratee invoked per element.
         * @returns {Array} Returns the new array of combined values.
         * @example
         *
         * _.unionBy([2.1], [1.2, 2.3], Math.floor);
         * // => [2.1, 1.2]
         *
         * // The `_.property` iteratee shorthand.
         * _.unionBy([{ 'x': 1 }], [{ 'x': 2 }, { 'x': 1 }], 'x');
         * // => [{ 'x': 1 }, { 'x': 2 }]
         */
        var unionBy = baseRest(function(arrays) {
          var iteratee = last(arrays);
          if (isArrayLikeObject(iteratee)) {
            iteratee = undefined;
          }
          return baseUniq(baseFlatten(arrays, 1, isArrayLikeObject, true), getIteratee(iteratee, 2));
        });
    
        /**
         * This method is like `_.union` except that it accepts `comparator` which
         * is invoked to compare elements of `arrays`. Result values are chosen from
         * the first array in which the value occurs. The comparator is invoked
         * with two arguments: (arrVal, othVal).
         *
         * @static
         * @memberOf _
         * @since 4.0.0
         * @category Array
         * @param {...Array} [arrays] The arrays to inspect.
         * @param {Function} [comparator] The comparator invoked per element.
         * @returns {Array} Returns the new array of combined values.
         * @example
         *
         * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }];
         * var others = [{ 'x': 1, 'y': 1 }, { 'x': 1, 'y': 2 }];
         *
         * _.unionWith(objects, others, _.isEqual);
         * // => [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }, { 'x': 1, 'y': 1 }]
         */
        var unionWith = baseRest(function(arrays) {
          var comparator = last(arrays);
          comparator = typeof comparator == 'function' ? comparator : undefined;
          return baseUniq(baseFlatten(arrays, 1, isArrayLikeObject, true), undefined, comparator);
        });
    
        /**
         * Creates a duplicate-free version of an array, using
         * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
         * for equality comparisons, in which only the first occurrence of each element
         * is kept. The order of result values is determined by the order they occur
         * in the array.
         *
         * @static
         * @memberOf _
         * @since 0.1.0
         * @category Array
         * @param {Array} array The array to inspect.
         * @returns {Array} Returns the new duplicate free array.
         * @example
         *
         * _.uniq([2, 1, 2]);
         * // => [2, 1]
         */
        function uniq(array) {
          return (array && array.length) ? baseUniq(array) : [];
        }
    
        /**
         * This method is like `_.uniq` except that it accepts `iteratee` which is
         * invoked for each element in `array` to generate the criterion by which
         * uniqueness is computed. The order of result values is determined by the
         * order they occur in the array. The iteratee is invoked with one argument:
         * (value).
         *
         * @static
         * @memberOf _
         * @since 4.0.0
         * @category Array
         * @param {Array} array The array to inspect.
         * @param {Function} [iteratee=_.identity] The iteratee invoked per element.
         * @returns {Array} Returns the new duplicate free array.
         * @example
         *
         * _.uniqBy([2.1, 1.2, 2.3], Math.floor);
         * // => [2.1, 1.2]
         *
         * // The `_.property` iteratee shorthand.
         * _.uniqBy([{ 'x': 1 }, { 'x': 2 }, { 'x': 1 }], 'x');
         * // => [{ 'x': 1 }, { 'x': 2 }]
         */
        function uniqBy(array, iteratee) {
          return (array && array.length) ? baseUniq(array, getIteratee(iteratee, 2)) : [];
        }
    
        /**
         * This method is like `_.uniq` except that it accepts `comparator` which
         * is invoked to compare elements of `array`. The order of result values is
         * determined by the order they occur in the array.The comparator is invoked
         * with two arguments: (arrVal, othVal).
         *
         * @static
         * @memberOf _
         * @since 4.0.0
         * @category Array
         * @param {Array} array The array to inspect.
         * @param {Function} [comparator] The comparator invoked per element.
         * @returns {Array} Returns the new duplicate free array.
         * @example
         *
         * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }, { 'x': 1, 'y': 2 }];
         *
         * _.uniqWith(objects, _.isEqual);
         * // => [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }]
         */
        function uniqWith(array, comparator) {
          comparator = typeof comparator == 'function' ? comparator : undefined;
          return (array && array.length) ? baseUniq(array, undefined, comparator) : [];
        }
    
        /**
         * This method is like `_.zip` except that it accepts an array of grouped
         * elements and creates an array regrouping the elements to their pre-zip
         * configuration.
         *
         * @static
         * @memberOf _
         * @since 1.2.0
         * @category Array
         * @param {Array} array The array of grouped elements to process.
         * @returns {Array} Returns the new array of regrouped elements.
         * @example
         *
         * var zipped = _.zip(['a', 'b'], [1, 2], [true, false]);
         * // => [['a', 1, true], ['b', 2, false]]
         *
         * _.unzip(zipped);
         * // => [['a', 'b'], [1, 2], [true, false]]
         */
        function unzip(array) {
          if (!(array && array.length)) {
            return [];
          }
          var length = 0;
          array = arrayFilter(array, function(group) {
            if (isArrayLikeObject(group)) {
              length = nativeMax(group.length, length);
              return true;
            }
          });
          return baseTimes(length, function(index) {
            return arrayMap(array, baseProperty(index));
          });
        }
    
        /**
         * This method is like `_.unzip` except that it accepts `iteratee` to specify
         * how regrouped values should be combined. The iteratee is invoked with the
         * elements of each group: (...group).
         *
         * @static
         * @memberOf _
         * @since 3.8.0
         * @category Array
         * @param {Array} array The array of grouped elements to process.
         * @param {Function} [iteratee=_.identity] The function to combine
         *  regrouped values.
         * @returns {Array} Returns the new array of regrouped elements.
         * @example
         *
         * var zipped = _.zip([1, 2], [10, 20], [100, 200]);
         * // => [[1, 10, 100], [2, 20, 200]]
         *
         * _.unzipWith(zipped, _.add);
         * // => [3, 30, 300]
         */
        function unzipWith(array, iteratee) {
          if (!(array && array.length)) {
            return [];
          }
          var result = unzip(array);
          if (iteratee == null) {
            return result;
          }
          return arrayMap(result, function(group) {
            return apply(iteratee, undefined, group);
          });
        }
    
        /**
         * Creates an array excluding all given values using
         * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
         * for equality comparisons.
         *
         * **Note:** Unlike `_.pull`, this method returns a new array.
         *
         * @static
         * @memberOf _
         * @since 0.1.0
         * @category Array
         * @param {Array} array The array to inspect.
         * @param {...*} [values] The values to exclude.
         * @returns {Array} Returns the new array of filtered values.
         * @see _.difference, _.xor
         * @example
         *
         * _.without([2, 1, 2, 3], 1, 2);
         * // => [3]
         */
        var without = baseRest(function(array, values) {
          return isArrayLikeObject(array)
            ? baseDifference(array, values)
            : [];
        });
    
        /**
         * Creates an array of unique values that is the
         * [symmetric difference](https://en.wikipedia.org/wiki/Symmetric_difference)
         * of the given arrays. The order of result values is determined by the order
         * they occur in the arrays.
         *
         * @static
         * @memberOf _
         * @since 2.4.0
         * @category Array
         * @param {...Array} [arrays] The arrays to inspect.
         * @returns {Array} Returns the new array of filtered values.
         * @see _.difference, _.without
         * @example
         *
         * _.xor([2, 1], [2, 3]);
         * // => [1, 3]
         */
        var xor = baseRest(function(arrays) {
          return baseXor(arrayFilter(arrays, isArrayLikeObject));
        });
    
        /**
         * This method is like `_.xor` except that it accepts `iteratee` which is
         * invoked for each element of each `arrays` to generate the criterion by
         * which by which they're compared. The order of result values is determined
         * by the order they occur in the arrays. The iteratee is invoked with one
         * argument: (value).
         *
         * @static
         * @memberOf _
         * @since 4.0.0
         * @category Array
         * @param {...Array} [arrays] The arrays to inspect.
         * @param {Function} [iteratee=_.identity] The iteratee invoked per element.
         * @returns {Array} Returns the new array of filtered values.
         * @example
         *
         * _.xorBy([2.1, 1.2], [2.3, 3.4], Math.floor);
         * // => [1.2, 3.4]
         *
         * // The `_.property` iteratee shorthand.
         * _.xorBy([{ 'x': 1 }], [{ 'x': 2 }, { 'x': 1 }], 'x');
         * // => [{ 'x': 2 }]
         */
        var xorBy = baseRest(function(arrays) {
          var iteratee = last(arrays);
          if (isArrayLikeObject(iteratee)) {
            iteratee = undefined;
          }
          return baseXor(arrayFilter(arrays, isArrayLikeObject), getIteratee(iteratee, 2));
        });
    
        /**
         * This method is like `_.xor` except that it accepts `comparator` which is
         * invoked to compare elements of `arrays`. The order of result values is
         * determined by the order they occur in the arrays. The comparator is invoked
         * with two arguments: (arrVal, othVal).
         *
         * @static
         * @memberOf _
         * @since 4.0.0
         * @category Array
         * @param {...Array} [arrays] The arrays to inspect.
         * @param {Function} [comparator] The comparator invoked per element.
         * @returns {Array} Returns the new array of filtered values.
         * @example
         *
         * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }];
         * var others = [{ 'x': 1, 'y': 1 }, { 'x': 1, 'y': 2 }];
         *
         * _.xorWith(objects, others, _.isEqual);
         * // => [{ 'x': 2, 'y': 1 }, { 'x': 1, 'y': 1 }]
         */
        var xorWith = baseRest(function(arrays) {
          var comparator = last(arrays);
          comparator = typeof comparator == 'function' ? comparator : undefined;
          return baseXor(arrayFilter(arrays, isArrayLikeObject), undefined, comparator);
        });
    
        /**
         * Creates an array of grouped elements, the first of which contains the
         * first elements of the given arrays, the second of which contains the
         * second elements of the given arrays, and so on.
         *
         * @static
         * @memberOf _
         * @since 0.1.0
         * @category Array
         * @param {...Array} [arrays] The arrays to process.
         * @returns {Array} Returns the new array of grouped elements.
         * @example
         *
         * _.zip(['a', 'b'], [1, 2], [true, false]);
         * // => [['a', 1, true], ['b', 2, false]]
         */
        var zip = baseRest(unzip);
    
        /**
         * This method is like `_.fromPairs` except that it accepts two arrays,
         * one of property identifiers and one of corresponding values.
         *
         * @static
         * @memberOf _
         * @since 0.4.0
         * @category Array
         * @param {Array} [props=[]] The property identifiers.
         * @param {Array} [values=[]] The property values.
         * @returns {Object} Returns the new object.
         * @example
         *
         * _.zipObject(['a', 'b'], [1, 2]);
         * // => { 'a': 1, 'b': 2 }
         */
        function zipObject(props, values) {
          return baseZipObject(props || [], values || [], assignValue);
        }
    
        /**
         * This method is like `_.zipObject` except that it supports property paths.
         *
         * @static
         * @memberOf _
         * @since 4.1.0
         * @category Array
         * @param {Array} [props=[]] The property identifiers.
         * @param {Array} [values=[]] The property values.
         * @returns {Object} Returns the new object.
         * @example
         *
         * _.zipObjectDeep(['a.b[0].c', 'a.b[1].d'], [1, 2]);
         * // => { 'a': { 'b': [{ 'c': 1 }, { 'd': 2 }] } }
         */
        function zipObjectDeep(props, values) {
          return baseZipObject(props || [], values || [], baseSet);
        }
    
        /**
         * This method is like `_.zip` except that it accepts `iteratee` to specify
         * how grouped values should be combined. The iteratee is invoked with the
         * elements of each group: (...group).
         *
         * @static
         * @memberOf _
         * @since 3.8.0
         * @category Array
         * @param {...Array} [arrays] The arrays to process.
         * @param {Function} [iteratee=_.identity] The function to combine
         *  grouped values.
         * @returns {Array} Returns the new array of grouped elements.
         * @example
         *
         * _.zipWith([1, 2], [10, 20], [100, 200], function(a, b, c) {
         *   return a + b + c;
         * });
         * // => [111, 222]
         */
        var zipWith = baseRest(function(arrays) {
          var length = arrays.length,
              iteratee = length > 1 ? arrays[length - 1] : undefined;
    
          iteratee = typeof iteratee == 'function' ? (arrays.pop(), iteratee) : undefined;
          return unzipWith(arrays, iteratee);
        });
    
        /*------------------------------------------------------------------------*/
    
        /**
         * Creates a `lodash` wrapper instance that wraps `value` with explicit method
         * chain sequences enabled. The result of such sequences must be unwrapped
         * with `_#value`.
         *
         * @static
         * @memberOf _
         * @since 1.3.0
         * @category Seq
         * @param {*} value The value to wrap.
         * @returns {Object} Returns the new `lodash` wrapper instance.
         * @example
         *
         * var users = [
         *   { 'user': 'barney',  'age': 36 },
         *   { 'user': 'fred',    'age': 40 },
         *   { 'user': 'pebbles', 'age': 1 }
         * ];
         *
         * var youngest = _
         *   .chain(users)
         *   .sortBy('age')
         *   .map(function(o) {
         *     return o.user + ' is ' + o.age;
         *   })
         *   .head()
         *   .value();
         * // => 'pebbles is 1'
         */
        function chain(value) {
          var result = lodash(value);
          result.__chain__ = true;
          return result;
        }
    
        /**
         * This method invokes `interceptor` and returns `value`. The interceptor
         * is invoked with one argument; (value). The purpose of this method is to
         * "tap into" a method chain sequence in order to modify intermediate results.
         *
         * @static
         * @memberOf _
         * @since 0.1.0
         * @category Seq
         * @param {*} value The value to provide to `interceptor`.
         * @param {Function} interceptor The function to invoke.
         * @returns {*} Returns `value`.
         * @example
         *
         * _([1, 2, 3])
         *  .tap(function(array) {
         *    // Mutate input array.
         *    array.pop();
         *  })
         *  .reverse()
         *  .value();
         * // => [2, 1]
         */
        function tap(value, interceptor) {
          interceptor(value);
          return value;
        }
    
        /**
         * This method is like `_.tap` except that it returns the result of `interceptor`.
         * The purpose of this method is to "pass thru" values replacing intermediate
         * results in a method chain sequence.
         *
         * @static
         * @memberOf _
         * @since 3.0.0
         * @category Seq
         * @param {*} value The value to provide to `interceptor`.
         * @param {Function} interceptor The function to invoke.
         * @returns {*} Returns the result of `interceptor`.
         * @example
         *
         * _('  abc  ')
         *  .chain()
         *  .trim()
         *  .thru(function(value) {
         *    return [value];
         *  })
         *  .value();
         * // => ['abc']
         */
        function thru(value, interceptor) {
          return interceptor(value);
        }
    
        /**
         * This method is the wrapper version of `_.at`.
         *
         * @name at
         * @memberOf _
         * @since 1.0.0
         * @category Seq
         * @param {...(string|string[])} [paths] The property paths to pick.
         * @returns {Object} Returns the new `lodash` wrapper instance.
         * @example
         *
         * var object = { 'a': [{ 'b': { 'c': 3 } }, 4] };
         *
         * _(object).at(['a[0].b.c', 'a[1]']).value();
         * // => [3, 4]
         */
        var wrapperAt = flatRest(function(paths) {
          var length = paths.length,
              start = length ? paths[0] : 0,
              value = this.__wrapped__,
              interceptor = function(object) { return baseAt(object, paths); };
    
          if (length > 1 || this.__actions__.length ||
              !(value instanceof LazyWrapper) || !isIndex(start)) {
            return this.thru(interceptor);
          }
          value = value.slice(start, +start + (length ? 1 : 0));
          value.__actions__.push({
            'func': thru,
            'args': [interceptor],
            'thisArg': undefined
          });
          return new LodashWrapper(value, this.__chain__).thru(function(array) {
            if (length && !array.length) {
              array.push(undefined);
            }
            return array;
          });
        });
    
        /**
         * Creates a `lodash` wrapper instance with explicit method chain sequences enabled.
         *
         * @name chain
         * @memberOf _
         * @since 0.1.0
         * @category Seq
         * @returns {Object} Returns the new `lodash` wrapper instance.
         * @example
         *
         * var users = [
         *   { 'user': 'barney', 'age': 36 },
         *   { 'user': 'fred',   'age': 40 }
         * ];
         *
         * // A sequence without explicit chaining.
         * _(users).head();
         * // => { 'user': 'barney', 'age': 36 }
         *
         * // A sequence with explicit chaining.
         * _(users)
         *   .chain()
         *   .head()
         *   .pick('user')
         *   .value();
         * // => { 'user': 'barney' }
         */
        function wrapperChain() {
          return chain(this);
        }
    
        /**
         * Executes the chain sequence and returns the wrapped result.
         *
         * @name commit
         * @memberOf _
         * @since 3.2.0
         * @category Seq
         * @returns {Object} Returns the new `lodash` wrapper instance.
         * @example
         *
         * var array = [1, 2];
         * var wrapped = _(array).push(3);
         *
         * console.log(array);
         * // => [1, 2]
         *
         * wrapped = wrapped.commit();
         * console.log(array);
         * // => [1, 2, 3]
         *
         * wrapped.last();
         * // => 3
         *
         * console.log(array);
         * // => [1, 2, 3]
         */
        function wrapperCommit() {
          return new LodashWrapper(this.value(), this.__chain__);
        }
    
        /**
         * Gets the next value on a wrapped object following the
         * [iterator protocol](https://mdn.io/iteration_protocols#iterator).
         *
         * @name next
         * @memberOf _
         * @since 4.0.0
         * @category Seq
         * @returns {Object} Returns the next iterator value.
         * @example
         *
         * var wrapped = _([1, 2]);
         *
         * wrapped.next();
         * // => { 'done': false, 'value': 1 }
         *
         * wrapped.next();
         * // => { 'done': false, 'value': 2 }
         *
         * wrapped.next();
         * // => { 'done': true, 'value': undefined }
         */
        function wrapperNext() {
          if (this.__values__ === undefined) {
            this.__values__ = toArray(this.value());
          }
          var done = this.__index__ >= this.__values__.length,
              value = done ? undefined : this.__values__[this.__index__++];
    
          return { 'done': done, 'value': value };
        }
    
        /**
         * Enables the wrapper to be iterable.
         *
         * @name Symbol.iterator
         * @memberOf _
         * @since 4.0.0
         * @category Seq
         * @returns {Object} Returns the wrapper object.
         * @example
         *
         * var wrapped = _([1, 2]);
         *
         * wrapped[Symbol.iterator]() === wrapped;
         * // => true
         *
         * Array.from(wrapped);
         * // => [1, 2]
         */
        function wrapperToIterator() {
          return this;
        }
    
        /**
         * Creates a clone of the chain sequence planting `value` as the wrapped value.
         *
         * @name plant
         * @memberOf _
         * @since 3.2.0
         * @category Seq
         * @param {*} value The value to plant.
         * @returns {Object} Returns the new `lodash` wrapper instance.
         * @example
         *
         * function square(n) {
         *   return n * n;
         * }
         *
         * var wrapped = _([1, 2]).map(square);
         * var other = wrapped.plant([3, 4]);
         *
         * other.value();
         * // => [9, 16]
         *
         * wrapped.value();
         * // => [1, 4]
         */
        function wrapperPlant(value) {
          var result,
              parent = this;
    
          while (parent instanceof baseLodash) {
            var clone = wrapperClone(parent);
            clone.__index__ = 0;
            clone.__values__ = undefined;
            if (result) {
              previous.__wrapped__ = clone;
            } else {
              result = clone;
            }
            var previous = clone;
            parent = parent.__wrapped__;
          }
          previous.__wrapped__ = value;
          return result;
        }
    
        /**
         * This method is the wrapper version of `_.reverse`.
         *
         * **Note:** This method mutates the wrapped array.
         *
         * @name reverse
         * @memberOf _
         * @since 0.1.0
         * @category Seq
         * @returns {Object} Returns the new `lodash` wrapper instance.
         * @example
         *
         * var array = [1, 2, 3];
         *
         * _(array).reverse().value()
         * // => [3, 2, 1]
         *
         * console.log(array);
         * // => [3, 2, 1]
         */
        function wrapperReverse() {
          var value = this.__wrapped__;
          if (value instanceof LazyWrapper) {
            var wrapped = value;
            if (this.__actions__.length) {
              wrapped = new LazyWrapper(this);
            }
            wrapped = wrapped.reverse();
            wrapped.__actions__.push({
              'func': thru,
              'args': [reverse],
              'thisArg': undefined
            });
            return new LodashWrapper(wrapped, this.__chain__);
          }
          return this.thru(reverse);
        }
    
        /**
         * Executes the chain sequence to resolve the unwrapped value.
         *
         * @name value
         * @memberOf _
         * @since 0.1.0
         * @alias toJSON, valueOf
         * @category Seq
         * @returns {*} Returns the resolved unwrapped value.
         * @example
         *
         * _([1, 2, 3]).value();
         * // => [1, 2, 3]
         */
        function wrapperValue() {
          return baseWrapperValue(this.__wrapped__, this.__actions__);
        }
    
        /*------------------------------------------------------------------------*/
    
        /**
         * Creates an object composed of keys generated from the results of running
         * each element of `collection` thru `iteratee`. The corresponding value of
         * each key is the number of times the key was returned by `iteratee`. The
         * iteratee is invoked with one argument: (value).
         *
         * @static
         * @memberOf _
         * @since 0.5.0
         * @category Collection
         * @param {Array|Object} collection The collection to iterate over.
         * @param {Function} [iteratee=_.identity] The iteratee to transform keys.
         * @returns {Object} Returns the composed aggregate object.
         * @example
         *
         * _.countBy([6.1, 4.2, 6.3], Math.floor);
         * // => { '4': 1, '6': 2 }
         *
         * // The `_.property` iteratee shorthand.
         * _.countBy(['one', 'two', 'three'], 'length');
         * // => { '3': 2, '5': 1 }
         */
        var countBy = createAggregator(function(result, value, key) {
          if (hasOwnProperty.call(result, key)) {
            ++result[key];
          } else {
            baseAssignValue(result, key, 1);
          }
        });
    
        /**
         * Checks if `predicate` returns truthy for **all** elements of `collection`.
         * Iteration is stopped once `predicate` returns falsey. The predicate is
         * invoked with three arguments: (value, index|key, collection).
         *
         * **Note:** This method returns `true` for
         * [empty collections](https://en.wikipedia.org/wiki/Empty_set) because
         * [everything is true](https://en.wikipedia.org/wiki/Vacuous_truth) of
         * elements of empty collections.
         *
         * @static
         * @memberOf _
         * @since 0.1.0
         * @category Collection
         * @param {Array|Object} collection The collection to iterate over.
         * @param {Function} [predicate=_.identity] The function invoked per iteration.
         * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.
         * @returns {boolean} Returns `true` if all elements pass the predicate check,
         *  else `false`.
         * @example
         *
         * _.every([true, 1, null, 'yes'], Boolean);
         * // => false
         *
         * var users = [
         *   { 'user': 'barney', 'age': 36, 'active': false },
         *   { 'user': 'fred',   'age': 40, 'active': false }
         * ];
         *
         * // The `_.matches` iteratee shorthand.
         * _.every(users, { 'user': 'barney', 'active': false });
         * // => false
         *
         * // The `_.matchesProperty` iteratee shorthand.
         * _.every(users, ['active', false]);
         * // => true
         *
         * // The `_.property` iteratee shorthand.
         * _.every(users, 'active');
         * // => false
         */
        function every(collection, predicate, guard) {
          var func = isArray(collection) ? arrayEvery : baseEvery;
          if (guard && isIterateeCall(collection, predicate, guard)) {
            predicate = undefined;
          }
          return func(collection, getIteratee(predicate, 3));
        }
    
        /**
         * Iterates over elements of `collection`, returning an array of all elements
         * `predicate` returns truthy for. The predicate is invoked with three
         * arguments: (value, index|key, collection).
         *
         * **Note:** Unlike `_.remove`, this method returns a new array.
         *
         * @static
         * @memberOf _
         * @since 0.1.0
         * @category Collection
         * @param {Array|Object} collection The collection to iterate over.
         * @param {Function} [predicate=_.identity] The function invoked per iteration.
         * @returns {Array} Returns the new filtered array.
         * @see _.reject
         * @example
         *
         * var users = [
         *   { 'user': 'barney', 'age': 36, 'active': true },
         *   { 'user': 'fred',   'age': 40, 'active': false }
         * ];
         *
         * _.filter(users, function(o) { return !o.active; });
         * // => objects for ['fred']
         *
         * // The `_.matches` iteratee shorthand.
         * _.filter(users, { 'age': 36, 'active': true });
         * // => objects for ['barney']
         *
         * // The `_.matchesProperty` iteratee shorthand.
         * _.filter(users, ['active', false]);
         * // => objects for ['fred']
         *
         * // The `_.property` iteratee shorthand.
         * _.filter(users, 'active');
         * // => objects for ['barney']
         *
         * // Combining several predicates using `_.overEvery` or `_.overSome`.
         * _.filter(users, _.overSome([{ 'age': 36 }, ['age', 40]]));
         * // => objects for ['fred', 'barney']
         */
        function filter(collection, predicate) {
          var func = isArray(collection) ? arrayFilter : baseFilter;
          return func(collection, getIteratee(predicate, 3));
        }
    
        /**
         * Iterates over elements of `collection`, returning the first element
         * `predicate` returns truthy for. The predicate is invoked with three
         * arguments: (value, index|key, collection).
         *
         * @static
         * @memberOf _
         * @since 0.1.0
         * @category Collection
         * @param {Array|Object} collection The collection to inspect.
         * @param {Function} [predicate=_.identity] The function invoked per iteration.
         * @param {number} [fromIndex=0] The index to search from.
         * @returns {*} Returns the matched element, else `undefined`.
         * @example
         *
         * var users = [
         *   { 'user': 'barney',  'age': 36, 'active': true },
         *   { 'user': 'fred',    'age': 40, 'active': false },
         *   { 'user': 'pebbles', 'age': 1,  'active': true }
         * ];
         *
         * _.find(users, function(o) { return o.age < 40; });
         * // => object for 'barney'
         *
         * // The `_.matches` iteratee shorthand.
         * _.find(users, { 'age': 1, 'active': true });
         * // => object for 'pebbles'
         *
         * // The `_.matchesProperty` iteratee shorthand.
         * _.find(users, ['active', false]);
         * // => object for 'fred'
         *
         * // The `_.property` iteratee shorthand.
         * _.find(users, 'active');
         * // => object for 'barney'
         */
        var find = createFind(findIndex);
    
        /**
         * This method is like `_.find` except that it iterates over elements of
         * `collection` from right to left.
         *
         * @static
         * @memberOf _
         * @since 2.0.0
         * @category Collection
         * @param {Array|Object} collection The collection to inspect.
         * @param {Function} [predicate=_.identity] The function invoked per iteration.
         * @param {number} [fromIndex=collection.length-1] The index to search from.
         * @returns {*} Returns the matched element, else `undefined`.
         * @example
         *
         * _.findLast([1, 2, 3, 4], function(n) {
         *   return n % 2 == 1;
         * });
         * // => 3
         */
        var findLast = createFind(findLastIndex);
    
        /**
         * Creates a flattened array of values by running each element in `collection`
         * thru `iteratee` and flattening the mapped results. The iteratee is invoked
         * with three arguments: (value, index|key, collection).
         *
         * @static
         * @memberOf _
         * @since 4.0.0
         * @category Collection
         * @param {Array|Object} collection The collection to iterate over.
         * @param {Function} [iteratee=_.identity] The function invoked per iteration.
         * @returns {Array} Returns the new flattened array.
         * @example
         *
         * function duplicate(n) {
         *   return [n, n];
         * }
         *
         * _.flatMap([1, 2], duplicate);
         * // => [1, 1, 2, 2]
         */
        function flatMap(collection, iteratee) {
          return baseFlatten(map(collection, iteratee), 1);
        }
    
        /**
         * This method is like `_.flatMap` except that it recursively flattens the
         * mapped results.
         *
         * @static
         * @memberOf _
         * @since 4.7.0
         * @category Collection
         * @param {Array|Object} collection The collection to iterate over.
         * @param {Function} [iteratee=_.identity] The function invoked per iteration.
         * @returns {Array} Returns the new flattened array.
         * @example
         *
         * function duplicate(n) {
         *   return [[[n, n]]];
         * }
         *
         * _.flatMapDeep([1, 2], duplicate);
         * // => [1, 1, 2, 2]
         */
        function flatMapDeep(collection, iteratee) {
          return baseFlatten(map(collection, iteratee), INFINITY);
        }
    
        /**
         * This method is like `_.flatMap` except that it recursively flattens the
         * mapped results up to `depth` times.
         *
         * @static
         * @memberOf _
         * @since 4.7.0
         * @category Collection
         * @param {Array|Object} collection The collection to iterate over.
         * @param {Function} [iteratee=_.identity] The function invoked per iteration.
         * @param {number} [depth=1] The maximum recursion depth.
         * @returns {Array} Returns the new flattened array.
         * @example
         *
         * function duplicate(n) {
         *   return [[[n, n]]];
         * }
         *
         * _.flatMapDepth([1, 2], duplicate, 2);
         * // => [[1, 1], [2, 2]]
         */
        function flatMapDepth(collection, iteratee, depth) {
          depth = depth === undefined ? 1 : toInteger(depth);
          return baseFlatten(map(collection, iteratee), depth);
        }
    
        /**
         * Iterates over elements of `collection` and invokes `iteratee` for each element.
         * The iteratee is invoked with three arguments: (value, index|key, collection).
         * Iteratee functions may exit iteration early by explicitly returning `false`.
         *
         * **Note:** As with other "Collections" methods, objects with a "length"
         * property are iterated like arrays. To avoid this behavior use `_.forIn`
         * or `_.forOwn` for object iteration.
         *
         * @static
         * @memberOf _
         * @since 0.1.0
         * @alias each
         * @category Collection
         * @param {Array|Object} collection The collection to iterate over.
         * @param {Function} [iteratee=_.identity] The function invoked per iteration.
         * @returns {Array|Object} Returns `collection`.
         * @see _.forEachRight
         * @example
         *
         * _.forEach([1, 2], function(value) {
         *   console.log(value);
         * });
         * // => Logs `1` then `2`.
         *
         * _.forEach({ 'a': 1, 'b': 2 }, function(value, key) {
         *   console.log(key);
         * });
         * // => Logs 'a' then 'b' (iteration order is not guaranteed).
         */
        function forEach(collection, iteratee) {
          var func = isArray(collection) ? arrayEach : baseEach;
          return func(collection, getIteratee(iteratee, 3));
        }
    
        /**
         * This method is like `_.forEach` except that it iterates over elements of
         * `collection` from right to left.
         *
         * @static
         * @memberOf _
         * @since 2.0.0
         * @alias eachRight
         * @category Collection
         * @param {Array|Object} collection The collection to iterate over.
         * @param {Function} [iteratee=_.identity] The function invoked per iteration.
         * @returns {Array|Object} Returns `collection`.
         * @see _.forEach
         * @example
         *
         * _.forEachRight([1, 2], function(value) {
         *   console.log(value);
         * });
         * // => Logs `2` then `1`.
         */
        function forEachRight(collection, iteratee) {
          var func = isArray(collection) ? arrayEachRight : baseEachRight;
          return func(collection, getIteratee(iteratee, 3));
        }
    
        /**
         * Creates an object composed of keys generated from the results of running
         * each element of `collection` thru `iteratee`. The order of grouped values
         * is determined by the order they occur in `collection`. The corresponding
         * value of each key is an array of elements responsible for generating the
         * key. The iteratee is invoked with one argument: (value).
         *
         * @static
         * @memberOf _
         * @since 0.1.0
         * @category Collection
         * @param {Array|Object} collection The collection to iterate over.
         * @param {Function} [iteratee=_.identity] The iteratee to transform keys.
         * @returns {Object} Returns the composed aggregate object.
         * @example
         *
         * _.groupBy([6.1, 4.2, 6.3], Math.floor);
         * // => { '4': [4.2], '6': [6.1, 6.3] }
         *
         * // The `_.property` iteratee shorthand.
         * _.groupBy(['one', 'two', 'three'], 'length');
         * // => { '3': ['one', 'two'], '5': ['three'] }
         */
        var groupBy = createAggregator(function(result, value, key) {
          if (hasOwnProperty.call(result, key)) {
            result[key].push(value);
          } else {
            baseAssignValue(result, key, [value]);
          }
        });
    
        /**
         * Checks if `value` is in `collection`. If `collection` is a string, it's
         * checked for a substring of `value`, otherwise
         * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
         * is used for equality comparisons. If `fromIndex` is negative, it's used as
         * the offset from the end of `collection`.
         *
         * @static
         * @memberOf _
         * @since 0.1.0
         * @category Collection
         * @param {Array|Object|string} collection The collection to inspect.
         * @param {*} value The value to search for.
         * @param {number} [fromIndex=0] The index to search from.
         * @param- {Object} [guard] Enables use as an iteratee for methods like `_.reduce`.
         * @returns {boolean} Returns `true` if `value` is found, else `false`.
         * @example
         *
         * _.includes([1, 2, 3], 1);
         * // => true
         *
         * _.includes([1, 2, 3], 1, 2);
         * // => false
         *
         * _.includes({ 'a': 1, 'b': 2 }, 1);
         * // => true
         *
         * _.includes('abcd', 'bc');
         * // => true
         */
        function includes(collection, value, fromIndex, guard) {
          collection = isArrayLike(collection) ? collection : values(collection);
          fromIndex = (fromIndex && !guard) ? toInteger(fromIndex) : 0;
    
          var length = collection.length;
          if (fromIndex < 0) {
            fromIndex = nativeMax(length + fromIndex, 0);
          }
          return isString(collection)
            ? (fromIndex <= length && collection.indexOf(value, fromIndex) > -1)
            : (!!length && baseIndexOf(collection, value, fromIndex) > -1);
        }
    
        /**
         * Invokes the method at `path` of each element in `collection`, returning
         * an array of the results of each invoked method. Any additional arguments
         * are provided to each invoked method. If `path` is a function, it's invoked
         * for, and `this` bound to, each element in `collection`.
         *
         * @static
         * @memberOf _
         * @since 4.0.0
         * @category Collection
         * @param {Array|Object} collection The collection to iterate over.
         * @param {Array|Function|string} path The path of the method to invoke or
         *  the function invoked per iteration.
         * @param {...*} [args] The arguments to invoke each method with.
         * @returns {Array} Returns the array of results.
         * @example
         *
         * _.invokeMap([[5, 1, 7], [3, 2, 1]], 'sort');
         * // => [[1, 5, 7], [1, 2, 3]]
         *
         * _.invokeMap([123, 456], String.prototype.split, '');
         * // => [['1', '2', '3'], ['4', '5', '6']]
         */
        var invokeMap = baseRest(function(collection, path, args) {
          var index = -1,
              isFunc = typeof path == 'function',
              result = isArrayLike(collection) ? Array(collection.length) : [];
    
          baseEach(collection, function(value) {
            result[++index] = isFunc ? apply(path, value, args) : baseInvoke(value, path, args);
          });
          return result;
        });
    
        /**
         * Creates an object composed of keys generated from the results of running
         * each element of `collection` thru `iteratee`. The corresponding value of
         * each key is the last element responsible for generating the key. The
         * iteratee is invoked with one argument: (value).
         *
         * @static
         * @memberOf _
         * @since 4.0.0
         * @category Collection
         * @param {Array|Object} collection The collection to iterate over.
         * @param {Function} [iteratee=_.identity] The iteratee to transform keys.
         * @returns {Object} Returns the composed aggregate object.
         * @example
         *
         * var array = [
         *   { 'dir': 'left', 'code': 97 },
         *   { 'dir': 'right', 'code': 100 }
         * ];
         *
         * _.keyBy(array, function(o) {
         *   return String.fromCharCode(o.code);
         * });
         * // => { 'a': { 'dir': 'left', 'code': 97 }, 'd': { 'dir': 'right', 'code': 100 } }
         *
         * _.keyBy(array, 'dir');
         * // => { 'left': { 'dir': 'left', 'code': 97 }, 'right': { 'dir': 'right', 'code': 100 } }
         */
        var keyBy = createAggregator(function(result, value, key) {
          baseAssignValue(result, key, value);
        });
    
        /**
         * Creates an array of values by running each element in `collection` thru
         * `iteratee`. The iteratee is invoked with three arguments:
         * (value, index|key, collection).
         *
         * Many lodash methods are guarded to work as iteratees for methods like
         * `_.every`, `_.filter`, `_.map`, `_.mapValues`, `_.reject`, and `_.some`.
         *
         * The guarded methods are:
         * `ary`, `chunk`, `curry`, `curryRight`, `drop`, `dropRight`, `every`,
         * `fill`, `invert`, `parseInt`, `random`, `range`, `rangeRight`, `repeat`,
         * `sampleSize`, `slice`, `some`, `sortBy`, `split`, `take`, `takeRight`,
         * `template`, `trim`, `trimEnd`, `trimStart`, and `words`
         *
         * @static
         * @memberOf _
         * @since 0.1.0
         * @category Collection
         * @param {Array|Object} collection The collection to iterate over.
         * @param {Function} [iteratee=_.identity] The function invoked per iteration.
         * @returns {Array} Returns the new mapped array.
         * @example
         *
         * function square(n) {
         *   return n * n;
         * }
         *
         * _.map([4, 8], square);
         * // => [16, 64]
         *
         * _.map({ 'a': 4, 'b': 8 }, square);
         * // => [16, 64] (iteration order is not guaranteed)
         *
         * var users = [
         *   { 'user': 'barney' },
         *   { 'user': 'fred' }
         * ];
         *
         * // The `_.property` iteratee shorthand.
         * _.map(users, 'user');
         * // => ['barney', 'fred']
         */
        function map(collection, iteratee) {
          var func = isArray(collection) ? arrayMap : baseMap;
          return func(collection, getIteratee(iteratee, 3));
        }
    
        /**
         * This method is like `_.sortBy` except that it allows specifying the sort
         * orders of the iteratees to sort by. If `orders` is unspecified, all values
         * are sorted in ascending order. Otherwise, specify an order of "desc" for
         * descending or "asc" for ascending sort order of corresponding values.
         *
         * @static
         * @memberOf _
         * @since 4.0.0
         * @category Collection
         * @param {Array|Object} collection The collection to iterate over.
         * @param {Array[]|Function[]|Object[]|string[]} [iteratees=[_.identity]]
         *  The iteratees to sort by.
         * @param {string[]} [orders] The sort orders of `iteratees`.
         * @param- {Object} [guard] Enables use as an iteratee for methods like `_.reduce`.
         * @returns {Array} Returns the new sorted array.
         * @example
         *
         * var users = [
         *   { 'user': 'fred',   'age': 48 },
         *   { 'user': 'barney', 'age': 34 },
         *   { 'user': 'fred',   'age': 40 },
         *   { 'user': 'barney', 'age': 36 }
         * ];
         *
         * // Sort by `user` in ascending order and by `age` in descending order.
         * _.orderBy(users, ['user', 'age'], ['asc', 'desc']);
         * // => objects for [['barney', 36], ['barney', 34], ['fred', 48], ['fred', 40]]
         */
        function orderBy(collection, iteratees, orders, guard) {
          if (collection == null) {
            return [];
          }
          if (!isArray(iteratees)) {
            iteratees = iteratees == null ? [] : [iteratees];
          }
          orders = guard ? undefined : orders;
          if (!isArray(orders)) {
            orders = orders == null ? [] : [orders];
          }
          return baseOrderBy(collection, iteratees, orders);
        }
    
        /**
         * Creates an array of elements split into two groups, the first of which
         * contains elements `predicate` returns truthy for, the second of which
         * contains elements `predicate` returns falsey for. The predicate is
         * invoked with one argument: (value).
         *
         * @static
         * @memberOf _
         * @since 3.0.0
         * @category Collection
         * @param {Array|Object} collection The collection to iterate over.
         * @param {Function} [predicate=_.identity] The function invoked per iteration.
         * @returns {Array} Returns the array of grouped elements.
         * @example
         *
         * var users = [
         *   { 'user': 'barney',  'age': 36, 'active': false },
         *   { 'user': 'fred',    'age': 40, 'active': true },
         *   { 'user': 'pebbles', 'age': 1,  'active': false }
         * ];
         *
         * _.partition(users, function(o) { return o.active; });
         * // => objects for [['fred'], ['barney', 'pebbles']]
         *
         * // The `_.matches` iteratee shorthand.
         * _.partition(users, { 'age': 1, 'active': false });
         * // => objects for [['pebbles'], ['barney', 'fred']]
         *
         * // The `_.matchesProperty` iteratee shorthand.
         * _.partition(users, ['active', false]);
         * // => objects for [['barney', 'pebbles'], ['fred']]
         *
         * // The `_.property` iteratee shorthand.
         * _.partition(users, 'active');
         * // => objects for [['fred'], ['barney', 'pebbles']]
         */
        var partition = createAggregator(function(result, value, key) {
          result[key ? 0 : 1].push(value);
        }, function() { return [[], []]; });
    
        /**
         * Reduces `collection` to a value which is the accumulated result of running
         * each element in `collection` thru `iteratee`, where each successive
         * invocation is supplied the return value of the previous. If `accumulator`
         * is not given, the first element of `collection` is used as the initial
         * value. The iteratee is invoked with four arguments:
         * (accumulator, value, index|key, collection).
         *
         * Many lodash methods are guarded to work as iteratees for methods like
         * `_.reduce`, `_.reduceRight`, and `_.transform`.
         *
         * The guarded methods are:
         * `assign`, `defaults`, `defaultsDeep`, `includes`, `merge`, `orderBy`,
         * and `sortBy`
         *
         * @static
         * @memberOf _
         * @since 0.1.0
         * @category Collection
         * @param {Array|Object} collection The collection to iterate over.
         * @param {Function} [iteratee=_.identity] The function invoked per iteration.
         * @param {*} [accumulator] The initial value.
         * @returns {*} Returns the accumulated value.
         * @see _.reduceRight
         * @example
         *
         * _.reduce([1, 2], function(sum, n) {
         *   return sum + n;
         * }, 0);
         * // => 3
         *
         * _.reduce({ 'a': 1, 'b': 2, 'c': 1 }, function(result, value, key) {
         *   (result[value] || (result[value] = [])).push(key);
         *   return result;
         * }, {});
         * // => { '1': ['a', 'c'], '2': ['b'] } (iteration order is not guaranteed)
         */
        function reduce(collection, iteratee, accumulator) {
          var func = isArray(collection) ? arrayReduce : baseReduce,
              initAccum = arguments.length < 3;
    
          return func(collection, getIteratee(iteratee, 4), accumulator, initAccum, baseEach);
        }
    
        /**
         * This method is like `_.reduce` except that it iterates over elements of
         * `collection` from right to left.
         *
         * @static
         * @memberOf _
         * @since 0.1.0
         * @category Collection
         * @param {Array|Object} collection The collection to iterate over.
         * @param {Function} [iteratee=_.identity] The function invoked per iteration.
         * @param {*} [accumulator] The initial value.
         * @returns {*} Returns the accumulated value.
         * @see _.reduce
         * @example
         *
         * var array = [[0, 1], [2, 3], [4, 5]];
         *
         * _.reduceRight(array, function(flattened, other) {
         *   return flattened.concat(other);
         * }, []);
         * // => [4, 5, 2, 3, 0, 1]
         */
        function reduceRight(collection, iteratee, accumulator) {
          var func = isArray(collection) ? arrayReduceRight : baseReduce,
              initAccum = arguments.length < 3;
    
          return func(collection, getIteratee(iteratee, 4), accumulator, initAccum, baseEachRight);
        }
    
        /**
         * The opposite of `_.filter`; this method returns the elements of `collection`
         * that `predicate` does **not** return truthy for.
         *
         * @static
         * @memberOf _
         * @since 0.1.0
         * @category Collection
         * @param {Array|Object} collection The collection to iterate over.
         * @param {Function} [predicate=_.identity] The function invoked per iteration.
         * @returns {Array} Returns the new filtered array.
         * @see _.filter
         * @example
         *
         * var users = [
         *   { 'user': 'barney', 'age': 36, 'active': false },
         *   { 'user': 'fred',   'age': 40, 'active': true }
         * ];
         *
         * _.reject(users, function(o) { return !o.active; });
         * // => objects for ['fred']
         *
         * // The `_.matches` iteratee shorthand.
         * _.reject(users, { 'age': 40, 'active': true });
         * // => objects for ['barney']
         *
         * // The `_.matchesProperty` iteratee shorthand.
         * _.reject(users, ['active', false]);
         * // => objects for ['fred']
         *
         * // The `_.property` iteratee shorthand.
         * _.reject(users, 'active');
         * // => objects for ['barney']
         */
        function reject(collection, predicate) {
          var func = isArray(collection) ? arrayFilter : baseFilter;
          return func(collection, negate(getIteratee(predicate, 3)));
        }
    
        /**
         * Gets a random element from `collection`.
         *
         * @static
         * @memberOf _
         * @since 2.0.0
         * @category Collection
         * @param {Array|Object} collection The collection to sample.
         * @returns {*} Returns the random element.
         * @example
         *
         * _.sample([1, 2, 3, 4]);
         * // => 2
         */
        function sample(collection) {
          var func = isArray(collection) ? arraySample : baseSample;
          return func(collection);
        }
    
        /**
         * Gets `n` random elements at unique keys from `collection` up to the
         * size of `collection`.
         *
         * @static
         * @memberOf _
         * @since 4.0.0
         * @category Collection
         * @param {Array|Object} collection The collection to sample.
         * @param {number} [n=1] The number of elements to sample.
         * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.
         * @returns {Array} Returns the random elements.
         * @example
         *
         * _.sampleSize([1, 2, 3], 2);
         * // => [3, 1]
         *
         * _.sampleSize([1, 2, 3], 4);
         * // => [2, 3, 1]
         */
        function sampleSize(collection, n, guard) {
          if ((guard ? isIterateeCall(collection, n, guard) : n === undefined)) {
            n = 1;
          } else {
            n = toInteger(n);
          }
          var func = isArray(collection) ? arraySampleSize : baseSampleSize;
          return func(collection, n);
        }
    
        /**
         * Creates an array of shuffled values, using a version of the
         * [Fisher-Yates shuffle](https://en.wikipedia.org/wiki/Fisher-Yates_shuffle).
         *
         * @static
         * @memberOf _
         * @since 0.1.0
         * @category Collection
         * @param {Array|Object} collection The collection to shuffle.
         * @returns {Array} Returns the new shuffled array.
         * @example
         *
         * _.shuffle([1, 2, 3, 4]);
         * // => [4, 1, 3, 2]
         */
        function shuffle(collection) {
          var func = isArray(collection) ? arrayShuffle : baseShuffle;
          return func(collection);
        }
    
        /**
         * Gets the size of `collection` by returning its length for array-like
         * values or the number of own enumerable string keyed properties for objects.
         *
         * @static
         * @memberOf _
         * @since 0.1.0
         * @category Collection
         * @param {Array|Object|string} collection The collection to inspect.
         * @returns {number} Returns the collection size.
         * @example
         *
         * _.size([1, 2, 3]);
         * // => 3
         *
         * _.size({ 'a': 1, 'b': 2 });
         * // => 2
         *
         * _.size('pebbles');
         * // => 7
         */
        function size(collection) {
          if (collection == null) {
            return 0;
          }
          if (isArrayLike(collection)) {
            return isString(collection) ? stringSize(collection) : collection.length;
          }
          var tag = getTag(collection);
          if (tag == mapTag || tag == setTag) {
            return collection.size;
          }
          return baseKeys(collection).length;
        }
    
        /**
         * Checks if `predicate` returns truthy for **any** element of `collection`.
         * Iteration is stopped once `predicate` returns truthy. The predicate is
         * invoked with three arguments: (value, index|key, collection).
         *
         * @static
         * @memberOf _
         * @since 0.1.0
         * @category Collection
         * @param {Array|Object} collection The collection to iterate over.
         * @param {Function} [predicate=_.identity] The function invoked per iteration.
         * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.
         * @returns {boolean} Returns `true` if any element passes the predicate check,
         *  else `false`.
         * @example
         *
         * _.some([null, 0, 'yes', false], Boolean);
         * // => true
         *
         * var users = [
         *   { 'user': 'barney', 'active': true },
         *   { 'user': 'fred',   'active': false }
         * ];
         *
         * // The `_.matches` iteratee shorthand.
         * _.some(users, { 'user': 'barney', 'active': false });
         * // => false
         *
         * // The `_.matchesProperty` iteratee shorthand.
         * _.some(users, ['active', false]);
         * // => true
         *
         * // The `_.property` iteratee shorthand.
         * _.some(users, 'active');
         * // => true
         */
        function some(collection, predicate, guard) {
          var func = isArray(collection) ? arraySome : baseSome;
          if (guard && isIterateeCall(collection, predicate, guard)) {
            predicate = undefined;
          }
          return func(collection, getIteratee(predicate, 3));
        }
    
        /**
         * Creates an array of elements, sorted in ascending order by the results of
         * running each element in a collection thru each iteratee. This method
         * performs a stable sort, that is, it preserves the original sort order of
         * equal elements. The iteratees are invoked with one argument: (value).
         *
         * @static
         * @memberOf _
         * @since 0.1.0
         * @category Collection
         * @param {Array|Object} collection The collection to iterate over.
         * @param {...(Function|Function[])} [iteratees=[_.identity]]
         *  The iteratees to sort by.
         * @returns {Array} Returns the new sorted array.
         * @example
         *
         * var users = [
         *   { 'user': 'fred',   'age': 48 },
         *   { 'user': 'barney', 'age': 36 },
         *   { 'user': 'fred',   'age': 30 },
         *   { 'user': 'barney', 'age': 34 }
         * ];
         *
         * _.sortBy(users, [function(o) { return o.user; }]);
         * // => objects for [['barney', 36], ['barney', 34], ['fred', 48], ['fred', 30]]
         *
         * _.sortBy(users, ['user', 'age']);
         * // => objects for [['barney', 34], ['barney', 36], ['fred', 30], ['fred', 48]]
         */
        var sortBy = baseRest(function(collection, iteratees) {
          if (collection == null) {
            return [];
          }
          var length = iteratees.length;
          if (length > 1 && isIterateeCall(collection, iteratees[0], iteratees[1])) {
            iteratees = [];
          } else if (length > 2 && isIterateeCall(iteratees[0], iteratees[1], iteratees[2])) {
            iteratees = [iteratees[0]];
          }
          return baseOrderBy(collection, baseFlatten(iteratees, 1), []);
        });
    
        /*------------------------------------------------------------------------*/
    
        /**
         * Gets the timestamp of the number of milliseconds that have elapsed since
         * the Unix epoch (1 January 1970 00:00:00 UTC).
         *
         * @static
         * @memberOf _
         * @since 2.4.0
         * @category Date
         * @returns {number} Returns the timestamp.
         * @example
         *
         * _.defer(function(stamp) {
         *   console.log(_.now() - stamp);
         * }, _.now());
         * // => Logs the number of milliseconds it took for the deferred invocation.
         */
        var now = ctxNow || function() {
          return root.Date.now();
        };
    
        /*------------------------------------------------------------------------*/
    
        /**
         * The opposite of `_.before`; this method creates a function that invokes
         * `func` once it's called `n` or more times.
         *
         * @static
         * @memberOf _
         * @since 0.1.0
         * @category Function
         * @param {number} n The number of calls before `func` is invoked.
         * @param {Function} func The function to restrict.
         * @returns {Function} Returns the new restricted function.
         * @example
         *
         * var saves = ['profile', 'settings'];
         *
         * var done = _.after(saves.length, function() {
         *   console.log('done saving!');
         * });
         *
         * _.forEach(saves, function(type) {
         *   asyncSave({ 'type': type, 'complete': done });
         * });
         * // => Logs 'done saving!' after the two async saves have completed.
         */
        function after(n, func) {
          if (typeof func != 'function') {
            throw new TypeError(FUNC_ERROR_TEXT);
          }
          n = toInteger(n);
          return function() {
            if (--n < 1) {
              return func.apply(this, arguments);
            }
          };
        }
    
        /**
         * Creates a function that invokes `func`, with up to `n` arguments,
         * ignoring any additional arguments.
         *
         * @static
         * @memberOf _
         * @since 3.0.0
         * @category Function
         * @param {Function} func The function to cap arguments for.
         * @param {number} [n=func.length] The arity cap.
         * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.
         * @returns {Function} Returns the new capped function.
         * @example
         *
         * _.map(['6', '8', '10'], _.ary(parseInt, 1));
         * // => [6, 8, 10]
         */
        function ary(func, n, guard) {
          n = guard ? undefined : n;
          n = (func && n == null) ? func.length : n;
          return createWrap(func, WRAP_ARY_FLAG, undefined, undefined, undefined, undefined, n);
        }
    
        /**
         * Creates a function that invokes `func`, with the `this` binding and arguments
         * of the created function, while it's called less than `n` times. Subsequent
         * calls to the created function return the result of the last `func` invocation.
         *
         * @static
         * @memberOf _
         * @since 3.0.0
         * @category Function
         * @param {number} n The number of calls at which `func` is no longer invoked.
         * @param {Function} func The function to restrict.
         * @returns {Function} Returns the new restricted function.
         * @example
         *
         * jQuery(element).on('click', _.before(5, addContactToList));
         * // => Allows adding up to 4 contacts to the list.
         */
        function before(n, func) {
          var result;
          if (typeof func != 'function') {
            throw new TypeError(FUNC_ERROR_TEXT);
          }
          n = toInteger(n);
          return function() {
            if (--n > 0) {
              result = func.apply(this, arguments);
            }
            if (n <= 1) {
              func = undefined;
            }
            return result;
          };
        }
    
        /**
         * Creates a function that invokes `func` with the `this` binding of `thisArg`
         * and `partials` prepended to the arguments it receives.
         *
         * The `_.bind.placeholder` value, which defaults to `_` in monolithic builds,
         * may be used as a placeholder for partially applied arguments.
         *
         * **Note:** Unlike native `Function#bind`, this method doesn't set the "length"
         * property of bound functions.
         *
         * @static
         * @memberOf _
         * @since 0.1.0
         * @category Function
         * @param {Function} func The function to bind.
         * @param {*} thisArg The `this` binding of `func`.
         * @param {...*} [partials] The arguments to be partially applied.
         * @returns {Function} Returns the new bound function.
         * @example
         *
         * function greet(greeting, punctuation) {
         *   return greeting + ' ' + this.user + punctuation;
         * }
         *
         * var object = { 'user': 'fred' };
         *
         * var bound = _.bind(greet, object, 'hi');
         * bound('!');
         * // => 'hi fred!'
         *
         * // Bound with placeholders.
         * var bound = _.bind(greet, object, _, '!');
         * bound('hi');
         * // => 'hi fred!'
         */
        var bind = baseRest(function(func, thisArg, partials) {
          var bitmask = WRAP_BIND_FLAG;
          if (partials.length) {
            var holders = replaceHolders(partials, getHolder(bind));
            bitmask |= WRAP_PARTIAL_FLAG;
          }
          return createWrap(func, bitmask, thisArg, partials, holders);
        });
    
        /**
         * Creates a function that invokes the method at `object[key]` with `partials`
         * prepended to the arguments it receives.
         *
         * This method differs from `_.bind` by allowing bound functions to reference
         * methods that may be redefined or don't yet exist. See
         * [Peter Michaux's article](http://peter.michaux.ca/articles/lazy-function-definition-pattern)
         * for more details.
         *
         * The `_.bindKey.placeholder` value, which defaults to `_` in monolithic
         * builds, may be used as a placeholder for partially applied arguments.
         *
         * @static
         * @memberOf _
         * @since 0.10.0
         * @category Function
         * @param {Object} object The object to invoke the method on.
         * @param {string} key The key of the method.
         * @param {...*} [partials] The arguments to be partially applied.
         * @returns {Function} Returns the new bound function.
         * @example
         *
         * var object = {
         *   'user': 'fred',
         *   'greet': function(greeting, punctuation) {
         *     return greeting + ' ' + this.user + punctuation;
         *   }
         * };
         *
         * var bound = _.bindKey(object, 'greet', 'hi');
         * bound('!');
         * // => 'hi fred!'
         *
         * object.greet = function(greeting, punctuation) {
         *   return greeting + 'ya ' + this.user + punctuation;
         * };
         *
         * bound('!');
         * // => 'hiya fred!'
         *
         * // Bound with placeholders.
         * var bound = _.bindKey(object, 'greet', _, '!');
         * bound('hi');
         * // => 'hiya fred!'
         */
        var bindKey = baseRest(function(object, key, partials) {
          var bitmask = WRAP_BIND_FLAG | WRAP_BIND_KEY_FLAG;
          if (partials.length) {
            var holders = replaceHolders(partials, getHolder(bindKey));
            bitmask |= WRAP_PARTIAL_FLAG;
          }
          return createWrap(key, bitmask, object, partials, holders);
        });
    
        /**
         * Creates a function that accepts arguments of `func` and either invokes
         * `func` returning its result, if at least `arity` number of arguments have
         * been provided, or returns a function that accepts the remaining `func`
         * arguments, and so on. The arity of `func` may be specified if `func.length`
         * is not sufficient.
         *
         * The `_.curry.placeholder` value, which defaults to `_` in monolithic builds,
         * may be used as a placeholder for provided arguments.
         *
         * **Note:** This method doesn't set the "length" property of curried functions.
         *
         * @static
         * @memberOf _
         * @since 2.0.0
         * @category Function
         * @param {Function} func The function to curry.
         * @param {number} [arity=func.length] The arity of `func`.
         * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.
         * @returns {Function} Returns the new curried function.
         * @example
         *
         * var abc = function(a, b, c) {
         *   return [a, b, c];
         * };
         *
         * var curried = _.curry(abc);
         *
         * curried(1)(2)(3);
         * // => [1, 2, 3]
         *
         * curried(1, 2)(3);
         * // => [1, 2, 3]
         *
         * curried(1, 2, 3);
         * // => [1, 2, 3]
         *
         * // Curried with placeholders.
         * curried(1)(_, 3)(2);
         * // => [1, 2, 3]
         */
        function curry(func, arity, guard) {
          arity = guard ? undefined : arity;
          var result = createWrap(func, WRAP_CURRY_FLAG, undefined, undefined, undefined, undefined, undefined, arity);
          result.placeholder = curry.placeholder;
          return result;
        }
    
        /**
         * This method is like `_.curry` except that arguments are applied to `func`
         * in the manner of `_.partialRight` instead of `_.partial`.
         *
         * The `_.curryRight.placeholder` value, which defaults to `_` in monolithic
         * builds, may be used as a placeholder for provided arguments.
         *
         * **Note:** This method doesn't set the "length" property of curried functions.
         *
         * @static
         * @memberOf _
         * @since 3.0.0
         * @category Function
         * @param {Function} func The function to curry.
         * @param {number} [arity=func.length] The arity of `func`.
         * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.
         * @returns {Function} Returns the new curried function.
         * @example
         *
         * var abc = function(a, b, c) {
         *   return [a, b, c];
         * };
         *
         * var curried = _.curryRight(abc);
         *
         * curried(3)(2)(1);
         * // => [1, 2, 3]
         *
         * curried(2, 3)(1);
         * // => [1, 2, 3]
         *
         * curried(1, 2, 3);
         * // => [1, 2, 3]
         *
         * // Curried with placeholders.
         * curried(3)(1, _)(2);
         * // => [1, 2, 3]
         */
        function curryRight(func, arity, guard) {
          arity = guard ? undefined : arity;
          var result = createWrap(func, WRAP_CURRY_RIGHT_FLAG, undefined, undefined, undefined, undefined, undefined, arity);
          result.placeholder = curryRight.placeholder;
          return result;
        }
    
        /**
         * Creates a debounced function that delays invoking `func` until after `wait`
         * milliseconds have elapsed since the last time the debounced function was
         * invoked. The debounced function comes with a `cancel` method to cancel
         * delayed `func` invocations and a `flush` method to immediately invoke them.
         * Provide `options` to indicate whether `func` should be invoked on the
         * leading and/or trailing edge of the `wait` timeout. The `func` is invoked
         * with the last arguments provided to the debounced function. Subsequent
         * calls to the debounced function return the result of the last `func`
         * invocation.
         *
         * **Note:** If `leading` and `trailing` options are `true`, `func` is
         * invoked on the trailing edge of the timeout only if the debounced function
         * is invoked more than once during the `wait` timeout.
         *
         * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred
         * until to the next tick, similar to `setTimeout` with a timeout of `0`.
         *
         * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)
         * for details over the differences between `_.debounce` and `_.throttle`.
         *
         * @static
         * @memberOf _
         * @since 0.1.0
         * @category Function
         * @param {Function} func The function to debounce.
         * @param {number} [wait=0] The number of milliseconds to delay.
         * @param {Object} [options={}] The options object.
         * @param {boolean} [options.leading=false]
         *  Specify invoking on the leading edge of the timeout.
         * @param {number} [options.maxWait]
         *  The maximum time `func` is allowed to be delayed before it's invoked.
         * @param {boolean} [options.trailing=true]
         *  Specify invoking on the trailing edge of the timeout.
         * @returns {Function} Returns the new debounced function.
         * @example
         *
         * // Avoid costly calculations while the window size is in flux.
         * jQuery(window).on('resize', _.debounce(calculateLayout, 150));
         *
         * // Invoke `sendMail` when clicked, debouncing subsequent calls.
         * jQuery(element).on('click', _.debounce(sendMail, 300, {
         *   'leading': true,
         *   'trailing': false
         * }));
         *
         * // Ensure `batchLog` is invoked once after 1 second of debounced calls.
         * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 });
         * var source = new EventSource('/stream');
         * jQuery(source).on('message', debounced);
         *
         * // Cancel the trailing debounced invocation.
         * jQuery(window).on('popstate', debounced.cancel);
         */
        function debounce(func, wait, options) {
          var lastArgs,
              lastThis,
              maxWait,
              result,
              timerId,
              lastCallTime,
              lastInvokeTime = 0,
              leading = false,
              maxing = false,
              trailing = true;
    
          if (typeof func != 'function') {
            throw new TypeError(FUNC_ERROR_TEXT);
          }
          wait = toNumber(wait) || 0;
          if (isObject(options)) {
            leading = !!options.leading;
            maxing = 'maxWait' in options;
            maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;
            trailing = 'trailing' in options ? !!options.trailing : trailing;
          }
    
          function invokeFunc(time) {
            var args = lastArgs,
                thisArg = lastThis;
    
            lastArgs = lastThis = undefined;
            lastInvokeTime = time;
            result = func.apply(thisArg, args);
            return result;
          }
    
          function leadingEdge(time) {
            // Reset any `maxWait` timer.
            lastInvokeTime = time;
            // Start the timer for the trailing edge.
            timerId = setTimeout(timerExpired, wait);
            // Invoke the leading edge.
            return leading ? invokeFunc(time) : result;
          }
    
          function remainingWait(time) {
            var timeSinceLastCall = time - lastCallTime,
                timeSinceLastInvoke = time - lastInvokeTime,
                timeWaiting = wait - timeSinceLastCall;
    
            return maxing
              ? nativeMin(timeWaiting, maxWait - timeSinceLastInvoke)
              : timeWaiting;
          }
    
          function shouldInvoke(time) {
            var timeSinceLastCall = time - lastCallTime,
                timeSinceLastInvoke = time - lastInvokeTime;
    
            // Either this is the first call, activity has stopped and we're at the
            // trailing edge, the system time has gone backwards and we're treating
            // it as the trailing edge, or we've hit the `maxWait` limit.
            return (lastCallTime === undefined || (timeSinceLastCall >= wait) ||
              (timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait));
          }
    
          function timerExpired() {
            var time = now();
            if (shouldInvoke(time)) {
              return trailingEdge(time);
            }
            // Restart the timer.
            timerId = setTimeout(timerExpired, remainingWait(time));
          }
    
          function trailingEdge(time) {
            timerId = undefined;
    
            // Only invoke if we have `lastArgs` which means `func` has been
            // debounced at least once.
            if (trailing && lastArgs) {
              return invokeFunc(time);
            }
            lastArgs = lastThis = undefined;
            return result;
          }
    
          function cancel() {
            if (timerId !== undefined) {
              clearTimeout(timerId);
            }
            lastInvokeTime = 0;
            lastArgs = lastCallTime = lastThis = timerId = undefined;
          }
    
          function flush() {
            return timerId === undefined ? result : trailingEdge(now());
          }
    
          function debounced() {
            var time = now(),
                isInvoking = shouldInvoke(time);
    
            lastArgs = arguments;
            lastThis = this;
            lastCallTime = time;
    
            if (isInvoking) {
              if (timerId === undefined) {
                return leadingEdge(lastCallTime);
              }
              if (maxing) {
                // Handle invocations in a tight loop.
                clearTimeout(timerId);
                timerId = setTimeout(timerExpired, wait);
                return invokeFunc(lastCallTime);
              }
            }
            if (timerId === undefined) {
              timerId = setTimeout(timerExpired, wait);
            }
            return result;
          }
          debounced.cancel = cancel;
          debounced.flush = flush;
          return debounced;
        }
    
        /**
         * Defers invoking the `func` until the current call stack has cleared. Any
         * additional arguments are provided to `func` when it's invoked.
         *
         * @static
         * @memberOf _
         * @since 0.1.0
         * @category Function
         * @param {Function} func The function to defer.
         * @param {...*} [args] The arguments to invoke `func` with.
         * @returns {number} Returns the timer id.
         * @example
         *
         * _.defer(function(text) {
         *   console.log(text);
         * }, 'deferred');
         * // => Logs 'deferred' after one millisecond.
         */
        var defer = baseRest(function(func, args) {
          return baseDelay(func, 1, args);
        });
    
        /**
         * Invokes `func` after `wait` milliseconds. Any additional arguments are
         * provided to `func` when it's invoked.
         *
         * @static
         * @memberOf _
         * @since 0.1.0
         * @category Function
         * @param {Function} func The function to delay.
         * @param {number} wait The number of milliseconds to delay invocation.
         * @param {...*} [args] The arguments to invoke `func` with.
         * @returns {number} Returns the timer id.
         * @example
         *
         * _.delay(function(text) {
         *   console.log(text);
         * }, 1000, 'later');
         * // => Logs 'later' after one second.
         */
        var delay = baseRest(function(func, wait, args) {
          return baseDelay(func, toNumber(wait) || 0, args);
        });
    
        /**
         * Creates a function that invokes `func` with arguments reversed.
         *
         * @static
         * @memberOf _
         * @since 4.0.0
         * @category Function
         * @param {Function} func The function to flip arguments for.
         * @returns {Function} Returns the new flipped function.
         * @example
         *
         * var flipped = _.flip(function() {
         *   return _.toArray(arguments);
         * });
         *
         * flipped('a', 'b', 'c', 'd');
         * // => ['d', 'c', 'b', 'a']
         */
        function flip(func) {
          return createWrap(func, WRAP_FLIP_FLAG);
        }
    
        /**
         * Creates a function that memoizes the result of `func`. If `resolver` is
         * provided, it determines the cache key for storing the result based on the
         * arguments provided to the memoized function. By default, the first argument
         * provided to the memoized function is used as the map cache key. The `func`
         * is invoked with the `this` binding of the memoized function.
         *
         * **Note:** The cache is exposed as the `cache` property on the memoized
         * function. Its creation may be customized by replacing the `_.memoize.Cache`
         * constructor with one whose instances implement the
         * [`Map`](http://ecma-international.org/ecma-262/7.0/#sec-properties-of-the-map-prototype-object)
         * method interface of `clear`, `delete`, `get`, `has`, and `set`.
         *
         * @static
         * @memberOf _
         * @since 0.1.0
         * @category Function
         * @param {Function} func The function to have its output memoized.
         * @param {Function} [resolver] The function to resolve the cache key.
         * @returns {Function} Returns the new memoized function.
         * @example
         *
         * var object = { 'a': 1, 'b': 2 };
         * var other = { 'c': 3, 'd': 4 };
         *
         * var values = _.memoize(_.values);
         * values(object);
         * // => [1, 2]
         *
         * values(other);
         * // => [3, 4]
         *
         * object.a = 2;
         * values(object);
         * // => [1, 2]
         *
         * // Modify the result cache.
         * values.cache.set(object, ['a', 'b']);
         * values(object);
         * // => ['a', 'b']
         *
         * // Replace `_.memoize.Cache`.
         * _.memoize.Cache = WeakMap;
         */
        function memoize(func, resolver) {
          if (typeof func != 'function' || (resolver != null && typeof resolver != 'function')) {
            throw new TypeError(FUNC_ERROR_TEXT);
          }
          var memoized = function() {
            var args = arguments,
                key = resolver ? resolver.apply(this, args) : args[0],
                cache = memoized.cache;
    
            if (cache.has(key)) {
              return cache.get(key);
            }
            var result = func.apply(this, args);
            memoized.cache = cache.set(key, result) || cache;
            return result;
          };
          memoized.cache = new (memoize.Cache || MapCache);
          return memoized;
        }
    
        // Expose `MapCache`.
        memoize.Cache = MapCache;
    
        /**
         * Creates a function that negates the result of the predicate `func`. The
         * `func` predicate is invoked with the `this` binding and arguments of the
         * created function.
         *
         * @static
         * @memberOf _
         * @since 3.0.0
         * @category Function
         * @param {Function} predicate The predicate to negate.
         * @returns {Function} Returns the new negated function.
         * @example
         *
         * function isEven(n) {
         *   return n % 2 == 0;
         * }
         *
         * _.filter([1, 2, 3, 4, 5, 6], _.negate(isEven));
         * // => [1, 3, 5]
         */
        function negate(predicate) {
          if (typeof predicate != 'function') {
            throw new TypeError(FUNC_ERROR_TEXT);
          }
          return function() {
            var args = arguments;
            switch (args.length) {
              case 0: return !predicate.call(this);
              case 1: return !predicate.call(this, args[0]);
              case 2: return !predicate.call(this, args[0], args[1]);
              case 3: return !predicate.call(this, args[0], args[1], args[2]);
            }
            return !predicate.apply(this, args);
          };
        }
    
        /**
         * Creates a function that is restricted to invoking `func` once. Repeat calls
         * to the function return the value of the first invocation. The `func` is
         * invoked with the `this` binding and arguments of the created function.
         *
         * @static
         * @memberOf _
         * @since 0.1.0
         * @category Function
         * @param {Function} func The function to restrict.
         * @returns {Function} Returns the new restricted function.
         * @example
         *
         * var initialize = _.once(createApplication);
         * initialize();
         * initialize();
         * // => `createApplication` is invoked once
         */
        function once(func) {
          return before(2, func);
        }
    
        /**
         * Creates a function that invokes `func` with its arguments transformed.
         *
         * @static
         * @since 4.0.0
         * @memberOf _
         * @category Function
         * @param {Function} func The function to wrap.
         * @param {...(Function|Function[])} [transforms=[_.identity]]
         *  The argument transforms.
         * @returns {Function} Returns the new function.
         * @example
         *
         * function doubled(n) {
         *   return n * 2;
         * }
         *
         * function square(n) {
         *   return n * n;
         * }
         *
         * var func = _.overArgs(function(x, y) {
         *   return [x, y];
         * }, [square, doubled]);
         *
         * func(9, 3);
         * // => [81, 6]
         *
         * func(10, 5);
         * // => [100, 10]
         */
        var overArgs = castRest(function(func, transforms) {
          transforms = (transforms.length == 1 && isArray(transforms[0]))
            ? arrayMap(transforms[0], baseUnary(getIteratee()))
            : arrayMap(baseFlatten(transforms, 1), baseUnary(getIteratee()));
    
          var funcsLength = transforms.length;
          return baseRest(function(args) {
            var index = -1,
                length = nativeMin(args.length, funcsLength);
    
            while (++index < length) {
              args[index] = transforms[index].call(this, args[index]);
            }
            return apply(func, this, args);
          });
        });
    
        /**
         * Creates a function that invokes `func` with `partials` prepended to the
         * arguments it receives. This method is like `_.bind` except it does **not**
         * alter the `this` binding.
         *
         * The `_.partial.placeholder` value, which defaults to `_` in monolithic
         * builds, may be used as a placeholder for partially applied arguments.
         *
         * **Note:** This method doesn't set the "length" property of partially
         * applied functions.
         *
         * @static
         * @memberOf _
         * @since 0.2.0
         * @category Function
         * @param {Function} func The function to partially apply arguments to.
         * @param {...*} [partials] The arguments to be partially applied.
         * @returns {Function} Returns the new partially applied function.
         * @example
         *
         * function greet(greeting, name) {
         *   return greeting + ' ' + name;
         * }
         *
         * var sayHelloTo = _.partial(greet, 'hello');
         * sayHelloTo('fred');
         * // => 'hello fred'
         *
         * // Partially applied with placeholders.
         * var greetFred = _.partial(greet, _, 'fred');
         * greetFred('hi');
         * // => 'hi fred'
         */
        var partial = baseRest(function(func, partials) {
          var holders = replaceHolders(partials, getHolder(partial));
          return createWrap(func, WRAP_PARTIAL_FLAG, undefined, partials, holders);
        });
    
        /**
         * This method is like `_.partial` except that partially applied arguments
         * are appended to the arguments it receives.
         *
         * The `_.partialRight.placeholder` value, which defaults to `_` in monolithic
         * builds, may be used as a placeholder for partially applied arguments.
         *
         * **Note:** This method doesn't set the "length" property of partially
         * applied functions.
         *
         * @static
         * @memberOf _
         * @since 1.0.0
         * @category Function
         * @param {Function} func The function to partially apply arguments to.
         * @param {...*} [partials] The arguments to be partially applied.
         * @returns {Function} Returns the new partially applied function.
         * @example
         *
         * function greet(greeting, name) {
         *   return greeting + ' ' + name;
         * }
         *
         * var greetFred = _.partialRight(greet, 'fred');
         * greetFred('hi');
         * // => 'hi fred'
         *
         * // Partially applied with placeholders.
         * var sayHelloTo = _.partialRight(greet, 'hello', _);
         * sayHelloTo('fred');
         * // => 'hello fred'
         */
        var partialRight = baseRest(function(func, partials) {
          var holders = replaceHolders(partials, getHolder(partialRight));
          return createWrap(func, WRAP_PARTIAL_RIGHT_FLAG, undefined, partials, holders);
        });
    
        /**
         * Creates a function that invokes `func` with arguments arranged according
         * to the specified `indexes` where the argument value at the first index is
         * provided as the first argument, the argument value at the second index is
         * provided as the second argument, and so on.
         *
         * @static
         * @memberOf _
         * @since 3.0.0
         * @category Function
         * @param {Function} func The function to rearrange arguments for.
         * @param {...(number|number[])} indexes The arranged argument indexes.
         * @returns {Function} Returns the new function.
         * @example
         *
         * var rearged = _.rearg(function(a, b, c) {
         *   return [a, b, c];
         * }, [2, 0, 1]);
         *
         * rearged('b', 'c', 'a')
         * // => ['a', 'b', 'c']
         */
        var rearg = flatRest(function(func, indexes) {
          return createWrap(func, WRAP_REARG_FLAG, undefined, undefined, undefined, indexes);
        });
    
        /**
         * Creates a function that invokes `func` with the `this` binding of the
         * created function and arguments from `start` and beyond provided as
         * an array.
         *
         * **Note:** This method is based on the
         * [rest parameter](https://mdn.io/rest_parameters).
         *
         * @static
         * @memberOf _
         * @since 4.0.0
         * @category Function
         * @param {Function} func The function to apply a rest parameter to.
         * @param {number} [start=func.length-1] The start position of the rest parameter.
         * @returns {Function} Returns the new function.
         * @example
         *
         * var say = _.rest(function(what, names) {
         *   return what + ' ' + _.initial(names).join(', ') +
         *     (_.size(names) > 1 ? ', & ' : '') + _.last(names);
         * });
         *
         * say('hello', 'fred', 'barney', 'pebbles');
         * // => 'hello fred, barney, & pebbles'
         */
        function rest(func, start) {
          if (typeof func != 'function') {
            throw new TypeError(FUNC_ERROR_TEXT);
          }
          start = start === undefined ? start : toInteger(start);
          return baseRest(func, start);
        }
    
        /**
         * Creates a function that invokes `func` with the `this` binding of the
         * create function and an array of arguments much like
         * [`Function#apply`](http://www.ecma-international.org/ecma-262/7.0/#sec-function.prototype.apply).
         *
         * **Note:** This method is based on the
         * [spread operator](https://mdn.io/spread_operator).
         *
         * @static
         * @memberOf _
         * @since 3.2.0
         * @category Function
         * @param {Function} func The function to spread arguments over.
         * @param {number} [start=0] The start position of the spread.
         * @returns {Function} Returns the new function.
         * @example
         *
         * var say = _.spread(function(who, what) {
         *   return who + ' says ' + what;
         * });
         *
         * say(['fred', 'hello']);
         * // => 'fred says hello'
         *
         * var numbers = Promise.all([
         *   Promise.resolve(40),
         *   Promise.resolve(36)
         * ]);
         *
         * numbers.then(_.spread(function(x, y) {
         *   return x + y;
         * }));
         * // => a Promise of 76
         */
        function spread(func, start) {
          if (typeof func != 'function') {
            throw new TypeError(FUNC_ERROR_TEXT);
          }
          start = start == null ? 0 : nativeMax(toInteger(start), 0);
          return baseRest(function(args) {
            var array = args[start],
                otherArgs = castSlice(args, 0, start);
    
            if (array) {
              arrayPush(otherArgs, array);
            }
            return apply(func, this, otherArgs);
          });
        }
    
        /**
         * Creates a throttled function that only invokes `func` at most once per
         * every `wait` milliseconds. The throttled function comes with a `cancel`
         * method to cancel delayed `func` invocations and a `flush` method to
         * immediately invoke them. Provide `options` to indicate whether `func`
         * should be invoked on the leading and/or trailing edge of the `wait`
         * timeout. The `func` is invoked with the last arguments provided to the
         * throttled function. Subsequent calls to the throttled function return the
         * result of the last `func` invocation.
         *
         * **Note:** If `leading` and `trailing` options are `true`, `func` is
         * invoked on the trailing edge of the timeout only if the throttled function
         * is invoked more than once during the `wait` timeout.
         *
         * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred
         * until to the next tick, similar to `setTimeout` with a timeout of `0`.
         *
         * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)
         * for details over the differences between `_.throttle` and `_.debounce`.
         *
         * @static
         * @memberOf _
         * @since 0.1.0
         * @category Function
         * @param {Function} func The function to throttle.
         * @param {number} [wait=0] The number of milliseconds to throttle invocations to.
         * @param {Object} [options={}] The options object.
         * @param {boolean} [options.leading=true]
         *  Specify invoking on the leading edge of the timeout.
         * @param {boolean} [options.trailing=true]
         *  Specify invoking on the trailing edge of the timeout.
         * @returns {Function} Returns the new throttled function.
         * @example
         *
         * // Avoid excessively updating the position while scrolling.
         * jQuery(window).on('scroll', _.throttle(updatePosition, 100));
         *
         * // Invoke `renewToken` when the click event is fired, but not more than once every 5 minutes.
         * var throttled = _.throttle(renewToken, 300000, { 'trailing': false });
         * jQuery(element).on('click', throttled);
         *
         * // Cancel the trailing throttled invocation.
         * jQuery(window).on('popstate', throttled.cancel);
         */
        function throttle(func, wait, options) {
          var leading = true,
              trailing = true;
    
          if (typeof func != 'function') {
            throw new TypeError(FUNC_ERROR_TEXT);
          }
          if (isObject(options)) {
            leading = 'leading' in options ? !!options.leading : leading;
            trailing = 'trailing' in options ? !!options.trailing : trailing;
          }
          return debounce(func, wait, {
            'leading': leading,
            'maxWait': wait,
            'trailing': trailing
          });
        }
    
        /**
         * Creates a function that accepts up to one argument, ignoring any
         * additional arguments.
         *
         * @static
         * @memberOf _
         * @since 4.0.0
         * @category Function
         * @param {Function} func The function to cap arguments for.
         * @returns {Function} Returns the new capped function.
         * @example
         *
         * _.map(['6', '8', '10'], _.unary(parseInt));
         * // => [6, 8, 10]
         */
        function unary(func) {
          return ary(func, 1);
        }
    
        /**
         * Creates a function that provides `value` to `wrapper` as its first
         * argument. Any additional arguments provided to the function are appended
         * to those provided to the `wrapper`. The wrapper is invoked with the `this`
         * binding of the created function.
         *
         * @static
         * @memberOf _
         * @since 0.1.0
         * @category Function
         * @param {*} value The value to wrap.
         * @param {Function} [wrapper=identity] The wrapper function.
         * @returns {Function} Returns the new function.
         * @example
         *
         * var p = _.wrap(_.escape, function(func, text) {
         *   return '<p>' + func(text) + '</p>';
         * });
         *
         * p('fred, barney, & pebbles');
         * // => '<p>fred, barney, &amp; pebbles</p>'
         */
        function wrap(value, wrapper) {
          return partial(castFunction(wrapper), value);
        }
    
        /*------------------------------------------------------------------------*/
    
        /**
         * Casts `value` as an array if it's not one.
         *
         * @static
         * @memberOf _
         * @since 4.4.0
         * @category Lang
         * @param {*} value The value to inspect.
         * @returns {Array} Returns the cast array.
         * @example
         *
         * _.castArray(1);
         * // => [1]
         *
         * _.castArray({ 'a': 1 });
         * // => [{ 'a': 1 }]
         *
         * _.castArray('abc');
         * // => ['abc']
         *
         * _.castArray(null);
         * // => [null]
         *
         * _.castArray(undefined);
         * // => [undefined]
         *
         * _.castArray();
         * // => []
         *
         * var array = [1, 2, 3];
         * console.log(_.castArray(array) === array);
         * // => true
         */
        function castArray() {
          if (!arguments.length) {
            return [];
          }
          var value = arguments[0];
          return isArray(value) ? value : [value];
        }
    
        /**
         * Creates a shallow clone of `value`.
         *
         * **Note:** This method is loosely based on the
         * [structured clone algorithm](https://mdn.io/Structured_clone_algorithm)
         * and supports cloning arrays, array buffers, booleans, date objects, maps,
         * numbers, `Object` objects, regexes, sets, strings, symbols, and typed
         * arrays. The own enumerable properties of `arguments` objects are cloned
         * as plain objects. An empty object is returned for uncloneable values such
         * as error objects, functions, DOM nodes, and WeakMaps.
         *
         * @static
         * @memberOf _
         * @since 0.1.0
         * @category Lang
         * @param {*} value The value to clone.
         * @returns {*} Returns the cloned value.
         * @see _.cloneDeep
         * @example
         *
         * var objects = [{ 'a': 1 }, { 'b': 2 }];
         *
         * var shallow = _.clone(objects);
         * console.log(shallow[0] === objects[0]);
         * // => true
         */
        function clone(value) {
          return baseClone(value, CLONE_SYMBOLS_FLAG);
        }
    
        /**
         * This method is like `_.clone` except that it accepts `customizer` which
         * is invoked to produce the cloned value. If `customizer` returns `undefined`,
         * cloning is handled by the method instead. The `customizer` is invoked with
         * up to four arguments; (value [, index|key, object, stack]).
         *
         * @static
         * @memberOf _
         * @since 4.0.0
         * @category Lang
         * @param {*} value The value to clone.
         * @param {Function} [customizer] The function to customize cloning.
         * @returns {*} Returns the cloned value.
         * @see _.cloneDeepWith
         * @example
         *
         * function customizer(value) {
         *   if (_.isElement(value)) {
         *     return value.cloneNode(false);
         *   }
         * }
         *
         * var el = _.cloneWith(document.body, customizer);
         *
         * console.log(el === document.body);
         * // => false
         * console.log(el.nodeName);
         * // => 'BODY'
         * console.log(el.childNodes.length);
         * // => 0
         */
        function cloneWith(value, customizer) {
          customizer = typeof customizer == 'function' ? customizer : undefined;
          return baseClone(value, CLONE_SYMBOLS_FLAG, customizer);
        }
    
        /**
         * This method is like `_.clone` except that it recursively clones `value`.
         *
         * @static
         * @memberOf _
         * @since 1.0.0
         * @category Lang
         * @param {*} value The value to recursively clone.
         * @returns {*} Returns the deep cloned value.
         * @see _.clone
         * @example
         *
         * var objects = [{ 'a': 1 }, { 'b': 2 }];
         *
         * var deep = _.cloneDeep(objects);
         * console.log(deep[0] === objects[0]);
         * // => false
         */
        function cloneDeep(value) {
          return baseClone(value, CLONE_DEEP_FLAG | CLONE_SYMBOLS_FLAG);
        }
    
        /**
         * This method is like `_.cloneWith` except that it recursively clones `value`.
         *
         * @static
         * @memberOf _
         * @since 4.0.0
         * @category Lang
         * @param {*} value The value to recursively clone.
         * @param {Function} [customizer] The function to customize cloning.
         * @returns {*} Returns the deep cloned value.
         * @see _.cloneWith
         * @example
         *
         * function customizer(value) {
         *   if (_.isElement(value)) {
         *     return value.cloneNode(true);
         *   }
         * }
         *
         * var el = _.cloneDeepWith(document.body, customizer);
         *
         * console.log(el === document.body);
         * // => false
         * console.log(el.nodeName);
         * // => 'BODY'
         * console.log(el.childNodes.length);
         * // => 20
         */
        function cloneDeepWith(value, customizer) {
          customizer = typeof customizer == 'function' ? customizer : undefined;
          return baseClone(value, CLONE_DEEP_FLAG | CLONE_SYMBOLS_FLAG, customizer);
        }
    
        /**
         * Checks if `object` conforms to `source` by invoking the predicate
         * properties of `source` with the corresponding property values of `object`.
         *
         * **Note:** This method is equivalent to `_.conforms` when `source` is
         * partially applied.
         *
         * @static
         * @memberOf _
         * @since 4.14.0
         * @category Lang
         * @param {Object} object The object to inspect.
         * @param {Object} source The object of property predicates to conform to.
         * @returns {boolean} Returns `true` if `object` conforms, else `false`.
         * @example
         *
         * var object = { 'a': 1, 'b': 2 };
         *
         * _.conformsTo(object, { 'b': function(n) { return n > 1; } });
         * // => true
         *
         * _.conformsTo(object, { 'b': function(n) { return n > 2; } });
         * // => false
         */
        function conformsTo(object, source) {
          return source == null || baseConformsTo(object, source, keys(source));
        }
    
        /**
         * Performs a
         * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
         * comparison between two values to determine if they are equivalent.
         *
         * @static
         * @memberOf _
         * @since 4.0.0
         * @category Lang
         * @param {*} value The value to compare.
         * @param {*} other The other value to compare.
         * @returns {boolean} Returns `true` if the values are equivalent, else `false`.
         * @example
         *
         * var object = { 'a': 1 };
         * var other = { 'a': 1 };
         *
         * _.eq(object, object);
         * // => true
         *
         * _.eq(object, other);
         * // => false
         *
         * _.eq('a', 'a');
         * // => true
         *
         * _.eq('a', Object('a'));
         * // => false
         *
         * _.eq(NaN, NaN);
         * // => true
         */
        function eq(value, other) {
          return value === other || (value !== value && other !== other);
        }
    
        /**
         * Checks if `value` is greater than `other`.
         *
         * @static
         * @memberOf _
         * @since 3.9.0
         * @category Lang
         * @param {*} value The value to compare.
         * @param {*} other The other value to compare.
         * @returns {boolean} Returns `true` if `value` is greater than `other`,
         *  else `false`.
         * @see _.lt
         * @example
         *
         * _.gt(3, 1);
         * // => true
         *
         * _.gt(3, 3);
         * // => false
         *
         * _.gt(1, 3);
         * // => false
         */
        var gt = createRelationalOperation(baseGt);
    
        /**
         * Checks if `value` is greater than or equal to `other`.
         *
         * @static
         * @memberOf _
         * @since 3.9.0
         * @category Lang
         * @param {*} value The value to compare.
         * @param {*} other The other value to compare.
         * @returns {boolean} Returns `true` if `value` is greater than or equal to
         *  `other`, else `false`.
         * @see _.lte
         * @example
         *
         * _.gte(3, 1);
         * // => true
         *
         * _.gte(3, 3);
         * // => true
         *
         * _.gte(1, 3);
         * // => false
         */
        var gte = createRelationalOperation(function(value, other) {
          return value >= other;
        });
    
        /**
         * Checks if `value` is likely an `arguments` object.
         *
         * @static
         * @memberOf _
         * @since 0.1.0
         * @category Lang
         * @param {*} value The value to check.
         * @returns {boolean} Returns `true` if `value` is an `arguments` object,
         *  else `false`.
         * @example
         *
         * _.isArguments(function() { return arguments; }());
         * // => true
         *
         * _.isArguments([1, 2, 3]);
         * // => false
         */
        var isArguments = baseIsArguments(function() { return arguments; }()) ? baseIsArguments : function(value) {
          return isObjectLike(value) && hasOwnProperty.call(value, 'callee') &&
            !propertyIsEnumerable.call(value, 'callee');
        };
    
        /**
         * Checks if `value` is classified as an `Array` object.
         *
         * @static
         * @memberOf _
         * @since 0.1.0
         * @category Lang
         * @param {*} value The value to check.
         * @returns {boolean} Returns `true` if `value` is an array, else `false`.
         * @example
         *
         * _.isArray([1, 2, 3]);
         * // => true
         *
         * _.isArray(document.body.children);
         * // => false
         *
         * _.isArray('abc');
         * // => false
         *
         * _.isArray(_.noop);
         * // => false
         */
        var isArray = Array.isArray;
    
        /**
         * Checks if `value` is classified as an `ArrayBuffer` object.
         *
         * @static
         * @memberOf _
         * @since 4.3.0
         * @category Lang
         * @param {*} value The value to check.
         * @returns {boolean} Returns `true` if `value` is an array buffer, else `false`.
         * @example
         *
         * _.isArrayBuffer(new ArrayBuffer(2));
         * // => true
         *
         * _.isArrayBuffer(new Array(2));
         * // => false
         */
        var isArrayBuffer = nodeIsArrayBuffer ? baseUnary(nodeIsArrayBuffer) : baseIsArrayBuffer;
    
        /**
         * Checks if `value` is array-like. A value is considered array-like if it's
         * not a function and has a `value.length` that's an integer greater than or
         * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.
         *
         * @static
         * @memberOf _
         * @since 4.0.0
         * @category Lang
         * @param {*} value The value to check.
         * @returns {boolean} Returns `true` if `value` is array-like, else `false`.
         * @example
         *
         * _.isArrayLike([1, 2, 3]);
         * // => true
         *
         * _.isArrayLike(document.body.children);
         * // => true
         *
         * _.isArrayLike('abc');
         * // => true
         *
         * _.isArrayLike(_.noop);
         * // => false
         */
        function isArrayLike(value) {
          return value != null && isLength(value.length) && !isFunction(value);
        }
    
        /**
         * This method is like `_.isArrayLike` except that it also checks if `value`
         * is an object.
         *
         * @static
         * @memberOf _
         * @since 4.0.0
         * @category Lang
         * @param {*} value The value to check.
         * @returns {boolean} Returns `true` if `value` is an array-like object,
         *  else `false`.
         * @example
         *
         * _.isArrayLikeObject([1, 2, 3]);
         * // => true
         *
         * _.isArrayLikeObject(document.body.children);
         * // => true
         *
         * _.isArrayLikeObject('abc');
         * // => false
         *
         * _.isArrayLikeObject(_.noop);
         * // => false
         */
        function isArrayLikeObject(value) {
          return isObjectLike(value) && isArrayLike(value);
        }
    
        /**
         * Checks if `value` is classified as a boolean primitive or object.
         *
         * @static
         * @memberOf _
         * @since 0.1.0
         * @category Lang
         * @param {*} value The value to check.
         * @returns {boolean} Returns `true` if `value` is a boolean, else `false`.
         * @example
         *
         * _.isBoolean(false);
         * // => true
         *
         * _.isBoolean(null);
         * // => false
         */
        function isBoolean(value) {
          return value === true || value === false ||
            (isObjectLike(value) && baseGetTag(value) == boolTag);
        }
    
        /**
         * Checks if `value` is a buffer.
         *
         * @static
         * @memberOf _
         * @since 4.3.0
         * @category Lang
         * @param {*} value The value to check.
         * @returns {boolean} Returns `true` if `value` is a buffer, else `false`.
         * @example
         *
         * _.isBuffer(new Buffer(2));
         * // => true
         *
         * _.isBuffer(new Uint8Array(2));
         * // => false
         */
        var isBuffer = nativeIsBuffer || stubFalse;
    
        /**
         * Checks if `value` is classified as a `Date` object.
         *
         * @static
         * @memberOf _
         * @since 0.1.0
         * @category Lang
         * @param {*} value The value to check.
         * @returns {boolean} Returns `true` if `value` is a date object, else `false`.
         * @example
         *
         * _.isDate(new Date);
         * // => true
         *
         * _.isDate('Mon April 23 2012');
         * // => false
         */
        var isDate = nodeIsDate ? baseUnary(nodeIsDate) : baseIsDate;
    
        /**
         * Checks if `value` is likely a DOM element.
         *
         * @static
         * @memberOf _
         * @since 0.1.0
         * @category Lang
         * @param {*} value The value to check.
         * @returns {boolean} Returns `true` if `value` is a DOM element, else `false`.
         * @example
         *
         * _.isElement(document.body);
         * // => true
         *
         * _.isElement('<body>');
         * // => false
         */
        function isElement(value) {
          return isObjectLike(value) && value.nodeType === 1 && !isPlainObject(value);
        }
    
        /**
         * Checks if `value` is an empty object, collection, map, or set.
         *
         * Objects are considered empty if they have no own enumerable string keyed
         * properties.
         *
         * Array-like values such as `arguments` objects, arrays, buffers, strings, or
         * jQuery-like collections are considered empty if they have a `length` of `0`.
         * Similarly, maps and sets are considered empty if they have a `size` of `0`.
         *
         * @static
         * @memberOf _
         * @since 0.1.0
         * @category Lang
         * @param {*} value The value to check.
         * @returns {boolean} Returns `true` if `value` is empty, else `false`.
         * @example
         *
         * _.isEmpty(null);
         * // => true
         *
         * _.isEmpty(true);
         * // => true
         *
         * _.isEmpty(1);
         * // => true
         *
         * _.isEmpty([1, 2, 3]);
         * // => false
         *
         * _.isEmpty({ 'a': 1 });
         * // => false
         */
        function isEmpty(value) {
          if (value == null) {
            return true;
          }
          if (isArrayLike(value) &&
              (isArray(value) || typeof value == 'string' || typeof value.splice == 'function' ||
                isBuffer(value) || isTypedArray(value) || isArguments(value))) {
            return !value.length;
          }
          var tag = getTag(value);
          if (tag == mapTag || tag == setTag) {
            return !value.size;
          }
          if (isPrototype(value)) {
            return !baseKeys(value).length;
          }
          for (var key in value) {
            if (hasOwnProperty.call(value, key)) {
              return false;
            }
          }
          return true;
        }
    
        /**
         * Performs a deep comparison between two values to determine if they are
         * equivalent.
         *
         * **Note:** This method supports comparing arrays, array buffers, booleans,
         * date objects, error objects, maps, numbers, `Object` objects, regexes,
         * sets, strings, symbols, and typed arrays. `Object` objects are compared
         * by their own, not inherited, enumerable properties. Functions and DOM
         * nodes are compared by strict equality, i.e. `===`.
         *
         * @static
         * @memberOf _
         * @since 0.1.0
         * @category Lang
         * @param {*} value The value to compare.
         * @param {*} other The other value to compare.
         * @returns {boolean} Returns `true` if the values are equivalent, else `false`.
         * @example
         *
         * var object = { 'a': 1 };
         * var other = { 'a': 1 };
         *
         * _.isEqual(object, other);
         * // => true
         *
         * object === other;
         * // => false
         */
        function isEqual(value, other) {
          return baseIsEqual(value, other);
        }
    
        /**
         * This method is like `_.isEqual` except that it accepts `customizer` which
         * is invoked to compare values. If `customizer` returns `undefined`, comparisons
         * are handled by the method instead. The `customizer` is invoked with up to
         * six arguments: (objValue, othValue [, index|key, object, other, stack]).
         *
         * @static
         * @memberOf _
         * @since 4.0.0
         * @category Lang
         * @param {*} value The value to compare.
         * @param {*} other The other value to compare.
         * @param {Function} [customizer] The function to customize comparisons.
         * @returns {boolean} Returns `true` if the values are equivalent, else `false`.
         * @example
         *
         * function isGreeting(value) {
         *   return /^h(?:i|ello)$/.test(value);
         * }
         *
         * function customizer(objValue, othValue) {
         *   if (isGreeting(objValue) && isGreeting(othValue)) {
         *     return true;
         *   }
         * }
         *
         * var array = ['hello', 'goodbye'];
         * var other = ['hi', 'goodbye'];
         *
         * _.isEqualWith(array, other, customizer);
         * // => true
         */
        function isEqualWith(value, other, customizer) {
          customizer = typeof customizer == 'function' ? customizer : undefined;
          var result = customizer ? customizer(value, other) : undefined;
          return result === undefined ? baseIsEqual(value, other, undefined, customizer) : !!result;
        }
    
        /**
         * Checks if `value` is an `Error`, `EvalError`, `RangeError`, `ReferenceError`,
         * `SyntaxError`, `TypeError`, or `URIError` object.
         *
         * @static
         * @memberOf _
         * @since 3.0.0
         * @category Lang
         * @param {*} value The value to check.
         * @returns {boolean} Returns `true` if `value` is an error object, else `false`.
         * @example
         *
         * _.isError(new Error);
         * // => true
         *
         * _.isError(Error);
         * // => false
         */
        function isError(value) {
          if (!isObjectLike(value)) {
            return false;
          }
          var tag = baseGetTag(value);
          return tag == errorTag || tag == domExcTag ||
            (typeof value.message == 'string' && typeof value.name == 'string' && !isPlainObject(value));
        }
    
        /**
         * Checks if `value` is a finite primitive number.
         *
         * **Note:** This method is based on
         * [`Number.isFinite`](https://mdn.io/Number/isFinite).
         *
         * @static
         * @memberOf _
         * @since 0.1.0
         * @category Lang
         * @param {*} value The value to check.
         * @returns {boolean} Returns `true` if `value` is a finite number, else `false`.
         * @example
         *
         * _.isFinite(3);
         * // => true
         *
         * _.isFinite(Number.MIN_VALUE);
         * // => true
         *
         * _.isFinite(Infinity);
         * // => false
         *
         * _.isFinite('3');
         * // => false
         */
        function isFinite(value) {
          return typeof value == 'number' && nativeIsFinite(value);
        }
    
        /**
         * Checks if `value` is classified as a `Function` object.
         *
         * @static
         * @memberOf _
         * @since 0.1.0
         * @category Lang
         * @param {*} value The value to check.
         * @returns {boolean} Returns `true` if `value` is a function, else `false`.
         * @example
         *
         * _.isFunction(_);
         * // => true
         *
         * _.isFunction(/abc/);
         * // => false
         */
        function isFunction(value) {
          if (!isObject(value)) {
            return false;
          }
          // The use of `Object#toString` avoids issues with the `typeof` operator
          // in Safari 9 which returns 'object' for typed arrays and other constructors.
          var tag = baseGetTag(value);
          return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag;
        }
    
        /**
         * Checks if `value` is an integer.
         *
         * **Note:** This method is based on
         * [`Number.isInteger`](https://mdn.io/Number/isInteger).
         *
         * @static
         * @memberOf _
         * @since 4.0.0
         * @category Lang
         * @param {*} value The value to check.
         * @returns {boolean} Returns `true` if `value` is an integer, else `false`.
         * @example
         *
         * _.isInteger(3);
         * // => true
         *
         * _.isInteger(Number.MIN_VALUE);
         * // => false
         *
         * _.isInteger(Infinity);
         * // => false
         *
         * _.isInteger('3');
         * // => false
         */
        function isInteger(value) {
          return typeof value == 'number' && value == toInteger(value);
        }
    
        /**
         * Checks if `value` is a valid array-like length.
         *
         * **Note:** This method is loosely based on
         * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).
         *
         * @static
         * @memberOf _
         * @since 4.0.0
         * @category Lang
         * @param {*} value The value to check.
         * @returns {boolean} Returns `true` if `value` is a valid length, else `false`.
         * @example
         *
         * _.isLength(3);
         * // => true
         *
         * _.isLength(Number.MIN_VALUE);
         * // => false
         *
         * _.isLength(Infinity);
         * // => false
         *
         * _.isLength('3');
         * // => false
         */
        function isLength(value) {
          return typeof value == 'number' &&
            value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;
        }
    
        /**
         * Checks if `value` is the
         * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)
         * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)
         *
         * @static
         * @memberOf _
         * @since 0.1.0
         * @category Lang
         * @param {*} value The value to check.
         * @returns {boolean} Returns `true` if `value` is an object, else `false`.
         * @example
         *
         * _.isObject({});
         * // => true
         *
         * _.isObject([1, 2, 3]);
         * // => true
         *
         * _.isObject(_.noop);
         * // => true
         *
         * _.isObject(null);
         * // => false
         */
        function isObject(value) {
          var type = typeof value;
          return value != null && (type == 'object' || type == 'function');
        }
    
        /**
         * Checks if `value` is object-like. A value is object-like if it's not `null`
         * and has a `typeof` result of "object".
         *
         * @static
         * @memberOf _
         * @since 4.0.0
         * @category Lang
         * @param {*} value The value to check.
         * @returns {boolean} Returns `true` if `value` is object-like, else `false`.
         * @example
         *
         * _.isObjectLike({});
         * // => true
         *
         * _.isObjectLike([1, 2, 3]);
         * // => true
         *
         * _.isObjectLike(_.noop);
         * // => false
         *
         * _.isObjectLike(null);
         * // => false
         */
        function isObjectLike(value) {
          return value != null && typeof value == 'object';
        }
    
        /**
         * Checks if `value` is classified as a `Map` object.
         *
         * @static
         * @memberOf _
         * @since 4.3.0
         * @category Lang
         * @param {*} value The value to check.
         * @returns {boolean} Returns `true` if `value` is a map, else `false`.
         * @example
         *
         * _.isMap(new Map);
         * // => true
         *
         * _.isMap(new WeakMap);
         * // => false
         */
        var isMap = nodeIsMap ? baseUnary(nodeIsMap) : baseIsMap;
    
        /**
         * Performs a partial deep comparison between `object` and `source` to
         * determine if `object` contains equivalent property values.
         *
         * **Note:** This method is equivalent to `_.matches` when `source` is
         * partially applied.
         *
         * Partial comparisons will match empty array and empty object `source`
         * values against any array or object value, respectively. See `_.isEqual`
         * for a list of supported value comparisons.
         *
         * @static
         * @memberOf _
         * @since 3.0.0
         * @category Lang
         * @param {Object} object The object to inspect.
         * @param {Object} source The object of property values to match.
         * @returns {boolean} Returns `true` if `object` is a match, else `false`.
         * @example
         *
         * var object = { 'a': 1, 'b': 2 };
         *
         * _.isMatch(object, { 'b': 2 });
         * // => true
         *
         * _.isMatch(object, { 'b': 1 });
         * // => false
         */
        function isMatch(object, source) {
          return object === source || baseIsMatch(object, source, getMatchData(source));
        }
    
        /**
         * This method is like `_.isMatch` except that it accepts `customizer` which
         * is invoked to compare values. If `customizer` returns `undefined`, comparisons
         * are handled by the method instead. The `customizer` is invoked with five
         * arguments: (objValue, srcValue, index|key, object, source).
         *
         * @static
         * @memberOf _
         * @since 4.0.0
         * @category Lang
         * @param {Object} object The object to inspect.
         * @param {Object} source The object of property values to match.
         * @param {Function} [customizer] The function to customize comparisons.
         * @returns {boolean} Returns `true` if `object` is a match, else `false`.
         * @example
         *
         * function isGreeting(value) {
         *   return /^h(?:i|ello)$/.test(value);
         * }
         *
         * function customizer(objValue, srcValue) {
         *   if (isGreeting(objValue) && isGreeting(srcValue)) {
         *     return true;
         *   }
         * }
         *
         * var object = { 'greeting': 'hello' };
         * var source = { 'greeting': 'hi' };
         *
         * _.isMatchWith(object, source, customizer);
         * // => true
         */
        function isMatchWith(object, source, customizer) {
          customizer = typeof customizer == 'function' ? customizer : undefined;
          return baseIsMatch(object, source, getMatchData(source), customizer);
        }
    
        /**
         * Checks if `value` is `NaN`.
         *
         * **Note:** This method is based on
         * [`Number.isNaN`](https://mdn.io/Number/isNaN) and is not the same as
         * global [`isNaN`](https://mdn.io/isNaN) which returns `true` for
         * `undefined` and other non-number values.
         *
         * @static
         * @memberOf _
         * @since 0.1.0
         * @category Lang
         * @param {*} value The value to check.
         * @returns {boolean} Returns `true` if `value` is `NaN`, else `false`.
         * @example
         *
         * _.isNaN(NaN);
         * // => true
         *
         * _.isNaN(new Number(NaN));
         * // => true
         *
         * isNaN(undefined);
         * // => true
         *
         * _.isNaN(undefined);
         * // => false
         */
        function isNaN(value) {
          // An `NaN` primitive is the only value that is not equal to itself.
          // Perform the `toStringTag` check first to avoid errors with some
          // ActiveX objects in IE.
          return isNumber(value) && value != +value;
        }
    
        /**
         * Checks if `value` is a pristine native function.
         *
         * **Note:** This method can't reliably detect native functions in the presence
         * of the core-js package because core-js circumvents this kind of detection.
         * Despite multiple requests, the core-js maintainer has made it clear: any
         * attempt to fix the detection will be obstructed. As a result, we're left
         * with little choice but to throw an error. Unfortunately, this also affects
         * packages, like [babel-polyfill](https://www.npmjs.com/package/babel-polyfill),
         * which rely on core-js.
         *
         * @static
         * @memberOf _
         * @since 3.0.0
         * @category Lang
         * @param {*} value The value to check.
         * @returns {boolean} Returns `true` if `value` is a native function,
         *  else `false`.
         * @example
         *
         * _.isNative(Array.prototype.push);
         * // => true
         *
         * _.isNative(_);
         * // => false
         */
        function isNative(value) {
          if (isMaskable(value)) {
            throw new Error(CORE_ERROR_TEXT);
          }
          return baseIsNative(value);
        }
    
        /**
         * Checks if `value` is `null`.
         *
         * @static
         * @memberOf _
         * @since 0.1.0
         * @category Lang
         * @param {*} value The value to check.
         * @returns {boolean} Returns `true` if `value` is `null`, else `false`.
         * @example
         *
         * _.isNull(null);
         * // => true
         *
         * _.isNull(void 0);
         * // => false
         */
        function isNull(value) {
          return value === null;
        }
    
        /**
         * Checks if `value` is `null` or `undefined`.
         *
         * @static
         * @memberOf _
         * @since 4.0.0
         * @category Lang
         * @param {*} value The value to check.
         * @returns {boolean} Returns `true` if `value` is nullish, else `false`.
         * @example
         *
         * _.isNil(null);
         * // => true
         *
         * _.isNil(void 0);
         * // => true
         *
         * _.isNil(NaN);
         * // => false
         */
        function isNil(value) {
          return value == null;
        }
    
        /**
         * Checks if `value` is classified as a `Number` primitive or object.
         *
         * **Note:** To exclude `Infinity`, `-Infinity`, and `NaN`, which are
         * classified as numbers, use the `_.isFinite` method.
         *
         * @static
         * @memberOf _
         * @since 0.1.0
         * @category Lang
         * @param {*} value The value to check.
         * @returns {boolean} Returns `true` if `value` is a number, else `false`.
         * @example
         *
         * _.isNumber(3);
         * // => true
         *
         * _.isNumber(Number.MIN_VALUE);
         * // => true
         *
         * _.isNumber(Infinity);
         * // => true
         *
         * _.isNumber('3');
         * // => false
         */
        function isNumber(value) {
          return typeof value == 'number' ||
            (isObjectLike(value) && baseGetTag(value) == numberTag);
        }
    
        /**
         * Checks if `value` is a plain object, that is, an object created by the
         * `Object` constructor or one with a `[[Prototype]]` of `null`.
         *
         * @static
         * @memberOf _
         * @since 0.8.0
         * @category Lang
         * @param {*} value The value to check.
         * @returns {boolean} Returns `true` if `value` is a plain object, else `false`.
         * @example
         *
         * function Foo() {
         *   this.a = 1;
         * }
         *
         * _.isPlainObject(new Foo);
         * // => false
         *
         * _.isPlainObject([1, 2, 3]);
         * // => false
         *
         * _.isPlainObject({ 'x': 0, 'y': 0 });
         * // => true
         *
         * _.isPlainObject(Object.create(null));
         * // => true
         */
        function isPlainObject(value) {
          if (!isObjectLike(value) || baseGetTag(value) != objectTag) {
            return false;
          }
          var proto = getPrototype(value);
          if (proto === null) {
            return true;
          }
          var Ctor = hasOwnProperty.call(proto, 'constructor') && proto.constructor;
          return typeof Ctor == 'function' && Ctor instanceof Ctor &&
            funcToString.call(Ctor) == objectCtorString;
        }
    
        /**
         * Checks if `value` is classified as a `RegExp` object.
         *
         * @static
         * @memberOf _
         * @since 0.1.0
         * @category Lang
         * @param {*} value The value to check.
         * @returns {boolean} Returns `true` if `value` is a regexp, else `false`.
         * @example
         *
         * _.isRegExp(/abc/);
         * // => true
         *
         * _.isRegExp('/abc/');
         * // => false
         */
        var isRegExp = nodeIsRegExp ? baseUnary(nodeIsRegExp) : baseIsRegExp;
    
        /**
         * Checks if `value` is a safe integer. An integer is safe if it's an IEEE-754
         * double precision number which isn't the result of a rounded unsafe integer.
         *
         * **Note:** This method is based on
         * [`Number.isSafeInteger`](https://mdn.io/Number/isSafeInteger).
         *
         * @static
         * @memberOf _
         * @since 4.0.0
         * @category Lang
         * @param {*} value The value to check.
         * @returns {boolean} Returns `true` if `value` is a safe integer, else `false`.
         * @example
         *
         * _.isSafeInteger(3);
         * // => true
         *
         * _.isSafeInteger(Number.MIN_VALUE);
         * // => false
         *
         * _.isSafeInteger(Infinity);
         * // => false
         *
         * _.isSafeInteger('3');
         * // => false
         */
        function isSafeInteger(value) {
          return isInteger(value) && value >= -MAX_SAFE_INTEGER && value <= MAX_SAFE_INTEGER;
        }
    
        /**
         * Checks if `value` is classified as a `Set` object.
         *
         * @static
         * @memberOf _
         * @since 4.3.0
         * @category Lang
         * @param {*} value The value to check.
         * @returns {boolean} Returns `true` if `value` is a set, else `false`.
         * @example
         *
         * _.isSet(new Set);
         * // => true
         *
         * _.isSet(new WeakSet);
         * // => false
         */
        var isSet = nodeIsSet ? baseUnary(nodeIsSet) : baseIsSet;
    
        /**
         * Checks if `value` is classified as a `String` primitive or object.
         *
         * @static
         * @since 0.1.0
         * @memberOf _
         * @category Lang
         * @param {*} value The value to check.
         * @returns {boolean} Returns `true` if `value` is a string, else `false`.
         * @example
         *
         * _.isString('abc');
         * // => true
         *
         * _.isString(1);
         * // => false
         */
        function isString(value) {
          return typeof value == 'string' ||
            (!isArray(value) && isObjectLike(value) && baseGetTag(value) == stringTag);
        }
    
        /**
         * Checks if `value` is classified as a `Symbol` primitive or object.
         *
         * @static
         * @memberOf _
         * @since 4.0.0
         * @category Lang
         * @param {*} value The value to check.
         * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.
         * @example
         *
         * _.isSymbol(Symbol.iterator);
         * // => true
         *
         * _.isSymbol('abc');
         * // => false
         */
        function isSymbol(value) {
          return typeof value == 'symbol' ||
            (isObjectLike(value) && baseGetTag(value) == symbolTag);
        }
    
        /**
         * Checks if `value` is classified as a typed array.
         *
         * @static
         * @memberOf _
         * @since 3.0.0
         * @category Lang
         * @param {*} value The value to check.
         * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.
         * @example
         *
         * _.isTypedArray(new Uint8Array);
         * // => true
         *
         * _.isTypedArray([]);
         * // => false
         */
        var isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray;
    
        /**
         * Checks if `value` is `undefined`.
         *
         * @static
         * @since 0.1.0
         * @memberOf _
         * @category Lang
         * @param {*} value The value to check.
         * @returns {boolean} Returns `true` if `value` is `undefined`, else `false`.
         * @example
         *
         * _.isUndefined(void 0);
         * // => true
         *
         * _.isUndefined(null);
         * // => false
         */
        function isUndefined(value) {
          return value === undefined;
        }
    
        /**
         * Checks if `value` is classified as a `WeakMap` object.
         *
         * @static
         * @memberOf _
         * @since 4.3.0
         * @category Lang
         * @param {*} value The value to check.
         * @returns {boolean} Returns `true` if `value` is a weak map, else `false`.
         * @example
         *
         * _.isWeakMap(new WeakMap);
         * // => true
         *
         * _.isWeakMap(new Map);
         * // => false
         */
        function isWeakMap(value) {
          return isObjectLike(value) && getTag(value) == weakMapTag;
        }
    
        /**
         * Checks if `value` is classified as a `WeakSet` object.
         *
         * @static
         * @memberOf _
         * @since 4.3.0
         * @category Lang
         * @param {*} value The value to check.
         * @returns {boolean} Returns `true` if `value` is a weak set, else `false`.
         * @example
         *
         * _.isWeakSet(new WeakSet);
         * // => true
         *
         * _.isWeakSet(new Set);
         * // => false
         */
        function isWeakSet(value) {
          return isObjectLike(value) && baseGetTag(value) == weakSetTag;
        }
    
        /**
         * Checks if `value` is less than `other`.
         *
         * @static
         * @memberOf _
         * @since 3.9.0
         * @category Lang
         * @param {*} value The value to compare.
         * @param {*} other The other value to compare.
         * @returns {boolean} Returns `true` if `value` is less than `other`,
         *  else `false`.
         * @see _.gt
         * @example
         *
         * _.lt(1, 3);
         * // => true
         *
         * _.lt(3, 3);
         * // => false
         *
         * _.lt(3, 1);
         * // => false
         */
        var lt = createRelationalOperation(baseLt);
    
        /**
         * Checks if `value` is less than or equal to `other`.
         *
         * @static
         * @memberOf _
         * @since 3.9.0
         * @category Lang
         * @param {*} value The value to compare.
         * @param {*} other The other value to compare.
         * @returns {boolean} Returns `true` if `value` is less than or equal to
         *  `other`, else `false`.
         * @see _.gte
         * @example
         *
         * _.lte(1, 3);
         * // => true
         *
         * _.lte(3, 3);
         * // => true
         *
         * _.lte(3, 1);
         * // => false
         */
        var lte = createRelationalOperation(function(value, other) {
          return value <= other;
        });
    
        /**
         * Converts `value` to an array.
         *
         * @static
         * @since 0.1.0
         * @memberOf _
         * @category Lang
         * @param {*} value The value to convert.
         * @returns {Array} Returns the converted array.
         * @example
         *
         * _.toArray({ 'a': 1, 'b': 2 });
         * // => [1, 2]
         *
         * _.toArray('abc');
         * // => ['a', 'b', 'c']
         *
         * _.toArray(1);
         * // => []
         *
         * _.toArray(null);
         * // => []
         */
        function toArray(value) {
          if (!value) {
            return [];
          }
          if (isArrayLike(value)) {
            return isString(value) ? stringToArray(value) : copyArray(value);
          }
          if (symIterator && value[symIterator]) {
            return iteratorToArray(value[symIterator]());
          }
          var tag = getTag(value),
              func = tag == mapTag ? mapToArray : (tag == setTag ? setToArray : values);
    
          return func(value);
        }
    
        /**
         * Converts `value` to a finite number.
         *
         * @static
         * @memberOf _
         * @since 4.12.0
         * @category Lang
         * @param {*} value The value to convert.
         * @returns {number} Returns the converted number.
         * @example
         *
         * _.toFinite(3.2);
         * // => 3.2
         *
         * _.toFinite(Number.MIN_VALUE);
         * // => 5e-324
         *
         * _.toFinite(Infinity);
         * // => 1.7976931348623157e+308
         *
         * _.toFinite('3.2');
         * // => 3.2
         */
        function toFinite(value) {
          if (!value) {
            return value === 0 ? value : 0;
          }
          value = toNumber(value);
          if (value === INFINITY || value === -INFINITY) {
            var sign = (value < 0 ? -1 : 1);
            return sign * MAX_INTEGER;
          }
          return value === value ? value : 0;
        }
    
        /**
         * Converts `value` to an integer.
         *
         * **Note:** This method is loosely based on
         * [`ToInteger`](http://www.ecma-international.org/ecma-262/7.0/#sec-tointeger).
         *
         * @static
         * @memberOf _
         * @since 4.0.0
         * @category Lang
         * @param {*} value The value to convert.
         * @returns {number} Returns the converted integer.
         * @example
         *
         * _.toInteger(3.2);
         * // => 3
         *
         * _.toInteger(Number.MIN_VALUE);
         * // => 0
         *
         * _.toInteger(Infinity);
         * // => 1.7976931348623157e+308
         *
         * _.toInteger('3.2');
         * // => 3
         */
        function toInteger(value) {
          var result = toFinite(value),
              remainder = result % 1;
    
          return result === result ? (remainder ? result - remainder : result) : 0;
        }
    
        /**
         * Converts `value` to an integer suitable for use as the length of an
         * array-like object.
         *
         * **Note:** This method is based on
         * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).
         *
         * @static
         * @memberOf _
         * @since 4.0.0
         * @category Lang
         * @param {*} value The value to convert.
         * @returns {number} Returns the converted integer.
         * @example
         *
         * _.toLength(3.2);
         * // => 3
         *
         * _.toLength(Number.MIN_VALUE);
         * // => 0
         *
         * _.toLength(Infinity);
         * // => 4294967295
         *
         * _.toLength('3.2');
         * // => 3
         */
        function toLength(value) {
          return value ? baseClamp(toInteger(value), 0, MAX_ARRAY_LENGTH) : 0;
        }
    
        /**
         * Converts `value` to a number.
         *
         * @static
         * @memberOf _
         * @since 4.0.0
         * @category Lang
         * @param {*} value The value to process.
         * @returns {number} Returns the number.
         * @example
         *
         * _.toNumber(3.2);
         * // => 3.2
         *
         * _.toNumber(Number.MIN_VALUE);
         * // => 5e-324
         *
         * _.toNumber(Infinity);
         * // => Infinity
         *
         * _.toNumber('3.2');
         * // => 3.2
         */
        function toNumber(value) {
          if (typeof value == 'number') {
            return value;
          }
          if (isSymbol(value)) {
            return NAN;
          }
          if (isObject(value)) {
            var other = typeof value.valueOf == 'function' ? value.valueOf() : value;
            value = isObject(other) ? (other + '') : other;
          }
          if (typeof value != 'string') {
            return value === 0 ? value : +value;
          }
          value = baseTrim(value);
          var isBinary = reIsBinary.test(value);
          return (isBinary || reIsOctal.test(value))
            ? freeParseInt(value.slice(2), isBinary ? 2 : 8)
            : (reIsBadHex.test(value) ? NAN : +value);
        }
    
        /**
         * Converts `value` to a plain object flattening inherited enumerable string
         * keyed properties of `value` to own properties of the plain object.
         *
         * @static
         * @memberOf _
         * @since 3.0.0
         * @category Lang
         * @param {*} value The value to convert.
         * @returns {Object} Returns the converted plain object.
         * @example
         *
         * function Foo() {
         *   this.b = 2;
         * }
         *
         * Foo.prototype.c = 3;
         *
         * _.assign({ 'a': 1 }, new Foo);
         * // => { 'a': 1, 'b': 2 }
         *
         * _.assign({ 'a': 1 }, _.toPlainObject(new Foo));
         * // => { 'a': 1, 'b': 2, 'c': 3 }
         */
        function toPlainObject(value) {
          return copyObject(value, keysIn(value));
        }
    
        /**
         * Converts `value` to a safe integer. A safe integer can be compared and
         * represented correctly.
         *
         * @static
         * @memberOf _
         * @since 4.0.0
         * @category Lang
         * @param {*} value The value to convert.
         * @returns {number} Returns the converted integer.
         * @example
         *
         * _.toSafeInteger(3.2);
         * // => 3
         *
         * _.toSafeInteger(Number.MIN_VALUE);
         * // => 0
         *
         * _.toSafeInteger(Infinity);
         * // => 9007199254740991
         *
         * _.toSafeInteger('3.2');
         * // => 3
         */
        function toSafeInteger(value) {
          return value
            ? baseClamp(toInteger(value), -MAX_SAFE_INTEGER, MAX_SAFE_INTEGER)
            : (value === 0 ? value : 0);
        }
    
        /**
         * Converts `value` to a string. An empty string is returned for `null`
         * and `undefined` values. The sign of `-0` is preserved.
         *
         * @static
         * @memberOf _
         * @since 4.0.0
         * @category Lang
         * @param {*} value The value to convert.
         * @returns {string} Returns the converted string.
         * @example
         *
         * _.toString(null);
         * // => ''
         *
         * _.toString(-0);
         * // => '-0'
         *
         * _.toString([1, 2, 3]);
         * // => '1,2,3'
         */
        function toString(value) {
          return value == null ? '' : baseToString(value);
        }
    
        /*------------------------------------------------------------------------*/
    
        /**
         * Assigns own enumerable string keyed properties of source objects to the
         * destination object. Source objects are applied from left to right.
         * Subsequent sources overwrite property assignments of previous sources.
         *
         * **Note:** This method mutates `object` and is loosely based on
         * [`Object.assign`](https://mdn.io/Object/assign).
         *
         * @static
         * @memberOf _
         * @since 0.10.0
         * @category Object
         * @param {Object} object The destination object.
         * @param {...Object} [sources] The source objects.
         * @returns {Object} Returns `object`.
         * @see _.assignIn
         * @example
         *
         * function Foo() {
         *   this.a = 1;
         * }
         *
         * function Bar() {
         *   this.c = 3;
         * }
         *
         * Foo.prototype.b = 2;
         * Bar.prototype.d = 4;
         *
         * _.assign({ 'a': 0 }, new Foo, new Bar);
         * // => { 'a': 1, 'c': 3 }
         */
        var assign = createAssigner(function(object, source) {
          if (isPrototype(source) || isArrayLike(source)) {
            copyObject(source, keys(source), object);
            return;
          }
          for (var key in source) {
            if (hasOwnProperty.call(source, key)) {
              assignValue(object, key, source[key]);
            }
          }
        });
    
        /**
         * This method is like `_.assign` except that it iterates over own and
         * inherited source properties.
         *
         * **Note:** This method mutates `object`.
         *
         * @static
         * @memberOf _
         * @since 4.0.0
         * @alias extend
         * @category Object
         * @param {Object} object The destination object.
         * @param {...Object} [sources] The source objects.
         * @returns {Object} Returns `object`.
         * @see _.assign
         * @example
         *
         * function Foo() {
         *   this.a = 1;
         * }
         *
         * function Bar() {
         *   this.c = 3;
         * }
         *
         * Foo.prototype.b = 2;
         * Bar.prototype.d = 4;
         *
         * _.assignIn({ 'a': 0 }, new Foo, new Bar);
         * // => { 'a': 1, 'b': 2, 'c': 3, 'd': 4 }
         */
        var assignIn = createAssigner(function(object, source) {
          copyObject(source, keysIn(source), object);
        });
    
        /**
         * This method is like `_.assignIn` except that it accepts `customizer`
         * which is invoked to produce the assigned values. If `customizer` returns
         * `undefined`, assignment is handled by the method instead. The `customizer`
         * is invoked with five arguments: (objValue, srcValue, key, object, source).
         *
         * **Note:** This method mutates `object`.
         *
         * @static
         * @memberOf _
         * @since 4.0.0
         * @alias extendWith
         * @category Object
         * @param {Object} object The destination object.
         * @param {...Object} sources The source objects.
         * @param {Function} [customizer] The function to customize assigned values.
         * @returns {Object} Returns `object`.
         * @see _.assignWith
         * @example
         *
         * function customizer(objValue, srcValue) {
         *   return _.isUndefined(objValue) ? srcValue : objValue;
         * }
         *
         * var defaults = _.partialRight(_.assignInWith, customizer);
         *
         * defaults({ 'a': 1 }, { 'b': 2 }, { 'a': 3 });
         * // => { 'a': 1, 'b': 2 }
         */
        var assignInWith = createAssigner(function(object, source, srcIndex, customizer) {
          copyObject(source, keysIn(source), object, customizer);
        });
    
        /**
         * This method is like `_.assign` except that it accepts `customizer`
         * which is invoked to produce the assigned values. If `customizer` returns
         * `undefined`, assignment is handled by the method instead. The `customizer`
         * is invoked with five arguments: (objValue, srcValue, key, object, source).
         *
         * **Note:** This method mutates `object`.
         *
         * @static
         * @memberOf _
         * @since 4.0.0
         * @category Object
         * @param {Object} object The destination object.
         * @param {...Object} sources The source objects.
         * @param {Function} [customizer] The function to customize assigned values.
         * @returns {Object} Returns `object`.
         * @see _.assignInWith
         * @example
         *
         * function customizer(objValue, srcValue) {
         *   return _.isUndefined(objValue) ? srcValue : objValue;
         * }
         *
         * var defaults = _.partialRight(_.assignWith, customizer);
         *
         * defaults({ 'a': 1 }, { 'b': 2 }, { 'a': 3 });
         * // => { 'a': 1, 'b': 2 }
         */
        var assignWith = createAssigner(function(object, source, srcIndex, customizer) {
          copyObject(source, keys(source), object, customizer);
        });
    
        /**
         * Creates an array of values corresponding to `paths` of `object`.
         *
         * @static
         * @memberOf _
         * @since 1.0.0
         * @category Object
         * @param {Object} object The object to iterate over.
         * @param {...(string|string[])} [paths] The property paths to pick.
         * @returns {Array} Returns the picked values.
         * @example
         *
         * var object = { 'a': [{ 'b': { 'c': 3 } }, 4] };
         *
         * _.at(object, ['a[0].b.c', 'a[1]']);
         * // => [3, 4]
         */
        var at = flatRest(baseAt);
    
        /**
         * Creates an object that inherits from the `prototype` object. If a
         * `properties` object is given, its own enumerable string keyed properties
         * are assigned to the created object.
         *
         * @static
         * @memberOf _
         * @since 2.3.0
         * @category Object
         * @param {Object} prototype The object to inherit from.
         * @param {Object} [properties] The properties to assign to the object.
         * @returns {Object} Returns the new object.
         * @example
         *
         * function Shape() {
         *   this.x = 0;
         *   this.y = 0;
         * }
         *
         * function Circle() {
         *   Shape.call(this);
         * }
         *
         * Circle.prototype = _.create(Shape.prototype, {
         *   'constructor': Circle
         * });
         *
         * var circle = new Circle;
         * circle instanceof Circle;
         * // => true
         *
         * circle instanceof Shape;
         * // => true
         */
        function create(prototype, properties) {
          var result = baseCreate(prototype);
          return properties == null ? result : baseAssign(result, properties);
        }
    
        /**
         * Assigns own and inherited enumerable string keyed properties of source
         * objects to the destination object for all destination properties that
         * resolve to `undefined`. Source objects are applied from left to right.
         * Once a property is set, additional values of the same property are ignored.
         *
         * **Note:** This method mutates `object`.
         *
         * @static
         * @since 0.1.0
         * @memberOf _
         * @category Object
         * @param {Object} object The destination object.
         * @param {...Object} [sources] The source objects.
         * @returns {Object} Returns `object`.
         * @see _.defaultsDeep
         * @example
         *
         * _.defaults({ 'a': 1 }, { 'b': 2 }, { 'a': 3 });
         * // => { 'a': 1, 'b': 2 }
         */
        var defaults = baseRest(function(object, sources) {
          object = Object(object);
    
          var index = -1;
          var length = sources.length;
          var guard = length > 2 ? sources[2] : undefined;
    
          if (guard && isIterateeCall(sources[0], sources[1], guard)) {
            length = 1;
          }
    
          while (++index < length) {
            var source = sources[index];
            var props = keysIn(source);
            var propsIndex = -1;
            var propsLength = props.length;
    
            while (++propsIndex < propsLength) {
              var key = props[propsIndex];
              var value = object[key];
    
              if (value === undefined ||
                  (eq(value, objectProto[key]) && !hasOwnProperty.call(object, key))) {
                object[key] = source[key];
              }
            }
          }
    
          return object;
        });
    
        /**
         * This method is like `_.defaults` except that it recursively assigns
         * default properties.
         *
         * **Note:** This method mutates `object`.
         *
         * @static
         * @memberOf _
         * @since 3.10.0
         * @category Object
         * @param {Object} object The destination object.
         * @param {...Object} [sources] The source objects.
         * @returns {Object} Returns `object`.
         * @see _.defaults
         * @example
         *
         * _.defaultsDeep({ 'a': { 'b': 2 } }, { 'a': { 'b': 1, 'c': 3 } });
         * // => { 'a': { 'b': 2, 'c': 3 } }
         */
        var defaultsDeep = baseRest(function(args) {
          args.push(undefined, customDefaultsMerge);
          return apply(mergeWith, undefined, args);
        });
    
        /**
         * This method is like `_.find` except that it returns the key of the first
         * element `predicate` returns truthy for instead of the element itself.
         *
         * @static
         * @memberOf _
         * @since 1.1.0
         * @category Object
         * @param {Object} object The object to inspect.
         * @param {Function} [predicate=_.identity] The function invoked per iteration.
         * @returns {string|undefined} Returns the key of the matched element,
         *  else `undefined`.
         * @example
         *
         * var users = {
         *   'barney':  { 'age': 36, 'active': true },
         *   'fred':    { 'age': 40, 'active': false },
         *   'pebbles': { 'age': 1,  'active': true }
         * };
         *
         * _.findKey(users, function(o) { return o.age < 40; });
         * // => 'barney' (iteration order is not guaranteed)
         *
         * // The `_.matches` iteratee shorthand.
         * _.findKey(users, { 'age': 1, 'active': true });
         * // => 'pebbles'
         *
         * // The `_.matchesProperty` iteratee shorthand.
         * _.findKey(users, ['active', false]);
         * // => 'fred'
         *
         * // The `_.property` iteratee shorthand.
         * _.findKey(users, 'active');
         * // => 'barney'
         */
        function findKey(object, predicate) {
          return baseFindKey(object, getIteratee(predicate, 3), baseForOwn);
        }
    
        /**
         * This method is like `_.findKey` except that it iterates over elements of
         * a collection in the opposite order.
         *
         * @static
         * @memberOf _
         * @since 2.0.0
         * @category Object
         * @param {Object} object The object to inspect.
         * @param {Function} [predicate=_.identity] The function invoked per iteration.
         * @returns {string|undefined} Returns the key of the matched element,
         *  else `undefined`.
         * @example
         *
         * var users = {
         *   'barney':  { 'age': 36, 'active': true },
         *   'fred':    { 'age': 40, 'active': false },
         *   'pebbles': { 'age': 1,  'active': true }
         * };
         *
         * _.findLastKey(users, function(o) { return o.age < 40; });
         * // => returns 'pebbles' assuming `_.findKey` returns 'barney'
         *
         * // The `_.matches` iteratee shorthand.
         * _.findLastKey(users, { 'age': 36, 'active': true });
         * // => 'barney'
         *
         * // The `_.matchesProperty` iteratee shorthand.
         * _.findLastKey(users, ['active', false]);
         * // => 'fred'
         *
         * // The `_.property` iteratee shorthand.
         * _.findLastKey(users, 'active');
         * // => 'pebbles'
         */
        function findLastKey(object, predicate) {
          return baseFindKey(object, getIteratee(predicate, 3), baseForOwnRight);
        }
    
        /**
         * Iterates over own and inherited enumerable string keyed properties of an
         * object and invokes `iteratee` for each property. The iteratee is invoked
         * with three arguments: (value, key, object). Iteratee functions may exit
         * iteration early by explicitly returning `false`.
         *
         * @static
         * @memberOf _
         * @since 0.3.0
         * @category Object
         * @param {Object} object The object to iterate over.
         * @param {Function} [iteratee=_.identity] The function invoked per iteration.
         * @returns {Object} Returns `object`.
         * @see _.forInRight
         * @example
         *
         * function Foo() {
         *   this.a = 1;
         *   this.b = 2;
         * }
         *
         * Foo.prototype.c = 3;
         *
         * _.forIn(new Foo, function(value, key) {
         *   console.log(key);
         * });
         * // => Logs 'a', 'b', then 'c' (iteration order is not guaranteed).
         */
        function forIn(object, iteratee) {
          return object == null
            ? object
            : baseFor(object, getIteratee(iteratee, 3), keysIn);
        }
    
        /**
         * This method is like `_.forIn` except that it iterates over properties of
         * `object` in the opposite order.
         *
         * @static
         * @memberOf _
         * @since 2.0.0
         * @category Object
         * @param {Object} object The object to iterate over.
         * @param {Function} [iteratee=_.identity] The function invoked per iteration.
         * @returns {Object} Returns `object`.
         * @see _.forIn
         * @example
         *
         * function Foo() {
         *   this.a = 1;
         *   this.b = 2;
         * }
         *
         * Foo.prototype.c = 3;
         *
         * _.forInRight(new Foo, function(value, key) {
         *   console.log(key);
         * });
         * // => Logs 'c', 'b', then 'a' assuming `_.forIn` logs 'a', 'b', then 'c'.
         */
        function forInRight(object, iteratee) {
          return object == null
            ? object
            : baseForRight(object, getIteratee(iteratee, 3), keysIn);
        }
    
        /**
         * Iterates over own enumerable string keyed properties of an object and
         * invokes `iteratee` for each property. The iteratee is invoked with three
         * arguments: (value, key, object). Iteratee functions may exit iteration
         * early by explicitly returning `false`.
         *
         * @static
         * @memberOf _
         * @since 0.3.0
         * @category Object
         * @param {Object} object The object to iterate over.
         * @param {Function} [iteratee=_.identity] The function invoked per iteration.
         * @returns {Object} Returns `object`.
         * @see _.forOwnRight
         * @example
         *
         * function Foo() {
         *   this.a = 1;
         *   this.b = 2;
         * }
         *
         * Foo.prototype.c = 3;
         *
         * _.forOwn(new Foo, function(value, key) {
         *   console.log(key);
         * });
         * // => Logs 'a' then 'b' (iteration order is not guaranteed).
         */
        function forOwn(object, iteratee) {
          return object && baseForOwn(object, getIteratee(iteratee, 3));
        }
    
        /**
         * This method is like `_.forOwn` except that it iterates over properties of
         * `object` in the opposite order.
         *
         * @static
         * @memberOf _
         * @since 2.0.0
         * @category Object
         * @param {Object} object The object to iterate over.
         * @param {Function} [iteratee=_.identity] The function invoked per iteration.
         * @returns {Object} Returns `object`.
         * @see _.forOwn
         * @example
         *
         * function Foo() {
         *   this.a = 1;
         *   this.b = 2;
         * }
         *
         * Foo.prototype.c = 3;
         *
         * _.forOwnRight(new Foo, function(value, key) {
         *   console.log(key);
         * });
         * // => Logs 'b' then 'a' assuming `_.forOwn` logs 'a' then 'b'.
         */
        function forOwnRight(object, iteratee) {
          return object && baseForOwnRight(object, getIteratee(iteratee, 3));
        }
    
        /**
         * Creates an array of function property names from own enumerable properties
         * of `object`.
         *
         * @static
         * @since 0.1.0
         * @memberOf _
         * @category Object
         * @param {Object} object The object to inspect.
         * @returns {Array} Returns the function names.
         * @see _.functionsIn
         * @example
         *
         * function Foo() {
         *   this.a = _.constant('a');
         *   this.b = _.constant('b');
         * }
         *
         * Foo.prototype.c = _.constant('c');
         *
         * _.functions(new Foo);
         * // => ['a', 'b']
         */
        function functions(object) {
          return object == null ? [] : baseFunctions(object, keys(object));
        }
    
        /**
         * Creates an array of function property names from own and inherited
         * enumerable properties of `object`.
         *
         * @static
         * @memberOf _
         * @since 4.0.0
         * @category Object
         * @param {Object} object The object to inspect.
         * @returns {Array} Returns the function names.
         * @see _.functions
         * @example
         *
         * function Foo() {
         *   this.a = _.constant('a');
         *   this.b = _.constant('b');
         * }
         *
         * Foo.prototype.c = _.constant('c');
         *
         * _.functionsIn(new Foo);
         * // => ['a', 'b', 'c']
         */
        function functionsIn(object) {
          return object == null ? [] : baseFunctions(object, keysIn(object));
        }
    
        /**
         * Gets the value at `path` of `object`. If the resolved value is
         * `undefined`, the `defaultValue` is returned in its place.
         *
         * @static
         * @memberOf _
         * @since 3.7.0
         * @category Object
         * @param {Object} object The object to query.
         * @param {Array|string} path The path of the property to get.
         * @param {*} [defaultValue] The value returned for `undefined` resolved values.
         * @returns {*} Returns the resolved value.
         * @example
         *
         * var object = { 'a': [{ 'b': { 'c': 3 } }] };
         *
         * _.get(object, 'a[0].b.c');
         * // => 3
         *
         * _.get(object, ['a', '0', 'b', 'c']);
         * // => 3
         *
         * _.get(object, 'a.b.c', 'default');
         * // => 'default'
         */
        function get(object, path, defaultValue) {
          var result = object == null ? undefined : baseGet(object, path);
          return result === undefined ? defaultValue : result;
        }
    
        /**
         * Checks if `path` is a direct property of `object`.
         *
         * @static
         * @since 0.1.0
         * @memberOf _
         * @category Object
         * @param {Object} object The object to query.
         * @param {Array|string} path The path to check.
         * @returns {boolean} Returns `true` if `path` exists, else `false`.
         * @example
         *
         * var object = { 'a': { 'b': 2 } };
         * var other = _.create({ 'a': _.create({ 'b': 2 }) });
         *
         * _.has(object, 'a');
         * // => true
         *
         * _.has(object, 'a.b');
         * // => true
         *
         * _.has(object, ['a', 'b']);
         * // => true
         *
         * _.has(other, 'a');
         * // => false
         */
        function has(object, path) {
          return object != null && hasPath(object, path, baseHas);
        }
    
        /**
         * Checks if `path` is a direct or inherited property of `object`.
         *
         * @static
         * @memberOf _
         * @since 4.0.0
         * @category Object
         * @param {Object} object The object to query.
         * @param {Array|string} path The path to check.
         * @returns {boolean} Returns `true` if `path` exists, else `false`.
         * @example
         *
         * var object = _.create({ 'a': _.create({ 'b': 2 }) });
         *
         * _.hasIn(object, 'a');
         * // => true
         *
         * _.hasIn(object, 'a.b');
         * // => true
         *
         * _.hasIn(object, ['a', 'b']);
         * // => true
         *
         * _.hasIn(object, 'b');
         * // => false
         */
        function hasIn(object, path) {
          return object != null && hasPath(object, path, baseHasIn);
        }
    
        /**
         * Creates an object composed of the inverted keys and values of `object`.
         * If `object` contains duplicate values, subsequent values overwrite
         * property assignments of previous values.
         *
         * @static
         * @memberOf _
         * @since 0.7.0
         * @category Object
         * @param {Object} object The object to invert.
         * @returns {Object} Returns the new inverted object.
         * @example
         *
         * var object = { 'a': 1, 'b': 2, 'c': 1 };
         *
         * _.invert(object);
         * // => { '1': 'c', '2': 'b' }
         */
        var invert = createInverter(function(result, value, key) {
          if (value != null &&
              typeof value.toString != 'function') {
            value = nativeObjectToString.call(value);
          }
    
          result[value] = key;
        }, constant(identity));
    
        /**
         * This method is like `_.invert` except that the inverted object is generated
         * from the results of running each element of `object` thru `iteratee`. The
         * corresponding inverted value of each inverted key is an array of keys
         * responsible for generating the inverted value. The iteratee is invoked
         * with one argument: (value).
         *
         * @static
         * @memberOf _
         * @since 4.1.0
         * @category Object
         * @param {Object} object The object to invert.
         * @param {Function} [iteratee=_.identity] The iteratee invoked per element.
         * @returns {Object} Returns the new inverted object.
         * @example
         *
         * var object = { 'a': 1, 'b': 2, 'c': 1 };
         *
         * _.invertBy(object);
         * // => { '1': ['a', 'c'], '2': ['b'] }
         *
         * _.invertBy(object, function(value) {
         *   return 'group' + value;
         * });
         * // => { 'group1': ['a', 'c'], 'group2': ['b'] }
         */
        var invertBy = createInverter(function(result, value, key) {
          if (value != null &&
              typeof value.toString != 'function') {
            value = nativeObjectToString.call(value);
          }
    
          if (hasOwnProperty.call(result, value)) {
            result[value].push(key);
          } else {
            result[value] = [key];
          }
        }, getIteratee);
    
        /**
         * Invokes the method at `path` of `object`.
         *
         * @static
         * @memberOf _
         * @since 4.0.0
         * @category Object
         * @param {Object} object The object to query.
         * @param {Array|string} path The path of the method to invoke.
         * @param {...*} [args] The arguments to invoke the method with.
         * @returns {*} Returns the result of the invoked method.
         * @example
         *
         * var object = { 'a': [{ 'b': { 'c': [1, 2, 3, 4] } }] };
         *
         * _.invoke(object, 'a[0].b.c.slice', 1, 3);
         * // => [2, 3]
         */
        var invoke = baseRest(baseInvoke);
    
        /**
         * Creates an array of the own enumerable property names of `object`.
         *
         * **Note:** Non-object values are coerced to objects. See the
         * [ES spec](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)
         * for more details.
         *
         * @static
         * @since 0.1.0
         * @memberOf _
         * @category Object
         * @param {Object} object The object to query.
         * @returns {Array} Returns the array of property names.
         * @example
         *
         * function Foo() {
         *   this.a = 1;
         *   this.b = 2;
         * }
         *
         * Foo.prototype.c = 3;
         *
         * _.keys(new Foo);
         * // => ['a', 'b'] (iteration order is not guaranteed)
         *
         * _.keys('hi');
         * // => ['0', '1']
         */
        function keys(object) {
          return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object);
        }
    
        /**
         * Creates an array of the own and inherited enumerable property names of `object`.
         *
         * **Note:** Non-object values are coerced to objects.
         *
         * @static
         * @memberOf _
         * @since 3.0.0
         * @category Object
         * @param {Object} object The object to query.
         * @returns {Array} Returns the array of property names.
         * @example
         *
         * function Foo() {
         *   this.a = 1;
         *   this.b = 2;
         * }
         *
         * Foo.prototype.c = 3;
         *
         * _.keysIn(new Foo);
         * // => ['a', 'b', 'c'] (iteration order is not guaranteed)
         */
        function keysIn(object) {
          return isArrayLike(object) ? arrayLikeKeys(object, true) : baseKeysIn(object);
        }
    
        /**
         * The opposite of `_.mapValues`; this method creates an object with the
         * same values as `object` and keys generated by running each own enumerable
         * string keyed property of `object` thru `iteratee`. The iteratee is invoked
         * with three arguments: (value, key, object).
         *
         * @static
         * @memberOf _
         * @since 3.8.0
         * @category Object
         * @param {Object} object The object to iterate over.
         * @param {Function} [iteratee=_.identity] The function invoked per iteration.
         * @returns {Object} Returns the new mapped object.
         * @see _.mapValues
         * @example
         *
         * _.mapKeys({ 'a': 1, 'b': 2 }, function(value, key) {
         *   return key + value;
         * });
         * // => { 'a1': 1, 'b2': 2 }
         */
        function mapKeys(object, iteratee) {
          var result = {};
          iteratee = getIteratee(iteratee, 3);
    
          baseForOwn(object, function(value, key, object) {
            baseAssignValue(result, iteratee(value, key, object), value);
          });
          return result;
        }
    
        /**
         * Creates an object with the same keys as `object` and values generated
         * by running each own enumerable string keyed property of `object` thru
         * `iteratee`. The iteratee is invoked with three arguments:
         * (value, key, object).
         *
         * @static
         * @memberOf _
         * @since 2.4.0
         * @category Object
         * @param {Object} object The object to iterate over.
         * @param {Function} [iteratee=_.identity] The function invoked per iteration.
         * @returns {Object} Returns the new mapped object.
         * @see _.mapKeys
         * @example
         *
         * var users = {
         *   'fred':    { 'user': 'fred',    'age': 40 },
         *   'pebbles': { 'user': 'pebbles', 'age': 1 }
         * };
         *
         * _.mapValues(users, function(o) { return o.age; });
         * // => { 'fred': 40, 'pebbles': 1 } (iteration order is not guaranteed)
         *
         * // The `_.property` iteratee shorthand.
         * _.mapValues(users, 'age');
         * // => { 'fred': 40, 'pebbles': 1 } (iteration order is not guaranteed)
         */
        function mapValues(object, iteratee) {
          var result = {};
          iteratee = getIteratee(iteratee, 3);
    
          baseForOwn(object, function(value, key, object) {
            baseAssignValue(result, key, iteratee(value, key, object));
          });
          return result;
        }
    
        /**
         * This method is like `_.assign` except that it recursively merges own and
         * inherited enumerable string keyed properties of source objects into the
         * destination object. Source properties that resolve to `undefined` are
         * skipped if a destination value exists. Array and plain object properties
         * are merged recursively. Other objects and value types are overridden by
         * assignment. Source objects are applied from left to right. Subsequent
         * sources overwrite property assignments of previous sources.
         *
         * **Note:** This method mutates `object`.
         *
         * @static
         * @memberOf _
         * @since 0.5.0
         * @category Object
         * @param {Object} object The destination object.
         * @param {...Object} [sources] The source objects.
         * @returns {Object} Returns `object`.
         * @example
         *
         * var object = {
         *   'a': [{ 'b': 2 }, { 'd': 4 }]
         * };
         *
         * var other = {
         *   'a': [{ 'c': 3 }, { 'e': 5 }]
         * };
         *
         * _.merge(object, other);
         * // => { 'a': [{ 'b': 2, 'c': 3 }, { 'd': 4, 'e': 5 }] }
         */
        var merge = createAssigner(function(object, source, srcIndex) {
          baseMerge(object, source, srcIndex);
        });
    
        /**
         * This method is like `_.merge` except that it accepts `customizer` which
         * is invoked to produce the merged values of the destination and source
         * properties. If `customizer` returns `undefined`, merging is handled by the
         * method instead. The `customizer` is invoked with six arguments:
         * (objValue, srcValue, key, object, source, stack).
         *
         * **Note:** This method mutates `object`.
         *
         * @static
         * @memberOf _
         * @since 4.0.0
         * @category Object
         * @param {Object} object The destination object.
         * @param {...Object} sources The source objects.
         * @param {Function} customizer The function to customize assigned values.
         * @returns {Object} Returns `object`.
         * @example
         *
         * function customizer(objValue, srcValue) {
         *   if (_.isArray(objValue)) {
         *     return objValue.concat(srcValue);
         *   }
         * }
         *
         * var object = { 'a': [1], 'b': [2] };
         * var other = { 'a': [3], 'b': [4] };
         *
         * _.mergeWith(object, other, customizer);
         * // => { 'a': [1, 3], 'b': [2, 4] }
         */
        var mergeWith = createAssigner(function(object, source, srcIndex, customizer) {
          baseMerge(object, source, srcIndex, customizer);
        });
    
        /**
         * The opposite of `_.pick`; this method creates an object composed of the
         * own and inherited enumerable property paths of `object` that are not omitted.
         *
         * **Note:** This method is considerably slower than `_.pick`.
         *
         * @static
         * @since 0.1.0
         * @memberOf _
         * @category Object
         * @param {Object} object The source object.
         * @param {...(string|string[])} [paths] The property paths to omit.
         * @returns {Object} Returns the new object.
         * @example
         *
         * var object = { 'a': 1, 'b': '2', 'c': 3 };
         *
         * _.omit(object, ['a', 'c']);
         * // => { 'b': '2' }
         */
        var omit = flatRest(function(object, paths) {
          var result = {};
          if (object == null) {
            return result;
          }
          var isDeep = false;
          paths = arrayMap(paths, function(path) {
            path = castPath(path, object);
            isDeep || (isDeep = path.length > 1);
            return path;
          });
          copyObject(object, getAllKeysIn(object), result);
          if (isDeep) {
            result = baseClone(result, CLONE_DEEP_FLAG | CLONE_FLAT_FLAG | CLONE_SYMBOLS_FLAG, customOmitClone);
          }
          var length = paths.length;
          while (length--) {
            baseUnset(result, paths[length]);
          }
          return result;
        });
    
        /**
         * The opposite of `_.pickBy`; this method creates an object composed of
         * the own and inherited enumerable string keyed properties of `object` that
         * `predicate` doesn't return truthy for. The predicate is invoked with two
         * arguments: (value, key).
         *
         * @static
         * @memberOf _
         * @since 4.0.0
         * @category Object
         * @param {Object} object The source object.
         * @param {Function} [predicate=_.identity] The function invoked per property.
         * @returns {Object} Returns the new object.
         * @example
         *
         * var object = { 'a': 1, 'b': '2', 'c': 3 };
         *
         * _.omitBy(object, _.isNumber);
         * // => { 'b': '2' }
         */
        function omitBy(object, predicate) {
          return pickBy(object, negate(getIteratee(predicate)));
        }
    
        /**
         * Creates an object composed of the picked `object` properties.
         *
         * @static
         * @since 0.1.0
         * @memberOf _
         * @category Object
         * @param {Object} object The source object.
         * @param {...(string|string[])} [paths] The property paths to pick.
         * @returns {Object} Returns the new object.
         * @example
         *
         * var object = { 'a': 1, 'b': '2', 'c': 3 };
         *
         * _.pick(object, ['a', 'c']);
         * // => { 'a': 1, 'c': 3 }
         */
        var pick = flatRest(function(object, paths) {
          return object == null ? {} : basePick(object, paths);
        });
    
        /**
         * Creates an object composed of the `object` properties `predicate` returns
         * truthy for. The predicate is invoked with two arguments: (value, key).
         *
         * @static
         * @memberOf _
         * @since 4.0.0
         * @category Object
         * @param {Object} object The source object.
         * @param {Function} [predicate=_.identity] The function invoked per property.
         * @returns {Object} Returns the new object.
         * @example
         *
         * var object = { 'a': 1, 'b': '2', 'c': 3 };
         *
         * _.pickBy(object, _.isNumber);
         * // => { 'a': 1, 'c': 3 }
         */
        function pickBy(object, predicate) {
          if (object == null) {
            return {};
          }
          var props = arrayMap(getAllKeysIn(object), function(prop) {
            return [prop];
          });
          predicate = getIteratee(predicate);
          return basePickBy(object, props, function(value, path) {
            return predicate(value, path[0]);
          });
        }
    
        /**
         * This method is like `_.get` except that if the resolved value is a
         * function it's invoked with the `this` binding of its parent object and
         * its result is returned.
         *
         * @static
         * @since 0.1.0
         * @memberOf _
         * @category Object
         * @param {Object} object The object to query.
         * @param {Array|string} path The path of the property to resolve.
         * @param {*} [defaultValue] The value returned for `undefined` resolved values.
         * @returns {*} Returns the resolved value.
         * @example
         *
         * var object = { 'a': [{ 'b': { 'c1': 3, 'c2': _.constant(4) } }] };
         *
         * _.result(object, 'a[0].b.c1');
         * // => 3
         *
         * _.result(object, 'a[0].b.c2');
         * // => 4
         *
         * _.result(object, 'a[0].b.c3', 'default');
         * // => 'default'
         *
         * _.result(object, 'a[0].b.c3', _.constant('default'));
         * // => 'default'
         */
        function result(object, path, defaultValue) {
          path = castPath(path, object);
    
          var index = -1,
              length = path.length;
    
          // Ensure the loop is entered when path is empty.
          if (!length) {
            length = 1;
            object = undefined;
          }
          while (++index < length) {
            var value = object == null ? undefined : object[toKey(path[index])];
            if (value === undefined) {
              index = length;
              value = defaultValue;
            }
            object = isFunction(value) ? value.call(object) : value;
          }
          return object;
        }
    
        /**
         * Sets the value at `path` of `object`. If a portion of `path` doesn't exist,
         * it's created. Arrays are created for missing index properties while objects
         * are created for all other missing properties. Use `_.setWith` to customize
         * `path` creation.
         *
         * **Note:** This method mutates `object`.
         *
         * @static
         * @memberOf _
         * @since 3.7.0
         * @category Object
         * @param {Object} object The object to modify.
         * @param {Array|string} path The path of the property to set.
         * @param {*} value The value to set.
         * @returns {Object} Returns `object`.
         * @example
         *
         * var object = { 'a': [{ 'b': { 'c': 3 } }] };
         *
         * _.set(object, 'a[0].b.c', 4);
         * console.log(object.a[0].b.c);
         * // => 4
         *
         * _.set(object, ['x', '0', 'y', 'z'], 5);
         * console.log(object.x[0].y.z);
         * // => 5
         */
        function set(object, path, value) {
          return object == null ? object : baseSet(object, path, value);
        }
    
        /**
         * This method is like `_.set` except that it accepts `customizer` which is
         * invoked to produce the objects of `path`.  If `customizer` returns `undefined`
         * path creation is handled by the method instead. The `customizer` is invoked
         * with three arguments: (nsValue, key, nsObject).
         *
         * **Note:** This method mutates `object`.
         *
         * @static
         * @memberOf _
         * @since 4.0.0
         * @category Object
         * @param {Object} object The object to modify.
         * @param {Array|string} path The path of the property to set.
         * @param {*} value The value to set.
         * @param {Function} [customizer] The function to customize assigned values.
         * @returns {Object} Returns `object`.
         * @example
         *
         * var object = {};
         *
         * _.setWith(object, '[0][1]', 'a', Object);
         * // => { '0': { '1': 'a' } }
         */
        function setWith(object, path, value, customizer) {
          customizer = typeof customizer == 'function' ? customizer : undefined;
          return object == null ? object : baseSet(object, path, value, customizer);
        }
    
        /**
         * Creates an array of own enumerable string keyed-value pairs for `object`
         * which can be consumed by `_.fromPairs`. If `object` is a map or set, its
         * entries are returned.
         *
         * @static
         * @memberOf _
         * @since 4.0.0
         * @alias entries
         * @category Object
         * @param {Object} object The object to query.
         * @returns {Array} Returns the key-value pairs.
         * @example
         *
         * function Foo() {
         *   this.a = 1;
         *   this.b = 2;
         * }
         *
         * Foo.prototype.c = 3;
         *
         * _.toPairs(new Foo);
         * // => [['a', 1], ['b', 2]] (iteration order is not guaranteed)
         */
        var toPairs = createToPairs(keys);
    
        /**
         * Creates an array of own and inherited enumerable string keyed-value pairs
         * for `object` which can be consumed by `_.fromPairs`. If `object` is a map
         * or set, its entries are returned.
         *
         * @static
         * @memberOf _
         * @since 4.0.0
         * @alias entriesIn
         * @category Object
         * @param {Object} object The object to query.
         * @returns {Array} Returns the key-value pairs.
         * @example
         *
         * function Foo() {
         *   this.a = 1;
         *   this.b = 2;
         * }
         *
         * Foo.prototype.c = 3;
         *
         * _.toPairsIn(new Foo);
         * // => [['a', 1], ['b', 2], ['c', 3]] (iteration order is not guaranteed)
         */
        var toPairsIn = createToPairs(keysIn);
    
        /**
         * An alternative to `_.reduce`; this method transforms `object` to a new
         * `accumulator` object which is the result of running each of its own
         * enumerable string keyed properties thru `iteratee`, with each invocation
         * potentially mutating the `accumulator` object. If `accumulator` is not
         * provided, a new object with the same `[[Prototype]]` will be used. The
         * iteratee is invoked with four arguments: (accumulator, value, key, object).
         * Iteratee functions may exit iteration early by explicitly returning `false`.
         *
         * @static
         * @memberOf _
         * @since 1.3.0
         * @category Object
         * @param {Object} object The object to iterate over.
         * @param {Function} [iteratee=_.identity] The function invoked per iteration.
         * @param {*} [accumulator] The custom accumulator value.
         * @returns {*} Returns the accumulated value.
         * @example
         *
         * _.transform([2, 3, 4], function(result, n) {
         *   result.push(n *= n);
         *   return n % 2 == 0;
         * }, []);
         * // => [4, 9]
         *
         * _.transform({ 'a': 1, 'b': 2, 'c': 1 }, function(result, value, key) {
         *   (result[value] || (result[value] = [])).push(key);
         * }, {});
         * // => { '1': ['a', 'c'], '2': ['b'] }
         */
        function transform(object, iteratee, accumulator) {
          var isArr = isArray(object),
              isArrLike = isArr || isBuffer(object) || isTypedArray(object);
    
          iteratee = getIteratee(iteratee, 4);
          if (accumulator == null) {
            var Ctor = object && object.constructor;
            if (isArrLike) {
              accumulator = isArr ? new Ctor : [];
            }
            else if (isObject(object)) {
              accumulator = isFunction(Ctor) ? baseCreate(getPrototype(object)) : {};
            }
            else {
              accumulator = {};
            }
          }
          (isArrLike ? arrayEach : baseForOwn)(object, function(value, index, object) {
            return iteratee(accumulator, value, index, object);
          });
          return accumulator;
        }
    
        /**
         * Removes the property at `path` of `object`.
         *
         * **Note:** This method mutates `object`.
         *
         * @static
         * @memberOf _
         * @since 4.0.0
         * @category Object
         * @param {Object} object The object to modify.
         * @param {Array|string} path The path of the property to unset.
         * @returns {boolean} Returns `true` if the property is deleted, else `false`.
         * @example
         *
         * var object = { 'a': [{ 'b': { 'c': 7 } }] };
         * _.unset(object, 'a[0].b.c');
         * // => true
         *
         * console.log(object);
         * // => { 'a': [{ 'b': {} }] };
         *
         * _.unset(object, ['a', '0', 'b', 'c']);
         * // => true
         *
         * console.log(object);
         * // => { 'a': [{ 'b': {} }] };
         */
        function unset(object, path) {
          return object == null ? true : baseUnset(object, path);
        }
    
        /**
         * This method is like `_.set` except that accepts `updater` to produce the
         * value to set. Use `_.updateWith` to customize `path` creation. The `updater`
         * is invoked with one argument: (value).
         *
         * **Note:** This method mutates `object`.
         *
         * @static
         * @memberOf _
         * @since 4.6.0
         * @category Object
         * @param {Object} object The object to modify.
         * @param {Array|string} path The path of the property to set.
         * @param {Function} updater The function to produce the updated value.
         * @returns {Object} Returns `object`.
         * @example
         *
         * var object = { 'a': [{ 'b': { 'c': 3 } }] };
         *
         * _.update(object, 'a[0].b.c', function(n) { return n * n; });
         * console.log(object.a[0].b.c);
         * // => 9
         *
         * _.update(object, 'x[0].y.z', function(n) { return n ? n + 1 : 0; });
         * console.log(object.x[0].y.z);
         * // => 0
         */
        function update(object, path, updater) {
          return object == null ? object : baseUpdate(object, path, castFunction(updater));
        }
    
        /**
         * This method is like `_.update` except that it accepts `customizer` which is
         * invoked to produce the objects of `path`.  If `customizer` returns `undefined`
         * path creation is handled by the method instead. The `customizer` is invoked
         * with three arguments: (nsValue, key, nsObject).
         *
         * **Note:** This method mutates `object`.
         *
         * @static
         * @memberOf _
         * @since 4.6.0
         * @category Object
         * @param {Object} object The object to modify.
         * @param {Array|string} path The path of the property to set.
         * @param {Function} updater The function to produce the updated value.
         * @param {Function} [customizer] The function to customize assigned values.
         * @returns {Object} Returns `object`.
         * @example
         *
         * var object = {};
         *
         * _.updateWith(object, '[0][1]', _.constant('a'), Object);
         * // => { '0': { '1': 'a' } }
         */
        function updateWith(object, path, updater, customizer) {
          customizer = typeof customizer == 'function' ? customizer : undefined;
          return object == null ? object : baseUpdate(object, path, castFunction(updater), customizer);
        }
    
        /**
         * Creates an array of the own enumerable string keyed property values of `object`.
         *
         * **Note:** Non-object values are coerced to objects.
         *
         * @static
         * @since 0.1.0
         * @memberOf _
         * @category Object
         * @param {Object} object The object to query.
         * @returns {Array} Returns the array of property values.
         * @example
         *
         * function Foo() {
         *   this.a = 1;
         *   this.b = 2;
         * }
         *
         * Foo.prototype.c = 3;
         *
         * _.values(new Foo);
         * // => [1, 2] (iteration order is not guaranteed)
         *
         * _.values('hi');
         * // => ['h', 'i']
         */
        function values(object) {
          return object == null ? [] : baseValues(object, keys(object));
        }
    
        /**
         * Creates an array of the own and inherited enumerable string keyed property
         * values of `object`.
         *
         * **Note:** Non-object values are coerced to objects.
         *
         * @static
         * @memberOf _
         * @since 3.0.0
         * @category Object
         * @param {Object} object The object to query.
         * @returns {Array} Returns the array of property values.
         * @example
         *
         * function Foo() {
         *   this.a = 1;
         *   this.b = 2;
         * }
         *
         * Foo.prototype.c = 3;
         *
         * _.valuesIn(new Foo);
         * // => [1, 2, 3] (iteration order is not guaranteed)
         */
        function valuesIn(object) {
          return object == null ? [] : baseValues(object, keysIn(object));
        }
    
        /*------------------------------------------------------------------------*/
    
        /**
         * Clamps `number` within the inclusive `lower` and `upper` bounds.
         *
         * @static
         * @memberOf _
         * @since 4.0.0
         * @category Number
         * @param {number} number The number to clamp.
         * @param {number} [lower] The lower bound.
         * @param {number} upper The upper bound.
         * @returns {number} Returns the clamped number.
         * @example
         *
         * _.clamp(-10, -5, 5);
         * // => -5
         *
         * _.clamp(10, -5, 5);
         * // => 5
         */
        function clamp(number, lower, upper) {
          if (upper === undefined) {
            upper = lower;
            lower = undefined;
          }
          if (upper !== undefined) {
            upper = toNumber(upper);
            upper = upper === upper ? upper : 0;
          }
          if (lower !== undefined) {
            lower = toNumber(lower);
            lower = lower === lower ? lower : 0;
          }
          return baseClamp(toNumber(number), lower, upper);
        }
    
        /**
         * Checks if `n` is between `start` and up to, but not including, `end`. If
         * `end` is not specified, it's set to `start` with `start` then set to `0`.
         * If `start` is greater than `end` the params are swapped to support
         * negative ranges.
         *
         * @static
         * @memberOf _
         * @since 3.3.0
         * @category Number
         * @param {number} number The number to check.
         * @param {number} [start=0] The start of the range.
         * @param {number} end The end of the range.
         * @returns {boolean} Returns `true` if `number` is in the range, else `false`.
         * @see _.range, _.rangeRight
         * @example
         *
         * _.inRange(3, 2, 4);
         * // => true
         *
         * _.inRange(4, 8);
         * // => true
         *
         * _.inRange(4, 2);
         * // => false
         *
         * _.inRange(2, 2);
         * // => false
         *
         * _.inRange(1.2, 2);
         * // => true
         *
         * _.inRange(5.2, 4);
         * // => false
         *
         * _.inRange(-3, -2, -6);
         * // => true
         */
        function inRange(number, start, end) {
          start = toFinite(start);
          if (end === undefined) {
            end = start;
            start = 0;
          } else {
            end = toFinite(end);
          }
          number = toNumber(number);
          return baseInRange(number, start, end);
        }
    
        /**
         * Produces a random number between the inclusive `lower` and `upper` bounds.
         * If only one argument is provided a number between `0` and the given number
         * is returned. If `floating` is `true`, or either `lower` or `upper` are
         * floats, a floating-point number is returned instead of an integer.
         *
         * **Note:** JavaScript follows the IEEE-754 standard for resolving
         * floating-point values which can produce unexpected results.
         *
         * @static
         * @memberOf _
         * @since 0.7.0
         * @category Number
         * @param {number} [lower=0] The lower bound.
         * @param {number} [upper=1] The upper bound.
         * @param {boolean} [floating] Specify returning a floating-point number.
         * @returns {number} Returns the random number.
         * @example
         *
         * _.random(0, 5);
         * // => an integer between 0 and 5
         *
         * _.random(5);
         * // => also an integer between 0 and 5
         *
         * _.random(5, true);
         * // => a floating-point number between 0 and 5
         *
         * _.random(1.2, 5.2);
         * // => a floating-point number between 1.2 and 5.2
         */
        function random(lower, upper, floating) {
          if (floating && typeof floating != 'boolean' && isIterateeCall(lower, upper, floating)) {
            upper = floating = undefined;
          }
          if (floating === undefined) {
            if (typeof upper == 'boolean') {
              floating = upper;
              upper = undefined;
            }
            else if (typeof lower == 'boolean') {
              floating = lower;
              lower = undefined;
            }
          }
          if (lower === undefined && upper === undefined) {
            lower = 0;
            upper = 1;
          }
          else {
            lower = toFinite(lower);
            if (upper === undefined) {
              upper = lower;
              lower = 0;
            } else {
              upper = toFinite(upper);
            }
          }
          if (lower > upper) {
            var temp = lower;
            lower = upper;
            upper = temp;
          }
          if (floating || lower % 1 || upper % 1) {
            var rand = nativeRandom();
            return nativeMin(lower + (rand * (upper - lower + freeParseFloat('1e-' + ((rand + '').length - 1)))), upper);
          }
          return baseRandom(lower, upper);
        }
    
        /*------------------------------------------------------------------------*/
    
        /**
         * Converts `string` to [camel case](https://en.wikipedia.org/wiki/CamelCase).
         *
         * @static
         * @memberOf _
         * @since 3.0.0
         * @category String
         * @param {string} [string=''] The string to convert.
         * @returns {string} Returns the camel cased string.
         * @example
         *
         * _.camelCase('Foo Bar');
         * // => 'fooBar'
         *
         * _.camelCase('--foo-bar--');
         * // => 'fooBar'
         *
         * _.camelCase('__FOO_BAR__');
         * // => 'fooBar'
         */
        var camelCase = createCompounder(function(result, word, index) {
          word = word.toLowerCase();
          return result + (index ? capitalize(word) : word);
        });
    
        /**
         * Converts the first character of `string` to upper case and the remaining
         * to lower case.
         *
         * @static
         * @memberOf _
         * @since 3.0.0
         * @category String
         * @param {string} [string=''] The string to capitalize.
         * @returns {string} Returns the capitalized string.
         * @example
         *
         * _.capitalize('FRED');
         * // => 'Fred'
         */
        function capitalize(string) {
          return upperFirst(toString(string).toLowerCase());
        }
    
        /**
         * Deburrs `string` by converting
         * [Latin-1 Supplement](https://en.wikipedia.org/wiki/Latin-1_Supplement_(Unicode_block)#Character_table)
         * and [Latin Extended-A](https://en.wikipedia.org/wiki/Latin_Extended-A)
         * letters to basic Latin letters and removing
         * [combining diacritical marks](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks).
         *
         * @static
         * @memberOf _
         * @since 3.0.0
         * @category String
         * @param {string} [string=''] The string to deburr.
         * @returns {string} Returns the deburred string.
         * @example
         *
         * _.deburr('déjà vu');
         * // => 'deja vu'
         */
        function deburr(string) {
          string = toString(string);
          return string && string.replace(reLatin, deburrLetter).replace(reComboMark, '');
        }
    
        /**
         * Checks if `string` ends with the given target string.
         *
         * @static
         * @memberOf _
         * @since 3.0.0
         * @category String
         * @param {string} [string=''] The string to inspect.
         * @param {string} [target] The string to search for.
         * @param {number} [position=string.length] The position to search up to.
         * @returns {boolean} Returns `true` if `string` ends with `target`,
         *  else `false`.
         * @example
         *
         * _.endsWith('abc', 'c');
         * // => true
         *
         * _.endsWith('abc', 'b');
         * // => false
         *
         * _.endsWith('abc', 'b', 2);
         * // => true
         */
        function endsWith(string, target, position) {
          string = toString(string);
          target = baseToString(target);
    
          var length = string.length;
          position = position === undefined
            ? length
            : baseClamp(toInteger(position), 0, length);
    
          var end = position;
          position -= target.length;
          return position >= 0 && string.slice(position, end) == target;
        }
    
        /**
         * Converts the characters "&", "<", ">", '"', and "'" in `string` to their
         * corresponding HTML entities.
         *
         * **Note:** No other characters are escaped. To escape additional
         * characters use a third-party library like [_he_](https://mths.be/he).
         *
         * Though the ">" character is escaped for symmetry, characters like
         * ">" and "/" don't need escaping in HTML and have no special meaning
         * unless they're part of a tag or unquoted attribute value. See
         * [Mathias Bynens's article](https://mathiasbynens.be/notes/ambiguous-ampersands)
         * (under "semi-related fun fact") for more details.
         *
         * When working with HTML you should always
         * [quote attribute values](http://wonko.com/post/html-escaping) to reduce
         * XSS vectors.
         *
         * @static
         * @since 0.1.0
         * @memberOf _
         * @category String
         * @param {string} [string=''] The string to escape.
         * @returns {string} Returns the escaped string.
         * @example
         *
         * _.escape('fred, barney, & pebbles');
         * // => 'fred, barney, &amp; pebbles'
         */
        function escape(string) {
          string = toString(string);
          return (string && reHasUnescapedHtml.test(string))
            ? string.replace(reUnescapedHtml, escapeHtmlChar)
            : string;
        }
    
        /**
         * Escapes the `RegExp` special characters "^", "$", "\", ".", "*", "+",
         * "?", "(", ")", "[", "]", "{", "}", and "|" in `string`.
         *
         * @static
         * @memberOf _
         * @since 3.0.0
         * @category String
         * @param {string} [string=''] The string to escape.
         * @returns {string} Returns the escaped string.
         * @example
         *
         * _.escapeRegExp('[lodash](https://lodash.com/)');
         * // => '\[lodash\]\(https://lodash\.com/\)'
         */
        function escapeRegExp(string) {
          string = toString(string);
          return (string && reHasRegExpChar.test(string))
            ? string.replace(reRegExpChar, '\\$&')
            : string;
        }
    
        /**
         * Converts `string` to
         * [kebab case](https://en.wikipedia.org/wiki/Letter_case#Special_case_styles).
         *
         * @static
         * @memberOf _
         * @since 3.0.0
         * @category String
         * @param {string} [string=''] The string to convert.
         * @returns {string} Returns the kebab cased string.
         * @example
         *
         * _.kebabCase('Foo Bar');
         * // => 'foo-bar'
         *
         * _.kebabCase('fooBar');
         * // => 'foo-bar'
         *
         * _.kebabCase('__FOO_BAR__');
         * // => 'foo-bar'
         */
        var kebabCase = createCompounder(function(result, word, index) {
          return result + (index ? '-' : '') + word.toLowerCase();
        });
    
        /**
         * Converts `string`, as space separated words, to lower case.
         *
         * @static
         * @memberOf _
         * @since 4.0.0
         * @category String
         * @param {string} [string=''] The string to convert.
         * @returns {string} Returns the lower cased string.
         * @example
         *
         * _.lowerCase('--Foo-Bar--');
         * // => 'foo bar'
         *
         * _.lowerCase('fooBar');
         * // => 'foo bar'
         *
         * _.lowerCase('__FOO_BAR__');
         * // => 'foo bar'
         */
        var lowerCase = createCompounder(function(result, word, index) {
          return result + (index ? ' ' : '') + word.toLowerCase();
        });
    
        /**
         * Converts the first character of `string` to lower case.
         *
         * @static
         * @memberOf _
         * @since 4.0.0
         * @category String
         * @param {string} [string=''] The string to convert.
         * @returns {string} Returns the converted string.
         * @example
         *
         * _.lowerFirst('Fred');
         * // => 'fred'
         *
         * _.lowerFirst('FRED');
         * // => 'fRED'
         */
        var lowerFirst = createCaseFirst('toLowerCase');
    
        /**
         * Pads `string` on the left and right sides if it's shorter than `length`.
         * Padding characters are truncated if they can't be evenly divided by `length`.
         *
         * @static
         * @memberOf _
         * @since 3.0.0
         * @category String
         * @param {string} [string=''] The string to pad.
         * @param {number} [length=0] The padding length.
         * @param {string} [chars=' '] The string used as padding.
         * @returns {string} Returns the padded string.
         * @example
         *
         * _.pad('abc', 8);
         * // => '  abc   '
         *
         * _.pad('abc', 8, '_-');
         * // => '_-abc_-_'
         *
         * _.pad('abc', 3);
         * // => 'abc'
         */
        function pad(string, length, chars) {
          string = toString(string);
          length = toInteger(length);
    
          var strLength = length ? stringSize(string) : 0;
          if (!length || strLength >= length) {
            return string;
          }
          var mid = (length - strLength) / 2;
          return (
            createPadding(nativeFloor(mid), chars) +
            string +
            createPadding(nativeCeil(mid), chars)
          );
        }
    
        /**
         * Pads `string` on the right side if it's shorter than `length`. Padding
         * characters are truncated if they exceed `length`.
         *
         * @static
         * @memberOf _
         * @since 4.0.0
         * @category String
         * @param {string} [string=''] The string to pad.
         * @param {number} [length=0] The padding length.
         * @param {string} [chars=' '] The string used as padding.
         * @returns {string} Returns the padded string.
         * @example
         *
         * _.padEnd('abc', 6);
         * // => 'abc   '
         *
         * _.padEnd('abc', 6, '_-');
         * // => 'abc_-_'
         *
         * _.padEnd('abc', 3);
         * // => 'abc'
         */
        function padEnd(string, length, chars) {
          string = toString(string);
          length = toInteger(length);
    
          var strLength = length ? stringSize(string) : 0;
          return (length && strLength < length)
            ? (string + createPadding(length - strLength, chars))
            : string;
        }
    
        /**
         * Pads `string` on the left side if it's shorter than `length`. Padding
         * characters are truncated if they exceed `length`.
         *
         * @static
         * @memberOf _
         * @since 4.0.0
         * @category String
         * @param {string} [string=''] The string to pad.
         * @param {number} [length=0] The padding length.
         * @param {string} [chars=' '] The string used as padding.
         * @returns {string} Returns the padded string.
         * @example
         *
         * _.padStart('abc', 6);
         * // => '   abc'
         *
         * _.padStart('abc', 6, '_-');
         * // => '_-_abc'
         *
         * _.padStart('abc', 3);
         * // => 'abc'
         */
        function padStart(string, length, chars) {
          string = toString(string);
          length = toInteger(length);
    
          var strLength = length ? stringSize(string) : 0;
          return (length && strLength < length)
            ? (createPadding(length - strLength, chars) + string)
            : string;
        }
    
        /**
         * Converts `string` to an integer of the specified radix. If `radix` is
         * `undefined` or `0`, a `radix` of `10` is used unless `value` is a
         * hexadecimal, in which case a `radix` of `16` is used.
         *
         * **Note:** This method aligns with the
         * [ES5 implementation](https://es5.github.io/#x15.1.2.2) of `parseInt`.
         *
         * @static
         * @memberOf _
         * @since 1.1.0
         * @category String
         * @param {string} string The string to convert.
         * @param {number} [radix=10] The radix to interpret `value` by.
         * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.
         * @returns {number} Returns the converted integer.
         * @example
         *
         * _.parseInt('08');
         * // => 8
         *
         * _.map(['6', '08', '10'], _.parseInt);
         * // => [6, 8, 10]
         */
        function parseInt(string, radix, guard) {
          if (guard || radix == null) {
            radix = 0;
          } else if (radix) {
            radix = +radix;
          }
          return nativeParseInt(toString(string).replace(reTrimStart, ''), radix || 0);
        }
    
        /**
         * Repeats the given string `n` times.
         *
         * @static
         * @memberOf _
         * @since 3.0.0
         * @category String
         * @param {string} [string=''] The string to repeat.
         * @param {number} [n=1] The number of times to repeat the string.
         * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.
         * @returns {string} Returns the repeated string.
         * @example
         *
         * _.repeat('*', 3);
         * // => '***'
         *
         * _.repeat('abc', 2);
         * // => 'abcabc'
         *
         * _.repeat('abc', 0);
         * // => ''
         */
        function repeat(string, n, guard) {
          if ((guard ? isIterateeCall(string, n, guard) : n === undefined)) {
            n = 1;
          } else {
            n = toInteger(n);
          }
          return baseRepeat(toString(string), n);
        }
    
        /**
         * Replaces matches for `pattern` in `string` with `replacement`.
         *
         * **Note:** This method is based on
         * [`String#replace`](https://mdn.io/String/replace).
         *
         * @static
         * @memberOf _
         * @since 4.0.0
         * @category String
         * @param {string} [string=''] The string to modify.
         * @param {RegExp|string} pattern The pattern to replace.
         * @param {Function|string} replacement The match replacement.
         * @returns {string} Returns the modified string.
         * @example
         *
         * _.replace('Hi Fred', 'Fred', 'Barney');
         * // => 'Hi Barney'
         */
        function replace() {
          var args = arguments,
              string = toString(args[0]);
    
          return args.length < 3 ? string : string.replace(args[1], args[2]);
        }
    
        /**
         * Converts `string` to
         * [snake case](https://en.wikipedia.org/wiki/Snake_case).
         *
         * @static
         * @memberOf _
         * @since 3.0.0
         * @category String
         * @param {string} [string=''] The string to convert.
         * @returns {string} Returns the snake cased string.
         * @example
         *
         * _.snakeCase('Foo Bar');
         * // => 'foo_bar'
         *
         * _.snakeCase('fooBar');
         * // => 'foo_bar'
         *
         * _.snakeCase('--FOO-BAR--');
         * // => 'foo_bar'
         */
        var snakeCase = createCompounder(function(result, word, index) {
          return result + (index ? '_' : '') + word.toLowerCase();
        });
    
        /**
         * Splits `string` by `separator`.
         *
         * **Note:** This method is based on
         * [`String#split`](https://mdn.io/String/split).
         *
         * @static
         * @memberOf _
         * @since 4.0.0
         * @category String
         * @param {string} [string=''] The string to split.
         * @param {RegExp|string} separator The separator pattern to split by.
         * @param {number} [limit] The length to truncate results to.
         * @returns {Array} Returns the string segments.
         * @example
         *
         * _.split('a-b-c', '-', 2);
         * // => ['a', 'b']
         */
        function split(string, separator, limit) {
          if (limit && typeof limit != 'number' && isIterateeCall(string, separator, limit)) {
            separator = limit = undefined;
          }
          limit = limit === undefined ? MAX_ARRAY_LENGTH : limit >>> 0;
          if (!limit) {
            return [];
          }
          string = toString(string);
          if (string && (
                typeof separator == 'string' ||
                (separator != null && !isRegExp(separator))
              )) {
            separator = baseToString(separator);
            if (!separator && hasUnicode(string)) {
              return castSlice(stringToArray(string), 0, limit);
            }
          }
          return string.split(separator, limit);
        }
    
        /**
         * Converts `string` to
         * [start case](https://en.wikipedia.org/wiki/Letter_case#Stylistic_or_specialised_usage).
         *
         * @static
         * @memberOf _
         * @since 3.1.0
         * @category String
         * @param {string} [string=''] The string to convert.
         * @returns {string} Returns the start cased string.
         * @example
         *
         * _.startCase('--foo-bar--');
         * // => 'Foo Bar'
         *
         * _.startCase('fooBar');
         * // => 'Foo Bar'
         *
         * _.startCase('__FOO_BAR__');
         * // => 'FOO BAR'
         */
        var startCase = createCompounder(function(result, word, index) {
          return result + (index ? ' ' : '') + upperFirst(word);
        });
    
        /**
         * Checks if `string` starts with the given target string.
         *
         * @static
         * @memberOf _
         * @since 3.0.0
         * @category String
         * @param {string} [string=''] The string to inspect.
         * @param {string} [target] The string to search for.
         * @param {number} [position=0] The position to search from.
         * @returns {boolean} Returns `true` if `string` starts with `target`,
         *  else `false`.
         * @example
         *
         * _.startsWith('abc', 'a');
         * // => true
         *
         * _.startsWith('abc', 'b');
         * // => false
         *
         * _.startsWith('abc', 'b', 1);
         * // => true
         */
        function startsWith(string, target, position) {
          string = toString(string);
          position = position == null
            ? 0
            : baseClamp(toInteger(position), 0, string.length);
    
          target = baseToString(target);
          return string.slice(position, position + target.length) == target;
        }
    
        /**
         * Creates a compiled template function that can interpolate data properties
         * in "interpolate" delimiters, HTML-escape interpolated data properties in
         * "escape" delimiters, and execute JavaScript in "evaluate" delimiters. Data
         * properties may be accessed as free variables in the template. If a setting
         * object is given, it takes precedence over `_.templateSettings` values.
         *
         * **Note:** In the development build `_.template` utilizes
         * [sourceURLs](http://www.html5rocks.com/en/tutorials/developertools/sourcemaps/#toc-sourceurl)
         * for easier debugging.
         *
         * For more information on precompiling templates see
         * [lodash's custom builds documentation](https://lodash.com/custom-builds).
         *
         * For more information on Chrome extension sandboxes see
         * [Chrome's extensions documentation](https://developer.chrome.com/extensions/sandboxingEval).
         *
         * @static
         * @since 0.1.0
         * @memberOf _
         * @category String
         * @param {string} [string=''] The template string.
         * @param {Object} [options={}] The options object.
         * @param {RegExp} [options.escape=_.templateSettings.escape]
         *  The HTML "escape" delimiter.
         * @param {RegExp} [options.evaluate=_.templateSettings.evaluate]
         *  The "evaluate" delimiter.
         * @param {Object} [options.imports=_.templateSettings.imports]
         *  An object to import into the template as free variables.
         * @param {RegExp} [options.interpolate=_.templateSettings.interpolate]
         *  The "interpolate" delimiter.
         * @param {string} [options.sourceURL='lodash.templateSources[n]']
         *  The sourceURL of the compiled template.
         * @param {string} [options.variable='obj']
         *  The data object variable name.
         * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.
         * @returns {Function} Returns the compiled template function.
         * @example
         *
         * // Use the "interpolate" delimiter to create a compiled template.
         * var compiled = _.template('hello <%= user %>!');
         * compiled({ 'user': 'fred' });
         * // => 'hello fred!'
         *
         * // Use the HTML "escape" delimiter to escape data property values.
         * var compiled = _.template('<b><%- value %></b>');
         * compiled({ 'value': '<script>' });
         * // => '<b>&lt;script&gt;</b>'
         *
         * // Use the "evaluate" delimiter to execute JavaScript and generate HTML.
         * var compiled = _.template('<% _.forEach(users, function(user) { %><li><%- user %></li><% }); %>');
         * compiled({ 'users': ['fred', 'barney'] });
         * // => '<li>fred</li><li>barney</li>'
         *
         * // Use the internal `print` function in "evaluate" delimiters.
         * var compiled = _.template('<% print("hello " + user); %>!');
         * compiled({ 'user': 'barney' });
         * // => 'hello barney!'
         *
         * // Use the ES template literal delimiter as an "interpolate" delimiter.
         * // Disable support by replacing the "interpolate" delimiter.
         * var compiled = _.template('hello ${ user }!');
         * compiled({ 'user': 'pebbles' });
         * // => 'hello pebbles!'
         *
         * // Use backslashes to treat delimiters as plain text.
         * var compiled = _.template('<%= "\\<%- value %\\>" %>');
         * compiled({ 'value': 'ignored' });
         * // => '<%- value %>'
         *
         * // Use the `imports` option to import `jQuery` as `jq`.
         * var text = '<% jq.each(users, function(user) { %><li><%- user %></li><% }); %>';
         * var compiled = _.template(text, { 'imports': { 'jq': jQuery } });
         * compiled({ 'users': ['fred', 'barney'] });
         * // => '<li>fred</li><li>barney</li>'
         *
         * // Use the `sourceURL` option to specify a custom sourceURL for the template.
         * var compiled = _.template('hello <%= user %>!', { 'sourceURL': '/basic/greeting.jst' });
         * compiled(data);
         * // => Find the source of "greeting.jst" under the Sources tab or Resources panel of the web inspector.
         *
         * // Use the `variable` option to ensure a with-statement isn't used in the compiled template.
         * var compiled = _.template('hi <%= data.user %>!', { 'variable': 'data' });
         * compiled.source;
         * // => function(data) {
         * //   var __t, __p = '';
         * //   __p += 'hi ' + ((__t = ( data.user )) == null ? '' : __t) + '!';
         * //   return __p;
         * // }
         *
         * // Use custom template delimiters.
         * _.templateSettings.interpolate = /{{([\s\S]+?)}}/g;
         * var compiled = _.template('hello {{ user }}!');
         * compiled({ 'user': 'mustache' });
         * // => 'hello mustache!'
         *
         * // Use the `source` property to inline compiled templates for meaningful
         * // line numbers in error messages and stack traces.
         * fs.writeFileSync(path.join(process.cwd(), 'jst.js'), '\
         *   var JST = {\
         *     "main": ' + _.template(mainText).source + '\
         *   };\
         * ');
         */
        function template(string, options, guard) {
          // Based on John Resig's `tmpl` implementation
          // (http://ejohn.org/blog/javascript-micro-templating/)
          // and Laura Doktorova's doT.js (https://github.com/olado/doT).
          var settings = lodash.templateSettings;
    
          if (guard && isIterateeCall(string, options, guard)) {
            options = undefined;
          }
          string = toString(string);
          options = assignInWith({}, options, settings, customDefaultsAssignIn);
    
          var imports = assignInWith({}, options.imports, settings.imports, customDefaultsAssignIn),
              importsKeys = keys(imports),
              importsValues = baseValues(imports, importsKeys);
    
          var isEscaping,
              isEvaluating,
              index = 0,
              interpolate = options.interpolate || reNoMatch,
              source = "__p += '";
    
          // Compile the regexp to match each delimiter.
          var reDelimiters = RegExp(
            (options.escape || reNoMatch).source + '|' +
            interpolate.source + '|' +
            (interpolate === reInterpolate ? reEsTemplate : reNoMatch).source + '|' +
            (options.evaluate || reNoMatch).source + '|$'
          , 'g');
    
          // Use a sourceURL for easier debugging.
          // The sourceURL gets injected into the source that's eval-ed, so be careful
          // to normalize all kinds of whitespace, so e.g. newlines (and unicode versions of it) can't sneak in
          // and escape the comment, thus injecting code that gets evaled.
          var sourceURL = '//# sourceURL=' +
            (hasOwnProperty.call(options, 'sourceURL')
              ? (options.sourceURL + '').replace(/\s/g, ' ')
              : ('lodash.templateSources[' + (++templateCounter) + ']')
            ) + '\n';
    
          string.replace(reDelimiters, function(match, escapeValue, interpolateValue, esTemplateValue, evaluateValue, offset) {
            interpolateValue || (interpolateValue = esTemplateValue);
    
            // Escape characters that can't be included in string literals.
            source += string.slice(index, offset).replace(reUnescapedString, escapeStringChar);
    
            // Replace delimiters with snippets.
            if (escapeValue) {
              isEscaping = true;
              source += "' +\n__e(" + escapeValue + ") +\n'";
            }
            if (evaluateValue) {
              isEvaluating = true;
              source += "';\n" + evaluateValue + ";\n__p += '";
            }
            if (interpolateValue) {
              source += "' +\n((__t = (" + interpolateValue + ")) == null ? '' : __t) +\n'";
            }
            index = offset + match.length;
    
            // The JS engine embedded in Adobe products needs `match` returned in
            // order to produce the correct `offset` value.
            return match;
          });
    
          source += "';\n";
    
          // If `variable` is not specified wrap a with-statement around the generated
          // code to add the data object to the top of the scope chain.
          var variable = hasOwnProperty.call(options, 'variable') && options.variable;
          if (!variable) {
            source = 'with (obj) {\n' + source + '\n}\n';
          }
          // Throw an error if a forbidden character was found in `variable`, to prevent
          // potential command injection attacks.
          else if (reForbiddenIdentifierChars.test(variable)) {
            throw new Error(INVALID_TEMPL_VAR_ERROR_TEXT);
          }
    
          // Cleanup code by stripping empty strings.
          source = (isEvaluating ? source.replace(reEmptyStringLeading, '') : source)
            .replace(reEmptyStringMiddle, '$1')
            .replace(reEmptyStringTrailing, '$1;');
    
          // Frame code as the function body.
          source = 'function(' + (variable || 'obj') + ') {\n' +
            (variable
              ? ''
              : 'obj || (obj = {});\n'
            ) +
            "var __t, __p = ''" +
            (isEscaping
               ? ', __e = _.escape'
               : ''
            ) +
            (isEvaluating
              ? ', __j = Array.prototype.join;\n' +
                "function print() { __p += __j.call(arguments, '') }\n"
              : ';\n'
            ) +
            source +
            'return __p\n}';
    
          var result = attempt(function() {
            return Function(importsKeys, sourceURL + 'return ' + source)
              .apply(undefined, importsValues);
          });
    
          // Provide the compiled function's source by its `toString` method or
          // the `source` property as a convenience for inlining compiled templates.
          result.source = source;
          if (isError(result)) {
            throw result;
          }
          return result;
        }
    
        /**
         * Converts `string`, as a whole, to lower case just like
         * [String#toLowerCase](https://mdn.io/toLowerCase).
         *
         * @static
         * @memberOf _
         * @since 4.0.0
         * @category String
         * @param {string} [string=''] The string to convert.
         * @returns {string} Returns the lower cased string.
         * @example
         *
         * _.toLower('--Foo-Bar--');
         * // => '--foo-bar--'
         *
         * _.toLower('fooBar');
         * // => 'foobar'
         *
         * _.toLower('__FOO_BAR__');
         * // => '__foo_bar__'
         */
        function toLower(value) {
          return toString(value).toLowerCase();
        }
    
        /**
         * Converts `string`, as a whole, to upper case just like
         * [String#toUpperCase](https://mdn.io/toUpperCase).
         *
         * @static
         * @memberOf _
         * @since 4.0.0
         * @category String
         * @param {string} [string=''] The string to convert.
         * @returns {string} Returns the upper cased string.
         * @example
         *
         * _.toUpper('--foo-bar--');
         * // => '--FOO-BAR--'
         *
         * _.toUpper('fooBar');
         * // => 'FOOBAR'
         *
         * _.toUpper('__foo_bar__');
         * // => '__FOO_BAR__'
         */
        function toUpper(value) {
          return toString(value).toUpperCase();
        }
    
        /**
         * Removes leading and trailing whitespace or specified characters from `string`.
         *
         * @static
         * @memberOf _
         * @since 3.0.0
         * @category String
         * @param {string} [string=''] The string to trim.
         * @param {string} [chars=whitespace] The characters to trim.
         * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.
         * @returns {string} Returns the trimmed string.
         * @example
         *
         * _.trim('  abc  ');
         * // => 'abc'
         *
         * _.trim('-_-abc-_-', '_-');
         * // => 'abc'
         *
         * _.map(['  foo  ', '  bar  '], _.trim);
         * // => ['foo', 'bar']
         */
        function trim(string, chars, guard) {
          string = toString(string);
          if (string && (guard || chars === undefined)) {
            return baseTrim(string);
          }
          if (!string || !(chars = baseToString(chars))) {
            return string;
          }
          var strSymbols = stringToArray(string),
              chrSymbols = stringToArray(chars),
              start = charsStartIndex(strSymbols, chrSymbols),
              end = charsEndIndex(strSymbols, chrSymbols) + 1;
    
          return castSlice(strSymbols, start, end).join('');
        }
    
        /**
         * Removes trailing whitespace or specified characters from `string`.
         *
         * @static
         * @memberOf _
         * @since 4.0.0
         * @category String
         * @param {string} [string=''] The string to trim.
         * @param {string} [chars=whitespace] The characters to trim.
         * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.
         * @returns {string} Returns the trimmed string.
         * @example
         *
         * _.trimEnd('  abc  ');
         * // => '  abc'
         *
         * _.trimEnd('-_-abc-_-', '_-');
         * // => '-_-abc'
         */
        function trimEnd(string, chars, guard) {
          string = toString(string);
          if (string && (guard || chars === undefined)) {
            return string.slice(0, trimmedEndIndex(string) + 1);
          }
          if (!string || !(chars = baseToString(chars))) {
            return string;
          }
          var strSymbols = stringToArray(string),
              end = charsEndIndex(strSymbols, stringToArray(chars)) + 1;
    
          return castSlice(strSymbols, 0, end).join('');
        }
    
        /**
         * Removes leading whitespace or specified characters from `string`.
         *
         * @static
         * @memberOf _
         * @since 4.0.0
         * @category String
         * @param {string} [string=''] The string to trim.
         * @param {string} [chars=whitespace] The characters to trim.
         * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.
         * @returns {string} Returns the trimmed string.
         * @example
         *
         * _.trimStart('  abc  ');
         * // => 'abc  '
         *
         * _.trimStart('-_-abc-_-', '_-');
         * // => 'abc-_-'
         */
        function trimStart(string, chars, guard) {
          string = toString(string);
          if (string && (guard || chars === undefined)) {
            return string.replace(reTrimStart, '');
          }
          if (!string || !(chars = baseToString(chars))) {
            return string;
          }
          var strSymbols = stringToArray(string),
              start = charsStartIndex(strSymbols, stringToArray(chars));
    
          return castSlice(strSymbols, start).join('');
        }
    
        /**
         * Truncates `string` if it's longer than the given maximum string length.
         * The last characters of the truncated string are replaced with the omission
         * string which defaults to "...".
         *
         * @static
         * @memberOf _
         * @since 4.0.0
         * @category String
         * @param {string} [string=''] The string to truncate.
         * @param {Object} [options={}] The options object.
         * @param {number} [options.length=30] The maximum string length.
         * @param {string} [options.omission='...'] The string to indicate text is omitted.
         * @param {RegExp|string} [options.separator] The separator pattern to truncate to.
         * @returns {string} Returns the truncated string.
         * @example
         *
         * _.truncate('hi-diddly-ho there, neighborino');
         * // => 'hi-diddly-ho there, neighbo...'
         *
         * _.truncate('hi-diddly-ho there, neighborino', {
         *   'length': 24,
         *   'separator': ' '
         * });
         * // => 'hi-diddly-ho there,...'
         *
         * _.truncate('hi-diddly-ho there, neighborino', {
         *   'length': 24,
         *   'separator': /,? +/
         * });
         * // => 'hi-diddly-ho there...'
         *
         * _.truncate('hi-diddly-ho there, neighborino', {
         *   'omission': ' [...]'
         * });
         * // => 'hi-diddly-ho there, neig [...]'
         */
        function truncate(string, options) {
          var length = DEFAULT_TRUNC_LENGTH,
              omission = DEFAULT_TRUNC_OMISSION;
    
          if (isObject(options)) {
            var separator = 'separator' in options ? options.separator : separator;
            length = 'length' in options ? toInteger(options.length) : length;
            omission = 'omission' in options ? baseToString(options.omission) : omission;
          }
          string = toString(string);
    
          var strLength = string.length;
          if (hasUnicode(string)) {
            var strSymbols = stringToArray(string);
            strLength = strSymbols.length;
          }
          if (length >= strLength) {
            return string;
          }
          var end = length - stringSize(omission);
          if (end < 1) {
            return omission;
          }
          var result = strSymbols
            ? castSlice(strSymbols, 0, end).join('')
            : string.slice(0, end);
    
          if (separator === undefined) {
            return result + omission;
          }
          if (strSymbols) {
            end += (result.length - end);
          }
          if (isRegExp(separator)) {
            if (string.slice(end).search(separator)) {
              var match,
                  substring = result;
    
              if (!separator.global) {
                separator = RegExp(separator.source, toString(reFlags.exec(separator)) + 'g');
              }
              separator.lastIndex = 0;
              while ((match = separator.exec(substring))) {
                var newEnd = match.index;
              }
              result = result.slice(0, newEnd === undefined ? end : newEnd);
            }
          } else if (string.indexOf(baseToString(separator), end) != end) {
            var index = result.lastIndexOf(separator);
            if (index > -1) {
              result = result.slice(0, index);
            }
          }
          return result + omission;
        }
    
        /**
         * The inverse of `_.escape`; this method converts the HTML entities
         * `&amp;`, `&lt;`, `&gt;`, `&quot;`, and `&#39;` in `string` to
         * their corresponding characters.
         *
         * **Note:** No other HTML entities are unescaped. To unescape additional
         * HTML entities use a third-party library like [_he_](https://mths.be/he).
         *
         * @static
         * @memberOf _
         * @since 0.6.0
         * @category String
         * @param {string} [string=''] The string to unescape.
         * @returns {string} Returns the unescaped string.
         * @example
         *
         * _.unescape('fred, barney, &amp; pebbles');
         * // => 'fred, barney, & pebbles'
         */
        function unescape(string) {
          string = toString(string);
          return (string && reHasEscapedHtml.test(string))
            ? string.replace(reEscapedHtml, unescapeHtmlChar)
            : string;
        }
    
        /**
         * Converts `string`, as space separated words, to upper case.
         *
         * @static
         * @memberOf _
         * @since 4.0.0
         * @category String
         * @param {string} [string=''] The string to convert.
         * @returns {string} Returns the upper cased string.
         * @example
         *
         * _.upperCase('--foo-bar');
         * // => 'FOO BAR'
         *
         * _.upperCase('fooBar');
         * // => 'FOO BAR'
         *
         * _.upperCase('__foo_bar__');
         * // => 'FOO BAR'
         */
        var upperCase = createCompounder(function(result, word, index) {
          return result + (index ? ' ' : '') + word.toUpperCase();
        });
    
        /**
         * Converts the first character of `string` to upper case.
         *
         * @static
         * @memberOf _
         * @since 4.0.0
         * @category String
         * @param {string} [string=''] The string to convert.
         * @returns {string} Returns the converted string.
         * @example
         *
         * _.upperFirst('fred');
         * // => 'Fred'
         *
         * _.upperFirst('FRED');
         * // => 'FRED'
         */
        var upperFirst = createCaseFirst('toUpperCase');
    
        /**
         * Splits `string` into an array of its words.
         *
         * @static
         * @memberOf _
         * @since 3.0.0
         * @category String
         * @param {string} [string=''] The string to inspect.
         * @param {RegExp|string} [pattern] The pattern to match words.
         * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.
         * @returns {Array} Returns the words of `string`.
         * @example
         *
         * _.words('fred, barney, & pebbles');
         * // => ['fred', 'barney', 'pebbles']
         *
         * _.words('fred, barney, & pebbles', /[^, ]+/g);
         * // => ['fred', 'barney', '&', 'pebbles']
         */
        function words(string, pattern, guard) {
          string = toString(string);
          pattern = guard ? undefined : pattern;
    
          if (pattern === undefined) {
            return hasUnicodeWord(string) ? unicodeWords(string) : asciiWords(string);
          }
          return string.match(pattern) || [];
        }
    
        /*------------------------------------------------------------------------*/
    
        /**
         * Attempts to invoke `func`, returning either the result or the caught error
         * object. Any additional arguments are provided to `func` when it's invoked.
         *
         * @static
         * @memberOf _
         * @since 3.0.0
         * @category Util
         * @param {Function} func The function to attempt.
         * @param {...*} [args] The arguments to invoke `func` with.
         * @returns {*} Returns the `func` result or error object.
         * @example
         *
         * // Avoid throwing errors for invalid selectors.
         * var elements = _.attempt(function(selector) {
         *   return document.querySelectorAll(selector);
         * }, '>_>');
         *
         * if (_.isError(elements)) {
         *   elements = [];
         * }
         */
        var attempt = baseRest(function(func, args) {
          try {
            return apply(func, undefined, args);
          } catch (e) {
            return isError(e) ? e : new Error(e);
          }
        });
    
        /**
         * Binds methods of an object to the object itself, overwriting the existing
         * method.
         *
         * **Note:** This method doesn't set the "length" property of bound functions.
         *
         * @static
         * @since 0.1.0
         * @memberOf _
         * @category Util
         * @param {Object} object The object to bind and assign the bound methods to.
         * @param {...(string|string[])} methodNames The object method names to bind.
         * @returns {Object} Returns `object`.
         * @example
         *
         * var view = {
         *   'label': 'docs',
         *   'click': function() {
         *     console.log('clicked ' + this.label);
         *   }
         * };
         *
         * _.bindAll(view, ['click']);
         * jQuery(element).on('click', view.click);
         * // => Logs 'clicked docs' when clicked.
         */
        var bindAll = flatRest(function(object, methodNames) {
          arrayEach(methodNames, function(key) {
            key = toKey(key);
            baseAssignValue(object, key, bind(object[key], object));
          });
          return object;
        });
    
        /**
         * Creates a function that iterates over `pairs` and invokes the corresponding
         * function of the first predicate to return truthy. The predicate-function
         * pairs are invoked with the `this` binding and arguments of the created
         * function.
         *
         * @static
         * @memberOf _
         * @since 4.0.0
         * @category Util
         * @param {Array} pairs The predicate-function pairs.
         * @returns {Function} Returns the new composite function.
         * @example
         *
         * var func = _.cond([
         *   [_.matches({ 'a': 1 }),           _.constant('matches A')],
         *   [_.conforms({ 'b': _.isNumber }), _.constant('matches B')],
         *   [_.stubTrue,                      _.constant('no match')]
         * ]);
         *
         * func({ 'a': 1, 'b': 2 });
         * // => 'matches A'
         *
         * func({ 'a': 0, 'b': 1 });
         * // => 'matches B'
         *
         * func({ 'a': '1', 'b': '2' });
         * // => 'no match'
         */
        function cond(pairs) {
          var length = pairs == null ? 0 : pairs.length,
              toIteratee = getIteratee();
    
          pairs = !length ? [] : arrayMap(pairs, function(pair) {
            if (typeof pair[1] != 'function') {
              throw new TypeError(FUNC_ERROR_TEXT);
            }
            return [toIteratee(pair[0]), pair[1]];
          });
    
          return baseRest(function(args) {
            var index = -1;
            while (++index < length) {
              var pair = pairs[index];
              if (apply(pair[0], this, args)) {
                return apply(pair[1], this, args);
              }
            }
          });
        }
    
        /**
         * Creates a function that invokes the predicate properties of `source` with
         * the corresponding property values of a given object, returning `true` if
         * all predicates return truthy, else `false`.
         *
         * **Note:** The created function is equivalent to `_.conformsTo` with
         * `source` partially applied.
         *
         * @static
         * @memberOf _
         * @since 4.0.0
         * @category Util
         * @param {Object} source The object of property predicates to conform to.
         * @returns {Function} Returns the new spec function.
         * @example
         *
         * var objects = [
         *   { 'a': 2, 'b': 1 },
         *   { 'a': 1, 'b': 2 }
         * ];
         *
         * _.filter(objects, _.conforms({ 'b': function(n) { return n > 1; } }));
         * // => [{ 'a': 1, 'b': 2 }]
         */
        function conforms(source) {
          return baseConforms(baseClone(source, CLONE_DEEP_FLAG));
        }
    
        /**
         * Creates a function that returns `value`.
         *
         * @static
         * @memberOf _
         * @since 2.4.0
         * @category Util
         * @param {*} value The value to return from the new function.
         * @returns {Function} Returns the new constant function.
         * @example
         *
         * var objects = _.times(2, _.constant({ 'a': 1 }));
         *
         * console.log(objects);
         * // => [{ 'a': 1 }, { 'a': 1 }]
         *
         * console.log(objects[0] === objects[1]);
         * // => true
         */
        function constant(value) {
          return function() {
            return value;
          };
        }
    
        /**
         * Checks `value` to determine whether a default value should be returned in
         * its place. The `defaultValue` is returned if `value` is `NaN`, `null`,
         * or `undefined`.
         *
         * @static
         * @memberOf _
         * @since 4.14.0
         * @category Util
         * @param {*} value The value to check.
         * @param {*} defaultValue The default value.
         * @returns {*} Returns the resolved value.
         * @example
         *
         * _.defaultTo(1, 10);
         * // => 1
         *
         * _.defaultTo(undefined, 10);
         * // => 10
         */
        function defaultTo(value, defaultValue) {
          return (value == null || value !== value) ? defaultValue : value;
        }
    
        /**
         * Creates a function that returns the result of invoking the given functions
         * with the `this` binding of the created function, where each successive
         * invocation is supplied the return value of the previous.
         *
         * @static
         * @memberOf _
         * @since 3.0.0
         * @category Util
         * @param {...(Function|Function[])} [funcs] The functions to invoke.
         * @returns {Function} Returns the new composite function.
         * @see _.flowRight
         * @example
         *
         * function square(n) {
         *   return n * n;
         * }
         *
         * var addSquare = _.flow([_.add, square]);
         * addSquare(1, 2);
         * // => 9
         */
        var flow = createFlow();
    
        /**
         * This method is like `_.flow` except that it creates a function that
         * invokes the given functions from right to left.
         *
         * @static
         * @since 3.0.0
         * @memberOf _
         * @category Util
         * @param {...(Function|Function[])} [funcs] The functions to invoke.
         * @returns {Function} Returns the new composite function.
         * @see _.flow
         * @example
         *
         * function square(n) {
         *   return n * n;
         * }
         *
         * var addSquare = _.flowRight([square, _.add]);
         * addSquare(1, 2);
         * // => 9
         */
        var flowRight = createFlow(true);
    
        /**
         * This method returns the first argument it receives.
         *
         * @static
         * @since 0.1.0
         * @memberOf _
         * @category Util
         * @param {*} value Any value.
         * @returns {*} Returns `value`.
         * @example
         *
         * var object = { 'a': 1 };
         *
         * console.log(_.identity(object) === object);
         * // => true
         */
        function identity(value) {
          return value;
        }
    
        /**
         * Creates a function that invokes `func` with the arguments of the created
         * function. If `func` is a property name, the created function returns the
         * property value for a given element. If `func` is an array or object, the
         * created function returns `true` for elements that contain the equivalent
         * source properties, otherwise it returns `false`.
         *
         * @static
         * @since 4.0.0
         * @memberOf _
         * @category Util
         * @param {*} [func=_.identity] The value to convert to a callback.
         * @returns {Function} Returns the callback.
         * @example
         *
         * var users = [
         *   { 'user': 'barney', 'age': 36, 'active': true },
         *   { 'user': 'fred',   'age': 40, 'active': false }
         * ];
         *
         * // The `_.matches` iteratee shorthand.
         * _.filter(users, _.iteratee({ 'user': 'barney', 'active': true }));
         * // => [{ 'user': 'barney', 'age': 36, 'active': true }]
         *
         * // The `_.matchesProperty` iteratee shorthand.
         * _.filter(users, _.iteratee(['user', 'fred']));
         * // => [{ 'user': 'fred', 'age': 40 }]
         *
         * // The `_.property` iteratee shorthand.
         * _.map(users, _.iteratee('user'));
         * // => ['barney', 'fred']
         *
         * // Create custom iteratee shorthands.
         * _.iteratee = _.wrap(_.iteratee, function(iteratee, func) {
         *   return !_.isRegExp(func) ? iteratee(func) : function(string) {
         *     return func.test(string);
         *   };
         * });
         *
         * _.filter(['abc', 'def'], /ef/);
         * // => ['def']
         */
        function iteratee(func) {
          return baseIteratee(typeof func == 'function' ? func : baseClone(func, CLONE_DEEP_FLAG));
        }
    
        /**
         * Creates a function that performs a partial deep comparison between a given
         * object and `source`, returning `true` if the given object has equivalent
         * property values, else `false`.
         *
         * **Note:** The created function is equivalent to `_.isMatch` with `source`
         * partially applied.
         *
         * Partial comparisons will match empty array and empty object `source`
         * values against any array or object value, respectively. See `_.isEqual`
         * for a list of supported value comparisons.
         *
         * **Note:** Multiple values can be checked by combining several matchers
         * using `_.overSome`
         *
         * @static
         * @memberOf _
         * @since 3.0.0
         * @category Util
         * @param {Object} source The object of property values to match.
         * @returns {Function} Returns the new spec function.
         * @example
         *
         * var objects = [
         *   { 'a': 1, 'b': 2, 'c': 3 },
         *   { 'a': 4, 'b': 5, 'c': 6 }
         * ];
         *
         * _.filter(objects, _.matches({ 'a': 4, 'c': 6 }));
         * // => [{ 'a': 4, 'b': 5, 'c': 6 }]
         *
         * // Checking for several possible values
         * _.filter(objects, _.overSome([_.matches({ 'a': 1 }), _.matches({ 'a': 4 })]));
         * // => [{ 'a': 1, 'b': 2, 'c': 3 }, { 'a': 4, 'b': 5, 'c': 6 }]
         */
        function matches(source) {
          return baseMatches(baseClone(source, CLONE_DEEP_FLAG));
        }
    
        /**
         * Creates a function that performs a partial deep comparison between the
         * value at `path` of a given object to `srcValue`, returning `true` if the
         * object value is equivalent, else `false`.
         *
         * **Note:** Partial comparisons will match empty array and empty object
         * `srcValue` values against any array or object value, respectively. See
         * `_.isEqual` for a list of supported value comparisons.
         *
         * **Note:** Multiple values can be checked by combining several matchers
         * using `_.overSome`
         *
         * @static
         * @memberOf _
         * @since 3.2.0
         * @category Util
         * @param {Array|string} path The path of the property to get.
         * @param {*} srcValue The value to match.
         * @returns {Function} Returns the new spec function.
         * @example
         *
         * var objects = [
         *   { 'a': 1, 'b': 2, 'c': 3 },
         *   { 'a': 4, 'b': 5, 'c': 6 }
         * ];
         *
         * _.find(objects, _.matchesProperty('a', 4));
         * // => { 'a': 4, 'b': 5, 'c': 6 }
         *
         * // Checking for several possible values
         * _.filter(objects, _.overSome([_.matchesProperty('a', 1), _.matchesProperty('a', 4)]));
         * // => [{ 'a': 1, 'b': 2, 'c': 3 }, { 'a': 4, 'b': 5, 'c': 6 }]
         */
        function matchesProperty(path, srcValue) {
          return baseMatchesProperty(path, baseClone(srcValue, CLONE_DEEP_FLAG));
        }
    
        /**
         * Creates a function that invokes the method at `path` of a given object.
         * Any additional arguments are provided to the invoked method.
         *
         * @static
         * @memberOf _
         * @since 3.7.0
         * @category Util
         * @param {Array|string} path The path of the method to invoke.
         * @param {...*} [args] The arguments to invoke the method with.
         * @returns {Function} Returns the new invoker function.
         * @example
         *
         * var objects = [
         *   { 'a': { 'b': _.constant(2) } },
         *   { 'a': { 'b': _.constant(1) } }
         * ];
         *
         * _.map(objects, _.method('a.b'));
         * // => [2, 1]
         *
         * _.map(objects, _.method(['a', 'b']));
         * // => [2, 1]
         */
        var method = baseRest(function(path, args) {
          return function(object) {
            return baseInvoke(object, path, args);
          };
        });
    
        /**
         * The opposite of `_.method`; this method creates a function that invokes
         * the method at a given path of `object`. Any additional arguments are
         * provided to the invoked method.
         *
         * @static
         * @memberOf _
         * @since 3.7.0
         * @category Util
         * @param {Object} object The object to query.
         * @param {...*} [args] The arguments to invoke the method with.
         * @returns {Function} Returns the new invoker function.
         * @example
         *
         * var array = _.times(3, _.constant),
         *     object = { 'a': array, 'b': array, 'c': array };
         *
         * _.map(['a[2]', 'c[0]'], _.methodOf(object));
         * // => [2, 0]
         *
         * _.map([['a', '2'], ['c', '0']], _.methodOf(object));
         * // => [2, 0]
         */
        var methodOf = baseRest(function(object, args) {
          return function(path) {
            return baseInvoke(object, path, args);
          };
        });
    
        /**
         * Adds all own enumerable string keyed function properties of a source
         * object to the destination object. If `object` is a function, then methods
         * are added to its prototype as well.
         *
         * **Note:** Use `_.runInContext` to create a pristine `lodash` function to
         * avoid conflicts caused by modifying the original.
         *
         * @static
         * @since 0.1.0
         * @memberOf _
         * @category Util
         * @param {Function|Object} [object=lodash] The destination object.
         * @param {Object} source The object of functions to add.
         * @param {Object} [options={}] The options object.
         * @param {boolean} [options.chain=true] Specify whether mixins are chainable.
         * @returns {Function|Object} Returns `object`.
         * @example
         *
         * function vowels(string) {
         *   return _.filter(string, function(v) {
         *     return /[aeiou]/i.test(v);
         *   });
         * }
         *
         * _.mixin({ 'vowels': vowels });
         * _.vowels('fred');
         * // => ['e']
         *
         * _('fred').vowels().value();
         * // => ['e']
         *
         * _.mixin({ 'vowels': vowels }, { 'chain': false });
         * _('fred').vowels();
         * // => ['e']
         */
        function mixin(object, source, options) {
          var props = keys(source),
              methodNames = baseFunctions(source, props);
    
          if (options == null &&
              !(isObject(source) && (methodNames.length || !props.length))) {
            options = source;
            source = object;
            object = this;
            methodNames = baseFunctions(source, keys(source));
          }
          var chain = !(isObject(options) && 'chain' in options) || !!options.chain,
              isFunc = isFunction(object);
    
          arrayEach(methodNames, function(methodName) {
            var func = source[methodName];
            object[methodName] = func;
            if (isFunc) {
              object.prototype[methodName] = function() {
                var chainAll = this.__chain__;
                if (chain || chainAll) {
                  var result = object(this.__wrapped__),
                      actions = result.__actions__ = copyArray(this.__actions__);
    
                  actions.push({ 'func': func, 'args': arguments, 'thisArg': object });
                  result.__chain__ = chainAll;
                  return result;
                }
                return func.apply(object, arrayPush([this.value()], arguments));
              };
            }
          });
    
          return object;
        }
    
        /**
         * Reverts the `_` variable to its previous value and returns a reference to
         * the `lodash` function.
         *
         * @static
         * @since 0.1.0
         * @memberOf _
         * @category Util
         * @returns {Function} Returns the `lodash` function.
         * @example
         *
         * var lodash = _.noConflict();
         */
        function noConflict() {
          if (root._ === this) {
            root._ = oldDash;
          }
          return this;
        }
    
        /**
         * This method returns `undefined`.
         *
         * @static
         * @memberOf _
         * @since 2.3.0
         * @category Util
         * @example
         *
         * _.times(2, _.noop);
         * // => [undefined, undefined]
         */
        function noop() {
          // No operation performed.
        }
    
        /**
         * Creates a function that gets the argument at index `n`. If `n` is negative,
         * the nth argument from the end is returned.
         *
         * @static
         * @memberOf _
         * @since 4.0.0
         * @category Util
         * @param {number} [n=0] The index of the argument to return.
         * @returns {Function} Returns the new pass-thru function.
         * @example
         *
         * var func = _.nthArg(1);
         * func('a', 'b', 'c', 'd');
         * // => 'b'
         *
         * var func = _.nthArg(-2);
         * func('a', 'b', 'c', 'd');
         * // => 'c'
         */
        function nthArg(n) {
          n = toInteger(n);
          return baseRest(function(args) {
            return baseNth(args, n);
          });
        }
    
        /**
         * Creates a function that invokes `iteratees` with the arguments it receives
         * and returns their results.
         *
         * @static
         * @memberOf _
         * @since 4.0.0
         * @category Util
         * @param {...(Function|Function[])} [iteratees=[_.identity]]
         *  The iteratees to invoke.
         * @returns {Function} Returns the new function.
         * @example
         *
         * var func = _.over([Math.max, Math.min]);
         *
         * func(1, 2, 3, 4);
         * // => [4, 1]
         */
        var over = createOver(arrayMap);
    
        /**
         * Creates a function that checks if **all** of the `predicates` return
         * truthy when invoked with the arguments it receives.
         *
         * Following shorthands are possible for providing predicates.
         * Pass an `Object` and it will be used as an parameter for `_.matches` to create the predicate.
         * Pass an `Array` of parameters for `_.matchesProperty` and the predicate will be created using them.
         *
         * @static
         * @memberOf _
         * @since 4.0.0
         * @category Util
         * @param {...(Function|Function[])} [predicates=[_.identity]]
         *  The predicates to check.
         * @returns {Function} Returns the new function.
         * @example
         *
         * var func = _.overEvery([Boolean, isFinite]);
         *
         * func('1');
         * // => true
         *
         * func(null);
         * // => false
         *
         * func(NaN);
         * // => false
         */
        var overEvery = createOver(arrayEvery);
    
        /**
         * Creates a function that checks if **any** of the `predicates` return
         * truthy when invoked with the arguments it receives.
         *
         * Following shorthands are possible for providing predicates.
         * Pass an `Object` and it will be used as an parameter for `_.matches` to create the predicate.
         * Pass an `Array` of parameters for `_.matchesProperty` and the predicate will be created using them.
         *
         * @static
         * @memberOf _
         * @since 4.0.0
         * @category Util
         * @param {...(Function|Function[])} [predicates=[_.identity]]
         *  The predicates to check.
         * @returns {Function} Returns the new function.
         * @example
         *
         * var func = _.overSome([Boolean, isFinite]);
         *
         * func('1');
         * // => true
         *
         * func(null);
         * // => true
         *
         * func(NaN);
         * // => false
         *
         * var matchesFunc = _.overSome([{ 'a': 1 }, { 'a': 2 }])
         * var matchesPropertyFunc = _.overSome([['a', 1], ['a', 2]])
         */
        var overSome = createOver(arraySome);
    
        /**
         * Creates a function that returns the value at `path` of a given object.
         *
         * @static
         * @memberOf _
         * @since 2.4.0
         * @category Util
         * @param {Array|string} path The path of the property to get.
         * @returns {Function} Returns the new accessor function.
         * @example
         *
         * var objects = [
         *   { 'a': { 'b': 2 } },
         *   { 'a': { 'b': 1 } }
         * ];
         *
         * _.map(objects, _.property('a.b'));
         * // => [2, 1]
         *
         * _.map(_.sortBy(objects, _.property(['a', 'b'])), 'a.b');
         * // => [1, 2]
         */
        function property(path) {
          return isKey(path) ? baseProperty(toKey(path)) : basePropertyDeep(path);
        }
    
        /**
         * The opposite of `_.property`; this method creates a function that returns
         * the value at a given path of `object`.
         *
         * @static
         * @memberOf _
         * @since 3.0.0
         * @category Util
         * @param {Object} object The object to query.
         * @returns {Function} Returns the new accessor function.
         * @example
         *
         * var array = [0, 1, 2],
         *     object = { 'a': array, 'b': array, 'c': array };
         *
         * _.map(['a[2]', 'c[0]'], _.propertyOf(object));
         * // => [2, 0]
         *
         * _.map([['a', '2'], ['c', '0']], _.propertyOf(object));
         * // => [2, 0]
         */
        function propertyOf(object) {
          return function(path) {
            return object == null ? undefined : baseGet(object, path);
          };
        }
    
        /**
         * Creates an array of numbers (positive and/or negative) progressing from
         * `start` up to, but not including, `end`. A step of `-1` is used if a negative
         * `start` is specified without an `end` or `step`. If `end` is not specified,
         * it's set to `start` with `start` then set to `0`.
         *
         * **Note:** JavaScript follows the IEEE-754 standard for resolving
         * floating-point values which can produce unexpected results.
         *
         * @static
         * @since 0.1.0
         * @memberOf _
         * @category Util
         * @param {number} [start=0] The start of the range.
         * @param {number} end The end of the range.
         * @param {number} [step=1] The value to increment or decrement by.
         * @returns {Array} Returns the range of numbers.
         * @see _.inRange, _.rangeRight
         * @example
         *
         * _.range(4);
         * // => [0, 1, 2, 3]
         *
         * _.range(-4);
         * // => [0, -1, -2, -3]
         *
         * _.range(1, 5);
         * // => [1, 2, 3, 4]
         *
         * _.range(0, 20, 5);
         * // => [0, 5, 10, 15]
         *
         * _.range(0, -4, -1);
         * // => [0, -1, -2, -3]
         *
         * _.range(1, 4, 0);
         * // => [1, 1, 1]
         *
         * _.range(0);
         * // => []
         */
        var range = createRange();
    
        /**
         * This method is like `_.range` except that it populates values in
         * descending order.
         *
         * @static
         * @memberOf _
         * @since 4.0.0
         * @category Util
         * @param {number} [start=0] The start of the range.
         * @param {number} end The end of the range.
         * @param {number} [step=1] The value to increment or decrement by.
         * @returns {Array} Returns the range of numbers.
         * @see _.inRange, _.range
         * @example
         *
         * _.rangeRight(4);
         * // => [3, 2, 1, 0]
         *
         * _.rangeRight(-4);
         * // => [-3, -2, -1, 0]
         *
         * _.rangeRight(1, 5);
         * // => [4, 3, 2, 1]
         *
         * _.rangeRight(0, 20, 5);
         * // => [15, 10, 5, 0]
         *
         * _.rangeRight(0, -4, -1);
         * // => [-3, -2, -1, 0]
         *
         * _.rangeRight(1, 4, 0);
         * // => [1, 1, 1]
         *
         * _.rangeRight(0);
         * // => []
         */
        var rangeRight = createRange(true);
    
        /**
         * This method returns a new empty array.
         *
         * @static
         * @memberOf _
         * @since 4.13.0
         * @category Util
         * @returns {Array} Returns the new empty array.
         * @example
         *
         * var arrays = _.times(2, _.stubArray);
         *
         * console.log(arrays);
         * // => [[], []]
         *
         * console.log(arrays[0] === arrays[1]);
         * // => false
         */
        function stubArray() {
          return [];
        }
    
        /**
         * This method returns `false`.
         *
         * @static
         * @memberOf _
         * @since 4.13.0
         * @category Util
         * @returns {boolean} Returns `false`.
         * @example
         *
         * _.times(2, _.stubFalse);
         * // => [false, false]
         */
        function stubFalse() {
          return false;
        }
    
        /**
         * This method returns a new empty object.
         *
         * @static
         * @memberOf _
         * @since 4.13.0
         * @category Util
         * @returns {Object} Returns the new empty object.
         * @example
         *
         * var objects = _.times(2, _.stubObject);
         *
         * console.log(objects);
         * // => [{}, {}]
         *
         * console.log(objects[0] === objects[1]);
         * // => false
         */
        function stubObject() {
          return {};
        }
    
        /**
         * This method returns an empty string.
         *
         * @static
         * @memberOf _
         * @since 4.13.0
         * @category Util
         * @returns {string} Returns the empty string.
         * @example
         *
         * _.times(2, _.stubString);
         * // => ['', '']
         */
        function stubString() {
          return '';
        }
    
        /**
         * This method returns `true`.
         *
         * @static
         * @memberOf _
         * @since 4.13.0
         * @category Util
         * @returns {boolean} Returns `true`.
         * @example
         *
         * _.times(2, _.stubTrue);
         * // => [true, true]
         */
        function stubTrue() {
          return true;
        }
    
        /**
         * Invokes the iteratee `n` times, returning an array of the results of
         * each invocation. The iteratee is invoked with one argument; (index).
         *
         * @static
         * @since 0.1.0
         * @memberOf _
         * @category Util
         * @param {number} n The number of times to invoke `iteratee`.
         * @param {Function} [iteratee=_.identity] The function invoked per iteration.
         * @returns {Array} Returns the array of results.
         * @example
         *
         * _.times(3, String);
         * // => ['0', '1', '2']
         *
         *  _.times(4, _.constant(0));
         * // => [0, 0, 0, 0]
         */
        function times(n, iteratee) {
          n = toInteger(n);
          if (n < 1 || n > MAX_SAFE_INTEGER) {
            return [];
          }
          var index = MAX_ARRAY_LENGTH,
              length = nativeMin(n, MAX_ARRAY_LENGTH);
    
          iteratee = getIteratee(iteratee);
          n -= MAX_ARRAY_LENGTH;
    
          var result = baseTimes(length, iteratee);
          while (++index < n) {
            iteratee(index);
          }
          return result;
        }
    
        /**
         * Converts `value` to a property path array.
         *
         * @static
         * @memberOf _
         * @since 4.0.0
         * @category Util
         * @param {*} value The value to convert.
         * @returns {Array} Returns the new property path array.
         * @example
         *
         * _.toPath('a.b.c');
         * // => ['a', 'b', 'c']
         *
         * _.toPath('a[0].b.c');
         * // => ['a', '0', 'b', 'c']
         */
        function toPath(value) {
          if (isArray(value)) {
            return arrayMap(value, toKey);
          }
          return isSymbol(value) ? [value] : copyArray(stringToPath(toString(value)));
        }
    
        /**
         * Generates a unique ID. If `prefix` is given, the ID is appended to it.
         *
         * @static
         * @since 0.1.0
         * @memberOf _
         * @category Util
         * @param {string} [prefix=''] The value to prefix the ID with.
         * @returns {string} Returns the unique ID.
         * @example
         *
         * _.uniqueId('contact_');
         * // => 'contact_104'
         *
         * _.uniqueId();
         * // => '105'
         */
        function uniqueId(prefix) {
          var id = ++idCounter;
          return toString(prefix) + id;
        }
    
        /*------------------------------------------------------------------------*/
    
        /**
         * Adds two numbers.
         *
         * @static
         * @memberOf _
         * @since 3.4.0
         * @category Math
         * @param {number} augend The first number in an addition.
         * @param {number} addend The second number in an addition.
         * @returns {number} Returns the total.
         * @example
         *
         * _.add(6, 4);
         * // => 10
         */
        var add = createMathOperation(function(augend, addend) {
          return augend + addend;
        }, 0);
    
        /**
         * Computes `number` rounded up to `precision`.
         *
         * @static
         * @memberOf _
         * @since 3.10.0
         * @category Math
         * @param {number} number The number to round up.
         * @param {number} [precision=0] The precision to round up to.
         * @returns {number} Returns the rounded up number.
         * @example
         *
         * _.ceil(4.006);
         * // => 5
         *
         * _.ceil(6.004, 2);
         * // => 6.01
         *
         * _.ceil(6040, -2);
         * // => 6100
         */
        var ceil = createRound('ceil');
    
        /**
         * Divide two numbers.
         *
         * @static
         * @memberOf _
         * @since 4.7.0
         * @category Math
         * @param {number} dividend The first number in a division.
         * @param {number} divisor The second number in a division.
         * @returns {number} Returns the quotient.
         * @example
         *
         * _.divide(6, 4);
         * // => 1.5
         */
        var divide = createMathOperation(function(dividend, divisor) {
          return dividend / divisor;
        }, 1);
    
        /**
         * Computes `number` rounded down to `precision`.
         *
         * @static
         * @memberOf _
         * @since 3.10.0
         * @category Math
         * @param {number} number The number to round down.
         * @param {number} [precision=0] The precision to round down to.
         * @returns {number} Returns the rounded down number.
         * @example
         *
         * _.floor(4.006);
         * // => 4
         *
         * _.floor(0.046, 2);
         * // => 0.04
         *
         * _.floor(4060, -2);
         * // => 4000
         */
        var floor = createRound('floor');
    
        /**
         * Computes the maximum value of `array`. If `array` is empty or falsey,
         * `undefined` is returned.
         *
         * @static
         * @since 0.1.0
         * @memberOf _
         * @category Math
         * @param {Array} array The array to iterate over.
         * @returns {*} Returns the maximum value.
         * @example
         *
         * _.max([4, 2, 8, 6]);
         * // => 8
         *
         * _.max([]);
         * // => undefined
         */
        function max(array) {
          return (array && array.length)
            ? baseExtremum(array, identity, baseGt)
            : undefined;
        }
    
        /**
         * This method is like `_.max` except that it accepts `iteratee` which is
         * invoked for each element in `array` to generate the criterion by which
         * the value is ranked. The iteratee is invoked with one argument: (value).
         *
         * @static
         * @memberOf _
         * @since 4.0.0
         * @category Math
         * @param {Array} array The array to iterate over.
         * @param {Function} [iteratee=_.identity] The iteratee invoked per element.
         * @returns {*} Returns the maximum value.
         * @example
         *
         * var objects = [{ 'n': 1 }, { 'n': 2 }];
         *
         * _.maxBy(objects, function(o) { return o.n; });
         * // => { 'n': 2 }
         *
         * // The `_.property` iteratee shorthand.
         * _.maxBy(objects, 'n');
         * // => { 'n': 2 }
         */
        function maxBy(array, iteratee) {
          return (array && array.length)
            ? baseExtremum(array, getIteratee(iteratee, 2), baseGt)
            : undefined;
        }
    
        /**
         * Computes the mean of the values in `array`.
         *
         * @static
         * @memberOf _
         * @since 4.0.0
         * @category Math
         * @param {Array} array The array to iterate over.
         * @returns {number} Returns the mean.
         * @example
         *
         * _.mean([4, 2, 8, 6]);
         * // => 5
         */
        function mean(array) {
          return baseMean(array, identity);
        }
    
        /**
         * This method is like `_.mean` except that it accepts `iteratee` which is
         * invoked for each element in `array` to generate the value to be averaged.
         * The iteratee is invoked with one argument: (value).
         *
         * @static
         * @memberOf _
         * @since 4.7.0
         * @category Math
         * @param {Array} array The array to iterate over.
         * @param {Function} [iteratee=_.identity] The iteratee invoked per element.
         * @returns {number} Returns the mean.
         * @example
         *
         * var objects = [{ 'n': 4 }, { 'n': 2 }, { 'n': 8 }, { 'n': 6 }];
         *
         * _.meanBy(objects, function(o) { return o.n; });
         * // => 5
         *
         * // The `_.property` iteratee shorthand.
         * _.meanBy(objects, 'n');
         * // => 5
         */
        function meanBy(array, iteratee) {
          return baseMean(array, getIteratee(iteratee, 2));
        }
    
        /**
         * Computes the minimum value of `array`. If `array` is empty or falsey,
         * `undefined` is returned.
         *
         * @static
         * @since 0.1.0
         * @memberOf _
         * @category Math
         * @param {Array} array The array to iterate over.
         * @returns {*} Returns the minimum value.
         * @example
         *
         * _.min([4, 2, 8, 6]);
         * // => 2
         *
         * _.min([]);
         * // => undefined
         */
        function min(array) {
          return (array && array.length)
            ? baseExtremum(array, identity, baseLt)
            : undefined;
        }
    
        /**
         * This method is like `_.min` except that it accepts `iteratee` which is
         * invoked for each element in `array` to generate the criterion by which
         * the value is ranked. The iteratee is invoked with one argument: (value).
         *
         * @static
         * @memberOf _
         * @since 4.0.0
         * @category Math
         * @param {Array} array The array to iterate over.
         * @param {Function} [iteratee=_.identity] The iteratee invoked per element.
         * @returns {*} Returns the minimum value.
         * @example
         *
         * var objects = [{ 'n': 1 }, { 'n': 2 }];
         *
         * _.minBy(objects, function(o) { return o.n; });
         * // => { 'n': 1 }
         *
         * // The `_.property` iteratee shorthand.
         * _.minBy(objects, 'n');
         * // => { 'n': 1 }
         */
        function minBy(array, iteratee) {
          return (array && array.length)
            ? baseExtremum(array, getIteratee(iteratee, 2), baseLt)
            : undefined;
        }
    
        /**
         * Multiply two numbers.
         *
         * @static
         * @memberOf _
         * @since 4.7.0
         * @category Math
         * @param {number} multiplier The first number in a multiplication.
         * @param {number} multiplicand The second number in a multiplication.
         * @returns {number} Returns the product.
         * @example
         *
         * _.multiply(6, 4);
         * // => 24
         */
        var multiply = createMathOperation(function(multiplier, multiplicand) {
          return multiplier * multiplicand;
        }, 1);
    
        /**
         * Computes `number` rounded to `precision`.
         *
         * @static
         * @memberOf _
         * @since 3.10.0
         * @category Math
         * @param {number} number The number to round.
         * @param {number} [precision=0] The precision to round to.
         * @returns {number} Returns the rounded number.
         * @example
         *
         * _.round(4.006);
         * // => 4
         *
         * _.round(4.006, 2);
         * // => 4.01
         *
         * _.round(4060, -2);
         * // => 4100
         */
        var round = createRound('round');
    
        /**
         * Subtract two numbers.
         *
         * @static
         * @memberOf _
         * @since 4.0.0
         * @category Math
         * @param {number} minuend The first number in a subtraction.
         * @param {number} subtrahend The second number in a subtraction.
         * @returns {number} Returns the difference.
         * @example
         *
         * _.subtract(6, 4);
         * // => 2
         */
        var subtract = createMathOperation(function(minuend, subtrahend) {
          return minuend - subtrahend;
        }, 0);
    
        /**
         * Computes the sum of the values in `array`.
         *
         * @static
         * @memberOf _
         * @since 3.4.0
         * @category Math
         * @param {Array} array The array to iterate over.
         * @returns {number} Returns the sum.
         * @example
         *
         * _.sum([4, 2, 8, 6]);
         * // => 20
         */
        function sum(array) {
          return (array && array.length)
            ? baseSum(array, identity)
            : 0;
        }
    
        /**
         * This method is like `_.sum` except that it accepts `iteratee` which is
         * invoked for each element in `array` to generate the value to be summed.
         * The iteratee is invoked with one argument: (value).
         *
         * @static
         * @memberOf _
         * @since 4.0.0
         * @category Math
         * @param {Array} array The array to iterate over.
         * @param {Function} [iteratee=_.identity] The iteratee invoked per element.
         * @returns {number} Returns the sum.
         * @example
         *
         * var objects = [{ 'n': 4 }, { 'n': 2 }, { 'n': 8 }, { 'n': 6 }];
         *
         * _.sumBy(objects, function(o) { return o.n; });
         * // => 20
         *
         * // The `_.property` iteratee shorthand.
         * _.sumBy(objects, 'n');
         * // => 20
         */
        function sumBy(array, iteratee) {
          return (array && array.length)
            ? baseSum(array, getIteratee(iteratee, 2))
            : 0;
        }
    
        /*------------------------------------------------------------------------*/
    
        // Add methods that return wrapped values in chain sequences.
        lodash.after = after;
        lodash.ary = ary;
        lodash.assign = assign;
        lodash.assignIn = assignIn;
        lodash.assignInWith = assignInWith;
        lodash.assignWith = assignWith;
        lodash.at = at;
        lodash.before = before;
        lodash.bind = bind;
        lodash.bindAll = bindAll;
        lodash.bindKey = bindKey;
        lodash.castArray = castArray;
        lodash.chain = chain;
        lodash.chunk = chunk;
        lodash.compact = compact;
        lodash.concat = concat;
        lodash.cond = cond;
        lodash.conforms = conforms;
        lodash.constant = constant;
        lodash.countBy = countBy;
        lodash.create = create;
        lodash.curry = curry;
        lodash.curryRight = curryRight;
        lodash.debounce = debounce;
        lodash.defaults = defaults;
        lodash.defaultsDeep = defaultsDeep;
        lodash.defer = defer;
        lodash.delay = delay;
        lodash.difference = difference;
        lodash.differenceBy = differenceBy;
        lodash.differenceWith = differenceWith;
        lodash.drop = drop;
        lodash.dropRight = dropRight;
        lodash.dropRightWhile = dropRightWhile;
        lodash.dropWhile = dropWhile;
        lodash.fill = fill;
        lodash.filter = filter;
        lodash.flatMap = flatMap;
        lodash.flatMapDeep = flatMapDeep;
        lodash.flatMapDepth = flatMapDepth;
        lodash.flatten = flatten;
        lodash.flattenDeep = flattenDeep;
        lodash.flattenDepth = flattenDepth;
        lodash.flip = flip;
        lodash.flow = flow;
        lodash.flowRight = flowRight;
        lodash.fromPairs = fromPairs;
        lodash.functions = functions;
        lodash.functionsIn = functionsIn;
        lodash.groupBy = groupBy;
        lodash.initial = initial;
        lodash.intersection = intersection;
        lodash.intersectionBy = intersectionBy;
        lodash.intersectionWith = intersectionWith;
        lodash.invert = invert;
        lodash.invertBy = invertBy;
        lodash.invokeMap = invokeMap;
        lodash.iteratee = iteratee;
        lodash.keyBy = keyBy;
        lodash.keys = keys;
        lodash.keysIn = keysIn;
        lodash.map = map;
        lodash.mapKeys = mapKeys;
        lodash.mapValues = mapValues;
        lodash.matches = matches;
        lodash.matchesProperty = matchesProperty;
        lodash.memoize = memoize;
        lodash.merge = merge;
        lodash.mergeWith = mergeWith;
        lodash.method = method;
        lodash.methodOf = methodOf;
        lodash.mixin = mixin;
        lodash.negate = negate;
        lodash.nthArg = nthArg;
        lodash.omit = omit;
        lodash.omitBy = omitBy;
        lodash.once = once;
        lodash.orderBy = orderBy;
        lodash.over = over;
        lodash.overArgs = overArgs;
        lodash.overEvery = overEvery;
        lodash.overSome = overSome;
        lodash.partial = partial;
        lodash.partialRight = partialRight;
        lodash.partition = partition;
        lodash.pick = pick;
        lodash.pickBy = pickBy;
        lodash.property = property;
        lodash.propertyOf = propertyOf;
        lodash.pull = pull;
        lodash.pullAll = pullAll;
        lodash.pullAllBy = pullAllBy;
        lodash.pullAllWith = pullAllWith;
        lodash.pullAt = pullAt;
        lodash.range = range;
        lodash.rangeRight = rangeRight;
        lodash.rearg = rearg;
        lodash.reject = reject;
        lodash.remove = remove;
        lodash.rest = rest;
        lodash.reverse = reverse;
        lodash.sampleSize = sampleSize;
        lodash.set = set;
        lodash.setWith = setWith;
        lodash.shuffle = shuffle;
        lodash.slice = slice;
        lodash.sortBy = sortBy;
        lodash.sortedUniq = sortedUniq;
        lodash.sortedUniqBy = sortedUniqBy;
        lodash.split = split;
        lodash.spread = spread;
        lodash.tail = tail;
        lodash.take = take;
        lodash.takeRight = takeRight;
        lodash.takeRightWhile = takeRightWhile;
        lodash.takeWhile = takeWhile;
        lodash.tap = tap;
        lodash.throttle = throttle;
        lodash.thru = thru;
        lodash.toArray = toArray;
        lodash.toPairs = toPairs;
        lodash.toPairsIn = toPairsIn;
        lodash.toPath = toPath;
        lodash.toPlainObject = toPlainObject;
        lodash.transform = transform;
        lodash.unary = unary;
        lodash.union = union;
        lodash.unionBy = unionBy;
        lodash.unionWith = unionWith;
        lodash.uniq = uniq;
        lodash.uniqBy = uniqBy;
        lodash.uniqWith = uniqWith;
        lodash.unset = unset;
        lodash.unzip = unzip;
        lodash.unzipWith = unzipWith;
        lodash.update = update;
        lodash.updateWith = updateWith;
        lodash.values = values;
        lodash.valuesIn = valuesIn;
        lodash.without = without;
        lodash.words = words;
        lodash.wrap = wrap;
        lodash.xor = xor;
        lodash.xorBy = xorBy;
        lodash.xorWith = xorWith;
        lodash.zip = zip;
        lodash.zipObject = zipObject;
        lodash.zipObjectDeep = zipObjectDeep;
        lodash.zipWith = zipWith;
    
        // Add aliases.
        lodash.entries = toPairs;
        lodash.entriesIn = toPairsIn;
        lodash.extend = assignIn;
        lodash.extendWith = assignInWith;
    
        // Add methods to `lodash.prototype`.
        mixin(lodash, lodash);
    
        /*------------------------------------------------------------------------*/
    
        // Add methods that return unwrapped values in chain sequences.
        lodash.add = add;
        lodash.attempt = attempt;
        lodash.camelCase = camelCase;
        lodash.capitalize = capitalize;
        lodash.ceil = ceil;
        lodash.clamp = clamp;
        lodash.clone = clone;
        lodash.cloneDeep = cloneDeep;
        lodash.cloneDeepWith = cloneDeepWith;
        lodash.cloneWith = cloneWith;
        lodash.conformsTo = conformsTo;
        lodash.deburr = deburr;
        lodash.defaultTo = defaultTo;
        lodash.divide = divide;
        lodash.endsWith = endsWith;
        lodash.eq = eq;
        lodash.escape = escape;
        lodash.escapeRegExp = escapeRegExp;
        lodash.every = every;
        lodash.find = find;
        lodash.findIndex = findIndex;
        lodash.findKey = findKey;
        lodash.findLast = findLast;
        lodash.findLastIndex = findLastIndex;
        lodash.findLastKey = findLastKey;
        lodash.floor = floor;
        lodash.forEach = forEach;
        lodash.forEachRight = forEachRight;
        lodash.forIn = forIn;
        lodash.forInRight = forInRight;
        lodash.forOwn = forOwn;
        lodash.forOwnRight = forOwnRight;
        lodash.get = get;
        lodash.gt = gt;
        lodash.gte = gte;
        lodash.has = has;
        lodash.hasIn = hasIn;
        lodash.head = head;
        lodash.identity = identity;
        lodash.includes = includes;
        lodash.indexOf = indexOf;
        lodash.inRange = inRange;
        lodash.invoke = invoke;
        lodash.isArguments = isArguments;
        lodash.isArray = isArray;
        lodash.isArrayBuffer = isArrayBuffer;
        lodash.isArrayLike = isArrayLike;
        lodash.isArrayLikeObject = isArrayLikeObject;
        lodash.isBoolean = isBoolean;
        lodash.isBuffer = isBuffer;
        lodash.isDate = isDate;
        lodash.isElement = isElement;
        lodash.isEmpty = isEmpty;
        lodash.isEqual = isEqual;
        lodash.isEqualWith = isEqualWith;
        lodash.isError = isError;
        lodash.isFinite = isFinite;
        lodash.isFunction = isFunction;
        lodash.isInteger = isInteger;
        lodash.isLength = isLength;
        lodash.isMap = isMap;
        lodash.isMatch = isMatch;
        lodash.isMatchWith = isMatchWith;
        lodash.isNaN = isNaN;
        lodash.isNative = isNative;
        lodash.isNil = isNil;
        lodash.isNull = isNull;
        lodash.isNumber = isNumber;
        lodash.isObject = isObject;
        lodash.isObjectLike = isObjectLike;
        lodash.isPlainObject = isPlainObject;
        lodash.isRegExp = isRegExp;
        lodash.isSafeInteger = isSafeInteger;
        lodash.isSet = isSet;
        lodash.isString = isString;
        lodash.isSymbol = isSymbol;
        lodash.isTypedArray = isTypedArray;
        lodash.isUndefined = isUndefined;
        lodash.isWeakMap = isWeakMap;
        lodash.isWeakSet = isWeakSet;
        lodash.join = join;
        lodash.kebabCase = kebabCase;
        lodash.last = last;
        lodash.lastIndexOf = lastIndexOf;
        lodash.lowerCase = lowerCase;
        lodash.lowerFirst = lowerFirst;
        lodash.lt = lt;
        lodash.lte = lte;
        lodash.max = max;
        lodash.maxBy = maxBy;
        lodash.mean = mean;
        lodash.meanBy = meanBy;
        lodash.min = min;
        lodash.minBy = minBy;
        lodash.stubArray = stubArray;
        lodash.stubFalse = stubFalse;
        lodash.stubObject = stubObject;
        lodash.stubString = stubString;
        lodash.stubTrue = stubTrue;
        lodash.multiply = multiply;
        lodash.nth = nth;
        lodash.noConflict = noConflict;
        lodash.noop = noop;
        lodash.now = now;
        lodash.pad = pad;
        lodash.padEnd = padEnd;
        lodash.padStart = padStart;
        lodash.parseInt = parseInt;
        lodash.random = random;
        lodash.reduce = reduce;
        lodash.reduceRight = reduceRight;
        lodash.repeat = repeat;
        lodash.replace = replace;
        lodash.result = result;
        lodash.round = round;
        lodash.runInContext = runInContext;
        lodash.sample = sample;
        lodash.size = size;
        lodash.snakeCase = snakeCase;
        lodash.some = some;
        lodash.sortedIndex = sortedIndex;
        lodash.sortedIndexBy = sortedIndexBy;
        lodash.sortedIndexOf = sortedIndexOf;
        lodash.sortedLastIndex = sortedLastIndex;
        lodash.sortedLastIndexBy = sortedLastIndexBy;
        lodash.sortedLastIndexOf = sortedLastIndexOf;
        lodash.startCase = startCase;
        lodash.startsWith = startsWith;
        lodash.subtract = subtract;
        lodash.sum = sum;
        lodash.sumBy = sumBy;
        lodash.template = template;
        lodash.times = times;
        lodash.toFinite = toFinite;
        lodash.toInteger = toInteger;
        lodash.toLength = toLength;
        lodash.toLower = toLower;
        lodash.toNumber = toNumber;
        lodash.toSafeInteger = toSafeInteger;
        lodash.toString = toString;
        lodash.toUpper = toUpper;
        lodash.trim = trim;
        lodash.trimEnd = trimEnd;
        lodash.trimStart = trimStart;
        lodash.truncate = truncate;
        lodash.unescape = unescape;
        lodash.uniqueId = uniqueId;
        lodash.upperCase = upperCase;
        lodash.upperFirst = upperFirst;
    
        // Add aliases.
        lodash.each = forEach;
        lodash.eachRight = forEachRight;
        lodash.first = head;
    
        mixin(lodash, (function() {
          var source = {};
          baseForOwn(lodash, function(func, methodName) {
            if (!hasOwnProperty.call(lodash.prototype, methodName)) {
              source[methodName] = func;
            }
          });
          return source;
        }()), { 'chain': false });
    
        /*------------------------------------------------------------------------*/
    
        /**
         * The semantic version number.
         *
         * @static
         * @memberOf _
         * @type {string}
         */
        lodash.VERSION = VERSION;
    
        // Assign default placeholders.
        arrayEach(['bind', 'bindKey', 'curry', 'curryRight', 'partial', 'partialRight'], function(methodName) {
          lodash[methodName].placeholder = lodash;
        });
    
        // Add `LazyWrapper` methods for `_.drop` and `_.take` variants.
        arrayEach(['drop', 'take'], function(methodName, index) {
          LazyWrapper.prototype[methodName] = function(n) {
            n = n === undefined ? 1 : nativeMax(toInteger(n), 0);
    
            var result = (this.__filtered__ && !index)
              ? new LazyWrapper(this)
              : this.clone();
    
            if (result.__filtered__) {
              result.__takeCount__ = nativeMin(n, result.__takeCount__);
            } else {
              result.__views__.push({
                'size': nativeMin(n, MAX_ARRAY_LENGTH),
                'type': methodName + (result.__dir__ < 0 ? 'Right' : '')
              });
            }
            return result;
          };
    
          LazyWrapper.prototype[methodName + 'Right'] = function(n) {
            return this.reverse()[methodName](n).reverse();
          };
        });
    
        // Add `LazyWrapper` methods that accept an `iteratee` value.
        arrayEach(['filter', 'map', 'takeWhile'], function(methodName, index) {
          var type = index + 1,
              isFilter = type == LAZY_FILTER_FLAG || type == LAZY_WHILE_FLAG;
    
          LazyWrapper.prototype[methodName] = function(iteratee) {
            var result = this.clone();
            result.__iteratees__.push({
              'iteratee': getIteratee(iteratee, 3),
              'type': type
            });
            result.__filtered__ = result.__filtered__ || isFilter;
            return result;
          };
        });
    
        // Add `LazyWrapper` methods for `_.head` and `_.last`.
        arrayEach(['head', 'last'], function(methodName, index) {
          var takeName = 'take' + (index ? 'Right' : '');
    
          LazyWrapper.prototype[methodName] = function() {
            return this[takeName](1).value()[0];
          };
        });
    
        // Add `LazyWrapper` methods for `_.initial` and `_.tail`.
        arrayEach(['initial', 'tail'], function(methodName, index) {
          var dropName = 'drop' + (index ? '' : 'Right');
    
          LazyWrapper.prototype[methodName] = function() {
            return this.__filtered__ ? new LazyWrapper(this) : this[dropName](1);
          };
        });
    
        LazyWrapper.prototype.compact = function() {
          return this.filter(identity);
        };
    
        LazyWrapper.prototype.find = function(predicate) {
          return this.filter(predicate).head();
        };
    
        LazyWrapper.prototype.findLast = function(predicate) {
          return this.reverse().find(predicate);
        };
    
        LazyWrapper.prototype.invokeMap = baseRest(function(path, args) {
          if (typeof path == 'function') {
            return new LazyWrapper(this);
          }
          return this.map(function(value) {
            return baseInvoke(value, path, args);
          });
        });
    
        LazyWrapper.prototype.reject = function(predicate) {
          return this.filter(negate(getIteratee(predicate)));
        };
    
        LazyWrapper.prototype.slice = function(start, end) {
          start = toInteger(start);
    
          var result = this;
          if (result.__filtered__ && (start > 0 || end < 0)) {
            return new LazyWrapper(result);
          }
          if (start < 0) {
            result = result.takeRight(-start);
          } else if (start) {
            result = result.drop(start);
          }
          if (end !== undefined) {
            end = toInteger(end);
            result = end < 0 ? result.dropRight(-end) : result.take(end - start);
          }
          return result;
        };
    
        LazyWrapper.prototype.takeRightWhile = function(predicate) {
          return this.reverse().takeWhile(predicate).reverse();
        };
    
        LazyWrapper.prototype.toArray = function() {
          return this.take(MAX_ARRAY_LENGTH);
        };
    
        // Add `LazyWrapper` methods to `lodash.prototype`.
        baseForOwn(LazyWrapper.prototype, function(func, methodName) {
          var checkIteratee = /^(?:filter|find|map|reject)|While$/.test(methodName),
              isTaker = /^(?:head|last)$/.test(methodName),
              lodashFunc = lodash[isTaker ? ('take' + (methodName == 'last' ? 'Right' : '')) : methodName],
              retUnwrapped = isTaker || /^find/.test(methodName);
    
          if (!lodashFunc) {
            return;
          }
          lodash.prototype[methodName] = function() {
            var value = this.__wrapped__,
                args = isTaker ? [1] : arguments,
                isLazy = value instanceof LazyWrapper,
                iteratee = args[0],
                useLazy = isLazy || isArray(value);
    
            var interceptor = function(value) {
              var result = lodashFunc.apply(lodash, arrayPush([value], args));
              return (isTaker && chainAll) ? result[0] : result;
            };
    
            if (useLazy && checkIteratee && typeof iteratee == 'function' && iteratee.length != 1) {
              // Avoid lazy use if the iteratee has a "length" value other than `1`.
              isLazy = useLazy = false;
            }
            var chainAll = this.__chain__,
                isHybrid = !!this.__actions__.length,
                isUnwrapped = retUnwrapped && !chainAll,
                onlyLazy = isLazy && !isHybrid;
    
            if (!retUnwrapped && useLazy) {
              value = onlyLazy ? value : new LazyWrapper(this);
              var result = func.apply(value, args);
              result.__actions__.push({ 'func': thru, 'args': [interceptor], 'thisArg': undefined });
              return new LodashWrapper(result, chainAll);
            }
            if (isUnwrapped && onlyLazy) {
              return func.apply(this, args);
            }
            result = this.thru(interceptor);
            return isUnwrapped ? (isTaker ? result.value()[0] : result.value()) : result;
          };
        });
    
        // Add `Array` methods to `lodash.prototype`.
        arrayEach(['pop', 'push', 'shift', 'sort', 'splice', 'unshift'], function(methodName) {
          var func = arrayProto[methodName],
              chainName = /^(?:push|sort|unshift)$/.test(methodName) ? 'tap' : 'thru',
              retUnwrapped = /^(?:pop|shift)$/.test(methodName);
    
          lodash.prototype[methodName] = function() {
            var args = arguments;
            if (retUnwrapped && !this.__chain__) {
              var value = this.value();
              return func.apply(isArray(value) ? value : [], args);
            }
            return this[chainName](function(value) {
              return func.apply(isArray(value) ? value : [], args);
            });
          };
        });
    
        // Map minified method names to their real names.
        baseForOwn(LazyWrapper.prototype, function(func, methodName) {
          var lodashFunc = lodash[methodName];
          if (lodashFunc) {
            var key = lodashFunc.name + '';
            if (!hasOwnProperty.call(realNames, key)) {
              realNames[key] = [];
            }
            realNames[key].push({ 'name': methodName, 'func': lodashFunc });
          }
        });
    
        realNames[createHybrid(undefined, WRAP_BIND_KEY_FLAG).name] = [{
          'name': 'wrapper',
          'func': undefined
        }];
    
        // Add methods to `LazyWrapper`.
        LazyWrapper.prototype.clone = lazyClone;
        LazyWrapper.prototype.reverse = lazyReverse;
        LazyWrapper.prototype.value = lazyValue;
    
        // Add chain sequence methods to the `lodash` wrapper.
        lodash.prototype.at = wrapperAt;
        lodash.prototype.chain = wrapperChain;
        lodash.prototype.commit = wrapperCommit;
        lodash.prototype.next = wrapperNext;
        lodash.prototype.plant = wrapperPlant;
        lodash.prototype.reverse = wrapperReverse;
        lodash.prototype.toJSON = lodash.prototype.valueOf = lodash.prototype.value = wrapperValue;
    
        // Add lazy aliases.
        lodash.prototype.first = lodash.prototype.head;
    
        if (symIterator) {
          lodash.prototype[symIterator] = wrapperToIterator;
        }
        return lodash;
      });
    
      /*--------------------------------------------------------------------------*/
    
      // Export lodash.
      var _ = runInContext();
    
      // Some AMD build optimizers, like r.js, check for condition patterns like:
      if (true) {
        // Expose Lodash on the global object to prevent errors when Lodash is
        // loaded by a script tag in the presence of an AMD loader.
        // See http://requirejs.org/docs/errors.html#mismatch for more details.
        // Use `_.noConflict` to remove Lodash from the global object.
        root._ = _;
    
        // Define as an anonymous module so, through path mapping, it can be
        // referenced as the "underscore" module.
        !(__WEBPACK_AMD_DEFINE_RESULT__ = (function() {
          return _;
        }).call(exports, __webpack_require__, exports, module),
    		__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
      }
      // Check for `exports` after `define` in case a build optimizer adds it.
      else {}
    }.call(this));
    
    
    /***/ }),
    
    /***/ 55056:
    /*!******************************************************!*\
      !*** ./node_modules/_lodash@4.17.23@lodash/merge.js ***!
      \******************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    var baseMerge = __webpack_require__(/*! ./_baseMerge */ 37111),
        createAssigner = __webpack_require__(/*! ./_createAssigner */ 94792);
    
    /**
     * This method is like `_.assign` except that it recursively merges own and
     * inherited enumerable string keyed properties of source objects into the
     * destination object. Source properties that resolve to `undefined` are
     * skipped if a destination value exists. Array and plain object properties
     * are merged recursively. Other objects and value types are overridden by
     * assignment. Source objects are applied from left to right. Subsequent
     * sources overwrite property assignments of previous sources.
     *
     * **Note:** This method mutates `object`.
     *
     * @static
     * @memberOf _
     * @since 0.5.0
     * @category Object
     * @param {Object} object The destination object.
     * @param {...Object} [sources] The source objects.
     * @returns {Object} Returns `object`.
     * @example
     *
     * var object = {
     *   'a': [{ 'b': 2 }, { 'd': 4 }]
     * };
     *
     * var other = {
     *   'a': [{ 'c': 3 }, { 'e': 5 }]
     * };
     *
     * _.merge(object, other);
     * // => { 'a': [{ 'b': 2, 'c': 3 }, { 'd': 4, 'e': 5 }] }
     */
    var merge = createAssigner(function(object, source, srcIndex) {
      baseMerge(object, source, srcIndex);
    });
    
    module.exports = merge;
    
    
    /***/ }),
    
    /***/ 75374:
    /*!**********************************************************!*\
      !*** ./node_modules/_lodash@4.17.23@lodash/stubFalse.js ***!
      \**********************************************************/
    /***/ (function(module) {
    
    /**
     * This method returns `false`.
     *
     * @static
     * @memberOf _
     * @since 4.13.0
     * @category Util
     * @returns {boolean} Returns `false`.
     * @example
     *
     * _.times(2, _.stubFalse);
     * // => [false, false]
     */
    function stubFalse() {
      return false;
    }
    
    module.exports = stubFalse;
    
    
    /***/ }),
    
    /***/ 8416:
    /*!**************************************************************!*\
      !*** ./node_modules/_lodash@4.17.23@lodash/toPlainObject.js ***!
      \**************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    var copyObject = __webpack_require__(/*! ./_copyObject */ 39408),
        keysIn = __webpack_require__(/*! ./keysIn */ 331);
    
    /**
     * Converts `value` to a plain object flattening inherited enumerable string
     * keyed properties of `value` to own properties of the plain object.
     *
     * @static
     * @memberOf _
     * @since 3.0.0
     * @category Lang
     * @param {*} value The value to convert.
     * @returns {Object} Returns the converted plain object.
     * @example
     *
     * function Foo() {
     *   this.b = 2;
     * }
     *
     * Foo.prototype.c = 3;
     *
     * _.assign({ 'a': 1 }, new Foo);
     * // => { 'a': 1, 'b': 2 }
     *
     * _.assign({ 'a': 1 }, _.toPlainObject(new Foo));
     * // => { 'a': 1, 'b': 2, 'c': 3 }
     */
    function toPlainObject(value) {
      return copyObject(value, keysIn(value));
    }
    
    module.exports = toPlainObject;
    
    
    /***/ }),
    
    /***/ 32834:
    /*!*********************************************************!*\
      !*** ./node_modules/_marked@2.0.7@marked/lib/marked.js ***!
      \*********************************************************/
    /***/ (function(module) {
    
    /**
     * marked - a markdown parser
     * Copyright (c) 2011-2021, Christopher Jeffrey. (MIT Licensed)
     * https://github.com/markedjs/marked
     */
    
    /**
     * DO NOT EDIT THIS FILE
     * The code in this file is generated from files in ./src/
     */
    
    (function (global, factory) {
       true ? module.exports = factory() :
      0;
    }(this, (function () { 'use strict';
    
      function _defineProperties(target, props) {
        for (var i = 0; i < props.length; i++) {
          var descriptor = props[i];
          descriptor.enumerable = descriptor.enumerable || false;
          descriptor.configurable = true;
          if ("value" in descriptor) descriptor.writable = true;
          Object.defineProperty(target, descriptor.key, descriptor);
        }
      }
    
      function _createClass(Constructor, protoProps, staticProps) {
        if (protoProps) _defineProperties(Constructor.prototype, protoProps);
        if (staticProps) _defineProperties(Constructor, staticProps);
        return Constructor;
      }
    
      function _unsupportedIterableToArray(o, minLen) {
        if (!o) return;
        if (typeof o === "string") return _arrayLikeToArray(o, minLen);
        var n = Object.prototype.toString.call(o).slice(8, -1);
        if (n === "Object" && o.constructor) n = o.constructor.name;
        if (n === "Map" || n === "Set") return Array.from(o);
        if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
      }
    
      function _arrayLikeToArray(arr, len) {
        if (len == null || len > arr.length) len = arr.length;
    
        for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
    
        return arr2;
      }
    
      function _createForOfIteratorHelperLoose(o, allowArrayLike) {
        var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"];
        if (it) return (it = it.call(o)).next.bind(it);
    
        if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") {
          if (it) o = it;
          var i = 0;
          return function () {
            if (i >= o.length) return {
              done: true
            };
            return {
              done: false,
              value: o[i++]
            };
          };
        }
    
        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 defaults$5 = {exports: {}};
    
      function getDefaults$1() {
        return {
          baseUrl: null,
          breaks: false,
          gfm: true,
          headerIds: true,
          headerPrefix: '',
          highlight: null,
          langPrefix: 'language-',
          mangle: true,
          pedantic: false,
          renderer: null,
          sanitize: false,
          sanitizer: null,
          silent: false,
          smartLists: false,
          smartypants: false,
          tokenizer: null,
          walkTokens: null,
          xhtml: false
        };
      }
    
      function changeDefaults$1(newDefaults) {
        defaults$5.exports.defaults = newDefaults;
      }
    
      defaults$5.exports = {
        defaults: getDefaults$1(),
        getDefaults: getDefaults$1,
        changeDefaults: changeDefaults$1
      };
    
      /**
       * Helpers
       */
      var escapeTest = /[&<>"']/;
      var escapeReplace = /[&<>"']/g;
      var escapeTestNoEncode = /[<>"']|&(?!#?\w+;)/;
      var escapeReplaceNoEncode = /[<>"']|&(?!#?\w+;)/g;
      var escapeReplacements = {
        '&': '&amp;',
        '<': '&lt;',
        '>': '&gt;',
        '"': '&quot;',
        "'": '&#39;'
      };
    
      var getEscapeReplacement = function getEscapeReplacement(ch) {
        return escapeReplacements[ch];
      };
    
      function escape$2(html, encode) {
        if (encode) {
          if (escapeTest.test(html)) {
            return html.replace(escapeReplace, getEscapeReplacement);
          }
        } else {
          if (escapeTestNoEncode.test(html)) {
            return html.replace(escapeReplaceNoEncode, getEscapeReplacement);
          }
        }
    
        return html;
      }
    
      var unescapeTest = /&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;
    
      function unescape$1(html) {
        // explicitly match decimal, hex, and named HTML entities
        return html.replace(unescapeTest, function (_, n) {
          n = n.toLowerCase();
          if (n === 'colon') return ':';
    
          if (n.charAt(0) === '#') {
            return n.charAt(1) === 'x' ? String.fromCharCode(parseInt(n.substring(2), 16)) : String.fromCharCode(+n.substring(1));
          }
    
          return '';
        });
      }
    
      var caret = /(^|[^\[])\^/g;
    
      function edit$1(regex, opt) {
        regex = regex.source || regex;
        opt = opt || '';
        var obj = {
          replace: function replace(name, val) {
            val = val.source || val;
            val = val.replace(caret, '$1');
            regex = regex.replace(name, val);
            return obj;
          },
          getRegex: function getRegex() {
            return new RegExp(regex, opt);
          }
        };
        return obj;
      }
    
      var nonWordAndColonTest = /[^\w:]/g;
      var originIndependentUrl = /^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;
    
      function cleanUrl$1(sanitize, base, href) {
        if (sanitize) {
          var prot;
    
          try {
            prot = decodeURIComponent(unescape$1(href)).replace(nonWordAndColonTest, '').toLowerCase();
          } catch (e) {
            return null;
          }
    
          if (prot.indexOf('javascript:') === 0 || prot.indexOf('vbscript:') === 0 || prot.indexOf('data:') === 0) {
            return null;
          }
        }
    
        if (base && !originIndependentUrl.test(href)) {
          href = resolveUrl(base, href);
        }
    
        try {
          href = encodeURI(href).replace(/%25/g, '%');
        } catch (e) {
          return null;
        }
    
        return href;
      }
    
      var baseUrls = {};
      var justDomain = /^[^:]+:\/*[^/]*$/;
      var protocol = /^([^:]+:)[\s\S]*$/;
      var domain = /^([^:]+:\/*[^/]*)[\s\S]*$/;
    
      function resolveUrl(base, href) {
        if (!baseUrls[' ' + base]) {
          // we can ignore everything in base after the last slash of its path component,
          // but we might need to add _that_
          // https://tools.ietf.org/html/rfc3986#section-3
          if (justDomain.test(base)) {
            baseUrls[' ' + base] = base + '/';
          } else {
            baseUrls[' ' + base] = rtrim$1(base, '/', true);
          }
        }
    
        base = baseUrls[' ' + base];
        var relativeBase = base.indexOf(':') === -1;
    
        if (href.substring(0, 2) === '//') {
          if (relativeBase) {
            return href;
          }
    
          return base.replace(protocol, '$1') + href;
        } else if (href.charAt(0) === '/') {
          if (relativeBase) {
            return href;
          }
    
          return base.replace(domain, '$1') + href;
        } else {
          return base + href;
        }
      }
    
      var noopTest$1 = {
        exec: function noopTest() {}
      };
    
      function merge$2(obj) {
        var i = 1,
            target,
            key;
    
        for (; i < arguments.length; i++) {
          target = arguments[i];
    
          for (key in target) {
            if (Object.prototype.hasOwnProperty.call(target, key)) {
              obj[key] = target[key];
            }
          }
        }
    
        return obj;
      }
    
      function splitCells$1(tableRow, count) {
        // ensure that every cell-delimiting pipe has a space
        // before it to distinguish it from an escaped pipe
        var row = tableRow.replace(/\|/g, function (match, offset, str) {
          var escaped = false,
              curr = offset;
    
          while (--curr >= 0 && str[curr] === '\\') {
            escaped = !escaped;
          }
    
          if (escaped) {
            // odd number of slashes means | is escaped
            // so we leave it alone
            return '|';
          } else {
            // add space before unescaped |
            return ' |';
          }
        }),
            cells = row.split(/ \|/);
        var i = 0;
    
        if (cells.length > count) {
          cells.splice(count);
        } else {
          while (cells.length < count) {
            cells.push('');
          }
        }
    
        for (; i < cells.length; i++) {
          // leading or trailing whitespace is ignored per the gfm spec
          cells[i] = cells[i].trim().replace(/\\\|/g, '|');
        }
    
        return cells;
      } // Remove trailing 'c's. Equivalent to str.replace(/c*$/, '').
      // /c*$/ is vulnerable to REDOS.
      // invert: Remove suffix of non-c chars instead. Default falsey.
    
    
      function rtrim$1(str, c, invert) {
        var l = str.length;
    
        if (l === 0) {
          return '';
        } // Length of suffix matching the invert condition.
    
    
        var suffLen = 0; // Step left until we fail to match the invert condition.
    
        while (suffLen < l) {
          var currChar = str.charAt(l - suffLen - 1);
    
          if (currChar === c && !invert) {
            suffLen++;
          } else if (currChar !== c && invert) {
            suffLen++;
          } else {
            break;
          }
        }
    
        return str.substr(0, l - suffLen);
      }
    
      function findClosingBracket$1(str, b) {
        if (str.indexOf(b[1]) === -1) {
          return -1;
        }
    
        var l = str.length;
        var level = 0,
            i = 0;
    
        for (; i < l; i++) {
          if (str[i] === '\\') {
            i++;
          } else if (str[i] === b[0]) {
            level++;
          } else if (str[i] === b[1]) {
            level--;
    
            if (level < 0) {
              return i;
            }
          }
        }
    
        return -1;
      }
    
      function checkSanitizeDeprecation$1(opt) {
        if (opt && opt.sanitize && !opt.silent) {
          console.warn('marked(): sanitize and sanitizer parameters are deprecated since version 0.7.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/#/USING_ADVANCED.md#options');
        }
      } // copied from https://stackoverflow.com/a/5450113/806777
    
    
      function repeatString$1(pattern, count) {
        if (count < 1) {
          return '';
        }
    
        var result = '';
    
        while (count > 1) {
          if (count & 1) {
            result += pattern;
          }
    
          count >>= 1;
          pattern += pattern;
        }
    
        return result + pattern;
      }
    
      var helpers = {
        escape: escape$2,
        unescape: unescape$1,
        edit: edit$1,
        cleanUrl: cleanUrl$1,
        resolveUrl: resolveUrl,
        noopTest: noopTest$1,
        merge: merge$2,
        splitCells: splitCells$1,
        rtrim: rtrim$1,
        findClosingBracket: findClosingBracket$1,
        checkSanitizeDeprecation: checkSanitizeDeprecation$1,
        repeatString: repeatString$1
      };
    
      var defaults$4 = defaults$5.exports.defaults;
      var rtrim = helpers.rtrim,
          splitCells = helpers.splitCells,
          _escape = helpers.escape,
          findClosingBracket = helpers.findClosingBracket;
    
      function outputLink(cap, link, raw) {
        var href = link.href;
        var title = link.title ? _escape(link.title) : null;
        var text = cap[1].replace(/\\([\[\]])/g, '$1');
    
        if (cap[0].charAt(0) !== '!') {
          return {
            type: 'link',
            raw: raw,
            href: href,
            title: title,
            text: text
          };
        } else {
          return {
            type: 'image',
            raw: raw,
            href: href,
            title: title,
            text: _escape(text)
          };
        }
      }
    
      function indentCodeCompensation(raw, text) {
        var matchIndentToCode = raw.match(/^(\s+)(?:```)/);
    
        if (matchIndentToCode === null) {
          return text;
        }
    
        var indentToCode = matchIndentToCode[1];
        return text.split('\n').map(function (node) {
          var matchIndentInNode = node.match(/^\s+/);
    
          if (matchIndentInNode === null) {
            return node;
          }
    
          var indentInNode = matchIndentInNode[0];
    
          if (indentInNode.length >= indentToCode.length) {
            return node.slice(indentToCode.length);
          }
    
          return node;
        }).join('\n');
      }
      /**
       * Tokenizer
       */
    
    
      var Tokenizer_1 = /*#__PURE__*/function () {
        function Tokenizer(options) {
          this.options = options || defaults$4;
        }
    
        var _proto = Tokenizer.prototype;
    
        _proto.space = function space(src) {
          var cap = this.rules.block.newline.exec(src);
    
          if (cap) {
            if (cap[0].length > 1) {
              return {
                type: 'space',
                raw: cap[0]
              };
            }
    
            return {
              raw: '\n'
            };
          }
        };
    
        _proto.code = function code(src) {
          var cap = this.rules.block.code.exec(src);
    
          if (cap) {
            var text = cap[0].replace(/^ {1,4}/gm, '');
            return {
              type: 'code',
              raw: cap[0],
              codeBlockStyle: 'indented',
              text: !this.options.pedantic ? rtrim(text, '\n') : text
            };
          }
        };
    
        _proto.fences = function fences(src) {
          var cap = this.rules.block.fences.exec(src);
    
          if (cap) {
            var raw = cap[0];
            var text = indentCodeCompensation(raw, cap[3] || '');
            return {
              type: 'code',
              raw: raw,
              lang: cap[2] ? cap[2].trim() : cap[2],
              text: text
            };
          }
        };
    
        _proto.heading = function heading(src) {
          var cap = this.rules.block.heading.exec(src);
    
          if (cap) {
            var text = cap[2].trim(); // remove trailing #s
    
            if (/#$/.test(text)) {
              var trimmed = rtrim(text, '#');
    
              if (this.options.pedantic) {
                text = trimmed.trim();
              } else if (!trimmed || / $/.test(trimmed)) {
                // CommonMark requires space before trailing #s
                text = trimmed.trim();
              }
            }
    
            return {
              type: 'heading',
              raw: cap[0],
              depth: cap[1].length,
              text: text
            };
          }
        };
    
        _proto.nptable = function nptable(src) {
          var cap = this.rules.block.nptable.exec(src);
    
          if (cap) {
            var item = {
              type: 'table',
              header: splitCells(cap[1].replace(/^ *| *\| *$/g, '')),
              align: cap[2].replace(/^ *|\| *$/g, '').split(/ *\| */),
              cells: cap[3] ? cap[3].replace(/\n$/, '').split('\n') : [],
              raw: cap[0]
            };
    
            if (item.header.length === item.align.length) {
              var l = item.align.length;
              var i;
    
              for (i = 0; i < l; i++) {
                if (/^ *-+: *$/.test(item.align[i])) {
                  item.align[i] = 'right';
                } else if (/^ *:-+: *$/.test(item.align[i])) {
                  item.align[i] = 'center';
                } else if (/^ *:-+ *$/.test(item.align[i])) {
                  item.align[i] = 'left';
                } else {
                  item.align[i] = null;
                }
              }
    
              l = item.cells.length;
    
              for (i = 0; i < l; i++) {
                item.cells[i] = splitCells(item.cells[i], item.header.length);
              }
    
              return item;
            }
          }
        };
    
        _proto.hr = function hr(src) {
          var cap = this.rules.block.hr.exec(src);
    
          if (cap) {
            return {
              type: 'hr',
              raw: cap[0]
            };
          }
        };
    
        _proto.blockquote = function blockquote(src) {
          var cap = this.rules.block.blockquote.exec(src);
    
          if (cap) {
            var text = cap[0].replace(/^ *> ?/gm, '');
            return {
              type: 'blockquote',
              raw: cap[0],
              text: text
            };
          }
        };
    
        _proto.list = function list(src) {
          var cap = this.rules.block.list.exec(src);
    
          if (cap) {
            var raw = cap[0];
            var bull = cap[2];
            var isordered = bull.length > 1;
            var list = {
              type: 'list',
              raw: raw,
              ordered: isordered,
              start: isordered ? +bull.slice(0, -1) : '',
              loose: false,
              items: []
            }; // Get each top-level item.
    
            var itemMatch = cap[0].match(this.rules.block.item);
            var next = false,
                item,
                space,
                bcurr,
                bnext,
                addBack,
                loose,
                istask,
                ischecked,
                endMatch;
            var l = itemMatch.length;
            bcurr = this.rules.block.listItemStart.exec(itemMatch[0]);
    
            for (var i = 0; i < l; i++) {
              item = itemMatch[i];
              raw = item;
    
              if (!this.options.pedantic) {
                // Determine if current item contains the end of the list
                endMatch = item.match(new RegExp('\\n\\s*\\n {0,' + (bcurr[0].length - 1) + '}\\S'));
    
                if (endMatch) {
                  addBack = item.length - endMatch.index + itemMatch.slice(i + 1).join('\n').length;
                  list.raw = list.raw.substring(0, list.raw.length - addBack);
                  item = item.substring(0, endMatch.index);
                  raw = item;
                  l = i + 1;
                }
              } // Determine whether the next list item belongs here.
              // Backpedal if it does not belong in this list.
    
    
              if (i !== l - 1) {
                bnext = this.rules.block.listItemStart.exec(itemMatch[i + 1]);
    
                if (!this.options.pedantic ? bnext[1].length >= bcurr[0].length || bnext[1].length > 3 : bnext[1].length > bcurr[1].length) {
                  // nested list or continuation
                  itemMatch.splice(i, 2, itemMatch[i] + (!this.options.pedantic && bnext[1].length < bcurr[0].length && !itemMatch[i].match(/\n$/) ? '' : '\n') + itemMatch[i + 1]);
                  i--;
                  l--;
                  continue;
                } else if ( // different bullet style
                !this.options.pedantic || this.options.smartLists ? bnext[2][bnext[2].length - 1] !== bull[bull.length - 1] : isordered === (bnext[2].length === 1)) {
                  addBack = itemMatch.slice(i + 1).join('\n').length;
                  list.raw = list.raw.substring(0, list.raw.length - addBack);
                  i = l - 1;
                }
    
                bcurr = bnext;
              } // Remove the list item's bullet
              // so it is seen as the next token.
    
    
              space = item.length;
              item = item.replace(/^ *([*+-]|\d+[.)]) ?/, ''); // Outdent whatever the
              // list item contains. Hacky.
    
              if (~item.indexOf('\n ')) {
                space -= item.length;
                item = !this.options.pedantic ? item.replace(new RegExp('^ {1,' + space + '}', 'gm'), '') : item.replace(/^ {1,4}/gm, '');
              } // trim item newlines at end
    
    
              item = rtrim(item, '\n');
    
              if (i !== l - 1) {
                raw = raw + '\n';
              } // Determine whether item is loose or not.
              // Use: /(^|\n)(?! )[^\n]+\n\n(?!\s*$)/
              // for discount behavior.
    
    
              loose = next || /\n\n(?!\s*$)/.test(raw);
    
              if (i !== l - 1) {
                next = raw.slice(-2) === '\n\n';
                if (!loose) loose = next;
              }
    
              if (loose) {
                list.loose = true;
              } // Check for task list items
    
    
              if (this.options.gfm) {
                istask = /^\[[ xX]\] /.test(item);
                ischecked = undefined;
    
                if (istask) {
                  ischecked = item[1] !== ' ';
                  item = item.replace(/^\[[ xX]\] +/, '');
                }
              }
    
              list.items.push({
                type: 'list_item',
                raw: raw,
                task: istask,
                checked: ischecked,
                loose: loose,
                text: item
              });
            }
    
            return list;
          }
        };
    
        _proto.html = function html(src) {
          var cap = this.rules.block.html.exec(src);
    
          if (cap) {
            return {
              type: this.options.sanitize ? 'paragraph' : 'html',
              raw: cap[0],
              pre: !this.options.sanitizer && (cap[1] === 'pre' || cap[1] === 'script' || cap[1] === 'style'),
              text: this.options.sanitize ? this.options.sanitizer ? this.options.sanitizer(cap[0]) : _escape(cap[0]) : cap[0]
            };
          }
        };
    
        _proto.def = function def(src) {
          var cap = this.rules.block.def.exec(src);
    
          if (cap) {
            if (cap[3]) cap[3] = cap[3].substring(1, cap[3].length - 1);
            var tag = cap[1].toLowerCase().replace(/\s+/g, ' ');
            return {
              type: 'def',
              tag: tag,
              raw: cap[0],
              href: cap[2],
              title: cap[3]
            };
          }
        };
    
        _proto.table = function table(src) {
          var cap = this.rules.block.table.exec(src);
    
          if (cap) {
            var item = {
              type: 'table',
              header: splitCells(cap[1].replace(/^ *| *\| *$/g, '')),
              align: cap[2].replace(/^ *|\| *$/g, '').split(/ *\| */),
              cells: cap[3] ? cap[3].replace(/\n$/, '').split('\n') : []
            };
    
            if (item.header.length === item.align.length) {
              item.raw = cap[0];
              var l = item.align.length;
              var i;
    
              for (i = 0; i < l; i++) {
                if (/^ *-+: *$/.test(item.align[i])) {
                  item.align[i] = 'right';
                } else if (/^ *:-+: *$/.test(item.align[i])) {
                  item.align[i] = 'center';
                } else if (/^ *:-+ *$/.test(item.align[i])) {
                  item.align[i] = 'left';
                } else {
                  item.align[i] = null;
                }
              }
    
              l = item.cells.length;
    
              for (i = 0; i < l; i++) {
                item.cells[i] = splitCells(item.cells[i].replace(/^ *\| *| *\| *$/g, ''), item.header.length);
              }
    
              return item;
            }
          }
        };
    
        _proto.lheading = function lheading(src) {
          var cap = this.rules.block.lheading.exec(src);
    
          if (cap) {
            return {
              type: 'heading',
              raw: cap[0],
              depth: cap[2].charAt(0) === '=' ? 1 : 2,
              text: cap[1]
            };
          }
        };
    
        _proto.paragraph = function paragraph(src) {
          var cap = this.rules.block.paragraph.exec(src);
    
          if (cap) {
            return {
              type: 'paragraph',
              raw: cap[0],
              text: cap[1].charAt(cap[1].length - 1) === '\n' ? cap[1].slice(0, -1) : cap[1]
            };
          }
        };
    
        _proto.text = function text(src) {
          var cap = this.rules.block.text.exec(src);
    
          if (cap) {
            return {
              type: 'text',
              raw: cap[0],
              text: cap[0]
            };
          }
        };
    
        _proto.escape = function escape(src) {
          var cap = this.rules.inline.escape.exec(src);
    
          if (cap) {
            return {
              type: 'escape',
              raw: cap[0],
              text: _escape(cap[1])
            };
          }
        };
    
        _proto.tag = function tag(src, inLink, inRawBlock) {
          var cap = this.rules.inline.tag.exec(src);
    
          if (cap) {
            if (!inLink && /^<a /i.test(cap[0])) {
              inLink = true;
            } else if (inLink && /^<\/a>/i.test(cap[0])) {
              inLink = false;
            }
    
            if (!inRawBlock && /^<(pre|code|kbd|script)(\s|>)/i.test(cap[0])) {
              inRawBlock = true;
            } else if (inRawBlock && /^<\/(pre|code|kbd|script)(\s|>)/i.test(cap[0])) {
              inRawBlock = false;
            }
    
            return {
              type: this.options.sanitize ? 'text' : 'html',
              raw: cap[0],
              inLink: inLink,
              inRawBlock: inRawBlock,
              text: this.options.sanitize ? this.options.sanitizer ? this.options.sanitizer(cap[0]) : _escape(cap[0]) : cap[0]
            };
          }
        };
    
        _proto.link = function link(src) {
          var cap = this.rules.inline.link.exec(src);
    
          if (cap) {
            var trimmedUrl = cap[2].trim();
    
            if (!this.options.pedantic && /^</.test(trimmedUrl)) {
              // commonmark requires matching angle brackets
              if (!/>$/.test(trimmedUrl)) {
                return;
              } // ending angle bracket cannot be escaped
    
    
              var rtrimSlash = rtrim(trimmedUrl.slice(0, -1), '\\');
    
              if ((trimmedUrl.length - rtrimSlash.length) % 2 === 0) {
                return;
              }
            } else {
              // find closing parenthesis
              var lastParenIndex = findClosingBracket(cap[2], '()');
    
              if (lastParenIndex > -1) {
                var start = cap[0].indexOf('!') === 0 ? 5 : 4;
                var linkLen = start + cap[1].length + lastParenIndex;
                cap[2] = cap[2].substring(0, lastParenIndex);
                cap[0] = cap[0].substring(0, linkLen).trim();
                cap[3] = '';
              }
            }
    
            var href = cap[2];
            var title = '';
    
            if (this.options.pedantic) {
              // split pedantic href and title
              var link = /^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(href);
    
              if (link) {
                href = link[1];
                title = link[3];
              }
            } else {
              title = cap[3] ? cap[3].slice(1, -1) : '';
            }
    
            href = href.trim();
    
            if (/^</.test(href)) {
              if (this.options.pedantic && !/>$/.test(trimmedUrl)) {
                // pedantic allows starting angle bracket without ending angle bracket
                href = href.slice(1);
              } else {
                href = href.slice(1, -1);
              }
            }
    
            return outputLink(cap, {
              href: href ? href.replace(this.rules.inline._escapes, '$1') : href,
              title: title ? title.replace(this.rules.inline._escapes, '$1') : title
            }, cap[0]);
          }
        };
    
        _proto.reflink = function reflink(src, links) {
          var cap;
    
          if ((cap = this.rules.inline.reflink.exec(src)) || (cap = this.rules.inline.nolink.exec(src))) {
            var link = (cap[2] || cap[1]).replace(/\s+/g, ' ');
            link = links[link.toLowerCase()];
    
            if (!link || !link.href) {
              var text = cap[0].charAt(0);
              return {
                type: 'text',
                raw: text,
                text: text
              };
            }
    
            return outputLink(cap, link, cap[0]);
          }
        };
    
        _proto.emStrong = function emStrong(src, maskedSrc, prevChar) {
          if (prevChar === void 0) {
            prevChar = '';
          }
    
          var match = this.rules.inline.emStrong.lDelim.exec(src);
          if (!match) return; // _ can't be between two alphanumerics. \p{L}\p{N} includes non-english alphabet/numbers as well
    
          if (match[3] && prevChar.match(/(?:[0-9A-Za-z\xAA\xB2\xB3\xB5\xB9\xBA\xBC-\xBE\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u0660-\u0669\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07C0-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08C7\u0904-\u0939\u093D\u0950\u0958-\u0961\u0966-\u096F\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09E6-\u09F1\u09F4-\u09F9\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A66-\u0A6F\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AE6-\u0AEF\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B66-\u0B6F\u0B71-\u0B77\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0BE6-\u0BF2\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C66-\u0C6F\u0C78-\u0C7E\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CE6-\u0CEF\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D58-\u0D61\u0D66-\u0D78\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DE6-\u0DEF\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F20-\u0F33\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F-\u1049\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u1090-\u1099\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1369-\u137C\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u17E0-\u17E9\u17F0-\u17F9\u1810-\u1819\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A16\u1A20-\u1A54\u1A80-\u1A89\u1A90-\u1A99\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B50-\u1B59\u1B83-\u1BA0\u1BAE-\u1BE5\u1C00-\u1C23\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2070\u2071\u2074-\u2079\u207F-\u2089\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2150-\u2189\u2460-\u249B\u24EA-\u24FF\u2776-\u2793\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2CFD\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u3192-\u3195\u31A0-\u31BF\u31F0-\u31FF\u3220-\u3229\u3248-\u324F\u3251-\u325F\u3280-\u3289\u32B1-\u32BF\u3400-\u4DBF\u4E00-\u9FFC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7BF\uA7C2-\uA7CA\uA7F5-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA830-\uA835\uA840-\uA873\uA882-\uA8B3\uA8D0-\uA8D9\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA900-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF-\uA9D9\uA9E0-\uA9E4\uA9E6-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA50-\uAA59\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD07-\uDD33\uDD40-\uDD78\uDD8A\uDD8B\uDE80-\uDE9C\uDEA0-\uDED0\uDEE1-\uDEFB\uDF00-\uDF23\uDF2D-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC58-\uDC76\uDC79-\uDC9E\uDCA7-\uDCAF\uDCE0-\uDCF2\uDCF4\uDCF5\uDCFB-\uDD1B\uDD20-\uDD39\uDD80-\uDDB7\uDDBC-\uDDCF\uDDD2-\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE40-\uDE48\uDE60-\uDE7E\uDE80-\uDE9F\uDEC0-\uDEC7\uDEC9-\uDEE4\uDEEB-\uDEEF\uDF00-\uDF35\uDF40-\uDF55\uDF58-\uDF72\uDF78-\uDF91\uDFA9-\uDFAF]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDCFA-\uDD23\uDD30-\uDD39\uDE60-\uDE7E\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF27\uDF30-\uDF45\uDF51-\uDF54\uDFB0-\uDFCB\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC52-\uDC6F\uDC83-\uDCAF\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD03-\uDD26\uDD36-\uDD3F\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDD0-\uDDDA\uDDDC\uDDE1-\uDDF4\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDEF0-\uDEF9\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC50-\uDC59\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE50-\uDE59\uDE80-\uDEAA\uDEB8\uDEC0-\uDEC9\uDF00-\uDF1A\uDF30-\uDF3B]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCF2\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDD50-\uDD59\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC50-\uDC6C\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD50-\uDD59\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDDA0-\uDDA9\uDEE0-\uDEF2\uDFB0\uDFC0-\uDFD4]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF50-\uDF59\uDF5B-\uDF61\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE96\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82C[\uDC00-\uDD1E\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD834[\uDEE0-\uDEF3\uDF60-\uDF78]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD40-\uDD49\uDD4E\uDEC0-\uDEEB\uDEF0-\uDEF9]|\uD83A[\uDC00-\uDCC4\uDCC7-\uDCCF\uDD00-\uDD43\uDD4B\uDD50-\uDD59]|\uD83B[\uDC71-\uDCAB\uDCAD-\uDCAF\uDCB1-\uDCB4\uDD01-\uDD2D\uDD2F-\uDD3D\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD83C[\uDD00-\uDD0C]|\uD83E[\uDFF0-\uDFF9]|\uD869[\uDC00-\uDEDD\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])/)) return;
          var nextChar = match[1] || match[2] || '';
    
          if (!nextChar || nextChar && (prevChar === '' || this.rules.inline.punctuation.exec(prevChar))) {
            var lLength = match[0].length - 1;
            var rDelim,
                rLength,
                delimTotal = lLength,
                midDelimTotal = 0;
            var endReg = match[0][0] === '*' ? this.rules.inline.emStrong.rDelimAst : this.rules.inline.emStrong.rDelimUnd;
            endReg.lastIndex = 0; // Clip maskedSrc to same section of string as src (move to lexer?)
    
            maskedSrc = maskedSrc.slice(-1 * src.length + lLength);
    
            while ((match = endReg.exec(maskedSrc)) != null) {
              rDelim = match[1] || match[2] || match[3] || match[4] || match[5] || match[6];
              if (!rDelim) continue; // skip single * in __abc*abc__
    
              rLength = rDelim.length;
    
              if (match[3] || match[4]) {
                // found another Left Delim
                delimTotal += rLength;
                continue;
              } else if (match[5] || match[6]) {
                // either Left or Right Delim
                if (lLength % 3 && !((lLength + rLength) % 3)) {
                  midDelimTotal += rLength;
                  continue; // CommonMark Emphasis Rules 9-10
                }
              }
    
              delimTotal -= rLength;
              if (delimTotal > 0) continue; // Haven't found enough closing delimiters
              // Remove extra characters. *a*** -> *a*
    
              rLength = Math.min(rLength, rLength + delimTotal + midDelimTotal); // Create `em` if smallest delimiter has odd char count. *a***
    
              if (Math.min(lLength, rLength) % 2) {
                return {
                  type: 'em',
                  raw: src.slice(0, lLength + match.index + rLength + 1),
                  text: src.slice(1, lLength + match.index + rLength)
                };
              } // Create 'strong' if smallest delimiter has even char count. **a***
    
    
              return {
                type: 'strong',
                raw: src.slice(0, lLength + match.index + rLength + 1),
                text: src.slice(2, lLength + match.index + rLength - 1)
              };
            }
          }
        };
    
        _proto.codespan = function codespan(src) {
          var cap = this.rules.inline.code.exec(src);
    
          if (cap) {
            var text = cap[2].replace(/\n/g, ' ');
            var hasNonSpaceChars = /[^ ]/.test(text);
            var hasSpaceCharsOnBothEnds = /^ /.test(text) && / $/.test(text);
    
            if (hasNonSpaceChars && hasSpaceCharsOnBothEnds) {
              text = text.substring(1, text.length - 1);
            }
    
            text = _escape(text, true);
            return {
              type: 'codespan',
              raw: cap[0],
              text: text
            };
          }
        };
    
        _proto.br = function br(src) {
          var cap = this.rules.inline.br.exec(src);
    
          if (cap) {
            return {
              type: 'br',
              raw: cap[0]
            };
          }
        };
    
        _proto.del = function del(src) {
          var cap = this.rules.inline.del.exec(src);
    
          if (cap) {
            return {
              type: 'del',
              raw: cap[0],
              text: cap[2]
            };
          }
        };
    
        _proto.autolink = function autolink(src, mangle) {
          var cap = this.rules.inline.autolink.exec(src);
    
          if (cap) {
            var text, href;
    
            if (cap[2] === '@') {
              text = _escape(this.options.mangle ? mangle(cap[1]) : cap[1]);
              href = 'mailto:' + text;
            } else {
              text = _escape(cap[1]);
              href = text;
            }
    
            return {
              type: 'link',
              raw: cap[0],
              text: text,
              href: href,
              tokens: [{
                type: 'text',
                raw: text,
                text: text
              }]
            };
          }
        };
    
        _proto.url = function url(src, mangle) {
          var cap;
    
          if (cap = this.rules.inline.url.exec(src)) {
            var text, href;
    
            if (cap[2] === '@') {
              text = _escape(this.options.mangle ? mangle(cap[0]) : cap[0]);
              href = 'mailto:' + text;
            } else {
              // do extended autolink path validation
              var prevCapZero;
    
              do {
                prevCapZero = cap[0];
                cap[0] = this.rules.inline._backpedal.exec(cap[0])[0];
              } while (prevCapZero !== cap[0]);
    
              text = _escape(cap[0]);
    
              if (cap[1] === 'www.') {
                href = 'http://' + text;
              } else {
                href = text;
              }
            }
    
            return {
              type: 'link',
              raw: cap[0],
              text: text,
              href: href,
              tokens: [{
                type: 'text',
                raw: text,
                text: text
              }]
            };
          }
        };
    
        _proto.inlineText = function inlineText(src, inRawBlock, smartypants) {
          var cap = this.rules.inline.text.exec(src);
    
          if (cap) {
            var text;
    
            if (inRawBlock) {
              text = this.options.sanitize ? this.options.sanitizer ? this.options.sanitizer(cap[0]) : _escape(cap[0]) : cap[0];
            } else {
              text = _escape(this.options.smartypants ? smartypants(cap[0]) : cap[0]);
            }
    
            return {
              type: 'text',
              raw: cap[0],
              text: text
            };
          }
        };
    
        return Tokenizer;
      }();
    
      var noopTest = helpers.noopTest,
          edit = helpers.edit,
          merge$1 = helpers.merge;
      /**
       * Block-Level Grammar
       */
    
      var block$1 = {
        newline: /^(?: *(?:\n|$))+/,
        code: /^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,
        fences: /^ {0,3}(`{3,}(?=[^`\n]*\n)|~{3,})([^\n]*)\n(?:|([\s\S]*?)\n)(?: {0,3}\1[~`]* *(?:\n+|$)|$)/,
        hr: /^ {0,3}((?:- *){3,}|(?:_ *){3,}|(?:\* *){3,})(?:\n+|$)/,
        heading: /^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,
        blockquote: /^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,
        list: /^( {0,3})(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?! {0,3}bull )\n*|\s*$)/,
        html: '^ {0,3}(?:' // optional indentation
        + '<(script|pre|style)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)' // (1)
        + '|comment[^\\n]*(\\n+|$)' // (2)
        + '|<\\?[\\s\\S]*?(?:\\?>\\n*|$)' // (3)
        + '|<![A-Z][\\s\\S]*?(?:>\\n*|$)' // (4)
        + '|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)' // (5)
        + '|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n *)+\\n|$)' // (6)
        + '|<(?!script|pre|style)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)' // (7) open tag
        + '|</(?!script|pre|style)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)' // (7) closing tag
        + ')',
        def: /^ {0,3}\[(label)\]: *\n? *<?([^\s>]+)>?(?:(?: +\n? *| *\n *)(title))? *(?:\n+|$)/,
        nptable: noopTest,
        table: noopTest,
        lheading: /^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,
        // regex template, placeholders will be replaced according to different paragraph
        // interruption rules of commonmark and the original markdown spec:
        _paragraph: /^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html| +\n)[^\n]+)*)/,
        text: /^[^\n]+/
      };
      block$1._label = /(?!\s*\])(?:\\[\[\]]|[^\[\]])+/;
      block$1._title = /(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/;
      block$1.def = edit(block$1.def).replace('label', block$1._label).replace('title', block$1._title).getRegex();
      block$1.bullet = /(?:[*+-]|\d{1,9}[.)])/;
      block$1.item = /^( *)(bull) ?[^\n]*(?:\n(?! *bull ?)[^\n]*)*/;
      block$1.item = edit(block$1.item, 'gm').replace(/bull/g, block$1.bullet).getRegex();
      block$1.listItemStart = edit(/^( *)(bull) */).replace('bull', block$1.bullet).getRegex();
      block$1.list = edit(block$1.list).replace(/bull/g, block$1.bullet).replace('hr', '\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))').replace('def', '\\n+(?=' + block$1.def.source + ')').getRegex();
      block$1._tag = 'address|article|aside|base|basefont|blockquote|body|caption' + '|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption' + '|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe' + '|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option' + '|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr' + '|track|ul';
      block$1._comment = /<!--(?!-?>)[\s\S]*?(?:-->|$)/;
      block$1.html = edit(block$1.html, 'i').replace('comment', block$1._comment).replace('tag', block$1._tag).replace('attribute', / +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex();
      block$1.paragraph = edit(block$1._paragraph).replace('hr', block$1.hr).replace('heading', ' {0,3}#{1,6} ').replace('|lheading', '') // setex headings don't interrupt commonmark paragraphs
      .replace('blockquote', ' {0,3}>').replace('fences', ' {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n').replace('list', ' {0,3}(?:[*+-]|1[.)]) ') // only lists starting from 1 can interrupt
      .replace('html', '</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|!--)').replace('tag', block$1._tag) // pars can be interrupted by type (6) html blocks
      .getRegex();
      block$1.blockquote = edit(block$1.blockquote).replace('paragraph', block$1.paragraph).getRegex();
      /**
       * Normal Block Grammar
       */
    
      block$1.normal = merge$1({}, block$1);
      /**
       * GFM Block Grammar
       */
    
      block$1.gfm = merge$1({}, block$1.normal, {
        nptable: '^ *([^|\\n ].*\\|.*)\\n' // Header
        + ' {0,3}([-:]+ *\\|[-| :]*)' // Align
        + '(?:\\n((?:(?!\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)',
        // Cells
        table: '^ *\\|(.+)\\n' // Header
        + ' {0,3}\\|?( *[-:]+[-| :]*)' // Align
        + '(?:\\n *((?:(?!\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)' // Cells
    
      });
      block$1.gfm.nptable = edit(block$1.gfm.nptable).replace('hr', block$1.hr).replace('heading', ' {0,3}#{1,6} ').replace('blockquote', ' {0,3}>').replace('code', ' {4}[^\\n]').replace('fences', ' {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n').replace('list', ' {0,3}(?:[*+-]|1[.)]) ') // only lists starting from 1 can interrupt
      .replace('html', '</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|!--)').replace('tag', block$1._tag) // tables can be interrupted by type (6) html blocks
      .getRegex();
      block$1.gfm.table = edit(block$1.gfm.table).replace('hr', block$1.hr).replace('heading', ' {0,3}#{1,6} ').replace('blockquote', ' {0,3}>').replace('code', ' {4}[^\\n]').replace('fences', ' {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n').replace('list', ' {0,3}(?:[*+-]|1[.)]) ') // only lists starting from 1 can interrupt
      .replace('html', '</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|!--)').replace('tag', block$1._tag) // tables can be interrupted by type (6) html blocks
      .getRegex();
      /**
       * Pedantic grammar (original John Gruber's loose markdown specification)
       */
    
      block$1.pedantic = merge$1({}, block$1.normal, {
        html: edit('^ *(?:comment *(?:\\n|\\s*$)' + '|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)' // closed tag
        + '|<tag(?:"[^"]*"|\'[^\']*\'|\\s[^\'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))').replace('comment', block$1._comment).replace(/tag/g, '(?!(?:' + 'a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub' + '|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)' + '\\b)\\w+(?!:|[^\\w\\s@]*@)\\b').getRegex(),
        def: /^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,
        heading: /^(#{1,6})(.*)(?:\n+|$)/,
        fences: noopTest,
        // fences not supported
        paragraph: edit(block$1.normal._paragraph).replace('hr', block$1.hr).replace('heading', ' *#{1,6} *[^\n]').replace('lheading', block$1.lheading).replace('blockquote', ' {0,3}>').replace('|fences', '').replace('|list', '').replace('|html', '').getRegex()
      });
      /**
       * Inline-Level Grammar
       */
    
      var inline$1 = {
        escape: /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,
        autolink: /^<(scheme:[^\s\x00-\x1f<>]*|email)>/,
        url: noopTest,
        tag: '^comment' + '|^</[a-zA-Z][\\w:-]*\\s*>' // self-closing tag
        + '|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>' // open tag
        + '|^<\\?[\\s\\S]*?\\?>' // processing instruction, e.g. <?php ?>
        + '|^<![a-zA-Z]+\\s[\\s\\S]*?>' // declaration, e.g. <!DOCTYPE html>
        + '|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>',
        // CDATA section
        link: /^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,
        reflink: /^!?\[(label)\]\[(?!\s*\])((?:\\[\[\]]?|[^\[\]\\])+)\]/,
        nolink: /^!?\[(?!\s*\])((?:\[[^\[\]]*\]|\\[\[\]]|[^\[\]])*)\](?:\[\])?/,
        reflinkSearch: 'reflink|nolink(?!\\()',
        emStrong: {
          lDelim: /^(?:\*+(?:([punct_])|[^\s*]))|^_+(?:([punct*])|([^\s_]))/,
          //        (1) and (2) can only be a Right Delimiter. (3) and (4) can only be Left.  (5) and (6) can be either Left or Right.
          //        () Skip other delimiter (1) #***                   (2) a***#, a***                   (3) #***a, ***a                 (4) ***#              (5) #***#                 (6) a***a
          rDelimAst: /\_\_[^_*]*?\*[^_*]*?\_\_|[punct_](\*+)(?=[\s]|$)|[^punct*_\s](\*+)(?=[punct_\s]|$)|[punct_\s](\*+)(?=[^punct*_\s])|[\s](\*+)(?=[punct_])|[punct_](\*+)(?=[punct_])|[^punct*_\s](\*+)(?=[^punct*_\s])/,
          rDelimUnd: /\*\*[^_*]*?\_[^_*]*?\*\*|[punct*](\_+)(?=[\s]|$)|[^punct*_\s](\_+)(?=[punct*\s]|$)|[punct*\s](\_+)(?=[^punct*_\s])|[\s](\_+)(?=[punct*])|[punct*](\_+)(?=[punct*])/ // ^- Not allowed for _
    
        },
        code: /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,
        br: /^( {2,}|\\)\n(?!\s*$)/,
        del: noopTest,
        text: /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,
        punctuation: /^([\spunctuation])/
      }; // list of punctuation marks from CommonMark spec
      // without * and _ to handle the different emphasis markers * and _
    
      inline$1._punctuation = '!"#$%&\'()+\\-.,/:;<=>?@\\[\\]`^{|}~';
      inline$1.punctuation = edit(inline$1.punctuation).replace(/punctuation/g, inline$1._punctuation).getRegex(); // sequences em should skip over [title](link), `code`, <html>
    
      inline$1.blockSkip = /\[[^\]]*?\]\([^\)]*?\)|`[^`]*?`|<[^>]*?>/g;
      inline$1.escapedEmSt = /\\\*|\\_/g;
      inline$1._comment = edit(block$1._comment).replace('(?:-->|$)', '-->').getRegex();
      inline$1.emStrong.lDelim = edit(inline$1.emStrong.lDelim).replace(/punct/g, inline$1._punctuation).getRegex();
      inline$1.emStrong.rDelimAst = edit(inline$1.emStrong.rDelimAst, 'g').replace(/punct/g, inline$1._punctuation).getRegex();
      inline$1.emStrong.rDelimUnd = edit(inline$1.emStrong.rDelimUnd, 'g').replace(/punct/g, inline$1._punctuation).getRegex();
      inline$1._escapes = /\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g;
      inline$1._scheme = /[a-zA-Z][a-zA-Z0-9+.-]{1,31}/;
      inline$1._email = /[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/;
      inline$1.autolink = edit(inline$1.autolink).replace('scheme', inline$1._scheme).replace('email', inline$1._email).getRegex();
      inline$1._attribute = /\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/;
      inline$1.tag = edit(inline$1.tag).replace('comment', inline$1._comment).replace('attribute', inline$1._attribute).getRegex();
      inline$1._label = /(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/;
      inline$1._href = /<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/;
      inline$1._title = /"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/;
      inline$1.link = edit(inline$1.link).replace('label', inline$1._label).replace('href', inline$1._href).replace('title', inline$1._title).getRegex();
      inline$1.reflink = edit(inline$1.reflink).replace('label', inline$1._label).getRegex();
      inline$1.reflinkSearch = edit(inline$1.reflinkSearch, 'g').replace('reflink', inline$1.reflink).replace('nolink', inline$1.nolink).getRegex();
      /**
       * Normal Inline Grammar
       */
    
      inline$1.normal = merge$1({}, inline$1);
      /**
       * Pedantic Inline Grammar
       */
    
      inline$1.pedantic = merge$1({}, inline$1.normal, {
        strong: {
          start: /^__|\*\*/,
          middle: /^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,
          endAst: /\*\*(?!\*)/g,
          endUnd: /__(?!_)/g
        },
        em: {
          start: /^_|\*/,
          middle: /^()\*(?=\S)([\s\S]*?\S)\*(?!\*)|^_(?=\S)([\s\S]*?\S)_(?!_)/,
          endAst: /\*(?!\*)/g,
          endUnd: /_(?!_)/g
        },
        link: edit(/^!?\[(label)\]\((.*?)\)/).replace('label', inline$1._label).getRegex(),
        reflink: edit(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace('label', inline$1._label).getRegex()
      });
      /**
       * GFM Inline Grammar
       */
    
      inline$1.gfm = merge$1({}, inline$1.normal, {
        escape: edit(inline$1.escape).replace('])', '~|])').getRegex(),
        _extended_email: /[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,
        url: /^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,
        _backpedal: /(?:[^?!.,:;*_~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/,
        del: /^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,
        text: /^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/
      });
      inline$1.gfm.url = edit(inline$1.gfm.url, 'i').replace('email', inline$1.gfm._extended_email).getRegex();
      /**
       * GFM + Line Breaks Inline Grammar
       */
    
      inline$1.breaks = merge$1({}, inline$1.gfm, {
        br: edit(inline$1.br).replace('{2,}', '*').getRegex(),
        text: edit(inline$1.gfm.text).replace('\\b_', '\\b_| {2,}\\n').replace(/\{2,\}/g, '*').getRegex()
      });
      var rules = {
        block: block$1,
        inline: inline$1
      };
    
      var Tokenizer$1 = Tokenizer_1;
      var defaults$3 = defaults$5.exports.defaults;
      var block = rules.block,
          inline = rules.inline;
      var repeatString = helpers.repeatString;
      /**
       * smartypants text replacement
       */
    
      function smartypants(text) {
        return text // em-dashes
        .replace(/---/g, "\u2014") // en-dashes
        .replace(/--/g, "\u2013") // opening singles
        .replace(/(^|[-\u2014/(\[{"\s])'/g, "$1\u2018") // closing singles & apostrophes
        .replace(/'/g, "\u2019") // opening doubles
        .replace(/(^|[-\u2014/(\[{\u2018\s])"/g, "$1\u201C") // closing doubles
        .replace(/"/g, "\u201D") // ellipses
        .replace(/\.{3}/g, "\u2026");
      }
      /**
       * mangle email addresses
       */
    
    
      function mangle(text) {
        var out = '',
            i,
            ch;
        var l = text.length;
    
        for (i = 0; i < l; i++) {
          ch = text.charCodeAt(i);
    
          if (Math.random() > 0.5) {
            ch = 'x' + ch.toString(16);
          }
    
          out += '&#' + ch + ';';
        }
    
        return out;
      }
      /**
       * Block Lexer
       */
    
    
      var Lexer_1 = /*#__PURE__*/function () {
        function Lexer(options) {
          this.tokens = [];
          this.tokens.links = Object.create(null);
          this.options = options || defaults$3;
          this.options.tokenizer = this.options.tokenizer || new Tokenizer$1();
          this.tokenizer = this.options.tokenizer;
          this.tokenizer.options = this.options;
          var rules = {
            block: block.normal,
            inline: inline.normal
          };
    
          if (this.options.pedantic) {
            rules.block = block.pedantic;
            rules.inline = inline.pedantic;
          } else if (this.options.gfm) {
            rules.block = block.gfm;
    
            if (this.options.breaks) {
              rules.inline = inline.breaks;
            } else {
              rules.inline = inline.gfm;
            }
          }
    
          this.tokenizer.rules = rules;
        }
        /**
         * Expose Rules
         */
    
    
        /**
         * Static Lex Method
         */
        Lexer.lex = function lex(src, options) {
          var lexer = new Lexer(options);
          return lexer.lex(src);
        }
        /**
         * Static Lex Inline Method
         */
        ;
    
        Lexer.lexInline = function lexInline(src, options) {
          var lexer = new Lexer(options);
          return lexer.inlineTokens(src);
        }
        /**
         * Preprocessing
         */
        ;
    
        var _proto = Lexer.prototype;
    
        _proto.lex = function lex(src) {
          src = src.replace(/\r\n|\r/g, '\n').replace(/\t/g, '    ');
          this.blockTokens(src, this.tokens, true);
          this.inline(this.tokens);
          return this.tokens;
        }
        /**
         * Lexing
         */
        ;
    
        _proto.blockTokens = function blockTokens(src, tokens, top) {
          if (tokens === void 0) {
            tokens = [];
          }
    
          if (top === void 0) {
            top = true;
          }
    
          if (this.options.pedantic) {
            src = src.replace(/^ +$/gm, '');
          }
    
          var token, i, l, lastToken;
    
          while (src) {
            // newline
            if (token = this.tokenizer.space(src)) {
              src = src.substring(token.raw.length);
    
              if (token.type) {
                tokens.push(token);
              }
    
              continue;
            } // code
    
    
            if (token = this.tokenizer.code(src)) {
              src = src.substring(token.raw.length);
              lastToken = tokens[tokens.length - 1]; // An indented code block cannot interrupt a paragraph.
    
              if (lastToken && lastToken.type === 'paragraph') {
                lastToken.raw += '\n' + token.raw;
                lastToken.text += '\n' + token.text;
              } else {
                tokens.push(token);
              }
    
              continue;
            } // fences
    
    
            if (token = this.tokenizer.fences(src)) {
              src = src.substring(token.raw.length);
              tokens.push(token);
              continue;
            } // heading
    
    
            if (token = this.tokenizer.heading(src)) {
              src = src.substring(token.raw.length);
              tokens.push(token);
              continue;
            } // table no leading pipe (gfm)
    
    
            if (token = this.tokenizer.nptable(src)) {
              src = src.substring(token.raw.length);
              tokens.push(token);
              continue;
            } // hr
    
    
            if (token = this.tokenizer.hr(src)) {
              src = src.substring(token.raw.length);
              tokens.push(token);
              continue;
            } // blockquote
    
    
            if (token = this.tokenizer.blockquote(src)) {
              src = src.substring(token.raw.length);
              token.tokens = this.blockTokens(token.text, [], top);
              tokens.push(token);
              continue;
            } // list
    
    
            if (token = this.tokenizer.list(src)) {
              src = src.substring(token.raw.length);
              l = token.items.length;
    
              for (i = 0; i < l; i++) {
                token.items[i].tokens = this.blockTokens(token.items[i].text, [], false);
              }
    
              tokens.push(token);
              continue;
            } // html
    
    
            if (token = this.tokenizer.html(src)) {
              src = src.substring(token.raw.length);
              tokens.push(token);
              continue;
            } // def
    
    
            if (top && (token = this.tokenizer.def(src))) {
              src = src.substring(token.raw.length);
    
              if (!this.tokens.links[token.tag]) {
                this.tokens.links[token.tag] = {
                  href: token.href,
                  title: token.title
                };
              }
    
              continue;
            } // table (gfm)
    
    
            if (token = this.tokenizer.table(src)) {
              src = src.substring(token.raw.length);
              tokens.push(token);
              continue;
            } // lheading
    
    
            if (token = this.tokenizer.lheading(src)) {
              src = src.substring(token.raw.length);
              tokens.push(token);
              continue;
            } // top-level paragraph
    
    
            if (top && (token = this.tokenizer.paragraph(src))) {
              src = src.substring(token.raw.length);
              tokens.push(token);
              continue;
            } // text
    
    
            if (token = this.tokenizer.text(src)) {
              src = src.substring(token.raw.length);
              lastToken = tokens[tokens.length - 1];
    
              if (lastToken && lastToken.type === 'text') {
                lastToken.raw += '\n' + token.raw;
                lastToken.text += '\n' + token.text;
              } else {
                tokens.push(token);
              }
    
              continue;
            }
    
            if (src) {
              var errMsg = 'Infinite loop on byte: ' + src.charCodeAt(0);
    
              if (this.options.silent) {
                console.error(errMsg);
                break;
              } else {
                throw new Error(errMsg);
              }
            }
          }
    
          return tokens;
        };
    
        _proto.inline = function inline(tokens) {
          var i, j, k, l2, row, token;
          var l = tokens.length;
    
          for (i = 0; i < l; i++) {
            token = tokens[i];
    
            switch (token.type) {
              case 'paragraph':
              case 'text':
              case 'heading':
                {
                  token.tokens = [];
                  this.inlineTokens(token.text, token.tokens);
                  break;
                }
    
              case 'table':
                {
                  token.tokens = {
                    header: [],
                    cells: []
                  }; // header
    
                  l2 = token.header.length;
    
                  for (j = 0; j < l2; j++) {
                    token.tokens.header[j] = [];
                    this.inlineTokens(token.header[j], token.tokens.header[j]);
                  } // cells
    
    
                  l2 = token.cells.length;
    
                  for (j = 0; j < l2; j++) {
                    row = token.cells[j];
                    token.tokens.cells[j] = [];
    
                    for (k = 0; k < row.length; k++) {
                      token.tokens.cells[j][k] = [];
                      this.inlineTokens(row[k], token.tokens.cells[j][k]);
                    }
                  }
    
                  break;
                }
    
              case 'blockquote':
                {
                  this.inline(token.tokens);
                  break;
                }
    
              case 'list':
                {
                  l2 = token.items.length;
    
                  for (j = 0; j < l2; j++) {
                    this.inline(token.items[j].tokens);
                  }
    
                  break;
                }
            }
          }
    
          return tokens;
        }
        /**
         * Lexing/Compiling
         */
        ;
    
        _proto.inlineTokens = function inlineTokens(src, tokens, inLink, inRawBlock) {
          if (tokens === void 0) {
            tokens = [];
          }
    
          if (inLink === void 0) {
            inLink = false;
          }
    
          if (inRawBlock === void 0) {
            inRawBlock = false;
          }
    
          var token, lastToken; // String with links masked to avoid interference with em and strong
    
          var maskedSrc = src;
          var match;
          var keepPrevChar, prevChar; // Mask out reflinks
    
          if (this.tokens.links) {
            var links = Object.keys(this.tokens.links);
    
            if (links.length > 0) {
              while ((match = this.tokenizer.rules.inline.reflinkSearch.exec(maskedSrc)) != null) {
                if (links.includes(match[0].slice(match[0].lastIndexOf('[') + 1, -1))) {
                  maskedSrc = maskedSrc.slice(0, match.index) + '[' + repeatString('a', match[0].length - 2) + ']' + maskedSrc.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex);
                }
              }
            }
          } // Mask out other blocks
    
    
          while ((match = this.tokenizer.rules.inline.blockSkip.exec(maskedSrc)) != null) {
            maskedSrc = maskedSrc.slice(0, match.index) + '[' + repeatString('a', match[0].length - 2) + ']' + maskedSrc.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);
          } // Mask out escaped em & strong delimiters
    
    
          while ((match = this.tokenizer.rules.inline.escapedEmSt.exec(maskedSrc)) != null) {
            maskedSrc = maskedSrc.slice(0, match.index) + '++' + maskedSrc.slice(this.tokenizer.rules.inline.escapedEmSt.lastIndex);
          }
    
          while (src) {
            if (!keepPrevChar) {
              prevChar = '';
            }
    
            keepPrevChar = false; // escape
    
            if (token = this.tokenizer.escape(src)) {
              src = src.substring(token.raw.length);
              tokens.push(token);
              continue;
            } // tag
    
    
            if (token = this.tokenizer.tag(src, inLink, inRawBlock)) {
              src = src.substring(token.raw.length);
              inLink = token.inLink;
              inRawBlock = token.inRawBlock;
              var _lastToken = tokens[tokens.length - 1];
    
              if (_lastToken && token.type === 'text' && _lastToken.type === 'text') {
                _lastToken.raw += token.raw;
                _lastToken.text += token.text;
              } else {
                tokens.push(token);
              }
    
              continue;
            } // link
    
    
            if (token = this.tokenizer.link(src)) {
              src = src.substring(token.raw.length);
    
              if (token.type === 'link') {
                token.tokens = this.inlineTokens(token.text, [], true, inRawBlock);
              }
    
              tokens.push(token);
              continue;
            } // reflink, nolink
    
    
            if (token = this.tokenizer.reflink(src, this.tokens.links)) {
              src = src.substring(token.raw.length);
              var _lastToken2 = tokens[tokens.length - 1];
    
              if (token.type === 'link') {
                token.tokens = this.inlineTokens(token.text, [], true, inRawBlock);
                tokens.push(token);
              } else if (_lastToken2 && token.type === 'text' && _lastToken2.type === 'text') {
                _lastToken2.raw += token.raw;
                _lastToken2.text += token.text;
              } else {
                tokens.push(token);
              }
    
              continue;
            } // em & strong
    
    
            if (token = this.tokenizer.emStrong(src, maskedSrc, prevChar)) {
              src = src.substring(token.raw.length);
              token.tokens = this.inlineTokens(token.text, [], inLink, inRawBlock);
              tokens.push(token);
              continue;
            } // code
    
    
            if (token = this.tokenizer.codespan(src)) {
              src = src.substring(token.raw.length);
              tokens.push(token);
              continue;
            } // br
    
    
            if (token = this.tokenizer.br(src)) {
              src = src.substring(token.raw.length);
              tokens.push(token);
              continue;
            } // del (gfm)
    
    
            if (token = this.tokenizer.del(src)) {
              src = src.substring(token.raw.length);
              token.tokens = this.inlineTokens(token.text, [], inLink, inRawBlock);
              tokens.push(token);
              continue;
            } // autolink
    
    
            if (token = this.tokenizer.autolink(src, mangle)) {
              src = src.substring(token.raw.length);
              tokens.push(token);
              continue;
            } // url (gfm)
    
    
            if (!inLink && (token = this.tokenizer.url(src, mangle))) {
              src = src.substring(token.raw.length);
              tokens.push(token);
              continue;
            } // text
    
    
            if (token = this.tokenizer.inlineText(src, inRawBlock, smartypants)) {
              src = src.substring(token.raw.length);
    
              if (token.raw.slice(-1) !== '_') {
                // Track prevChar before string of ____ started
                prevChar = token.raw.slice(-1);
              }
    
              keepPrevChar = true;
              lastToken = tokens[tokens.length - 1];
    
              if (lastToken && lastToken.type === 'text') {
                lastToken.raw += token.raw;
                lastToken.text += token.text;
              } else {
                tokens.push(token);
              }
    
              continue;
            }
    
            if (src) {
              var errMsg = 'Infinite loop on byte: ' + src.charCodeAt(0);
    
              if (this.options.silent) {
                console.error(errMsg);
                break;
              } else {
                throw new Error(errMsg);
              }
            }
          }
    
          return tokens;
        };
    
        _createClass(Lexer, null, [{
          key: "rules",
          get: function get() {
            return {
              block: block,
              inline: inline
            };
          }
        }]);
    
        return Lexer;
      }();
    
      var defaults$2 = defaults$5.exports.defaults;
      var cleanUrl = helpers.cleanUrl,
          escape$1 = helpers.escape;
      /**
       * Renderer
       */
    
      var Renderer_1 = /*#__PURE__*/function () {
        function Renderer(options) {
          this.options = options || defaults$2;
        }
    
        var _proto = Renderer.prototype;
    
        _proto.code = function code(_code, infostring, escaped) {
          var lang = (infostring || '').match(/\S*/)[0];
    
          if (this.options.highlight) {
            var out = this.options.highlight(_code, lang);
    
            if (out != null && out !== _code) {
              escaped = true;
              _code = out;
            }
          }
    
          _code = _code.replace(/\n$/, '') + '\n';
    
          if (!lang) {
            return '<pre><code>' + (escaped ? _code : escape$1(_code, true)) + '</code></pre>\n';
          }
    
          return '<pre><code class="' + this.options.langPrefix + escape$1(lang, true) + '">' + (escaped ? _code : escape$1(_code, true)) + '</code></pre>\n';
        };
    
        _proto.blockquote = function blockquote(quote) {
          return '<blockquote>\n' + quote + '</blockquote>\n';
        };
    
        _proto.html = function html(_html) {
          return _html;
        };
    
        _proto.heading = function heading(text, level, raw, slugger) {
          if (this.options.headerIds) {
            return '<h' + level + ' id="' + this.options.headerPrefix + slugger.slug(raw) + '">' + text + '</h' + level + '>\n';
          } // ignore IDs
    
    
          return '<h' + level + '>' + text + '</h' + level + '>\n';
        };
    
        _proto.hr = function hr() {
          return this.options.xhtml ? '<hr/>\n' : '<hr>\n';
        };
    
        _proto.list = function list(body, ordered, start) {
          var type = ordered ? 'ol' : 'ul',
              startatt = ordered && start !== 1 ? ' start="' + start + '"' : '';
          return '<' + type + startatt + '>\n' + body + '</' + type + '>\n';
        };
    
        _proto.listitem = function listitem(text) {
          return '<li>' + text + '</li>\n';
        };
    
        _proto.checkbox = function checkbox(checked) {
          return '<input ' + (checked ? 'checked="" ' : '') + 'disabled="" type="checkbox"' + (this.options.xhtml ? ' /' : '') + '> ';
        };
    
        _proto.paragraph = function paragraph(text) {
          return '<p>' + text + '</p>\n';
        };
    
        _proto.table = function table(header, body) {
          if (body) body = '<tbody>' + body + '</tbody>';
          return '<table>\n' + '<thead>\n' + header + '</thead>\n' + body + '</table>\n';
        };
    
        _proto.tablerow = function tablerow(content) {
          return '<tr>\n' + content + '</tr>\n';
        };
    
        _proto.tablecell = function tablecell(content, flags) {
          var type = flags.header ? 'th' : 'td';
          var tag = flags.align ? '<' + type + ' align="' + flags.align + '">' : '<' + type + '>';
          return tag + content + '</' + type + '>\n';
        } // span level renderer
        ;
    
        _proto.strong = function strong(text) {
          return '<strong>' + text + '</strong>';
        };
    
        _proto.em = function em(text) {
          return '<em>' + text + '</em>';
        };
    
        _proto.codespan = function codespan(text) {
          return '<code>' + text + '</code>';
        };
    
        _proto.br = function br() {
          return this.options.xhtml ? '<br/>' : '<br>';
        };
    
        _proto.del = function del(text) {
          return '<del>' + text + '</del>';
        };
    
        _proto.link = function link(href, title, text) {
          href = cleanUrl(this.options.sanitize, this.options.baseUrl, href);
    
          if (href === null) {
            return text;
          }
    
          var out = '<a href="' + escape$1(href) + '"';
    
          if (title) {
            out += ' title="' + title + '"';
          }
    
          out += '>' + text + '</a>';
          return out;
        };
    
        _proto.image = function image(href, title, text) {
          href = cleanUrl(this.options.sanitize, this.options.baseUrl, href);
    
          if (href === null) {
            return text;
          }
    
          var out = '<img src="' + href + '" alt="' + text + '"';
    
          if (title) {
            out += ' title="' + title + '"';
          }
    
          out += this.options.xhtml ? '/>' : '>';
          return out;
        };
    
        _proto.text = function text(_text) {
          return _text;
        };
    
        return Renderer;
      }();
    
      /**
       * TextRenderer
       * returns only the textual part of the token
       */
    
      var TextRenderer_1 = /*#__PURE__*/function () {
        function TextRenderer() {}
    
        var _proto = TextRenderer.prototype;
    
        // no need for block level renderers
        _proto.strong = function strong(text) {
          return text;
        };
    
        _proto.em = function em(text) {
          return text;
        };
    
        _proto.codespan = function codespan(text) {
          return text;
        };
    
        _proto.del = function del(text) {
          return text;
        };
    
        _proto.html = function html(text) {
          return text;
        };
    
        _proto.text = function text(_text) {
          return _text;
        };
    
        _proto.link = function link(href, title, text) {
          return '' + text;
        };
    
        _proto.image = function image(href, title, text) {
          return '' + text;
        };
    
        _proto.br = function br() {
          return '';
        };
    
        return TextRenderer;
      }();
    
      /**
       * Slugger generates header id
       */
    
      var Slugger_1 = /*#__PURE__*/function () {
        function Slugger() {
          this.seen = {};
        }
    
        var _proto = Slugger.prototype;
    
        _proto.serialize = function serialize(value) {
          return value.toLowerCase().trim() // remove html tags
          .replace(/<[!\/a-z].*?>/ig, '') // remove unwanted chars
          .replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g, '').replace(/\s/g, '-');
        }
        /**
         * Finds the next safe (unique) slug to use
         */
        ;
    
        _proto.getNextSafeSlug = function getNextSafeSlug(originalSlug, isDryRun) {
          var slug = originalSlug;
          var occurenceAccumulator = 0;
    
          if (this.seen.hasOwnProperty(slug)) {
            occurenceAccumulator = this.seen[originalSlug];
    
            do {
              occurenceAccumulator++;
              slug = originalSlug + '-' + occurenceAccumulator;
            } while (this.seen.hasOwnProperty(slug));
          }
    
          if (!isDryRun) {
            this.seen[originalSlug] = occurenceAccumulator;
            this.seen[slug] = 0;
          }
    
          return slug;
        }
        /**
         * Convert string to unique id
         * @param {object} options
         * @param {boolean} options.dryrun Generates the next unique slug without updating the internal accumulator.
         */
        ;
    
        _proto.slug = function slug(value, options) {
          if (options === void 0) {
            options = {};
          }
    
          var slug = this.serialize(value);
          return this.getNextSafeSlug(slug, options.dryrun);
        };
    
        return Slugger;
      }();
    
      var Renderer$1 = Renderer_1;
      var TextRenderer$1 = TextRenderer_1;
      var Slugger$1 = Slugger_1;
      var defaults$1 = defaults$5.exports.defaults;
      var unescape = helpers.unescape;
      /**
       * Parsing & Compiling
       */
    
      var Parser_1 = /*#__PURE__*/function () {
        function Parser(options) {
          this.options = options || defaults$1;
          this.options.renderer = this.options.renderer || new Renderer$1();
          this.renderer = this.options.renderer;
          this.renderer.options = this.options;
          this.textRenderer = new TextRenderer$1();
          this.slugger = new Slugger$1();
        }
        /**
         * Static Parse Method
         */
    
    
        Parser.parse = function parse(tokens, options) {
          var parser = new Parser(options);
          return parser.parse(tokens);
        }
        /**
         * Static Parse Inline Method
         */
        ;
    
        Parser.parseInline = function parseInline(tokens, options) {
          var parser = new Parser(options);
          return parser.parseInline(tokens);
        }
        /**
         * Parse Loop
         */
        ;
    
        var _proto = Parser.prototype;
    
        _proto.parse = function parse(tokens, top) {
          if (top === void 0) {
            top = true;
          }
    
          var out = '',
              i,
              j,
              k,
              l2,
              l3,
              row,
              cell,
              header,
              body,
              token,
              ordered,
              start,
              loose,
              itemBody,
              item,
              checked,
              task,
              checkbox;
          var l = tokens.length;
    
          for (i = 0; i < l; i++) {
            token = tokens[i];
    
            switch (token.type) {
              case 'space':
                {
                  continue;
                }
    
              case 'hr':
                {
                  out += this.renderer.hr();
                  continue;
                }
    
              case 'heading':
                {
                  out += this.renderer.heading(this.parseInline(token.tokens), token.depth, unescape(this.parseInline(token.tokens, this.textRenderer)), this.slugger);
                  continue;
                }
    
              case 'code':
                {
                  out += this.renderer.code(token.text, token.lang, token.escaped);
                  continue;
                }
    
              case 'table':
                {
                  header = ''; // header
    
                  cell = '';
                  l2 = token.header.length;
    
                  for (j = 0; j < l2; j++) {
                    cell += this.renderer.tablecell(this.parseInline(token.tokens.header[j]), {
                      header: true,
                      align: token.align[j]
                    });
                  }
    
                  header += this.renderer.tablerow(cell);
                  body = '';
                  l2 = token.cells.length;
    
                  for (j = 0; j < l2; j++) {
                    row = token.tokens.cells[j];
                    cell = '';
                    l3 = row.length;
    
                    for (k = 0; k < l3; k++) {
                      cell += this.renderer.tablecell(this.parseInline(row[k]), {
                        header: false,
                        align: token.align[k]
                      });
                    }
    
                    body += this.renderer.tablerow(cell);
                  }
    
                  out += this.renderer.table(header, body);
                  continue;
                }
    
              case 'blockquote':
                {
                  body = this.parse(token.tokens);
                  out += this.renderer.blockquote(body);
                  continue;
                }
    
              case 'list':
                {
                  ordered = token.ordered;
                  start = token.start;
                  loose = token.loose;
                  l2 = token.items.length;
                  body = '';
    
                  for (j = 0; j < l2; j++) {
                    item = token.items[j];
                    checked = item.checked;
                    task = item.task;
                    itemBody = '';
    
                    if (item.task) {
                      checkbox = this.renderer.checkbox(checked);
    
                      if (loose) {
                        if (item.tokens.length > 0 && item.tokens[0].type === 'text') {
                          item.tokens[0].text = checkbox + ' ' + item.tokens[0].text;
    
                          if (item.tokens[0].tokens && item.tokens[0].tokens.length > 0 && item.tokens[0].tokens[0].type === 'text') {
                            item.tokens[0].tokens[0].text = checkbox + ' ' + item.tokens[0].tokens[0].text;
                          }
                        } else {
                          item.tokens.unshift({
                            type: 'text',
                            text: checkbox
                          });
                        }
                      } else {
                        itemBody += checkbox;
                      }
                    }
    
                    itemBody += this.parse(item.tokens, loose);
                    body += this.renderer.listitem(itemBody, task, checked);
                  }
    
                  out += this.renderer.list(body, ordered, start);
                  continue;
                }
    
              case 'html':
                {
                  // TODO parse inline content if parameter markdown=1
                  out += this.renderer.html(token.text);
                  continue;
                }
    
              case 'paragraph':
                {
                  out += this.renderer.paragraph(this.parseInline(token.tokens));
                  continue;
                }
    
              case 'text':
                {
                  body = token.tokens ? this.parseInline(token.tokens) : token.text;
    
                  while (i + 1 < l && tokens[i + 1].type === 'text') {
                    token = tokens[++i];
                    body += '\n' + (token.tokens ? this.parseInline(token.tokens) : token.text);
                  }
    
                  out += top ? this.renderer.paragraph(body) : body;
                  continue;
                }
    
              default:
                {
                  var errMsg = 'Token with "' + token.type + '" type was not found.';
    
                  if (this.options.silent) {
                    console.error(errMsg);
                    return;
                  } else {
                    throw new Error(errMsg);
                  }
                }
            }
          }
    
          return out;
        }
        /**
         * Parse Inline Tokens
         */
        ;
    
        _proto.parseInline = function parseInline(tokens, renderer) {
          renderer = renderer || this.renderer;
          var out = '',
              i,
              token;
          var l = tokens.length;
    
          for (i = 0; i < l; i++) {
            token = tokens[i];
    
            switch (token.type) {
              case 'escape':
                {
                  out += renderer.text(token.text);
                  break;
                }
    
              case 'html':
                {
                  out += renderer.html(token.text);
                  break;
                }
    
              case 'link':
                {
                  out += renderer.link(token.href, token.title, this.parseInline(token.tokens, renderer));
                  break;
                }
    
              case 'image':
                {
                  out += renderer.image(token.href, token.title, token.text);
                  break;
                }
    
              case 'strong':
                {
                  out += renderer.strong(this.parseInline(token.tokens, renderer));
                  break;
                }
    
              case 'em':
                {
                  out += renderer.em(this.parseInline(token.tokens, renderer));
                  break;
                }
    
              case 'codespan':
                {
                  out += renderer.codespan(token.text);
                  break;
                }
    
              case 'br':
                {
                  out += renderer.br();
                  break;
                }
    
              case 'del':
                {
                  out += renderer.del(this.parseInline(token.tokens, renderer));
                  break;
                }
    
              case 'text':
                {
                  out += renderer.text(token.text);
                  break;
                }
    
              default:
                {
                  var errMsg = 'Token with "' + token.type + '" type was not found.';
    
                  if (this.options.silent) {
                    console.error(errMsg);
                    return;
                  } else {
                    throw new Error(errMsg);
                  }
                }
            }
          }
    
          return out;
        };
    
        return Parser;
      }();
    
      var Lexer = Lexer_1;
      var Parser = Parser_1;
      var Tokenizer = Tokenizer_1;
      var Renderer = Renderer_1;
      var TextRenderer = TextRenderer_1;
      var Slugger = Slugger_1;
      var merge = helpers.merge,
          checkSanitizeDeprecation = helpers.checkSanitizeDeprecation,
          escape = helpers.escape;
      var getDefaults = defaults$5.exports.getDefaults,
          changeDefaults = defaults$5.exports.changeDefaults,
          defaults = defaults$5.exports.defaults;
      /**
       * Marked
       */
    
      function marked(src, opt, callback) {
        // throw error in case of non string input
        if (typeof src === 'undefined' || src === null) {
          throw new Error('marked(): input parameter is undefined or null');
        }
    
        if (typeof src !== 'string') {
          throw new Error('marked(): input parameter is of type ' + Object.prototype.toString.call(src) + ', string expected');
        }
    
        if (typeof opt === 'function') {
          callback = opt;
          opt = null;
        }
    
        opt = merge({}, marked.defaults, opt || {});
        checkSanitizeDeprecation(opt);
    
        if (callback) {
          var highlight = opt.highlight;
          var tokens;
    
          try {
            tokens = Lexer.lex(src, opt);
          } catch (e) {
            return callback(e);
          }
    
          var done = function done(err) {
            var out;
    
            if (!err) {
              try {
                if (opt.walkTokens) {
                  marked.walkTokens(tokens, opt.walkTokens);
                }
    
                out = Parser.parse(tokens, opt);
              } catch (e) {
                err = e;
              }
            }
    
            opt.highlight = highlight;
            return err ? callback(err) : callback(null, out);
          };
    
          if (!highlight || highlight.length < 3) {
            return done();
          }
    
          delete opt.highlight;
          if (!tokens.length) return done();
          var pending = 0;
          marked.walkTokens(tokens, function (token) {
            if (token.type === 'code') {
              pending++;
              setTimeout(function () {
                highlight(token.text, token.lang, function (err, code) {
                  if (err) {
                    return done(err);
                  }
    
                  if (code != null && code !== token.text) {
                    token.text = code;
                    token.escaped = true;
                  }
    
                  pending--;
    
                  if (pending === 0) {
                    done();
                  }
                });
              }, 0);
            }
          });
    
          if (pending === 0) {
            done();
          }
    
          return;
        }
    
        try {
          var _tokens = Lexer.lex(src, opt);
    
          if (opt.walkTokens) {
            marked.walkTokens(_tokens, opt.walkTokens);
          }
    
          return Parser.parse(_tokens, opt);
        } catch (e) {
          e.message += '\nPlease report this to https://github.com/markedjs/marked.';
    
          if (opt.silent) {
            return '<p>An error occurred:</p><pre>' + escape(e.message + '', true) + '</pre>';
          }
    
          throw e;
        }
      }
      /**
       * Options
       */
    
    
      marked.options = marked.setOptions = function (opt) {
        merge(marked.defaults, opt);
        changeDefaults(marked.defaults);
        return marked;
      };
    
      marked.getDefaults = getDefaults;
      marked.defaults = defaults;
      /**
       * Use Extension
       */
    
      marked.use = function (extension) {
        var opts = merge({}, extension);
    
        if (extension.renderer) {
          (function () {
            var renderer = marked.defaults.renderer || new Renderer();
    
            var _loop = function _loop(prop) {
              var prevRenderer = renderer[prop];
    
              renderer[prop] = function () {
                for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
                  args[_key] = arguments[_key];
                }
    
                var ret = extension.renderer[prop].apply(renderer, args);
    
                if (ret === false) {
                  ret = prevRenderer.apply(renderer, args);
                }
    
                return ret;
              };
            };
    
            for (var prop in extension.renderer) {
              _loop(prop);
            }
    
            opts.renderer = renderer;
          })();
        }
    
        if (extension.tokenizer) {
          (function () {
            var tokenizer = marked.defaults.tokenizer || new Tokenizer();
    
            var _loop2 = function _loop2(prop) {
              var prevTokenizer = tokenizer[prop];
    
              tokenizer[prop] = function () {
                for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
                  args[_key2] = arguments[_key2];
                }
    
                var ret = extension.tokenizer[prop].apply(tokenizer, args);
    
                if (ret === false) {
                  ret = prevTokenizer.apply(tokenizer, args);
                }
    
                return ret;
              };
            };
    
            for (var prop in extension.tokenizer) {
              _loop2(prop);
            }
    
            opts.tokenizer = tokenizer;
          })();
        }
    
        if (extension.walkTokens) {
          var walkTokens = marked.defaults.walkTokens;
    
          opts.walkTokens = function (token) {
            extension.walkTokens(token);
    
            if (walkTokens) {
              walkTokens(token);
            }
          };
        }
    
        marked.setOptions(opts);
      };
      /**
       * Run callback for every token
       */
    
    
      marked.walkTokens = function (tokens, callback) {
        for (var _iterator = _createForOfIteratorHelperLoose(tokens), _step; !(_step = _iterator()).done;) {
          var token = _step.value;
          callback(token);
    
          switch (token.type) {
            case 'table':
              {
                for (var _iterator2 = _createForOfIteratorHelperLoose(token.tokens.header), _step2; !(_step2 = _iterator2()).done;) {
                  var cell = _step2.value;
                  marked.walkTokens(cell, callback);
                }
    
                for (var _iterator3 = _createForOfIteratorHelperLoose(token.tokens.cells), _step3; !(_step3 = _iterator3()).done;) {
                  var row = _step3.value;
    
                  for (var _iterator4 = _createForOfIteratorHelperLoose(row), _step4; !(_step4 = _iterator4()).done;) {
                    var _cell = _step4.value;
                    marked.walkTokens(_cell, callback);
                  }
                }
    
                break;
              }
    
            case 'list':
              {
                marked.walkTokens(token.items, callback);
                break;
              }
    
            default:
              {
                if (token.tokens) {
                  marked.walkTokens(token.tokens, callback);
                }
              }
          }
        }
      };
      /**
       * Parse Inline
       */
    
    
      marked.parseInline = function (src, opt) {
        // throw error in case of non string input
        if (typeof src === 'undefined' || src === null) {
          throw new Error('marked.parseInline(): input parameter is undefined or null');
        }
    
        if (typeof src !== 'string') {
          throw new Error('marked.parseInline(): input parameter is of type ' + Object.prototype.toString.call(src) + ', string expected');
        }
    
        opt = merge({}, marked.defaults, opt || {});
        checkSanitizeDeprecation(opt);
    
        try {
          var tokens = Lexer.lexInline(src, opt);
    
          if (opt.walkTokens) {
            marked.walkTokens(tokens, opt.walkTokens);
          }
    
          return Parser.parseInline(tokens, opt);
        } catch (e) {
          e.message += '\nPlease report this to https://github.com/markedjs/marked.';
    
          if (opt.silent) {
            return '<p>An error occurred:</p><pre>' + escape(e.message + '', true) + '</pre>';
          }
    
          throw e;
        }
      };
      /**
       * Expose
       */
    
    
      marked.Parser = Parser;
      marked.parser = Parser.parse;
      marked.Renderer = Renderer;
      marked.TextRenderer = TextRenderer;
      marked.Lexer = Lexer;
      marked.lexer = Lexer.lex;
      marked.Tokenizer = Tokenizer;
      marked.Slugger = Slugger;
      marked.parse = marked;
      var marked_1 = marked;
    
      return marked_1;
    
    })));
    
    
    /***/ }),
    
    /***/ 11690:
    /*!**********************************************************!*\
      !*** ./node_modules/_marked@2.0.7@marked/src/helpers.js ***!
      \**********************************************************/
    /***/ (function(module) {
    
    /**
     * Helpers
     */
    const escapeTest = /[&<>"']/;
    const escapeReplace = /[&<>"']/g;
    const escapeTestNoEncode = /[<>"']|&(?!#?\w+;)/;
    const escapeReplaceNoEncode = /[<>"']|&(?!#?\w+;)/g;
    const escapeReplacements = {
      '&': '&amp;',
      '<': '&lt;',
      '>': '&gt;',
      '"': '&quot;',
      "'": '&#39;'
    };
    const getEscapeReplacement = (ch) => escapeReplacements[ch];
    function escape(html, encode) {
      if (encode) {
        if (escapeTest.test(html)) {
          return html.replace(escapeReplace, getEscapeReplacement);
        }
      } else {
        if (escapeTestNoEncode.test(html)) {
          return html.replace(escapeReplaceNoEncode, getEscapeReplacement);
        }
      }
    
      return html;
    }
    
    const unescapeTest = /&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;
    
    function unescape(html) {
      // explicitly match decimal, hex, and named HTML entities
      return html.replace(unescapeTest, (_, n) => {
        n = n.toLowerCase();
        if (n === 'colon') return ':';
        if (n.charAt(0) === '#') {
          return n.charAt(1) === 'x'
            ? String.fromCharCode(parseInt(n.substring(2), 16))
            : String.fromCharCode(+n.substring(1));
        }
        return '';
      });
    }
    
    const caret = /(^|[^\[])\^/g;
    function edit(regex, opt) {
      regex = regex.source || regex;
      opt = opt || '';
      const obj = {
        replace: (name, val) => {
          val = val.source || val;
          val = val.replace(caret, '$1');
          regex = regex.replace(name, val);
          return obj;
        },
        getRegex: () => {
          return new RegExp(regex, opt);
        }
      };
      return obj;
    }
    
    const nonWordAndColonTest = /[^\w:]/g;
    const originIndependentUrl = /^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;
    function cleanUrl(sanitize, base, href) {
      if (sanitize) {
        let prot;
        try {
          prot = decodeURIComponent(unescape(href))
            .replace(nonWordAndColonTest, '')
            .toLowerCase();
        } catch (e) {
          return null;
        }
        if (prot.indexOf('javascript:') === 0 || prot.indexOf('vbscript:') === 0 || prot.indexOf('data:') === 0) {
          return null;
        }
      }
      if (base && !originIndependentUrl.test(href)) {
        href = resolveUrl(base, href);
      }
      try {
        href = encodeURI(href).replace(/%25/g, '%');
      } catch (e) {
        return null;
      }
      return href;
    }
    
    const baseUrls = {};
    const justDomain = /^[^:]+:\/*[^/]*$/;
    const protocol = /^([^:]+:)[\s\S]*$/;
    const domain = /^([^:]+:\/*[^/]*)[\s\S]*$/;
    
    function resolveUrl(base, href) {
      if (!baseUrls[' ' + base]) {
        // we can ignore everything in base after the last slash of its path component,
        // but we might need to add _that_
        // https://tools.ietf.org/html/rfc3986#section-3
        if (justDomain.test(base)) {
          baseUrls[' ' + base] = base + '/';
        } else {
          baseUrls[' ' + base] = rtrim(base, '/', true);
        }
      }
      base = baseUrls[' ' + base];
      const relativeBase = base.indexOf(':') === -1;
    
      if (href.substring(0, 2) === '//') {
        if (relativeBase) {
          return href;
        }
        return base.replace(protocol, '$1') + href;
      } else if (href.charAt(0) === '/') {
        if (relativeBase) {
          return href;
        }
        return base.replace(domain, '$1') + href;
      } else {
        return base + href;
      }
    }
    
    const noopTest = { exec: function noopTest() {} };
    
    function merge(obj) {
      let i = 1,
        target,
        key;
    
      for (; i < arguments.length; i++) {
        target = arguments[i];
        for (key in target) {
          if (Object.prototype.hasOwnProperty.call(target, key)) {
            obj[key] = target[key];
          }
        }
      }
    
      return obj;
    }
    
    function splitCells(tableRow, count) {
      // ensure that every cell-delimiting pipe has a space
      // before it to distinguish it from an escaped pipe
      const row = tableRow.replace(/\|/g, (match, offset, str) => {
          let escaped = false,
            curr = offset;
          while (--curr >= 0 && str[curr] === '\\') escaped = !escaped;
          if (escaped) {
            // odd number of slashes means | is escaped
            // so we leave it alone
            return '|';
          } else {
            // add space before unescaped |
            return ' |';
          }
        }),
        cells = row.split(/ \|/);
      let i = 0;
    
      if (cells.length > count) {
        cells.splice(count);
      } else {
        while (cells.length < count) cells.push('');
      }
    
      for (; i < cells.length; i++) {
        // leading or trailing whitespace is ignored per the gfm spec
        cells[i] = cells[i].trim().replace(/\\\|/g, '|');
      }
      return cells;
    }
    
    // Remove trailing 'c's. Equivalent to str.replace(/c*$/, '').
    // /c*$/ is vulnerable to REDOS.
    // invert: Remove suffix of non-c chars instead. Default falsey.
    function rtrim(str, c, invert) {
      const l = str.length;
      if (l === 0) {
        return '';
      }
    
      // Length of suffix matching the invert condition.
      let suffLen = 0;
    
      // Step left until we fail to match the invert condition.
      while (suffLen < l) {
        const currChar = str.charAt(l - suffLen - 1);
        if (currChar === c && !invert) {
          suffLen++;
        } else if (currChar !== c && invert) {
          suffLen++;
        } else {
          break;
        }
      }
    
      return str.substr(0, l - suffLen);
    }
    
    function findClosingBracket(str, b) {
      if (str.indexOf(b[1]) === -1) {
        return -1;
      }
      const l = str.length;
      let level = 0,
        i = 0;
      for (; i < l; i++) {
        if (str[i] === '\\') {
          i++;
        } else if (str[i] === b[0]) {
          level++;
        } else if (str[i] === b[1]) {
          level--;
          if (level < 0) {
            return i;
          }
        }
      }
      return -1;
    }
    
    function checkSanitizeDeprecation(opt) {
      if (opt && opt.sanitize && !opt.silent) {
        console.warn('marked(): sanitize and sanitizer parameters are deprecated since version 0.7.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/#/USING_ADVANCED.md#options');
      }
    }
    
    // copied from https://stackoverflow.com/a/5450113/806777
    function repeatString(pattern, count) {
      if (count < 1) {
        return '';
      }
      let result = '';
      while (count > 1) {
        if (count & 1) {
          result += pattern;
        }
        count >>= 1;
        pattern += pattern;
      }
      return result + pattern;
    }
    
    module.exports = {
      escape,
      unescape,
      edit,
      cleanUrl,
      resolveUrl,
      noopTest,
      merge,
      splitCells,
      rtrim,
      findClosingBracket,
      checkSanitizeDeprecation,
      repeatString
    };
    
    
    /***/ }),
    
    /***/ 93735:
    /*!********************************************!*\
      !*** ./node_modules/_md5@2.3.0@md5/md5.js ***!
      \********************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    (function(){
      var crypt = __webpack_require__(/*! crypt */ 75041),
          utf8 = (__webpack_require__(/*! charenc */ 67751).utf8),
          isBuffer = __webpack_require__(/*! is-buffer */ 78034),
          bin = (__webpack_require__(/*! charenc */ 67751).bin),
    
      // The core
      md5 = function (message, options) {
        // Convert to byte array
        if (message.constructor == String)
          if (options && options.encoding === 'binary')
            message = bin.stringToBytes(message);
          else
            message = utf8.stringToBytes(message);
        else if (isBuffer(message))
          message = Array.prototype.slice.call(message, 0);
        else if (!Array.isArray(message) && message.constructor !== Uint8Array)
          message = message.toString();
        // else, assume byte array already
    
        var m = crypt.bytesToWords(message),
            l = message.length * 8,
            a =  1732584193,
            b = -271733879,
            c = -1732584194,
            d =  271733878;
    
        // Swap endian
        for (var i = 0; i < m.length; i++) {
          m[i] = ((m[i] <<  8) | (m[i] >>> 24)) & 0x00FF00FF |
                 ((m[i] << 24) | (m[i] >>>  8)) & 0xFF00FF00;
        }
    
        // Padding
        m[l >>> 5] |= 0x80 << (l % 32);
        m[(((l + 64) >>> 9) << 4) + 14] = l;
    
        // Method shortcuts
        var FF = md5._ff,
            GG = md5._gg,
            HH = md5._hh,
            II = md5._ii;
    
        for (var i = 0; i < m.length; i += 16) {
    
          var aa = a,
              bb = b,
              cc = c,
              dd = d;
    
          a = FF(a, b, c, d, m[i+ 0],  7, -680876936);
          d = FF(d, a, b, c, m[i+ 1], 12, -389564586);
          c = FF(c, d, a, b, m[i+ 2], 17,  606105819);
          b = FF(b, c, d, a, m[i+ 3], 22, -1044525330);
          a = FF(a, b, c, d, m[i+ 4],  7, -176418897);
          d = FF(d, a, b, c, m[i+ 5], 12,  1200080426);
          c = FF(c, d, a, b, m[i+ 6], 17, -1473231341);
          b = FF(b, c, d, a, m[i+ 7], 22, -45705983);
          a = FF(a, b, c, d, m[i+ 8],  7,  1770035416);
          d = FF(d, a, b, c, m[i+ 9], 12, -1958414417);
          c = FF(c, d, a, b, m[i+10], 17, -42063);
          b = FF(b, c, d, a, m[i+11], 22, -1990404162);
          a = FF(a, b, c, d, m[i+12],  7,  1804603682);
          d = FF(d, a, b, c, m[i+13], 12, -40341101);
          c = FF(c, d, a, b, m[i+14], 17, -1502002290);
          b = FF(b, c, d, a, m[i+15], 22,  1236535329);
    
          a = GG(a, b, c, d, m[i+ 1],  5, -165796510);
          d = GG(d, a, b, c, m[i+ 6],  9, -1069501632);
          c = GG(c, d, a, b, m[i+11], 14,  643717713);
          b = GG(b, c, d, a, m[i+ 0], 20, -373897302);
          a = GG(a, b, c, d, m[i+ 5],  5, -701558691);
          d = GG(d, a, b, c, m[i+10],  9,  38016083);
          c = GG(c, d, a, b, m[i+15], 14, -660478335);
          b = GG(b, c, d, a, m[i+ 4], 20, -405537848);
          a = GG(a, b, c, d, m[i+ 9],  5,  568446438);
          d = GG(d, a, b, c, m[i+14],  9, -1019803690);
          c = GG(c, d, a, b, m[i+ 3], 14, -187363961);
          b = GG(b, c, d, a, m[i+ 8], 20,  1163531501);
          a = GG(a, b, c, d, m[i+13],  5, -1444681467);
          d = GG(d, a, b, c, m[i+ 2],  9, -51403784);
          c = GG(c, d, a, b, m[i+ 7], 14,  1735328473);
          b = GG(b, c, d, a, m[i+12], 20, -1926607734);
    
          a = HH(a, b, c, d, m[i+ 5],  4, -378558);
          d = HH(d, a, b, c, m[i+ 8], 11, -2022574463);
          c = HH(c, d, a, b, m[i+11], 16,  1839030562);
          b = HH(b, c, d, a, m[i+14], 23, -35309556);
          a = HH(a, b, c, d, m[i+ 1],  4, -1530992060);
          d = HH(d, a, b, c, m[i+ 4], 11,  1272893353);
          c = HH(c, d, a, b, m[i+ 7], 16, -155497632);
          b = HH(b, c, d, a, m[i+10], 23, -1094730640);
          a = HH(a, b, c, d, m[i+13],  4,  681279174);
          d = HH(d, a, b, c, m[i+ 0], 11, -358537222);
          c = HH(c, d, a, b, m[i+ 3], 16, -722521979);
          b = HH(b, c, d, a, m[i+ 6], 23,  76029189);
          a = HH(a, b, c, d, m[i+ 9],  4, -640364487);
          d = HH(d, a, b, c, m[i+12], 11, -421815835);
          c = HH(c, d, a, b, m[i+15], 16,  530742520);
          b = HH(b, c, d, a, m[i+ 2], 23, -995338651);
    
          a = II(a, b, c, d, m[i+ 0],  6, -198630844);
          d = II(d, a, b, c, m[i+ 7], 10,  1126891415);
          c = II(c, d, a, b, m[i+14], 15, -1416354905);
          b = II(b, c, d, a, m[i+ 5], 21, -57434055);
          a = II(a, b, c, d, m[i+12],  6,  1700485571);
          d = II(d, a, b, c, m[i+ 3], 10, -1894986606);
          c = II(c, d, a, b, m[i+10], 15, -1051523);
          b = II(b, c, d, a, m[i+ 1], 21, -2054922799);
          a = II(a, b, c, d, m[i+ 8],  6,  1873313359);
          d = II(d, a, b, c, m[i+15], 10, -30611744);
          c = II(c, d, a, b, m[i+ 6], 15, -1560198380);
          b = II(b, c, d, a, m[i+13], 21,  1309151649);
          a = II(a, b, c, d, m[i+ 4],  6, -145523070);
          d = II(d, a, b, c, m[i+11], 10, -1120210379);
          c = II(c, d, a, b, m[i+ 2], 15,  718787259);
          b = II(b, c, d, a, m[i+ 9], 21, -343485551);
    
          a = (a + aa) >>> 0;
          b = (b + bb) >>> 0;
          c = (c + cc) >>> 0;
          d = (d + dd) >>> 0;
        }
    
        return crypt.endian([a, b, c, d]);
      };
    
      // Auxiliary functions
      md5._ff  = function (a, b, c, d, x, s, t) {
        var n = a + (b & c | ~b & d) + (x >>> 0) + t;
        return ((n << s) | (n >>> (32 - s))) + b;
      };
      md5._gg  = function (a, b, c, d, x, s, t) {
        var n = a + (b & d | c & ~d) + (x >>> 0) + t;
        return ((n << s) | (n >>> (32 - s))) + b;
      };
      md5._hh  = function (a, b, c, d, x, s, t) {
        var n = a + (b ^ c ^ d) + (x >>> 0) + t;
        return ((n << s) | (n >>> (32 - s))) + b;
      };
      md5._ii  = function (a, b, c, d, x, s, t) {
        var n = a + (c ^ (b | ~d)) + (x >>> 0) + t;
        return ((n << s) | (n >>> (32 - s))) + b;
      };
    
      // Package private blocksize
      md5._blocksize = 16;
      md5._digestsize = 16;
    
      module.exports = function (message, options) {
        if (message === undefined || message === null)
          throw new Error('Illegal argument ' + message);
    
        var digestbytes = crypt.wordsToBytes(md5(message, options));
        return options && options.asBytes ? digestbytes :
            options && options.asString ? bin.bytesToString(digestbytes) :
            crypt.bytesToHex(digestbytes);
      };
    
    })();
    
    
    /***/ }),
    
    /***/ 61339:
    /*!******************************************************************************!*\
      !*** ./node_modules/_minimalistic-assert@1.0.1@minimalistic-assert/index.js ***!
      \******************************************************************************/
    /***/ (function(module) {
    
    module.exports = assert;
    
    function assert(val, msg) {
      if (!val)
        throw new Error(msg || 'Assertion failed');
    }
    
    assert.equal = function assertEqual(l, r, msg) {
      if (l != r)
        throw new Error(msg || ('Assertion failed: ' + l + ' != ' + r));
    };
    
    
    /***/ }),
    
    /***/ 75918:
    /*!****************************************************************************************!*\
      !*** ./node_modules/_monaco-editor@0.30.0@monaco-editor/esm/vs/base/common/actions.js ***!
      \****************************************************************************************/
    /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
    
    "use strict";
    /* harmony export */ __webpack_require__.d(__webpack_exports__, {
    /* harmony export */   Wi: function() { return /* binding */ ActionRunner; },
    /* harmony export */   Z0: function() { return /* binding */ Separator; },
    /* harmony export */   aU: function() { return /* binding */ Action; },
    /* harmony export */   eZ: function() { return /* binding */ EmptySubmenuAction; },
    /* harmony export */   wY: function() { return /* binding */ SubmenuAction; }
    /* harmony export */ });
    /* harmony import */ var _event_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./event.js */ 4348);
    /* harmony import */ var _lifecycle_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./lifecycle.js */ 69323);
    /* harmony import */ var _nls_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../nls.js */ 13268);
    /*---------------------------------------------------------------------------------------------
     *  Copyright (c) Microsoft Corporation. All rights reserved.
     *  Licensed under the MIT License. See License.txt in the project root for license information.
     *--------------------------------------------------------------------------------------------*/
    var __awaiter = (undefined && undefined.__awaiter) || function (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());
        });
    };
    
    
    
    class Action extends _lifecycle_js__WEBPACK_IMPORTED_MODULE_1__/* .Disposable */ .JT {
        constructor(id, label = '', cssClass = '', enabled = true, actionCallback) {
            super();
            this._onDidChange = this._register(new _event_js__WEBPACK_IMPORTED_MODULE_0__/* .Emitter */ .Q5());
            this.onDidChange = this._onDidChange.event;
            this._enabled = true;
            this._id = id;
            this._label = label;
            this._cssClass = cssClass;
            this._enabled = enabled;
            this._actionCallback = actionCallback;
        }
        get id() {
            return this._id;
        }
        get label() {
            return this._label;
        }
        set label(value) {
            this._setLabel(value);
        }
        _setLabel(value) {
            if (this._label !== value) {
                this._label = value;
                this._onDidChange.fire({ label: value });
            }
        }
        get tooltip() {
            return this._tooltip || '';
        }
        set tooltip(value) {
            this._setTooltip(value);
        }
        _setTooltip(value) {
            if (this._tooltip !== value) {
                this._tooltip = value;
                this._onDidChange.fire({ tooltip: value });
            }
        }
        get class() {
            return this._cssClass;
        }
        set class(value) {
            this._setClass(value);
        }
        _setClass(value) {
            if (this._cssClass !== value) {
                this._cssClass = value;
                this._onDidChange.fire({ class: value });
            }
        }
        get enabled() {
            return this._enabled;
        }
        set enabled(value) {
            this._setEnabled(value);
        }
        _setEnabled(value) {
            if (this._enabled !== value) {
                this._enabled = value;
                this._onDidChange.fire({ enabled: value });
            }
        }
        get checked() {
            return this._checked;
        }
        set checked(value) {
            this._setChecked(value);
        }
        _setChecked(value) {
            if (this._checked !== value) {
                this._checked = value;
                this._onDidChange.fire({ checked: value });
            }
        }
        run(event, data) {
            return __awaiter(this, void 0, void 0, function* () {
                if (this._actionCallback) {
                    yield this._actionCallback(event);
                }
            });
        }
    }
    class ActionRunner extends _lifecycle_js__WEBPACK_IMPORTED_MODULE_1__/* .Disposable */ .JT {
        constructor() {
            super(...arguments);
            this._onBeforeRun = this._register(new _event_js__WEBPACK_IMPORTED_MODULE_0__/* .Emitter */ .Q5());
            this.onBeforeRun = this._onBeforeRun.event;
            this._onDidRun = this._register(new _event_js__WEBPACK_IMPORTED_MODULE_0__/* .Emitter */ .Q5());
            this.onDidRun = this._onDidRun.event;
        }
        run(action, context) {
            return __awaiter(this, void 0, void 0, function* () {
                if (!action.enabled) {
                    return;
                }
                this._onBeforeRun.fire({ action });
                let error = undefined;
                try {
                    yield this.runAction(action, context);
                }
                catch (e) {
                    error = e;
                }
                this._onDidRun.fire({ action, error });
            });
        }
        runAction(action, context) {
            return __awaiter(this, void 0, void 0, function* () {
                yield action.run(context);
            });
        }
    }
    class Separator extends Action {
        constructor(label) {
            super(Separator.ID, label, label ? 'separator text' : 'separator');
            this.checked = false;
            this.enabled = false;
        }
    }
    Separator.ID = 'vs.actions.separator';
    class SubmenuAction {
        constructor(id, label, actions, cssClass) {
            this.tooltip = '';
            this.enabled = true;
            this.checked = false;
            this.id = id;
            this.label = label;
            this.class = cssClass;
            this._actions = actions;
        }
        get actions() { return this._actions; }
        dispose() {
            // there is NOTHING to dispose and the SubmenuAction should
            // never have anything to dispose as it is a convenience type
            // to bridge into the rendering world.
        }
        run() {
            return __awaiter(this, void 0, void 0, function* () { });
        }
    }
    class EmptySubmenuAction extends Action {
        constructor() {
            super(EmptySubmenuAction.ID, _nls_js__WEBPACK_IMPORTED_MODULE_2__/* .localize */ .N('submenu.empty', '(empty)'), undefined, false);
        }
    }
    EmptySubmenuAction.ID = 'vs.actions.empty';
    
    
    /***/ }),
    
    /***/ 76068:
    /*!***************************************************************************************!*\
      !*** ./node_modules/_monaco-editor@0.30.0@monaco-editor/esm/vs/base/common/assert.js ***!
      \***************************************************************************************/
    /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
    
    "use strict";
    /* harmony export */ __webpack_require__.d(__webpack_exports__, {
    /* harmony export */   ok: function() { return /* binding */ ok; }
    /* harmony export */ });
    /*---------------------------------------------------------------------------------------------
     *  Copyright (c) Microsoft Corporation. All rights reserved.
     *  Licensed under the MIT License. See License.txt in the project root for license information.
     *--------------------------------------------------------------------------------------------*/
    /**
     * Throws an error with the provided message if the provided value does not evaluate to a true Javascript value.
     */
    function ok(value, message) {
        if (!value) {
            throw new Error(message ? `Assertion failed (${message})` : 'Assertion Failed');
        }
    }
    
    
    /***/ }),
    
    /***/ 52615:
    /*!*****************************************************************************************!*\
      !*** ./node_modules/_monaco-editor@0.30.0@monaco-editor/esm/vs/base/common/codicons.js ***!
      \*****************************************************************************************/
    /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
    
    "use strict";
    /* harmony export */ __webpack_require__.d(__webpack_exports__, {
    /* harmony export */   CM: function() { return /* binding */ registerCodicon; },
    /* harmony export */   JL: function() { return /* binding */ getCodiconAriaLabel; },
    /* harmony export */   dT: function() { return /* binding */ CSSIcon; },
    /* harmony export */   fK: function() { return /* binding */ iconRegistry; },
    /* harmony export */   lA: function() { return /* binding */ Codicon; }
    /* harmony export */ });
    /* harmony import */ var _event_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./event.js */ 4348);
    /*---------------------------------------------------------------------------------------------
     *  Copyright (c) Microsoft Corporation. All rights reserved.
     *  Licensed under the MIT License. See License.txt in the project root for license information.
     *--------------------------------------------------------------------------------------------*/
    
    class Registry {
        constructor() {
            this._icons = new Map();
            this._onDidRegister = new _event_js__WEBPACK_IMPORTED_MODULE_0__/* .Emitter */ .Q5();
        }
        add(icon) {
            const existing = this._icons.get(icon.id);
            if (!existing) {
                this._icons.set(icon.id, icon);
                this._onDidRegister.fire(icon);
            }
            else if (icon.description) {
                existing.description = icon.description;
            }
            else {
                console.error(`Duplicate registration of codicon ${icon.id}`);
            }
        }
        get(id) {
            return this._icons.get(id);
        }
        get all() {
            return this._icons.values();
        }
        get onDidRegister() {
            return this._onDidRegister.event;
        }
    }
    const _registry = new Registry();
    const iconRegistry = _registry;
    function registerCodicon(id, def) {
        return new Codicon(id, def);
    }
    // Selects all codicon names encapsulated in the `$()` syntax and wraps the
    // results with spaces so that screen readers can read the text better.
    function getCodiconAriaLabel(text) {
        if (!text) {
            return '';
        }
        return text.replace(/\$\((.*?)\)/g, (_match, codiconName) => ` ${codiconName} `).trim();
    }
    class Codicon {
        constructor(id, definition, description) {
            this.id = id;
            this.definition = definition;
            this.description = description;
            _registry.add(this);
        }
        get classNames() { return 'codicon codicon-' + this.id; }
        // classNamesArray is useful for migrating to ES6 classlist
        get classNamesArray() { return ['codicon', 'codicon-' + this.id]; }
        get cssSelector() { return '.codicon.codicon-' + this.id; }
    }
    var CSSIcon;
    (function (CSSIcon) {
        CSSIcon.iconNameSegment = '[A-Za-z0-9]+';
        CSSIcon.iconNameExpression = '[A-Za-z0-9\\-]+';
        CSSIcon.iconModifierExpression = '~[A-Za-z]+';
        const cssIconIdRegex = new RegExp(`^(${CSSIcon.iconNameExpression})(${CSSIcon.iconModifierExpression})?$`);
        function asClassNameArray(icon) {
            if (icon instanceof Codicon) {
                return ['codicon', 'codicon-' + icon.id];
            }
            const match = cssIconIdRegex.exec(icon.id);
            if (!match) {
                return asClassNameArray(Codicon.error);
            }
            let [, id, modifier] = match;
            const classNames = ['codicon', 'codicon-' + id];
            if (modifier) {
                classNames.push('codicon-modifier-' + modifier.substr(1));
            }
            return classNames;
        }
        CSSIcon.asClassNameArray = asClassNameArray;
        function asClassName(icon) {
            return asClassNameArray(icon).join(' ');
        }
        CSSIcon.asClassName = asClassName;
        function asCSSSelector(icon) {
            return '.' + asClassNameArray(icon).join('.');
        }
        CSSIcon.asCSSSelector = asCSSSelector;
    })(CSSIcon || (CSSIcon = {}));
    (function (Codicon) {
        // built-in icons, with image name
        Codicon.add = new Codicon('add', { fontCharacter: '\\ea60' });
        Codicon.plus = new Codicon('plus', Codicon.add.definition);
        Codicon.gistNew = new Codicon('gist-new', Codicon.add.definition);
        Codicon.repoCreate = new Codicon('repo-create', Codicon.add.definition);
        Codicon.lightbulb = new Codicon('lightbulb', { fontCharacter: '\\ea61' });
        Codicon.lightBulb = new Codicon('light-bulb', { fontCharacter: '\\ea61' });
        Codicon.repo = new Codicon('repo', { fontCharacter: '\\ea62' });
        Codicon.repoDelete = new Codicon('repo-delete', { fontCharacter: '\\ea62' });
        Codicon.gistFork = new Codicon('gist-fork', { fontCharacter: '\\ea63' });
        Codicon.repoForked = new Codicon('repo-forked', { fontCharacter: '\\ea63' });
        Codicon.gitPullRequest = new Codicon('git-pull-request', { fontCharacter: '\\ea64' });
        Codicon.gitPullRequestAbandoned = new Codicon('git-pull-request-abandoned', { fontCharacter: '\\ea64' });
        Codicon.recordKeys = new Codicon('record-keys', { fontCharacter: '\\ea65' });
        Codicon.keyboard = new Codicon('keyboard', { fontCharacter: '\\ea65' });
        Codicon.tag = new Codicon('tag', { fontCharacter: '\\ea66' });
        Codicon.tagAdd = new Codicon('tag-add', { fontCharacter: '\\ea66' });
        Codicon.tagRemove = new Codicon('tag-remove', { fontCharacter: '\\ea66' });
        Codicon.person = new Codicon('person', { fontCharacter: '\\ea67' });
        Codicon.personFollow = new Codicon('person-follow', { fontCharacter: '\\ea67' });
        Codicon.personOutline = new Codicon('person-outline', { fontCharacter: '\\ea67' });
        Codicon.personFilled = new Codicon('person-filled', { fontCharacter: '\\ea67' });
        Codicon.gitBranch = new Codicon('git-branch', { fontCharacter: '\\ea68' });
        Codicon.gitBranchCreate = new Codicon('git-branch-create', { fontCharacter: '\\ea68' });
        Codicon.gitBranchDelete = new Codicon('git-branch-delete', { fontCharacter: '\\ea68' });
        Codicon.sourceControl = new Codicon('source-control', { fontCharacter: '\\ea68' });
        Codicon.mirror = new Codicon('mirror', { fontCharacter: '\\ea69' });
        Codicon.mirrorPublic = new Codicon('mirror-public', { fontCharacter: '\\ea69' });
        Codicon.star = new Codicon('star', { fontCharacter: '\\ea6a' });
        Codicon.starAdd = new Codicon('star-add', { fontCharacter: '\\ea6a' });
        Codicon.starDelete = new Codicon('star-delete', { fontCharacter: '\\ea6a' });
        Codicon.starEmpty = new Codicon('star-empty', { fontCharacter: '\\ea6a' });
        Codicon.comment = new Codicon('comment', { fontCharacter: '\\ea6b' });
        Codicon.commentAdd = new Codicon('comment-add', { fontCharacter: '\\ea6b' });
        Codicon.alert = new Codicon('alert', { fontCharacter: '\\ea6c' });
        Codicon.warning = new Codicon('warning', { fontCharacter: '\\ea6c' });
        Codicon.search = new Codicon('search', { fontCharacter: '\\ea6d' });
        Codicon.searchSave = new Codicon('search-save', { fontCharacter: '\\ea6d' });
        Codicon.logOut = new Codicon('log-out', { fontCharacter: '\\ea6e' });
        Codicon.signOut = new Codicon('sign-out', { fontCharacter: '\\ea6e' });
        Codicon.logIn = new Codicon('log-in', { fontCharacter: '\\ea6f' });
        Codicon.signIn = new Codicon('sign-in', { fontCharacter: '\\ea6f' });
        Codicon.eye = new Codicon('eye', { fontCharacter: '\\ea70' });
        Codicon.eyeUnwatch = new Codicon('eye-unwatch', { fontCharacter: '\\ea70' });
        Codicon.eyeWatch = new Codicon('eye-watch', { fontCharacter: '\\ea70' });
        Codicon.circleFilled = new Codicon('circle-filled', { fontCharacter: '\\ea71' });
        Codicon.primitiveDot = new Codicon('primitive-dot', { fontCharacter: '\\ea71' });
        Codicon.closeDirty = new Codicon('close-dirty', { fontCharacter: '\\ea71' });
        Codicon.debugBreakpoint = new Codicon('debug-breakpoint', { fontCharacter: '\\ea71' });
        Codicon.debugBreakpointDisabled = new Codicon('debug-breakpoint-disabled', { fontCharacter: '\\ea71' });
        Codicon.debugHint = new Codicon('debug-hint', { fontCharacter: '\\ea71' });
        Codicon.primitiveSquare = new Codicon('primitive-square', { fontCharacter: '\\ea72' });
        Codicon.edit = new Codicon('edit', { fontCharacter: '\\ea73' });
        Codicon.pencil = new Codicon('pencil', { fontCharacter: '\\ea73' });
        Codicon.info = new Codicon('info', { fontCharacter: '\\ea74' });
        Codicon.issueOpened = new Codicon('issue-opened', { fontCharacter: '\\ea74' });
        Codicon.gistPrivate = new Codicon('gist-private', { fontCharacter: '\\ea75' });
        Codicon.gitForkPrivate = new Codicon('git-fork-private', { fontCharacter: '\\ea75' });
        Codicon.lock = new Codicon('lock', { fontCharacter: '\\ea75' });
        Codicon.mirrorPrivate = new Codicon('mirror-private', { fontCharacter: '\\ea75' });
        Codicon.close = new Codicon('close', { fontCharacter: '\\ea76' });
        Codicon.removeClose = new Codicon('remove-close', { fontCharacter: '\\ea76' });
        Codicon.x = new Codicon('x', { fontCharacter: '\\ea76' });
        Codicon.repoSync = new Codicon('repo-sync', { fontCharacter: '\\ea77' });
        Codicon.sync = new Codicon('sync', { fontCharacter: '\\ea77' });
        Codicon.clone = new Codicon('clone', { fontCharacter: '\\ea78' });
        Codicon.desktopDownload = new Codicon('desktop-download', { fontCharacter: '\\ea78' });
        Codicon.beaker = new Codicon('beaker', { fontCharacter: '\\ea79' });
        Codicon.microscope = new Codicon('microscope', { fontCharacter: '\\ea79' });
        Codicon.vm = new Codicon('vm', { fontCharacter: '\\ea7a' });
        Codicon.deviceDesktop = new Codicon('device-desktop', { fontCharacter: '\\ea7a' });
        Codicon.file = new Codicon('file', { fontCharacter: '\\ea7b' });
        Codicon.fileText = new Codicon('file-text', { fontCharacter: '\\ea7b' });
        Codicon.more = new Codicon('more', { fontCharacter: '\\ea7c' });
        Codicon.ellipsis = new Codicon('ellipsis', { fontCharacter: '\\ea7c' });
        Codicon.kebabHorizontal = new Codicon('kebab-horizontal', { fontCharacter: '\\ea7c' });
        Codicon.mailReply = new Codicon('mail-reply', { fontCharacter: '\\ea7d' });
        Codicon.reply = new Codicon('reply', { fontCharacter: '\\ea7d' });
        Codicon.organization = new Codicon('organization', { fontCharacter: '\\ea7e' });
        Codicon.organizationFilled = new Codicon('organization-filled', { fontCharacter: '\\ea7e' });
        Codicon.organizationOutline = new Codicon('organization-outline', { fontCharacter: '\\ea7e' });
        Codicon.newFile = new Codicon('new-file', { fontCharacter: '\\ea7f' });
        Codicon.fileAdd = new Codicon('file-add', { fontCharacter: '\\ea7f' });
        Codicon.newFolder = new Codicon('new-folder', { fontCharacter: '\\ea80' });
        Codicon.fileDirectoryCreate = new Codicon('file-directory-create', { fontCharacter: '\\ea80' });
        Codicon.trash = new Codicon('trash', { fontCharacter: '\\ea81' });
        Codicon.trashcan = new Codicon('trashcan', { fontCharacter: '\\ea81' });
        Codicon.history = new Codicon('history', { fontCharacter: '\\ea82' });
        Codicon.clock = new Codicon('clock', { fontCharacter: '\\ea82' });
        Codicon.folder = new Codicon('folder', { fontCharacter: '\\ea83' });
        Codicon.fileDirectory = new Codicon('file-directory', { fontCharacter: '\\ea83' });
        Codicon.symbolFolder = new Codicon('symbol-folder', { fontCharacter: '\\ea83' });
        Codicon.logoGithub = new Codicon('logo-github', { fontCharacter: '\\ea84' });
        Codicon.markGithub = new Codicon('mark-github', { fontCharacter: '\\ea84' });
        Codicon.github = new Codicon('github', { fontCharacter: '\\ea84' });
        Codicon.terminal = new Codicon('terminal', { fontCharacter: '\\ea85' });
        Codicon.console = new Codicon('console', { fontCharacter: '\\ea85' });
        Codicon.repl = new Codicon('repl', { fontCharacter: '\\ea85' });
        Codicon.zap = new Codicon('zap', { fontCharacter: '\\ea86' });
        Codicon.symbolEvent = new Codicon('symbol-event', { fontCharacter: '\\ea86' });
        Codicon.error = new Codicon('error', { fontCharacter: '\\ea87' });
        Codicon.stop = new Codicon('stop', { fontCharacter: '\\ea87' });
        Codicon.variable = new Codicon('variable', { fontCharacter: '\\ea88' });
        Codicon.symbolVariable = new Codicon('symbol-variable', { fontCharacter: '\\ea88' });
        Codicon.array = new Codicon('array', { fontCharacter: '\\ea8a' });
        Codicon.symbolArray = new Codicon('symbol-array', { fontCharacter: '\\ea8a' });
        Codicon.symbolModule = new Codicon('symbol-module', { fontCharacter: '\\ea8b' });
        Codicon.symbolPackage = new Codicon('symbol-package', { fontCharacter: '\\ea8b' });
        Codicon.symbolNamespace = new Codicon('symbol-namespace', { fontCharacter: '\\ea8b' });
        Codicon.symbolObject = new Codicon('symbol-object', { fontCharacter: '\\ea8b' });
        Codicon.symbolMethod = new Codicon('symbol-method', { fontCharacter: '\\ea8c' });
        Codicon.symbolFunction = new Codicon('symbol-function', { fontCharacter: '\\ea8c' });
        Codicon.symbolConstructor = new Codicon('symbol-constructor', { fontCharacter: '\\ea8c' });
        Codicon.symbolBoolean = new Codicon('symbol-boolean', { fontCharacter: '\\ea8f' });
        Codicon.symbolNull = new Codicon('symbol-null', { fontCharacter: '\\ea8f' });
        Codicon.symbolNumeric = new Codicon('symbol-numeric', { fontCharacter: '\\ea90' });
        Codicon.symbolNumber = new Codicon('symbol-number', { fontCharacter: '\\ea90' });
        Codicon.symbolStructure = new Codicon('symbol-structure', { fontCharacter: '\\ea91' });
        Codicon.symbolStruct = new Codicon('symbol-struct', { fontCharacter: '\\ea91' });
        Codicon.symbolParameter = new Codicon('symbol-parameter', { fontCharacter: '\\ea92' });
        Codicon.symbolTypeParameter = new Codicon('symbol-type-parameter', { fontCharacter: '\\ea92' });
        Codicon.symbolKey = new Codicon('symbol-key', { fontCharacter: '\\ea93' });
        Codicon.symbolText = new Codicon('symbol-text', { fontCharacter: '\\ea93' });
        Codicon.symbolReference = new Codicon('symbol-reference', { fontCharacter: '\\ea94' });
        Codicon.goToFile = new Codicon('go-to-file', { fontCharacter: '\\ea94' });
        Codicon.symbolEnum = new Codicon('symbol-enum', { fontCharacter: '\\ea95' });
        Codicon.symbolValue = new Codicon('symbol-value', { fontCharacter: '\\ea95' });
        Codicon.symbolRuler = new Codicon('symbol-ruler', { fontCharacter: '\\ea96' });
        Codicon.symbolUnit = new Codicon('symbol-unit', { fontCharacter: '\\ea96' });
        Codicon.activateBreakpoints = new Codicon('activate-breakpoints', { fontCharacter: '\\ea97' });
        Codicon.archive = new Codicon('archive', { fontCharacter: '\\ea98' });
        Codicon.arrowBoth = new Codicon('arrow-both', { fontCharacter: '\\ea99' });
        Codicon.arrowDown = new Codicon('arrow-down', { fontCharacter: '\\ea9a' });
        Codicon.arrowLeft = new Codicon('arrow-left', { fontCharacter: '\\ea9b' });
        Codicon.arrowRight = new Codicon('arrow-right', { fontCharacter: '\\ea9c' });
        Codicon.arrowSmallDown = new Codicon('arrow-small-down', { fontCharacter: '\\ea9d' });
        Codicon.arrowSmallLeft = new Codicon('arrow-small-left', { fontCharacter: '\\ea9e' });
        Codicon.arrowSmallRight = new Codicon('arrow-small-right', { fontCharacter: '\\ea9f' });
        Codicon.arrowSmallUp = new Codicon('arrow-small-up', { fontCharacter: '\\eaa0' });
        Codicon.arrowUp = new Codicon('arrow-up', { fontCharacter: '\\eaa1' });
        Codicon.bell = new Codicon('bell', { fontCharacter: '\\eaa2' });
        Codicon.bold = new Codicon('bold', { fontCharacter: '\\eaa3' });
        Codicon.book = new Codicon('book', { fontCharacter: '\\eaa4' });
        Codicon.bookmark = new Codicon('bookmark', { fontCharacter: '\\eaa5' });
        Codicon.debugBreakpointConditionalUnverified = new Codicon('debug-breakpoint-conditional-unverified', { fontCharacter: '\\eaa6' });
        Codicon.debugBreakpointConditional = new Codicon('debug-breakpoint-conditional', { fontCharacter: '\\eaa7' });
        Codicon.debugBreakpointConditionalDisabled = new Codicon('debug-breakpoint-conditional-disabled', { fontCharacter: '\\eaa7' });
        Codicon.debugBreakpointDataUnverified = new Codicon('debug-breakpoint-data-unverified', { fontCharacter: '\\eaa8' });
        Codicon.debugBreakpointData = new Codicon('debug-breakpoint-data', { fontCharacter: '\\eaa9' });
        Codicon.debugBreakpointDataDisabled = new Codicon('debug-breakpoint-data-disabled', { fontCharacter: '\\eaa9' });
        Codicon.debugBreakpointLogUnverified = new Codicon('debug-breakpoint-log-unverified', { fontCharacter: '\\eaaa' });
        Codicon.debugBreakpointLog = new Codicon('debug-breakpoint-log', { fontCharacter: '\\eaab' });
        Codicon.debugBreakpointLogDisabled = new Codicon('debug-breakpoint-log-disabled', { fontCharacter: '\\eaab' });
        Codicon.briefcase = new Codicon('briefcase', { fontCharacter: '\\eaac' });
        Codicon.broadcast = new Codicon('broadcast', { fontCharacter: '\\eaad' });
        Codicon.browser = new Codicon('browser', { fontCharacter: '\\eaae' });
        Codicon.bug = new Codicon('bug', { fontCharacter: '\\eaaf' });
        Codicon.calendar = new Codicon('calendar', { fontCharacter: '\\eab0' });
        Codicon.caseSensitive = new Codicon('case-sensitive', { fontCharacter: '\\eab1' });
        Codicon.check = new Codicon('check', { fontCharacter: '\\eab2' });
        Codicon.checklist = new Codicon('checklist', { fontCharacter: '\\eab3' });
        Codicon.chevronDown = new Codicon('chevron-down', { fontCharacter: '\\eab4' });
        Codicon.dropDownButton = new Codicon('drop-down-button', Codicon.chevronDown.definition);
        Codicon.chevronLeft = new Codicon('chevron-left', { fontCharacter: '\\eab5' });
        Codicon.chevronRight = new Codicon('chevron-right', { fontCharacter: '\\eab6' });
        Codicon.chevronUp = new Codicon('chevron-up', { fontCharacter: '\\eab7' });
        Codicon.chromeClose = new Codicon('chrome-close', { fontCharacter: '\\eab8' });
        Codicon.chromeMaximize = new Codicon('chrome-maximize', { fontCharacter: '\\eab9' });
        Codicon.chromeMinimize = new Codicon('chrome-minimize', { fontCharacter: '\\eaba' });
        Codicon.chromeRestore = new Codicon('chrome-restore', { fontCharacter: '\\eabb' });
        Codicon.circleOutline = new Codicon('circle-outline', { fontCharacter: '\\eabc' });
        Codicon.debugBreakpointUnverified = new Codicon('debug-breakpoint-unverified', { fontCharacter: '\\eabc' });
        Codicon.circleSlash = new Codicon('circle-slash', { fontCharacter: '\\eabd' });
        Codicon.circuitBoard = new Codicon('circuit-board', { fontCharacter: '\\eabe' });
        Codicon.clearAll = new Codicon('clear-all', { fontCharacter: '\\eabf' });
        Codicon.clippy = new Codicon('clippy', { fontCharacter: '\\eac0' });
        Codicon.closeAll = new Codicon('close-all', { fontCharacter: '\\eac1' });
        Codicon.cloudDownload = new Codicon('cloud-download', { fontCharacter: '\\eac2' });
        Codicon.cloudUpload = new Codicon('cloud-upload', { fontCharacter: '\\eac3' });
        Codicon.code = new Codicon('code', { fontCharacter: '\\eac4' });
        Codicon.collapseAll = new Codicon('collapse-all', { fontCharacter: '\\eac5' });
        Codicon.colorMode = new Codicon('color-mode', { fontCharacter: '\\eac6' });
        Codicon.commentDiscussion = new Codicon('comment-discussion', { fontCharacter: '\\eac7' });
        Codicon.compareChanges = new Codicon('compare-changes', { fontCharacter: '\\eafd' });
        Codicon.creditCard = new Codicon('credit-card', { fontCharacter: '\\eac9' });
        Codicon.dash = new Codicon('dash', { fontCharacter: '\\eacc' });
        Codicon.dashboard = new Codicon('dashboard', { fontCharacter: '\\eacd' });
        Codicon.database = new Codicon('database', { fontCharacter: '\\eace' });
        Codicon.debugContinue = new Codicon('debug-continue', { fontCharacter: '\\eacf' });
        Codicon.debugDisconnect = new Codicon('debug-disconnect', { fontCharacter: '\\ead0' });
        Codicon.debugPause = new Codicon('debug-pause', { fontCharacter: '\\ead1' });
        Codicon.debugRestart = new Codicon('debug-restart', { fontCharacter: '\\ead2' });
        Codicon.debugStart = new Codicon('debug-start', { fontCharacter: '\\ead3' });
        Codicon.debugStepInto = new Codicon('debug-step-into', { fontCharacter: '\\ead4' });
        Codicon.debugStepOut = new Codicon('debug-step-out', { fontCharacter: '\\ead5' });
        Codicon.debugStepOver = new Codicon('debug-step-over', { fontCharacter: '\\ead6' });
        Codicon.debugStop = new Codicon('debug-stop', { fontCharacter: '\\ead7' });
        Codicon.debug = new Codicon('debug', { fontCharacter: '\\ead8' });
        Codicon.deviceCameraVideo = new Codicon('device-camera-video', { fontCharacter: '\\ead9' });
        Codicon.deviceCamera = new Codicon('device-camera', { fontCharacter: '\\eada' });
        Codicon.deviceMobile = new Codicon('device-mobile', { fontCharacter: '\\eadb' });
        Codicon.diffAdded = new Codicon('diff-added', { fontCharacter: '\\eadc' });
        Codicon.diffIgnored = new Codicon('diff-ignored', { fontCharacter: '\\eadd' });
        Codicon.diffModified = new Codicon('diff-modified', { fontCharacter: '\\eade' });
        Codicon.diffRemoved = new Codicon('diff-removed', { fontCharacter: '\\eadf' });
        Codicon.diffRenamed = new Codicon('diff-renamed', { fontCharacter: '\\eae0' });
        Codicon.diff = new Codicon('diff', { fontCharacter: '\\eae1' });
        Codicon.discard = new Codicon('discard', { fontCharacter: '\\eae2' });
        Codicon.editorLayout = new Codicon('editor-layout', { fontCharacter: '\\eae3' });
        Codicon.emptyWindow = new Codicon('empty-window', { fontCharacter: '\\eae4' });
        Codicon.exclude = new Codicon('exclude', { fontCharacter: '\\eae5' });
        Codicon.extensions = new Codicon('extensions', { fontCharacter: '\\eae6' });
        Codicon.eyeClosed = new Codicon('eye-closed', { fontCharacter: '\\eae7' });
        Codicon.fileBinary = new Codicon('file-binary', { fontCharacter: '\\eae8' });
        Codicon.fileCode = new Codicon('file-code', { fontCharacter: '\\eae9' });
        Codicon.fileMedia = new Codicon('file-media', { fontCharacter: '\\eaea' });
        Codicon.filePdf = new Codicon('file-pdf', { fontCharacter: '\\eaeb' });
        Codicon.fileSubmodule = new Codicon('file-submodule', { fontCharacter: '\\eaec' });
        Codicon.fileSymlinkDirectory = new Codicon('file-symlink-directory', { fontCharacter: '\\eaed' });
        Codicon.fileSymlinkFile = new Codicon('file-symlink-file', { fontCharacter: '\\eaee' });
        Codicon.fileZip = new Codicon('file-zip', { fontCharacter: '\\eaef' });
        Codicon.files = new Codicon('files', { fontCharacter: '\\eaf0' });
        Codicon.filter = new Codicon('filter', { fontCharacter: '\\eaf1' });
        Codicon.flame = new Codicon('flame', { fontCharacter: '\\eaf2' });
        Codicon.foldDown = new Codicon('fold-down', { fontCharacter: '\\eaf3' });
        Codicon.foldUp = new Codicon('fold-up', { fontCharacter: '\\eaf4' });
        Codicon.fold = new Codicon('fold', { fontCharacter: '\\eaf5' });
        Codicon.folderActive = new Codicon('folder-active', { fontCharacter: '\\eaf6' });
        Codicon.folderOpened = new Codicon('folder-opened', { fontCharacter: '\\eaf7' });
        Codicon.gear = new Codicon('gear', { fontCharacter: '\\eaf8' });
        Codicon.gift = new Codicon('gift', { fontCharacter: '\\eaf9' });
        Codicon.gistSecret = new Codicon('gist-secret', { fontCharacter: '\\eafa' });
        Codicon.gist = new Codicon('gist', { fontCharacter: '\\eafb' });
        Codicon.gitCommit = new Codicon('git-commit', { fontCharacter: '\\eafc' });
        Codicon.gitCompare = new Codicon('git-compare', { fontCharacter: '\\eafd' });
        Codicon.gitMerge = new Codicon('git-merge', { fontCharacter: '\\eafe' });
        Codicon.githubAction = new Codicon('github-action', { fontCharacter: '\\eaff' });
        Codicon.githubAlt = new Codicon('github-alt', { fontCharacter: '\\eb00' });
        Codicon.globe = new Codicon('globe', { fontCharacter: '\\eb01' });
        Codicon.grabber = new Codicon('grabber', { fontCharacter: '\\eb02' });
        Codicon.graph = new Codicon('graph', { fontCharacter: '\\eb03' });
        Codicon.gripper = new Codicon('gripper', { fontCharacter: '\\eb04' });
        Codicon.heart = new Codicon('heart', { fontCharacter: '\\eb05' });
        Codicon.home = new Codicon('home', { fontCharacter: '\\eb06' });
        Codicon.horizontalRule = new Codicon('horizontal-rule', { fontCharacter: '\\eb07' });
        Codicon.hubot = new Codicon('hubot', { fontCharacter: '\\eb08' });
        Codicon.inbox = new Codicon('inbox', { fontCharacter: '\\eb09' });
        Codicon.issueClosed = new Codicon('issue-closed', { fontCharacter: '\\eba4' });
        Codicon.issueReopened = new Codicon('issue-reopened', { fontCharacter: '\\eb0b' });
        Codicon.issues = new Codicon('issues', { fontCharacter: '\\eb0c' });
        Codicon.italic = new Codicon('italic', { fontCharacter: '\\eb0d' });
        Codicon.jersey = new Codicon('jersey', { fontCharacter: '\\eb0e' });
        Codicon.json = new Codicon('json', { fontCharacter: '\\eb0f' });
        Codicon.kebabVertical = new Codicon('kebab-vertical', { fontCharacter: '\\eb10' });
        Codicon.key = new Codicon('key', { fontCharacter: '\\eb11' });
        Codicon.law = new Codicon('law', { fontCharacter: '\\eb12' });
        Codicon.lightbulbAutofix = new Codicon('lightbulb-autofix', { fontCharacter: '\\eb13' });
        Codicon.linkExternal = new Codicon('link-external', { fontCharacter: '\\eb14' });
        Codicon.link = new Codicon('link', { fontCharacter: '\\eb15' });
        Codicon.listOrdered = new Codicon('list-ordered', { fontCharacter: '\\eb16' });
        Codicon.listUnordered = new Codicon('list-unordered', { fontCharacter: '\\eb17' });
        Codicon.liveShare = new Codicon('live-share', { fontCharacter: '\\eb18' });
        Codicon.loading = new Codicon('loading', { fontCharacter: '\\eb19' });
        Codicon.location = new Codicon('location', { fontCharacter: '\\eb1a' });
        Codicon.mailRead = new Codicon('mail-read', { fontCharacter: '\\eb1b' });
        Codicon.mail = new Codicon('mail', { fontCharacter: '\\eb1c' });
        Codicon.markdown = new Codicon('markdown', { fontCharacter: '\\eb1d' });
        Codicon.megaphone = new Codicon('megaphone', { fontCharacter: '\\eb1e' });
        Codicon.mention = new Codicon('mention', { fontCharacter: '\\eb1f' });
        Codicon.milestone = new Codicon('milestone', { fontCharacter: '\\eb20' });
        Codicon.mortarBoard = new Codicon('mortar-board', { fontCharacter: '\\eb21' });
        Codicon.move = new Codicon('move', { fontCharacter: '\\eb22' });
        Codicon.multipleWindows = new Codicon('multiple-windows', { fontCharacter: '\\eb23' });
        Codicon.mute = new Codicon('mute', { fontCharacter: '\\eb24' });
        Codicon.noNewline = new Codicon('no-newline', { fontCharacter: '\\eb25' });
        Codicon.note = new Codicon('note', { fontCharacter: '\\eb26' });
        Codicon.octoface = new Codicon('octoface', { fontCharacter: '\\eb27' });
        Codicon.openPreview = new Codicon('open-preview', { fontCharacter: '\\eb28' });
        Codicon.package_ = new Codicon('package', { fontCharacter: '\\eb29' });
        Codicon.paintcan = new Codicon('paintcan', { fontCharacter: '\\eb2a' });
        Codicon.pin = new Codicon('pin', { fontCharacter: '\\eb2b' });
        Codicon.play = new Codicon('play', { fontCharacter: '\\eb2c' });
        Codicon.run = new Codicon('run', { fontCharacter: '\\eb2c' });
        Codicon.plug = new Codicon('plug', { fontCharacter: '\\eb2d' });
        Codicon.preserveCase = new Codicon('preserve-case', { fontCharacter: '\\eb2e' });
        Codicon.preview = new Codicon('preview', { fontCharacter: '\\eb2f' });
        Codicon.project = new Codicon('project', { fontCharacter: '\\eb30' });
        Codicon.pulse = new Codicon('pulse', { fontCharacter: '\\eb31' });
        Codicon.question = new Codicon('question', { fontCharacter: '\\eb32' });
        Codicon.quote = new Codicon('quote', { fontCharacter: '\\eb33' });
        Codicon.radioTower = new Codicon('radio-tower', { fontCharacter: '\\eb34' });
        Codicon.reactions = new Codicon('reactions', { fontCharacter: '\\eb35' });
        Codicon.references = new Codicon('references', { fontCharacter: '\\eb36' });
        Codicon.refresh = new Codicon('refresh', { fontCharacter: '\\eb37' });
        Codicon.regex = new Codicon('regex', { fontCharacter: '\\eb38' });
        Codicon.remoteExplorer = new Codicon('remote-explorer', { fontCharacter: '\\eb39' });
        Codicon.remote = new Codicon('remote', { fontCharacter: '\\eb3a' });
        Codicon.remove = new Codicon('remove', { fontCharacter: '\\eb3b' });
        Codicon.replaceAll = new Codicon('replace-all', { fontCharacter: '\\eb3c' });
        Codicon.replace = new Codicon('replace', { fontCharacter: '\\eb3d' });
        Codicon.repoClone = new Codicon('repo-clone', { fontCharacter: '\\eb3e' });
        Codicon.repoForcePush = new Codicon('repo-force-push', { fontCharacter: '\\eb3f' });
        Codicon.repoPull = new Codicon('repo-pull', { fontCharacter: '\\eb40' });
        Codicon.repoPush = new Codicon('repo-push', { fontCharacter: '\\eb41' });
        Codicon.report = new Codicon('report', { fontCharacter: '\\eb42' });
        Codicon.requestChanges = new Codicon('request-changes', { fontCharacter: '\\eb43' });
        Codicon.rocket = new Codicon('rocket', { fontCharacter: '\\eb44' });
        Codicon.rootFolderOpened = new Codicon('root-folder-opened', { fontCharacter: '\\eb45' });
        Codicon.rootFolder = new Codicon('root-folder', { fontCharacter: '\\eb46' });
        Codicon.rss = new Codicon('rss', { fontCharacter: '\\eb47' });
        Codicon.ruby = new Codicon('ruby', { fontCharacter: '\\eb48' });
        Codicon.saveAll = new Codicon('save-all', { fontCharacter: '\\eb49' });
        Codicon.saveAs = new Codicon('save-as', { fontCharacter: '\\eb4a' });
        Codicon.save = new Codicon('save', { fontCharacter: '\\eb4b' });
        Codicon.screenFull = new Codicon('screen-full', { fontCharacter: '\\eb4c' });
        Codicon.screenNormal = new Codicon('screen-normal', { fontCharacter: '\\eb4d' });
        Codicon.searchStop = new Codicon('search-stop', { fontCharacter: '\\eb4e' });
        Codicon.server = new Codicon('server', { fontCharacter: '\\eb50' });
        Codicon.settingsGear = new Codicon('settings-gear', { fontCharacter: '\\eb51' });
        Codicon.settings = new Codicon('settings', { fontCharacter: '\\eb52' });
        Codicon.shield = new Codicon('shield', { fontCharacter: '\\eb53' });
        Codicon.smiley = new Codicon('smiley', { fontCharacter: '\\eb54' });
        Codicon.sortPrecedence = new Codicon('sort-precedence', { fontCharacter: '\\eb55' });
        Codicon.splitHorizontal = new Codicon('split-horizontal', { fontCharacter: '\\eb56' });
        Codicon.splitVertical = new Codicon('split-vertical', { fontCharacter: '\\eb57' });
        Codicon.squirrel = new Codicon('squirrel', { fontCharacter: '\\eb58' });
        Codicon.starFull = new Codicon('star-full', { fontCharacter: '\\eb59' });
        Codicon.starHalf = new Codicon('star-half', { fontCharacter: '\\eb5a' });
        Codicon.symbolClass = new Codicon('symbol-class', { fontCharacter: '\\eb5b' });
        Codicon.symbolColor = new Codicon('symbol-color', { fontCharacter: '\\eb5c' });
        Codicon.symbolConstant = new Codicon('symbol-constant', { fontCharacter: '\\eb5d' });
        Codicon.symbolEnumMember = new Codicon('symbol-enum-member', { fontCharacter: '\\eb5e' });
        Codicon.symbolField = new Codicon('symbol-field', { fontCharacter: '\\eb5f' });
        Codicon.symbolFile = new Codicon('symbol-file', { fontCharacter: '\\eb60' });
        Codicon.symbolInterface = new Codicon('symbol-interface', { fontCharacter: '\\eb61' });
        Codicon.symbolKeyword = new Codicon('symbol-keyword', { fontCharacter: '\\eb62' });
        Codicon.symbolMisc = new Codicon('symbol-misc', { fontCharacter: '\\eb63' });
        Codicon.symbolOperator = new Codicon('symbol-operator', { fontCharacter: '\\eb64' });
        Codicon.symbolProperty = new Codicon('symbol-property', { fontCharacter: '\\eb65' });
        Codicon.wrench = new Codicon('wrench', { fontCharacter: '\\eb65' });
        Codicon.wrenchSubaction = new Codicon('wrench-subaction', { fontCharacter: '\\eb65' });
        Codicon.symbolSnippet = new Codicon('symbol-snippet', { fontCharacter: '\\eb66' });
        Codicon.tasklist = new Codicon('tasklist', { fontCharacter: '\\eb67' });
        Codicon.telescope = new Codicon('telescope', { fontCharacter: '\\eb68' });
        Codicon.textSize = new Codicon('text-size', { fontCharacter: '\\eb69' });
        Codicon.threeBars = new Codicon('three-bars', { fontCharacter: '\\eb6a' });
        Codicon.thumbsdown = new Codicon('thumbsdown', { fontCharacter: '\\eb6b' });
        Codicon.thumbsup = new Codicon('thumbsup', { fontCharacter: '\\eb6c' });
        Codicon.tools = new Codicon('tools', { fontCharacter: '\\eb6d' });
        Codicon.triangleDown = new Codicon('triangle-down', { fontCharacter: '\\eb6e' });
        Codicon.triangleLeft = new Codicon('triangle-left', { fontCharacter: '\\eb6f' });
        Codicon.triangleRight = new Codicon('triangle-right', { fontCharacter: '\\eb70' });
        Codicon.triangleUp = new Codicon('triangle-up', { fontCharacter: '\\eb71' });
        Codicon.twitter = new Codicon('twitter', { fontCharacter: '\\eb72' });
        Codicon.unfold = new Codicon('unfold', { fontCharacter: '\\eb73' });
        Codicon.unlock = new Codicon('unlock', { fontCharacter: '\\eb74' });
        Codicon.unmute = new Codicon('unmute', { fontCharacter: '\\eb75' });
        Codicon.unverified = new Codicon('unverified', { fontCharacter: '\\eb76' });
        Codicon.verified = new Codicon('verified', { fontCharacter: '\\eb77' });
        Codicon.versions = new Codicon('versions', { fontCharacter: '\\eb78' });
        Codicon.vmActive = new Codicon('vm-active', { fontCharacter: '\\eb79' });
        Codicon.vmOutline = new Codicon('vm-outline', { fontCharacter: '\\eb7a' });
        Codicon.vmRunning = new Codicon('vm-running', { fontCharacter: '\\eb7b' });
        Codicon.watch = new Codicon('watch', { fontCharacter: '\\eb7c' });
        Codicon.whitespace = new Codicon('whitespace', { fontCharacter: '\\eb7d' });
        Codicon.wholeWord = new Codicon('whole-word', { fontCharacter: '\\eb7e' });
        Codicon.window = new Codicon('window', { fontCharacter: '\\eb7f' });
        Codicon.wordWrap = new Codicon('word-wrap', { fontCharacter: '\\eb80' });
        Codicon.zoomIn = new Codicon('zoom-in', { fontCharacter: '\\eb81' });
        Codicon.zoomOut = new Codicon('zoom-out', { fontCharacter: '\\eb82' });
        Codicon.listFilter = new Codicon('list-filter', { fontCharacter: '\\eb83' });
        Codicon.listFlat = new Codicon('list-flat', { fontCharacter: '\\eb84' });
        Codicon.listSelection = new Codicon('list-selection', { fontCharacter: '\\eb85' });
        Codicon.selection = new Codicon('selection', { fontCharacter: '\\eb85' });
        Codicon.listTree = new Codicon('list-tree', { fontCharacter: '\\eb86' });
        Codicon.debugBreakpointFunctionUnverified = new Codicon('debug-breakpoint-function-unverified', { fontCharacter: '\\eb87' });
        Codicon.debugBreakpointFunction = new Codicon('debug-breakpoint-function', { fontCharacter: '\\eb88' });
        Codicon.debugBreakpointFunctionDisabled = new Codicon('debug-breakpoint-function-disabled', { fontCharacter: '\\eb88' });
        Codicon.debugStackframeActive = new Codicon('debug-stackframe-active', { fontCharacter: '\\eb89' });
        Codicon.debugStackframeDot = new Codicon('debug-stackframe-dot', { fontCharacter: '\\eb8a' });
        Codicon.debugStackframe = new Codicon('debug-stackframe', { fontCharacter: '\\eb8b' });
        Codicon.debugStackframeFocused = new Codicon('debug-stackframe-focused', { fontCharacter: '\\eb8b' });
        Codicon.debugBreakpointUnsupported = new Codicon('debug-breakpoint-unsupported', { fontCharacter: '\\eb8c' });
        Codicon.symbolString = new Codicon('symbol-string', { fontCharacter: '\\eb8d' });
        Codicon.debugReverseContinue = new Codicon('debug-reverse-continue', { fontCharacter: '\\eb8e' });
        Codicon.debugStepBack = new Codicon('debug-step-back', { fontCharacter: '\\eb8f' });
        Codicon.debugRestartFrame = new Codicon('debug-restart-frame', { fontCharacter: '\\eb90' });
        Codicon.callIncoming = new Codicon('call-incoming', { fontCharacter: '\\eb92' });
        Codicon.callOutgoing = new Codicon('call-outgoing', { fontCharacter: '\\eb93' });
        Codicon.menu = new Codicon('menu', { fontCharacter: '\\eb94' });
        Codicon.expandAll = new Codicon('expand-all', { fontCharacter: '\\eb95' });
        Codicon.feedback = new Codicon('feedback', { fontCharacter: '\\eb96' });
        Codicon.groupByRefType = new Codicon('group-by-ref-type', { fontCharacter: '\\eb97' });
        Codicon.ungroupByRefType = new Codicon('ungroup-by-ref-type', { fontCharacter: '\\eb98' });
        Codicon.account = new Codicon('account', { fontCharacter: '\\eb99' });
        Codicon.bellDot = new Codicon('bell-dot', { fontCharacter: '\\eb9a' });
        Codicon.debugConsole = new Codicon('debug-console', { fontCharacter: '\\eb9b' });
        Codicon.library = new Codicon('library', { fontCharacter: '\\eb9c' });
        Codicon.output = new Codicon('output', { fontCharacter: '\\eb9d' });
        Codicon.runAll = new Codicon('run-all', { fontCharacter: '\\eb9e' });
        Codicon.syncIgnored = new Codicon('sync-ignored', { fontCharacter: '\\eb9f' });
        Codicon.pinned = new Codicon('pinned', { fontCharacter: '\\eba0' });
        Codicon.githubInverted = new Codicon('github-inverted', { fontCharacter: '\\eba1' });
        Codicon.debugAlt = new Codicon('debug-alt', { fontCharacter: '\\eb91' });
        Codicon.serverProcess = new Codicon('server-process', { fontCharacter: '\\eba2' });
        Codicon.serverEnvironment = new Codicon('server-environment', { fontCharacter: '\\eba3' });
        Codicon.pass = new Codicon('pass', { fontCharacter: '\\eba4' });
        Codicon.stopCircle = new Codicon('stop-circle', { fontCharacter: '\\eba5' });
        Codicon.playCircle = new Codicon('play-circle', { fontCharacter: '\\eba6' });
        Codicon.record = new Codicon('record', { fontCharacter: '\\eba7' });
        Codicon.debugAltSmall = new Codicon('debug-alt-small', { fontCharacter: '\\eba8' });
        Codicon.vmConnect = new Codicon('vm-connect', { fontCharacter: '\\eba9' });
        Codicon.cloud = new Codicon('cloud', { fontCharacter: '\\ebaa' });
        Codicon.merge = new Codicon('merge', { fontCharacter: '\\ebab' });
        Codicon.exportIcon = new Codicon('export', { fontCharacter: '\\ebac' });
        Codicon.graphLeft = new Codicon('graph-left', { fontCharacter: '\\ebad' });
        Codicon.magnet = new Codicon('magnet', { fontCharacter: '\\ebae' });
        Codicon.notebook = new Codicon('notebook', { fontCharacter: '\\ebaf' });
        Codicon.redo = new Codicon('redo', { fontCharacter: '\\ebb0' });
        Codicon.checkAll = new Codicon('check-all', { fontCharacter: '\\ebb1' });
        Codicon.pinnedDirty = new Codicon('pinned-dirty', { fontCharacter: '\\ebb2' });
        Codicon.passFilled = new Codicon('pass-filled', { fontCharacter: '\\ebb3' });
        Codicon.circleLargeFilled = new Codicon('circle-large-filled', { fontCharacter: '\\ebb4' });
        Codicon.circleLargeOutline = new Codicon('circle-large-outline', { fontCharacter: '\\ebb5' });
        Codicon.combine = new Codicon('combine', { fontCharacter: '\\ebb6' });
        Codicon.gather = new Codicon('gather', { fontCharacter: '\\ebb6' });
        Codicon.table = new Codicon('table', { fontCharacter: '\\ebb7' });
        Codicon.variableGroup = new Codicon('variable-group', { fontCharacter: '\\ebb8' });
        Codicon.typeHierarchy = new Codicon('type-hierarchy', { fontCharacter: '\\ebb9' });
        Codicon.typeHierarchySub = new Codicon('type-hierarchy-sub', { fontCharacter: '\\ebba' });
        Codicon.typeHierarchySuper = new Codicon('type-hierarchy-super', { fontCharacter: '\\ebbb' });
        Codicon.gitPullRequestCreate = new Codicon('git-pull-request-create', { fontCharacter: '\\ebbc' });
        Codicon.runAbove = new Codicon('run-above', { fontCharacter: '\\ebbd' });
        Codicon.runBelow = new Codicon('run-below', { fontCharacter: '\\ebbe' });
        Codicon.notebookTemplate = new Codicon('notebook-template', { fontCharacter: '\\ebbf' });
        Codicon.debugRerun = new Codicon('debug-rerun', { fontCharacter: '\\ebc0' });
        Codicon.workspaceTrusted = new Codicon('workspace-trusted', { fontCharacter: '\\ebc1' });
        Codicon.workspaceUntrusted = new Codicon('workspace-untrusted', { fontCharacter: '\\ebc2' });
        Codicon.workspaceUnspecified = new Codicon('workspace-unspecified', { fontCharacter: '\\ebc3' });
        Codicon.terminalCmd = new Codicon('terminal-cmd', { fontCharacter: '\\ebc4' });
        Codicon.terminalDebian = new Codicon('terminal-debian', { fontCharacter: '\\ebc5' });
        Codicon.terminalLinux = new Codicon('terminal-linux', { fontCharacter: '\\ebc6' });
        Codicon.terminalPowershell = new Codicon('terminal-powershell', { fontCharacter: '\\ebc7' });
        Codicon.terminalTmux = new Codicon('terminal-tmux', { fontCharacter: '\\ebc8' });
        Codicon.terminalUbuntu = new Codicon('terminal-ubuntu', { fontCharacter: '\\ebc9' });
        Codicon.terminalBash = new Codicon('terminal-bash', { fontCharacter: '\\ebca' });
        Codicon.arrowSwap = new Codicon('arrow-swap', { fontCharacter: '\\ebcb' });
        Codicon.copy = new Codicon('copy', { fontCharacter: '\\ebcc' });
        Codicon.personAdd = new Codicon('person-add', { fontCharacter: '\\ebcd' });
        Codicon.filterFilled = new Codicon('filter-filled', { fontCharacter: '\\ebce' });
        Codicon.wand = new Codicon('wand', { fontCharacter: '\\ebcf' });
        Codicon.debugLineByLine = new Codicon('debug-line-by-line', { fontCharacter: '\\ebd0' });
        Codicon.inspect = new Codicon('inspect', { fontCharacter: '\\ebd1' });
        Codicon.layers = new Codicon('layers', { fontCharacter: '\\ebd2' });
        Codicon.layersDot = new Codicon('layers-dot', { fontCharacter: '\\ebd3' });
        Codicon.layersActive = new Codicon('layers-active', { fontCharacter: '\\ebd4' });
        Codicon.compass = new Codicon('compass', { fontCharacter: '\\ebd5' });
        Codicon.compassDot = new Codicon('compass-dot', { fontCharacter: '\\ebd6' });
        Codicon.compassActive = new Codicon('compass-active', { fontCharacter: '\\ebd7' });
        Codicon.azure = new Codicon('azure', { fontCharacter: '\\ebd8' });
        Codicon.issueDraft = new Codicon('issue-draft', { fontCharacter: '\\ebd9' });
        Codicon.gitPullRequestClosed = new Codicon('git-pull-request-closed', { fontCharacter: '\\ebda' });
        Codicon.gitPullRequestDraft = new Codicon('git-pull-request-draft', { fontCharacter: '\\ebdb' });
        Codicon.debugAll = new Codicon('debug-all', { fontCharacter: '\\ebdc' });
        Codicon.debugCoverage = new Codicon('debug-coverage', { fontCharacter: '\\ebdd' });
        Codicon.runErrors = new Codicon('run-errors', { fontCharacter: '\\ebde' });
        Codicon.folderLibrary = new Codicon('folder-library', { fontCharacter: '\\ebdf' });
        Codicon.debugContinueSmall = new Codicon('debug-continue-small', { fontCharacter: '\\ebe0' });
        Codicon.beakerStop = new Codicon('beaker-stop', { fontCharacter: '\\ebe1' });
        Codicon.graphLine = new Codicon('graph-line', { fontCharacter: '\\ebe2' });
        Codicon.graphScatter = new Codicon('graph-scatter', { fontCharacter: '\\ebe3' });
        Codicon.pieChart = new Codicon('pie-chart', { fontCharacter: '\\ebe4' });
        Codicon.bracket = new Codicon('bracket', Codicon.json.definition);
        Codicon.bracketDot = new Codicon('bracket-dot', { fontCharacter: '\\ebe5' });
        Codicon.bracketError = new Codicon('bracket-error', { fontCharacter: '\\ebe6' });
        Codicon.lockSmall = new Codicon('lock-small', { fontCharacter: '\\ebe7' });
        Codicon.azureDevops = new Codicon('azure-devops', { fontCharacter: '\\ebe8' });
        Codicon.verifiedFilled = new Codicon('verified-filled', { fontCharacter: '\\ebe9' });
    })(Codicon || (Codicon = {}));
    
    
    /***/ }),
    
    /***/ 79881:
    /*!***************************************************************************************!*\
      !*** ./node_modules/_monaco-editor@0.30.0@monaco-editor/esm/vs/base/common/errors.js ***!
      \***************************************************************************************/
    /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
    
    "use strict";
    /* harmony export */ __webpack_require__.d(__webpack_exports__, {
    /* harmony export */   B8: function() { return /* binding */ NotSupportedError; },
    /* harmony export */   Cp: function() { return /* binding */ onUnexpectedExternalError; },
    /* harmony export */   F0: function() { return /* binding */ canceled; },
    /* harmony export */   L6: function() { return /* binding */ illegalState; },
    /* harmony export */   VV: function() { return /* binding */ isPromiseCanceledError; },
    /* harmony export */   b1: function() { return /* binding */ illegalArgument; },
    /* harmony export */   dL: function() { return /* binding */ onUnexpectedError; },
    /* harmony export */   ri: function() { return /* binding */ transformErrorForSerialization; }
    /* harmony export */ });
    /* unused harmony exports ErrorHandler, errorHandler */
    // Avoid circular dependency on EventEmitter by implementing a subset of the interface.
    class ErrorHandler {
        constructor() {
            this.listeners = [];
            this.unexpectedErrorHandler = function (e) {
                setTimeout(() => {
                    if (e.stack) {
                        throw new Error(e.message + '\n\n' + e.stack);
                    }
                    throw e;
                }, 0);
            };
        }
        emit(e) {
            this.listeners.forEach((listener) => {
                listener(e);
            });
        }
        onUnexpectedError(e) {
            this.unexpectedErrorHandler(e);
            this.emit(e);
        }
        // For external errors, we don't want the listeners to be called
        onUnexpectedExternalError(e) {
            this.unexpectedErrorHandler(e);
        }
    }
    const errorHandler = new ErrorHandler();
    function onUnexpectedError(e) {
        // ignore errors from cancelled promises
        if (!isPromiseCanceledError(e)) {
            errorHandler.onUnexpectedError(e);
        }
        return undefined;
    }
    function onUnexpectedExternalError(e) {
        // ignore errors from cancelled promises
        if (!isPromiseCanceledError(e)) {
            errorHandler.onUnexpectedExternalError(e);
        }
        return undefined;
    }
    function transformErrorForSerialization(error) {
        if (error instanceof Error) {
            let { name, message } = error;
            const stack = error.stacktrace || error.stack;
            return {
                $isError: true,
                name,
                message,
                stack
            };
        }
        // return as is
        return error;
    }
    const canceledName = 'Canceled';
    /**
     * Checks if the given error is a promise in canceled state
     */
    function isPromiseCanceledError(error) {
        return error instanceof Error && error.name === canceledName && error.message === canceledName;
    }
    /**
     * Returns an error that signals cancellation.
     */
    function canceled() {
        const error = new Error(canceledName);
        error.name = error.message;
        return error;
    }
    function illegalArgument(name) {
        if (name) {
            return new Error(`Illegal argument: ${name}`);
        }
        else {
            return new Error('Illegal argument');
        }
    }
    function illegalState(name) {
        if (name) {
            return new Error(`Illegal state: ${name}`);
        }
        else {
            return new Error('Illegal state');
        }
    }
    class NotSupportedError extends Error {
        constructor(message) {
            super('NotSupported');
            if (message) {
                this.message = message;
            }
        }
    }
    
    
    /***/ }),
    
    /***/ 4348:
    /*!**************************************************************************************!*\
      !*** ./node_modules/_monaco-editor@0.30.0@monaco-editor/esm/vs/base/common/event.js ***!
      \**************************************************************************************/
    /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
    
    "use strict";
    /* harmony export */ __webpack_require__.d(__webpack_exports__, {
    /* harmony export */   D0: function() { return /* binding */ DebounceEmitter; },
    /* harmony export */   E7: function() { return /* binding */ EventBufferer; },
    /* harmony export */   K3: function() { return /* binding */ PauseableEmitter; },
    /* harmony export */   Q5: function() { return /* binding */ Emitter; },
    /* harmony export */   ZD: function() { return /* binding */ Relay; },
    /* harmony export */   ju: function() { return /* binding */ Event; }
    /* harmony export */ });
    /* harmony import */ var _errors_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./errors.js */ 79881);
    /* harmony import */ var _lifecycle_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./lifecycle.js */ 69323);
    /* harmony import */ var _linkedList_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./linkedList.js */ 34502);
    /* harmony import */ var _stopwatch_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./stopwatch.js */ 95830);
    
    
    
    
    var Event;
    (function (Event) {
        Event.None = () => _lifecycle_js__WEBPACK_IMPORTED_MODULE_1__/* .Disposable */ .JT.None;
        /**
         * Given an event, returns another event which only fires once.
         */
        function once(event) {
            return (listener, thisArgs = null, disposables) => {
                // we need this, in case the event fires during the listener call
                let didFire = false;
                let result;
                result = event(e => {
                    if (didFire) {
                        return;
                    }
                    else if (result) {
                        result.dispose();
                    }
                    else {
                        didFire = true;
                    }
                    return listener.call(thisArgs, e);
                }, null, disposables);
                if (didFire) {
                    result.dispose();
                }
                return result;
            };
        }
        Event.once = once;
        /**
         * @deprecated DO NOT use, this leaks memory
         */
        function map(event, map) {
            return snapshot((listener, thisArgs = null, disposables) => event(i => listener.call(thisArgs, map(i)), null, disposables));
        }
        Event.map = map;
        /**
         * @deprecated DO NOT use, this leaks memory
         */
        function forEach(event, each) {
            return snapshot((listener, thisArgs = null, disposables) => event(i => { each(i); listener.call(thisArgs, i); }, null, disposables));
        }
        Event.forEach = forEach;
        function filter(event, filter) {
            return snapshot((listener, thisArgs = null, disposables) => event(e => filter(e) && listener.call(thisArgs, e), null, disposables));
        }
        Event.filter = filter;
        /**
         * Given an event, returns the same event but typed as `Event<void>`.
         */
        function signal(event) {
            return event;
        }
        Event.signal = signal;
        function any(...events) {
            return (listener, thisArgs = null, disposables) => (0,_lifecycle_js__WEBPACK_IMPORTED_MODULE_1__/* .combinedDisposable */ .F8)(...events.map(event => event(e => listener.call(thisArgs, e), null, disposables)));
        }
        Event.any = any;
        /**
         * @deprecated DO NOT use, this leaks memory
         */
        function reduce(event, merge, initial) {
            let output = initial;
            return map(event, e => {
                output = merge(output, e);
                return output;
            });
        }
        Event.reduce = reduce;
        /**
         * @deprecated DO NOT use, this leaks memory
         */
        function snapshot(event) {
            let listener;
            const emitter = new Emitter({
                onFirstListenerAdd() {
                    listener = event(emitter.fire, emitter);
                },
                onLastListenerRemove() {
                    listener.dispose();
                }
            });
            return emitter.event;
        }
        /**
         * @deprecated DO NOT use, this leaks memory
         */
        function debounce(event, merge, delay = 100, leading = false, leakWarningThreshold) {
            let subscription;
            let output = undefined;
            let handle = undefined;
            let numDebouncedCalls = 0;
            const emitter = new Emitter({
                leakWarningThreshold,
                onFirstListenerAdd() {
                    subscription = event(cur => {
                        numDebouncedCalls++;
                        output = merge(output, cur);
                        if (leading && !handle) {
                            emitter.fire(output);
                            output = undefined;
                        }
                        clearTimeout(handle);
                        handle = setTimeout(() => {
                            const _output = output;
                            output = undefined;
                            handle = undefined;
                            if (!leading || numDebouncedCalls > 1) {
                                emitter.fire(_output);
                            }
                            numDebouncedCalls = 0;
                        }, delay);
                    });
                },
                onLastListenerRemove() {
                    subscription.dispose();
                }
            });
            return emitter.event;
        }
        Event.debounce = debounce;
        /**
         * @deprecated DO NOT use, this leaks memory
         */
        function latch(event, equals = (a, b) => a === b) {
            let firstCall = true;
            let cache;
            return filter(event, value => {
                const shouldEmit = firstCall || !equals(value, cache);
                firstCall = false;
                cache = value;
                return shouldEmit;
            });
        }
        Event.latch = latch;
        /**
         * @deprecated DO NOT use, this leaks memory
         */
        function split(event, isT) {
            return [
                Event.filter(event, isT),
                Event.filter(event, e => !isT(e)),
            ];
        }
        Event.split = split;
        /**
         * @deprecated DO NOT use, this leaks memory
         */
        function buffer(event, nextTick = false, _buffer = []) {
            let buffer = _buffer.slice();
            let listener = event(e => {
                if (buffer) {
                    buffer.push(e);
                }
                else {
                    emitter.fire(e);
                }
            });
            const flush = () => {
                if (buffer) {
                    buffer.forEach(e => emitter.fire(e));
                }
                buffer = null;
            };
            const emitter = new Emitter({
                onFirstListenerAdd() {
                    if (!listener) {
                        listener = event(e => emitter.fire(e));
                    }
                },
                onFirstListenerDidAdd() {
                    if (buffer) {
                        if (nextTick) {
                            setTimeout(flush);
                        }
                        else {
                            flush();
                        }
                    }
                },
                onLastListenerRemove() {
                    if (listener) {
                        listener.dispose();
                    }
                    listener = null;
                }
            });
            return emitter.event;
        }
        Event.buffer = buffer;
        class ChainableEvent {
            constructor(event) {
                this.event = event;
            }
            map(fn) {
                return new ChainableEvent(map(this.event, fn));
            }
            forEach(fn) {
                return new ChainableEvent(forEach(this.event, fn));
            }
            filter(fn) {
                return new ChainableEvent(filter(this.event, fn));
            }
            reduce(merge, initial) {
                return new ChainableEvent(reduce(this.event, merge, initial));
            }
            latch() {
                return new ChainableEvent(latch(this.event));
            }
            debounce(merge, delay = 100, leading = false, leakWarningThreshold) {
                return new ChainableEvent(debounce(this.event, merge, delay, leading, leakWarningThreshold));
            }
            on(listener, thisArgs, disposables) {
                return this.event(listener, thisArgs, disposables);
            }
            once(listener, thisArgs, disposables) {
                return once(this.event)(listener, thisArgs, disposables);
            }
        }
        /**
         * @deprecated DO NOT use, this leaks memory
         */
        function chain(event) {
            return new ChainableEvent(event);
        }
        Event.chain = chain;
        function fromNodeEventEmitter(emitter, eventName, map = id => id) {
            const fn = (...args) => result.fire(map(...args));
            const onFirstListenerAdd = () => emitter.on(eventName, fn);
            const onLastListenerRemove = () => emitter.removeListener(eventName, fn);
            const result = new Emitter({ onFirstListenerAdd, onLastListenerRemove });
            return result.event;
        }
        Event.fromNodeEventEmitter = fromNodeEventEmitter;
        function fromDOMEventEmitter(emitter, eventName, map = id => id) {
            const fn = (...args) => result.fire(map(...args));
            const onFirstListenerAdd = () => emitter.addEventListener(eventName, fn);
            const onLastListenerRemove = () => emitter.removeEventListener(eventName, fn);
            const result = new Emitter({ onFirstListenerAdd, onLastListenerRemove });
            return result.event;
        }
        Event.fromDOMEventEmitter = fromDOMEventEmitter;
        function toPromise(event) {
            return new Promise(resolve => once(event)(resolve));
        }
        Event.toPromise = toPromise;
    })(Event || (Event = {}));
    class EventProfiling {
        constructor(name) {
            this._listenerCount = 0;
            this._invocationCount = 0;
            this._elapsedOverall = 0;
            this._name = `${name}_${EventProfiling._idPool++}`;
        }
        start(listenerCount) {
            this._stopWatch = new _stopwatch_js__WEBPACK_IMPORTED_MODULE_3__/* .StopWatch */ .G(true);
            this._listenerCount = listenerCount;
        }
        stop() {
            if (this._stopWatch) {
                const elapsed = this._stopWatch.elapsed();
                this._elapsedOverall += elapsed;
                this._invocationCount += 1;
                console.info(`did FIRE ${this._name}: elapsed_ms: ${elapsed.toFixed(5)}, listener: ${this._listenerCount} (elapsed_overall: ${this._elapsedOverall.toFixed(2)}, invocations: ${this._invocationCount})`);
                this._stopWatch = undefined;
            }
        }
    }
    EventProfiling._idPool = 0;
    let _globalLeakWarningThreshold = -1;
    class LeakageMonitor {
        constructor(customThreshold, name = Math.random().toString(18).slice(2, 5)) {
            this.customThreshold = customThreshold;
            this.name = name;
            this._warnCountdown = 0;
        }
        dispose() {
            if (this._stacks) {
                this._stacks.clear();
            }
        }
        check(listenerCount) {
            let threshold = _globalLeakWarningThreshold;
            if (typeof this.customThreshold === 'number') {
                threshold = this.customThreshold;
            }
            if (threshold <= 0 || listenerCount < threshold) {
                return undefined;
            }
            if (!this._stacks) {
                this._stacks = new Map();
            }
            const stack = new Error().stack.split('\n').slice(3).join('\n');
            const count = (this._stacks.get(stack) || 0);
            this._stacks.set(stack, count + 1);
            this._warnCountdown -= 1;
            if (this._warnCountdown <= 0) {
                // only warn on first exceed and then every time the limit
                // is exceeded by 50% again
                this._warnCountdown = threshold * 0.5;
                // find most frequent listener and print warning
                let topStack;
                let topCount = 0;
                for (const [stack, count] of this._stacks) {
                    if (!topStack || topCount < count) {
                        topStack = stack;
                        topCount = count;
                    }
                }
                console.warn(`[${this.name}] potential listener LEAK detected, having ${listenerCount} listeners already. MOST frequent listener (${topCount}):`);
                console.warn(topStack);
            }
            return () => {
                const count = (this._stacks.get(stack) || 0);
                this._stacks.set(stack, count - 1);
            };
        }
    }
    /**
     * The Emitter can be used to expose an Event to the public
     * to fire it from the insides.
     * Sample:
        class Document {
    
            private readonly _onDidChange = new Emitter<(value:string)=>any>();
    
            public onDidChange = this._onDidChange.event;
    
            // getter-style
            // get onDidChange(): Event<(value:string)=>any> {
            // 	return this._onDidChange.event;
            // }
    
            private _doIt() {
                //...
                this._onDidChange.fire(value);
            }
        }
     */
    class Emitter {
        constructor(options) {
            var _a;
            this._disposed = false;
            this._options = options;
            this._leakageMon = _globalLeakWarningThreshold > 0 ? new LeakageMonitor(this._options && this._options.leakWarningThreshold) : undefined;
            this._perfMon = ((_a = this._options) === null || _a === void 0 ? void 0 : _a._profName) ? new EventProfiling(this._options._profName) : undefined;
        }
        /**
         * For the public to allow to subscribe
         * to events from this Emitter
         */
        get event() {
            if (!this._event) {
                this._event = (listener, thisArgs, disposables) => {
                    var _a;
                    if (!this._listeners) {
                        this._listeners = new _linkedList_js__WEBPACK_IMPORTED_MODULE_2__/* .LinkedList */ .S();
                    }
                    const firstListener = this._listeners.isEmpty();
                    if (firstListener && this._options && this._options.onFirstListenerAdd) {
                        this._options.onFirstListenerAdd(this);
                    }
                    const remove = this._listeners.push(!thisArgs ? listener : [listener, thisArgs]);
                    if (firstListener && this._options && this._options.onFirstListenerDidAdd) {
                        this._options.onFirstListenerDidAdd(this);
                    }
                    if (this._options && this._options.onListenerDidAdd) {
                        this._options.onListenerDidAdd(this, listener, thisArgs);
                    }
                    // check and record this emitter for potential leakage
                    const removeMonitor = (_a = this._leakageMon) === null || _a === void 0 ? void 0 : _a.check(this._listeners.size);
                    const result = (0,_lifecycle_js__WEBPACK_IMPORTED_MODULE_1__/* .toDisposable */ .OF)(() => {
                        if (removeMonitor) {
                            removeMonitor();
                        }
                        if (!this._disposed) {
                            remove();
                            if (this._options && this._options.onLastListenerRemove) {
                                const hasListeners = (this._listeners && !this._listeners.isEmpty());
                                if (!hasListeners) {
                                    this._options.onLastListenerRemove(this);
                                }
                            }
                        }
                    });
                    if (disposables instanceof _lifecycle_js__WEBPACK_IMPORTED_MODULE_1__/* .DisposableStore */ .SL) {
                        disposables.add(result);
                    }
                    else if (Array.isArray(disposables)) {
                        disposables.push(result);
                    }
                    return result;
                };
            }
            return this._event;
        }
        /**
         * To be kept private to fire an event to
         * subscribers
         */
        fire(event) {
            var _a, _b;
            if (this._listeners) {
                // put all [listener,event]-pairs into delivery queue
                // then emit all event. an inner/nested event might be
                // the driver of this
                if (!this._deliveryQueue) {
                    this._deliveryQueue = new _linkedList_js__WEBPACK_IMPORTED_MODULE_2__/* .LinkedList */ .S();
                }
                for (let listener of this._listeners) {
                    this._deliveryQueue.push([listener, event]);
                }
                // start/stop performance insight collection
                (_a = this._perfMon) === null || _a === void 0 ? void 0 : _a.start(this._deliveryQueue.size);
                while (this._deliveryQueue.size > 0) {
                    const [listener, event] = this._deliveryQueue.shift();
                    try {
                        if (typeof listener === 'function') {
                            listener.call(undefined, event);
                        }
                        else {
                            listener[0].call(listener[1], event);
                        }
                    }
                    catch (e) {
                        (0,_errors_js__WEBPACK_IMPORTED_MODULE_0__/* .onUnexpectedError */ .dL)(e);
                    }
                }
                (_b = this._perfMon) === null || _b === void 0 ? void 0 : _b.stop();
            }
        }
        dispose() {
            var _a, _b, _c, _d, _e;
            if (!this._disposed) {
                this._disposed = true;
                (_a = this._listeners) === null || _a === void 0 ? void 0 : _a.clear();
                (_b = this._deliveryQueue) === null || _b === void 0 ? void 0 : _b.clear();
                (_d = (_c = this._options) === null || _c === void 0 ? void 0 : _c.onLastListenerRemove) === null || _d === void 0 ? void 0 : _d.call(_c);
                (_e = this._leakageMon) === null || _e === void 0 ? void 0 : _e.dispose();
            }
        }
    }
    class PauseableEmitter extends Emitter {
        constructor(options) {
            super(options);
            this._isPaused = 0;
            this._eventQueue = new _linkedList_js__WEBPACK_IMPORTED_MODULE_2__/* .LinkedList */ .S();
            this._mergeFn = options === null || options === void 0 ? void 0 : options.merge;
        }
        pause() {
            this._isPaused++;
        }
        resume() {
            if (this._isPaused !== 0 && --this._isPaused === 0) {
                if (this._mergeFn) {
                    // use the merge function to create a single composite
                    // event. make a copy in case firing pauses this emitter
                    const events = Array.from(this._eventQueue);
                    this._eventQueue.clear();
                    super.fire(this._mergeFn(events));
                }
                else {
                    // no merging, fire each event individually and test
                    // that this emitter isn't paused halfway through
                    while (!this._isPaused && this._eventQueue.size !== 0) {
                        super.fire(this._eventQueue.shift());
                    }
                }
            }
        }
        fire(event) {
            if (this._listeners) {
                if (this._isPaused !== 0) {
                    this._eventQueue.push(event);
                }
                else {
                    super.fire(event);
                }
            }
        }
    }
    class DebounceEmitter extends PauseableEmitter {
        constructor(options) {
            var _a;
            super(options);
            this._delay = (_a = options.delay) !== null && _a !== void 0 ? _a : 100;
        }
        fire(event) {
            if (!this._handle) {
                this.pause();
                this._handle = setTimeout(() => {
                    this._handle = undefined;
                    this.resume();
                }, this._delay);
            }
            super.fire(event);
        }
    }
    /**
     * The EventBufferer is useful in situations in which you want
     * to delay firing your events during some code.
     * You can wrap that code and be sure that the event will not
     * be fired during that wrap.
     *
     * ```
     * const emitter: Emitter;
     * const delayer = new EventDelayer();
     * const delayedEvent = delayer.wrapEvent(emitter.event);
     *
     * delayedEvent(console.log);
     *
     * delayer.bufferEvents(() => {
     *   emitter.fire(); // event will not be fired yet
     * });
     *
     * // event will only be fired at this point
     * ```
     */
    class EventBufferer {
        constructor() {
            this.buffers = [];
        }
        wrapEvent(event) {
            return (listener, thisArgs, disposables) => {
                return event(i => {
                    const buffer = this.buffers[this.buffers.length - 1];
                    if (buffer) {
                        buffer.push(() => listener.call(thisArgs, i));
                    }
                    else {
                        listener.call(thisArgs, i);
                    }
                }, undefined, disposables);
            };
        }
        bufferEvents(fn) {
            const buffer = [];
            this.buffers.push(buffer);
            const r = fn();
            this.buffers.pop();
            buffer.forEach(flush => flush());
            return r;
        }
    }
    /**
     * A Relay is an event forwarder which functions as a replugabble event pipe.
     * Once created, you can connect an input event to it and it will simply forward
     * events from that input event through its own `event` property. The `input`
     * can be changed at any point in time.
     */
    class Relay {
        constructor() {
            this.listening = false;
            this.inputEvent = Event.None;
            this.inputEventListener = _lifecycle_js__WEBPACK_IMPORTED_MODULE_1__/* .Disposable */ .JT.None;
            this.emitter = new Emitter({
                onFirstListenerDidAdd: () => {
                    this.listening = true;
                    this.inputEventListener = this.inputEvent(this.emitter.fire, this.emitter);
                },
                onLastListenerRemove: () => {
                    this.listening = false;
                    this.inputEventListener.dispose();
                }
            });
            this.event = this.emitter.event;
        }
        set input(event) {
            this.inputEvent = event;
            if (this.listening) {
                this.inputEventListener.dispose();
                this.inputEventListener = event(this.emitter.fire, this.emitter);
            }
        }
        dispose() {
            this.inputEventListener.dispose();
            this.emitter.dispose();
        }
    }
    
    
    /***/ }),
    
    /***/ 17845:
    /*!*******************************************************************************************!*\
      !*** ./node_modules/_monaco-editor@0.30.0@monaco-editor/esm/vs/base/common/functional.js ***!
      \*******************************************************************************************/
    /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
    
    "use strict";
    /* harmony export */ __webpack_require__.d(__webpack_exports__, {
    /* harmony export */   I: function() { return /* binding */ once; }
    /* harmony export */ });
    /*---------------------------------------------------------------------------------------------
     *  Copyright (c) Microsoft Corporation. All rights reserved.
     *  Licensed under the MIT License. See License.txt in the project root for license information.
     *--------------------------------------------------------------------------------------------*/
    function once(fn) {
        const _this = this;
        let didCall = false;
        let result;
        return function () {
            if (didCall) {
                return result;
            }
            didCall = true;
            result = fn.apply(_this, arguments);
            return result;
        };
    }
    
    
    /***/ }),
    
    /***/ 88226:
    /*!*****************************************************************************************!*\
      !*** ./node_modules/_monaco-editor@0.30.0@monaco-editor/esm/vs/base/common/iterator.js ***!
      \*****************************************************************************************/
    /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
    
    "use strict";
    /* harmony export */ __webpack_require__.d(__webpack_exports__, {
    /* harmony export */   $: function() { return /* binding */ Iterable; }
    /* harmony export */ });
    /*---------------------------------------------------------------------------------------------
     *  Copyright (c) Microsoft Corporation. All rights reserved.
     *  Licensed under the MIT License. See License.txt in the project root for license information.
     *--------------------------------------------------------------------------------------------*/
    var Iterable;
    (function (Iterable) {
        function is(thing) {
            return thing && typeof thing === 'object' && typeof thing[Symbol.iterator] === 'function';
        }
        Iterable.is = is;
        const _empty = Object.freeze([]);
        function empty() {
            return _empty;
        }
        Iterable.empty = empty;
        function* single(element) {
            yield element;
        }
        Iterable.single = single;
        function from(iterable) {
            return iterable || _empty;
        }
        Iterable.from = from;
        function isEmpty(iterable) {
            return !iterable || iterable[Symbol.iterator]().next().done === true;
        }
        Iterable.isEmpty = isEmpty;
        function first(iterable) {
            return iterable[Symbol.iterator]().next().value;
        }
        Iterable.first = first;
        function some(iterable, predicate) {
            for (const element of iterable) {
                if (predicate(element)) {
                    return true;
                }
            }
            return false;
        }
        Iterable.some = some;
        function find(iterable, predicate) {
            for (const element of iterable) {
                if (predicate(element)) {
                    return element;
                }
            }
            return undefined;
        }
        Iterable.find = find;
        function* filter(iterable, predicate) {
            for (const element of iterable) {
                if (predicate(element)) {
                    yield element;
                }
            }
        }
        Iterable.filter = filter;
        function* map(iterable, fn) {
            let index = 0;
            for (const element of iterable) {
                yield fn(element, index++);
            }
        }
        Iterable.map = map;
        function* concat(...iterables) {
            for (const iterable of iterables) {
                for (const element of iterable) {
                    yield element;
                }
            }
        }
        Iterable.concat = concat;
        function* concatNested(iterables) {
            for (const iterable of iterables) {
                for (const element of iterable) {
                    yield element;
                }
            }
        }
        Iterable.concatNested = concatNested;
        function reduce(iterable, reducer, initialValue) {
            let value = initialValue;
            for (const element of iterable) {
                value = reducer(value, element);
            }
            return value;
        }
        Iterable.reduce = reduce;
        /**
         * Returns an iterable slice of the array, with the same semantics as `array.slice()`.
         */
        function* slice(arr, from, to = arr.length) {
            if (from < 0) {
                from += arr.length;
            }
            if (to < 0) {
                to += arr.length;
            }
            else if (to > arr.length) {
                to = arr.length;
            }
            for (; from < to; from++) {
                yield arr[from];
            }
        }
        Iterable.slice = slice;
        /**
         * Consumes `atMost` elements from iterable and returns the consumed elements,
         * and an iterable for the rest of the elements.
         */
        function consume(iterable, atMost = Number.POSITIVE_INFINITY) {
            const consumed = [];
            if (atMost === 0) {
                return [consumed, iterable];
            }
            const iterator = iterable[Symbol.iterator]();
            for (let i = 0; i < atMost; i++) {
                const next = iterator.next();
                if (next.done) {
                    return [consumed, Iterable.empty()];
                }
                consumed.push(next.value);
            }
            return [consumed, { [Symbol.iterator]() { return iterator; } }];
        }
        Iterable.consume = consume;
        /**
         * Returns whether the iterables are the same length and all items are
         * equal using the comparator function.
         */
        function equals(a, b, comparator = (at, bt) => at === bt) {
            const ai = a[Symbol.iterator]();
            const bi = b[Symbol.iterator]();
            while (true) {
                const an = ai.next();
                const bn = bi.next();
                if (an.done !== bn.done) {
                    return false;
                }
                else if (an.done) {
                    return true;
                }
                else if (!comparator(an.value, bn.value)) {
                    return false;
                }
            }
        }
        Iterable.equals = equals;
    })(Iterable || (Iterable = {}));
    
    
    /***/ }),
    
    /***/ 69323:
    /*!******************************************************************************************!*\
      !*** ./node_modules/_monaco-editor@0.30.0@monaco-editor/esm/vs/base/common/lifecycle.js ***!
      \******************************************************************************************/
    /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
    
    "use strict";
    /* harmony export */ __webpack_require__.d(__webpack_exports__, {
    /* harmony export */   B9: function() { return /* binding */ dispose; },
    /* harmony export */   F8: function() { return /* binding */ combinedDisposable; },
    /* harmony export */   JT: function() { return /* binding */ Disposable; },
    /* harmony export */   Jz: function() { return /* binding */ ImmortalReference; },
    /* harmony export */   OF: function() { return /* binding */ toDisposable; },
    /* harmony export */   SL: function() { return /* binding */ DisposableStore; },
    /* harmony export */   Wf: function() { return /* binding */ isDisposable; },
    /* harmony export */   XK: function() { return /* binding */ MutableDisposable; },
    /* harmony export */   dk: function() { return /* binding */ markAsSingleton; }
    /* harmony export */ });
    /* unused harmony exports setDisposableTracker, MultiDisposeError */
    /* harmony import */ var _functional_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./functional.js */ 17845);
    /* harmony import */ var _iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./iterator.js */ 88226);
    /*---------------------------------------------------------------------------------------------
     *  Copyright (c) Microsoft Corporation. All rights reserved.
     *  Licensed under the MIT License. See License.txt in the project root for license information.
     *--------------------------------------------------------------------------------------------*/
    
    
    /**
     * Enables logging of potentially leaked disposables.
     *
     * A disposable is considered leaked if it is not disposed or not registered as the child of
     * another disposable. This tracking is very simple an only works for classes that either
     * extend Disposable or use a DisposableStore. This means there are a lot of false positives.
     */
    const TRACK_DISPOSABLES = false;
    let disposableTracker = null;
    function setDisposableTracker(tracker) {
        disposableTracker = tracker;
    }
    if (TRACK_DISPOSABLES) {
        const __is_disposable_tracked__ = '__is_disposable_tracked__';
        setDisposableTracker(new class {
            trackDisposable(x) {
                const stack = new Error('Potentially leaked disposable').stack;
                setTimeout(() => {
                    if (!x[__is_disposable_tracked__]) {
                        console.log(stack);
                    }
                }, 3000);
            }
            setParent(child, parent) {
                if (child && child !== Disposable.None) {
                    try {
                        child[__is_disposable_tracked__] = true;
                    }
                    catch (_a) {
                        // noop
                    }
                }
            }
            markAsDisposed(disposable) {
                if (disposable && disposable !== Disposable.None) {
                    try {
                        disposable[__is_disposable_tracked__] = true;
                    }
                    catch (_a) {
                        // noop
                    }
                }
            }
            markAsSingleton(disposable) { }
        });
    }
    function trackDisposable(x) {
        disposableTracker === null || disposableTracker === void 0 ? void 0 : disposableTracker.trackDisposable(x);
        return x;
    }
    function markAsDisposed(disposable) {
        disposableTracker === null || disposableTracker === void 0 ? void 0 : disposableTracker.markAsDisposed(disposable);
    }
    function setParentOfDisposable(child, parent) {
        disposableTracker === null || disposableTracker === void 0 ? void 0 : disposableTracker.setParent(child, parent);
    }
    function setParentOfDisposables(children, parent) {
        if (!disposableTracker) {
            return;
        }
        for (const child of children) {
            disposableTracker.setParent(child, parent);
        }
    }
    /**
     * Indicates that the given object is a singleton which does not need to be disposed.
    */
    function markAsSingleton(singleton) {
        disposableTracker === null || disposableTracker === void 0 ? void 0 : disposableTracker.markAsSingleton(singleton);
        return singleton;
    }
    class MultiDisposeError extends Error {
        constructor(errors) {
            super(`Encountered errors while disposing of store. Errors: [${errors.join(', ')}]`);
            this.errors = errors;
        }
    }
    function isDisposable(thing) {
        return typeof thing.dispose === 'function' && thing.dispose.length === 0;
    }
    function dispose(arg) {
        if (_iterator_js__WEBPACK_IMPORTED_MODULE_0__/* .Iterable */ .$.is(arg)) {
            let errors = [];
            for (const d of arg) {
                if (d) {
                    try {
                        d.dispose();
                    }
                    catch (e) {
                        errors.push(e);
                    }
                }
            }
            if (errors.length === 1) {
                throw errors[0];
            }
            else if (errors.length > 1) {
                throw new MultiDisposeError(errors);
            }
            return Array.isArray(arg) ? [] : arg;
        }
        else if (arg) {
            arg.dispose();
            return arg;
        }
    }
    function combinedDisposable(...disposables) {
        const parent = toDisposable(() => dispose(disposables));
        setParentOfDisposables(disposables, parent);
        return parent;
    }
    function toDisposable(fn) {
        const self = trackDisposable({
            dispose: (0,_functional_js__WEBPACK_IMPORTED_MODULE_1__/* .once */ .I)(() => {
                markAsDisposed(self);
                fn();
            })
        });
        return self;
    }
    class DisposableStore {
        constructor() {
            this._toDispose = new Set();
            this._isDisposed = false;
            trackDisposable(this);
        }
        /**
         * Dispose of all registered disposables and mark this object as disposed.
         *
         * Any future disposables added to this object will be disposed of on `add`.
         */
        dispose() {
            if (this._isDisposed) {
                return;
            }
            markAsDisposed(this);
            this._isDisposed = true;
            this.clear();
        }
        /**
         * Dispose of all registered disposables but do not mark this object as disposed.
         */
        clear() {
            try {
                dispose(this._toDispose.values());
            }
            finally {
                this._toDispose.clear();
            }
        }
        add(o) {
            if (!o) {
                return o;
            }
            if (o === this) {
                throw new Error('Cannot register a disposable on itself!');
            }
            setParentOfDisposable(o, this);
            if (this._isDisposed) {
                if (!DisposableStore.DISABLE_DISPOSED_WARNING) {
                    console.warn(new Error('Trying to add a disposable to a DisposableStore that has already been disposed of. The added object will be leaked!').stack);
                }
            }
            else {
                this._toDispose.add(o);
            }
            return o;
        }
    }
    DisposableStore.DISABLE_DISPOSED_WARNING = false;
    class Disposable {
        constructor() {
            this._store = new DisposableStore();
            trackDisposable(this);
            setParentOfDisposable(this._store, this);
        }
        dispose() {
            markAsDisposed(this);
            this._store.dispose();
        }
        _register(o) {
            if (o === this) {
                throw new Error('Cannot register a disposable on itself!');
            }
            return this._store.add(o);
        }
    }
    Disposable.None = Object.freeze({ dispose() { } });
    /**
     * Manages the lifecycle of a disposable value that may be changed.
     *
     * This ensures that when the disposable value is changed, the previously held disposable is disposed of. You can
     * also register a `MutableDisposable` on a `Disposable` to ensure it is automatically cleaned up.
     */
    class MutableDisposable {
        constructor() {
            this._isDisposed = false;
            trackDisposable(this);
        }
        get value() {
            return this._isDisposed ? undefined : this._value;
        }
        set value(value) {
            var _a;
            if (this._isDisposed || value === this._value) {
                return;
            }
            (_a = this._value) === null || _a === void 0 ? void 0 : _a.dispose();
            if (value) {
                setParentOfDisposable(value, this);
            }
            this._value = value;
        }
        clear() {
            this.value = undefined;
        }
        dispose() {
            var _a;
            this._isDisposed = true;
            markAsDisposed(this);
            (_a = this._value) === null || _a === void 0 ? void 0 : _a.dispose();
            this._value = undefined;
        }
        /**
         * Clears the value, but does not dispose it.
         * The old value is returned.
        */
        clearAndLeak() {
            const oldValue = this._value;
            this._value = undefined;
            if (oldValue) {
                setParentOfDisposable(oldValue, null);
            }
            return oldValue;
        }
    }
    class ImmortalReference {
        constructor(object) {
            this.object = object;
        }
        dispose() { }
    }
    
    
    /***/ }),
    
    /***/ 34502:
    /*!*******************************************************************************************!*\
      !*** ./node_modules/_monaco-editor@0.30.0@monaco-editor/esm/vs/base/common/linkedList.js ***!
      \*******************************************************************************************/
    /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
    
    "use strict";
    /* harmony export */ __webpack_require__.d(__webpack_exports__, {
    /* harmony export */   S: function() { return /* binding */ LinkedList; }
    /* harmony export */ });
    /*---------------------------------------------------------------------------------------------
     *  Copyright (c) Microsoft Corporation. All rights reserved.
     *  Licensed under the MIT License. See License.txt in the project root for license information.
     *--------------------------------------------------------------------------------------------*/
    class Node {
        constructor(element) {
            this.element = element;
            this.next = Node.Undefined;
            this.prev = Node.Undefined;
        }
    }
    Node.Undefined = new Node(undefined);
    class LinkedList {
        constructor() {
            this._first = Node.Undefined;
            this._last = Node.Undefined;
            this._size = 0;
        }
        get size() {
            return this._size;
        }
        isEmpty() {
            return this._first === Node.Undefined;
        }
        clear() {
            let node = this._first;
            while (node !== Node.Undefined) {
                const next = node.next;
                node.prev = Node.Undefined;
                node.next = Node.Undefined;
                node = next;
            }
            this._first = Node.Undefined;
            this._last = Node.Undefined;
            this._size = 0;
        }
        unshift(element) {
            return this._insert(element, false);
        }
        push(element) {
            return this._insert(element, true);
        }
        _insert(element, atTheEnd) {
            const newNode = new Node(element);
            if (this._first === Node.Undefined) {
                this._first = newNode;
                this._last = newNode;
            }
            else if (atTheEnd) {
                // push
                const oldLast = this._last;
                this._last = newNode;
                newNode.prev = oldLast;
                oldLast.next = newNode;
            }
            else {
                // unshift
                const oldFirst = this._first;
                this._first = newNode;
                newNode.next = oldFirst;
                oldFirst.prev = newNode;
            }
            this._size += 1;
            let didRemove = false;
            return () => {
                if (!didRemove) {
                    didRemove = true;
                    this._remove(newNode);
                }
            };
        }
        shift() {
            if (this._first === Node.Undefined) {
                return undefined;
            }
            else {
                const res = this._first.element;
                this._remove(this._first);
                return res;
            }
        }
        pop() {
            if (this._last === Node.Undefined) {
                return undefined;
            }
            else {
                const res = this._last.element;
                this._remove(this._last);
                return res;
            }
        }
        _remove(node) {
            if (node.prev !== Node.Undefined && node.next !== Node.Undefined) {
                // middle
                const anchor = node.prev;
                anchor.next = node.next;
                node.next.prev = anchor;
            }
            else if (node.prev === Node.Undefined && node.next === Node.Undefined) {
                // only node
                this._first = Node.Undefined;
                this._last = Node.Undefined;
            }
            else if (node.next === Node.Undefined) {
                // last
                this._last = this._last.prev;
                this._last.next = Node.Undefined;
            }
            else if (node.prev === Node.Undefined) {
                // first
                this._first = this._first.next;
                this._first.prev = Node.Undefined;
            }
            // done
            this._size -= 1;
        }
        *[Symbol.iterator]() {
            let node = this._first;
            while (node !== Node.Undefined) {
                yield node.element;
                node = node.next;
            }
        }
    }
    
    
    /***/ }),
    
    /***/ 23345:
    /*!*****************************************************************************************!*\
      !*** ./node_modules/_monaco-editor@0.30.0@monaco-editor/esm/vs/base/common/platform.js ***!
      \*****************************************************************************************/
    /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
    
    "use strict";
    /* harmony export */ __webpack_require__.d(__webpack_exports__, {
    /* harmony export */   $L: function() { return /* binding */ isWeb; },
    /* harmony export */   ED: function() { return /* binding */ isWindows; },
    /* harmony export */   IJ: function() { return /* binding */ isLinux; },
    /* harmony export */   OS: function() { return /* binding */ OS; },
    /* harmony export */   WE: function() { return /* binding */ userAgent; },
    /* harmony export */   dz: function() { return /* binding */ isMacintosh; },
    /* harmony export */   gn: function() { return /* binding */ isIOS; },
    /* harmony export */   li: function() { return /* binding */ globals; },
    /* harmony export */   r: function() { return /* binding */ isLittleEndian; },
    /* harmony export */   tY: function() { return /* binding */ isNative; },
    /* harmony export */   xS: function() { return /* binding */ setImmediate; }
    /* harmony export */ });
    /* provided dependency */ var process = __webpack_require__(/*! ./node_modules/_process@0.11.10@process/browser.js */ 97671);
    /*---------------------------------------------------------------------------------------------
     *  Copyright (c) Microsoft Corporation. All rights reserved.
     *  Licensed under the MIT License. See License.txt in the project root for license information.
     *--------------------------------------------------------------------------------------------*/
    var _a;
    const LANGUAGE_DEFAULT = 'en';
    let _isWindows = false;
    let _isMacintosh = false;
    let _isLinux = false;
    let _isLinuxSnap = false;
    let _isNative = false;
    let _isWeb = false;
    let _isIOS = false;
    let _locale = undefined;
    let _language = (/* unused pure expression or super */ null && (LANGUAGE_DEFAULT));
    let _translationsConfigFile = (/* unused pure expression or super */ null && (undefined));
    let _userAgent = undefined;
    const globals = (typeof self === 'object' ? self : typeof __webpack_require__.g === 'object' ? __webpack_require__.g : {});
    let nodeProcess = undefined;
    if (typeof globals.vscode !== 'undefined' && typeof globals.vscode.process !== 'undefined') {
        // Native environment (sandboxed)
        nodeProcess = globals.vscode.process;
    }
    else if (typeof process !== 'undefined') {
        // Native environment (non-sandboxed)
        nodeProcess = process;
    }
    const isElectronRenderer = typeof ((_a = nodeProcess === null || nodeProcess === void 0 ? void 0 : nodeProcess.versions) === null || _a === void 0 ? void 0 : _a.electron) === 'string' && nodeProcess.type === 'renderer';
    // Web environment
    if (typeof navigator === 'object' && !isElectronRenderer) {
        _userAgent = navigator.userAgent;
        _isWindows = _userAgent.indexOf('Windows') >= 0;
        _isMacintosh = _userAgent.indexOf('Macintosh') >= 0;
        _isIOS = (_userAgent.indexOf('Macintosh') >= 0 || _userAgent.indexOf('iPad') >= 0 || _userAgent.indexOf('iPhone') >= 0) && !!navigator.maxTouchPoints && navigator.maxTouchPoints > 0;
        _isLinux = _userAgent.indexOf('Linux') >= 0;
        _isWeb = true;
        _locale = navigator.language;
        _language = _locale;
    }
    // Native environment
    else if (typeof nodeProcess === 'object') {
        _isWindows = (nodeProcess.platform === 'win32');
        _isMacintosh = (nodeProcess.platform === 'darwin');
        _isLinux = (nodeProcess.platform === 'linux');
        _isLinuxSnap = _isLinux && !!nodeProcess.env['SNAP'] && !!nodeProcess.env['SNAP_REVISION'];
        _locale = LANGUAGE_DEFAULT;
        _language = LANGUAGE_DEFAULT;
        const rawNlsConfig = nodeProcess.env['VSCODE_NLS_CONFIG'];
        if (rawNlsConfig) {
            try {
                const nlsConfig = JSON.parse(rawNlsConfig);
                const resolved = nlsConfig.availableLanguages['*'];
                _locale = nlsConfig.locale;
                // VSCode's default language is 'en'
                _language = resolved ? resolved : LANGUAGE_DEFAULT;
                _translationsConfigFile = nlsConfig._translationsConfigFile;
            }
            catch (e) {
            }
        }
        _isNative = true;
    }
    // Unknown environment
    else {
        console.error('Unable to resolve platform.');
    }
    let _platform = 0 /* Web */;
    if (_isMacintosh) {
        _platform = 1 /* Mac */;
    }
    else if (_isWindows) {
        _platform = 3 /* Windows */;
    }
    else if (_isLinux) {
        _platform = 2 /* Linux */;
    }
    const isWindows = _isWindows;
    const isMacintosh = _isMacintosh;
    const isLinux = _isLinux;
    const isNative = _isNative;
    const isWeb = _isWeb;
    const isIOS = _isIOS;
    const userAgent = _userAgent;
    const setImmediate = (function defineSetImmediate() {
        if (globals.setImmediate) {
            return globals.setImmediate.bind(globals);
        }
        if (typeof globals.postMessage === 'function' && !globals.importScripts) {
            let pending = [];
            globals.addEventListener('message', (e) => {
                if (e.data && e.data.vscodeSetImmediateId) {
                    for (let i = 0, len = pending.length; i < len; i++) {
                        const candidate = pending[i];
                        if (candidate.id === e.data.vscodeSetImmediateId) {
                            pending.splice(i, 1);
                            candidate.callback();
                            return;
                        }
                    }
                }
            });
            let lastId = 0;
            return (callback) => {
                const myId = ++lastId;
                pending.push({
                    id: myId,
                    callback: callback
                });
                globals.postMessage({ vscodeSetImmediateId: myId }, '*');
            };
        }
        if (typeof (nodeProcess === null || nodeProcess === void 0 ? void 0 : nodeProcess.nextTick) === 'function') {
            return nodeProcess.nextTick.bind(nodeProcess);
        }
        const _promise = Promise.resolve();
        return (callback) => _promise.then(callback);
    })();
    const OS = (_isMacintosh || _isIOS ? 2 /* Macintosh */ : (_isWindows ? 1 /* Windows */ : 3 /* Linux */));
    let _isLittleEndian = true;
    let _isLittleEndianComputed = false;
    function isLittleEndian() {
        if (!_isLittleEndianComputed) {
            _isLittleEndianComputed = true;
            const test = new Uint8Array(2);
            test[0] = 1;
            test[1] = 2;
            const view = new Uint16Array(test.buffer);
            _isLittleEndian = (view[0] === (2 << 8) + 1);
        }
        return _isLittleEndian;
    }
    
    
    /***/ }),
    
    /***/ 95830:
    /*!******************************************************************************************!*\
      !*** ./node_modules/_monaco-editor@0.30.0@monaco-editor/esm/vs/base/common/stopwatch.js ***!
      \******************************************************************************************/
    /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
    
    "use strict";
    /* harmony export */ __webpack_require__.d(__webpack_exports__, {
    /* harmony export */   G: function() { return /* binding */ StopWatch; }
    /* harmony export */ });
    /* harmony import */ var _platform_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./platform.js */ 23345);
    /*---------------------------------------------------------------------------------------------
     *  Copyright (c) Microsoft Corporation. All rights reserved.
     *  Licensed under the MIT License. See License.txt in the project root for license information.
     *--------------------------------------------------------------------------------------------*/
    
    const hasPerformanceNow = (_platform_js__WEBPACK_IMPORTED_MODULE_0__/* .globals */ .li.performance && typeof _platform_js__WEBPACK_IMPORTED_MODULE_0__/* .globals */ .li.performance.now === 'function');
    class StopWatch {
        constructor(highResolution) {
            this._highResolution = hasPerformanceNow && highResolution;
            this._startTime = this._now();
            this._stopTime = -1;
        }
        static create(highResolution = true) {
            return new StopWatch(highResolution);
        }
        stop() {
            this._stopTime = this._now();
        }
        elapsed() {
            if (this._stopTime !== -1) {
                return this._stopTime - this._startTime;
            }
            return this._now() - this._startTime;
        }
        _now() {
            return this._highResolution ? _platform_js__WEBPACK_IMPORTED_MODULE_0__/* .globals */ .li.performance.now() : Date.now();
        }
    }
    
    
    /***/ }),
    
    /***/ 82983:
    /*!****************************************************************************************!*\
      !*** ./node_modules/_monaco-editor@0.30.0@monaco-editor/esm/vs/base/common/strings.js ***!
      \****************************************************************************************/
    /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
    
    "use strict";
    /* harmony export */ __webpack_require__.d(__webpack_exports__, {
    /* harmony export */   $i: function() { return /* binding */ isBasicASCII; },
    /* harmony export */   C8: function() { return /* binding */ isEmojiImprecise; },
    /* harmony export */   GF: function() { return /* binding */ createRegExp; },
    /* harmony export */   HO: function() { return /* binding */ prevCharLength; },
    /* harmony export */   IO: function() { return /* binding */ regExpLeadsToEndlessLoop; },
    /* harmony export */   K7: function() { return /* binding */ isFullWidthCharacter; },
    /* harmony export */   Kw: function() { return /* binding */ containsUppercaseCharacter; },
    /* harmony export */   LC: function() { return /* binding */ firstNonWhitespaceIndex; },
    /* harmony export */   Mh: function() { return /* binding */ commonPrefixLength; },
    /* harmony export */   P1: function() { return /* binding */ commonSuffixLength; },
    /* harmony export */   PJ: function() { return /* binding */ singleLetterHash; },
    /* harmony export */   Qe: function() { return /* binding */ UNUSUAL_LINE_TERMINATORS; },
    /* harmony export */   R1: function() { return /* binding */ stripWildcards; },
    /* harmony export */   RP: function() { return /* binding */ containsEmoji; },
    /* harmony export */   S6: function() { return /* binding */ getGraphemeBreakType; },
    /* harmony export */   TT: function() { return /* binding */ compareSubstring; },
    /* harmony export */   Ut: function() { return /* binding */ containsRTL; },
    /* harmony export */   V8: function() { return /* binding */ getLeadingWhitespace; },
    /* harmony export */   WU: function() { return /* binding */ format; },
    /* harmony export */   YK: function() { return /* binding */ isLowSurrogate; },
    /* harmony export */   YU: function() { return /* binding */ escape; },
    /* harmony export */   ZG: function() { return /* binding */ isHighSurrogate; },
    /* harmony export */   ZH: function() { return /* binding */ getNextCodePoint; },
    /* harmony export */   ab: function() { return /* binding */ containsUnusualLineTerminators; },
    /* harmony export */   c1: function() { return /* binding */ UTF8_BOM_CHARACTER; },
    /* harmony export */   df: function() { return /* binding */ isUpperAsciiLetter; },
    /* harmony export */   ec: function() { return /* binding */ escapeRegExpCharacters; },
    /* harmony export */   fi: function() { return /* binding */ breakBetweenGraphemeBreakType; },
    /* harmony export */   fy: function() { return /* binding */ trim; },
    /* harmony export */   j3: function() { return /* binding */ ltrim; },
    /* harmony export */   j_: function() { return /* binding */ compareSubstringIgnoreCase; },
    /* harmony export */   m5: function() { return /* binding */ isFalsyOrWhitespace; },
    /* harmony export */   mK: function() { return /* binding */ isLowerAsciiLetter; },
    /* harmony export */   mr: function() { return /* binding */ regExpFlags; },
    /* harmony export */   oH: function() { return /* binding */ getLeftDeleteOffset; },
    /* harmony export */   oL: function() { return /* binding */ rtrim; },
    /* harmony export */   ok: function() { return /* binding */ startsWithIgnoreCase; },
    /* harmony export */   ow: function() { return /* binding */ lastNonWhitespaceIndex; },
    /* harmony export */   qq: function() { return /* binding */ equalsIgnoreCase; },
    /* harmony export */   qu: function() { return /* binding */ compare; },
    /* harmony export */   rL: function() { return /* binding */ computeCodePoint; },
    /* harmony export */   uS: function() { return /* binding */ startsWithUTF8BOM; },
    /* harmony export */   un: function() { return /* binding */ convertSimple2RegExpPattern; },
    /* harmony export */   uq: function() { return /* binding */ splitLines; },
    /* harmony export */   vH: function() { return /* binding */ nextCharLength; },
    /* harmony export */   xe: function() { return /* binding */ containsFullWidthCharacter; },
    /* harmony export */   zY: function() { return /* binding */ compareIgnoreCase; }
    /* harmony export */ });
    /*---------------------------------------------------------------------------------------------
     *  Copyright (c) Microsoft Corporation. All rights reserved.
     *  Licensed under the MIT License. See License.txt in the project root for license information.
     *--------------------------------------------------------------------------------------------*/
    function isFalsyOrWhitespace(str) {
        if (!str || typeof str !== 'string') {
            return true;
        }
        return str.trim().length === 0;
    }
    const _formatRegexp = /{(\d+)}/g;
    /**
     * Helper to produce a string with a variable number of arguments. Insert variable segments
     * into the string using the {n} notation where N is the index of the argument following the string.
     * @param value string to which formatting is applied
     * @param args replacements for {n}-entries
     */
    function format(value, ...args) {
        if (args.length === 0) {
            return value;
        }
        return value.replace(_formatRegexp, function (match, group) {
            const idx = parseInt(group, 10);
            return isNaN(idx) || idx < 0 || idx >= args.length ?
                match :
                args[idx];
        });
    }
    /**
     * Converts HTML characters inside the string to use entities instead. Makes the string safe from
     * being used e.g. in HTMLElement.innerHTML.
     */
    function escape(html) {
        return html.replace(/[<>&]/g, function (match) {
            switch (match) {
                case '<': return '&lt;';
                case '>': return '&gt;';
                case '&': return '&amp;';
                default: return match;
            }
        });
    }
    /**
     * Escapes regular expression characters in a given string
     */
    function escapeRegExpCharacters(value) {
        return value.replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g, '\\$&');
    }
    /**
     * Removes all occurrences of needle from the beginning and end of haystack.
     * @param haystack string to trim
     * @param needle the thing to trim (default is a blank)
     */
    function trim(haystack, needle = ' ') {
        const trimmed = ltrim(haystack, needle);
        return rtrim(trimmed, needle);
    }
    /**
     * Removes all occurrences of needle from the beginning of haystack.
     * @param haystack string to trim
     * @param needle the thing to trim
     */
    function ltrim(haystack, needle) {
        if (!haystack || !needle) {
            return haystack;
        }
        const needleLen = needle.length;
        if (needleLen === 0 || haystack.length === 0) {
            return haystack;
        }
        let offset = 0;
        while (haystack.indexOf(needle, offset) === offset) {
            offset = offset + needleLen;
        }
        return haystack.substring(offset);
    }
    /**
     * Removes all occurrences of needle from the end of haystack.
     * @param haystack string to trim
     * @param needle the thing to trim
     */
    function rtrim(haystack, needle) {
        if (!haystack || !needle) {
            return haystack;
        }
        const needleLen = needle.length, haystackLen = haystack.length;
        if (needleLen === 0 || haystackLen === 0) {
            return haystack;
        }
        let offset = haystackLen, idx = -1;
        while (true) {
            idx = haystack.lastIndexOf(needle, offset - 1);
            if (idx === -1 || idx + needleLen !== offset) {
                break;
            }
            if (idx === 0) {
                return '';
            }
            offset = idx;
        }
        return haystack.substring(0, offset);
    }
    function convertSimple2RegExpPattern(pattern) {
        return pattern.replace(/[\-\\\{\}\+\?\|\^\$\.\,\[\]\(\)\#\s]/g, '\\$&').replace(/[\*]/g, '.*');
    }
    function stripWildcards(pattern) {
        return pattern.replace(/\*/g, '');
    }
    function createRegExp(searchString, isRegex, options = {}) {
        if (!searchString) {
            throw new Error('Cannot create regex from empty string');
        }
        if (!isRegex) {
            searchString = escapeRegExpCharacters(searchString);
        }
        if (options.wholeWord) {
            if (!/\B/.test(searchString.charAt(0))) {
                searchString = '\\b' + searchString;
            }
            if (!/\B/.test(searchString.charAt(searchString.length - 1))) {
                searchString = searchString + '\\b';
            }
        }
        let modifiers = '';
        if (options.global) {
            modifiers += 'g';
        }
        if (!options.matchCase) {
            modifiers += 'i';
        }
        if (options.multiline) {
            modifiers += 'm';
        }
        if (options.unicode) {
            modifiers += 'u';
        }
        return new RegExp(searchString, modifiers);
    }
    function regExpLeadsToEndlessLoop(regexp) {
        // Exit early if it's one of these special cases which are meant to match
        // against an empty string
        if (regexp.source === '^' || regexp.source === '^$' || regexp.source === '$' || regexp.source === '^\\s*$') {
            return false;
        }
        // We check against an empty string. If the regular expression doesn't advance
        // (e.g. ends in an endless loop) it will match an empty string.
        const match = regexp.exec('');
        return !!(match && regexp.lastIndex === 0);
    }
    function regExpFlags(regexp) {
        return (regexp.global ? 'g' : '')
            + (regexp.ignoreCase ? 'i' : '')
            + (regexp.multiline ? 'm' : '')
            + (regexp /* standalone editor compilation */.unicode ? 'u' : '');
    }
    function splitLines(str) {
        return str.split(/\r\n|\r|\n/);
    }
    /**
     * Returns first index of the string that is not whitespace.
     * If string is empty or contains only whitespaces, returns -1
     */
    function firstNonWhitespaceIndex(str) {
        for (let i = 0, len = str.length; i < len; i++) {
            const chCode = str.charCodeAt(i);
            if (chCode !== 32 /* Space */ && chCode !== 9 /* Tab */) {
                return i;
            }
        }
        return -1;
    }
    /**
     * Returns the leading whitespace of the string.
     * If the string contains only whitespaces, returns entire string
     */
    function getLeadingWhitespace(str, start = 0, end = str.length) {
        for (let i = start; i < end; i++) {
            const chCode = str.charCodeAt(i);
            if (chCode !== 32 /* Space */ && chCode !== 9 /* Tab */) {
                return str.substring(start, i);
            }
        }
        return str.substring(start, end);
    }
    /**
     * Returns last index of the string that is not whitespace.
     * If string is empty or contains only whitespaces, returns -1
     */
    function lastNonWhitespaceIndex(str, startIndex = str.length - 1) {
        for (let i = startIndex; i >= 0; i--) {
            const chCode = str.charCodeAt(i);
            if (chCode !== 32 /* Space */ && chCode !== 9 /* Tab */) {
                return i;
            }
        }
        return -1;
    }
    function compare(a, b) {
        if (a < b) {
            return -1;
        }
        else if (a > b) {
            return 1;
        }
        else {
            return 0;
        }
    }
    function compareSubstring(a, b, aStart = 0, aEnd = a.length, bStart = 0, bEnd = b.length) {
        for (; aStart < aEnd && bStart < bEnd; aStart++, bStart++) {
            let codeA = a.charCodeAt(aStart);
            let codeB = b.charCodeAt(bStart);
            if (codeA < codeB) {
                return -1;
            }
            else if (codeA > codeB) {
                return 1;
            }
        }
        const aLen = aEnd - aStart;
        const bLen = bEnd - bStart;
        if (aLen < bLen) {
            return -1;
        }
        else if (aLen > bLen) {
            return 1;
        }
        return 0;
    }
    function compareIgnoreCase(a, b) {
        return compareSubstringIgnoreCase(a, b, 0, a.length, 0, b.length);
    }
    function compareSubstringIgnoreCase(a, b, aStart = 0, aEnd = a.length, bStart = 0, bEnd = b.length) {
        for (; aStart < aEnd && bStart < bEnd; aStart++, bStart++) {
            let codeA = a.charCodeAt(aStart);
            let codeB = b.charCodeAt(bStart);
            if (codeA === codeB) {
                // equal
                continue;
            }
            if (codeA >= 128 || codeB >= 128) {
                // not ASCII letters -> fallback to lower-casing strings
                return compareSubstring(a.toLowerCase(), b.toLowerCase(), aStart, aEnd, bStart, bEnd);
            }
            // mapper lower-case ascii letter onto upper-case varinats
            // [97-122] (lower ascii) --> [65-90] (upper ascii)
            if (isLowerAsciiLetter(codeA)) {
                codeA -= 32;
            }
            if (isLowerAsciiLetter(codeB)) {
                codeB -= 32;
            }
            // compare both code points
            const diff = codeA - codeB;
            if (diff === 0) {
                continue;
            }
            return diff;
        }
        const aLen = aEnd - aStart;
        const bLen = bEnd - bStart;
        if (aLen < bLen) {
            return -1;
        }
        else if (aLen > bLen) {
            return 1;
        }
        return 0;
    }
    function isLowerAsciiLetter(code) {
        return code >= 97 /* a */ && code <= 122 /* z */;
    }
    function isUpperAsciiLetter(code) {
        return code >= 65 /* A */ && code <= 90 /* Z */;
    }
    function equalsIgnoreCase(a, b) {
        return a.length === b.length && compareSubstringIgnoreCase(a, b) === 0;
    }
    function startsWithIgnoreCase(str, candidate) {
        const candidateLength = candidate.length;
        if (candidate.length > str.length) {
            return false;
        }
        return compareSubstringIgnoreCase(str, candidate, 0, candidateLength) === 0;
    }
    /**
     * @returns the length of the common prefix of the two strings.
     */
    function commonPrefixLength(a, b) {
        let i, len = Math.min(a.length, b.length);
        for (i = 0; i < len; i++) {
            if (a.charCodeAt(i) !== b.charCodeAt(i)) {
                return i;
            }
        }
        return len;
    }
    /**
     * @returns the length of the common suffix of the two strings.
     */
    function commonSuffixLength(a, b) {
        let i, len = Math.min(a.length, b.length);
        const aLastIndex = a.length - 1;
        const bLastIndex = b.length - 1;
        for (i = 0; i < len; i++) {
            if (a.charCodeAt(aLastIndex - i) !== b.charCodeAt(bLastIndex - i)) {
                return i;
            }
        }
        return len;
    }
    /**
     * See http://en.wikipedia.org/wiki/Surrogate_pair
     */
    function isHighSurrogate(charCode) {
        return (0xD800 <= charCode && charCode <= 0xDBFF);
    }
    /**
     * See http://en.wikipedia.org/wiki/Surrogate_pair
     */
    function isLowSurrogate(charCode) {
        return (0xDC00 <= charCode && charCode <= 0xDFFF);
    }
    /**
     * See http://en.wikipedia.org/wiki/Surrogate_pair
     */
    function computeCodePoint(highSurrogate, lowSurrogate) {
        return ((highSurrogate - 0xD800) << 10) + (lowSurrogate - 0xDC00) + 0x10000;
    }
    /**
     * get the code point that begins at offset `offset`
     */
    function getNextCodePoint(str, len, offset) {
        const charCode = str.charCodeAt(offset);
        if (isHighSurrogate(charCode) && offset + 1 < len) {
            const nextCharCode = str.charCodeAt(offset + 1);
            if (isLowSurrogate(nextCharCode)) {
                return computeCodePoint(charCode, nextCharCode);
            }
        }
        return charCode;
    }
    /**
     * get the code point that ends right before offset `offset`
     */
    function getPrevCodePoint(str, offset) {
        const charCode = str.charCodeAt(offset - 1);
        if (isLowSurrogate(charCode) && offset > 1) {
            const prevCharCode = str.charCodeAt(offset - 2);
            if (isHighSurrogate(prevCharCode)) {
                return computeCodePoint(prevCharCode, charCode);
            }
        }
        return charCode;
    }
    function nextCharLength(str, offset) {
        const graphemeBreakTree = GraphemeBreakTree.getInstance();
        const initialOffset = offset;
        const len = str.length;
        const initialCodePoint = getNextCodePoint(str, len, offset);
        offset += (initialCodePoint >= 65536 /* UNICODE_SUPPLEMENTARY_PLANE_BEGIN */ ? 2 : 1);
        let graphemeBreakType = graphemeBreakTree.getGraphemeBreakType(initialCodePoint);
        while (offset < len) {
            const nextCodePoint = getNextCodePoint(str, len, offset);
            const nextGraphemeBreakType = graphemeBreakTree.getGraphemeBreakType(nextCodePoint);
            if (breakBetweenGraphemeBreakType(graphemeBreakType, nextGraphemeBreakType)) {
                break;
            }
            offset += (nextCodePoint >= 65536 /* UNICODE_SUPPLEMENTARY_PLANE_BEGIN */ ? 2 : 1);
            graphemeBreakType = nextGraphemeBreakType;
        }
        return (offset - initialOffset);
    }
    function prevCharLength(str, offset) {
        const graphemeBreakTree = GraphemeBreakTree.getInstance();
        const initialOffset = offset;
        const initialCodePoint = getPrevCodePoint(str, offset);
        offset -= (initialCodePoint >= 65536 /* UNICODE_SUPPLEMENTARY_PLANE_BEGIN */ ? 2 : 1);
        let graphemeBreakType = graphemeBreakTree.getGraphemeBreakType(initialCodePoint);
        while (offset > 0) {
            const prevCodePoint = getPrevCodePoint(str, offset);
            const prevGraphemeBreakType = graphemeBreakTree.getGraphemeBreakType(prevCodePoint);
            if (breakBetweenGraphemeBreakType(prevGraphemeBreakType, graphemeBreakType)) {
                break;
            }
            offset -= (prevCodePoint >= 65536 /* UNICODE_SUPPLEMENTARY_PLANE_BEGIN */ ? 2 : 1);
            graphemeBreakType = prevGraphemeBreakType;
        }
        return (initialOffset - offset);
    }
    /**
     * Generated using https://github.com/alexdima/unicode-utils/blob/master/generate-rtl-test.js
     */
    const CONTAINS_RTL = /(?:[\u05BE\u05C0\u05C3\u05C6\u05D0-\u05F4\u0608\u060B\u060D\u061B-\u064A\u066D-\u066F\u0671-\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u0710\u0712-\u072F\u074D-\u07A5\u07B1-\u07EA\u07F4\u07F5\u07FA-\u0815\u081A\u0824\u0828\u0830-\u0858\u085E-\u08BD\u200F\uFB1D\uFB1F-\uFB28\uFB2A-\uFD3D\uFD50-\uFDFC\uFE70-\uFEFC]|\uD802[\uDC00-\uDD1B\uDD20-\uDE00\uDE10-\uDE33\uDE40-\uDEE4\uDEEB-\uDF35\uDF40-\uDFFF]|\uD803[\uDC00-\uDCFF]|\uD83A[\uDC00-\uDCCF\uDD00-\uDD43\uDD50-\uDFFF]|\uD83B[\uDC00-\uDEBB])/;
    /**
     * Returns true if `str` contains any Unicode character that is classified as "R" or "AL".
     */
    function containsRTL(str) {
        return CONTAINS_RTL.test(str);
    }
    /**
     * Generated using https://github.com/alexdima/unicode-utils/blob/master/generate-emoji-test.js
     */
    const CONTAINS_EMOJI = /(?:[\u231A\u231B\u23F0\u23F3\u2600-\u27BF\u2B50\u2B55]|\uD83C[\uDDE6-\uDDFF\uDF00-\uDFFF]|\uD83D[\uDC00-\uDE4F\uDE80-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD00-\uDDFF\uDE70-\uDED6])/;
    function containsEmoji(str) {
        return CONTAINS_EMOJI.test(str);
    }
    const IS_BASIC_ASCII = /^[\t\n\r\x20-\x7E]*$/;
    /**
     * Returns true if `str` contains only basic ASCII characters in the range 32 - 126 (including 32 and 126) or \n, \r, \t
     */
    function isBasicASCII(str) {
        return IS_BASIC_ASCII.test(str);
    }
    const UNUSUAL_LINE_TERMINATORS = /[\u2028\u2029]/; // LINE SEPARATOR (LS) or PARAGRAPH SEPARATOR (PS)
    /**
     * Returns true if `str` contains unusual line terminators, like LS or PS
     */
    function containsUnusualLineTerminators(str) {
        return UNUSUAL_LINE_TERMINATORS.test(str);
    }
    function containsFullWidthCharacter(str) {
        for (let i = 0, len = str.length; i < len; i++) {
            if (isFullWidthCharacter(str.charCodeAt(i))) {
                return true;
            }
        }
        return false;
    }
    function isFullWidthCharacter(charCode) {
        // Do a cheap trick to better support wrapping of wide characters, treat them as 2 columns
        // http://jrgraphix.net/research/unicode_blocks.php
        //          2E80 — 2EFF   CJK Radicals Supplement
        //          2F00 — 2FDF   Kangxi Radicals
        //          2FF0 — 2FFF   Ideographic Description Characters
        //          3000 — 303F   CJK Symbols and Punctuation
        //          3040 — 309F   Hiragana
        //          30A0 — 30FF   Katakana
        //          3100 — 312F   Bopomofo
        //          3130 — 318F   Hangul Compatibility Jamo
        //          3190 — 319F   Kanbun
        //          31A0 — 31BF   Bopomofo Extended
        //          31F0 — 31FF   Katakana Phonetic Extensions
        //          3200 — 32FF   Enclosed CJK Letters and Months
        //          3300 — 33FF   CJK Compatibility
        //          3400 — 4DBF   CJK Unified Ideographs Extension A
        //          4DC0 — 4DFF   Yijing Hexagram Symbols
        //          4E00 — 9FFF   CJK Unified Ideographs
        //          A000 — A48F   Yi Syllables
        //          A490 — A4CF   Yi Radicals
        //          AC00 — D7AF   Hangul Syllables
        // [IGNORE] D800 — DB7F   High Surrogates
        // [IGNORE] DB80 — DBFF   High Private Use Surrogates
        // [IGNORE] DC00 — DFFF   Low Surrogates
        // [IGNORE] E000 — F8FF   Private Use Area
        //          F900 — FAFF   CJK Compatibility Ideographs
        // [IGNORE] FB00 — FB4F   Alphabetic Presentation Forms
        // [IGNORE] FB50 — FDFF   Arabic Presentation Forms-A
        // [IGNORE] FE00 — FE0F   Variation Selectors
        // [IGNORE] FE20 — FE2F   Combining Half Marks
        // [IGNORE] FE30 — FE4F   CJK Compatibility Forms
        // [IGNORE] FE50 — FE6F   Small Form Variants
        // [IGNORE] FE70 — FEFF   Arabic Presentation Forms-B
        //          FF00 — FFEF   Halfwidth and Fullwidth Forms
        //               [https://en.wikipedia.org/wiki/Halfwidth_and_fullwidth_forms]
        //               of which FF01 - FF5E fullwidth ASCII of 21 to 7E
        // [IGNORE]    and FF65 - FFDC halfwidth of Katakana and Hangul
        // [IGNORE] FFF0 — FFFF   Specials
        charCode = +charCode; // @perf
        return ((charCode >= 0x2E80 && charCode <= 0xD7AF)
            || (charCode >= 0xF900 && charCode <= 0xFAFF)
            || (charCode >= 0xFF01 && charCode <= 0xFF5E));
    }
    /**
     * A fast function (therefore imprecise) to check if code points are emojis.
     * Generated using https://github.com/alexdima/unicode-utils/blob/master/generate-emoji-test.js
     */
    function isEmojiImprecise(x) {
        return ((x >= 0x1F1E6 && x <= 0x1F1FF) || (x === 8986) || (x === 8987) || (x === 9200)
            || (x === 9203) || (x >= 9728 && x <= 10175) || (x === 11088) || (x === 11093)
            || (x >= 127744 && x <= 128591) || (x >= 128640 && x <= 128764)
            || (x >= 128992 && x <= 129003) || (x >= 129280 && x <= 129535)
            || (x >= 129648 && x <= 129750));
    }
    // -- UTF-8 BOM
    const UTF8_BOM_CHARACTER = String.fromCharCode(65279 /* UTF8_BOM */);
    function startsWithUTF8BOM(str) {
        return !!(str && str.length > 0 && str.charCodeAt(0) === 65279 /* UTF8_BOM */);
    }
    function containsUppercaseCharacter(target, ignoreEscapedChars = false) {
        if (!target) {
            return false;
        }
        if (ignoreEscapedChars) {
            target = target.replace(/\\./g, '');
        }
        return target.toLowerCase() !== target;
    }
    /**
     * Produces 'a'-'z', followed by 'A'-'Z'... followed by 'a'-'z', etc.
     */
    function singleLetterHash(n) {
        const LETTERS_CNT = (90 /* Z */ - 65 /* A */ + 1);
        n = n % (2 * LETTERS_CNT);
        if (n < LETTERS_CNT) {
            return String.fromCharCode(97 /* a */ + n);
        }
        return String.fromCharCode(65 /* A */ + n - LETTERS_CNT);
    }
    //#region Unicode Grapheme Break
    function getGraphemeBreakType(codePoint) {
        const graphemeBreakTree = GraphemeBreakTree.getInstance();
        return graphemeBreakTree.getGraphemeBreakType(codePoint);
    }
    function breakBetweenGraphemeBreakType(breakTypeA, breakTypeB) {
        // http://www.unicode.org/reports/tr29/#Grapheme_Cluster_Boundary_Rules
        // !!! Let's make the common case a bit faster
        if (breakTypeA === 0 /* Other */) {
            // see https://www.unicode.org/Public/13.0.0/ucd/auxiliary/GraphemeBreakTest-13.0.0d10.html#table
            return (breakTypeB !== 5 /* Extend */ && breakTypeB !== 7 /* SpacingMark */);
        }
        // Do not break between a CR and LF. Otherwise, break before and after controls.
        // GB3                                        CR × LF
        // GB4                       (Control | CR | LF) ÷
        // GB5                                           ÷ (Control | CR | LF)
        if (breakTypeA === 2 /* CR */) {
            if (breakTypeB === 3 /* LF */) {
                return false; // GB3
            }
        }
        if (breakTypeA === 4 /* Control */ || breakTypeA === 2 /* CR */ || breakTypeA === 3 /* LF */) {
            return true; // GB4
        }
        if (breakTypeB === 4 /* Control */ || breakTypeB === 2 /* CR */ || breakTypeB === 3 /* LF */) {
            return true; // GB5
        }
        // Do not break Hangul syllable sequences.
        // GB6                                         L × (L | V | LV | LVT)
        // GB7                                  (LV | V) × (V | T)
        // GB8                                 (LVT | T) × T
        if (breakTypeA === 8 /* L */) {
            if (breakTypeB === 8 /* L */ || breakTypeB === 9 /* V */ || breakTypeB === 11 /* LV */ || breakTypeB === 12 /* LVT */) {
                return false; // GB6
            }
        }
        if (breakTypeA === 11 /* LV */ || breakTypeA === 9 /* V */) {
            if (breakTypeB === 9 /* V */ || breakTypeB === 10 /* T */) {
                return false; // GB7
            }
        }
        if (breakTypeA === 12 /* LVT */ || breakTypeA === 10 /* T */) {
            if (breakTypeB === 10 /* T */) {
                return false; // GB8
            }
        }
        // Do not break before extending characters or ZWJ.
        // GB9                                           × (Extend | ZWJ)
        if (breakTypeB === 5 /* Extend */ || breakTypeB === 13 /* ZWJ */) {
            return false; // GB9
        }
        // The GB9a and GB9b rules only apply to extended grapheme clusters:
        // Do not break before SpacingMarks, or after Prepend characters.
        // GB9a                                          × SpacingMark
        // GB9b                                  Prepend ×
        if (breakTypeB === 7 /* SpacingMark */) {
            return false; // GB9a
        }
        if (breakTypeA === 1 /* Prepend */) {
            return false; // GB9b
        }
        // Do not break within emoji modifier sequences or emoji zwj sequences.
        // GB11    \p{Extended_Pictographic} Extend* ZWJ × \p{Extended_Pictographic}
        if (breakTypeA === 13 /* ZWJ */ && breakTypeB === 14 /* Extended_Pictographic */) {
            // Note: we are not implementing the rule entirely here to avoid introducing states
            return false; // GB11
        }
        // GB12                          sot (RI RI)* RI × RI
        // GB13                        [^RI] (RI RI)* RI × RI
        if (breakTypeA === 6 /* Regional_Indicator */ && breakTypeB === 6 /* Regional_Indicator */) {
            // Note: we are not implementing the rule entirely here to avoid introducing states
            return false; // GB12 & GB13
        }
        // GB999                                     Any ÷ Any
        return true;
    }
    class GraphemeBreakTree {
        constructor() {
            this._data = getGraphemeBreakRawData();
        }
        static getInstance() {
            if (!GraphemeBreakTree._INSTANCE) {
                GraphemeBreakTree._INSTANCE = new GraphemeBreakTree();
            }
            return GraphemeBreakTree._INSTANCE;
        }
        getGraphemeBreakType(codePoint) {
            // !!! Let's make 7bit ASCII a bit faster: 0..31
            if (codePoint < 32) {
                if (codePoint === 10 /* LineFeed */) {
                    return 3 /* LF */;
                }
                if (codePoint === 13 /* CarriageReturn */) {
                    return 2 /* CR */;
                }
                return 4 /* Control */;
            }
            // !!! Let's make 7bit ASCII a bit faster: 32..126
            if (codePoint < 127) {
                return 0 /* Other */;
            }
            const data = this._data;
            const nodeCount = data.length / 3;
            let nodeIndex = 1;
            while (nodeIndex <= nodeCount) {
                if (codePoint < data[3 * nodeIndex]) {
                    // go left
                    nodeIndex = 2 * nodeIndex;
                }
                else if (codePoint > data[3 * nodeIndex + 1]) {
                    // go right
                    nodeIndex = 2 * nodeIndex + 1;
                }
                else {
                    // hit
                    return data[3 * nodeIndex + 2];
                }
            }
            return 0 /* Other */;
        }
    }
    GraphemeBreakTree._INSTANCE = null;
    function getGraphemeBreakRawData() {
        // generated using https://github.com/alexdima/unicode-utils/blob/master/generate-grapheme-break.js
        return JSON.parse('[0,0,0,51592,51592,11,44424,44424,11,72251,72254,5,7150,7150,7,48008,48008,11,55176,55176,11,128420,128420,14,3276,3277,5,9979,9980,14,46216,46216,11,49800,49800,11,53384,53384,11,70726,70726,5,122915,122916,5,129320,129327,14,2558,2558,5,5906,5908,5,9762,9763,14,43360,43388,8,45320,45320,11,47112,47112,11,48904,48904,11,50696,50696,11,52488,52488,11,54280,54280,11,70082,70083,1,71350,71350,7,73111,73111,5,127892,127893,14,128726,128727,14,129473,129474,14,2027,2035,5,2901,2902,5,3784,3789,5,6754,6754,5,8418,8420,5,9877,9877,14,11088,11088,14,44008,44008,5,44872,44872,11,45768,45768,11,46664,46664,11,47560,47560,11,48456,48456,11,49352,49352,11,50248,50248,11,51144,51144,11,52040,52040,11,52936,52936,11,53832,53832,11,54728,54728,11,69811,69814,5,70459,70460,5,71096,71099,7,71998,71998,5,72874,72880,5,119149,119149,7,127374,127374,14,128335,128335,14,128482,128482,14,128765,128767,14,129399,129400,14,129680,129685,14,1476,1477,5,2377,2380,7,2759,2760,5,3137,3140,7,3458,3459,7,4153,4154,5,6432,6434,5,6978,6978,5,7675,7679,5,9723,9726,14,9823,9823,14,9919,9923,14,10035,10036,14,42736,42737,5,43596,43596,5,44200,44200,11,44648,44648,11,45096,45096,11,45544,45544,11,45992,45992,11,46440,46440,11,46888,46888,11,47336,47336,11,47784,47784,11,48232,48232,11,48680,48680,11,49128,49128,11,49576,49576,11,50024,50024,11,50472,50472,11,50920,50920,11,51368,51368,11,51816,51816,11,52264,52264,11,52712,52712,11,53160,53160,11,53608,53608,11,54056,54056,11,54504,54504,11,54952,54952,11,68108,68111,5,69933,69940,5,70197,70197,7,70498,70499,7,70845,70845,5,71229,71229,5,71727,71735,5,72154,72155,5,72344,72345,5,73023,73029,5,94095,94098,5,121403,121452,5,126981,127182,14,127538,127546,14,127990,127990,14,128391,128391,14,128445,128449,14,128500,128505,14,128752,128752,14,129160,129167,14,129356,129356,14,129432,129442,14,129648,129651,14,129751,131069,14,173,173,4,1757,1757,1,2274,2274,1,2494,2494,5,2641,2641,5,2876,2876,5,3014,3016,7,3262,3262,7,3393,3396,5,3570,3571,7,3968,3972,5,4228,4228,7,6086,6086,5,6679,6680,5,6912,6915,5,7080,7081,5,7380,7392,5,8252,8252,14,9096,9096,14,9748,9749,14,9784,9786,14,9833,9850,14,9890,9894,14,9938,9938,14,9999,9999,14,10085,10087,14,12349,12349,14,43136,43137,7,43454,43456,7,43755,43755,7,44088,44088,11,44312,44312,11,44536,44536,11,44760,44760,11,44984,44984,11,45208,45208,11,45432,45432,11,45656,45656,11,45880,45880,11,46104,46104,11,46328,46328,11,46552,46552,11,46776,46776,11,47000,47000,11,47224,47224,11,47448,47448,11,47672,47672,11,47896,47896,11,48120,48120,11,48344,48344,11,48568,48568,11,48792,48792,11,49016,49016,11,49240,49240,11,49464,49464,11,49688,49688,11,49912,49912,11,50136,50136,11,50360,50360,11,50584,50584,11,50808,50808,11,51032,51032,11,51256,51256,11,51480,51480,11,51704,51704,11,51928,51928,11,52152,52152,11,52376,52376,11,52600,52600,11,52824,52824,11,53048,53048,11,53272,53272,11,53496,53496,11,53720,53720,11,53944,53944,11,54168,54168,11,54392,54392,11,54616,54616,11,54840,54840,11,55064,55064,11,65438,65439,5,69633,69633,5,69837,69837,1,70018,70018,7,70188,70190,7,70368,70370,7,70465,70468,7,70712,70719,5,70835,70840,5,70850,70851,5,71132,71133,5,71340,71340,7,71458,71461,5,71985,71989,7,72002,72002,7,72193,72202,5,72281,72283,5,72766,72766,7,72885,72886,5,73104,73105,5,92912,92916,5,113824,113827,4,119173,119179,5,121505,121519,5,125136,125142,5,127279,127279,14,127489,127490,14,127570,127743,14,127900,127901,14,128254,128254,14,128369,128370,14,128400,128400,14,128425,128432,14,128468,128475,14,128489,128494,14,128715,128720,14,128745,128745,14,128759,128760,14,129004,129023,14,129296,129304,14,129340,129342,14,129388,129392,14,129404,129407,14,129454,129455,14,129485,129487,14,129659,129663,14,129719,129727,14,917536,917631,5,13,13,2,1160,1161,5,1564,1564,4,1807,1807,1,2085,2087,5,2363,2363,7,2402,2403,5,2507,2508,7,2622,2624,7,2691,2691,7,2786,2787,5,2881,2884,5,3006,3006,5,3072,3072,5,3170,3171,5,3267,3268,7,3330,3331,7,3406,3406,1,3538,3540,5,3655,3662,5,3897,3897,5,4038,4038,5,4184,4185,5,4352,4447,8,6068,6069,5,6155,6157,5,6448,6449,7,6742,6742,5,6783,6783,5,6966,6970,5,7042,7042,7,7143,7143,7,7212,7219,5,7412,7412,5,8206,8207,4,8294,8303,4,8596,8601,14,9410,9410,14,9742,9742,14,9757,9757,14,9770,9770,14,9794,9794,14,9828,9828,14,9855,9855,14,9882,9882,14,9900,9903,14,9929,9933,14,9963,9967,14,9987,9988,14,10006,10006,14,10062,10062,14,10175,10175,14,11744,11775,5,42607,42607,5,43043,43044,7,43263,43263,5,43444,43445,7,43569,43570,5,43698,43700,5,43766,43766,5,44032,44032,11,44144,44144,11,44256,44256,11,44368,44368,11,44480,44480,11,44592,44592,11,44704,44704,11,44816,44816,11,44928,44928,11,45040,45040,11,45152,45152,11,45264,45264,11,45376,45376,11,45488,45488,11,45600,45600,11,45712,45712,11,45824,45824,11,45936,45936,11,46048,46048,11,46160,46160,11,46272,46272,11,46384,46384,11,46496,46496,11,46608,46608,11,46720,46720,11,46832,46832,11,46944,46944,11,47056,47056,11,47168,47168,11,47280,47280,11,47392,47392,11,47504,47504,11,47616,47616,11,47728,47728,11,47840,47840,11,47952,47952,11,48064,48064,11,48176,48176,11,48288,48288,11,48400,48400,11,48512,48512,11,48624,48624,11,48736,48736,11,48848,48848,11,48960,48960,11,49072,49072,11,49184,49184,11,49296,49296,11,49408,49408,11,49520,49520,11,49632,49632,11,49744,49744,11,49856,49856,11,49968,49968,11,50080,50080,11,50192,50192,11,50304,50304,11,50416,50416,11,50528,50528,11,50640,50640,11,50752,50752,11,50864,50864,11,50976,50976,11,51088,51088,11,51200,51200,11,51312,51312,11,51424,51424,11,51536,51536,11,51648,51648,11,51760,51760,11,51872,51872,11,51984,51984,11,52096,52096,11,52208,52208,11,52320,52320,11,52432,52432,11,52544,52544,11,52656,52656,11,52768,52768,11,52880,52880,11,52992,52992,11,53104,53104,11,53216,53216,11,53328,53328,11,53440,53440,11,53552,53552,11,53664,53664,11,53776,53776,11,53888,53888,11,54000,54000,11,54112,54112,11,54224,54224,11,54336,54336,11,54448,54448,11,54560,54560,11,54672,54672,11,54784,54784,11,54896,54896,11,55008,55008,11,55120,55120,11,64286,64286,5,66272,66272,5,68900,68903,5,69762,69762,7,69817,69818,5,69927,69931,5,70003,70003,5,70070,70078,5,70094,70094,7,70194,70195,7,70206,70206,5,70400,70401,5,70463,70463,7,70475,70477,7,70512,70516,5,70722,70724,5,70832,70832,5,70842,70842,5,70847,70848,5,71088,71089,7,71102,71102,7,71219,71226,5,71231,71232,5,71342,71343,7,71453,71455,5,71463,71467,5,71737,71738,5,71995,71996,5,72000,72000,7,72145,72147,7,72160,72160,5,72249,72249,7,72273,72278,5,72330,72342,5,72752,72758,5,72850,72871,5,72882,72883,5,73018,73018,5,73031,73031,5,73109,73109,5,73461,73462,7,94031,94031,5,94192,94193,7,119142,119142,7,119155,119162,4,119362,119364,5,121476,121476,5,122888,122904,5,123184,123190,5,126976,126979,14,127184,127231,14,127344,127345,14,127405,127461,14,127514,127514,14,127561,127567,14,127778,127779,14,127896,127896,14,127985,127986,14,127995,127999,5,128326,128328,14,128360,128366,14,128378,128378,14,128394,128397,14,128405,128406,14,128422,128423,14,128435,128443,14,128453,128464,14,128479,128480,14,128484,128487,14,128496,128498,14,128640,128709,14,128723,128724,14,128736,128741,14,128747,128748,14,128755,128755,14,128762,128762,14,128981,128991,14,129096,129103,14,129292,129292,14,129311,129311,14,129329,129330,14,129344,129349,14,129360,129374,14,129394,129394,14,129402,129402,14,129413,129425,14,129445,129450,14,129466,129471,14,129483,129483,14,129511,129535,14,129653,129655,14,129667,129670,14,129705,129711,14,129731,129743,14,917505,917505,4,917760,917999,5,10,10,3,127,159,4,768,879,5,1471,1471,5,1536,1541,1,1648,1648,5,1767,1768,5,1840,1866,5,2070,2073,5,2137,2139,5,2307,2307,7,2366,2368,7,2382,2383,7,2434,2435,7,2497,2500,5,2519,2519,5,2563,2563,7,2631,2632,5,2677,2677,5,2750,2752,7,2763,2764,7,2817,2817,5,2879,2879,5,2891,2892,7,2914,2915,5,3008,3008,5,3021,3021,5,3076,3076,5,3146,3149,5,3202,3203,7,3264,3265,7,3271,3272,7,3298,3299,5,3390,3390,5,3402,3404,7,3426,3427,5,3535,3535,5,3544,3550,7,3635,3635,7,3763,3763,7,3893,3893,5,3953,3966,5,3981,3991,5,4145,4145,7,4157,4158,5,4209,4212,5,4237,4237,5,4520,4607,10,5970,5971,5,6071,6077,5,6089,6099,5,6277,6278,5,6439,6440,5,6451,6456,7,6683,6683,5,6744,6750,5,6765,6770,7,6846,6846,5,6964,6964,5,6972,6972,5,7019,7027,5,7074,7077,5,7083,7085,5,7146,7148,7,7154,7155,7,7222,7223,5,7394,7400,5,7416,7417,5,8204,8204,5,8233,8233,4,8288,8292,4,8413,8416,5,8482,8482,14,8986,8987,14,9193,9203,14,9654,9654,14,9733,9733,14,9745,9745,14,9752,9752,14,9760,9760,14,9766,9766,14,9774,9775,14,9792,9792,14,9800,9811,14,9825,9826,14,9831,9831,14,9852,9853,14,9872,9873,14,9880,9880,14,9885,9887,14,9896,9897,14,9906,9916,14,9926,9927,14,9936,9936,14,9941,9960,14,9974,9974,14,9982,9985,14,9992,9997,14,10002,10002,14,10017,10017,14,10055,10055,14,10071,10071,14,10145,10145,14,11013,11015,14,11503,11505,5,12334,12335,5,12951,12951,14,42612,42621,5,43014,43014,5,43047,43047,7,43204,43205,5,43335,43345,5,43395,43395,7,43450,43451,7,43561,43566,5,43573,43574,5,43644,43644,5,43710,43711,5,43758,43759,7,44005,44005,5,44012,44012,7,44060,44060,11,44116,44116,11,44172,44172,11,44228,44228,11,44284,44284,11,44340,44340,11,44396,44396,11,44452,44452,11,44508,44508,11,44564,44564,11,44620,44620,11,44676,44676,11,44732,44732,11,44788,44788,11,44844,44844,11,44900,44900,11,44956,44956,11,45012,45012,11,45068,45068,11,45124,45124,11,45180,45180,11,45236,45236,11,45292,45292,11,45348,45348,11,45404,45404,11,45460,45460,11,45516,45516,11,45572,45572,11,45628,45628,11,45684,45684,11,45740,45740,11,45796,45796,11,45852,45852,11,45908,45908,11,45964,45964,11,46020,46020,11,46076,46076,11,46132,46132,11,46188,46188,11,46244,46244,11,46300,46300,11,46356,46356,11,46412,46412,11,46468,46468,11,46524,46524,11,46580,46580,11,46636,46636,11,46692,46692,11,46748,46748,11,46804,46804,11,46860,46860,11,46916,46916,11,46972,46972,11,47028,47028,11,47084,47084,11,47140,47140,11,47196,47196,11,47252,47252,11,47308,47308,11,47364,47364,11,47420,47420,11,47476,47476,11,47532,47532,11,47588,47588,11,47644,47644,11,47700,47700,11,47756,47756,11,47812,47812,11,47868,47868,11,47924,47924,11,47980,47980,11,48036,48036,11,48092,48092,11,48148,48148,11,48204,48204,11,48260,48260,11,48316,48316,11,48372,48372,11,48428,48428,11,48484,48484,11,48540,48540,11,48596,48596,11,48652,48652,11,48708,48708,11,48764,48764,11,48820,48820,11,48876,48876,11,48932,48932,11,48988,48988,11,49044,49044,11,49100,49100,11,49156,49156,11,49212,49212,11,49268,49268,11,49324,49324,11,49380,49380,11,49436,49436,11,49492,49492,11,49548,49548,11,49604,49604,11,49660,49660,11,49716,49716,11,49772,49772,11,49828,49828,11,49884,49884,11,49940,49940,11,49996,49996,11,50052,50052,11,50108,50108,11,50164,50164,11,50220,50220,11,50276,50276,11,50332,50332,11,50388,50388,11,50444,50444,11,50500,50500,11,50556,50556,11,50612,50612,11,50668,50668,11,50724,50724,11,50780,50780,11,50836,50836,11,50892,50892,11,50948,50948,11,51004,51004,11,51060,51060,11,51116,51116,11,51172,51172,11,51228,51228,11,51284,51284,11,51340,51340,11,51396,51396,11,51452,51452,11,51508,51508,11,51564,51564,11,51620,51620,11,51676,51676,11,51732,51732,11,51788,51788,11,51844,51844,11,51900,51900,11,51956,51956,11,52012,52012,11,52068,52068,11,52124,52124,11,52180,52180,11,52236,52236,11,52292,52292,11,52348,52348,11,52404,52404,11,52460,52460,11,52516,52516,11,52572,52572,11,52628,52628,11,52684,52684,11,52740,52740,11,52796,52796,11,52852,52852,11,52908,52908,11,52964,52964,11,53020,53020,11,53076,53076,11,53132,53132,11,53188,53188,11,53244,53244,11,53300,53300,11,53356,53356,11,53412,53412,11,53468,53468,11,53524,53524,11,53580,53580,11,53636,53636,11,53692,53692,11,53748,53748,11,53804,53804,11,53860,53860,11,53916,53916,11,53972,53972,11,54028,54028,11,54084,54084,11,54140,54140,11,54196,54196,11,54252,54252,11,54308,54308,11,54364,54364,11,54420,54420,11,54476,54476,11,54532,54532,11,54588,54588,11,54644,54644,11,54700,54700,11,54756,54756,11,54812,54812,11,54868,54868,11,54924,54924,11,54980,54980,11,55036,55036,11,55092,55092,11,55148,55148,11,55216,55238,9,65056,65071,5,65529,65531,4,68097,68099,5,68159,68159,5,69446,69456,5,69688,69702,5,69808,69810,7,69815,69816,7,69821,69821,1,69888,69890,5,69932,69932,7,69957,69958,7,70016,70017,5,70067,70069,7,70079,70080,7,70089,70092,5,70095,70095,5,70191,70193,5,70196,70196,5,70198,70199,5,70367,70367,5,70371,70378,5,70402,70403,7,70462,70462,5,70464,70464,5,70471,70472,7,70487,70487,5,70502,70508,5,70709,70711,7,70720,70721,7,70725,70725,7,70750,70750,5,70833,70834,7,70841,70841,7,70843,70844,7,70846,70846,7,70849,70849,7,71087,71087,5,71090,71093,5,71100,71101,5,71103,71104,5,71216,71218,7,71227,71228,7,71230,71230,7,71339,71339,5,71341,71341,5,71344,71349,5,71351,71351,5,71456,71457,7,71462,71462,7,71724,71726,7,71736,71736,7,71984,71984,5,71991,71992,7,71997,71997,7,71999,71999,1,72001,72001,1,72003,72003,5,72148,72151,5,72156,72159,7,72164,72164,7,72243,72248,5,72250,72250,1,72263,72263,5,72279,72280,7,72324,72329,1,72343,72343,7,72751,72751,7,72760,72765,5,72767,72767,5,72873,72873,7,72881,72881,7,72884,72884,7,73009,73014,5,73020,73021,5,73030,73030,1,73098,73102,7,73107,73108,7,73110,73110,7,73459,73460,5,78896,78904,4,92976,92982,5,94033,94087,7,94180,94180,5,113821,113822,5,119141,119141,5,119143,119145,5,119150,119154,5,119163,119170,5,119210,119213,5,121344,121398,5,121461,121461,5,121499,121503,5,122880,122886,5,122907,122913,5,122918,122922,5,123628,123631,5,125252,125258,5,126980,126980,14,127183,127183,14,127245,127247,14,127340,127343,14,127358,127359,14,127377,127386,14,127462,127487,6,127491,127503,14,127535,127535,14,127548,127551,14,127568,127569,14,127744,127777,14,127780,127891,14,127894,127895,14,127897,127899,14,127902,127984,14,127987,127989,14,127991,127994,14,128000,128253,14,128255,128317,14,128329,128334,14,128336,128359,14,128367,128368,14,128371,128377,14,128379,128390,14,128392,128393,14,128398,128399,14,128401,128404,14,128407,128419,14,128421,128421,14,128424,128424,14,128433,128434,14,128444,128444,14,128450,128452,14,128465,128467,14,128476,128478,14,128481,128481,14,128483,128483,14,128488,128488,14,128495,128495,14,128499,128499,14,128506,128591,14,128710,128714,14,128721,128722,14,128725,128725,14,128728,128735,14,128742,128744,14,128746,128746,14,128749,128751,14,128753,128754,14,128756,128758,14,128761,128761,14,128763,128764,14,128884,128895,14,128992,129003,14,129036,129039,14,129114,129119,14,129198,129279,14,129293,129295,14,129305,129310,14,129312,129319,14,129328,129328,14,129331,129338,14,129343,129343,14,129351,129355,14,129357,129359,14,129375,129387,14,129393,129393,14,129395,129398,14,129401,129401,14,129403,129403,14,129408,129412,14,129426,129431,14,129443,129444,14,129451,129453,14,129456,129465,14,129472,129472,14,129475,129482,14,129484,129484,14,129488,129510,14,129536,129647,14,129652,129652,14,129656,129658,14,129664,129666,14,129671,129679,14,129686,129704,14,129712,129718,14,129728,129730,14,129744,129750,14,917504,917504,4,917506,917535,4,917632,917759,4,918000,921599,4,0,9,4,11,12,4,14,31,4,169,169,14,174,174,14,1155,1159,5,1425,1469,5,1473,1474,5,1479,1479,5,1552,1562,5,1611,1631,5,1750,1756,5,1759,1764,5,1770,1773,5,1809,1809,5,1958,1968,5,2045,2045,5,2075,2083,5,2089,2093,5,2259,2273,5,2275,2306,5,2362,2362,5,2364,2364,5,2369,2376,5,2381,2381,5,2385,2391,5,2433,2433,5,2492,2492,5,2495,2496,7,2503,2504,7,2509,2509,5,2530,2531,5,2561,2562,5,2620,2620,5,2625,2626,5,2635,2637,5,2672,2673,5,2689,2690,5,2748,2748,5,2753,2757,5,2761,2761,7,2765,2765,5,2810,2815,5,2818,2819,7,2878,2878,5,2880,2880,7,2887,2888,7,2893,2893,5,2903,2903,5,2946,2946,5,3007,3007,7,3009,3010,7,3018,3020,7,3031,3031,5,3073,3075,7,3134,3136,5,3142,3144,5,3157,3158,5,3201,3201,5,3260,3260,5,3263,3263,5,3266,3266,5,3270,3270,5,3274,3275,7,3285,3286,5,3328,3329,5,3387,3388,5,3391,3392,7,3398,3400,7,3405,3405,5,3415,3415,5,3457,3457,5,3530,3530,5,3536,3537,7,3542,3542,5,3551,3551,5,3633,3633,5,3636,3642,5,3761,3761,5,3764,3772,5,3864,3865,5,3895,3895,5,3902,3903,7,3967,3967,7,3974,3975,5,3993,4028,5,4141,4144,5,4146,4151,5,4155,4156,7,4182,4183,7,4190,4192,5,4226,4226,5,4229,4230,5,4253,4253,5,4448,4519,9,4957,4959,5,5938,5940,5,6002,6003,5,6070,6070,7,6078,6085,7,6087,6088,7,6109,6109,5,6158,6158,4,6313,6313,5,6435,6438,7,6441,6443,7,6450,6450,5,6457,6459,5,6681,6682,7,6741,6741,7,6743,6743,7,6752,6752,5,6757,6764,5,6771,6780,5,6832,6845,5,6847,6848,5,6916,6916,7,6965,6965,5,6971,6971,7,6973,6977,7,6979,6980,7,7040,7041,5,7073,7073,7,7078,7079,7,7082,7082,7,7142,7142,5,7144,7145,5,7149,7149,5,7151,7153,5,7204,7211,7,7220,7221,7,7376,7378,5,7393,7393,7,7405,7405,5,7415,7415,7,7616,7673,5,8203,8203,4,8205,8205,13,8232,8232,4,8234,8238,4,8265,8265,14,8293,8293,4,8400,8412,5,8417,8417,5,8421,8432,5,8505,8505,14,8617,8618,14,9000,9000,14,9167,9167,14,9208,9210,14,9642,9643,14,9664,9664,14,9728,9732,14,9735,9741,14,9743,9744,14,9746,9746,14,9750,9751,14,9753,9756,14,9758,9759,14,9761,9761,14,9764,9765,14,9767,9769,14,9771,9773,14,9776,9783,14,9787,9791,14,9793,9793,14,9795,9799,14,9812,9822,14,9824,9824,14,9827,9827,14,9829,9830,14,9832,9832,14,9851,9851,14,9854,9854,14,9856,9861,14,9874,9876,14,9878,9879,14,9881,9881,14,9883,9884,14,9888,9889,14,9895,9895,14,9898,9899,14,9904,9905,14,9917,9918,14,9924,9925,14,9928,9928,14,9934,9935,14,9937,9937,14,9939,9940,14,9961,9962,14,9968,9973,14,9975,9978,14,9981,9981,14,9986,9986,14,9989,9989,14,9998,9998,14,10000,10001,14,10004,10004,14,10013,10013,14,10024,10024,14,10052,10052,14,10060,10060,14,10067,10069,14,10083,10084,14,10133,10135,14,10160,10160,14,10548,10549,14,11035,11036,14,11093,11093,14,11647,11647,5,12330,12333,5,12336,12336,14,12441,12442,5,12953,12953,14,42608,42610,5,42654,42655,5,43010,43010,5,43019,43019,5,43045,43046,5,43052,43052,5,43188,43203,7,43232,43249,5,43302,43309,5,43346,43347,7,43392,43394,5,43443,43443,5,43446,43449,5,43452,43453,5,43493,43493,5,43567,43568,7,43571,43572,7,43587,43587,5,43597,43597,7,43696,43696,5,43703,43704,5,43713,43713,5,43756,43757,5,43765,43765,7,44003,44004,7,44006,44007,7,44009,44010,7,44013,44013,5,44033,44059,12,44061,44087,12,44089,44115,12,44117,44143,12,44145,44171,12,44173,44199,12,44201,44227,12,44229,44255,12,44257,44283,12,44285,44311,12,44313,44339,12,44341,44367,12,44369,44395,12,44397,44423,12,44425,44451,12,44453,44479,12,44481,44507,12,44509,44535,12,44537,44563,12,44565,44591,12,44593,44619,12,44621,44647,12,44649,44675,12,44677,44703,12,44705,44731,12,44733,44759,12,44761,44787,12,44789,44815,12,44817,44843,12,44845,44871,12,44873,44899,12,44901,44927,12,44929,44955,12,44957,44983,12,44985,45011,12,45013,45039,12,45041,45067,12,45069,45095,12,45097,45123,12,45125,45151,12,45153,45179,12,45181,45207,12,45209,45235,12,45237,45263,12,45265,45291,12,45293,45319,12,45321,45347,12,45349,45375,12,45377,45403,12,45405,45431,12,45433,45459,12,45461,45487,12,45489,45515,12,45517,45543,12,45545,45571,12,45573,45599,12,45601,45627,12,45629,45655,12,45657,45683,12,45685,45711,12,45713,45739,12,45741,45767,12,45769,45795,12,45797,45823,12,45825,45851,12,45853,45879,12,45881,45907,12,45909,45935,12,45937,45963,12,45965,45991,12,45993,46019,12,46021,46047,12,46049,46075,12,46077,46103,12,46105,46131,12,46133,46159,12,46161,46187,12,46189,46215,12,46217,46243,12,46245,46271,12,46273,46299,12,46301,46327,12,46329,46355,12,46357,46383,12,46385,46411,12,46413,46439,12,46441,46467,12,46469,46495,12,46497,46523,12,46525,46551,12,46553,46579,12,46581,46607,12,46609,46635,12,46637,46663,12,46665,46691,12,46693,46719,12,46721,46747,12,46749,46775,12,46777,46803,12,46805,46831,12,46833,46859,12,46861,46887,12,46889,46915,12,46917,46943,12,46945,46971,12,46973,46999,12,47001,47027,12,47029,47055,12,47057,47083,12,47085,47111,12,47113,47139,12,47141,47167,12,47169,47195,12,47197,47223,12,47225,47251,12,47253,47279,12,47281,47307,12,47309,47335,12,47337,47363,12,47365,47391,12,47393,47419,12,47421,47447,12,47449,47475,12,47477,47503,12,47505,47531,12,47533,47559,12,47561,47587,12,47589,47615,12,47617,47643,12,47645,47671,12,47673,47699,12,47701,47727,12,47729,47755,12,47757,47783,12,47785,47811,12,47813,47839,12,47841,47867,12,47869,47895,12,47897,47923,12,47925,47951,12,47953,47979,12,47981,48007,12,48009,48035,12,48037,48063,12,48065,48091,12,48093,48119,12,48121,48147,12,48149,48175,12,48177,48203,12,48205,48231,12,48233,48259,12,48261,48287,12,48289,48315,12,48317,48343,12,48345,48371,12,48373,48399,12,48401,48427,12,48429,48455,12,48457,48483,12,48485,48511,12,48513,48539,12,48541,48567,12,48569,48595,12,48597,48623,12,48625,48651,12,48653,48679,12,48681,48707,12,48709,48735,12,48737,48763,12,48765,48791,12,48793,48819,12,48821,48847,12,48849,48875,12,48877,48903,12,48905,48931,12,48933,48959,12,48961,48987,12,48989,49015,12,49017,49043,12,49045,49071,12,49073,49099,12,49101,49127,12,49129,49155,12,49157,49183,12,49185,49211,12,49213,49239,12,49241,49267,12,49269,49295,12,49297,49323,12,49325,49351,12,49353,49379,12,49381,49407,12,49409,49435,12,49437,49463,12,49465,49491,12,49493,49519,12,49521,49547,12,49549,49575,12,49577,49603,12,49605,49631,12,49633,49659,12,49661,49687,12,49689,49715,12,49717,49743,12,49745,49771,12,49773,49799,12,49801,49827,12,49829,49855,12,49857,49883,12,49885,49911,12,49913,49939,12,49941,49967,12,49969,49995,12,49997,50023,12,50025,50051,12,50053,50079,12,50081,50107,12,50109,50135,12,50137,50163,12,50165,50191,12,50193,50219,12,50221,50247,12,50249,50275,12,50277,50303,12,50305,50331,12,50333,50359,12,50361,50387,12,50389,50415,12,50417,50443,12,50445,50471,12,50473,50499,12,50501,50527,12,50529,50555,12,50557,50583,12,50585,50611,12,50613,50639,12,50641,50667,12,50669,50695,12,50697,50723,12,50725,50751,12,50753,50779,12,50781,50807,12,50809,50835,12,50837,50863,12,50865,50891,12,50893,50919,12,50921,50947,12,50949,50975,12,50977,51003,12,51005,51031,12,51033,51059,12,51061,51087,12,51089,51115,12,51117,51143,12,51145,51171,12,51173,51199,12,51201,51227,12,51229,51255,12,51257,51283,12,51285,51311,12,51313,51339,12,51341,51367,12,51369,51395,12,51397,51423,12,51425,51451,12,51453,51479,12,51481,51507,12,51509,51535,12,51537,51563,12,51565,51591,12,51593,51619,12,51621,51647,12,51649,51675,12,51677,51703,12,51705,51731,12,51733,51759,12,51761,51787,12,51789,51815,12,51817,51843,12,51845,51871,12,51873,51899,12,51901,51927,12,51929,51955,12,51957,51983,12,51985,52011,12,52013,52039,12,52041,52067,12,52069,52095,12,52097,52123,12,52125,52151,12,52153,52179,12,52181,52207,12,52209,52235,12,52237,52263,12,52265,52291,12,52293,52319,12,52321,52347,12,52349,52375,12,52377,52403,12,52405,52431,12,52433,52459,12,52461,52487,12,52489,52515,12,52517,52543,12,52545,52571,12,52573,52599,12,52601,52627,12,52629,52655,12,52657,52683,12,52685,52711,12,52713,52739,12,52741,52767,12,52769,52795,12,52797,52823,12,52825,52851,12,52853,52879,12,52881,52907,12,52909,52935,12,52937,52963,12,52965,52991,12,52993,53019,12,53021,53047,12,53049,53075,12,53077,53103,12,53105,53131,12,53133,53159,12,53161,53187,12,53189,53215,12,53217,53243,12,53245,53271,12,53273,53299,12,53301,53327,12,53329,53355,12,53357,53383,12,53385,53411,12,53413,53439,12,53441,53467,12,53469,53495,12,53497,53523,12,53525,53551,12,53553,53579,12,53581,53607,12,53609,53635,12,53637,53663,12,53665,53691,12,53693,53719,12,53721,53747,12,53749,53775,12,53777,53803,12,53805,53831,12,53833,53859,12,53861,53887,12,53889,53915,12,53917,53943,12,53945,53971,12,53973,53999,12,54001,54027,12,54029,54055,12,54057,54083,12,54085,54111,12,54113,54139,12,54141,54167,12,54169,54195,12,54197,54223,12,54225,54251,12,54253,54279,12,54281,54307,12,54309,54335,12,54337,54363,12,54365,54391,12,54393,54419,12,54421,54447,12,54449,54475,12,54477,54503,12,54505,54531,12,54533,54559,12,54561,54587,12,54589,54615,12,54617,54643,12,54645,54671,12,54673,54699,12,54701,54727,12,54729,54755,12,54757,54783,12,54785,54811,12,54813,54839,12,54841,54867,12,54869,54895,12,54897,54923,12,54925,54951,12,54953,54979,12,54981,55007,12,55009,55035,12,55037,55063,12,55065,55091,12,55093,55119,12,55121,55147,12,55149,55175,12,55177,55203,12,55243,55291,10,65024,65039,5,65279,65279,4,65520,65528,4,66045,66045,5,66422,66426,5,68101,68102,5,68152,68154,5,68325,68326,5,69291,69292,5,69632,69632,7,69634,69634,7,69759,69761,5]');
    }
    //#endregion
    /**
     * Computes the offset after performing a left delete on the given string,
     * while considering unicode grapheme/emoji rules.
    */
    function getLeftDeleteOffset(offset, str) {
        if (offset === 0) {
            return 0;
        }
        // Try to delete emoji part.
        const emojiOffset = getOffsetBeforeLastEmojiComponent(offset, str);
        if (emojiOffset !== undefined) {
            return emojiOffset;
        }
        // Otherwise, just skip a single code point.
        const codePoint = getPrevCodePoint(str, offset);
        offset -= getUTF16Length(codePoint);
        return offset;
    }
    function getOffsetBeforeLastEmojiComponent(offset, str) {
        // See https://www.unicode.org/reports/tr51/tr51-14.html#EBNF_and_Regex for the
        // structure of emojis.
        let codePoint = getPrevCodePoint(str, offset);
        offset -= getUTF16Length(codePoint);
        // Skip modifiers
        while ((isEmojiModifier(codePoint) || codePoint === 65039 /* emojiVariantSelector */ || codePoint === 8419 /* enclosingKeyCap */)) {
            if (offset === 0) {
                // Cannot skip modifier, no preceding emoji base.
                return undefined;
            }
            codePoint = getPrevCodePoint(str, offset);
            offset -= getUTF16Length(codePoint);
        }
        // Expect base emoji
        if (!isEmojiImprecise(codePoint)) {
            // Unexpected code point, not a valid emoji.
            return undefined;
        }
        if (offset >= 0) {
            // Skip optional ZWJ code points that combine multiple emojis.
            // In theory, we should check if that ZWJ actually combines multiple emojis
            // to prevent deleting ZWJs in situations we didn't account for.
            const optionalZwjCodePoint = getPrevCodePoint(str, offset);
            if (optionalZwjCodePoint === 8205 /* zwj */) {
                offset -= getUTF16Length(optionalZwjCodePoint);
            }
        }
        return offset;
    }
    function getUTF16Length(codePoint) {
        return codePoint >= 65536 /* UNICODE_SUPPLEMENTARY_PLANE_BEGIN */ ? 2 : 1;
    }
    function isEmojiModifier(codePoint) {
        return 0x1F3FB <= codePoint && codePoint <= 0x1F3FF;
    }
    
    
    /***/ }),
    
    /***/ 72999:
    /*!**************************************************************************************!*\
      !*** ./node_modules/_monaco-editor@0.30.0@monaco-editor/esm/vs/base/common/types.js ***!
      \**************************************************************************************/
    /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
    
    "use strict";
    /* harmony export */ __webpack_require__.d(__webpack_exports__, {
    /* harmony export */   $E: function() { return /* binding */ getAllMethodNames; },
    /* harmony export */   $K: function() { return /* binding */ isDefined; },
    /* harmony export */   D8: function() { return /* binding */ validateConstraints; },
    /* harmony export */   HD: function() { return /* binding */ isString; },
    /* harmony export */   IU: function() { return /* binding */ createProxyObject; },
    /* harmony export */   Jp: function() { return /* binding */ isUndefinedOrNull; },
    /* harmony export */   Kn: function() { return /* binding */ isObject; },
    /* harmony export */   cW: function() { return /* binding */ assertIsDefined; },
    /* harmony export */   f6: function() { return /* binding */ withNullAsUndefined; },
    /* harmony export */   hj: function() { return /* binding */ isNumber; },
    /* harmony export */   jn: function() { return /* binding */ isBoolean; },
    /* harmony export */   kJ: function() { return /* binding */ isArray; },
    /* harmony export */   mf: function() { return /* binding */ isFunction; },
    /* harmony export */   o8: function() { return /* binding */ isUndefined; },
    /* harmony export */   p_: function() { return /* binding */ assertType; },
    /* harmony export */   vE: function() { return /* binding */ assertNever; }
    /* harmony export */ });
    /* unused harmony exports validateConstraint, getAllPropertyNames */
    /**
     * @returns whether the provided parameter is a JavaScript Array or not.
     */
    function isArray(array) {
        return Array.isArray(array);
    }
    /**
     * @returns whether the provided parameter is a JavaScript String or not.
     */
    function isString(str) {
        return (typeof str === 'string');
    }
    /**
     *
     * @returns whether the provided parameter is of type `object` but **not**
     *	`null`, an `array`, a `regexp`, nor a `date`.
     */
    function isObject(obj) {
        // The method can't do a type cast since there are type (like strings) which
        // are subclasses of any put not positvely matched by the function. Hence type
        // narrowing results in wrong results.
        return typeof obj === 'object'
            && obj !== null
            && !Array.isArray(obj)
            && !(obj instanceof RegExp)
            && !(obj instanceof Date);
    }
    /**
     * In **contrast** to just checking `typeof` this will return `false` for `NaN`.
     * @returns whether the provided parameter is a JavaScript Number or not.
     */
    function isNumber(obj) {
        return (typeof obj === 'number' && !isNaN(obj));
    }
    /**
     * @returns whether the provided parameter is a JavaScript Boolean or not.
     */
    function isBoolean(obj) {
        return (obj === true || obj === false);
    }
    /**
     * @returns whether the provided parameter is undefined.
     */
    function isUndefined(obj) {
        return (typeof obj === 'undefined');
    }
    /**
     * @returns whether the provided parameter is defined.
     */
    function isDefined(arg) {
        return !isUndefinedOrNull(arg);
    }
    /**
     * @returns whether the provided parameter is undefined or null.
     */
    function isUndefinedOrNull(obj) {
        return (isUndefined(obj) || obj === null);
    }
    function assertType(condition, type) {
        if (!condition) {
            throw new Error(type ? `Unexpected type, expected '${type}'` : 'Unexpected type');
        }
    }
    /**
     * Asserts that the argument passed in is neither undefined nor null.
     */
    function assertIsDefined(arg) {
        if (isUndefinedOrNull(arg)) {
            throw new Error('Assertion Failed: argument is undefined or null');
        }
        return arg;
    }
    /**
     * @returns whether the provided parameter is a JavaScript Function or not.
     */
    function isFunction(obj) {
        return (typeof obj === 'function');
    }
    function validateConstraints(args, constraints) {
        const len = Math.min(args.length, constraints.length);
        for (let i = 0; i < len; i++) {
            validateConstraint(args[i], constraints[i]);
        }
    }
    function validateConstraint(arg, constraint) {
        if (isString(constraint)) {
            if (typeof arg !== constraint) {
                throw new Error(`argument does not match constraint: typeof ${constraint}`);
            }
        }
        else if (isFunction(constraint)) {
            try {
                if (arg instanceof constraint) {
                    return;
                }
            }
            catch (_a) {
                // ignore
            }
            if (!isUndefinedOrNull(arg) && arg.constructor === constraint) {
                return;
            }
            if (constraint.length === 1 && constraint.call(undefined, arg) === true) {
                return;
            }
            throw new Error(`argument does not match one of these constraints: arg instanceof constraint, arg.constructor === constraint, nor constraint(arg) === true`);
        }
    }
    function getAllPropertyNames(obj) {
        let res = [];
        let proto = Object.getPrototypeOf(obj);
        while (Object.prototype !== proto) {
            res = res.concat(Object.getOwnPropertyNames(proto));
            proto = Object.getPrototypeOf(proto);
        }
        return res;
    }
    function getAllMethodNames(obj) {
        const methods = [];
        for (const prop of getAllPropertyNames(obj)) {
            if (typeof obj[prop] === 'function') {
                methods.push(prop);
            }
        }
        return methods;
    }
    function createProxyObject(methodNames, invoke) {
        const createProxyMethod = (method) => {
            return function () {
                const args = Array.prototype.slice.call(arguments, 0);
                return invoke(method, args);
            };
        };
        let result = {};
        for (const methodName of methodNames) {
            result[methodName] = createProxyMethod(methodName);
        }
        return result;
    }
    /**
     * Converts null to undefined, passes all other values through.
     */
    function withNullAsUndefined(x) {
        return x === null ? undefined : x;
    }
    function assertNever(value, message = 'Unreachable') {
        throw new Error(message);
    }
    
    
    /***/ }),
    
    /***/ 13268:
    /*!************************************************************************!*\
      !*** ./node_modules/_monaco-editor@0.30.0@monaco-editor/esm/vs/nls.js ***!
      \************************************************************************/
    /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
    
    "use strict";
    /* harmony export */ __webpack_require__.d(__webpack_exports__, {
    /* harmony export */   N: function() { return /* binding */ localize; }
    /* harmony export */ });
    /*---------------------------------------------------------------------------------------------
     *  Copyright (c) Microsoft Corporation. All rights reserved.
     *  Licensed under the MIT License. See License.txt in the project root for license information.
     *--------------------------------------------------------------------------------------------*/
    function _format(message, args) {
        let result;
        if (args.length === 0) {
            result = message;
        }
        else {
            result = message.replace(/\{(\d+)\}/g, function (match, rest) {
                const index = rest[0];
                return typeof args[index] !== 'undefined' ? args[index] : match;
            });
        }
        return result;
    }
    function localize(data, message, ...args) {
        return _format(message, args);
    }
    
    
    /***/ }),
    
    /***/ 96236:
    /*!****************************************************************************************************!*\
      !*** ./node_modules/_monaco-editor@0.30.0@monaco-editor/esm/vs/platform/actions/common/actions.js ***!
      \****************************************************************************************************/
    /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
    
    "use strict";
    /* harmony export */ __webpack_require__.d(__webpack_exports__, {
    /* harmony export */   BH: function() { return /* binding */ MenuRegistry; },
    /* harmony export */   NZ: function() { return /* binding */ SubmenuItemAction; },
    /* harmony export */   U8: function() { return /* binding */ MenuItemAction; },
    /* harmony export */   co: function() { return /* binding */ IMenuService; },
    /* harmony export */   eH: function() { return /* binding */ MenuId; },
    /* harmony export */   vr: function() { return /* binding */ isIMenuItem; }
    /* harmony export */ });
    /* harmony import */ var _base_common_actions_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../base/common/actions.js */ 75918);
    /* harmony import */ var _base_common_codicons_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../base/common/codicons.js */ 52615);
    /* harmony import */ var _base_common_event_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../base/common/event.js */ 4348);
    /* harmony import */ var _base_common_iterator_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../base/common/iterator.js */ 88226);
    /* harmony import */ var _base_common_lifecycle_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../base/common/lifecycle.js */ 69323);
    /* harmony import */ var _base_common_linkedList_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../base/common/linkedList.js */ 34502);
    /* harmony import */ var _commands_common_commands_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../commands/common/commands.js */ 35884);
    /* harmony import */ var _contextkey_common_contextkey_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../contextkey/common/contextkey.js */ 90689);
    /* harmony import */ var _instantiation_common_instantiation_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../instantiation/common/instantiation.js */ 16925);
    /* harmony import */ var _theme_common_themeService_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../theme/common/themeService.js */ 49055);
    /*---------------------------------------------------------------------------------------------
     *  Copyright (c) Microsoft Corporation. All rights reserved.
     *  Licensed under the MIT License. See License.txt in the project root for license information.
     *--------------------------------------------------------------------------------------------*/
    var __decorate = (undefined && undefined.__decorate) || function (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;
    };
    var __param = (undefined && undefined.__param) || function (paramIndex, decorator) {
        return function (target, key) { decorator(target, key, paramIndex); }
    };
    
    
    
    
    
    
    
    
    
    
    function isIMenuItem(item) {
        return item.command !== undefined;
    }
    class MenuId {
        constructor(debugName) {
            this.id = MenuId._idPool++;
            this._debugName = debugName;
        }
    }
    MenuId._idPool = 0;
    MenuId.CommandPalette = new MenuId('CommandPalette');
    MenuId.EditorContext = new MenuId('EditorContext');
    MenuId.SimpleEditorContext = new MenuId('SimpleEditorContext');
    MenuId.EditorContextCopy = new MenuId('EditorContextCopy');
    MenuId.EditorContextPeek = new MenuId('EditorContextPeek');
    MenuId.MenubarEditMenu = new MenuId('MenubarEditMenu');
    MenuId.MenubarCopy = new MenuId('MenubarCopy');
    MenuId.MenubarGoMenu = new MenuId('MenubarGoMenu');
    MenuId.MenubarSelectionMenu = new MenuId('MenubarSelectionMenu');
    MenuId.InlineCompletionsActions = new MenuId('InlineCompletionsActions');
    const IMenuService = (0,_instantiation_common_instantiation_js__WEBPACK_IMPORTED_MODULE_8__/* .createDecorator */ .yh)('menuService');
    const MenuRegistry = new class {
        constructor() {
            this._commands = new Map();
            this._menuItems = new Map();
            this._onDidChangeMenu = new _base_common_event_js__WEBPACK_IMPORTED_MODULE_2__/* .Emitter */ .Q5();
            this.onDidChangeMenu = this._onDidChangeMenu.event;
            this._commandPaletteChangeEvent = {
                has: id => id === MenuId.CommandPalette
            };
        }
        addCommand(command) {
            return this.addCommands(_base_common_iterator_js__WEBPACK_IMPORTED_MODULE_3__/* .Iterable */ .$.single(command));
        }
        addCommands(commands) {
            for (const command of commands) {
                this._commands.set(command.id, command);
            }
            this._onDidChangeMenu.fire(this._commandPaletteChangeEvent);
            return (0,_base_common_lifecycle_js__WEBPACK_IMPORTED_MODULE_4__/* .toDisposable */ .OF)(() => {
                let didChange = false;
                for (const command of commands) {
                    didChange = this._commands.delete(command.id) || didChange;
                }
                if (didChange) {
                    this._onDidChangeMenu.fire(this._commandPaletteChangeEvent);
                }
            });
        }
        getCommand(id) {
            return this._commands.get(id);
        }
        getCommands() {
            const map = new Map();
            this._commands.forEach((value, key) => map.set(key, value));
            return map;
        }
        appendMenuItem(id, item) {
            return this.appendMenuItems(_base_common_iterator_js__WEBPACK_IMPORTED_MODULE_3__/* .Iterable */ .$.single({ id, item }));
        }
        appendMenuItems(items) {
            const changedIds = new Set();
            const toRemove = new _base_common_linkedList_js__WEBPACK_IMPORTED_MODULE_5__/* .LinkedList */ .S();
            for (const { id, item } of items) {
                let list = this._menuItems.get(id);
                if (!list) {
                    list = new _base_common_linkedList_js__WEBPACK_IMPORTED_MODULE_5__/* .LinkedList */ .S();
                    this._menuItems.set(id, list);
                }
                toRemove.push(list.push(item));
                changedIds.add(id);
            }
            this._onDidChangeMenu.fire(changedIds);
            return (0,_base_common_lifecycle_js__WEBPACK_IMPORTED_MODULE_4__/* .toDisposable */ .OF)(() => {
                if (toRemove.size > 0) {
                    for (let fn of toRemove) {
                        fn();
                    }
                    this._onDidChangeMenu.fire(changedIds);
                    toRemove.clear();
                }
            });
        }
        getMenuItems(id) {
            let result;
            if (this._menuItems.has(id)) {
                result = [...this._menuItems.get(id)];
            }
            else {
                result = [];
            }
            if (id === MenuId.CommandPalette) {
                // CommandPalette is special because it shows
                // all commands by default
                this._appendImplicitItems(result);
            }
            return result;
        }
        _appendImplicitItems(result) {
            const set = new Set();
            for (const item of result) {
                if (isIMenuItem(item)) {
                    set.add(item.command.id);
                    if (item.alt) {
                        set.add(item.alt.id);
                    }
                }
            }
            this._commands.forEach((command, id) => {
                if (!set.has(id)) {
                    result.push({ command });
                }
            });
        }
    };
    class SubmenuItemAction extends _base_common_actions_js__WEBPACK_IMPORTED_MODULE_0__/* .SubmenuAction */ .wY {
        constructor(item, _menuService, _contextKeyService, _options) {
            super(`submenuitem.${item.submenu.id}`, typeof item.title === 'string' ? item.title : item.title.value, [], 'submenu');
            this.item = item;
            this._menuService = _menuService;
            this._contextKeyService = _contextKeyService;
            this._options = _options;
        }
        get actions() {
            const result = [];
            const menu = this._menuService.createMenu(this.item.submenu, this._contextKeyService);
            const groups = menu.getActions(this._options);
            menu.dispose();
            for (const [, actions] of groups) {
                if (actions.length > 0) {
                    result.push(...actions);
                    result.push(new _base_common_actions_js__WEBPACK_IMPORTED_MODULE_0__/* .Separator */ .Z0());
                }
            }
            if (result.length) {
                result.pop(); // remove last separator
            }
            return result;
        }
    }
    // implements IAction, does NOT extend Action, so that no one
    // subscribes to events of Action or modified properties
    let MenuItemAction = class MenuItemAction {
        constructor(item, alt, options, contextKeyService, _commandService) {
            var _a, _b;
            this._commandService = _commandService;
            this.id = item.id;
            this.label = (options === null || options === void 0 ? void 0 : options.renderShortTitle) && item.shortTitle
                ? (typeof item.shortTitle === 'string' ? item.shortTitle : item.shortTitle.value)
                : (typeof item.title === 'string' ? item.title : item.title.value);
            this.tooltip = (_b = (typeof item.tooltip === 'string' ? item.tooltip : (_a = item.tooltip) === null || _a === void 0 ? void 0 : _a.value)) !== null && _b !== void 0 ? _b : '';
            this.enabled = !item.precondition || contextKeyService.contextMatchesRules(item.precondition);
            this.checked = undefined;
            if (item.toggled) {
                const toggled = (item.toggled.condition ? item.toggled : { condition: item.toggled });
                this.checked = contextKeyService.contextMatchesRules(toggled.condition);
                if (this.checked && toggled.tooltip) {
                    this.tooltip = typeof toggled.tooltip === 'string' ? toggled.tooltip : toggled.tooltip.value;
                }
                if (toggled.title) {
                    this.label = typeof toggled.title === 'string' ? toggled.title : toggled.title.value;
                }
            }
            this.item = item;
            this.alt = alt ? new MenuItemAction(alt, undefined, options, contextKeyService, _commandService) : undefined;
            this._options = options;
            if (_theme_common_themeService_js__WEBPACK_IMPORTED_MODULE_9__/* .ThemeIcon */ .kS.isThemeIcon(item.icon)) {
                this.class = _base_common_codicons_js__WEBPACK_IMPORTED_MODULE_1__/* .CSSIcon */ .dT.asClassName(item.icon);
            }
        }
        dispose() {
            // there is NOTHING to dispose and the MenuItemAction should
            // never have anything to dispose as it is a convenience type
            // to bridge into the rendering world.
        }
        run(...args) {
            var _a, _b;
            let runArgs = [];
            if ((_a = this._options) === null || _a === void 0 ? void 0 : _a.arg) {
                runArgs = [...runArgs, this._options.arg];
            }
            if ((_b = this._options) === null || _b === void 0 ? void 0 : _b.shouldForwardArgs) {
                runArgs = [...runArgs, ...args];
            }
            return this._commandService.executeCommand(this.id, ...runArgs);
        }
    };
    MenuItemAction = __decorate([
        __param(3, _contextkey_common_contextkey_js__WEBPACK_IMPORTED_MODULE_7__/* .IContextKeyService */ .i6),
        __param(4, _commands_common_commands_js__WEBPACK_IMPORTED_MODULE_6__/* .ICommandService */ .H)
    ], MenuItemAction);
    
    //#endregion
    
    
    /***/ }),
    
    /***/ 35884:
    /*!******************************************************************************************************!*\
      !*** ./node_modules/_monaco-editor@0.30.0@monaco-editor/esm/vs/platform/commands/common/commands.js ***!
      \******************************************************************************************************/
    /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
    
    "use strict";
    /* harmony export */ __webpack_require__.d(__webpack_exports__, {
    /* harmony export */   H: function() { return /* binding */ ICommandService; },
    /* harmony export */   P: function() { return /* binding */ CommandsRegistry; }
    /* harmony export */ });
    /* harmony import */ var _base_common_event_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../base/common/event.js */ 4348);
    /* harmony import */ var _base_common_iterator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../base/common/iterator.js */ 88226);
    /* harmony import */ var _base_common_lifecycle_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../base/common/lifecycle.js */ 69323);
    /* harmony import */ var _base_common_linkedList_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../base/common/linkedList.js */ 34502);
    /* harmony import */ var _base_common_types_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../base/common/types.js */ 72999);
    /* harmony import */ var _instantiation_common_instantiation_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../instantiation/common/instantiation.js */ 16925);
    /*---------------------------------------------------------------------------------------------
     *  Copyright (c) Microsoft Corporation. All rights reserved.
     *  Licensed under the MIT License. See License.txt in the project root for license information.
     *--------------------------------------------------------------------------------------------*/
    
    
    
    
    
    
    const ICommandService = (0,_instantiation_common_instantiation_js__WEBPACK_IMPORTED_MODULE_4__/* .createDecorator */ .yh)('commandService');
    const CommandsRegistry = new class {
        constructor() {
            this._commands = new Map();
            this._onDidRegisterCommand = new _base_common_event_js__WEBPACK_IMPORTED_MODULE_0__/* .Emitter */ .Q5();
            this.onDidRegisterCommand = this._onDidRegisterCommand.event;
        }
        registerCommand(idOrCommand, handler) {
            if (!idOrCommand) {
                throw new Error(`invalid command`);
            }
            if (typeof idOrCommand === 'string') {
                if (!handler) {
                    throw new Error(`invalid command`);
                }
                return this.registerCommand({ id: idOrCommand, handler });
            }
            // add argument validation if rich command metadata is provided
            if (idOrCommand.description) {
                const constraints = [];
                for (let arg of idOrCommand.description.args) {
                    constraints.push(arg.constraint);
                }
                const actualHandler = idOrCommand.handler;
                idOrCommand.handler = function (accessor, ...args) {
                    (0,_base_common_types_js__WEBPACK_IMPORTED_MODULE_5__/* .validateConstraints */ .D8)(args, constraints);
                    return actualHandler(accessor, ...args);
                };
            }
            // find a place to store the command
            const { id } = idOrCommand;
            let commands = this._commands.get(id);
            if (!commands) {
                commands = new _base_common_linkedList_js__WEBPACK_IMPORTED_MODULE_3__/* .LinkedList */ .S();
                this._commands.set(id, commands);
            }
            let removeFn = commands.unshift(idOrCommand);
            let ret = (0,_base_common_lifecycle_js__WEBPACK_IMPORTED_MODULE_2__/* .toDisposable */ .OF)(() => {
                removeFn();
                const command = this._commands.get(id);
                if (command === null || command === void 0 ? void 0 : command.isEmpty()) {
                    this._commands.delete(id);
                }
            });
            // tell the world about this command
            this._onDidRegisterCommand.fire(id);
            return ret;
        }
        registerCommandAlias(oldId, newId) {
            return CommandsRegistry.registerCommand(oldId, (accessor, ...args) => accessor.get(ICommandService).executeCommand(newId, ...args));
        }
        getCommand(id) {
            const list = this._commands.get(id);
            if (!list || list.isEmpty()) {
                return undefined;
            }
            return _base_common_iterator_js__WEBPACK_IMPORTED_MODULE_1__/* .Iterable */ .$.first(list);
        }
        getCommands() {
            const result = new Map();
            for (const key of this._commands.keys()) {
                const command = this.getCommand(key);
                if (command) {
                    result.set(key, command);
                }
            }
            return result;
        }
    };
    CommandsRegistry.registerCommand('noop', () => { });
    
    
    /***/ }),
    
    /***/ 90689:
    /*!**********************************************************************************************************!*\
      !*** ./node_modules/_monaco-editor@0.30.0@monaco-editor/esm/vs/platform/contextkey/common/contextkey.js ***!
      \**********************************************************************************************************/
    /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
    
    "use strict";
    /* harmony export */ __webpack_require__.d(__webpack_exports__, {
    /* harmony export */   Ao: function() { return /* binding */ ContextKeyExpr; },
    /* harmony export */   Eq: function() { return /* binding */ SET_CONTEXT_COMMAND_ID; },
    /* harmony export */   Fb: function() { return /* binding */ expressionsAreEqualWithConstantSubstitution; },
    /* harmony export */   K8: function() { return /* binding */ implies; },
    /* harmony export */   i6: function() { return /* binding */ IContextKeyService; },
    /* harmony export */   uy: function() { return /* binding */ RawContextKey; }
    /* harmony export */ });
    /* unused harmony exports ContextKeyFalseExpr, ContextKeyTrueExpr, ContextKeyDefinedExpr, ContextKeyEqualsExpr, ContextKeyInExpr, ContextKeyNotInExpr, ContextKeyNotEqualsExpr, ContextKeyNotExpr, ContextKeyGreaterExpr, ContextKeyGreaterEqualsExpr, ContextKeySmallerExpr, ContextKeySmallerEqualsExpr, ContextKeyRegexExpr, ContextKeyNotRegexExpr */
    /* harmony import */ var _base_common_platform_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../base/common/platform.js */ 23345);
    /* harmony import */ var _base_common_strings_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../base/common/strings.js */ 82983);
    /* harmony import */ var _instantiation_common_instantiation_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../instantiation/common/instantiation.js */ 16925);
    /*---------------------------------------------------------------------------------------------
     *  Copyright (c) Microsoft Corporation. All rights reserved.
     *  Licensed under the MIT License. See License.txt in the project root for license information.
     *--------------------------------------------------------------------------------------------*/
    
    
    
    let _userAgent = _base_common_platform_js__WEBPACK_IMPORTED_MODULE_0__/* .userAgent */ .WE || '';
    const CONSTANT_VALUES = new Map();
    CONSTANT_VALUES.set('false', false);
    CONSTANT_VALUES.set('true', true);
    CONSTANT_VALUES.set('isMac', _base_common_platform_js__WEBPACK_IMPORTED_MODULE_0__/* .isMacintosh */ .dz);
    CONSTANT_VALUES.set('isLinux', _base_common_platform_js__WEBPACK_IMPORTED_MODULE_0__/* .isLinux */ .IJ);
    CONSTANT_VALUES.set('isWindows', _base_common_platform_js__WEBPACK_IMPORTED_MODULE_0__/* .isWindows */ .ED);
    CONSTANT_VALUES.set('isWeb', _base_common_platform_js__WEBPACK_IMPORTED_MODULE_0__/* .isWeb */ .$L);
    CONSTANT_VALUES.set('isMacNative', _base_common_platform_js__WEBPACK_IMPORTED_MODULE_0__/* .isMacintosh */ .dz && !_base_common_platform_js__WEBPACK_IMPORTED_MODULE_0__/* .isWeb */ .$L);
    CONSTANT_VALUES.set('isEdge', _userAgent.indexOf('Edg/') >= 0);
    CONSTANT_VALUES.set('isFirefox', _userAgent.indexOf('Firefox') >= 0);
    CONSTANT_VALUES.set('isChrome', _userAgent.indexOf('Chrome') >= 0);
    CONSTANT_VALUES.set('isSafari', _userAgent.indexOf('Safari') >= 0);
    const hasOwnProperty = Object.prototype.hasOwnProperty;
    class ContextKeyExpr {
        static has(key) {
            return ContextKeyDefinedExpr.create(key);
        }
        static equals(key, value) {
            return ContextKeyEqualsExpr.create(key, value);
        }
        static regex(key, value) {
            return ContextKeyRegexExpr.create(key, value);
        }
        static not(key) {
            return ContextKeyNotExpr.create(key);
        }
        static and(...expr) {
            return ContextKeyAndExpr.create(expr, null);
        }
        static or(...expr) {
            return ContextKeyOrExpr.create(expr, null, true);
        }
        static deserialize(serialized, strict = false) {
            if (!serialized) {
                return undefined;
            }
            return this._deserializeOrExpression(serialized, strict);
        }
        static _deserializeOrExpression(serialized, strict) {
            let pieces = serialized.split('||');
            return ContextKeyOrExpr.create(pieces.map(p => this._deserializeAndExpression(p, strict)), null, true);
        }
        static _deserializeAndExpression(serialized, strict) {
            let pieces = serialized.split('&&');
            return ContextKeyAndExpr.create(pieces.map(p => this._deserializeOne(p, strict)), null);
        }
        static _deserializeOne(serializedOne, strict) {
            serializedOne = serializedOne.trim();
            if (serializedOne.indexOf('!=') >= 0) {
                let pieces = serializedOne.split('!=');
                return ContextKeyNotEqualsExpr.create(pieces[0].trim(), this._deserializeValue(pieces[1], strict));
            }
            if (serializedOne.indexOf('==') >= 0) {
                let pieces = serializedOne.split('==');
                return ContextKeyEqualsExpr.create(pieces[0].trim(), this._deserializeValue(pieces[1], strict));
            }
            if (serializedOne.indexOf('=~') >= 0) {
                let pieces = serializedOne.split('=~');
                return ContextKeyRegexExpr.create(pieces[0].trim(), this._deserializeRegexValue(pieces[1], strict));
            }
            if (serializedOne.indexOf(' in ') >= 0) {
                let pieces = serializedOne.split(' in ');
                return ContextKeyInExpr.create(pieces[0].trim(), pieces[1].trim());
            }
            if (/^[^<=>]+>=[^<=>]+$/.test(serializedOne)) {
                const pieces = serializedOne.split('>=');
                return ContextKeyGreaterEqualsExpr.create(pieces[0].trim(), pieces[1].trim());
            }
            if (/^[^<=>]+>[^<=>]+$/.test(serializedOne)) {
                const pieces = serializedOne.split('>');
                return ContextKeyGreaterExpr.create(pieces[0].trim(), pieces[1].trim());
            }
            if (/^[^<=>]+<=[^<=>]+$/.test(serializedOne)) {
                const pieces = serializedOne.split('<=');
                return ContextKeySmallerEqualsExpr.create(pieces[0].trim(), pieces[1].trim());
            }
            if (/^[^<=>]+<[^<=>]+$/.test(serializedOne)) {
                const pieces = serializedOne.split('<');
                return ContextKeySmallerExpr.create(pieces[0].trim(), pieces[1].trim());
            }
            if (/^\!\s*/.test(serializedOne)) {
                return ContextKeyNotExpr.create(serializedOne.substr(1).trim());
            }
            return ContextKeyDefinedExpr.create(serializedOne);
        }
        static _deserializeValue(serializedValue, strict) {
            serializedValue = serializedValue.trim();
            if (serializedValue === 'true') {
                return true;
            }
            if (serializedValue === 'false') {
                return false;
            }
            let m = /^'([^']*)'$/.exec(serializedValue);
            if (m) {
                return m[1].trim();
            }
            return serializedValue;
        }
        static _deserializeRegexValue(serializedValue, strict) {
            if ((0,_base_common_strings_js__WEBPACK_IMPORTED_MODULE_1__/* .isFalsyOrWhitespace */ .m5)(serializedValue)) {
                if (strict) {
                    throw new Error('missing regexp-value for =~-expression');
                }
                else {
                    console.warn('missing regexp-value for =~-expression');
                }
                return null;
            }
            let start = serializedValue.indexOf('/');
            let end = serializedValue.lastIndexOf('/');
            if (start === end || start < 0 /* || to < 0 */) {
                if (strict) {
                    throw new Error(`bad regexp-value '${serializedValue}', missing /-enclosure`);
                }
                else {
                    console.warn(`bad regexp-value '${serializedValue}', missing /-enclosure`);
                }
                return null;
            }
            let value = serializedValue.slice(start + 1, end);
            let caseIgnoreFlag = serializedValue[end + 1] === 'i' ? 'i' : '';
            try {
                return new RegExp(value, caseIgnoreFlag);
            }
            catch (e) {
                if (strict) {
                    throw new Error(`bad regexp-value '${serializedValue}', parse error: ${e}`);
                }
                else {
                    console.warn(`bad regexp-value '${serializedValue}', parse error: ${e}`);
                }
                return null;
            }
        }
    }
    function expressionsAreEqualWithConstantSubstitution(a, b) {
        const aExpr = a ? a.substituteConstants() : undefined;
        const bExpr = b ? b.substituteConstants() : undefined;
        if (!aExpr && !bExpr) {
            return true;
        }
        if (!aExpr || !bExpr) {
            return false;
        }
        return aExpr.equals(bExpr);
    }
    function cmp(a, b) {
        return a.cmp(b);
    }
    class ContextKeyFalseExpr {
        constructor() {
            this.type = 0 /* False */;
        }
        cmp(other) {
            return this.type - other.type;
        }
        equals(other) {
            return (other.type === this.type);
        }
        substituteConstants() {
            return this;
        }
        evaluate(context) {
            return false;
        }
        serialize() {
            return 'false';
        }
        keys() {
            return [];
        }
        negate() {
            return ContextKeyTrueExpr.INSTANCE;
        }
    }
    ContextKeyFalseExpr.INSTANCE = new ContextKeyFalseExpr();
    class ContextKeyTrueExpr {
        constructor() {
            this.type = 1 /* True */;
        }
        cmp(other) {
            return this.type - other.type;
        }
        equals(other) {
            return (other.type === this.type);
        }
        substituteConstants() {
            return this;
        }
        evaluate(context) {
            return true;
        }
        serialize() {
            return 'true';
        }
        keys() {
            return [];
        }
        negate() {
            return ContextKeyFalseExpr.INSTANCE;
        }
    }
    ContextKeyTrueExpr.INSTANCE = new ContextKeyTrueExpr();
    class ContextKeyDefinedExpr {
        constructor(key, negated) {
            this.key = key;
            this.negated = negated;
            this.type = 2 /* Defined */;
        }
        static create(key, negated = null) {
            const constantValue = CONSTANT_VALUES.get(key);
            if (typeof constantValue === 'boolean') {
                return constantValue ? ContextKeyTrueExpr.INSTANCE : ContextKeyFalseExpr.INSTANCE;
            }
            return new ContextKeyDefinedExpr(key, negated);
        }
        cmp(other) {
            if (other.type !== this.type) {
                return this.type - other.type;
            }
            return cmp1(this.key, other.key);
        }
        equals(other) {
            if (other.type === this.type) {
                return (this.key === other.key);
            }
            return false;
        }
        substituteConstants() {
            const constantValue = CONSTANT_VALUES.get(this.key);
            if (typeof constantValue === 'boolean') {
                return constantValue ? ContextKeyTrueExpr.INSTANCE : ContextKeyFalseExpr.INSTANCE;
            }
            return this;
        }
        evaluate(context) {
            return (!!context.getValue(this.key));
        }
        serialize() {
            return this.key;
        }
        keys() {
            return [this.key];
        }
        negate() {
            if (!this.negated) {
                this.negated = ContextKeyNotExpr.create(this.key, this);
            }
            return this.negated;
        }
    }
    class ContextKeyEqualsExpr {
        constructor(key, value, negated) {
            this.key = key;
            this.value = value;
            this.negated = negated;
            this.type = 4 /* Equals */;
        }
        static create(key, value, negated = null) {
            if (typeof value === 'boolean') {
                return (value ? ContextKeyDefinedExpr.create(key, negated) : ContextKeyNotExpr.create(key, negated));
            }
            const constantValue = CONSTANT_VALUES.get(key);
            if (typeof constantValue === 'boolean') {
                const trueValue = constantValue ? 'true' : 'false';
                return (value === trueValue ? ContextKeyTrueExpr.INSTANCE : ContextKeyFalseExpr.INSTANCE);
            }
            return new ContextKeyEqualsExpr(key, value, negated);
        }
        cmp(other) {
            if (other.type !== this.type) {
                return this.type - other.type;
            }
            return cmp2(this.key, this.value, other.key, other.value);
        }
        equals(other) {
            if (other.type === this.type) {
                return (this.key === other.key && this.value === other.value);
            }
            return false;
        }
        substituteConstants() {
            const constantValue = CONSTANT_VALUES.get(this.key);
            if (typeof constantValue === 'boolean') {
                const trueValue = constantValue ? 'true' : 'false';
                return (this.value === trueValue ? ContextKeyTrueExpr.INSTANCE : ContextKeyFalseExpr.INSTANCE);
            }
            return this;
        }
        evaluate(context) {
            // Intentional ==
            // eslint-disable-next-line eqeqeq
            return (context.getValue(this.key) == this.value);
        }
        serialize() {
            return `${this.key} == '${this.value}'`;
        }
        keys() {
            return [this.key];
        }
        negate() {
            if (!this.negated) {
                this.negated = ContextKeyNotEqualsExpr.create(this.key, this.value, this);
            }
            return this.negated;
        }
    }
    class ContextKeyInExpr {
        constructor(key, valueKey) {
            this.key = key;
            this.valueKey = valueKey;
            this.type = 10 /* In */;
            this.negated = null;
        }
        static create(key, valueKey) {
            return new ContextKeyInExpr(key, valueKey);
        }
        cmp(other) {
            if (other.type !== this.type) {
                return this.type - other.type;
            }
            return cmp2(this.key, this.valueKey, other.key, other.valueKey);
        }
        equals(other) {
            if (other.type === this.type) {
                return (this.key === other.key && this.valueKey === other.valueKey);
            }
            return false;
        }
        substituteConstants() {
            return this;
        }
        evaluate(context) {
            const source = context.getValue(this.valueKey);
            const item = context.getValue(this.key);
            if (Array.isArray(source)) {
                return (source.indexOf(item) >= 0);
            }
            if (typeof item === 'string' && typeof source === 'object' && source !== null) {
                return hasOwnProperty.call(source, item);
            }
            return false;
        }
        serialize() {
            return `${this.key} in '${this.valueKey}'`;
        }
        keys() {
            return [this.key, this.valueKey];
        }
        negate() {
            if (!this.negated) {
                this.negated = ContextKeyNotInExpr.create(this);
            }
            return this.negated;
        }
    }
    class ContextKeyNotInExpr {
        constructor(_actual) {
            this._actual = _actual;
            this.type = 11 /* NotIn */;
            //
        }
        static create(actual) {
            return new ContextKeyNotInExpr(actual);
        }
        cmp(other) {
            if (other.type !== this.type) {
                return this.type - other.type;
            }
            return this._actual.cmp(other._actual);
        }
        equals(other) {
            if (other.type === this.type) {
                return this._actual.equals(other._actual);
            }
            return false;
        }
        substituteConstants() {
            return this;
        }
        evaluate(context) {
            return !this._actual.evaluate(context);
        }
        serialize() {
            throw new Error('Method not implemented.');
        }
        keys() {
            return this._actual.keys();
        }
        negate() {
            return this._actual;
        }
    }
    class ContextKeyNotEqualsExpr {
        constructor(key, value, negated) {
            this.key = key;
            this.value = value;
            this.negated = negated;
            this.type = 5 /* NotEquals */;
        }
        static create(key, value, negated = null) {
            if (typeof value === 'boolean') {
                if (value) {
                    return ContextKeyNotExpr.create(key, negated);
                }
                return ContextKeyDefinedExpr.create(key, negated);
            }
            const constantValue = CONSTANT_VALUES.get(key);
            if (typeof constantValue === 'boolean') {
                const falseValue = constantValue ? 'true' : 'false';
                return (value === falseValue ? ContextKeyFalseExpr.INSTANCE : ContextKeyTrueExpr.INSTANCE);
            }
            return new ContextKeyNotEqualsExpr(key, value, negated);
        }
        cmp(other) {
            if (other.type !== this.type) {
                return this.type - other.type;
            }
            return cmp2(this.key, this.value, other.key, other.value);
        }
        equals(other) {
            if (other.type === this.type) {
                return (this.key === other.key && this.value === other.value);
            }
            return false;
        }
        substituteConstants() {
            const constantValue = CONSTANT_VALUES.get(this.key);
            if (typeof constantValue === 'boolean') {
                const falseValue = constantValue ? 'true' : 'false';
                return (this.value === falseValue ? ContextKeyFalseExpr.INSTANCE : ContextKeyTrueExpr.INSTANCE);
            }
            return this;
        }
        evaluate(context) {
            // Intentional !=
            // eslint-disable-next-line eqeqeq
            return (context.getValue(this.key) != this.value);
        }
        serialize() {
            return `${this.key} != '${this.value}'`;
        }
        keys() {
            return [this.key];
        }
        negate() {
            if (!this.negated) {
                this.negated = ContextKeyEqualsExpr.create(this.key, this.value, this);
            }
            return this.negated;
        }
    }
    class ContextKeyNotExpr {
        constructor(key, negated) {
            this.key = key;
            this.negated = negated;
            this.type = 3 /* Not */;
        }
        static create(key, negated = null) {
            const constantValue = CONSTANT_VALUES.get(key);
            if (typeof constantValue === 'boolean') {
                return (constantValue ? ContextKeyFalseExpr.INSTANCE : ContextKeyTrueExpr.INSTANCE);
            }
            return new ContextKeyNotExpr(key, negated);
        }
        cmp(other) {
            if (other.type !== this.type) {
                return this.type - other.type;
            }
            return cmp1(this.key, other.key);
        }
        equals(other) {
            if (other.type === this.type) {
                return (this.key === other.key);
            }
            return false;
        }
        substituteConstants() {
            const constantValue = CONSTANT_VALUES.get(this.key);
            if (typeof constantValue === 'boolean') {
                return (constantValue ? ContextKeyFalseExpr.INSTANCE : ContextKeyTrueExpr.INSTANCE);
            }
            return this;
        }
        evaluate(context) {
            return (!context.getValue(this.key));
        }
        serialize() {
            return `!${this.key}`;
        }
        keys() {
            return [this.key];
        }
        negate() {
            if (!this.negated) {
                this.negated = ContextKeyDefinedExpr.create(this.key, this);
            }
            return this.negated;
        }
    }
    function withFloatOrStr(value, callback) {
        if (typeof value === 'string') {
            const n = parseFloat(value);
            if (!isNaN(n)) {
                value = n;
            }
        }
        if (typeof value === 'string' || typeof value === 'number') {
            return callback(value);
        }
        return ContextKeyFalseExpr.INSTANCE;
    }
    class ContextKeyGreaterExpr {
        constructor(key, value, negated) {
            this.key = key;
            this.value = value;
            this.negated = negated;
            this.type = 12 /* Greater */;
        }
        static create(key, _value, negated = null) {
            return withFloatOrStr(_value, (value) => new ContextKeyGreaterExpr(key, value, negated));
        }
        cmp(other) {
            if (other.type !== this.type) {
                return this.type - other.type;
            }
            return cmp2(this.key, this.value, other.key, other.value);
        }
        equals(other) {
            if (other.type === this.type) {
                return (this.key === other.key && this.value === other.value);
            }
            return false;
        }
        substituteConstants() {
            return this;
        }
        evaluate(context) {
            if (typeof this.value === 'string') {
                return false;
            }
            return (parseFloat(context.getValue(this.key)) > this.value);
        }
        serialize() {
            return `${this.key} > ${this.value}`;
        }
        keys() {
            return [this.key];
        }
        negate() {
            if (!this.negated) {
                this.negated = ContextKeySmallerEqualsExpr.create(this.key, this.value, this);
            }
            return this.negated;
        }
    }
    class ContextKeyGreaterEqualsExpr {
        constructor(key, value, negated) {
            this.key = key;
            this.value = value;
            this.negated = negated;
            this.type = 13 /* GreaterEquals */;
        }
        static create(key, _value, negated = null) {
            return withFloatOrStr(_value, (value) => new ContextKeyGreaterEqualsExpr(key, value, negated));
        }
        cmp(other) {
            if (other.type !== this.type) {
                return this.type - other.type;
            }
            return cmp2(this.key, this.value, other.key, other.value);
        }
        equals(other) {
            if (other.type === this.type) {
                return (this.key === other.key && this.value === other.value);
            }
            return false;
        }
        substituteConstants() {
            return this;
        }
        evaluate(context) {
            if (typeof this.value === 'string') {
                return false;
            }
            return (parseFloat(context.getValue(this.key)) >= this.value);
        }
        serialize() {
            return `${this.key} >= ${this.value}`;
        }
        keys() {
            return [this.key];
        }
        negate() {
            if (!this.negated) {
                this.negated = ContextKeySmallerExpr.create(this.key, this.value, this);
            }
            return this.negated;
        }
    }
    class ContextKeySmallerExpr {
        constructor(key, value, negated) {
            this.key = key;
            this.value = value;
            this.negated = negated;
            this.type = 14 /* Smaller */;
        }
        static create(key, _value, negated = null) {
            return withFloatOrStr(_value, (value) => new ContextKeySmallerExpr(key, value, negated));
        }
        cmp(other) {
            if (other.type !== this.type) {
                return this.type - other.type;
            }
            return cmp2(this.key, this.value, other.key, other.value);
        }
        equals(other) {
            if (other.type === this.type) {
                return (this.key === other.key && this.value === other.value);
            }
            return false;
        }
        substituteConstants() {
            return this;
        }
        evaluate(context) {
            if (typeof this.value === 'string') {
                return false;
            }
            return (parseFloat(context.getValue(this.key)) < this.value);
        }
        serialize() {
            return `${this.key} < ${this.value}`;
        }
        keys() {
            return [this.key];
        }
        negate() {
            if (!this.negated) {
                this.negated = ContextKeyGreaterEqualsExpr.create(this.key, this.value, this);
            }
            return this.negated;
        }
    }
    class ContextKeySmallerEqualsExpr {
        constructor(key, value, negated) {
            this.key = key;
            this.value = value;
            this.negated = negated;
            this.type = 15 /* SmallerEquals */;
        }
        static create(key, _value, negated = null) {
            return withFloatOrStr(_value, (value) => new ContextKeySmallerEqualsExpr(key, value, negated));
        }
        cmp(other) {
            if (other.type !== this.type) {
                return this.type - other.type;
            }
            return cmp2(this.key, this.value, other.key, other.value);
        }
        equals(other) {
            if (other.type === this.type) {
                return (this.key === other.key && this.value === other.value);
            }
            return false;
        }
        substituteConstants() {
            return this;
        }
        evaluate(context) {
            if (typeof this.value === 'string') {
                return false;
            }
            return (parseFloat(context.getValue(this.key)) <= this.value);
        }
        serialize() {
            return `${this.key} <= ${this.value}`;
        }
        keys() {
            return [this.key];
        }
        negate() {
            if (!this.negated) {
                this.negated = ContextKeyGreaterExpr.create(this.key, this.value, this);
            }
            return this.negated;
        }
    }
    class ContextKeyRegexExpr {
        constructor(key, regexp) {
            this.key = key;
            this.regexp = regexp;
            this.type = 7 /* Regex */;
            this.negated = null;
            //
        }
        static create(key, regexp) {
            return new ContextKeyRegexExpr(key, regexp);
        }
        cmp(other) {
            if (other.type !== this.type) {
                return this.type - other.type;
            }
            if (this.key < other.key) {
                return -1;
            }
            if (this.key > other.key) {
                return 1;
            }
            const thisSource = this.regexp ? this.regexp.source : '';
            const otherSource = other.regexp ? other.regexp.source : '';
            if (thisSource < otherSource) {
                return -1;
            }
            if (thisSource > otherSource) {
                return 1;
            }
            return 0;
        }
        equals(other) {
            if (other.type === this.type) {
                const thisSource = this.regexp ? this.regexp.source : '';
                const otherSource = other.regexp ? other.regexp.source : '';
                return (this.key === other.key && thisSource === otherSource);
            }
            return false;
        }
        substituteConstants() {
            return this;
        }
        evaluate(context) {
            let value = context.getValue(this.key);
            return this.regexp ? this.regexp.test(value) : false;
        }
        serialize() {
            const value = this.regexp
                ? `/${this.regexp.source}/${this.regexp.ignoreCase ? 'i' : ''}`
                : '/invalid/';
            return `${this.key} =~ ${value}`;
        }
        keys() {
            return [this.key];
        }
        negate() {
            if (!this.negated) {
                this.negated = ContextKeyNotRegexExpr.create(this);
            }
            return this.negated;
        }
    }
    class ContextKeyNotRegexExpr {
        constructor(_actual) {
            this._actual = _actual;
            this.type = 8 /* NotRegex */;
            //
        }
        static create(actual) {
            return new ContextKeyNotRegexExpr(actual);
        }
        cmp(other) {
            if (other.type !== this.type) {
                return this.type - other.type;
            }
            return this._actual.cmp(other._actual);
        }
        equals(other) {
            if (other.type === this.type) {
                return this._actual.equals(other._actual);
            }
            return false;
        }
        substituteConstants() {
            return this;
        }
        evaluate(context) {
            return !this._actual.evaluate(context);
        }
        serialize() {
            throw new Error('Method not implemented.');
        }
        keys() {
            return this._actual.keys();
        }
        negate() {
            return this._actual;
        }
    }
    /**
     * @returns the same instance if nothing changed.
     */
    function eliminateConstantsInArray(arr) {
        // Allocate array only if there is a difference
        let newArr = null;
        for (let i = 0, len = arr.length; i < len; i++) {
            const newExpr = arr[i].substituteConstants();
            if (arr[i] !== newExpr) {
                // something has changed!
                // allocate array on first difference
                if (newArr === null) {
                    newArr = [];
                    for (let j = 0; j < i; j++) {
                        newArr[j] = arr[j];
                    }
                }
            }
            if (newArr !== null) {
                newArr[i] = newExpr;
            }
        }
        if (newArr === null) {
            return arr;
        }
        return newArr;
    }
    class ContextKeyAndExpr {
        constructor(expr, negated) {
            this.expr = expr;
            this.negated = negated;
            this.type = 6 /* And */;
        }
        static create(_expr, negated) {
            return ContextKeyAndExpr._normalizeArr(_expr, negated);
        }
        cmp(other) {
            if (other.type !== this.type) {
                return this.type - other.type;
            }
            if (this.expr.length < other.expr.length) {
                return -1;
            }
            if (this.expr.length > other.expr.length) {
                return 1;
            }
            for (let i = 0, len = this.expr.length; i < len; i++) {
                const r = cmp(this.expr[i], other.expr[i]);
                if (r !== 0) {
                    return r;
                }
            }
            return 0;
        }
        equals(other) {
            if (other.type === this.type) {
                if (this.expr.length !== other.expr.length) {
                    return false;
                }
                for (let i = 0, len = this.expr.length; i < len; i++) {
                    if (!this.expr[i].equals(other.expr[i])) {
                        return false;
                    }
                }
                return true;
            }
            return false;
        }
        substituteConstants() {
            const exprArr = eliminateConstantsInArray(this.expr);
            if (exprArr === this.expr) {
                // no change
                return this;
            }
            return ContextKeyAndExpr.create(exprArr, this.negated);
        }
        evaluate(context) {
            for (let i = 0, len = this.expr.length; i < len; i++) {
                if (!this.expr[i].evaluate(context)) {
                    return false;
                }
            }
            return true;
        }
        static _normalizeArr(arr, negated) {
            const expr = [];
            let hasTrue = false;
            for (const e of arr) {
                if (!e) {
                    continue;
                }
                if (e.type === 1 /* True */) {
                    // anything && true ==> anything
                    hasTrue = true;
                    continue;
                }
                if (e.type === 0 /* False */) {
                    // anything && false ==> false
                    return ContextKeyFalseExpr.INSTANCE;
                }
                if (e.type === 6 /* And */) {
                    expr.push(...e.expr);
                    continue;
                }
                expr.push(e);
            }
            if (expr.length === 0 && hasTrue) {
                return ContextKeyTrueExpr.INSTANCE;
            }
            if (expr.length === 0) {
                return undefined;
            }
            if (expr.length === 1) {
                return expr[0];
            }
            expr.sort(cmp);
            // eliminate duplicate terms
            for (let i = 1; i < expr.length; i++) {
                if (expr[i - 1].equals(expr[i])) {
                    expr.splice(i, 1);
                    i--;
                }
            }
            if (expr.length === 1) {
                return expr[0];
            }
            // We must distribute any OR expression because we don't support parens
            // OR extensions will be at the end (due to sorting rules)
            while (expr.length > 1) {
                const lastElement = expr[expr.length - 1];
                if (lastElement.type !== 9 /* Or */) {
                    break;
                }
                // pop the last element
                expr.pop();
                // pop the second to last element
                const secondToLastElement = expr.pop();
                const isFinished = (expr.length === 0);
                // distribute `lastElement` over `secondToLastElement`
                const resultElement = ContextKeyOrExpr.create(lastElement.expr.map(el => ContextKeyAndExpr.create([el, secondToLastElement], null)), null, isFinished);
                if (resultElement) {
                    expr.push(resultElement);
                    expr.sort(cmp);
                }
            }
            if (expr.length === 1) {
                return expr[0];
            }
            return new ContextKeyAndExpr(expr, negated);
        }
        serialize() {
            return this.expr.map(e => e.serialize()).join(' && ');
        }
        keys() {
            const result = [];
            for (let expr of this.expr) {
                result.push(...expr.keys());
            }
            return result;
        }
        negate() {
            if (!this.negated) {
                const result = [];
                for (let expr of this.expr) {
                    result.push(expr.negate());
                }
                this.negated = ContextKeyOrExpr.create(result, this, true);
            }
            return this.negated;
        }
    }
    class ContextKeyOrExpr {
        constructor(expr, negated) {
            this.expr = expr;
            this.negated = negated;
            this.type = 9 /* Or */;
        }
        static create(_expr, negated, extraRedundantCheck) {
            return ContextKeyOrExpr._normalizeArr(_expr, negated, extraRedundantCheck);
        }
        cmp(other) {
            if (other.type !== this.type) {
                return this.type - other.type;
            }
            if (this.expr.length < other.expr.length) {
                return -1;
            }
            if (this.expr.length > other.expr.length) {
                return 1;
            }
            for (let i = 0, len = this.expr.length; i < len; i++) {
                const r = cmp(this.expr[i], other.expr[i]);
                if (r !== 0) {
                    return r;
                }
            }
            return 0;
        }
        equals(other) {
            if (other.type === this.type) {
                if (this.expr.length !== other.expr.length) {
                    return false;
                }
                for (let i = 0, len = this.expr.length; i < len; i++) {
                    if (!this.expr[i].equals(other.expr[i])) {
                        return false;
                    }
                }
                return true;
            }
            return false;
        }
        substituteConstants() {
            const exprArr = eliminateConstantsInArray(this.expr);
            if (exprArr === this.expr) {
                // no change
                return this;
            }
            return ContextKeyOrExpr.create(exprArr, this.negated, false);
        }
        evaluate(context) {
            for (let i = 0, len = this.expr.length; i < len; i++) {
                if (this.expr[i].evaluate(context)) {
                    return true;
                }
            }
            return false;
        }
        static _normalizeArr(arr, negated, extraRedundantCheck) {
            let expr = [];
            let hasFalse = false;
            if (arr) {
                for (let i = 0, len = arr.length; i < len; i++) {
                    const e = arr[i];
                    if (!e) {
                        continue;
                    }
                    if (e.type === 0 /* False */) {
                        // anything || false ==> anything
                        hasFalse = true;
                        continue;
                    }
                    if (e.type === 1 /* True */) {
                        // anything || true ==> true
                        return ContextKeyTrueExpr.INSTANCE;
                    }
                    if (e.type === 9 /* Or */) {
                        expr = expr.concat(e.expr);
                        continue;
                    }
                    expr.push(e);
                }
                if (expr.length === 0 && hasFalse) {
                    return ContextKeyFalseExpr.INSTANCE;
                }
                expr.sort(cmp);
            }
            if (expr.length === 0) {
                return undefined;
            }
            if (expr.length === 1) {
                return expr[0];
            }
            // eliminate duplicate terms
            for (let i = 1; i < expr.length; i++) {
                if (expr[i - 1].equals(expr[i])) {
                    expr.splice(i, 1);
                    i--;
                }
            }
            if (expr.length === 1) {
                return expr[0];
            }
            // eliminate redundant terms
            if (extraRedundantCheck) {
                for (let i = 0; i < expr.length; i++) {
                    for (let j = i + 1; j < expr.length; j++) {
                        if (implies(expr[i], expr[j])) {
                            expr.splice(j, 1);
                            j--;
                        }
                    }
                }
                if (expr.length === 1) {
                    return expr[0];
                }
            }
            return new ContextKeyOrExpr(expr, negated);
        }
        serialize() {
            return this.expr.map(e => e.serialize()).join(' || ');
        }
        keys() {
            const result = [];
            for (let expr of this.expr) {
                result.push(...expr.keys());
            }
            return result;
        }
        negate() {
            if (!this.negated) {
                let result = [];
                for (let expr of this.expr) {
                    result.push(expr.negate());
                }
                // We don't support parens, so here we distribute the AND over the OR terminals
                // We always take the first 2 AND pairs and distribute them
                while (result.length > 1) {
                    const LEFT = result.shift();
                    const RIGHT = result.shift();
                    const all = [];
                    for (const left of getTerminals(LEFT)) {
                        for (const right of getTerminals(RIGHT)) {
                            all.push(ContextKeyAndExpr.create([left, right], null));
                        }
                    }
                    const isFinished = (result.length === 0);
                    result.unshift(ContextKeyOrExpr.create(all, null, isFinished));
                }
                this.negated = result[0];
            }
            return this.negated;
        }
    }
    class RawContextKey extends ContextKeyDefinedExpr {
        constructor(key, defaultValue, metaOrHide) {
            super(key, null);
            this._defaultValue = defaultValue;
            // collect all context keys into a central place
            if (typeof metaOrHide === 'object') {
                RawContextKey._info.push(Object.assign(Object.assign({}, metaOrHide), { key }));
            }
            else if (metaOrHide !== true) {
                RawContextKey._info.push({ key, description: metaOrHide, type: defaultValue !== null && defaultValue !== undefined ? typeof defaultValue : undefined });
            }
        }
        static all() {
            return RawContextKey._info.values();
        }
        bindTo(target) {
            return target.createKey(this.key, this._defaultValue);
        }
        getValue(target) {
            return target.getContextKeyValue(this.key);
        }
        toNegated() {
            return this.negate();
        }
        isEqualTo(value) {
            return ContextKeyEqualsExpr.create(this.key, value);
        }
    }
    RawContextKey._info = [];
    const IContextKeyService = (0,_instantiation_common_instantiation_js__WEBPACK_IMPORTED_MODULE_2__/* .createDecorator */ .yh)('contextKeyService');
    const SET_CONTEXT_COMMAND_ID = 'setContext';
    function cmp1(key1, key2) {
        if (key1 < key2) {
            return -1;
        }
        if (key1 > key2) {
            return 1;
        }
        return 0;
    }
    function cmp2(key1, value1, key2, value2) {
        if (key1 < key2) {
            return -1;
        }
        if (key1 > key2) {
            return 1;
        }
        if (value1 < value2) {
            return -1;
        }
        if (value1 > value2) {
            return 1;
        }
        return 0;
    }
    /**
     * Returns true if it is provable `p` implies `q`.
     */
    function implies(p, q) {
        if (q.type === 6 /* And */ && (p.type !== 9 /* Or */ && p.type !== 6 /* And */)) {
            // covers the case: A implies A && B
            for (const qTerm of q.expr) {
                if (p.equals(qTerm)) {
                    return true;
                }
            }
        }
        const notP = p.negate();
        const expr = getTerminals(notP).concat(getTerminals(q));
        expr.sort(cmp);
        for (let i = 0; i < expr.length; i++) {
            const a = expr[i];
            const notA = a.negate();
            for (let j = i + 1; j < expr.length; j++) {
                const b = expr[j];
                if (notA.equals(b)) {
                    return true;
                }
            }
        }
        return false;
    }
    function getTerminals(node) {
        if (node.type === 9 /* Or */) {
            return node.expr;
        }
        return [node];
    }
    
    
    /***/ }),
    
    /***/ 16925:
    /*!****************************************************************************************************************!*\
      !*** ./node_modules/_monaco-editor@0.30.0@monaco-editor/esm/vs/platform/instantiation/common/instantiation.js ***!
      \****************************************************************************************************************/
    /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
    
    "use strict";
    /* harmony export */ __webpack_require__.d(__webpack_exports__, {
    /* harmony export */   I8: function() { return /* binding */ _util; },
    /* harmony export */   TG: function() { return /* binding */ IInstantiationService; },
    /* harmony export */   jt: function() { return /* binding */ optional; },
    /* harmony export */   yh: function() { return /* binding */ createDecorator; }
    /* harmony export */ });
    /*---------------------------------------------------------------------------------------------
     *  Copyright (c) Microsoft Corporation. All rights reserved.
     *  Licensed under the MIT License. See License.txt in the project root for license information.
     *--------------------------------------------------------------------------------------------*/
    // ------ internal util
    var _util;
    (function (_util) {
        _util.serviceIds = new Map();
        _util.DI_TARGET = '$di$target';
        _util.DI_DEPENDENCIES = '$di$dependencies';
        function getServiceDependencies(ctor) {
            return ctor[_util.DI_DEPENDENCIES] || [];
        }
        _util.getServiceDependencies = getServiceDependencies;
    })(_util || (_util = {}));
    const IInstantiationService = createDecorator('instantiationService');
    function storeServiceDependency(id, target, index, optional) {
        if (target[_util.DI_TARGET] === target) {
            target[_util.DI_DEPENDENCIES].push({ id, index, optional });
        }
        else {
            target[_util.DI_DEPENDENCIES] = [{ id, index, optional }];
            target[_util.DI_TARGET] = target;
        }
    }
    /**
     * The *only* valid way to create a {{ServiceIdentifier}}.
     */
    function createDecorator(serviceId) {
        if (_util.serviceIds.has(serviceId)) {
            return _util.serviceIds.get(serviceId);
        }
        const id = function (target, key, index) {
            if (arguments.length !== 3) {
                throw new Error('@IServiceName-decorator can only be used to decorate a parameter');
            }
            storeServiceDependency(id, target, index, false);
        };
        id.toString = () => serviceId;
        _util.serviceIds.set(serviceId, id);
        return id;
    }
    /**
     * Mark a service dependency as optional.
     * @deprecated Avoid, see https://github.com/microsoft/vscode/issues/119440
     */
    function optional(serviceIdentifier) {
        return function (target, key, index) {
            if (arguments.length !== 3) {
                throw new Error('@optional-decorator can only be used to decorate a parameter');
            }
            storeServiceDependency(serviceIdentifier, target, index, true);
        };
    }
    
    
    /***/ }),
    
    /***/ 44650:
    /*!******************************************************************************************************!*\
      !*** ./node_modules/_monaco-editor@0.30.0@monaco-editor/esm/vs/platform/registry/common/platform.js ***!
      \******************************************************************************************************/
    /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
    
    "use strict";
    /* harmony export */ __webpack_require__.d(__webpack_exports__, {
    /* harmony export */   B: function() { return /* binding */ Registry; }
    /* harmony export */ });
    /* harmony import */ var _base_common_assert_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../base/common/assert.js */ 76068);
    /* harmony import */ var _base_common_types_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../base/common/types.js */ 72999);
    /*---------------------------------------------------------------------------------------------
     *  Copyright (c) Microsoft Corporation. All rights reserved.
     *  Licensed under the MIT License. See License.txt in the project root for license information.
     *--------------------------------------------------------------------------------------------*/
    
    
    class RegistryImpl {
        constructor() {
            this.data = new Map();
        }
        add(id, data) {
            _base_common_assert_js__WEBPACK_IMPORTED_MODULE_0__.ok(_base_common_types_js__WEBPACK_IMPORTED_MODULE_1__/* .isString */ .HD(id));
            _base_common_assert_js__WEBPACK_IMPORTED_MODULE_0__.ok(_base_common_types_js__WEBPACK_IMPORTED_MODULE_1__/* .isObject */ .Kn(data));
            _base_common_assert_js__WEBPACK_IMPORTED_MODULE_0__.ok(!this.data.has(id), 'There is already an extension with this id');
            this.data.set(id, data);
        }
        as(id) {
            return this.data.get(id) || null;
        }
    }
    const Registry = new RegistryImpl();
    
    
    /***/ }),
    
    /***/ 66213:
    /*!************************************************************************************************!*\
      !*** ./node_modules/_monaco-editor@0.30.0@monaco-editor/esm/vs/platform/theme/common/theme.js ***!
      \************************************************************************************************/
    /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
    
    "use strict";
    /* harmony export */ __webpack_require__.d(__webpack_exports__, {
    /* harmony export */   e: function() { return /* binding */ ColorScheme; }
    /* harmony export */ });
    /*---------------------------------------------------------------------------------------------
     *  Copyright (c) Microsoft Corporation. All rights reserved.
     *  Licensed under the MIT License. See License.txt in the project root for license information.
     *--------------------------------------------------------------------------------------------*/
    /**
     * Color scheme used by the OS and by color themes.
     */
    var ColorScheme;
    (function (ColorScheme) {
        ColorScheme["DARK"] = "dark";
        ColorScheme["LIGHT"] = "light";
        ColorScheme["HIGH_CONTRAST"] = "hc";
    })(ColorScheme || (ColorScheme = {}));
    
    
    /***/ }),
    
    /***/ 49055:
    /*!*******************************************************************************************************!*\
      !*** ./node_modules/_monaco-editor@0.30.0@monaco-editor/esm/vs/platform/theme/common/themeService.js ***!
      \*******************************************************************************************************/
    /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
    
    "use strict";
    /* harmony export */ __webpack_require__.d(__webpack_exports__, {
    /* harmony export */   EN: function() { return /* binding */ themeColorFromId; },
    /* harmony export */   IP: function() { return /* binding */ Extensions; },
    /* harmony export */   Ic: function() { return /* binding */ registerThemingParticipant; },
    /* harmony export */   XE: function() { return /* binding */ IThemeService; },
    /* harmony export */   bB: function() { return /* binding */ Themable; },
    /* harmony export */   kS: function() { return /* binding */ ThemeIcon; },
    /* harmony export */   m6: function() { return /* binding */ getThemeTypeSelector; }
    /* harmony export */ });
    /* unused harmony export ThemeColor */
    /* harmony import */ var _base_common_codicons_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../base/common/codicons.js */ 52615);
    /* harmony import */ var _base_common_event_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../base/common/event.js */ 4348);
    /* harmony import */ var _base_common_lifecycle_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../base/common/lifecycle.js */ 69323);
    /* harmony import */ var _instantiation_common_instantiation_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../instantiation/common/instantiation.js */ 16925);
    /* harmony import */ var _registry_common_platform_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../registry/common/platform.js */ 44650);
    /* harmony import */ var _theme_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./theme.js */ 66213);
    /*---------------------------------------------------------------------------------------------
     *  Copyright (c) Microsoft Corporation. All rights reserved.
     *  Licensed under the MIT License. See License.txt in the project root for license information.
     *--------------------------------------------------------------------------------------------*/
    
    
    
    
    
    
    const IThemeService = (0,_instantiation_common_instantiation_js__WEBPACK_IMPORTED_MODULE_3__/* .createDecorator */ .yh)('themeService');
    var ThemeColor;
    (function (ThemeColor) {
        function isThemeColor(obj) {
            return obj && typeof obj === 'object' && typeof obj.id === 'string';
        }
        ThemeColor.isThemeColor = isThemeColor;
    })(ThemeColor || (ThemeColor = {}));
    function themeColorFromId(id) {
        return { id };
    }
    var ThemeIcon;
    (function (ThemeIcon) {
        function isThemeIcon(obj) {
            return obj && typeof obj === 'object' && typeof obj.id === 'string' && (typeof obj.color === 'undefined' || ThemeColor.isThemeColor(obj.color));
        }
        ThemeIcon.isThemeIcon = isThemeIcon;
        const _regexFromString = new RegExp(`^\\$\\((${_base_common_codicons_js__WEBPACK_IMPORTED_MODULE_0__/* .CSSIcon */ .dT.iconNameExpression}(?:${_base_common_codicons_js__WEBPACK_IMPORTED_MODULE_0__/* .CSSIcon */ .dT.iconModifierExpression})?)\\)$`);
        function fromString(str) {
            const match = _regexFromString.exec(str);
            if (!match) {
                return undefined;
            }
            let [, name] = match;
            return { id: name };
        }
        ThemeIcon.fromString = fromString;
        function modify(icon, modifier) {
            let id = icon.id;
            const tildeIndex = id.lastIndexOf('~');
            if (tildeIndex !== -1) {
                id = id.substring(0, tildeIndex);
            }
            if (modifier) {
                id = `${id}~${modifier}`;
            }
            return { id };
        }
        ThemeIcon.modify = modify;
        function isEqual(ti1, ti2) {
            var _a, _b;
            return ti1.id === ti2.id && ((_a = ti1.color) === null || _a === void 0 ? void 0 : _a.id) === ((_b = ti2.color) === null || _b === void 0 ? void 0 : _b.id);
        }
        ThemeIcon.isEqual = isEqual;
        function asThemeIcon(codicon, color) {
            return { id: codicon.id, color: color ? themeColorFromId(color) : undefined };
        }
        ThemeIcon.asThemeIcon = asThemeIcon;
        ThemeIcon.asClassNameArray = _base_common_codicons_js__WEBPACK_IMPORTED_MODULE_0__/* .CSSIcon */ .dT.asClassNameArray;
        ThemeIcon.asClassName = _base_common_codicons_js__WEBPACK_IMPORTED_MODULE_0__/* .CSSIcon */ .dT.asClassName;
        ThemeIcon.asCSSSelector = _base_common_codicons_js__WEBPACK_IMPORTED_MODULE_0__/* .CSSIcon */ .dT.asCSSSelector;
    })(ThemeIcon || (ThemeIcon = {}));
    function getThemeTypeSelector(type) {
        switch (type) {
            case _theme_js__WEBPACK_IMPORTED_MODULE_5__/* .ColorScheme */ .e.DARK: return 'vs-dark';
            case _theme_js__WEBPACK_IMPORTED_MODULE_5__/* .ColorScheme */ .e.HIGH_CONTRAST: return 'hc-black';
            default: return 'vs';
        }
    }
    // static theming participant
    const Extensions = {
        ThemingContribution: 'base.contributions.theming'
    };
    class ThemingRegistry {
        constructor() {
            this.themingParticipants = [];
            this.themingParticipants = [];
            this.onThemingParticipantAddedEmitter = new _base_common_event_js__WEBPACK_IMPORTED_MODULE_1__/* .Emitter */ .Q5();
        }
        onColorThemeChange(participant) {
            this.themingParticipants.push(participant);
            this.onThemingParticipantAddedEmitter.fire(participant);
            return (0,_base_common_lifecycle_js__WEBPACK_IMPORTED_MODULE_2__/* .toDisposable */ .OF)(() => {
                const idx = this.themingParticipants.indexOf(participant);
                this.themingParticipants.splice(idx, 1);
            });
        }
        getThemingParticipants() {
            return this.themingParticipants;
        }
    }
    let themingRegistry = new ThemingRegistry();
    _registry_common_platform_js__WEBPACK_IMPORTED_MODULE_4__/* .Registry */ .B.add(Extensions.ThemingContribution, themingRegistry);
    function registerThemingParticipant(participant) {
        return themingRegistry.onColorThemeChange(participant);
    }
    /**
     * Utility base class for all themable components.
     */
    class Themable extends _base_common_lifecycle_js__WEBPACK_IMPORTED_MODULE_2__/* .Disposable */ .JT {
        constructor(themeService) {
            super();
            this.themeService = themeService;
            this.theme = themeService.getColorTheme();
            // Hook up to theme changes
            this._register(this.themeService.onDidColorThemeChange(theme => this.onThemeChange(theme)));
        }
        onThemeChange(theme) {
            this.theme = theme;
            this.updateStyles();
        }
        updateStyles() {
            // Subclasses to override
        }
    }
    
    
    /***/ }),
    
    /***/ 84126:
    /*!******************************************************************!*\
      !*** ./node_modules/_object-assign@4.1.1@object-assign/index.js ***!
      \******************************************************************/
    /***/ (function(module) {
    
    "use strict";
    /*
    object-assign
    (c) Sindre Sorhus
    @license MIT
    */
    
    
    /* eslint-disable no-unused-vars */
    var getOwnPropertySymbols = Object.getOwnPropertySymbols;
    var hasOwnProperty = Object.prototype.hasOwnProperty;
    var propIsEnumerable = Object.prototype.propertyIsEnumerable;
    
    function toObject(val) {
    	if (val === null || val === undefined) {
    		throw new TypeError('Object.assign cannot be called with null or undefined');
    	}
    
    	return Object(val);
    }
    
    function shouldUseNative() {
    	try {
    		if (!Object.assign) {
    			return false;
    		}
    
    		// Detect buggy property enumeration order in older V8 versions.
    
    		// https://bugs.chromium.org/p/v8/issues/detail?id=4118
    		var test1 = new String('abc');  // eslint-disable-line no-new-wrappers
    		test1[5] = 'de';
    		if (Object.getOwnPropertyNames(test1)[0] === '5') {
    			return false;
    		}
    
    		// https://bugs.chromium.org/p/v8/issues/detail?id=3056
    		var test2 = {};
    		for (var i = 0; i < 10; i++) {
    			test2['_' + String.fromCharCode(i)] = i;
    		}
    		var order2 = Object.getOwnPropertyNames(test2).map(function (n) {
    			return test2[n];
    		});
    		if (order2.join('') !== '0123456789') {
    			return false;
    		}
    
    		// https://bugs.chromium.org/p/v8/issues/detail?id=3056
    		var test3 = {};
    		'abcdefghijklmnopqrst'.split('').forEach(function (letter) {
    			test3[letter] = letter;
    		});
    		if (Object.keys(Object.assign({}, test3)).join('') !==
    				'abcdefghijklmnopqrst') {
    			return false;
    		}
    
    		return true;
    	} catch (err) {
    		// We don't expect any of the above to throw, but better to be safe.
    		return false;
    	}
    }
    
    module.exports = shouldUseNative() ? Object.assign : function (target, source) {
    	var from;
    	var to = toObject(target);
    	var symbols;
    
    	for (var s = 1; s < arguments.length; s++) {
    		from = Object(arguments[s]);
    
    		for (var key in from) {
    			if (hasOwnProperty.call(from, key)) {
    				to[key] = from[key];
    			}
    		}
    
    		if (getOwnPropertySymbols) {
    			symbols = getOwnPropertySymbols(from);
    			for (var i = 0; i < symbols.length; i++) {
    				if (propIsEnumerable.call(from, symbols[i])) {
    					to[symbols[i]] = from[symbols[i]];
    				}
    			}
    		}
    	}
    
    	return to;
    };
    
    
    /***/ }),
    
    /***/ 97671:
    /*!**********************************************************!*\
      !*** ./node_modules/_process@0.11.10@process/browser.js ***!
      \**********************************************************/
    /***/ (function(module) {
    
    // shim for using process in browser
    var process = module.exports = {};
    
    // cached from whatever global is present so that test runners that stub it
    // don't break things.  But we need to wrap it in a try catch in case it is
    // wrapped in strict mode code which doesn't define any globals.  It's inside a
    // function because try/catches deoptimize in certain engines.
    
    var cachedSetTimeout;
    var cachedClearTimeout;
    
    function defaultSetTimout() {
        throw new Error('setTimeout has not been defined');
    }
    function defaultClearTimeout () {
        throw new Error('clearTimeout has not been defined');
    }
    (function () {
        try {
            if (typeof setTimeout === 'function') {
                cachedSetTimeout = setTimeout;
            } else {
                cachedSetTimeout = defaultSetTimout;
            }
        } catch (e) {
            cachedSetTimeout = defaultSetTimout;
        }
        try {
            if (typeof clearTimeout === 'function') {
                cachedClearTimeout = clearTimeout;
            } else {
                cachedClearTimeout = defaultClearTimeout;
            }
        } catch (e) {
            cachedClearTimeout = defaultClearTimeout;
        }
    } ())
    function runTimeout(fun) {
        if (cachedSetTimeout === setTimeout) {
            //normal enviroments in sane situations
            return setTimeout(fun, 0);
        }
        // if setTimeout wasn't available but was latter defined
        if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) {
            cachedSetTimeout = setTimeout;
            return setTimeout(fun, 0);
        }
        try {
            // when when somebody has screwed with setTimeout but no I.E. maddness
            return cachedSetTimeout(fun, 0);
        } catch(e){
            try {
                // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally
                return cachedSetTimeout.call(null, fun, 0);
            } catch(e){
                // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error
                return cachedSetTimeout.call(this, fun, 0);
            }
        }
    
    
    }
    function runClearTimeout(marker) {
        if (cachedClearTimeout === clearTimeout) {
            //normal enviroments in sane situations
            return clearTimeout(marker);
        }
        // if clearTimeout wasn't available but was latter defined
        if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) {
            cachedClearTimeout = clearTimeout;
            return clearTimeout(marker);
        }
        try {
            // when when somebody has screwed with setTimeout but no I.E. maddness
            return cachedClearTimeout(marker);
        } catch (e){
            try {
                // When we are in I.E. but the script has been evaled so I.E. doesn't  trust the global object when called normally
                return cachedClearTimeout.call(null, marker);
            } catch (e){
                // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error.
                // Some versions of I.E. have different rules for clearTimeout vs setTimeout
                return cachedClearTimeout.call(this, marker);
            }
        }
    
    
    
    }
    var queue = [];
    var draining = false;
    var currentQueue;
    var queueIndex = -1;
    
    function cleanUpNextTick() {
        if (!draining || !currentQueue) {
            return;
        }
        draining = false;
        if (currentQueue.length) {
            queue = currentQueue.concat(queue);
        } else {
            queueIndex = -1;
        }
        if (queue.length) {
            drainQueue();
        }
    }
    
    function drainQueue() {
        if (draining) {
            return;
        }
        var timeout = runTimeout(cleanUpNextTick);
        draining = true;
    
        var len = queue.length;
        while(len) {
            currentQueue = queue;
            queue = [];
            while (++queueIndex < len) {
                if (currentQueue) {
                    currentQueue[queueIndex].run();
                }
            }
            queueIndex = -1;
            len = queue.length;
        }
        currentQueue = null;
        draining = false;
        runClearTimeout(timeout);
    }
    
    process.nextTick = function (fun) {
        var args = new Array(arguments.length - 1);
        if (arguments.length > 1) {
            for (var i = 1; i < arguments.length; i++) {
                args[i - 1] = arguments[i];
            }
        }
        queue.push(new Item(fun, args));
        if (queue.length === 1 && !draining) {
            runTimeout(drainQueue);
        }
    };
    
    // v8 likes predictible objects
    function Item(fun, array) {
        this.fun = fun;
        this.array = array;
    }
    Item.prototype.run = function () {
        this.fun.apply(null, this.array);
    };
    process.title = 'browser';
    process.browser = true;
    process.env = {};
    process.argv = [];
    process.version = ''; // empty string to avoid regexp issues
    process.versions = {};
    
    function noop() {}
    
    process.on = noop;
    process.addListener = noop;
    process.once = noop;
    process.off = noop;
    process.removeListener = noop;
    process.removeAllListeners = noop;
    process.emit = noop;
    process.prependListener = noop;
    process.prependOnceListener = noop;
    
    process.listeners = function (name) { return [] }
    
    process.binding = function (name) {
        throw new Error('process.binding is not supported');
    };
    
    process.cwd = function () { return '/' };
    process.chdir = function (dir) {
        throw new Error('process.chdir is not supported');
    };
    process.umask = function() { return 0; };
    
    
    /***/ }),
    
    /***/ 79442:
    /*!********************************************************************************!*\
      !*** ./node_modules/_prop-types@15.8.1@prop-types/factoryWithThrowingShims.js ***!
      \********************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    /**
     * Copyright (c) 2013-present, Facebook, Inc.
     *
     * This source code is licensed under the MIT license found in the
     * LICENSE file in the root directory of this source tree.
     */
    
    
    
    var ReactPropTypesSecret = __webpack_require__(/*! ./lib/ReactPropTypesSecret */ 97825);
    
    function emptyFunction() {}
    function emptyFunctionWithReset() {}
    emptyFunctionWithReset.resetWarningCache = emptyFunction;
    
    module.exports = function() {
      function shim(props, propName, componentName, location, propFullName, secret) {
        if (secret === ReactPropTypesSecret) {
          // It is still safe when called from React.
          return;
        }
        var err = new Error(
          'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +
          'Use PropTypes.checkPropTypes() to call them. ' +
          'Read more at http://fb.me/use-check-prop-types'
        );
        err.name = 'Invariant Violation';
        throw err;
      };
      shim.isRequired = shim;
      function getShim() {
        return shim;
      };
      // Important!
      // Keep this list in sync with production version in `./factoryWithTypeCheckers.js`.
      var ReactPropTypes = {
        array: shim,
        bigint: shim,
        bool: shim,
        func: shim,
        number: shim,
        object: shim,
        string: shim,
        symbol: shim,
    
        any: shim,
        arrayOf: getShim,
        element: shim,
        elementType: shim,
        instanceOf: getShim,
        node: shim,
        objectOf: getShim,
        oneOf: getShim,
        oneOfType: getShim,
        shape: getShim,
        exact: getShim,
    
        checkPropTypes: emptyFunctionWithReset,
        resetWarningCache: emptyFunction
      };
    
      ReactPropTypes.PropTypes = ReactPropTypes;
    
      return ReactPropTypes;
    };
    
    
    /***/ }),
    
    /***/ 12708:
    /*!*************************************************************!*\
      !*** ./node_modules/_prop-types@15.8.1@prop-types/index.js ***!
      \*************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    /**
     * Copyright (c) 2013-present, Facebook, Inc.
     *
     * This source code is licensed under the MIT license found in the
     * LICENSE file in the root directory of this source tree.
     */
    
    if (false) { var throwOnDirectAccess, ReactIs; } else {
      // By explicitly using `prop-types` you are opting into new production behavior.
      // http://fb.me/prop-types-in-prod
      module.exports = __webpack_require__(/*! ./factoryWithThrowingShims */ 79442)();
    }
    
    
    /***/ }),
    
    /***/ 97825:
    /*!********************************************************************************!*\
      !*** ./node_modules/_prop-types@15.8.1@prop-types/lib/ReactPropTypesSecret.js ***!
      \********************************************************************************/
    /***/ (function(module) {
    
    "use strict";
    /**
     * Copyright (c) 2013-present, Facebook, Inc.
     *
     * This source code is licensed under the MIT license found in the
     * LICENSE file in the root directory of this source tree.
     */
    
    
    
    var ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';
    
    module.exports = ReactPropTypesSecret;
    
    
    /***/ }),
    
    /***/ 86923:
    /*!*************************************************************************!*\
      !*** ./node_modules/_rc-dialog@9.2.0@rc-dialog/es/index.js + 8 modules ***!
      \*************************************************************************/
    /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
    
    "use strict";
    
    // EXPORTS
    __webpack_require__.d(__webpack_exports__, {
      s: function() { return /* reexport */ Content_Panel; },
      Z: function() { return /* binding */ _rc_dialog_9_2_0_rc_dialog_es; }
    });
    
    // EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.28.6@@babel/runtime/helpers/esm/extends.js
    var esm_extends = __webpack_require__(60499);
    // EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.28.6@@babel/runtime/helpers/esm/slicedToArray.js + 1 modules
    var slicedToArray = __webpack_require__(72190);
    // EXTERNAL MODULE: ./node_modules/_@rc-component_portal@1.1.2@@rc-component/portal/es/index.js + 6 modules
    var es = __webpack_require__(43403);
    // EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/index.js
    var _react_17_0_2_react = __webpack_require__(59301);
    ;// CONCATENATED MODULE: ./node_modules/_rc-dialog@9.2.0@rc-dialog/es/context.js
    
    var RefContext = /*#__PURE__*/_react_17_0_2_react.createContext({});
    // EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.28.6@@babel/runtime/helpers/esm/objectSpread2.js
    var objectSpread2 = __webpack_require__(85899);
    // EXTERNAL MODULE: ./node_modules/_classnames@2.5.1@classnames/index.js
    var _classnames_2_5_1_classnames = __webpack_require__(92310);
    var _classnames_2_5_1_classnames_default = /*#__PURE__*/__webpack_require__.n(_classnames_2_5_1_classnames);
    // EXTERNAL MODULE: ./node_modules/_rc-util@5.44.4@rc-util/es/Dom/contains.js
    var contains = __webpack_require__(48519);
    // EXTERNAL MODULE: ./node_modules/_rc-util@5.44.4@rc-util/es/hooks/useId.js
    var useId = __webpack_require__(80402);
    // EXTERNAL MODULE: ./node_modules/_rc-util@5.44.4@rc-util/es/KeyCode.js
    var KeyCode = __webpack_require__(10228);
    // EXTERNAL MODULE: ./node_modules/_rc-util@5.44.4@rc-util/es/pickAttrs.js
    var pickAttrs = __webpack_require__(26112);
    ;// CONCATENATED MODULE: ./node_modules/_rc-dialog@9.2.0@rc-dialog/es/util.js
    // =============================== Motion ===============================
    function getMotionName(prefixCls, transitionName, animationName) {
      var motionName = transitionName;
      if (!motionName && animationName) {
        motionName = "".concat(prefixCls, "-").concat(animationName);
      }
      return motionName;
    }
    
    // =============================== Offset ===============================
    function getScroll(w, top) {
      var ret = w["page".concat(top ? 'Y' : 'X', "Offset")];
      var method = "scroll".concat(top ? 'Top' : 'Left');
      if (typeof ret !== 'number') {
        var d = w.document;
        ret = d.documentElement[method];
        if (typeof ret !== 'number') {
          ret = d.body[method];
        }
      }
      return ret;
    }
    function offset(el) {
      var rect = el.getBoundingClientRect();
      var pos = {
        left: rect.left,
        top: rect.top
      };
      var doc = el.ownerDocument;
      var w = doc.defaultView || doc.parentWindow;
      pos.left += getScroll(w);
      pos.top += getScroll(w, true);
      return pos;
    }
    // EXTERNAL MODULE: ./node_modules/_rc-motion@2.9.5@rc-motion/es/index.js + 13 modules
    var _rc_motion_2_9_5_rc_motion_es = __webpack_require__(77900);
    // EXTERNAL MODULE: ./node_modules/_rc-util@5.44.4@rc-util/es/ref.js
    var es_ref = __webpack_require__(8654);
    ;// CONCATENATED MODULE: ./node_modules/_rc-dialog@9.2.0@rc-dialog/es/Dialog/Content/MemoChildren.js
    
    /* harmony default export */ var MemoChildren = (/*#__PURE__*/_react_17_0_2_react.memo(function (_ref) {
      var children = _ref.children;
      return children;
    }, function (_, _ref2) {
      var shouldUpdate = _ref2.shouldUpdate;
      return !shouldUpdate;
    }));
    ;// CONCATENATED MODULE: ./node_modules/_rc-dialog@9.2.0@rc-dialog/es/Dialog/Content/Panel.js
    
    
    
    
    
    
    
    var sentinelStyle = {
      width: 0,
      height: 0,
      overflow: 'hidden',
      outline: 'none'
    };
    var Panel = /*#__PURE__*/_react_17_0_2_react.forwardRef(function (props, ref) {
      var prefixCls = props.prefixCls,
        className = props.className,
        style = props.style,
        title = props.title,
        ariaId = props.ariaId,
        footer = props.footer,
        closable = props.closable,
        closeIcon = props.closeIcon,
        onClose = props.onClose,
        children = props.children,
        bodyStyle = props.bodyStyle,
        bodyProps = props.bodyProps,
        modalRender = props.modalRender,
        onMouseDown = props.onMouseDown,
        onMouseUp = props.onMouseUp,
        holderRef = props.holderRef,
        visible = props.visible,
        forceRender = props.forceRender,
        width = props.width,
        height = props.height;
    
      // ================================= Refs =================================
      var _React$useContext = _react_17_0_2_react.useContext(RefContext),
        panelRef = _React$useContext.panel;
      var mergedRef = (0,es_ref/* useComposeRef */.x1)(holderRef, panelRef);
      var sentinelStartRef = (0,_react_17_0_2_react.useRef)();
      var sentinelEndRef = (0,_react_17_0_2_react.useRef)();
      _react_17_0_2_react.useImperativeHandle(ref, function () {
        return {
          focus: function focus() {
            var _sentinelStartRef$cur;
            (_sentinelStartRef$cur = sentinelStartRef.current) === null || _sentinelStartRef$cur === void 0 ? void 0 : _sentinelStartRef$cur.focus();
          },
          changeActive: function changeActive(next) {
            var _document = document,
              activeElement = _document.activeElement;
            if (next && activeElement === sentinelEndRef.current) {
              sentinelStartRef.current.focus();
            } else if (!next && activeElement === sentinelStartRef.current) {
              sentinelEndRef.current.focus();
            }
          }
        };
      });
    
      // ================================ Style =================================
      var contentStyle = {};
      if (width !== undefined) {
        contentStyle.width = width;
      }
      if (height !== undefined) {
        contentStyle.height = height;
      }
      // ================================ Render ================================
      var footerNode;
      if (footer) {
        footerNode = /*#__PURE__*/_react_17_0_2_react.createElement("div", {
          className: "".concat(prefixCls, "-footer")
        }, footer);
      }
      var headerNode;
      if (title) {
        headerNode = /*#__PURE__*/_react_17_0_2_react.createElement("div", {
          className: "".concat(prefixCls, "-header")
        }, /*#__PURE__*/_react_17_0_2_react.createElement("div", {
          className: "".concat(prefixCls, "-title"),
          id: ariaId
        }, title));
      }
      var closer;
      if (closable) {
        closer = /*#__PURE__*/_react_17_0_2_react.createElement("button", {
          type: "button",
          onClick: onClose,
          "aria-label": "Close",
          className: "".concat(prefixCls, "-close")
        }, closeIcon || /*#__PURE__*/_react_17_0_2_react.createElement("span", {
          className: "".concat(prefixCls, "-close-x")
        }));
      }
      var content = /*#__PURE__*/_react_17_0_2_react.createElement("div", {
        className: "".concat(prefixCls, "-content")
      }, closer, headerNode, /*#__PURE__*/_react_17_0_2_react.createElement("div", (0,esm_extends/* default */.Z)({
        className: "".concat(prefixCls, "-body"),
        style: bodyStyle
      }, bodyProps), children), footerNode);
      return /*#__PURE__*/_react_17_0_2_react.createElement("div", {
        key: "dialog-element",
        role: "dialog",
        "aria-labelledby": title ? ariaId : null,
        "aria-modal": "true",
        ref: mergedRef,
        style: (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, style), contentStyle),
        className: _classnames_2_5_1_classnames_default()(prefixCls, className),
        onMouseDown: onMouseDown,
        onMouseUp: onMouseUp
      }, /*#__PURE__*/_react_17_0_2_react.createElement("div", {
        tabIndex: 0,
        ref: sentinelStartRef,
        style: sentinelStyle,
        "aria-hidden": "true"
      }), /*#__PURE__*/_react_17_0_2_react.createElement(MemoChildren, {
        shouldUpdate: visible || forceRender
      }, modalRender ? modalRender(content) : content), /*#__PURE__*/_react_17_0_2_react.createElement("div", {
        tabIndex: 0,
        ref: sentinelEndRef,
        style: sentinelStyle,
        "aria-hidden": "true"
      }));
    });
    if (false) {}
    /* harmony default export */ var Content_Panel = (Panel);
    ;// CONCATENATED MODULE: ./node_modules/_rc-dialog@9.2.0@rc-dialog/es/Dialog/Content/index.js
    
    
    
    
    
    
    
    
    
    var Content = /*#__PURE__*/_react_17_0_2_react.forwardRef(function (props, ref) {
      var prefixCls = props.prefixCls,
        title = props.title,
        style = props.style,
        className = props.className,
        visible = props.visible,
        forceRender = props.forceRender,
        destroyOnClose = props.destroyOnClose,
        motionName = props.motionName,
        ariaId = props.ariaId,
        onVisibleChanged = props.onVisibleChanged,
        mousePosition = props.mousePosition;
      var dialogRef = (0,_react_17_0_2_react.useRef)();
    
      // ============================= Style ==============================
      var _React$useState = _react_17_0_2_react.useState(),
        _React$useState2 = (0,slicedToArray/* default */.Z)(_React$useState, 2),
        transformOrigin = _React$useState2[0],
        setTransformOrigin = _React$useState2[1];
      var contentStyle = {};
      if (transformOrigin) {
        contentStyle.transformOrigin = transformOrigin;
      }
      function onPrepare() {
        var elementOffset = offset(dialogRef.current);
        setTransformOrigin(mousePosition ? "".concat(mousePosition.x - elementOffset.left, "px ").concat(mousePosition.y - elementOffset.top, "px") : '');
      }
    
      // ============================= Render =============================
      return /*#__PURE__*/_react_17_0_2_react.createElement(_rc_motion_2_9_5_rc_motion_es["default"], {
        visible: visible,
        onVisibleChanged: onVisibleChanged,
        onAppearPrepare: onPrepare,
        onEnterPrepare: onPrepare,
        forceRender: forceRender,
        motionName: motionName,
        removeOnLeave: destroyOnClose,
        ref: dialogRef
      }, function (_ref, motionRef) {
        var motionClassName = _ref.className,
          motionStyle = _ref.style;
        return /*#__PURE__*/_react_17_0_2_react.createElement(Content_Panel, (0,esm_extends/* default */.Z)({}, props, {
          ref: ref,
          title: title,
          ariaId: ariaId,
          prefixCls: prefixCls,
          holderRef: motionRef,
          style: (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, motionStyle), style), contentStyle),
          className: _classnames_2_5_1_classnames_default()(className, motionClassName)
        }));
      });
    });
    Content.displayName = 'Content';
    /* harmony default export */ var Dialog_Content = (Content);
    ;// CONCATENATED MODULE: ./node_modules/_rc-dialog@9.2.0@rc-dialog/es/Dialog/Mask.js
    
    
    
    
    
    function Mask(props) {
      var prefixCls = props.prefixCls,
        style = props.style,
        visible = props.visible,
        maskProps = props.maskProps,
        motionName = props.motionName;
      return /*#__PURE__*/_react_17_0_2_react.createElement(_rc_motion_2_9_5_rc_motion_es["default"], {
        key: "mask",
        visible: visible,
        motionName: motionName,
        leavedClassName: "".concat(prefixCls, "-mask-hidden")
      }, function (_ref, ref) {
        var motionClassName = _ref.className,
          motionStyle = _ref.style;
        return /*#__PURE__*/_react_17_0_2_react.createElement("div", (0,esm_extends/* default */.Z)({
          ref: ref,
          style: (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, motionStyle), style),
          className: _classnames_2_5_1_classnames_default()("".concat(prefixCls, "-mask"), motionClassName)
        }, maskProps));
      });
    }
    ;// CONCATENATED MODULE: ./node_modules/_rc-dialog@9.2.0@rc-dialog/es/Dialog/index.js
    
    
    
    
    
    
    
    
    
    
    
    
    
    function Dialog(props) {
      var _props$prefixCls = props.prefixCls,
        prefixCls = _props$prefixCls === void 0 ? 'rc-dialog' : _props$prefixCls,
        zIndex = props.zIndex,
        _props$visible = props.visible,
        visible = _props$visible === void 0 ? false : _props$visible,
        _props$keyboard = props.keyboard,
        keyboard = _props$keyboard === void 0 ? true : _props$keyboard,
        _props$focusTriggerAf = props.focusTriggerAfterClose,
        focusTriggerAfterClose = _props$focusTriggerAf === void 0 ? true : _props$focusTriggerAf,
        wrapStyle = props.wrapStyle,
        wrapClassName = props.wrapClassName,
        wrapProps = props.wrapProps,
        onClose = props.onClose,
        afterOpenChange = props.afterOpenChange,
        afterClose = props.afterClose,
        transitionName = props.transitionName,
        animation = props.animation,
        _props$closable = props.closable,
        closable = _props$closable === void 0 ? true : _props$closable,
        _props$mask = props.mask,
        mask = _props$mask === void 0 ? true : _props$mask,
        maskTransitionName = props.maskTransitionName,
        maskAnimation = props.maskAnimation,
        _props$maskClosable = props.maskClosable,
        maskClosable = _props$maskClosable === void 0 ? true : _props$maskClosable,
        maskStyle = props.maskStyle,
        maskProps = props.maskProps,
        rootClassName = props.rootClassName;
      var lastOutSideActiveElementRef = (0,_react_17_0_2_react.useRef)();
      var wrapperRef = (0,_react_17_0_2_react.useRef)();
      var contentRef = (0,_react_17_0_2_react.useRef)();
      var _React$useState = _react_17_0_2_react.useState(visible),
        _React$useState2 = (0,slicedToArray/* default */.Z)(_React$useState, 2),
        animatedVisible = _React$useState2[0],
        setAnimatedVisible = _React$useState2[1];
    
      // ========================== Init ==========================
      var ariaId = (0,useId/* default */.Z)();
      function saveLastOutSideActiveElementRef() {
        if (!(0,contains/* default */.Z)(wrapperRef.current, document.activeElement)) {
          lastOutSideActiveElementRef.current = document.activeElement;
        }
      }
      function focusDialogContent() {
        if (!(0,contains/* default */.Z)(wrapperRef.current, document.activeElement)) {
          var _contentRef$current;
          (_contentRef$current = contentRef.current) === null || _contentRef$current === void 0 ? void 0 : _contentRef$current.focus();
        }
      }
    
      // ========================= Events =========================
      function onDialogVisibleChanged(newVisible) {
        // Try to focus
        if (newVisible) {
          focusDialogContent();
        } else {
          // Clean up scroll bar & focus back
          setAnimatedVisible(false);
          if (mask && lastOutSideActiveElementRef.current && focusTriggerAfterClose) {
            try {
              lastOutSideActiveElementRef.current.focus({
                preventScroll: true
              });
            } catch (e) {
              // Do nothing
            }
            lastOutSideActiveElementRef.current = null;
          }
    
          // Trigger afterClose only when change visible from true to false
          if (animatedVisible) {
            afterClose === null || afterClose === void 0 ? void 0 : afterClose();
          }
        }
        afterOpenChange === null || afterOpenChange === void 0 ? void 0 : afterOpenChange(newVisible);
      }
      function onInternalClose(e) {
        onClose === null || onClose === void 0 ? void 0 : onClose(e);
      }
    
      // >>> Content
      var contentClickRef = (0,_react_17_0_2_react.useRef)(false);
      var contentTimeoutRef = (0,_react_17_0_2_react.useRef)();
    
      // We need record content click incase content popup out of dialog
      var onContentMouseDown = function onContentMouseDown() {
        clearTimeout(contentTimeoutRef.current);
        contentClickRef.current = true;
      };
      var onContentMouseUp = function onContentMouseUp() {
        contentTimeoutRef.current = setTimeout(function () {
          contentClickRef.current = false;
        });
      };
    
      // >>> Wrapper
      // Close only when element not on dialog
      var onWrapperClick = null;
      if (maskClosable) {
        onWrapperClick = function onWrapperClick(e) {
          if (contentClickRef.current) {
            contentClickRef.current = false;
          } else if (wrapperRef.current === e.target) {
            onInternalClose(e);
          }
        };
      }
      function onWrapperKeyDown(e) {
        if (keyboard && e.keyCode === KeyCode/* default */.Z.ESC) {
          e.stopPropagation();
          onInternalClose(e);
          return;
        }
    
        // keep focus inside dialog
        if (visible) {
          if (e.keyCode === KeyCode/* default */.Z.TAB) {
            contentRef.current.changeActive(!e.shiftKey);
          }
        }
      }
    
      // ========================= Effect =========================
      (0,_react_17_0_2_react.useEffect)(function () {
        if (visible) {
          setAnimatedVisible(true);
          saveLastOutSideActiveElementRef();
        }
      }, [visible]);
    
      // Remove direct should also check the scroll bar update
      (0,_react_17_0_2_react.useEffect)(function () {
        return function () {
          clearTimeout(contentTimeoutRef.current);
        };
      }, []);
    
      // ========================= Render =========================
      return /*#__PURE__*/_react_17_0_2_react.createElement("div", (0,esm_extends/* default */.Z)({
        className: _classnames_2_5_1_classnames_default()("".concat(prefixCls, "-root"), rootClassName)
      }, (0,pickAttrs/* default */.Z)(props, {
        data: true
      })), /*#__PURE__*/_react_17_0_2_react.createElement(Mask, {
        prefixCls: prefixCls,
        visible: mask && visible,
        motionName: getMotionName(prefixCls, maskTransitionName, maskAnimation),
        style: (0,objectSpread2/* default */.Z)({
          zIndex: zIndex
        }, maskStyle),
        maskProps: maskProps
      }), /*#__PURE__*/_react_17_0_2_react.createElement("div", (0,esm_extends/* default */.Z)({
        tabIndex: -1,
        onKeyDown: onWrapperKeyDown,
        className: _classnames_2_5_1_classnames_default()("".concat(prefixCls, "-wrap"), wrapClassName),
        ref: wrapperRef,
        onClick: onWrapperClick,
        style: (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({
          zIndex: zIndex
        }, wrapStyle), {}, {
          display: !animatedVisible ? 'none' : null
        })
      }, wrapProps), /*#__PURE__*/_react_17_0_2_react.createElement(Dialog_Content, (0,esm_extends/* default */.Z)({}, props, {
        onMouseDown: onContentMouseDown,
        onMouseUp: onContentMouseUp,
        ref: contentRef,
        closable: closable,
        ariaId: ariaId,
        prefixCls: prefixCls,
        visible: visible && animatedVisible,
        onClose: onInternalClose,
        onVisibleChanged: onDialogVisibleChanged,
        motionName: getMotionName(prefixCls, transitionName, animation)
      }))));
    }
    ;// CONCATENATED MODULE: ./node_modules/_rc-dialog@9.2.0@rc-dialog/es/DialogWrap.js
    
    
    
    
    
    
    // fix issue #10656
    /*
     * getContainer remarks
     * Custom container should not be return, because in the Portal component, it will remove the
     * return container element here, if the custom container is the only child of it's component,
     * like issue #10656, It will has a conflict with removeChild method in react-dom.
     * So here should add a child (div element) to custom container.
     * */
    var DialogWrap = function DialogWrap(props) {
      var visible = props.visible,
        getContainer = props.getContainer,
        forceRender = props.forceRender,
        _props$destroyOnClose = props.destroyOnClose,
        destroyOnClose = _props$destroyOnClose === void 0 ? false : _props$destroyOnClose,
        _afterClose = props.afterClose,
        panelRef = props.panelRef;
      var _React$useState = _react_17_0_2_react.useState(visible),
        _React$useState2 = (0,slicedToArray/* default */.Z)(_React$useState, 2),
        animatedVisible = _React$useState2[0],
        setAnimatedVisible = _React$useState2[1];
      var refContext = _react_17_0_2_react.useMemo(function () {
        return {
          panel: panelRef
        };
      }, [panelRef]);
      _react_17_0_2_react.useEffect(function () {
        if (visible) {
          setAnimatedVisible(true);
        }
      }, [visible]);
    
      // Destroy on close will remove wrapped div
      if (!forceRender && destroyOnClose && !animatedVisible) {
        return null;
      }
      return /*#__PURE__*/_react_17_0_2_react.createElement(RefContext.Provider, {
        value: refContext
      }, /*#__PURE__*/_react_17_0_2_react.createElement(es/* default */.Z, {
        open: visible || forceRender || animatedVisible,
        autoDestroy: false,
        getContainer: getContainer,
        autoLock: visible || animatedVisible
      }, /*#__PURE__*/_react_17_0_2_react.createElement(Dialog, (0,esm_extends/* default */.Z)({}, props, {
        destroyOnClose: destroyOnClose,
        afterClose: function afterClose() {
          _afterClose === null || _afterClose === void 0 ? void 0 : _afterClose();
          setAnimatedVisible(false);
        }
      }))));
    };
    DialogWrap.displayName = 'Dialog';
    /* harmony default export */ var es_DialogWrap = (DialogWrap);
    ;// CONCATENATED MODULE: ./node_modules/_rc-dialog@9.2.0@rc-dialog/es/index.js
    
    
    
    /* harmony default export */ var _rc_dialog_9_2_0_rc_dialog_es = (es_DialogWrap);
    
    /***/ }),
    
    /***/ 95013:
    /*!***********************************************************************************!*\
      !*** ./node_modules/_rc-field-form@1.38.2@rc-field-form/es/index.js + 15 modules ***!
      \***********************************************************************************/
    /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
    
    "use strict";
    // ESM COMPAT FLAG
    __webpack_require__.r(__webpack_exports__);
    
    // EXPORTS
    __webpack_require__.d(__webpack_exports__, {
      Field: function() { return /* reexport */ es_Field; },
      FieldContext: function() { return /* reexport */ FieldContext; },
      FormProvider: function() { return /* reexport */ FormProvider; },
      List: function() { return /* reexport */ es_List; },
      ListContext: function() { return /* reexport */ es_ListContext; },
      "default": function() { return /* binding */ es; },
      useForm: function() { return /* reexport */ es_useForm; },
      useWatch: function() { return /* reexport */ es_useWatch; }
    });
    
    // EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/index.js
    var _react_17_0_2_react = __webpack_require__(59301);
    // EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.28.6@@babel/runtime/helpers/esm/extends.js
    var esm_extends = __webpack_require__(60499);
    // EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.28.6@@babel/runtime/helpers/esm/objectWithoutProperties.js
    var objectWithoutProperties = __webpack_require__(42244);
    // EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.28.6@@babel/runtime/helpers/esm/regeneratorRuntime.js + 8 modules
    var regeneratorRuntime = __webpack_require__(73001);
    // EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.28.6@@babel/runtime/helpers/esm/asyncToGenerator.js
    var asyncToGenerator = __webpack_require__(11576);
    // EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.28.6@@babel/runtime/helpers/esm/objectSpread2.js
    var objectSpread2 = __webpack_require__(85899);
    // EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.28.6@@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules
    var toConsumableArray = __webpack_require__(77654);
    // EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.28.6@@babel/runtime/helpers/esm/classCallCheck.js
    var classCallCheck = __webpack_require__(38705);
    // EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.28.6@@babel/runtime/helpers/esm/createClass.js
    var createClass = __webpack_require__(17212);
    // EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.28.6@@babel/runtime/helpers/esm/assertThisInitialized.js
    var assertThisInitialized = __webpack_require__(15793);
    // EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.28.6@@babel/runtime/helpers/esm/inherits.js
    var inherits = __webpack_require__(39153);
    // EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.28.6@@babel/runtime/helpers/esm/createSuper.js + 1 modules
    var createSuper = __webpack_require__(71518);
    // EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.28.6@@babel/runtime/helpers/esm/defineProperty.js
    var defineProperty = __webpack_require__(18642);
    // EXTERNAL MODULE: ./node_modules/_rc-util@5.44.4@rc-util/es/Children/toArray.js
    var toArray = __webpack_require__(11592);
    // EXTERNAL MODULE: ./node_modules/_rc-util@5.44.4@rc-util/es/isEqual.js
    var isEqual = __webpack_require__(13697);
    // EXTERNAL MODULE: ./node_modules/_rc-util@5.44.4@rc-util/es/warning.js
    var warning = __webpack_require__(48736);
    ;// CONCATENATED MODULE: ./node_modules/_rc-field-form@1.38.2@rc-field-form/es/FieldContext.js
    
    
    var HOOK_MARK = 'RC_FORM_INTERNAL_HOOKS';
    
    // eslint-disable-next-line @typescript-eslint/no-explicit-any
    var warningFunc = function warningFunc() {
      (0,warning/* default */.ZP)(false, 'Can not find FormContext. Please make sure you wrap Field under Form.');
    };
    var Context = /*#__PURE__*/_react_17_0_2_react.createContext({
      getFieldValue: warningFunc,
      getFieldsValue: warningFunc,
      getFieldError: warningFunc,
      getFieldWarning: warningFunc,
      getFieldsError: warningFunc,
      isFieldsTouched: warningFunc,
      isFieldTouched: warningFunc,
      isFieldValidating: warningFunc,
      isFieldsValidating: warningFunc,
      resetFields: warningFunc,
      setFields: warningFunc,
      setFieldValue: warningFunc,
      setFieldsValue: warningFunc,
      validateFields: warningFunc,
      submit: warningFunc,
      getInternalHooks: function getInternalHooks() {
        warningFunc();
        return {
          dispatch: warningFunc,
          initEntityValue: warningFunc,
          registerField: warningFunc,
          useSubscribe: warningFunc,
          setInitialValues: warningFunc,
          destroyForm: warningFunc,
          setCallbacks: warningFunc,
          registerWatch: warningFunc,
          getFields: warningFunc,
          setValidateMessages: warningFunc,
          setPreserve: warningFunc,
          getInitialValue: warningFunc
        };
      }
    });
    /* harmony default export */ var FieldContext = (Context);
    ;// CONCATENATED MODULE: ./node_modules/_rc-field-form@1.38.2@rc-field-form/es/ListContext.js
    
    var ListContext = /*#__PURE__*/_react_17_0_2_react.createContext(null);
    /* harmony default export */ var es_ListContext = (ListContext);
    ;// CONCATENATED MODULE: ./node_modules/_rc-field-form@1.38.2@rc-field-form/es/utils/typeUtil.js
    function typeUtil_toArray(value) {
      if (value === undefined || value === null) {
        return [];
      }
      return Array.isArray(value) ? value : [value];
    }
    function isFormInstance(form) {
      return form && !!form._init;
    }
    ;// CONCATENATED MODULE: ./node_modules/_async-validator@4.2.5@async-validator/dist-web/index.js
    /* provided dependency */ var process = __webpack_require__(/*! ./node_modules/_process@0.11.10@process/browser.js */ 97671);
    function _extends() {
      _extends = Object.assign ? Object.assign.bind() : function (target) {
        for (var i = 1; i < arguments.length; i++) {
          var source = arguments[i];
    
          for (var key in source) {
            if (Object.prototype.hasOwnProperty.call(source, key)) {
              target[key] = source[key];
            }
          }
        }
    
        return target;
      };
      return _extends.apply(this, arguments);
    }
    
    function _inheritsLoose(subClass, superClass) {
      subClass.prototype = Object.create(superClass.prototype);
      subClass.prototype.constructor = subClass;
    
      _setPrototypeOf(subClass, superClass);
    }
    
    function _getPrototypeOf(o) {
      _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {
        return o.__proto__ || Object.getPrototypeOf(o);
      };
      return _getPrototypeOf(o);
    }
    
    function _setPrototypeOf(o, p) {
      _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
        o.__proto__ = p;
        return o;
      };
      return _setPrototypeOf(o, p);
    }
    
    function _isNativeReflectConstruct() {
      if (typeof Reflect === "undefined" || !Reflect.construct) return false;
      if (Reflect.construct.sham) return false;
      if (typeof Proxy === "function") return true;
    
      try {
        Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
        return true;
      } catch (e) {
        return false;
      }
    }
    
    function _construct(Parent, args, Class) {
      if (_isNativeReflectConstruct()) {
        _construct = Reflect.construct.bind();
      } else {
        _construct = function _construct(Parent, args, Class) {
          var a = [null];
          a.push.apply(a, args);
          var Constructor = Function.bind.apply(Parent, a);
          var instance = new Constructor();
          if (Class) _setPrototypeOf(instance, Class.prototype);
          return instance;
        };
      }
    
      return _construct.apply(null, arguments);
    }
    
    function _isNativeFunction(fn) {
      return Function.toString.call(fn).indexOf("[native code]") !== -1;
    }
    
    function _wrapNativeSuper(Class) {
      var _cache = typeof Map === "function" ? new Map() : undefined;
    
      _wrapNativeSuper = function _wrapNativeSuper(Class) {
        if (Class === null || !_isNativeFunction(Class)) return Class;
    
        if (typeof Class !== "function") {
          throw new TypeError("Super expression must either be null or a function");
        }
    
        if (typeof _cache !== "undefined") {
          if (_cache.has(Class)) return _cache.get(Class);
    
          _cache.set(Class, Wrapper);
        }
    
        function Wrapper() {
          return _construct(Class, arguments, _getPrototypeOf(this).constructor);
        }
    
        Wrapper.prototype = Object.create(Class.prototype, {
          constructor: {
            value: Wrapper,
            enumerable: false,
            writable: true,
            configurable: true
          }
        });
        return _setPrototypeOf(Wrapper, Class);
      };
    
      return _wrapNativeSuper(Class);
    }
    
    /* eslint no-console:0 */
    var formatRegExp = /%[sdj%]/g;
    var dist_web_warning = function warning() {}; // don't print warning message when in production env or node runtime
    
    if (typeof process !== 'undefined' && ({"NODE_ENV":"production","PUBLIC_PATH":"/react/build/"}) && "production" !== 'production' && 0 && 0) {}
    
    function convertFieldsError(errors) {
      if (!errors || !errors.length) return null;
      var fields = {};
      errors.forEach(function (error) {
        var field = error.field;
        fields[field] = fields[field] || [];
        fields[field].push(error);
      });
      return fields;
    }
    function format(template) {
      for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
        args[_key - 1] = arguments[_key];
      }
    
      var i = 0;
      var len = args.length;
    
      if (typeof template === 'function') {
        return template.apply(null, args);
      }
    
      if (typeof template === 'string') {
        var str = template.replace(formatRegExp, function (x) {
          if (x === '%%') {
            return '%';
          }
    
          if (i >= len) {
            return x;
          }
    
          switch (x) {
            case '%s':
              return String(args[i++]);
    
            case '%d':
              return Number(args[i++]);
    
            case '%j':
              try {
                return JSON.stringify(args[i++]);
              } catch (_) {
                return '[Circular]';
              }
    
              break;
    
            default:
              return x;
          }
        });
        return str;
      }
    
      return template;
    }
    
    function isNativeStringType(type) {
      return type === 'string' || type === 'url' || type === 'hex' || type === 'email' || type === 'date' || type === 'pattern';
    }
    
    function isEmptyValue(value, type) {
      if (value === undefined || value === null) {
        return true;
      }
    
      if (type === 'array' && Array.isArray(value) && !value.length) {
        return true;
      }
    
      if (isNativeStringType(type) && typeof value === 'string' && !value) {
        return true;
      }
    
      return false;
    }
    
    function asyncParallelArray(arr, func, callback) {
      var results = [];
      var total = 0;
      var arrLength = arr.length;
    
      function count(errors) {
        results.push.apply(results, errors || []);
        total++;
    
        if (total === arrLength) {
          callback(results);
        }
      }
    
      arr.forEach(function (a) {
        func(a, count);
      });
    }
    
    function asyncSerialArray(arr, func, callback) {
      var index = 0;
      var arrLength = arr.length;
    
      function next(errors) {
        if (errors && errors.length) {
          callback(errors);
          return;
        }
    
        var original = index;
        index = index + 1;
    
        if (original < arrLength) {
          func(arr[original], next);
        } else {
          callback([]);
        }
      }
    
      next([]);
    }
    
    function flattenObjArr(objArr) {
      var ret = [];
      Object.keys(objArr).forEach(function (k) {
        ret.push.apply(ret, objArr[k] || []);
      });
      return ret;
    }
    
    var AsyncValidationError = /*#__PURE__*/function (_Error) {
      _inheritsLoose(AsyncValidationError, _Error);
    
      function AsyncValidationError(errors, fields) {
        var _this;
    
        _this = _Error.call(this, 'Async Validation Error') || this;
        _this.errors = errors;
        _this.fields = fields;
        return _this;
      }
    
      return AsyncValidationError;
    }( /*#__PURE__*/_wrapNativeSuper(Error));
    function asyncMap(objArr, option, func, callback, source) {
      if (option.first) {
        var _pending = new Promise(function (resolve, reject) {
          var next = function next(errors) {
            callback(errors);
            return errors.length ? reject(new AsyncValidationError(errors, convertFieldsError(errors))) : resolve(source);
          };
    
          var flattenArr = flattenObjArr(objArr);
          asyncSerialArray(flattenArr, func, next);
        });
    
        _pending["catch"](function (e) {
          return e;
        });
    
        return _pending;
      }
    
      var firstFields = option.firstFields === true ? Object.keys(objArr) : option.firstFields || [];
      var objArrKeys = Object.keys(objArr);
      var objArrLength = objArrKeys.length;
      var total = 0;
      var results = [];
      var pending = new Promise(function (resolve, reject) {
        var next = function next(errors) {
          results.push.apply(results, errors);
          total++;
    
          if (total === objArrLength) {
            callback(results);
            return results.length ? reject(new AsyncValidationError(results, convertFieldsError(results))) : resolve(source);
          }
        };
    
        if (!objArrKeys.length) {
          callback(results);
          resolve(source);
        }
    
        objArrKeys.forEach(function (key) {
          var arr = objArr[key];
    
          if (firstFields.indexOf(key) !== -1) {
            asyncSerialArray(arr, func, next);
          } else {
            asyncParallelArray(arr, func, next);
          }
        });
      });
      pending["catch"](function (e) {
        return e;
      });
      return pending;
    }
    
    function isErrorObj(obj) {
      return !!(obj && obj.message !== undefined);
    }
    
    function getValue(value, path) {
      var v = value;
    
      for (var i = 0; i < path.length; i++) {
        if (v == undefined) {
          return v;
        }
    
        v = v[path[i]];
      }
    
      return v;
    }
    
    function complementError(rule, source) {
      return function (oe) {
        var fieldValue;
    
        if (rule.fullFields) {
          fieldValue = getValue(source, rule.fullFields);
        } else {
          fieldValue = source[oe.field || rule.fullField];
        }
    
        if (isErrorObj(oe)) {
          oe.field = oe.field || rule.fullField;
          oe.fieldValue = fieldValue;
          return oe;
        }
    
        return {
          message: typeof oe === 'function' ? oe() : oe,
          fieldValue: fieldValue,
          field: oe.field || rule.fullField
        };
      };
    }
    function deepMerge(target, source) {
      if (source) {
        for (var s in source) {
          if (source.hasOwnProperty(s)) {
            var value = source[s];
    
            if (typeof value === 'object' && typeof target[s] === 'object') {
              target[s] = _extends({}, target[s], value);
            } else {
              target[s] = value;
            }
          }
        }
      }
    
      return target;
    }
    
    var required$1 = function required(rule, value, source, errors, options, type) {
      if (rule.required && (!source.hasOwnProperty(rule.field) || isEmptyValue(value, type || rule.type))) {
        errors.push(format(options.messages.required, rule.fullField));
      }
    };
    
    /**
     *  Rule for validating whitespace.
     *
     *  @param rule The validation rule.
     *  @param value The value of the field on the source object.
     *  @param source The source object being validated.
     *  @param errors An array of errors that this rule may add
     *  validation errors to.
     *  @param options The validation options.
     *  @param options.messages The validation messages.
     */
    
    var whitespace = function whitespace(rule, value, source, errors, options) {
      if (/^\s+$/.test(value) || value === '') {
        errors.push(format(options.messages.whitespace, rule.fullField));
      }
    };
    
    // https://github.com/kevva/url-regex/blob/master/index.js
    var urlReg;
    var getUrlRegex = (function () {
      if (urlReg) {
        return urlReg;
      }
    
      var word = '[a-fA-F\\d:]';
    
      var b = function b(options) {
        return options && options.includeBoundaries ? "(?:(?<=\\s|^)(?=" + word + ")|(?<=" + word + ")(?=\\s|$))" : '';
      };
    
      var v4 = '(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}';
      var v6seg = '[a-fA-F\\d]{1,4}';
      var v6 = ("\n(?:\n(?:" + v6seg + ":){7}(?:" + v6seg + "|:)|                                    // 1:2:3:4:5:6:7::  1:2:3:4:5:6:7:8\n(?:" + v6seg + ":){6}(?:" + v4 + "|:" + v6seg + "|:)|                             // 1:2:3:4:5:6::    1:2:3:4:5:6::8   1:2:3:4:5:6::8  1:2:3:4:5:6::1.2.3.4\n(?:" + v6seg + ":){5}(?::" + v4 + "|(?::" + v6seg + "){1,2}|:)|                   // 1:2:3:4:5::      1:2:3:4:5::7:8   1:2:3:4:5::8    1:2:3:4:5::7:1.2.3.4\n(?:" + v6seg + ":){4}(?:(?::" + v6seg + "){0,1}:" + v4 + "|(?::" + v6seg + "){1,3}|:)| // 1:2:3:4::        1:2:3:4::6:7:8   1:2:3:4::8      1:2:3:4::6:7:1.2.3.4\n(?:" + v6seg + ":){3}(?:(?::" + v6seg + "){0,2}:" + v4 + "|(?::" + v6seg + "){1,4}|:)| // 1:2:3::          1:2:3::5:6:7:8   1:2:3::8        1:2:3::5:6:7:1.2.3.4\n(?:" + v6seg + ":){2}(?:(?::" + v6seg + "){0,3}:" + v4 + "|(?::" + v6seg + "){1,5}|:)| // 1:2::            1:2::4:5:6:7:8   1:2::8          1:2::4:5:6:7:1.2.3.4\n(?:" + v6seg + ":){1}(?:(?::" + v6seg + "){0,4}:" + v4 + "|(?::" + v6seg + "){1,6}|:)| // 1::              1::3:4:5:6:7:8   1::8            1::3:4:5:6:7:1.2.3.4\n(?::(?:(?::" + v6seg + "){0,5}:" + v4 + "|(?::" + v6seg + "){1,7}|:))             // ::2:3:4:5:6:7:8  ::2:3:4:5:6:7:8  ::8             ::1.2.3.4\n)(?:%[0-9a-zA-Z]{1,})?                                             // %eth0            %1\n").replace(/\s*\/\/.*$/gm, '').replace(/\n/g, '').trim(); // Pre-compile only the exact regexes because adding a global flag make regexes stateful
    
      var v46Exact = new RegExp("(?:^" + v4 + "$)|(?:^" + v6 + "$)");
      var v4exact = new RegExp("^" + v4 + "$");
      var v6exact = new RegExp("^" + v6 + "$");
    
      var ip = function ip(options) {
        return options && options.exact ? v46Exact : new RegExp("(?:" + b(options) + v4 + b(options) + ")|(?:" + b(options) + v6 + b(options) + ")", 'g');
      };
    
      ip.v4 = function (options) {
        return options && options.exact ? v4exact : new RegExp("" + b(options) + v4 + b(options), 'g');
      };
    
      ip.v6 = function (options) {
        return options && options.exact ? v6exact : new RegExp("" + b(options) + v6 + b(options), 'g');
      };
    
      var protocol = "(?:(?:[a-z]+:)?//)";
      var auth = '(?:\\S+(?::\\S*)?@)?';
      var ipv4 = ip.v4().source;
      var ipv6 = ip.v6().source;
      var host = "(?:(?:[a-z\\u00a1-\\uffff0-9][-_]*)*[a-z\\u00a1-\\uffff0-9]+)";
      var domain = "(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*";
      var tld = "(?:\\.(?:[a-z\\u00a1-\\uffff]{2,}))";
      var port = '(?::\\d{2,5})?';
      var path = '(?:[/?#][^\\s"]*)?';
      var regex = "(?:" + protocol + "|www\\.)" + auth + "(?:localhost|" + ipv4 + "|" + ipv6 + "|" + host + domain + tld + ")" + port + path;
      urlReg = new RegExp("(?:^" + regex + "$)", 'i');
      return urlReg;
    });
    
    /* eslint max-len:0 */
    
    var pattern$2 = {
      // http://emailregex.com/
      email: /^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+\.)+[a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}))$/,
      // url: new RegExp(
      //   '^(?!mailto:)(?:(?:http|https|ftp)://|//)(?:\\S+(?::\\S*)?@)?(?:(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[0-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))|localhost)(?::\\d{2,5})?(?:(/|\\?|#)[^\\s]*)?$',
      //   'i',
      // ),
      hex: /^#?([a-f0-9]{6}|[a-f0-9]{3})$/i
    };
    var types = {
      integer: function integer(value) {
        return types.number(value) && parseInt(value, 10) === value;
      },
      "float": function float(value) {
        return types.number(value) && !types.integer(value);
      },
      array: function array(value) {
        return Array.isArray(value);
      },
      regexp: function regexp(value) {
        if (value instanceof RegExp) {
          return true;
        }
    
        try {
          return !!new RegExp(value);
        } catch (e) {
          return false;
        }
      },
      date: function date(value) {
        return typeof value.getTime === 'function' && typeof value.getMonth === 'function' && typeof value.getYear === 'function' && !isNaN(value.getTime());
      },
      number: function number(value) {
        if (isNaN(value)) {
          return false;
        }
    
        return typeof value === 'number';
      },
      object: function object(value) {
        return typeof value === 'object' && !types.array(value);
      },
      method: function method(value) {
        return typeof value === 'function';
      },
      email: function email(value) {
        return typeof value === 'string' && value.length <= 320 && !!value.match(pattern$2.email);
      },
      url: function url(value) {
        return typeof value === 'string' && value.length <= 2048 && !!value.match(getUrlRegex());
      },
      hex: function hex(value) {
        return typeof value === 'string' && !!value.match(pattern$2.hex);
      }
    };
    
    var type$1 = function type(rule, value, source, errors, options) {
      if (rule.required && value === undefined) {
        required$1(rule, value, source, errors, options);
        return;
      }
    
      var custom = ['integer', 'float', 'array', 'regexp', 'object', 'method', 'email', 'number', 'date', 'url', 'hex'];
      var ruleType = rule.type;
    
      if (custom.indexOf(ruleType) > -1) {
        if (!types[ruleType](value)) {
          errors.push(format(options.messages.types[ruleType], rule.fullField, rule.type));
        } // straight typeof check
    
      } else if (ruleType && typeof value !== rule.type) {
        errors.push(format(options.messages.types[ruleType], rule.fullField, rule.type));
      }
    };
    
    var range = function range(rule, value, source, errors, options) {
      var len = typeof rule.len === 'number';
      var min = typeof rule.min === 'number';
      var max = typeof rule.max === 'number'; // 正则匹配码点范围从U+010000一直到U+10FFFF的文字(补充平面Supplementary Plane)
    
      var spRegexp = /[\uD800-\uDBFF][\uDC00-\uDFFF]/g;
      var val = value;
      var key = null;
      var num = typeof value === 'number';
      var str = typeof value === 'string';
      var arr = Array.isArray(value);
    
      if (num) {
        key = 'number';
      } else if (str) {
        key = 'string';
      } else if (arr) {
        key = 'array';
      } // if the value is not of a supported type for range validation
      // the validation rule rule should use the
      // type property to also test for a particular type
    
    
      if (!key) {
        return false;
      }
    
      if (arr) {
        val = value.length;
      }
    
      if (str) {
        // 处理码点大于U+010000的文字length属性不准确的bug,如"𠮷𠮷𠮷".lenght !== 3
        val = value.replace(spRegexp, '_').length;
      }
    
      if (len) {
        if (val !== rule.len) {
          errors.push(format(options.messages[key].len, rule.fullField, rule.len));
        }
      } else if (min && !max && val < rule.min) {
        errors.push(format(options.messages[key].min, rule.fullField, rule.min));
      } else if (max && !min && val > rule.max) {
        errors.push(format(options.messages[key].max, rule.fullField, rule.max));
      } else if (min && max && (val < rule.min || val > rule.max)) {
        errors.push(format(options.messages[key].range, rule.fullField, rule.min, rule.max));
      }
    };
    
    var ENUM$1 = 'enum';
    
    var enumerable$1 = function enumerable(rule, value, source, errors, options) {
      rule[ENUM$1] = Array.isArray(rule[ENUM$1]) ? rule[ENUM$1] : [];
    
      if (rule[ENUM$1].indexOf(value) === -1) {
        errors.push(format(options.messages[ENUM$1], rule.fullField, rule[ENUM$1].join(', ')));
      }
    };
    
    var pattern$1 = function pattern(rule, value, source, errors, options) {
      if (rule.pattern) {
        if (rule.pattern instanceof RegExp) {
          // if a RegExp instance is passed, reset `lastIndex` in case its `global`
          // flag is accidentally set to `true`, which in a validation scenario
          // is not necessary and the result might be misleading
          rule.pattern.lastIndex = 0;
    
          if (!rule.pattern.test(value)) {
            errors.push(format(options.messages.pattern.mismatch, rule.fullField, value, rule.pattern));
          }
        } else if (typeof rule.pattern === 'string') {
          var _pattern = new RegExp(rule.pattern);
    
          if (!_pattern.test(value)) {
            errors.push(format(options.messages.pattern.mismatch, rule.fullField, value, rule.pattern));
          }
        }
      }
    };
    
    var rules = {
      required: required$1,
      whitespace: whitespace,
      type: type$1,
      range: range,
      "enum": enumerable$1,
      pattern: pattern$1
    };
    
    var string = function string(rule, value, callback, source, options) {
      var errors = [];
      var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);
    
      if (validate) {
        if (isEmptyValue(value, 'string') && !rule.required) {
          return callback();
        }
    
        rules.required(rule, value, source, errors, options, 'string');
    
        if (!isEmptyValue(value, 'string')) {
          rules.type(rule, value, source, errors, options);
          rules.range(rule, value, source, errors, options);
          rules.pattern(rule, value, source, errors, options);
    
          if (rule.whitespace === true) {
            rules.whitespace(rule, value, source, errors, options);
          }
        }
      }
    
      callback(errors);
    };
    
    var method = function method(rule, value, callback, source, options) {
      var errors = [];
      var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);
    
      if (validate) {
        if (isEmptyValue(value) && !rule.required) {
          return callback();
        }
    
        rules.required(rule, value, source, errors, options);
    
        if (value !== undefined) {
          rules.type(rule, value, source, errors, options);
        }
      }
    
      callback(errors);
    };
    
    var number = function number(rule, value, callback, source, options) {
      var errors = [];
      var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);
    
      if (validate) {
        if (value === '') {
          value = undefined;
        }
    
        if (isEmptyValue(value) && !rule.required) {
          return callback();
        }
    
        rules.required(rule, value, source, errors, options);
    
        if (value !== undefined) {
          rules.type(rule, value, source, errors, options);
          rules.range(rule, value, source, errors, options);
        }
      }
    
      callback(errors);
    };
    
    var _boolean = function _boolean(rule, value, callback, source, options) {
      var errors = [];
      var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);
    
      if (validate) {
        if (isEmptyValue(value) && !rule.required) {
          return callback();
        }
    
        rules.required(rule, value, source, errors, options);
    
        if (value !== undefined) {
          rules.type(rule, value, source, errors, options);
        }
      }
    
      callback(errors);
    };
    
    var regexp = function regexp(rule, value, callback, source, options) {
      var errors = [];
      var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);
    
      if (validate) {
        if (isEmptyValue(value) && !rule.required) {
          return callback();
        }
    
        rules.required(rule, value, source, errors, options);
    
        if (!isEmptyValue(value)) {
          rules.type(rule, value, source, errors, options);
        }
      }
    
      callback(errors);
    };
    
    var integer = function integer(rule, value, callback, source, options) {
      var errors = [];
      var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);
    
      if (validate) {
        if (isEmptyValue(value) && !rule.required) {
          return callback();
        }
    
        rules.required(rule, value, source, errors, options);
    
        if (value !== undefined) {
          rules.type(rule, value, source, errors, options);
          rules.range(rule, value, source, errors, options);
        }
      }
    
      callback(errors);
    };
    
    var floatFn = function floatFn(rule, value, callback, source, options) {
      var errors = [];
      var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);
    
      if (validate) {
        if (isEmptyValue(value) && !rule.required) {
          return callback();
        }
    
        rules.required(rule, value, source, errors, options);
    
        if (value !== undefined) {
          rules.type(rule, value, source, errors, options);
          rules.range(rule, value, source, errors, options);
        }
      }
    
      callback(errors);
    };
    
    var array = function array(rule, value, callback, source, options) {
      var errors = [];
      var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);
    
      if (validate) {
        if ((value === undefined || value === null) && !rule.required) {
          return callback();
        }
    
        rules.required(rule, value, source, errors, options, 'array');
    
        if (value !== undefined && value !== null) {
          rules.type(rule, value, source, errors, options);
          rules.range(rule, value, source, errors, options);
        }
      }
    
      callback(errors);
    };
    
    var object = function object(rule, value, callback, source, options) {
      var errors = [];
      var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);
    
      if (validate) {
        if (isEmptyValue(value) && !rule.required) {
          return callback();
        }
    
        rules.required(rule, value, source, errors, options);
    
        if (value !== undefined) {
          rules.type(rule, value, source, errors, options);
        }
      }
    
      callback(errors);
    };
    
    var ENUM = 'enum';
    
    var enumerable = function enumerable(rule, value, callback, source, options) {
      var errors = [];
      var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);
    
      if (validate) {
        if (isEmptyValue(value) && !rule.required) {
          return callback();
        }
    
        rules.required(rule, value, source, errors, options);
    
        if (value !== undefined) {
          rules[ENUM](rule, value, source, errors, options);
        }
      }
    
      callback(errors);
    };
    
    var pattern = function pattern(rule, value, callback, source, options) {
      var errors = [];
      var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);
    
      if (validate) {
        if (isEmptyValue(value, 'string') && !rule.required) {
          return callback();
        }
    
        rules.required(rule, value, source, errors, options);
    
        if (!isEmptyValue(value, 'string')) {
          rules.pattern(rule, value, source, errors, options);
        }
      }
    
      callback(errors);
    };
    
    var date = function date(rule, value, callback, source, options) {
      // console.log('integer rule called %j', rule);
      var errors = [];
      var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field); // console.log('validate on %s value', value);
    
      if (validate) {
        if (isEmptyValue(value, 'date') && !rule.required) {
          return callback();
        }
    
        rules.required(rule, value, source, errors, options);
    
        if (!isEmptyValue(value, 'date')) {
          var dateObject;
    
          if (value instanceof Date) {
            dateObject = value;
          } else {
            dateObject = new Date(value);
          }
    
          rules.type(rule, dateObject, source, errors, options);
    
          if (dateObject) {
            rules.range(rule, dateObject.getTime(), source, errors, options);
          }
        }
      }
    
      callback(errors);
    };
    
    var required = function required(rule, value, callback, source, options) {
      var errors = [];
      var type = Array.isArray(value) ? 'array' : typeof value;
      rules.required(rule, value, source, errors, options, type);
      callback(errors);
    };
    
    var type = function type(rule, value, callback, source, options) {
      var ruleType = rule.type;
      var errors = [];
      var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);
    
      if (validate) {
        if (isEmptyValue(value, ruleType) && !rule.required) {
          return callback();
        }
    
        rules.required(rule, value, source, errors, options, ruleType);
    
        if (!isEmptyValue(value, ruleType)) {
          rules.type(rule, value, source, errors, options);
        }
      }
    
      callback(errors);
    };
    
    var any = function any(rule, value, callback, source, options) {
      var errors = [];
      var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);
    
      if (validate) {
        if (isEmptyValue(value) && !rule.required) {
          return callback();
        }
    
        rules.required(rule, value, source, errors, options);
      }
    
      callback(errors);
    };
    
    var validators = {
      string: string,
      method: method,
      number: number,
      "boolean": _boolean,
      regexp: regexp,
      integer: integer,
      "float": floatFn,
      array: array,
      object: object,
      "enum": enumerable,
      pattern: pattern,
      date: date,
      url: type,
      hex: type,
      email: type,
      required: required,
      any: any
    };
    
    function newMessages() {
      return {
        "default": 'Validation error on field %s',
        required: '%s is required',
        "enum": '%s must be one of %s',
        whitespace: '%s cannot be empty',
        date: {
          format: '%s date %s is invalid for format %s',
          parse: '%s date could not be parsed, %s is invalid ',
          invalid: '%s date %s is invalid'
        },
        types: {
          string: '%s is not a %s',
          method: '%s is not a %s (function)',
          array: '%s is not an %s',
          object: '%s is not an %s',
          number: '%s is not a %s',
          date: '%s is not a %s',
          "boolean": '%s is not a %s',
          integer: '%s is not an %s',
          "float": '%s is not a %s',
          regexp: '%s is not a valid %s',
          email: '%s is not a valid %s',
          url: '%s is not a valid %s',
          hex: '%s is not a valid %s'
        },
        string: {
          len: '%s must be exactly %s characters',
          min: '%s must be at least %s characters',
          max: '%s cannot be longer than %s characters',
          range: '%s must be between %s and %s characters'
        },
        number: {
          len: '%s must equal %s',
          min: '%s cannot be less than %s',
          max: '%s cannot be greater than %s',
          range: '%s must be between %s and %s'
        },
        array: {
          len: '%s must be exactly %s in length',
          min: '%s cannot be less than %s in length',
          max: '%s cannot be greater than %s in length',
          range: '%s must be between %s and %s in length'
        },
        pattern: {
          mismatch: '%s value %s does not match pattern %s'
        },
        clone: function clone() {
          var cloned = JSON.parse(JSON.stringify(this));
          cloned.clone = this.clone;
          return cloned;
        }
      };
    }
    var messages = newMessages();
    
    /**
     *  Encapsulates a validation schema.
     *
     *  @param descriptor An object declaring validation rules
     *  for this schema.
     */
    
    var Schema = /*#__PURE__*/function () {
      // ========================= Static =========================
      // ======================== Instance ========================
      function Schema(descriptor) {
        this.rules = null;
        this._messages = messages;
        this.define(descriptor);
      }
    
      var _proto = Schema.prototype;
    
      _proto.define = function define(rules) {
        var _this = this;
    
        if (!rules) {
          throw new Error('Cannot configure a schema with no rules');
        }
    
        if (typeof rules !== 'object' || Array.isArray(rules)) {
          throw new Error('Rules must be an object');
        }
    
        this.rules = {};
        Object.keys(rules).forEach(function (name) {
          var item = rules[name];
          _this.rules[name] = Array.isArray(item) ? item : [item];
        });
      };
    
      _proto.messages = function messages(_messages) {
        if (_messages) {
          this._messages = deepMerge(newMessages(), _messages);
        }
    
        return this._messages;
      };
    
      _proto.validate = function validate(source_, o, oc) {
        var _this2 = this;
    
        if (o === void 0) {
          o = {};
        }
    
        if (oc === void 0) {
          oc = function oc() {};
        }
    
        var source = source_;
        var options = o;
        var callback = oc;
    
        if (typeof options === 'function') {
          callback = options;
          options = {};
        }
    
        if (!this.rules || Object.keys(this.rules).length === 0) {
          if (callback) {
            callback(null, source);
          }
    
          return Promise.resolve(source);
        }
    
        function complete(results) {
          var errors = [];
          var fields = {};
    
          function add(e) {
            if (Array.isArray(e)) {
              var _errors;
    
              errors = (_errors = errors).concat.apply(_errors, e);
            } else {
              errors.push(e);
            }
          }
    
          for (var i = 0; i < results.length; i++) {
            add(results[i]);
          }
    
          if (!errors.length) {
            callback(null, source);
          } else {
            fields = convertFieldsError(errors);
            callback(errors, fields);
          }
        }
    
        if (options.messages) {
          var messages$1 = this.messages();
    
          if (messages$1 === messages) {
            messages$1 = newMessages();
          }
    
          deepMerge(messages$1, options.messages);
          options.messages = messages$1;
        } else {
          options.messages = this.messages();
        }
    
        var series = {};
        var keys = options.keys || Object.keys(this.rules);
        keys.forEach(function (z) {
          var arr = _this2.rules[z];
          var value = source[z];
          arr.forEach(function (r) {
            var rule = r;
    
            if (typeof rule.transform === 'function') {
              if (source === source_) {
                source = _extends({}, source);
              }
    
              value = source[z] = rule.transform(value);
            }
    
            if (typeof rule === 'function') {
              rule = {
                validator: rule
              };
            } else {
              rule = _extends({}, rule);
            } // Fill validator. Skip if nothing need to validate
    
    
            rule.validator = _this2.getValidationMethod(rule);
    
            if (!rule.validator) {
              return;
            }
    
            rule.field = z;
            rule.fullField = rule.fullField || z;
            rule.type = _this2.getType(rule);
            series[z] = series[z] || [];
            series[z].push({
              rule: rule,
              value: value,
              source: source,
              field: z
            });
          });
        });
        var errorFields = {};
        return asyncMap(series, options, function (data, doIt) {
          var rule = data.rule;
          var deep = (rule.type === 'object' || rule.type === 'array') && (typeof rule.fields === 'object' || typeof rule.defaultField === 'object');
          deep = deep && (rule.required || !rule.required && data.value);
          rule.field = data.field;
    
          function addFullField(key, schema) {
            return _extends({}, schema, {
              fullField: rule.fullField + "." + key,
              fullFields: rule.fullFields ? [].concat(rule.fullFields, [key]) : [key]
            });
          }
    
          function cb(e) {
            if (e === void 0) {
              e = [];
            }
    
            var errorList = Array.isArray(e) ? e : [e];
    
            if (!options.suppressWarning && errorList.length) {
              Schema.warning('async-validator:', errorList);
            }
    
            if (errorList.length && rule.message !== undefined) {
              errorList = [].concat(rule.message);
            } // Fill error info
    
    
            var filledErrors = errorList.map(complementError(rule, source));
    
            if (options.first && filledErrors.length) {
              errorFields[rule.field] = 1;
              return doIt(filledErrors);
            }
    
            if (!deep) {
              doIt(filledErrors);
            } else {
              // if rule is required but the target object
              // does not exist fail at the rule level and don't
              // go deeper
              if (rule.required && !data.value) {
                if (rule.message !== undefined) {
                  filledErrors = [].concat(rule.message).map(complementError(rule, source));
                } else if (options.error) {
                  filledErrors = [options.error(rule, format(options.messages.required, rule.field))];
                }
    
                return doIt(filledErrors);
              }
    
              var fieldsSchema = {};
    
              if (rule.defaultField) {
                Object.keys(data.value).map(function (key) {
                  fieldsSchema[key] = rule.defaultField;
                });
              }
    
              fieldsSchema = _extends({}, fieldsSchema, data.rule.fields);
              var paredFieldsSchema = {};
              Object.keys(fieldsSchema).forEach(function (field) {
                var fieldSchema = fieldsSchema[field];
                var fieldSchemaList = Array.isArray(fieldSchema) ? fieldSchema : [fieldSchema];
                paredFieldsSchema[field] = fieldSchemaList.map(addFullField.bind(null, field));
              });
              var schema = new Schema(paredFieldsSchema);
              schema.messages(options.messages);
    
              if (data.rule.options) {
                data.rule.options.messages = options.messages;
                data.rule.options.error = options.error;
              }
    
              schema.validate(data.value, data.rule.options || options, function (errs) {
                var finalErrors = [];
    
                if (filledErrors && filledErrors.length) {
                  finalErrors.push.apply(finalErrors, filledErrors);
                }
    
                if (errs && errs.length) {
                  finalErrors.push.apply(finalErrors, errs);
                }
    
                doIt(finalErrors.length ? finalErrors : null);
              });
            }
          }
    
          var res;
    
          if (rule.asyncValidator) {
            res = rule.asyncValidator(rule, data.value, cb, data.source, options);
          } else if (rule.validator) {
            try {
              res = rule.validator(rule, data.value, cb, data.source, options);
            } catch (error) {
              console.error == null ? void 0 : console.error(error); // rethrow to report error
    
              if (!options.suppressValidatorError) {
                setTimeout(function () {
                  throw error;
                }, 0);
              }
    
              cb(error.message);
            }
    
            if (res === true) {
              cb();
            } else if (res === false) {
              cb(typeof rule.message === 'function' ? rule.message(rule.fullField || rule.field) : rule.message || (rule.fullField || rule.field) + " fails");
            } else if (res instanceof Array) {
              cb(res);
            } else if (res instanceof Error) {
              cb(res.message);
            }
          }
    
          if (res && res.then) {
            res.then(function () {
              return cb();
            }, function (e) {
              return cb(e);
            });
          }
        }, function (results) {
          complete(results);
        }, source);
      };
    
      _proto.getType = function getType(rule) {
        if (rule.type === undefined && rule.pattern instanceof RegExp) {
          rule.type = 'pattern';
        }
    
        if (typeof rule.validator !== 'function' && rule.type && !validators.hasOwnProperty(rule.type)) {
          throw new Error(format('Unknown rule type %s', rule.type));
        }
    
        return rule.type || 'string';
      };
    
      _proto.getValidationMethod = function getValidationMethod(rule) {
        if (typeof rule.validator === 'function') {
          return rule.validator;
        }
    
        var keys = Object.keys(rule);
        var messageIndex = keys.indexOf('message');
    
        if (messageIndex !== -1) {
          keys.splice(messageIndex, 1);
        }
    
        if (keys.length === 1 && keys[0] === 'required') {
          return validators.required;
        }
    
        return validators[this.getType(rule)] || undefined;
      };
    
      return Schema;
    }();
    
    Schema.register = function register(type, validator) {
      if (typeof validator !== 'function') {
        throw new Error('Cannot register a validator by type, validator is not a function');
      }
    
      validators[type] = validator;
    };
    
    Schema.warning = dist_web_warning;
    Schema.messages = messages;
    Schema.validators = validators;
    
    
    //# sourceMappingURL=index.js.map
    
    ;// CONCATENATED MODULE: ./node_modules/_rc-field-form@1.38.2@rc-field-form/es/utils/messages.js
    var typeTemplate = "'${name}' is not a valid ${type}";
    var defaultValidateMessages = {
      default: "Validation error on field '${name}'",
      required: "'${name}' is required",
      enum: "'${name}' must be one of [${enum}]",
      whitespace: "'${name}' cannot be empty",
      date: {
        format: "'${name}' is invalid for format date",
        parse: "'${name}' could not be parsed as date",
        invalid: "'${name}' is invalid date"
      },
      types: {
        string: typeTemplate,
        method: typeTemplate,
        array: typeTemplate,
        object: typeTemplate,
        number: typeTemplate,
        date: typeTemplate,
        boolean: typeTemplate,
        integer: typeTemplate,
        float: typeTemplate,
        regexp: typeTemplate,
        email: typeTemplate,
        url: typeTemplate,
        hex: typeTemplate
      },
      string: {
        len: "'${name}' must be exactly ${len} characters",
        min: "'${name}' must be at least ${min} characters",
        max: "'${name}' cannot be longer than ${max} characters",
        range: "'${name}' must be between ${min} and ${max} characters"
      },
      number: {
        len: "'${name}' must equal ${len}",
        min: "'${name}' cannot be less than ${min}",
        max: "'${name}' cannot be greater than ${max}",
        range: "'${name}' must be between ${min} and ${max}"
      },
      array: {
        len: "'${name}' must be exactly ${len} in length",
        min: "'${name}' cannot be less than ${min} in length",
        max: "'${name}' cannot be greater than ${max} in length",
        range: "'${name}' must be between ${min} and ${max} in length"
      },
      pattern: {
        mismatch: "'${name}' does not match pattern ${pattern}"
      }
    };
    // EXTERNAL MODULE: ./node_modules/_rc-util@5.44.4@rc-util/es/utils/set.js
    var set = __webpack_require__(24434);
    ;// CONCATENATED MODULE: ./node_modules/_rc-field-form@1.38.2@rc-field-form/es/utils/validateUtil.js
    
    
    
    
    
    
    
    
    
    
    
    // Remove incorrect original ts define
    var AsyncValidator = Schema;
    
    /**
     * Replace with template.
     *   `I'm ${name}` + { name: 'bamboo' } = I'm bamboo
     */
    function replaceMessage(template, kv) {
      return template.replace(/\$\{\w+\}/g, function (str) {
        var key = str.slice(2, -1);
        return kv[key];
      });
    }
    var CODE_LOGIC_ERROR = 'CODE_LOGIC_ERROR';
    function validateRule(_x, _x2, _x3, _x4, _x5) {
      return _validateRule.apply(this, arguments);
    }
    /**
     * We use `async-validator` to validate the value.
     * But only check one value in a time to avoid namePath validate issue.
     */
    function _validateRule() {
      _validateRule = (0,asyncToGenerator/* default */.Z)( /*#__PURE__*/(0,regeneratorRuntime/* default */.Z)().mark(function _callee2(name, value, rule, options, messageVariables) {
        var cloneRule, originValidator, subRuleField, validator, messages, result, subResults, kv, fillVariableResult;
        return (0,regeneratorRuntime/* default */.Z)().wrap(function _callee2$(_context2) {
          while (1) switch (_context2.prev = _context2.next) {
            case 0:
              cloneRule = (0,objectSpread2/* default */.Z)({}, rule); // Bug of `async-validator`
              // https://github.com/react-component/field-form/issues/316
              // https://github.com/react-component/field-form/issues/313
              delete cloneRule.ruleIndex;
    
              // https://github.com/ant-design/ant-design/issues/40497#issuecomment-1422282378
              AsyncValidator.warning = function () {
                return void 0;
              };
              if (cloneRule.validator) {
                originValidator = cloneRule.validator;
                cloneRule.validator = function () {
                  try {
                    return originValidator.apply(void 0, arguments);
                  } catch (error) {
                    console.error(error);
                    return Promise.reject(CODE_LOGIC_ERROR);
                  }
                };
              }
    
              // We should special handle array validate
              subRuleField = null;
              if (cloneRule && cloneRule.type === 'array' && cloneRule.defaultField) {
                subRuleField = cloneRule.defaultField;
                delete cloneRule.defaultField;
              }
              validator = new AsyncValidator((0,defineProperty/* default */.Z)({}, name, [cloneRule]));
              messages = (0,set/* merge */.T)(defaultValidateMessages, options.validateMessages);
              validator.messages(messages);
              result = [];
              _context2.prev = 10;
              _context2.next = 13;
              return Promise.resolve(validator.validate((0,defineProperty/* default */.Z)({}, name, value), (0,objectSpread2/* default */.Z)({}, options)));
            case 13:
              _context2.next = 18;
              break;
            case 15:
              _context2.prev = 15;
              _context2.t0 = _context2["catch"](10);
              if (_context2.t0.errors) {
                result = _context2.t0.errors.map(function (_ref4, index) {
                  var message = _ref4.message;
                  var mergedMessage = message === CODE_LOGIC_ERROR ? messages.default : message;
                  return /*#__PURE__*/_react_17_0_2_react.isValidElement(mergedMessage) ?
                  /*#__PURE__*/
                  // Wrap ReactNode with `key`
                  _react_17_0_2_react.cloneElement(mergedMessage, {
                    key: "error_".concat(index)
                  }) : mergedMessage;
                });
              }
            case 18:
              if (!(!result.length && subRuleField)) {
                _context2.next = 23;
                break;
              }
              _context2.next = 21;
              return Promise.all(value.map(function (subValue, i) {
                return validateRule("".concat(name, ".").concat(i), subValue, subRuleField, options, messageVariables);
              }));
            case 21:
              subResults = _context2.sent;
              return _context2.abrupt("return", subResults.reduce(function (prev, errors) {
                return [].concat((0,toConsumableArray/* default */.Z)(prev), (0,toConsumableArray/* default */.Z)(errors));
              }, []));
            case 23:
              // Replace message with variables
              kv = (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, rule), {}, {
                name: name,
                enum: (rule.enum || []).join(', ')
              }, messageVariables);
              fillVariableResult = result.map(function (error) {
                if (typeof error === 'string') {
                  return replaceMessage(error, kv);
                }
                return error;
              });
              return _context2.abrupt("return", fillVariableResult);
            case 26:
            case "end":
              return _context2.stop();
          }
        }, _callee2, null, [[10, 15]]);
      }));
      return _validateRule.apply(this, arguments);
    }
    function validateRules(namePath, value, rules, options, validateFirst, messageVariables) {
      var name = namePath.join('.');
    
      // Fill rule with context
      var filledRules = rules.map(function (currentRule, ruleIndex) {
        var originValidatorFunc = currentRule.validator;
        var cloneRule = (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, currentRule), {}, {
          ruleIndex: ruleIndex
        });
    
        // Replace validator if needed
        if (originValidatorFunc) {
          cloneRule.validator = function (rule, val, callback) {
            var hasPromise = false;
    
            // Wrap callback only accept when promise not provided
            var wrappedCallback = function wrappedCallback() {
              for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
                args[_key] = arguments[_key];
              }
              // Wait a tick to make sure return type is a promise
              Promise.resolve().then(function () {
                (0,warning/* default */.ZP)(!hasPromise, 'Your validator function has already return a promise. `callback` will be ignored.');
                if (!hasPromise) {
                  callback.apply(void 0, args);
                }
              });
            };
    
            // Get promise
            var promise = originValidatorFunc(rule, val, wrappedCallback);
            hasPromise = promise && typeof promise.then === 'function' && typeof promise.catch === 'function';
    
            /**
             * 1. Use promise as the first priority.
             * 2. If promise not exist, use callback with warning instead
             */
            (0,warning/* default */.ZP)(hasPromise, '`callback` is deprecated. Please return a promise instead.');
            if (hasPromise) {
              promise.then(function () {
                callback();
              }).catch(function (err) {
                callback(err || ' ');
              });
            }
          };
        }
        return cloneRule;
      }).sort(function (_ref, _ref2) {
        var w1 = _ref.warningOnly,
          i1 = _ref.ruleIndex;
        var w2 = _ref2.warningOnly,
          i2 = _ref2.ruleIndex;
        if (!!w1 === !!w2) {
          // Let keep origin order
          return i1 - i2;
        }
        if (w1) {
          return 1;
        }
        return -1;
      });
    
      // Do validate rules
      var summaryPromise;
      if (validateFirst === true) {
        // >>>>> Validate by serialization
        summaryPromise = new Promise( /*#__PURE__*/function () {
          var _ref3 = (0,asyncToGenerator/* default */.Z)( /*#__PURE__*/(0,regeneratorRuntime/* default */.Z)().mark(function _callee(resolve, reject) {
            var i, rule, errors;
            return (0,regeneratorRuntime/* default */.Z)().wrap(function _callee$(_context) {
              while (1) switch (_context.prev = _context.next) {
                case 0:
                  i = 0;
                case 1:
                  if (!(i < filledRules.length)) {
                    _context.next = 12;
                    break;
                  }
                  rule = filledRules[i];
                  _context.next = 5;
                  return validateRule(name, value, rule, options, messageVariables);
                case 5:
                  errors = _context.sent;
                  if (!errors.length) {
                    _context.next = 9;
                    break;
                  }
                  reject([{
                    errors: errors,
                    rule: rule
                  }]);
                  return _context.abrupt("return");
                case 9:
                  i += 1;
                  _context.next = 1;
                  break;
                case 12:
                  /* eslint-enable */
    
                  resolve([]);
                case 13:
                case "end":
                  return _context.stop();
              }
            }, _callee);
          }));
          return function (_x6, _x7) {
            return _ref3.apply(this, arguments);
          };
        }());
      } else {
        // >>>>> Validate by parallel
        var rulePromises = filledRules.map(function (rule) {
          return validateRule(name, value, rule, options, messageVariables).then(function (errors) {
            return {
              errors: errors,
              rule: rule
            };
          });
        });
        summaryPromise = (validateFirst ? finishOnFirstFailed(rulePromises) : finishOnAllFailed(rulePromises)).then(function (errors) {
          // Always change to rejection for Field to catch
          return Promise.reject(errors);
        });
      }
    
      // Internal catch error to avoid console error log.
      summaryPromise.catch(function (e) {
        return e;
      });
      return summaryPromise;
    }
    function finishOnAllFailed(_x8) {
      return _finishOnAllFailed.apply(this, arguments);
    }
    function _finishOnAllFailed() {
      _finishOnAllFailed = (0,asyncToGenerator/* default */.Z)( /*#__PURE__*/(0,regeneratorRuntime/* default */.Z)().mark(function _callee3(rulePromises) {
        return (0,regeneratorRuntime/* default */.Z)().wrap(function _callee3$(_context3) {
          while (1) switch (_context3.prev = _context3.next) {
            case 0:
              return _context3.abrupt("return", Promise.all(rulePromises).then(function (errorsList) {
                var _ref5;
                var errors = (_ref5 = []).concat.apply(_ref5, (0,toConsumableArray/* default */.Z)(errorsList));
                return errors;
              }));
            case 1:
            case "end":
              return _context3.stop();
          }
        }, _callee3);
      }));
      return _finishOnAllFailed.apply(this, arguments);
    }
    function finishOnFirstFailed(_x9) {
      return _finishOnFirstFailed.apply(this, arguments);
    }
    function _finishOnFirstFailed() {
      _finishOnFirstFailed = (0,asyncToGenerator/* default */.Z)( /*#__PURE__*/(0,regeneratorRuntime/* default */.Z)().mark(function _callee4(rulePromises) {
        var count;
        return (0,regeneratorRuntime/* default */.Z)().wrap(function _callee4$(_context4) {
          while (1) switch (_context4.prev = _context4.next) {
            case 0:
              count = 0;
              return _context4.abrupt("return", new Promise(function (resolve) {
                rulePromises.forEach(function (promise) {
                  promise.then(function (ruleError) {
                    if (ruleError.errors.length) {
                      resolve([ruleError]);
                    }
                    count += 1;
                    if (count === rulePromises.length) {
                      resolve([]);
                    }
                  });
                });
              }));
            case 2:
            case "end":
              return _context4.stop();
          }
        }, _callee4);
      }));
      return _finishOnFirstFailed.apply(this, arguments);
    }
    // EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.28.6@@babel/runtime/helpers/esm/typeof.js
    var esm_typeof = __webpack_require__(43749);
    // EXTERNAL MODULE: ./node_modules/_rc-util@5.44.4@rc-util/es/utils/get.js
    var get = __webpack_require__(97938);
    ;// CONCATENATED MODULE: ./node_modules/_rc-field-form@1.38.2@rc-field-form/es/utils/valueUtil.js
    
    
    
    
    
    
    
    /**
     * Convert name to internal supported format.
     * This function should keep since we still thinking if need support like `a.b.c` format.
     * 'a' => ['a']
     * 123 => [123]
     * ['a', 123] => ['a', 123]
     */
    function getNamePath(path) {
      return typeUtil_toArray(path);
    }
    function cloneByNamePathList(store, namePathList) {
      var newStore = {};
      namePathList.forEach(function (namePath) {
        var value = (0,get/* default */.Z)(store, namePath);
        newStore = (0,set/* default */.Z)(newStore, namePath, value);
      });
      return newStore;
    }
    
    /**
     * Check if `namePathList` includes `namePath`.
     * @param namePathList A list of `InternalNamePath[]`
     * @param namePath Compare `InternalNamePath`
     * @param partialMatch True will make `[a, b]` match `[a, b, c]`
     */
    function containsNamePath(namePathList, namePath) {
      var partialMatch = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
      return namePathList && namePathList.some(function (path) {
        return matchNamePath(namePath, path, partialMatch);
      });
    }
    
    /**
     * Check if `namePath` is super set or equal of `subNamePath`.
     * @param namePath A list of `InternalNamePath[]`
     * @param subNamePath Compare `InternalNamePath`
     * @param partialMatch True will make `[a, b]` match `[a, b, c]`
     */
    function matchNamePath(namePath, subNamePath) {
      var partialMatch = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
      if (!namePath || !subNamePath) {
        return false;
      }
      if (!partialMatch && namePath.length !== subNamePath.length) {
        return false;
      }
      return subNamePath.every(function (nameUnit, i) {
        return namePath[i] === nameUnit;
      });
    }
    
    // Like `shallowEqual`, but we not check the data which may cause re-render
    
    function isSimilar(source, target) {
      if (source === target) {
        return true;
      }
      if (!source && target || source && !target) {
        return false;
      }
      if (!source || !target || (0,esm_typeof/* default */.Z)(source) !== 'object' || (0,esm_typeof/* default */.Z)(target) !== 'object') {
        return false;
      }
      var sourceKeys = Object.keys(source);
      var targetKeys = Object.keys(target);
      var keys = new Set([].concat(sourceKeys, targetKeys));
      return (0,toConsumableArray/* default */.Z)(keys).every(function (key) {
        var sourceValue = source[key];
        var targetValue = target[key];
        if (typeof sourceValue === 'function' && typeof targetValue === 'function') {
          return true;
        }
        return sourceValue === targetValue;
      });
    }
    function defaultGetValueFromEvent(valuePropName) {
      var event = arguments.length <= 1 ? undefined : arguments[1];
      if (event && event.target && (0,esm_typeof/* default */.Z)(event.target) === 'object' && valuePropName in event.target) {
        return event.target[valuePropName];
      }
      return event;
    }
    
    /**
     * Moves an array item from one position in an array to another.
     *
     * Note: This is a pure function so a new array will be returned, instead
     * of altering the array argument.
     *
     * @param array         Array in which to move an item.         (required)
     * @param moveIndex     The index of the item to move.          (required)
     * @param toIndex       The index to move item at moveIndex to. (required)
     */
    function valueUtil_move(array, moveIndex, toIndex) {
      var length = array.length;
      if (moveIndex < 0 || moveIndex >= length || toIndex < 0 || toIndex >= length) {
        return array;
      }
      var item = array[moveIndex];
      var diff = moveIndex - toIndex;
      if (diff > 0) {
        // move left
        return [].concat((0,toConsumableArray/* default */.Z)(array.slice(0, toIndex)), [item], (0,toConsumableArray/* default */.Z)(array.slice(toIndex, moveIndex)), (0,toConsumableArray/* default */.Z)(array.slice(moveIndex + 1, length)));
      }
      if (diff < 0) {
        // move right
        return [].concat((0,toConsumableArray/* default */.Z)(array.slice(0, moveIndex)), (0,toConsumableArray/* default */.Z)(array.slice(moveIndex + 1, toIndex + 1)), [item], (0,toConsumableArray/* default */.Z)(array.slice(toIndex + 1, length)));
      }
      return array;
    }
    ;// CONCATENATED MODULE: ./node_modules/_rc-field-form@1.38.2@rc-field-form/es/Field.js
    
    
    
    
    
    
    
    
    
    
    
    
    var _excluded = ["name"];
    
    
    
    
    
    
    
    
    
    var EMPTY_ERRORS = [];
    function requireUpdate(shouldUpdate, prev, next, prevValue, nextValue, info) {
      if (typeof shouldUpdate === 'function') {
        return shouldUpdate(prev, next, 'source' in info ? {
          source: info.source
        } : {});
      }
      return prevValue !== nextValue;
    }
    
    // eslint-disable-next-line @typescript-eslint/consistent-indexed-object-style
    // We use Class instead of Hooks here since it will cost much code by using Hooks.
    var Field = /*#__PURE__*/function (_React$Component) {
      (0,inherits/* default */.Z)(Field, _React$Component);
      var _super = (0,createSuper/* default */.Z)(Field);
      // ============================== Subscriptions ==============================
      function Field(props) {
        var _this;
        (0,classCallCheck/* default */.Z)(this, Field);
        _this = _super.call(this, props);
    
        // Register on init
        (0,defineProperty/* default */.Z)((0,assertThisInitialized/* default */.Z)(_this), "state", {
          resetCount: 0
        });
        (0,defineProperty/* default */.Z)((0,assertThisInitialized/* default */.Z)(_this), "cancelRegisterFunc", null);
        (0,defineProperty/* default */.Z)((0,assertThisInitialized/* default */.Z)(_this), "mounted", false);
        /**
         * Follow state should not management in State since it will async update by React.
         * This makes first render of form can not get correct state value.
         */
        (0,defineProperty/* default */.Z)((0,assertThisInitialized/* default */.Z)(_this), "touched", false);
        /**
         * Mark when touched & validated. Currently only used for `dependencies`.
         * Note that we do not think field with `initialValue` is dirty
         * but this will be by `isFieldDirty` func.
         */
        (0,defineProperty/* default */.Z)((0,assertThisInitialized/* default */.Z)(_this), "dirty", false);
        (0,defineProperty/* default */.Z)((0,assertThisInitialized/* default */.Z)(_this), "validatePromise", void 0);
        (0,defineProperty/* default */.Z)((0,assertThisInitialized/* default */.Z)(_this), "prevValidating", void 0);
        (0,defineProperty/* default */.Z)((0,assertThisInitialized/* default */.Z)(_this), "errors", EMPTY_ERRORS);
        (0,defineProperty/* default */.Z)((0,assertThisInitialized/* default */.Z)(_this), "warnings", EMPTY_ERRORS);
        (0,defineProperty/* default */.Z)((0,assertThisInitialized/* default */.Z)(_this), "cancelRegister", function () {
          var _this$props = _this.props,
            preserve = _this$props.preserve,
            isListField = _this$props.isListField,
            name = _this$props.name;
          if (_this.cancelRegisterFunc) {
            _this.cancelRegisterFunc(isListField, preserve, getNamePath(name));
          }
          _this.cancelRegisterFunc = null;
        });
        // ================================== Utils ==================================
        (0,defineProperty/* default */.Z)((0,assertThisInitialized/* default */.Z)(_this), "getNamePath", function () {
          var _this$props2 = _this.props,
            name = _this$props2.name,
            fieldContext = _this$props2.fieldContext;
          var _fieldContext$prefixN = fieldContext.prefixName,
            prefixName = _fieldContext$prefixN === void 0 ? [] : _fieldContext$prefixN;
          return name !== undefined ? [].concat((0,toConsumableArray/* default */.Z)(prefixName), (0,toConsumableArray/* default */.Z)(name)) : [];
        });
        (0,defineProperty/* default */.Z)((0,assertThisInitialized/* default */.Z)(_this), "getRules", function () {
          var _this$props3 = _this.props,
            _this$props3$rules = _this$props3.rules,
            rules = _this$props3$rules === void 0 ? [] : _this$props3$rules,
            fieldContext = _this$props3.fieldContext;
          return rules.map(function (rule) {
            if (typeof rule === 'function') {
              return rule(fieldContext);
            }
            return rule;
          });
        });
        (0,defineProperty/* default */.Z)((0,assertThisInitialized/* default */.Z)(_this), "refresh", function () {
          if (!_this.mounted) return;
    
          /**
           * Clean up current node.
           */
          _this.setState(function (_ref) {
            var resetCount = _ref.resetCount;
            return {
              resetCount: resetCount + 1
            };
          });
        });
        // Event should only trigger when meta changed
        (0,defineProperty/* default */.Z)((0,assertThisInitialized/* default */.Z)(_this), "metaCache", null);
        (0,defineProperty/* default */.Z)((0,assertThisInitialized/* default */.Z)(_this), "triggerMetaEvent", function (destroy) {
          var onMetaChange = _this.props.onMetaChange;
          if (onMetaChange) {
            var _meta = (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, _this.getMeta()), {}, {
              destroy: destroy
            });
            if (!(0,isEqual/* default */.Z)(_this.metaCache, _meta)) {
              onMetaChange(_meta);
            }
            _this.metaCache = _meta;
          } else {
            _this.metaCache = null;
          }
        });
        // ========================= Field Entity Interfaces =========================
        // Trigger by store update. Check if need update the component
        (0,defineProperty/* default */.Z)((0,assertThisInitialized/* default */.Z)(_this), "onStoreChange", function (prevStore, namePathList, info) {
          var _this$props4 = _this.props,
            shouldUpdate = _this$props4.shouldUpdate,
            _this$props4$dependen = _this$props4.dependencies,
            dependencies = _this$props4$dependen === void 0 ? [] : _this$props4$dependen,
            onReset = _this$props4.onReset;
          var store = info.store;
          var namePath = _this.getNamePath();
          var prevValue = _this.getValue(prevStore);
          var curValue = _this.getValue(store);
          var namePathMatch = namePathList && containsNamePath(namePathList, namePath);
    
          // `setFieldsValue` is a quick access to update related status
          if (info.type === 'valueUpdate' && info.source === 'external' && prevValue !== curValue) {
            _this.touched = true;
            _this.dirty = true;
            _this.validatePromise = null;
            _this.errors = EMPTY_ERRORS;
            _this.warnings = EMPTY_ERRORS;
            _this.triggerMetaEvent();
          }
          switch (info.type) {
            case 'reset':
              if (!namePathList || namePathMatch) {
                // Clean up state
                _this.touched = false;
                _this.dirty = false;
                _this.validatePromise = undefined;
                _this.errors = EMPTY_ERRORS;
                _this.warnings = EMPTY_ERRORS;
                _this.triggerMetaEvent();
                onReset === null || onReset === void 0 ? void 0 : onReset();
                _this.refresh();
                return;
              }
              break;
    
            /**
             * In case field with `preserve = false` nest deps like:
             * - A = 1 => show B
             * - B = 1 => show C
             * - Reset A, need clean B, C
             */
            case 'remove':
              {
                if (shouldUpdate) {
                  _this.reRender();
                  return;
                }
                break;
              }
            case 'setField':
              {
                var data = info.data;
                if (namePathMatch) {
                  if ('touched' in data) {
                    _this.touched = data.touched;
                  }
                  if ('validating' in data && !('originRCField' in data)) {
                    _this.validatePromise = data.validating ? Promise.resolve([]) : null;
                  }
                  if ('errors' in data) {
                    _this.errors = data.errors || EMPTY_ERRORS;
                  }
                  if ('warnings' in data) {
                    _this.warnings = data.warnings || EMPTY_ERRORS;
                  }
                  _this.dirty = true;
                  _this.triggerMetaEvent();
                  _this.reRender();
                  return;
                } else if ('value' in data && containsNamePath(namePathList, namePath, true)) {
                  // Contains path with value should also check
                  _this.reRender();
                  return;
                }
    
                // Handle update by `setField` with `shouldUpdate`
                if (shouldUpdate && !namePath.length && requireUpdate(shouldUpdate, prevStore, store, prevValue, curValue, info)) {
                  _this.reRender();
                  return;
                }
                break;
              }
            case 'dependenciesUpdate':
              {
                /**
                 * Trigger when marked `dependencies` updated. Related fields will all update
                 */
                var dependencyList = dependencies.map(getNamePath);
                // No need for `namePathMath` check and `shouldUpdate` check, since `valueUpdate` will be
                // emitted earlier and they will work there
                // If set it may cause unnecessary twice rerendering
                if (dependencyList.some(function (dependency) {
                  return containsNamePath(info.relatedFields, dependency);
                })) {
                  _this.reRender();
                  return;
                }
                break;
              }
            default:
              // 1. If `namePath` exists in `namePathList`, means it's related value and should update
              //      For example <List name="list"><Field name={['list', 0]}></List>
              //      If `namePathList` is [['list']] (List value update), Field should be updated
              //      If `namePathList` is [['list', 0]] (Field value update), List shouldn't be updated
              // 2.
              //   2.1 If `dependencies` is set, `name` is not set and `shouldUpdate` is not set,
              //       don't use `shouldUpdate`. `dependencies` is view as a shortcut if `shouldUpdate`
              //       is not provided
              //   2.2 If `shouldUpdate` provided, use customize logic to update the field
              //       else to check if value changed
              if (namePathMatch || (!dependencies.length || namePath.length || shouldUpdate) && requireUpdate(shouldUpdate, prevStore, store, prevValue, curValue, info)) {
                _this.reRender();
                return;
              }
              break;
          }
          if (shouldUpdate === true) {
            _this.reRender();
          }
        });
        (0,defineProperty/* default */.Z)((0,assertThisInitialized/* default */.Z)(_this), "validateRules", function (options) {
          // We should fixed namePath & value to avoid developer change then by form function
          var namePath = _this.getNamePath();
          var currentValue = _this.getValue();
          var _ref2 = options || {},
            triggerName = _ref2.triggerName,
            _ref2$validateOnly = _ref2.validateOnly,
            validateOnly = _ref2$validateOnly === void 0 ? false : _ref2$validateOnly;
    
          // Force change to async to avoid rule OOD under renderProps field
          var rootPromise = Promise.resolve().then( /*#__PURE__*/(0,asyncToGenerator/* default */.Z)( /*#__PURE__*/(0,regeneratorRuntime/* default */.Z)().mark(function _callee() {
            var _this$props5, _this$props5$validate, validateFirst, messageVariables, validateDebounce, filteredRules, promise;
            return (0,regeneratorRuntime/* default */.Z)().wrap(function _callee$(_context) {
              while (1) switch (_context.prev = _context.next) {
                case 0:
                  if (_this.mounted) {
                    _context.next = 2;
                    break;
                  }
                  return _context.abrupt("return", []);
                case 2:
                  _this$props5 = _this.props, _this$props5$validate = _this$props5.validateFirst, validateFirst = _this$props5$validate === void 0 ? false : _this$props5$validate, messageVariables = _this$props5.messageVariables, validateDebounce = _this$props5.validateDebounce; // Start validate
                  filteredRules = _this.getRules();
                  if (triggerName) {
                    filteredRules = filteredRules.filter(function (rule) {
                      return rule;
                    }).filter(function (rule) {
                      var validateTrigger = rule.validateTrigger;
                      if (!validateTrigger) {
                        return true;
                      }
                      var triggerList = typeUtil_toArray(validateTrigger);
                      return triggerList.includes(triggerName);
                    });
                  }
    
                  // Wait for debounce. Skip if no `triggerName` since its from `validateFields / submit`
                  if (!(validateDebounce && triggerName)) {
                    _context.next = 10;
                    break;
                  }
                  _context.next = 8;
                  return new Promise(function (resolve) {
                    setTimeout(resolve, validateDebounce);
                  });
                case 8:
                  if (!(_this.validatePromise !== rootPromise)) {
                    _context.next = 10;
                    break;
                  }
                  return _context.abrupt("return", []);
                case 10:
                  promise = validateRules(namePath, currentValue, filteredRules, options, validateFirst, messageVariables);
                  promise.catch(function (e) {
                    return e;
                  }).then(function () {
                    var ruleErrors = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : EMPTY_ERRORS;
                    if (_this.validatePromise === rootPromise) {
                      var _ruleErrors$forEach;
                      _this.validatePromise = null;
    
                      // Get errors & warnings
                      var nextErrors = [];
                      var nextWarnings = [];
                      (_ruleErrors$forEach = ruleErrors.forEach) === null || _ruleErrors$forEach === void 0 ? void 0 : _ruleErrors$forEach.call(ruleErrors, function (_ref4) {
                        var warningOnly = _ref4.rule.warningOnly,
                          _ref4$errors = _ref4.errors,
                          errors = _ref4$errors === void 0 ? EMPTY_ERRORS : _ref4$errors;
                        if (warningOnly) {
                          nextWarnings.push.apply(nextWarnings, (0,toConsumableArray/* default */.Z)(errors));
                        } else {
                          nextErrors.push.apply(nextErrors, (0,toConsumableArray/* default */.Z)(errors));
                        }
                      });
                      _this.errors = nextErrors;
                      _this.warnings = nextWarnings;
                      _this.triggerMetaEvent();
                      _this.reRender();
                    }
                  });
                  return _context.abrupt("return", promise);
                case 13:
                case "end":
                  return _context.stop();
              }
            }, _callee);
          })));
          if (validateOnly) {
            return rootPromise;
          }
          _this.validatePromise = rootPromise;
          _this.dirty = true;
          _this.errors = EMPTY_ERRORS;
          _this.warnings = EMPTY_ERRORS;
          _this.triggerMetaEvent();
    
          // Force trigger re-render since we need sync renderProps with new meta
          _this.reRender();
          return rootPromise;
        });
        (0,defineProperty/* default */.Z)((0,assertThisInitialized/* default */.Z)(_this), "isFieldValidating", function () {
          return !!_this.validatePromise;
        });
        (0,defineProperty/* default */.Z)((0,assertThisInitialized/* default */.Z)(_this), "isFieldTouched", function () {
          return _this.touched;
        });
        (0,defineProperty/* default */.Z)((0,assertThisInitialized/* default */.Z)(_this), "isFieldDirty", function () {
          // Touched or validate or has initialValue
          if (_this.dirty || _this.props.initialValue !== undefined) {
            return true;
          }
    
          // Form set initialValue
          var fieldContext = _this.props.fieldContext;
          var _fieldContext$getInte = fieldContext.getInternalHooks(HOOK_MARK),
            getInitialValue = _fieldContext$getInte.getInitialValue;
          if (getInitialValue(_this.getNamePath()) !== undefined) {
            return true;
          }
          return false;
        });
        (0,defineProperty/* default */.Z)((0,assertThisInitialized/* default */.Z)(_this), "getErrors", function () {
          return _this.errors;
        });
        (0,defineProperty/* default */.Z)((0,assertThisInitialized/* default */.Z)(_this), "getWarnings", function () {
          return _this.warnings;
        });
        (0,defineProperty/* default */.Z)((0,assertThisInitialized/* default */.Z)(_this), "isListField", function () {
          return _this.props.isListField;
        });
        (0,defineProperty/* default */.Z)((0,assertThisInitialized/* default */.Z)(_this), "isList", function () {
          return _this.props.isList;
        });
        (0,defineProperty/* default */.Z)((0,assertThisInitialized/* default */.Z)(_this), "isPreserve", function () {
          return _this.props.preserve;
        });
        // ============================= Child Component =============================
        (0,defineProperty/* default */.Z)((0,assertThisInitialized/* default */.Z)(_this), "getMeta", function () {
          // Make error & validating in cache to save perf
          _this.prevValidating = _this.isFieldValidating();
          var meta = {
            touched: _this.isFieldTouched(),
            validating: _this.prevValidating,
            errors: _this.errors,
            warnings: _this.warnings,
            name: _this.getNamePath(),
            validated: _this.validatePromise === null
          };
          return meta;
        });
        // Only return validate child node. If invalidate, will do nothing about field.
        (0,defineProperty/* default */.Z)((0,assertThisInitialized/* default */.Z)(_this), "getOnlyChild", function (children) {
          // Support render props
          if (typeof children === 'function') {
            var _meta2 = _this.getMeta();
            return (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, _this.getOnlyChild(children(_this.getControlled(), _meta2, _this.props.fieldContext))), {}, {
              isFunction: true
            });
          }
    
          // Filed element only
          var childList = (0,toArray/* default */.Z)(children);
          if (childList.length !== 1 || ! /*#__PURE__*/_react_17_0_2_react.isValidElement(childList[0])) {
            return {
              child: childList,
              isFunction: false
            };
          }
          return {
            child: childList[0],
            isFunction: false
          };
        });
        // ============================== Field Control ==============================
        (0,defineProperty/* default */.Z)((0,assertThisInitialized/* default */.Z)(_this), "getValue", function (store) {
          var getFieldsValue = _this.props.fieldContext.getFieldsValue;
          var namePath = _this.getNamePath();
          return (0,get/* default */.Z)(store || getFieldsValue(true), namePath);
        });
        (0,defineProperty/* default */.Z)((0,assertThisInitialized/* default */.Z)(_this), "getControlled", function () {
          var childProps = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
          var _this$props6 = _this.props,
            trigger = _this$props6.trigger,
            validateTrigger = _this$props6.validateTrigger,
            getValueFromEvent = _this$props6.getValueFromEvent,
            normalize = _this$props6.normalize,
            valuePropName = _this$props6.valuePropName,
            getValueProps = _this$props6.getValueProps,
            fieldContext = _this$props6.fieldContext;
          var mergedValidateTrigger = validateTrigger !== undefined ? validateTrigger : fieldContext.validateTrigger;
          var namePath = _this.getNamePath();
          var getInternalHooks = fieldContext.getInternalHooks,
            getFieldsValue = fieldContext.getFieldsValue;
          var _getInternalHooks = getInternalHooks(HOOK_MARK),
            dispatch = _getInternalHooks.dispatch;
          var value = _this.getValue();
          var mergedGetValueProps = getValueProps || function (val) {
            return (0,defineProperty/* default */.Z)({}, valuePropName, val);
          };
    
          // eslint-disable-next-line @typescript-eslint/no-explicit-any
          var originTriggerFunc = childProps[trigger];
          var control = (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, childProps), mergedGetValueProps(value));
    
          // Add trigger
          control[trigger] = function () {
            // Mark as touched
            _this.touched = true;
            _this.dirty = true;
            _this.triggerMetaEvent();
            var newValue;
            for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
              args[_key] = arguments[_key];
            }
            if (getValueFromEvent) {
              newValue = getValueFromEvent.apply(void 0, args);
            } else {
              newValue = defaultGetValueFromEvent.apply(void 0, [valuePropName].concat(args));
            }
            if (normalize) {
              newValue = normalize(newValue, value, getFieldsValue(true));
            }
            dispatch({
              type: 'updateValue',
              namePath: namePath,
              value: newValue
            });
            if (originTriggerFunc) {
              originTriggerFunc.apply(void 0, args);
            }
          };
    
          // Add validateTrigger
          var validateTriggerList = typeUtil_toArray(mergedValidateTrigger || []);
          validateTriggerList.forEach(function (triggerName) {
            // Wrap additional function of component, so that we can get latest value from store
            var originTrigger = control[triggerName];
            control[triggerName] = function () {
              if (originTrigger) {
                originTrigger.apply(void 0, arguments);
              }
    
              // Always use latest rules
              var rules = _this.props.rules;
              if (rules && rules.length) {
                // We dispatch validate to root,
                // since it will update related data with other field with same name
                dispatch({
                  type: 'validateField',
                  namePath: namePath,
                  triggerName: triggerName
                });
              }
            };
          });
          return control;
        });
        if (props.fieldContext) {
          var getInternalHooks = props.fieldContext.getInternalHooks;
          var _getInternalHooks2 = getInternalHooks(HOOK_MARK),
            initEntityValue = _getInternalHooks2.initEntityValue;
          initEntityValue((0,assertThisInitialized/* default */.Z)(_this));
        }
        return _this;
      }
      (0,createClass/* default */.Z)(Field, [{
        key: "componentDidMount",
        value: function componentDidMount() {
          var _this$props7 = this.props,
            shouldUpdate = _this$props7.shouldUpdate,
            fieldContext = _this$props7.fieldContext;
          this.mounted = true;
    
          // Register on init
          if (fieldContext) {
            var getInternalHooks = fieldContext.getInternalHooks;
            var _getInternalHooks3 = getInternalHooks(HOOK_MARK),
              registerField = _getInternalHooks3.registerField;
            this.cancelRegisterFunc = registerField(this);
          }
    
          // One more render for component in case fields not ready
          if (shouldUpdate === true) {
            this.reRender();
          }
        }
      }, {
        key: "componentWillUnmount",
        value: function componentWillUnmount() {
          this.cancelRegister();
          this.triggerMetaEvent(true);
          this.mounted = false;
        }
      }, {
        key: "reRender",
        value: function reRender() {
          if (!this.mounted) return;
          this.forceUpdate();
        }
      }, {
        key: "render",
        value: function render() {
          var resetCount = this.state.resetCount;
          var children = this.props.children;
          var _this$getOnlyChild = this.getOnlyChild(children),
            child = _this$getOnlyChild.child,
            isFunction = _this$getOnlyChild.isFunction;
    
          // Not need to `cloneElement` since user can handle this in render function self
          var returnChildNode;
          if (isFunction) {
            returnChildNode = child;
          } else if ( /*#__PURE__*/_react_17_0_2_react.isValidElement(child)) {
            returnChildNode = /*#__PURE__*/_react_17_0_2_react.cloneElement(child, this.getControlled(child.props));
          } else {
            (0,warning/* default */.ZP)(!child, '`children` of Field is not validate ReactElement.');
            returnChildNode = child;
          }
          return /*#__PURE__*/_react_17_0_2_react.createElement(_react_17_0_2_react.Fragment, {
            key: resetCount
          }, returnChildNode);
        }
      }]);
      return Field;
    }(_react_17_0_2_react.Component);
    (0,defineProperty/* default */.Z)(Field, "contextType", FieldContext);
    (0,defineProperty/* default */.Z)(Field, "defaultProps", {
      trigger: 'onChange',
      valuePropName: 'value'
    });
    function WrapperField(_ref6) {
      var name = _ref6.name,
        restProps = (0,objectWithoutProperties/* default */.Z)(_ref6, _excluded);
      var fieldContext = _react_17_0_2_react.useContext(FieldContext);
      var listContext = _react_17_0_2_react.useContext(es_ListContext);
      var namePath = name !== undefined ? getNamePath(name) : undefined;
      var key = 'keep';
      if (!restProps.isListField) {
        key = "_".concat((namePath || []).join('_'));
      }
    
      // Warning if it's a directly list field.
      // We can still support multiple level field preserve.
      if (false) {}
      return /*#__PURE__*/_react_17_0_2_react.createElement(Field, (0,esm_extends/* default */.Z)({
        key: key,
        name: namePath,
        isListField: !!listContext
      }, restProps, {
        fieldContext: fieldContext
      }));
    }
    /* harmony default export */ var es_Field = (WrapperField);
    ;// CONCATENATED MODULE: ./node_modules/_rc-field-form@1.38.2@rc-field-form/es/List.js
    
    
    
    
    
    
    
    
    function List(_ref) {
      var name = _ref.name,
        initialValue = _ref.initialValue,
        children = _ref.children,
        rules = _ref.rules,
        validateTrigger = _ref.validateTrigger,
        isListField = _ref.isListField;
      var context = _react_17_0_2_react.useContext(FieldContext);
      var wrapperListContext = _react_17_0_2_react.useContext(es_ListContext);
      var keyRef = _react_17_0_2_react.useRef({
        keys: [],
        id: 0
      });
      var keyManager = keyRef.current;
      var prefixName = _react_17_0_2_react.useMemo(function () {
        var parentPrefixName = getNamePath(context.prefixName) || [];
        return [].concat((0,toConsumableArray/* default */.Z)(parentPrefixName), (0,toConsumableArray/* default */.Z)(getNamePath(name)));
      }, [context.prefixName, name]);
      var fieldContext = _react_17_0_2_react.useMemo(function () {
        return (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, context), {}, {
          prefixName: prefixName
        });
      }, [context, prefixName]);
    
      // List context
      var listContext = _react_17_0_2_react.useMemo(function () {
        return {
          getKey: function getKey(namePath) {
            var len = prefixName.length;
            var pathName = namePath[len];
            return [keyManager.keys[pathName], namePath.slice(len + 1)];
          }
        };
      }, [prefixName]);
    
      // User should not pass `children` as other type.
      if (typeof children !== 'function') {
        (0,warning/* default */.ZP)(false, 'Form.List only accepts function as children.');
        return null;
      }
      var shouldUpdate = function shouldUpdate(prevValue, nextValue, _ref2) {
        var source = _ref2.source;
        if (source === 'internal') {
          return false;
        }
        return prevValue !== nextValue;
      };
      return /*#__PURE__*/_react_17_0_2_react.createElement(es_ListContext.Provider, {
        value: listContext
      }, /*#__PURE__*/_react_17_0_2_react.createElement(FieldContext.Provider, {
        value: fieldContext
      }, /*#__PURE__*/_react_17_0_2_react.createElement(es_Field, {
        name: [],
        shouldUpdate: shouldUpdate,
        rules: rules,
        validateTrigger: validateTrigger,
        initialValue: initialValue,
        isList: true,
        isListField: isListField !== null && isListField !== void 0 ? isListField : !!wrapperListContext
      }, function (_ref3, meta) {
        var _ref3$value = _ref3.value,
          value = _ref3$value === void 0 ? [] : _ref3$value,
          onChange = _ref3.onChange;
        var getFieldValue = context.getFieldValue;
        var getNewValue = function getNewValue() {
          var values = getFieldValue(prefixName || []);
          return values || [];
        };
        /**
         * Always get latest value in case user update fields by `form` api.
         */
        var operations = {
          add: function add(defaultValue, index) {
            // Mapping keys
            var newValue = getNewValue();
            if (index >= 0 && index <= newValue.length) {
              keyManager.keys = [].concat((0,toConsumableArray/* default */.Z)(keyManager.keys.slice(0, index)), [keyManager.id], (0,toConsumableArray/* default */.Z)(keyManager.keys.slice(index)));
              onChange([].concat((0,toConsumableArray/* default */.Z)(newValue.slice(0, index)), [defaultValue], (0,toConsumableArray/* default */.Z)(newValue.slice(index))));
            } else {
              if (false) {}
              keyManager.keys = [].concat((0,toConsumableArray/* default */.Z)(keyManager.keys), [keyManager.id]);
              onChange([].concat((0,toConsumableArray/* default */.Z)(newValue), [defaultValue]));
            }
            keyManager.id += 1;
          },
          remove: function remove(index) {
            var newValue = getNewValue();
            var indexSet = new Set(Array.isArray(index) ? index : [index]);
            if (indexSet.size <= 0) {
              return;
            }
            keyManager.keys = keyManager.keys.filter(function (_, keysIndex) {
              return !indexSet.has(keysIndex);
            });
    
            // Trigger store change
            onChange(newValue.filter(function (_, valueIndex) {
              return !indexSet.has(valueIndex);
            }));
          },
          move: function move(from, to) {
            if (from === to) {
              return;
            }
            var newValue = getNewValue();
    
            // Do not handle out of range
            if (from < 0 || from >= newValue.length || to < 0 || to >= newValue.length) {
              return;
            }
            keyManager.keys = valueUtil_move(keyManager.keys, from, to);
    
            // Trigger store change
            onChange(valueUtil_move(newValue, from, to));
          }
        };
        var listValue = value || [];
        if (!Array.isArray(listValue)) {
          listValue = [];
          if (false) {}
        }
        return children(listValue.map(function (__, index) {
          var key = keyManager.keys[index];
          if (key === undefined) {
            keyManager.keys[index] = keyManager.id;
            key = keyManager.keys[index];
            keyManager.id += 1;
          }
          return {
            name: index,
            key: key,
            isListField: true
          };
        }), operations, meta);
      })));
    }
    /* harmony default export */ var es_List = (List);
    // EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.28.6@@babel/runtime/helpers/esm/slicedToArray.js + 1 modules
    var slicedToArray = __webpack_require__(72190);
    ;// CONCATENATED MODULE: ./node_modules/_rc-field-form@1.38.2@rc-field-form/es/utils/asyncUtil.js
    function allPromiseFinish(promiseList) {
      var hasError = false;
      var count = promiseList.length;
      var results = [];
      if (!promiseList.length) {
        return Promise.resolve([]);
      }
      return new Promise(function (resolve, reject) {
        promiseList.forEach(function (promise, index) {
          promise.catch(function (e) {
            hasError = true;
            return e;
          }).then(function (result) {
            count -= 1;
            results[index] = result;
            if (count > 0) {
              return;
            }
            if (hasError) {
              reject(results);
            }
            resolve(results);
          });
        });
      });
    }
    ;// CONCATENATED MODULE: ./node_modules/_rc-field-form@1.38.2@rc-field-form/es/utils/NameMap.js
    
    
    
    
    
    
    var SPLIT = '__@field_split__';
    
    /**
     * Convert name path into string to fast the fetch speed of Map.
     */
    function normalize(namePath) {
      return namePath.map(function (cell) {
        return "".concat((0,esm_typeof/* default */.Z)(cell), ":").concat(cell);
      })
      // Magic split
      .join(SPLIT);
    }
    
    /**
     * NameMap like a `Map` but accepts `string[]` as key.
     */
    var NameMap = /*#__PURE__*/function () {
      function NameMap() {
        (0,classCallCheck/* default */.Z)(this, NameMap);
        (0,defineProperty/* default */.Z)(this, "kvs", new Map());
      }
      (0,createClass/* default */.Z)(NameMap, [{
        key: "set",
        value: function set(key, value) {
          this.kvs.set(normalize(key), value);
        }
      }, {
        key: "get",
        value: function get(key) {
          return this.kvs.get(normalize(key));
        }
      }, {
        key: "update",
        value: function update(key, updater) {
          var origin = this.get(key);
          var next = updater(origin);
          if (!next) {
            this.delete(key);
          } else {
            this.set(key, next);
          }
        }
      }, {
        key: "delete",
        value: function _delete(key) {
          this.kvs.delete(normalize(key));
        }
    
        // Since we only use this in test, let simply realize this
      }, {
        key: "map",
        value: function map(callback) {
          return (0,toConsumableArray/* default */.Z)(this.kvs.entries()).map(function (_ref) {
            var _ref2 = (0,slicedToArray/* default */.Z)(_ref, 2),
              key = _ref2[0],
              value = _ref2[1];
            var cells = key.split(SPLIT);
            return callback({
              key: cells.map(function (cell) {
                var _cell$match = cell.match(/^([^:]*):(.*)$/),
                  _cell$match2 = (0,slicedToArray/* default */.Z)(_cell$match, 3),
                  type = _cell$match2[1],
                  unit = _cell$match2[2];
                return type === 'number' ? Number(unit) : unit;
              }),
              value: value
            });
          });
        }
      }, {
        key: "toJSON",
        value: function toJSON() {
          var json = {};
          this.map(function (_ref3) {
            var key = _ref3.key,
              value = _ref3.value;
            json[key.join('.')] = value;
            return null;
          });
          return json;
        }
      }]);
      return NameMap;
    }();
    /* harmony default export */ var utils_NameMap = (NameMap);
    ;// CONCATENATED MODULE: ./node_modules/_rc-field-form@1.38.2@rc-field-form/es/useForm.js
    
    
    
    
    
    
    
    
    var useForm_excluded = ["name"];
    
    
    
    
    
    
    
    
    var FormStore = /*#__PURE__*/(0,createClass/* default */.Z)(function FormStore(forceRootUpdate) {
      var _this = this;
      (0,classCallCheck/* default */.Z)(this, FormStore);
      (0,defineProperty/* default */.Z)(this, "formHooked", false);
      (0,defineProperty/* default */.Z)(this, "forceRootUpdate", void 0);
      (0,defineProperty/* default */.Z)(this, "subscribable", true);
      (0,defineProperty/* default */.Z)(this, "store", {});
      (0,defineProperty/* default */.Z)(this, "fieldEntities", []);
      (0,defineProperty/* default */.Z)(this, "initialValues", {});
      (0,defineProperty/* default */.Z)(this, "callbacks", {});
      (0,defineProperty/* default */.Z)(this, "validateMessages", null);
      (0,defineProperty/* default */.Z)(this, "preserve", null);
      (0,defineProperty/* default */.Z)(this, "lastValidatePromise", null);
      (0,defineProperty/* default */.Z)(this, "getForm", function () {
        return {
          getFieldValue: _this.getFieldValue,
          getFieldsValue: _this.getFieldsValue,
          getFieldError: _this.getFieldError,
          getFieldWarning: _this.getFieldWarning,
          getFieldsError: _this.getFieldsError,
          isFieldsTouched: _this.isFieldsTouched,
          isFieldTouched: _this.isFieldTouched,
          isFieldValidating: _this.isFieldValidating,
          isFieldsValidating: _this.isFieldsValidating,
          resetFields: _this.resetFields,
          setFields: _this.setFields,
          setFieldValue: _this.setFieldValue,
          setFieldsValue: _this.setFieldsValue,
          validateFields: _this.validateFields,
          submit: _this.submit,
          _init: true,
          getInternalHooks: _this.getInternalHooks
        };
      });
      // ======================== Internal Hooks ========================
      (0,defineProperty/* default */.Z)(this, "getInternalHooks", function (key) {
        if (key === HOOK_MARK) {
          _this.formHooked = true;
          return {
            dispatch: _this.dispatch,
            initEntityValue: _this.initEntityValue,
            registerField: _this.registerField,
            useSubscribe: _this.useSubscribe,
            setInitialValues: _this.setInitialValues,
            destroyForm: _this.destroyForm,
            setCallbacks: _this.setCallbacks,
            setValidateMessages: _this.setValidateMessages,
            getFields: _this.getFields,
            setPreserve: _this.setPreserve,
            getInitialValue: _this.getInitialValue,
            registerWatch: _this.registerWatch
          };
        }
        (0,warning/* default */.ZP)(false, '`getInternalHooks` is internal usage. Should not call directly.');
        return null;
      });
      (0,defineProperty/* default */.Z)(this, "useSubscribe", function (subscribable) {
        _this.subscribable = subscribable;
      });
      /**
       * Record prev Form unmount fieldEntities which config preserve false.
       * This need to be refill with initialValues instead of store value.
       */
      (0,defineProperty/* default */.Z)(this, "prevWithoutPreserves", null);
      /**
       * First time `setInitialValues` should update store with initial value
       */
      (0,defineProperty/* default */.Z)(this, "setInitialValues", function (initialValues, init) {
        _this.initialValues = initialValues || {};
        if (init) {
          var _this$prevWithoutPres;
          var nextStore = (0,set/* merge */.T)(initialValues, _this.store);
    
          // We will take consider prev form unmount fields.
          // When the field is not `preserve`, we need fill this with initialValues instead of store.
          // eslint-disable-next-line array-callback-return
          (_this$prevWithoutPres = _this.prevWithoutPreserves) === null || _this$prevWithoutPres === void 0 ? void 0 : _this$prevWithoutPres.map(function (_ref) {
            var namePath = _ref.key;
            nextStore = (0,set/* default */.Z)(nextStore, namePath, (0,get/* default */.Z)(initialValues, namePath));
          });
          _this.prevWithoutPreserves = null;
          _this.updateStore(nextStore);
        }
      });
      (0,defineProperty/* default */.Z)(this, "destroyForm", function () {
        var prevWithoutPreserves = new utils_NameMap();
        _this.getFieldEntities(true).forEach(function (entity) {
          if (!_this.isMergedPreserve(entity.isPreserve())) {
            prevWithoutPreserves.set(entity.getNamePath(), true);
          }
        });
        _this.prevWithoutPreserves = prevWithoutPreserves;
      });
      (0,defineProperty/* default */.Z)(this, "getInitialValue", function (namePath) {
        var initValue = (0,get/* default */.Z)(_this.initialValues, namePath);
    
        // Not cloneDeep when without `namePath`
        return namePath.length ? (0,set/* merge */.T)(initValue) : initValue;
      });
      (0,defineProperty/* default */.Z)(this, "setCallbacks", function (callbacks) {
        _this.callbacks = callbacks;
      });
      (0,defineProperty/* default */.Z)(this, "setValidateMessages", function (validateMessages) {
        _this.validateMessages = validateMessages;
      });
      (0,defineProperty/* default */.Z)(this, "setPreserve", function (preserve) {
        _this.preserve = preserve;
      });
      // ============================= Watch ============================
      (0,defineProperty/* default */.Z)(this, "watchList", []);
      (0,defineProperty/* default */.Z)(this, "registerWatch", function (callback) {
        _this.watchList.push(callback);
        return function () {
          _this.watchList = _this.watchList.filter(function (fn) {
            return fn !== callback;
          });
        };
      });
      (0,defineProperty/* default */.Z)(this, "notifyWatch", function () {
        var namePath = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
        // No need to cost perf when nothing need to watch
        if (_this.watchList.length) {
          var values = _this.getFieldsValue();
          var allValues = _this.getFieldsValue(true);
          _this.watchList.forEach(function (callback) {
            callback(values, allValues, namePath);
          });
        }
      });
      // ========================== Dev Warning =========================
      (0,defineProperty/* default */.Z)(this, "timeoutId", null);
      (0,defineProperty/* default */.Z)(this, "warningUnhooked", function () {
        if (false) {}
      });
      // ============================ Store =============================
      (0,defineProperty/* default */.Z)(this, "updateStore", function (nextStore) {
        _this.store = nextStore;
      });
      // ============================ Fields ============================
      /**
       * Get registered field entities.
       * @param pure Only return field which has a `name`. Default: false
       */
      (0,defineProperty/* default */.Z)(this, "getFieldEntities", function () {
        var pure = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
        if (!pure) {
          return _this.fieldEntities;
        }
        return _this.fieldEntities.filter(function (field) {
          return field.getNamePath().length;
        });
      });
      (0,defineProperty/* default */.Z)(this, "getFieldsMap", function () {
        var pure = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
        var cache = new utils_NameMap();
        _this.getFieldEntities(pure).forEach(function (field) {
          var namePath = field.getNamePath();
          cache.set(namePath, field);
        });
        return cache;
      });
      (0,defineProperty/* default */.Z)(this, "getFieldEntitiesForNamePathList", function (nameList) {
        if (!nameList) {
          return _this.getFieldEntities(true);
        }
        var cache = _this.getFieldsMap(true);
        return nameList.map(function (name) {
          var namePath = getNamePath(name);
          return cache.get(namePath) || {
            INVALIDATE_NAME_PATH: getNamePath(name)
          };
        });
      });
      (0,defineProperty/* default */.Z)(this, "getFieldsValue", function (nameList, filterFunc) {
        _this.warningUnhooked();
    
        // Fill args
        var mergedNameList;
        var mergedFilterFunc;
        var mergedStrict;
        if (nameList === true || Array.isArray(nameList)) {
          mergedNameList = nameList;
          mergedFilterFunc = filterFunc;
        } else if (nameList && (0,esm_typeof/* default */.Z)(nameList) === 'object') {
          mergedStrict = nameList.strict;
          mergedFilterFunc = nameList.filter;
        }
        if (mergedNameList === true && !mergedFilterFunc) {
          return _this.store;
        }
        var fieldEntities = _this.getFieldEntitiesForNamePathList(Array.isArray(mergedNameList) ? mergedNameList : null);
        var filteredNameList = [];
        fieldEntities.forEach(function (entity) {
          var _isListField, _ref3;
          var namePath = 'INVALIDATE_NAME_PATH' in entity ? entity.INVALIDATE_NAME_PATH : entity.getNamePath();
    
          // Ignore when it's a list item and not specific the namePath,
          // since parent field is already take in count
          if (mergedStrict) {
            var _isList, _ref2;
            if ((_isList = (_ref2 = entity).isList) !== null && _isList !== void 0 && _isList.call(_ref2)) {
              return;
            }
          } else if (!mergedNameList && (_isListField = (_ref3 = entity).isListField) !== null && _isListField !== void 0 && _isListField.call(_ref3)) {
            return;
          }
          if (!mergedFilterFunc) {
            filteredNameList.push(namePath);
          } else {
            var meta = 'getMeta' in entity ? entity.getMeta() : null;
            if (mergedFilterFunc(meta)) {
              filteredNameList.push(namePath);
            }
          }
        });
        return cloneByNamePathList(_this.store, filteredNameList.map(getNamePath));
      });
      (0,defineProperty/* default */.Z)(this, "getFieldValue", function (name) {
        _this.warningUnhooked();
        var namePath = getNamePath(name);
        return (0,get/* default */.Z)(_this.store, namePath);
      });
      (0,defineProperty/* default */.Z)(this, "getFieldsError", function (nameList) {
        _this.warningUnhooked();
        var fieldEntities = _this.getFieldEntitiesForNamePathList(nameList);
        return fieldEntities.map(function (entity, index) {
          if (entity && !('INVALIDATE_NAME_PATH' in entity)) {
            return {
              name: entity.getNamePath(),
              errors: entity.getErrors(),
              warnings: entity.getWarnings()
            };
          }
          return {
            name: getNamePath(nameList[index]),
            errors: [],
            warnings: []
          };
        });
      });
      (0,defineProperty/* default */.Z)(this, "getFieldError", function (name) {
        _this.warningUnhooked();
        var namePath = getNamePath(name);
        var fieldError = _this.getFieldsError([namePath])[0];
        return fieldError.errors;
      });
      (0,defineProperty/* default */.Z)(this, "getFieldWarning", function (name) {
        _this.warningUnhooked();
        var namePath = getNamePath(name);
        var fieldError = _this.getFieldsError([namePath])[0];
        return fieldError.warnings;
      });
      (0,defineProperty/* default */.Z)(this, "isFieldsTouched", function () {
        _this.warningUnhooked();
        for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
          args[_key] = arguments[_key];
        }
        var arg0 = args[0],
          arg1 = args[1];
        var namePathList;
        var isAllFieldsTouched = false;
        if (args.length === 0) {
          namePathList = null;
        } else if (args.length === 1) {
          if (Array.isArray(arg0)) {
            namePathList = arg0.map(getNamePath);
            isAllFieldsTouched = false;
          } else {
            namePathList = null;
            isAllFieldsTouched = arg0;
          }
        } else {
          namePathList = arg0.map(getNamePath);
          isAllFieldsTouched = arg1;
        }
        var fieldEntities = _this.getFieldEntities(true);
        var isFieldTouched = function isFieldTouched(field) {
          return field.isFieldTouched();
        };
    
        // ===== Will get fully compare when not config namePathList =====
        if (!namePathList) {
          return isAllFieldsTouched ? fieldEntities.every(isFieldTouched) : fieldEntities.some(isFieldTouched);
        }
    
        // Generate a nest tree for validate
        var map = new utils_NameMap();
        namePathList.forEach(function (shortNamePath) {
          map.set(shortNamePath, []);
        });
        fieldEntities.forEach(function (field) {
          var fieldNamePath = field.getNamePath();
    
          // Find matched entity and put into list
          namePathList.forEach(function (shortNamePath) {
            if (shortNamePath.every(function (nameUnit, i) {
              return fieldNamePath[i] === nameUnit;
            })) {
              map.update(shortNamePath, function (list) {
                return [].concat((0,toConsumableArray/* default */.Z)(list), [field]);
              });
            }
          });
        });
    
        // Check if NameMap value is touched
        var isNamePathListTouched = function isNamePathListTouched(entities) {
          return entities.some(isFieldTouched);
        };
        var namePathListEntities = map.map(function (_ref4) {
          var value = _ref4.value;
          return value;
        });
        return isAllFieldsTouched ? namePathListEntities.every(isNamePathListTouched) : namePathListEntities.some(isNamePathListTouched);
      });
      (0,defineProperty/* default */.Z)(this, "isFieldTouched", function (name) {
        _this.warningUnhooked();
        return _this.isFieldsTouched([name]);
      });
      (0,defineProperty/* default */.Z)(this, "isFieldsValidating", function (nameList) {
        _this.warningUnhooked();
        var fieldEntities = _this.getFieldEntities();
        if (!nameList) {
          return fieldEntities.some(function (testField) {
            return testField.isFieldValidating();
          });
        }
        var namePathList = nameList.map(getNamePath);
        return fieldEntities.some(function (testField) {
          var fieldNamePath = testField.getNamePath();
          return containsNamePath(namePathList, fieldNamePath) && testField.isFieldValidating();
        });
      });
      (0,defineProperty/* default */.Z)(this, "isFieldValidating", function (name) {
        _this.warningUnhooked();
        return _this.isFieldsValidating([name]);
      });
      /**
       * Reset Field with field `initialValue` prop.
       * Can pass `entities` or `namePathList` or just nothing.
       */
      (0,defineProperty/* default */.Z)(this, "resetWithFieldInitialValue", function () {
        var info = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
        // Create cache
        var cache = new utils_NameMap();
        var fieldEntities = _this.getFieldEntities(true);
        fieldEntities.forEach(function (field) {
          var initialValue = field.props.initialValue;
          var namePath = field.getNamePath();
    
          // Record only if has `initialValue`
          if (initialValue !== undefined) {
            var records = cache.get(namePath) || new Set();
            records.add({
              entity: field,
              value: initialValue
            });
            cache.set(namePath, records);
          }
        });
    
        // Reset
        var resetWithFields = function resetWithFields(entities) {
          entities.forEach(function (field) {
            var initialValue = field.props.initialValue;
            if (initialValue !== undefined) {
              var namePath = field.getNamePath();
              var formInitialValue = _this.getInitialValue(namePath);
              if (formInitialValue !== undefined) {
                // Warning if conflict with form initialValues and do not modify value
                (0,warning/* default */.ZP)(false, "Form already set 'initialValues' with path '".concat(namePath.join('.'), "'. Field can not overwrite it."));
              } else {
                var records = cache.get(namePath);
                if (records && records.size > 1) {
                  // Warning if multiple field set `initialValue`and do not modify value
                  (0,warning/* default */.ZP)(false, "Multiple Field with path '".concat(namePath.join('.'), "' set 'initialValue'. Can not decide which one to pick."));
                } else if (records) {
                  var originValue = _this.getFieldValue(namePath);
                  // Set `initialValue`
                  if (!info.skipExist || originValue === undefined) {
                    _this.updateStore((0,set/* default */.Z)(_this.store, namePath, (0,toConsumableArray/* default */.Z)(records)[0].value));
                  }
                }
              }
            }
          });
        };
        var requiredFieldEntities;
        if (info.entities) {
          requiredFieldEntities = info.entities;
        } else if (info.namePathList) {
          requiredFieldEntities = [];
          info.namePathList.forEach(function (namePath) {
            var records = cache.get(namePath);
            if (records) {
              var _requiredFieldEntitie;
              (_requiredFieldEntitie = requiredFieldEntities).push.apply(_requiredFieldEntitie, (0,toConsumableArray/* default */.Z)((0,toConsumableArray/* default */.Z)(records).map(function (r) {
                return r.entity;
              })));
            }
          });
        } else {
          requiredFieldEntities = fieldEntities;
        }
        resetWithFields(requiredFieldEntities);
      });
      (0,defineProperty/* default */.Z)(this, "resetFields", function (nameList) {
        _this.warningUnhooked();
        var prevStore = _this.store;
        if (!nameList) {
          _this.updateStore((0,set/* merge */.T)(_this.initialValues));
          _this.resetWithFieldInitialValue();
          _this.notifyObservers(prevStore, null, {
            type: 'reset'
          });
          _this.notifyWatch();
          return;
        }
    
        // Reset by `nameList`
        var namePathList = nameList.map(getNamePath);
        namePathList.forEach(function (namePath) {
          var initialValue = _this.getInitialValue(namePath);
          _this.updateStore((0,set/* default */.Z)(_this.store, namePath, initialValue));
        });
        _this.resetWithFieldInitialValue({
          namePathList: namePathList
        });
        _this.notifyObservers(prevStore, namePathList, {
          type: 'reset'
        });
        _this.notifyWatch(namePathList);
      });
      (0,defineProperty/* default */.Z)(this, "setFields", function (fields) {
        _this.warningUnhooked();
        var prevStore = _this.store;
        var namePathList = [];
        fields.forEach(function (fieldData) {
          var name = fieldData.name,
            data = (0,objectWithoutProperties/* default */.Z)(fieldData, useForm_excluded);
          var namePath = getNamePath(name);
          namePathList.push(namePath);
    
          // Value
          if ('value' in data) {
            _this.updateStore((0,set/* default */.Z)(_this.store, namePath, data.value));
          }
          _this.notifyObservers(prevStore, [namePath], {
            type: 'setField',
            data: fieldData
          });
        });
        _this.notifyWatch(namePathList);
      });
      (0,defineProperty/* default */.Z)(this, "getFields", function () {
        var entities = _this.getFieldEntities(true);
        var fields = entities.map(function (field) {
          var namePath = field.getNamePath();
          var meta = field.getMeta();
          var fieldData = (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, meta), {}, {
            name: namePath,
            value: _this.getFieldValue(namePath)
          });
          Object.defineProperty(fieldData, 'originRCField', {
            value: true
          });
          return fieldData;
        });
        return fields;
      });
      // =========================== Observer ===========================
      /**
       * This only trigger when a field is on constructor to avoid we get initialValue too late
       */
      (0,defineProperty/* default */.Z)(this, "initEntityValue", function (entity) {
        var initialValue = entity.props.initialValue;
        if (initialValue !== undefined) {
          var namePath = entity.getNamePath();
          var prevValue = (0,get/* default */.Z)(_this.store, namePath);
          if (prevValue === undefined) {
            _this.updateStore((0,set/* default */.Z)(_this.store, namePath, initialValue));
          }
        }
      });
      (0,defineProperty/* default */.Z)(this, "isMergedPreserve", function (fieldPreserve) {
        var mergedPreserve = fieldPreserve !== undefined ? fieldPreserve : _this.preserve;
        return mergedPreserve !== null && mergedPreserve !== void 0 ? mergedPreserve : true;
      });
      (0,defineProperty/* default */.Z)(this, "registerField", function (entity) {
        _this.fieldEntities.push(entity);
        var namePath = entity.getNamePath();
        _this.notifyWatch([namePath]);
    
        // Set initial values
        if (entity.props.initialValue !== undefined) {
          var prevStore = _this.store;
          _this.resetWithFieldInitialValue({
            entities: [entity],
            skipExist: true
          });
          _this.notifyObservers(prevStore, [entity.getNamePath()], {
            type: 'valueUpdate',
            source: 'internal'
          });
        }
    
        // un-register field callback
        return function (isListField, preserve) {
          var subNamePath = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : [];
          _this.fieldEntities = _this.fieldEntities.filter(function (item) {
            return item !== entity;
          });
    
          // Clean up store value if not preserve
          if (!_this.isMergedPreserve(preserve) && (!isListField || subNamePath.length > 1)) {
            var defaultValue = isListField ? undefined : _this.getInitialValue(namePath);
            if (namePath.length && _this.getFieldValue(namePath) !== defaultValue && _this.fieldEntities.every(function (field) {
              return (
                // Only reset when no namePath exist
                !matchNamePath(field.getNamePath(), namePath)
              );
            })) {
              var _prevStore = _this.store;
              _this.updateStore((0,set/* default */.Z)(_prevStore, namePath, defaultValue, true));
    
              // Notify that field is unmount
              _this.notifyObservers(_prevStore, [namePath], {
                type: 'remove'
              });
    
              // Dependencies update
              _this.triggerDependenciesUpdate(_prevStore, namePath);
            }
          }
          _this.notifyWatch([namePath]);
        };
      });
      (0,defineProperty/* default */.Z)(this, "dispatch", function (action) {
        switch (action.type) {
          case 'updateValue':
            {
              var namePath = action.namePath,
                value = action.value;
              _this.updateValue(namePath, value);
              break;
            }
          case 'validateField':
            {
              var _namePath = action.namePath,
                triggerName = action.triggerName;
              _this.validateFields([_namePath], {
                triggerName: triggerName
              });
              break;
            }
          default:
          // Currently we don't have other action. Do nothing.
        }
      });
      (0,defineProperty/* default */.Z)(this, "notifyObservers", function (prevStore, namePathList, info) {
        if (_this.subscribable) {
          var mergedInfo = (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, info), {}, {
            store: _this.getFieldsValue(true)
          });
          _this.getFieldEntities().forEach(function (_ref5) {
            var onStoreChange = _ref5.onStoreChange;
            onStoreChange(prevStore, namePathList, mergedInfo);
          });
        } else {
          _this.forceRootUpdate();
        }
      });
      /**
       * Notify dependencies children with parent update
       * We need delay to trigger validate in case Field is under render props
       */
      (0,defineProperty/* default */.Z)(this, "triggerDependenciesUpdate", function (prevStore, namePath) {
        var childrenFields = _this.getDependencyChildrenFields(namePath);
        if (childrenFields.length) {
          _this.validateFields(childrenFields);
        }
        _this.notifyObservers(prevStore, childrenFields, {
          type: 'dependenciesUpdate',
          relatedFields: [namePath].concat((0,toConsumableArray/* default */.Z)(childrenFields))
        });
        return childrenFields;
      });
      (0,defineProperty/* default */.Z)(this, "updateValue", function (name, value) {
        var namePath = getNamePath(name);
        var prevStore = _this.store;
        _this.updateStore((0,set/* default */.Z)(_this.store, namePath, value));
        _this.notifyObservers(prevStore, [namePath], {
          type: 'valueUpdate',
          source: 'internal'
        });
        _this.notifyWatch([namePath]);
    
        // Dependencies update
        var childrenFields = _this.triggerDependenciesUpdate(prevStore, namePath);
    
        // trigger callback function
        var onValuesChange = _this.callbacks.onValuesChange;
        if (onValuesChange) {
          var changedValues = cloneByNamePathList(_this.store, [namePath]);
          onValuesChange(changedValues, _this.getFieldsValue());
        }
        _this.triggerOnFieldsChange([namePath].concat((0,toConsumableArray/* default */.Z)(childrenFields)));
      });
      // Let all child Field get update.
      (0,defineProperty/* default */.Z)(this, "setFieldsValue", function (store) {
        _this.warningUnhooked();
        var prevStore = _this.store;
        if (store) {
          var nextStore = (0,set/* merge */.T)(_this.store, store);
          _this.updateStore(nextStore);
        }
        _this.notifyObservers(prevStore, null, {
          type: 'valueUpdate',
          source: 'external'
        });
        _this.notifyWatch();
      });
      (0,defineProperty/* default */.Z)(this, "setFieldValue", function (name, value) {
        _this.setFields([{
          name: name,
          value: value
        }]);
      });
      (0,defineProperty/* default */.Z)(this, "getDependencyChildrenFields", function (rootNamePath) {
        var children = new Set();
        var childrenFields = [];
        var dependencies2fields = new utils_NameMap();
    
        /**
         * Generate maps
         * Can use cache to save perf if user report performance issue with this
         */
        _this.getFieldEntities().forEach(function (field) {
          var dependencies = field.props.dependencies;
          (dependencies || []).forEach(function (dependency) {
            var dependencyNamePath = getNamePath(dependency);
            dependencies2fields.update(dependencyNamePath, function () {
              var fields = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : new Set();
              fields.add(field);
              return fields;
            });
          });
        });
        var fillChildren = function fillChildren(namePath) {
          var fields = dependencies2fields.get(namePath) || new Set();
          fields.forEach(function (field) {
            if (!children.has(field)) {
              children.add(field);
              var fieldNamePath = field.getNamePath();
              if (field.isFieldDirty() && fieldNamePath.length) {
                childrenFields.push(fieldNamePath);
                fillChildren(fieldNamePath);
              }
            }
          });
        };
        fillChildren(rootNamePath);
        return childrenFields;
      });
      (0,defineProperty/* default */.Z)(this, "triggerOnFieldsChange", function (namePathList, filedErrors) {
        var onFieldsChange = _this.callbacks.onFieldsChange;
        if (onFieldsChange) {
          var fields = _this.getFields();
    
          /**
           * Fill errors since `fields` may be replaced by controlled fields
           */
          if (filedErrors) {
            var cache = new utils_NameMap();
            filedErrors.forEach(function (_ref6) {
              var name = _ref6.name,
                errors = _ref6.errors;
              cache.set(name, errors);
            });
            fields.forEach(function (field) {
              // eslint-disable-next-line no-param-reassign
              field.errors = cache.get(field.name) || field.errors;
            });
          }
          var changedFields = fields.filter(function (_ref7) {
            var fieldName = _ref7.name;
            return containsNamePath(namePathList, fieldName);
          });
          if (changedFields.length) {
            onFieldsChange(changedFields, fields);
          }
        }
      });
      // =========================== Validate ===========================
      (0,defineProperty/* default */.Z)(this, "validateFields", function (arg1, arg2) {
        var _options;
        _this.warningUnhooked();
        var nameList;
        var options;
        if (Array.isArray(arg1) || typeof arg1 === 'string' || typeof arg2 === 'string') {
          nameList = arg1;
          options = arg2;
        } else {
          options = arg1;
        }
        var provideNameList = !!nameList;
        var namePathList = provideNameList ? nameList.map(getNamePath) : [];
    
        // Collect result in promise list
        var promiseList = [];
    
        // We temp save the path which need trigger for `onFieldsChange`
        var TMP_SPLIT = String(Date.now());
        var validateNamePathList = new Set();
        var recursive = (_options = options) === null || _options === void 0 ? void 0 : _options.recursive;
        _this.getFieldEntities(true).forEach(function (field) {
          // Add field if not provide `nameList`
          if (!provideNameList) {
            namePathList.push(field.getNamePath());
          }
    
          // Skip if without rule
          if (!field.props.rules || !field.props.rules.length) {
            return;
          }
          var fieldNamePath = field.getNamePath();
          validateNamePathList.add(fieldNamePath.join(TMP_SPLIT));
    
          // Add field validate rule in to promise list
          if (!provideNameList || containsNamePath(namePathList, fieldNamePath, recursive)) {
            var promise = field.validateRules((0,objectSpread2/* default */.Z)({
              validateMessages: (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, defaultValidateMessages), _this.validateMessages)
            }, options));
    
            // Wrap promise with field
            promiseList.push(promise.then(function () {
              return {
                name: fieldNamePath,
                errors: [],
                warnings: []
              };
            }).catch(function (ruleErrors) {
              var _ruleErrors$forEach;
              var mergedErrors = [];
              var mergedWarnings = [];
              (_ruleErrors$forEach = ruleErrors.forEach) === null || _ruleErrors$forEach === void 0 ? void 0 : _ruleErrors$forEach.call(ruleErrors, function (_ref8) {
                var warningOnly = _ref8.rule.warningOnly,
                  errors = _ref8.errors;
                if (warningOnly) {
                  mergedWarnings.push.apply(mergedWarnings, (0,toConsumableArray/* default */.Z)(errors));
                } else {
                  mergedErrors.push.apply(mergedErrors, (0,toConsumableArray/* default */.Z)(errors));
                }
              });
              if (mergedErrors.length) {
                return Promise.reject({
                  name: fieldNamePath,
                  errors: mergedErrors,
                  warnings: mergedWarnings
                });
              }
              return {
                name: fieldNamePath,
                errors: mergedErrors,
                warnings: mergedWarnings
              };
            }));
          }
        });
        var summaryPromise = allPromiseFinish(promiseList);
        _this.lastValidatePromise = summaryPromise;
    
        // Notify fields with rule that validate has finished and need update
        summaryPromise.catch(function (results) {
          return results;
        }).then(function (results) {
          var resultNamePathList = results.map(function (_ref9) {
            var name = _ref9.name;
            return name;
          });
          _this.notifyObservers(_this.store, resultNamePathList, {
            type: 'validateFinish'
          });
          _this.triggerOnFieldsChange(resultNamePathList, results);
        });
        var returnPromise = summaryPromise.then(function () {
          if (_this.lastValidatePromise === summaryPromise) {
            return Promise.resolve(_this.getFieldsValue(namePathList));
          }
          return Promise.reject([]);
        }).catch(function (results) {
          var errorList = results.filter(function (result) {
            return result && result.errors.length;
          });
          return Promise.reject({
            values: _this.getFieldsValue(namePathList),
            errorFields: errorList,
            outOfDate: _this.lastValidatePromise !== summaryPromise
          });
        });
    
        // Do not throw in console
        returnPromise.catch(function (e) {
          return e;
        });
    
        // `validating` changed. Trigger `onFieldsChange`
        var triggerNamePathList = namePathList.filter(function (namePath) {
          return validateNamePathList.has(namePath.join(TMP_SPLIT));
        });
        _this.triggerOnFieldsChange(triggerNamePathList);
        return returnPromise;
      });
      // ============================ Submit ============================
      (0,defineProperty/* default */.Z)(this, "submit", function () {
        _this.warningUnhooked();
        _this.validateFields().then(function (values) {
          var onFinish = _this.callbacks.onFinish;
          if (onFinish) {
            try {
              onFinish(values);
            } catch (err) {
              // Should print error if user `onFinish` callback failed
              console.error(err);
            }
          }
        }).catch(function (e) {
          var onFinishFailed = _this.callbacks.onFinishFailed;
          if (onFinishFailed) {
            onFinishFailed(e);
          }
        });
      });
      this.forceRootUpdate = forceRootUpdate;
    });
    function useForm(form) {
      var formRef = _react_17_0_2_react.useRef();
      var _React$useState = _react_17_0_2_react.useState({}),
        _React$useState2 = (0,slicedToArray/* default */.Z)(_React$useState, 2),
        forceUpdate = _React$useState2[1];
      if (!formRef.current) {
        if (form) {
          formRef.current = form;
        } else {
          // Create a new FormStore if not provided
          var forceReRender = function forceReRender() {
            forceUpdate({});
          };
          var formStore = new FormStore(forceReRender);
          formRef.current = formStore.getForm();
        }
      }
      return [formRef.current];
    }
    /* harmony default export */ var es_useForm = (useForm);
    ;// CONCATENATED MODULE: ./node_modules/_rc-field-form@1.38.2@rc-field-form/es/FormContext.js
    
    
    
    var FormContext = /*#__PURE__*/_react_17_0_2_react.createContext({
      triggerFormChange: function triggerFormChange() {},
      triggerFormFinish: function triggerFormFinish() {},
      registerForm: function registerForm() {},
      unregisterForm: function unregisterForm() {}
    });
    var FormProvider = function FormProvider(_ref) {
      var validateMessages = _ref.validateMessages,
        onFormChange = _ref.onFormChange,
        onFormFinish = _ref.onFormFinish,
        children = _ref.children;
      var formContext = _react_17_0_2_react.useContext(FormContext);
      var formsRef = _react_17_0_2_react.useRef({});
      return /*#__PURE__*/_react_17_0_2_react.createElement(FormContext.Provider, {
        value: (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, formContext), {}, {
          validateMessages: (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, formContext.validateMessages), validateMessages),
          // =========================================================
          // =                  Global Form Control                  =
          // =========================================================
          triggerFormChange: function triggerFormChange(name, changedFields) {
            if (onFormChange) {
              onFormChange(name, {
                changedFields: changedFields,
                forms: formsRef.current
              });
            }
            formContext.triggerFormChange(name, changedFields);
          },
          triggerFormFinish: function triggerFormFinish(name, values) {
            if (onFormFinish) {
              onFormFinish(name, {
                values: values,
                forms: formsRef.current
              });
            }
            formContext.triggerFormFinish(name, values);
          },
          registerForm: function registerForm(name, form) {
            if (name) {
              formsRef.current = (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, formsRef.current), {}, (0,defineProperty/* default */.Z)({}, name, form));
            }
            formContext.registerForm(name, form);
          },
          unregisterForm: function unregisterForm(name) {
            var newForms = (0,objectSpread2/* default */.Z)({}, formsRef.current);
            delete newForms[name];
            formsRef.current = newForms;
            formContext.unregisterForm(name);
          }
        })
      }, children);
    };
    
    /* harmony default export */ var es_FormContext = (FormContext);
    ;// CONCATENATED MODULE: ./node_modules/_rc-field-form@1.38.2@rc-field-form/es/Form.js
    
    
    
    
    var Form_excluded = ["name", "initialValues", "fields", "form", "preserve", "children", "component", "validateMessages", "validateTrigger", "onValuesChange", "onFieldsChange", "onFinish", "onFinishFailed"];
    
    
    
    
    
    
    var Form = function Form(_ref, ref) {
      var name = _ref.name,
        initialValues = _ref.initialValues,
        fields = _ref.fields,
        form = _ref.form,
        preserve = _ref.preserve,
        children = _ref.children,
        _ref$component = _ref.component,
        Component = _ref$component === void 0 ? 'form' : _ref$component,
        validateMessages = _ref.validateMessages,
        _ref$validateTrigger = _ref.validateTrigger,
        validateTrigger = _ref$validateTrigger === void 0 ? 'onChange' : _ref$validateTrigger,
        onValuesChange = _ref.onValuesChange,
        _onFieldsChange = _ref.onFieldsChange,
        _onFinish = _ref.onFinish,
        onFinishFailed = _ref.onFinishFailed,
        restProps = (0,objectWithoutProperties/* default */.Z)(_ref, Form_excluded);
      var formContext = _react_17_0_2_react.useContext(es_FormContext);
    
      // We customize handle event since Context will makes all the consumer re-render:
      // https://reactjs.org/docs/context.html#contextprovider
      var _useForm = es_useForm(form),
        _useForm2 = (0,slicedToArray/* default */.Z)(_useForm, 1),
        formInstance = _useForm2[0];
      var _getInternalHooks = formInstance.getInternalHooks(HOOK_MARK),
        useSubscribe = _getInternalHooks.useSubscribe,
        setInitialValues = _getInternalHooks.setInitialValues,
        setCallbacks = _getInternalHooks.setCallbacks,
        setValidateMessages = _getInternalHooks.setValidateMessages,
        setPreserve = _getInternalHooks.setPreserve,
        destroyForm = _getInternalHooks.destroyForm;
    
      // Pass ref with form instance
      _react_17_0_2_react.useImperativeHandle(ref, function () {
        return formInstance;
      });
    
      // Register form into Context
      _react_17_0_2_react.useEffect(function () {
        formContext.registerForm(name, formInstance);
        return function () {
          formContext.unregisterForm(name);
        };
      }, [formContext, formInstance, name]);
    
      // Pass props to store
      setValidateMessages((0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, formContext.validateMessages), validateMessages));
      setCallbacks({
        onValuesChange: onValuesChange,
        onFieldsChange: function onFieldsChange(changedFields) {
          formContext.triggerFormChange(name, changedFields);
          if (_onFieldsChange) {
            for (var _len = arguments.length, rest = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
              rest[_key - 1] = arguments[_key];
            }
            _onFieldsChange.apply(void 0, [changedFields].concat(rest));
          }
        },
        onFinish: function onFinish(values) {
          formContext.triggerFormFinish(name, values);
          if (_onFinish) {
            _onFinish(values);
          }
        },
        onFinishFailed: onFinishFailed
      });
      setPreserve(preserve);
    
      // Set initial value, init store value when first mount
      var mountRef = _react_17_0_2_react.useRef(null);
      setInitialValues(initialValues, !mountRef.current);
      if (!mountRef.current) {
        mountRef.current = true;
      }
      _react_17_0_2_react.useEffect(function () {
        return destroyForm;
      },
      // eslint-disable-next-line react-hooks/exhaustive-deps
      []);
    
      // Prepare children by `children` type
      var childrenNode;
      var childrenRenderProps = typeof children === 'function';
      if (childrenRenderProps) {
        var _values = formInstance.getFieldsValue(true);
        childrenNode = children(_values, formInstance);
      } else {
        childrenNode = children;
      }
    
      // Not use subscribe when using render props
      useSubscribe(!childrenRenderProps);
    
      // Listen if fields provided. We use ref to save prev data here to avoid additional render
      var prevFieldsRef = _react_17_0_2_react.useRef();
      _react_17_0_2_react.useEffect(function () {
        if (!isSimilar(prevFieldsRef.current || [], fields || [])) {
          formInstance.setFields(fields || []);
        }
        prevFieldsRef.current = fields;
      }, [fields, formInstance]);
      var formContextValue = _react_17_0_2_react.useMemo(function () {
        return (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, formInstance), {}, {
          validateTrigger: validateTrigger
        });
      }, [formInstance, validateTrigger]);
      var wrapperNode = /*#__PURE__*/_react_17_0_2_react.createElement(es_ListContext.Provider, {
        value: null
      }, /*#__PURE__*/_react_17_0_2_react.createElement(FieldContext.Provider, {
        value: formContextValue
      }, childrenNode));
      if (Component === false) {
        return wrapperNode;
      }
      return /*#__PURE__*/_react_17_0_2_react.createElement(Component, (0,esm_extends/* default */.Z)({}, restProps, {
        onSubmit: function onSubmit(event) {
          event.preventDefault();
          event.stopPropagation();
          formInstance.submit();
        },
        onReset: function onReset(event) {
          var _restProps$onReset;
          event.preventDefault();
          formInstance.resetFields();
          (_restProps$onReset = restProps.onReset) === null || _restProps$onReset === void 0 ? void 0 : _restProps$onReset.call(restProps, event);
        }
      }), wrapperNode);
    };
    /* harmony default export */ var es_Form = (Form);
    ;// CONCATENATED MODULE: ./node_modules/_rc-field-form@1.38.2@rc-field-form/es/useWatch.js
    
    
    
    
    
    
    function stringify(value) {
      try {
        return JSON.stringify(value);
      } catch (err) {
        return Math.random();
      }
    }
    var useWatchWarning =  false ? 0 : function () {};
    function useWatch() {
      for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
        args[_key] = arguments[_key];
      }
      var _args$ = args[0],
        dependencies = _args$ === void 0 ? [] : _args$,
        _args$2 = args[1],
        _form = _args$2 === void 0 ? {} : _args$2;
      var options = isFormInstance(_form) ? {
        form: _form
      } : _form;
      var form = options.form;
      var _useState = (0,_react_17_0_2_react.useState)(),
        _useState2 = (0,slicedToArray/* default */.Z)(_useState, 2),
        value = _useState2[0],
        setValue = _useState2[1];
      var valueStr = (0,_react_17_0_2_react.useMemo)(function () {
        return stringify(value);
      }, [value]);
      var valueStrRef = (0,_react_17_0_2_react.useRef)(valueStr);
      valueStrRef.current = valueStr;
      var fieldContext = (0,_react_17_0_2_react.useContext)(FieldContext);
      var formInstance = form || fieldContext;
      var isValidForm = formInstance && formInstance._init;
    
      // Warning if not exist form instance
      if (false) {}
      var namePath = getNamePath(dependencies);
      var namePathRef = (0,_react_17_0_2_react.useRef)(namePath);
      namePathRef.current = namePath;
      useWatchWarning(namePath);
      (0,_react_17_0_2_react.useEffect)(function () {
        // Skip if not exist form instance
        if (!isValidForm) {
          return;
        }
        var getFieldsValue = formInstance.getFieldsValue,
          getInternalHooks = formInstance.getInternalHooks;
        var _getInternalHooks = getInternalHooks(HOOK_MARK),
          registerWatch = _getInternalHooks.registerWatch;
        var cancelRegister = registerWatch(function (values, allValues) {
          var newValue = (0,get/* default */.Z)(options.preserve ? allValues : values, namePathRef.current);
          var nextValueStr = stringify(newValue);
    
          // Compare stringify in case it's nest object
          if (valueStrRef.current !== nextValueStr) {
            valueStrRef.current = nextValueStr;
            setValue(newValue);
          }
        });
    
        // TODO: We can improve this perf in future
        var initialValue = (0,get/* default */.Z)(options.preserve ? getFieldsValue(true) : getFieldsValue(), namePathRef.current);
    
        // React 18 has the bug that will queue update twice even the value is not changed
        // ref: https://github.com/facebook/react/issues/27213
        if (value !== initialValue) {
          setValue(initialValue);
        }
        return cancelRegister;
      },
      // We do not need re-register since namePath content is the same
      // eslint-disable-next-line react-hooks/exhaustive-deps
      [isValidForm]);
      return value;
    }
    /* harmony default export */ var es_useWatch = (useWatch);
    ;// CONCATENATED MODULE: ./node_modules/_rc-field-form@1.38.2@rc-field-form/es/index.js
    
    
    
    
    
    
    
    
    
    var InternalForm = /*#__PURE__*/_react_17_0_2_react.forwardRef(es_Form);
    var RefForm = InternalForm;
    RefForm.FormProvider = FormProvider;
    RefForm.Field = es_Field;
    RefForm.List = es_List;
    RefForm.useForm = es_useForm;
    RefForm.useWatch = es_useWatch;
    
    /* harmony default export */ var es = (RefForm);
    
    /***/ }),
    
    /***/ 77900:
    /*!**************************************************************************!*\
      !*** ./node_modules/_rc-motion@2.9.5@rc-motion/es/index.js + 13 modules ***!
      \**************************************************************************/
    /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
    
    "use strict";
    // ESM COMPAT FLAG
    __webpack_require__.r(__webpack_exports__);
    
    // EXPORTS
    __webpack_require__.d(__webpack_exports__, {
      CSSMotionList: function() { return /* reexport */ CSSMotionList; },
      Provider: function() { return /* reexport */ MotionProvider; },
      "default": function() { return /* binding */ _rc_motion_2_9_5_rc_motion_es; }
    });
    
    // EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.28.6@@babel/runtime/helpers/esm/defineProperty.js
    var defineProperty = __webpack_require__(18642);
    // EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.28.6@@babel/runtime/helpers/esm/objectSpread2.js
    var objectSpread2 = __webpack_require__(85899);
    // EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.28.6@@babel/runtime/helpers/esm/slicedToArray.js + 1 modules
    var slicedToArray = __webpack_require__(72190);
    // EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.28.6@@babel/runtime/helpers/esm/typeof.js
    var esm_typeof = __webpack_require__(43749);
    // EXTERNAL MODULE: ./node_modules/_classnames@2.5.1@classnames/index.js
    var _classnames_2_5_1_classnames = __webpack_require__(92310);
    var _classnames_2_5_1_classnames_default = /*#__PURE__*/__webpack_require__.n(_classnames_2_5_1_classnames);
    // EXTERNAL MODULE: ./node_modules/_rc-util@5.44.4@rc-util/es/Dom/findDOMNode.js
    var findDOMNode = __webpack_require__(76846);
    // EXTERNAL MODULE: ./node_modules/_rc-util@5.44.4@rc-util/es/ref.js
    var es_ref = __webpack_require__(8654);
    // EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/index.js
    var _react_17_0_2_react = __webpack_require__(59301);
    // EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.28.6@@babel/runtime/helpers/esm/objectWithoutProperties.js
    var objectWithoutProperties = __webpack_require__(42244);
    ;// CONCATENATED MODULE: ./node_modules/_rc-motion@2.9.5@rc-motion/es/context.js
    
    var _excluded = ["children"];
    
    var Context = /*#__PURE__*/_react_17_0_2_react.createContext({});
    function MotionProvider(_ref) {
      var children = _ref.children,
        props = (0,objectWithoutProperties/* default */.Z)(_ref, _excluded);
      return /*#__PURE__*/_react_17_0_2_react.createElement(Context.Provider, {
        value: props
      }, children);
    }
    // EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.28.6@@babel/runtime/helpers/esm/classCallCheck.js
    var classCallCheck = __webpack_require__(38705);
    // EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.28.6@@babel/runtime/helpers/esm/createClass.js
    var createClass = __webpack_require__(17212);
    // EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.28.6@@babel/runtime/helpers/esm/inherits.js
    var inherits = __webpack_require__(39153);
    // EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.28.6@@babel/runtime/helpers/esm/createSuper.js + 1 modules
    var createSuper = __webpack_require__(71518);
    ;// CONCATENATED MODULE: ./node_modules/_rc-motion@2.9.5@rc-motion/es/DomWrapper.js
    
    
    
    
    
    var DomWrapper = /*#__PURE__*/function (_React$Component) {
      (0,inherits/* default */.Z)(DomWrapper, _React$Component);
      var _super = (0,createSuper/* default */.Z)(DomWrapper);
      function DomWrapper() {
        (0,classCallCheck/* default */.Z)(this, DomWrapper);
        return _super.apply(this, arguments);
      }
      (0,createClass/* default */.Z)(DomWrapper, [{
        key: "render",
        value: function render() {
          return this.props.children;
        }
      }]);
      return DomWrapper;
    }(_react_17_0_2_react.Component);
    /* harmony default export */ var es_DomWrapper = (DomWrapper);
    // EXTERNAL MODULE: ./node_modules/_rc-util@5.44.4@rc-util/es/index.js
    var es = __webpack_require__(70425);
    // EXTERNAL MODULE: ./node_modules/_rc-util@5.44.4@rc-util/es/hooks/useState.js
    var useState = __webpack_require__(41799);
    // EXTERNAL MODULE: ./node_modules/_rc-util@5.44.4@rc-util/es/hooks/useEvent.js
    var useEvent = __webpack_require__(6089);
    ;// CONCATENATED MODULE: ./node_modules/_rc-util@5.44.4@rc-util/es/hooks/useSyncState.js
    
    
    
    /**
     * Same as React.useState but will always get latest state.
     * This is useful when React merge multiple state updates into one.
     * e.g. onTransitionEnd trigger multiple event at once will be merged state update in React.
     */
    function useSyncState(defaultValue) {
      var _React$useReducer = _react_17_0_2_react.useReducer(function (x) {
          return x + 1;
        }, 0),
        _React$useReducer2 = (0,slicedToArray/* default */.Z)(_React$useReducer, 2),
        forceUpdate = _React$useReducer2[1];
      var currentValueRef = _react_17_0_2_react.useRef(defaultValue);
      var getValue = (0,useEvent/* default */.Z)(function () {
        return currentValueRef.current;
      });
      var setValue = (0,useEvent/* default */.Z)(function (updater) {
        currentValueRef.current = typeof updater === 'function' ? updater(currentValueRef.current) : updater;
        forceUpdate();
      });
      return [getValue, setValue];
    }
    ;// CONCATENATED MODULE: ./node_modules/_rc-motion@2.9.5@rc-motion/es/interface.js
    var STATUS_NONE = 'none';
    var STATUS_APPEAR = 'appear';
    var STATUS_ENTER = 'enter';
    var STATUS_LEAVE = 'leave';
    var STEP_NONE = 'none';
    var STEP_PREPARE = 'prepare';
    var STEP_START = 'start';
    var STEP_ACTIVE = 'active';
    var STEP_ACTIVATED = 'end';
    /**
     * Used for disabled motion case.
     * Prepare stage will still work but start & active will be skipped.
     */
    var STEP_PREPARED = 'prepared';
    // EXTERNAL MODULE: ./node_modules/_rc-util@5.44.4@rc-util/es/Dom/canUseDom.js
    var canUseDom = __webpack_require__(47273);
    ;// CONCATENATED MODULE: ./node_modules/_rc-motion@2.9.5@rc-motion/es/util/motion.js
    
    
    // ================= Transition =================
    // Event wrapper. Copy from react source code
    function makePrefixMap(styleProp, eventName) {
      var prefixes = {};
      prefixes[styleProp.toLowerCase()] = eventName.toLowerCase();
      prefixes["Webkit".concat(styleProp)] = "webkit".concat(eventName);
      prefixes["Moz".concat(styleProp)] = "moz".concat(eventName);
      prefixes["ms".concat(styleProp)] = "MS".concat(eventName);
      prefixes["O".concat(styleProp)] = "o".concat(eventName.toLowerCase());
      return prefixes;
    }
    function getVendorPrefixes(domSupport, win) {
      var prefixes = {
        animationend: makePrefixMap('Animation', 'AnimationEnd'),
        transitionend: makePrefixMap('Transition', 'TransitionEnd')
      };
      if (domSupport) {
        if (!('AnimationEvent' in win)) {
          delete prefixes.animationend.animation;
        }
        if (!('TransitionEvent' in win)) {
          delete prefixes.transitionend.transition;
        }
      }
      return prefixes;
    }
    var vendorPrefixes = getVendorPrefixes((0,canUseDom/* default */.Z)(), typeof window !== 'undefined' ? window : {});
    var style = {};
    if ((0,canUseDom/* default */.Z)()) {
      var _document$createEleme = document.createElement('div');
      style = _document$createEleme.style;
    }
    var prefixedEventNames = {};
    function getVendorPrefixedEventName(eventName) {
      if (prefixedEventNames[eventName]) {
        return prefixedEventNames[eventName];
      }
      var prefixMap = vendorPrefixes[eventName];
      if (prefixMap) {
        var stylePropList = Object.keys(prefixMap);
        var len = stylePropList.length;
        for (var i = 0; i < len; i += 1) {
          var styleProp = stylePropList[i];
          if (Object.prototype.hasOwnProperty.call(prefixMap, styleProp) && styleProp in style) {
            prefixedEventNames[eventName] = prefixMap[styleProp];
            return prefixedEventNames[eventName];
          }
        }
      }
      return '';
    }
    var internalAnimationEndName = getVendorPrefixedEventName('animationend');
    var internalTransitionEndName = getVendorPrefixedEventName('transitionend');
    var supportTransition = !!(internalAnimationEndName && internalTransitionEndName);
    var animationEndName = internalAnimationEndName || 'animationend';
    var transitionEndName = internalTransitionEndName || 'transitionend';
    function getTransitionName(transitionName, transitionType) {
      if (!transitionName) return null;
      if ((0,esm_typeof/* default */.Z)(transitionName) === 'object') {
        var type = transitionType.replace(/-\w/g, function (match) {
          return match[1].toUpperCase();
        });
        return transitionName[type];
      }
      return "".concat(transitionName, "-").concat(transitionType);
    }
    ;// CONCATENATED MODULE: ./node_modules/_rc-motion@2.9.5@rc-motion/es/hooks/useDomMotionEvents.js
    
    
    
    /* harmony default export */ var useDomMotionEvents = (function (onInternalMotionEnd) {
      var cacheElementRef = (0,_react_17_0_2_react.useRef)();
    
      // Remove events
      function removeMotionEvents(element) {
        if (element) {
          element.removeEventListener(transitionEndName, onInternalMotionEnd);
          element.removeEventListener(animationEndName, onInternalMotionEnd);
        }
      }
    
      // Patch events
      function patchMotionEvents(element) {
        if (cacheElementRef.current && cacheElementRef.current !== element) {
          removeMotionEvents(cacheElementRef.current);
        }
        if (element && element !== cacheElementRef.current) {
          element.addEventListener(transitionEndName, onInternalMotionEnd);
          element.addEventListener(animationEndName, onInternalMotionEnd);
    
          // Save as cache in case dom removed trigger by `motionDeadline`
          cacheElementRef.current = element;
        }
      }
    
      // Clean up when removed
      _react_17_0_2_react.useEffect(function () {
        return function () {
          removeMotionEvents(cacheElementRef.current);
        };
      }, []);
      return [patchMotionEvents, removeMotionEvents];
    });
    ;// CONCATENATED MODULE: ./node_modules/_rc-motion@2.9.5@rc-motion/es/hooks/useIsomorphicLayoutEffect.js
    
    
    
    // It's safe to use `useLayoutEffect` but the warning is annoying
    var useIsomorphicLayoutEffect = (0,canUseDom/* default */.Z)() ? _react_17_0_2_react.useLayoutEffect : _react_17_0_2_react.useEffect;
    /* harmony default export */ var hooks_useIsomorphicLayoutEffect = (useIsomorphicLayoutEffect);
    // EXTERNAL MODULE: ./node_modules/_rc-util@5.44.4@rc-util/es/raf.js
    var raf = __webpack_require__(16089);
    ;// CONCATENATED MODULE: ./node_modules/_rc-motion@2.9.5@rc-motion/es/hooks/useNextFrame.js
    
    
    /* harmony default export */ var useNextFrame = (function () {
      var nextFrameRef = _react_17_0_2_react.useRef(null);
      function cancelNextFrame() {
        raf/* default */.Z.cancel(nextFrameRef.current);
      }
      function nextFrame(callback) {
        var delay = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 2;
        cancelNextFrame();
        var nextFrameId = (0,raf/* default */.Z)(function () {
          if (delay <= 1) {
            callback({
              isCanceled: function isCanceled() {
                return nextFrameId !== nextFrameRef.current;
              }
            });
          } else {
            nextFrame(callback, delay - 1);
          }
        });
        nextFrameRef.current = nextFrameId;
      }
      _react_17_0_2_react.useEffect(function () {
        return function () {
          cancelNextFrame();
        };
      }, []);
      return [nextFrame, cancelNextFrame];
    });
    ;// CONCATENATED MODULE: ./node_modules/_rc-motion@2.9.5@rc-motion/es/hooks/useStepQueue.js
    
    
    
    
    
    
    var FULL_STEP_QUEUE = [STEP_PREPARE, STEP_START, STEP_ACTIVE, STEP_ACTIVATED];
    var SIMPLE_STEP_QUEUE = [STEP_PREPARE, STEP_PREPARED];
    
    /** Skip current step */
    var SkipStep = false;
    /** Current step should be update in */
    var DoStep = true;
    function isActive(step) {
      return step === STEP_ACTIVE || step === STEP_ACTIVATED;
    }
    /* harmony default export */ var useStepQueue = (function (status, prepareOnly, callback) {
      var _useState = (0,useState/* default */.Z)(STEP_NONE),
        _useState2 = (0,slicedToArray/* default */.Z)(_useState, 2),
        step = _useState2[0],
        setStep = _useState2[1];
      var _useNextFrame = useNextFrame(),
        _useNextFrame2 = (0,slicedToArray/* default */.Z)(_useNextFrame, 2),
        nextFrame = _useNextFrame2[0],
        cancelNextFrame = _useNextFrame2[1];
      function startQueue() {
        setStep(STEP_PREPARE, true);
      }
      var STEP_QUEUE = prepareOnly ? SIMPLE_STEP_QUEUE : FULL_STEP_QUEUE;
      hooks_useIsomorphicLayoutEffect(function () {
        if (step !== STEP_NONE && step !== STEP_ACTIVATED) {
          var index = STEP_QUEUE.indexOf(step);
          var nextStep = STEP_QUEUE[index + 1];
          var result = callback(step);
          if (result === SkipStep) {
            // Skip when no needed
            setStep(nextStep, true);
          } else if (nextStep) {
            // Do as frame for step update
            nextFrame(function (info) {
              function doNext() {
                // Skip since current queue is ood
                if (info.isCanceled()) return;
                setStep(nextStep, true);
              }
              if (result === true) {
                doNext();
              } else {
                // Only promise should be async
                Promise.resolve(result).then(doNext);
              }
            });
          }
        }
      }, [status, step]);
      _react_17_0_2_react.useEffect(function () {
        return function () {
          cancelNextFrame();
        };
      }, []);
      return [startQueue, step];
    });
    ;// CONCATENATED MODULE: ./node_modules/_rc-motion@2.9.5@rc-motion/es/hooks/useStatus.js
    
    
    
    
    
    
    
    
    
    
    
    
    function useStatus(supportMotion, visible, getElement, _ref) {
      var _ref$motionEnter = _ref.motionEnter,
        motionEnter = _ref$motionEnter === void 0 ? true : _ref$motionEnter,
        _ref$motionAppear = _ref.motionAppear,
        motionAppear = _ref$motionAppear === void 0 ? true : _ref$motionAppear,
        _ref$motionLeave = _ref.motionLeave,
        motionLeave = _ref$motionLeave === void 0 ? true : _ref$motionLeave,
        motionDeadline = _ref.motionDeadline,
        motionLeaveImmediately = _ref.motionLeaveImmediately,
        onAppearPrepare = _ref.onAppearPrepare,
        onEnterPrepare = _ref.onEnterPrepare,
        onLeavePrepare = _ref.onLeavePrepare,
        onAppearStart = _ref.onAppearStart,
        onEnterStart = _ref.onEnterStart,
        onLeaveStart = _ref.onLeaveStart,
        onAppearActive = _ref.onAppearActive,
        onEnterActive = _ref.onEnterActive,
        onLeaveActive = _ref.onLeaveActive,
        onAppearEnd = _ref.onAppearEnd,
        onEnterEnd = _ref.onEnterEnd,
        onLeaveEnd = _ref.onLeaveEnd,
        onVisibleChanged = _ref.onVisibleChanged;
      // Used for outer render usage to avoid `visible: false & status: none` to render nothing
      var _useState = (0,useState/* default */.Z)(),
        _useState2 = (0,slicedToArray/* default */.Z)(_useState, 2),
        asyncVisible = _useState2[0],
        setAsyncVisible = _useState2[1];
      var _useSyncState = useSyncState(STATUS_NONE),
        _useSyncState2 = (0,slicedToArray/* default */.Z)(_useSyncState, 2),
        getStatus = _useSyncState2[0],
        setStatus = _useSyncState2[1];
      var _useState3 = (0,useState/* default */.Z)(null),
        _useState4 = (0,slicedToArray/* default */.Z)(_useState3, 2),
        style = _useState4[0],
        setStyle = _useState4[1];
      var currentStatus = getStatus();
      var mountedRef = (0,_react_17_0_2_react.useRef)(false);
      var deadlineRef = (0,_react_17_0_2_react.useRef)(null);
    
      // =========================== Dom Node ===========================
      function getDomElement() {
        return getElement();
      }
    
      // ========================== Motion End ==========================
      var activeRef = (0,_react_17_0_2_react.useRef)(false);
    
      /**
       * Clean up status & style
       */
      function updateMotionEndStatus() {
        setStatus(STATUS_NONE);
        setStyle(null, true);
      }
      var onInternalMotionEnd = (0,es.useEvent)(function (event) {
        var status = getStatus();
        // Do nothing since not in any transition status.
        // This may happen when `motionDeadline` trigger.
        if (status === STATUS_NONE) {
          return;
        }
        var element = getDomElement();
        if (event && !event.deadline && event.target !== element) {
          // event exists
          // not initiated by deadline
          // transitionEnd not fired by inner elements
          return;
        }
        var currentActive = activeRef.current;
        var canEnd;
        if (status === STATUS_APPEAR && currentActive) {
          canEnd = onAppearEnd === null || onAppearEnd === void 0 ? void 0 : onAppearEnd(element, event);
        } else if (status === STATUS_ENTER && currentActive) {
          canEnd = onEnterEnd === null || onEnterEnd === void 0 ? void 0 : onEnterEnd(element, event);
        } else if (status === STATUS_LEAVE && currentActive) {
          canEnd = onLeaveEnd === null || onLeaveEnd === void 0 ? void 0 : onLeaveEnd(element, event);
        }
    
        // Only update status when `canEnd` and not destroyed
        if (currentActive && canEnd !== false) {
          updateMotionEndStatus();
        }
      });
      var _useDomMotionEvents = useDomMotionEvents(onInternalMotionEnd),
        _useDomMotionEvents2 = (0,slicedToArray/* default */.Z)(_useDomMotionEvents, 1),
        patchMotionEvents = _useDomMotionEvents2[0];
    
      // ============================= Step =============================
      var getEventHandlers = function getEventHandlers(targetStatus) {
        switch (targetStatus) {
          case STATUS_APPEAR:
            return (0,defineProperty/* default */.Z)((0,defineProperty/* default */.Z)((0,defineProperty/* default */.Z)({}, STEP_PREPARE, onAppearPrepare), STEP_START, onAppearStart), STEP_ACTIVE, onAppearActive);
          case STATUS_ENTER:
            return (0,defineProperty/* default */.Z)((0,defineProperty/* default */.Z)((0,defineProperty/* default */.Z)({}, STEP_PREPARE, onEnterPrepare), STEP_START, onEnterStart), STEP_ACTIVE, onEnterActive);
          case STATUS_LEAVE:
            return (0,defineProperty/* default */.Z)((0,defineProperty/* default */.Z)((0,defineProperty/* default */.Z)({}, STEP_PREPARE, onLeavePrepare), STEP_START, onLeaveStart), STEP_ACTIVE, onLeaveActive);
          default:
            return {};
        }
      };
      var eventHandlers = _react_17_0_2_react.useMemo(function () {
        return getEventHandlers(currentStatus);
      }, [currentStatus]);
      var _useStepQueue = useStepQueue(currentStatus, !supportMotion, function (newStep) {
          // Only prepare step can be skip
          if (newStep === STEP_PREPARE) {
            var onPrepare = eventHandlers[STEP_PREPARE];
            if (!onPrepare) {
              return SkipStep;
            }
            return onPrepare(getDomElement());
          }
    
          // Rest step is sync update
          if (step in eventHandlers) {
            var _eventHandlers$step;
            setStyle(((_eventHandlers$step = eventHandlers[step]) === null || _eventHandlers$step === void 0 ? void 0 : _eventHandlers$step.call(eventHandlers, getDomElement(), null)) || null);
          }
          if (step === STEP_ACTIVE && currentStatus !== STATUS_NONE) {
            // Patch events when motion needed
            patchMotionEvents(getDomElement());
            if (motionDeadline > 0) {
              clearTimeout(deadlineRef.current);
              deadlineRef.current = setTimeout(function () {
                onInternalMotionEnd({
                  deadline: true
                });
              }, motionDeadline);
            }
          }
          if (step === STEP_PREPARED) {
            updateMotionEndStatus();
          }
          return DoStep;
        }),
        _useStepQueue2 = (0,slicedToArray/* default */.Z)(_useStepQueue, 2),
        startStep = _useStepQueue2[0],
        step = _useStepQueue2[1];
      var active = isActive(step);
      activeRef.current = active;
    
      // ============================ Status ============================
      var visibleRef = (0,_react_17_0_2_react.useRef)(null);
    
      // Update with new status
      hooks_useIsomorphicLayoutEffect(function () {
        // When use Suspense, the `visible` will repeat trigger,
        // But not real change of the `visible`, we need to skip it.
        // https://github.com/ant-design/ant-design/issues/44379
        if (mountedRef.current && visibleRef.current === visible) {
          return;
        }
        setAsyncVisible(visible);
        var isMounted = mountedRef.current;
        mountedRef.current = true;
    
        // if (!supportMotion) {
        //   return;
        // }
    
        var nextStatus;
    
        // Appear
        if (!isMounted && visible && motionAppear) {
          nextStatus = STATUS_APPEAR;
        }
    
        // Enter
        if (isMounted && visible && motionEnter) {
          nextStatus = STATUS_ENTER;
        }
    
        // Leave
        if (isMounted && !visible && motionLeave || !isMounted && motionLeaveImmediately && !visible && motionLeave) {
          nextStatus = STATUS_LEAVE;
        }
        var nextEventHandlers = getEventHandlers(nextStatus);
    
        // Update to next status
        if (nextStatus && (supportMotion || nextEventHandlers[STEP_PREPARE])) {
          setStatus(nextStatus);
          startStep();
        } else {
          // Set back in case no motion but prev status has prepare step
          setStatus(STATUS_NONE);
        }
        visibleRef.current = visible;
      }, [visible]);
    
      // ============================ Effect ============================
      // Reset when motion changed
      (0,_react_17_0_2_react.useEffect)(function () {
        if (
        // Cancel appear
        currentStatus === STATUS_APPEAR && !motionAppear ||
        // Cancel enter
        currentStatus === STATUS_ENTER && !motionEnter ||
        // Cancel leave
        currentStatus === STATUS_LEAVE && !motionLeave) {
          setStatus(STATUS_NONE);
        }
      }, [motionAppear, motionEnter, motionLeave]);
      (0,_react_17_0_2_react.useEffect)(function () {
        return function () {
          mountedRef.current = false;
          clearTimeout(deadlineRef.current);
        };
      }, []);
    
      // Trigger `onVisibleChanged`
      var firstMountChangeRef = _react_17_0_2_react.useRef(false);
      (0,_react_17_0_2_react.useEffect)(function () {
        // [visible & motion not end] => [!visible & motion end] still need trigger onVisibleChanged
        if (asyncVisible) {
          firstMountChangeRef.current = true;
        }
        if (asyncVisible !== undefined && currentStatus === STATUS_NONE) {
          // Skip first render is invisible since it's nothing changed
          if (firstMountChangeRef.current || asyncVisible) {
            onVisibleChanged === null || onVisibleChanged === void 0 || onVisibleChanged(asyncVisible);
          }
          firstMountChangeRef.current = true;
        }
      }, [asyncVisible, currentStatus]);
    
      // ============================ Styles ============================
      var mergedStyle = style;
      if (eventHandlers[STEP_PREPARE] && step === STEP_START) {
        mergedStyle = (0,objectSpread2/* default */.Z)({
          transition: 'none'
        }, mergedStyle);
      }
      return [currentStatus, step, mergedStyle, asyncVisible !== null && asyncVisible !== void 0 ? asyncVisible : visible];
    }
    ;// CONCATENATED MODULE: ./node_modules/_rc-motion@2.9.5@rc-motion/es/CSSMotion.js
    
    
    
    
    /* eslint-disable react/default-props-match-prop-types, react/no-multi-comp, react/prop-types */
    
    
    
    
    
    
    
    
    
    
    
    /**
     * `transitionSupport` is used for none transition test case.
     * Default we use browser transition event support check.
     */
    function genCSSMotion(config) {
      var transitionSupport = config;
      if ((0,esm_typeof/* default */.Z)(config) === 'object') {
        transitionSupport = config.transitionSupport;
      }
      function isSupportTransition(props, contextMotion) {
        return !!(props.motionName && transitionSupport && contextMotion !== false);
      }
      var CSSMotion = /*#__PURE__*/_react_17_0_2_react.forwardRef(function (props, ref) {
        var _props$visible = props.visible,
          visible = _props$visible === void 0 ? true : _props$visible,
          _props$removeOnLeave = props.removeOnLeave,
          removeOnLeave = _props$removeOnLeave === void 0 ? true : _props$removeOnLeave,
          forceRender = props.forceRender,
          children = props.children,
          motionName = props.motionName,
          leavedClassName = props.leavedClassName,
          eventProps = props.eventProps;
        var _React$useContext = _react_17_0_2_react.useContext(Context),
          contextMotion = _React$useContext.motion;
        var supportMotion = isSupportTransition(props, contextMotion);
    
        // Ref to the react node, it may be a HTMLElement
        var nodeRef = (0,_react_17_0_2_react.useRef)();
        // Ref to the dom wrapper in case ref can not pass to HTMLElement
        var wrapperNodeRef = (0,_react_17_0_2_react.useRef)();
        function getDomElement() {
          try {
            // Here we're avoiding call for findDOMNode since it's deprecated
            // in strict mode. We're calling it only when node ref is not
            // an instance of DOM HTMLElement. Otherwise use
            // findDOMNode as a final resort
            return nodeRef.current instanceof HTMLElement ? nodeRef.current : (0,findDOMNode/* default */.ZP)(wrapperNodeRef.current);
          } catch (e) {
            // Only happen when `motionDeadline` trigger but element removed.
            return null;
          }
        }
        var _useStatus = useStatus(supportMotion, visible, getDomElement, props),
          _useStatus2 = (0,slicedToArray/* default */.Z)(_useStatus, 4),
          status = _useStatus2[0],
          statusStep = _useStatus2[1],
          statusStyle = _useStatus2[2],
          mergedVisible = _useStatus2[3];
    
        // Record whether content has rendered
        // Will return null for un-rendered even when `removeOnLeave={false}`
        var renderedRef = _react_17_0_2_react.useRef(mergedVisible);
        if (mergedVisible) {
          renderedRef.current = true;
        }
    
        // ====================== Refs ======================
        var setNodeRef = _react_17_0_2_react.useCallback(function (node) {
          nodeRef.current = node;
          (0,es_ref/* fillRef */.mH)(ref, node);
        }, [ref]);
    
        // ===================== Render =====================
        var motionChildren;
        var mergedProps = (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, eventProps), {}, {
          visible: visible
        });
        if (!children) {
          // No children
          motionChildren = null;
        } else if (status === STATUS_NONE) {
          // Stable children
          if (mergedVisible) {
            motionChildren = children((0,objectSpread2/* default */.Z)({}, mergedProps), setNodeRef);
          } else if (!removeOnLeave && renderedRef.current && leavedClassName) {
            motionChildren = children((0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, mergedProps), {}, {
              className: leavedClassName
            }), setNodeRef);
          } else if (forceRender || !removeOnLeave && !leavedClassName) {
            motionChildren = children((0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, mergedProps), {}, {
              style: {
                display: 'none'
              }
            }), setNodeRef);
          } else {
            motionChildren = null;
          }
        } else {
          // In motion
          var statusSuffix;
          if (statusStep === STEP_PREPARE) {
            statusSuffix = 'prepare';
          } else if (isActive(statusStep)) {
            statusSuffix = 'active';
          } else if (statusStep === STEP_START) {
            statusSuffix = 'start';
          }
          var motionCls = getTransitionName(motionName, "".concat(status, "-").concat(statusSuffix));
          motionChildren = children((0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, mergedProps), {}, {
            className: _classnames_2_5_1_classnames_default()(getTransitionName(motionName, status), (0,defineProperty/* default */.Z)((0,defineProperty/* default */.Z)({}, motionCls, motionCls && statusSuffix), motionName, typeof motionName === 'string')),
            style: statusStyle
          }), setNodeRef);
        }
    
        // Auto inject ref if child node not have `ref` props
        if ( /*#__PURE__*/_react_17_0_2_react.isValidElement(motionChildren) && (0,es_ref/* supportRef */.Yr)(motionChildren)) {
          var originNodeRef = (0,es_ref/* getNodeRef */.C4)(motionChildren);
          if (!originNodeRef) {
            motionChildren = /*#__PURE__*/_react_17_0_2_react.cloneElement(motionChildren, {
              ref: setNodeRef
            });
          }
        }
        return /*#__PURE__*/_react_17_0_2_react.createElement(es_DomWrapper, {
          ref: wrapperNodeRef
        }, motionChildren);
      });
      CSSMotion.displayName = 'CSSMotion';
      return CSSMotion;
    }
    /* harmony default export */ var es_CSSMotion = (genCSSMotion(supportTransition));
    // EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.28.6@@babel/runtime/helpers/esm/extends.js
    var esm_extends = __webpack_require__(60499);
    // EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.28.6@@babel/runtime/helpers/esm/assertThisInitialized.js
    var assertThisInitialized = __webpack_require__(15793);
    ;// CONCATENATED MODULE: ./node_modules/_rc-motion@2.9.5@rc-motion/es/util/diff.js
    
    
    var STATUS_ADD = 'add';
    var STATUS_KEEP = 'keep';
    var STATUS_REMOVE = 'remove';
    var STATUS_REMOVED = 'removed';
    function wrapKeyToObject(key) {
      var keyObj;
      if (key && (0,esm_typeof/* default */.Z)(key) === 'object' && 'key' in key) {
        keyObj = key;
      } else {
        keyObj = {
          key: key
        };
      }
      return (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, keyObj), {}, {
        key: String(keyObj.key)
      });
    }
    function parseKeys() {
      var keys = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
      return keys.map(wrapKeyToObject);
    }
    function diffKeys() {
      var prevKeys = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
      var currentKeys = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];
      var list = [];
      var currentIndex = 0;
      var currentLen = currentKeys.length;
      var prevKeyObjects = parseKeys(prevKeys);
      var currentKeyObjects = parseKeys(currentKeys);
    
      // Check prev keys to insert or keep
      prevKeyObjects.forEach(function (keyObj) {
        var hit = false;
        for (var i = currentIndex; i < currentLen; i += 1) {
          var currentKeyObj = currentKeyObjects[i];
          if (currentKeyObj.key === keyObj.key) {
            // New added keys should add before current key
            if (currentIndex < i) {
              list = list.concat(currentKeyObjects.slice(currentIndex, i).map(function (obj) {
                return (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, obj), {}, {
                  status: STATUS_ADD
                });
              }));
              currentIndex = i;
            }
            list.push((0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, currentKeyObj), {}, {
              status: STATUS_KEEP
            }));
            currentIndex += 1;
            hit = true;
            break;
          }
        }
    
        // If not hit, it means key is removed
        if (!hit) {
          list.push((0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, keyObj), {}, {
            status: STATUS_REMOVE
          }));
        }
      });
    
      // Add rest to the list
      if (currentIndex < currentLen) {
        list = list.concat(currentKeyObjects.slice(currentIndex).map(function (obj) {
          return (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, obj), {}, {
            status: STATUS_ADD
          });
        }));
      }
    
      /**
       * Merge same key when it remove and add again:
       *    [1 - add, 2 - keep, 1 - remove] -> [1 - keep, 2 - keep]
       */
      var keys = {};
      list.forEach(function (_ref) {
        var key = _ref.key;
        keys[key] = (keys[key] || 0) + 1;
      });
      var duplicatedKeys = Object.keys(keys).filter(function (key) {
        return keys[key] > 1;
      });
      duplicatedKeys.forEach(function (matchKey) {
        // Remove `STATUS_REMOVE` node.
        list = list.filter(function (_ref2) {
          var key = _ref2.key,
            status = _ref2.status;
          return key !== matchKey || status !== STATUS_REMOVE;
        });
    
        // Update `STATUS_ADD` to `STATUS_KEEP`
        list.forEach(function (node) {
          if (node.key === matchKey) {
            // eslint-disable-next-line no-param-reassign
            node.status = STATUS_KEEP;
          }
        });
      });
      return list;
    }
    ;// CONCATENATED MODULE: ./node_modules/_rc-motion@2.9.5@rc-motion/es/CSSMotionList.js
    
    
    
    
    
    
    
    
    
    var CSSMotionList_excluded = ["component", "children", "onVisibleChanged", "onAllRemoved"],
      _excluded2 = ["status"];
    /* eslint react/prop-types: 0 */
    
    
    
    
    var MOTION_PROP_NAMES = ['eventProps', 'visible', 'children', 'motionName', 'motionAppear', 'motionEnter', 'motionLeave', 'motionLeaveImmediately', 'motionDeadline', 'removeOnLeave', 'leavedClassName', 'onAppearPrepare', 'onAppearStart', 'onAppearActive', 'onAppearEnd', 'onEnterStart', 'onEnterActive', 'onEnterEnd', 'onLeaveStart', 'onLeaveActive', 'onLeaveEnd'];
    /**
     * Generate a CSSMotionList component with config
     * @param transitionSupport No need since CSSMotionList no longer depends on transition support
     * @param CSSMotion CSSMotion component
     */
    function genCSSMotionList(transitionSupport) {
      var CSSMotion = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : es_CSSMotion;
      var CSSMotionList = /*#__PURE__*/function (_React$Component) {
        (0,inherits/* default */.Z)(CSSMotionList, _React$Component);
        var _super = (0,createSuper/* default */.Z)(CSSMotionList);
        function CSSMotionList() {
          var _this;
          (0,classCallCheck/* default */.Z)(this, CSSMotionList);
          for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
            args[_key] = arguments[_key];
          }
          _this = _super.call.apply(_super, [this].concat(args));
          (0,defineProperty/* default */.Z)((0,assertThisInitialized/* default */.Z)(_this), "state", {
            keyEntities: []
          });
          // ZombieJ: Return the count of rest keys. It's safe to refactor if need more info.
          (0,defineProperty/* default */.Z)((0,assertThisInitialized/* default */.Z)(_this), "removeKey", function (removeKey) {
            _this.setState(function (prevState) {
              var nextKeyEntities = prevState.keyEntities.map(function (entity) {
                if (entity.key !== removeKey) return entity;
                return (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, entity), {}, {
                  status: STATUS_REMOVED
                });
              });
              return {
                keyEntities: nextKeyEntities
              };
            }, function () {
              var keyEntities = _this.state.keyEntities;
              var restKeysCount = keyEntities.filter(function (_ref) {
                var status = _ref.status;
                return status !== STATUS_REMOVED;
              }).length;
              if (restKeysCount === 0 && _this.props.onAllRemoved) {
                _this.props.onAllRemoved();
              }
            });
          });
          return _this;
        }
        (0,createClass/* default */.Z)(CSSMotionList, [{
          key: "render",
          value: function render() {
            var _this2 = this;
            var keyEntities = this.state.keyEntities;
            var _this$props = this.props,
              component = _this$props.component,
              children = _this$props.children,
              _onVisibleChanged = _this$props.onVisibleChanged,
              onAllRemoved = _this$props.onAllRemoved,
              restProps = (0,objectWithoutProperties/* default */.Z)(_this$props, CSSMotionList_excluded);
            var Component = component || _react_17_0_2_react.Fragment;
            var motionProps = {};
            MOTION_PROP_NAMES.forEach(function (prop) {
              motionProps[prop] = restProps[prop];
              delete restProps[prop];
            });
            delete restProps.keys;
            return /*#__PURE__*/_react_17_0_2_react.createElement(Component, restProps, keyEntities.map(function (_ref2, index) {
              var status = _ref2.status,
                eventProps = (0,objectWithoutProperties/* default */.Z)(_ref2, _excluded2);
              var visible = status === STATUS_ADD || status === STATUS_KEEP;
              return /*#__PURE__*/_react_17_0_2_react.createElement(CSSMotion, (0,esm_extends/* default */.Z)({}, motionProps, {
                key: eventProps.key,
                visible: visible,
                eventProps: eventProps,
                onVisibleChanged: function onVisibleChanged(changedVisible) {
                  _onVisibleChanged === null || _onVisibleChanged === void 0 || _onVisibleChanged(changedVisible, {
                    key: eventProps.key
                  });
                  if (!changedVisible) {
                    _this2.removeKey(eventProps.key);
                  }
                }
              }), function (props, ref) {
                return children((0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, props), {}, {
                  index: index
                }), ref);
              });
            }));
          }
        }], [{
          key: "getDerivedStateFromProps",
          value: function getDerivedStateFromProps(_ref3, _ref4) {
            var keys = _ref3.keys;
            var keyEntities = _ref4.keyEntities;
            var parsedKeyObjects = parseKeys(keys);
            var mixedKeyEntities = diffKeys(keyEntities, parsedKeyObjects);
            return {
              keyEntities: mixedKeyEntities.filter(function (entity) {
                var prevEntity = keyEntities.find(function (_ref5) {
                  var key = _ref5.key;
                  return entity.key === key;
                });
    
                // Remove if already mark as removed
                if (prevEntity && prevEntity.status === STATUS_REMOVED && entity.status === STATUS_REMOVE) {
                  return false;
                }
                return true;
              })
            };
          }
        }]);
        return CSSMotionList;
      }(_react_17_0_2_react.Component);
      (0,defineProperty/* default */.Z)(CSSMotionList, "defaultProps", {
        component: 'div'
      });
      return CSSMotionList;
    }
    /* harmony default export */ var CSSMotionList = (genCSSMotionList(supportTransition));
    ;// CONCATENATED MODULE: ./node_modules/_rc-motion@2.9.5@rc-motion/es/index.js
    
    
    
    
    /* harmony default export */ var _rc_motion_2_9_5_rc_motion_es = (es_CSSMotion);
    
    /***/ }),
    
    /***/ 581:
    /*!*************************************************************************************!*\
      !*** ./node_modules/_rc-notification@5.1.1@rc-notification/es/index.js + 5 modules ***!
      \*************************************************************************************/
    /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
    
    "use strict";
    
    // EXPORTS
    __webpack_require__.d(__webpack_exports__, {
      qX: function() { return /* reexport */ Notice; },
      JB: function() { return /* reexport */ es_NotificationProvider; },
      lm: function() { return /* reexport */ useNotification; }
    });
    
    // EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.28.6@@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules
    var toConsumableArray = __webpack_require__(77654);
    // EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.28.6@@babel/runtime/helpers/esm/slicedToArray.js + 1 modules
    var slicedToArray = __webpack_require__(72190);
    // EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.28.6@@babel/runtime/helpers/esm/objectWithoutProperties.js
    var objectWithoutProperties = __webpack_require__(42244);
    // EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/index.js
    var _react_17_0_2_react = __webpack_require__(59301);
    // EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.28.6@@babel/runtime/helpers/esm/objectSpread2.js
    var objectSpread2 = __webpack_require__(85899);
    // EXTERNAL MODULE: ./node_modules/_react-dom@17.0.2@react-dom/index.js
    var _react_dom_17_0_2_react_dom = __webpack_require__(4676);
    // EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.28.6@@babel/runtime/helpers/esm/extends.js
    var esm_extends = __webpack_require__(60499);
    // EXTERNAL MODULE: ./node_modules/_classnames@2.5.1@classnames/index.js
    var _classnames_2_5_1_classnames = __webpack_require__(92310);
    var _classnames_2_5_1_classnames_default = /*#__PURE__*/__webpack_require__.n(_classnames_2_5_1_classnames);
    // EXTERNAL MODULE: ./node_modules/_rc-motion@2.9.5@rc-motion/es/index.js + 13 modules
    var es = __webpack_require__(77900);
    // EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.28.6@@babel/runtime/helpers/esm/defineProperty.js
    var defineProperty = __webpack_require__(18642);
    // EXTERNAL MODULE: ./node_modules/_rc-util@5.44.4@rc-util/es/KeyCode.js
    var KeyCode = __webpack_require__(10228);
    ;// CONCATENATED MODULE: ./node_modules/_rc-notification@5.1.1@rc-notification/es/Notice.js
    
    
    
    
    
    
    var Notify = /*#__PURE__*/_react_17_0_2_react.forwardRef(function (props, ref) {
      var prefixCls = props.prefixCls,
        style = props.style,
        className = props.className,
        _props$duration = props.duration,
        duration = _props$duration === void 0 ? 4.5 : _props$duration,
        eventKey = props.eventKey,
        content = props.content,
        closable = props.closable,
        _props$closeIcon = props.closeIcon,
        closeIcon = _props$closeIcon === void 0 ? 'x' : _props$closeIcon,
        divProps = props.props,
        onClick = props.onClick,
        onNoticeClose = props.onNoticeClose,
        times = props.times;
      var _React$useState = _react_17_0_2_react.useState(false),
        _React$useState2 = (0,slicedToArray/* default */.Z)(_React$useState, 2),
        hovering = _React$useState2[0],
        setHovering = _React$useState2[1];
    
      // ======================== Close =========================
      var onInternalClose = function onInternalClose() {
        onNoticeClose(eventKey);
      };
      var onCloseKeyDown = function onCloseKeyDown(e) {
        if (e.key === 'Enter' || e.code === 'Enter' || e.keyCode === KeyCode/* default */.Z.ENTER) {
          onInternalClose();
        }
      };
    
      // ======================== Effect ========================
      _react_17_0_2_react.useEffect(function () {
        if (!hovering && duration > 0) {
          var timeout = setTimeout(function () {
            onInternalClose();
          }, duration * 1000);
          return function () {
            clearTimeout(timeout);
          };
        }
        // eslint-disable-next-line react-hooks/exhaustive-deps
      }, [duration, hovering, times]);
    
      // ======================== Render ========================
      var noticePrefixCls = "".concat(prefixCls, "-notice");
      return /*#__PURE__*/_react_17_0_2_react.createElement("div", (0,esm_extends/* default */.Z)({}, divProps, {
        ref: ref,
        className: _classnames_2_5_1_classnames_default()(noticePrefixCls, className, (0,defineProperty/* default */.Z)({}, "".concat(noticePrefixCls, "-closable"), closable)),
        style: style,
        onMouseEnter: function onMouseEnter() {
          setHovering(true);
        },
        onMouseLeave: function onMouseLeave() {
          setHovering(false);
        },
        onClick: onClick
      }), /*#__PURE__*/_react_17_0_2_react.createElement("div", {
        className: "".concat(noticePrefixCls, "-content")
      }, content), closable && /*#__PURE__*/_react_17_0_2_react.createElement("a", {
        tabIndex: 0,
        className: "".concat(noticePrefixCls, "-close"),
        onKeyDown: onCloseKeyDown,
        onClick: function onClick(e) {
          e.preventDefault();
          e.stopPropagation();
          onInternalClose();
        }
      }, closeIcon));
    });
    /* harmony default export */ var Notice = (Notify);
    ;// CONCATENATED MODULE: ./node_modules/_rc-notification@5.1.1@rc-notification/es/NotificationProvider.js
    
    var NotificationContext = /*#__PURE__*/_react_17_0_2_react.createContext({});
    var NotificationProvider = function NotificationProvider(_ref) {
      var children = _ref.children,
        classNames = _ref.classNames;
      return /*#__PURE__*/_react_17_0_2_react.createElement(NotificationContext.Provider, {
        value: {
          classNames: classNames
        }
      }, children);
    };
    /* harmony default export */ var es_NotificationProvider = (NotificationProvider);
    ;// CONCATENATED MODULE: ./node_modules/_rc-notification@5.1.1@rc-notification/es/NoticeList.js
    
    
    
    
    
    
    
    var NoticeList = function NoticeList(props) {
      var configList = props.configList,
        placement = props.placement,
        prefixCls = props.prefixCls,
        className = props.className,
        style = props.style,
        motion = props.motion,
        onAllNoticeRemoved = props.onAllNoticeRemoved,
        onNoticeClose = props.onNoticeClose;
      var _useContext = (0,_react_17_0_2_react.useContext)(NotificationContext),
        ctxCls = _useContext.classNames;
      var keys = configList.map(function (config) {
        return {
          config: config,
          key: config.key
        };
      });
      var placementMotion = typeof motion === 'function' ? motion(placement) : motion;
      return /*#__PURE__*/_react_17_0_2_react.createElement(es.CSSMotionList, (0,esm_extends/* default */.Z)({
        key: placement,
        className: _classnames_2_5_1_classnames_default()(prefixCls, "".concat(prefixCls, "-").concat(placement), ctxCls === null || ctxCls === void 0 ? void 0 : ctxCls.list, className),
        style: style,
        keys: keys,
        motionAppear: true
      }, placementMotion, {
        onAllRemoved: function onAllRemoved() {
          onAllNoticeRemoved(placement);
        }
      }), function (_ref, nodeRef) {
        var config = _ref.config,
          motionClassName = _ref.className,
          motionStyle = _ref.style;
        var _ref2 = config,
          key = _ref2.key,
          times = _ref2.times;
        var _ref3 = config,
          configClassName = _ref3.className,
          configStyle = _ref3.style;
        return /*#__PURE__*/_react_17_0_2_react.createElement(Notice, (0,esm_extends/* default */.Z)({}, config, {
          ref: nodeRef,
          prefixCls: prefixCls,
          className: _classnames_2_5_1_classnames_default()(motionClassName, configClassName, ctxCls === null || ctxCls === void 0 ? void 0 : ctxCls.notice),
          style: (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, motionStyle), configStyle),
          times: times,
          key: key,
          eventKey: key,
          onNoticeClose: onNoticeClose
        }));
      });
    };
    if (false) {}
    /* harmony default export */ var es_NoticeList = (NoticeList);
    ;// CONCATENATED MODULE: ./node_modules/_rc-notification@5.1.1@rc-notification/es/Notifications.js
    
    
    
    
    
    
    // ant-notification ant-notification-topRight
    var Notifications = /*#__PURE__*/_react_17_0_2_react.forwardRef(function (props, ref) {
      var _props$prefixCls = props.prefixCls,
        prefixCls = _props$prefixCls === void 0 ? 'rc-notification' : _props$prefixCls,
        container = props.container,
        motion = props.motion,
        maxCount = props.maxCount,
        className = props.className,
        style = props.style,
        onAllRemoved = props.onAllRemoved,
        renderNotifications = props.renderNotifications;
      var _React$useState = _react_17_0_2_react.useState([]),
        _React$useState2 = (0,slicedToArray/* default */.Z)(_React$useState, 2),
        configList = _React$useState2[0],
        setConfigList = _React$useState2[1];
    
      // ======================== Close =========================
      var onNoticeClose = function onNoticeClose(key) {
        var _config$onClose;
        // Trigger close event
        var config = configList.find(function (item) {
          return item.key === key;
        });
        config === null || config === void 0 ? void 0 : (_config$onClose = config.onClose) === null || _config$onClose === void 0 ? void 0 : _config$onClose.call(config);
        setConfigList(function (list) {
          return list.filter(function (item) {
            return item.key !== key;
          });
        });
      };
    
      // ========================= Refs =========================
      _react_17_0_2_react.useImperativeHandle(ref, function () {
        return {
          open: function open(config) {
            setConfigList(function (list) {
              var clone = (0,toConsumableArray/* default */.Z)(list);
    
              // Replace if exist
              var index = clone.findIndex(function (item) {
                return item.key === config.key;
              });
              var innerConfig = (0,objectSpread2/* default */.Z)({}, config);
              if (index >= 0) {
                var _list$index;
                innerConfig.times = (((_list$index = list[index]) === null || _list$index === void 0 ? void 0 : _list$index.times) || 0) + 1;
                clone[index] = innerConfig;
              } else {
                innerConfig.times = 0;
                clone.push(innerConfig);
              }
              if (maxCount > 0 && clone.length > maxCount) {
                clone = clone.slice(-maxCount);
              }
              return clone;
            });
          },
          close: function close(key) {
            onNoticeClose(key);
          },
          destroy: function destroy() {
            setConfigList([]);
          }
        };
      });
    
      // ====================== Placements ======================
      var _React$useState3 = _react_17_0_2_react.useState({}),
        _React$useState4 = (0,slicedToArray/* default */.Z)(_React$useState3, 2),
        placements = _React$useState4[0],
        setPlacements = _React$useState4[1];
      _react_17_0_2_react.useEffect(function () {
        var nextPlacements = {};
        configList.forEach(function (config) {
          var _config$placement = config.placement,
            placement = _config$placement === void 0 ? 'topRight' : _config$placement;
          if (placement) {
            nextPlacements[placement] = nextPlacements[placement] || [];
            nextPlacements[placement].push(config);
          }
        });
    
        // Fill exist placements to avoid empty list causing remove without motion
        Object.keys(placements).forEach(function (placement) {
          nextPlacements[placement] = nextPlacements[placement] || [];
        });
        setPlacements(nextPlacements);
      }, [configList]);
    
      // Clean up container if all notices fade out
      var onAllNoticeRemoved = function onAllNoticeRemoved(placement) {
        setPlacements(function (originPlacements) {
          var clone = (0,objectSpread2/* default */.Z)({}, originPlacements);
          var list = clone[placement] || [];
          if (!list.length) {
            delete clone[placement];
          }
          return clone;
        });
      };
    
      // Effect tell that placements is empty now
      var emptyRef = _react_17_0_2_react.useRef(false);
      _react_17_0_2_react.useEffect(function () {
        if (Object.keys(placements).length > 0) {
          emptyRef.current = true;
        } else if (emptyRef.current) {
          // Trigger only when from exist to empty
          onAllRemoved === null || onAllRemoved === void 0 ? void 0 : onAllRemoved();
          emptyRef.current = false;
        }
      }, [placements]);
    
      // ======================== Render ========================
      if (!container) {
        return null;
      }
      var placementList = Object.keys(placements);
      return /*#__PURE__*/(0,_react_dom_17_0_2_react_dom.createPortal)( /*#__PURE__*/_react_17_0_2_react.createElement(_react_17_0_2_react.Fragment, null, placementList.map(function (placement) {
        var placementConfigList = placements[placement];
        var list = /*#__PURE__*/_react_17_0_2_react.createElement(es_NoticeList, {
          key: placement,
          configList: placementConfigList,
          placement: placement,
          prefixCls: prefixCls,
          className: className === null || className === void 0 ? void 0 : className(placement),
          style: style === null || style === void 0 ? void 0 : style(placement),
          motion: motion,
          onNoticeClose: onNoticeClose,
          onAllNoticeRemoved: onAllNoticeRemoved
        });
        return renderNotifications ? renderNotifications(list, {
          prefixCls: prefixCls,
          key: placement
        }) : list;
      })), container);
    });
    if (false) {}
    /* harmony default export */ var es_Notifications = (Notifications);
    ;// CONCATENATED MODULE: ./node_modules/_rc-notification@5.1.1@rc-notification/es/useNotification.js
    
    
    
    var _excluded = ["getContainer", "motion", "prefixCls", "maxCount", "className", "style", "onAllRemoved", "renderNotifications"];
    
    
    var defaultGetContainer = function defaultGetContainer() {
      return document.body;
    };
    var uniqueKey = 0;
    function mergeConfig() {
      var clone = {};
      for (var _len = arguments.length, objList = new Array(_len), _key = 0; _key < _len; _key++) {
        objList[_key] = arguments[_key];
      }
      objList.forEach(function (obj) {
        if (obj) {
          Object.keys(obj).forEach(function (key) {
            var val = obj[key];
            if (val !== undefined) {
              clone[key] = val;
            }
          });
        }
      });
      return clone;
    }
    function useNotification() {
      var rootConfig = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
      var _rootConfig$getContai = rootConfig.getContainer,
        getContainer = _rootConfig$getContai === void 0 ? defaultGetContainer : _rootConfig$getContai,
        motion = rootConfig.motion,
        prefixCls = rootConfig.prefixCls,
        maxCount = rootConfig.maxCount,
        className = rootConfig.className,
        style = rootConfig.style,
        onAllRemoved = rootConfig.onAllRemoved,
        renderNotifications = rootConfig.renderNotifications,
        shareConfig = (0,objectWithoutProperties/* default */.Z)(rootConfig, _excluded);
      var _React$useState = _react_17_0_2_react.useState(),
        _React$useState2 = (0,slicedToArray/* default */.Z)(_React$useState, 2),
        container = _React$useState2[0],
        setContainer = _React$useState2[1];
      var notificationsRef = _react_17_0_2_react.useRef();
      var contextHolder = /*#__PURE__*/_react_17_0_2_react.createElement(es_Notifications, {
        container: container,
        ref: notificationsRef,
        prefixCls: prefixCls,
        motion: motion,
        maxCount: maxCount,
        className: className,
        style: style,
        onAllRemoved: onAllRemoved,
        renderNotifications: renderNotifications
      });
      var _React$useState3 = _react_17_0_2_react.useState([]),
        _React$useState4 = (0,slicedToArray/* default */.Z)(_React$useState3, 2),
        taskQueue = _React$useState4[0],
        setTaskQueue = _React$useState4[1];
    
      // ========================= Refs =========================
      var api = _react_17_0_2_react.useMemo(function () {
        return {
          open: function open(config) {
            var mergedConfig = mergeConfig(shareConfig, config);
            if (mergedConfig.key === null || mergedConfig.key === undefined) {
              mergedConfig.key = "rc-notification-".concat(uniqueKey);
              uniqueKey += 1;
            }
            setTaskQueue(function (queue) {
              return [].concat((0,toConsumableArray/* default */.Z)(queue), [{
                type: 'open',
                config: mergedConfig
              }]);
            });
          },
          close: function close(key) {
            setTaskQueue(function (queue) {
              return [].concat((0,toConsumableArray/* default */.Z)(queue), [{
                type: 'close',
                key: key
              }]);
            });
          },
          destroy: function destroy() {
            setTaskQueue(function (queue) {
              return [].concat((0,toConsumableArray/* default */.Z)(queue), [{
                type: 'destroy'
              }]);
            });
          }
        };
      }, []);
    
      // ======================= Container ======================
      // React 18 should all in effect that we will check container in each render
      // Which means getContainer should be stable.
      _react_17_0_2_react.useEffect(function () {
        setContainer(getContainer());
      });
    
      // ======================== Effect ========================
      _react_17_0_2_react.useEffect(function () {
        // Flush task when node ready
        if (notificationsRef.current && taskQueue.length) {
          taskQueue.forEach(function (task) {
            switch (task.type) {
              case 'open':
                notificationsRef.current.open(task.config);
                break;
              case 'close':
                notificationsRef.current.close(task.key);
                break;
              case 'destroy':
                notificationsRef.current.destroy();
                break;
            }
          });
    
          // React 17 will mix order of effect & setState in async
          // - open: setState[0]
          // - effect[0]
          // - open: setState[1]
          // - effect setState([]) * here will clean up [0, 1] in React 17
          setTaskQueue(function (oriQueue) {
            return oriQueue.filter(function (task) {
              return !taskQueue.includes(task);
            });
          });
        }
      }, [taskQueue]);
    
      // ======================== Return ========================
      return [api, contextHolder];
    }
    ;// CONCATENATED MODULE: ./node_modules/_rc-notification@5.1.1@rc-notification/es/index.js
    
    
    
    
    
    /***/ }),
    
    /***/ 22075:
    /*!****************************************************************************!*\
      !*** ./node_modules/_rc-pagination@3.6.1@rc-pagination/es/locale/en_US.js ***!
      \****************************************************************************/
    /***/ (function(__unused_webpack_module, __webpack_exports__) {
    
    "use strict";
    /* harmony default export */ __webpack_exports__.Z = ({
      // Options.jsx
      items_per_page: '/ page',
      jump_to: 'Go to',
      jump_to_confirm: 'confirm',
      page: 'Page',
      // Pagination.jsx
      prev_page: 'Previous Page',
      next_page: 'Next Page',
      prev_5: 'Previous 5 Pages',
      next_5: 'Next 5 Pages',
      prev_3: 'Previous 3 Pages',
      next_3: 'Next 3 Pages',
      page_size: 'Page Size'
    });
    
    /***/ }),
    
    /***/ 91735:
    /*!****************************************************************************!*\
      !*** ./node_modules/_rc-pagination@3.6.1@rc-pagination/es/locale/zh_CN.js ***!
      \****************************************************************************/
    /***/ (function(__unused_webpack_module, __webpack_exports__) {
    
    "use strict";
    /* harmony default export */ __webpack_exports__.Z = ({
      // Options.jsx
      items_per_page: '条/页',
      jump_to: '跳至',
      jump_to_confirm: '确定',
      page: '页',
      // Pagination.jsx
      prev_page: '上一页',
      next_page: '下一页',
      prev_5: '向前 5 页',
      next_5: '向后 5 页',
      prev_3: '向前 3 页',
      next_3: '向后 3 页',
      page_size: '页码'
    });
    
    /***/ }),
    
    /***/ 29301:
    /*!*******************************************************************************************!*\
      !*** ./node_modules/_rc-resize-observer@1.4.3@rc-resize-observer/es/index.js + 4 modules ***!
      \*******************************************************************************************/
    /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
    
    "use strict";
    
    // EXPORTS
    __webpack_require__.d(__webpack_exports__, {
      Z: function() { return /* binding */ es; }
    });
    
    // UNUSED EXPORTS: _rs
    
    // EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.28.6@@babel/runtime/helpers/esm/extends.js
    var esm_extends = __webpack_require__(60499);
    // EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/index.js
    var _react_17_0_2_react = __webpack_require__(59301);
    // EXTERNAL MODULE: ./node_modules/_rc-util@5.44.4@rc-util/es/Children/toArray.js
    var toArray = __webpack_require__(11592);
    // EXTERNAL MODULE: ./node_modules/_rc-util@5.44.4@rc-util/es/warning.js
    var warning = __webpack_require__(48736);
    // EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.28.6@@babel/runtime/helpers/esm/objectSpread2.js
    var objectSpread2 = __webpack_require__(85899);
    // EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.28.6@@babel/runtime/helpers/esm/typeof.js
    var esm_typeof = __webpack_require__(43749);
    // EXTERNAL MODULE: ./node_modules/_rc-util@5.44.4@rc-util/es/Dom/findDOMNode.js
    var findDOMNode = __webpack_require__(76846);
    // EXTERNAL MODULE: ./node_modules/_rc-util@5.44.4@rc-util/es/ref.js
    var es_ref = __webpack_require__(8654);
    ;// CONCATENATED MODULE: ./node_modules/_rc-resize-observer@1.4.3@rc-resize-observer/es/Collection.js
    
    var CollectionContext = /*#__PURE__*/_react_17_0_2_react.createContext(null);
    /**
     * Collect all the resize event from children ResizeObserver
     */
    function Collection(_ref) {
      var children = _ref.children,
        onBatchResize = _ref.onBatchResize;
      var resizeIdRef = _react_17_0_2_react.useRef(0);
      var resizeInfosRef = _react_17_0_2_react.useRef([]);
      var onCollectionResize = _react_17_0_2_react.useContext(CollectionContext);
      var onResize = _react_17_0_2_react.useCallback(function (size, element, data) {
        resizeIdRef.current += 1;
        var currentId = resizeIdRef.current;
        resizeInfosRef.current.push({
          size: size,
          element: element,
          data: data
        });
        Promise.resolve().then(function () {
          if (currentId === resizeIdRef.current) {
            onBatchResize === null || onBatchResize === void 0 || onBatchResize(resizeInfosRef.current);
            resizeInfosRef.current = [];
          }
        });
    
        // Continue bubbling if parent exist
        onCollectionResize === null || onCollectionResize === void 0 || onCollectionResize(size, element, data);
      }, [onBatchResize, onCollectionResize]);
      return /*#__PURE__*/_react_17_0_2_react.createElement(CollectionContext.Provider, {
        value: onResize
      }, children);
    }
    // EXTERNAL MODULE: ./node_modules/_resize-observer-polyfill@1.5.1@resize-observer-polyfill/dist/ResizeObserver.es.js
    var ResizeObserver_es = __webpack_require__(76374);
    ;// CONCATENATED MODULE: ./node_modules/_rc-resize-observer@1.4.3@rc-resize-observer/es/utils/observerUtil.js
    
    // =============================== Const ===============================
    var elementListeners = new Map();
    function onResize(entities) {
      entities.forEach(function (entity) {
        var _elementListeners$get;
        var target = entity.target;
        (_elementListeners$get = elementListeners.get(target)) === null || _elementListeners$get === void 0 || _elementListeners$get.forEach(function (listener) {
          return listener(target);
        });
      });
    }
    
    // Note: ResizeObserver polyfill not support option to measure border-box resize
    var resizeObserver = new ResizeObserver_es/* default */.Z(onResize);
    
    // Dev env only
    var _el = (/* unused pure expression or super */ null && ( false ? 0 : null)); // eslint-disable-line
    var _rs = (/* unused pure expression or super */ null && ( false ? 0 : null)); // eslint-disable-line
    
    // ============================== Observe ==============================
    function observe(element, callback) {
      if (!elementListeners.has(element)) {
        elementListeners.set(element, new Set());
        resizeObserver.observe(element);
      }
      elementListeners.get(element).add(callback);
    }
    function unobserve(element, callback) {
      if (elementListeners.has(element)) {
        elementListeners.get(element).delete(callback);
        if (!elementListeners.get(element).size) {
          resizeObserver.unobserve(element);
          elementListeners.delete(element);
        }
      }
    }
    // EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.28.6@@babel/runtime/helpers/esm/classCallCheck.js
    var classCallCheck = __webpack_require__(38705);
    // EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.28.6@@babel/runtime/helpers/esm/createClass.js
    var createClass = __webpack_require__(17212);
    // EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.28.6@@babel/runtime/helpers/esm/inherits.js
    var inherits = __webpack_require__(39153);
    // EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.28.6@@babel/runtime/helpers/esm/createSuper.js + 1 modules
    var createSuper = __webpack_require__(71518);
    ;// CONCATENATED MODULE: ./node_modules/_rc-resize-observer@1.4.3@rc-resize-observer/es/SingleObserver/DomWrapper.js
    
    
    
    
    
    /**
     * Fallback to findDOMNode if origin ref do not provide any dom element
     */
    var DomWrapper = /*#__PURE__*/function (_React$Component) {
      (0,inherits/* default */.Z)(DomWrapper, _React$Component);
      var _super = (0,createSuper/* default */.Z)(DomWrapper);
      function DomWrapper() {
        (0,classCallCheck/* default */.Z)(this, DomWrapper);
        return _super.apply(this, arguments);
      }
      (0,createClass/* default */.Z)(DomWrapper, [{
        key: "render",
        value: function render() {
          return this.props.children;
        }
      }]);
      return DomWrapper;
    }(_react_17_0_2_react.Component);
    
    ;// CONCATENATED MODULE: ./node_modules/_rc-resize-observer@1.4.3@rc-resize-observer/es/SingleObserver/index.js
    
    
    
    
    
    
    
    
    function SingleObserver(props, ref) {
      var children = props.children,
        disabled = props.disabled;
      var elementRef = _react_17_0_2_react.useRef(null);
      var wrapperRef = _react_17_0_2_react.useRef(null);
      var onCollectionResize = _react_17_0_2_react.useContext(CollectionContext);
    
      // =========================== Children ===========================
      var isRenderProps = typeof children === 'function';
      var mergedChildren = isRenderProps ? children(elementRef) : children;
    
      // ============================= Size =============================
      var sizeRef = _react_17_0_2_react.useRef({
        width: -1,
        height: -1,
        offsetWidth: -1,
        offsetHeight: -1
      });
    
      // ============================= Ref ==============================
      var canRef = !isRenderProps && /*#__PURE__*/_react_17_0_2_react.isValidElement(mergedChildren) && (0,es_ref/* supportRef */.Yr)(mergedChildren);
      var originRef = canRef ? (0,es_ref/* getNodeRef */.C4)(mergedChildren) : null;
      var mergedRef = (0,es_ref/* useComposeRef */.x1)(originRef, elementRef);
      var getDom = function getDom() {
        var _elementRef$current;
        return (0,findDOMNode/* default */.ZP)(elementRef.current) || (
        // Support `nativeElement` format
        elementRef.current && (0,esm_typeof/* default */.Z)(elementRef.current) === 'object' ? (0,findDOMNode/* default */.ZP)((_elementRef$current = elementRef.current) === null || _elementRef$current === void 0 ? void 0 : _elementRef$current.nativeElement) : null) || (0,findDOMNode/* default */.ZP)(wrapperRef.current);
      };
      _react_17_0_2_react.useImperativeHandle(ref, function () {
        return getDom();
      });
    
      // =========================== Observe ============================
      var propsRef = _react_17_0_2_react.useRef(props);
      propsRef.current = props;
    
      // Handler
      var onInternalResize = _react_17_0_2_react.useCallback(function (target) {
        var _propsRef$current = propsRef.current,
          onResize = _propsRef$current.onResize,
          data = _propsRef$current.data;
        var _target$getBoundingCl = target.getBoundingClientRect(),
          width = _target$getBoundingCl.width,
          height = _target$getBoundingCl.height;
        var offsetWidth = target.offsetWidth,
          offsetHeight = target.offsetHeight;
    
        /**
         * Resize observer trigger when content size changed.
         * In most case we just care about element size,
         * let's use `boundary` instead of `contentRect` here to avoid shaking.
         */
        var fixedWidth = Math.floor(width);
        var fixedHeight = Math.floor(height);
        if (sizeRef.current.width !== fixedWidth || sizeRef.current.height !== fixedHeight || sizeRef.current.offsetWidth !== offsetWidth || sizeRef.current.offsetHeight !== offsetHeight) {
          var size = {
            width: fixedWidth,
            height: fixedHeight,
            offsetWidth: offsetWidth,
            offsetHeight: offsetHeight
          };
          sizeRef.current = size;
    
          // IE is strange, right?
          var mergedOffsetWidth = offsetWidth === Math.round(width) ? width : offsetWidth;
          var mergedOffsetHeight = offsetHeight === Math.round(height) ? height : offsetHeight;
          var sizeInfo = (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, size), {}, {
            offsetWidth: mergedOffsetWidth,
            offsetHeight: mergedOffsetHeight
          });
    
          // Let collection know what happened
          onCollectionResize === null || onCollectionResize === void 0 || onCollectionResize(sizeInfo, target, data);
          if (onResize) {
            // defer the callback but not defer to next frame
            Promise.resolve().then(function () {
              onResize(sizeInfo, target);
            });
          }
        }
      }, []);
    
      // Dynamic observe
      _react_17_0_2_react.useEffect(function () {
        var currentElement = getDom();
        if (currentElement && !disabled) {
          observe(currentElement, onInternalResize);
        }
        return function () {
          return unobserve(currentElement, onInternalResize);
        };
      }, [elementRef.current, disabled]);
    
      // ============================ Render ============================
      return /*#__PURE__*/_react_17_0_2_react.createElement(DomWrapper, {
        ref: wrapperRef
      }, canRef ? /*#__PURE__*/_react_17_0_2_react.cloneElement(mergedChildren, {
        ref: mergedRef
      }) : mergedChildren);
    }
    var RefSingleObserver = /*#__PURE__*/_react_17_0_2_react.forwardRef(SingleObserver);
    if (false) {}
    /* harmony default export */ var es_SingleObserver = (RefSingleObserver);
    ;// CONCATENATED MODULE: ./node_modules/_rc-resize-observer@1.4.3@rc-resize-observer/es/index.js
    
    
    
    
    
    
    var INTERNAL_PREFIX_KEY = 'rc-observer-key';
    
    
    function ResizeObserver(props, ref) {
      var children = props.children;
      var childNodes = typeof children === 'function' ? [children] : (0,toArray/* default */.Z)(children);
      if (false) {}
      return childNodes.map(function (child, index) {
        var key = (child === null || child === void 0 ? void 0 : child.key) || "".concat(INTERNAL_PREFIX_KEY, "-").concat(index);
        return /*#__PURE__*/_react_17_0_2_react.createElement(es_SingleObserver, (0,esm_extends/* default */.Z)({}, props, {
          key: key,
          ref: index === 0 ? ref : undefined
        }), child);
      });
    }
    var RefResizeObserver = /*#__PURE__*/_react_17_0_2_react.forwardRef(ResizeObserver);
    if (false) {}
    RefResizeObserver.Collection = Collection;
    /* harmony default export */ var es = (RefResizeObserver);
    
    /***/ }),
    
    /***/ 55477:
    /*!***************************************************************************!*\
      !*** ./node_modules/_rc-tooltip@6.0.1@rc-tooltip/es/index.js + 3 modules ***!
      \***************************************************************************/
    /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
    
    "use strict";
    
    // EXPORTS
    __webpack_require__.d(__webpack_exports__, {
      G: function() { return /* reexport */ Popup; },
      Z: function() { return /* binding */ _rc_tooltip_6_0_1_rc_tooltip_es; }
    });
    
    // EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.28.6@@babel/runtime/helpers/esm/extends.js
    var esm_extends = __webpack_require__(60499);
    // EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.28.6@@babel/runtime/helpers/esm/objectSpread2.js
    var objectSpread2 = __webpack_require__(85899);
    // EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.28.6@@babel/runtime/helpers/esm/objectWithoutProperties.js
    var objectWithoutProperties = __webpack_require__(42244);
    // EXTERNAL MODULE: ./node_modules/_@rc-component_trigger@1.18.3@@rc-component/trigger/es/index.js + 11 modules
    var es = __webpack_require__(35593);
    // EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/index.js
    var _react_17_0_2_react = __webpack_require__(59301);
    ;// CONCATENATED MODULE: ./node_modules/_rc-tooltip@6.0.1@rc-tooltip/es/placements.js
    var autoAdjustOverflowTopBottom = {
      shiftX: 64,
      adjustY: 1
    };
    var autoAdjustOverflowLeftRight = {
      adjustX: 1,
      shiftY: true
    };
    var targetOffset = [0, 0];
    var placements = {
      left: {
        points: ['cr', 'cl'],
        overflow: autoAdjustOverflowLeftRight,
        offset: [-4, 0],
        targetOffset: targetOffset
      },
      right: {
        points: ['cl', 'cr'],
        overflow: autoAdjustOverflowLeftRight,
        offset: [4, 0],
        targetOffset: targetOffset
      },
      top: {
        points: ['bc', 'tc'],
        overflow: autoAdjustOverflowTopBottom,
        offset: [0, -4],
        targetOffset: targetOffset
      },
      bottom: {
        points: ['tc', 'bc'],
        overflow: autoAdjustOverflowTopBottom,
        offset: [0, 4],
        targetOffset: targetOffset
      },
      topLeft: {
        points: ['bl', 'tl'],
        overflow: autoAdjustOverflowTopBottom,
        offset: [0, -4],
        targetOffset: targetOffset
      },
      leftTop: {
        points: ['tr', 'tl'],
        overflow: autoAdjustOverflowLeftRight,
        offset: [-4, 0],
        targetOffset: targetOffset
      },
      topRight: {
        points: ['br', 'tr'],
        overflow: autoAdjustOverflowTopBottom,
        offset: [0, -4],
        targetOffset: targetOffset
      },
      rightTop: {
        points: ['tl', 'tr'],
        overflow: autoAdjustOverflowLeftRight,
        offset: [4, 0],
        targetOffset: targetOffset
      },
      bottomRight: {
        points: ['tr', 'br'],
        overflow: autoAdjustOverflowTopBottom,
        offset: [0, 4],
        targetOffset: targetOffset
      },
      rightBottom: {
        points: ['bl', 'br'],
        overflow: autoAdjustOverflowLeftRight,
        offset: [4, 0],
        targetOffset: targetOffset
      },
      bottomLeft: {
        points: ['tl', 'bl'],
        overflow: autoAdjustOverflowTopBottom,
        offset: [0, 4],
        targetOffset: targetOffset
      },
      leftBottom: {
        points: ['br', 'bl'],
        overflow: autoAdjustOverflowLeftRight,
        offset: [-4, 0],
        targetOffset: targetOffset
      }
    };
    /* harmony default export */ var es_placements = ((/* unused pure expression or super */ null && (placements)));
    // EXTERNAL MODULE: ./node_modules/_classnames@2.5.1@classnames/index.js
    var _classnames_2_5_1_classnames = __webpack_require__(92310);
    var _classnames_2_5_1_classnames_default = /*#__PURE__*/__webpack_require__.n(_classnames_2_5_1_classnames);
    ;// CONCATENATED MODULE: ./node_modules/_rc-tooltip@6.0.1@rc-tooltip/es/Popup.js
    
    
    function Popup(props) {
      var children = props.children,
        prefixCls = props.prefixCls,
        id = props.id,
        overlayInnerStyle = props.overlayInnerStyle,
        className = props.className,
        style = props.style;
      return /*#__PURE__*/_react_17_0_2_react.createElement("div", {
        className: _classnames_2_5_1_classnames_default()("".concat(prefixCls, "-content"), className),
        style: style
      }, /*#__PURE__*/_react_17_0_2_react.createElement("div", {
        className: "".concat(prefixCls, "-inner"),
        id: id,
        role: "tooltip",
        style: overlayInnerStyle
      }, typeof children === 'function' ? children() : children));
    }
    ;// CONCATENATED MODULE: ./node_modules/_rc-tooltip@6.0.1@rc-tooltip/es/Tooltip.js
    
    
    
    var _excluded = ["overlayClassName", "trigger", "mouseEnterDelay", "mouseLeaveDelay", "overlayStyle", "prefixCls", "children", "onVisibleChange", "afterVisibleChange", "transitionName", "animation", "motion", "placement", "align", "destroyTooltipOnHide", "defaultVisible", "getTooltipContainer", "overlayInnerStyle", "arrowContent", "overlay", "id", "showArrow"];
    
    
    
    
    
    var Tooltip = function Tooltip(props, ref) {
      var overlayClassName = props.overlayClassName,
        _props$trigger = props.trigger,
        trigger = _props$trigger === void 0 ? ['hover'] : _props$trigger,
        _props$mouseEnterDela = props.mouseEnterDelay,
        mouseEnterDelay = _props$mouseEnterDela === void 0 ? 0 : _props$mouseEnterDela,
        _props$mouseLeaveDela = props.mouseLeaveDelay,
        mouseLeaveDelay = _props$mouseLeaveDela === void 0 ? 0.1 : _props$mouseLeaveDela,
        overlayStyle = props.overlayStyle,
        _props$prefixCls = props.prefixCls,
        prefixCls = _props$prefixCls === void 0 ? 'rc-tooltip' : _props$prefixCls,
        children = props.children,
        onVisibleChange = props.onVisibleChange,
        afterVisibleChange = props.afterVisibleChange,
        transitionName = props.transitionName,
        animation = props.animation,
        motion = props.motion,
        _props$placement = props.placement,
        placement = _props$placement === void 0 ? 'right' : _props$placement,
        _props$align = props.align,
        align = _props$align === void 0 ? {} : _props$align,
        _props$destroyTooltip = props.destroyTooltipOnHide,
        destroyTooltipOnHide = _props$destroyTooltip === void 0 ? false : _props$destroyTooltip,
        defaultVisible = props.defaultVisible,
        getTooltipContainer = props.getTooltipContainer,
        overlayInnerStyle = props.overlayInnerStyle,
        arrowContent = props.arrowContent,
        overlay = props.overlay,
        id = props.id,
        _props$showArrow = props.showArrow,
        showArrow = _props$showArrow === void 0 ? true : _props$showArrow,
        restProps = (0,objectWithoutProperties/* default */.Z)(props, _excluded);
      var triggerRef = (0,_react_17_0_2_react.useRef)(null);
      (0,_react_17_0_2_react.useImperativeHandle)(ref, function () {
        return triggerRef.current;
      });
      var extraProps = (0,objectSpread2/* default */.Z)({}, restProps);
      if ('visible' in props) {
        extraProps.popupVisible = props.visible;
      }
      var getPopupElement = function getPopupElement() {
        return /*#__PURE__*/_react_17_0_2_react.createElement(Popup, {
          key: "content",
          prefixCls: prefixCls,
          id: id,
          overlayInnerStyle: overlayInnerStyle
        }, overlay);
      };
      return /*#__PURE__*/_react_17_0_2_react.createElement(es/* default */.Z, (0,esm_extends/* default */.Z)({
        popupClassName: overlayClassName,
        prefixCls: prefixCls,
        popup: getPopupElement,
        action: trigger,
        builtinPlacements: placements,
        popupPlacement: placement,
        ref: triggerRef,
        popupAlign: align,
        getPopupContainer: getTooltipContainer,
        onPopupVisibleChange: onVisibleChange,
        afterPopupVisibleChange: afterVisibleChange,
        popupTransitionName: transitionName,
        popupAnimation: animation,
        popupMotion: motion,
        defaultPopupVisible: defaultVisible,
        autoDestroy: destroyTooltipOnHide,
        mouseLeaveDelay: mouseLeaveDelay,
        popupStyle: overlayStyle,
        mouseEnterDelay: mouseEnterDelay,
        arrow: showArrow
      }, extraProps), children);
    };
    /* harmony default export */ var es_Tooltip = (/*#__PURE__*/(0,_react_17_0_2_react.forwardRef)(Tooltip));
    ;// CONCATENATED MODULE: ./node_modules/_rc-tooltip@6.0.1@rc-tooltip/es/index.js
    
    
    
    /* harmony default export */ var _rc_tooltip_6_0_1_rc_tooltip_es = (es_Tooltip);
    
    /***/ }),
    
    /***/ 11592:
    /*!*********************************************************************!*\
      !*** ./node_modules/_rc-util@5.44.4@rc-util/es/Children/toArray.js ***!
      \*********************************************************************/
    /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
    
    "use strict";
    /* harmony export */ __webpack_require__.d(__webpack_exports__, {
    /* harmony export */   Z: function() { return /* binding */ toArray; }
    /* harmony export */ });
    /* harmony import */ var _React_isFragment__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../React/isFragment */ 34678);
    /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ 59301);
    
    
    function toArray(children) {
      var option = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
      var ret = [];
      react__WEBPACK_IMPORTED_MODULE_1__.Children.forEach(children, function (child) {
        if ((child === undefined || child === null) && !option.keepEmpty) {
          return;
        }
        if (Array.isArray(child)) {
          ret = ret.concat(toArray(child));
        } else if ((0,_React_isFragment__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(child) && child.props) {
          ret = ret.concat(toArray(child.props.children, option));
        } else {
          ret.push(child);
        }
      });
      return ret;
    }
    
    /***/ }),
    
    /***/ 47273:
    /*!******************************************************************!*\
      !*** ./node_modules/_rc-util@5.44.4@rc-util/es/Dom/canUseDom.js ***!
      \******************************************************************/
    /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
    
    "use strict";
    /* harmony export */ __webpack_require__.d(__webpack_exports__, {
    /* harmony export */   Z: function() { return /* binding */ canUseDom; }
    /* harmony export */ });
    function canUseDom() {
      return !!(typeof window !== 'undefined' && window.document && window.document.createElement);
    }
    
    /***/ }),
    
    /***/ 48519:
    /*!*****************************************************************!*\
      !*** ./node_modules/_rc-util@5.44.4@rc-util/es/Dom/contains.js ***!
      \*****************************************************************/
    /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
    
    "use strict";
    /* harmony export */ __webpack_require__.d(__webpack_exports__, {
    /* harmony export */   Z: function() { return /* binding */ contains; }
    /* harmony export */ });
    function contains(root, n) {
      if (!root) {
        return false;
      }
    
      // Use native if support
      if (root.contains) {
        return root.contains(n);
      }
    
      // `document.contains` not support with IE11
      var node = n;
      while (node) {
        if (node === root) {
          return true;
        }
        node = node.parentNode;
      }
      return false;
    }
    
    /***/ }),
    
    /***/ 810:
    /*!*******************************************************************!*\
      !*** ./node_modules/_rc-util@5.44.4@rc-util/es/Dom/dynamicCSS.js ***!
      \*******************************************************************/
    /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
    
    "use strict";
    /* harmony export */ __webpack_require__.d(__webpack_exports__, {
    /* harmony export */   hq: function() { return /* binding */ updateCSS; },
    /* harmony export */   jL: function() { return /* binding */ removeCSS; }
    /* harmony export */ });
    /* unused harmony exports injectCSS, clearContainerCache */
    /* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ 85899);
    /* harmony import */ var _canUseDom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./canUseDom */ 47273);
    /* harmony import */ var _contains__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./contains */ 48519);
    
    
    
    var APPEND_ORDER = 'data-rc-order';
    var APPEND_PRIORITY = 'data-rc-priority';
    var MARK_KEY = "rc-util-key";
    var containerCache = new Map();
    function getMark() {
      var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
        mark = _ref.mark;
      if (mark) {
        return mark.startsWith('data-') ? mark : "data-".concat(mark);
      }
      return MARK_KEY;
    }
    function getContainer(option) {
      if (option.attachTo) {
        return option.attachTo;
      }
      var head = document.querySelector('head');
      return head || document.body;
    }
    function getOrder(prepend) {
      if (prepend === 'queue') {
        return 'prependQueue';
      }
      return prepend ? 'prepend' : 'append';
    }
    
    /**
     * Find style which inject by rc-util
     */
    function findStyles(container) {
      return Array.from((containerCache.get(container) || container).children).filter(function (node) {
        return node.tagName === 'STYLE';
      });
    }
    function injectCSS(css) {
      var option = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
      if (!(0,_canUseDom__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)()) {
        return null;
      }
      var csp = option.csp,
        prepend = option.prepend,
        _option$priority = option.priority,
        priority = _option$priority === void 0 ? 0 : _option$priority;
      var mergedOrder = getOrder(prepend);
      var isPrependQueue = mergedOrder === 'prependQueue';
      var styleNode = document.createElement('style');
      styleNode.setAttribute(APPEND_ORDER, mergedOrder);
      if (isPrependQueue && priority) {
        styleNode.setAttribute(APPEND_PRIORITY, "".concat(priority));
      }
      if (csp !== null && csp !== void 0 && csp.nonce) {
        styleNode.nonce = csp === null || csp === void 0 ? void 0 : csp.nonce;
      }
      styleNode.innerHTML = css;
      var container = getContainer(option);
      var firstChild = container.firstChild;
      if (prepend) {
        // If is queue `prepend`, it will prepend first style and then append rest style
        if (isPrependQueue) {
          var existStyle = (option.styles || findStyles(container)).filter(function (node) {
            // Ignore style which not injected by rc-util with prepend
            if (!['prepend', 'prependQueue'].includes(node.getAttribute(APPEND_ORDER))) {
              return false;
            }
    
            // Ignore style which priority less then new style
            var nodePriority = Number(node.getAttribute(APPEND_PRIORITY) || 0);
            return priority >= nodePriority;
          });
          if (existStyle.length) {
            container.insertBefore(styleNode, existStyle[existStyle.length - 1].nextSibling);
            return styleNode;
          }
        }
    
        // Use `insertBefore` as `prepend`
        container.insertBefore(styleNode, firstChild);
      } else {
        container.appendChild(styleNode);
      }
      return styleNode;
    }
    function findExistNode(key) {
      var option = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
      var container = getContainer(option);
      return (option.styles || findStyles(container)).find(function (node) {
        return node.getAttribute(getMark(option)) === key;
      });
    }
    function removeCSS(key) {
      var option = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
      var existNode = findExistNode(key, option);
      if (existNode) {
        var container = getContainer(option);
        container.removeChild(existNode);
      }
    }
    
    /**
     * qiankun will inject `appendChild` to insert into other
     */
    function syncRealContainer(container, option) {
      var cachedRealContainer = containerCache.get(container);
    
      // Find real container when not cached or cached container removed
      if (!cachedRealContainer || !(0,_contains__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(document, cachedRealContainer)) {
        var placeholderStyle = injectCSS('', option);
        var parentNode = placeholderStyle.parentNode;
        containerCache.set(container, parentNode);
        container.removeChild(placeholderStyle);
      }
    }
    
    /**
     * manually clear container cache to avoid global cache in unit testes
     */
    function clearContainerCache() {
      containerCache.clear();
    }
    function updateCSS(css, key) {
      var originOption = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
      var container = getContainer(originOption);
      var styles = findStyles(container);
      var option = (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)({}, originOption), {}, {
        styles: styles
      });
    
      // Sync real parent
      syncRealContainer(container, option);
      var existNode = findExistNode(key, option);
      if (existNode) {
        var _option$csp, _option$csp2;
        if ((_option$csp = option.csp) !== null && _option$csp !== void 0 && _option$csp.nonce && existNode.nonce !== ((_option$csp2 = option.csp) === null || _option$csp2 === void 0 ? void 0 : _option$csp2.nonce)) {
          var _option$csp3;
          existNode.nonce = (_option$csp3 = option.csp) === null || _option$csp3 === void 0 ? void 0 : _option$csp3.nonce;
        }
        if (existNode.innerHTML !== css) {
          existNode.innerHTML = css;
        }
        return existNode;
      }
      var newNode = injectCSS(css, option);
      newNode.setAttribute(getMark(option), key);
      return newNode;
    }
    
    /***/ }),
    
    /***/ 76846:
    /*!********************************************************************!*\
      !*** ./node_modules/_rc-util@5.44.4@rc-util/es/Dom/findDOMNode.js ***!
      \********************************************************************/
    /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
    
    "use strict";
    /* harmony export */ __webpack_require__.d(__webpack_exports__, {
    /* harmony export */   Sh: function() { return /* binding */ isDOM; },
    /* harmony export */   ZP: function() { return /* binding */ findDOMNode; }
    /* harmony export */ });
    /* unused harmony export getDOM */
    /* harmony import */ var _babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/typeof */ 43749);
    /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 59301);
    /* harmony import */ var react_dom__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react-dom */ 4676);
    
    
    
    function isDOM(node) {
      // https://developer.mozilla.org/en-US/docs/Web/API/Element
      // Since XULElement is also subclass of Element, we only need HTMLElement and SVGElement
      return node instanceof HTMLElement || node instanceof SVGElement;
    }
    
    /**
     * Retrieves a DOM node via a ref, and does not invoke `findDOMNode`.
     */
    function getDOM(node) {
      if (node && (0,_babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(node) === 'object' && isDOM(node.nativeElement)) {
        return node.nativeElement;
      }
      if (isDOM(node)) {
        return node;
      }
      return null;
    }
    
    /**
     * Return if a node is a DOM node. Else will return by `findDOMNode`
     */
    function findDOMNode(node) {
      var domNode = getDOM(node);
      if (domNode) {
        return domNode;
      }
      if (node instanceof react__WEBPACK_IMPORTED_MODULE_0__.Component) {
        var _ReactDOM$findDOMNode;
        return (_ReactDOM$findDOMNode = react_dom__WEBPACK_IMPORTED_MODULE_1__.findDOMNode) === null || _ReactDOM$findDOMNode === void 0 ? void 0 : _ReactDOM$findDOMNode.call(react_dom__WEBPACK_IMPORTED_MODULE_1__, node);
      }
      return null;
    }
    
    /***/ }),
    
    /***/ 29194:
    /*!******************************************************************!*\
      !*** ./node_modules/_rc-util@5.44.4@rc-util/es/Dom/isVisible.js ***!
      \******************************************************************/
    /***/ (function(__unused_webpack_module, __webpack_exports__) {
    
    "use strict";
    /* harmony default export */ __webpack_exports__.Z = (function (element) {
      if (!element) {
        return false;
      }
      if (element instanceof Element) {
        if (element.offsetParent) {
          return true;
        }
        if (element.getBBox) {
          var _getBBox = element.getBBox(),
            width = _getBBox.width,
            height = _getBBox.height;
          if (width || height) {
            return true;
          }
        }
        if (element.getBoundingClientRect) {
          var _element$getBoundingC = element.getBoundingClientRect(),
            _width = _element$getBoundingC.width,
            _height = _element$getBoundingC.height;
          if (_width || _height) {
            return true;
          }
        }
      }
      return false;
    });
    
    /***/ }),
    
    /***/ 96452:
    /*!***************************************************************!*\
      !*** ./node_modules/_rc-util@5.44.4@rc-util/es/Dom/shadow.js ***!
      \***************************************************************/
    /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
    
    "use strict";
    /* harmony export */ __webpack_require__.d(__webpack_exports__, {
    /* harmony export */   A: function() { return /* binding */ getShadowRoot; }
    /* harmony export */ });
    /* unused harmony export inShadow */
    function getRoot(ele) {
      var _ele$getRootNode;
      return ele === null || ele === void 0 || (_ele$getRootNode = ele.getRootNode) === null || _ele$getRootNode === void 0 ? void 0 : _ele$getRootNode.call(ele);
    }
    
    /**
     * Check if is in shadowRoot
     */
    function inShadow(ele) {
      return getRoot(ele) instanceof ShadowRoot;
    }
    
    /**
     * Return shadowRoot if possible
     */
    function getShadowRoot(ele) {
      return inShadow(ele) ? getRoot(ele) : null;
    }
    
    /***/ }),
    
    /***/ 10228:
    /*!************************************************************!*\
      !*** ./node_modules/_rc-util@5.44.4@rc-util/es/KeyCode.js ***!
      \************************************************************/
    /***/ (function(__unused_webpack_module, __webpack_exports__) {
    
    "use strict";
    /**
     * @ignore
     * some key-codes definition and utils from closure-library
     * @author yiminghe@gmail.com
     */
    
    var KeyCode = {
      /**
       * MAC_ENTER
       */
      MAC_ENTER: 3,
      /**
       * BACKSPACE
       */
      BACKSPACE: 8,
      /**
       * TAB
       */
      TAB: 9,
      /**
       * NUMLOCK on FF/Safari Mac
       */
      NUM_CENTER: 12,
      // NUMLOCK on FF/Safari Mac
      /**
       * ENTER
       */
      ENTER: 13,
      /**
       * SHIFT
       */
      SHIFT: 16,
      /**
       * CTRL
       */
      CTRL: 17,
      /**
       * ALT
       */
      ALT: 18,
      /**
       * PAUSE
       */
      PAUSE: 19,
      /**
       * CAPS_LOCK
       */
      CAPS_LOCK: 20,
      /**
       * ESC
       */
      ESC: 27,
      /**
       * SPACE
       */
      SPACE: 32,
      /**
       * PAGE_UP
       */
      PAGE_UP: 33,
      // also NUM_NORTH_EAST
      /**
       * PAGE_DOWN
       */
      PAGE_DOWN: 34,
      // also NUM_SOUTH_EAST
      /**
       * END
       */
      END: 35,
      // also NUM_SOUTH_WEST
      /**
       * HOME
       */
      HOME: 36,
      // also NUM_NORTH_WEST
      /**
       * LEFT
       */
      LEFT: 37,
      // also NUM_WEST
      /**
       * UP
       */
      UP: 38,
      // also NUM_NORTH
      /**
       * RIGHT
       */
      RIGHT: 39,
      // also NUM_EAST
      /**
       * DOWN
       */
      DOWN: 40,
      // also NUM_SOUTH
      /**
       * PRINT_SCREEN
       */
      PRINT_SCREEN: 44,
      /**
       * INSERT
       */
      INSERT: 45,
      // also NUM_INSERT
      /**
       * DELETE
       */
      DELETE: 46,
      // also NUM_DELETE
      /**
       * ZERO
       */
      ZERO: 48,
      /**
       * ONE
       */
      ONE: 49,
      /**
       * TWO
       */
      TWO: 50,
      /**
       * THREE
       */
      THREE: 51,
      /**
       * FOUR
       */
      FOUR: 52,
      /**
       * FIVE
       */
      FIVE: 53,
      /**
       * SIX
       */
      SIX: 54,
      /**
       * SEVEN
       */
      SEVEN: 55,
      /**
       * EIGHT
       */
      EIGHT: 56,
      /**
       * NINE
       */
      NINE: 57,
      /**
       * QUESTION_MARK
       */
      QUESTION_MARK: 63,
      // needs localization
      /**
       * A
       */
      A: 65,
      /**
       * B
       */
      B: 66,
      /**
       * C
       */
      C: 67,
      /**
       * D
       */
      D: 68,
      /**
       * E
       */
      E: 69,
      /**
       * F
       */
      F: 70,
      /**
       * G
       */
      G: 71,
      /**
       * H
       */
      H: 72,
      /**
       * I
       */
      I: 73,
      /**
       * J
       */
      J: 74,
      /**
       * K
       */
      K: 75,
      /**
       * L
       */
      L: 76,
      /**
       * M
       */
      M: 77,
      /**
       * N
       */
      N: 78,
      /**
       * O
       */
      O: 79,
      /**
       * P
       */
      P: 80,
      /**
       * Q
       */
      Q: 81,
      /**
       * R
       */
      R: 82,
      /**
       * S
       */
      S: 83,
      /**
       * T
       */
      T: 84,
      /**
       * U
       */
      U: 85,
      /**
       * V
       */
      V: 86,
      /**
       * W
       */
      W: 87,
      /**
       * X
       */
      X: 88,
      /**
       * Y
       */
      Y: 89,
      /**
       * Z
       */
      Z: 90,
      /**
       * META
       */
      META: 91,
      // WIN_KEY_LEFT
      /**
       * WIN_KEY_RIGHT
       */
      WIN_KEY_RIGHT: 92,
      /**
       * CONTEXT_MENU
       */
      CONTEXT_MENU: 93,
      /**
       * NUM_ZERO
       */
      NUM_ZERO: 96,
      /**
       * NUM_ONE
       */
      NUM_ONE: 97,
      /**
       * NUM_TWO
       */
      NUM_TWO: 98,
      /**
       * NUM_THREE
       */
      NUM_THREE: 99,
      /**
       * NUM_FOUR
       */
      NUM_FOUR: 100,
      /**
       * NUM_FIVE
       */
      NUM_FIVE: 101,
      /**
       * NUM_SIX
       */
      NUM_SIX: 102,
      /**
       * NUM_SEVEN
       */
      NUM_SEVEN: 103,
      /**
       * NUM_EIGHT
       */
      NUM_EIGHT: 104,
      /**
       * NUM_NINE
       */
      NUM_NINE: 105,
      /**
       * NUM_MULTIPLY
       */
      NUM_MULTIPLY: 106,
      /**
       * NUM_PLUS
       */
      NUM_PLUS: 107,
      /**
       * NUM_MINUS
       */
      NUM_MINUS: 109,
      /**
       * NUM_PERIOD
       */
      NUM_PERIOD: 110,
      /**
       * NUM_DIVISION
       */
      NUM_DIVISION: 111,
      /**
       * F1
       */
      F1: 112,
      /**
       * F2
       */
      F2: 113,
      /**
       * F3
       */
      F3: 114,
      /**
       * F4
       */
      F4: 115,
      /**
       * F5
       */
      F5: 116,
      /**
       * F6
       */
      F6: 117,
      /**
       * F7
       */
      F7: 118,
      /**
       * F8
       */
      F8: 119,
      /**
       * F9
       */
      F9: 120,
      /**
       * F10
       */
      F10: 121,
      /**
       * F11
       */
      F11: 122,
      /**
       * F12
       */
      F12: 123,
      /**
       * NUMLOCK
       */
      NUMLOCK: 144,
      /**
       * SEMICOLON
       */
      SEMICOLON: 186,
      // needs localization
      /**
       * DASH
       */
      DASH: 189,
      // needs localization
      /**
       * EQUALS
       */
      EQUALS: 187,
      // needs localization
      /**
       * COMMA
       */
      COMMA: 188,
      // needs localization
      /**
       * PERIOD
       */
      PERIOD: 190,
      // needs localization
      /**
       * SLASH
       */
      SLASH: 191,
      // needs localization
      /**
       * APOSTROPHE
       */
      APOSTROPHE: 192,
      // needs localization
      /**
       * SINGLE_QUOTE
       */
      SINGLE_QUOTE: 222,
      // needs localization
      /**
       * OPEN_SQUARE_BRACKET
       */
      OPEN_SQUARE_BRACKET: 219,
      // needs localization
      /**
       * BACKSLASH
       */
      BACKSLASH: 220,
      // needs localization
      /**
       * CLOSE_SQUARE_BRACKET
       */
      CLOSE_SQUARE_BRACKET: 221,
      // needs localization
      /**
       * WIN_KEY
       */
      WIN_KEY: 224,
      /**
       * MAC_FF_META
       */
      MAC_FF_META: 224,
      // Firefox (Gecko) fires this for the meta key instead of 91
      /**
       * WIN_IME
       */
      WIN_IME: 229,
      // ======================== Function ========================
      /**
       * whether text and modified key is entered at the same time.
       */
      isTextModifyingKeyEvent: function isTextModifyingKeyEvent(e) {
        var keyCode = e.keyCode;
        if (e.altKey && !e.ctrlKey || e.metaKey ||
        // Function keys don't generate text
        keyCode >= KeyCode.F1 && keyCode <= KeyCode.F12) {
          return false;
        }
    
        // The following keys are quite harmless, even in combination with
        // CTRL, ALT or SHIFT.
        switch (keyCode) {
          case KeyCode.ALT:
          case KeyCode.CAPS_LOCK:
          case KeyCode.CONTEXT_MENU:
          case KeyCode.CTRL:
          case KeyCode.DOWN:
          case KeyCode.END:
          case KeyCode.ESC:
          case KeyCode.HOME:
          case KeyCode.INSERT:
          case KeyCode.LEFT:
          case KeyCode.MAC_FF_META:
          case KeyCode.META:
          case KeyCode.NUMLOCK:
          case KeyCode.NUM_CENTER:
          case KeyCode.PAGE_DOWN:
          case KeyCode.PAGE_UP:
          case KeyCode.PAUSE:
          case KeyCode.PRINT_SCREEN:
          case KeyCode.RIGHT:
          case KeyCode.SHIFT:
          case KeyCode.UP:
          case KeyCode.WIN_KEY:
          case KeyCode.WIN_KEY_RIGHT:
            return false;
          default:
            return true;
        }
      },
      /**
       * whether character is entered.
       */
      isCharacterKey: function isCharacterKey(keyCode) {
        if (keyCode >= KeyCode.ZERO && keyCode <= KeyCode.NINE) {
          return true;
        }
        if (keyCode >= KeyCode.NUM_ZERO && keyCode <= KeyCode.NUM_MULTIPLY) {
          return true;
        }
        if (keyCode >= KeyCode.A && keyCode <= KeyCode.Z) {
          return true;
        }
    
        // Safari sends zero key code for non-latin characters.
        if (window.navigator.userAgent.indexOf('WebKit') !== -1 && keyCode === 0) {
          return true;
        }
        switch (keyCode) {
          case KeyCode.SPACE:
          case KeyCode.QUESTION_MARK:
          case KeyCode.NUM_PLUS:
          case KeyCode.NUM_MINUS:
          case KeyCode.NUM_PERIOD:
          case KeyCode.NUM_DIVISION:
          case KeyCode.SEMICOLON:
          case KeyCode.DASH:
          case KeyCode.EQUALS:
          case KeyCode.COMMA:
          case KeyCode.PERIOD:
          case KeyCode.SLASH:
          case KeyCode.APOSTROPHE:
          case KeyCode.SINGLE_QUOTE:
          case KeyCode.OPEN_SQUARE_BRACKET:
          case KeyCode.BACKSLASH:
          case KeyCode.CLOSE_SQUARE_BRACKET:
            return true;
          default:
            return false;
        }
      }
    };
    /* harmony default export */ __webpack_exports__.Z = (KeyCode);
    
    /***/ }),
    
    /***/ 34678:
    /*!*********************************************************************!*\
      !*** ./node_modules/_rc-util@5.44.4@rc-util/es/React/isFragment.js ***!
      \*********************************************************************/
    /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
    
    "use strict";
    /* harmony export */ __webpack_require__.d(__webpack_exports__, {
    /* harmony export */   Z: function() { return /* binding */ isFragment; }
    /* harmony export */ });
    /* harmony import */ var _babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/typeof */ 43749);
    
    var REACT_ELEMENT_TYPE_18 = Symbol.for('react.element');
    var REACT_ELEMENT_TYPE_19 = Symbol.for('react.transitional.element');
    var REACT_FRAGMENT_TYPE = Symbol.for('react.fragment');
    
    /**
     * Compatible with React 18 or 19 to check if node is a Fragment.
     */
    function isFragment(object) {
      return (
        // Base object type
        object && (0,_babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(object) === 'object' && (
        // React Element type
        object.$$typeof === REACT_ELEMENT_TYPE_18 || object.$$typeof === REACT_ELEMENT_TYPE_19) &&
        // React Fragment type
        object.type === REACT_FRAGMENT_TYPE
      );
    }
    
    /***/ }),
    
    /***/ 1585:
    /*!*****************************************************************!*\
      !*** ./node_modules/_rc-util@5.44.4@rc-util/es/React/render.js ***!
      \*****************************************************************/
    /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
    
    "use strict";
    var react_dom__WEBPACK_IMPORTED_MODULE_0___namespace_cache;
    /* harmony export */ __webpack_require__.d(__webpack_exports__, {
    /* harmony export */   s: function() { return /* binding */ render; },
    /* harmony export */   v: function() { return /* binding */ unmount; }
    /* harmony export */ });
    /* unused harmony exports _r, _u */
    /* harmony import */ var _babel_runtime_helpers_esm_regeneratorRuntime__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/regeneratorRuntime */ 73001);
    /* harmony import */ var _babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/asyncToGenerator */ 11576);
    /* harmony import */ var _babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/typeof */ 43749);
    /* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ 85899);
    /* harmony import */ var react_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react-dom */ 4676);
    
    
    
    
    
    // Let compiler not to search module usage
    var fullClone = (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)({}, /*#__PURE__*/ (react_dom__WEBPACK_IMPORTED_MODULE_0___namespace_cache || (react_dom__WEBPACK_IMPORTED_MODULE_0___namespace_cache = __webpack_require__.t(react_dom__WEBPACK_IMPORTED_MODULE_0__, 2))));
    var version = fullClone.version,
      reactRender = fullClone.render,
      unmountComponentAtNode = fullClone.unmountComponentAtNode;
    var createRoot;
    try {
      var mainVersion = Number((version || '').split('.')[0]);
      if (mainVersion >= 18) {
        createRoot = fullClone.createRoot;
      }
    } catch (e) {
      // Do nothing;
    }
    function toggleWarning(skip) {
      var __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = fullClone.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
      if (__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED && (0,_babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED) === 'object') {
        __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.usingClientEntryPoint = skip;
      }
    }
    var MARK = '__rc_react_root__';
    
    // ========================== Render ==========================
    
    function modernRender(node, container) {
      toggleWarning(true);
      var root = container[MARK] || createRoot(container);
      toggleWarning(false);
      root.render(node);
      container[MARK] = root;
    }
    function legacyRender(node, container) {
      reactRender === null || reactRender === void 0 || reactRender(node, container);
    }
    
    /** @private Test usage. Not work in prod */
    function _r(node, container) {
      if (false) {}
    }
    function render(node, container) {
      if (createRoot) {
        modernRender(node, container);
        return;
      }
      legacyRender(node, container);
    }
    
    // ========================= Unmount ==========================
    function modernUnmount(_x) {
      return _modernUnmount.apply(this, arguments);
    }
    function _modernUnmount() {
      _modernUnmount = (0,_babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)( /*#__PURE__*/(0,_babel_runtime_helpers_esm_regeneratorRuntime__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)().mark(function _callee(container) {
        return (0,_babel_runtime_helpers_esm_regeneratorRuntime__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)().wrap(function _callee$(_context) {
          while (1) switch (_context.prev = _context.next) {
            case 0:
              return _context.abrupt("return", Promise.resolve().then(function () {
                var _container$MARK;
                (_container$MARK = container[MARK]) === null || _container$MARK === void 0 || _container$MARK.unmount();
                delete container[MARK];
              }));
            case 1:
            case "end":
              return _context.stop();
          }
        }, _callee);
      }));
      return _modernUnmount.apply(this, arguments);
    }
    function legacyUnmount(container) {
      unmountComponentAtNode(container);
    }
    
    /** @private Test usage. Not work in prod */
    function _u(container) {
      if (false) {}
    }
    function unmount(_x2) {
      return _unmount.apply(this, arguments);
    }
    function _unmount() {
      _unmount = (0,_babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)( /*#__PURE__*/(0,_babel_runtime_helpers_esm_regeneratorRuntime__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)().mark(function _callee2(container) {
        return (0,_babel_runtime_helpers_esm_regeneratorRuntime__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)().wrap(function _callee2$(_context2) {
          while (1) switch (_context2.prev = _context2.next) {
            case 0:
              if (!(createRoot !== undefined)) {
                _context2.next = 2;
                break;
              }
              return _context2.abrupt("return", modernUnmount(container));
            case 2:
              legacyUnmount(container);
            case 3:
            case "end":
              return _context2.stop();
          }
        }, _callee2);
      }));
      return _unmount.apply(this, arguments);
    }
    
    /***/ }),
    
    /***/ 75152:
    /*!*********************************************************************!*\
      !*** ./node_modules/_rc-util@5.44.4@rc-util/es/getScrollBarSize.js ***!
      \*********************************************************************/
    /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
    
    "use strict";
    /* harmony export */ __webpack_require__.d(__webpack_exports__, {
    /* harmony export */   Z: function() { return /* binding */ getScrollBarSize; },
    /* harmony export */   o: function() { return /* binding */ getTargetScrollBarSize; }
    /* harmony export */ });
    /* harmony import */ var _Dom_dynamicCSS__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Dom/dynamicCSS */ 810);
    /* eslint-disable no-param-reassign */
    
    var cached;
    function measureScrollbarSize(ele) {
      var randomId = "rc-scrollbar-measure-".concat(Math.random().toString(36).substring(7));
      var measureEle = document.createElement('div');
      measureEle.id = randomId;
    
      // Create Style
      var measureStyle = measureEle.style;
      measureStyle.position = 'absolute';
      measureStyle.left = '0';
      measureStyle.top = '0';
      measureStyle.width = '100px';
      measureStyle.height = '100px';
      measureStyle.overflow = 'scroll';
    
      // Clone Style if needed
      var fallbackWidth;
      var fallbackHeight;
      if (ele) {
        var targetStyle = getComputedStyle(ele);
        measureStyle.scrollbarColor = targetStyle.scrollbarColor;
        measureStyle.scrollbarWidth = targetStyle.scrollbarWidth;
    
        // Set Webkit style
        var webkitScrollbarStyle = getComputedStyle(ele, '::-webkit-scrollbar');
        var width = parseInt(webkitScrollbarStyle.width, 10);
        var height = parseInt(webkitScrollbarStyle.height, 10);
    
        // Try wrap to handle CSP case
        try {
          var widthStyle = width ? "width: ".concat(webkitScrollbarStyle.width, ";") : '';
          var heightStyle = height ? "height: ".concat(webkitScrollbarStyle.height, ";") : '';
          (0,_Dom_dynamicCSS__WEBPACK_IMPORTED_MODULE_0__/* .updateCSS */ .hq)("\n#".concat(randomId, "::-webkit-scrollbar {\n").concat(widthStyle, "\n").concat(heightStyle, "\n}"), randomId);
        } catch (e) {
          // Can't wrap, just log error
          console.error(e);
    
          // Get from style directly
          fallbackWidth = width;
          fallbackHeight = height;
        }
      }
      document.body.appendChild(measureEle);
    
      // Measure. Get fallback style if provided
      var scrollWidth = ele && fallbackWidth && !isNaN(fallbackWidth) ? fallbackWidth : measureEle.offsetWidth - measureEle.clientWidth;
      var scrollHeight = ele && fallbackHeight && !isNaN(fallbackHeight) ? fallbackHeight : measureEle.offsetHeight - measureEle.clientHeight;
    
      // Clean up
      document.body.removeChild(measureEle);
      (0,_Dom_dynamicCSS__WEBPACK_IMPORTED_MODULE_0__/* .removeCSS */ .jL)(randomId);
      return {
        width: scrollWidth,
        height: scrollHeight
      };
    }
    function getScrollBarSize(fresh) {
      if (typeof document === 'undefined') {
        return 0;
      }
      if (fresh || cached === undefined) {
        cached = measureScrollbarSize();
      }
      return cached.width;
    }
    function getTargetScrollBarSize(target) {
      if (typeof document === 'undefined' || !target || !(target instanceof Element)) {
        return {
          width: 0,
          height: 0
        };
      }
      return measureScrollbarSize(target);
    }
    
    /***/ }),
    
    /***/ 6089:
    /*!*******************************************************************!*\
      !*** ./node_modules/_rc-util@5.44.4@rc-util/es/hooks/useEvent.js ***!
      \*******************************************************************/
    /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
    
    "use strict";
    /* harmony export */ __webpack_require__.d(__webpack_exports__, {
    /* harmony export */   Z: function() { return /* binding */ useEvent; }
    /* harmony export */ });
    /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 59301);
    
    function useEvent(callback) {
      var fnRef = react__WEBPACK_IMPORTED_MODULE_0__.useRef();
      fnRef.current = callback;
      var memoFn = react__WEBPACK_IMPORTED_MODULE_0__.useCallback(function () {
        var _fnRef$current;
        for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
          args[_key] = arguments[_key];
        }
        return (_fnRef$current = fnRef.current) === null || _fnRef$current === void 0 ? void 0 : _fnRef$current.call.apply(_fnRef$current, [fnRef].concat(args));
      }, []);
      return memoFn;
    }
    
    /***/ }),
    
    /***/ 80402:
    /*!****************************************************************!*\
      !*** ./node_modules/_rc-util@5.44.4@rc-util/es/hooks/useId.js ***!
      \****************************************************************/
    /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
    
    "use strict";
    var react__WEBPACK_IMPORTED_MODULE_0___namespace_cache;
    /* unused harmony export resetUuid */
    /* harmony import */ var _babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/slicedToArray */ 72190);
    /* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ 85899);
    /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 59301);
    
    
    
    function getUseId() {
      // We need fully clone React function here to avoid webpack warning React 17 do not export `useId`
      var fullClone = (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)({}, /*#__PURE__*/ (react__WEBPACK_IMPORTED_MODULE_0___namespace_cache || (react__WEBPACK_IMPORTED_MODULE_0___namespace_cache = __webpack_require__.t(react__WEBPACK_IMPORTED_MODULE_0__, 2))));
      return fullClone.useId;
    }
    var uuid = 0;
    
    /** @private Note only worked in develop env. Not work in production. */
    function resetUuid() {
      if (false) {}
    }
    var useOriginId = getUseId();
    /* harmony default export */ __webpack_exports__.Z = (useOriginId ?
    // Use React `useId`
    function useId(id) {
      var reactId = useOriginId();
    
      // Developer passed id is single source of truth
      if (id) {
        return id;
      }
    
      // Test env always return mock id
      if (false) {}
      return reactId;
    } :
    // Use compatible of `useId`
    function useCompatId(id) {
      // Inner id for accessibility usage. Only work in client side
      var _React$useState = react__WEBPACK_IMPORTED_MODULE_0__.useState('ssr-id'),
        _React$useState2 = (0,_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(_React$useState, 2),
        innerId = _React$useState2[0],
        setInnerId = _React$useState2[1];
      react__WEBPACK_IMPORTED_MODULE_0__.useEffect(function () {
        var nextId = uuid;
        uuid += 1;
        setInnerId("rc_unique_".concat(nextId));
      }, []);
    
      // Developer passed id is single source of truth
      if (id) {
        return id;
      }
    
      // Test env always return mock id
      if (false) {}
    
      // Return react native id or inner id
      return innerId;
    });
    
    /***/ }),
    
    /***/ 34280:
    /*!**************************************************************************!*\
      !*** ./node_modules/_rc-util@5.44.4@rc-util/es/hooks/useLayoutEffect.js ***!
      \**************************************************************************/
    /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
    
    "use strict";
    /* harmony export */ __webpack_require__.d(__webpack_exports__, {
    /* harmony export */   o: function() { return /* binding */ useLayoutUpdateEffect; }
    /* harmony export */ });
    /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 59301);
    /* harmony import */ var _Dom_canUseDom__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../Dom/canUseDom */ 47273);
    
    
    
    /**
     * Wrap `React.useLayoutEffect` which will not throw warning message in test env
     */
    var useInternalLayoutEffect =  true && (0,_Dom_canUseDom__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)() ? react__WEBPACK_IMPORTED_MODULE_0__.useLayoutEffect : react__WEBPACK_IMPORTED_MODULE_0__.useEffect;
    var useLayoutEffect = function useLayoutEffect(callback, deps) {
      var firstMountRef = react__WEBPACK_IMPORTED_MODULE_0__.useRef(true);
      useInternalLayoutEffect(function () {
        return callback(firstMountRef.current);
      }, deps);
    
      // We tell react that first mount has passed
      useInternalLayoutEffect(function () {
        firstMountRef.current = false;
        return function () {
          firstMountRef.current = true;
        };
      }, []);
    };
    var useLayoutUpdateEffect = function useLayoutUpdateEffect(callback, deps) {
      useLayoutEffect(function (firstMount) {
        if (!firstMount) {
          return callback();
        }
      }, deps);
    };
    /* harmony default export */ __webpack_exports__.Z = (useLayoutEffect);
    
    /***/ }),
    
    /***/ 80547:
    /*!******************************************************************!*\
      !*** ./node_modules/_rc-util@5.44.4@rc-util/es/hooks/useMemo.js ***!
      \******************************************************************/
    /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
    
    "use strict";
    /* harmony export */ __webpack_require__.d(__webpack_exports__, {
    /* harmony export */   Z: function() { return /* binding */ useMemo; }
    /* harmony export */ });
    /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 59301);
    
    function useMemo(getValue, condition, shouldUpdate) {
      var cacheRef = react__WEBPACK_IMPORTED_MODULE_0__.useRef({});
      if (!('value' in cacheRef.current) || shouldUpdate(cacheRef.current.condition, condition)) {
        cacheRef.current.value = getValue();
        cacheRef.current.condition = condition;
      }
      return cacheRef.current.value;
    }
    
    /***/ }),
    
    /***/ 18929:
    /*!*************************************************************************!*\
      !*** ./node_modules/_rc-util@5.44.4@rc-util/es/hooks/useMergedState.js ***!
      \*************************************************************************/
    /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
    
    "use strict";
    /* harmony export */ __webpack_require__.d(__webpack_exports__, {
    /* harmony export */   Z: function() { return /* binding */ useMergedState; }
    /* harmony export */ });
    /* harmony import */ var _babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/slicedToArray */ 72190);
    /* harmony import */ var _useEvent__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./useEvent */ 6089);
    /* harmony import */ var _useLayoutEffect__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./useLayoutEffect */ 34280);
    /* harmony import */ var _useState__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./useState */ 41799);
    
    
    
    
    /** We only think `undefined` is empty */
    function hasValue(value) {
      return value !== undefined;
    }
    
    /**
     * Similar to `useState` but will use props value if provided.
     * Note that internal use rc-util `useState` hook.
     */
    function useMergedState(defaultStateValue, option) {
      var _ref = option || {},
        defaultValue = _ref.defaultValue,
        value = _ref.value,
        onChange = _ref.onChange,
        postState = _ref.postState;
    
      // ======================= Init =======================
      var _useState = (0,_useState__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(function () {
          if (hasValue(value)) {
            return value;
          } else if (hasValue(defaultValue)) {
            return typeof defaultValue === 'function' ? defaultValue() : defaultValue;
          } else {
            return typeof defaultStateValue === 'function' ? defaultStateValue() : defaultStateValue;
          }
        }),
        _useState2 = (0,_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(_useState, 2),
        innerValue = _useState2[0],
        setInnerValue = _useState2[1];
      var mergedValue = value !== undefined ? value : innerValue;
      var postMergedValue = postState ? postState(mergedValue) : mergedValue;
    
      // ====================== Change ======================
      var onChangeFn = (0,_useEvent__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(onChange);
      var _useState3 = (0,_useState__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)([mergedValue]),
        _useState4 = (0,_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(_useState3, 2),
        prevValue = _useState4[0],
        setPrevValue = _useState4[1];
      (0,_useLayoutEffect__WEBPACK_IMPORTED_MODULE_1__/* .useLayoutUpdateEffect */ .o)(function () {
        var prev = prevValue[0];
        if (innerValue !== prev) {
          onChangeFn(innerValue, prev);
        }
      }, [prevValue]);
    
      // Sync value back to `undefined` when it from control to un-control
      (0,_useLayoutEffect__WEBPACK_IMPORTED_MODULE_1__/* .useLayoutUpdateEffect */ .o)(function () {
        if (!hasValue(value)) {
          setInnerValue(value);
        }
      }, [value]);
    
      // ====================== Update ======================
      var triggerChange = (0,_useEvent__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(function (updater, ignoreDestroy) {
        setInnerValue(updater, ignoreDestroy);
        setPrevValue([mergedValue], ignoreDestroy);
      });
      return [postMergedValue, triggerChange];
    }
    
    /***/ }),
    
    /***/ 41799:
    /*!*******************************************************************!*\
      !*** ./node_modules/_rc-util@5.44.4@rc-util/es/hooks/useState.js ***!
      \*******************************************************************/
    /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
    
    "use strict";
    /* harmony export */ __webpack_require__.d(__webpack_exports__, {
    /* harmony export */   Z: function() { return /* binding */ useSafeState; }
    /* harmony export */ });
    /* harmony import */ var _babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/slicedToArray */ 72190);
    /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 59301);
    
    
    /**
     * Same as React.useState but `setState` accept `ignoreDestroy` param to not to setState after destroyed.
     * We do not make this auto is to avoid real memory leak.
     * Developer should confirm it's safe to ignore themselves.
     */
    function useSafeState(defaultValue) {
      var destroyRef = react__WEBPACK_IMPORTED_MODULE_0__.useRef(false);
      var _React$useState = react__WEBPACK_IMPORTED_MODULE_0__.useState(defaultValue),
        _React$useState2 = (0,_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(_React$useState, 2),
        value = _React$useState2[0],
        setValue = _React$useState2[1];
      react__WEBPACK_IMPORTED_MODULE_0__.useEffect(function () {
        destroyRef.current = false;
        return function () {
          destroyRef.current = true;
        };
      }, []);
      function safeSetState(updater, ignoreDestroy) {
        if (ignoreDestroy && destroyRef.current) {
          return;
        }
        setValue(updater);
      }
      return [value, safeSetState];
    }
    
    /***/ }),
    
    /***/ 70425:
    /*!**********************************************************!*\
      !*** ./node_modules/_rc-util@5.44.4@rc-util/es/index.js ***!
      \**********************************************************/
    /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
    
    "use strict";
    __webpack_require__.r(__webpack_exports__);
    /* harmony export */ __webpack_require__.d(__webpack_exports__, {
    /* harmony export */   get: function() { return /* reexport safe */ _utils_get__WEBPACK_IMPORTED_MODULE_3__.Z; },
    /* harmony export */   set: function() { return /* reexport safe */ _utils_set__WEBPACK_IMPORTED_MODULE_4__.Z; },
    /* harmony export */   supportNodeRef: function() { return /* reexport safe */ _ref__WEBPACK_IMPORTED_MODULE_2__.t4; },
    /* harmony export */   supportRef: function() { return /* reexport safe */ _ref__WEBPACK_IMPORTED_MODULE_2__.Yr; },
    /* harmony export */   useComposeRef: function() { return /* reexport safe */ _ref__WEBPACK_IMPORTED_MODULE_2__.x1; },
    /* harmony export */   useEvent: function() { return /* reexport safe */ _hooks_useEvent__WEBPACK_IMPORTED_MODULE_0__.Z; },
    /* harmony export */   useMergedState: function() { return /* reexport safe */ _hooks_useMergedState__WEBPACK_IMPORTED_MODULE_1__.Z; },
    /* harmony export */   warning: function() { return /* reexport safe */ _warning__WEBPACK_IMPORTED_MODULE_5__.ZP; }
    /* harmony export */ });
    /* harmony import */ var _hooks_useEvent__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./hooks/useEvent */ 6089);
    /* harmony import */ var _hooks_useMergedState__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./hooks/useMergedState */ 18929);
    /* harmony import */ var _ref__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./ref */ 8654);
    /* harmony import */ var _utils_get__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./utils/get */ 97938);
    /* harmony import */ var _utils_set__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./utils/set */ 24434);
    /* harmony import */ var _warning__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./warning */ 48736);
    
    
    
    
    
    
    
    /***/ }),
    
    /***/ 13697:
    /*!************************************************************!*\
      !*** ./node_modules/_rc-util@5.44.4@rc-util/es/isEqual.js ***!
      \************************************************************/
    /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
    
    "use strict";
    /* harmony import */ var _babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/typeof */ 43749);
    /* harmony import */ var _warning__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./warning */ 48736);
    
    
    
    /**
     * Deeply compares two object literals.
     * @param obj1 object 1
     * @param obj2 object 2
     * @param shallow shallow compare
     * @returns
     */
    function isEqual(obj1, obj2) {
      var shallow = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
      // https://github.com/mapbox/mapbox-gl-js/pull/5979/files#diff-fde7145050c47cc3a306856efd5f9c3016e86e859de9afbd02c879be5067e58f
      var refSet = new Set();
      function deepEqual(a, b) {
        var level = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 1;
        var circular = refSet.has(a);
        (0,_warning__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .ZP)(!circular, 'Warning: There may be circular references');
        if (circular) {
          return false;
        }
        if (a === b) {
          return true;
        }
        if (shallow && level > 1) {
          return false;
        }
        refSet.add(a);
        var newLevel = level + 1;
        if (Array.isArray(a)) {
          if (!Array.isArray(b) || a.length !== b.length) {
            return false;
          }
          for (var i = 0; i < a.length; i++) {
            if (!deepEqual(a[i], b[i], newLevel)) {
              return false;
            }
          }
          return true;
        }
        if (a && b && (0,_babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(a) === 'object' && (0,_babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(b) === 'object') {
          var keys = Object.keys(a);
          if (keys.length !== Object.keys(b).length) {
            return false;
          }
          return keys.every(function (key) {
            return deepEqual(a[key], b[key], newLevel);
          });
        }
        // other
        return false;
      }
      return deepEqual(obj1, obj2);
    }
    /* harmony default export */ __webpack_exports__.Z = (isEqual);
    
    /***/ }),
    
    /***/ 49658:
    /*!*************************************************************!*\
      !*** ./node_modules/_rc-util@5.44.4@rc-util/es/isMobile.js ***!
      \*************************************************************/
    /***/ (function(__unused_webpack_module, __webpack_exports__) {
    
    "use strict";
    /* harmony default export */ __webpack_exports__.Z = (function () {
      if (typeof navigator === 'undefined' || typeof window === 'undefined') {
        return false;
      }
      var agent = navigator.userAgent || navigator.vendor || window.opera;
      return /(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(agent) || /1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(agent === null || agent === void 0 ? void 0 : agent.substr(0, 4));
    });
    
    /***/ }),
    
    /***/ 2738:
    /*!*********************************************************!*\
      !*** ./node_modules/_rc-util@5.44.4@rc-util/es/omit.js ***!
      \*********************************************************/
    /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
    
    "use strict";
    /* harmony export */ __webpack_require__.d(__webpack_exports__, {
    /* harmony export */   Z: function() { return /* binding */ omit; }
    /* harmony export */ });
    function omit(obj, fields) {
      var clone = Object.assign({}, obj);
      if (Array.isArray(fields)) {
        fields.forEach(function (key) {
          delete clone[key];
        });
      }
      return clone;
    }
    
    /***/ }),
    
    /***/ 26112:
    /*!**************************************************************!*\
      !*** ./node_modules/_rc-util@5.44.4@rc-util/es/pickAttrs.js ***!
      \**************************************************************/
    /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
    
    "use strict";
    /* harmony export */ __webpack_require__.d(__webpack_exports__, {
    /* harmony export */   Z: function() { return /* binding */ pickAttrs; }
    /* harmony export */ });
    /* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ 85899);
    
    var attributes = "accept acceptCharset accessKey action allowFullScreen allowTransparency\n    alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge\n    charSet checked classID className colSpan cols content contentEditable contextMenu\n    controls coords crossOrigin data dateTime default defer dir disabled download draggable\n    encType form formAction formEncType formMethod formNoValidate formTarget frameBorder\n    headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity\n    is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media\n    mediaGroup method min minLength multiple muted name noValidate nonce open\n    optimum pattern placeholder poster preload radioGroup readOnly rel required\n    reversed role rowSpan rows sandbox scope scoped scrolling seamless selected\n    shape size sizes span spellCheck src srcDoc srcLang srcSet start step style\n    summary tabIndex target title type useMap value width wmode wrap";
    var eventsName = "onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown\n    onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick\n    onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown\n    onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel\n    onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough\n    onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata\n    onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError";
    var propList = "".concat(attributes, " ").concat(eventsName).split(/[\s\n]+/);
    
    /* eslint-enable max-len */
    var ariaPrefix = 'aria-';
    var dataPrefix = 'data-';
    function match(key, prefix) {
      return key.indexOf(prefix) === 0;
    }
    /**
     * Picker props from exist props with filter
     * @param props Passed props
     * @param ariaOnly boolean | { aria?: boolean; data?: boolean; attr?: boolean; } filter config
     */
    function pickAttrs(props) {
      var ariaOnly = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
      var mergedConfig;
      if (ariaOnly === false) {
        mergedConfig = {
          aria: true,
          data: true,
          attr: true
        };
      } else if (ariaOnly === true) {
        mergedConfig = {
          aria: true
        };
      } else {
        mergedConfig = (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)({}, ariaOnly);
      }
      var attrs = {};
      Object.keys(props).forEach(function (key) {
        if (
        // Aria
        mergedConfig.aria && (key === 'role' || match(key, ariaPrefix)) ||
        // Data
        mergedConfig.data && match(key, dataPrefix) ||
        // Attr
        mergedConfig.attr && propList.includes(key)) {
          attrs[key] = props[key];
        }
      });
      return attrs;
    }
    
    /***/ }),
    
    /***/ 16089:
    /*!********************************************************!*\
      !*** ./node_modules/_rc-util@5.44.4@rc-util/es/raf.js ***!
      \********************************************************/
    /***/ (function(__unused_webpack_module, __webpack_exports__) {
    
    "use strict";
    var raf = function raf(callback) {
      return +setTimeout(callback, 16);
    };
    var caf = function caf(num) {
      return clearTimeout(num);
    };
    if (typeof window !== 'undefined' && 'requestAnimationFrame' in window) {
      raf = function raf(callback) {
        return window.requestAnimationFrame(callback);
      };
      caf = function caf(handle) {
        return window.cancelAnimationFrame(handle);
      };
    }
    var rafUUID = 0;
    var rafIds = new Map();
    function cleanup(id) {
      rafIds.delete(id);
    }
    var wrapperRaf = function wrapperRaf(callback) {
      var times = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 1;
      rafUUID += 1;
      var id = rafUUID;
      function callRef(leftTimes) {
        if (leftTimes === 0) {
          // Clean up
          cleanup(id);
    
          // Trigger
          callback();
        } else {
          // Next raf
          var realId = raf(function () {
            callRef(leftTimes - 1);
          });
    
          // Bind real raf id
          rafIds.set(id, realId);
        }
      }
      callRef(times);
      return id;
    };
    wrapperRaf.cancel = function (id) {
      var realId = rafIds.get(id);
      cleanup(id);
      return caf(realId);
    };
    if (false) {}
    /* harmony default export */ __webpack_exports__.Z = (wrapperRaf);
    
    /***/ }),
    
    /***/ 8654:
    /*!********************************************************!*\
      !*** ./node_modules/_rc-util@5.44.4@rc-util/es/ref.js ***!
      \********************************************************/
    /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
    
    "use strict";
    /* harmony export */ __webpack_require__.d(__webpack_exports__, {
    /* harmony export */   C4: function() { return /* binding */ getNodeRef; },
    /* harmony export */   Yr: function() { return /* binding */ supportRef; },
    /* harmony export */   mH: function() { return /* binding */ fillRef; },
    /* harmony export */   sQ: function() { return /* binding */ composeRef; },
    /* harmony export */   t4: function() { return /* binding */ supportNodeRef; },
    /* harmony export */   x1: function() { return /* binding */ useComposeRef; }
    /* harmony export */ });
    /* harmony import */ var _babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/typeof */ 43749);
    /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 59301);
    /* harmony import */ var react_is__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react-is */ 23265);
    /* harmony import */ var _hooks_useMemo__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./hooks/useMemo */ 80547);
    /* harmony import */ var _React_isFragment__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./React/isFragment */ 34678);
    
    
    
    
    
    var ReactMajorVersion = Number(react__WEBPACK_IMPORTED_MODULE_0__.version.split('.')[0]);
    var fillRef = function fillRef(ref, node) {
      if (typeof ref === 'function') {
        ref(node);
      } else if ((0,_babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(ref) === 'object' && ref && 'current' in ref) {
        ref.current = node;
      }
    };
    
    /**
     * Merge refs into one ref function to support ref passing.
     */
    var composeRef = function composeRef() {
      for (var _len = arguments.length, refs = new Array(_len), _key = 0; _key < _len; _key++) {
        refs[_key] = arguments[_key];
      }
      var refList = refs.filter(Boolean);
      if (refList.length <= 1) {
        return refList[0];
      }
      return function (node) {
        refs.forEach(function (ref) {
          fillRef(ref, node);
        });
      };
    };
    var useComposeRef = function useComposeRef() {
      for (var _len2 = arguments.length, refs = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
        refs[_key2] = arguments[_key2];
      }
      return (0,_hooks_useMemo__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(function () {
        return composeRef.apply(void 0, refs);
      }, refs, function (prev, next) {
        return prev.length !== next.length || prev.every(function (ref, i) {
          return ref !== next[i];
        });
      });
    };
    var supportRef = function supportRef(nodeOrComponent) {
      var _type$prototype, _nodeOrComponent$prot;
      if (!nodeOrComponent) {
        return false;
      }
    
      // React 19 no need `forwardRef` anymore. So just pass if is a React element.
      if (isReactElement(nodeOrComponent) && ReactMajorVersion >= 19) {
        return true;
      }
      var type = (0,react_is__WEBPACK_IMPORTED_MODULE_1__.isMemo)(nodeOrComponent) ? nodeOrComponent.type.type : nodeOrComponent.type;
    
      // Function component node
      if (typeof type === 'function' && !((_type$prototype = type.prototype) !== null && _type$prototype !== void 0 && _type$prototype.render) && type.$$typeof !== react_is__WEBPACK_IMPORTED_MODULE_1__.ForwardRef) {
        return false;
      }
    
      // Class component
      if (typeof nodeOrComponent === 'function' && !((_nodeOrComponent$prot = nodeOrComponent.prototype) !== null && _nodeOrComponent$prot !== void 0 && _nodeOrComponent$prot.render) && nodeOrComponent.$$typeof !== react_is__WEBPACK_IMPORTED_MODULE_1__.ForwardRef) {
        return false;
      }
      return true;
    };
    function isReactElement(node) {
      return /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_0__.isValidElement)(node) && !(0,_React_isFragment__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(node);
    }
    var supportNodeRef = function supportNodeRef(node) {
      return isReactElement(node) && supportRef(node);
    };
    
    /**
     * In React 19. `ref` is not a property from node.
     * But a property from `props.ref`.
     * To check if `props.ref` exist or fallback to `ref`.
     */
    var getNodeRef = function getNodeRef(node) {
      if (node && isReactElement(node)) {
        var ele = node;
    
        // Source from:
        // https://github.com/mui/material-ui/blob/master/packages/mui-utils/src/getReactNodeRef/getReactNodeRef.ts
        return ele.props.propertyIsEnumerable('ref') ? ele.props.ref : ele.ref;
      }
      return null;
    };
    
    /***/ }),
    
    /***/ 97938:
    /*!**************************************************************!*\
      !*** ./node_modules/_rc-util@5.44.4@rc-util/es/utils/get.js ***!
      \**************************************************************/
    /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
    
    "use strict";
    /* harmony export */ __webpack_require__.d(__webpack_exports__, {
    /* harmony export */   Z: function() { return /* binding */ get; }
    /* harmony export */ });
    function get(entity, path) {
      var current = entity;
      for (var i = 0; i < path.length; i += 1) {
        if (current === null || current === undefined) {
          return undefined;
        }
        current = current[path[i]];
      }
      return current;
    }
    
    /***/ }),
    
    /***/ 24434:
    /*!**************************************************************!*\
      !*** ./node_modules/_rc-util@5.44.4@rc-util/es/utils/set.js ***!
      \**************************************************************/
    /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
    
    "use strict";
    /* harmony export */ __webpack_require__.d(__webpack_exports__, {
    /* harmony export */   T: function() { return /* binding */ merge; },
    /* harmony export */   Z: function() { return /* binding */ set; }
    /* harmony export */ });
    /* harmony import */ var _babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/typeof */ 43749);
    /* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ 85899);
    /* harmony import */ var _babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/toConsumableArray */ 77654);
    /* harmony import */ var _babel_runtime_helpers_esm_toArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/toArray */ 48745);
    /* harmony import */ var _get__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./get */ 97938);
    
    
    
    
    
    function internalSet(entity, paths, value, removeIfUndefined) {
      if (!paths.length) {
        return value;
      }
      var _paths = (0,_babel_runtime_helpers_esm_toArray__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(paths),
        path = _paths[0],
        restPath = _paths.slice(1);
      var clone;
      if (!entity && typeof path === 'number') {
        clone = [];
      } else if (Array.isArray(entity)) {
        clone = (0,_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(entity);
      } else {
        clone = (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)({}, entity);
      }
    
      // Delete prop if `removeIfUndefined` and value is undefined
      if (removeIfUndefined && value === undefined && restPath.length === 1) {
        delete clone[path][restPath[0]];
      } else {
        clone[path] = internalSet(clone[path], restPath, value, removeIfUndefined);
      }
      return clone;
    }
    function set(entity, paths, value) {
      var removeIfUndefined = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : false;
      // Do nothing if `removeIfUndefined` and parent object not exist
      if (paths.length && removeIfUndefined && value === undefined && !(0,_get__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(entity, paths.slice(0, -1))) {
        return entity;
      }
      return internalSet(entity, paths, value, removeIfUndefined);
    }
    function isObject(obj) {
      return (0,_babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(obj) === 'object' && obj !== null && Object.getPrototypeOf(obj) === Object.prototype;
    }
    function createEmpty(source) {
      return Array.isArray(source) ? [] : {};
    }
    var keys = typeof Reflect === 'undefined' ? Object.keys : Reflect.ownKeys;
    
    /**
     * Merge objects which will create
     */
    function merge() {
      for (var _len = arguments.length, sources = new Array(_len), _key = 0; _key < _len; _key++) {
        sources[_key] = arguments[_key];
      }
      var clone = createEmpty(sources[0]);
      sources.forEach(function (src) {
        function internalMerge(path, parentLoopSet) {
          var loopSet = new Set(parentLoopSet);
          var value = (0,_get__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(src, path);
          var isArr = Array.isArray(value);
          if (isArr || isObject(value)) {
            // Only add not loop obj
            if (!loopSet.has(value)) {
              loopSet.add(value);
              var originValue = (0,_get__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(clone, path);
              if (isArr) {
                // Array will always be override
                clone = set(clone, path, []);
              } else if (!originValue || (0,_babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(originValue) !== 'object') {
                // Init container if not exist
                clone = set(clone, path, createEmpty(value));
              }
              keys(value).forEach(function (key) {
                internalMerge([].concat((0,_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(path), [key]), loopSet);
              });
            }
          } else {
            clone = set(clone, path, value);
          }
        }
        internalMerge([]);
      });
      return clone;
    }
    
    /***/ }),
    
    /***/ 48736:
    /*!************************************************************!*\
      !*** ./node_modules/_rc-util@5.44.4@rc-util/es/warning.js ***!
      \************************************************************/
    /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
    
    "use strict";
    /* harmony export */ __webpack_require__.d(__webpack_exports__, {
    /* harmony export */   ET: function() { return /* binding */ noteOnce; },
    /* harmony export */   Kp: function() { return /* binding */ warning; }
    /* harmony export */ });
    /* unused harmony exports preMessage, note, resetWarned, call, warningOnce */
    /* eslint-disable no-console */
    var warned = {};
    var preWarningFns = [];
    
    /**
     * Pre warning enable you to parse content before console.error.
     * Modify to null will prevent warning.
     */
    var preMessage = function preMessage(fn) {
      preWarningFns.push(fn);
    };
    
    /**
     * Warning if condition not match.
     * @param valid Condition
     * @param message Warning message
     * @example
     * ```js
     * warning(false, 'some error'); // print some error
     * warning(true, 'some error'); // print nothing
     * warning(1 === 2, 'some error'); // print some error
     * ```
     */
    function warning(valid, message) {
      if (false) { var finalMessage; }
    }
    
    /** @see Similar to {@link warning} */
    function note(valid, message) {
      if (false) { var finalMessage; }
    }
    function resetWarned() {
      warned = {};
    }
    function call(method, valid, message) {
      if (!valid && !warned[message]) {
        method(false, message);
        warned[message] = true;
      }
    }
    
    /** @see Same as {@link warning}, but only warn once for the same message */
    function warningOnce(valid, message) {
      call(warning, valid, message);
    }
    
    /** @see Same as {@link warning}, but only warn once for the same message */
    function noteOnce(valid, message) {
      call(note, valid, message);
    }
    warningOnce.preMessage = preMessage;
    warningOnce.resetWarned = resetWarned;
    warningOnce.noteOnce = noteOnce;
    /* harmony default export */ __webpack_exports__.ZP = (warningOnce);
    
    /***/ }),
    
    /***/ 23675:
    /*!**********************************************************************************!*\
      !*** ./node_modules/_react-dom@17.0.2@react-dom/cjs/react-dom.production.min.js ***!
      \**********************************************************************************/
    /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
    
    "use strict";
    /** @license React v17.0.2
     * react-dom.production.min.js
     *
     * Copyright (c) Facebook, Inc. and its affiliates.
     *
     * This source code is licensed under the MIT license found in the
     * LICENSE file in the root directory of this source tree.
     */
    /*
     Modernizr 3.0.0pre (Custom Build) | MIT
    */
    var aa=__webpack_require__(/*! react */ 59301),m=__webpack_require__(/*! object-assign */ 84126),r=__webpack_require__(/*! scheduler */ 43014);function y(a){for(var b="https://reactjs.org/docs/error-decoder.html?invariant="+a,c=1;c<arguments.length;c++)b+="&args[]="+encodeURIComponent(arguments[c]);return"Minified React error #"+a+"; visit "+b+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}if(!aa)throw Error(y(227));var ba=new Set,ca={};function da(a,b){ea(a,b);ea(a+"Capture",b)}
    function ea(a,b){ca[a]=b;for(a=0;a<b.length;a++)ba.add(b[a])}
    var fa=!("undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement),ha=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,ia=Object.prototype.hasOwnProperty,
    ja={},ka={};function la(a){if(ia.call(ka,a))return!0;if(ia.call(ja,a))return!1;if(ha.test(a))return ka[a]=!0;ja[a]=!0;return!1}function ma(a,b,c,d){if(null!==c&&0===c.type)return!1;switch(typeof b){case "function":case "symbol":return!0;case "boolean":if(d)return!1;if(null!==c)return!c.acceptsBooleans;a=a.toLowerCase().slice(0,5);return"data-"!==a&&"aria-"!==a;default:return!1}}
    function na(a,b,c,d){if(null===b||"undefined"===typeof b||ma(a,b,c,d))return!0;if(d)return!1;if(null!==c)switch(c.type){case 3:return!b;case 4:return!1===b;case 5:return isNaN(b);case 6:return isNaN(b)||1>b}return!1}function B(a,b,c,d,e,f,g){this.acceptsBooleans=2===b||3===b||4===b;this.attributeName=d;this.attributeNamespace=e;this.mustUseProperty=c;this.propertyName=a;this.type=b;this.sanitizeURL=f;this.removeEmptyString=g}var D={};
    "children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(a){D[a]=new B(a,0,!1,a,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(a){var b=a[0];D[b]=new B(b,1,!1,a[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(a){D[a]=new B(a,2,!1,a.toLowerCase(),null,!1,!1)});
    ["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(a){D[a]=new B(a,2,!1,a,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(a){D[a]=new B(a,3,!1,a.toLowerCase(),null,!1,!1)});
    ["checked","multiple","muted","selected"].forEach(function(a){D[a]=new B(a,3,!0,a,null,!1,!1)});["capture","download"].forEach(function(a){D[a]=new B(a,4,!1,a,null,!1,!1)});["cols","rows","size","span"].forEach(function(a){D[a]=new B(a,6,!1,a,null,!1,!1)});["rowSpan","start"].forEach(function(a){D[a]=new B(a,5,!1,a.toLowerCase(),null,!1,!1)});var oa=/[\-:]([a-z])/g;function pa(a){return a[1].toUpperCase()}
    "accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(a){var b=a.replace(oa,
    pa);D[b]=new B(b,1,!1,a,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(a){var b=a.replace(oa,pa);D[b]=new B(b,1,!1,a,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(a){var b=a.replace(oa,pa);D[b]=new B(b,1,!1,a,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(a){D[a]=new B(a,1,!1,a.toLowerCase(),null,!1,!1)});
    D.xlinkHref=new B("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(a){D[a]=new B(a,1,!1,a.toLowerCase(),null,!0,!0)});
    function qa(a,b,c,d){var e=D.hasOwnProperty(b)?D[b]:null;var f=null!==e?0===e.type:d?!1:!(2<b.length)||"o"!==b[0]&&"O"!==b[0]||"n"!==b[1]&&"N"!==b[1]?!1:!0;f||(na(b,c,e,d)&&(c=null),d||null===e?la(b)&&(null===c?a.removeAttribute(b):a.setAttribute(b,""+c)):e.mustUseProperty?a[e.propertyName]=null===c?3===e.type?!1:"":c:(b=e.attributeName,d=e.attributeNamespace,null===c?a.removeAttribute(b):(e=e.type,c=3===e||4===e&&!0===c?"":""+c,d?a.setAttributeNS(d,b,c):a.setAttribute(b,c))))}
    var ra=aa.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,sa=60103,ta=60106,ua=60107,wa=60108,xa=60114,ya=60109,za=60110,Aa=60112,Ba=60113,Ca=60120,Da=60115,Ea=60116,Fa=60121,Ga=60128,Ha=60129,Ia=60130,Ja=60131;
    if("function"===typeof Symbol&&Symbol.for){var E=Symbol.for;sa=E("react.element");ta=E("react.portal");ua=E("react.fragment");wa=E("react.strict_mode");xa=E("react.profiler");ya=E("react.provider");za=E("react.context");Aa=E("react.forward_ref");Ba=E("react.suspense");Ca=E("react.suspense_list");Da=E("react.memo");Ea=E("react.lazy");Fa=E("react.block");E("react.scope");Ga=E("react.opaque.id");Ha=E("react.debug_trace_mode");Ia=E("react.offscreen");Ja=E("react.legacy_hidden")}
    var Ka="function"===typeof Symbol&&Symbol.iterator;function La(a){if(null===a||"object"!==typeof a)return null;a=Ka&&a[Ka]||a["@@iterator"];return"function"===typeof a?a:null}var Ma;function Na(a){if(void 0===Ma)try{throw Error();}catch(c){var b=c.stack.trim().match(/\n( *(at )?)/);Ma=b&&b[1]||""}return"\n"+Ma+a}var Oa=!1;
    function Pa(a,b){if(!a||Oa)return"";Oa=!0;var c=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(b)if(b=function(){throw Error();},Object.defineProperty(b.prototype,"props",{set:function(){throw Error();}}),"object"===typeof Reflect&&Reflect.construct){try{Reflect.construct(b,[])}catch(k){var d=k}Reflect.construct(a,[],b)}else{try{b.call()}catch(k){d=k}a.call(b.prototype)}else{try{throw Error();}catch(k){d=k}a()}}catch(k){if(k&&d&&"string"===typeof k.stack){for(var e=k.stack.split("\n"),
    f=d.stack.split("\n"),g=e.length-1,h=f.length-1;1<=g&&0<=h&&e[g]!==f[h];)h--;for(;1<=g&&0<=h;g--,h--)if(e[g]!==f[h]){if(1!==g||1!==h){do if(g--,h--,0>h||e[g]!==f[h])return"\n"+e[g].replace(" at new "," at ");while(1<=g&&0<=h)}break}}}finally{Oa=!1,Error.prepareStackTrace=c}return(a=a?a.displayName||a.name:"")?Na(a):""}
    function Qa(a){switch(a.tag){case 5:return Na(a.type);case 16:return Na("Lazy");case 13:return Na("Suspense");case 19:return Na("SuspenseList");case 0:case 2:case 15:return a=Pa(a.type,!1),a;case 11:return a=Pa(a.type.render,!1),a;case 22:return a=Pa(a.type._render,!1),a;case 1:return a=Pa(a.type,!0),a;default:return""}}
    function Ra(a){if(null==a)return null;if("function"===typeof a)return a.displayName||a.name||null;if("string"===typeof a)return a;switch(a){case ua:return"Fragment";case ta:return"Portal";case xa:return"Profiler";case wa:return"StrictMode";case Ba:return"Suspense";case Ca:return"SuspenseList"}if("object"===typeof a)switch(a.$$typeof){case za:return(a.displayName||"Context")+".Consumer";case ya:return(a._context.displayName||"Context")+".Provider";case Aa:var b=a.render;b=b.displayName||b.name||"";
    return a.displayName||(""!==b?"ForwardRef("+b+")":"ForwardRef");case Da:return Ra(a.type);case Fa:return Ra(a._render);case Ea:b=a._payload;a=a._init;try{return Ra(a(b))}catch(c){}}return null}function Sa(a){switch(typeof a){case "boolean":case "number":case "object":case "string":case "undefined":return a;default:return""}}function Ta(a){var b=a.type;return(a=a.nodeName)&&"input"===a.toLowerCase()&&("checkbox"===b||"radio"===b)}
    function Ua(a){var b=Ta(a)?"checked":"value",c=Object.getOwnPropertyDescriptor(a.constructor.prototype,b),d=""+a[b];if(!a.hasOwnProperty(b)&&"undefined"!==typeof c&&"function"===typeof c.get&&"function"===typeof c.set){var e=c.get,f=c.set;Object.defineProperty(a,b,{configurable:!0,get:function(){return e.call(this)},set:function(a){d=""+a;f.call(this,a)}});Object.defineProperty(a,b,{enumerable:c.enumerable});return{getValue:function(){return d},setValue:function(a){d=""+a},stopTracking:function(){a._valueTracker=
    null;delete a[b]}}}}function Va(a){a._valueTracker||(a._valueTracker=Ua(a))}function Wa(a){if(!a)return!1;var b=a._valueTracker;if(!b)return!0;var c=b.getValue();var d="";a&&(d=Ta(a)?a.checked?"true":"false":a.value);a=d;return a!==c?(b.setValue(a),!0):!1}function Xa(a){a=a||("undefined"!==typeof document?document:void 0);if("undefined"===typeof a)return null;try{return a.activeElement||a.body}catch(b){return a.body}}
    function Ya(a,b){var c=b.checked;return m({},b,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=c?c:a._wrapperState.initialChecked})}function Za(a,b){var c=null==b.defaultValue?"":b.defaultValue,d=null!=b.checked?b.checked:b.defaultChecked;c=Sa(null!=b.value?b.value:c);a._wrapperState={initialChecked:d,initialValue:c,controlled:"checkbox"===b.type||"radio"===b.type?null!=b.checked:null!=b.value}}function $a(a,b){b=b.checked;null!=b&&qa(a,"checked",b,!1)}
    function ab(a,b){$a(a,b);var c=Sa(b.value),d=b.type;if(null!=c)if("number"===d){if(0===c&&""===a.value||a.value!=c)a.value=""+c}else a.value!==""+c&&(a.value=""+c);else if("submit"===d||"reset"===d){a.removeAttribute("value");return}b.hasOwnProperty("value")?bb(a,b.type,c):b.hasOwnProperty("defaultValue")&&bb(a,b.type,Sa(b.defaultValue));null==b.checked&&null!=b.defaultChecked&&(a.defaultChecked=!!b.defaultChecked)}
    function cb(a,b,c){if(b.hasOwnProperty("value")||b.hasOwnProperty("defaultValue")){var d=b.type;if(!("submit"!==d&&"reset"!==d||void 0!==b.value&&null!==b.value))return;b=""+a._wrapperState.initialValue;c||b===a.value||(a.value=b);a.defaultValue=b}c=a.name;""!==c&&(a.name="");a.defaultChecked=!!a._wrapperState.initialChecked;""!==c&&(a.name=c)}
    function bb(a,b,c){if("number"!==b||Xa(a.ownerDocument)!==a)null==c?a.defaultValue=""+a._wrapperState.initialValue:a.defaultValue!==""+c&&(a.defaultValue=""+c)}function db(a){var b="";aa.Children.forEach(a,function(a){null!=a&&(b+=a)});return b}function eb(a,b){a=m({children:void 0},b);if(b=db(b.children))a.children=b;return a}
    function fb(a,b,c,d){a=a.options;if(b){b={};for(var e=0;e<c.length;e++)b["$"+c[e]]=!0;for(c=0;c<a.length;c++)e=b.hasOwnProperty("$"+a[c].value),a[c].selected!==e&&(a[c].selected=e),e&&d&&(a[c].defaultSelected=!0)}else{c=""+Sa(c);b=null;for(e=0;e<a.length;e++){if(a[e].value===c){a[e].selected=!0;d&&(a[e].defaultSelected=!0);return}null!==b||a[e].disabled||(b=a[e])}null!==b&&(b.selected=!0)}}
    function gb(a,b){if(null!=b.dangerouslySetInnerHTML)throw Error(y(91));return m({},b,{value:void 0,defaultValue:void 0,children:""+a._wrapperState.initialValue})}function hb(a,b){var c=b.value;if(null==c){c=b.children;b=b.defaultValue;if(null!=c){if(null!=b)throw Error(y(92));if(Array.isArray(c)){if(!(1>=c.length))throw Error(y(93));c=c[0]}b=c}null==b&&(b="");c=b}a._wrapperState={initialValue:Sa(c)}}
    function ib(a,b){var c=Sa(b.value),d=Sa(b.defaultValue);null!=c&&(c=""+c,c!==a.value&&(a.value=c),null==b.defaultValue&&a.defaultValue!==c&&(a.defaultValue=c));null!=d&&(a.defaultValue=""+d)}function jb(a){var b=a.textContent;b===a._wrapperState.initialValue&&""!==b&&null!==b&&(a.value=b)}var kb={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};
    function lb(a){switch(a){case "svg":return"http://www.w3.org/2000/svg";case "math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function mb(a,b){return null==a||"http://www.w3.org/1999/xhtml"===a?lb(b):"http://www.w3.org/2000/svg"===a&&"foreignObject"===b?"http://www.w3.org/1999/xhtml":a}
    var nb,ob=function(a){return"undefined"!==typeof MSApp&&MSApp.execUnsafeLocalFunction?function(b,c,d,e){MSApp.execUnsafeLocalFunction(function(){return a(b,c,d,e)})}:a}(function(a,b){if(a.namespaceURI!==kb.svg||"innerHTML"in a)a.innerHTML=b;else{nb=nb||document.createElement("div");nb.innerHTML="<svg>"+b.valueOf().toString()+"</svg>";for(b=nb.firstChild;a.firstChild;)a.removeChild(a.firstChild);for(;b.firstChild;)a.appendChild(b.firstChild)}});
    function pb(a,b){if(b){var c=a.firstChild;if(c&&c===a.lastChild&&3===c.nodeType){c.nodeValue=b;return}}a.textContent=b}
    var qb={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,
    floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},rb=["Webkit","ms","Moz","O"];Object.keys(qb).forEach(function(a){rb.forEach(function(b){b=b+a.charAt(0).toUpperCase()+a.substring(1);qb[b]=qb[a]})});function sb(a,b,c){return null==b||"boolean"===typeof b||""===b?"":c||"number"!==typeof b||0===b||qb.hasOwnProperty(a)&&qb[a]?(""+b).trim():b+"px"}
    function tb(a,b){a=a.style;for(var c in b)if(b.hasOwnProperty(c)){var d=0===c.indexOf("--"),e=sb(c,b[c],d);"float"===c&&(c="cssFloat");d?a.setProperty(c,e):a[c]=e}}var ub=m({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});
    function vb(a,b){if(b){if(ub[a]&&(null!=b.children||null!=b.dangerouslySetInnerHTML))throw Error(y(137,a));if(null!=b.dangerouslySetInnerHTML){if(null!=b.children)throw Error(y(60));if(!("object"===typeof b.dangerouslySetInnerHTML&&"__html"in b.dangerouslySetInnerHTML))throw Error(y(61));}if(null!=b.style&&"object"!==typeof b.style)throw Error(y(62));}}
    function wb(a,b){if(-1===a.indexOf("-"))return"string"===typeof b.is;switch(a){case "annotation-xml":case "color-profile":case "font-face":case "font-face-src":case "font-face-uri":case "font-face-format":case "font-face-name":case "missing-glyph":return!1;default:return!0}}function xb(a){a=a.target||a.srcElement||window;a.correspondingUseElement&&(a=a.correspondingUseElement);return 3===a.nodeType?a.parentNode:a}var yb=null,zb=null,Ab=null;
    function Bb(a){if(a=Cb(a)){if("function"!==typeof yb)throw Error(y(280));var b=a.stateNode;b&&(b=Db(b),yb(a.stateNode,a.type,b))}}function Eb(a){zb?Ab?Ab.push(a):Ab=[a]:zb=a}function Fb(){if(zb){var a=zb,b=Ab;Ab=zb=null;Bb(a);if(b)for(a=0;a<b.length;a++)Bb(b[a])}}function Gb(a,b){return a(b)}function Hb(a,b,c,d,e){return a(b,c,d,e)}function Ib(){}var Jb=Gb,Kb=!1,Lb=!1;function Mb(){if(null!==zb||null!==Ab)Ib(),Fb()}
    function Nb(a,b,c){if(Lb)return a(b,c);Lb=!0;try{return Jb(a,b,c)}finally{Lb=!1,Mb()}}
    function Ob(a,b){var c=a.stateNode;if(null===c)return null;var d=Db(c);if(null===d)return null;c=d[b];a:switch(b){case "onClick":case "onClickCapture":case "onDoubleClick":case "onDoubleClickCapture":case "onMouseDown":case "onMouseDownCapture":case "onMouseMove":case "onMouseMoveCapture":case "onMouseUp":case "onMouseUpCapture":case "onMouseEnter":(d=!d.disabled)||(a=a.type,d=!("button"===a||"input"===a||"select"===a||"textarea"===a));a=!d;break a;default:a=!1}if(a)return null;if(c&&"function"!==
    typeof c)throw Error(y(231,b,typeof c));return c}var Pb=!1;if(fa)try{var Qb={};Object.defineProperty(Qb,"passive",{get:function(){Pb=!0}});window.addEventListener("test",Qb,Qb);window.removeEventListener("test",Qb,Qb)}catch(a){Pb=!1}function Rb(a,b,c,d,e,f,g,h,k){var l=Array.prototype.slice.call(arguments,3);try{b.apply(c,l)}catch(n){this.onError(n)}}var Sb=!1,Tb=null,Ub=!1,Vb=null,Wb={onError:function(a){Sb=!0;Tb=a}};function Xb(a,b,c,d,e,f,g,h,k){Sb=!1;Tb=null;Rb.apply(Wb,arguments)}
    function Yb(a,b,c,d,e,f,g,h,k){Xb.apply(this,arguments);if(Sb){if(Sb){var l=Tb;Sb=!1;Tb=null}else throw Error(y(198));Ub||(Ub=!0,Vb=l)}}function Zb(a){var b=a,c=a;if(a.alternate)for(;b.return;)b=b.return;else{a=b;do b=a,0!==(b.flags&1026)&&(c=b.return),a=b.return;while(a)}return 3===b.tag?c:null}function $b(a){if(13===a.tag){var b=a.memoizedState;null===b&&(a=a.alternate,null!==a&&(b=a.memoizedState));if(null!==b)return b.dehydrated}return null}function ac(a){if(Zb(a)!==a)throw Error(y(188));}
    function bc(a){var b=a.alternate;if(!b){b=Zb(a);if(null===b)throw Error(y(188));return b!==a?null:a}for(var c=a,d=b;;){var e=c.return;if(null===e)break;var f=e.alternate;if(null===f){d=e.return;if(null!==d){c=d;continue}break}if(e.child===f.child){for(f=e.child;f;){if(f===c)return ac(e),a;if(f===d)return ac(e),b;f=f.sibling}throw Error(y(188));}if(c.return!==d.return)c=e,d=f;else{for(var g=!1,h=e.child;h;){if(h===c){g=!0;c=e;d=f;break}if(h===d){g=!0;d=e;c=f;break}h=h.sibling}if(!g){for(h=f.child;h;){if(h===
    c){g=!0;c=f;d=e;break}if(h===d){g=!0;d=f;c=e;break}h=h.sibling}if(!g)throw Error(y(189));}}if(c.alternate!==d)throw Error(y(190));}if(3!==c.tag)throw Error(y(188));return c.stateNode.current===c?a:b}function cc(a){a=bc(a);if(!a)return null;for(var b=a;;){if(5===b.tag||6===b.tag)return b;if(b.child)b.child.return=b,b=b.child;else{if(b===a)break;for(;!b.sibling;){if(!b.return||b.return===a)return null;b=b.return}b.sibling.return=b.return;b=b.sibling}}return null}
    function dc(a,b){for(var c=a.alternate;null!==b;){if(b===a||b===c)return!0;b=b.return}return!1}var ec,fc,gc,hc,ic=!1,jc=[],kc=null,lc=null,mc=null,nc=new Map,oc=new Map,pc=[],qc="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");
    function rc(a,b,c,d,e){return{blockedOn:a,domEventName:b,eventSystemFlags:c|16,nativeEvent:e,targetContainers:[d]}}function sc(a,b){switch(a){case "focusin":case "focusout":kc=null;break;case "dragenter":case "dragleave":lc=null;break;case "mouseover":case "mouseout":mc=null;break;case "pointerover":case "pointerout":nc.delete(b.pointerId);break;case "gotpointercapture":case "lostpointercapture":oc.delete(b.pointerId)}}
    function tc(a,b,c,d,e,f){if(null===a||a.nativeEvent!==f)return a=rc(b,c,d,e,f),null!==b&&(b=Cb(b),null!==b&&fc(b)),a;a.eventSystemFlags|=d;b=a.targetContainers;null!==e&&-1===b.indexOf(e)&&b.push(e);return a}
    function uc(a,b,c,d,e){switch(b){case "focusin":return kc=tc(kc,a,b,c,d,e),!0;case "dragenter":return lc=tc(lc,a,b,c,d,e),!0;case "mouseover":return mc=tc(mc,a,b,c,d,e),!0;case "pointerover":var f=e.pointerId;nc.set(f,tc(nc.get(f)||null,a,b,c,d,e));return!0;case "gotpointercapture":return f=e.pointerId,oc.set(f,tc(oc.get(f)||null,a,b,c,d,e)),!0}return!1}
    function vc(a){var b=wc(a.target);if(null!==b){var c=Zb(b);if(null!==c)if(b=c.tag,13===b){if(b=$b(c),null!==b){a.blockedOn=b;hc(a.lanePriority,function(){r.unstable_runWithPriority(a.priority,function(){gc(c)})});return}}else if(3===b&&c.stateNode.hydrate){a.blockedOn=3===c.tag?c.stateNode.containerInfo:null;return}}a.blockedOn=null}
    function xc(a){if(null!==a.blockedOn)return!1;for(var b=a.targetContainers;0<b.length;){var c=yc(a.domEventName,a.eventSystemFlags,b[0],a.nativeEvent);if(null!==c)return b=Cb(c),null!==b&&fc(b),a.blockedOn=c,!1;b.shift()}return!0}function zc(a,b,c){xc(a)&&c.delete(b)}
    function Ac(){for(ic=!1;0<jc.length;){var a=jc[0];if(null!==a.blockedOn){a=Cb(a.blockedOn);null!==a&&ec(a);break}for(var b=a.targetContainers;0<b.length;){var c=yc(a.domEventName,a.eventSystemFlags,b[0],a.nativeEvent);if(null!==c){a.blockedOn=c;break}b.shift()}null===a.blockedOn&&jc.shift()}null!==kc&&xc(kc)&&(kc=null);null!==lc&&xc(lc)&&(lc=null);null!==mc&&xc(mc)&&(mc=null);nc.forEach(zc);oc.forEach(zc)}
    function Bc(a,b){a.blockedOn===b&&(a.blockedOn=null,ic||(ic=!0,r.unstable_scheduleCallback(r.unstable_NormalPriority,Ac)))}
    function Cc(a){function b(b){return Bc(b,a)}if(0<jc.length){Bc(jc[0],a);for(var c=1;c<jc.length;c++){var d=jc[c];d.blockedOn===a&&(d.blockedOn=null)}}null!==kc&&Bc(kc,a);null!==lc&&Bc(lc,a);null!==mc&&Bc(mc,a);nc.forEach(b);oc.forEach(b);for(c=0;c<pc.length;c++)d=pc[c],d.blockedOn===a&&(d.blockedOn=null);for(;0<pc.length&&(c=pc[0],null===c.blockedOn);)vc(c),null===c.blockedOn&&pc.shift()}
    function Dc(a,b){var c={};c[a.toLowerCase()]=b.toLowerCase();c["Webkit"+a]="webkit"+b;c["Moz"+a]="moz"+b;return c}var Ec={animationend:Dc("Animation","AnimationEnd"),animationiteration:Dc("Animation","AnimationIteration"),animationstart:Dc("Animation","AnimationStart"),transitionend:Dc("Transition","TransitionEnd")},Fc={},Gc={};
    fa&&(Gc=document.createElement("div").style,"AnimationEvent"in window||(delete Ec.animationend.animation,delete Ec.animationiteration.animation,delete Ec.animationstart.animation),"TransitionEvent"in window||delete Ec.transitionend.transition);function Hc(a){if(Fc[a])return Fc[a];if(!Ec[a])return a;var b=Ec[a],c;for(c in b)if(b.hasOwnProperty(c)&&c in Gc)return Fc[a]=b[c];return a}
    var Ic=Hc("animationend"),Jc=Hc("animationiteration"),Kc=Hc("animationstart"),Lc=Hc("transitionend"),Mc=new Map,Nc=new Map,Oc=["abort","abort",Ic,"animationEnd",Jc,"animationIteration",Kc,"animationStart","canplay","canPlay","canplaythrough","canPlayThrough","durationchange","durationChange","emptied","emptied","encrypted","encrypted","ended","ended","error","error","gotpointercapture","gotPointerCapture","load","load","loadeddata","loadedData","loadedmetadata","loadedMetadata","loadstart","loadStart",
    "lostpointercapture","lostPointerCapture","playing","playing","progress","progress","seeking","seeking","stalled","stalled","suspend","suspend","timeupdate","timeUpdate",Lc,"transitionEnd","waiting","waiting"];function Pc(a,b){for(var c=0;c<a.length;c+=2){var d=a[c],e=a[c+1];e="on"+(e[0].toUpperCase()+e.slice(1));Nc.set(d,b);Mc.set(d,e);da(e,[d])}}var Qc=r.unstable_now;Qc();var F=8;
    function Rc(a){if(0!==(1&a))return F=15,1;if(0!==(2&a))return F=14,2;if(0!==(4&a))return F=13,4;var b=24&a;if(0!==b)return F=12,b;if(0!==(a&32))return F=11,32;b=192&a;if(0!==b)return F=10,b;if(0!==(a&256))return F=9,256;b=3584&a;if(0!==b)return F=8,b;if(0!==(a&4096))return F=7,4096;b=4186112&a;if(0!==b)return F=6,b;b=62914560&a;if(0!==b)return F=5,b;if(a&67108864)return F=4,67108864;if(0!==(a&134217728))return F=3,134217728;b=805306368&a;if(0!==b)return F=2,b;if(0!==(1073741824&a))return F=1,1073741824;
    F=8;return a}function Sc(a){switch(a){case 99:return 15;case 98:return 10;case 97:case 96:return 8;case 95:return 2;default:return 0}}function Tc(a){switch(a){case 15:case 14:return 99;case 13:case 12:case 11:case 10:return 98;case 9:case 8:case 7:case 6:case 4:case 5:return 97;case 3:case 2:case 1:return 95;case 0:return 90;default:throw Error(y(358,a));}}
    function Uc(a,b){var c=a.pendingLanes;if(0===c)return F=0;var d=0,e=0,f=a.expiredLanes,g=a.suspendedLanes,h=a.pingedLanes;if(0!==f)d=f,e=F=15;else if(f=c&134217727,0!==f){var k=f&~g;0!==k?(d=Rc(k),e=F):(h&=f,0!==h&&(d=Rc(h),e=F))}else f=c&~g,0!==f?(d=Rc(f),e=F):0!==h&&(d=Rc(h),e=F);if(0===d)return 0;d=31-Vc(d);d=c&((0>d?0:1<<d)<<1)-1;if(0!==b&&b!==d&&0===(b&g)){Rc(b);if(e<=F)return b;F=e}b=a.entangledLanes;if(0!==b)for(a=a.entanglements,b&=d;0<b;)c=31-Vc(b),e=1<<c,d|=a[c],b&=~e;return d}
    function Wc(a){a=a.pendingLanes&-1073741825;return 0!==a?a:a&1073741824?1073741824:0}function Xc(a,b){switch(a){case 15:return 1;case 14:return 2;case 12:return a=Yc(24&~b),0===a?Xc(10,b):a;case 10:return a=Yc(192&~b),0===a?Xc(8,b):a;case 8:return a=Yc(3584&~b),0===a&&(a=Yc(4186112&~b),0===a&&(a=512)),a;case 2:return b=Yc(805306368&~b),0===b&&(b=268435456),b}throw Error(y(358,a));}function Yc(a){return a&-a}function Zc(a){for(var b=[],c=0;31>c;c++)b.push(a);return b}
    function $c(a,b,c){a.pendingLanes|=b;var d=b-1;a.suspendedLanes&=d;a.pingedLanes&=d;a=a.eventTimes;b=31-Vc(b);a[b]=c}var Vc=Math.clz32?Math.clz32:ad,bd=Math.log,cd=Math.LN2;function ad(a){return 0===a?32:31-(bd(a)/cd|0)|0}var dd=r.unstable_UserBlockingPriority,ed=r.unstable_runWithPriority,fd=!0;function gd(a,b,c,d){Kb||Ib();var e=hd,f=Kb;Kb=!0;try{Hb(e,a,b,c,d)}finally{(Kb=f)||Mb()}}function id(a,b,c,d){ed(dd,hd.bind(null,a,b,c,d))}
    function hd(a,b,c,d){if(fd){var e;if((e=0===(b&4))&&0<jc.length&&-1<qc.indexOf(a))a=rc(null,a,b,c,d),jc.push(a);else{var f=yc(a,b,c,d);if(null===f)e&&sc(a,d);else{if(e){if(-1<qc.indexOf(a)){a=rc(f,a,b,c,d);jc.push(a);return}if(uc(f,a,b,c,d))return;sc(a,d)}jd(a,b,d,null,c)}}}}
    function yc(a,b,c,d){var e=xb(d);e=wc(e);if(null!==e){var f=Zb(e);if(null===f)e=null;else{var g=f.tag;if(13===g){e=$b(f);if(null!==e)return e;e=null}else if(3===g){if(f.stateNode.hydrate)return 3===f.tag?f.stateNode.containerInfo:null;e=null}else f!==e&&(e=null)}}jd(a,b,d,e,c);return null}var kd=null,ld=null,md=null;
    function nd(){if(md)return md;var a,b=ld,c=b.length,d,e="value"in kd?kd.value:kd.textContent,f=e.length;for(a=0;a<c&&b[a]===e[a];a++);var g=c-a;for(d=1;d<=g&&b[c-d]===e[f-d];d++);return md=e.slice(a,1<d?1-d:void 0)}function od(a){var b=a.keyCode;"charCode"in a?(a=a.charCode,0===a&&13===b&&(a=13)):a=b;10===a&&(a=13);return 32<=a||13===a?a:0}function pd(){return!0}function qd(){return!1}
    function rd(a){function b(b,d,e,f,g){this._reactName=b;this._targetInst=e;this.type=d;this.nativeEvent=f;this.target=g;this.currentTarget=null;for(var c in a)a.hasOwnProperty(c)&&(b=a[c],this[c]=b?b(f):f[c]);this.isDefaultPrevented=(null!=f.defaultPrevented?f.defaultPrevented:!1===f.returnValue)?pd:qd;this.isPropagationStopped=qd;return this}m(b.prototype,{preventDefault:function(){this.defaultPrevented=!0;var a=this.nativeEvent;a&&(a.preventDefault?a.preventDefault():"unknown"!==typeof a.returnValue&&
    (a.returnValue=!1),this.isDefaultPrevented=pd)},stopPropagation:function(){var a=this.nativeEvent;a&&(a.stopPropagation?a.stopPropagation():"unknown"!==typeof a.cancelBubble&&(a.cancelBubble=!0),this.isPropagationStopped=pd)},persist:function(){},isPersistent:pd});return b}
    var sd={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(a){return a.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},td=rd(sd),ud=m({},sd,{view:0,detail:0}),vd=rd(ud),wd,xd,yd,Ad=m({},ud,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:zd,button:0,buttons:0,relatedTarget:function(a){return void 0===a.relatedTarget?a.fromElement===a.srcElement?a.toElement:a.fromElement:a.relatedTarget},movementX:function(a){if("movementX"in
    a)return a.movementX;a!==yd&&(yd&&"mousemove"===a.type?(wd=a.screenX-yd.screenX,xd=a.screenY-yd.screenY):xd=wd=0,yd=a);return wd},movementY:function(a){return"movementY"in a?a.movementY:xd}}),Bd=rd(Ad),Cd=m({},Ad,{dataTransfer:0}),Dd=rd(Cd),Ed=m({},ud,{relatedTarget:0}),Fd=rd(Ed),Gd=m({},sd,{animationName:0,elapsedTime:0,pseudoElement:0}),Hd=rd(Gd),Id=m({},sd,{clipboardData:function(a){return"clipboardData"in a?a.clipboardData:window.clipboardData}}),Jd=rd(Id),Kd=m({},sd,{data:0}),Ld=rd(Kd),Md={Esc:"Escape",
    Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Nd={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",
    119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Od={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Pd(a){var b=this.nativeEvent;return b.getModifierState?b.getModifierState(a):(a=Od[a])?!!b[a]:!1}function zd(){return Pd}
    var Qd=m({},ud,{key:function(a){if(a.key){var b=Md[a.key]||a.key;if("Unidentified"!==b)return b}return"keypress"===a.type?(a=od(a),13===a?"Enter":String.fromCharCode(a)):"keydown"===a.type||"keyup"===a.type?Nd[a.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:zd,charCode:function(a){return"keypress"===a.type?od(a):0},keyCode:function(a){return"keydown"===a.type||"keyup"===a.type?a.keyCode:0},which:function(a){return"keypress"===
    a.type?od(a):"keydown"===a.type||"keyup"===a.type?a.keyCode:0}}),Rd=rd(Qd),Sd=m({},Ad,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Td=rd(Sd),Ud=m({},ud,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:zd}),Vd=rd(Ud),Wd=m({},sd,{propertyName:0,elapsedTime:0,pseudoElement:0}),Xd=rd(Wd),Yd=m({},Ad,{deltaX:function(a){return"deltaX"in a?a.deltaX:"wheelDeltaX"in a?-a.wheelDeltaX:0},
    deltaY:function(a){return"deltaY"in a?a.deltaY:"wheelDeltaY"in a?-a.wheelDeltaY:"wheelDelta"in a?-a.wheelDelta:0},deltaZ:0,deltaMode:0}),Zd=rd(Yd),$d=[9,13,27,32],ae=fa&&"CompositionEvent"in window,be=null;fa&&"documentMode"in document&&(be=document.documentMode);var ce=fa&&"TextEvent"in window&&!be,de=fa&&(!ae||be&&8<be&&11>=be),ee=String.fromCharCode(32),fe=!1;
    function ge(a,b){switch(a){case "keyup":return-1!==$d.indexOf(b.keyCode);case "keydown":return 229!==b.keyCode;case "keypress":case "mousedown":case "focusout":return!0;default:return!1}}function he(a){a=a.detail;return"object"===typeof a&&"data"in a?a.data:null}var ie=!1;function je(a,b){switch(a){case "compositionend":return he(b);case "keypress":if(32!==b.which)return null;fe=!0;return ee;case "textInput":return a=b.data,a===ee&&fe?null:a;default:return null}}
    function ke(a,b){if(ie)return"compositionend"===a||!ae&&ge(a,b)?(a=nd(),md=ld=kd=null,ie=!1,a):null;switch(a){case "paste":return null;case "keypress":if(!(b.ctrlKey||b.altKey||b.metaKey)||b.ctrlKey&&b.altKey){if(b.char&&1<b.char.length)return b.char;if(b.which)return String.fromCharCode(b.which)}return null;case "compositionend":return de&&"ko"!==b.locale?null:b.data;default:return null}}
    var le={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function me(a){var b=a&&a.nodeName&&a.nodeName.toLowerCase();return"input"===b?!!le[a.type]:"textarea"===b?!0:!1}function ne(a,b,c,d){Eb(d);b=oe(b,"onChange");0<b.length&&(c=new td("onChange","change",null,c,d),a.push({event:c,listeners:b}))}var pe=null,qe=null;function re(a){se(a,0)}function te(a){var b=ue(a);if(Wa(b))return a}
    function ve(a,b){if("change"===a)return b}var we=!1;if(fa){var xe;if(fa){var ye="oninput"in document;if(!ye){var ze=document.createElement("div");ze.setAttribute("oninput","return;");ye="function"===typeof ze.oninput}xe=ye}else xe=!1;we=xe&&(!document.documentMode||9<document.documentMode)}function Ae(){pe&&(pe.detachEvent("onpropertychange",Be),qe=pe=null)}function Be(a){if("value"===a.propertyName&&te(qe)){var b=[];ne(b,qe,a,xb(a));a=re;if(Kb)a(b);else{Kb=!0;try{Gb(a,b)}finally{Kb=!1,Mb()}}}}
    function Ce(a,b,c){"focusin"===a?(Ae(),pe=b,qe=c,pe.attachEvent("onpropertychange",Be)):"focusout"===a&&Ae()}function De(a){if("selectionchange"===a||"keyup"===a||"keydown"===a)return te(qe)}function Ee(a,b){if("click"===a)return te(b)}function Fe(a,b){if("input"===a||"change"===a)return te(b)}function Ge(a,b){return a===b&&(0!==a||1/a===1/b)||a!==a&&b!==b}var He="function"===typeof Object.is?Object.is:Ge,Ie=Object.prototype.hasOwnProperty;
    function Je(a,b){if(He(a,b))return!0;if("object"!==typeof a||null===a||"object"!==typeof b||null===b)return!1;var c=Object.keys(a),d=Object.keys(b);if(c.length!==d.length)return!1;for(d=0;d<c.length;d++)if(!Ie.call(b,c[d])||!He(a[c[d]],b[c[d]]))return!1;return!0}function Ke(a){for(;a&&a.firstChild;)a=a.firstChild;return a}
    function Le(a,b){var c=Ke(a);a=0;for(var d;c;){if(3===c.nodeType){d=a+c.textContent.length;if(a<=b&&d>=b)return{node:c,offset:b-a};a=d}a:{for(;c;){if(c.nextSibling){c=c.nextSibling;break a}c=c.parentNode}c=void 0}c=Ke(c)}}function Me(a,b){return a&&b?a===b?!0:a&&3===a.nodeType?!1:b&&3===b.nodeType?Me(a,b.parentNode):"contains"in a?a.contains(b):a.compareDocumentPosition?!!(a.compareDocumentPosition(b)&16):!1:!1}
    function Ne(){for(var a=window,b=Xa();b instanceof a.HTMLIFrameElement;){try{var c="string"===typeof b.contentWindow.location.href}catch(d){c=!1}if(c)a=b.contentWindow;else break;b=Xa(a.document)}return b}function Oe(a){var b=a&&a.nodeName&&a.nodeName.toLowerCase();return b&&("input"===b&&("text"===a.type||"search"===a.type||"tel"===a.type||"url"===a.type||"password"===a.type)||"textarea"===b||"true"===a.contentEditable)}
    var Pe=fa&&"documentMode"in document&&11>=document.documentMode,Qe=null,Re=null,Se=null,Te=!1;
    function Ue(a,b,c){var d=c.window===c?c.document:9===c.nodeType?c:c.ownerDocument;Te||null==Qe||Qe!==Xa(d)||(d=Qe,"selectionStart"in d&&Oe(d)?d={start:d.selectionStart,end:d.selectionEnd}:(d=(d.ownerDocument&&d.ownerDocument.defaultView||window).getSelection(),d={anchorNode:d.anchorNode,anchorOffset:d.anchorOffset,focusNode:d.focusNode,focusOffset:d.focusOffset}),Se&&Je(Se,d)||(Se=d,d=oe(Re,"onSelect"),0<d.length&&(b=new td("onSelect","select",null,b,c),a.push({event:b,listeners:d}),b.target=Qe)))}
    Pc("cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focusin focus focusout blur input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange".split(" "),
    0);Pc("drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(" "),1);Pc(Oc,2);for(var Ve="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),We=0;We<Ve.length;We++)Nc.set(Ve[We],0);ea("onMouseEnter",["mouseout","mouseover"]);
    ea("onMouseLeave",["mouseout","mouseover"]);ea("onPointerEnter",["pointerout","pointerover"]);ea("onPointerLeave",["pointerout","pointerover"]);da("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));da("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));da("onBeforeInput",["compositionend","keypress","textInput","paste"]);da("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));
    da("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));da("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Xe="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Ye=new Set("cancel close invalid load scroll toggle".split(" ").concat(Xe));
    function Ze(a,b,c){var d=a.type||"unknown-event";a.currentTarget=c;Yb(d,b,void 0,a);a.currentTarget=null}
    function se(a,b){b=0!==(b&4);for(var c=0;c<a.length;c++){var d=a[c],e=d.event;d=d.listeners;a:{var f=void 0;if(b)for(var g=d.length-1;0<=g;g--){var h=d[g],k=h.instance,l=h.currentTarget;h=h.listener;if(k!==f&&e.isPropagationStopped())break a;Ze(e,h,l);f=k}else for(g=0;g<d.length;g++){h=d[g];k=h.instance;l=h.currentTarget;h=h.listener;if(k!==f&&e.isPropagationStopped())break a;Ze(e,h,l);f=k}}}if(Ub)throw a=Vb,Ub=!1,Vb=null,a;}
    function G(a,b){var c=$e(b),d=a+"__bubble";c.has(d)||(af(b,a,2,!1),c.add(d))}var bf="_reactListening"+Math.random().toString(36).slice(2);function cf(a){a[bf]||(a[bf]=!0,ba.forEach(function(b){Ye.has(b)||df(b,!1,a,null);df(b,!0,a,null)}))}
    function df(a,b,c,d){var e=4<arguments.length&&void 0!==arguments[4]?arguments[4]:0,f=c;"selectionchange"===a&&9!==c.nodeType&&(f=c.ownerDocument);if(null!==d&&!b&&Ye.has(a)){if("scroll"!==a)return;e|=2;f=d}var g=$e(f),h=a+"__"+(b?"capture":"bubble");g.has(h)||(b&&(e|=4),af(f,a,e,b),g.add(h))}
    function af(a,b,c,d){var e=Nc.get(b);switch(void 0===e?2:e){case 0:e=gd;break;case 1:e=id;break;default:e=hd}c=e.bind(null,b,c,a);e=void 0;!Pb||"touchstart"!==b&&"touchmove"!==b&&"wheel"!==b||(e=!0);d?void 0!==e?a.addEventListener(b,c,{capture:!0,passive:e}):a.addEventListener(b,c,!0):void 0!==e?a.addEventListener(b,c,{passive:e}):a.addEventListener(b,c,!1)}
    function jd(a,b,c,d,e){var f=d;if(0===(b&1)&&0===(b&2)&&null!==d)a:for(;;){if(null===d)return;var g=d.tag;if(3===g||4===g){var h=d.stateNode.containerInfo;if(h===e||8===h.nodeType&&h.parentNode===e)break;if(4===g)for(g=d.return;null!==g;){var k=g.tag;if(3===k||4===k)if(k=g.stateNode.containerInfo,k===e||8===k.nodeType&&k.parentNode===e)return;g=g.return}for(;null!==h;){g=wc(h);if(null===g)return;k=g.tag;if(5===k||6===k){d=f=g;continue a}h=h.parentNode}}d=d.return}Nb(function(){var d=f,e=xb(c),g=[];
    a:{var h=Mc.get(a);if(void 0!==h){var k=td,x=a;switch(a){case "keypress":if(0===od(c))break a;case "keydown":case "keyup":k=Rd;break;case "focusin":x="focus";k=Fd;break;case "focusout":x="blur";k=Fd;break;case "beforeblur":case "afterblur":k=Fd;break;case "click":if(2===c.button)break a;case "auxclick":case "dblclick":case "mousedown":case "mousemove":case "mouseup":case "mouseout":case "mouseover":case "contextmenu":k=Bd;break;case "drag":case "dragend":case "dragenter":case "dragexit":case "dragleave":case "dragover":case "dragstart":case "drop":k=
    Dd;break;case "touchcancel":case "touchend":case "touchmove":case "touchstart":k=Vd;break;case Ic:case Jc:case Kc:k=Hd;break;case Lc:k=Xd;break;case "scroll":k=vd;break;case "wheel":k=Zd;break;case "copy":case "cut":case "paste":k=Jd;break;case "gotpointercapture":case "lostpointercapture":case "pointercancel":case "pointerdown":case "pointermove":case "pointerout":case "pointerover":case "pointerup":k=Td}var w=0!==(b&4),z=!w&&"scroll"===a,u=w?null!==h?h+"Capture":null:h;w=[];for(var t=d,q;null!==
    t;){q=t;var v=q.stateNode;5===q.tag&&null!==v&&(q=v,null!==u&&(v=Ob(t,u),null!=v&&w.push(ef(t,v,q))));if(z)break;t=t.return}0<w.length&&(h=new k(h,x,null,c,e),g.push({event:h,listeners:w}))}}if(0===(b&7)){a:{h="mouseover"===a||"pointerover"===a;k="mouseout"===a||"pointerout"===a;if(h&&0===(b&16)&&(x=c.relatedTarget||c.fromElement)&&(wc(x)||x[ff]))break a;if(k||h){h=e.window===e?e:(h=e.ownerDocument)?h.defaultView||h.parentWindow:window;if(k){if(x=c.relatedTarget||c.toElement,k=d,x=x?wc(x):null,null!==
    x&&(z=Zb(x),x!==z||5!==x.tag&&6!==x.tag))x=null}else k=null,x=d;if(k!==x){w=Bd;v="onMouseLeave";u="onMouseEnter";t="mouse";if("pointerout"===a||"pointerover"===a)w=Td,v="onPointerLeave",u="onPointerEnter",t="pointer";z=null==k?h:ue(k);q=null==x?h:ue(x);h=new w(v,t+"leave",k,c,e);h.target=z;h.relatedTarget=q;v=null;wc(e)===d&&(w=new w(u,t+"enter",x,c,e),w.target=q,w.relatedTarget=z,v=w);z=v;if(k&&x)b:{w=k;u=x;t=0;for(q=w;q;q=gf(q))t++;q=0;for(v=u;v;v=gf(v))q++;for(;0<t-q;)w=gf(w),t--;for(;0<q-t;)u=
    gf(u),q--;for(;t--;){if(w===u||null!==u&&w===u.alternate)break b;w=gf(w);u=gf(u)}w=null}else w=null;null!==k&&hf(g,h,k,w,!1);null!==x&&null!==z&&hf(g,z,x,w,!0)}}}a:{h=d?ue(d):window;k=h.nodeName&&h.nodeName.toLowerCase();if("select"===k||"input"===k&&"file"===h.type)var J=ve;else if(me(h))if(we)J=Fe;else{J=De;var K=Ce}else(k=h.nodeName)&&"input"===k.toLowerCase()&&("checkbox"===h.type||"radio"===h.type)&&(J=Ee);if(J&&(J=J(a,d))){ne(g,J,c,e);break a}K&&K(a,h,d);"focusout"===a&&(K=h._wrapperState)&&
    K.controlled&&"number"===h.type&&bb(h,"number",h.value)}K=d?ue(d):window;switch(a){case "focusin":if(me(K)||"true"===K.contentEditable)Qe=K,Re=d,Se=null;break;case "focusout":Se=Re=Qe=null;break;case "mousedown":Te=!0;break;case "contextmenu":case "mouseup":case "dragend":Te=!1;Ue(g,c,e);break;case "selectionchange":if(Pe)break;case "keydown":case "keyup":Ue(g,c,e)}var Q;if(ae)b:{switch(a){case "compositionstart":var L="onCompositionStart";break b;case "compositionend":L="onCompositionEnd";break b;
    case "compositionupdate":L="onCompositionUpdate";break b}L=void 0}else ie?ge(a,c)&&(L="onCompositionEnd"):"keydown"===a&&229===c.keyCode&&(L="onCompositionStart");L&&(de&&"ko"!==c.locale&&(ie||"onCompositionStart"!==L?"onCompositionEnd"===L&&ie&&(Q=nd()):(kd=e,ld="value"in kd?kd.value:kd.textContent,ie=!0)),K=oe(d,L),0<K.length&&(L=new Ld(L,a,null,c,e),g.push({event:L,listeners:K}),Q?L.data=Q:(Q=he(c),null!==Q&&(L.data=Q))));if(Q=ce?je(a,c):ke(a,c))d=oe(d,"onBeforeInput"),0<d.length&&(e=new Ld("onBeforeInput",
    "beforeinput",null,c,e),g.push({event:e,listeners:d}),e.data=Q)}se(g,b)})}function ef(a,b,c){return{instance:a,listener:b,currentTarget:c}}function oe(a,b){for(var c=b+"Capture",d=[];null!==a;){var e=a,f=e.stateNode;5===e.tag&&null!==f&&(e=f,f=Ob(a,c),null!=f&&d.unshift(ef(a,f,e)),f=Ob(a,b),null!=f&&d.push(ef(a,f,e)));a=a.return}return d}function gf(a){if(null===a)return null;do a=a.return;while(a&&5!==a.tag);return a?a:null}
    function hf(a,b,c,d,e){for(var f=b._reactName,g=[];null!==c&&c!==d;){var h=c,k=h.alternate,l=h.stateNode;if(null!==k&&k===d)break;5===h.tag&&null!==l&&(h=l,e?(k=Ob(c,f),null!=k&&g.unshift(ef(c,k,h))):e||(k=Ob(c,f),null!=k&&g.push(ef(c,k,h))));c=c.return}0!==g.length&&a.push({event:b,listeners:g})}function jf(){}var kf=null,lf=null;function mf(a,b){switch(a){case "button":case "input":case "select":case "textarea":return!!b.autoFocus}return!1}
    function nf(a,b){return"textarea"===a||"option"===a||"noscript"===a||"string"===typeof b.children||"number"===typeof b.children||"object"===typeof b.dangerouslySetInnerHTML&&null!==b.dangerouslySetInnerHTML&&null!=b.dangerouslySetInnerHTML.__html}var of="function"===typeof setTimeout?setTimeout:void 0,pf="function"===typeof clearTimeout?clearTimeout:void 0;function qf(a){1===a.nodeType?a.textContent="":9===a.nodeType&&(a=a.body,null!=a&&(a.textContent=""))}
    function rf(a){for(;null!=a;a=a.nextSibling){var b=a.nodeType;if(1===b||3===b)break}return a}function sf(a){a=a.previousSibling;for(var b=0;a;){if(8===a.nodeType){var c=a.data;if("$"===c||"$!"===c||"$?"===c){if(0===b)return a;b--}else"/$"===c&&b++}a=a.previousSibling}return null}var tf=0;function uf(a){return{$$typeof:Ga,toString:a,valueOf:a}}var vf=Math.random().toString(36).slice(2),wf="__reactFiber$"+vf,xf="__reactProps$"+vf,ff="__reactContainer$"+vf,yf="__reactEvents$"+vf;
    function wc(a){var b=a[wf];if(b)return b;for(var c=a.parentNode;c;){if(b=c[ff]||c[wf]){c=b.alternate;if(null!==b.child||null!==c&&null!==c.child)for(a=sf(a);null!==a;){if(c=a[wf])return c;a=sf(a)}return b}a=c;c=a.parentNode}return null}function Cb(a){a=a[wf]||a[ff];return!a||5!==a.tag&&6!==a.tag&&13!==a.tag&&3!==a.tag?null:a}function ue(a){if(5===a.tag||6===a.tag)return a.stateNode;throw Error(y(33));}function Db(a){return a[xf]||null}
    function $e(a){var b=a[yf];void 0===b&&(b=a[yf]=new Set);return b}var zf=[],Af=-1;function Bf(a){return{current:a}}function H(a){0>Af||(a.current=zf[Af],zf[Af]=null,Af--)}function I(a,b){Af++;zf[Af]=a.current;a.current=b}var Cf={},M=Bf(Cf),N=Bf(!1),Df=Cf;
    function Ef(a,b){var c=a.type.contextTypes;if(!c)return Cf;var d=a.stateNode;if(d&&d.__reactInternalMemoizedUnmaskedChildContext===b)return d.__reactInternalMemoizedMaskedChildContext;var e={},f;for(f in c)e[f]=b[f];d&&(a=a.stateNode,a.__reactInternalMemoizedUnmaskedChildContext=b,a.__reactInternalMemoizedMaskedChildContext=e);return e}function Ff(a){a=a.childContextTypes;return null!==a&&void 0!==a}function Gf(){H(N);H(M)}function Hf(a,b,c){if(M.current!==Cf)throw Error(y(168));I(M,b);I(N,c)}
    function If(a,b,c){var d=a.stateNode;a=b.childContextTypes;if("function"!==typeof d.getChildContext)return c;d=d.getChildContext();for(var e in d)if(!(e in a))throw Error(y(108,Ra(b)||"Unknown",e));return m({},c,d)}function Jf(a){a=(a=a.stateNode)&&a.__reactInternalMemoizedMergedChildContext||Cf;Df=M.current;I(M,a);I(N,N.current);return!0}function Kf(a,b,c){var d=a.stateNode;if(!d)throw Error(y(169));c?(a=If(a,b,Df),d.__reactInternalMemoizedMergedChildContext=a,H(N),H(M),I(M,a)):H(N);I(N,c)}
    var Lf=null,Mf=null,Nf=r.unstable_runWithPriority,Of=r.unstable_scheduleCallback,Pf=r.unstable_cancelCallback,Qf=r.unstable_shouldYield,Rf=r.unstable_requestPaint,Sf=r.unstable_now,Tf=r.unstable_getCurrentPriorityLevel,Uf=r.unstable_ImmediatePriority,Vf=r.unstable_UserBlockingPriority,Wf=r.unstable_NormalPriority,Xf=r.unstable_LowPriority,Yf=r.unstable_IdlePriority,Zf={},$f=void 0!==Rf?Rf:function(){},ag=null,bg=null,cg=!1,dg=Sf(),O=1E4>dg?Sf:function(){return Sf()-dg};
    function eg(){switch(Tf()){case Uf:return 99;case Vf:return 98;case Wf:return 97;case Xf:return 96;case Yf:return 95;default:throw Error(y(332));}}function fg(a){switch(a){case 99:return Uf;case 98:return Vf;case 97:return Wf;case 96:return Xf;case 95:return Yf;default:throw Error(y(332));}}function gg(a,b){a=fg(a);return Nf(a,b)}function hg(a,b,c){a=fg(a);return Of(a,b,c)}function ig(){if(null!==bg){var a=bg;bg=null;Pf(a)}jg()}
    function jg(){if(!cg&&null!==ag){cg=!0;var a=0;try{var b=ag;gg(99,function(){for(;a<b.length;a++){var c=b[a];do c=c(!0);while(null!==c)}});ag=null}catch(c){throw null!==ag&&(ag=ag.slice(a+1)),Of(Uf,ig),c;}finally{cg=!1}}}var kg=ra.ReactCurrentBatchConfig;function lg(a,b){if(a&&a.defaultProps){b=m({},b);a=a.defaultProps;for(var c in a)void 0===b[c]&&(b[c]=a[c]);return b}return b}var mg=Bf(null),ng=null,og=null,pg=null;function qg(){pg=og=ng=null}
    function rg(a){var b=mg.current;H(mg);a.type._context._currentValue=b}function sg(a,b){for(;null!==a;){var c=a.alternate;if((a.childLanes&b)===b)if(null===c||(c.childLanes&b)===b)break;else c.childLanes|=b;else a.childLanes|=b,null!==c&&(c.childLanes|=b);a=a.return}}function tg(a,b){ng=a;pg=og=null;a=a.dependencies;null!==a&&null!==a.firstContext&&(0!==(a.lanes&b)&&(ug=!0),a.firstContext=null)}
    function vg(a,b){if(pg!==a&&!1!==b&&0!==b){if("number"!==typeof b||1073741823===b)pg=a,b=1073741823;b={context:a,observedBits:b,next:null};if(null===og){if(null===ng)throw Error(y(308));og=b;ng.dependencies={lanes:0,firstContext:b,responders:null}}else og=og.next=b}return a._currentValue}var wg=!1;function xg(a){a.updateQueue={baseState:a.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null},effects:null}}
    function yg(a,b){a=a.updateQueue;b.updateQueue===a&&(b.updateQueue={baseState:a.baseState,firstBaseUpdate:a.firstBaseUpdate,lastBaseUpdate:a.lastBaseUpdate,shared:a.shared,effects:a.effects})}function zg(a,b){return{eventTime:a,lane:b,tag:0,payload:null,callback:null,next:null}}function Ag(a,b){a=a.updateQueue;if(null!==a){a=a.shared;var c=a.pending;null===c?b.next=b:(b.next=c.next,c.next=b);a.pending=b}}
    function Bg(a,b){var c=a.updateQueue,d=a.alternate;if(null!==d&&(d=d.updateQueue,c===d)){var e=null,f=null;c=c.firstBaseUpdate;if(null!==c){do{var g={eventTime:c.eventTime,lane:c.lane,tag:c.tag,payload:c.payload,callback:c.callback,next:null};null===f?e=f=g:f=f.next=g;c=c.next}while(null!==c);null===f?e=f=b:f=f.next=b}else e=f=b;c={baseState:d.baseState,firstBaseUpdate:e,lastBaseUpdate:f,shared:d.shared,effects:d.effects};a.updateQueue=c;return}a=c.lastBaseUpdate;null===a?c.firstBaseUpdate=b:a.next=
    b;c.lastBaseUpdate=b}
    function Cg(a,b,c,d){var e=a.updateQueue;wg=!1;var f=e.firstBaseUpdate,g=e.lastBaseUpdate,h=e.shared.pending;if(null!==h){e.shared.pending=null;var k=h,l=k.next;k.next=null;null===g?f=l:g.next=l;g=k;var n=a.alternate;if(null!==n){n=n.updateQueue;var A=n.lastBaseUpdate;A!==g&&(null===A?n.firstBaseUpdate=l:A.next=l,n.lastBaseUpdate=k)}}if(null!==f){A=e.baseState;g=0;n=l=k=null;do{h=f.lane;var p=f.eventTime;if((d&h)===h){null!==n&&(n=n.next={eventTime:p,lane:0,tag:f.tag,payload:f.payload,callback:f.callback,
    next:null});a:{var C=a,x=f;h=b;p=c;switch(x.tag){case 1:C=x.payload;if("function"===typeof C){A=C.call(p,A,h);break a}A=C;break a;case 3:C.flags=C.flags&-4097|64;case 0:C=x.payload;h="function"===typeof C?C.call(p,A,h):C;if(null===h||void 0===h)break a;A=m({},A,h);break a;case 2:wg=!0}}null!==f.callback&&(a.flags|=32,h=e.effects,null===h?e.effects=[f]:h.push(f))}else p={eventTime:p,lane:h,tag:f.tag,payload:f.payload,callback:f.callback,next:null},null===n?(l=n=p,k=A):n=n.next=p,g|=h;f=f.next;if(null===
    f)if(h=e.shared.pending,null===h)break;else f=h.next,h.next=null,e.lastBaseUpdate=h,e.shared.pending=null}while(1);null===n&&(k=A);e.baseState=k;e.firstBaseUpdate=l;e.lastBaseUpdate=n;Dg|=g;a.lanes=g;a.memoizedState=A}}function Eg(a,b,c){a=b.effects;b.effects=null;if(null!==a)for(b=0;b<a.length;b++){var d=a[b],e=d.callback;if(null!==e){d.callback=null;d=c;if("function"!==typeof e)throw Error(y(191,e));e.call(d)}}}var Fg=(new aa.Component).refs;
    function Gg(a,b,c,d){b=a.memoizedState;c=c(d,b);c=null===c||void 0===c?b:m({},b,c);a.memoizedState=c;0===a.lanes&&(a.updateQueue.baseState=c)}
    var Kg={isMounted:function(a){return(a=a._reactInternals)?Zb(a)===a:!1},enqueueSetState:function(a,b,c){a=a._reactInternals;var d=Hg(),e=Ig(a),f=zg(d,e);f.payload=b;void 0!==c&&null!==c&&(f.callback=c);Ag(a,f);Jg(a,e,d)},enqueueReplaceState:function(a,b,c){a=a._reactInternals;var d=Hg(),e=Ig(a),f=zg(d,e);f.tag=1;f.payload=b;void 0!==c&&null!==c&&(f.callback=c);Ag(a,f);Jg(a,e,d)},enqueueForceUpdate:function(a,b){a=a._reactInternals;var c=Hg(),d=Ig(a),e=zg(c,d);e.tag=2;void 0!==b&&null!==b&&(e.callback=
    b);Ag(a,e);Jg(a,d,c)}};function Lg(a,b,c,d,e,f,g){a=a.stateNode;return"function"===typeof a.shouldComponentUpdate?a.shouldComponentUpdate(d,f,g):b.prototype&&b.prototype.isPureReactComponent?!Je(c,d)||!Je(e,f):!0}
    function Mg(a,b,c){var d=!1,e=Cf;var f=b.contextType;"object"===typeof f&&null!==f?f=vg(f):(e=Ff(b)?Df:M.current,d=b.contextTypes,f=(d=null!==d&&void 0!==d)?Ef(a,e):Cf);b=new b(c,f);a.memoizedState=null!==b.state&&void 0!==b.state?b.state:null;b.updater=Kg;a.stateNode=b;b._reactInternals=a;d&&(a=a.stateNode,a.__reactInternalMemoizedUnmaskedChildContext=e,a.__reactInternalMemoizedMaskedChildContext=f);return b}
    function Ng(a,b,c,d){a=b.state;"function"===typeof b.componentWillReceiveProps&&b.componentWillReceiveProps(c,d);"function"===typeof b.UNSAFE_componentWillReceiveProps&&b.UNSAFE_componentWillReceiveProps(c,d);b.state!==a&&Kg.enqueueReplaceState(b,b.state,null)}
    function Og(a,b,c,d){var e=a.stateNode;e.props=c;e.state=a.memoizedState;e.refs=Fg;xg(a);var f=b.contextType;"object"===typeof f&&null!==f?e.context=vg(f):(f=Ff(b)?Df:M.current,e.context=Ef(a,f));Cg(a,c,e,d);e.state=a.memoizedState;f=b.getDerivedStateFromProps;"function"===typeof f&&(Gg(a,b,f,c),e.state=a.memoizedState);"function"===typeof b.getDerivedStateFromProps||"function"===typeof e.getSnapshotBeforeUpdate||"function"!==typeof e.UNSAFE_componentWillMount&&"function"!==typeof e.componentWillMount||
    (b=e.state,"function"===typeof e.componentWillMount&&e.componentWillMount(),"function"===typeof e.UNSAFE_componentWillMount&&e.UNSAFE_componentWillMount(),b!==e.state&&Kg.enqueueReplaceState(e,e.state,null),Cg(a,c,e,d),e.state=a.memoizedState);"function"===typeof e.componentDidMount&&(a.flags|=4)}var Pg=Array.isArray;
    function Qg(a,b,c){a=c.ref;if(null!==a&&"function"!==typeof a&&"object"!==typeof a){if(c._owner){c=c._owner;if(c){if(1!==c.tag)throw Error(y(309));var d=c.stateNode}if(!d)throw Error(y(147,a));var e=""+a;if(null!==b&&null!==b.ref&&"function"===typeof b.ref&&b.ref._stringRef===e)return b.ref;b=function(a){var b=d.refs;b===Fg&&(b=d.refs={});null===a?delete b[e]:b[e]=a};b._stringRef=e;return b}if("string"!==typeof a)throw Error(y(284));if(!c._owner)throw Error(y(290,a));}return a}
    function Rg(a,b){if("textarea"!==a.type)throw Error(y(31,"[object Object]"===Object.prototype.toString.call(b)?"object with keys {"+Object.keys(b).join(", ")+"}":b));}
    function Sg(a){function b(b,c){if(a){var d=b.lastEffect;null!==d?(d.nextEffect=c,b.lastEffect=c):b.firstEffect=b.lastEffect=c;c.nextEffect=null;c.flags=8}}function c(c,d){if(!a)return null;for(;null!==d;)b(c,d),d=d.sibling;return null}function d(a,b){for(a=new Map;null!==b;)null!==b.key?a.set(b.key,b):a.set(b.index,b),b=b.sibling;return a}function e(a,b){a=Tg(a,b);a.index=0;a.sibling=null;return a}function f(b,c,d){b.index=d;if(!a)return c;d=b.alternate;if(null!==d)return d=d.index,d<c?(b.flags=2,
    c):d;b.flags=2;return c}function g(b){a&&null===b.alternate&&(b.flags=2);return b}function h(a,b,c,d){if(null===b||6!==b.tag)return b=Ug(c,a.mode,d),b.return=a,b;b=e(b,c);b.return=a;return b}function k(a,b,c,d){if(null!==b&&b.elementType===c.type)return d=e(b,c.props),d.ref=Qg(a,b,c),d.return=a,d;d=Vg(c.type,c.key,c.props,null,a.mode,d);d.ref=Qg(a,b,c);d.return=a;return d}function l(a,b,c,d){if(null===b||4!==b.tag||b.stateNode.containerInfo!==c.containerInfo||b.stateNode.implementation!==c.implementation)return b=
    Wg(c,a.mode,d),b.return=a,b;b=e(b,c.children||[]);b.return=a;return b}function n(a,b,c,d,f){if(null===b||7!==b.tag)return b=Xg(c,a.mode,d,f),b.return=a,b;b=e(b,c);b.return=a;return b}function A(a,b,c){if("string"===typeof b||"number"===typeof b)return b=Ug(""+b,a.mode,c),b.return=a,b;if("object"===typeof b&&null!==b){switch(b.$$typeof){case sa:return c=Vg(b.type,b.key,b.props,null,a.mode,c),c.ref=Qg(a,null,b),c.return=a,c;case ta:return b=Wg(b,a.mode,c),b.return=a,b}if(Pg(b)||La(b))return b=Xg(b,
    a.mode,c,null),b.return=a,b;Rg(a,b)}return null}function p(a,b,c,d){var e=null!==b?b.key:null;if("string"===typeof c||"number"===typeof c)return null!==e?null:h(a,b,""+c,d);if("object"===typeof c&&null!==c){switch(c.$$typeof){case sa:return c.key===e?c.type===ua?n(a,b,c.props.children,d,e):k(a,b,c,d):null;case ta:return c.key===e?l(a,b,c,d):null}if(Pg(c)||La(c))return null!==e?null:n(a,b,c,d,null);Rg(a,c)}return null}function C(a,b,c,d,e){if("string"===typeof d||"number"===typeof d)return a=a.get(c)||
    null,h(b,a,""+d,e);if("object"===typeof d&&null!==d){switch(d.$$typeof){case sa:return a=a.get(null===d.key?c:d.key)||null,d.type===ua?n(b,a,d.props.children,e,d.key):k(b,a,d,e);case ta:return a=a.get(null===d.key?c:d.key)||null,l(b,a,d,e)}if(Pg(d)||La(d))return a=a.get(c)||null,n(b,a,d,e,null);Rg(b,d)}return null}function x(e,g,h,k){for(var l=null,t=null,u=g,z=g=0,q=null;null!==u&&z<h.length;z++){u.index>z?(q=u,u=null):q=u.sibling;var n=p(e,u,h[z],k);if(null===n){null===u&&(u=q);break}a&&u&&null===
    n.alternate&&b(e,u);g=f(n,g,z);null===t?l=n:t.sibling=n;t=n;u=q}if(z===h.length)return c(e,u),l;if(null===u){for(;z<h.length;z++)u=A(e,h[z],k),null!==u&&(g=f(u,g,z),null===t?l=u:t.sibling=u,t=u);return l}for(u=d(e,u);z<h.length;z++)q=C(u,e,z,h[z],k),null!==q&&(a&&null!==q.alternate&&u.delete(null===q.key?z:q.key),g=f(q,g,z),null===t?l=q:t.sibling=q,t=q);a&&u.forEach(function(a){return b(e,a)});return l}function w(e,g,h,k){var l=La(h);if("function"!==typeof l)throw Error(y(150));h=l.call(h);if(null==
    h)throw Error(y(151));for(var t=l=null,u=g,z=g=0,q=null,n=h.next();null!==u&&!n.done;z++,n=h.next()){u.index>z?(q=u,u=null):q=u.sibling;var w=p(e,u,n.value,k);if(null===w){null===u&&(u=q);break}a&&u&&null===w.alternate&&b(e,u);g=f(w,g,z);null===t?l=w:t.sibling=w;t=w;u=q}if(n.done)return c(e,u),l;if(null===u){for(;!n.done;z++,n=h.next())n=A(e,n.value,k),null!==n&&(g=f(n,g,z),null===t?l=n:t.sibling=n,t=n);return l}for(u=d(e,u);!n.done;z++,n=h.next())n=C(u,e,z,n.value,k),null!==n&&(a&&null!==n.alternate&&
    u.delete(null===n.key?z:n.key),g=f(n,g,z),null===t?l=n:t.sibling=n,t=n);a&&u.forEach(function(a){return b(e,a)});return l}return function(a,d,f,h){var k="object"===typeof f&&null!==f&&f.type===ua&&null===f.key;k&&(f=f.props.children);var l="object"===typeof f&&null!==f;if(l)switch(f.$$typeof){case sa:a:{l=f.key;for(k=d;null!==k;){if(k.key===l){switch(k.tag){case 7:if(f.type===ua){c(a,k.sibling);d=e(k,f.props.children);d.return=a;a=d;break a}break;default:if(k.elementType===f.type){c(a,k.sibling);
    d=e(k,f.props);d.ref=Qg(a,k,f);d.return=a;a=d;break a}}c(a,k);break}else b(a,k);k=k.sibling}f.type===ua?(d=Xg(f.props.children,a.mode,h,f.key),d.return=a,a=d):(h=Vg(f.type,f.key,f.props,null,a.mode,h),h.ref=Qg(a,d,f),h.return=a,a=h)}return g(a);case ta:a:{for(k=f.key;null!==d;){if(d.key===k)if(4===d.tag&&d.stateNode.containerInfo===f.containerInfo&&d.stateNode.implementation===f.implementation){c(a,d.sibling);d=e(d,f.children||[]);d.return=a;a=d;break a}else{c(a,d);break}else b(a,d);d=d.sibling}d=
    Wg(f,a.mode,h);d.return=a;a=d}return g(a)}if("string"===typeof f||"number"===typeof f)return f=""+f,null!==d&&6===d.tag?(c(a,d.sibling),d=e(d,f),d.return=a,a=d):(c(a,d),d=Ug(f,a.mode,h),d.return=a,a=d),g(a);if(Pg(f))return x(a,d,f,h);if(La(f))return w(a,d,f,h);l&&Rg(a,f);if("undefined"===typeof f&&!k)switch(a.tag){case 1:case 22:case 0:case 11:case 15:throw Error(y(152,Ra(a.type)||"Component"));}return c(a,d)}}var Yg=Sg(!0),Zg=Sg(!1),$g={},ah=Bf($g),bh=Bf($g),ch=Bf($g);
    function dh(a){if(a===$g)throw Error(y(174));return a}function eh(a,b){I(ch,b);I(bh,a);I(ah,$g);a=b.nodeType;switch(a){case 9:case 11:b=(b=b.documentElement)?b.namespaceURI:mb(null,"");break;default:a=8===a?b.parentNode:b,b=a.namespaceURI||null,a=a.tagName,b=mb(b,a)}H(ah);I(ah,b)}function fh(){H(ah);H(bh);H(ch)}function gh(a){dh(ch.current);var b=dh(ah.current);var c=mb(b,a.type);b!==c&&(I(bh,a),I(ah,c))}function hh(a){bh.current===a&&(H(ah),H(bh))}var P=Bf(0);
    function ih(a){for(var b=a;null!==b;){if(13===b.tag){var c=b.memoizedState;if(null!==c&&(c=c.dehydrated,null===c||"$?"===c.data||"$!"===c.data))return b}else if(19===b.tag&&void 0!==b.memoizedProps.revealOrder){if(0!==(b.flags&64))return b}else if(null!==b.child){b.child.return=b;b=b.child;continue}if(b===a)break;for(;null===b.sibling;){if(null===b.return||b.return===a)return null;b=b.return}b.sibling.return=b.return;b=b.sibling}return null}var jh=null,kh=null,lh=!1;
    function mh(a,b){var c=nh(5,null,null,0);c.elementType="DELETED";c.type="DELETED";c.stateNode=b;c.return=a;c.flags=8;null!==a.lastEffect?(a.lastEffect.nextEffect=c,a.lastEffect=c):a.firstEffect=a.lastEffect=c}function oh(a,b){switch(a.tag){case 5:var c=a.type;b=1!==b.nodeType||c.toLowerCase()!==b.nodeName.toLowerCase()?null:b;return null!==b?(a.stateNode=b,!0):!1;case 6:return b=""===a.pendingProps||3!==b.nodeType?null:b,null!==b?(a.stateNode=b,!0):!1;case 13:return!1;default:return!1}}
    function ph(a){if(lh){var b=kh;if(b){var c=b;if(!oh(a,b)){b=rf(c.nextSibling);if(!b||!oh(a,b)){a.flags=a.flags&-1025|2;lh=!1;jh=a;return}mh(jh,c)}jh=a;kh=rf(b.firstChild)}else a.flags=a.flags&-1025|2,lh=!1,jh=a}}function qh(a){for(a=a.return;null!==a&&5!==a.tag&&3!==a.tag&&13!==a.tag;)a=a.return;jh=a}
    function rh(a){if(a!==jh)return!1;if(!lh)return qh(a),lh=!0,!1;var b=a.type;if(5!==a.tag||"head"!==b&&"body"!==b&&!nf(b,a.memoizedProps))for(b=kh;b;)mh(a,b),b=rf(b.nextSibling);qh(a);if(13===a.tag){a=a.memoizedState;a=null!==a?a.dehydrated:null;if(!a)throw Error(y(317));a:{a=a.nextSibling;for(b=0;a;){if(8===a.nodeType){var c=a.data;if("/$"===c){if(0===b){kh=rf(a.nextSibling);break a}b--}else"$"!==c&&"$!"!==c&&"$?"!==c||b++}a=a.nextSibling}kh=null}}else kh=jh?rf(a.stateNode.nextSibling):null;return!0}
    function sh(){kh=jh=null;lh=!1}var th=[];function uh(){for(var a=0;a<th.length;a++)th[a]._workInProgressVersionPrimary=null;th.length=0}var vh=ra.ReactCurrentDispatcher,wh=ra.ReactCurrentBatchConfig,xh=0,R=null,S=null,T=null,yh=!1,zh=!1;function Ah(){throw Error(y(321));}function Bh(a,b){if(null===b)return!1;for(var c=0;c<b.length&&c<a.length;c++)if(!He(a[c],b[c]))return!1;return!0}
    function Ch(a,b,c,d,e,f){xh=f;R=b;b.memoizedState=null;b.updateQueue=null;b.lanes=0;vh.current=null===a||null===a.memoizedState?Dh:Eh;a=c(d,e);if(zh){f=0;do{zh=!1;if(!(25>f))throw Error(y(301));f+=1;T=S=null;b.updateQueue=null;vh.current=Fh;a=c(d,e)}while(zh)}vh.current=Gh;b=null!==S&&null!==S.next;xh=0;T=S=R=null;yh=!1;if(b)throw Error(y(300));return a}function Hh(){var a={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};null===T?R.memoizedState=T=a:T=T.next=a;return T}
    function Ih(){if(null===S){var a=R.alternate;a=null!==a?a.memoizedState:null}else a=S.next;var b=null===T?R.memoizedState:T.next;if(null!==b)T=b,S=a;else{if(null===a)throw Error(y(310));S=a;a={memoizedState:S.memoizedState,baseState:S.baseState,baseQueue:S.baseQueue,queue:S.queue,next:null};null===T?R.memoizedState=T=a:T=T.next=a}return T}function Jh(a,b){return"function"===typeof b?b(a):b}
    function Kh(a){var b=Ih(),c=b.queue;if(null===c)throw Error(y(311));c.lastRenderedReducer=a;var d=S,e=d.baseQueue,f=c.pending;if(null!==f){if(null!==e){var g=e.next;e.next=f.next;f.next=g}d.baseQueue=e=f;c.pending=null}if(null!==e){e=e.next;d=d.baseState;var h=g=f=null,k=e;do{var l=k.lane;if((xh&l)===l)null!==h&&(h=h.next={lane:0,action:k.action,eagerReducer:k.eagerReducer,eagerState:k.eagerState,next:null}),d=k.eagerReducer===a?k.eagerState:a(d,k.action);else{var n={lane:l,action:k.action,eagerReducer:k.eagerReducer,
    eagerState:k.eagerState,next:null};null===h?(g=h=n,f=d):h=h.next=n;R.lanes|=l;Dg|=l}k=k.next}while(null!==k&&k!==e);null===h?f=d:h.next=g;He(d,b.memoizedState)||(ug=!0);b.memoizedState=d;b.baseState=f;b.baseQueue=h;c.lastRenderedState=d}return[b.memoizedState,c.dispatch]}
    function Lh(a){var b=Ih(),c=b.queue;if(null===c)throw Error(y(311));c.lastRenderedReducer=a;var d=c.dispatch,e=c.pending,f=b.memoizedState;if(null!==e){c.pending=null;var g=e=e.next;do f=a(f,g.action),g=g.next;while(g!==e);He(f,b.memoizedState)||(ug=!0);b.memoizedState=f;null===b.baseQueue&&(b.baseState=f);c.lastRenderedState=f}return[f,d]}
    function Mh(a,b,c){var d=b._getVersion;d=d(b._source);var e=b._workInProgressVersionPrimary;if(null!==e)a=e===d;else if(a=a.mutableReadLanes,a=(xh&a)===a)b._workInProgressVersionPrimary=d,th.push(b);if(a)return c(b._source);th.push(b);throw Error(y(350));}
    function Nh(a,b,c,d){var e=U;if(null===e)throw Error(y(349));var f=b._getVersion,g=f(b._source),h=vh.current,k=h.useState(function(){return Mh(e,b,c)}),l=k[1],n=k[0];k=T;var A=a.memoizedState,p=A.refs,C=p.getSnapshot,x=A.source;A=A.subscribe;var w=R;a.memoizedState={refs:p,source:b,subscribe:d};h.useEffect(function(){p.getSnapshot=c;p.setSnapshot=l;var a=f(b._source);if(!He(g,a)){a=c(b._source);He(n,a)||(l(a),a=Ig(w),e.mutableReadLanes|=a&e.pendingLanes);a=e.mutableReadLanes;e.entangledLanes|=a;for(var d=
    e.entanglements,h=a;0<h;){var k=31-Vc(h),v=1<<k;d[k]|=a;h&=~v}}},[c,b,d]);h.useEffect(function(){return d(b._source,function(){var a=p.getSnapshot,c=p.setSnapshot;try{c(a(b._source));var d=Ig(w);e.mutableReadLanes|=d&e.pendingLanes}catch(q){c(function(){throw q;})}})},[b,d]);He(C,c)&&He(x,b)&&He(A,d)||(a={pending:null,dispatch:null,lastRenderedReducer:Jh,lastRenderedState:n},a.dispatch=l=Oh.bind(null,R,a),k.queue=a,k.baseQueue=null,n=Mh(e,b,c),k.memoizedState=k.baseState=n);return n}
    function Ph(a,b,c){var d=Ih();return Nh(d,a,b,c)}function Qh(a){var b=Hh();"function"===typeof a&&(a=a());b.memoizedState=b.baseState=a;a=b.queue={pending:null,dispatch:null,lastRenderedReducer:Jh,lastRenderedState:a};a=a.dispatch=Oh.bind(null,R,a);return[b.memoizedState,a]}
    function Rh(a,b,c,d){a={tag:a,create:b,destroy:c,deps:d,next:null};b=R.updateQueue;null===b?(b={lastEffect:null},R.updateQueue=b,b.lastEffect=a.next=a):(c=b.lastEffect,null===c?b.lastEffect=a.next=a:(d=c.next,c.next=a,a.next=d,b.lastEffect=a));return a}function Sh(a){var b=Hh();a={current:a};return b.memoizedState=a}function Th(){return Ih().memoizedState}function Uh(a,b,c,d){var e=Hh();R.flags|=a;e.memoizedState=Rh(1|b,c,void 0,void 0===d?null:d)}
    function Vh(a,b,c,d){var e=Ih();d=void 0===d?null:d;var f=void 0;if(null!==S){var g=S.memoizedState;f=g.destroy;if(null!==d&&Bh(d,g.deps)){Rh(b,c,f,d);return}}R.flags|=a;e.memoizedState=Rh(1|b,c,f,d)}function Wh(a,b){return Uh(516,4,a,b)}function Xh(a,b){return Vh(516,4,a,b)}function Yh(a,b){return Vh(4,2,a,b)}function Zh(a,b){if("function"===typeof b)return a=a(),b(a),function(){b(null)};if(null!==b&&void 0!==b)return a=a(),b.current=a,function(){b.current=null}}
    function $h(a,b,c){c=null!==c&&void 0!==c?c.concat([a]):null;return Vh(4,2,Zh.bind(null,b,a),c)}function ai(){}function bi(a,b){var c=Ih();b=void 0===b?null:b;var d=c.memoizedState;if(null!==d&&null!==b&&Bh(b,d[1]))return d[0];c.memoizedState=[a,b];return a}function ci(a,b){var c=Ih();b=void 0===b?null:b;var d=c.memoizedState;if(null!==d&&null!==b&&Bh(b,d[1]))return d[0];a=a();c.memoizedState=[a,b];return a}
    function di(a,b){var c=eg();gg(98>c?98:c,function(){a(!0)});gg(97<c?97:c,function(){var c=wh.transition;wh.transition=1;try{a(!1),b()}finally{wh.transition=c}})}
    function Oh(a,b,c){var d=Hg(),e=Ig(a),f={lane:e,action:c,eagerReducer:null,eagerState:null,next:null},g=b.pending;null===g?f.next=f:(f.next=g.next,g.next=f);b.pending=f;g=a.alternate;if(a===R||null!==g&&g===R)zh=yh=!0;else{if(0===a.lanes&&(null===g||0===g.lanes)&&(g=b.lastRenderedReducer,null!==g))try{var h=b.lastRenderedState,k=g(h,c);f.eagerReducer=g;f.eagerState=k;if(He(k,h))return}catch(l){}finally{}Jg(a,e,d)}}
    var Gh={readContext:vg,useCallback:Ah,useContext:Ah,useEffect:Ah,useImperativeHandle:Ah,useLayoutEffect:Ah,useMemo:Ah,useReducer:Ah,useRef:Ah,useState:Ah,useDebugValue:Ah,useDeferredValue:Ah,useTransition:Ah,useMutableSource:Ah,useOpaqueIdentifier:Ah,unstable_isNewReconciler:!1},Dh={readContext:vg,useCallback:function(a,b){Hh().memoizedState=[a,void 0===b?null:b];return a},useContext:vg,useEffect:Wh,useImperativeHandle:function(a,b,c){c=null!==c&&void 0!==c?c.concat([a]):null;return Uh(4,2,Zh.bind(null,
    b,a),c)},useLayoutEffect:function(a,b){return Uh(4,2,a,b)},useMemo:function(a,b){var c=Hh();b=void 0===b?null:b;a=a();c.memoizedState=[a,b];return a},useReducer:function(a,b,c){var d=Hh();b=void 0!==c?c(b):b;d.memoizedState=d.baseState=b;a=d.queue={pending:null,dispatch:null,lastRenderedReducer:a,lastRenderedState:b};a=a.dispatch=Oh.bind(null,R,a);return[d.memoizedState,a]},useRef:Sh,useState:Qh,useDebugValue:ai,useDeferredValue:function(a){var b=Qh(a),c=b[0],d=b[1];Wh(function(){var b=wh.transition;
    wh.transition=1;try{d(a)}finally{wh.transition=b}},[a]);return c},useTransition:function(){var a=Qh(!1),b=a[0];a=di.bind(null,a[1]);Sh(a);return[a,b]},useMutableSource:function(a,b,c){var d=Hh();d.memoizedState={refs:{getSnapshot:b,setSnapshot:null},source:a,subscribe:c};return Nh(d,a,b,c)},useOpaqueIdentifier:function(){if(lh){var a=!1,b=uf(function(){a||(a=!0,c("r:"+(tf++).toString(36)));throw Error(y(355));}),c=Qh(b)[1];0===(R.mode&2)&&(R.flags|=516,Rh(5,function(){c("r:"+(tf++).toString(36))},
    void 0,null));return b}b="r:"+(tf++).toString(36);Qh(b);return b},unstable_isNewReconciler:!1},Eh={readContext:vg,useCallback:bi,useContext:vg,useEffect:Xh,useImperativeHandle:$h,useLayoutEffect:Yh,useMemo:ci,useReducer:Kh,useRef:Th,useState:function(){return Kh(Jh)},useDebugValue:ai,useDeferredValue:function(a){var b=Kh(Jh),c=b[0],d=b[1];Xh(function(){var b=wh.transition;wh.transition=1;try{d(a)}finally{wh.transition=b}},[a]);return c},useTransition:function(){var a=Kh(Jh)[0];return[Th().current,
    a]},useMutableSource:Ph,useOpaqueIdentifier:function(){return Kh(Jh)[0]},unstable_isNewReconciler:!1},Fh={readContext:vg,useCallback:bi,useContext:vg,useEffect:Xh,useImperativeHandle:$h,useLayoutEffect:Yh,useMemo:ci,useReducer:Lh,useRef:Th,useState:function(){return Lh(Jh)},useDebugValue:ai,useDeferredValue:function(a){var b=Lh(Jh),c=b[0],d=b[1];Xh(function(){var b=wh.transition;wh.transition=1;try{d(a)}finally{wh.transition=b}},[a]);return c},useTransition:function(){var a=Lh(Jh)[0];return[Th().current,
    a]},useMutableSource:Ph,useOpaqueIdentifier:function(){return Lh(Jh)[0]},unstable_isNewReconciler:!1},ei=ra.ReactCurrentOwner,ug=!1;function fi(a,b,c,d){b.child=null===a?Zg(b,null,c,d):Yg(b,a.child,c,d)}function gi(a,b,c,d,e){c=c.render;var f=b.ref;tg(b,e);d=Ch(a,b,c,d,f,e);if(null!==a&&!ug)return b.updateQueue=a.updateQueue,b.flags&=-517,a.lanes&=~e,hi(a,b,e);b.flags|=1;fi(a,b,d,e);return b.child}
    function ii(a,b,c,d,e,f){if(null===a){var g=c.type;if("function"===typeof g&&!ji(g)&&void 0===g.defaultProps&&null===c.compare&&void 0===c.defaultProps)return b.tag=15,b.type=g,ki(a,b,g,d,e,f);a=Vg(c.type,null,d,b,b.mode,f);a.ref=b.ref;a.return=b;return b.child=a}g=a.child;if(0===(e&f)&&(e=g.memoizedProps,c=c.compare,c=null!==c?c:Je,c(e,d)&&a.ref===b.ref))return hi(a,b,f);b.flags|=1;a=Tg(g,d);a.ref=b.ref;a.return=b;return b.child=a}
    function ki(a,b,c,d,e,f){if(null!==a&&Je(a.memoizedProps,d)&&a.ref===b.ref)if(ug=!1,0!==(f&e))0!==(a.flags&16384)&&(ug=!0);else return b.lanes=a.lanes,hi(a,b,f);return li(a,b,c,d,f)}
    function mi(a,b,c){var d=b.pendingProps,e=d.children,f=null!==a?a.memoizedState:null;if("hidden"===d.mode||"unstable-defer-without-hiding"===d.mode)if(0===(b.mode&4))b.memoizedState={baseLanes:0},ni(b,c);else if(0!==(c&1073741824))b.memoizedState={baseLanes:0},ni(b,null!==f?f.baseLanes:c);else return a=null!==f?f.baseLanes|c:c,b.lanes=b.childLanes=1073741824,b.memoizedState={baseLanes:a},ni(b,a),null;else null!==f?(d=f.baseLanes|c,b.memoizedState=null):d=c,ni(b,d);fi(a,b,e,c);return b.child}
    function oi(a,b){var c=b.ref;if(null===a&&null!==c||null!==a&&a.ref!==c)b.flags|=128}function li(a,b,c,d,e){var f=Ff(c)?Df:M.current;f=Ef(b,f);tg(b,e);c=Ch(a,b,c,d,f,e);if(null!==a&&!ug)return b.updateQueue=a.updateQueue,b.flags&=-517,a.lanes&=~e,hi(a,b,e);b.flags|=1;fi(a,b,c,e);return b.child}
    function pi(a,b,c,d,e){if(Ff(c)){var f=!0;Jf(b)}else f=!1;tg(b,e);if(null===b.stateNode)null!==a&&(a.alternate=null,b.alternate=null,b.flags|=2),Mg(b,c,d),Og(b,c,d,e),d=!0;else if(null===a){var g=b.stateNode,h=b.memoizedProps;g.props=h;var k=g.context,l=c.contextType;"object"===typeof l&&null!==l?l=vg(l):(l=Ff(c)?Df:M.current,l=Ef(b,l));var n=c.getDerivedStateFromProps,A="function"===typeof n||"function"===typeof g.getSnapshotBeforeUpdate;A||"function"!==typeof g.UNSAFE_componentWillReceiveProps&&
    "function"!==typeof g.componentWillReceiveProps||(h!==d||k!==l)&&Ng(b,g,d,l);wg=!1;var p=b.memoizedState;g.state=p;Cg(b,d,g,e);k=b.memoizedState;h!==d||p!==k||N.current||wg?("function"===typeof n&&(Gg(b,c,n,d),k=b.memoizedState),(h=wg||Lg(b,c,h,d,p,k,l))?(A||"function"!==typeof g.UNSAFE_componentWillMount&&"function"!==typeof g.componentWillMount||("function"===typeof g.componentWillMount&&g.componentWillMount(),"function"===typeof g.UNSAFE_componentWillMount&&g.UNSAFE_componentWillMount()),"function"===
    typeof g.componentDidMount&&(b.flags|=4)):("function"===typeof g.componentDidMount&&(b.flags|=4),b.memoizedProps=d,b.memoizedState=k),g.props=d,g.state=k,g.context=l,d=h):("function"===typeof g.componentDidMount&&(b.flags|=4),d=!1)}else{g=b.stateNode;yg(a,b);h=b.memoizedProps;l=b.type===b.elementType?h:lg(b.type,h);g.props=l;A=b.pendingProps;p=g.context;k=c.contextType;"object"===typeof k&&null!==k?k=vg(k):(k=Ff(c)?Df:M.current,k=Ef(b,k));var C=c.getDerivedStateFromProps;(n="function"===typeof C||
    "function"===typeof g.getSnapshotBeforeUpdate)||"function"!==typeof g.UNSAFE_componentWillReceiveProps&&"function"!==typeof g.componentWillReceiveProps||(h!==A||p!==k)&&Ng(b,g,d,k);wg=!1;p=b.memoizedState;g.state=p;Cg(b,d,g,e);var x=b.memoizedState;h!==A||p!==x||N.current||wg?("function"===typeof C&&(Gg(b,c,C,d),x=b.memoizedState),(l=wg||Lg(b,c,l,d,p,x,k))?(n||"function"!==typeof g.UNSAFE_componentWillUpdate&&"function"!==typeof g.componentWillUpdate||("function"===typeof g.componentWillUpdate&&g.componentWillUpdate(d,
    x,k),"function"===typeof g.UNSAFE_componentWillUpdate&&g.UNSAFE_componentWillUpdate(d,x,k)),"function"===typeof g.componentDidUpdate&&(b.flags|=4),"function"===typeof g.getSnapshotBeforeUpdate&&(b.flags|=256)):("function"!==typeof g.componentDidUpdate||h===a.memoizedProps&&p===a.memoizedState||(b.flags|=4),"function"!==typeof g.getSnapshotBeforeUpdate||h===a.memoizedProps&&p===a.memoizedState||(b.flags|=256),b.memoizedProps=d,b.memoizedState=x),g.props=d,g.state=x,g.context=k,d=l):("function"!==typeof g.componentDidUpdate||
    h===a.memoizedProps&&p===a.memoizedState||(b.flags|=4),"function"!==typeof g.getSnapshotBeforeUpdate||h===a.memoizedProps&&p===a.memoizedState||(b.flags|=256),d=!1)}return qi(a,b,c,d,f,e)}
    function qi(a,b,c,d,e,f){oi(a,b);var g=0!==(b.flags&64);if(!d&&!g)return e&&Kf(b,c,!1),hi(a,b,f);d=b.stateNode;ei.current=b;var h=g&&"function"!==typeof c.getDerivedStateFromError?null:d.render();b.flags|=1;null!==a&&g?(b.child=Yg(b,a.child,null,f),b.child=Yg(b,null,h,f)):fi(a,b,h,f);b.memoizedState=d.state;e&&Kf(b,c,!0);return b.child}function ri(a){var b=a.stateNode;b.pendingContext?Hf(a,b.pendingContext,b.pendingContext!==b.context):b.context&&Hf(a,b.context,!1);eh(a,b.containerInfo)}
    var si={dehydrated:null,retryLane:0};
    function ti(a,b,c){var d=b.pendingProps,e=P.current,f=!1,g;(g=0!==(b.flags&64))||(g=null!==a&&null===a.memoizedState?!1:0!==(e&2));g?(f=!0,b.flags&=-65):null!==a&&null===a.memoizedState||void 0===d.fallback||!0===d.unstable_avoidThisFallback||(e|=1);I(P,e&1);if(null===a){void 0!==d.fallback&&ph(b);a=d.children;e=d.fallback;if(f)return a=ui(b,a,e,c),b.child.memoizedState={baseLanes:c},b.memoizedState=si,a;if("number"===typeof d.unstable_expectedLoadTime)return a=ui(b,a,e,c),b.child.memoizedState={baseLanes:c},
    b.memoizedState=si,b.lanes=33554432,a;c=vi({mode:"visible",children:a},b.mode,c,null);c.return=b;return b.child=c}if(null!==a.memoizedState){if(f)return d=wi(a,b,d.children,d.fallback,c),f=b.child,e=a.child.memoizedState,f.memoizedState=null===e?{baseLanes:c}:{baseLanes:e.baseLanes|c},f.childLanes=a.childLanes&~c,b.memoizedState=si,d;c=xi(a,b,d.children,c);b.memoizedState=null;return c}if(f)return d=wi(a,b,d.children,d.fallback,c),f=b.child,e=a.child.memoizedState,f.memoizedState=null===e?{baseLanes:c}:
    {baseLanes:e.baseLanes|c},f.childLanes=a.childLanes&~c,b.memoizedState=si,d;c=xi(a,b,d.children,c);b.memoizedState=null;return c}function ui(a,b,c,d){var e=a.mode,f=a.child;b={mode:"hidden",children:b};0===(e&2)&&null!==f?(f.childLanes=0,f.pendingProps=b):f=vi(b,e,0,null);c=Xg(c,e,d,null);f.return=a;c.return=a;f.sibling=c;a.child=f;return c}
    function xi(a,b,c,d){var e=a.child;a=e.sibling;c=Tg(e,{mode:"visible",children:c});0===(b.mode&2)&&(c.lanes=d);c.return=b;c.sibling=null;null!==a&&(a.nextEffect=null,a.flags=8,b.firstEffect=b.lastEffect=a);return b.child=c}
    function wi(a,b,c,d,e){var f=b.mode,g=a.child;a=g.sibling;var h={mode:"hidden",children:c};0===(f&2)&&b.child!==g?(c=b.child,c.childLanes=0,c.pendingProps=h,g=c.lastEffect,null!==g?(b.firstEffect=c.firstEffect,b.lastEffect=g,g.nextEffect=null):b.firstEffect=b.lastEffect=null):c=Tg(g,h);null!==a?d=Tg(a,d):(d=Xg(d,f,e,null),d.flags|=2);d.return=b;c.return=b;c.sibling=d;b.child=c;return d}function yi(a,b){a.lanes|=b;var c=a.alternate;null!==c&&(c.lanes|=b);sg(a.return,b)}
    function zi(a,b,c,d,e,f){var g=a.memoizedState;null===g?a.memoizedState={isBackwards:b,rendering:null,renderingStartTime:0,last:d,tail:c,tailMode:e,lastEffect:f}:(g.isBackwards=b,g.rendering=null,g.renderingStartTime=0,g.last=d,g.tail=c,g.tailMode=e,g.lastEffect=f)}
    function Ai(a,b,c){var d=b.pendingProps,e=d.revealOrder,f=d.tail;fi(a,b,d.children,c);d=P.current;if(0!==(d&2))d=d&1|2,b.flags|=64;else{if(null!==a&&0!==(a.flags&64))a:for(a=b.child;null!==a;){if(13===a.tag)null!==a.memoizedState&&yi(a,c);else if(19===a.tag)yi(a,c);else if(null!==a.child){a.child.return=a;a=a.child;continue}if(a===b)break a;for(;null===a.sibling;){if(null===a.return||a.return===b)break a;a=a.return}a.sibling.return=a.return;a=a.sibling}d&=1}I(P,d);if(0===(b.mode&2))b.memoizedState=
    null;else switch(e){case "forwards":c=b.child;for(e=null;null!==c;)a=c.alternate,null!==a&&null===ih(a)&&(e=c),c=c.sibling;c=e;null===c?(e=b.child,b.child=null):(e=c.sibling,c.sibling=null);zi(b,!1,e,c,f,b.lastEffect);break;case "backwards":c=null;e=b.child;for(b.child=null;null!==e;){a=e.alternate;if(null!==a&&null===ih(a)){b.child=e;break}a=e.sibling;e.sibling=c;c=e;e=a}zi(b,!0,c,null,f,b.lastEffect);break;case "together":zi(b,!1,null,null,void 0,b.lastEffect);break;default:b.memoizedState=null}return b.child}
    function hi(a,b,c){null!==a&&(b.dependencies=a.dependencies);Dg|=b.lanes;if(0!==(c&b.childLanes)){if(null!==a&&b.child!==a.child)throw Error(y(153));if(null!==b.child){a=b.child;c=Tg(a,a.pendingProps);b.child=c;for(c.return=b;null!==a.sibling;)a=a.sibling,c=c.sibling=Tg(a,a.pendingProps),c.return=b;c.sibling=null}return b.child}return null}var Bi,Ci,Di,Ei;
    Bi=function(a,b){for(var c=b.child;null!==c;){if(5===c.tag||6===c.tag)a.appendChild(c.stateNode);else if(4!==c.tag&&null!==c.child){c.child.return=c;c=c.child;continue}if(c===b)break;for(;null===c.sibling;){if(null===c.return||c.return===b)return;c=c.return}c.sibling.return=c.return;c=c.sibling}};Ci=function(){};
    Di=function(a,b,c,d){var e=a.memoizedProps;if(e!==d){a=b.stateNode;dh(ah.current);var f=null;switch(c){case "input":e=Ya(a,e);d=Ya(a,d);f=[];break;case "option":e=eb(a,e);d=eb(a,d);f=[];break;case "select":e=m({},e,{value:void 0});d=m({},d,{value:void 0});f=[];break;case "textarea":e=gb(a,e);d=gb(a,d);f=[];break;default:"function"!==typeof e.onClick&&"function"===typeof d.onClick&&(a.onclick=jf)}vb(c,d);var g;c=null;for(l in e)if(!d.hasOwnProperty(l)&&e.hasOwnProperty(l)&&null!=e[l])if("style"===
    l){var h=e[l];for(g in h)h.hasOwnProperty(g)&&(c||(c={}),c[g]="")}else"dangerouslySetInnerHTML"!==l&&"children"!==l&&"suppressContentEditableWarning"!==l&&"suppressHydrationWarning"!==l&&"autoFocus"!==l&&(ca.hasOwnProperty(l)?f||(f=[]):(f=f||[]).push(l,null));for(l in d){var k=d[l];h=null!=e?e[l]:void 0;if(d.hasOwnProperty(l)&&k!==h&&(null!=k||null!=h))if("style"===l)if(h){for(g in h)!h.hasOwnProperty(g)||k&&k.hasOwnProperty(g)||(c||(c={}),c[g]="");for(g in k)k.hasOwnProperty(g)&&h[g]!==k[g]&&(c||
    (c={}),c[g]=k[g])}else c||(f||(f=[]),f.push(l,c)),c=k;else"dangerouslySetInnerHTML"===l?(k=k?k.__html:void 0,h=h?h.__html:void 0,null!=k&&h!==k&&(f=f||[]).push(l,k)):"children"===l?"string"!==typeof k&&"number"!==typeof k||(f=f||[]).push(l,""+k):"suppressContentEditableWarning"!==l&&"suppressHydrationWarning"!==l&&(ca.hasOwnProperty(l)?(null!=k&&"onScroll"===l&&G("scroll",a),f||h===k||(f=[])):"object"===typeof k&&null!==k&&k.$$typeof===Ga?k.toString():(f=f||[]).push(l,k))}c&&(f=f||[]).push("style",
    c);var l=f;if(b.updateQueue=l)b.flags|=4}};Ei=function(a,b,c,d){c!==d&&(b.flags|=4)};function Fi(a,b){if(!lh)switch(a.tailMode){case "hidden":b=a.tail;for(var c=null;null!==b;)null!==b.alternate&&(c=b),b=b.sibling;null===c?a.tail=null:c.sibling=null;break;case "collapsed":c=a.tail;for(var d=null;null!==c;)null!==c.alternate&&(d=c),c=c.sibling;null===d?b||null===a.tail?a.tail=null:a.tail.sibling=null:d.sibling=null}}
    function Gi(a,b,c){var d=b.pendingProps;switch(b.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:return Ff(b.type)&&Gf(),null;case 3:fh();H(N);H(M);uh();d=b.stateNode;d.pendingContext&&(d.context=d.pendingContext,d.pendingContext=null);if(null===a||null===a.child)rh(b)?b.flags|=4:d.hydrate||(b.flags|=256);Ci(b);return null;case 5:hh(b);var e=dh(ch.current);c=b.type;if(null!==a&&null!=b.stateNode)Di(a,b,c,d,e),a.ref!==b.ref&&(b.flags|=128);else{if(!d){if(null===
    b.stateNode)throw Error(y(166));return null}a=dh(ah.current);if(rh(b)){d=b.stateNode;c=b.type;var f=b.memoizedProps;d[wf]=b;d[xf]=f;switch(c){case "dialog":G("cancel",d);G("close",d);break;case "iframe":case "object":case "embed":G("load",d);break;case "video":case "audio":for(a=0;a<Xe.length;a++)G(Xe[a],d);break;case "source":G("error",d);break;case "img":case "image":case "link":G("error",d);G("load",d);break;case "details":G("toggle",d);break;case "input":Za(d,f);G("invalid",d);break;case "select":d._wrapperState=
    {wasMultiple:!!f.multiple};G("invalid",d);break;case "textarea":hb(d,f),G("invalid",d)}vb(c,f);a=null;for(var g in f)f.hasOwnProperty(g)&&(e=f[g],"children"===g?"string"===typeof e?d.textContent!==e&&(a=["children",e]):"number"===typeof e&&d.textContent!==""+e&&(a=["children",""+e]):ca.hasOwnProperty(g)&&null!=e&&"onScroll"===g&&G("scroll",d));switch(c){case "input":Va(d);cb(d,f,!0);break;case "textarea":Va(d);jb(d);break;case "select":case "option":break;default:"function"===typeof f.onClick&&(d.onclick=
    jf)}d=a;b.updateQueue=d;null!==d&&(b.flags|=4)}else{g=9===e.nodeType?e:e.ownerDocument;a===kb.html&&(a=lb(c));a===kb.html?"script"===c?(a=g.createElement("div"),a.innerHTML="<script>\x3c/script>",a=a.removeChild(a.firstChild)):"string"===typeof d.is?a=g.createElement(c,{is:d.is}):(a=g.createElement(c),"select"===c&&(g=a,d.multiple?g.multiple=!0:d.size&&(g.size=d.size))):a=g.createElementNS(a,c);a[wf]=b;a[xf]=d;Bi(a,b,!1,!1);b.stateNode=a;g=wb(c,d);switch(c){case "dialog":G("cancel",a);G("close",a);
    e=d;break;case "iframe":case "object":case "embed":G("load",a);e=d;break;case "video":case "audio":for(e=0;e<Xe.length;e++)G(Xe[e],a);e=d;break;case "source":G("error",a);e=d;break;case "img":case "image":case "link":G("error",a);G("load",a);e=d;break;case "details":G("toggle",a);e=d;break;case "input":Za(a,d);e=Ya(a,d);G("invalid",a);break;case "option":e=eb(a,d);break;case "select":a._wrapperState={wasMultiple:!!d.multiple};e=m({},d,{value:void 0});G("invalid",a);break;case "textarea":hb(a,d);e=
    gb(a,d);G("invalid",a);break;default:e=d}vb(c,e);var h=e;for(f in h)if(h.hasOwnProperty(f)){var k=h[f];"style"===f?tb(a,k):"dangerouslySetInnerHTML"===f?(k=k?k.__html:void 0,null!=k&&ob(a,k)):"children"===f?"string"===typeof k?("textarea"!==c||""!==k)&&pb(a,k):"number"===typeof k&&pb(a,""+k):"suppressContentEditableWarning"!==f&&"suppressHydrationWarning"!==f&&"autoFocus"!==f&&(ca.hasOwnProperty(f)?null!=k&&"onScroll"===f&&G("scroll",a):null!=k&&qa(a,f,k,g))}switch(c){case "input":Va(a);cb(a,d,!1);
    break;case "textarea":Va(a);jb(a);break;case "option":null!=d.value&&a.setAttribute("value",""+Sa(d.value));break;case "select":a.multiple=!!d.multiple;f=d.value;null!=f?fb(a,!!d.multiple,f,!1):null!=d.defaultValue&&fb(a,!!d.multiple,d.defaultValue,!0);break;default:"function"===typeof e.onClick&&(a.onclick=jf)}mf(c,d)&&(b.flags|=4)}null!==b.ref&&(b.flags|=128)}return null;case 6:if(a&&null!=b.stateNode)Ei(a,b,a.memoizedProps,d);else{if("string"!==typeof d&&null===b.stateNode)throw Error(y(166));
    c=dh(ch.current);dh(ah.current);rh(b)?(d=b.stateNode,c=b.memoizedProps,d[wf]=b,d.nodeValue!==c&&(b.flags|=4)):(d=(9===c.nodeType?c:c.ownerDocument).createTextNode(d),d[wf]=b,b.stateNode=d)}return null;case 13:H(P);d=b.memoizedState;if(0!==(b.flags&64))return b.lanes=c,b;d=null!==d;c=!1;null===a?void 0!==b.memoizedProps.fallback&&rh(b):c=null!==a.memoizedState;if(d&&!c&&0!==(b.mode&2))if(null===a&&!0!==b.memoizedProps.unstable_avoidThisFallback||0!==(P.current&1))0===V&&(V=3);else{if(0===V||3===V)V=
    4;null===U||0===(Dg&134217727)&&0===(Hi&134217727)||Ii(U,W)}if(d||c)b.flags|=4;return null;case 4:return fh(),Ci(b),null===a&&cf(b.stateNode.containerInfo),null;case 10:return rg(b),null;case 17:return Ff(b.type)&&Gf(),null;case 19:H(P);d=b.memoizedState;if(null===d)return null;f=0!==(b.flags&64);g=d.rendering;if(null===g)if(f)Fi(d,!1);else{if(0!==V||null!==a&&0!==(a.flags&64))for(a=b.child;null!==a;){g=ih(a);if(null!==g){b.flags|=64;Fi(d,!1);f=g.updateQueue;null!==f&&(b.updateQueue=f,b.flags|=4);
    null===d.lastEffect&&(b.firstEffect=null);b.lastEffect=d.lastEffect;d=c;for(c=b.child;null!==c;)f=c,a=d,f.flags&=2,f.nextEffect=null,f.firstEffect=null,f.lastEffect=null,g=f.alternate,null===g?(f.childLanes=0,f.lanes=a,f.child=null,f.memoizedProps=null,f.memoizedState=null,f.updateQueue=null,f.dependencies=null,f.stateNode=null):(f.childLanes=g.childLanes,f.lanes=g.lanes,f.child=g.child,f.memoizedProps=g.memoizedProps,f.memoizedState=g.memoizedState,f.updateQueue=g.updateQueue,f.type=g.type,a=g.dependencies,
    f.dependencies=null===a?null:{lanes:a.lanes,firstContext:a.firstContext}),c=c.sibling;I(P,P.current&1|2);return b.child}a=a.sibling}null!==d.tail&&O()>Ji&&(b.flags|=64,f=!0,Fi(d,!1),b.lanes=33554432)}else{if(!f)if(a=ih(g),null!==a){if(b.flags|=64,f=!0,c=a.updateQueue,null!==c&&(b.updateQueue=c,b.flags|=4),Fi(d,!0),null===d.tail&&"hidden"===d.tailMode&&!g.alternate&&!lh)return b=b.lastEffect=d.lastEffect,null!==b&&(b.nextEffect=null),null}else 2*O()-d.renderingStartTime>Ji&&1073741824!==c&&(b.flags|=
    64,f=!0,Fi(d,!1),b.lanes=33554432);d.isBackwards?(g.sibling=b.child,b.child=g):(c=d.last,null!==c?c.sibling=g:b.child=g,d.last=g)}return null!==d.tail?(c=d.tail,d.rendering=c,d.tail=c.sibling,d.lastEffect=b.lastEffect,d.renderingStartTime=O(),c.sibling=null,b=P.current,I(P,f?b&1|2:b&1),c):null;case 23:case 24:return Ki(),null!==a&&null!==a.memoizedState!==(null!==b.memoizedState)&&"unstable-defer-without-hiding"!==d.mode&&(b.flags|=4),null}throw Error(y(156,b.tag));}
    function Li(a){switch(a.tag){case 1:Ff(a.type)&&Gf();var b=a.flags;return b&4096?(a.flags=b&-4097|64,a):null;case 3:fh();H(N);H(M);uh();b=a.flags;if(0!==(b&64))throw Error(y(285));a.flags=b&-4097|64;return a;case 5:return hh(a),null;case 13:return H(P),b=a.flags,b&4096?(a.flags=b&-4097|64,a):null;case 19:return H(P),null;case 4:return fh(),null;case 10:return rg(a),null;case 23:case 24:return Ki(),null;default:return null}}
    function Mi(a,b){try{var c="",d=b;do c+=Qa(d),d=d.return;while(d);var e=c}catch(f){e="\nError generating stack: "+f.message+"\n"+f.stack}return{value:a,source:b,stack:e}}function Ni(a,b){try{console.error(b.value)}catch(c){setTimeout(function(){throw c;})}}var Oi="function"===typeof WeakMap?WeakMap:Map;function Pi(a,b,c){c=zg(-1,c);c.tag=3;c.payload={element:null};var d=b.value;c.callback=function(){Qi||(Qi=!0,Ri=d);Ni(a,b)};return c}
    function Si(a,b,c){c=zg(-1,c);c.tag=3;var d=a.type.getDerivedStateFromError;if("function"===typeof d){var e=b.value;c.payload=function(){Ni(a,b);return d(e)}}var f=a.stateNode;null!==f&&"function"===typeof f.componentDidCatch&&(c.callback=function(){"function"!==typeof d&&(null===Ti?Ti=new Set([this]):Ti.add(this),Ni(a,b));var c=b.stack;this.componentDidCatch(b.value,{componentStack:null!==c?c:""})});return c}var Ui="function"===typeof WeakSet?WeakSet:Set;
    function Vi(a){var b=a.ref;if(null!==b)if("function"===typeof b)try{b(null)}catch(c){Wi(a,c)}else b.current=null}function Xi(a,b){switch(b.tag){case 0:case 11:case 15:case 22:return;case 1:if(b.flags&256&&null!==a){var c=a.memoizedProps,d=a.memoizedState;a=b.stateNode;b=a.getSnapshotBeforeUpdate(b.elementType===b.type?c:lg(b.type,c),d);a.__reactInternalSnapshotBeforeUpdate=b}return;case 3:b.flags&256&&qf(b.stateNode.containerInfo);return;case 5:case 6:case 4:case 17:return}throw Error(y(163));}
    function Yi(a,b,c){switch(c.tag){case 0:case 11:case 15:case 22:b=c.updateQueue;b=null!==b?b.lastEffect:null;if(null!==b){a=b=b.next;do{if(3===(a.tag&3)){var d=a.create;a.destroy=d()}a=a.next}while(a!==b)}b=c.updateQueue;b=null!==b?b.lastEffect:null;if(null!==b){a=b=b.next;do{var e=a;d=e.next;e=e.tag;0!==(e&4)&&0!==(e&1)&&(Zi(c,a),$i(c,a));a=d}while(a!==b)}return;case 1:a=c.stateNode;c.flags&4&&(null===b?a.componentDidMount():(d=c.elementType===c.type?b.memoizedProps:lg(c.type,b.memoizedProps),a.componentDidUpdate(d,
    b.memoizedState,a.__reactInternalSnapshotBeforeUpdate)));b=c.updateQueue;null!==b&&Eg(c,b,a);return;case 3:b=c.updateQueue;if(null!==b){a=null;if(null!==c.child)switch(c.child.tag){case 5:a=c.child.stateNode;break;case 1:a=c.child.stateNode}Eg(c,b,a)}return;case 5:a=c.stateNode;null===b&&c.flags&4&&mf(c.type,c.memoizedProps)&&a.focus();return;case 6:return;case 4:return;case 12:return;case 13:null===c.memoizedState&&(c=c.alternate,null!==c&&(c=c.memoizedState,null!==c&&(c=c.dehydrated,null!==c&&Cc(c))));
    return;case 19:case 17:case 20:case 21:case 23:case 24:return}throw Error(y(163));}
    function aj(a,b){for(var c=a;;){if(5===c.tag){var d=c.stateNode;if(b)d=d.style,"function"===typeof d.setProperty?d.setProperty("display","none","important"):d.display="none";else{d=c.stateNode;var e=c.memoizedProps.style;e=void 0!==e&&null!==e&&e.hasOwnProperty("display")?e.display:null;d.style.display=sb("display",e)}}else if(6===c.tag)c.stateNode.nodeValue=b?"":c.memoizedProps;else if((23!==c.tag&&24!==c.tag||null===c.memoizedState||c===a)&&null!==c.child){c.child.return=c;c=c.child;continue}if(c===
    a)break;for(;null===c.sibling;){if(null===c.return||c.return===a)return;c=c.return}c.sibling.return=c.return;c=c.sibling}}
    function bj(a,b){if(Mf&&"function"===typeof Mf.onCommitFiberUnmount)try{Mf.onCommitFiberUnmount(Lf,b)}catch(f){}switch(b.tag){case 0:case 11:case 14:case 15:case 22:a=b.updateQueue;if(null!==a&&(a=a.lastEffect,null!==a)){var c=a=a.next;do{var d=c,e=d.destroy;d=d.tag;if(void 0!==e)if(0!==(d&4))Zi(b,c);else{d=b;try{e()}catch(f){Wi(d,f)}}c=c.next}while(c!==a)}break;case 1:Vi(b);a=b.stateNode;if("function"===typeof a.componentWillUnmount)try{a.props=b.memoizedProps,a.state=b.memoizedState,a.componentWillUnmount()}catch(f){Wi(b,
    f)}break;case 5:Vi(b);break;case 4:cj(a,b)}}function dj(a){a.alternate=null;a.child=null;a.dependencies=null;a.firstEffect=null;a.lastEffect=null;a.memoizedProps=null;a.memoizedState=null;a.pendingProps=null;a.return=null;a.updateQueue=null}function ej(a){return 5===a.tag||3===a.tag||4===a.tag}
    function fj(a){a:{for(var b=a.return;null!==b;){if(ej(b))break a;b=b.return}throw Error(y(160));}var c=b;b=c.stateNode;switch(c.tag){case 5:var d=!1;break;case 3:b=b.containerInfo;d=!0;break;case 4:b=b.containerInfo;d=!0;break;default:throw Error(y(161));}c.flags&16&&(pb(b,""),c.flags&=-17);a:b:for(c=a;;){for(;null===c.sibling;){if(null===c.return||ej(c.return)){c=null;break a}c=c.return}c.sibling.return=c.return;for(c=c.sibling;5!==c.tag&&6!==c.tag&&18!==c.tag;){if(c.flags&2)continue b;if(null===
    c.child||4===c.tag)continue b;else c.child.return=c,c=c.child}if(!(c.flags&2)){c=c.stateNode;break a}}d?gj(a,c,b):hj(a,c,b)}
    function gj(a,b,c){var d=a.tag,e=5===d||6===d;if(e)a=e?a.stateNode:a.stateNode.instance,b?8===c.nodeType?c.parentNode.insertBefore(a,b):c.insertBefore(a,b):(8===c.nodeType?(b=c.parentNode,b.insertBefore(a,c)):(b=c,b.appendChild(a)),c=c._reactRootContainer,null!==c&&void 0!==c||null!==b.onclick||(b.onclick=jf));else if(4!==d&&(a=a.child,null!==a))for(gj(a,b,c),a=a.sibling;null!==a;)gj(a,b,c),a=a.sibling}
    function hj(a,b,c){var d=a.tag,e=5===d||6===d;if(e)a=e?a.stateNode:a.stateNode.instance,b?c.insertBefore(a,b):c.appendChild(a);else if(4!==d&&(a=a.child,null!==a))for(hj(a,b,c),a=a.sibling;null!==a;)hj(a,b,c),a=a.sibling}
    function cj(a,b){for(var c=b,d=!1,e,f;;){if(!d){d=c.return;a:for(;;){if(null===d)throw Error(y(160));e=d.stateNode;switch(d.tag){case 5:f=!1;break a;case 3:e=e.containerInfo;f=!0;break a;case 4:e=e.containerInfo;f=!0;break a}d=d.return}d=!0}if(5===c.tag||6===c.tag){a:for(var g=a,h=c,k=h;;)if(bj(g,k),null!==k.child&&4!==k.tag)k.child.return=k,k=k.child;else{if(k===h)break a;for(;null===k.sibling;){if(null===k.return||k.return===h)break a;k=k.return}k.sibling.return=k.return;k=k.sibling}f?(g=e,h=c.stateNode,
    8===g.nodeType?g.parentNode.removeChild(h):g.removeChild(h)):e.removeChild(c.stateNode)}else if(4===c.tag){if(null!==c.child){e=c.stateNode.containerInfo;f=!0;c.child.return=c;c=c.child;continue}}else if(bj(a,c),null!==c.child){c.child.return=c;c=c.child;continue}if(c===b)break;for(;null===c.sibling;){if(null===c.return||c.return===b)return;c=c.return;4===c.tag&&(d=!1)}c.sibling.return=c.return;c=c.sibling}}
    function ij(a,b){switch(b.tag){case 0:case 11:case 14:case 15:case 22:var c=b.updateQueue;c=null!==c?c.lastEffect:null;if(null!==c){var d=c=c.next;do 3===(d.tag&3)&&(a=d.destroy,d.destroy=void 0,void 0!==a&&a()),d=d.next;while(d!==c)}return;case 1:return;case 5:c=b.stateNode;if(null!=c){d=b.memoizedProps;var e=null!==a?a.memoizedProps:d;a=b.type;var f=b.updateQueue;b.updateQueue=null;if(null!==f){c[xf]=d;"input"===a&&"radio"===d.type&&null!=d.name&&$a(c,d);wb(a,e);b=wb(a,d);for(e=0;e<f.length;e+=
    2){var g=f[e],h=f[e+1];"style"===g?tb(c,h):"dangerouslySetInnerHTML"===g?ob(c,h):"children"===g?pb(c,h):qa(c,g,h,b)}switch(a){case "input":ab(c,d);break;case "textarea":ib(c,d);break;case "select":a=c._wrapperState.wasMultiple,c._wrapperState.wasMultiple=!!d.multiple,f=d.value,null!=f?fb(c,!!d.multiple,f,!1):a!==!!d.multiple&&(null!=d.defaultValue?fb(c,!!d.multiple,d.defaultValue,!0):fb(c,!!d.multiple,d.multiple?[]:"",!1))}}}return;case 6:if(null===b.stateNode)throw Error(y(162));b.stateNode.nodeValue=
    b.memoizedProps;return;case 3:c=b.stateNode;c.hydrate&&(c.hydrate=!1,Cc(c.containerInfo));return;case 12:return;case 13:null!==b.memoizedState&&(jj=O(),aj(b.child,!0));kj(b);return;case 19:kj(b);return;case 17:return;case 23:case 24:aj(b,null!==b.memoizedState);return}throw Error(y(163));}function kj(a){var b=a.updateQueue;if(null!==b){a.updateQueue=null;var c=a.stateNode;null===c&&(c=a.stateNode=new Ui);b.forEach(function(b){var d=lj.bind(null,a,b);c.has(b)||(c.add(b),b.then(d,d))})}}
    function mj(a,b){return null!==a&&(a=a.memoizedState,null===a||null!==a.dehydrated)?(b=b.memoizedState,null!==b&&null===b.dehydrated):!1}var nj=Math.ceil,oj=ra.ReactCurrentDispatcher,pj=ra.ReactCurrentOwner,X=0,U=null,Y=null,W=0,qj=0,rj=Bf(0),V=0,sj=null,tj=0,Dg=0,Hi=0,uj=0,vj=null,jj=0,Ji=Infinity;function wj(){Ji=O()+500}var Z=null,Qi=!1,Ri=null,Ti=null,xj=!1,yj=null,zj=90,Aj=[],Bj=[],Cj=null,Dj=0,Ej=null,Fj=-1,Gj=0,Hj=0,Ij=null,Jj=!1;function Hg(){return 0!==(X&48)?O():-1!==Fj?Fj:Fj=O()}
    function Ig(a){a=a.mode;if(0===(a&2))return 1;if(0===(a&4))return 99===eg()?1:2;0===Gj&&(Gj=tj);if(0!==kg.transition){0!==Hj&&(Hj=null!==vj?vj.pendingLanes:0);a=Gj;var b=4186112&~Hj;b&=-b;0===b&&(a=4186112&~a,b=a&-a,0===b&&(b=8192));return b}a=eg();0!==(X&4)&&98===a?a=Xc(12,Gj):(a=Sc(a),a=Xc(a,Gj));return a}
    function Jg(a,b,c){if(50<Dj)throw Dj=0,Ej=null,Error(y(185));a=Kj(a,b);if(null===a)return null;$c(a,b,c);a===U&&(Hi|=b,4===V&&Ii(a,W));var d=eg();1===b?0!==(X&8)&&0===(X&48)?Lj(a):(Mj(a,c),0===X&&(wj(),ig())):(0===(X&4)||98!==d&&99!==d||(null===Cj?Cj=new Set([a]):Cj.add(a)),Mj(a,c));vj=a}function Kj(a,b){a.lanes|=b;var c=a.alternate;null!==c&&(c.lanes|=b);c=a;for(a=a.return;null!==a;)a.childLanes|=b,c=a.alternate,null!==c&&(c.childLanes|=b),c=a,a=a.return;return 3===c.tag?c.stateNode:null}
    function Mj(a,b){for(var c=a.callbackNode,d=a.suspendedLanes,e=a.pingedLanes,f=a.expirationTimes,g=a.pendingLanes;0<g;){var h=31-Vc(g),k=1<<h,l=f[h];if(-1===l){if(0===(k&d)||0!==(k&e)){l=b;Rc(k);var n=F;f[h]=10<=n?l+250:6<=n?l+5E3:-1}}else l<=b&&(a.expiredLanes|=k);g&=~k}d=Uc(a,a===U?W:0);b=F;if(0===d)null!==c&&(c!==Zf&&Pf(c),a.callbackNode=null,a.callbackPriority=0);else{if(null!==c){if(a.callbackPriority===b)return;c!==Zf&&Pf(c)}15===b?(c=Lj.bind(null,a),null===ag?(ag=[c],bg=Of(Uf,jg)):ag.push(c),
    c=Zf):14===b?c=hg(99,Lj.bind(null,a)):(c=Tc(b),c=hg(c,Nj.bind(null,a)));a.callbackPriority=b;a.callbackNode=c}}
    function Nj(a){Fj=-1;Hj=Gj=0;if(0!==(X&48))throw Error(y(327));var b=a.callbackNode;if(Oj()&&a.callbackNode!==b)return null;var c=Uc(a,a===U?W:0);if(0===c)return null;var d=c;var e=X;X|=16;var f=Pj();if(U!==a||W!==d)wj(),Qj(a,d);do try{Rj();break}catch(h){Sj(a,h)}while(1);qg();oj.current=f;X=e;null!==Y?d=0:(U=null,W=0,d=V);if(0!==(tj&Hi))Qj(a,0);else if(0!==d){2===d&&(X|=64,a.hydrate&&(a.hydrate=!1,qf(a.containerInfo)),c=Wc(a),0!==c&&(d=Tj(a,c)));if(1===d)throw b=sj,Qj(a,0),Ii(a,c),Mj(a,O()),b;a.finishedWork=
    a.current.alternate;a.finishedLanes=c;switch(d){case 0:case 1:throw Error(y(345));case 2:Uj(a);break;case 3:Ii(a,c);if((c&62914560)===c&&(d=jj+500-O(),10<d)){if(0!==Uc(a,0))break;e=a.suspendedLanes;if((e&c)!==c){Hg();a.pingedLanes|=a.suspendedLanes&e;break}a.timeoutHandle=of(Uj.bind(null,a),d);break}Uj(a);break;case 4:Ii(a,c);if((c&4186112)===c)break;d=a.eventTimes;for(e=-1;0<c;){var g=31-Vc(c);f=1<<g;g=d[g];g>e&&(e=g);c&=~f}c=e;c=O()-c;c=(120>c?120:480>c?480:1080>c?1080:1920>c?1920:3E3>c?3E3:4320>
    c?4320:1960*nj(c/1960))-c;if(10<c){a.timeoutHandle=of(Uj.bind(null,a),c);break}Uj(a);break;case 5:Uj(a);break;default:throw Error(y(329));}}Mj(a,O());return a.callbackNode===b?Nj.bind(null,a):null}function Ii(a,b){b&=~uj;b&=~Hi;a.suspendedLanes|=b;a.pingedLanes&=~b;for(a=a.expirationTimes;0<b;){var c=31-Vc(b),d=1<<c;a[c]=-1;b&=~d}}
    function Lj(a){if(0!==(X&48))throw Error(y(327));Oj();if(a===U&&0!==(a.expiredLanes&W)){var b=W;var c=Tj(a,b);0!==(tj&Hi)&&(b=Uc(a,b),c=Tj(a,b))}else b=Uc(a,0),c=Tj(a,b);0!==a.tag&&2===c&&(X|=64,a.hydrate&&(a.hydrate=!1,qf(a.containerInfo)),b=Wc(a),0!==b&&(c=Tj(a,b)));if(1===c)throw c=sj,Qj(a,0),Ii(a,b),Mj(a,O()),c;a.finishedWork=a.current.alternate;a.finishedLanes=b;Uj(a);Mj(a,O());return null}
    function Vj(){if(null!==Cj){var a=Cj;Cj=null;a.forEach(function(a){a.expiredLanes|=24&a.pendingLanes;Mj(a,O())})}ig()}function Wj(a,b){var c=X;X|=1;try{return a(b)}finally{X=c,0===X&&(wj(),ig())}}function Xj(a,b){var c=X;X&=-2;X|=8;try{return a(b)}finally{X=c,0===X&&(wj(),ig())}}function ni(a,b){I(rj,qj);qj|=b;tj|=b}function Ki(){qj=rj.current;H(rj)}
    function Qj(a,b){a.finishedWork=null;a.finishedLanes=0;var c=a.timeoutHandle;-1!==c&&(a.timeoutHandle=-1,pf(c));if(null!==Y)for(c=Y.return;null!==c;){var d=c;switch(d.tag){case 1:d=d.type.childContextTypes;null!==d&&void 0!==d&&Gf();break;case 3:fh();H(N);H(M);uh();break;case 5:hh(d);break;case 4:fh();break;case 13:H(P);break;case 19:H(P);break;case 10:rg(d);break;case 23:case 24:Ki()}c=c.return}U=a;Y=Tg(a.current,null);W=qj=tj=b;V=0;sj=null;uj=Hi=Dg=0}
    function Sj(a,b){do{var c=Y;try{qg();vh.current=Gh;if(yh){for(var d=R.memoizedState;null!==d;){var e=d.queue;null!==e&&(e.pending=null);d=d.next}yh=!1}xh=0;T=S=R=null;zh=!1;pj.current=null;if(null===c||null===c.return){V=1;sj=b;Y=null;break}a:{var f=a,g=c.return,h=c,k=b;b=W;h.flags|=2048;h.firstEffect=h.lastEffect=null;if(null!==k&&"object"===typeof k&&"function"===typeof k.then){var l=k;if(0===(h.mode&2)){var n=h.alternate;n?(h.updateQueue=n.updateQueue,h.memoizedState=n.memoizedState,h.lanes=n.lanes):
    (h.updateQueue=null,h.memoizedState=null)}var A=0!==(P.current&1),p=g;do{var C;if(C=13===p.tag){var x=p.memoizedState;if(null!==x)C=null!==x.dehydrated?!0:!1;else{var w=p.memoizedProps;C=void 0===w.fallback?!1:!0!==w.unstable_avoidThisFallback?!0:A?!1:!0}}if(C){var z=p.updateQueue;if(null===z){var u=new Set;u.add(l);p.updateQueue=u}else z.add(l);if(0===(p.mode&2)){p.flags|=64;h.flags|=16384;h.flags&=-2981;if(1===h.tag)if(null===h.alternate)h.tag=17;else{var t=zg(-1,1);t.tag=2;Ag(h,t)}h.lanes|=1;break a}k=
    void 0;h=b;var q=f.pingCache;null===q?(q=f.pingCache=new Oi,k=new Set,q.set(l,k)):(k=q.get(l),void 0===k&&(k=new Set,q.set(l,k)));if(!k.has(h)){k.add(h);var v=Yj.bind(null,f,l,h);l.then(v,v)}p.flags|=4096;p.lanes=b;break a}p=p.return}while(null!==p);k=Error((Ra(h.type)||"A React component")+" suspended while rendering, but no fallback UI was specified.\n\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display.")}5!==V&&(V=2);k=Mi(k,h);p=
    g;do{switch(p.tag){case 3:f=k;p.flags|=4096;b&=-b;p.lanes|=b;var J=Pi(p,f,b);Bg(p,J);break a;case 1:f=k;var K=p.type,Q=p.stateNode;if(0===(p.flags&64)&&("function"===typeof K.getDerivedStateFromError||null!==Q&&"function"===typeof Q.componentDidCatch&&(null===Ti||!Ti.has(Q)))){p.flags|=4096;b&=-b;p.lanes|=b;var L=Si(p,f,b);Bg(p,L);break a}}p=p.return}while(null!==p)}Zj(c)}catch(va){b=va;Y===c&&null!==c&&(Y=c=c.return);continue}break}while(1)}
    function Pj(){var a=oj.current;oj.current=Gh;return null===a?Gh:a}function Tj(a,b){var c=X;X|=16;var d=Pj();U===a&&W===b||Qj(a,b);do try{ak();break}catch(e){Sj(a,e)}while(1);qg();X=c;oj.current=d;if(null!==Y)throw Error(y(261));U=null;W=0;return V}function ak(){for(;null!==Y;)bk(Y)}function Rj(){for(;null!==Y&&!Qf();)bk(Y)}function bk(a){var b=ck(a.alternate,a,qj);a.memoizedProps=a.pendingProps;null===b?Zj(a):Y=b;pj.current=null}
    function Zj(a){var b=a;do{var c=b.alternate;a=b.return;if(0===(b.flags&2048)){c=Gi(c,b,qj);if(null!==c){Y=c;return}c=b;if(24!==c.tag&&23!==c.tag||null===c.memoizedState||0!==(qj&1073741824)||0===(c.mode&4)){for(var d=0,e=c.child;null!==e;)d|=e.lanes|e.childLanes,e=e.sibling;c.childLanes=d}null!==a&&0===(a.flags&2048)&&(null===a.firstEffect&&(a.firstEffect=b.firstEffect),null!==b.lastEffect&&(null!==a.lastEffect&&(a.lastEffect.nextEffect=b.firstEffect),a.lastEffect=b.lastEffect),1<b.flags&&(null!==
    a.lastEffect?a.lastEffect.nextEffect=b:a.firstEffect=b,a.lastEffect=b))}else{c=Li(b);if(null!==c){c.flags&=2047;Y=c;return}null!==a&&(a.firstEffect=a.lastEffect=null,a.flags|=2048)}b=b.sibling;if(null!==b){Y=b;return}Y=b=a}while(null!==b);0===V&&(V=5)}function Uj(a){var b=eg();gg(99,dk.bind(null,a,b));return null}
    function dk(a,b){do Oj();while(null!==yj);if(0!==(X&48))throw Error(y(327));var c=a.finishedWork;if(null===c)return null;a.finishedWork=null;a.finishedLanes=0;if(c===a.current)throw Error(y(177));a.callbackNode=null;var d=c.lanes|c.childLanes,e=d,f=a.pendingLanes&~e;a.pendingLanes=e;a.suspendedLanes=0;a.pingedLanes=0;a.expiredLanes&=e;a.mutableReadLanes&=e;a.entangledLanes&=e;e=a.entanglements;for(var g=a.eventTimes,h=a.expirationTimes;0<f;){var k=31-Vc(f),l=1<<k;e[k]=0;g[k]=-1;h[k]=-1;f&=~l}null!==
    Cj&&0===(d&24)&&Cj.has(a)&&Cj.delete(a);a===U&&(Y=U=null,W=0);1<c.flags?null!==c.lastEffect?(c.lastEffect.nextEffect=c,d=c.firstEffect):d=c:d=c.firstEffect;if(null!==d){e=X;X|=32;pj.current=null;kf=fd;g=Ne();if(Oe(g)){if("selectionStart"in g)h={start:g.selectionStart,end:g.selectionEnd};else a:if(h=(h=g.ownerDocument)&&h.defaultView||window,(l=h.getSelection&&h.getSelection())&&0!==l.rangeCount){h=l.anchorNode;f=l.anchorOffset;k=l.focusNode;l=l.focusOffset;try{h.nodeType,k.nodeType}catch(va){h=null;
    break a}var n=0,A=-1,p=-1,C=0,x=0,w=g,z=null;b:for(;;){for(var u;;){w!==h||0!==f&&3!==w.nodeType||(A=n+f);w!==k||0!==l&&3!==w.nodeType||(p=n+l);3===w.nodeType&&(n+=w.nodeValue.length);if(null===(u=w.firstChild))break;z=w;w=u}for(;;){if(w===g)break b;z===h&&++C===f&&(A=n);z===k&&++x===l&&(p=n);if(null!==(u=w.nextSibling))break;w=z;z=w.parentNode}w=u}h=-1===A||-1===p?null:{start:A,end:p}}else h=null;h=h||{start:0,end:0}}else h=null;lf={focusedElem:g,selectionRange:h};fd=!1;Ij=null;Jj=!1;Z=d;do try{ek()}catch(va){if(null===
    Z)throw Error(y(330));Wi(Z,va);Z=Z.nextEffect}while(null!==Z);Ij=null;Z=d;do try{for(g=a;null!==Z;){var t=Z.flags;t&16&&pb(Z.stateNode,"");if(t&128){var q=Z.alternate;if(null!==q){var v=q.ref;null!==v&&("function"===typeof v?v(null):v.current=null)}}switch(t&1038){case 2:fj(Z);Z.flags&=-3;break;case 6:fj(Z);Z.flags&=-3;ij(Z.alternate,Z);break;case 1024:Z.flags&=-1025;break;case 1028:Z.flags&=-1025;ij(Z.alternate,Z);break;case 4:ij(Z.alternate,Z);break;case 8:h=Z;cj(g,h);var J=h.alternate;dj(h);null!==
    J&&dj(J)}Z=Z.nextEffect}}catch(va){if(null===Z)throw Error(y(330));Wi(Z,va);Z=Z.nextEffect}while(null!==Z);v=lf;q=Ne();t=v.focusedElem;g=v.selectionRange;if(q!==t&&t&&t.ownerDocument&&Me(t.ownerDocument.documentElement,t)){null!==g&&Oe(t)&&(q=g.start,v=g.end,void 0===v&&(v=q),"selectionStart"in t?(t.selectionStart=q,t.selectionEnd=Math.min(v,t.value.length)):(v=(q=t.ownerDocument||document)&&q.defaultView||window,v.getSelection&&(v=v.getSelection(),h=t.textContent.length,J=Math.min(g.start,h),g=void 0===
    g.end?J:Math.min(g.end,h),!v.extend&&J>g&&(h=g,g=J,J=h),h=Le(t,J),f=Le(t,g),h&&f&&(1!==v.rangeCount||v.anchorNode!==h.node||v.anchorOffset!==h.offset||v.focusNode!==f.node||v.focusOffset!==f.offset)&&(q=q.createRange(),q.setStart(h.node,h.offset),v.removeAllRanges(),J>g?(v.addRange(q),v.extend(f.node,f.offset)):(q.setEnd(f.node,f.offset),v.addRange(q))))));q=[];for(v=t;v=v.parentNode;)1===v.nodeType&&q.push({element:v,left:v.scrollLeft,top:v.scrollTop});"function"===typeof t.focus&&t.focus();for(t=
    0;t<q.length;t++)v=q[t],v.element.scrollLeft=v.left,v.element.scrollTop=v.top}fd=!!kf;lf=kf=null;a.current=c;Z=d;do try{for(t=a;null!==Z;){var K=Z.flags;K&36&&Yi(t,Z.alternate,Z);if(K&128){q=void 0;var Q=Z.ref;if(null!==Q){var L=Z.stateNode;switch(Z.tag){case 5:q=L;break;default:q=L}"function"===typeof Q?Q(q):Q.current=q}}Z=Z.nextEffect}}catch(va){if(null===Z)throw Error(y(330));Wi(Z,va);Z=Z.nextEffect}while(null!==Z);Z=null;$f();X=e}else a.current=c;if(xj)xj=!1,yj=a,zj=b;else for(Z=d;null!==Z;)b=
    Z.nextEffect,Z.nextEffect=null,Z.flags&8&&(K=Z,K.sibling=null,K.stateNode=null),Z=b;d=a.pendingLanes;0===d&&(Ti=null);1===d?a===Ej?Dj++:(Dj=0,Ej=a):Dj=0;c=c.stateNode;if(Mf&&"function"===typeof Mf.onCommitFiberRoot)try{Mf.onCommitFiberRoot(Lf,c,void 0,64===(c.current.flags&64))}catch(va){}Mj(a,O());if(Qi)throw Qi=!1,a=Ri,Ri=null,a;if(0!==(X&8))return null;ig();return null}
    function ek(){for(;null!==Z;){var a=Z.alternate;Jj||null===Ij||(0!==(Z.flags&8)?dc(Z,Ij)&&(Jj=!0):13===Z.tag&&mj(a,Z)&&dc(Z,Ij)&&(Jj=!0));var b=Z.flags;0!==(b&256)&&Xi(a,Z);0===(b&512)||xj||(xj=!0,hg(97,function(){Oj();return null}));Z=Z.nextEffect}}function Oj(){if(90!==zj){var a=97<zj?97:zj;zj=90;return gg(a,fk)}return!1}function $i(a,b){Aj.push(b,a);xj||(xj=!0,hg(97,function(){Oj();return null}))}function Zi(a,b){Bj.push(b,a);xj||(xj=!0,hg(97,function(){Oj();return null}))}
    function fk(){if(null===yj)return!1;var a=yj;yj=null;if(0!==(X&48))throw Error(y(331));var b=X;X|=32;var c=Bj;Bj=[];for(var d=0;d<c.length;d+=2){var e=c[d],f=c[d+1],g=e.destroy;e.destroy=void 0;if("function"===typeof g)try{g()}catch(k){if(null===f)throw Error(y(330));Wi(f,k)}}c=Aj;Aj=[];for(d=0;d<c.length;d+=2){e=c[d];f=c[d+1];try{var h=e.create;e.destroy=h()}catch(k){if(null===f)throw Error(y(330));Wi(f,k)}}for(h=a.current.firstEffect;null!==h;)a=h.nextEffect,h.nextEffect=null,h.flags&8&&(h.sibling=
    null,h.stateNode=null),h=a;X=b;ig();return!0}function gk(a,b,c){b=Mi(c,b);b=Pi(a,b,1);Ag(a,b);b=Hg();a=Kj(a,1);null!==a&&($c(a,1,b),Mj(a,b))}
    function Wi(a,b){if(3===a.tag)gk(a,a,b);else for(var c=a.return;null!==c;){if(3===c.tag){gk(c,a,b);break}else if(1===c.tag){var d=c.stateNode;if("function"===typeof c.type.getDerivedStateFromError||"function"===typeof d.componentDidCatch&&(null===Ti||!Ti.has(d))){a=Mi(b,a);var e=Si(c,a,1);Ag(c,e);e=Hg();c=Kj(c,1);if(null!==c)$c(c,1,e),Mj(c,e);else if("function"===typeof d.componentDidCatch&&(null===Ti||!Ti.has(d)))try{d.componentDidCatch(b,a)}catch(f){}break}}c=c.return}}
    function Yj(a,b,c){var d=a.pingCache;null!==d&&d.delete(b);b=Hg();a.pingedLanes|=a.suspendedLanes&c;U===a&&(W&c)===c&&(4===V||3===V&&(W&62914560)===W&&500>O()-jj?Qj(a,0):uj|=c);Mj(a,b)}function lj(a,b){var c=a.stateNode;null!==c&&c.delete(b);b=0;0===b&&(b=a.mode,0===(b&2)?b=1:0===(b&4)?b=99===eg()?1:2:(0===Gj&&(Gj=tj),b=Yc(62914560&~Gj),0===b&&(b=4194304)));c=Hg();a=Kj(a,b);null!==a&&($c(a,b,c),Mj(a,c))}var ck;
    ck=function(a,b,c){var d=b.lanes;if(null!==a)if(a.memoizedProps!==b.pendingProps||N.current)ug=!0;else if(0!==(c&d))ug=0!==(a.flags&16384)?!0:!1;else{ug=!1;switch(b.tag){case 3:ri(b);sh();break;case 5:gh(b);break;case 1:Ff(b.type)&&Jf(b);break;case 4:eh(b,b.stateNode.containerInfo);break;case 10:d=b.memoizedProps.value;var e=b.type._context;I(mg,e._currentValue);e._currentValue=d;break;case 13:if(null!==b.memoizedState){if(0!==(c&b.child.childLanes))return ti(a,b,c);I(P,P.current&1);b=hi(a,b,c);return null!==
    b?b.sibling:null}I(P,P.current&1);break;case 19:d=0!==(c&b.childLanes);if(0!==(a.flags&64)){if(d)return Ai(a,b,c);b.flags|=64}e=b.memoizedState;null!==e&&(e.rendering=null,e.tail=null,e.lastEffect=null);I(P,P.current);if(d)break;else return null;case 23:case 24:return b.lanes=0,mi(a,b,c)}return hi(a,b,c)}else ug=!1;b.lanes=0;switch(b.tag){case 2:d=b.type;null!==a&&(a.alternate=null,b.alternate=null,b.flags|=2);a=b.pendingProps;e=Ef(b,M.current);tg(b,c);e=Ch(null,b,d,a,e,c);b.flags|=1;if("object"===
    typeof e&&null!==e&&"function"===typeof e.render&&void 0===e.$$typeof){b.tag=1;b.memoizedState=null;b.updateQueue=null;if(Ff(d)){var f=!0;Jf(b)}else f=!1;b.memoizedState=null!==e.state&&void 0!==e.state?e.state:null;xg(b);var g=d.getDerivedStateFromProps;"function"===typeof g&&Gg(b,d,g,a);e.updater=Kg;b.stateNode=e;e._reactInternals=b;Og(b,d,a,c);b=qi(null,b,d,!0,f,c)}else b.tag=0,fi(null,b,e,c),b=b.child;return b;case 16:e=b.elementType;a:{null!==a&&(a.alternate=null,b.alternate=null,b.flags|=2);
    a=b.pendingProps;f=e._init;e=f(e._payload);b.type=e;f=b.tag=hk(e);a=lg(e,a);switch(f){case 0:b=li(null,b,e,a,c);break a;case 1:b=pi(null,b,e,a,c);break a;case 11:b=gi(null,b,e,a,c);break a;case 14:b=ii(null,b,e,lg(e.type,a),d,c);break a}throw Error(y(306,e,""));}return b;case 0:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:lg(d,e),li(a,b,d,e,c);case 1:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:lg(d,e),pi(a,b,d,e,c);case 3:ri(b);d=b.updateQueue;if(null===a||null===d)throw Error(y(282));
    d=b.pendingProps;e=b.memoizedState;e=null!==e?e.element:null;yg(a,b);Cg(b,d,null,c);d=b.memoizedState.element;if(d===e)sh(),b=hi(a,b,c);else{e=b.stateNode;if(f=e.hydrate)kh=rf(b.stateNode.containerInfo.firstChild),jh=b,f=lh=!0;if(f){a=e.mutableSourceEagerHydrationData;if(null!=a)for(e=0;e<a.length;e+=2)f=a[e],f._workInProgressVersionPrimary=a[e+1],th.push(f);c=Zg(b,null,d,c);for(b.child=c;c;)c.flags=c.flags&-3|1024,c=c.sibling}else fi(a,b,d,c),sh();b=b.child}return b;case 5:return gh(b),null===a&&
    ph(b),d=b.type,e=b.pendingProps,f=null!==a?a.memoizedProps:null,g=e.children,nf(d,e)?g=null:null!==f&&nf(d,f)&&(b.flags|=16),oi(a,b),fi(a,b,g,c),b.child;case 6:return null===a&&ph(b),null;case 13:return ti(a,b,c);case 4:return eh(b,b.stateNode.containerInfo),d=b.pendingProps,null===a?b.child=Yg(b,null,d,c):fi(a,b,d,c),b.child;case 11:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:lg(d,e),gi(a,b,d,e,c);case 7:return fi(a,b,b.pendingProps,c),b.child;case 8:return fi(a,b,b.pendingProps.children,
    c),b.child;case 12:return fi(a,b,b.pendingProps.children,c),b.child;case 10:a:{d=b.type._context;e=b.pendingProps;g=b.memoizedProps;f=e.value;var h=b.type._context;I(mg,h._currentValue);h._currentValue=f;if(null!==g)if(h=g.value,f=He(h,f)?0:("function"===typeof d._calculateChangedBits?d._calculateChangedBits(h,f):1073741823)|0,0===f){if(g.children===e.children&&!N.current){b=hi(a,b,c);break a}}else for(h=b.child,null!==h&&(h.return=b);null!==h;){var k=h.dependencies;if(null!==k){g=h.child;for(var l=
    k.firstContext;null!==l;){if(l.context===d&&0!==(l.observedBits&f)){1===h.tag&&(l=zg(-1,c&-c),l.tag=2,Ag(h,l));h.lanes|=c;l=h.alternate;null!==l&&(l.lanes|=c);sg(h.return,c);k.lanes|=c;break}l=l.next}}else g=10===h.tag?h.type===b.type?null:h.child:h.child;if(null!==g)g.return=h;else for(g=h;null!==g;){if(g===b){g=null;break}h=g.sibling;if(null!==h){h.return=g.return;g=h;break}g=g.return}h=g}fi(a,b,e.children,c);b=b.child}return b;case 9:return e=b.type,f=b.pendingProps,d=f.children,tg(b,c),e=vg(e,
    f.unstable_observedBits),d=d(e),b.flags|=1,fi(a,b,d,c),b.child;case 14:return e=b.type,f=lg(e,b.pendingProps),f=lg(e.type,f),ii(a,b,e,f,d,c);case 15:return ki(a,b,b.type,b.pendingProps,d,c);case 17:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:lg(d,e),null!==a&&(a.alternate=null,b.alternate=null,b.flags|=2),b.tag=1,Ff(d)?(a=!0,Jf(b)):a=!1,tg(b,c),Mg(b,d,e),Og(b,d,e,c),qi(null,b,d,!0,a,c);case 19:return Ai(a,b,c);case 23:return mi(a,b,c);case 24:return mi(a,b,c)}throw Error(y(156,b.tag));
    };function ik(a,b,c,d){this.tag=a;this.key=c;this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null;this.index=0;this.ref=null;this.pendingProps=b;this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null;this.mode=d;this.flags=0;this.lastEffect=this.firstEffect=this.nextEffect=null;this.childLanes=this.lanes=0;this.alternate=null}function nh(a,b,c,d){return new ik(a,b,c,d)}function ji(a){a=a.prototype;return!(!a||!a.isReactComponent)}
    function hk(a){if("function"===typeof a)return ji(a)?1:0;if(void 0!==a&&null!==a){a=a.$$typeof;if(a===Aa)return 11;if(a===Da)return 14}return 2}
    function Tg(a,b){var c=a.alternate;null===c?(c=nh(a.tag,b,a.key,a.mode),c.elementType=a.elementType,c.type=a.type,c.stateNode=a.stateNode,c.alternate=a,a.alternate=c):(c.pendingProps=b,c.type=a.type,c.flags=0,c.nextEffect=null,c.firstEffect=null,c.lastEffect=null);c.childLanes=a.childLanes;c.lanes=a.lanes;c.child=a.child;c.memoizedProps=a.memoizedProps;c.memoizedState=a.memoizedState;c.updateQueue=a.updateQueue;b=a.dependencies;c.dependencies=null===b?null:{lanes:b.lanes,firstContext:b.firstContext};
    c.sibling=a.sibling;c.index=a.index;c.ref=a.ref;return c}
    function Vg(a,b,c,d,e,f){var g=2;d=a;if("function"===typeof a)ji(a)&&(g=1);else if("string"===typeof a)g=5;else a:switch(a){case ua:return Xg(c.children,e,f,b);case Ha:g=8;e|=16;break;case wa:g=8;e|=1;break;case xa:return a=nh(12,c,b,e|8),a.elementType=xa,a.type=xa,a.lanes=f,a;case Ba:return a=nh(13,c,b,e),a.type=Ba,a.elementType=Ba,a.lanes=f,a;case Ca:return a=nh(19,c,b,e),a.elementType=Ca,a.lanes=f,a;case Ia:return vi(c,e,f,b);case Ja:return a=nh(24,c,b,e),a.elementType=Ja,a.lanes=f,a;default:if("object"===
    typeof a&&null!==a)switch(a.$$typeof){case ya:g=10;break a;case za:g=9;break a;case Aa:g=11;break a;case Da:g=14;break a;case Ea:g=16;d=null;break a;case Fa:g=22;break a}throw Error(y(130,null==a?a:typeof a,""));}b=nh(g,c,b,e);b.elementType=a;b.type=d;b.lanes=f;return b}function Xg(a,b,c,d){a=nh(7,a,d,b);a.lanes=c;return a}function vi(a,b,c,d){a=nh(23,a,d,b);a.elementType=Ia;a.lanes=c;return a}function Ug(a,b,c){a=nh(6,a,null,b);a.lanes=c;return a}
    function Wg(a,b,c){b=nh(4,null!==a.children?a.children:[],a.key,b);b.lanes=c;b.stateNode={containerInfo:a.containerInfo,pendingChildren:null,implementation:a.implementation};return b}
    function jk(a,b,c){this.tag=b;this.containerInfo=a;this.finishedWork=this.pingCache=this.current=this.pendingChildren=null;this.timeoutHandle=-1;this.pendingContext=this.context=null;this.hydrate=c;this.callbackNode=null;this.callbackPriority=0;this.eventTimes=Zc(0);this.expirationTimes=Zc(-1);this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0;this.entanglements=Zc(0);this.mutableSourceEagerHydrationData=null}
    function kk(a,b,c){var d=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:ta,key:null==d?null:""+d,children:a,containerInfo:b,implementation:c}}
    function lk(a,b,c,d){var e=b.current,f=Hg(),g=Ig(e);a:if(c){c=c._reactInternals;b:{if(Zb(c)!==c||1!==c.tag)throw Error(y(170));var h=c;do{switch(h.tag){case 3:h=h.stateNode.context;break b;case 1:if(Ff(h.type)){h=h.stateNode.__reactInternalMemoizedMergedChildContext;break b}}h=h.return}while(null!==h);throw Error(y(171));}if(1===c.tag){var k=c.type;if(Ff(k)){c=If(c,k,h);break a}}c=h}else c=Cf;null===b.context?b.context=c:b.pendingContext=c;b=zg(f,g);b.payload={element:a};d=void 0===d?null:d;null!==
    d&&(b.callback=d);Ag(e,b);Jg(e,g,f);return g}function mk(a){a=a.current;if(!a.child)return null;switch(a.child.tag){case 5:return a.child.stateNode;default:return a.child.stateNode}}function nk(a,b){a=a.memoizedState;if(null!==a&&null!==a.dehydrated){var c=a.retryLane;a.retryLane=0!==c&&c<b?c:b}}function ok(a,b){nk(a,b);(a=a.alternate)&&nk(a,b)}function pk(){return null}
    function qk(a,b,c){var d=null!=c&&null!=c.hydrationOptions&&c.hydrationOptions.mutableSources||null;c=new jk(a,b,null!=c&&!0===c.hydrate);b=nh(3,null,null,2===b?7:1===b?3:0);c.current=b;b.stateNode=c;xg(b);a[ff]=c.current;cf(8===a.nodeType?a.parentNode:a);if(d)for(a=0;a<d.length;a++){b=d[a];var e=b._getVersion;e=e(b._source);null==c.mutableSourceEagerHydrationData?c.mutableSourceEagerHydrationData=[b,e]:c.mutableSourceEagerHydrationData.push(b,e)}this._internalRoot=c}
    qk.prototype.render=function(a){lk(a,this._internalRoot,null,null)};qk.prototype.unmount=function(){var a=this._internalRoot,b=a.containerInfo;lk(null,a,null,function(){b[ff]=null})};function rk(a){return!(!a||1!==a.nodeType&&9!==a.nodeType&&11!==a.nodeType&&(8!==a.nodeType||" react-mount-point-unstable "!==a.nodeValue))}
    function sk(a,b){b||(b=a?9===a.nodeType?a.documentElement:a.firstChild:null,b=!(!b||1!==b.nodeType||!b.hasAttribute("data-reactroot")));if(!b)for(var c;c=a.lastChild;)a.removeChild(c);return new qk(a,0,b?{hydrate:!0}:void 0)}
    function tk(a,b,c,d,e){var f=c._reactRootContainer;if(f){var g=f._internalRoot;if("function"===typeof e){var h=e;e=function(){var a=mk(g);h.call(a)}}lk(b,g,a,e)}else{f=c._reactRootContainer=sk(c,d);g=f._internalRoot;if("function"===typeof e){var k=e;e=function(){var a=mk(g);k.call(a)}}Xj(function(){lk(b,g,a,e)})}return mk(g)}ec=function(a){if(13===a.tag){var b=Hg();Jg(a,4,b);ok(a,4)}};fc=function(a){if(13===a.tag){var b=Hg();Jg(a,67108864,b);ok(a,67108864)}};
    gc=function(a){if(13===a.tag){var b=Hg(),c=Ig(a);Jg(a,c,b);ok(a,c)}};hc=function(a,b){return b()};
    yb=function(a,b,c){switch(b){case "input":ab(a,c);b=c.name;if("radio"===c.type&&null!=b){for(c=a;c.parentNode;)c=c.parentNode;c=c.querySelectorAll("input[name="+JSON.stringify(""+b)+'][type="radio"]');for(b=0;b<c.length;b++){var d=c[b];if(d!==a&&d.form===a.form){var e=Db(d);if(!e)throw Error(y(90));Wa(d);ab(d,e)}}}break;case "textarea":ib(a,c);break;case "select":b=c.value,null!=b&&fb(a,!!c.multiple,b,!1)}};Gb=Wj;
    Hb=function(a,b,c,d,e){var f=X;X|=4;try{return gg(98,a.bind(null,b,c,d,e))}finally{X=f,0===X&&(wj(),ig())}};Ib=function(){0===(X&49)&&(Vj(),Oj())};Jb=function(a,b){var c=X;X|=2;try{return a(b)}finally{X=c,0===X&&(wj(),ig())}};function uk(a,b){var c=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!rk(b))throw Error(y(200));return kk(a,b,null,c)}var vk={Events:[Cb,ue,Db,Eb,Fb,Oj,{current:!1}]},wk={findFiberByHostInstance:wc,bundleType:0,version:"17.0.2",rendererPackageName:"react-dom"};
    var xk={bundleType:wk.bundleType,version:wk.version,rendererPackageName:wk.rendererPackageName,rendererConfig:wk.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:ra.ReactCurrentDispatcher,findHostInstanceByFiber:function(a){a=cc(a);return null===a?null:a.stateNode},findFiberByHostInstance:wk.findFiberByHostInstance||
    pk,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null};if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var yk=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!yk.isDisabled&&yk.supportsFiber)try{Lf=yk.inject(xk),Mf=yk}catch(a){}}exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=vk;exports.createPortal=uk;
    exports.findDOMNode=function(a){if(null==a)return null;if(1===a.nodeType)return a;var b=a._reactInternals;if(void 0===b){if("function"===typeof a.render)throw Error(y(188));throw Error(y(268,Object.keys(a)));}a=cc(b);a=null===a?null:a.stateNode;return a};exports.flushSync=function(a,b){var c=X;if(0!==(c&48))return a(b);X|=1;try{if(a)return gg(99,a.bind(null,b))}finally{X=c,ig()}};exports.hydrate=function(a,b,c){if(!rk(b))throw Error(y(200));return tk(null,a,b,!0,c)};
    exports.render=function(a,b,c){if(!rk(b))throw Error(y(200));return tk(null,a,b,!1,c)};exports.unmountComponentAtNode=function(a){if(!rk(a))throw Error(y(40));return a._reactRootContainer?(Xj(function(){tk(null,null,a,!1,function(){a._reactRootContainer=null;a[ff]=null})}),!0):!1};exports.unstable_batchedUpdates=Wj;exports.unstable_createPortal=function(a,b){return uk(a,b,2<arguments.length&&void 0!==arguments[2]?arguments[2]:null)};
    exports.unstable_renderSubtreeIntoContainer=function(a,b,c,d){if(!rk(c))throw Error(y(200));if(null==a||void 0===a._reactInternals)throw Error(y(38));return tk(a,b,c,!1,d)};exports.version="17.0.2";
    
    
    /***/ }),
    
    /***/ 4676:
    /*!***********************************************************!*\
      !*** ./node_modules/_react-dom@17.0.2@react-dom/index.js ***!
      \***********************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    
    function checkDCE() {
      /* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
      if (
        typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ === 'undefined' ||
        typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE !== 'function'
      ) {
        return;
      }
      if (false) {}
      try {
        // Verify that the code above has been dead code eliminated (DCE'd).
        __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(checkDCE);
      } catch (err) {
        // DevTools shouldn't crash React, no matter what.
        // We should still report in case we break this code.
        console.error(err);
      }
    }
    
    if (true) {
      // DCE check should happen before ReactDOM bundle executes so that
      // DevTools can report bad minification during injection.
      checkDCE();
      module.exports = __webpack_require__(/*! ./cjs/react-dom.production.min.js */ 23675);
    } else {}
    
    
    /***/ }),
    
    /***/ 12373:
    /*!****************************************************************************!*\
      !*** ./node_modules/_react-fast-compare@3.2.2@react-fast-compare/index.js ***!
      \****************************************************************************/
    /***/ (function(module) {
    
    /* global Map:readonly, Set:readonly, ArrayBuffer:readonly */
    
    var hasElementType = typeof Element !== 'undefined';
    var hasMap = typeof Map === 'function';
    var hasSet = typeof Set === 'function';
    var hasArrayBuffer = typeof ArrayBuffer === 'function' && !!ArrayBuffer.isView;
    
    // Note: We **don't** need `envHasBigInt64Array` in fde es6/index.js
    
    function equal(a, b) {
      // START: fast-deep-equal es6/index.js 3.1.3
      if (a === b) return true;
    
      if (a && b && typeof a == 'object' && typeof b == 'object') {
        if (a.constructor !== b.constructor) return false;
    
        var length, i, keys;
        if (Array.isArray(a)) {
          length = a.length;
          if (length != b.length) return false;
          for (i = length; i-- !== 0;)
            if (!equal(a[i], b[i])) return false;
          return true;
        }
    
        // START: Modifications:
        // 1. Extra `has<Type> &&` helpers in initial condition allow es6 code
        //    to co-exist with es5.
        // 2. Replace `for of` with es5 compliant iteration using `for`.
        //    Basically, take:
        //
        //    ```js
        //    for (i of a.entries())
        //      if (!b.has(i[0])) return false;
        //    ```
        //
        //    ... and convert to:
        //
        //    ```js
        //    it = a.entries();
        //    while (!(i = it.next()).done)
        //      if (!b.has(i.value[0])) return false;
        //    ```
        //
        //    **Note**: `i` access switches to `i.value`.
        var it;
        if (hasMap && (a instanceof Map) && (b instanceof Map)) {
          if (a.size !== b.size) return false;
          it = a.entries();
          while (!(i = it.next()).done)
            if (!b.has(i.value[0])) return false;
          it = a.entries();
          while (!(i = it.next()).done)
            if (!equal(i.value[1], b.get(i.value[0]))) return false;
          return true;
        }
    
        if (hasSet && (a instanceof Set) && (b instanceof Set)) {
          if (a.size !== b.size) return false;
          it = a.entries();
          while (!(i = it.next()).done)
            if (!b.has(i.value[0])) return false;
          return true;
        }
        // END: Modifications
    
        if (hasArrayBuffer && ArrayBuffer.isView(a) && ArrayBuffer.isView(b)) {
          length = a.length;
          if (length != b.length) return false;
          for (i = length; i-- !== 0;)
            if (a[i] !== b[i]) return false;
          return true;
        }
    
        if (a.constructor === RegExp) return a.source === b.source && a.flags === b.flags;
        // START: Modifications:
        // Apply guards for `Object.create(null)` handling. See:
        // - https://github.com/FormidableLabs/react-fast-compare/issues/64
        // - https://github.com/epoberezkin/fast-deep-equal/issues/49
        if (a.valueOf !== Object.prototype.valueOf && typeof a.valueOf === 'function' && typeof b.valueOf === 'function') return a.valueOf() === b.valueOf();
        if (a.toString !== Object.prototype.toString && typeof a.toString === 'function' && typeof b.toString === 'function') return a.toString() === b.toString();
        // END: Modifications
    
        keys = Object.keys(a);
        length = keys.length;
        if (length !== Object.keys(b).length) return false;
    
        for (i = length; i-- !== 0;)
          if (!Object.prototype.hasOwnProperty.call(b, keys[i])) return false;
        // END: fast-deep-equal
    
        // START: react-fast-compare
        // custom handling for DOM elements
        if (hasElementType && a instanceof Element) return false;
    
        // custom handling for React/Preact
        for (i = length; i-- !== 0;) {
          if ((keys[i] === '_owner' || keys[i] === '__v' || keys[i] === '__o') && a.$$typeof) {
            // React-specific: avoid traversing React elements' _owner
            // Preact-specific: avoid traversing Preact elements' __v and __o
            //    __v = $_original / $_vnode
            //    __o = $_owner
            // These properties contain circular references and are not needed when
            // comparing the actual elements (and not their owners)
            // .$$typeof and ._store on just reasonable markers of elements
    
            continue;
          }
    
          // all other properties should be traversed as usual
          if (!equal(a[keys[i]], b[keys[i]])) return false;
        }
        // END: react-fast-compare
    
        // START: fast-deep-equal
        return true;
      }
    
      return a !== a && b !== b;
    }
    // end fast-deep-equal
    
    module.exports = function isEqual(a, b) {
      try {
        return equal(a, b);
      } catch (error) {
        if (((error.message || '').match(/stack|recursion/i))) {
          // warn on circular references, don't crash
          // browsers give this different errors name and messages:
          // chrome/safari: "RangeError", "Maximum call stack size exceeded"
          // firefox: "InternalError", too much recursion"
          // edge: "Error", "Out of stack space"
          console.warn('react-fast-compare cannot handle circular refs');
          return false;
        }
        // some other error. we should definitely know about these
        throw error;
      }
    };
    
    
    /***/ }),
    
    /***/ 30508:
    /*!********************************************************************************!*\
      !*** ./node_modules/_react-is@16.13.1@react-is/cjs/react-is.production.min.js ***!
      \********************************************************************************/
    /***/ (function(__unused_webpack_module, exports) {
    
    "use strict";
    /** @license React v16.13.1
     * react-is.production.min.js
     *
     * Copyright (c) Facebook, Inc. and its affiliates.
     *
     * This source code is licensed under the MIT license found in the
     * LICENSE file in the root directory of this source tree.
     */
    
    var b="function"===typeof Symbol&&Symbol.for,c=b?Symbol.for("react.element"):60103,d=b?Symbol.for("react.portal"):60106,e=b?Symbol.for("react.fragment"):60107,f=b?Symbol.for("react.strict_mode"):60108,g=b?Symbol.for("react.profiler"):60114,h=b?Symbol.for("react.provider"):60109,k=b?Symbol.for("react.context"):60110,l=b?Symbol.for("react.async_mode"):60111,m=b?Symbol.for("react.concurrent_mode"):60111,n=b?Symbol.for("react.forward_ref"):60112,p=b?Symbol.for("react.suspense"):60113,q=b?
    Symbol.for("react.suspense_list"):60120,r=b?Symbol.for("react.memo"):60115,t=b?Symbol.for("react.lazy"):60116,v=b?Symbol.for("react.block"):60121,w=b?Symbol.for("react.fundamental"):60117,x=b?Symbol.for("react.responder"):60118,y=b?Symbol.for("react.scope"):60119;
    function z(a){if("object"===typeof a&&null!==a){var u=a.$$typeof;switch(u){case c:switch(a=a.type,a){case l:case m:case e:case g:case f:case p:return a;default:switch(a=a&&a.$$typeof,a){case k:case n:case t:case r:case h:return a;default:return u}}case d:return u}}}function A(a){return z(a)===m}exports.AsyncMode=l;exports.ConcurrentMode=m;exports.ContextConsumer=k;exports.ContextProvider=h;exports.Element=c;exports.ForwardRef=n;exports.Fragment=e;exports.Lazy=t;exports.Memo=r;exports.Portal=d;
    exports.Profiler=g;exports.StrictMode=f;exports.Suspense=p;exports.isAsyncMode=function(a){return A(a)||z(a)===l};exports.isConcurrentMode=A;exports.isContextConsumer=function(a){return z(a)===k};exports.isContextProvider=function(a){return z(a)===h};exports.isElement=function(a){return"object"===typeof a&&null!==a&&a.$$typeof===c};exports.isForwardRef=function(a){return z(a)===n};exports.isFragment=function(a){return z(a)===e};exports.isLazy=function(a){return z(a)===t};
    exports.isMemo=function(a){return z(a)===r};exports.isPortal=function(a){return z(a)===d};exports.isProfiler=function(a){return z(a)===g};exports.isStrictMode=function(a){return z(a)===f};exports.isSuspense=function(a){return z(a)===p};
    exports.isValidElementType=function(a){return"string"===typeof a||"function"===typeof a||a===e||a===m||a===g||a===f||a===p||a===q||"object"===typeof a&&null!==a&&(a.$$typeof===t||a.$$typeof===r||a.$$typeof===h||a.$$typeof===k||a.$$typeof===n||a.$$typeof===w||a.$$typeof===x||a.$$typeof===y||a.$$typeof===v)};exports.typeOf=z;
    
    
    /***/ }),
    
    /***/ 99234:
    /*!**********************************************************!*\
      !*** ./node_modules/_react-is@16.13.1@react-is/index.js ***!
      \**********************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    
    if (true) {
      module.exports = __webpack_require__(/*! ./cjs/react-is.production.min.js */ 30508);
    } else {}
    
    
    /***/ }),
    
    /***/ 88172:
    /*!*******************************************************************************!*\
      !*** ./node_modules/_react-is@18.3.1@react-is/cjs/react-is.production.min.js ***!
      \*******************************************************************************/
    /***/ (function(__unused_webpack_module, exports) {
    
    "use strict";
    /**
     * @license React
     * react-is.production.min.js
     *
     * Copyright (c) Facebook, Inc. and its affiliates.
     *
     * This source code is licensed under the MIT license found in the
     * LICENSE file in the root directory of this source tree.
     */
    var b=Symbol.for("react.element"),c=Symbol.for("react.portal"),d=Symbol.for("react.fragment"),e=Symbol.for("react.strict_mode"),f=Symbol.for("react.profiler"),g=Symbol.for("react.provider"),h=Symbol.for("react.context"),k=Symbol.for("react.server_context"),l=Symbol.for("react.forward_ref"),m=Symbol.for("react.suspense"),n=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),q=Symbol.for("react.lazy"),t=Symbol.for("react.offscreen"),u;u=Symbol.for("react.module.reference");
    function v(a){if("object"===typeof a&&null!==a){var r=a.$$typeof;switch(r){case b:switch(a=a.type,a){case d:case f:case e:case m:case n:return a;default:switch(a=a&&a.$$typeof,a){case k:case h:case l:case q:case p:case g:return a;default:return r}}case c:return r}}}exports.ContextConsumer=h;exports.ContextProvider=g;exports.Element=b;exports.ForwardRef=l;exports.Fragment=d;exports.Lazy=q;exports.Memo=p;exports.Portal=c;exports.Profiler=f;exports.StrictMode=e;exports.Suspense=m;
    exports.SuspenseList=n;exports.isAsyncMode=function(){return!1};exports.isConcurrentMode=function(){return!1};exports.isContextConsumer=function(a){return v(a)===h};exports.isContextProvider=function(a){return v(a)===g};exports.isElement=function(a){return"object"===typeof a&&null!==a&&a.$$typeof===b};exports.isForwardRef=function(a){return v(a)===l};exports.isFragment=function(a){return v(a)===d};exports.isLazy=function(a){return v(a)===q};exports.isMemo=function(a){return v(a)===p};
    exports.isPortal=function(a){return v(a)===c};exports.isProfiler=function(a){return v(a)===f};exports.isStrictMode=function(a){return v(a)===e};exports.isSuspense=function(a){return v(a)===m};exports.isSuspenseList=function(a){return v(a)===n};
    exports.isValidElementType=function(a){return"string"===typeof a||"function"===typeof a||a===d||a===f||a===e||a===m||a===n||a===t||"object"===typeof a&&null!==a&&(a.$$typeof===q||a.$$typeof===p||a.$$typeof===g||a.$$typeof===h||a.$$typeof===l||a.$$typeof===u||void 0!==a.getModuleId)?!0:!1};exports.typeOf=v;
    
    
    /***/ }),
    
    /***/ 23265:
    /*!*********************************************************!*\
      !*** ./node_modules/_react-is@18.3.1@react-is/index.js ***!
      \*********************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    
    if (true) {
      module.exports = __webpack_require__(/*! ./cjs/react-is.production.min.js */ 88172);
    } else {}
    
    
    /***/ }),
    
    /***/ 32451:
    /*!************************************************************************!*\
      !*** ./node_modules/_react-router-dom@6.3.0@react-router-dom/index.js ***!
      \************************************************************************/
    /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
    
    "use strict";
    /* harmony export */ __webpack_require__.d(__webpack_exports__, {
    /* harmony export */   lr: function() { return /* binding */ useSearchParams; },
    /* harmony export */   rU: function() { return /* binding */ Link; }
    /* harmony export */ });
    /* unused harmony exports BrowserRouter, HashRouter, NavLink, createSearchParams, unstable_HistoryRouter, useLinkClickHandler */
    /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 59301);
    /* harmony import */ var react_router__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react-router */ 35338);
    /* harmony import */ var react_router__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react-router */ 19340);
    /**
     * React Router DOM v6.3.0
     *
     * Copyright (c) Remix Software Inc.
     *
     * This source code is licensed under the MIT license found in the
     * LICENSE.md file in the root directory of this source tree.
     *
     * @license MIT
     */
    
    
    
    
    
    function _extends() {
      _extends = Object.assign || function (target) {
        for (var i = 1; i < arguments.length; i++) {
          var source = arguments[i];
    
          for (var key in source) {
            if (Object.prototype.hasOwnProperty.call(source, key)) {
              target[key] = source[key];
            }
          }
        }
    
        return target;
      };
    
      return _extends.apply(this, arguments);
    }
    
    function _objectWithoutPropertiesLoose(source, excluded) {
      if (source == null) return {};
      var target = {};
      var sourceKeys = Object.keys(source);
      var key, i;
    
      for (i = 0; i < sourceKeys.length; i++) {
        key = sourceKeys[i];
        if (excluded.indexOf(key) >= 0) continue;
        target[key] = source[key];
      }
    
      return target;
    }
    
    const _excluded = ["onClick", "reloadDocument", "replace", "state", "target", "to"],
          _excluded2 = (/* unused pure expression or super */ null && (["aria-current", "caseSensitive", "className", "end", "style", "to", "children"]));
    
    function warning(cond, message) {
      if (!cond) {
        // eslint-disable-next-line no-console
        if (typeof console !== "undefined") console.warn(message);
    
        try {
          // Welcome to debugging React Router!
          //
          // This error is thrown as a convenience so you can more easily
          // find the source for a warning that appears in the console by
          // enabling "pause on exceptions" in your JavaScript debugger.
          throw new Error(message); // eslint-disable-next-line no-empty
        } catch (e) {}
      }
    } ////////////////////////////////////////////////////////////////////////////////
    // COMPONENTS
    ////////////////////////////////////////////////////////////////////////////////
    
    /**
     * A `<Router>` for use in web browsers. Provides the cleanest URLs.
     */
    function BrowserRouter(_ref) {
      let {
        basename,
        children,
        window
      } = _ref;
      let historyRef = useRef();
    
      if (historyRef.current == null) {
        historyRef.current = createBrowserHistory({
          window
        });
      }
    
      let history = historyRef.current;
      let [state, setState] = useState({
        action: history.action,
        location: history.location
      });
      useLayoutEffect(() => history.listen(setState), [history]);
      return /*#__PURE__*/createElement(Router, {
        basename: basename,
        children: children,
        location: state.location,
        navigationType: state.action,
        navigator: history
      });
    }
    
    /**
     * A `<Router>` for use in web browsers. Stores the location in the hash
     * portion of the URL so it is not sent to the server.
     */
    function HashRouter(_ref2) {
      let {
        basename,
        children,
        window
      } = _ref2;
      let historyRef = useRef();
    
      if (historyRef.current == null) {
        historyRef.current = createHashHistory({
          window
        });
      }
    
      let history = historyRef.current;
      let [state, setState] = useState({
        action: history.action,
        location: history.location
      });
      useLayoutEffect(() => history.listen(setState), [history]);
      return /*#__PURE__*/createElement(Router, {
        basename: basename,
        children: children,
        location: state.location,
        navigationType: state.action,
        navigator: history
      });
    }
    
    /**
     * A `<Router>` that accepts a pre-instantiated history object. It's important
     * to note that using your own history object is highly discouraged and may add
     * two versions of the history library to your bundles unless you use the same
     * version of the history library that React Router uses internally.
     */
    function HistoryRouter(_ref3) {
      let {
        basename,
        children,
        history
      } = _ref3;
      const [state, setState] = useState({
        action: history.action,
        location: history.location
      });
      useLayoutEffect(() => history.listen(setState), [history]);
      return /*#__PURE__*/createElement(Router, {
        basename: basename,
        children: children,
        location: state.location,
        navigationType: state.action,
        navigator: history
      });
    }
    
    if (false) {}
    
    function isModifiedEvent(event) {
      return !!(event.metaKey || event.altKey || event.ctrlKey || event.shiftKey);
    }
    
    /**
     * The public API for rendering a history-aware <a>.
     */
    const Link = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_0__.forwardRef)(function LinkWithRef(_ref4, ref) {
      let {
        onClick,
        reloadDocument,
        replace = false,
        state,
        target,
        to
      } = _ref4,
          rest = _objectWithoutPropertiesLoose(_ref4, _excluded);
    
      let href = (0,react_router__WEBPACK_IMPORTED_MODULE_1__/* .useHref */ .oQ)(to);
      let internalOnClick = useLinkClickHandler(to, {
        replace,
        state,
        target
      });
    
      function handleClick(event) {
        if (onClick) onClick(event);
    
        if (!event.defaultPrevented && !reloadDocument) {
          internalOnClick(event);
        }
      }
    
      return (
        /*#__PURE__*/
        // eslint-disable-next-line jsx-a11y/anchor-has-content
        (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("a", _extends({}, rest, {
          href: href,
          onClick: handleClick,
          ref: ref,
          target: target
        }))
      );
    });
    
    if (false) {}
    
    /**
     * A <Link> wrapper that knows if it's "active" or not.
     */
    const NavLink = /*#__PURE__*/(/* unused pure expression or super */ null && (forwardRef(function NavLinkWithRef(_ref5, ref) {
      let {
        "aria-current": ariaCurrentProp = "page",
        caseSensitive = false,
        className: classNameProp = "",
        end = false,
        style: styleProp,
        to,
        children
      } = _ref5,
          rest = _objectWithoutPropertiesLoose(_ref5, _excluded2);
    
      let location = useLocation();
      let path = useResolvedPath(to);
      let locationPathname = location.pathname;
      let toPathname = path.pathname;
    
      if (!caseSensitive) {
        locationPathname = locationPathname.toLowerCase();
        toPathname = toPathname.toLowerCase();
      }
    
      let isActive = locationPathname === toPathname || !end && locationPathname.startsWith(toPathname) && locationPathname.charAt(toPathname.length) === "/";
      let ariaCurrent = isActive ? ariaCurrentProp : undefined;
      let className;
    
      if (typeof classNameProp === "function") {
        className = classNameProp({
          isActive
        });
      } else {
        // If the className prop is not a function, we use a default `active`
        // class for <NavLink />s that are active. In v5 `active` was the default
        // value for `activeClassName`, but we are removing that API and can still
        // use the old default behavior for a cleaner upgrade path and keep the
        // simple styling rules working as they currently do.
        className = [classNameProp, isActive ? "active" : null].filter(Boolean).join(" ");
      }
    
      let style = typeof styleProp === "function" ? styleProp({
        isActive
      }) : styleProp;
      return /*#__PURE__*/createElement(Link, _extends({}, rest, {
        "aria-current": ariaCurrent,
        className: className,
        ref: ref,
        style: style,
        to: to
      }), typeof children === "function" ? children({
        isActive
      }) : children);
    })));
    
    if (false) {} ////////////////////////////////////////////////////////////////////////////////
    // HOOKS
    ////////////////////////////////////////////////////////////////////////////////
    
    /**
     * Handles the click behavior for router `<Link>` components. This is useful if
     * you need to create custom `<Link>` components with the same click behavior we
     * use in our exported `<Link>`.
     */
    
    
    function useLinkClickHandler(to, _temp) {
      let {
        target,
        replace: replaceProp,
        state
      } = _temp === void 0 ? {} : _temp;
      let navigate = (0,react_router__WEBPACK_IMPORTED_MODULE_1__/* .useNavigate */ .s0)();
      let location = (0,react_router__WEBPACK_IMPORTED_MODULE_1__/* .useLocation */ .TH)();
      let path = (0,react_router__WEBPACK_IMPORTED_MODULE_1__/* .useResolvedPath */ .WU)(to);
      return (0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)(event => {
        if (event.button === 0 && ( // Ignore everything but left clicks
        !target || target === "_self") && // Let browser handle "target=_blank" etc.
        !isModifiedEvent(event) // Ignore clicks with modifier keys
        ) {
          event.preventDefault(); // If the URL hasn't changed, a regular <a> will do a replace instead of
          // a push, so do the same here.
    
          let replace = !!replaceProp || (0,react_router__WEBPACK_IMPORTED_MODULE_2__/* .createPath */ .Ep)(location) === (0,react_router__WEBPACK_IMPORTED_MODULE_2__/* .createPath */ .Ep)(path);
          navigate(to, {
            replace,
            state
          });
        }
      }, [location, navigate, path, replaceProp, state, target, to]);
    }
    /**
     * A convenient wrapper for reading and writing search parameters via the
     * URLSearchParams interface.
     */
    
    function useSearchParams(defaultInit) {
       false ? 0 : void 0;
      let defaultSearchParamsRef = (0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(createSearchParams(defaultInit));
      let location = (0,react_router__WEBPACK_IMPORTED_MODULE_1__/* .useLocation */ .TH)();
      let searchParams = (0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)(() => {
        let searchParams = createSearchParams(location.search);
    
        for (let key of defaultSearchParamsRef.current.keys()) {
          if (!searchParams.has(key)) {
            defaultSearchParamsRef.current.getAll(key).forEach(value => {
              searchParams.append(key, value);
            });
          }
        }
    
        return searchParams;
      }, [location.search]);
      let navigate = (0,react_router__WEBPACK_IMPORTED_MODULE_1__/* .useNavigate */ .s0)();
      let setSearchParams = (0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)((nextInit, navigateOptions) => {
        navigate("?" + createSearchParams(nextInit), navigateOptions);
      }, [navigate]);
      return [searchParams, setSearchParams];
    }
    
    /**
     * Creates a URLSearchParams object using the given initializer.
     *
     * This is identical to `new URLSearchParams(init)` except it also
     * supports arrays as values in the object form of the initializer
     * instead of just strings. This is convenient when you need multiple
     * values for a given key, but don't want to use an array initializer.
     *
     * For example, instead of:
     *
     *   let searchParams = new URLSearchParams([
     *     ['sort', 'name'],
     *     ['sort', 'price']
     *   ]);
     *
     * you can do:
     *
     *   let searchParams = createSearchParams({
     *     sort: ['name', 'price']
     *   });
     */
    function createSearchParams(init) {
      if (init === void 0) {
        init = "";
      }
    
      return new URLSearchParams(typeof init === "string" || Array.isArray(init) || init instanceof URLSearchParams ? init : Object.keys(init).reduce((memo, key) => {
        let value = init[key];
        return memo.concat(Array.isArray(value) ? value.map(v => [key, v]) : [[key, value]]);
      }, []));
    }
    
    
    //# sourceMappingURL=index.js.map
    
    
    /***/ }),
    
    /***/ 35338:
    /*!****************************************************************!*\
      !*** ./node_modules/_react-router@6.3.0@react-router/index.js ***!
      \****************************************************************/
    /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
    
    "use strict";
    /* harmony export */ __webpack_require__.d(__webpack_exports__, {
    /* harmony export */   F0: function() { return /* binding */ Router; },
    /* harmony export */   Fg: function() { return /* binding */ Navigate; },
    /* harmony export */   Gn: function() { return /* binding */ generatePath; },
    /* harmony export */   TH: function() { return /* binding */ useLocation; },
    /* harmony export */   UO: function() { return /* binding */ useParams; },
    /* harmony export */   V$: function() { return /* binding */ useRoutes; },
    /* harmony export */   WU: function() { return /* binding */ useResolvedPath; },
    /* harmony export */   bS: function() { return /* binding */ useMatch; },
    /* harmony export */   bx: function() { return /* binding */ useOutletContext; },
    /* harmony export */   fp: function() { return /* binding */ matchRoutes; },
    /* harmony export */   j3: function() { return /* binding */ Outlet; },
    /* harmony export */   oQ: function() { return /* binding */ useHref; },
    /* harmony export */   s0: function() { return /* binding */ useNavigate; }
    /* harmony export */ });
    /* unused harmony exports MemoryRouter, Route, Routes, UNSAFE_LocationContext, UNSAFE_NavigationContext, UNSAFE_RouteContext, createRoutesFromChildren, matchPath, renderMatches, resolvePath, useInRouterContext, useNavigationType, useOutlet */
    /* harmony import */ var history__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! history */ 19340);
    /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 59301);
    /**
     * React Router v6.3.0
     *
     * Copyright (c) Remix Software Inc.
     *
     * This source code is licensed under the MIT license found in the
     * LICENSE.md file in the root directory of this source tree.
     *
     * @license MIT
     */
    
    
    
    
    const NavigationContext = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_0__.createContext)(null);
    
    if (false) {}
    
    const LocationContext = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_0__.createContext)(null);
    
    if (false) {}
    
    const RouteContext = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_0__.createContext)({
      outlet: null,
      matches: []
    });
    
    if (false) {}
    
    function invariant(cond, message) {
      if (!cond) throw new Error(message);
    }
    function warning(cond, message) {
      if (!cond) {
        // eslint-disable-next-line no-console
        if (typeof console !== "undefined") console.warn(message);
    
        try {
          // Welcome to debugging React Router!
          //
          // This error is thrown as a convenience so you can more easily
          // find the source for a warning that appears in the console by
          // enabling "pause on exceptions" in your JavaScript debugger.
          throw new Error(message); // eslint-disable-next-line no-empty
        } catch (e) {}
      }
    }
    const alreadyWarned = {};
    function warningOnce(key, cond, message) {
      if (!cond && !alreadyWarned[key]) {
        alreadyWarned[key] = true;
         false ? 0 : void 0;
      }
    }
    
    /**
     * Returns a path with params interpolated.
     *
     * @see https://reactrouter.com/docs/en/v6/api#generatepath
     */
    function generatePath(path, params) {
      if (params === void 0) {
        params = {};
      }
    
      return path.replace(/:(\w+)/g, (_, key) => {
        !(params[key] != null) ?  false ? 0 : invariant(false) : void 0;
        return params[key];
      }).replace(/\/*\*$/, _ => params["*"] == null ? "" : params["*"].replace(/^\/*/, "/"));
    }
    /**
     * A RouteMatch contains info about how a route matched a URL.
     */
    
    /**
     * Matches the given routes to a location and returns the match data.
     *
     * @see https://reactrouter.com/docs/en/v6/api#matchroutes
     */
    function matchRoutes(routes, locationArg, basename) {
      if (basename === void 0) {
        basename = "/";
      }
    
      let location = typeof locationArg === "string" ? (0,history__WEBPACK_IMPORTED_MODULE_1__/* .parsePath */ .cP)(locationArg) : locationArg;
      let pathname = stripBasename(location.pathname || "/", basename);
    
      if (pathname == null) {
        return null;
      }
    
      let branches = flattenRoutes(routes);
      rankRouteBranches(branches);
      let matches = null;
    
      for (let i = 0; matches == null && i < branches.length; ++i) {
        matches = matchRouteBranch(branches[i], pathname);
      }
    
      return matches;
    }
    
    function flattenRoutes(routes, branches, parentsMeta, parentPath) {
      if (branches === void 0) {
        branches = [];
      }
    
      if (parentsMeta === void 0) {
        parentsMeta = [];
      }
    
      if (parentPath === void 0) {
        parentPath = "";
      }
    
      routes.forEach((route, index) => {
        let meta = {
          relativePath: route.path || "",
          caseSensitive: route.caseSensitive === true,
          childrenIndex: index,
          route
        };
    
        if (meta.relativePath.startsWith("/")) {
          !meta.relativePath.startsWith(parentPath) ?  false ? 0 : invariant(false) : void 0;
          meta.relativePath = meta.relativePath.slice(parentPath.length);
        }
    
        let path = joinPaths([parentPath, meta.relativePath]);
        let routesMeta = parentsMeta.concat(meta); // Add the children before adding this route to the array so we traverse the
        // route tree depth-first and child routes appear before their parents in
        // the "flattened" version.
    
        if (route.children && route.children.length > 0) {
          !(route.index !== true) ?  false ? 0 : invariant(false) : void 0;
          flattenRoutes(route.children, branches, routesMeta, path);
        } // Routes without a path shouldn't ever match by themselves unless they are
        // index routes, so don't add them to the list of possible branches.
    
    
        if (route.path == null && !route.index) {
          return;
        }
    
        branches.push({
          path,
          score: computeScore(path, route.index),
          routesMeta
        });
      });
      return branches;
    }
    
    function rankRouteBranches(branches) {
      branches.sort((a, b) => a.score !== b.score ? b.score - a.score // Higher score first
      : compareIndexes(a.routesMeta.map(meta => meta.childrenIndex), b.routesMeta.map(meta => meta.childrenIndex)));
    }
    
    const paramRe = /^:\w+$/;
    const dynamicSegmentValue = 3;
    const indexRouteValue = 2;
    const emptySegmentValue = 1;
    const staticSegmentValue = 10;
    const splatPenalty = -2;
    
    const isSplat = s => s === "*";
    
    function computeScore(path, index) {
      let segments = path.split("/");
      let initialScore = segments.length;
    
      if (segments.some(isSplat)) {
        initialScore += splatPenalty;
      }
    
      if (index) {
        initialScore += indexRouteValue;
      }
    
      return segments.filter(s => !isSplat(s)).reduce((score, segment) => score + (paramRe.test(segment) ? dynamicSegmentValue : segment === "" ? emptySegmentValue : staticSegmentValue), initialScore);
    }
    
    function compareIndexes(a, b) {
      let siblings = a.length === b.length && a.slice(0, -1).every((n, i) => n === b[i]);
      return siblings ? // If two routes are siblings, we should try to match the earlier sibling
      // first. This allows people to have fine-grained control over the matching
      // behavior by simply putting routes with identical paths in the order they
      // want them tried.
      a[a.length - 1] - b[b.length - 1] : // Otherwise, it doesn't really make sense to rank non-siblings by index,
      // so they sort equally.
      0;
    }
    
    function matchRouteBranch(branch, pathname) {
      let {
        routesMeta
      } = branch;
      let matchedParams = {};
      let matchedPathname = "/";
      let matches = [];
    
      for (let i = 0; i < routesMeta.length; ++i) {
        let meta = routesMeta[i];
        let end = i === routesMeta.length - 1;
        let remainingPathname = matchedPathname === "/" ? pathname : pathname.slice(matchedPathname.length) || "/";
        let match = matchPath({
          path: meta.relativePath,
          caseSensitive: meta.caseSensitive,
          end
        }, remainingPathname);
        if (!match) return null;
        Object.assign(matchedParams, match.params);
        let route = meta.route;
        matches.push({
          params: matchedParams,
          pathname: joinPaths([matchedPathname, match.pathname]),
          pathnameBase: normalizePathname(joinPaths([matchedPathname, match.pathnameBase])),
          route
        });
    
        if (match.pathnameBase !== "/") {
          matchedPathname = joinPaths([matchedPathname, match.pathnameBase]);
        }
      }
    
      return matches;
    }
    /**
     * A PathPattern is used to match on some portion of a URL pathname.
     */
    
    
    /**
     * Performs pattern matching on a URL pathname and returns information about
     * the match.
     *
     * @see https://reactrouter.com/docs/en/v6/api#matchpath
     */
    function matchPath(pattern, pathname) {
      if (typeof pattern === "string") {
        pattern = {
          path: pattern,
          caseSensitive: false,
          end: true
        };
      }
    
      let [matcher, paramNames] = compilePath(pattern.path, pattern.caseSensitive, pattern.end);
      let match = pathname.match(matcher);
      if (!match) return null;
      let matchedPathname = match[0];
      let pathnameBase = matchedPathname.replace(/(.)\/+$/, "$1");
      let captureGroups = match.slice(1);
      let params = paramNames.reduce((memo, paramName, index) => {
        // We need to compute the pathnameBase here using the raw splat value
        // instead of using params["*"] later because it will be decoded then
        if (paramName === "*") {
          let splatValue = captureGroups[index] || "";
          pathnameBase = matchedPathname.slice(0, matchedPathname.length - splatValue.length).replace(/(.)\/+$/, "$1");
        }
    
        memo[paramName] = safelyDecodeURIComponent(captureGroups[index] || "", paramName);
        return memo;
      }, {});
      return {
        params,
        pathname: matchedPathname,
        pathnameBase,
        pattern
      };
    }
    
    function compilePath(path, caseSensitive, end) {
      if (caseSensitive === void 0) {
        caseSensitive = false;
      }
    
      if (end === void 0) {
        end = true;
      }
    
       false ? 0 : void 0;
      let paramNames = [];
      let regexpSource = "^" + path.replace(/\/*\*?$/, "") // Ignore trailing / and /*, we'll handle it below
      .replace(/^\/*/, "/") // Make sure it has a leading /
      .replace(/[\\.*+^$?{}|()[\]]/g, "\\$&") // Escape special regex chars
      .replace(/:(\w+)/g, (_, paramName) => {
        paramNames.push(paramName);
        return "([^\\/]+)";
      });
    
      if (path.endsWith("*")) {
        paramNames.push("*");
        regexpSource += path === "*" || path === "/*" ? "(.*)$" // Already matched the initial /, just match the rest
        : "(?:\\/(.+)|\\/*)$"; // Don't include the / in params["*"]
      } else {
        regexpSource += end ? "\\/*$" // When matching to the end, ignore trailing slashes
        : // Otherwise, match a word boundary or a proceeding /. The word boundary restricts
        // parent routes to matching only their own words and nothing more, e.g. parent
        // route "/home" should not match "/home2".
        // Additionally, allow paths starting with `.`, `-`, `~`, and url-encoded entities,
        // but do not consume the character in the matched path so they can match against
        // nested paths.
        "(?:(?=[.~-]|%[0-9A-F]{2})|\\b|\\/|$)";
      }
    
      let matcher = new RegExp(regexpSource, caseSensitive ? undefined : "i");
      return [matcher, paramNames];
    }
    
    function safelyDecodeURIComponent(value, paramName) {
      try {
        return decodeURIComponent(value);
      } catch (error) {
         false ? 0 : void 0;
        return value;
      }
    }
    /**
     * Returns a resolved path object relative to the given pathname.
     *
     * @see https://reactrouter.com/docs/en/v6/api#resolvepath
     */
    
    
    function resolvePath(to, fromPathname) {
      if (fromPathname === void 0) {
        fromPathname = "/";
      }
    
      let {
        pathname: toPathname,
        search = "",
        hash = ""
      } = typeof to === "string" ? (0,history__WEBPACK_IMPORTED_MODULE_1__/* .parsePath */ .cP)(to) : to;
      let pathname = toPathname ? toPathname.startsWith("/") ? toPathname : resolvePathname(toPathname, fromPathname) : fromPathname;
      return {
        pathname,
        search: normalizeSearch(search),
        hash: normalizeHash(hash)
      };
    }
    
    function resolvePathname(relativePath, fromPathname) {
      let segments = fromPathname.replace(/\/+$/, "").split("/");
      let relativeSegments = relativePath.split("/");
      relativeSegments.forEach(segment => {
        if (segment === "..") {
          // Keep the root "" segment so the pathname starts at /
          if (segments.length > 1) segments.pop();
        } else if (segment !== ".") {
          segments.push(segment);
        }
      });
      return segments.length > 1 ? segments.join("/") : "/";
    }
    
    function resolveTo(toArg, routePathnames, locationPathname) {
      let to = typeof toArg === "string" ? (0,history__WEBPACK_IMPORTED_MODULE_1__/* .parsePath */ .cP)(toArg) : toArg;
      let toPathname = toArg === "" || to.pathname === "" ? "/" : to.pathname; // If a pathname is explicitly provided in `to`, it should be relative to the
      // route context. This is explained in `Note on `<Link to>` values` in our
      // migration guide from v5 as a means of disambiguation between `to` values
      // that begin with `/` and those that do not. However, this is problematic for
      // `to` values that do not provide a pathname. `to` can simply be a search or
      // hash string, in which case we should assume that the navigation is relative
      // to the current location's pathname and *not* the route pathname.
    
      let from;
    
      if (toPathname == null) {
        from = locationPathname;
      } else {
        let routePathnameIndex = routePathnames.length - 1;
    
        if (toPathname.startsWith("..")) {
          let toSegments = toPathname.split("/"); // Each leading .. segment means "go up one route" instead of "go up one
          // URL segment".  This is a key difference from how <a href> works and a
          // major reason we call this a "to" value instead of a "href".
    
          while (toSegments[0] === "..") {
            toSegments.shift();
            routePathnameIndex -= 1;
          }
    
          to.pathname = toSegments.join("/");
        } // If there are more ".." segments than parent routes, resolve relative to
        // the root / URL.
    
    
        from = routePathnameIndex >= 0 ? routePathnames[routePathnameIndex] : "/";
      }
    
      let path = resolvePath(to, from); // Ensure the pathname has a trailing slash if the original to value had one.
    
      if (toPathname && toPathname !== "/" && toPathname.endsWith("/") && !path.pathname.endsWith("/")) {
        path.pathname += "/";
      }
    
      return path;
    }
    function getToPathname(to) {
      // Empty strings should be treated the same as / paths
      return to === "" || to.pathname === "" ? "/" : typeof to === "string" ? (0,history__WEBPACK_IMPORTED_MODULE_1__/* .parsePath */ .cP)(to).pathname : to.pathname;
    }
    function stripBasename(pathname, basename) {
      if (basename === "/") return pathname;
    
      if (!pathname.toLowerCase().startsWith(basename.toLowerCase())) {
        return null;
      }
    
      let nextChar = pathname.charAt(basename.length);
    
      if (nextChar && nextChar !== "/") {
        // pathname does not start with basename/
        return null;
      }
    
      return pathname.slice(basename.length) || "/";
    }
    const joinPaths = paths => paths.join("/").replace(/\/\/+/g, "/");
    const normalizePathname = pathname => pathname.replace(/\/+$/, "").replace(/^\/*/, "/");
    
    const normalizeSearch = search => !search || search === "?" ? "" : search.startsWith("?") ? search : "?" + search;
    
    const normalizeHash = hash => !hash || hash === "#" ? "" : hash.startsWith("#") ? hash : "#" + hash;
    
    /**
     * Returns the full href for the given "to" value. This is useful for building
     * custom links that are also accessible and preserve right-click behavior.
     *
     * @see https://reactrouter.com/docs/en/v6/api#usehref
     */
    
    function useHref(to) {
      !useInRouterContext() ?  false ? 0 : invariant(false) : void 0;
      let {
        basename,
        navigator
      } = (0,react__WEBPACK_IMPORTED_MODULE_0__.useContext)(NavigationContext);
      let {
        hash,
        pathname,
        search
      } = useResolvedPath(to);
      let joinedPathname = pathname;
    
      if (basename !== "/") {
        let toPathname = getToPathname(to);
        let endsWithSlash = toPathname != null && toPathname.endsWith("/");
        joinedPathname = pathname === "/" ? basename + (endsWithSlash ? "/" : "") : joinPaths([basename, pathname]);
      }
    
      return navigator.createHref({
        pathname: joinedPathname,
        search,
        hash
      });
    }
    /**
     * Returns true if this component is a descendant of a <Router>.
     *
     * @see https://reactrouter.com/docs/en/v6/api#useinroutercontext
     */
    
    function useInRouterContext() {
      return (0,react__WEBPACK_IMPORTED_MODULE_0__.useContext)(LocationContext) != null;
    }
    /**
     * Returns the current location object, which represents the current URL in web
     * browsers.
     *
     * Note: If you're using this it may mean you're doing some of your own
     * "routing" in your app, and we'd like to know what your use case is. We may
     * be able to provide something higher-level to better suit your needs.
     *
     * @see https://reactrouter.com/docs/en/v6/api#uselocation
     */
    
    function useLocation() {
      !useInRouterContext() ?  false ? 0 : invariant(false) : void 0;
      return (0,react__WEBPACK_IMPORTED_MODULE_0__.useContext)(LocationContext).location;
    }
    /**
     * Returns the current navigation action which describes how the router came to
     * the current location, either by a pop, push, or replace on the history stack.
     *
     * @see https://reactrouter.com/docs/en/v6/api#usenavigationtype
     */
    
    function useNavigationType() {
      return useContext(LocationContext).navigationType;
    }
    /**
     * Returns true if the URL for the given "to" value matches the current URL.
     * This is useful for components that need to know "active" state, e.g.
     * <NavLink>.
     *
     * @see https://reactrouter.com/docs/en/v6/api#usematch
     */
    
    function useMatch(pattern) {
      !useInRouterContext() ?  false ? 0 : invariant(false) : void 0;
      let {
        pathname
      } = useLocation();
      return (0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)(() => matchPath(pattern, pathname), [pathname, pattern]);
    }
    /**
     * The interface for the navigate() function returned from useNavigate().
     */
    
    /**
     * Returns an imperative method for changing the location. Used by <Link>s, but
     * may also be used by other elements to change the location.
     *
     * @see https://reactrouter.com/docs/en/v6/api#usenavigate
     */
    function useNavigate() {
      !useInRouterContext() ?  false ? 0 : invariant(false) : void 0;
      let {
        basename,
        navigator
      } = (0,react__WEBPACK_IMPORTED_MODULE_0__.useContext)(NavigationContext);
      let {
        matches
      } = (0,react__WEBPACK_IMPORTED_MODULE_0__.useContext)(RouteContext);
      let {
        pathname: locationPathname
      } = useLocation();
      let routePathnamesJson = JSON.stringify(matches.map(match => match.pathnameBase));
      let activeRef = (0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(false);
      (0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(() => {
        activeRef.current = true;
      });
      let navigate = (0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)(function (to, options) {
        if (options === void 0) {
          options = {};
        }
    
         false ? 0 : void 0;
        if (!activeRef.current) return;
    
        if (typeof to === "number") {
          navigator.go(to);
          return;
        }
    
        let path = resolveTo(to, JSON.parse(routePathnamesJson), locationPathname);
    
        if (basename !== "/") {
          path.pathname = joinPaths([basename, path.pathname]);
        }
    
        (!!options.replace ? navigator.replace : navigator.push)(path, options.state);
      }, [basename, navigator, routePathnamesJson, locationPathname]);
      return navigate;
    }
    const OutletContext = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_0__.createContext)(null);
    /**
     * Returns the context (if provided) for the child route at this level of the route
     * hierarchy.
     * @see https://reactrouter.com/docs/en/v6/api#useoutletcontext
     */
    
    function useOutletContext() {
      return (0,react__WEBPACK_IMPORTED_MODULE_0__.useContext)(OutletContext);
    }
    /**
     * Returns the element for the child route at this level of the route
     * hierarchy. Used internally by <Outlet> to render child routes.
     *
     * @see https://reactrouter.com/docs/en/v6/api#useoutlet
     */
    
    function useOutlet(context) {
      let outlet = (0,react__WEBPACK_IMPORTED_MODULE_0__.useContext)(RouteContext).outlet;
    
      if (outlet) {
        return /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(OutletContext.Provider, {
          value: context
        }, outlet);
      }
    
      return outlet;
    }
    /**
     * Returns an object of key/value pairs of the dynamic params from the current
     * URL that were matched by the route path.
     *
     * @see https://reactrouter.com/docs/en/v6/api#useparams
     */
    
    function useParams() {
      let {
        matches
      } = (0,react__WEBPACK_IMPORTED_MODULE_0__.useContext)(RouteContext);
      let routeMatch = matches[matches.length - 1];
      return routeMatch ? routeMatch.params : {};
    }
    /**
     * Resolves the pathname of the given `to` value against the current location.
     *
     * @see https://reactrouter.com/docs/en/v6/api#useresolvedpath
     */
    
    function useResolvedPath(to) {
      let {
        matches
      } = (0,react__WEBPACK_IMPORTED_MODULE_0__.useContext)(RouteContext);
      let {
        pathname: locationPathname
      } = useLocation();
      let routePathnamesJson = JSON.stringify(matches.map(match => match.pathnameBase));
      return (0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)(() => resolveTo(to, JSON.parse(routePathnamesJson), locationPathname), [to, routePathnamesJson, locationPathname]);
    }
    /**
     * Returns the element of the route that matched the current location, prepared
     * with the correct context to render the remainder of the route tree. Route
     * elements in the tree must render an <Outlet> to render their child route's
     * element.
     *
     * @see https://reactrouter.com/docs/en/v6/api#useroutes
     */
    
    function useRoutes(routes, locationArg) {
      !useInRouterContext() ?  false ? 0 : invariant(false) : void 0;
      let {
        matches: parentMatches
      } = (0,react__WEBPACK_IMPORTED_MODULE_0__.useContext)(RouteContext);
      let routeMatch = parentMatches[parentMatches.length - 1];
      let parentParams = routeMatch ? routeMatch.params : {};
      let parentPathname = routeMatch ? routeMatch.pathname : "/";
      let parentPathnameBase = routeMatch ? routeMatch.pathnameBase : "/";
      let parentRoute = routeMatch && routeMatch.route;
    
      if (false) {}
    
      let locationFromContext = useLocation();
      let location;
    
      if (locationArg) {
        var _parsedLocationArg$pa;
    
        let parsedLocationArg = typeof locationArg === "string" ? (0,history__WEBPACK_IMPORTED_MODULE_1__/* .parsePath */ .cP)(locationArg) : locationArg;
        !(parentPathnameBase === "/" || ((_parsedLocationArg$pa = parsedLocationArg.pathname) == null ? void 0 : _parsedLocationArg$pa.startsWith(parentPathnameBase))) ?  false ? 0 : invariant(false) : void 0;
        location = parsedLocationArg;
      } else {
        location = locationFromContext;
      }
    
      let pathname = location.pathname || "/";
      let remainingPathname = parentPathnameBase === "/" ? pathname : pathname.slice(parentPathnameBase.length) || "/";
      let matches = matchRoutes(routes, {
        pathname: remainingPathname
      });
    
      if (false) {}
    
      return _renderMatches(matches && matches.map(match => Object.assign({}, match, {
        params: Object.assign({}, parentParams, match.params),
        pathname: joinPaths([parentPathnameBase, match.pathname]),
        pathnameBase: match.pathnameBase === "/" ? parentPathnameBase : joinPaths([parentPathnameBase, match.pathnameBase])
      })), parentMatches);
    }
    function _renderMatches(matches, parentMatches) {
      if (parentMatches === void 0) {
        parentMatches = [];
      }
    
      if (matches == null) return null;
      return matches.reduceRight((outlet, match, index) => {
        return /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(RouteContext.Provider, {
          children: match.route.element !== undefined ? match.route.element : outlet,
          value: {
            outlet,
            matches: parentMatches.concat(matches.slice(0, index + 1))
          }
        });
      }, null);
    }
    
    /**
     * A <Router> that stores all entries in memory.
     *
     * @see https://reactrouter.com/docs/en/v6/api#memoryrouter
     */
    function MemoryRouter(_ref) {
      let {
        basename,
        children,
        initialEntries,
        initialIndex
      } = _ref;
      let historyRef = useRef();
    
      if (historyRef.current == null) {
        historyRef.current = createMemoryHistory({
          initialEntries,
          initialIndex
        });
      }
    
      let history = historyRef.current;
      let [state, setState] = useState({
        action: history.action,
        location: history.location
      });
      useLayoutEffect(() => history.listen(setState), [history]);
      return /*#__PURE__*/createElement(Router, {
        basename: basename,
        children: children,
        location: state.location,
        navigationType: state.action,
        navigator: history
      });
    }
    
    /**
     * Changes the current location.
     *
     * Note: This API is mostly useful in React.Component subclasses that are not
     * able to use hooks. In functional components, we recommend you use the
     * `useNavigate` hook instead.
     *
     * @see https://reactrouter.com/docs/en/v6/api#navigate
     */
    function Navigate(_ref2) {
      let {
        to,
        replace,
        state
      } = _ref2;
      !useInRouterContext() ?  false ? 0 : invariant(false) : void 0;
       false ? 0 : void 0;
      let navigate = useNavigate();
      (0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(() => {
        navigate(to, {
          replace,
          state
        });
      });
      return null;
    }
    
    /**
     * Renders the child route's element, if there is one.
     *
     * @see https://reactrouter.com/docs/en/v6/api#outlet
     */
    function Outlet(props) {
      return useOutlet(props.context);
    }
    
    /**
     * Declares an element that should be rendered at a certain URL path.
     *
     * @see https://reactrouter.com/docs/en/v6/api#route
     */
    function Route(_props) {
        false ? 0 : invariant(false) ;
    }
    
    /**
     * Provides location context for the rest of the app.
     *
     * Note: You usually won't render a <Router> directly. Instead, you'll render a
     * router that is more specific to your environment such as a <BrowserRouter>
     * in web browsers or a <StaticRouter> for server rendering.
     *
     * @see https://reactrouter.com/docs/en/v6/api#router
     */
    function Router(_ref3) {
      let {
        basename: basenameProp = "/",
        children = null,
        location: locationProp,
        navigationType = history__WEBPACK_IMPORTED_MODULE_1__/* .Action */ .aU.Pop,
        navigator,
        static: staticProp = false
      } = _ref3;
      !!useInRouterContext() ?  false ? 0 : invariant(false) : void 0;
      let basename = normalizePathname(basenameProp);
      let navigationContext = (0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)(() => ({
        basename,
        navigator,
        static: staticProp
      }), [basename, navigator, staticProp]);
    
      if (typeof locationProp === "string") {
        locationProp = (0,history__WEBPACK_IMPORTED_MODULE_1__/* .parsePath */ .cP)(locationProp);
      }
    
      let {
        pathname = "/",
        search = "",
        hash = "",
        state = null,
        key = "default"
      } = locationProp;
      let location = (0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)(() => {
        let trailingPathname = stripBasename(pathname, basename);
    
        if (trailingPathname == null) {
          return null;
        }
    
        return {
          pathname: trailingPathname,
          search,
          hash,
          state,
          key
        };
      }, [basename, pathname, search, hash, state, key]);
       false ? 0 : void 0;
    
      if (location == null) {
        return null;
      }
    
      return /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(NavigationContext.Provider, {
        value: navigationContext
      }, /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(LocationContext.Provider, {
        children: children,
        value: {
          location,
          navigationType
        }
      }));
    }
    
    /**
     * A container for a nested tree of <Route> elements that renders the branch
     * that best matches the current location.
     *
     * @see https://reactrouter.com/docs/en/v6/api#routes
     */
    function Routes(_ref4) {
      let {
        children,
        location
      } = _ref4;
      return useRoutes(createRoutesFromChildren(children), location);
    } ///////////////////////////////////////////////////////////////////////////////
    // UTILS
    ///////////////////////////////////////////////////////////////////////////////
    
    /**
     * Creates a route config from a React "children" object, which is usually
     * either a `<Route>` element or an array of them. Used internally by
     * `<Routes>` to create a route config from its children.
     *
     * @see https://reactrouter.com/docs/en/v6/api#createroutesfromchildren
     */
    
    function createRoutesFromChildren(children) {
      let routes = [];
      Children.forEach(children, element => {
        if (! /*#__PURE__*/isValidElement(element)) {
          // Ignore non-elements. This allows people to more easily inline
          // conditionals in their route config.
          return;
        }
    
        if (element.type === Fragment) {
          // Transparently support React.Fragment and its children.
          routes.push.apply(routes, createRoutesFromChildren(element.props.children));
          return;
        }
    
        !(element.type === Route) ?  false ? 0 : invariant(false) : void 0;
        let route = {
          caseSensitive: element.props.caseSensitive,
          element: element.props.element,
          index: element.props.index,
          path: element.props.path
        };
    
        if (element.props.children) {
          route.children = createRoutesFromChildren(element.props.children);
        }
    
        routes.push(route);
      });
      return routes;
    }
    /**
     * Renders the result of `matchRoutes()` into a React element.
     */
    
    function renderMatches(matches) {
      return _renderMatches(matches);
    }
    
    
    //# sourceMappingURL=index.js.map
    
    
    /***/ }),
    
    /***/ 19524:
    /*!**********************************************************************************!*\
      !*** ./node_modules/_react@17.0.2@react/cjs/react-jsx-runtime.production.min.js ***!
      \**********************************************************************************/
    /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
    
    "use strict";
    /** @license React v17.0.2
     * react-jsx-runtime.production.min.js
     *
     * Copyright (c) Facebook, Inc. and its affiliates.
     *
     * This source code is licensed under the MIT license found in the
     * LICENSE file in the root directory of this source tree.
     */
    __webpack_require__(/*! object-assign */ 84126);var f=__webpack_require__(/*! react */ 59301),g=60103;exports.Fragment=60107;if("function"===typeof Symbol&&Symbol.for){var h=Symbol.for;g=h("react.element");exports.Fragment=h("react.fragment")}var m=f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,n=Object.prototype.hasOwnProperty,p={key:!0,ref:!0,__self:!0,__source:!0};
    function q(c,a,k){var b,d={},e=null,l=null;void 0!==k&&(e=""+k);void 0!==a.key&&(e=""+a.key);void 0!==a.ref&&(l=a.ref);for(b in a)n.call(a,b)&&!p.hasOwnProperty(b)&&(d[b]=a[b]);if(c&&c.defaultProps)for(b in a=c.defaultProps,a)void 0===d[b]&&(d[b]=a[b]);return{$$typeof:g,type:c,key:e,ref:l,props:d,_owner:m.current}}exports.jsx=q;exports.jsxs=q;
    
    
    /***/ }),
    
    /***/ 76100:
    /*!**********************************************************************!*\
      !*** ./node_modules/_react@17.0.2@react/cjs/react.production.min.js ***!
      \**********************************************************************/
    /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
    
    "use strict";
    /** @license React v17.0.2
     * react.production.min.js
     *
     * Copyright (c) Facebook, Inc. and its affiliates.
     *
     * This source code is licensed under the MIT license found in the
     * LICENSE file in the root directory of this source tree.
     */
    var l=__webpack_require__(/*! object-assign */ 84126),n=60103,p=60106;exports.Fragment=60107;exports.StrictMode=60108;exports.Profiler=60114;var q=60109,r=60110,t=60112;exports.Suspense=60113;var u=60115,v=60116;
    if("function"===typeof Symbol&&Symbol.for){var w=Symbol.for;n=w("react.element");p=w("react.portal");exports.Fragment=w("react.fragment");exports.StrictMode=w("react.strict_mode");exports.Profiler=w("react.profiler");q=w("react.provider");r=w("react.context");t=w("react.forward_ref");exports.Suspense=w("react.suspense");u=w("react.memo");v=w("react.lazy")}var x="function"===typeof Symbol&&Symbol.iterator;
    function y(a){if(null===a||"object"!==typeof a)return null;a=x&&a[x]||a["@@iterator"];return"function"===typeof a?a:null}function z(a){for(var b="https://reactjs.org/docs/error-decoder.html?invariant="+a,c=1;c<arguments.length;c++)b+="&args[]="+encodeURIComponent(arguments[c]);return"Minified React error #"+a+"; visit "+b+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}
    var A={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},B={};function C(a,b,c){this.props=a;this.context=b;this.refs=B;this.updater=c||A}C.prototype.isReactComponent={};C.prototype.setState=function(a,b){if("object"!==typeof a&&"function"!==typeof a&&null!=a)throw Error(z(85));this.updater.enqueueSetState(this,a,b,"setState")};C.prototype.forceUpdate=function(a){this.updater.enqueueForceUpdate(this,a,"forceUpdate")};
    function D(){}D.prototype=C.prototype;function E(a,b,c){this.props=a;this.context=b;this.refs=B;this.updater=c||A}var F=E.prototype=new D;F.constructor=E;l(F,C.prototype);F.isPureReactComponent=!0;var G={current:null},H=Object.prototype.hasOwnProperty,I={key:!0,ref:!0,__self:!0,__source:!0};
    function J(a,b,c){var e,d={},k=null,h=null;if(null!=b)for(e in void 0!==b.ref&&(h=b.ref),void 0!==b.key&&(k=""+b.key),b)H.call(b,e)&&!I.hasOwnProperty(e)&&(d[e]=b[e]);var g=arguments.length-2;if(1===g)d.children=c;else if(1<g){for(var f=Array(g),m=0;m<g;m++)f[m]=arguments[m+2];d.children=f}if(a&&a.defaultProps)for(e in g=a.defaultProps,g)void 0===d[e]&&(d[e]=g[e]);return{$$typeof:n,type:a,key:k,ref:h,props:d,_owner:G.current}}
    function K(a,b){return{$$typeof:n,type:a.type,key:b,ref:a.ref,props:a.props,_owner:a._owner}}function L(a){return"object"===typeof a&&null!==a&&a.$$typeof===n}function escape(a){var b={"=":"=0",":":"=2"};return"$"+a.replace(/[=:]/g,function(a){return b[a]})}var M=/\/+/g;function N(a,b){return"object"===typeof a&&null!==a&&null!=a.key?escape(""+a.key):b.toString(36)}
    function O(a,b,c,e,d){var k=typeof a;if("undefined"===k||"boolean"===k)a=null;var h=!1;if(null===a)h=!0;else switch(k){case "string":case "number":h=!0;break;case "object":switch(a.$$typeof){case n:case p:h=!0}}if(h)return h=a,d=d(h),a=""===e?"."+N(h,0):e,Array.isArray(d)?(c="",null!=a&&(c=a.replace(M,"$&/")+"/"),O(d,b,c,"",function(a){return a})):null!=d&&(L(d)&&(d=K(d,c+(!d.key||h&&h.key===d.key?"":(""+d.key).replace(M,"$&/")+"/")+a)),b.push(d)),1;h=0;e=""===e?".":e+":";if(Array.isArray(a))for(var g=
    0;g<a.length;g++){k=a[g];var f=e+N(k,g);h+=O(k,b,c,f,d)}else if(f=y(a),"function"===typeof f)for(a=f.call(a),g=0;!(k=a.next()).done;)k=k.value,f=e+N(k,g++),h+=O(k,b,c,f,d);else if("object"===k)throw b=""+a,Error(z(31,"[object Object]"===b?"object with keys {"+Object.keys(a).join(", ")+"}":b));return h}function P(a,b,c){if(null==a)return a;var e=[],d=0;O(a,e,"","",function(a){return b.call(c,a,d++)});return e}
    function Q(a){if(-1===a._status){var b=a._result;b=b();a._status=0;a._result=b;b.then(function(b){0===a._status&&(b=b.default,a._status=1,a._result=b)},function(b){0===a._status&&(a._status=2,a._result=b)})}if(1===a._status)return a._result;throw a._result;}var R={current:null};function S(){var a=R.current;if(null===a)throw Error(z(321));return a}var T={ReactCurrentDispatcher:R,ReactCurrentBatchConfig:{transition:0},ReactCurrentOwner:G,IsSomeRendererActing:{current:!1},assign:l};
    exports.Children={map:P,forEach:function(a,b,c){P(a,function(){b.apply(this,arguments)},c)},count:function(a){var b=0;P(a,function(){b++});return b},toArray:function(a){return P(a,function(a){return a})||[]},only:function(a){if(!L(a))throw Error(z(143));return a}};exports.Component=C;exports.PureComponent=E;exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=T;
    exports.cloneElement=function(a,b,c){if(null===a||void 0===a)throw Error(z(267,a));var e=l({},a.props),d=a.key,k=a.ref,h=a._owner;if(null!=b){void 0!==b.ref&&(k=b.ref,h=G.current);void 0!==b.key&&(d=""+b.key);if(a.type&&a.type.defaultProps)var g=a.type.defaultProps;for(f in b)H.call(b,f)&&!I.hasOwnProperty(f)&&(e[f]=void 0===b[f]&&void 0!==g?g[f]:b[f])}var f=arguments.length-2;if(1===f)e.children=c;else if(1<f){g=Array(f);for(var m=0;m<f;m++)g[m]=arguments[m+2];e.children=g}return{$$typeof:n,type:a.type,
    key:d,ref:k,props:e,_owner:h}};exports.createContext=function(a,b){void 0===b&&(b=null);a={$$typeof:r,_calculateChangedBits:b,_currentValue:a,_currentValue2:a,_threadCount:0,Provider:null,Consumer:null};a.Provider={$$typeof:q,_context:a};return a.Consumer=a};exports.createElement=J;exports.createFactory=function(a){var b=J.bind(null,a);b.type=a;return b};exports.createRef=function(){return{current:null}};exports.forwardRef=function(a){return{$$typeof:t,render:a}};exports.isValidElement=L;
    exports.lazy=function(a){return{$$typeof:v,_payload:{_status:-1,_result:a},_init:Q}};exports.memo=function(a,b){return{$$typeof:u,type:a,compare:void 0===b?null:b}};exports.useCallback=function(a,b){return S().useCallback(a,b)};exports.useContext=function(a,b){return S().useContext(a,b)};exports.useDebugValue=function(){};exports.useEffect=function(a,b){return S().useEffect(a,b)};exports.useImperativeHandle=function(a,b,c){return S().useImperativeHandle(a,b,c)};
    exports.useLayoutEffect=function(a,b){return S().useLayoutEffect(a,b)};exports.useMemo=function(a,b){return S().useMemo(a,b)};exports.useReducer=function(a,b,c){return S().useReducer(a,b,c)};exports.useRef=function(a){return S().useRef(a)};exports.useState=function(a){return S().useState(a)};exports.version="17.0.2";
    
    
    /***/ }),
    
    /***/ 59301:
    /*!***************************************************!*\
      !*** ./node_modules/_react@17.0.2@react/index.js ***!
      \***************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    
    if (true) {
      module.exports = __webpack_require__(/*! ./cjs/react.production.min.js */ 76100);
    } else {}
    
    
    /***/ }),
    
    /***/ 37712:
    /*!*********************************************************!*\
      !*** ./node_modules/_react@17.0.2@react/jsx-runtime.js ***!
      \*********************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    
    if (true) {
      module.exports = __webpack_require__(/*! ./cjs/react-jsx-runtime.production.min.js */ 19524);
    } else {}
    
    
    /***/ }),
    
    /***/ 59781:
    /*!*****************************************************!*\
      !*** ./node_modules/_redux@4.2.1@redux/es/redux.js ***!
      \*****************************************************/
    /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
    
    "use strict";
    /* harmony export */ __webpack_require__.d(__webpack_exports__, {
    /* harmony export */   DE: function() { return /* binding */ bindActionCreators; },
    /* harmony export */   MT: function() { return /* binding */ createStore; },
    /* harmony export */   UY: function() { return /* binding */ combineReducers; },
    /* harmony export */   md: function() { return /* binding */ applyMiddleware; },
    /* harmony export */   qC: function() { return /* binding */ compose; }
    /* harmony export */ });
    /* unused harmony exports __DO_NOT_USE__ActionTypes, legacy_createStore */
    /* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ 85899);
    
    
    /**
     * Adapted from React: https://github.com/facebook/react/blob/master/packages/shared/formatProdErrorMessage.js
     *
     * Do not require this module directly! Use normal throw error calls. These messages will be replaced with error codes
     * during build.
     * @param {number} code
     */
    function formatProdErrorMessage(code) {
      return "Minified Redux error #" + code + "; visit https://redux.js.org/Errors?code=" + code + " for the full message or " + 'use the non-minified dev environment for full errors. ';
    }
    
    // Inlined version of the `symbol-observable` polyfill
    var $$observable = (function () {
      return typeof Symbol === 'function' && Symbol.observable || '@@observable';
    })();
    
    /**
     * These are private action types reserved by Redux.
     * For any unknown actions, you must return the current state.
     * If the current state is undefined, you must return the initial state.
     * Do not reference these action types directly in your code.
     */
    var randomString = function randomString() {
      return Math.random().toString(36).substring(7).split('').join('.');
    };
    
    var ActionTypes = {
      INIT: "@@redux/INIT" + randomString(),
      REPLACE: "@@redux/REPLACE" + randomString(),
      PROBE_UNKNOWN_ACTION: function PROBE_UNKNOWN_ACTION() {
        return "@@redux/PROBE_UNKNOWN_ACTION" + randomString();
      }
    };
    
    /**
     * @param {any} obj The object to inspect.
     * @returns {boolean} True if the argument appears to be a plain object.
     */
    function isPlainObject(obj) {
      if (typeof obj !== 'object' || obj === null) return false;
      var proto = obj;
    
      while (Object.getPrototypeOf(proto) !== null) {
        proto = Object.getPrototypeOf(proto);
      }
    
      return Object.getPrototypeOf(obj) === proto;
    }
    
    // Inlined / shortened version of `kindOf` from https://github.com/jonschlinkert/kind-of
    function miniKindOf(val) {
      if (val === void 0) return 'undefined';
      if (val === null) return 'null';
      var type = typeof val;
    
      switch (type) {
        case 'boolean':
        case 'string':
        case 'number':
        case 'symbol':
        case 'function':
          {
            return type;
          }
      }
    
      if (Array.isArray(val)) return 'array';
      if (isDate(val)) return 'date';
      if (isError(val)) return 'error';
      var constructorName = ctorName(val);
    
      switch (constructorName) {
        case 'Symbol':
        case 'Promise':
        case 'WeakMap':
        case 'WeakSet':
        case 'Map':
        case 'Set':
          return constructorName;
      } // other
    
    
      return type.slice(8, -1).toLowerCase().replace(/\s/g, '');
    }
    
    function ctorName(val) {
      return typeof val.constructor === 'function' ? val.constructor.name : null;
    }
    
    function isError(val) {
      return val instanceof Error || typeof val.message === 'string' && val.constructor && typeof val.constructor.stackTraceLimit === 'number';
    }
    
    function isDate(val) {
      if (val instanceof Date) return true;
      return typeof val.toDateString === 'function' && typeof val.getDate === 'function' && typeof val.setDate === 'function';
    }
    
    function kindOf(val) {
      var typeOfVal = typeof val;
    
      if (false) {}
    
      return typeOfVal;
    }
    
    /**
     * @deprecated
     *
     * **We recommend using the `configureStore` method
     * of the `@reduxjs/toolkit` package**, which replaces `createStore`.
     *
     * Redux Toolkit is our recommended approach for writing Redux logic today,
     * including store setup, reducers, data fetching, and more.
     *
     * **For more details, please read this Redux docs page:**
     * **https://redux.js.org/introduction/why-rtk-is-redux-today**
     *
     * `configureStore` from Redux Toolkit is an improved version of `createStore` that
     * simplifies setup and helps avoid common bugs.
     *
     * You should not be using the `redux` core package by itself today, except for learning purposes.
     * The `createStore` method from the core `redux` package will not be removed, but we encourage
     * all users to migrate to using Redux Toolkit for all Redux code.
     *
     * If you want to use `createStore` without this visual deprecation warning, use
     * the `legacy_createStore` import instead:
     *
     * `import { legacy_createStore as createStore} from 'redux'`
     *
     */
    
    function createStore(reducer, preloadedState, enhancer) {
      var _ref2;
    
      if (typeof preloadedState === 'function' && typeof enhancer === 'function' || typeof enhancer === 'function' && typeof arguments[3] === 'function') {
        throw new Error( true ? formatProdErrorMessage(0) : 0);
      }
    
      if (typeof preloadedState === 'function' && typeof enhancer === 'undefined') {
        enhancer = preloadedState;
        preloadedState = undefined;
      }
    
      if (typeof enhancer !== 'undefined') {
        if (typeof enhancer !== 'function') {
          throw new Error( true ? formatProdErrorMessage(1) : 0);
        }
    
        return enhancer(createStore)(reducer, preloadedState);
      }
    
      if (typeof reducer !== 'function') {
        throw new Error( true ? formatProdErrorMessage(2) : 0);
      }
    
      var currentReducer = reducer;
      var currentState = preloadedState;
      var currentListeners = [];
      var nextListeners = currentListeners;
      var isDispatching = false;
      /**
       * This makes a shallow copy of currentListeners so we can use
       * nextListeners as a temporary list while dispatching.
       *
       * This prevents any bugs around consumers calling
       * subscribe/unsubscribe in the middle of a dispatch.
       */
    
      function ensureCanMutateNextListeners() {
        if (nextListeners === currentListeners) {
          nextListeners = currentListeners.slice();
        }
      }
      /**
       * Reads the state tree managed by the store.
       *
       * @returns {any} The current state tree of your application.
       */
    
    
      function getState() {
        if (isDispatching) {
          throw new Error( true ? formatProdErrorMessage(3) : 0);
        }
    
        return currentState;
      }
      /**
       * Adds a change listener. It will be called any time an action is dispatched,
       * and some part of the state tree may potentially have changed. You may then
       * call `getState()` to read the current state tree inside the callback.
       *
       * You may call `dispatch()` from a change listener, with the following
       * caveats:
       *
       * 1. The subscriptions are snapshotted just before every `dispatch()` call.
       * If you subscribe or unsubscribe while the listeners are being invoked, this
       * will not have any effect on the `dispatch()` that is currently in progress.
       * However, the next `dispatch()` call, whether nested or not, will use a more
       * recent snapshot of the subscription list.
       *
       * 2. The listener should not expect to see all state changes, as the state
       * might have been updated multiple times during a nested `dispatch()` before
       * the listener is called. It is, however, guaranteed that all subscribers
       * registered before the `dispatch()` started will be called with the latest
       * state by the time it exits.
       *
       * @param {Function} listener A callback to be invoked on every dispatch.
       * @returns {Function} A function to remove this change listener.
       */
    
    
      function subscribe(listener) {
        if (typeof listener !== 'function') {
          throw new Error( true ? formatProdErrorMessage(4) : 0);
        }
    
        if (isDispatching) {
          throw new Error( true ? formatProdErrorMessage(5) : 0);
        }
    
        var isSubscribed = true;
        ensureCanMutateNextListeners();
        nextListeners.push(listener);
        return function unsubscribe() {
          if (!isSubscribed) {
            return;
          }
    
          if (isDispatching) {
            throw new Error( true ? formatProdErrorMessage(6) : 0);
          }
    
          isSubscribed = false;
          ensureCanMutateNextListeners();
          var index = nextListeners.indexOf(listener);
          nextListeners.splice(index, 1);
          currentListeners = null;
        };
      }
      /**
       * Dispatches an action. It is the only way to trigger a state change.
       *
       * The `reducer` function, used to create the store, will be called with the
       * current state tree and the given `action`. Its return value will
       * be considered the **next** state of the tree, and the change listeners
       * will be notified.
       *
       * The base implementation only supports plain object actions. If you want to
       * dispatch a Promise, an Observable, a thunk, or something else, you need to
       * wrap your store creating function into the corresponding middleware. For
       * example, see the documentation for the `redux-thunk` package. Even the
       * middleware will eventually dispatch plain object actions using this method.
       *
       * @param {Object} action A plain object representing “what changed”. It is
       * a good idea to keep actions serializable so you can record and replay user
       * sessions, or use the time travelling `redux-devtools`. An action must have
       * a `type` property which may not be `undefined`. It is a good idea to use
       * string constants for action types.
       *
       * @returns {Object} For convenience, the same action object you dispatched.
       *
       * Note that, if you use a custom middleware, it may wrap `dispatch()` to
       * return something else (for example, a Promise you can await).
       */
    
    
      function dispatch(action) {
        if (!isPlainObject(action)) {
          throw new Error( true ? formatProdErrorMessage(7) : 0);
        }
    
        if (typeof action.type === 'undefined') {
          throw new Error( true ? formatProdErrorMessage(8) : 0);
        }
    
        if (isDispatching) {
          throw new Error( true ? formatProdErrorMessage(9) : 0);
        }
    
        try {
          isDispatching = true;
          currentState = currentReducer(currentState, action);
        } finally {
          isDispatching = false;
        }
    
        var listeners = currentListeners = nextListeners;
    
        for (var i = 0; i < listeners.length; i++) {
          var listener = listeners[i];
          listener();
        }
    
        return action;
      }
      /**
       * Replaces the reducer currently used by the store to calculate the state.
       *
       * You might need this if your app implements code splitting and you want to
       * load some of the reducers dynamically. You might also need this if you
       * implement a hot reloading mechanism for Redux.
       *
       * @param {Function} nextReducer The reducer for the store to use instead.
       * @returns {void}
       */
    
    
      function replaceReducer(nextReducer) {
        if (typeof nextReducer !== 'function') {
          throw new Error( true ? formatProdErrorMessage(10) : 0);
        }
    
        currentReducer = nextReducer; // This action has a similiar effect to ActionTypes.INIT.
        // Any reducers that existed in both the new and old rootReducer
        // will receive the previous state. This effectively populates
        // the new state tree with any relevant data from the old one.
    
        dispatch({
          type: ActionTypes.REPLACE
        });
      }
      /**
       * Interoperability point for observable/reactive libraries.
       * @returns {observable} A minimal observable of state changes.
       * For more information, see the observable proposal:
       * https://github.com/tc39/proposal-observable
       */
    
    
      function observable() {
        var _ref;
    
        var outerSubscribe = subscribe;
        return _ref = {
          /**
           * The minimal observable subscription method.
           * @param {Object} observer Any object that can be used as an observer.
           * The observer object should have a `next` method.
           * @returns {subscription} An object with an `unsubscribe` method that can
           * be used to unsubscribe the observable from the store, and prevent further
           * emission of values from the observable.
           */
          subscribe: function subscribe(observer) {
            if (typeof observer !== 'object' || observer === null) {
              throw new Error( true ? formatProdErrorMessage(11) : 0);
            }
    
            function observeState() {
              if (observer.next) {
                observer.next(getState());
              }
            }
    
            observeState();
            var unsubscribe = outerSubscribe(observeState);
            return {
              unsubscribe: unsubscribe
            };
          }
        }, _ref[$$observable] = function () {
          return this;
        }, _ref;
      } // When a store is created, an "INIT" action is dispatched so that every
      // reducer returns their initial state. This effectively populates
      // the initial state tree.
    
    
      dispatch({
        type: ActionTypes.INIT
      });
      return _ref2 = {
        dispatch: dispatch,
        subscribe: subscribe,
        getState: getState,
        replaceReducer: replaceReducer
      }, _ref2[$$observable] = observable, _ref2;
    }
    /**
     * Creates a Redux store that holds the state tree.
     *
     * **We recommend using `configureStore` from the
     * `@reduxjs/toolkit` package**, which replaces `createStore`:
     * **https://redux.js.org/introduction/why-rtk-is-redux-today**
     *
     * The only way to change the data in the store is to call `dispatch()` on it.
     *
     * There should only be a single store in your app. To specify how different
     * parts of the state tree respond to actions, you may combine several reducers
     * into a single reducer function by using `combineReducers`.
     *
     * @param {Function} reducer A function that returns the next state tree, given
     * the current state tree and the action to handle.
     *
     * @param {any} [preloadedState] The initial state. You may optionally specify it
     * to hydrate the state from the server in universal apps, or to restore a
     * previously serialized user session.
     * If you use `combineReducers` to produce the root reducer function, this must be
     * an object with the same shape as `combineReducers` keys.
     *
     * @param {Function} [enhancer] The store enhancer. You may optionally specify it
     * to enhance the store with third-party capabilities such as middleware,
     * time travel, persistence, etc. The only store enhancer that ships with Redux
     * is `applyMiddleware()`.
     *
     * @returns {Store} A Redux store that lets you read the state, dispatch actions
     * and subscribe to changes.
     */
    
    var legacy_createStore = (/* unused pure expression or super */ null && (createStore));
    
    /**
     * Prints a warning in the console if it exists.
     *
     * @param {String} message The warning message.
     * @returns {void}
     */
    function warning(message) {
      /* eslint-disable no-console */
      if (typeof console !== 'undefined' && typeof console.error === 'function') {
        console.error(message);
      }
      /* eslint-enable no-console */
    
    
      try {
        // This error was thrown as a convenience so that if you enable
        // "break on all exceptions" in your console,
        // it would pause the execution at this line.
        throw new Error(message);
      } catch (e) {} // eslint-disable-line no-empty
    
    }
    
    function getUnexpectedStateShapeWarningMessage(inputState, reducers, action, unexpectedKeyCache) {
      var reducerKeys = Object.keys(reducers);
      var argumentName = action && action.type === ActionTypes.INIT ? 'preloadedState argument passed to createStore' : 'previous state received by the reducer';
    
      if (reducerKeys.length === 0) {
        return 'Store does not have a valid reducer. Make sure the argument passed ' + 'to combineReducers is an object whose values are reducers.';
      }
    
      if (!isPlainObject(inputState)) {
        return "The " + argumentName + " has unexpected type of \"" + kindOf(inputState) + "\". Expected argument to be an object with the following " + ("keys: \"" + reducerKeys.join('", "') + "\"");
      }
    
      var unexpectedKeys = Object.keys(inputState).filter(function (key) {
        return !reducers.hasOwnProperty(key) && !unexpectedKeyCache[key];
      });
      unexpectedKeys.forEach(function (key) {
        unexpectedKeyCache[key] = true;
      });
      if (action && action.type === ActionTypes.REPLACE) return;
    
      if (unexpectedKeys.length > 0) {
        return "Unexpected " + (unexpectedKeys.length > 1 ? 'keys' : 'key') + " " + ("\"" + unexpectedKeys.join('", "') + "\" found in " + argumentName + ". ") + "Expected to find one of the known reducer keys instead: " + ("\"" + reducerKeys.join('", "') + "\". Unexpected keys will be ignored.");
      }
    }
    
    function assertReducerShape(reducers) {
      Object.keys(reducers).forEach(function (key) {
        var reducer = reducers[key];
        var initialState = reducer(undefined, {
          type: ActionTypes.INIT
        });
    
        if (typeof initialState === 'undefined') {
          throw new Error( true ? formatProdErrorMessage(12) : 0);
        }
    
        if (typeof reducer(undefined, {
          type: ActionTypes.PROBE_UNKNOWN_ACTION()
        }) === 'undefined') {
          throw new Error( true ? formatProdErrorMessage(13) : 0);
        }
      });
    }
    /**
     * Turns an object whose values are different reducer functions, into a single
     * reducer function. It will call every child reducer, and gather their results
     * into a single state object, whose keys correspond to the keys of the passed
     * reducer functions.
     *
     * @param {Object} reducers An object whose values correspond to different
     * reducer functions that need to be combined into one. One handy way to obtain
     * it is to use ES6 `import * as reducers` syntax. The reducers may never return
     * undefined for any action. Instead, they should return their initial state
     * if the state passed to them was undefined, and the current state for any
     * unrecognized action.
     *
     * @returns {Function} A reducer function that invokes every reducer inside the
     * passed object, and builds a state object with the same shape.
     */
    
    
    function combineReducers(reducers) {
      var reducerKeys = Object.keys(reducers);
      var finalReducers = {};
    
      for (var i = 0; i < reducerKeys.length; i++) {
        var key = reducerKeys[i];
    
        if (false) {}
    
        if (typeof reducers[key] === 'function') {
          finalReducers[key] = reducers[key];
        }
      }
    
      var finalReducerKeys = Object.keys(finalReducers); // This is used to make sure we don't warn about the same
      // keys multiple times.
    
      var unexpectedKeyCache;
    
      if (false) {}
    
      var shapeAssertionError;
    
      try {
        assertReducerShape(finalReducers);
      } catch (e) {
        shapeAssertionError = e;
      }
    
      return function combination(state, action) {
        if (state === void 0) {
          state = {};
        }
    
        if (shapeAssertionError) {
          throw shapeAssertionError;
        }
    
        if (false) { var warningMessage; }
    
        var hasChanged = false;
        var nextState = {};
    
        for (var _i = 0; _i < finalReducerKeys.length; _i++) {
          var _key = finalReducerKeys[_i];
          var reducer = finalReducers[_key];
          var previousStateForKey = state[_key];
          var nextStateForKey = reducer(previousStateForKey, action);
    
          if (typeof nextStateForKey === 'undefined') {
            var actionType = action && action.type;
            throw new Error( true ? formatProdErrorMessage(14) : 0);
          }
    
          nextState[_key] = nextStateForKey;
          hasChanged = hasChanged || nextStateForKey !== previousStateForKey;
        }
    
        hasChanged = hasChanged || finalReducerKeys.length !== Object.keys(state).length;
        return hasChanged ? nextState : state;
      };
    }
    
    function bindActionCreator(actionCreator, dispatch) {
      return function () {
        return dispatch(actionCreator.apply(this, arguments));
      };
    }
    /**
     * Turns an object whose values are action creators, into an object with the
     * same keys, but with every function wrapped into a `dispatch` call so they
     * may be invoked directly. This is just a convenience method, as you can call
     * `store.dispatch(MyActionCreators.doSomething())` yourself just fine.
     *
     * For convenience, you can also pass an action creator as the first argument,
     * and get a dispatch wrapped function in return.
     *
     * @param {Function|Object} actionCreators An object whose values are action
     * creator functions. One handy way to obtain it is to use ES6 `import * as`
     * syntax. You may also pass a single function.
     *
     * @param {Function} dispatch The `dispatch` function available on your Redux
     * store.
     *
     * @returns {Function|Object} The object mimicking the original object, but with
     * every action creator wrapped into the `dispatch` call. If you passed a
     * function as `actionCreators`, the return value will also be a single
     * function.
     */
    
    
    function bindActionCreators(actionCreators, dispatch) {
      if (typeof actionCreators === 'function') {
        return bindActionCreator(actionCreators, dispatch);
      }
    
      if (typeof actionCreators !== 'object' || actionCreators === null) {
        throw new Error( true ? formatProdErrorMessage(16) : 0);
      }
    
      var boundActionCreators = {};
    
      for (var key in actionCreators) {
        var actionCreator = actionCreators[key];
    
        if (typeof actionCreator === 'function') {
          boundActionCreators[key] = bindActionCreator(actionCreator, dispatch);
        }
      }
    
      return boundActionCreators;
    }
    
    /**
     * Composes single-argument functions from right to left. The rightmost
     * function can take multiple arguments as it provides the signature for
     * the resulting composite function.
     *
     * @param {...Function} funcs The functions to compose.
     * @returns {Function} A function obtained by composing the argument functions
     * from right to left. For example, compose(f, g, h) is identical to doing
     * (...args) => f(g(h(...args))).
     */
    function compose() {
      for (var _len = arguments.length, funcs = new Array(_len), _key = 0; _key < _len; _key++) {
        funcs[_key] = arguments[_key];
      }
    
      if (funcs.length === 0) {
        return function (arg) {
          return arg;
        };
      }
    
      if (funcs.length === 1) {
        return funcs[0];
      }
    
      return funcs.reduce(function (a, b) {
        return function () {
          return a(b.apply(void 0, arguments));
        };
      });
    }
    
    /**
     * Creates a store enhancer that applies middleware to the dispatch method
     * of the Redux store. This is handy for a variety of tasks, such as expressing
     * asynchronous actions in a concise manner, or logging every action payload.
     *
     * See `redux-thunk` package as an example of the Redux middleware.
     *
     * Because middleware is potentially asynchronous, this should be the first
     * store enhancer in the composition chain.
     *
     * Note that each middleware will be given the `dispatch` and `getState` functions
     * as named arguments.
     *
     * @param {...Function} middlewares The middleware chain to be applied.
     * @returns {Function} A store enhancer applying the middleware.
     */
    
    function applyMiddleware() {
      for (var _len = arguments.length, middlewares = new Array(_len), _key = 0; _key < _len; _key++) {
        middlewares[_key] = arguments[_key];
      }
    
      return function (createStore) {
        return function () {
          var store = createStore.apply(void 0, arguments);
    
          var _dispatch = function dispatch() {
            throw new Error( true ? formatProdErrorMessage(15) : 0);
          };
    
          var middlewareAPI = {
            getState: store.getState,
            dispatch: function dispatch() {
              return _dispatch.apply(void 0, arguments);
            }
          };
          var chain = middlewares.map(function (middleware) {
            return middleware(middlewareAPI);
          });
          _dispatch = compose.apply(void 0, chain)(store.dispatch);
          return (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)({}, store), {}, {
            dispatch: _dispatch
          });
        };
      };
    }
    
    
    
    
    /***/ }),
    
    /***/ 58246:
    /*!**********************************************************************************!*\
      !*** ./node_modules/_regenerator-runtime@0.13.11@regenerator-runtime/runtime.js ***!
      \**********************************************************************************/
    /***/ (function(module) {
    
    /**
     * Copyright (c) 2014-present, Facebook, Inc.
     *
     * This source code is licensed under the MIT license found in the
     * LICENSE file in the root directory of this source tree.
     */
    
    var runtime = (function (exports) {
      "use strict";
    
      var Op = Object.prototype;
      var hasOwn = Op.hasOwnProperty;
      var defineProperty = Object.defineProperty || function (obj, key, desc) { obj[key] = desc.value; };
      var undefined; // More compressible than void 0.
      var $Symbol = typeof Symbol === "function" ? Symbol : {};
      var iteratorSymbol = $Symbol.iterator || "@@iterator";
      var asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator";
      var toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag";
    
      function define(obj, key, value) {
        Object.defineProperty(obj, key, {
          value: value,
          enumerable: true,
          configurable: true,
          writable: true
        });
        return obj[key];
      }
      try {
        // IE 8 has a broken Object.defineProperty that only works on DOM objects.
        define({}, "");
      } catch (err) {
        define = function(obj, key, value) {
          return obj[key] = value;
        };
      }
    
      function wrap(innerFn, outerFn, self, tryLocsList) {
        // If outerFn provided and outerFn.prototype is a Generator, then outerFn.prototype instanceof Generator.
        var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator;
        var generator = Object.create(protoGenerator.prototype);
        var context = new Context(tryLocsList || []);
    
        // The ._invoke method unifies the implementations of the .next,
        // .throw, and .return methods.
        defineProperty(generator, "_invoke", { value: makeInvokeMethod(innerFn, self, context) });
    
        return generator;
      }
      exports.wrap = wrap;
    
      // Try/catch helper to minimize deoptimizations. Returns a completion
      // record like context.tryEntries[i].completion. This interface could
      // have been (and was previously) designed to take a closure to be
      // invoked without arguments, but in all the cases we care about we
      // already have an existing method we want to call, so there's no need
      // to create a new function object. We can even get away with assuming
      // the method takes exactly one argument, since that happens to be true
      // in every case, so we don't have to touch the arguments object. The
      // only additional allocation required is the completion record, which
      // has a stable shape and so hopefully should be cheap to allocate.
      function tryCatch(fn, obj, arg) {
        try {
          return { type: "normal", arg: fn.call(obj, arg) };
        } catch (err) {
          return { type: "throw", arg: err };
        }
      }
    
      var GenStateSuspendedStart = "suspendedStart";
      var GenStateSuspendedYield = "suspendedYield";
      var GenStateExecuting = "executing";
      var GenStateCompleted = "completed";
    
      // Returning this object from the innerFn has the same effect as
      // breaking out of the dispatch switch statement.
      var ContinueSentinel = {};
    
      // Dummy constructor functions that we use as the .constructor and
      // .constructor.prototype properties for functions that return Generator
      // objects. For full spec compliance, you may wish to configure your
      // minifier not to mangle the names of these two functions.
      function Generator() {}
      function GeneratorFunction() {}
      function GeneratorFunctionPrototype() {}
    
      // This is a polyfill for %IteratorPrototype% for environments that
      // don't natively support it.
      var IteratorPrototype = {};
      define(IteratorPrototype, iteratorSymbol, function () {
        return this;
      });
    
      var getProto = Object.getPrototypeOf;
      var NativeIteratorPrototype = getProto && getProto(getProto(values([])));
      if (NativeIteratorPrototype &&
          NativeIteratorPrototype !== Op &&
          hasOwn.call(NativeIteratorPrototype, iteratorSymbol)) {
        // This environment has a native %IteratorPrototype%; use it instead
        // of the polyfill.
        IteratorPrototype = NativeIteratorPrototype;
      }
    
      var Gp = GeneratorFunctionPrototype.prototype =
        Generator.prototype = Object.create(IteratorPrototype);
      GeneratorFunction.prototype = GeneratorFunctionPrototype;
      defineProperty(Gp, "constructor", { value: GeneratorFunctionPrototype, configurable: true });
      defineProperty(
        GeneratorFunctionPrototype,
        "constructor",
        { value: GeneratorFunction, configurable: true }
      );
      GeneratorFunction.displayName = define(
        GeneratorFunctionPrototype,
        toStringTagSymbol,
        "GeneratorFunction"
      );
    
      // Helper for defining the .next, .throw, and .return methods of the
      // Iterator interface in terms of a single ._invoke method.
      function defineIteratorMethods(prototype) {
        ["next", "throw", "return"].forEach(function(method) {
          define(prototype, method, function(arg) {
            return this._invoke(method, arg);
          });
        });
      }
    
      exports.isGeneratorFunction = function(genFun) {
        var ctor = typeof genFun === "function" && genFun.constructor;
        return ctor
          ? ctor === GeneratorFunction ||
            // For the native GeneratorFunction constructor, the best we can
            // do is to check its .name property.
            (ctor.displayName || ctor.name) === "GeneratorFunction"
          : false;
      };
    
      exports.mark = function(genFun) {
        if (Object.setPrototypeOf) {
          Object.setPrototypeOf(genFun, GeneratorFunctionPrototype);
        } else {
          genFun.__proto__ = GeneratorFunctionPrototype;
          define(genFun, toStringTagSymbol, "GeneratorFunction");
        }
        genFun.prototype = Object.create(Gp);
        return genFun;
      };
    
      // Within the body of any async function, `await x` is transformed to
      // `yield regeneratorRuntime.awrap(x)`, so that the runtime can test
      // `hasOwn.call(value, "__await")` to determine if the yielded value is
      // meant to be awaited.
      exports.awrap = function(arg) {
        return { __await: arg };
      };
    
      function AsyncIterator(generator, PromiseImpl) {
        function invoke(method, arg, resolve, reject) {
          var record = tryCatch(generator[method], generator, arg);
          if (record.type === "throw") {
            reject(record.arg);
          } else {
            var result = record.arg;
            var value = result.value;
            if (value &&
                typeof value === "object" &&
                hasOwn.call(value, "__await")) {
              return PromiseImpl.resolve(value.__await).then(function(value) {
                invoke("next", value, resolve, reject);
              }, function(err) {
                invoke("throw", err, resolve, reject);
              });
            }
    
            return PromiseImpl.resolve(value).then(function(unwrapped) {
              // When a yielded Promise is resolved, its final value becomes
              // the .value of the Promise<{value,done}> result for the
              // current iteration.
              result.value = unwrapped;
              resolve(result);
            }, function(error) {
              // If a rejected Promise was yielded, throw the rejection back
              // into the async generator function so it can be handled there.
              return invoke("throw", error, resolve, reject);
            });
          }
        }
    
        var previousPromise;
    
        function enqueue(method, arg) {
          function callInvokeWithMethodAndArg() {
            return new PromiseImpl(function(resolve, reject) {
              invoke(method, arg, resolve, reject);
            });
          }
    
          return previousPromise =
            // If enqueue has been called before, then we want to wait until
            // all previous Promises have been resolved before calling invoke,
            // so that results are always delivered in the correct order. If
            // enqueue has not been called before, then it is important to
            // call invoke immediately, without waiting on a callback to fire,
            // so that the async generator function has the opportunity to do
            // any necessary setup in a predictable way. This predictability
            // is why the Promise constructor synchronously invokes its
            // executor callback, and why async functions synchronously
            // execute code before the first await. Since we implement simple
            // async functions in terms of async generators, it is especially
            // important to get this right, even though it requires care.
            previousPromise ? previousPromise.then(
              callInvokeWithMethodAndArg,
              // Avoid propagating failures to Promises returned by later
              // invocations of the iterator.
              callInvokeWithMethodAndArg
            ) : callInvokeWithMethodAndArg();
        }
    
        // Define the unified helper method that is used to implement .next,
        // .throw, and .return (see defineIteratorMethods).
        defineProperty(this, "_invoke", { value: enqueue });
      }
    
      defineIteratorMethods(AsyncIterator.prototype);
      define(AsyncIterator.prototype, asyncIteratorSymbol, function () {
        return this;
      });
      exports.AsyncIterator = AsyncIterator;
    
      // Note that simple async functions are implemented on top of
      // AsyncIterator objects; they just return a Promise for the value of
      // the final result produced by the iterator.
      exports.async = function(innerFn, outerFn, self, tryLocsList, PromiseImpl) {
        if (PromiseImpl === void 0) PromiseImpl = Promise;
    
        var iter = new AsyncIterator(
          wrap(innerFn, outerFn, self, tryLocsList),
          PromiseImpl
        );
    
        return exports.isGeneratorFunction(outerFn)
          ? iter // If outerFn is a generator, return the full iterator.
          : iter.next().then(function(result) {
              return result.done ? result.value : iter.next();
            });
      };
    
      function makeInvokeMethod(innerFn, self, context) {
        var state = GenStateSuspendedStart;
    
        return function invoke(method, arg) {
          if (state === GenStateExecuting) {
            throw new Error("Generator is already running");
          }
    
          if (state === GenStateCompleted) {
            if (method === "throw") {
              throw arg;
            }
    
            // Be forgiving, per 25.3.3.3.3 of the spec:
            // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-generatorresume
            return doneResult();
          }
    
          context.method = method;
          context.arg = arg;
    
          while (true) {
            var delegate = context.delegate;
            if (delegate) {
              var delegateResult = maybeInvokeDelegate(delegate, context);
              if (delegateResult) {
                if (delegateResult === ContinueSentinel) continue;
                return delegateResult;
              }
            }
    
            if (context.method === "next") {
              // Setting context._sent for legacy support of Babel's
              // function.sent implementation.
              context.sent = context._sent = context.arg;
    
            } else if (context.method === "throw") {
              if (state === GenStateSuspendedStart) {
                state = GenStateCompleted;
                throw context.arg;
              }
    
              context.dispatchException(context.arg);
    
            } else if (context.method === "return") {
              context.abrupt("return", context.arg);
            }
    
            state = GenStateExecuting;
    
            var record = tryCatch(innerFn, self, context);
            if (record.type === "normal") {
              // If an exception is thrown from innerFn, we leave state ===
              // GenStateExecuting and loop back for another invocation.
              state = context.done
                ? GenStateCompleted
                : GenStateSuspendedYield;
    
              if (record.arg === ContinueSentinel) {
                continue;
              }
    
              return {
                value: record.arg,
                done: context.done
              };
    
            } else if (record.type === "throw") {
              state = GenStateCompleted;
              // Dispatch the exception by looping back around to the
              // context.dispatchException(context.arg) call above.
              context.method = "throw";
              context.arg = record.arg;
            }
          }
        };
      }
    
      // Call delegate.iterator[context.method](context.arg) and handle the
      // result, either by returning a { value, done } result from the
      // delegate iterator, or by modifying context.method and context.arg,
      // setting context.delegate to null, and returning the ContinueSentinel.
      function maybeInvokeDelegate(delegate, context) {
        var methodName = context.method;
        var method = delegate.iterator[methodName];
        if (method === undefined) {
          // A .throw or .return when the delegate iterator has no .throw
          // method, or a missing .next mehtod, always terminate the
          // yield* loop.
          context.delegate = null;
    
          // Note: ["return"] must be used for ES3 parsing compatibility.
          if (methodName === "throw" && delegate.iterator["return"]) {
            // If the delegate iterator has a return method, give it a
            // chance to clean up.
            context.method = "return";
            context.arg = undefined;
            maybeInvokeDelegate(delegate, context);
    
            if (context.method === "throw") {
              // If maybeInvokeDelegate(context) changed context.method from
              // "return" to "throw", let that override the TypeError below.
              return ContinueSentinel;
            }
          }
          if (methodName !== "return") {
            context.method = "throw";
            context.arg = new TypeError(
              "The iterator does not provide a '" + methodName + "' method");
          }
    
          return ContinueSentinel;
        }
    
        var record = tryCatch(method, delegate.iterator, context.arg);
    
        if (record.type === "throw") {
          context.method = "throw";
          context.arg = record.arg;
          context.delegate = null;
          return ContinueSentinel;
        }
    
        var info = record.arg;
    
        if (! info) {
          context.method = "throw";
          context.arg = new TypeError("iterator result is not an object");
          context.delegate = null;
          return ContinueSentinel;
        }
    
        if (info.done) {
          // Assign the result of the finished delegate to the temporary
          // variable specified by delegate.resultName (see delegateYield).
          context[delegate.resultName] = info.value;
    
          // Resume execution at the desired location (see delegateYield).
          context.next = delegate.nextLoc;
    
          // If context.method was "throw" but the delegate handled the
          // exception, let the outer generator proceed normally. If
          // context.method was "next", forget context.arg since it has been
          // "consumed" by the delegate iterator. If context.method was
          // "return", allow the original .return call to continue in the
          // outer generator.
          if (context.method !== "return") {
            context.method = "next";
            context.arg = undefined;
          }
    
        } else {
          // Re-yield the result returned by the delegate method.
          return info;
        }
    
        // The delegate iterator is finished, so forget it and continue with
        // the outer generator.
        context.delegate = null;
        return ContinueSentinel;
      }
    
      // Define Generator.prototype.{next,throw,return} in terms of the
      // unified ._invoke helper method.
      defineIteratorMethods(Gp);
    
      define(Gp, toStringTagSymbol, "Generator");
    
      // A Generator should always return itself as the iterator object when the
      // @@iterator function is called on it. Some browsers' implementations of the
      // iterator prototype chain incorrectly implement this, causing the Generator
      // object to not be returned from this call. This ensures that doesn't happen.
      // See https://github.com/facebook/regenerator/issues/274 for more details.
      define(Gp, iteratorSymbol, function() {
        return this;
      });
    
      define(Gp, "toString", function() {
        return "[object Generator]";
      });
    
      function pushTryEntry(locs) {
        var entry = { tryLoc: locs[0] };
    
        if (1 in locs) {
          entry.catchLoc = locs[1];
        }
    
        if (2 in locs) {
          entry.finallyLoc = locs[2];
          entry.afterLoc = locs[3];
        }
    
        this.tryEntries.push(entry);
      }
    
      function resetTryEntry(entry) {
        var record = entry.completion || {};
        record.type = "normal";
        delete record.arg;
        entry.completion = record;
      }
    
      function Context(tryLocsList) {
        // The root entry object (effectively a try statement without a catch
        // or a finally block) gives us a place to store values thrown from
        // locations where there is no enclosing try statement.
        this.tryEntries = [{ tryLoc: "root" }];
        tryLocsList.forEach(pushTryEntry, this);
        this.reset(true);
      }
    
      exports.keys = function(val) {
        var object = Object(val);
        var keys = [];
        for (var key in object) {
          keys.push(key);
        }
        keys.reverse();
    
        // Rather than returning an object with a next method, we keep
        // things simple and return the next function itself.
        return function next() {
          while (keys.length) {
            var key = keys.pop();
            if (key in object) {
              next.value = key;
              next.done = false;
              return next;
            }
          }
    
          // To avoid creating an additional object, we just hang the .value
          // and .done properties off the next function object itself. This
          // also ensures that the minifier will not anonymize the function.
          next.done = true;
          return next;
        };
      };
    
      function values(iterable) {
        if (iterable) {
          var iteratorMethod = iterable[iteratorSymbol];
          if (iteratorMethod) {
            return iteratorMethod.call(iterable);
          }
    
          if (typeof iterable.next === "function") {
            return iterable;
          }
    
          if (!isNaN(iterable.length)) {
            var i = -1, next = function next() {
              while (++i < iterable.length) {
                if (hasOwn.call(iterable, i)) {
                  next.value = iterable[i];
                  next.done = false;
                  return next;
                }
              }
    
              next.value = undefined;
              next.done = true;
    
              return next;
            };
    
            return next.next = next;
          }
        }
    
        // Return an iterator with no values.
        return { next: doneResult };
      }
      exports.values = values;
    
      function doneResult() {
        return { value: undefined, done: true };
      }
    
      Context.prototype = {
        constructor: Context,
    
        reset: function(skipTempReset) {
          this.prev = 0;
          this.next = 0;
          // Resetting context._sent for legacy support of Babel's
          // function.sent implementation.
          this.sent = this._sent = undefined;
          this.done = false;
          this.delegate = null;
    
          this.method = "next";
          this.arg = undefined;
    
          this.tryEntries.forEach(resetTryEntry);
    
          if (!skipTempReset) {
            for (var name in this) {
              // Not sure about the optimal order of these conditions:
              if (name.charAt(0) === "t" &&
                  hasOwn.call(this, name) &&
                  !isNaN(+name.slice(1))) {
                this[name] = undefined;
              }
            }
          }
        },
    
        stop: function() {
          this.done = true;
    
          var rootEntry = this.tryEntries[0];
          var rootRecord = rootEntry.completion;
          if (rootRecord.type === "throw") {
            throw rootRecord.arg;
          }
    
          return this.rval;
        },
    
        dispatchException: function(exception) {
          if (this.done) {
            throw exception;
          }
    
          var context = this;
          function handle(loc, caught) {
            record.type = "throw";
            record.arg = exception;
            context.next = loc;
    
            if (caught) {
              // If the dispatched exception was caught by a catch block,
              // then let that catch block handle the exception normally.
              context.method = "next";
              context.arg = undefined;
            }
    
            return !! caught;
          }
    
          for (var i = this.tryEntries.length - 1; i >= 0; --i) {
            var entry = this.tryEntries[i];
            var record = entry.completion;
    
            if (entry.tryLoc === "root") {
              // Exception thrown outside of any try block that could handle
              // it, so set the completion value of the entire function to
              // throw the exception.
              return handle("end");
            }
    
            if (entry.tryLoc <= this.prev) {
              var hasCatch = hasOwn.call(entry, "catchLoc");
              var hasFinally = hasOwn.call(entry, "finallyLoc");
    
              if (hasCatch && hasFinally) {
                if (this.prev < entry.catchLoc) {
                  return handle(entry.catchLoc, true);
                } else if (this.prev < entry.finallyLoc) {
                  return handle(entry.finallyLoc);
                }
    
              } else if (hasCatch) {
                if (this.prev < entry.catchLoc) {
                  return handle(entry.catchLoc, true);
                }
    
              } else if (hasFinally) {
                if (this.prev < entry.finallyLoc) {
                  return handle(entry.finallyLoc);
                }
    
              } else {
                throw new Error("try statement without catch or finally");
              }
            }
          }
        },
    
        abrupt: function(type, arg) {
          for (var i = this.tryEntries.length - 1; i >= 0; --i) {
            var entry = this.tryEntries[i];
            if (entry.tryLoc <= this.prev &&
                hasOwn.call(entry, "finallyLoc") &&
                this.prev < entry.finallyLoc) {
              var finallyEntry = entry;
              break;
            }
          }
    
          if (finallyEntry &&
              (type === "break" ||
               type === "continue") &&
              finallyEntry.tryLoc <= arg &&
              arg <= finallyEntry.finallyLoc) {
            // Ignore the finally entry if control is not jumping to a
            // location outside the try/catch block.
            finallyEntry = null;
          }
    
          var record = finallyEntry ? finallyEntry.completion : {};
          record.type = type;
          record.arg = arg;
    
          if (finallyEntry) {
            this.method = "next";
            this.next = finallyEntry.finallyLoc;
            return ContinueSentinel;
          }
    
          return this.complete(record);
        },
    
        complete: function(record, afterLoc) {
          if (record.type === "throw") {
            throw record.arg;
          }
    
          if (record.type === "break" ||
              record.type === "continue") {
            this.next = record.arg;
          } else if (record.type === "return") {
            this.rval = this.arg = record.arg;
            this.method = "return";
            this.next = "end";
          } else if (record.type === "normal" && afterLoc) {
            this.next = afterLoc;
          }
    
          return ContinueSentinel;
        },
    
        finish: function(finallyLoc) {
          for (var i = this.tryEntries.length - 1; i >= 0; --i) {
            var entry = this.tryEntries[i];
            if (entry.finallyLoc === finallyLoc) {
              this.complete(entry.completion, entry.afterLoc);
              resetTryEntry(entry);
              return ContinueSentinel;
            }
          }
        },
    
        "catch": function(tryLoc) {
          for (var i = this.tryEntries.length - 1; i >= 0; --i) {
            var entry = this.tryEntries[i];
            if (entry.tryLoc === tryLoc) {
              var record = entry.completion;
              if (record.type === "throw") {
                var thrown = record.arg;
                resetTryEntry(entry);
              }
              return thrown;
            }
          }
    
          // The context.catch method must only be called with a location
          // argument that corresponds to a known catch block.
          throw new Error("illegal catch attempt");
        },
    
        delegateYield: function(iterable, resultName, nextLoc) {
          this.delegate = {
            iterator: values(iterable),
            resultName: resultName,
            nextLoc: nextLoc
          };
    
          if (this.method === "next") {
            // Deliberately forget the last sent value so that we don't
            // accidentally pass it on to the delegate.
            this.arg = undefined;
          }
    
          return ContinueSentinel;
        }
      };
    
      // Regardless of whether this script is executing as a CommonJS module
      // or not, return the runtime object so that we can declare the variable
      // regeneratorRuntime in the outer scope, which allows this module to be
      // injected easily by `bin/regenerator --include-runtime script.js`.
      return exports;
    
    }(
      // If this script is executing as a CommonJS module, use module.exports
      // as the regeneratorRuntime namespace. Otherwise create a new empty
      // object. Either way, the resulting object will be used to initialize
      // the regeneratorRuntime variable at the top of this file.
       true ? module.exports : 0
    ));
    
    try {
      regeneratorRuntime = runtime;
    } catch (accidentalStrictMode) {
      // This module should not be running in strict mode, so the above
      // assignment should always work unless something is misconfigured. Just
      // in case runtime.js accidentally runs in strict mode, in modern engines
      // we can explicitly access globalThis. In older engines we can escape
      // strict mode using a global Function call. This could conceivably fail
      // if a Content Security Policy forbids using Function, but in that case
      // the proper solution is to fix the accidental strict mode problem. If
      // you've misconfigured your bundler to force strict mode and applied a
      // CSP to forbid Function, and you're not willing to fix either of those
      // problems, please detail your unique predicament in a GitHub issue.
      if (typeof globalThis === "object") {
        globalThis.regeneratorRuntime = runtime;
      } else {
        Function("r", "regeneratorRuntime = r")(runtime);
      }
    }
    
    
    /***/ }),
    
    /***/ 76374:
    /*!*********************************************************************************************************!*\
      !*** ./node_modules/_resize-observer-polyfill@1.5.1@resize-observer-polyfill/dist/ResizeObserver.es.js ***!
      \*********************************************************************************************************/
    /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
    
    "use strict";
    /**
     * A collection of shims that provide minimal functionality of the ES6 collections.
     *
     * These implementations are not meant to be used outside of the ResizeObserver
     * modules as they cover only a limited range of use cases.
     */
    /* eslint-disable require-jsdoc, valid-jsdoc */
    var MapShim = (function () {
        if (typeof Map !== 'undefined') {
            return Map;
        }
        /**
         * Returns index in provided array that matches the specified key.
         *
         * @param {Array<Array>} arr
         * @param {*} key
         * @returns {number}
         */
        function getIndex(arr, key) {
            var result = -1;
            arr.some(function (entry, index) {
                if (entry[0] === key) {
                    result = index;
                    return true;
                }
                return false;
            });
            return result;
        }
        return /** @class */ (function () {
            function class_1() {
                this.__entries__ = [];
            }
            Object.defineProperty(class_1.prototype, "size", {
                /**
                 * @returns {boolean}
                 */
                get: function () {
                    return this.__entries__.length;
                },
                enumerable: true,
                configurable: true
            });
            /**
             * @param {*} key
             * @returns {*}
             */
            class_1.prototype.get = function (key) {
                var index = getIndex(this.__entries__, key);
                var entry = this.__entries__[index];
                return entry && entry[1];
            };
            /**
             * @param {*} key
             * @param {*} value
             * @returns {void}
             */
            class_1.prototype.set = function (key, value) {
                var index = getIndex(this.__entries__, key);
                if (~index) {
                    this.__entries__[index][1] = value;
                }
                else {
                    this.__entries__.push([key, value]);
                }
            };
            /**
             * @param {*} key
             * @returns {void}
             */
            class_1.prototype.delete = function (key) {
                var entries = this.__entries__;
                var index = getIndex(entries, key);
                if (~index) {
                    entries.splice(index, 1);
                }
            };
            /**
             * @param {*} key
             * @returns {void}
             */
            class_1.prototype.has = function (key) {
                return !!~getIndex(this.__entries__, key);
            };
            /**
             * @returns {void}
             */
            class_1.prototype.clear = function () {
                this.__entries__.splice(0);
            };
            /**
             * @param {Function} callback
             * @param {*} [ctx=null]
             * @returns {void}
             */
            class_1.prototype.forEach = function (callback, ctx) {
                if (ctx === void 0) { ctx = null; }
                for (var _i = 0, _a = this.__entries__; _i < _a.length; _i++) {
                    var entry = _a[_i];
                    callback.call(ctx, entry[1], entry[0]);
                }
            };
            return class_1;
        }());
    })();
    
    /**
     * Detects whether window and document objects are available in current environment.
     */
    var isBrowser = typeof window !== 'undefined' && typeof document !== 'undefined' && window.document === document;
    
    // Returns global object of a current environment.
    var global$1 = (function () {
        if (typeof __webpack_require__.g !== 'undefined' && __webpack_require__.g.Math === Math) {
            return __webpack_require__.g;
        }
        if (typeof self !== 'undefined' && self.Math === Math) {
            return self;
        }
        if (typeof window !== 'undefined' && window.Math === Math) {
            return window;
        }
        // eslint-disable-next-line no-new-func
        return Function('return this')();
    })();
    
    /**
     * A shim for the requestAnimationFrame which falls back to the setTimeout if
     * first one is not supported.
     *
     * @returns {number} Requests' identifier.
     */
    var requestAnimationFrame$1 = (function () {
        if (typeof requestAnimationFrame === 'function') {
            // It's required to use a bounded function because IE sometimes throws
            // an "Invalid calling object" error if rAF is invoked without the global
            // object on the left hand side.
            return requestAnimationFrame.bind(global$1);
        }
        return function (callback) { return setTimeout(function () { return callback(Date.now()); }, 1000 / 60); };
    })();
    
    // Defines minimum timeout before adding a trailing call.
    var trailingTimeout = 2;
    /**
     * Creates a wrapper function which ensures that provided callback will be
     * invoked only once during the specified delay period.
     *
     * @param {Function} callback - Function to be invoked after the delay period.
     * @param {number} delay - Delay after which to invoke callback.
     * @returns {Function}
     */
    function throttle (callback, delay) {
        var leadingCall = false, trailingCall = false, lastCallTime = 0;
        /**
         * Invokes the original callback function and schedules new invocation if
         * the "proxy" was called during current request.
         *
         * @returns {void}
         */
        function resolvePending() {
            if (leadingCall) {
                leadingCall = false;
                callback();
            }
            if (trailingCall) {
                proxy();
            }
        }
        /**
         * Callback invoked after the specified delay. It will further postpone
         * invocation of the original function delegating it to the
         * requestAnimationFrame.
         *
         * @returns {void}
         */
        function timeoutCallback() {
            requestAnimationFrame$1(resolvePending);
        }
        /**
         * Schedules invocation of the original function.
         *
         * @returns {void}
         */
        function proxy() {
            var timeStamp = Date.now();
            if (leadingCall) {
                // Reject immediately following calls.
                if (timeStamp - lastCallTime < trailingTimeout) {
                    return;
                }
                // Schedule new call to be in invoked when the pending one is resolved.
                // This is important for "transitions" which never actually start
                // immediately so there is a chance that we might miss one if change
                // happens amids the pending invocation.
                trailingCall = true;
            }
            else {
                leadingCall = true;
                trailingCall = false;
                setTimeout(timeoutCallback, delay);
            }
            lastCallTime = timeStamp;
        }
        return proxy;
    }
    
    // Minimum delay before invoking the update of observers.
    var REFRESH_DELAY = 20;
    // A list of substrings of CSS properties used to find transition events that
    // might affect dimensions of observed elements.
    var transitionKeys = ['top', 'right', 'bottom', 'left', 'width', 'height', 'size', 'weight'];
    // Check if MutationObserver is available.
    var mutationObserverSupported = typeof MutationObserver !== 'undefined';
    /**
     * Singleton controller class which handles updates of ResizeObserver instances.
     */
    var ResizeObserverController = /** @class */ (function () {
        /**
         * Creates a new instance of ResizeObserverController.
         *
         * @private
         */
        function ResizeObserverController() {
            /**
             * Indicates whether DOM listeners have been added.
             *
             * @private {boolean}
             */
            this.connected_ = false;
            /**
             * Tells that controller has subscribed for Mutation Events.
             *
             * @private {boolean}
             */
            this.mutationEventsAdded_ = false;
            /**
             * Keeps reference to the instance of MutationObserver.
             *
             * @private {MutationObserver}
             */
            this.mutationsObserver_ = null;
            /**
             * A list of connected observers.
             *
             * @private {Array<ResizeObserverSPI>}
             */
            this.observers_ = [];
            this.onTransitionEnd_ = this.onTransitionEnd_.bind(this);
            this.refresh = throttle(this.refresh.bind(this), REFRESH_DELAY);
        }
        /**
         * Adds observer to observers list.
         *
         * @param {ResizeObserverSPI} observer - Observer to be added.
         * @returns {void}
         */
        ResizeObserverController.prototype.addObserver = function (observer) {
            if (!~this.observers_.indexOf(observer)) {
                this.observers_.push(observer);
            }
            // Add listeners if they haven't been added yet.
            if (!this.connected_) {
                this.connect_();
            }
        };
        /**
         * Removes observer from observers list.
         *
         * @param {ResizeObserverSPI} observer - Observer to be removed.
         * @returns {void}
         */
        ResizeObserverController.prototype.removeObserver = function (observer) {
            var observers = this.observers_;
            var index = observers.indexOf(observer);
            // Remove observer if it's present in registry.
            if (~index) {
                observers.splice(index, 1);
            }
            // Remove listeners if controller has no connected observers.
            if (!observers.length && this.connected_) {
                this.disconnect_();
            }
        };
        /**
         * Invokes the update of observers. It will continue running updates insofar
         * it detects changes.
         *
         * @returns {void}
         */
        ResizeObserverController.prototype.refresh = function () {
            var changesDetected = this.updateObservers_();
            // Continue running updates if changes have been detected as there might
            // be future ones caused by CSS transitions.
            if (changesDetected) {
                this.refresh();
            }
        };
        /**
         * Updates every observer from observers list and notifies them of queued
         * entries.
         *
         * @private
         * @returns {boolean} Returns "true" if any observer has detected changes in
         *      dimensions of it's elements.
         */
        ResizeObserverController.prototype.updateObservers_ = function () {
            // Collect observers that have active observations.
            var activeObservers = this.observers_.filter(function (observer) {
                return observer.gatherActive(), observer.hasActive();
            });
            // Deliver notifications in a separate cycle in order to avoid any
            // collisions between observers, e.g. when multiple instances of
            // ResizeObserver are tracking the same element and the callback of one
            // of them changes content dimensions of the observed target. Sometimes
            // this may result in notifications being blocked for the rest of observers.
            activeObservers.forEach(function (observer) { return observer.broadcastActive(); });
            return activeObservers.length > 0;
        };
        /**
         * Initializes DOM listeners.
         *
         * @private
         * @returns {void}
         */
        ResizeObserverController.prototype.connect_ = function () {
            // Do nothing if running in a non-browser environment or if listeners
            // have been already added.
            if (!isBrowser || this.connected_) {
                return;
            }
            // Subscription to the "Transitionend" event is used as a workaround for
            // delayed transitions. This way it's possible to capture at least the
            // final state of an element.
            document.addEventListener('transitionend', this.onTransitionEnd_);
            window.addEventListener('resize', this.refresh);
            if (mutationObserverSupported) {
                this.mutationsObserver_ = new MutationObserver(this.refresh);
                this.mutationsObserver_.observe(document, {
                    attributes: true,
                    childList: true,
                    characterData: true,
                    subtree: true
                });
            }
            else {
                document.addEventListener('DOMSubtreeModified', this.refresh);
                this.mutationEventsAdded_ = true;
            }
            this.connected_ = true;
        };
        /**
         * Removes DOM listeners.
         *
         * @private
         * @returns {void}
         */
        ResizeObserverController.prototype.disconnect_ = function () {
            // Do nothing if running in a non-browser environment or if listeners
            // have been already removed.
            if (!isBrowser || !this.connected_) {
                return;
            }
            document.removeEventListener('transitionend', this.onTransitionEnd_);
            window.removeEventListener('resize', this.refresh);
            if (this.mutationsObserver_) {
                this.mutationsObserver_.disconnect();
            }
            if (this.mutationEventsAdded_) {
                document.removeEventListener('DOMSubtreeModified', this.refresh);
            }
            this.mutationsObserver_ = null;
            this.mutationEventsAdded_ = false;
            this.connected_ = false;
        };
        /**
         * "Transitionend" event handler.
         *
         * @private
         * @param {TransitionEvent} event
         * @returns {void}
         */
        ResizeObserverController.prototype.onTransitionEnd_ = function (_a) {
            var _b = _a.propertyName, propertyName = _b === void 0 ? '' : _b;
            // Detect whether transition may affect dimensions of an element.
            var isReflowProperty = transitionKeys.some(function (key) {
                return !!~propertyName.indexOf(key);
            });
            if (isReflowProperty) {
                this.refresh();
            }
        };
        /**
         * Returns instance of the ResizeObserverController.
         *
         * @returns {ResizeObserverController}
         */
        ResizeObserverController.getInstance = function () {
            if (!this.instance_) {
                this.instance_ = new ResizeObserverController();
            }
            return this.instance_;
        };
        /**
         * Holds reference to the controller's instance.
         *
         * @private {ResizeObserverController}
         */
        ResizeObserverController.instance_ = null;
        return ResizeObserverController;
    }());
    
    /**
     * Defines non-writable/enumerable properties of the provided target object.
     *
     * @param {Object} target - Object for which to define properties.
     * @param {Object} props - Properties to be defined.
     * @returns {Object} Target object.
     */
    var defineConfigurable = (function (target, props) {
        for (var _i = 0, _a = Object.keys(props); _i < _a.length; _i++) {
            var key = _a[_i];
            Object.defineProperty(target, key, {
                value: props[key],
                enumerable: false,
                writable: false,
                configurable: true
            });
        }
        return target;
    });
    
    /**
     * Returns the global object associated with provided element.
     *
     * @param {Object} target
     * @returns {Object}
     */
    var getWindowOf = (function (target) {
        // Assume that the element is an instance of Node, which means that it
        // has the "ownerDocument" property from which we can retrieve a
        // corresponding global object.
        var ownerGlobal = target && target.ownerDocument && target.ownerDocument.defaultView;
        // Return the local global object if it's not possible extract one from
        // provided element.
        return ownerGlobal || global$1;
    });
    
    // Placeholder of an empty content rectangle.
    var emptyRect = createRectInit(0, 0, 0, 0);
    /**
     * Converts provided string to a number.
     *
     * @param {number|string} value
     * @returns {number}
     */
    function toFloat(value) {
        return parseFloat(value) || 0;
    }
    /**
     * Extracts borders size from provided styles.
     *
     * @param {CSSStyleDeclaration} styles
     * @param {...string} positions - Borders positions (top, right, ...)
     * @returns {number}
     */
    function getBordersSize(styles) {
        var positions = [];
        for (var _i = 1; _i < arguments.length; _i++) {
            positions[_i - 1] = arguments[_i];
        }
        return positions.reduce(function (size, position) {
            var value = styles['border-' + position + '-width'];
            return size + toFloat(value);
        }, 0);
    }
    /**
     * Extracts paddings sizes from provided styles.
     *
     * @param {CSSStyleDeclaration} styles
     * @returns {Object} Paddings box.
     */
    function getPaddings(styles) {
        var positions = ['top', 'right', 'bottom', 'left'];
        var paddings = {};
        for (var _i = 0, positions_1 = positions; _i < positions_1.length; _i++) {
            var position = positions_1[_i];
            var value = styles['padding-' + position];
            paddings[position] = toFloat(value);
        }
        return paddings;
    }
    /**
     * Calculates content rectangle of provided SVG element.
     *
     * @param {SVGGraphicsElement} target - Element content rectangle of which needs
     *      to be calculated.
     * @returns {DOMRectInit}
     */
    function getSVGContentRect(target) {
        var bbox = target.getBBox();
        return createRectInit(0, 0, bbox.width, bbox.height);
    }
    /**
     * Calculates content rectangle of provided HTMLElement.
     *
     * @param {HTMLElement} target - Element for which to calculate the content rectangle.
     * @returns {DOMRectInit}
     */
    function getHTMLElementContentRect(target) {
        // Client width & height properties can't be
        // used exclusively as they provide rounded values.
        var clientWidth = target.clientWidth, clientHeight = target.clientHeight;
        // By this condition we can catch all non-replaced inline, hidden and
        // detached elements. Though elements with width & height properties less
        // than 0.5 will be discarded as well.
        //
        // Without it we would need to implement separate methods for each of
        // those cases and it's not possible to perform a precise and performance
        // effective test for hidden elements. E.g. even jQuery's ':visible' filter
        // gives wrong results for elements with width & height less than 0.5.
        if (!clientWidth && !clientHeight) {
            return emptyRect;
        }
        var styles = getWindowOf(target).getComputedStyle(target);
        var paddings = getPaddings(styles);
        var horizPad = paddings.left + paddings.right;
        var vertPad = paddings.top + paddings.bottom;
        // Computed styles of width & height are being used because they are the
        // only dimensions available to JS that contain non-rounded values. It could
        // be possible to utilize the getBoundingClientRect if only it's data wasn't
        // affected by CSS transformations let alone paddings, borders and scroll bars.
        var width = toFloat(styles.width), height = toFloat(styles.height);
        // Width & height include paddings and borders when the 'border-box' box
        // model is applied (except for IE).
        if (styles.boxSizing === 'border-box') {
            // Following conditions are required to handle Internet Explorer which
            // doesn't include paddings and borders to computed CSS dimensions.
            //
            // We can say that if CSS dimensions + paddings are equal to the "client"
            // properties then it's either IE, and thus we don't need to subtract
            // anything, or an element merely doesn't have paddings/borders styles.
            if (Math.round(width + horizPad) !== clientWidth) {
                width -= getBordersSize(styles, 'left', 'right') + horizPad;
            }
            if (Math.round(height + vertPad) !== clientHeight) {
                height -= getBordersSize(styles, 'top', 'bottom') + vertPad;
            }
        }
        // Following steps can't be applied to the document's root element as its
        // client[Width/Height] properties represent viewport area of the window.
        // Besides, it's as well not necessary as the <html> itself neither has
        // rendered scroll bars nor it can be clipped.
        if (!isDocumentElement(target)) {
            // In some browsers (only in Firefox, actually) CSS width & height
            // include scroll bars size which can be removed at this step as scroll
            // bars are the only difference between rounded dimensions + paddings
            // and "client" properties, though that is not always true in Chrome.
            var vertScrollbar = Math.round(width + horizPad) - clientWidth;
            var horizScrollbar = Math.round(height + vertPad) - clientHeight;
            // Chrome has a rather weird rounding of "client" properties.
            // E.g. for an element with content width of 314.2px it sometimes gives
            // the client width of 315px and for the width of 314.7px it may give
            // 314px. And it doesn't happen all the time. So just ignore this delta
            // as a non-relevant.
            if (Math.abs(vertScrollbar) !== 1) {
                width -= vertScrollbar;
            }
            if (Math.abs(horizScrollbar) !== 1) {
                height -= horizScrollbar;
            }
        }
        return createRectInit(paddings.left, paddings.top, width, height);
    }
    /**
     * Checks whether provided element is an instance of the SVGGraphicsElement.
     *
     * @param {Element} target - Element to be checked.
     * @returns {boolean}
     */
    var isSVGGraphicsElement = (function () {
        // Some browsers, namely IE and Edge, don't have the SVGGraphicsElement
        // interface.
        if (typeof SVGGraphicsElement !== 'undefined') {
            return function (target) { return target instanceof getWindowOf(target).SVGGraphicsElement; };
        }
        // If it's so, then check that element is at least an instance of the
        // SVGElement and that it has the "getBBox" method.
        // eslint-disable-next-line no-extra-parens
        return function (target) { return (target instanceof getWindowOf(target).SVGElement &&
            typeof target.getBBox === 'function'); };
    })();
    /**
     * Checks whether provided element is a document element (<html>).
     *
     * @param {Element} target - Element to be checked.
     * @returns {boolean}
     */
    function isDocumentElement(target) {
        return target === getWindowOf(target).document.documentElement;
    }
    /**
     * Calculates an appropriate content rectangle for provided html or svg element.
     *
     * @param {Element} target - Element content rectangle of which needs to be calculated.
     * @returns {DOMRectInit}
     */
    function getContentRect(target) {
        if (!isBrowser) {
            return emptyRect;
        }
        if (isSVGGraphicsElement(target)) {
            return getSVGContentRect(target);
        }
        return getHTMLElementContentRect(target);
    }
    /**
     * Creates rectangle with an interface of the DOMRectReadOnly.
     * Spec: https://drafts.fxtf.org/geometry/#domrectreadonly
     *
     * @param {DOMRectInit} rectInit - Object with rectangle's x/y coordinates and dimensions.
     * @returns {DOMRectReadOnly}
     */
    function createReadOnlyRect(_a) {
        var x = _a.x, y = _a.y, width = _a.width, height = _a.height;
        // If DOMRectReadOnly is available use it as a prototype for the rectangle.
        var Constr = typeof DOMRectReadOnly !== 'undefined' ? DOMRectReadOnly : Object;
        var rect = Object.create(Constr.prototype);
        // Rectangle's properties are not writable and non-enumerable.
        defineConfigurable(rect, {
            x: x, y: y, width: width, height: height,
            top: y,
            right: x + width,
            bottom: height + y,
            left: x
        });
        return rect;
    }
    /**
     * Creates DOMRectInit object based on the provided dimensions and the x/y coordinates.
     * Spec: https://drafts.fxtf.org/geometry/#dictdef-domrectinit
     *
     * @param {number} x - X coordinate.
     * @param {number} y - Y coordinate.
     * @param {number} width - Rectangle's width.
     * @param {number} height - Rectangle's height.
     * @returns {DOMRectInit}
     */
    function createRectInit(x, y, width, height) {
        return { x: x, y: y, width: width, height: height };
    }
    
    /**
     * Class that is responsible for computations of the content rectangle of
     * provided DOM element and for keeping track of it's changes.
     */
    var ResizeObservation = /** @class */ (function () {
        /**
         * Creates an instance of ResizeObservation.
         *
         * @param {Element} target - Element to be observed.
         */
        function ResizeObservation(target) {
            /**
             * Broadcasted width of content rectangle.
             *
             * @type {number}
             */
            this.broadcastWidth = 0;
            /**
             * Broadcasted height of content rectangle.
             *
             * @type {number}
             */
            this.broadcastHeight = 0;
            /**
             * Reference to the last observed content rectangle.
             *
             * @private {DOMRectInit}
             */
            this.contentRect_ = createRectInit(0, 0, 0, 0);
            this.target = target;
        }
        /**
         * Updates content rectangle and tells whether it's width or height properties
         * have changed since the last broadcast.
         *
         * @returns {boolean}
         */
        ResizeObservation.prototype.isActive = function () {
            var rect = getContentRect(this.target);
            this.contentRect_ = rect;
            return (rect.width !== this.broadcastWidth ||
                rect.height !== this.broadcastHeight);
        };
        /**
         * Updates 'broadcastWidth' and 'broadcastHeight' properties with a data
         * from the corresponding properties of the last observed content rectangle.
         *
         * @returns {DOMRectInit} Last observed content rectangle.
         */
        ResizeObservation.prototype.broadcastRect = function () {
            var rect = this.contentRect_;
            this.broadcastWidth = rect.width;
            this.broadcastHeight = rect.height;
            return rect;
        };
        return ResizeObservation;
    }());
    
    var ResizeObserverEntry = /** @class */ (function () {
        /**
         * Creates an instance of ResizeObserverEntry.
         *
         * @param {Element} target - Element that is being observed.
         * @param {DOMRectInit} rectInit - Data of the element's content rectangle.
         */
        function ResizeObserverEntry(target, rectInit) {
            var contentRect = createReadOnlyRect(rectInit);
            // According to the specification following properties are not writable
            // and are also not enumerable in the native implementation.
            //
            // Property accessors are not being used as they'd require to define a
            // private WeakMap storage which may cause memory leaks in browsers that
            // don't support this type of collections.
            defineConfigurable(this, { target: target, contentRect: contentRect });
        }
        return ResizeObserverEntry;
    }());
    
    var ResizeObserverSPI = /** @class */ (function () {
        /**
         * Creates a new instance of ResizeObserver.
         *
         * @param {ResizeObserverCallback} callback - Callback function that is invoked
         *      when one of the observed elements changes it's content dimensions.
         * @param {ResizeObserverController} controller - Controller instance which
         *      is responsible for the updates of observer.
         * @param {ResizeObserver} callbackCtx - Reference to the public
         *      ResizeObserver instance which will be passed to callback function.
         */
        function ResizeObserverSPI(callback, controller, callbackCtx) {
            /**
             * Collection of resize observations that have detected changes in dimensions
             * of elements.
             *
             * @private {Array<ResizeObservation>}
             */
            this.activeObservations_ = [];
            /**
             * Registry of the ResizeObservation instances.
             *
             * @private {Map<Element, ResizeObservation>}
             */
            this.observations_ = new MapShim();
            if (typeof callback !== 'function') {
                throw new TypeError('The callback provided as parameter 1 is not a function.');
            }
            this.callback_ = callback;
            this.controller_ = controller;
            this.callbackCtx_ = callbackCtx;
        }
        /**
         * Starts observing provided element.
         *
         * @param {Element} target - Element to be observed.
         * @returns {void}
         */
        ResizeObserverSPI.prototype.observe = function (target) {
            if (!arguments.length) {
                throw new TypeError('1 argument required, but only 0 present.');
            }
            // Do nothing if current environment doesn't have the Element interface.
            if (typeof Element === 'undefined' || !(Element instanceof Object)) {
                return;
            }
            if (!(target instanceof getWindowOf(target).Element)) {
                throw new TypeError('parameter 1 is not of type "Element".');
            }
            var observations = this.observations_;
            // Do nothing if element is already being observed.
            if (observations.has(target)) {
                return;
            }
            observations.set(target, new ResizeObservation(target));
            this.controller_.addObserver(this);
            // Force the update of observations.
            this.controller_.refresh();
        };
        /**
         * Stops observing provided element.
         *
         * @param {Element} target - Element to stop observing.
         * @returns {void}
         */
        ResizeObserverSPI.prototype.unobserve = function (target) {
            if (!arguments.length) {
                throw new TypeError('1 argument required, but only 0 present.');
            }
            // Do nothing if current environment doesn't have the Element interface.
            if (typeof Element === 'undefined' || !(Element instanceof Object)) {
                return;
            }
            if (!(target instanceof getWindowOf(target).Element)) {
                throw new TypeError('parameter 1 is not of type "Element".');
            }
            var observations = this.observations_;
            // Do nothing if element is not being observed.
            if (!observations.has(target)) {
                return;
            }
            observations.delete(target);
            if (!observations.size) {
                this.controller_.removeObserver(this);
            }
        };
        /**
         * Stops observing all elements.
         *
         * @returns {void}
         */
        ResizeObserverSPI.prototype.disconnect = function () {
            this.clearActive();
            this.observations_.clear();
            this.controller_.removeObserver(this);
        };
        /**
         * Collects observation instances the associated element of which has changed
         * it's content rectangle.
         *
         * @returns {void}
         */
        ResizeObserverSPI.prototype.gatherActive = function () {
            var _this = this;
            this.clearActive();
            this.observations_.forEach(function (observation) {
                if (observation.isActive()) {
                    _this.activeObservations_.push(observation);
                }
            });
        };
        /**
         * Invokes initial callback function with a list of ResizeObserverEntry
         * instances collected from active resize observations.
         *
         * @returns {void}
         */
        ResizeObserverSPI.prototype.broadcastActive = function () {
            // Do nothing if observer doesn't have active observations.
            if (!this.hasActive()) {
                return;
            }
            var ctx = this.callbackCtx_;
            // Create ResizeObserverEntry instance for every active observation.
            var entries = this.activeObservations_.map(function (observation) {
                return new ResizeObserverEntry(observation.target, observation.broadcastRect());
            });
            this.callback_.call(ctx, entries, ctx);
            this.clearActive();
        };
        /**
         * Clears the collection of active observations.
         *
         * @returns {void}
         */
        ResizeObserverSPI.prototype.clearActive = function () {
            this.activeObservations_.splice(0);
        };
        /**
         * Tells whether observer has active observations.
         *
         * @returns {boolean}
         */
        ResizeObserverSPI.prototype.hasActive = function () {
            return this.activeObservations_.length > 0;
        };
        return ResizeObserverSPI;
    }());
    
    // Registry of internal observers. If WeakMap is not available use current shim
    // for the Map collection as it has all required methods and because WeakMap
    // can't be fully polyfilled anyway.
    var observers = typeof WeakMap !== 'undefined' ? new WeakMap() : new MapShim();
    /**
     * ResizeObserver API. Encapsulates the ResizeObserver SPI implementation
     * exposing only those methods and properties that are defined in the spec.
     */
    var ResizeObserver = /** @class */ (function () {
        /**
         * Creates a new instance of ResizeObserver.
         *
         * @param {ResizeObserverCallback} callback - Callback that is invoked when
         *      dimensions of the observed elements change.
         */
        function ResizeObserver(callback) {
            if (!(this instanceof ResizeObserver)) {
                throw new TypeError('Cannot call a class as a function.');
            }
            if (!arguments.length) {
                throw new TypeError('1 argument required, but only 0 present.');
            }
            var controller = ResizeObserverController.getInstance();
            var observer = new ResizeObserverSPI(callback, controller, this);
            observers.set(this, observer);
        }
        return ResizeObserver;
    }());
    // Expose public methods of ResizeObserver.
    [
        'observe',
        'unobserve',
        'disconnect'
    ].forEach(function (method) {
        ResizeObserver.prototype[method] = function () {
            var _a;
            return (_a = observers.get(this))[method].apply(_a, arguments);
        };
    });
    
    var index = (function () {
        // Export existing implementation if available.
        if (typeof global$1.ResizeObserver !== 'undefined') {
            return global$1.ResizeObserver;
        }
        return ResizeObserver;
    })();
    
    /* harmony default export */ __webpack_exports__.Z = (index);
    
    
    /***/ }),
    
    /***/ 74284:
    /*!**********************************************************************************!*\
      !*** ./node_modules/_scheduler@0.20.2@scheduler/cjs/scheduler.production.min.js ***!
      \**********************************************************************************/
    /***/ (function(__unused_webpack_module, exports) {
    
    "use strict";
    /** @license React v0.20.2
     * scheduler.production.min.js
     *
     * Copyright (c) Facebook, Inc. and its affiliates.
     *
     * This source code is licensed under the MIT license found in the
     * LICENSE file in the root directory of this source tree.
     */
    var f,g,h,k;if("object"===typeof performance&&"function"===typeof performance.now){var l=performance;exports.unstable_now=function(){return l.now()}}else{var p=Date,q=p.now();exports.unstable_now=function(){return p.now()-q}}
    if("undefined"===typeof window||"function"!==typeof MessageChannel){var t=null,u=null,w=function(){if(null!==t)try{var a=exports.unstable_now();t(!0,a);t=null}catch(b){throw setTimeout(w,0),b;}};f=function(a){null!==t?setTimeout(f,0,a):(t=a,setTimeout(w,0))};g=function(a,b){u=setTimeout(a,b)};h=function(){clearTimeout(u)};exports.unstable_shouldYield=function(){return!1};k=exports.unstable_forceFrameRate=function(){}}else{var x=window.setTimeout,y=window.clearTimeout;if("undefined"!==typeof console){var z=
    window.cancelAnimationFrame;"function"!==typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills");"function"!==typeof z&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills")}var A=!1,B=null,C=-1,D=5,E=0;exports.unstable_shouldYield=function(){return exports.unstable_now()>=
    E};k=function(){};exports.unstable_forceFrameRate=function(a){0>a||125<a?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):D=0<a?Math.floor(1E3/a):5};var F=new MessageChannel,G=F.port2;F.port1.onmessage=function(){if(null!==B){var a=exports.unstable_now();E=a+D;try{B(!0,a)?G.postMessage(null):(A=!1,B=null)}catch(b){throw G.postMessage(null),b;}}else A=!1};f=function(a){B=a;A||(A=!0,G.postMessage(null))};g=function(a,b){C=
    x(function(){a(exports.unstable_now())},b)};h=function(){y(C);C=-1}}function H(a,b){var c=a.length;a.push(b);a:for(;;){var d=c-1>>>1,e=a[d];if(void 0!==e&&0<I(e,b))a[d]=b,a[c]=e,c=d;else break a}}function J(a){a=a[0];return void 0===a?null:a}
    function K(a){var b=a[0];if(void 0!==b){var c=a.pop();if(c!==b){a[0]=c;a:for(var d=0,e=a.length;d<e;){var m=2*(d+1)-1,n=a[m],v=m+1,r=a[v];if(void 0!==n&&0>I(n,c))void 0!==r&&0>I(r,n)?(a[d]=r,a[v]=c,d=v):(a[d]=n,a[m]=c,d=m);else if(void 0!==r&&0>I(r,c))a[d]=r,a[v]=c,d=v;else break a}}return b}return null}function I(a,b){var c=a.sortIndex-b.sortIndex;return 0!==c?c:a.id-b.id}var L=[],M=[],N=1,O=null,P=3,Q=!1,R=!1,S=!1;
    function T(a){for(var b=J(M);null!==b;){if(null===b.callback)K(M);else if(b.startTime<=a)K(M),b.sortIndex=b.expirationTime,H(L,b);else break;b=J(M)}}function U(a){S=!1;T(a);if(!R)if(null!==J(L))R=!0,f(V);else{var b=J(M);null!==b&&g(U,b.startTime-a)}}
    function V(a,b){R=!1;S&&(S=!1,h());Q=!0;var c=P;try{T(b);for(O=J(L);null!==O&&(!(O.expirationTime>b)||a&&!exports.unstable_shouldYield());){var d=O.callback;if("function"===typeof d){O.callback=null;P=O.priorityLevel;var e=d(O.expirationTime<=b);b=exports.unstable_now();"function"===typeof e?O.callback=e:O===J(L)&&K(L);T(b)}else K(L);O=J(L)}if(null!==O)var m=!0;else{var n=J(M);null!==n&&g(U,n.startTime-b);m=!1}return m}finally{O=null,P=c,Q=!1}}var W=k;exports.unstable_IdlePriority=5;
    exports.unstable_ImmediatePriority=1;exports.unstable_LowPriority=4;exports.unstable_NormalPriority=3;exports.unstable_Profiling=null;exports.unstable_UserBlockingPriority=2;exports.unstable_cancelCallback=function(a){a.callback=null};exports.unstable_continueExecution=function(){R||Q||(R=!0,f(V))};exports.unstable_getCurrentPriorityLevel=function(){return P};exports.unstable_getFirstCallbackNode=function(){return J(L)};
    exports.unstable_next=function(a){switch(P){case 1:case 2:case 3:var b=3;break;default:b=P}var c=P;P=b;try{return a()}finally{P=c}};exports.unstable_pauseExecution=function(){};exports.unstable_requestPaint=W;exports.unstable_runWithPriority=function(a,b){switch(a){case 1:case 2:case 3:case 4:case 5:break;default:a=3}var c=P;P=a;try{return b()}finally{P=c}};
    exports.unstable_scheduleCallback=function(a,b,c){var d=exports.unstable_now();"object"===typeof c&&null!==c?(c=c.delay,c="number"===typeof c&&0<c?d+c:d):c=d;switch(a){case 1:var e=-1;break;case 2:e=250;break;case 5:e=1073741823;break;case 4:e=1E4;break;default:e=5E3}e=c+e;a={id:N++,callback:b,priorityLevel:a,startTime:c,expirationTime:e,sortIndex:-1};c>d?(a.sortIndex=c,H(M,a),null===J(L)&&a===J(M)&&(S?h():S=!0,g(U,c-d))):(a.sortIndex=e,H(L,a),R||Q||(R=!0,f(V)));return a};
    exports.unstable_wrapCallback=function(a){var b=P;return function(){var c=P;P=b;try{return a.apply(this,arguments)}finally{P=c}}};
    
    
    /***/ }),
    
    /***/ 43014:
    /*!***********************************************************!*\
      !*** ./node_modules/_scheduler@0.20.2@scheduler/index.js ***!
      \***********************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    
    if (true) {
      module.exports = __webpack_require__(/*! ./cjs/scheduler.production.min.js */ 74284);
    } else {}
    
    
    /***/ }),
    
    /***/ 18947:
    /*!**************************************************************************!*\
      !*** ./node_modules/_shallow-equal@1.2.1@shallow-equal/objects/index.js ***!
      \**************************************************************************/
    /***/ (function(module) {
    
    "use strict";
    
    
    function shallowEqualObjects(objA, objB) {
      if (objA === objB) {
        return true;
      }
    
      if (!objA || !objB) {
        return false;
      }
    
      var aKeys = Object.keys(objA);
      var bKeys = Object.keys(objB);
      var len = aKeys.length;
    
      if (bKeys.length !== len) {
        return false;
      }
    
      for (var i = 0; i < len; i++) {
        var key = aKeys[i];
    
        if (objA[key] !== objB[key] || !Object.prototype.hasOwnProperty.call(objB, key)) {
          return false;
        }
      }
    
      return true;
    }
    
    module.exports = shallowEqualObjects;
    
    
    /***/ }),
    
    /***/ 19747:
    /*!****************************************************************!*\
      !*** ./node_modules/_shallowequal@1.1.0@shallowequal/index.js ***!
      \****************************************************************/
    /***/ (function(module) {
    
    //
    
    module.exports = function shallowEqual(objA, objB, compare, compareContext) {
      var ret = compare ? compare.call(compareContext, objA, objB) : void 0;
    
      if (ret !== void 0) {
        return !!ret;
      }
    
      if (objA === objB) {
        return true;
      }
    
      if (typeof objA !== "object" || !objA || typeof objB !== "object" || !objB) {
        return false;
      }
    
      var keysA = Object.keys(objA);
      var keysB = Object.keys(objB);
    
      if (keysA.length !== keysB.length) {
        return false;
      }
    
      var bHasOwnProperty = Object.prototype.hasOwnProperty.bind(objB);
    
      // Test for A's keys different from B.
      for (var idx = 0; idx < keysA.length; idx++) {
        var key = keysA[idx];
    
        if (!bHasOwnProperty(key)) {
          return false;
        }
    
        var valueA = objA[key];
        var valueB = objB[key];
    
        ret = compare ? compare.call(compareContext, valueA, valueB, key) : void 0;
    
        if (ret === false || (ret === void 0 && valueA !== valueB)) {
          return false;
        }
      }
    
      return true;
    };
    
    
    /***/ }),
    
    /***/ 797:
    /*!******************************************************!*\
      !*** ./node_modules/_type@2.7.3@type/function/is.js ***!
      \******************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    
    var isPrototype = __webpack_require__(/*! ../prototype/is */ 54723);
    
    module.exports = function (value) {
    	if (typeof value !== "function") return false;
    
    	if (!hasOwnProperty.call(value, "length")) return false;
    
    	try {
    		if (typeof value.length !== "number") return false;
    		if (typeof value.call !== "function") return false;
    		if (typeof value.apply !== "function") return false;
    	} catch (error) {
    		return false;
    	}
    
    	return !isPrototype(value);
    };
    
    
    /***/ }),
    
    /***/ 95562:
    /*!****************************************************!*\
      !*** ./node_modules/_type@2.7.3@type/object/is.js ***!
      \****************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    
    var isValue = __webpack_require__(/*! ../value/is */ 57046);
    
    // prettier-ignore
    var possibleTypes = { "object": true, "function": true, "undefined": true /* document.all */ };
    
    module.exports = function (value) {
    	if (!isValue(value)) return false;
    	return hasOwnProperty.call(possibleTypes, typeof value);
    };
    
    
    /***/ }),
    
    /***/ 69574:
    /*!************************************************************!*\
      !*** ./node_modules/_type@2.7.3@type/plain-function/is.js ***!
      \************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    
    var isFunction = __webpack_require__(/*! ../function/is */ 797);
    
    var classRe = /^\s*class[\s{/}]/, functionToString = Function.prototype.toString;
    
    module.exports = function (value) {
    	if (!isFunction(value)) return false;
    	if (classRe.test(functionToString.call(value))) return false;
    	return true;
    };
    
    
    /***/ }),
    
    /***/ 54723:
    /*!*******************************************************!*\
      !*** ./node_modules/_type@2.7.3@type/prototype/is.js ***!
      \*******************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    
    var isObject = __webpack_require__(/*! ../object/is */ 95562);
    
    module.exports = function (value) {
    	if (!isObject(value)) return false;
    	try {
    		if (!value.constructor) return false;
    		return value.constructor.prototype === value;
    	} catch (error) {
    		return false;
    	}
    };
    
    
    /***/ }),
    
    /***/ 57046:
    /*!***************************************************!*\
      !*** ./node_modules/_type@2.7.3@type/value/is.js ***!
      \***************************************************/
    /***/ (function(module) {
    
    "use strict";
    
    
    // ES3 safe
    var _undefined = void 0;
    
    module.exports = function (value) { return value !== _undefined && value !== null; };
    
    
    /***/ }),
    
    /***/ 47476:
    /*!**************************************************************************!*\
      !*** ./node_modules/_umi@4.6.26@umi/client/client/plugin.js + 8 modules ***!
      \**************************************************************************/
    /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
    
    "use strict";
    
    // EXPORTS
    __webpack_require__.d(__webpack_exports__, {
      A: function() { return /* binding */ ApplyPluginsType; },
      Q: function() { return /* binding */ PluginManager; }
    });
    
    // EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/esm/typeof.js
    var esm_typeof = __webpack_require__(8616);
    ;// CONCATENATED MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/esm/regeneratorRuntime.js
    
    function _regeneratorRuntime() {
      "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
      _regeneratorRuntime = function _regeneratorRuntime() {
        return e;
      };
      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) {
        ["next", "throw", "return"].forEach(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" == (0,esm_typeof/* default */.Z)(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 new 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 e = {
          tryLoc: t[0]
        };
        1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e);
      }
      function resetTryEntry(t) {
        var e = t.completion || {};
        e.type = "normal", delete e.arg, t.completion = e;
      }
      function Context(t) {
        this.tryEntries = [{
          tryLoc: "root"
        }], t.forEach(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((0,esm_typeof/* default */.Z)(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) r.push(n);
        return r.reverse(), 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) {
          if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(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 new 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 new 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;
    }
    // EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/esm/objectSpread2.js
    var objectSpread2 = __webpack_require__(63579);
    ;// CONCATENATED MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/esm/asyncToGenerator.js
    function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
      try {
        var info = gen[key](arg);
        var value = info.value;
      } catch (error) {
        reject(error);
        return;
      }
      if (info.done) {
        resolve(value);
      } else {
        Promise.resolve(value).then(_next, _throw);
      }
    }
    function _asyncToGenerator(fn) {
      return function () {
        var self = this,
          args = arguments;
        return new Promise(function (resolve, reject) {
          var gen = fn.apply(self, args);
          function _next(value) {
            asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
          }
          function _throw(err) {
            asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
          }
          _next(undefined);
        });
      };
    }
    // EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/esm/unsupportedIterableToArray.js + 1 modules
    var unsupportedIterableToArray = __webpack_require__(99227);
    ;// CONCATENATED MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/esm/createForOfIteratorHelper.js
    
    function _createForOfIteratorHelper(o, allowArrayLike) {
      var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"];
      if (!it) {
        if (Array.isArray(o) || (it = (0,unsupportedIterableToArray/* default */.Z)(o)) || allowArrayLike && o && typeof o.length === "number") {
          if (it) o = it;
          var i = 0;
          var F = function F() {};
          return {
            s: F,
            n: function n() {
              if (i >= o.length) return {
                done: true
              };
              return {
                done: false,
                value: o[i++]
              };
            },
            e: function e(_e) {
              throw _e;
            },
            f: F
          };
        }
        throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
      }
      var normalCompletion = true,
        didErr = false,
        err;
      return {
        s: function s() {
          it = it.call(o);
        },
        n: function n() {
          var step = it.next();
          normalCompletion = step.done;
          return step;
        },
        e: function e(_e2) {
          didErr = true;
          err = _e2;
        },
        f: function f() {
          try {
            if (!normalCompletion && it["return"] != null) it["return"]();
          } finally {
            if (didErr) throw err;
          }
        }
      };
    }
    // EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/esm/arrayWithHoles.js
    var arrayWithHoles = __webpack_require__(73825);
    ;// CONCATENATED MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/esm/iterableToArray.js
    function _iterableToArray(iter) {
      if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
    }
    // EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/esm/nonIterableRest.js
    var nonIterableRest = __webpack_require__(66160);
    ;// CONCATENATED MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/esm/toArray.js
    
    
    
    
    function _toArray(arr) {
      return (0,arrayWithHoles/* default */.Z)(arr) || _iterableToArray(arr) || (0,unsupportedIterableToArray/* default */.Z)(arr) || (0,nonIterableRest/* default */.Z)();
    }
    ;// CONCATENATED MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/esm/classCallCheck.js
    function _classCallCheck(instance, Constructor) {
      if (!(instance instanceof Constructor)) {
        throw new TypeError("Cannot call a class as a function");
      }
    }
    // EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/esm/toPropertyKey.js + 1 modules
    var toPropertyKey = __webpack_require__(89878);
    ;// CONCATENATED MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/esm/createClass.js
    
    function _defineProperties(target, props) {
      for (var i = 0; i < props.length; i++) {
        var descriptor = props[i];
        descriptor.enumerable = descriptor.enumerable || false;
        descriptor.configurable = true;
        if ("value" in descriptor) descriptor.writable = true;
        Object.defineProperty(target, (0,toPropertyKey/* default */.Z)(descriptor.key), descriptor);
      }
    }
    function _createClass(Constructor, protoProps, staticProps) {
      if (protoProps) _defineProperties(Constructor.prototype, protoProps);
      if (staticProps) _defineProperties(Constructor, staticProps);
      Object.defineProperty(Constructor, "prototype", {
        writable: false
      });
      return Constructor;
    }
    // EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/esm/defineProperty.js
    var defineProperty = __webpack_require__(65873);
    ;// CONCATENATED MODULE: ./node_modules/_umi@4.6.26@umi/client/client/utils.js
    
    function assert(value, message) {
      if (!value) throw new Error(message);
    }
    function compose(_ref) {
      var fns = _ref.fns,
        args = _ref.args;
      if (fns.length === 1) {
        return fns[0];
      }
      var last = fns.pop();
      return fns.reduce(function (a, b) {
        return function () {
          return b(a, args);
        };
      }, last);
    }
    function isPromiseLike(obj) {
      return !!obj && (0,esm_typeof/* default */.Z)(obj) === 'object' && typeof obj.then === 'function';
    }
    ;// CONCATENATED MODULE: ./node_modules/_umi@4.6.26@umi/client/client/plugin.js
    
    
    
    
    
    
    
    
    
    
    var ApplyPluginsType = /*#__PURE__*/function (ApplyPluginsType) {
      ApplyPluginsType["compose"] = "compose";
      ApplyPluginsType["modify"] = "modify";
      ApplyPluginsType["event"] = "event";
      return ApplyPluginsType;
    }({});
    var PluginManager = /*#__PURE__*/function () {
      function PluginManager(opts) {
        _classCallCheck(this, PluginManager);
        (0,defineProperty/* default */.Z)(this, "opts", void 0);
        (0,defineProperty/* default */.Z)(this, "hooks", {});
        this.opts = opts;
      }
      _createClass(PluginManager, [{
        key: "register",
        value: function register(plugin) {
          var _this = this;
          assert(plugin.apply, "plugin register failed, apply must supplied");
          Object.keys(plugin.apply).forEach(function (key) {
            assert(_this.opts.validKeys.indexOf(key) > -1, "register failed, invalid key ".concat(key, " ").concat(plugin.path ? "from plugin ".concat(plugin.path) : '', "."));
            _this.hooks[key] = (_this.hooks[key] || []).concat(plugin.apply[key]);
          });
        }
      }, {
        key: "getHooks",
        value: function getHooks(keyWithDot) {
          var _keyWithDot$split = keyWithDot.split('.'),
            _keyWithDot$split2 = _toArray(_keyWithDot$split),
            key = _keyWithDot$split2[0],
            memberKeys = _keyWithDot$split2.slice(1);
          var hooks = this.hooks[key] || [];
          if (memberKeys.length) {
            hooks = hooks.map(function (hook) {
              try {
                var ret = hook;
                var _iterator = _createForOfIteratorHelper(memberKeys),
                  _step;
                try {
                  for (_iterator.s(); !(_step = _iterator.n()).done;) {
                    var memberKey = _step.value;
                    ret = ret[memberKey];
                  }
                } catch (err) {
                  _iterator.e(err);
                } finally {
                  _iterator.f();
                }
                return ret;
              } catch (e) {
                return null;
              }
            }).filter(Boolean);
          }
          return hooks;
        }
      }, {
        key: "applyPlugins",
        value: function applyPlugins(_ref) {
          var key = _ref.key,
            type = _ref.type,
            initialValue = _ref.initialValue,
            args = _ref.args,
            async = _ref.async;
          var hooks = this.getHooks(key) || [];
          if (args) {
            assert((0,esm_typeof/* default */.Z)(args) === 'object', "applyPlugins failed, args must be plain object.");
          }
          if (async) {
            assert(type === ApplyPluginsType.modify || type === ApplyPluginsType.event, "async only works with modify and event type.");
          }
          switch (type) {
            case ApplyPluginsType.modify:
              if (async) {
                return hooks.reduce( /*#__PURE__*/function () {
                  var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(memo, hook) {
                    var ret;
                    return _regeneratorRuntime().wrap(function _callee$(_context) {
                      while (1) switch (_context.prev = _context.next) {
                        case 0:
                          assert(typeof hook === 'function' || (0,esm_typeof/* default */.Z)(hook) === 'object' || isPromiseLike(hook), "applyPlugins failed, all hooks for key ".concat(key, " must be function, plain object or Promise."));
                          if (!isPromiseLike(memo)) {
                            _context.next = 5;
                            break;
                          }
                          _context.next = 4;
                          return memo;
                        case 4:
                          memo = _context.sent;
                        case 5:
                          if (!(typeof hook === 'function')) {
                            _context.next = 16;
                            break;
                          }
                          ret = hook(memo, args);
                          if (!isPromiseLike(ret)) {
                            _context.next = 13;
                            break;
                          }
                          _context.next = 10;
                          return ret;
                        case 10:
                          return _context.abrupt("return", _context.sent);
                        case 13:
                          return _context.abrupt("return", ret);
                        case 14:
                          _context.next = 21;
                          break;
                        case 16:
                          if (!isPromiseLike(hook)) {
                            _context.next = 20;
                            break;
                          }
                          _context.next = 19;
                          return hook;
                        case 19:
                          hook = _context.sent;
                        case 20:
                          return _context.abrupt("return", (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, memo), hook));
                        case 21:
                        case "end":
                          return _context.stop();
                      }
                    }, _callee);
                  }));
                  return function (_x, _x2) {
                    return _ref2.apply(this, arguments);
                  };
                }(), isPromiseLike(initialValue) ? initialValue : Promise.resolve(initialValue));
              } else {
                return hooks.reduce(function (memo, hook) {
                  assert(typeof hook === 'function' || (0,esm_typeof/* default */.Z)(hook) === 'object', "applyPlugins failed, all hooks for key ".concat(key, " must be function or plain object."));
                  if (typeof hook === 'function') {
                    return hook(memo, args);
                  } else {
                    // TODO: deepmerge?
                    return (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, memo), hook);
                  }
                }, initialValue);
              }
            case ApplyPluginsType.event:
              return _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
                var _iterator2, _step2, hook, ret;
                return _regeneratorRuntime().wrap(function _callee2$(_context2) {
                  while (1) switch (_context2.prev = _context2.next) {
                    case 0:
                      _iterator2 = _createForOfIteratorHelper(hooks);
                      _context2.prev = 1;
                      _iterator2.s();
                    case 3:
                      if ((_step2 = _iterator2.n()).done) {
                        _context2.next = 12;
                        break;
                      }
                      hook = _step2.value;
                      assert(typeof hook === 'function', "applyPlugins failed, all hooks for key ".concat(key, " must be function."));
                      ret = hook(args);
                      if (!(async && isPromiseLike(ret))) {
                        _context2.next = 10;
                        break;
                      }
                      _context2.next = 10;
                      return ret;
                    case 10:
                      _context2.next = 3;
                      break;
                    case 12:
                      _context2.next = 17;
                      break;
                    case 14:
                      _context2.prev = 14;
                      _context2.t0 = _context2["catch"](1);
                      _iterator2.e(_context2.t0);
                    case 17:
                      _context2.prev = 17;
                      _iterator2.f();
                      return _context2.finish(17);
                    case 20:
                    case "end":
                      return _context2.stop();
                  }
                }, _callee2, null, [[1, 14, 17, 20]]);
              }))();
            case ApplyPluginsType.compose:
              return function () {
                return compose({
                  fns: hooks.concat(initialValue),
                  args: args
                })();
              };
          }
        }
      }], [{
        key: "create",
        value: function create(opts) {
          var pluginManager = new PluginManager({
            validKeys: opts.validKeys
          });
          opts.plugins.forEach(function (plugin) {
            pluginManager.register(plugin);
          });
          return pluginManager;
        }
      }]);
      return PluginManager;
    }();
    
    // plugins meta info (in tmp file)
    // hooks api: usePlugin
    
    /***/ }),
    
    /***/ 23188:
    /*!****************************************************************************************************************************!*\
      !*** ./node_modules/_use-sync-external-store@1.6.0@use-sync-external-store/cjs/use-sync-external-store-shim.production.js ***!
      \****************************************************************************************************************************/
    /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
    
    "use strict";
    /**
     * @license React
     * use-sync-external-store-shim.production.js
     *
     * Copyright (c) Meta Platforms, Inc. and affiliates.
     *
     * This source code is licensed under the MIT license found in the
     * LICENSE file in the root directory of this source tree.
     */
    
    
    var React = __webpack_require__(/*! react */ 59301);
    function is(x, y) {
      return (x === y && (0 !== x || 1 / x === 1 / y)) || (x !== x && y !== y);
    }
    var objectIs = "function" === typeof Object.is ? Object.is : is,
      useState = React.useState,
      useEffect = React.useEffect,
      useLayoutEffect = React.useLayoutEffect,
      useDebugValue = React.useDebugValue;
    function useSyncExternalStore$2(subscribe, getSnapshot) {
      var value = getSnapshot(),
        _useState = useState({ inst: { value: value, getSnapshot: getSnapshot } }),
        inst = _useState[0].inst,
        forceUpdate = _useState[1];
      useLayoutEffect(
        function () {
          inst.value = value;
          inst.getSnapshot = getSnapshot;
          checkIfSnapshotChanged(inst) && forceUpdate({ inst: inst });
        },
        [subscribe, value, getSnapshot]
      );
      useEffect(
        function () {
          checkIfSnapshotChanged(inst) && forceUpdate({ inst: inst });
          return subscribe(function () {
            checkIfSnapshotChanged(inst) && forceUpdate({ inst: inst });
          });
        },
        [subscribe]
      );
      useDebugValue(value);
      return value;
    }
    function checkIfSnapshotChanged(inst) {
      var latestGetSnapshot = inst.getSnapshot;
      inst = inst.value;
      try {
        var nextValue = latestGetSnapshot();
        return !objectIs(inst, nextValue);
      } catch (error) {
        return !0;
      }
    }
    function useSyncExternalStore$1(subscribe, getSnapshot) {
      return getSnapshot();
    }
    var shim =
      "undefined" === typeof window ||
      "undefined" === typeof window.document ||
      "undefined" === typeof window.document.createElement
        ? useSyncExternalStore$1
        : useSyncExternalStore$2;
    exports.useSyncExternalStore =
      void 0 !== React.useSyncExternalStore ? React.useSyncExternalStore : shim;
    
    
    /***/ }),
    
    /***/ 35316:
    /*!******************************************************************************************************************************************!*\
      !*** ./node_modules/_use-sync-external-store@1.6.0@use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.js ***!
      \******************************************************************************************************************************************/
    /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
    
    "use strict";
    /**
     * @license React
     * use-sync-external-store-shim/with-selector.production.js
     *
     * Copyright (c) Meta Platforms, Inc. and affiliates.
     *
     * This source code is licensed under the MIT license found in the
     * LICENSE file in the root directory of this source tree.
     */
    
    
    var React = __webpack_require__(/*! react */ 59301),
      shim = __webpack_require__(/*! use-sync-external-store/shim */ 44718);
    function is(x, y) {
      return (x === y && (0 !== x || 1 / x === 1 / y)) || (x !== x && y !== y);
    }
    var objectIs = "function" === typeof Object.is ? Object.is : is,
      useSyncExternalStore = shim.useSyncExternalStore,
      useRef = React.useRef,
      useEffect = React.useEffect,
      useMemo = React.useMemo,
      useDebugValue = React.useDebugValue;
    exports.useSyncExternalStoreWithSelector = function (
      subscribe,
      getSnapshot,
      getServerSnapshot,
      selector,
      isEqual
    ) {
      var instRef = useRef(null);
      if (null === instRef.current) {
        var inst = { hasValue: !1, value: null };
        instRef.current = inst;
      } else inst = instRef.current;
      instRef = useMemo(
        function () {
          function memoizedSelector(nextSnapshot) {
            if (!hasMemo) {
              hasMemo = !0;
              memoizedSnapshot = nextSnapshot;
              nextSnapshot = selector(nextSnapshot);
              if (void 0 !== isEqual && inst.hasValue) {
                var currentSelection = inst.value;
                if (isEqual(currentSelection, nextSnapshot))
                  return (memoizedSelection = currentSelection);
              }
              return (memoizedSelection = nextSnapshot);
            }
            currentSelection = memoizedSelection;
            if (objectIs(memoizedSnapshot, nextSnapshot)) return currentSelection;
            var nextSelection = selector(nextSnapshot);
            if (void 0 !== isEqual && isEqual(currentSelection, nextSelection))
              return (memoizedSnapshot = nextSnapshot), currentSelection;
            memoizedSnapshot = nextSnapshot;
            return (memoizedSelection = nextSelection);
          }
          var hasMemo = !1,
            memoizedSnapshot,
            memoizedSelection,
            maybeGetServerSnapshot =
              void 0 === getServerSnapshot ? null : getServerSnapshot;
          return [
            function () {
              return memoizedSelector(getSnapshot());
            },
            null === maybeGetServerSnapshot
              ? void 0
              : function () {
                  return memoizedSelector(maybeGetServerSnapshot());
                }
          ];
        },
        [getSnapshot, getServerSnapshot, selector, isEqual]
      );
      var value = useSyncExternalStore(subscribe, instRef[0], instRef[1]);
      useEffect(
        function () {
          inst.hasValue = !0;
          inst.value = value;
        },
        [value]
      );
      useDebugValue(value);
      return value;
    };
    
    
    /***/ }),
    
    /***/ 44718:
    /*!*******************************************************************************************!*\
      !*** ./node_modules/_use-sync-external-store@1.6.0@use-sync-external-store/shim/index.js ***!
      \*******************************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    
    if (true) {
      module.exports = __webpack_require__(/*! ../cjs/use-sync-external-store-shim.production.js */ 23188);
    } else {}
    
    
    /***/ }),
    
    /***/ 56805:
    /*!***************************************************************************************************!*\
      !*** ./node_modules/_use-sync-external-store@1.6.0@use-sync-external-store/shim/with-selector.js ***!
      \***************************************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    
    if (true) {
      module.exports = __webpack_require__(/*! ../cjs/use-sync-external-store-shim/with-selector.production.js */ 35316);
    } else {}
    
    
    /***/ }),
    
    /***/ 1012:
    /*!**************************************************************************!*\
      !*** ./node_modules/_uuid@8.3.0@uuid/dist/esm-browser/v4.js + 4 modules ***!
      \**************************************************************************/
    /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
    
    "use strict";
    
    // EXPORTS
    __webpack_require__.d(__webpack_exports__, {
      Z: function() { return /* binding */ esm_browser_v4; }
    });
    
    ;// CONCATENATED MODULE: ./node_modules/_uuid@8.3.0@uuid/dist/esm-browser/rng.js
    // Unique ID creation requires a high quality random # generator. In the browser we therefore
    // require the crypto API and do not support built-in fallback to lower quality random number
    // generators (like Math.random()).
    // getRandomValues needs to be invoked in a context where "this" is a Crypto implementation. Also,
    // find the complete implementation of crypto (msCrypto) on IE11.
    var getRandomValues = typeof crypto !== 'undefined' && crypto.getRandomValues && crypto.getRandomValues.bind(crypto) || typeof msCrypto !== 'undefined' && typeof msCrypto.getRandomValues === 'function' && msCrypto.getRandomValues.bind(msCrypto);
    var rnds8 = new Uint8Array(16);
    function rng() {
      if (!getRandomValues) {
        throw new Error('crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported');
      }
    
      return getRandomValues(rnds8);
    }
    ;// CONCATENATED MODULE: ./node_modules/_uuid@8.3.0@uuid/dist/esm-browser/regex.js
    /* harmony default export */ var regex = (/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i);
    ;// CONCATENATED MODULE: ./node_modules/_uuid@8.3.0@uuid/dist/esm-browser/validate.js
    
    
    function validate(uuid) {
      return typeof uuid === 'string' && regex.test(uuid);
    }
    
    /* harmony default export */ var esm_browser_validate = (validate);
    ;// CONCATENATED MODULE: ./node_modules/_uuid@8.3.0@uuid/dist/esm-browser/stringify.js
    
    /**
     * Convert array of 16 byte values to UUID string format of the form:
     * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
     */
    
    var byteToHex = [];
    
    for (var i = 0; i < 256; ++i) {
      byteToHex.push((i + 0x100).toString(16).substr(1));
    }
    
    function stringify(arr) {
      var offset = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;
      // Note: Be careful editing this code!  It's been tuned for performance
      // and works in ways you may not expect. See https://github.com/uuidjs/uuid/pull/434
      var uuid = (byteToHex[arr[offset + 0]] + byteToHex[arr[offset + 1]] + byteToHex[arr[offset + 2]] + byteToHex[arr[offset + 3]] + '-' + byteToHex[arr[offset + 4]] + byteToHex[arr[offset + 5]] + '-' + byteToHex[arr[offset + 6]] + byteToHex[arr[offset + 7]] + '-' + byteToHex[arr[offset + 8]] + byteToHex[arr[offset + 9]] + '-' + byteToHex[arr[offset + 10]] + byteToHex[arr[offset + 11]] + byteToHex[arr[offset + 12]] + byteToHex[arr[offset + 13]] + byteToHex[arr[offset + 14]] + byteToHex[arr[offset + 15]]).toLowerCase(); // Consistency check for valid UUID.  If this throws, it's likely due to one
      // of the following:
      // - One or more input array values don't map to a hex octet (leading to
      // "undefined" in the uuid)
      // - Invalid input values for the RFC `version` or `variant` fields
    
      if (!esm_browser_validate(uuid)) {
        throw TypeError('Stringified UUID is invalid');
      }
    
      return uuid;
    }
    
    /* harmony default export */ var esm_browser_stringify = (stringify);
    ;// CONCATENATED MODULE: ./node_modules/_uuid@8.3.0@uuid/dist/esm-browser/v4.js
    
    
    
    function v4(options, buf, offset) {
      options = options || {};
      var rnds = options.random || (options.rng || rng)(); // Per 4.4, set bits for version and `clock_seq_hi_and_reserved`
    
      rnds[6] = rnds[6] & 0x0f | 0x40;
      rnds[8] = rnds[8] & 0x3f | 0x80; // Copy bytes to buffer, if provided
    
      if (buf) {
        offset = offset || 0;
    
        for (var i = 0; i < 16; ++i) {
          buf[offset + i] = rnds[i];
        }
    
        return buf;
      }
    
      return esm_browser_stringify(rnds);
    }
    
    /* harmony default export */ var esm_browser_v4 = (v4);
    
    /***/ }),
    
    /***/ 56754:
    /*!********************************************************!*\
      !*** ./node_modules/_warning@3.0.0@warning/browser.js ***!
      \********************************************************/
    /***/ (function(module) {
    
    "use strict";
    /**
     * Copyright 2014-2015, Facebook, Inc.
     * All rights reserved.
     *
     * This source code is licensed under the BSD-style license found in the
     * LICENSE file in the root directory of this source tree. An additional grant
     * of patent rights can be found in the PATENTS file in the same directory.
     */
    
    
    
    /**
     * Similar to invariant but only logs a warning if the condition is not met.
     * This can be used to log issues in development environments in critical
     * paths. Removing the logging code for production environments will keep the
     * same logic and follow the same code paths.
     */
    
    var warning = function() {};
    
    if (false) {}
    
    module.exports = warning;
    
    
    /***/ }),
    
    /***/ 85239:
    /*!********************************************************!*\
      !*** ./node_modules/_warning@4.0.3@warning/warning.js ***!
      \********************************************************/
    /***/ (function(module) {
    
    "use strict";
    /**
     * Copyright (c) 2014-present, Facebook, Inc.
     *
     * This source code is licensed under the MIT license found in the
     * LICENSE file in the root directory of this source tree.
     */
    
    
    
    /**
     * Similar to invariant but only logs a warning if the condition is not met.
     * This can be used to log issues in development environments in critical
     * paths. Removing the logging code for production environments will keep the
     * same logic and follow the same code paths.
     */
    
    var __DEV__ = "production" !== 'production';
    
    var warning = function() {};
    
    if (__DEV__) {
      var printWarning = function printWarning(format, args) {
        var len = arguments.length;
        args = new Array(len > 1 ? len - 1 : 0);
        for (var key = 1; key < len; key++) {
          args[key - 1] = arguments[key];
        }
        var argIndex = 0;
        var message = 'Warning: ' +
          format.replace(/%s/g, function() {
            return args[argIndex++];
          });
        if (typeof console !== 'undefined') {
          console.error(message);
        }
        try {
          // --- Welcome to debugging React ---
          // This error was thrown as a convenience so that you can use this stack
          // to find the callsite that caused this warning to fire.
          throw new Error(message);
        } catch (x) {}
      }
    
      warning = function(condition, format, args) {
        var len = arguments.length;
        args = new Array(len > 2 ? len - 2 : 0);
        for (var key = 2; key < len; key++) {
          args[key - 2] = arguments[key];
        }
        if (format === undefined) {
          throw new Error(
              '`warning(condition, format, ...args)` requires a warning ' +
              'message argument'
          );
        }
        if (!condition) {
          printWarning.apply(null, [format].concat(args));
        }
      };
    }
    
    module.exports = warning;
    
    
    /***/ }),
    
    /***/ 4977:
    /*!********************************************!*\
      !*** ./src/assets/images/icons/nodata.png ***!
      \********************************************/
    /***/ (function(module) {
    
    "use strict";
    module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMwAAACaCAYAAADl9acYAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXQd4U1Ubfs/NaJtO9kzLahFQEJkiUBBFUFFkCCjiAAVFERT5FREQQQXBBcpysWRP2RtkKRsEOphNodCZdDfjnv85CU2TZt2bhABNDw9PmtzvrO+c957xLQIP0pkz1yrQIEmwwcDzHhTj91klEo7jpcG5zetWUJdmRjmPvTM9GI9JgSGvadOoLE9KJJ5kPp2YXLtZdO1kT8ooz2vigCNelvPYezPEG7z0CDAn4pJqPvJA5A3vdcl/S3LEy3Iee29OeIOX5YDx3nh4VFI5YDxin6DM5YARxKb7g6gcMHd+nMoBc+d57LKGhCQ1ZURBCoVL2nKCO8sBZWW50x1TOWDuLP8FlV4OGEFs8glROWB8wmbPKikHjGf882bucsB4k5t3qKxywNwhxrpRbJkGTOx0ehlA3d9e5VEtzA3ulGe55zmg1QOfrCVo34BgQGvr5rLDRl4RRZG+5NjBESBc4FHw1LlrCAuPsCo0JjKi7J5hYqfTXADBq4byCJLf82Nf3kA3OfD9LgKdgeCzZ4CUTJ1VKQFyKQgpmeMSjiKvQC+oplspN/wOMDcBVFv0Bo+KwYJ4VE50H3Jg7j6CWzkEX74A3MrSgTfeKZpSaBCHcAVn/JunBHlFPDR5BkG9LMjPt7mZLOtbskQADea9wqOW9coqiGHlRPcHBxYcJriQQvB9P+v2cqCwWFxgoOJk6JeTNX4HmJMAHv6xP4/6VXw/+OxNx/bM/pIohdUE9VW/VxwjOHiJYO5A6xolpGSpYW3jIW4w/A8wM+h+UHSY2pvHgzV9NXymeor0wPc7Cf7XzWJ/4Nsm+Ly2LzZx+OwZ3yuVbzhNsPEMwcI3rM8wMikHiURi5gNbbQoKrc84zpjkj2eYzQC6f96DomUd305ctrp8tp5gSk/f1utzlFhUOHYthy9f8D1gdpwnWHiEYOVQ6zNM6QM/AY+CImHnF9YtfwTMCgB9P+5G0SHa9xP3bk2gT9cBU3r6Hjp95nBYNcz3gDlwkRhX843vlfS59PmFHfjFzgC/2pJ1nEEnEIpIAG+834Wia2Ox7PJ8wt0twLz7J8Gsl3zf316zCVYPsz5oe85F1yUcu0YwcQPBjlElZyjL8wsrQeyBn+XxK8DETqefgyACFCPe6kjxfDPfT6C7BpilBLMG+L6/A34h+P1VikCZ60nuTYpzN4AxqznjCqPOMZ1RSp9f2OVLYZH1lbOrNvjVlswIGEAKYOyrj1K82NL3E+huAWbEMnbFSn1+Qzd4AcE3fajPZV6X04D3lnHGM4xOawKFJwLLYiD5H2AoCkHwJQMLA42v090CzJjVBBN7UCh8rN3AgDrqCYq6lX3L6RQ1MGQRhwWvA7UrALbnFzCJjOhG+d2WjFCkUYKZPZpSDIv1PWDGrycY34NCahI0+yxN/Ivg3c4UlUN8VqWxok/XEfRrSdG0tm/rzcoHBv7KYc5AILqqLWDcOb/45RmGEFyhFL8/0Yga33y+Tl9uJhjxOEVIoG9rnrqVKSJSRFb0fb3tG1A81sC39TLRSu85HL57Eaii0Bm3oqEKqZXSJaUURUxTU0Tyuy0ZAc5SYCUbxE+6+x4w3+0kGNiWooqP3/Qz9xB0bUTRsLqI2eEFUlbvA9WBJxv5ltdMit9jFocpLwB1InQIkBEQTmLUHStOBoMBOr24K2+/AwwPHOKArS2iKCY9VzKIg34jyMgTv6f1wpwqL8JLHKgUTLHwjZIxZTKg0V2Bzg2tLzvYBYA75xe/25J1mkEnGAzYyXE40KQmMK23uLeLN8b1j0ME7epTxFTzRmnCy/jzXyCqIny+NVryDzFeKfd+xLcrDOMMO8MMfgx45iFrOZA7AstiTvvVoZ91usM3tClHcLpeZWDmAN8DZtlRgkY1KJr5+BC87hQQLAeebCwcZN6gXH6MgG2P+rfyDmD+WLoV8xZugkIRiNh2TTHghcfRoF4tFBZpkXgpGQ81rmdu9puLOLzwMPBYPR1Cgzw/v7CC/WpLxjrc/jtaT2LApRrhwC+DfA+Y9aeI0dKzbT3vTCChk3r7eaBABzzfTGgO79CtPUmM9b7U2jv9bf3kOyjSlihLcoSg93MdkZ2Th227j2Hoq8/inTeeNzZ+xFIOsTHAsw/pAeL5+cUvAdPuG1pVRnArQgEsGex7wGw7RxAgBTo19M4EEjqtD1wEkrPYm15oDu/QbfkPSM0hHsu8du0/gSnfLkFGVrbThjFLynULJ6FOZHUw2RNbyd/qUJLFHZV+ywr9aksWO4Ou0BK8KueRz/bVq++CUuD+RGbhB3R/0LeAOZEEnFIRvPGYb+vdGw+cvU7w3uOe1dv+mfeRk5svCMUfvz8AA3o9jgkbCJQVgPe7lGTz5MDvj4f+VXs/JH1ip1PmAkHy17u8z42bjl4lxjf9C809m0CCZo4FUVwKsDPOJLz0ZTp6Fdh6jtnWe1bvuCm/4q/tRwQ1/b03e2LIwGfw1RaCkADg425AOvPkYCHZd0cG43dbsk4zaDFgWHiHcG85wjBQoEhnMhAzf5r/Jihkf9/+fjXDtDXqGA108+Eqcy0DYAfwMU95NnEFzVgLovibwK8HCab19qze61s24Pf5K7A5KwB5vHM1CblMij9m/Q87rtc1jsek54CMPIBayGD0BgP0ImUw/gwYFiqjllhHGAcvAkuPcijU8cgv0KGgSGv8LNJqweu1MOh14A3ss+S78W+Dzuo3RsPoTy0YgIjQALFz0C36tBzg570EE3p4NnHFVn5TA0zaSPDzy57Vu2bIS6jF67BDHYBHgnVI0kow+6ZjLyZNm9RD+35jkZINfNO7ZIVhEn+e16NQ6157/OqWjJ1h9n1IXoydTi8AeGD+KzxqinCEsfkswfBJC2HQacXOG7v0B+e9CGXVUK+U5aoQdm5iE3eqh296R/XoDEBu0e3/hcz3FzF+Z292trI91Zgav7N2tKrDrrfFTdgTI4dAl61BipZDDXYINRCMvBrusNvBikAMHT8LTM3/pwElK4xMAuQV6uBuKK4yA5hEVfY8SvmmHCETGyjDtzqbQLHf0KMgaCnWEcaW/whGT1mAHHZP6oW09bueaFy3khdKcl0EO+y+v4xgphs2MWxbs+K46bLCDIoi6+9iVLKY4PbTp8UB5t8h/UB53qimz1aJA9lyLExz7H1vyMCnUa15L/x9EfhtkIk/nh74y9ShPz5JnUGA26qFZIdcTofWqR5xxd5Uip1O9wDoJNYRxs4LBB9PXYxUdaHrGSqAYuWUp9GmSQ0BlN4h8cTq8qVfOGgKStpBeAoJb4DEYPrPsU89b/5e/LvEYPubLCIQX06NEtWpfwa/yA4h0FEgqVCK71OCUeTARdLLfbpg9PAXsfGsBBtOA0uHmKpyV0PZsqFl5lo5QaXWgRqNw4pTHiEYGa2M+KX0yMROpxsA9BDrCGNvAsG4GcuQdMt45eJx+nXsk3iyNbOY9k161wOry8/GqZCr1t4GBA/O3T0Nm7gSDl/89IBRHiU0nRk3CgU3knEmT4pZN51rrjI5TN2oGmCOMP44BKx7B8jINemP8ZRCK2Y5LNXAMrMlS0hSpwKw9TRGME+XHf5ekybEfPCInU7/BDBArCOMw5cIPvt+JRJUGqHj7JRu2rsd0P+JGBuanELTTVpwwO3/cnjFxNcTwMz95hquxud5pd+skIEfR6NJA+F2y6o1S3Fj4xpj/X9lBmK7OsDuChMUKMf+v36AXC4Fc4QxYwew/X0gM8/k5VKvN0BvcF9gfc8CJuGWuh4twgoQnJSBzK+nDP+3eLTsBahJSNL8DdD29kaUAFsDSU4vpVJp3FTETqdzAbwl1hHGySSCCTPX41RimlcmzthBrTCsV1Obss5cJ2hWXQupTIoiHUW+1nRYZkcn5kRbTzlIOQq5hBmimfRu2RwoeU4gl5rAFiI3Odpmb/NRK0zXu+zgKzZtWZWK/VvTxWZzSP/EK5HoEivcxsFQWIBzk8caVxmWmMT+g6thNlfMg/p1xYfv9DXSMEcYEzYAu247wnBXQ9myE/fslixRpf6FUgw2N5bgDChmk6Lw33MMqkqlg8JeVKmn8hRjHI0QIdgbiJynGWhiZ9AZoPhgaEeK50Q4wmDCvwmzt+HwGe8EcH67V1N8MshWV4UBpnlNLQID3Lcn5nkKrZ6iUEex4azEqC08di0BW1XDgsTP+2NHsrH6F+/0m9Xetns1PN9b3IWHPi8XyetXIOPoEeg1WbhYKMGK9CCoiiSoWq0SnuvWzqhLVuyoz+wI411mmi3epZI9Lt2zgElIUht9INtpdDJPMUsSGf59NCFFxc8TknI6AoZ9LqbCmj+V4X33zMAEAOMHtaXoJ0KLVpUJjJuzD3v+vSh+xtnJ0ffxaMwY0dHuCtO8pg6BAcK3LI4axCTai/4hRsBM3kww5DGK6o5vYx32S52pw9QxbEi8k6o2DMeoj2q5VVhqNnB29JsI0TP5M6Dj5Gg7dwmkpVZOsyOMtyg4joDyBhRq3d+Osbru3S2ZSp0LCmf+9ZM5CUY3qBWx3LREUy5RpbkKQOl0FAimvrksPAME08Q6wmD74DGz/8H2A/+5NdClM8U2r4VFE7rZBcwjtXQIkHsOGLbSLP7XBJhvdxD0fJiinhs+pVk5n41IBM/UFryQSHggvpxRooovpsgdFwjoD8MQri3ZIso/XYzm9a2FwDfUAFPxX/AaRYSCeCR/KW7fvQuYJE0RQF3vSQh2UQn3bsOaYXEJSZrPADrJBfP5BceCVx+4LO0r1hGG3gC8//Np/LXrmJjxdUhbv1YE9vzU22eAmbOPBRmieNCNFzvP8/jhaxVSL3vn4M9zBJN/bgSZgJsyplZ0KQ24oSZgq8vmE4V4+9hrkNIS8O5uPhbNOz+CprWpWRhd7Ahj9svMYM871rT38pbM/q2XvelHoeU4bpxBgt+Jjr8MAqfi80NXZEW/H1UEuOMIY/zCRPyxZr9XABMSJMP5pbelahYlsjNMi1p6402Pp8lyhWEhIBpVp2hdV1yp6nwgPAhYvzQF/+zOEpfZCfXgz6LRIMrxKsq0B5YcKsL6UxRFvBygelBdLjhZGMCx/RfTKWMCUGZzbAClvJEmtiGH97oEGLdhzBHGjL4UDyvLOmBUmn9AaamAay7GimAXgdErzG1RlX36k9el+PlgsPFtK9YRxtwtNzBl7havTZoLywYhuJRbSCNgauvBlAg9TQYDjyVHOeOWbOVxoEoo0Mn2JttpNZvOcmhfn0KTXoTr8TlITSnCrRSt8TMvV7gj79KVPDskCo+1tb/rZkLScavzcTlTARBrZUu+MB1coHNHZ8rQXEzvH4T+8yWY9DzQrj6QptFDzzRlPUj37JbM5pZMeCfZK5CNgsPt3PlbEny3LwSlHWEIqWLzcTWGfbFaCKkgml0zeyNaaa3QdqcAs+msSa2k+4OCmmYm2nyWQ98W9idabo4eqSla3EopMn6m3mRgKkJ6KlM6dV5Plz418ES3CjZE7Ar9w2X5UGXbv3bmC1NBAiqBEOf34zFhKlzLq40PuxK0i8qFutBzRdd7FjDx1zSDCKELxA2tmZoyyztqqc9tUdDlDAm+2hUCdxxhHIwrwOAJy5EvIkSCsz78Nq4rnmhpfU/BANOytgEydwQmpSpjQro/b68we+JNArzej4jjKouz0q+luDwGAzWCxnI1Kr0qPfpEZTzXv6pVwUzf6+MVBTiX6vi+hxoKQfUF4AJswWZZGF+UCUN2IsYMaINnbcVd4jp0m/qePcNcvJlTldcaUm5vVN3qnKNM1zUcJm4LhTuOMP65qMWYGWtxJcU76jGT3nwUrz1j7ZnCCBilAbLS96RucIFJtv88ZpLD/HMZSEgFXmkrrqANp2yjEYsroYRar6f44I3zxh9qNwnH8FHWNxBLj2ix6F85SKltmGV9lBrAF6RConCuh8fotCn7MSC2Fob3ELkPddDBexYwrL2JSZqtFPQpdwfHUT7mf+zjTWFwxxHG8St6zPhtCw6cZXcSnqdhLzTF2FethZcMMK2UBki9DBgmbz18mYAJbMUk5shiYBsxORzT5ucZ8PHbcUaC4OpBGDe55AbiShqP9/40gHLOt058UZbxXMPJnQuUKK+DLi8DEs0R/PJBLIIVwjULHPXgnt2SsQbHq7JeIJSYFIi8mNgeeeT6cFRQAItFOsL4L5li0do9WLrLriK06FZ2e7QO5v3PwugcgDcBo9MbsPT2CnMxFcYwdiNFuMhlKjcs/J23AMMEoONHJhj5JA2T44tvS2TTo5cX4kKqY5X9YuYacq9CEhzlMngmr8uGQasFLUpDPcUV/DCiKwrcNBwrrvueBsyKFVTSvG32aQraRPRMdJKBWaa+vSrcqNAo1hEGsyD8Y/1R/LzmjFea1EBZAbtn9rIqywiYSB5Siecey3U6A5YeN23JmCCPORIcK8IWhV0ps1Wpj8hzjyPmsDPN5P+ZNCWInMOXPz9g/PtgohZfbpEZ3SE5TxSGXBUkIa61vPnCDLCzFEuGrOMY1q02Xunq2VS6p7dkrKOJ17N7UAPP1PG9moatCoOBJ9go0hEGe+P+vC4e3yw84JX2VAoLxMmFL9sApnUkD4kXAKPV6bHsuNQIGDb5p28nmCwixmZSJnA5jeCZh1x3NzfpKi7M/xlFGRmo0qoNqnfohPAG1mcH1dUCfDP+sqkwjuCreY2Mf478swiJGa6V3Az518EFVgHhXMu0DYUZ4G8Dhuqy0Sg0EfM+8myHf88DhjEzIUmzAaA9XA+ZcIqR60KRp+XgjiOM3Sdu4s0vtyAkSIrgQCmCg6QIYZ+BMuPf7Dfzs9vP2bPi34ICZTh2szJ6NM41HuyrV7f2G8tWmNZRPCSc5yuMJWCYGcjHawm+7Sv8DPPfdSBfS9C5oWveHhg+GFqNyfRBEhgIeWgY2kz7AZysRDh5KT4fP0y5vZ0lwBdzGoO9FwbOK4S6KMDpCkP1eaD6fCNghCSDNhe8zmTsVznrMD59XIGa7Wx194SUVUxzT2/JihuZmJJThWoNZ0HgNY/EH28MRUY+B7GOMFibcrJzkJuXB3Z1zXHc7U9ivNlh0mX2aXpm/7ekLA57E6R44zHm5slWAs0A0ybKpDDoaWLhHJafMK0wLIm1ujx0iYD56WgrQO3ryuplSN6xzajkqM83+RCr1aUrol95A5zUJIT971QO5n2bZPybXYRNntsYvx4guLJrL1qkbsD2moOQHP6wlUskRkt5PfiCm5AEC/exa9DmgNcVoVL2KQy59RsqhAQg6tPvwAU5U1F0zvH7AjCsC4mqnE6UGpitvsfSJ0IIHb8lmNzIlkCsIwxPJzDLf10NrDtJMNyBjzDvAkaH5SdkbgOGOf5oVAN4sKawnl+YOwspf+81EzPIh9VvgCbvfoDAKlVx9JAai+ZcNz4PVBBE9W+M07uPo9/laeBgknSeC22ObbVeQ06QCRzselivuQhZBNveCX+JGAoyEZEThyE3fkIYNa00yh69UPdF6y2wsJ6ZqO6LLZl5pUlW9wHFMkrh6mTokgdf7QzG5UwpxDrCcFmwAAImPPztIMHorva3RkbA1GEhGoRPDkfVMj/EVoARaabM2vliCxj9QQtJ1GDAtU3rcGPXDmjVWWDfWWJbtHp9BiCwRScU6KQICJRg4VEp4g8ex4tXvrFSpGT0JxXNsKraIEgVFaHLuQ5ZSE1wAeLsEioRFZ5PnAVlTok5hiQwCG1+mAupwr1V5r4CDGNkgkrzEij93Znqi5CB/XafAhduySDWEYaQsl3RFGiB6Tsce4NkgGlbx+WtqatqjM9ZlOAVJ0tWmPeWEvzYX3gYcOY9cuKzsLE1EVK5oagQJ7/4DDlXS67gZTVqI6dlXxwNaIXrJ06j75UZkFhoHbNyK7Zqh2E3usHAlCupDgFhtSAJEmdsxsqJqZSHevmJaHPoC6vm1nvpNdTu7t6R+L4DjAk06t7M+tKuDb+QkQTw00EFTl2XQawjDIHFOyVj6h+frSeY4uC2it1MRVXgIeUIpBLTWcjdxMJArDgpN2/JPlpF8PlzwoPDjl9v0vZ1N2k1apz+ehJyVaZzS3HimUMKIoWUWrusqtDqUTR46308/bUKekghU1QBkbq+PbPXPkNuEog8DAOS5+ABzVEzSWj9GDSf+JVbXbovAcNs+oODFYSjsp8oqCm2gcj06z9BOHJNbjTZ7RDt/oQQWa2ZXEw0ZWY1yYzYGdCYuj5L7AJNwgBlvHRgj3mjnfvtx0YlS/Zcp9dj6wU5nmpiysccdLMYm5UECr3HruHwQ3/P+KPLzcWZ6VOQfdG5xWbVzl0R9fJgEI7DjO0Eu85rQSTuH1lbV45HbmYSzl1OR+2im4g0ZEJpyETdAC26zpnv1tDdt4AptulPNJ1rplMKUY6uFh8PxL5LARDrCMMtLtvJJAYw3qqTlcOCw7JYLUoBwWHZWWvBIYJxz3jeAiZxv7R0AZJ3bIetdT1B7T4voebTPc0VMbe2G08Wur26sII+6JyD5x4JQU6+FkfOp+DA2es4fO4GsvO1qFk5BE3qVEaTupWNn9G1K0AmILT1fQ8YxhhKqfTi9ewBoPQjSiFAxAasOh2AbfGBRr0qMY4wPJ86phLuFmBm7ibo2oSioYAL+uPXgKvpBIMe9VavgctnE5C7fyuyz58Bc2oRVKMWaj7XBxVbWGuELjxMsOxIAYjUtaqMo9Z90CkHz7WwXkoNPMXZy2k4ePYGDvx3HVdSTHIjBqCVn7verJQJwBQzjKnzJyRlPcZJuJ6UxwsAHEoP/joXgA3nAiHWEYa3ps7dAgyTeTwSRdHcuecDYzdXHCN4oBrwaH3v9Fqr55GWmY2ICNe3XWtOEvyy17MVZmRsLnq2dH4bdv5qBt6Ytg3d29TDOAFvhjIFmNLDGp+c1UxCycs8xTu3jcrMJDvi5VhxOghiHWF4Z+rcvRXGGBy2EvCYABB8sZHggycpqoa6f+lgya/MXC20RUUIDXV9gGJueb/d5tkZ5r0OOejd2nldm/+5gkkLDuOzQe3QrY1r2+0yDZjiwbp4PUNJeelKSqlZSX3/ZRkWHVNArCMMbwFm/AaC8c9Qt65rPWkDCw7Lggw9YVLhcprWnCCoH5qKGmHUaC4tl8sgl0kgl7FPqWhdt6upuQiWc1AoXN96MSd849ez62/31YPeeSwHL7Z1DpixvxzA7hNJWP9lL1RmjgtcJL8ADOOBSkWDCqiGaQoYlYn+TZJh/hEF3HGE4YqpQp7/sC0PrzRPhYxPg9yQjmCkoTA/HUV5aZDq0wBZBQQ0my6kKFE028/BGODpOYHBYfPy8qDT6aDT6Y2flolpUxeDhznscAWkfxKzEFNDAbncteIk8xIzYinxSBj1VrtcvPSo4y0Zs0Z96qPVqFpBgcXjnhXEx/saMCZfZNmTQCjTmZCAEC0oUglPU3iOnDEYtCcb16nCrDaN6ZxKU1HK0xOEIOrMDSlmHnDPEYZLzhoKAW0aivLSQXRpCKRp4HTpKMxNAy1KN36XE+cRAHjKIb/pckhk7h967bXz70STao47wWHZ9bZebwJOMYDY38Zrb4vEtKwZeAKMq5IJSDKZFOuPpqFr8yqCNBjYDd3AXwwgnPu+2Qa3zccrjzleNY7G3cR7P+7G8+2jMWaAMH8r9zVg4pKynudA1jmawExnjKf8fwRkAwF+j46MuJSoyupEKdkdnyoh0/e65wjDUX1c3MdA3hUEEO+YL6fU+BwRNUQa07tAM7v5OpNM8LoXg8PqDXrotHrojUDSQafXgXmrKZ3i0uV4vKkwiT2TJ/WcqYWBBLp8PzkieK1NIV5r71iO8/2qE1i2O8542GeHfiHpvgbMRVX2RzzlpwnpKCGEOa76i5dynxCeTriaTvpP2RnqliMMhwC9MBaBBaeFNEcQTU7FvpDWeU0QrVCiCynA7jjHip9Cy3FFxxz/mVYi0//sPD2u5wWgXUOBSmkAXvtVj7R819s3R215ta0Orz/m2FVVnwkbkJyWa7xOZtfKQtJ9DZiEpKzXAfKbkI6W0JAiQrDyZjZ5adyWUM4dRxiO6qOqRVCkLRPXHCfUt2gjhLXw7jmGBYdl18Uf+Tg47K4LBCz0uZh6P1oJnL/p/qH/5dYGvNnBfv5rN7PRb9JGVAoLwoavrC1enQ3gfQ2YC1ey6kil3CV2lhE7S7MKuMIxf4UGuuMIw1FdhszjCLk6XmxTHNLrqRT5TVdAJnNfPaR04cbgsPsIJjzrmbqL2E4evgxsPy+uXubM7+Vfmbss9661X2lDMdhuABRgyc4LmLnmJGKbKfHlW8KNyu5rwLBBS0zSbKBuWGOyWCoj1rrnCMPRZNEX5SLk3ACmVih2PjmkV9WYiso1RHrec1I7i1HJ5Ct3Kjiso6rPXgeY9P6bPsKB2uSRWKSlZbjNy3FjhuOTD5kIzja9891OnEhMxVs9muHVbsL5e98DJu5ydkNOxh934enfhmPsUDl0ZRgCZUS0IwyHWzJmqPPfcATorrk9yKUzZld5DTKlKUCQNxLr98jlJhV/X6ZrmcBXmwnmDBReb2R0CxQWmiOaiG5uj+5dsOyPH23yMd2ybmNWg6nJfDv8cbRpLDzO6H0PGMaN2zYyi8Q6/Ru+Ogw6A8FfIh1hOBs5evE7KLJ3ih5cRxluSR5FWLNxXiuPFeRJ6D53G5KWC3y4gmDhG8IAw7Ssa9Vlpsrup8jaNXHh+A6bAnYcu4bPfjto/H3z1D4IZ5JcgalMAIb1NVGlHkwpmQ1QwRf3H6wPRU6Re44wHPHXcGMTQm7+LJD9rsnU+soIaO2ux1z75Yu163fdStcUuYXA6wsIVg4VBpjMLDUeaOrgAOK6OjNFcvwhVCiluzbh90PYdvQqqlcMxuovSjSkhRRbZgDDOnsxOaczpYaFlEKQp4Sxm0KQlidxyxGGI+Zqs+IRfuUDIbwXTJMWsxghIc79CAsu7C6Ndg0lAAAdVklEQVStMEws88Jsgg3DhQEmSXUdLdt55hLJuIKs/g2x7UvcdrJtWPcxq40q/h2bKfGViAM/K69MAYZ16NKlzHCDlHwBwr0FUKdr7efbQpCs8a4jjMKCfITHDQRH3d97l578qmqTUblWczGYcErLzjDT+/hej63HLA5r32YOCl135dyFeHTuahtsynVOa4qvPv8II4aVyLJOXUzFsG9NW+bXuz+EISK9lJc5wBSz69KNzEheLxlFQVnEIrvmUlN3B+NiuncdYWi1OsjjP0KQznvxIDVVh0Bem1kreCcZg8N2pwhzX4juVkN6zebwx+u8oHr/OXoCPXrZBpsSW/GAvj3wy6yvzdl+WnsKi3aYnKFPHtIBnZu79qBpWWeZBUxxJ69coYE6ae4zlOqfIyBPM59uxc++36/AuZvedYTBJNz6+OkIL3AVn1b40N8K6oawRu8Jz+CCcvImgiEdKKoLF7p7pe4B8zl8148XVO+uPQcwYNAwj+tt0iga/+4t0Z4a8MUms9HY0vE9ECnUHc7tlpR5wFhyfA+l0lqq7L4A/QlAhTmHgnA8We51Rxh5FxejcvZSjwe7uIAk/cOo0nqK18qbsYPghebUGO7Dl+n1Pzh89iwvqN71G7fhzbc/9Lh5LALCzr+PQVMkR2w0Na4u566m49J1tVElRqyDEb8CTDH3LyblPMhTw67fjwZVPXTV+44wspP2oVq6IBU3QRPiprYWwtvOE0QrhGj2PoKO0dSoR+fL9O5SDm/H8oLq/XP5Gowc7R2tic9/XIlNyU2wY5RH1gJGVvklYFjHL6k0Ty85EbhxV6KceNsRRuatS6h1fYTX5mK+IQR5TZcbDb+8kVhw2MY1KFrV8UZpwsv4ZC3BCw8LC0o7/7fF+HRCydnDWS1FOSmQh1S363aX5XtlxGTEBfbCxveAIMFCB/s1+i1gGDsGL9Cvvpgm6eVtRxgZGZmomTQYHNUKn01OKHlIcEG5AfWE+eB2WefKY0DVMCDWO0G5XNZXTMDOTu3qUzxuinDhNH0/cx6+nGYrpS+diflxLkhPgFRRGfIQ+wzq9OxA5DUei5VDgYruObw0V+vXgOn8LR3L85jibUcY6iw1KiV9CLnhpqt5Ieg5DxkOV16PRyKFyTBcFbrxDPNZJj44rKtyXT1nvsYaVqeC4k1OmfoDfpjl2ncYb9CiMOOS0edyUOVoEGM4cuvUuGkrBHdbgIVvALWs4++6arLNc78GTOx0yq6efvS2I4zs7ByEJY1HkNYUactZ4kkg9FwE9JIKMEgijH8bjN/Z36bftCQcudLaeKC6q9KEPd8dB2Tliw8OK6x0x1Q/7SWoGkrRt4XrksZN/Brzfl3skpB59S9IN13hy0KrQxZkK+ANCQ1Do7ePYO5AoIF1DFqX5Zcm8G/AfENfB8Fv3naEkZubi6CkbxCou2yc9CZARJgBwcCRVlgZV3KC0aSmAhwnQYBcYowHI5FIwIN9MjPfkt/shcUQPdq3Mxy5DLDwfQNFBod1t77ifMyxuVxCBdX7wZgJWLzUdXh3Zh7NtmSgPCQBIQgIt+8/qtmw3fj5zep4yDoGregu+TVgOk2nTNl8pbcdYeTnFyA9U2MMDhQYIIFcwoGTSGCgnHHLECTnIJVIMG2H1BjywtcCRBYc9shlgrdEBocVPbtKZVjyDwGLLyqk3mHvjsGa9ZtdV0k4FGZdBa/NM/JbUcX+wSy692z8PDoWAjwpOa3TvwEzjXajHLa0b0DxSXfvnA9cj3AJxfe7TG5bq4aKyeU5bWIqsOkswcguvu3zyuPE6IBDSL2DBr+Hrdv3uOxshVqNkZqwH7q8NCNtYKUG4CS2V2G1OozE7ClvoZOHFx3+DZjptD0F/m4RRTHpOd9OHja4c/cRdHuQGh3r+TKxScuMuXz9kmDRmM/dgKB6+wwYgv0HjrhkS6+Bb2PlbzNQpDbZILEtGdualU4VH3gaX0/92ii89HZSVpY7NQllzvOLfYG7W7d7Nqe3a/NGA1hR7WfQZhKKU0yAN62396wkhTKFyUPa1qVo6KXDvNB62YH/2x0EXzzv/cnjrA07zhPsT4SgepkeGdMnc5V++nE6Phz/PTITmEIlhSykOmQK24M/W3mmzV2Lpxp7f5z9BjCPT6P1DRwuetMRhqsBtnzOnFHEVAMeVvp24hbpmata4lHcFzH9LKZl8TJXn4Cgep98+kWcPmtSknSWVi/7BZNmrsc/G2eC1xVAqqgEeYjtVRjhpPji1wN49qE7x+uYyAi7C4E3XvA+XWFU6Vo1ABsP2MzJwvDlMnjTEYarAbZ8zrYoVUKBR+vduUF01J67YUR2OhmYs49g9suu+9uhy/OIT2DyFedpz/bVWLXtFL77/F3o8zMhCQxHQJh9nZ/RU5diYJc7p95QZgCTnKHLppTaHK3Zm3bwYhkqKIDFg72/VLsabLZFYbYhnRu6nkCuyhL7/G4AJuEWwKT9QsyUWz3WDdeSkl1268zR3ThwLgtDBzyFIo0KnDwYgRH2VfYrP/jCzKTdX3pPZ8ll60wE990Kk5yhi6OU2kSaZx5OBy2UIkDqPUcYAnloJDtwkSC7AHj6Dm4THK4wIoPDiumXI1pVJjBqBcGqYa5fEA+16IxbqaabL2cp+dJJ3MqRoGXL1si7cRKcNAiBFe2vIopqDZemn133kqsyvf38fgTMJkops4WxSUOWSFGoI9joRUcYQhl+SgUkZZK7EtBp3DpgsjhzdqHdckiXlQcMWcReTq4Bw+z5mV2/sxQcrMCVuH+NoQof7DwESf/+aTz4B1WyH8tDHl7zhDpxlwA9A4+7alXAfQcYVYb2V1C8YY8N7y6XQl1AsGoojyD3vZK6zWHm9siDmK9u13u3Mgrtb71GbZCbm+e0mbVq1cDJIyavMK99OAvrfp0IfVEOFJWj7earUKUG9mxZ45WuOzqv2Cv8vgNMcqZuCuXpWHudGb1GipvZxKuOMLwyIn5eSGSDR8AiQDtLDzZ+ALu3rTKSzPrzAMa//xK0OSlQVLHZfd8uhuDQ/p1QKDyPiFCmAaNK17KD3g/2mP/ZXxJcyeAw/xUeNT3UZPXzOe7V7tes2wx6vcFpme3btcaa5SbX2gfP56Dnk62NipiKqo7tB1at+BMPPdjE47a6kr1YVnD/rTAZ+r6U8ivscWnyVgnibnL4sT+P+l6yN/F4NMoLQLXIh2zizpRmy9PduuCP+ab3YE4h8OCjzyMzfrvDMwyjm/rVZPR8vofHHC7TgLmRpetoMFC7Ximm75TgVDJn1G96srHrw6jHnC4vQBAHqipd+zvu/2JP/Dhjsrm8zv0n4sSWHx3KYRjh0DcH44NRnt8sl2nApGTROnqD7oq9kZq1T4IjV0Q7/xc06OVE7nPg6DS2bXL+AqvW4hVEdvnEXEna2bW4uGY4pEGO99ZPPv4YZs3y3DNpmQYM42hyujaBAjbXJxvOcFhxggHGI+UD92dGeU67HDg6/SGAd36GqfHoMNTuULJaFGZexem5T4CTOL7ufCCmAf7dv0EQ11MyrWN6WmYq84C5lqEdyVF8J4hTlkQc+URZUSbMG4PowsVlSEhSO3zlBtm5+alR0UOPD+KaZ5fa0aQryM+3oi/d/ocfaYOCQudxQCeOHYUPRrxpLocZk8U0i8Wt1HSHLQ+Qy3Hj0jFjzE1Xya8Bw4IuJWfoFgJ42RWjip8TQlbVqijtbwz3dw8kfwJM23YdkaXWOOX6tMljMWzIQCuawW9/hJVrNznNt37Fr+jc8VGXI+rXgCnmjipT353w/Es80IIALDAIM56QMFBQSpmkLAUEJzmeX1qrSuBfLrnqQwJ/AkyXJ7sh+bo5ALZdLs+cPgmvDuxj9ezPFesxbETJucZexrfeeAnTv3QdQqTMAyY5TdeZEspcjdjXjfDm5Ka4REDerF1F5tos0Ev1+hNger7QGxfiLzrl3PyfpqJfb+sr4vSMTDR4qCOYy15HSVmrJs4ddx3Dp8wDRpWhvQQKYfGjvTGJCS4rK8nvPDhvt9WfADPwlUE4etx5ROpFv/6A55950mYkn+zxMv45etLpCB/esw5NGjm3Vy77gEnX+lyQIua2xFOM+hNghg8fjp17Djhl2aolc9C1i21A1x9//h3jJn3jNO+EsaPwocWFgT3isg+Y8hXGatzv51uyTz75GGvWb3E66Teu+h0dLYIlFRNfuapCs7bOgzG1a9MCW9ezKI+OU5kHTPkZxnrw72fAfP3VFPy+yK42k7mTOzf+idYt7cfB7PBkH6cmzsz/29ULhxAe5thlT5kHjOV0SUzKfp6CLwkMAnIjJjLcyo3bRZV6Kk8xxpyPIjsmqiQgYkKS5jpAzfauBFzP6Miw9Z5urdzN709bsjmzZ+K7mb84ZdWBnavR9MFGdmm+/XE+Jn7pXOy2cP536NnD8UrkX4BRaSZQSieauUnIphhl+LNWoFJpFlFKSy7yCYmLUYabRyBBpdkISp8pzkMImRitDP/c3QnvaT5/AsyyJQswYcq3Tll29O+NaBht/45HyLZs0Et9MOvbSQ7r8DfArKOUPm/BjSkxkRFWl++JKvUuSvF4CSCwO1oZ0aX4e0KSmmn2fWoBmPXRynAf2ymW9MCfALNt8zqMGD3BKWDOHt2BKKVj36+du/XD8VNnHZZRu2YNnD+xqxwwjAOJKvU1SlHiDYGgT4wywspZb8I19QUQlBhPULokJqqCecVJUKl7g8JkocS0zQiSopURUZ6uFO7m9yfA/HtoL14Z8r5TViWe2Y9qVR2HUftp7kJ84iLGjLNVqsysMKcTk2s3i67t0KXIheTsSlJK0yilJRqVFPVjoiIuW59z1Ew5q8T9EsE3McoI85km4Zq6HgjMvn4IIVRPSJVGtcMy3J30nuTzJ8AkXjiJZ3uXRD+2xzdV/BGEhzsO1JlyMxWNHnncqRDzmymfYuhg+9pS3gKMq/kqZE54pBp85sy1CjRIEmww2BfnKoKC23NEsrzk/IKc/PycRjzTzrudQoLCAi3BwH6mlH6eV5Bjjo3HEUIUitALoDBfpfDU0C+/IM+5gEAIB9ygCVGEXXeUrawpX2bcvIx2jzuPHJ167SQCA5yHZevR9w3s+9uxy9mnn+qMZQtYyFPb5Awwaek3BcUBkEg4jhQY8po2jcpyY8gtprAnuV3kTVCpPwKFOcgkIdgbrYzobJntokrTgKfUKjY4B/RvEBlRAjTT1m4Ppehk0fIxMcoI51KxO9Q3f1phaFEmHmhuNWQ2XNWknHMYpq+YePGytXhnpPkYalNGSEgwkuIOQyq11V721grjjeng0QrjqgGJKs0SSqmF/ynyfUxk+CjLfAlJWR0BYmWFKZVyHevVDPvbmk7zHUBHFv9GCPkzWhkuWOPZVVvFPPcnwFQI5lE1qrlD9jA1/bSkUy7Zl52TiwYPdkBhUZFD2u0blqBta9u6/AcwSZrzFNR8PcxR8mqDqHCm2m9O8Uma/gTUKjY4R0h0A2W4lcbfxWuaQTyhC8yAAbkQHRne2OVI3QECfwIME7pWr9sC+QUFdjkZFhqK5MR/BHH5taEfOtUa+GT0u/hk9Ds2ZfkFYG7coIo8gyabUpiDHUqItGl9ZYjV/WJikmYUBbW66A+RhgfXrEmsLJsuqXIfMlD9mZIVBoZgSXhYaTpBI+chkb8BpknLJ6BKvmGXa1WrVMbFs/sFcXT7rv3o8/Iwh7SO1GT8AjCJydmPUp4/ZMGdwmhleCghRG+11VKpp4HiI4vfNDGRETbG4JRSaaJKk8Ni9ZhBw3HtomuHHRY0Wl4kEgsYL1bt9aJcWVyyCnv1HYBz5+x78K9Zswb27NwqqF16gwGxnZ9Eerr9y01mffnv4QNQKIIElceIfKl0y+q7Y2eY+CTNOwS05NqDkKMxyvDWpTmRqNIsppRanEXIhRgHW60ElYb5I21VXAYFGd4wMtxzTwqCh8dE6G+AGfzW2zhwwPLdV8KwunXqYOtm4VpKX0+bjt//cKxs+cu8n9Gh/WOCR6TMACZRlT2PUr7E0Jtw82KUYUNLcyL+mno3ISi5hiFkV4wy/Al7HEtQZc8F5d8q2ZZx86OVYebvgrnsIaG/Aeaj/43Fhr/smxs3bBiDDWtXCubohbg49OzVzyH9kMGv46MPzXc7LsstO4BJ0hyloC3Nkxt4JzoyYnZpDiRcU8eBwOxTlFK6uGFUhVfscSoxSf02BcwrCgE5Fh0Zbl5xXHLXSwRiAXM/ayuztn88/mv8PM/qrsbMyRbNH8KeLVYSAJdcZnKd/87H26Vr3uxB7NtmrR1d5s8w7LxxUZWdQ0Etzhvk0eja4TaSq4Qko4cFs5iYI9y0Bsqw/9kFTLKmLeWp+cxCQAobKMNszkUuR8xDAn8DzLTv5mDy1B/tcq1d25bYus4+mByxedacBRg7cardxxzH4VrcYSt1/zIPmMuqzKZ6ylnatRpCpPlhNWvWtLr5unmTBmdrNbmWnCOUjIqOCv/eHjdv3LihyNUrspmzjOLnUsI3q6esaL498xALgrL7G2B+W7gcI8fYVw5/PPYxrFvO3DcIT2npGWj4cGfo9Vb3P+YCmMSfSf6LU5kHTPy17FcJ4f8o2Y6R89GR4Taepy+pNNEGShOsAYN+0VERDi2WEpM05yioWf5CKfdaw6gws3xG+LC5T+lvgNmwaQcGDravgNm9a2csX2hfpcUZh/u/+i42b9ttl2T40Ffx1eclm4wyD5jEJM131FoqvyRaGW7tuMqo7pIVSynZa8k1Cr5jw8iKVlJ+y+elb9UIyPfRpbQH3IeCsJz+BphDR46jW0+7x0qj4RczABObNm7ZhZdef89uNmaMxozS/GaFSVSp91KKWAtufBQTGTG9NHcuXtf05w3WUn4CNIiOjHAYhTQhST0agFmHjBDsi1ZGlOiYiR05N+j9DTDxiZfRqoOVzZ+Za/369MD8WfbPI85Yq9Pp0fDhTmDumEondo5hZssRtzWgy/QKw1T5L6o0WZbq+pTiiYZRETYWQolJ2R9Q8DMsGRakDFcoCbGvhwEg/pq6CyEwO7MigKaBMrwCU/l3Y+67lcXfAMNC9tVp1M4ur159uQ9mznBsLemMwWMnTMOsueaduxXp0j9m4ZluJpvCMg2YxCR1fQqY9cDYRA4MC6usDCc2r5KEJDVbKdiKUZzUMZERFZwxWaXSVCwE0i1tbFytSm6hwkkmR4Cxp9rPirnfr5WZM75KymYwGGw99Qr1XmmPnefjEtG2k6UxbgmV5TmmbAMmWd2H8jBLsgjBtWhlhN1wuglJmiWAlTbz+Rg7lwOlmZ2oUl+lFGaLS8Khb3TtCLNFprcBUro8fwMM6z/zYpmaZutc/L23X8eUCZaaTeK437l7Pxw/aWu+3Oyhxvh7h2lIyzZgktRTKGCOY0kI1kUrI+xaICUkqZl715LzB8WumKgIu1J+y2FIVKnXUgqzTT8BvoyOjHBsbCFuDF1SiwWMywLvIoEQXTLWvB49+yAhwcpsydjqYUOHYNT79g/vQrq1bPkqTPj8CxtSdo759/DfCA1lLrcdp/te0p+g0myCRWhx5jGmYVQFu5f4CSpNHCg1S/kJIYuileGDXDE6/lrWBOY5xkxHyOYYZbjZq4yr/J4+90fAvPbGWzh8xFaNf8S772D4OzYaT4JZnJubi/Ydu9gNqTF39kx0irX1qGlZuM8Bc+PGZa86k8jVVzwGwOwRQQLD4CCpxq5LkFxDxXOgCC5mAOEwO5jLdHnlUqAP72KA5FcLxqWHSDPNajiCR8tNwlx9xav2sjo6w9ymTeCobjTR3bpjQlaDvLbddjnrptAV5oPRH2PTZlsPmLVrVv1q7+bf57rJSmO2Zu36TM3LLzArmAVWqo+qD/dD96c6Y1T3CiASx/F1JNpku9t9T9rjLO8d01a+Uw0uL/fucCCoSqPvCYGN9JJS8n5B2nn7ejMCmxpUpUl7TsL9HRHdBVWbD0CYspXRNZA+Lz394IQq91SI4HLACBxUfydTVGs8FpROseUDHZafGufRCtNxOh1nyM+YKFVUMqs86fLSaW7y0U1n5j/teahlLw5eOWC8yMyyXJSiWqMhoLBRGiOUvpaXFueRalLsdPongAGMfwUZl6G4sARtcw4e/XrXNhv7qbvN43sCMGcSUyy1Asw8aRpdw+gcw9FzMcwrLktMnnLaEg4oqjV8DpSzsRSjPAYUpF9Y5gmvOs2gbXke069tm8A9l7enaYNQWXCAhKMNK4ZFdl6yxqHfO0/qdDfvPQEYdxtfns93HIj9xpBm0BVUpgYteH0ReL0W1FAEWXDl/w5+VvEhIS1JSbli98VYnLdGjbr7furWZVGYXDawYlAAgmTSMY8vXn1XXGk56k+ZBYw3ViV7TLvXVipXk1DIRHZGwyYxex47nf4LwJ6xXuK+0cR5CDERjdjzWs8IXsvdvJRTGDDt7HXt9QLtmIJbF34QUcQdJS2zgLmjXPPHwmu2UCj0+SxYr1XiCN8l91a8fT19kXwqBv9Xg975fuHZaw9reZN6YLWqlfYe2rGoRO4motxiwIvI4pS0HDDe4qSflDPrqS5aA6UyAtAR23dz3u52gyffH3vj9HYWrcE0Nyl0lCOjC255dnXtrXaWA8ZbnPSTcna/3PsyBa0LILPLkjWVvN3tyk2emp+fljTEVC5N43j0zU2Ps/KM6u06xZRXDhgx3Cqnxe6Xe12gYKFJSF6XJaudK3qJ5xdRVG3ETNvZJcI5nqPPFt6ME629IL5a4TnKNGAopfLkbIRIDAgBj2BQnUJPiUIqQRD7JNSgAIgCBIGUkkCOIIAHH0gIFwBKAkH5QEogJwRyUCKn4OWEcDJCIQeBnFLIACoFAfOgLQX7TnH7O5UCHAdQCQjhQKkEIKbvAGf8m4DAFAqEEGIcCnLbbMH4m3FDAtDbtj70dtADCmb7w/6B8gB4gBiMfxNiAGW/se8sogLRg0IPYvyvA2D6DqIn7DuFlhJoKeV1BJwWhGophZZQaEG4QhBaSClfxIEr/HbR1mZrli2unp/8X6tcHW92bhJdv/6cLRvW/AIiyweHPIMEubXDkEsI0QqfhibK4KqNXqEA86hxOF9X1B1Zl5mDlHsq3dOASU2lIQYZKuv0usrgSCUJIRUBvgLlSQVKEMGBhPOgEaB8OEDCKBBGYAyJEUKBEAI2ocuTOxw4dfoMzp0/j/j4RJw5+x/i4uJZGBKbotq0boWFf9jGwKSAjgDMwUkuBXIIkA3QbBBOw4GoeVANoVATjmYBXJaB0syWrR79SSaX33rhuef7zpr2P/u+ad3pjBfz3BXAUEq5lCzUNhj0dQmhUQBRArQWBalBCGoAtBqlqAZAuM9QLzKlvCjgzaHDceCgydslc+Eqk8nNoSiYIRn7r9PpUCEiAn/vMxvAepN1BYTgFkBuUYoUApoCEBYcWEUpuSaRSK/UqIBkQghbZX2W7jhgKKWylCx9WwOPdoTQhylIE0IRbemzzGe9La+oTHGA+aWjBIkE9Byl5JSEw6EaFaRHCCFs+3lH0h0FTHK6bjIFhoNtm8pTOQd8wgGiJsBPtSvLrAIPe6vqOw8YguGg5YDx1oCVl+OCA4SoCb1PAcO6Zt6SAe0IpQ9TigcBRANwHhSxfGaUc8A1B1g4s0RC8B8l5JQE9/mWzFF/iw/9hOjrGkCiYKDmQz9AaxKCqpSSagAtP/S7njRllIIUEELZgT+VgqZwIDeMh34JUUlAr1FaRg/9noxm8bUy1esq6+1cK5vORiS8/FrZEy7fmbzOrpUBqgGImhCoCUqulaU8zSBSWbpEh/SqVYmVz+0700rxpd7RM4z45ng3hz3BJSREoadQSDkSZKBQgPIKUAeCS8IHMiElE16aBZeAnICTWQouCYHUJMQ0Ci9vCy6JlIJKOJOAkqNMcGkrwCTMFJdYCCwtBZilBZbsO5NWwiQPoaUFlsQouGQSS8oTkzCzRHAJGIWVtLTgEryOAtpiwSUTWjJhJqi14JKnKCKEFoKgEITLlxDk63laICXIh4Hme0Nw6d3RvzOl/R8AdGoXzom1qQAAAABJRU5ErkJggg==";
    
    /***/ }),
    
    /***/ 39572:
    /*!****************************************************************************************!*\
      !*** ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/arrayLikeToArray.js ***!
      \****************************************************************************************/
    /***/ (function(module) {
    
    function _arrayLikeToArray(arr, len) {
      if (len == null || len > arr.length) len = arr.length;
      for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
      return arr2;
    }
    module.exports = _arrayLikeToArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
    
    /***/ }),
    
    /***/ 27027:
    /*!**************************************************************************************!*\
      !*** ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/arrayWithHoles.js ***!
      \**************************************************************************************/
    /***/ (function(module) {
    
    function _arrayWithHoles(arr) {
      if (Array.isArray(arr)) return arr;
    }
    module.exports = _arrayWithHoles, module.exports.__esModule = true, module.exports["default"] = module.exports;
    
    /***/ }),
    
    /***/ 61004:
    /*!*****************************************************************************************!*\
      !*** ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/arrayWithoutHoles.js ***!
      \*****************************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    var arrayLikeToArray = __webpack_require__(/*! ./arrayLikeToArray.js */ 39572);
    function _arrayWithoutHoles(arr) {
      if (Array.isArray(arr)) return arrayLikeToArray(arr);
    }
    module.exports = _arrayWithoutHoles, module.exports.__esModule = true, module.exports["default"] = module.exports;
    
    /***/ }),
    
    /***/ 13720:
    /*!*********************************************************************************************!*\
      !*** ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/assertThisInitialized.js ***!
      \*********************************************************************************************/
    /***/ (function(module) {
    
    function _assertThisInitialized(self) {
      if (self === void 0) {
        throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
      }
      return self;
    }
    module.exports = _assertThisInitialized, module.exports.__esModule = true, module.exports["default"] = module.exports;
    
    /***/ }),
    
    /***/ 41498:
    /*!****************************************************************************************!*\
      !*** ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/asyncToGenerator.js ***!
      \****************************************************************************************/
    /***/ (function(module) {
    
    function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
      try {
        var info = gen[key](arg);
        var value = info.value;
      } catch (error) {
        reject(error);
        return;
      }
      if (info.done) {
        resolve(value);
      } else {
        Promise.resolve(value).then(_next, _throw);
      }
    }
    function _asyncToGenerator(fn) {
      return function () {
        var self = this,
          args = arguments;
        return new Promise(function (resolve, reject) {
          var gen = fn.apply(self, args);
          function _next(value) {
            asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
          }
          function _throw(err) {
            asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
          }
          _next(undefined);
        });
      };
    }
    module.exports = _asyncToGenerator, module.exports.__esModule = true, module.exports["default"] = module.exports;
    
    /***/ }),
    
    /***/ 82100:
    /*!**************************************************************************************!*\
      !*** ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/classCallCheck.js ***!
      \**************************************************************************************/
    /***/ (function(module) {
    
    function _classCallCheck(instance, Constructor) {
      if (!(instance instanceof Constructor)) {
        throw new TypeError("Cannot call a class as a function");
      }
    }
    module.exports = _classCallCheck, module.exports.__esModule = true, module.exports["default"] = module.exports;
    
    /***/ }),
    
    /***/ 29186:
    /*!***********************************************************************************!*\
      !*** ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/createClass.js ***!
      \***********************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    var toPropertyKey = __webpack_require__(/*! ./toPropertyKey.js */ 83411);
    function _defineProperties(target, props) {
      for (var i = 0; i < props.length; i++) {
        var descriptor = props[i];
        descriptor.enumerable = descriptor.enumerable || false;
        descriptor.configurable = true;
        if ("value" in descriptor) descriptor.writable = true;
        Object.defineProperty(target, toPropertyKey(descriptor.key), descriptor);
      }
    }
    function _createClass(Constructor, protoProps, staticProps) {
      if (protoProps) _defineProperties(Constructor.prototype, protoProps);
      if (staticProps) _defineProperties(Constructor, staticProps);
      Object.defineProperty(Constructor, "prototype", {
        writable: false
      });
      return Constructor;
    }
    module.exports = _createClass, module.exports.__esModule = true, module.exports["default"] = module.exports;
    
    /***/ }),
    
    /***/ 91232:
    /*!*************************************************************************************************!*\
      !*** ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/createForOfIteratorHelper.js ***!
      \*************************************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    var unsupportedIterableToArray = __webpack_require__(/*! ./unsupportedIterableToArray.js */ 66109);
    function _createForOfIteratorHelper(o, allowArrayLike) {
      var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"];
      if (!it) {
        if (Array.isArray(o) || (it = unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") {
          if (it) o = it;
          var i = 0;
          var F = function F() {};
          return {
            s: F,
            n: function n() {
              if (i >= o.length) return {
                done: true
              };
              return {
                done: false,
                value: o[i++]
              };
            },
            e: function e(_e) {
              throw _e;
            },
            f: F
          };
        }
        throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
      }
      var normalCompletion = true,
        didErr = false,
        err;
      return {
        s: function s() {
          it = it.call(o);
        },
        n: function n() {
          var step = it.next();
          normalCompletion = step.done;
          return step;
        },
        e: function e(_e2) {
          didErr = true;
          err = _e2;
        },
        f: function f() {
          try {
            if (!normalCompletion && it["return"] != null) it["return"]();
          } finally {
            if (didErr) throw err;
          }
        }
      };
    }
    module.exports = _createForOfIteratorHelper, module.exports.__esModule = true, module.exports["default"] = module.exports;
    
    /***/ }),
    
    /***/ 47074:
    /*!***********************************************************************************!*\
      !*** ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/createSuper.js ***!
      \***********************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    var getPrototypeOf = __webpack_require__(/*! ./getPrototypeOf.js */ 34577);
    var isNativeReflectConstruct = __webpack_require__(/*! ./isNativeReflectConstruct.js */ 74716);
    var possibleConstructorReturn = __webpack_require__(/*! ./possibleConstructorReturn.js */ 34456);
    function _createSuper(Derived) {
      var hasNativeReflectConstruct = isNativeReflectConstruct();
      return function _createSuperInternal() {
        var Super = getPrototypeOf(Derived),
          result;
        if (hasNativeReflectConstruct) {
          var NewTarget = getPrototypeOf(this).constructor;
          result = Reflect.construct(Super, arguments, NewTarget);
        } else {
          result = Super.apply(this, arguments);
        }
        return possibleConstructorReturn(this, result);
      };
    }
    module.exports = _createSuper, module.exports.__esModule = true, module.exports["default"] = module.exports;
    
    /***/ }),
    
    /***/ 85573:
    /*!**************************************************************************************!*\
      !*** ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/defineProperty.js ***!
      \**************************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    var toPropertyKey = __webpack_require__(/*! ./toPropertyKey.js */ 83411);
    function _defineProperty(obj, key, value) {
      key = toPropertyKey(key);
      if (key in obj) {
        Object.defineProperty(obj, key, {
          value: value,
          enumerable: true,
          configurable: true,
          writable: true
        });
      } else {
        obj[key] = value;
      }
      return obj;
    }
    module.exports = _defineProperty, module.exports.__esModule = true, module.exports["default"] = module.exports;
    
    /***/ }),
    
    /***/ 34577:
    /*!**************************************************************************************!*\
      !*** ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/getPrototypeOf.js ***!
      \**************************************************************************************/
    /***/ (function(module) {
    
    function _getPrototypeOf(o) {
      module.exports = _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {
        return o.__proto__ || Object.getPrototypeOf(o);
      }, module.exports.__esModule = true, module.exports["default"] = module.exports;
      return _getPrototypeOf(o);
    }
    module.exports = _getPrototypeOf, module.exports.__esModule = true, module.exports["default"] = module.exports;
    
    /***/ }),
    
    /***/ 80619:
    /*!********************************************************************************!*\
      !*** ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/inherits.js ***!
      \********************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    var setPrototypeOf = __webpack_require__(/*! ./setPrototypeOf.js */ 35745);
    function _inherits(subClass, superClass) {
      if (typeof superClass !== "function" && superClass !== null) {
        throw new TypeError("Super expression must either be null or a function");
      }
      subClass.prototype = Object.create(superClass && superClass.prototype, {
        constructor: {
          value: subClass,
          writable: true,
          configurable: true
        }
      });
      Object.defineProperty(subClass, "prototype", {
        writable: false
      });
      if (superClass) setPrototypeOf(subClass, superClass);
    }
    module.exports = _inherits, module.exports.__esModule = true, module.exports["default"] = module.exports;
    
    /***/ }),
    
    /***/ 74716:
    /*!************************************************************************************************!*\
      !*** ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/isNativeReflectConstruct.js ***!
      \************************************************************************************************/
    /***/ (function(module) {
    
    function _isNativeReflectConstruct() {
      if (typeof Reflect === "undefined" || !Reflect.construct) return false;
      if (Reflect.construct.sham) return false;
      if (typeof Proxy === "function") return true;
      try {
        Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
        return true;
      } catch (e) {
        return false;
      }
    }
    module.exports = _isNativeReflectConstruct, module.exports.__esModule = true, module.exports["default"] = module.exports;
    
    /***/ }),
    
    /***/ 97012:
    /*!***************************************************************************************!*\
      !*** ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/iterableToArray.js ***!
      \***************************************************************************************/
    /***/ (function(module) {
    
    function _iterableToArray(iter) {
      if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
    }
    module.exports = _iterableToArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
    
    /***/ }),
    
    /***/ 70849:
    /*!********************************************************************************************!*\
      !*** ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/iterableToArrayLimit.js ***!
      \********************************************************************************************/
    /***/ (function(module) {
    
    function _iterableToArrayLimit(r, l) {
      var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || 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) && (a.push(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;
      }
    }
    module.exports = _iterableToArrayLimit, module.exports.__esModule = true, module.exports["default"] = module.exports;
    
    /***/ }),
    
    /***/ 35599:
    /*!***************************************************************************************!*\
      !*** ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/nonIterableRest.js ***!
      \***************************************************************************************/
    /***/ (function(module) {
    
    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.");
    }
    module.exports = _nonIterableRest, module.exports.__esModule = true, module.exports["default"] = module.exports;
    
    /***/ }),
    
    /***/ 93215:
    /*!*****************************************************************************************!*\
      !*** ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/nonIterableSpread.js ***!
      \*****************************************************************************************/
    /***/ (function(module) {
    
    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.");
    }
    module.exports = _nonIterableSpread, module.exports.__esModule = true, module.exports["default"] = module.exports;
    
    /***/ }),
    
    /***/ 70236:
    /*!************************************************************************************************!*\
      !*** ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/objectDestructuringEmpty.js ***!
      \************************************************************************************************/
    /***/ (function(module) {
    
    function _objectDestructuringEmpty(obj) {
      if (obj == null) throw new TypeError("Cannot destructure " + obj);
    }
    module.exports = _objectDestructuringEmpty, module.exports.__esModule = true, module.exports["default"] = module.exports;
    
    /***/ }),
    
    /***/ 82242:
    /*!*************************************************************************************!*\
      !*** ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/objectSpread2.js ***!
      \*************************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    var defineProperty = __webpack_require__(/*! ./defineProperty.js */ 85573);
    function ownKeys(e, r) {
      var t = Object.keys(e);
      if (Object.getOwnPropertySymbols) {
        var o = Object.getOwnPropertySymbols(e);
        r && (o = o.filter(function (r) {
          return Object.getOwnPropertyDescriptor(e, r).enumerable;
        })), t.push.apply(t, o);
      }
      return t;
    }
    function _objectSpread2(e) {
      for (var r = 1; r < arguments.length; r++) {
        var t = null != arguments[r] ? arguments[r] : {};
        r % 2 ? ownKeys(Object(t), !0).forEach(function (r) {
          defineProperty(e, r, t[r]);
        }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) {
          Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));
        });
      }
      return e;
    }
    module.exports = _objectSpread2, module.exports.__esModule = true, module.exports["default"] = module.exports;
    
    /***/ }),
    
    /***/ 39647:
    /*!***********************************************************************************************!*\
      !*** ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/objectWithoutProperties.js ***!
      \***********************************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    var objectWithoutPropertiesLoose = __webpack_require__(/*! ./objectWithoutPropertiesLoose.js */ 32890);
    function _objectWithoutProperties(source, excluded) {
      if (source == null) return {};
      var target = objectWithoutPropertiesLoose(source, excluded);
      var key, i;
      if (Object.getOwnPropertySymbols) {
        var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
        for (i = 0; i < sourceSymbolKeys.length; i++) {
          key = sourceSymbolKeys[i];
          if (excluded.indexOf(key) >= 0) continue;
          if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
          target[key] = source[key];
        }
      }
      return target;
    }
    module.exports = _objectWithoutProperties, module.exports.__esModule = true, module.exports["default"] = module.exports;
    
    /***/ }),
    
    /***/ 32890:
    /*!****************************************************************************************************!*\
      !*** ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/objectWithoutPropertiesLoose.js ***!
      \****************************************************************************************************/
    /***/ (function(module) {
    
    function _objectWithoutPropertiesLoose(source, excluded) {
      if (source == null) return {};
      var target = {};
      var sourceKeys = Object.keys(source);
      var key, i;
      for (i = 0; i < sourceKeys.length; i++) {
        key = sourceKeys[i];
        if (excluded.indexOf(key) >= 0) continue;
        target[key] = source[key];
      }
      return target;
    }
    module.exports = _objectWithoutPropertiesLoose, module.exports.__esModule = true, module.exports["default"] = module.exports;
    
    /***/ }),
    
    /***/ 34456:
    /*!*************************************************************************************************!*\
      !*** ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/possibleConstructorReturn.js ***!
      \*************************************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    var _typeof = (__webpack_require__(/*! ./typeof.js */ 31468)["default"]);
    var assertThisInitialized = __webpack_require__(/*! ./assertThisInitialized.js */ 13720);
    function _possibleConstructorReturn(self, call) {
      if (call && (_typeof(call) === "object" || typeof call === "function")) {
        return call;
      } else if (call !== void 0) {
        throw new TypeError("Derived constructors may only return object or undefined");
      }
      return assertThisInitialized(self);
    }
    module.exports = _possibleConstructorReturn, module.exports.__esModule = true, module.exports["default"] = module.exports;
    
    /***/ }),
    
    /***/ 7557:
    /*!******************************************************************************************!*\
      !*** ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/regeneratorRuntime.js ***!
      \******************************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    var _typeof = (__webpack_require__(/*! ./typeof.js */ 31468)["default"]);
    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) {
        ["next", "throw", "return"].forEach(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 new 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 e = {
          tryLoc: t[0]
        };
        1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e);
      }
      function resetTryEntry(t) {
        var e = t.completion || {};
        e.type = "normal", delete e.arg, t.completion = e;
      }
      function Context(t) {
        this.tryEntries = [{
          tryLoc: "root"
        }], t.forEach(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) r.push(n);
        return r.reverse(), 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) {
          if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(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 new 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 new 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;
    
    /***/ }),
    
    /***/ 35745:
    /*!**************************************************************************************!*\
      !*** ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/setPrototypeOf.js ***!
      \**************************************************************************************/
    /***/ (function(module) {
    
    function _setPrototypeOf(o, p) {
      module.exports = _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
        o.__proto__ = p;
        return o;
      }, module.exports.__esModule = true, module.exports["default"] = module.exports;
      return _setPrototypeOf(o, p);
    }
    module.exports = _setPrototypeOf, module.exports.__esModule = true, module.exports["default"] = module.exports;
    
    /***/ }),
    
    /***/ 79800:
    /*!*************************************************************************************!*\
      !*** ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/slicedToArray.js ***!
      \*************************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    var arrayWithHoles = __webpack_require__(/*! ./arrayWithHoles.js */ 27027);
    var iterableToArrayLimit = __webpack_require__(/*! ./iterableToArrayLimit.js */ 70849);
    var unsupportedIterableToArray = __webpack_require__(/*! ./unsupportedIterableToArray.js */ 66109);
    var nonIterableRest = __webpack_require__(/*! ./nonIterableRest.js */ 35599);
    function _slicedToArray(arr, i) {
      return arrayWithHoles(arr) || iterableToArrayLimit(arr, i) || unsupportedIterableToArray(arr, i) || nonIterableRest();
    }
    module.exports = _slicedToArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
    
    /***/ }),
    
    /***/ 58988:
    /*!*******************************************************************************!*\
      !*** ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/toArray.js ***!
      \*******************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    var arrayWithHoles = __webpack_require__(/*! ./arrayWithHoles.js */ 27027);
    var iterableToArray = __webpack_require__(/*! ./iterableToArray.js */ 97012);
    var unsupportedIterableToArray = __webpack_require__(/*! ./unsupportedIterableToArray.js */ 66109);
    var nonIterableRest = __webpack_require__(/*! ./nonIterableRest.js */ 35599);
    function _toArray(arr) {
      return arrayWithHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableRest();
    }
    module.exports = _toArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
    
    /***/ }),
    
    /***/ 37205:
    /*!*****************************************************************************************!*\
      !*** ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/toConsumableArray.js ***!
      \*****************************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    var arrayWithoutHoles = __webpack_require__(/*! ./arrayWithoutHoles.js */ 61004);
    var iterableToArray = __webpack_require__(/*! ./iterableToArray.js */ 97012);
    var unsupportedIterableToArray = __webpack_require__(/*! ./unsupportedIterableToArray.js */ 66109);
    var nonIterableSpread = __webpack_require__(/*! ./nonIterableSpread.js */ 93215);
    function _toConsumableArray(arr) {
      return arrayWithoutHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableSpread();
    }
    module.exports = _toConsumableArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
    
    /***/ }),
    
    /***/ 41819:
    /*!***********************************************************************************!*\
      !*** ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/toPrimitive.js ***!
      \***********************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    var _typeof = (__webpack_require__(/*! ./typeof.js */ 31468)["default"]);
    function toPrimitive(t, r) {
      if ("object" != _typeof(t) || !t) return t;
      var e = t[Symbol.toPrimitive];
      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);
    }
    module.exports = toPrimitive, module.exports.__esModule = true, module.exports["default"] = module.exports;
    
    /***/ }),
    
    /***/ 83411:
    /*!*************************************************************************************!*\
      !*** ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/toPropertyKey.js ***!
      \*************************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    var _typeof = (__webpack_require__(/*! ./typeof.js */ 31468)["default"]);
    var toPrimitive = __webpack_require__(/*! ./toPrimitive.js */ 41819);
    function toPropertyKey(t) {
      var i = toPrimitive(t, "string");
      return "symbol" == _typeof(i) ? i : String(i);
    }
    module.exports = toPropertyKey, module.exports.__esModule = true, module.exports["default"] = module.exports;
    
    /***/ }),
    
    /***/ 31468:
    /*!******************************************************************************!*\
      !*** ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/typeof.js ***!
      \******************************************************************************/
    /***/ (function(module) {
    
    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;
    
    /***/ }),
    
    /***/ 66109:
    /*!**************************************************************************************************!*\
      !*** ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/unsupportedIterableToArray.js ***!
      \**************************************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    var arrayLikeToArray = __webpack_require__(/*! ./arrayLikeToArray.js */ 39572);
    function _unsupportedIterableToArray(o, minLen) {
      if (!o) return;
      if (typeof o === "string") return arrayLikeToArray(o, minLen);
      var n = Object.prototype.toString.call(o).slice(8, -1);
      if (n === "Object" && o.constructor) n = o.constructor.name;
      if (n === "Map" || n === "Set") return Array.from(o);
      if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return arrayLikeToArray(o, minLen);
    }
    module.exports = _unsupportedIterableToArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
    
    /***/ }),
    
    /***/ 60968:
    /*!*************************************************************************************!*\
      !*** ./node_modules/_@babel_runtime@7.28.6@@babel/runtime/helpers/OverloadYield.js ***!
      \*************************************************************************************/
    /***/ (function(module) {
    
    function _OverloadYield(e, d) {
      this.v = e, this.k = d;
    }
    module.exports = _OverloadYield, module.exports.__esModule = true, module.exports["default"] = module.exports;
    
    /***/ }),
    
    /***/ 78280:
    /*!***********************************************************************************!*\
      !*** ./node_modules/_@babel_runtime@7.28.6@@babel/runtime/helpers/regenerator.js ***!
      \***********************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    var regeneratorDefine = __webpack_require__(/*! ./regeneratorDefine.js */ 50718);
    function _regenerator() {
      /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */
      var e,
        t,
        r = "function" == typeof Symbol ? Symbol : {},
        n = r.iterator || "@@iterator",
        o = r.toStringTag || "@@toStringTag";
      function i(r, n, o, i) {
        var c = n && n.prototype instanceof Generator ? n : Generator,
          u = Object.create(c.prototype);
        return regeneratorDefine(u, "_invoke", function (r, n, o) {
          var i,
            c,
            u,
            f = 0,
            p = o || [],
            y = !1,
            G = {
              p: 0,
              n: 0,
              v: e,
              a: d,
              f: d.bind(e, 4),
              d: function d(t, r) {
                return i = t, c = 0, u = e, G.n = r, a;
              }
            };
          function d(r, n) {
            for (c = r, u = n, t = 0; !y && f && !o && t < p.length; t++) {
              var o,
                i = p[t],
                d = G.p,
                l = i[2];
              r > 3 ? (o = l === n) && (u = i[(c = i[4]) ? 5 : (c = 3, 3)], i[4] = i[5] = e) : i[0] <= d && ((o = r < 2 && d < i[1]) ? (c = 0, G.v = n, G.n = i[1]) : d < l && (o = r < 3 || i[0] > n || n > l) && (i[4] = r, i[5] = n, G.n = l, c = 0));
            }
            if (o || r > 1) return a;
            throw y = !0, n;
          }
          return function (o, p, l) {
            if (f > 1) throw TypeError("Generator is already running");
            for (y && 1 === p && d(p, l), c = p, u = l; (t = c < 2 ? e : u) || !y;) {
              i || (c ? c < 3 ? (c > 1 && (G.n = -1), d(c, u)) : G.n = u : G.v = u);
              try {
                if (f = 2, i) {
                  if (c || (o = "next"), t = i[o]) {
                    if (!(t = t.call(i, u))) throw TypeError("iterator result is not an object");
                    if (!t.done) return t;
                    u = t.value, c < 2 && (c = 0);
                  } else 1 === c && (t = i["return"]) && t.call(i), c < 2 && (u = TypeError("The iterator does not provide a '" + o + "' method"), c = 1);
                  i = e;
                } else if ((t = (y = G.n < 0) ? u : r.call(n, G)) !== a) break;
              } catch (t) {
                i = e, c = 1, u = t;
              } finally {
                f = 1;
              }
            }
            return {
              value: t,
              done: y
            };
          };
        }(r, o, i), !0), u;
      }
      var a = {};
      function Generator() {}
      function GeneratorFunction() {}
      function GeneratorFunctionPrototype() {}
      t = Object.getPrototypeOf;
      var c = [][n] ? t(t([][n]())) : (regeneratorDefine(t = {}, n, function () {
          return this;
        }), t),
        u = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(c);
      function f(e) {
        return Object.setPrototypeOf ? Object.setPrototypeOf(e, GeneratorFunctionPrototype) : (e.__proto__ = GeneratorFunctionPrototype, regeneratorDefine(e, o, "GeneratorFunction")), e.prototype = Object.create(u), e;
      }
      return GeneratorFunction.prototype = GeneratorFunctionPrototype, regeneratorDefine(u, "constructor", GeneratorFunctionPrototype), regeneratorDefine(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = "GeneratorFunction", regeneratorDefine(GeneratorFunctionPrototype, o, "GeneratorFunction"), regeneratorDefine(u), regeneratorDefine(u, o, "Generator"), regeneratorDefine(u, n, function () {
        return this;
      }), regeneratorDefine(u, "toString", function () {
        return "[object Generator]";
      }), (module.exports = _regenerator = function _regenerator() {
        return {
          w: i,
          m: f
        };
      }, module.exports.__esModule = true, module.exports["default"] = module.exports)();
    }
    module.exports = _regenerator, module.exports.__esModule = true, module.exports["default"] = module.exports;
    
    /***/ }),
    
    /***/ 41541:
    /*!****************************************************************************************!*\
      !*** ./node_modules/_@babel_runtime@7.28.6@@babel/runtime/helpers/regeneratorAsync.js ***!
      \****************************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    var regeneratorAsyncGen = __webpack_require__(/*! ./regeneratorAsyncGen.js */ 43912);
    function _regeneratorAsync(n, e, r, t, o) {
      var a = regeneratorAsyncGen(n, e, r, t, o);
      return a.next().then(function (n) {
        return n.done ? n.value : a.next();
      });
    }
    module.exports = _regeneratorAsync, module.exports.__esModule = true, module.exports["default"] = module.exports;
    
    /***/ }),
    
    /***/ 43912:
    /*!*******************************************************************************************!*\
      !*** ./node_modules/_@babel_runtime@7.28.6@@babel/runtime/helpers/regeneratorAsyncGen.js ***!
      \*******************************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    var regenerator = __webpack_require__(/*! ./regenerator.js */ 78280);
    var regeneratorAsyncIterator = __webpack_require__(/*! ./regeneratorAsyncIterator.js */ 42457);
    function _regeneratorAsyncGen(r, e, t, o, n) {
      return new regeneratorAsyncIterator(regenerator().w(r, e, t, o), n || Promise);
    }
    module.exports = _regeneratorAsyncGen, module.exports.__esModule = true, module.exports["default"] = module.exports;
    
    /***/ }),
    
    /***/ 42457:
    /*!************************************************************************************************!*\
      !*** ./node_modules/_@babel_runtime@7.28.6@@babel/runtime/helpers/regeneratorAsyncIterator.js ***!
      \************************************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    var OverloadYield = __webpack_require__(/*! ./OverloadYield.js */ 60968);
    var regeneratorDefine = __webpack_require__(/*! ./regeneratorDefine.js */ 50718);
    function AsyncIterator(t, e) {
      function n(r, o, i, f) {
        try {
          var c = t[r](o),
            u = c.value;
          return u instanceof OverloadYield ? e.resolve(u.v).then(function (t) {
            n("next", t, i, f);
          }, function (t) {
            n("throw", t, i, f);
          }) : e.resolve(u).then(function (t) {
            c.value = t, i(c);
          }, function (t) {
            return n("throw", t, i, f);
          });
        } catch (t) {
          f(t);
        }
      }
      var r;
      this.next || (regeneratorDefine(AsyncIterator.prototype), regeneratorDefine(AsyncIterator.prototype, "function" == typeof Symbol && Symbol.asyncIterator || "@asyncIterator", function () {
        return this;
      })), regeneratorDefine(this, "_invoke", function (t, o, i) {
        function f() {
          return new e(function (e, r) {
            n(t, i, e, r);
          });
        }
        return r = r ? r.then(f, f) : f();
      }, !0);
    }
    module.exports = AsyncIterator, module.exports.__esModule = true, module.exports["default"] = module.exports;
    
    /***/ }),
    
    /***/ 50718:
    /*!*****************************************************************************************!*\
      !*** ./node_modules/_@babel_runtime@7.28.6@@babel/runtime/helpers/regeneratorDefine.js ***!
      \*****************************************************************************************/
    /***/ (function(module) {
    
    function _regeneratorDefine(e, r, n, t) {
      var i = Object.defineProperty;
      try {
        i({}, "", {});
      } catch (e) {
        i = 0;
      }
      module.exports = _regeneratorDefine = function regeneratorDefine(e, r, n, t) {
        function o(r, n) {
          _regeneratorDefine(e, r, function (e) {
            return this._invoke(r, n, e);
          });
        }
        r ? i ? i(e, r, {
          value: n,
          enumerable: !t,
          configurable: !t,
          writable: !t
        }) : e[r] = n : (o("next", 0), o("throw", 1), o("return", 2));
      }, module.exports.__esModule = true, module.exports["default"] = module.exports, _regeneratorDefine(e, r, n, t);
    }
    module.exports = _regeneratorDefine, module.exports.__esModule = true, module.exports["default"] = module.exports;
    
    /***/ }),
    
    /***/ 30278:
    /*!***************************************************************************************!*\
      !*** ./node_modules/_@babel_runtime@7.28.6@@babel/runtime/helpers/regeneratorKeys.js ***!
      \***************************************************************************************/
    /***/ (function(module) {
    
    function _regeneratorKeys(e) {
      var n = Object(e),
        r = [];
      for (var t in n) r.unshift(t);
      return function e() {
        for (; r.length;) if ((t = r.pop()) in n) return e.value = t, e.done = !1, e;
        return e.done = !0, e;
      };
    }
    module.exports = _regeneratorKeys, module.exports.__esModule = true, module.exports["default"] = module.exports;
    
    /***/ }),
    
    /***/ 18725:
    /*!******************************************************************************************!*\
      !*** ./node_modules/_@babel_runtime@7.28.6@@babel/runtime/helpers/regeneratorRuntime.js ***!
      \******************************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    var OverloadYield = __webpack_require__(/*! ./OverloadYield.js */ 60968);
    var regenerator = __webpack_require__(/*! ./regenerator.js */ 78280);
    var regeneratorAsync = __webpack_require__(/*! ./regeneratorAsync.js */ 41541);
    var regeneratorAsyncGen = __webpack_require__(/*! ./regeneratorAsyncGen.js */ 43912);
    var regeneratorAsyncIterator = __webpack_require__(/*! ./regeneratorAsyncIterator.js */ 42457);
    var regeneratorKeys = __webpack_require__(/*! ./regeneratorKeys.js */ 30278);
    var regeneratorValues = __webpack_require__(/*! ./regeneratorValues.js */ 17933);
    function _regeneratorRuntime() {
      "use strict";
    
      var r = regenerator(),
        e = r.m(_regeneratorRuntime),
        t = (Object.getPrototypeOf ? Object.getPrototypeOf(e) : e.__proto__).constructor;
      function n(r) {
        var e = "function" == typeof r && r.constructor;
        return !!e && (e === t || "GeneratorFunction" === (e.displayName || e.name));
      }
      var o = {
        "throw": 1,
        "return": 2,
        "break": 3,
        "continue": 3
      };
      function a(r) {
        var e, t;
        return function (n) {
          e || (e = {
            stop: function stop() {
              return t(n.a, 2);
            },
            "catch": function _catch() {
              return n.v;
            },
            abrupt: function abrupt(r, e) {
              return t(n.a, o[r], e);
            },
            delegateYield: function delegateYield(r, o, a) {
              return e.resultName = o, t(n.d, regeneratorValues(r), a);
            },
            finish: function finish(r) {
              return t(n.f, r);
            }
          }, t = function t(r, _t, o) {
            n.p = e.prev, n.n = e.next;
            try {
              return r(_t, o);
            } finally {
              e.next = n.n;
            }
          }), e.resultName && (e[e.resultName] = n.v, e.resultName = void 0), e.sent = n.v, e.next = n.n;
          try {
            return r.call(this, e);
          } finally {
            n.p = e.prev, n.n = e.next;
          }
        };
      }
      return (module.exports = _regeneratorRuntime = function _regeneratorRuntime() {
        return {
          wrap: function wrap(e, t, n, o) {
            return r.w(a(e), t, n, o && o.reverse());
          },
          isGeneratorFunction: n,
          mark: r.m,
          awrap: function awrap(r, e) {
            return new OverloadYield(r, e);
          },
          AsyncIterator: regeneratorAsyncIterator,
          async: function async(r, e, t, o, u) {
            return (n(e) ? regeneratorAsyncGen : regeneratorAsync)(a(r), e, t, o, u);
          },
          keys: regeneratorKeys,
          values: regeneratorValues
        };
      }, module.exports.__esModule = true, module.exports["default"] = module.exports)();
    }
    module.exports = _regeneratorRuntime, module.exports.__esModule = true, module.exports["default"] = module.exports;
    
    /***/ }),
    
    /***/ 17933:
    /*!*****************************************************************************************!*\
      !*** ./node_modules/_@babel_runtime@7.28.6@@babel/runtime/helpers/regeneratorValues.js ***!
      \*****************************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    var _typeof = (__webpack_require__(/*! ./typeof.js */ 43690)["default"]);
    function _regeneratorValues(e) {
      if (null != e) {
        var t = e["function" == typeof Symbol && Symbol.iterator || "@@iterator"],
          r = 0;
        if (t) return t.call(e);
        if ("function" == typeof e.next) return e;
        if (!isNaN(e.length)) return {
          next: function next() {
            return e && r >= e.length && (e = void 0), {
              value: e && e[r++],
              done: !e
            };
          }
        };
      }
      throw new TypeError(_typeof(e) + " is not iterable");
    }
    module.exports = _regeneratorValues, module.exports.__esModule = true, module.exports["default"] = module.exports;
    
    /***/ }),
    
    /***/ 43690:
    /*!******************************************************************************!*\
      !*** ./node_modules/_@babel_runtime@7.28.6@@babel/runtime/helpers/typeof.js ***!
      \******************************************************************************/
    /***/ (function(module) {
    
    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;
    
    /***/ }),
    
    /***/ 46043:
    /*!*********************************************************************************!*\
      !*** ./node_modules/_@babel_runtime@7.28.6@@babel/runtime/regenerator/index.js ***!
      \*********************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    // TODO(Babel 8): Remove this file.
    
    var runtime = __webpack_require__(/*! ../helpers/regeneratorRuntime */ 18725)();
    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 === "object") {
        globalThis.regeneratorRuntime = runtime;
      } else {
        Function("r", "regeneratorRuntime = r")(runtime);
      }
    }
    
    
    /***/ }),
    
    /***/ 92310:
    /*!************************************************************!*\
      !*** ./node_modules/_classnames@2.5.1@classnames/index.js ***!
      \************************************************************/
    /***/ (function(module, exports) {
    
    var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
    	Copyright (c) 2018 Jed Watson.
    	Licensed under the MIT License (MIT), see
    	http://jedwatson.github.io/classnames
    */
    /* global define */
    
    (function () {
    	'use strict';
    
    	var hasOwn = {}.hasOwnProperty;
    
    	function classNames () {
    		var classes = '';
    
    		for (var i = 0; i < arguments.length; i++) {
    			var arg = arguments[i];
    			if (arg) {
    				classes = appendClass(classes, parseValue(arg));
    			}
    		}
    
    		return classes;
    	}
    
    	function parseValue (arg) {
    		if (typeof arg === 'string' || typeof arg === 'number') {
    			return arg;
    		}
    
    		if (typeof arg !== 'object') {
    			return '';
    		}
    
    		if (Array.isArray(arg)) {
    			return classNames.apply(null, arg);
    		}
    
    		if (arg.toString !== Object.prototype.toString && !arg.toString.toString().includes('[native code]')) {
    			return arg.toString();
    		}
    
    		var classes = '';
    
    		for (var key in arg) {
    			if (hasOwn.call(arg, key) && arg[key]) {
    				classes = appendClass(classes, key);
    			}
    		}
    
    		return classes;
    	}
    
    	function appendClass (value, newClass) {
    		if (!newClass) {
    			return value;
    		}
    	
    		if (value) {
    			return value + ' ' + newClass;
    		}
    	
    		return value + newClass;
    	}
    
    	if ( true && module.exports) {
    		classNames.default = classNames;
    		module.exports = classNames;
    	} else if (true) {
    		// register as 'classnames', consistent with npm package name
    		!(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_RESULT__ = (function () {
    			return classNames;
    		}).apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__),
    		__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    	} else {}
    }());
    
    
    /***/ }),
    
    /***/ 63335:
    /*!**********************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/a-callable.js ***!
      \**********************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var isCallable = __webpack_require__(/*! ../internals/is-callable */ 55327);
    var tryToString = __webpack_require__(/*! ../internals/try-to-string */ 40593);
    
    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');
    };
    
    
    /***/ }),
    
    /***/ 6086:
    /*!*************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/a-constructor.js ***!
      \*************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var isConstructor = __webpack_require__(/*! ../internals/is-constructor */ 39812);
    var tryToString = __webpack_require__(/*! ../internals/try-to-string */ 40593);
    
    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');
    };
    
    
    /***/ }),
    
    /***/ 42683:
    /*!*****************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/a-map.js ***!
      \*****************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var has = (__webpack_require__(/*! ../internals/map-helpers */ 2786).has);
    
    // Perform ? RequireInternalSlot(M, [[MapData]])
    module.exports = function (it) {
      has(it);
      return it;
    };
    
    
    /***/ }),
    
    /***/ 557:
    /*!********************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/a-possible-prototype.js ***!
      \********************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var isCallable = __webpack_require__(/*! ../internals/is-callable */ 55327);
    
    var $String = String;
    var $TypeError = TypeError;
    
    module.exports = function (argument) {
      if (typeof argument == 'object' || isCallable(argument)) return argument;
      throw new $TypeError("Can't set " + $String(argument) + ' as a prototype');
    };
    
    
    /***/ }),
    
    /***/ 17442:
    /*!*****************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/a-set.js ***!
      \*****************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var has = (__webpack_require__(/*! ../internals/set-helpers */ 19691).has);
    
    // Perform ? RequireInternalSlot(M, [[SetData]])
    module.exports = function (it) {
      has(it);
      return it;
    };
    
    
    /***/ }),
    
    /***/ 79606:
    /*!********************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/a-string.js ***!
      \********************************************************************/
    /***/ (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');
    };
    
    
    /***/ }),
    
    /***/ 63619:
    /*!**********************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/a-weak-map.js ***!
      \**********************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var has = (__webpack_require__(/*! ../internals/weak-map-helpers */ 42530).has);
    
    // Perform ? RequireInternalSlot(M, [[WeakMapData]])
    module.exports = function (it) {
      has(it);
      return it;
    };
    
    
    /***/ }),
    
    /***/ 18888:
    /*!**********************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/a-weak-set.js ***!
      \**********************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var has = (__webpack_require__(/*! ../internals/weak-set-helpers */ 91385).has);
    
    // Perform ? RequireInternalSlot(M, [[WeakSetData]])
    module.exports = function (it) {
      has(it);
      return it;
    };
    
    
    /***/ }),
    
    /***/ 5978:
    /*!***********************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/add-disposable-resource.js ***!
      \***********************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var call = __webpack_require__(/*! ../internals/function-call */ 89945);
    var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ 94237);
    var bind = __webpack_require__(/*! ../internals/function-bind-context */ 80666);
    var anObject = __webpack_require__(/*! ../internals/an-object */ 80449);
    var aCallable = __webpack_require__(/*! ../internals/a-callable */ 63335);
    var isNullOrUndefined = __webpack_require__(/*! ../internals/is-null-or-undefined */ 4112);
    var getMethod = __webpack_require__(/*! ../internals/get-method */ 53776);
    var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ 59893);
    
    var ASYNC_DISPOSE = wellKnownSymbol('asyncDispose');
    var DISPOSE = wellKnownSymbol('dispose');
    
    var push = uncurryThis([].push);
    
    // `GetDisposeMethod` abstract operation
    // https://tc39.es/proposal-explicit-resource-management/#sec-getdisposemethod
    var getDisposeMethod = function (V, hint) {
      if (hint === 'async-dispose') {
        var method = getMethod(V, ASYNC_DISPOSE);
        if (method !== undefined) return method;
        method = getMethod(V, DISPOSE);
        return function () {
          call(method, this);
        };
      } return getMethod(V, DISPOSE);
    };
    
    // `CreateDisposableResource` abstract operation
    // https://tc39.es/proposal-explicit-resource-management/#sec-createdisposableresource
    var createDisposableResource = function (V, hint, method) {
      if (arguments.length < 3 && !isNullOrUndefined(V)) {
        method = aCallable(getDisposeMethod(anObject(V), hint));
      }
    
      return method === undefined ? function () {
        return undefined;
      } : bind(method, V);
    };
    
    // `AddDisposableResource` abstract operation
    // https://tc39.es/proposal-explicit-resource-management/#sec-adddisposableresource
    module.exports = function (disposable, V, hint, method) {
      var resource;
      if (arguments.length < 4) {
        // When `V`` is either `null` or `undefined` and hint is `async-dispose`,
        // we record that the resource was evaluated to ensure we will still perform an `Await` when resources are later disposed.
        if (isNullOrUndefined(V) && hint === 'sync-dispose') return;
        resource = createDisposableResource(V, hint);
      } else {
        resource = createDisposableResource(undefined, hint, method);
      }
    
      push(disposable.stack, resource);
    };
    
    
    /***/ }),
    
    /***/ 81181:
    /*!******************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/add-to-unscopables.js ***!
      \******************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ 59893);
    var create = __webpack_require__(/*! ../internals/object-create */ 20132);
    var defineProperty = (__webpack_require__(/*! ../internals/object-define-property */ 37691).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;
    };
    
    
    /***/ }),
    
    /***/ 52216:
    /*!********************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/advance-string-index.js ***!
      \********************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var charAt = (__webpack_require__(/*! ../internals/string-multibyte */ 13764).charAt);
    
    // `AdvanceStringIndex` abstract operation
    // https://tc39.es/ecma262/#sec-advancestringindex
    module.exports = function (S, index, unicode) {
      return index + (unicode ? charAt(S, index).length : 1);
    };
    
    
    /***/ }),
    
    /***/ 56472:
    /*!***********************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/an-instance.js ***!
      \***********************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var isPrototypeOf = __webpack_require__(/*! ../internals/object-is-prototype-of */ 16332);
    
    var $TypeError = TypeError;
    
    module.exports = function (it, Prototype) {
      if (isPrototypeOf(Prototype, it)) return it;
      throw new $TypeError('Incorrect invocation');
    };
    
    
    /***/ }),
    
    /***/ 1674:
    /*!**********************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/an-object-or-undefined.js ***!
      \**********************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var isObject = __webpack_require__(/*! ../internals/is-object */ 31946);
    
    var $String = String;
    var $TypeError = TypeError;
    
    module.exports = function (argument) {
      if (argument === undefined || isObject(argument)) return argument;
      throw new $TypeError($String(argument) + ' is not an object or undefined');
    };
    
    
    /***/ }),
    
    /***/ 80449:
    /*!*********************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/an-object.js ***!
      \*********************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var isObject = __webpack_require__(/*! ../internals/is-object */ 31946);
    
    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');
    };
    
    
    /***/ }),
    
    /***/ 27270:
    /*!**************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/an-uint8-array.js ***!
      \**************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var classof = __webpack_require__(/*! ../internals/classof */ 97607);
    
    var $TypeError = TypeError;
    
    // Perform ? RequireInternalSlot(argument, [[TypedArrayName]])
    // If argument.[[TypedArrayName]] is not "Uint8Array", throw a TypeError exception
    module.exports = function (argument) {
      if (classof(argument) === 'Uint8Array') return argument;
      throw new $TypeError('Argument is not an Uint8Array');
    };
    
    
    /***/ }),
    
    /***/ 3737:
    /*!****************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/array-buffer-basic-detection.js ***!
      \****************************************************************************************/
    /***/ (function(module) {
    
    "use strict";
    
    // eslint-disable-next-line es/no-typed-arrays -- safe
    module.exports = typeof ArrayBuffer != 'undefined' && typeof DataView != 'undefined';
    
    
    /***/ }),
    
    /***/ 78244:
    /*!************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/array-buffer-byte-length.js ***!
      \************************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var uncurryThisAccessor = __webpack_require__(/*! ../internals/function-uncurry-this-accessor */ 37758);
    var classof = __webpack_require__(/*! ../internals/classof-raw */ 29076);
    
    var $TypeError = TypeError;
    
    // Includes
    // - Perform ? RequireInternalSlot(O, [[ArrayBufferData]]).
    // - If IsSharedArrayBuffer(O) is true, throw a TypeError exception.
    module.exports = uncurryThisAccessor(ArrayBuffer.prototype, 'byteLength', 'get') || function (O) {
      if (classof(O) !== 'ArrayBuffer') throw new $TypeError('ArrayBuffer expected');
      return O.byteLength;
    };
    
    
    /***/ }),
    
    /***/ 93683:
    /*!************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/array-buffer-is-detached.js ***!
      \************************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ 94237);
    var arrayBufferByteLength = __webpack_require__(/*! ../internals/array-buffer-byte-length */ 78244);
    
    var slice = uncurryThis(ArrayBuffer.prototype.slice);
    
    module.exports = function (O) {
      if (arrayBufferByteLength(O) !== 0) return false;
      try {
        slice(O, 0, 0);
        return false;
      } catch (error) {
        return true;
      }
    };
    
    
    /***/ }),
    
    /***/ 51424:
    /*!***************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/array-buffer-non-extensible.js ***!
      \***************************************************************************************/
    /***/ (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__(/*! ../internals/fails */ 3338);
    
    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 });
      }
    });
    
    
    /***/ }),
    
    /***/ 39760:
    /*!*********************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/array-buffer-transfer.js ***!
      \*********************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var global = __webpack_require__(/*! ../internals/global */ 92916);
    var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ 94237);
    var uncurryThisAccessor = __webpack_require__(/*! ../internals/function-uncurry-this-accessor */ 37758);
    var toIndex = __webpack_require__(/*! ../internals/to-index */ 24225);
    var isDetached = __webpack_require__(/*! ../internals/array-buffer-is-detached */ 93683);
    var arrayBufferByteLength = __webpack_require__(/*! ../internals/array-buffer-byte-length */ 78244);
    var detachTransferable = __webpack_require__(/*! ../internals/detach-transferable */ 39311);
    var PROPER_STRUCTURED_CLONE_TRANSFER = __webpack_require__(/*! ../internals/structured-clone-proper-transfer */ 80426);
    
    var structuredClone = global.structuredClone;
    var ArrayBuffer = global.ArrayBuffer;
    var DataView = global.DataView;
    var TypeError = global.TypeError;
    var min = Math.min;
    var ArrayBufferPrototype = ArrayBuffer.prototype;
    var DataViewPrototype = DataView.prototype;
    var slice = uncurryThis(ArrayBufferPrototype.slice);
    var isResizable = uncurryThisAccessor(ArrayBufferPrototype, 'resizable', 'get');
    var maxByteLength = uncurryThisAccessor(ArrayBufferPrototype, 'maxByteLength', 'get');
    var getInt8 = uncurryThis(DataViewPrototype.getInt8);
    var setInt8 = uncurryThis(DataViewPrototype.setInt8);
    
    module.exports = (PROPER_STRUCTURED_CLONE_TRANSFER || detachTransferable) && function (arrayBuffer, newLength, preserveResizability) {
      var byteLength = arrayBufferByteLength(arrayBuffer);
      var newByteLength = newLength === undefined ? byteLength : toIndex(newLength);
      var fixedLength = !isResizable || !isResizable(arrayBuffer);
      var newBuffer;
      if (isDetached(arrayBuffer)) throw new TypeError('ArrayBuffer is detached');
      if (PROPER_STRUCTURED_CLONE_TRANSFER) {
        arrayBuffer = structuredClone(arrayBuffer, { transfer: [arrayBuffer] });
        if (byteLength === newByteLength && (preserveResizability || fixedLength)) return arrayBuffer;
      }
      if (byteLength >= newByteLength && (!preserveResizability || fixedLength)) {
        newBuffer = slice(arrayBuffer, 0, newByteLength);
      } else {
        var options = preserveResizability && !fixedLength && maxByteLength ? { maxByteLength: maxByteLength(arrayBuffer) } : undefined;
        newBuffer = new ArrayBuffer(newByteLength, options);
        var a = new DataView(arrayBuffer);
        var b = new DataView(newBuffer);
        var copyLength = min(newByteLength, byteLength);
        for (var i = 0; i < copyLength; i++) setInt8(b, i, getInt8(a, i));
      }
      if (!PROPER_STRUCTURED_CLONE_TRANSFER) detachTransferable(arrayBuffer);
      return newBuffer;
    };
    
    
    /***/ }),
    
    /***/ 58261:
    /*!**********************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/array-buffer-view-core.js ***!
      \**********************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var NATIVE_ARRAY_BUFFER = __webpack_require__(/*! ../internals/array-buffer-basic-detection */ 3737);
    var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ 35454);
    var global = __webpack_require__(/*! ../internals/global */ 92916);
    var isCallable = __webpack_require__(/*! ../internals/is-callable */ 55327);
    var isObject = __webpack_require__(/*! ../internals/is-object */ 31946);
    var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ 32621);
    var classof = __webpack_require__(/*! ../internals/classof */ 97607);
    var tryToString = __webpack_require__(/*! ../internals/try-to-string */ 40593);
    var createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ 68151);
    var defineBuiltIn = __webpack_require__(/*! ../internals/define-built-in */ 2291);
    var defineBuiltInAccessor = __webpack_require__(/*! ../internals/define-built-in-accessor */ 64110);
    var isPrototypeOf = __webpack_require__(/*! ../internals/object-is-prototype-of */ 16332);
    var getPrototypeOf = __webpack_require__(/*! ../internals/object-get-prototype-of */ 53456);
    var setPrototypeOf = __webpack_require__(/*! ../internals/object-set-prototype-of */ 58218);
    var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ 59893);
    var uid = __webpack_require__(/*! ../internals/uid */ 6145);
    var InternalStateModule = __webpack_require__(/*! ../internals/internal-state */ 94844);
    
    var enforceInternalState = InternalStateModule.enforce;
    var getInternalState = InternalStateModule.get;
    var Int8Array = global.Int8Array;
    var Int8ArrayPrototype = Int8Array && Int8Array.prototype;
    var Uint8ClampedArray = global.Uint8ClampedArray;
    var Uint8ClampedArrayPrototype = Uint8ClampedArray && Uint8ClampedArray.prototype;
    var TypedArray = Int8Array && getPrototypeOf(Int8Array);
    var TypedArrayPrototype = Int8ArrayPrototype && getPrototypeOf(Int8ArrayPrototype);
    var ObjectPrototype = Object.prototype;
    var TypeError = global.TypeError;
    
    var TO_STRING_TAG = wellKnownSymbol('toStringTag');
    var TYPED_ARRAY_TAG = uid('TYPED_ARRAY_TAG');
    var TYPED_ARRAY_CONSTRUCTOR = 'TypedArrayConstructor';
    // Fixing native typed arrays in Opera Presto crashes the browser, see #595
    var NATIVE_ARRAY_BUFFER_VIEWS = NATIVE_ARRAY_BUFFER && !!setPrototypeOf && classof(global.opera) !== 'Opera';
    var TYPED_ARRAY_TAG_REQUIRED = false;
    var NAME, Constructor, Prototype;
    
    var TypedArrayConstructorsList = {
      Int8Array: 1,
      Uint8Array: 1,
      Uint8ClampedArray: 1,
      Int16Array: 2,
      Uint16Array: 2,
      Int32Array: 4,
      Uint32Array: 4,
      Float32Array: 4,
      Float64Array: 8
    };
    
    var BigIntArrayConstructorsList = {
      BigInt64Array: 8,
      BigUint64Array: 8
    };
    
    var isView = function isView(it) {
      if (!isObject(it)) return false;
      var klass = classof(it);
      return klass === 'DataView'
        || hasOwn(TypedArrayConstructorsList, klass)
        || hasOwn(BigIntArrayConstructorsList, klass);
    };
    
    var getTypedArrayConstructor = function (it) {
      var proto = getPrototypeOf(it);
      if (!isObject(proto)) return;
      var state = getInternalState(proto);
      return (state && hasOwn(state, TYPED_ARRAY_CONSTRUCTOR)) ? state[TYPED_ARRAY_CONSTRUCTOR] : getTypedArrayConstructor(proto);
    };
    
    var isTypedArray = function (it) {
      if (!isObject(it)) return false;
      var klass = classof(it);
      return hasOwn(TypedArrayConstructorsList, klass)
        || hasOwn(BigIntArrayConstructorsList, klass);
    };
    
    var aTypedArray = function (it) {
      if (isTypedArray(it)) return it;
      throw new TypeError('Target is not a typed array');
    };
    
    var aTypedArrayConstructor = function (C) {
      if (isCallable(C) && (!setPrototypeOf || isPrototypeOf(TypedArray, C))) return C;
      throw new TypeError(tryToString(C) + ' is not a typed array constructor');
    };
    
    var exportTypedArrayMethod = function (KEY, property, forced, options) {
      if (!DESCRIPTORS) return;
      if (forced) for (var ARRAY in TypedArrayConstructorsList) {
        var TypedArrayConstructor = global[ARRAY];
        if (TypedArrayConstructor && hasOwn(TypedArrayConstructor.prototype, KEY)) try {
          delete TypedArrayConstructor.prototype[KEY];
        } catch (error) {
          // old WebKit bug - some methods are non-configurable
          try {
            TypedArrayConstructor.prototype[KEY] = property;
          } catch (error2) { /* empty */ }
        }
      }
      if (!TypedArrayPrototype[KEY] || forced) {
        defineBuiltIn(TypedArrayPrototype, KEY, forced ? property
          : NATIVE_ARRAY_BUFFER_VIEWS && Int8ArrayPrototype[KEY] || property, options);
      }
    };
    
    var exportTypedArrayStaticMethod = function (KEY, property, forced) {
      var ARRAY, TypedArrayConstructor;
      if (!DESCRIPTORS) return;
      if (setPrototypeOf) {
        if (forced) for (ARRAY in TypedArrayConstructorsList) {
          TypedArrayConstructor = global[ARRAY];
          if (TypedArrayConstructor && hasOwn(TypedArrayConstructor, KEY)) try {
            delete TypedArrayConstructor[KEY];
          } catch (error) { /* empty */ }
        }
        if (!TypedArray[KEY] || forced) {
          // V8 ~ Chrome 49-50 `%TypedArray%` methods are non-writable non-configurable
          try {
            return defineBuiltIn(TypedArray, KEY, forced ? property : NATIVE_ARRAY_BUFFER_VIEWS && TypedArray[KEY] || property);
          } catch (error) { /* empty */ }
        } else return;
      }
      for (ARRAY in TypedArrayConstructorsList) {
        TypedArrayConstructor = global[ARRAY];
        if (TypedArrayConstructor && (!TypedArrayConstructor[KEY] || forced)) {
          defineBuiltIn(TypedArrayConstructor, KEY, property);
        }
      }
    };
    
    for (NAME in TypedArrayConstructorsList) {
      Constructor = global[NAME];
      Prototype = Constructor && Constructor.prototype;
      if (Prototype) enforceInternalState(Prototype)[TYPED_ARRAY_CONSTRUCTOR] = Constructor;
      else NATIVE_ARRAY_BUFFER_VIEWS = false;
    }
    
    for (NAME in BigIntArrayConstructorsList) {
      Constructor = global[NAME];
      Prototype = Constructor && Constructor.prototype;
      if (Prototype) enforceInternalState(Prototype)[TYPED_ARRAY_CONSTRUCTOR] = Constructor;
    }
    
    // WebKit bug - typed arrays constructors prototype is Object.prototype
    if (!NATIVE_ARRAY_BUFFER_VIEWS || !isCallable(TypedArray) || TypedArray === Function.prototype) {
      // eslint-disable-next-line no-shadow -- safe
      TypedArray = function TypedArray() {
        throw new TypeError('Incorrect invocation');
      };
      if (NATIVE_ARRAY_BUFFER_VIEWS) for (NAME in TypedArrayConstructorsList) {
        if (global[NAME]) setPrototypeOf(global[NAME], TypedArray);
      }
    }
    
    if (!NATIVE_ARRAY_BUFFER_VIEWS || !TypedArrayPrototype || TypedArrayPrototype === ObjectPrototype) {
      TypedArrayPrototype = TypedArray.prototype;
      if (NATIVE_ARRAY_BUFFER_VIEWS) for (NAME in TypedArrayConstructorsList) {
        if (global[NAME]) setPrototypeOf(global[NAME].prototype, TypedArrayPrototype);
      }
    }
    
    // WebKit bug - one more object in Uint8ClampedArray prototype chain
    if (NATIVE_ARRAY_BUFFER_VIEWS && getPrototypeOf(Uint8ClampedArrayPrototype) !== TypedArrayPrototype) {
      setPrototypeOf(Uint8ClampedArrayPrototype, TypedArrayPrototype);
    }
    
    if (DESCRIPTORS && !hasOwn(TypedArrayPrototype, TO_STRING_TAG)) {
      TYPED_ARRAY_TAG_REQUIRED = true;
      defineBuiltInAccessor(TypedArrayPrototype, TO_STRING_TAG, {
        configurable: true,
        get: function () {
          return isObject(this) ? this[TYPED_ARRAY_TAG] : undefined;
        }
      });
      for (NAME in TypedArrayConstructorsList) if (global[NAME]) {
        createNonEnumerableProperty(global[NAME], TYPED_ARRAY_TAG, NAME);
      }
    }
    
    module.exports = {
      NATIVE_ARRAY_BUFFER_VIEWS: NATIVE_ARRAY_BUFFER_VIEWS,
      TYPED_ARRAY_TAG: TYPED_ARRAY_TAG_REQUIRED && TYPED_ARRAY_TAG,
      aTypedArray: aTypedArray,
      aTypedArrayConstructor: aTypedArrayConstructor,
      exportTypedArrayMethod: exportTypedArrayMethod,
      exportTypedArrayStaticMethod: exportTypedArrayStaticMethod,
      getTypedArrayConstructor: getTypedArrayConstructor,
      isView: isView,
      isTypedArray: isTypedArray,
      TypedArray: TypedArray,
      TypedArrayPrototype: TypedArrayPrototype
    };
    
    
    /***/ }),
    
    /***/ 91669:
    /*!************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/array-buffer.js ***!
      \************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var global = __webpack_require__(/*! ../internals/global */ 92916);
    var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ 94237);
    var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ 35454);
    var NATIVE_ARRAY_BUFFER = __webpack_require__(/*! ../internals/array-buffer-basic-detection */ 3737);
    var FunctionName = __webpack_require__(/*! ../internals/function-name */ 8090);
    var createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ 68151);
    var defineBuiltInAccessor = __webpack_require__(/*! ../internals/define-built-in-accessor */ 64110);
    var defineBuiltIns = __webpack_require__(/*! ../internals/define-built-ins */ 66477);
    var fails = __webpack_require__(/*! ../internals/fails */ 3338);
    var anInstance = __webpack_require__(/*! ../internals/an-instance */ 56472);
    var toIntegerOrInfinity = __webpack_require__(/*! ../internals/to-integer-or-infinity */ 56902);
    var toLength = __webpack_require__(/*! ../internals/to-length */ 61578);
    var toIndex = __webpack_require__(/*! ../internals/to-index */ 24225);
    var fround = __webpack_require__(/*! ../internals/math-fround */ 14894);
    var IEEE754 = __webpack_require__(/*! ../internals/ieee754 */ 61618);
    var getPrototypeOf = __webpack_require__(/*! ../internals/object-get-prototype-of */ 53456);
    var setPrototypeOf = __webpack_require__(/*! ../internals/object-set-prototype-of */ 58218);
    var getOwnPropertyNames = (__webpack_require__(/*! ../internals/object-get-own-property-names */ 80689).f);
    var arrayFill = __webpack_require__(/*! ../internals/array-fill */ 75202);
    var arraySlice = __webpack_require__(/*! ../internals/array-slice-simple */ 71698);
    var setToStringTag = __webpack_require__(/*! ../internals/set-to-string-tag */ 94573);
    var InternalStateModule = __webpack_require__(/*! ../internals/internal-state */ 94844);
    
    var PROPER_FUNCTION_NAME = FunctionName.PROPER;
    var CONFIGURABLE_FUNCTION_NAME = FunctionName.CONFIGURABLE;
    var ARRAY_BUFFER = 'ArrayBuffer';
    var DATA_VIEW = 'DataView';
    var PROTOTYPE = 'prototype';
    var WRONG_LENGTH = 'Wrong length';
    var WRONG_INDEX = 'Wrong index';
    var getInternalArrayBufferState = InternalStateModule.getterFor(ARRAY_BUFFER);
    var getInternalDataViewState = InternalStateModule.getterFor(DATA_VIEW);
    var setInternalState = InternalStateModule.set;
    var NativeArrayBuffer = global[ARRAY_BUFFER];
    var $ArrayBuffer = NativeArrayBuffer;
    var ArrayBufferPrototype = $ArrayBuffer && $ArrayBuffer[PROTOTYPE];
    var $DataView = global[DATA_VIEW];
    var DataViewPrototype = $DataView && $DataView[PROTOTYPE];
    var ObjectPrototype = Object.prototype;
    var Array = global.Array;
    var RangeError = global.RangeError;
    var fill = uncurryThis(arrayFill);
    var reverse = uncurryThis([].reverse);
    
    var packIEEE754 = IEEE754.pack;
    var unpackIEEE754 = IEEE754.unpack;
    
    var packInt8 = function (number) {
      return [number & 0xFF];
    };
    
    var packInt16 = function (number) {
      return [number & 0xFF, number >> 8 & 0xFF];
    };
    
    var packInt32 = function (number) {
      return [number & 0xFF, number >> 8 & 0xFF, number >> 16 & 0xFF, number >> 24 & 0xFF];
    };
    
    var unpackInt32 = function (buffer) {
      return buffer[3] << 24 | buffer[2] << 16 | buffer[1] << 8 | buffer[0];
    };
    
    var packFloat32 = function (number) {
      return packIEEE754(fround(number), 23, 4);
    };
    
    var packFloat64 = function (number) {
      return packIEEE754(number, 52, 8);
    };
    
    var addGetter = function (Constructor, key, getInternalState) {
      defineBuiltInAccessor(Constructor[PROTOTYPE], key, {
        configurable: true,
        get: function () {
          return getInternalState(this)[key];
        }
      });
    };
    
    var get = function (view, count, index, isLittleEndian) {
      var store = getInternalDataViewState(view);
      var intIndex = toIndex(index);
      var boolIsLittleEndian = !!isLittleEndian;
      if (intIndex + count > store.byteLength) throw new RangeError(WRONG_INDEX);
      var bytes = store.bytes;
      var start = intIndex + store.byteOffset;
      var pack = arraySlice(bytes, start, start + count);
      return boolIsLittleEndian ? pack : reverse(pack);
    };
    
    var set = function (view, count, index, conversion, value, isLittleEndian) {
      var store = getInternalDataViewState(view);
      var intIndex = toIndex(index);
      var pack = conversion(+value);
      var boolIsLittleEndian = !!isLittleEndian;
      if (intIndex + count > store.byteLength) throw new RangeError(WRONG_INDEX);
      var bytes = store.bytes;
      var start = intIndex + store.byteOffset;
      for (var i = 0; i < count; i++) bytes[start + i] = pack[boolIsLittleEndian ? i : count - i - 1];
    };
    
    if (!NATIVE_ARRAY_BUFFER) {
      $ArrayBuffer = function ArrayBuffer(length) {
        anInstance(this, ArrayBufferPrototype);
        var byteLength = toIndex(length);
        setInternalState(this, {
          type: ARRAY_BUFFER,
          bytes: fill(Array(byteLength), 0),
          byteLength: byteLength
        });
        if (!DESCRIPTORS) {
          this.byteLength = byteLength;
          this.detached = false;
        }
      };
    
      ArrayBufferPrototype = $ArrayBuffer[PROTOTYPE];
    
      $DataView = function DataView(buffer, byteOffset, byteLength) {
        anInstance(this, DataViewPrototype);
        anInstance(buffer, ArrayBufferPrototype);
        var bufferState = getInternalArrayBufferState(buffer);
        var bufferLength = bufferState.byteLength;
        var offset = toIntegerOrInfinity(byteOffset);
        if (offset < 0 || offset > bufferLength) throw new RangeError('Wrong offset');
        byteLength = byteLength === undefined ? bufferLength - offset : toLength(byteLength);
        if (offset + byteLength > bufferLength) throw new RangeError(WRONG_LENGTH);
        setInternalState(this, {
          type: DATA_VIEW,
          buffer: buffer,
          byteLength: byteLength,
          byteOffset: offset,
          bytes: bufferState.bytes
        });
        if (!DESCRIPTORS) {
          this.buffer = buffer;
          this.byteLength = byteLength;
          this.byteOffset = offset;
        }
      };
    
      DataViewPrototype = $DataView[PROTOTYPE];
    
      if (DESCRIPTORS) {
        addGetter($ArrayBuffer, 'byteLength', getInternalArrayBufferState);
        addGetter($DataView, 'buffer', getInternalDataViewState);
        addGetter($DataView, 'byteLength', getInternalDataViewState);
        addGetter($DataView, 'byteOffset', getInternalDataViewState);
      }
    
      defineBuiltIns(DataViewPrototype, {
        getInt8: function getInt8(byteOffset) {
          return get(this, 1, byteOffset)[0] << 24 >> 24;
        },
        getUint8: function getUint8(byteOffset) {
          return get(this, 1, byteOffset)[0];
        },
        getInt16: function getInt16(byteOffset /* , littleEndian */) {
          var bytes = get(this, 2, byteOffset, arguments.length > 1 ? arguments[1] : false);
          return (bytes[1] << 8 | bytes[0]) << 16 >> 16;
        },
        getUint16: function getUint16(byteOffset /* , littleEndian */) {
          var bytes = get(this, 2, byteOffset, arguments.length > 1 ? arguments[1] : false);
          return bytes[1] << 8 | bytes[0];
        },
        getInt32: function getInt32(byteOffset /* , littleEndian */) {
          return unpackInt32(get(this, 4, byteOffset, arguments.length > 1 ? arguments[1] : false));
        },
        getUint32: function getUint32(byteOffset /* , littleEndian */) {
          return unpackInt32(get(this, 4, byteOffset, arguments.length > 1 ? arguments[1] : false)) >>> 0;
        },
        getFloat32: function getFloat32(byteOffset /* , littleEndian */) {
          return unpackIEEE754(get(this, 4, byteOffset, arguments.length > 1 ? arguments[1] : false), 23);
        },
        getFloat64: function getFloat64(byteOffset /* , littleEndian */) {
          return unpackIEEE754(get(this, 8, byteOffset, arguments.length > 1 ? arguments[1] : false), 52);
        },
        setInt8: function setInt8(byteOffset, value) {
          set(this, 1, byteOffset, packInt8, value);
        },
        setUint8: function setUint8(byteOffset, value) {
          set(this, 1, byteOffset, packInt8, value);
        },
        setInt16: function setInt16(byteOffset, value /* , littleEndian */) {
          set(this, 2, byteOffset, packInt16, value, arguments.length > 2 ? arguments[2] : false);
        },
        setUint16: function setUint16(byteOffset, value /* , littleEndian */) {
          set(this, 2, byteOffset, packInt16, value, arguments.length > 2 ? arguments[2] : false);
        },
        setInt32: function setInt32(byteOffset, value /* , littleEndian */) {
          set(this, 4, byteOffset, packInt32, value, arguments.length > 2 ? arguments[2] : false);
        },
        setUint32: function setUint32(byteOffset, value /* , littleEndian */) {
          set(this, 4, byteOffset, packInt32, value, arguments.length > 2 ? arguments[2] : false);
        },
        setFloat32: function setFloat32(byteOffset, value /* , littleEndian */) {
          set(this, 4, byteOffset, packFloat32, value, arguments.length > 2 ? arguments[2] : false);
        },
        setFloat64: function setFloat64(byteOffset, value /* , littleEndian */) {
          set(this, 8, byteOffset, packFloat64, value, arguments.length > 2 ? arguments[2] : false);
        }
      });
    } else {
      var INCORRECT_ARRAY_BUFFER_NAME = PROPER_FUNCTION_NAME && NativeArrayBuffer.name !== ARRAY_BUFFER;
      /* eslint-disable no-new -- required for testing */
      if (!fails(function () {
        NativeArrayBuffer(1);
      }) || !fails(function () {
        new NativeArrayBuffer(-1);
      }) || fails(function () {
        new NativeArrayBuffer();
        new NativeArrayBuffer(1.5);
        new NativeArrayBuffer(NaN);
        return NativeArrayBuffer.length !== 1 || INCORRECT_ARRAY_BUFFER_NAME && !CONFIGURABLE_FUNCTION_NAME;
      })) {
        /* eslint-enable no-new -- required for testing */
        $ArrayBuffer = function ArrayBuffer(length) {
          anInstance(this, ArrayBufferPrototype);
          return new NativeArrayBuffer(toIndex(length));
        };
    
        $ArrayBuffer[PROTOTYPE] = ArrayBufferPrototype;
    
        for (var keys = getOwnPropertyNames(NativeArrayBuffer), j = 0, key; keys.length > j;) {
          if (!((key = keys[j++]) in $ArrayBuffer)) {
            createNonEnumerableProperty($ArrayBuffer, key, NativeArrayBuffer[key]);
          }
        }
    
        ArrayBufferPrototype.constructor = $ArrayBuffer;
      } else if (INCORRECT_ARRAY_BUFFER_NAME && CONFIGURABLE_FUNCTION_NAME) {
        createNonEnumerableProperty(NativeArrayBuffer, 'name', ARRAY_BUFFER);
      }
    
      // WebKit bug - the same parent prototype for typed arrays and data view
      if (setPrototypeOf && getPrototypeOf(DataViewPrototype) !== ObjectPrototype) {
        setPrototypeOf(DataViewPrototype, ObjectPrototype);
      }
    
      // iOS Safari 7.x bug
      var testView = new $DataView(new $ArrayBuffer(2));
      var $setInt8 = uncurryThis(DataViewPrototype.setInt8);
      testView.setInt8(0, 2147483648);
      testView.setInt8(1, 2147483649);
      if (testView.getInt8(0) || !testView.getInt8(1)) defineBuiltIns(DataViewPrototype, {
        setInt8: function setInt8(byteOffset, value) {
          $setInt8(this, byteOffset, value << 24 >> 24);
        },
        setUint8: function setUint8(byteOffset, value) {
          $setInt8(this, byteOffset, value << 24 >> 24);
        }
      }, { unsafe: true });
    }
    
    setToStringTag($ArrayBuffer, ARRAY_BUFFER);
    setToStringTag($DataView, DATA_VIEW);
    
    module.exports = {
      ArrayBuffer: $ArrayBuffer,
      DataView: $DataView
    };
    
    
    /***/ }),
    
    /***/ 92670:
    /*!*****************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/array-copy-within.js ***!
      \*****************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var toObject = __webpack_require__(/*! ../internals/to-object */ 94029);
    var toAbsoluteIndex = __webpack_require__(/*! ../internals/to-absolute-index */ 51981);
    var lengthOfArrayLike = __webpack_require__(/*! ../internals/length-of-array-like */ 82762);
    var deletePropertyOrThrow = __webpack_require__(/*! ../internals/delete-property-or-throw */ 84233);
    
    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;
    };
    
    
    /***/ }),
    
    /***/ 75202:
    /*!**********************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/array-fill.js ***!
      \**********************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var toObject = __webpack_require__(/*! ../internals/to-object */ 94029);
    var toAbsoluteIndex = __webpack_require__(/*! ../internals/to-absolute-index */ 51981);
    var lengthOfArrayLike = __webpack_require__(/*! ../internals/length-of-array-like */ 82762);
    
    // `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;
    };
    
    
    /***/ }),
    
    /***/ 59594:
    /*!**************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/array-for-each.js ***!
      \**************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $forEach = (__webpack_require__(/*! ../internals/array-iteration */ 90560).forEach);
    var arrayMethodIsStrict = __webpack_require__(/*! ../internals/array-method-is-strict */ 45601);
    
    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;
    
    
    /***/ }),
    
    /***/ 32278:
    /*!****************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/array-from-async.js ***!
      \****************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var bind = __webpack_require__(/*! ../internals/function-bind-context */ 80666);
    var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ 94237);
    var toObject = __webpack_require__(/*! ../internals/to-object */ 94029);
    var isConstructor = __webpack_require__(/*! ../internals/is-constructor */ 39812);
    var getAsyncIterator = __webpack_require__(/*! ../internals/get-async-iterator */ 69034);
    var getIterator = __webpack_require__(/*! ../internals/get-iterator */ 85428);
    var getIteratorDirect = __webpack_require__(/*! ../internals/get-iterator-direct */ 10731);
    var getIteratorMethod = __webpack_require__(/*! ../internals/get-iterator-method */ 26006);
    var getMethod = __webpack_require__(/*! ../internals/get-method */ 53776);
    var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ 65911);
    var getBuiltInPrototypeMethod = __webpack_require__(/*! ../internals/get-built-in-prototype-method */ 55174);
    var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ 59893);
    var AsyncFromSyncIterator = __webpack_require__(/*! ../internals/async-from-sync-iterator */ 57975);
    var toArray = (__webpack_require__(/*! ../internals/async-iterator-iteration */ 55266).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));
      });
    };
    
    
    /***/ }),
    
    /***/ 69478:
    /*!*******************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/array-from-constructor-and-list.js ***!
      \*******************************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var lengthOfArrayLike = __webpack_require__(/*! ../internals/length-of-array-like */ 82762);
    
    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;
    };
    
    
    /***/ }),
    
    /***/ 60255:
    /*!**********************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/array-from.js ***!
      \**********************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var bind = __webpack_require__(/*! ../internals/function-bind-context */ 80666);
    var call = __webpack_require__(/*! ../internals/function-call */ 89945);
    var toObject = __webpack_require__(/*! ../internals/to-object */ 94029);
    var callWithSafeIterationClosing = __webpack_require__(/*! ../internals/call-with-safe-iteration-closing */ 46319);
    var isArrayIteratorMethod = __webpack_require__(/*! ../internals/is-array-iterator-method */ 345);
    var isConstructor = __webpack_require__(/*! ../internals/is-constructor */ 39812);
    var lengthOfArrayLike = __webpack_require__(/*! ../internals/length-of-array-like */ 82762);
    var createProperty = __webpack_require__(/*! ../internals/create-property */ 69392);
    var getIterator = __webpack_require__(/*! ../internals/get-iterator */ 85428);
    var getIteratorMethod = __webpack_require__(/*! ../internals/get-iterator-method */ 26006);
    
    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))) {
        iterator = getIterator(O, iteratorMethod);
        next = iterator.next;
        result = IS_CONSTRUCTOR ? new this() : [];
        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;
    };
    
    
    /***/ }),
    
    /***/ 33940:
    /*!******************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/array-group-to-map.js ***!
      \******************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var bind = __webpack_require__(/*! ../internals/function-bind-context */ 80666);
    var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ 94237);
    var IndexedObject = __webpack_require__(/*! ../internals/indexed-object */ 1835);
    var toObject = __webpack_require__(/*! ../internals/to-object */ 94029);
    var lengthOfArrayLike = __webpack_require__(/*! ../internals/length-of-array-like */ 82762);
    var MapHelpers = __webpack_require__(/*! ../internals/map-helpers */ 2786);
    
    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;
    };
    
    
    /***/ }),
    
    /***/ 36444:
    /*!***********************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/array-group.js ***!
      \***********************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var bind = __webpack_require__(/*! ../internals/function-bind-context */ 80666);
    var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ 94237);
    var IndexedObject = __webpack_require__(/*! ../internals/indexed-object */ 1835);
    var toObject = __webpack_require__(/*! ../internals/to-object */ 94029);
    var toPropertyKey = __webpack_require__(/*! ../internals/to-property-key */ 17818);
    var lengthOfArrayLike = __webpack_require__(/*! ../internals/length-of-array-like */ 82762);
    var objectCreate = __webpack_require__(/*! ../internals/object-create */ 20132);
    var arrayFromConstructorAndList = __webpack_require__(/*! ../internals/array-from-constructor-and-list */ 69478);
    
    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;
    };
    
    
    /***/ }),
    
    /***/ 22999:
    /*!**************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/array-includes.js ***!
      \**************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var toIndexedObject = __webpack_require__(/*! ../internals/to-indexed-object */ 80524);
    var toAbsoluteIndex = __webpack_require__(/*! ../internals/to-absolute-index */ 51981);
    var lengthOfArrayLike = __webpack_require__(/*! ../internals/length-of-array-like */ 82762);
    
    // `Array.prototype.{ indexOf, includes }` methods implementation
    var createMethod = function (IS_INCLUDES) {
      return function ($this, el, fromIndex) {
        var O = toIndexedObject($this);
        var length = lengthOfArrayLike(O);
        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)
    };
    
    
    /***/ }),
    
    /***/ 53279:
    /*!*************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/array-iteration-from-last.js ***!
      \*************************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var bind = __webpack_require__(/*! ../internals/function-bind-context */ 80666);
    var IndexedObject = __webpack_require__(/*! ../internals/indexed-object */ 1835);
    var toObject = __webpack_require__(/*! ../internals/to-object */ 94029);
    var lengthOfArrayLike = __webpack_require__(/*! ../internals/length-of-array-like */ 82762);
    
    // `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)
    };
    
    
    /***/ }),
    
    /***/ 90560:
    /*!***************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/array-iteration.js ***!
      \***************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var bind = __webpack_require__(/*! ../internals/function-bind-context */ 80666);
    var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ 94237);
    var IndexedObject = __webpack_require__(/*! ../internals/indexed-object */ 1835);
    var toObject = __webpack_require__(/*! ../internals/to-object */ 94029);
    var lengthOfArrayLike = __webpack_require__(/*! ../internals/length-of-array-like */ 82762);
    var arraySpeciesCreate = __webpack_require__(/*! ../internals/array-species-create */ 81427);
    
    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)
    };
    
    
    /***/ }),
    
    /***/ 55009:
    /*!*******************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/array-last-index-of.js ***!
      \*******************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    /* eslint-disable es/no-array-prototype-lastindexof -- safe */
    var apply = __webpack_require__(/*! ../internals/function-apply */ 13743);
    var toIndexedObject = __webpack_require__(/*! ../internals/to-indexed-object */ 80524);
    var toIntegerOrInfinity = __webpack_require__(/*! ../internals/to-integer-or-infinity */ 56902);
    var lengthOfArrayLike = __webpack_require__(/*! ../internals/length-of-array-like */ 82762);
    var arrayMethodIsStrict = __webpack_require__(/*! ../internals/array-method-is-strict */ 45601);
    
    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);
      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;
    
    
    /***/ }),
    
    /***/ 17480:
    /*!********************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/array-method-has-species-support.js ***!
      \********************************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var fails = __webpack_require__(/*! ../internals/fails */ 3338);
    var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ 59893);
    var V8_VERSION = __webpack_require__(/*! ../internals/engine-v8-version */ 46573);
    
    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;
      });
    };
    
    
    /***/ }),
    
    /***/ 45601:
    /*!**********************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/array-method-is-strict.js ***!
      \**********************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var fails = __webpack_require__(/*! ../internals/fails */ 3338);
    
    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);
      });
    };
    
    
    /***/ }),
    
    /***/ 16370:
    /*!************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/array-reduce.js ***!
      \************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var aCallable = __webpack_require__(/*! ../internals/a-callable */ 63335);
    var toObject = __webpack_require__(/*! ../internals/to-object */ 94029);
    var IndexedObject = __webpack_require__(/*! ../internals/indexed-object */ 1835);
    var lengthOfArrayLike = __webpack_require__(/*! ../internals/length-of-array-like */ 82762);
    
    var $TypeError = TypeError;
    
    // `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);
        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 of empty array with no initial value');
          }
        }
        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)
    };
    
    
    /***/ }),
    
    /***/ 39428:
    /*!****************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/array-set-length.js ***!
      \****************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ 35454);
    var isArray = __webpack_require__(/*! ../internals/is-array */ 18589);
    
    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;
    };
    
    
    /***/ }),
    
    /***/ 71698:
    /*!******************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/array-slice-simple.js ***!
      \******************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var toAbsoluteIndex = __webpack_require__(/*! ../internals/to-absolute-index */ 51981);
    var lengthOfArrayLike = __webpack_require__(/*! ../internals/length-of-array-like */ 82762);
    var createProperty = __webpack_require__(/*! ../internals/create-property */ 69392);
    
    var $Array = Array;
    var max = Math.max;
    
    module.exports = function (O, start, end) {
      var length = lengthOfArrayLike(O);
      var k = toAbsoluteIndex(start, length);
      var fin = toAbsoluteIndex(end === undefined ? length : end, length);
      var result = $Array(max(fin - k, 0));
      var n = 0;
      for (; k < fin; k++, n++) createProperty(result, n, O[k]);
      result.length = n;
      return result;
    };
    
    
    /***/ }),
    
    /***/ 30867:
    /*!***********************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/array-slice.js ***!
      \***********************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ 94237);
    
    module.exports = uncurryThis([].slice);
    
    
    /***/ }),
    
    /***/ 63668:
    /*!**********************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/array-sort.js ***!
      \**********************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var arraySlice = __webpack_require__(/*! ../internals/array-slice-simple */ 71698);
    
    var floor = Math.floor;
    
    var mergeSort = function (array, comparefn) {
      var length = array.length;
      var middle = floor(length / 2);
      return length < 8 ? insertionSort(array, comparefn) : merge(
        array,
        mergeSort(arraySlice(array, 0, middle), comparefn),
        mergeSort(arraySlice(array, middle), comparefn),
        comparefn
      );
    };
    
    var insertionSort = function (array, comparefn) {
      var length = array.length;
      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;
      } return array;
    };
    
    var merge = function (array, left, right, 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 = mergeSort;
    
    
    /***/ }),
    
    /***/ 34487:
    /*!*************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/array-species-constructor.js ***!
      \*************************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var isArray = __webpack_require__(/*! ../internals/is-array */ 18589);
    var isConstructor = __webpack_require__(/*! ../internals/is-constructor */ 39812);
    var isObject = __webpack_require__(/*! ../internals/is-object */ 31946);
    var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ 59893);
    
    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;
    };
    
    
    /***/ }),
    
    /***/ 81427:
    /*!********************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/array-species-create.js ***!
      \********************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var arraySpeciesConstructor = __webpack_require__(/*! ../internals/array-species-constructor */ 34487);
    
    // `ArraySpeciesCreate` abstract operation
    // https://tc39.es/ecma262/#sec-arrayspeciescreate
    module.exports = function (originalArray, length) {
      return new (arraySpeciesConstructor(originalArray))(length === 0 ? 0 : length);
    };
    
    
    /***/ }),
    
    /***/ 85903:
    /*!*****************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/array-to-reversed.js ***!
      \*****************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var lengthOfArrayLike = __webpack_require__(/*! ../internals/length-of-array-like */ 82762);
    
    // 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;
    };
    
    
    /***/ }),
    
    /***/ 65621:
    /*!***************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/array-unique-by.js ***!
      \***************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ 94237);
    var aCallable = __webpack_require__(/*! ../internals/a-callable */ 63335);
    var isNullOrUndefined = __webpack_require__(/*! ../internals/is-null-or-undefined */ 4112);
    var lengthOfArrayLike = __webpack_require__(/*! ../internals/length-of-array-like */ 82762);
    var toObject = __webpack_require__(/*! ../internals/to-object */ 94029);
    var MapHelpers = __webpack_require__(/*! ../internals/map-helpers */ 2786);
    var iterate = __webpack_require__(/*! ../internals/map-iterate */ 95037);
    
    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;
    };
    
    
    /***/ }),
    
    /***/ 82041:
    /*!**********************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/array-with.js ***!
      \**********************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var lengthOfArrayLike = __webpack_require__(/*! ../internals/length-of-array-like */ 82762);
    var toIntegerOrInfinity = __webpack_require__(/*! ../internals/to-integer-or-infinity */ 56902);
    
    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;
    };
    
    
    /***/ }),
    
    /***/ 57975:
    /*!************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/async-from-sync-iterator.js ***!
      \************************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var call = __webpack_require__(/*! ../internals/function-call */ 89945);
    var anObject = __webpack_require__(/*! ../internals/an-object */ 80449);
    var create = __webpack_require__(/*! ../internals/object-create */ 20132);
    var getMethod = __webpack_require__(/*! ../internals/get-method */ 53776);
    var defineBuiltIns = __webpack_require__(/*! ../internals/define-built-ins */ 66477);
    var InternalStateModule = __webpack_require__(/*! ../internals/internal-state */ 94844);
    var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ 65911);
    var AsyncIteratorPrototype = __webpack_require__(/*! ../internals/async-iterator-prototype */ 14052);
    var createIterResultObject = __webpack_require__(/*! ../internals/create-iter-result-object */ 25587);
    
    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;
    
    
    /***/ }),
    
    /***/ 28255:
    /*!********************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/async-iterator-close.js ***!
      \********************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var call = __webpack_require__(/*! ../internals/function-call */ 89945);
    var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ 65911);
    var getMethod = __webpack_require__(/*! ../internals/get-method */ 53776);
    
    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);
    };
    
    
    /***/ }),
    
    /***/ 31342:
    /*!***************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/async-iterator-create-proxy.js ***!
      \***************************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var call = __webpack_require__(/*! ../internals/function-call */ 89945);
    var perform = __webpack_require__(/*! ../internals/perform */ 80734);
    var anObject = __webpack_require__(/*! ../internals/an-object */ 80449);
    var create = __webpack_require__(/*! ../internals/object-create */ 20132);
    var createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ 68151);
    var defineBuiltIns = __webpack_require__(/*! ../internals/define-built-ins */ 66477);
    var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ 59893);
    var InternalStateModule = __webpack_require__(/*! ../internals/internal-state */ 94844);
    var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ 65911);
    var getMethod = __webpack_require__(/*! ../internals/get-method */ 53776);
    var AsyncIteratorPrototype = __webpack_require__(/*! ../internals/async-iterator-prototype */ 14052);
    var createIterResultObject = __webpack_require__(/*! ../internals/create-iter-result-object */ 25587);
    var iteratorClose = __webpack_require__(/*! ../internals/iterator-close */ 67996);
    
    var Promise = getBuiltIn('Promise');
    
    var TO_STRING_TAG = wellKnownSymbol('toStringTag');
    var ASYNC_ITERATOR_HELPER = 'AsyncIteratorHelper';
    var WRAP_FOR_VALID_ASYNC_ITERATOR = 'WrapForValidAsyncIterator';
    var setInternalState = InternalStateModule.set;
    
    var createAsyncIteratorProxyPrototype = function (IS_ITERATOR) {
      var IS_GENERATOR = !IS_ITERATOR;
      var getInternalState = InternalStateModule.getterFor(IS_ITERATOR ? WRAP_FOR_VALID_ASYNC_ITERATOR : ASYNC_ITERATOR_HELPER);
    
      var getStateOrEarlyExit = function (that) {
        var stateCompletion = perform(function () {
          return getInternalState(that);
        });
    
        var stateError = stateCompletion.error;
        var state = stateCompletion.value;
    
        if (stateError || (IS_GENERATOR && state.done)) {
          return { exit: true, value: stateError ? Promise.reject(state) : Promise.resolve(createIterResultObject(undefined, true)) };
        } return { exit: false, value: state };
      };
    
      return defineBuiltIns(create(AsyncIteratorPrototype), {
        next: function next() {
          var stateCompletion = getStateOrEarlyExit(this);
          var state = stateCompletion.value;
          if (stateCompletion.exit) return state;
          var handlerCompletion = perform(function () {
            return anObject(state.nextHandler(Promise));
          });
          var handlerError = handlerCompletion.error;
          var value = handlerCompletion.value;
          if (handlerError) state.done = true;
          return handlerError ? Promise.reject(value) : Promise.resolve(value);
        },
        'return': function () {
          var stateCompletion = getStateOrEarlyExit(this);
          var state = stateCompletion.value;
          if (stateCompletion.exit) return state;
          state.done = true;
          var iterator = state.iterator;
          var returnMethod, result;
          var completion = perform(function () {
            if (state.inner) try {
              iteratorClose(state.inner.iterator, 'normal');
            } catch (error) {
              return iteratorClose(iterator, 'throw', error);
            }
            return getMethod(iterator, 'return');
          });
          returnMethod = result = completion.value;
          if (completion.error) return Promise.reject(result);
          if (returnMethod === undefined) return Promise.resolve(createIterResultObject(undefined, true));
          completion = perform(function () {
            return call(returnMethod, iterator);
          });
          result = completion.value;
          if (completion.error) return Promise.reject(result);
          return IS_ITERATOR ? Promise.resolve(result) : Promise.resolve(result).then(function (resolved) {
            anObject(resolved);
            return createIterResultObject(undefined, true);
          });
        }
      });
    };
    
    var WrapForValidAsyncIteratorPrototype = createAsyncIteratorProxyPrototype(true);
    var AsyncIteratorHelperPrototype = createAsyncIteratorProxyPrototype(false);
    
    createNonEnumerableProperty(AsyncIteratorHelperPrototype, TO_STRING_TAG, 'Async Iterator Helper');
    
    module.exports = function (nextHandler, IS_ITERATOR) {
      var AsyncIteratorProxy = function AsyncIterator(record, state) {
        if (state) {
          state.iterator = record.iterator;
          state.next = record.next;
        } else state = record;
        state.type = IS_ITERATOR ? WRAP_FOR_VALID_ASYNC_ITERATOR : ASYNC_ITERATOR_HELPER;
        state.nextHandler = nextHandler;
        state.counter = 0;
        state.done = false;
        setInternalState(this, state);
      };
    
      AsyncIteratorProxy.prototype = IS_ITERATOR ? WrapForValidAsyncIteratorPrototype : AsyncIteratorHelperPrototype;
    
      return AsyncIteratorProxy;
    };
    
    
    /***/ }),
    
    /***/ 34535:
    /*!**********************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/async-iterator-indexed.js ***!
      \**********************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var call = __webpack_require__(/*! ../internals/function-call */ 89945);
    var map = __webpack_require__(/*! ../internals/async-iterator-map */ 41586);
    
    var callback = function (value, counter) {
      return [counter, value];
    };
    
    // `AsyncIterator.prototype.indexed` method
    // https://github.com/tc39/proposal-iterator-helpers
    module.exports = function indexed() {
      return call(map, this, callback);
    };
    
    
    /***/ }),
    
    /***/ 55266:
    /*!************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/async-iterator-iteration.js ***!
      \************************************************************************************/
    /***/ (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__(/*! ../internals/function-call */ 89945);
    var aCallable = __webpack_require__(/*! ../internals/a-callable */ 63335);
    var anObject = __webpack_require__(/*! ../internals/an-object */ 80449);
    var isObject = __webpack_require__(/*! ../internals/is-object */ 31946);
    var doesNotExceedSafeInteger = __webpack_require__(/*! ../internals/does-not-exceed-safe-integer */ 66434);
    var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ 65911);
    var getIteratorDirect = __webpack_require__(/*! ../internals/get-iterator-direct */ 10731);
    var closeAsyncIteration = __webpack_require__(/*! ../internals/async-iterator-close */ 28255);
    
    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)
    };
    
    
    /***/ }),
    
    /***/ 41586:
    /*!******************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/async-iterator-map.js ***!
      \******************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var call = __webpack_require__(/*! ../internals/function-call */ 89945);
    var aCallable = __webpack_require__(/*! ../internals/a-callable */ 63335);
    var anObject = __webpack_require__(/*! ../internals/an-object */ 80449);
    var isObject = __webpack_require__(/*! ../internals/is-object */ 31946);
    var getIteratorDirect = __webpack_require__(/*! ../internals/get-iterator-direct */ 10731);
    var createAsyncIteratorProxy = __webpack_require__(/*! ../internals/async-iterator-create-proxy */ 31342);
    var createIterResultObject = __webpack_require__(/*! ../internals/create-iter-result-object */ 25587);
    var closeAsyncIteration = __webpack_require__(/*! ../internals/async-iterator-close */ 28255);
    
    var AsyncIteratorProxy = createAsyncIteratorProxy(function (Promise) {
      var state = this;
      var iterator = state.iterator;
      var mapper = state.mapper;
    
      return new Promise(function (resolve, reject) {
        var doneAndReject = function (error) {
          state.done = true;
          reject(error);
        };
    
        var ifAbruptCloseAsyncIterator = function (error) {
          closeAsyncIteration(iterator, doneAndReject, error, doneAndReject);
        };
    
        Promise.resolve(anObject(call(state.next, iterator))).then(function (step) {
          try {
            if (anObject(step).done) {
              state.done = true;
              resolve(createIterResultObject(undefined, true));
            } else {
              var value = step.value;
              try {
                var result = mapper(value, state.counter++);
    
                var handler = function (mapped) {
                  resolve(createIterResultObject(mapped, false));
                };
    
                if (isObject(result)) Promise.resolve(result).then(handler, ifAbruptCloseAsyncIterator);
                else handler(result);
              } catch (error2) { ifAbruptCloseAsyncIterator(error2); }
            }
          } catch (error) { doneAndReject(error); }
        }, doneAndReject);
      });
    });
    
    // `AsyncIterator.prototype.map` method
    // https://github.com/tc39/proposal-iterator-helpers
    module.exports = function map(mapper) {
      anObject(this);
      aCallable(mapper);
      return new AsyncIteratorProxy(getIteratorDirect(this), {
        mapper: mapper
      });
    };
    
    
    /***/ }),
    
    /***/ 14052:
    /*!************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/async-iterator-prototype.js ***!
      \************************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var global = __webpack_require__(/*! ../internals/global */ 92916);
    var shared = __webpack_require__(/*! ../internals/shared-store */ 77398);
    var isCallable = __webpack_require__(/*! ../internals/is-callable */ 55327);
    var create = __webpack_require__(/*! ../internals/object-create */ 20132);
    var getPrototypeOf = __webpack_require__(/*! ../internals/object-get-prototype-of */ 53456);
    var defineBuiltIn = __webpack_require__(/*! ../internals/define-built-in */ 2291);
    var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ 59893);
    var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ 16697);
    
    var USE_FUNCTION_CONSTRUCTOR = 'USE_FUNCTION_CONSTRUCTOR';
    var ASYNC_ITERATOR = wellKnownSymbol('asyncIterator');
    var AsyncIterator = global.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] || global[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;
    
    
    /***/ }),
    
    /***/ 80025:
    /*!*******************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/async-iterator-wrap.js ***!
      \*******************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var call = __webpack_require__(/*! ../internals/function-call */ 89945);
    var createAsyncIteratorProxy = __webpack_require__(/*! ../internals/async-iterator-create-proxy */ 31342);
    
    module.exports = createAsyncIteratorProxy(function () {
      return call(this.next, this.iterator);
    }, true);
    
    
    /***/ }),
    
    /***/ 66244:
    /*!**********************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/base64-map.js ***!
      \**********************************************************************/
    /***/ (function(module) {
    
    "use strict";
    
    var commonAlphabet = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789';
    var base64Alphabet = commonAlphabet + '+/';
    var base64UrlAlphabet = commonAlphabet + '-_';
    
    var inverse = function (characters) {
      // TODO: use `Object.create(null)` in `core-js@4`
      var result = {};
      var index = 0;
      for (; index < 64; index++) result[characters.charAt(index)] = index;
      return result;
    };
    
    module.exports = {
      i2c: base64Alphabet,
      c2i: inverse(base64Alphabet),
      i2cUrl: base64UrlAlphabet,
      c2iUrl: inverse(base64UrlAlphabet)
    };
    
    
    /***/ }),
    
    /***/ 46319:
    /*!********************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/call-with-safe-iteration-closing.js ***!
      \********************************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var anObject = __webpack_require__(/*! ../internals/an-object */ 80449);
    var iteratorClose = __webpack_require__(/*! ../internals/iterator-close */ 67996);
    
    // 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);
      }
    };
    
    
    /***/ }),
    
    /***/ 35221:
    /*!******************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/check-correctness-of-iteration.js ***!
      \******************************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ 59893);
    
    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;
    };
    
    
    /***/ }),
    
    /***/ 29076:
    /*!***********************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/classof-raw.js ***!
      \***********************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ 94237);
    
    var toString = uncurryThis({}.toString);
    var stringSlice = uncurryThis(''.slice);
    
    module.exports = function (it) {
      return stringSlice(toString(it), 8, -1);
    };
    
    
    /***/ }),
    
    /***/ 97607:
    /*!*******************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/classof.js ***!
      \*******************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var TO_STRING_TAG_SUPPORT = __webpack_require__(/*! ../internals/to-string-tag-support */ 68527);
    var isCallable = __webpack_require__(/*! ../internals/is-callable */ 55327);
    var classofRaw = __webpack_require__(/*! ../internals/classof-raw */ 29076);
    var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ 59893);
    
    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;
    };
    
    
    /***/ }),
    
    /***/ 72846:
    /*!***************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/collection-from.js ***!
      \***************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    // https://tc39.github.io/proposal-setmap-offrom/
    var bind = __webpack_require__(/*! ../internals/function-bind-context */ 80666);
    var call = __webpack_require__(/*! ../internals/function-call */ 89945);
    var aCallable = __webpack_require__(/*! ../internals/a-callable */ 63335);
    var aConstructor = __webpack_require__(/*! ../internals/a-constructor */ 6086);
    var isNullOrUndefined = __webpack_require__(/*! ../internals/is-null-or-undefined */ 4112);
    var iterate = __webpack_require__(/*! ../internals/iterate */ 62003);
    
    var push = [].push;
    
    module.exports = function from(source /* , mapFn, thisArg */) {
      var length = arguments.length;
      var mapFn = length > 1 ? arguments[1] : undefined;
      var mapping, array, n, boundFunction;
      aConstructor(this);
      mapping = mapFn !== undefined;
      if (mapping) aCallable(mapFn);
      if (isNullOrUndefined(source)) return new this();
      array = [];
      if (mapping) {
        n = 0;
        boundFunction = bind(mapFn, length > 2 ? arguments[2] : undefined);
        iterate(source, function (nextItem) {
          call(push, array, boundFunction(nextItem, n++));
        });
      } else {
        iterate(source, push, { that: array });
      }
      return new this(array);
    };
    
    
    /***/ }),
    
    /***/ 48800:
    /*!*************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/collection-of.js ***!
      \*************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var arraySlice = __webpack_require__(/*! ../internals/array-slice */ 30867);
    
    // https://tc39.github.io/proposal-setmap-offrom/
    module.exports = function of() {
      return new this(arraySlice(arguments));
    };
    
    
    /***/ }),
    
    /***/ 40942:
    /*!*****************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/collection-strong.js ***!
      \*****************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var create = __webpack_require__(/*! ../internals/object-create */ 20132);
    var defineBuiltInAccessor = __webpack_require__(/*! ../internals/define-built-in-accessor */ 64110);
    var defineBuiltIns = __webpack_require__(/*! ../internals/define-built-ins */ 66477);
    var bind = __webpack_require__(/*! ../internals/function-bind-context */ 80666);
    var anInstance = __webpack_require__(/*! ../internals/an-instance */ 56472);
    var isNullOrUndefined = __webpack_require__(/*! ../internals/is-null-or-undefined */ 4112);
    var iterate = __webpack_require__(/*! ../internals/iterate */ 62003);
    var defineIterator = __webpack_require__(/*! ../internals/iterator-define */ 24019);
    var createIterResultObject = __webpack_require__(/*! ../internals/create-iter-result-object */ 25587);
    var setSpecies = __webpack_require__(/*! ../internals/set-species */ 51996);
    var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ 35454);
    var fastKey = (__webpack_require__(/*! ../internals/internal-metadata */ 2074).fastKey);
    var InternalStateModule = __webpack_require__(/*! ../internals/internal-state */ 94844);
    
    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: undefined,
            last: undefined,
            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: undefined,
              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 data = state.index;
            var entry = state.first;
            while (entry) {
              entry.removed = true;
              if (entry.previous) entry.previous = entry.previous.next = undefined;
              delete data[entry.index];
              entry = entry.next;
            }
            state.first = state.last = undefined;
            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: undefined
          });
        }, 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 = undefined;
            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);
      }
    };
    
    
    /***/ }),
    
    /***/ 39656:
    /*!***************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/collection-weak.js ***!
      \***************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ 94237);
    var defineBuiltIns = __webpack_require__(/*! ../internals/define-built-ins */ 66477);
    var getWeakData = (__webpack_require__(/*! ../internals/internal-metadata */ 2074).getWeakData);
    var anInstance = __webpack_require__(/*! ../internals/an-instance */ 56472);
    var anObject = __webpack_require__(/*! ../internals/an-object */ 80449);
    var isNullOrUndefined = __webpack_require__(/*! ../internals/is-null-or-undefined */ 4112);
    var isObject = __webpack_require__(/*! ../internals/is-object */ 31946);
    var iterate = __webpack_require__(/*! ../internals/iterate */ 62003);
    var ArrayIterationModule = __webpack_require__(/*! ../internals/array-iteration */ 90560);
    var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ 32621);
    var InternalStateModule = __webpack_require__(/*! ../internals/internal-state */ 94844);
    
    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: undefined
          });
          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);
              return data ? data[state.id] : undefined;
            }
          },
          // `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;
      }
    };
    
    
    /***/ }),
    
    /***/ 48059:
    /*!**********************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/collection.js ***!
      \**********************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var global = __webpack_require__(/*! ../internals/global */ 92916);
    var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ 94237);
    var isForced = __webpack_require__(/*! ../internals/is-forced */ 20865);
    var defineBuiltIn = __webpack_require__(/*! ../internals/define-built-in */ 2291);
    var InternalMetadataModule = __webpack_require__(/*! ../internals/internal-metadata */ 2074);
    var iterate = __webpack_require__(/*! ../internals/iterate */ 62003);
    var anInstance = __webpack_require__(/*! ../internals/an-instance */ 56472);
    var isCallable = __webpack_require__(/*! ../internals/is-callable */ 55327);
    var isNullOrUndefined = __webpack_require__(/*! ../internals/is-null-or-undefined */ 4112);
    var isObject = __webpack_require__(/*! ../internals/is-object */ 31946);
    var fails = __webpack_require__(/*! ../internals/fails */ 3338);
    var checkCorrectnessOfIteration = __webpack_require__(/*! ../internals/check-correctness-of-iteration */ 35221);
    var setToStringTag = __webpack_require__(/*! ../internals/set-to-string-tag */ 94573);
    var inheritIfRequired = __webpack_require__(/*! ../internals/inherit-if-required */ 25576);
    
    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 = global[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;
    };
    
    
    /***/ }),
    
    /***/ 32754:
    /*!*************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/composite-key.js ***!
      \*************************************************************************/
    /***/ (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__(/*! ../modules/es.map */ 34941);
    __webpack_require__(/*! ../modules/es.weak-map */ 55410);
    var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ 65911);
    var create = __webpack_require__(/*! ../internals/object-create */ 20132);
    var isObject = __webpack_require__(/*! ../internals/is-object */ 31946);
    
    var $Object = Object;
    var $TypeError = TypeError;
    var Map = getBuiltIn('Map');
    var WeakMap = getBuiltIn('WeakMap');
    
    var Node = function () {
      // keys
      this.object = null;
      this.symbol = null;
      // child nodes
      this.primitives = null;
      this.objectsByIndex = create(null);
    };
    
    Node.prototype.get = function (key, initializer) {
      return this[key] || (this[key] = initializer());
    };
    
    Node.prototype.next = function (i, it, IS_OBJECT) {
      var store = IS_OBJECT
        ? this.objectsByIndex[i] || (this.objectsByIndex[i] = new WeakMap())
        : this.primitives || (this.primitives = new Map());
      var entry = store.get(it);
      if (!entry) store.set(it, entry = new Node());
      return entry;
    };
    
    var root = new Node();
    
    module.exports = function () {
      var active = root;
      var length = arguments.length;
      var i, it;
      // for prevent leaking, start from objects
      for (i = 0; i < length; i++) {
        if (isObject(it = arguments[i])) active = active.next(i, it, true);
      }
      if (this === $Object && active === root) throw new $TypeError('Composite keys must contain a non-primitive component');
      for (i = 0; i < length; i++) {
        if (!isObject(it = arguments[i])) active = active.next(i, it, false);
      } return active;
    };
    
    
    /***/ }),
    
    /***/ 24538:
    /*!***************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/copy-constructor-properties.js ***!
      \***************************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ 32621);
    var ownKeys = __webpack_require__(/*! ../internals/own-keys */ 48662);
    var getOwnPropertyDescriptorModule = __webpack_require__(/*! ../internals/object-get-own-property-descriptor */ 71256);
    var definePropertyModule = __webpack_require__(/*! ../internals/object-define-property */ 37691);
    
    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));
        }
      }
    };
    
    
    /***/ }),
    
    /***/ 86266:
    /*!***********************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/correct-is-regexp-logic.js ***!
      \***********************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ 59893);
    
    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;
    };
    
    
    /***/ }),
    
    /***/ 4870:
    /*!************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/correct-prototype-getter.js ***!
      \************************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var fails = __webpack_require__(/*! ../internals/fails */ 3338);
    
    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;
    });
    
    
    /***/ }),
    
    /***/ 95994:
    /*!***********************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/create-html.js ***!
      \***********************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ 94237);
    var requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ 95955);
    var toString = __webpack_require__(/*! ../internals/to-string */ 69905);
    
    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, '&quot;') + '"';
      return p1 + '>' + S + '</' + tag + '>';
    };
    
    
    /***/ }),
    
    /***/ 25587:
    /*!*************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/create-iter-result-object.js ***!
      \*************************************************************************************/
    /***/ (function(module) {
    
    "use strict";
    
    // `CreateIterResultObject` abstract operation
    // https://tc39.es/ecma262/#sec-createiterresultobject
    module.exports = function (value, done) {
      return { value: value, done: done };
    };
    
    
    /***/ }),
    
    /***/ 68151:
    /*!******************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/create-non-enumerable-property.js ***!
      \******************************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ 35454);
    var definePropertyModule = __webpack_require__(/*! ../internals/object-define-property */ 37691);
    var createPropertyDescriptor = __webpack_require__(/*! ../internals/create-property-descriptor */ 35012);
    
    module.exports = DESCRIPTORS ? function (object, key, value) {
      return definePropertyModule.f(object, key, createPropertyDescriptor(1, value));
    } : function (object, key, value) {
      object[key] = value;
      return object;
    };
    
    
    /***/ }),
    
    /***/ 35012:
    /*!**************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/create-property-descriptor.js ***!
      \**************************************************************************************/
    /***/ (function(module) {
    
    "use strict";
    
    module.exports = function (bitmap, value) {
      return {
        enumerable: !(bitmap & 1),
        configurable: !(bitmap & 2),
        writable: !(bitmap & 4),
        value: value
      };
    };
    
    
    /***/ }),
    
    /***/ 69392:
    /*!***************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/create-property.js ***!
      \***************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var toPropertyKey = __webpack_require__(/*! ../internals/to-property-key */ 17818);
    var definePropertyModule = __webpack_require__(/*! ../internals/object-define-property */ 37691);
    var createPropertyDescriptor = __webpack_require__(/*! ../internals/create-property-descriptor */ 35012);
    
    module.exports = function (object, key, value) {
      var propertyKey = toPropertyKey(key);
      if (propertyKey in object) definePropertyModule.f(object, propertyKey, createPropertyDescriptor(0, value));
      else object[propertyKey] = value;
    };
    
    
    /***/ }),
    
    /***/ 77119:
    /*!*****************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/date-to-primitive.js ***!
      \*****************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var anObject = __webpack_require__(/*! ../internals/an-object */ 80449);
    var ordinaryToPrimitive = __webpack_require__(/*! ../internals/ordinary-to-primitive */ 44759);
    
    var $TypeError = TypeError;
    
    // `Date.prototype[@@toPrimitive](hint)` method implementation
    // https://tc39.es/ecma262/#sec-date.prototype-@@toprimitive
    module.exports = function (hint) {
      anObject(this);
      if (hint === 'string' || hint === 'default') hint = 'string';
      else if (hint !== 'number') throw new $TypeError('Incorrect hint');
      return ordinaryToPrimitive(this, hint);
    };
    
    
    /***/ }),
    
    /***/ 64110:
    /*!************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/define-built-in-accessor.js ***!
      \************************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var makeBuiltIn = __webpack_require__(/*! ../internals/make-built-in */ 86528);
    var defineProperty = __webpack_require__(/*! ../internals/object-define-property */ 37691);
    
    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);
    };
    
    
    /***/ }),
    
    /***/ 2291:
    /*!***************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/define-built-in.js ***!
      \***************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var isCallable = __webpack_require__(/*! ../internals/is-callable */ 55327);
    var definePropertyModule = __webpack_require__(/*! ../internals/object-define-property */ 37691);
    var makeBuiltIn = __webpack_require__(/*! ../internals/make-built-in */ 86528);
    var defineGlobalProperty = __webpack_require__(/*! ../internals/define-global-property */ 29539);
    
    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;
    };
    
    
    /***/ }),
    
    /***/ 66477:
    /*!****************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/define-built-ins.js ***!
      \****************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var defineBuiltIn = __webpack_require__(/*! ../internals/define-built-in */ 2291);
    
    module.exports = function (target, src, options) {
      for (var key in src) defineBuiltIn(target, key, src[key], options);
      return target;
    };
    
    
    /***/ }),
    
    /***/ 29539:
    /*!**********************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/define-global-property.js ***!
      \**********************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var global = __webpack_require__(/*! ../internals/global */ 92916);
    
    // eslint-disable-next-line es/no-object-defineproperty -- safe
    var defineProperty = Object.defineProperty;
    
    module.exports = function (key, value) {
      try {
        defineProperty(global, key, { value: value, configurable: true, writable: true });
      } catch (error) {
        global[key] = value;
      } return value;
    };
    
    
    /***/ }),
    
    /***/ 84233:
    /*!************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/delete-property-or-throw.js ***!
      \************************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var tryToString = __webpack_require__(/*! ../internals/try-to-string */ 40593);
    
    var $TypeError = TypeError;
    
    module.exports = function (O, P) {
      if (!delete O[P]) throw new $TypeError('Cannot delete property ' + tryToString(P) + ' of ' + tryToString(O));
    };
    
    
    /***/ }),
    
    /***/ 35454:
    /*!***********************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/descriptors.js ***!
      \***********************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var fails = __webpack_require__(/*! ../internals/fails */ 3338);
    
    // 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;
    });
    
    
    /***/ }),
    
    /***/ 39311:
    /*!*******************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/detach-transferable.js ***!
      \*******************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var global = __webpack_require__(/*! ../internals/global */ 92916);
    var tryNodeRequire = __webpack_require__(/*! ../internals/try-node-require */ 11270);
    var PROPER_STRUCTURED_CLONE_TRANSFER = __webpack_require__(/*! ../internals/structured-clone-proper-transfer */ 80426);
    
    var structuredClone = global.structuredClone;
    var $ArrayBuffer = global.ArrayBuffer;
    var $MessageChannel = global.MessageChannel;
    var detach = false;
    var WorkerThreads, channel, buffer, $detach;
    
    if (PROPER_STRUCTURED_CLONE_TRANSFER) {
      detach = function (transferable) {
        structuredClone(transferable, { transfer: [transferable] });
      };
    } else if ($ArrayBuffer) try {
      if (!$MessageChannel) {
        WorkerThreads = tryNodeRequire('worker_threads');
        if (WorkerThreads) $MessageChannel = WorkerThreads.MessageChannel;
      }
    
      if ($MessageChannel) {
        channel = new $MessageChannel();
        buffer = new $ArrayBuffer(2);
    
        $detach = function (transferable) {
          channel.port1.postMessage(null, [transferable]);
        };
    
        if (buffer.byteLength === 2) {
          $detach(buffer);
          if (buffer.byteLength === 0) detach = $detach;
        }
      }
    } catch (error) { /* empty */ }
    
    module.exports = detach;
    
    
    /***/ }),
    
    /***/ 81766:
    /*!************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/document-all.js ***!
      \************************************************************************/
    /***/ (function(module) {
    
    "use strict";
    
    var documentAll = typeof document == 'object' && document.all;
    
    // https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot
    // eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing
    var IS_HTMLDDA = typeof documentAll == 'undefined' && documentAll !== undefined;
    
    module.exports = {
      all: documentAll,
      IS_HTMLDDA: IS_HTMLDDA
    };
    
    
    /***/ }),
    
    /***/ 86060:
    /*!***********************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/document-create-element.js ***!
      \***********************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var global = __webpack_require__(/*! ../internals/global */ 92916);
    var isObject = __webpack_require__(/*! ../internals/is-object */ 31946);
    
    var document = global.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) : {};
    };
    
    
    /***/ }),
    
    /***/ 66434:
    /*!****************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/does-not-exceed-safe-integer.js ***!
      \****************************************************************************************/
    /***/ (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;
    };
    
    
    /***/ }),
    
    /***/ 52109:
    /*!***********************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/dom-exception-constants.js ***!
      \***********************************************************************************/
    /***/ (function(module) {
    
    "use strict";
    
    module.exports = {
      IndexSizeError: { s: 'INDEX_SIZE_ERR', c: 1, m: 1 },
      DOMStringSizeError: { s: 'DOMSTRING_SIZE_ERR', c: 2, m: 0 },
      HierarchyRequestError: { s: 'HIERARCHY_REQUEST_ERR', c: 3, m: 1 },
      WrongDocumentError: { s: 'WRONG_DOCUMENT_ERR', c: 4, m: 1 },
      InvalidCharacterError: { s: 'INVALID_CHARACTER_ERR', c: 5, m: 1 },
      NoDataAllowedError: { s: 'NO_DATA_ALLOWED_ERR', c: 6, m: 0 },
      NoModificationAllowedError: { s: 'NO_MODIFICATION_ALLOWED_ERR', c: 7, m: 1 },
      NotFoundError: { s: 'NOT_FOUND_ERR', c: 8, m: 1 },
      NotSupportedError: { s: 'NOT_SUPPORTED_ERR', c: 9, m: 1 },
      InUseAttributeError: { s: 'INUSE_ATTRIBUTE_ERR', c: 10, m: 1 },
      InvalidStateError: { s: 'INVALID_STATE_ERR', c: 11, m: 1 },
      SyntaxError: { s: 'SYNTAX_ERR', c: 12, m: 1 },
      InvalidModificationError: { s: 'INVALID_MODIFICATION_ERR', c: 13, m: 1 },
      NamespaceError: { s: 'NAMESPACE_ERR', c: 14, m: 1 },
      InvalidAccessError: { s: 'INVALID_ACCESS_ERR', c: 15, m: 1 },
      ValidationError: { s: 'VALIDATION_ERR', c: 16, m: 0 },
      TypeMismatchError: { s: 'TYPE_MISMATCH_ERR', c: 17, m: 1 },
      SecurityError: { s: 'SECURITY_ERR', c: 18, m: 1 },
      NetworkError: { s: 'NETWORK_ERR', c: 19, m: 1 },
      AbortError: { s: 'ABORT_ERR', c: 20, m: 1 },
      URLMismatchError: { s: 'URL_MISMATCH_ERR', c: 21, m: 1 },
      QuotaExceededError: { s: 'QUOTA_EXCEEDED_ERR', c: 22, m: 1 },
      TimeoutError: { s: 'TIMEOUT_ERR', c: 23, m: 1 },
      InvalidNodeTypeError: { s: 'INVALID_NODE_TYPE_ERR', c: 24, m: 1 },
      DataCloneError: { s: 'DATA_CLONE_ERR', c: 25, m: 1 }
    };
    
    
    /***/ }),
    
    /***/ 66749:
    /*!*************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/dom-iterables.js ***!
      \*************************************************************************/
    /***/ (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
    };
    
    
    /***/ }),
    
    /***/ 9518:
    /*!************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/dom-token-list-prototype.js ***!
      \************************************************************************************/
    /***/ (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__(/*! ../internals/document-create-element */ 86060);
    
    var classList = documentCreateElement('span').classList;
    var DOMTokenListPrototype = classList && classList.constructor && classList.constructor.prototype;
    
    module.exports = DOMTokenListPrototype === Object.prototype ? undefined : DOMTokenListPrototype;
    
    
    /***/ }),
    
    /***/ 78177:
    /*!*****************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/engine-ff-version.js ***!
      \*****************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var userAgent = __webpack_require__(/*! ../internals/engine-user-agent */ 66011);
    
    var firefox = userAgent.match(/firefox\/(\d+)/i);
    
    module.exports = !!firefox && +firefox[1];
    
    
    /***/ }),
    
    /***/ 66994:
    /*!*****************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/engine-is-browser.js ***!
      \*****************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var IS_DENO = __webpack_require__(/*! ../internals/engine-is-deno */ 91821);
    var IS_NODE = __webpack_require__(/*! ../internals/engine-is-node */ 90946);
    
    module.exports = !IS_DENO && !IS_NODE
      && typeof window == 'object'
      && typeof document == 'object';
    
    
    /***/ }),
    
    /***/ 90843:
    /*!*************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/engine-is-bun.js ***!
      \*************************************************************************/
    /***/ (function(module) {
    
    "use strict";
    
    /* global Bun -- Bun case */
    module.exports = typeof Bun == 'function' && Bun && typeof Bun.version == 'string';
    
    
    /***/ }),
    
    /***/ 91821:
    /*!**************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/engine-is-deno.js ***!
      \**************************************************************************/
    /***/ (function(module) {
    
    "use strict";
    
    /* global Deno -- Deno case */
    module.exports = typeof Deno == 'object' && Deno && typeof Deno.version == 'object';
    
    
    /***/ }),
    
    /***/ 17687:
    /*!********************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/engine-is-ie-or-edge.js ***!
      \********************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var UA = __webpack_require__(/*! ../internals/engine-user-agent */ 66011);
    
    module.exports = /MSIE|Trident/.test(UA);
    
    
    /***/ }),
    
    /***/ 1908:
    /*!********************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/engine-is-ios-pebble.js ***!
      \********************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var userAgent = __webpack_require__(/*! ../internals/engine-user-agent */ 66011);
    
    module.exports = /ipad|iphone|ipod/i.test(userAgent) && typeof Pebble != 'undefined';
    
    
    /***/ }),
    
    /***/ 70695:
    /*!*************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/engine-is-ios.js ***!
      \*************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var userAgent = __webpack_require__(/*! ../internals/engine-user-agent */ 66011);
    
    // eslint-disable-next-line redos/no-vulnerable -- safe
    module.exports = /(?:ipad|iphone|ipod).*applewebkit/i.test(userAgent);
    
    
    /***/ }),
    
    /***/ 90946:
    /*!**************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/engine-is-node.js ***!
      \**************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var global = __webpack_require__(/*! ../internals/global */ 92916);
    var classof = __webpack_require__(/*! ../internals/classof-raw */ 29076);
    
    module.exports = classof(global.process) === 'process';
    
    
    /***/ }),
    
    /***/ 44914:
    /*!**********************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/engine-is-webos-webkit.js ***!
      \**********************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var userAgent = __webpack_require__(/*! ../internals/engine-user-agent */ 66011);
    
    module.exports = /web0s(?!.*chrome)/i.test(userAgent);
    
    
    /***/ }),
    
    /***/ 66011:
    /*!*****************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/engine-user-agent.js ***!
      \*****************************************************************************/
    /***/ (function(module) {
    
    "use strict";
    
    module.exports = typeof navigator != 'undefined' && String(navigator.userAgent) || '';
    
    
    /***/ }),
    
    /***/ 46573:
    /*!*****************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/engine-v8-version.js ***!
      \*****************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var global = __webpack_require__(/*! ../internals/global */ 92916);
    var userAgent = __webpack_require__(/*! ../internals/engine-user-agent */ 66011);
    
    var process = global.process;
    var Deno = global.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;
    
    
    /***/ }),
    
    /***/ 19684:
    /*!*********************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/engine-webkit-version.js ***!
      \*********************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var userAgent = __webpack_require__(/*! ../internals/engine-user-agent */ 66011);
    
    var webkit = userAgent.match(/AppleWebKit\/(\d+)\./);
    
    module.exports = !!webkit && +webkit[1];
    
    
    /***/ }),
    
    /***/ 46678:
    /*!*************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/enum-bug-keys.js ***!
      \*************************************************************************/
    /***/ (function(module) {
    
    "use strict";
    
    // IE8- don't enum bug keys
    module.exports = [
      'constructor',
      'hasOwnProperty',
      'isPrototypeOf',
      'propertyIsEnumerable',
      'toLocaleString',
      'toString',
      'valueOf'
    ];
    
    
    /***/ }),
    
    /***/ 80739:
    /*!*****************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/error-stack-clear.js ***!
      \*****************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ 94237);
    
    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 -- 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;
    };
    
    
    /***/ }),
    
    /***/ 61888:
    /*!*******************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/error-stack-install.js ***!
      \*******************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ 68151);
    var clearErrorStack = __webpack_require__(/*! ../internals/error-stack-clear */ 80739);
    var ERROR_STACK_INSTALLABLE = __webpack_require__(/*! ../internals/error-stack-installable */ 25406);
    
    // 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));
      }
    };
    
    
    /***/ }),
    
    /***/ 25406:
    /*!***********************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/error-stack-installable.js ***!
      \***********************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var fails = __webpack_require__(/*! ../internals/fails */ 3338);
    var createPropertyDescriptor = __webpack_require__(/*! ../internals/create-property-descriptor */ 35012);
    
    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;
    });
    
    
    /***/ }),
    
    /***/ 13367:
    /*!***************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/error-to-string.js ***!
      \***************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ 35454);
    var fails = __webpack_require__(/*! ../internals/fails */ 3338);
    var anObject = __webpack_require__(/*! ../internals/an-object */ 80449);
    var normalizeStringArgument = __webpack_require__(/*! ../internals/normalize-string-argument */ 7825);
    
    var nativeErrorToString = Error.prototype.toString;
    
    var INCORRECT_TO_STRING = fails(function () {
      if (DESCRIPTORS) {
        // Chrome 32- incorrectly call accessor
        // eslint-disable-next-line es/no-object-create, es/no-object-defineproperty -- safe
        var object = Object.create(Object.defineProperty({}, 'name', { get: function () {
          return this === object;
        } }));
        if (nativeErrorToString.call(object) !== 'true') return true;
      }
      // FF10- does not properly handle non-strings
      return nativeErrorToString.call({ message: 1, name: 2 }) !== '2: 1'
        // IE8 does not properly handle defaults
        || nativeErrorToString.call({}) !== 'Error';
    });
    
    module.exports = INCORRECT_TO_STRING ? function toString() {
      var O = anObject(this);
      var name = normalizeStringArgument(O.name, 'Error');
      var message = normalizeStringArgument(O.message);
      return !name ? message : !message ? name : name + ': ' + message;
    } : nativeErrorToString;
    
    
    /***/ }),
    
    /***/ 94488:
    /*!******************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/export.js ***!
      \******************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var global = __webpack_require__(/*! ../internals/global */ 92916);
    var getOwnPropertyDescriptor = (__webpack_require__(/*! ../internals/object-get-own-property-descriptor */ 71256).f);
    var createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ 68151);
    var defineBuiltIn = __webpack_require__(/*! ../internals/define-built-in */ 2291);
    var defineGlobalProperty = __webpack_require__(/*! ../internals/define-global-property */ 29539);
    var copyConstructorProperties = __webpack_require__(/*! ../internals/copy-constructor-properties */ 24538);
    var isForced = __webpack_require__(/*! ../internals/is-forced */ 20865);
    
    /*
      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 = global;
      } else if (STATIC) {
        target = global[TARGET] || defineGlobalProperty(TARGET, {});
      } else {
        target = (global[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);
      }
    };
    
    
    /***/ }),
    
    /***/ 3338:
    /*!*****************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/fails.js ***!
      \*****************************************************************/
    /***/ (function(module) {
    
    "use strict";
    
    module.exports = function (exec) {
      try {
        return !!exec();
      } catch (error) {
        return true;
      }
    };
    
    
    /***/ }),
    
    /***/ 8662:
    /*!**********************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/fix-regexp-well-known-symbol-logic.js ***!
      \**********************************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    // TODO: Remove from `core-js@4` since it's moved to entry points
    __webpack_require__(/*! ../modules/es.regexp.exec */ 44001);
    var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this-clause */ 34114);
    var defineBuiltIn = __webpack_require__(/*! ../internals/define-built-in */ 2291);
    var regexpExec = __webpack_require__(/*! ../internals/regexp-exec */ 88736);
    var fails = __webpack_require__(/*! ../internals/fails */ 3338);
    var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ 59893);
    var createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ 68151);
    
    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 RegEp 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 uncurriedNativeRegExpMethod = uncurryThis(/./[SYMBOL]);
        var methods = exec(SYMBOL, ''[KEY], function (nativeMethod, regexp, str, arg2, forceStringMethod) {
          var uncurriedNativeMethod = uncurryThis(nativeMethod);
          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: uncurriedNativeRegExpMethod(regexp, str, arg2) };
            }
            return { done: true, value: uncurriedNativeMethod(str, regexp, arg2) };
          }
          return { done: false };
        });
    
        defineBuiltIn(String.prototype, KEY, methods[0]);
        defineBuiltIn(RegExpPrototype, SYMBOL, methods[1]);
      }
    
      if (SHAM) createNonEnumerableProperty(RegExpPrototype[SYMBOL], 'sham', true);
    };
    
    
    /***/ }),
    
    /***/ 3372:
    /*!******************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/flatten-into-array.js ***!
      \******************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var isArray = __webpack_require__(/*! ../internals/is-array */ 18589);
    var lengthOfArrayLike = __webpack_require__(/*! ../internals/length-of-array-like */ 82762);
    var doesNotExceedSafeInteger = __webpack_require__(/*! ../internals/does-not-exceed-safe-integer */ 66434);
    var bind = __webpack_require__(/*! ../internals/function-bind-context */ 80666);
    
    // `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;
    
    
    /***/ }),
    
    /***/ 13247:
    /*!********************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/freezing.js ***!
      \********************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var fails = __webpack_require__(/*! ../internals/fails */ 3338);
    
    module.exports = !fails(function () {
      // eslint-disable-next-line es/no-object-isextensible, es/no-object-preventextensions -- required for testing
      return Object.isExtensible(Object.preventExtensions({}));
    });
    
    
    /***/ }),
    
    /***/ 13743:
    /*!**************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/function-apply.js ***!
      \**************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var NATIVE_BIND = __webpack_require__(/*! ../internals/function-bind-native */ 40486);
    
    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);
    });
    
    
    /***/ }),
    
    /***/ 80666:
    /*!*********************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/function-bind-context.js ***!
      \*********************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this-clause */ 34114);
    var aCallable = __webpack_require__(/*! ../internals/a-callable */ 63335);
    var NATIVE_BIND = __webpack_require__(/*! ../internals/function-bind-native */ 40486);
    
    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);
      };
    };
    
    
    /***/ }),
    
    /***/ 40486:
    /*!********************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/function-bind-native.js ***!
      \********************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var fails = __webpack_require__(/*! ../internals/fails */ 3338);
    
    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');
    });
    
    
    /***/ }),
    
    /***/ 4645:
    /*!*************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/function-bind.js ***!
      \*************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ 94237);
    var aCallable = __webpack_require__(/*! ../internals/a-callable */ 63335);
    var isObject = __webpack_require__(/*! ../internals/is-object */ 31946);
    var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ 32621);
    var arraySlice = __webpack_require__(/*! ../internals/array-slice */ 30867);
    var NATIVE_BIND = __webpack_require__(/*! ../internals/function-bind-native */ 40486);
    
    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;
    };
    
    
    /***/ }),
    
    /***/ 89945:
    /*!*************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/function-call.js ***!
      \*************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var NATIVE_BIND = __webpack_require__(/*! ../internals/function-bind-native */ 40486);
    
    var call = Function.prototype.call;
    
    module.exports = NATIVE_BIND ? call.bind(call) : function () {
      return call.apply(call, arguments);
    };
    
    
    /***/ }),
    
    /***/ 47739:
    /*!********************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/function-demethodize.js ***!
      \********************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ 94237);
    var aCallable = __webpack_require__(/*! ../internals/a-callable */ 63335);
    
    module.exports = function demethodize() {
      return uncurryThis(aCallable(this));
    };
    
    
    /***/ }),
    
    /***/ 8090:
    /*!*************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/function-name.js ***!
      \*************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ 35454);
    var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ 32621);
    
    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
    };
    
    
    /***/ }),
    
    /***/ 37758:
    /*!******************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/function-uncurry-this-accessor.js ***!
      \******************************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ 94237);
    var aCallable = __webpack_require__(/*! ../internals/a-callable */ 63335);
    
    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 */ }
    };
    
    
    /***/ }),
    
    /***/ 34114:
    /*!****************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/function-uncurry-this-clause.js ***!
      \****************************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var classofRaw = __webpack_require__(/*! ../internals/classof-raw */ 29076);
    var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ 94237);
    
    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);
    };
    
    
    /***/ }),
    
    /***/ 94237:
    /*!*********************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/function-uncurry-this.js ***!
      \*********************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var NATIVE_BIND = __webpack_require__(/*! ../internals/function-bind-native */ 40486);
    
    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);
      };
    };
    
    
    /***/ }),
    
    /***/ 81750:
    /*!*******************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/get-alphabet-option.js ***!
      \*******************************************************************************/
    /***/ (function(module) {
    
    "use strict";
    
    var $TypeError = TypeError;
    
    module.exports = function (options) {
      var alphabet = options && options.alphabet;
      if (alphabet === undefined || alphabet === 'base64' || alphabet === 'base64url') return alphabet || 'base64';
      throw new $TypeError('Incorrect `alphabet` option');
    };
    
    
    /***/ }),
    
    /***/ 38116:
    /*!******************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/get-async-iterator-flattenable.js ***!
      \******************************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var call = __webpack_require__(/*! ../internals/function-call */ 89945);
    var isCallable = __webpack_require__(/*! ../internals/is-callable */ 55327);
    var anObject = __webpack_require__(/*! ../internals/an-object */ 80449);
    var getIteratorDirect = __webpack_require__(/*! ../internals/get-iterator-direct */ 10731);
    var getIteratorMethod = __webpack_require__(/*! ../internals/get-iterator-method */ 26006);
    var getMethod = __webpack_require__(/*! ../internals/get-method */ 53776);
    var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ 59893);
    var AsyncFromSyncIterator = __webpack_require__(/*! ../internals/async-from-sync-iterator */ 57975);
    
    var ASYNC_ITERATOR = wellKnownSymbol('asyncIterator');
    
    module.exports = function (obj) {
      var object = anObject(obj);
      var alreadyAsync = true;
      var method = getMethod(object, ASYNC_ITERATOR);
      var iterator;
      if (!isCallable(method)) {
        method = getIteratorMethod(object);
        alreadyAsync = false;
      }
      if (method !== undefined) {
        iterator = call(method, object);
      } else {
        iterator = object;
        alreadyAsync = true;
      }
      anObject(iterator);
      return getIteratorDirect(alreadyAsync ? iterator : new AsyncFromSyncIterator(getIteratorDirect(iterator)));
    };
    
    
    /***/ }),
    
    /***/ 69034:
    /*!******************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/get-async-iterator.js ***!
      \******************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var call = __webpack_require__(/*! ../internals/function-call */ 89945);
    var AsyncFromSyncIterator = __webpack_require__(/*! ../internals/async-from-sync-iterator */ 57975);
    var anObject = __webpack_require__(/*! ../internals/an-object */ 80449);
    var getIterator = __webpack_require__(/*! ../internals/get-iterator */ 85428);
    var getIteratorDirect = __webpack_require__(/*! ../internals/get-iterator-direct */ 10731);
    var getMethod = __webpack_require__(/*! ../internals/get-method */ 53776);
    var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ 59893);
    
    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)));
    };
    
    
    /***/ }),
    
    /***/ 55174:
    /*!*****************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/get-built-in-prototype-method.js ***!
      \*****************************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var global = __webpack_require__(/*! ../internals/global */ 92916);
    
    module.exports = function (CONSTRUCTOR, METHOD) {
      var Constructor = global[CONSTRUCTOR];
      var Prototype = Constructor && Constructor.prototype;
      return Prototype && Prototype[METHOD];
    };
    
    
    /***/ }),
    
    /***/ 65911:
    /*!************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/get-built-in.js ***!
      \************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var global = __webpack_require__(/*! ../internals/global */ 92916);
    var isCallable = __webpack_require__(/*! ../internals/is-callable */ 55327);
    
    var aFunction = function (argument) {
      return isCallable(argument) ? argument : undefined;
    };
    
    module.exports = function (namespace, method) {
      return arguments.length < 2 ? aFunction(global[namespace]) : global[namespace] && global[namespace][method];
    };
    
    
    /***/ }),
    
    /***/ 10731:
    /*!*******************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/get-iterator-direct.js ***!
      \*******************************************************************************/
    /***/ (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
      };
    };
    
    
    /***/ }),
    
    /***/ 7157:
    /*!************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/get-iterator-flattenable.js ***!
      \************************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var call = __webpack_require__(/*! ../internals/function-call */ 89945);
    var anObject = __webpack_require__(/*! ../internals/an-object */ 80449);
    var getIteratorDirect = __webpack_require__(/*! ../internals/get-iterator-direct */ 10731);
    var getIteratorMethod = __webpack_require__(/*! ../internals/get-iterator-method */ 26006);
    
    module.exports = function (obj, stringHandling) {
      if (!stringHandling || typeof obj !== 'string') anObject(obj);
      var method = getIteratorMethod(obj);
      return getIteratorDirect(anObject(method !== undefined ? call(method, obj) : obj));
    };
    
    
    /***/ }),
    
    /***/ 26006:
    /*!*******************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/get-iterator-method.js ***!
      \*******************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var classof = __webpack_require__(/*! ../internals/classof */ 97607);
    var getMethod = __webpack_require__(/*! ../internals/get-method */ 53776);
    var isNullOrUndefined = __webpack_require__(/*! ../internals/is-null-or-undefined */ 4112);
    var Iterators = __webpack_require__(/*! ../internals/iterators */ 48074);
    var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ 59893);
    
    var ITERATOR = wellKnownSymbol('iterator');
    
    module.exports = function (it) {
      if (!isNullOrUndefined(it)) return getMethod(it, ITERATOR)
        || getMethod(it, '@@iterator')
        || Iterators[classof(it)];
    };
    
    
    /***/ }),
    
    /***/ 85428:
    /*!************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/get-iterator.js ***!
      \************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var call = __webpack_require__(/*! ../internals/function-call */ 89945);
    var aCallable = __webpack_require__(/*! ../internals/a-callable */ 63335);
    var anObject = __webpack_require__(/*! ../internals/an-object */ 80449);
    var tryToString = __webpack_require__(/*! ../internals/try-to-string */ 40593);
    var getIteratorMethod = __webpack_require__(/*! ../internals/get-iterator-method */ 26006);
    
    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');
    };
    
    
    /***/ }),
    
    /***/ 65451:
    /*!**************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/get-json-replacer-function.js ***!
      \**************************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ 94237);
    var isArray = __webpack_require__(/*! ../internals/is-array */ 18589);
    var isCallable = __webpack_require__(/*! ../internals/is-callable */ 55327);
    var classof = __webpack_require__(/*! ../internals/classof-raw */ 29076);
    var toString = __webpack_require__(/*! ../internals/to-string */ 69905);
    
    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;
      };
    };
    
    
    /***/ }),
    
    /***/ 53776:
    /*!**********************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/get-method.js ***!
      \**********************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var aCallable = __webpack_require__(/*! ../internals/a-callable */ 63335);
    var isNullOrUndefined = __webpack_require__(/*! ../internals/is-null-or-undefined */ 4112);
    
    // `GetMethod` abstract operation
    // https://tc39.es/ecma262/#sec-getmethod
    module.exports = function (V, P) {
      var func = V[P];
      return isNullOrUndefined(func) ? undefined : aCallable(func);
    };
    
    
    /***/ }),
    
    /***/ 88203:
    /*!**************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/get-set-record.js ***!
      \**************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var aCallable = __webpack_require__(/*! ../internals/a-callable */ 63335);
    var anObject = __webpack_require__(/*! ../internals/an-object */ 80449);
    var call = __webpack_require__(/*! ../internals/function-call */ 89945);
    var toIntegerOrInfinity = __webpack_require__(/*! ../internals/to-integer-or-infinity */ 56902);
    var getIteratorDirect = __webpack_require__(/*! ../internals/get-iterator-direct */ 10731);
    
    var INVALID_SIZE = 'Invalid size';
    var $RangeError = RangeError;
    var $TypeError = TypeError;
    var max = Math.max;
    
    var SetRecord = function (set, size, has, keys) {
      this.set = set;
      this.size = size;
      this.has = has;
      this.keys = 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,
        max(intSize, 0),
        aCallable(obj.has),
        aCallable(obj.keys)
      );
    };
    
    
    /***/ }),
    
    /***/ 23011:
    /*!****************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/get-substitution.js ***!
      \****************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ 94237);
    var toObject = __webpack_require__(/*! ../internals/to-object */ 94029);
    
    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;
      });
    };
    
    
    /***/ }),
    
    /***/ 92916:
    /*!******************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/global.js ***!
      \******************************************************************/
    /***/ (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')();
    
    
    /***/ }),
    
    /***/ 32621:
    /*!****************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/has-own-property.js ***!
      \****************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ 94237);
    var toObject = __webpack_require__(/*! ../internals/to-object */ 94029);
    
    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);
    };
    
    
    /***/ }),
    
    /***/ 54406:
    /*!***********************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/hidden-keys.js ***!
      \***********************************************************************/
    /***/ (function(module) {
    
    "use strict";
    
    module.exports = {};
    
    
    /***/ }),
    
    /***/ 61810:
    /*!******************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/host-report-errors.js ***!
      \******************************************************************************/
    /***/ (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 */ }
    };
    
    
    /***/ }),
    
    /***/ 75171:
    /*!****************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/html.js ***!
      \****************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ 65911);
    
    module.exports = getBuiltIn('document', 'documentElement');
    
    
    /***/ }),
    
    /***/ 46796:
    /*!**************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/ie8-dom-define.js ***!
      \**************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ 35454);
    var fails = __webpack_require__(/*! ../internals/fails */ 3338);
    var createElement = __webpack_require__(/*! ../internals/document-create-element */ 86060);
    
    // 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;
    });
    
    
    /***/ }),
    
    /***/ 61618:
    /*!*******************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/ieee754.js ***!
      \*******************************************************************/
    /***/ (function(module) {
    
    "use strict";
    
    // IEEE754 conversions based on https://github.com/feross/ieee754
    var $Array = Array;
    var abs = Math.abs;
    var pow = Math.pow;
    var floor = Math.floor;
    var log = Math.log;
    var LN2 = Math.LN2;
    
    var pack = function (number, mantissaLength, bytes) {
      var buffer = $Array(bytes);
      var exponentLength = bytes * 8 - mantissaLength - 1;
      var eMax = (1 << exponentLength) - 1;
      var eBias = eMax >> 1;
      var rt = mantissaLength === 23 ? pow(2, -24) - pow(2, -77) : 0;
      var sign = number < 0 || number === 0 && 1 / number < 0 ? 1 : 0;
      var index = 0;
      var exponent, mantissa, c;
      number = abs(number);
      // eslint-disable-next-line no-self-compare -- NaN check
      if (number !== number || number === Infinity) {
        // eslint-disable-next-line no-self-compare -- NaN check
        mantissa = number !== number ? 1 : 0;
        exponent = eMax;
      } else {
        exponent = floor(log(number) / LN2);
        c = pow(2, -exponent);
        if (number * c < 1) {
          exponent--;
          c *= 2;
        }
        if (exponent + eBias >= 1) {
          number += rt / c;
        } else {
          number += rt * pow(2, 1 - eBias);
        }
        if (number * c >= 2) {
          exponent++;
          c /= 2;
        }
        if (exponent + eBias >= eMax) {
          mantissa = 0;
          exponent = eMax;
        } else if (exponent + eBias >= 1) {
          mantissa = (number * c - 1) * pow(2, mantissaLength);
          exponent += eBias;
        } else {
          mantissa = number * pow(2, eBias - 1) * pow(2, mantissaLength);
          exponent = 0;
        }
      }
      while (mantissaLength >= 8) {
        buffer[index++] = mantissa & 255;
        mantissa /= 256;
        mantissaLength -= 8;
      }
      exponent = exponent << mantissaLength | mantissa;
      exponentLength += mantissaLength;
      while (exponentLength > 0) {
        buffer[index++] = exponent & 255;
        exponent /= 256;
        exponentLength -= 8;
      }
      buffer[--index] |= sign * 128;
      return buffer;
    };
    
    var unpack = function (buffer, mantissaLength) {
      var bytes = buffer.length;
      var exponentLength = bytes * 8 - mantissaLength - 1;
      var eMax = (1 << exponentLength) - 1;
      var eBias = eMax >> 1;
      var nBits = exponentLength - 7;
      var index = bytes - 1;
      var sign = buffer[index--];
      var exponent = sign & 127;
      var mantissa;
      sign >>= 7;
      while (nBits > 0) {
        exponent = exponent * 256 + buffer[index--];
        nBits -= 8;
      }
      mantissa = exponent & (1 << -nBits) - 1;
      exponent >>= -nBits;
      nBits += mantissaLength;
      while (nBits > 0) {
        mantissa = mantissa * 256 + buffer[index--];
        nBits -= 8;
      }
      if (exponent === 0) {
        exponent = 1 - eBias;
      } else if (exponent === eMax) {
        return mantissa ? NaN : sign ? -Infinity : Infinity;
      } else {
        mantissa += pow(2, mantissaLength);
        exponent -= eBias;
      } return (sign ? -1 : 1) * mantissa * pow(2, exponent - mantissaLength);
    };
    
    module.exports = {
      pack: pack,
      unpack: unpack
    };
    
    
    /***/ }),
    
    /***/ 1835:
    /*!**************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/indexed-object.js ***!
      \**************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ 94237);
    var fails = __webpack_require__(/*! ../internals/fails */ 3338);
    var classof = __webpack_require__(/*! ../internals/classof-raw */ 29076);
    
    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;
    
    
    /***/ }),
    
    /***/ 25576:
    /*!*******************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/inherit-if-required.js ***!
      \*******************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var isCallable = __webpack_require__(/*! ../internals/is-callable */ 55327);
    var isObject = __webpack_require__(/*! ../internals/is-object */ 31946);
    var setPrototypeOf = __webpack_require__(/*! ../internals/object-set-prototype-of */ 58218);
    
    // 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;
    };
    
    
    /***/ }),
    
    /***/ 15212:
    /*!**************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/inspect-source.js ***!
      \**************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ 94237);
    var isCallable = __webpack_require__(/*! ../internals/is-callable */ 55327);
    var store = __webpack_require__(/*! ../internals/shared-store */ 77398);
    
    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;
    
    
    /***/ }),
    
    /***/ 73068:
    /*!*******************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/install-error-cause.js ***!
      \*******************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var isObject = __webpack_require__(/*! ../internals/is-object */ 31946);
    var createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ 68151);
    
    // `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);
      }
    };
    
    
    /***/ }),
    
    /***/ 2074:
    /*!*****************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/internal-metadata.js ***!
      \*****************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ 94237);
    var hiddenKeys = __webpack_require__(/*! ../internals/hidden-keys */ 54406);
    var isObject = __webpack_require__(/*! ../internals/is-object */ 31946);
    var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ 32621);
    var defineProperty = (__webpack_require__(/*! ../internals/object-define-property */ 37691).f);
    var getOwnPropertyNamesModule = __webpack_require__(/*! ../internals/object-get-own-property-names */ 80689);
    var getOwnPropertyNamesExternalModule = __webpack_require__(/*! ../internals/object-get-own-property-names-external */ 53393);
    var isExtensible = __webpack_require__(/*! ../internals/object-is-extensible */ 12477);
    var uid = __webpack_require__(/*! ../internals/uid */ 6145);
    var FREEZING = __webpack_require__(/*! ../internals/freezing */ 13247);
    
    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;
    
    
    /***/ }),
    
    /***/ 94844:
    /*!**************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/internal-state.js ***!
      \**************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var NATIVE_WEAK_MAP = __webpack_require__(/*! ../internals/weak-map-basic-detection */ 40115);
    var global = __webpack_require__(/*! ../internals/global */ 92916);
    var isObject = __webpack_require__(/*! ../internals/is-object */ 31946);
    var createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ 68151);
    var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ 32621);
    var shared = __webpack_require__(/*! ../internals/shared-store */ 77398);
    var sharedKey = __webpack_require__(/*! ../internals/shared-key */ 11898);
    var hiddenKeys = __webpack_require__(/*! ../internals/hidden-keys */ 54406);
    
    var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
    var TypeError = global.TypeError;
    var WeakMap = global.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
    };
    
    
    /***/ }),
    
    /***/ 345:
    /*!************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/is-array-iterator-method.js ***!
      \************************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ 59893);
    var Iterators = __webpack_require__(/*! ../internals/iterators */ 48074);
    
    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);
    };
    
    
    /***/ }),
    
    /***/ 18589:
    /*!********************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/is-array.js ***!
      \********************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var classof = __webpack_require__(/*! ../internals/classof-raw */ 29076);
    
    // `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';
    };
    
    
    /***/ }),
    
    /***/ 75406:
    /*!****************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/is-big-int-array.js ***!
      \****************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var classof = __webpack_require__(/*! ../internals/classof */ 97607);
    
    module.exports = function (it) {
      var klass = classof(it);
      return klass === 'BigInt64Array' || klass === 'BigUint64Array';
    };
    
    
    /***/ }),
    
    /***/ 55327:
    /*!***********************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/is-callable.js ***!
      \***********************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $documentAll = __webpack_require__(/*! ../internals/document-all */ 81766);
    
    var documentAll = $documentAll.all;
    
    // `IsCallable` abstract operation
    // https://tc39.es/ecma262/#sec-iscallable
    module.exports = $documentAll.IS_HTMLDDA ? function (argument) {
      return typeof argument == 'function' || argument === documentAll;
    } : function (argument) {
      return typeof argument == 'function';
    };
    
    
    /***/ }),
    
    /***/ 39812:
    /*!**************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/is-constructor.js ***!
      \**************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ 94237);
    var fails = __webpack_require__(/*! ../internals/fails */ 3338);
    var isCallable = __webpack_require__(/*! ../internals/is-callable */ 55327);
    var classof = __webpack_require__(/*! ../internals/classof */ 97607);
    var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ 65911);
    var inspectSource = __webpack_require__(/*! ../internals/inspect-source */ 15212);
    
    var noop = function () { /* empty */ };
    var 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, empty, 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;
    
    
    /***/ }),
    
    /***/ 60516:
    /*!******************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/is-data-descriptor.js ***!
      \******************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ 32621);
    
    module.exports = function (descriptor) {
      return descriptor !== undefined && (hasOwn(descriptor, 'value') || hasOwn(descriptor, 'writable'));
    };
    
    
    /***/ }),
    
    /***/ 20865:
    /*!*********************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/is-forced.js ***!
      \*********************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var fails = __webpack_require__(/*! ../internals/fails */ 3338);
    var isCallable = __webpack_require__(/*! ../internals/is-callable */ 55327);
    
    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;
    
    
    /***/ }),
    
    /***/ 62896:
    /*!******************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/is-integral-number.js ***!
      \******************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var isObject = __webpack_require__(/*! ../internals/is-object */ 31946);
    
    var floor = Math.floor;
    
    // `IsIntegralNumber` abstract operation
    // https://tc39.es/ecma262/#sec-isintegralnumber
    // eslint-disable-next-line es/no-number-isinteger -- safe
    module.exports = Number.isInteger || function isInteger(it) {
      return !isObject(it) && isFinite(it) && floor(it) === it;
    };
    
    
    /***/ }),
    
    /***/ 30360:
    /*!***********************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/is-iterable.js ***!
      \***********************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var classof = __webpack_require__(/*! ../internals/classof */ 97607);
    var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ 32621);
    var isNullOrUndefined = __webpack_require__(/*! ../internals/is-null-or-undefined */ 4112);
    var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ 59893);
    var Iterators = __webpack_require__(/*! ../internals/iterators */ 48074);
    
    var ITERATOR = wellKnownSymbol('iterator');
    var $Object = Object;
    
    module.exports = function (it) {
      if (isNullOrUndefined(it)) return false;
      var O = $Object(it);
      return O[ITERATOR] !== undefined
        || '@@iterator' in O
        || hasOwn(Iterators, classof(O));
    };
    
    
    /***/ }),
    
    /***/ 4112:
    /*!********************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/is-null-or-undefined.js ***!
      \********************************************************************************/
    /***/ (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;
    };
    
    
    /***/ }),
    
    /***/ 31946:
    /*!*********************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/is-object.js ***!
      \*********************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var isCallable = __webpack_require__(/*! ../internals/is-callable */ 55327);
    var $documentAll = __webpack_require__(/*! ../internals/document-all */ 81766);
    
    var documentAll = $documentAll.all;
    
    module.exports = $documentAll.IS_HTMLDDA ? function (it) {
      return typeof it == 'object' ? it !== null : isCallable(it) || it === documentAll;
    } : function (it) {
      return typeof it == 'object' ? it !== null : isCallable(it);
    };
    
    
    /***/ }),
    
    /***/ 16697:
    /*!*******************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/is-pure.js ***!
      \*******************************************************************/
    /***/ (function(module) {
    
    "use strict";
    
    module.exports = false;
    
    
    /***/ }),
    
    /***/ 83502:
    /*!***********************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/is-raw-json.js ***!
      \***********************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var isObject = __webpack_require__(/*! ../internals/is-object */ 31946);
    var getInternalState = (__webpack_require__(/*! ../internals/internal-state */ 94844).get);
    
    module.exports = function isRawJSON(O) {
      if (!isObject(O)) return false;
      var state = getInternalState(O);
      return !!state && state.type === 'RawJSON';
    };
    
    
    /***/ }),
    
    /***/ 44639:
    /*!*********************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/is-regexp.js ***!
      \*********************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var isObject = __webpack_require__(/*! ../internals/is-object */ 31946);
    var classof = __webpack_require__(/*! ../internals/classof-raw */ 29076);
    var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ 59893);
    
    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');
    };
    
    
    /***/ }),
    
    /***/ 18446:
    /*!*********************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/is-symbol.js ***!
      \*********************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ 65911);
    var isCallable = __webpack_require__(/*! ../internals/is-callable */ 55327);
    var isPrototypeOf = __webpack_require__(/*! ../internals/object-is-prototype-of */ 16332);
    var USE_SYMBOL_AS_UID = __webpack_require__(/*! ../internals/use-symbol-as-uid */ 14417);
    
    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));
    };
    
    
    /***/ }),
    
    /***/ 43545:
    /*!**************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/iterate-simple.js ***!
      \**************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var call = __webpack_require__(/*! ../internals/function-call */ 89945);
    
    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;
      }
    };
    
    
    /***/ }),
    
    /***/ 62003:
    /*!*******************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/iterate.js ***!
      \*******************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var bind = __webpack_require__(/*! ../internals/function-bind-context */ 80666);
    var call = __webpack_require__(/*! ../internals/function-call */ 89945);
    var anObject = __webpack_require__(/*! ../internals/an-object */ 80449);
    var tryToString = __webpack_require__(/*! ../internals/try-to-string */ 40593);
    var isArrayIteratorMethod = __webpack_require__(/*! ../internals/is-array-iterator-method */ 345);
    var lengthOfArrayLike = __webpack_require__(/*! ../internals/length-of-array-like */ 82762);
    var isPrototypeOf = __webpack_require__(/*! ../internals/object-is-prototype-of */ 16332);
    var getIterator = __webpack_require__(/*! ../internals/get-iterator */ 85428);
    var getIteratorMethod = __webpack_require__(/*! ../internals/get-iterator-method */ 26006);
    var iteratorClose = __webpack_require__(/*! ../internals/iterator-close */ 67996);
    
    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);
    };
    
    
    /***/ }),
    
    /***/ 67996:
    /*!**************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/iterator-close.js ***!
      \**************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var call = __webpack_require__(/*! ../internals/function-call */ 89945);
    var anObject = __webpack_require__(/*! ../internals/an-object */ 80449);
    var getMethod = __webpack_require__(/*! ../internals/get-method */ 53776);
    
    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;
    };
    
    
    /***/ }),
    
    /***/ 83126:
    /*!***************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/iterator-create-constructor.js ***!
      \***************************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var IteratorPrototype = (__webpack_require__(/*! ../internals/iterators-core */ 46571).IteratorPrototype);
    var create = __webpack_require__(/*! ../internals/object-create */ 20132);
    var createPropertyDescriptor = __webpack_require__(/*! ../internals/create-property-descriptor */ 35012);
    var setToStringTag = __webpack_require__(/*! ../internals/set-to-string-tag */ 94573);
    var Iterators = __webpack_require__(/*! ../internals/iterators */ 48074);
    
    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;
    };
    
    
    /***/ }),
    
    /***/ 20547:
    /*!*********************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/iterator-create-proxy.js ***!
      \*********************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var call = __webpack_require__(/*! ../internals/function-call */ 89945);
    var create = __webpack_require__(/*! ../internals/object-create */ 20132);
    var createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ 68151);
    var defineBuiltIns = __webpack_require__(/*! ../internals/define-built-ins */ 66477);
    var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ 59893);
    var InternalStateModule = __webpack_require__(/*! ../internals/internal-state */ 94844);
    var getMethod = __webpack_require__(/*! ../internals/get-method */ 53776);
    var IteratorPrototype = (__webpack_require__(/*! ../internals/iterators-core */ 46571).IteratorPrototype);
    var createIterResultObject = __webpack_require__(/*! ../internals/create-iter-result-object */ 25587);
    var iteratorClose = __webpack_require__(/*! ../internals/iterator-close */ 67996);
    
    var TO_STRING_TAG = wellKnownSymbol('toStringTag');
    var ITERATOR_HELPER = 'IteratorHelper';
    var WRAP_FOR_VALID_ITERATOR = 'WrapForValidIterator';
    var setInternalState = InternalStateModule.set;
    
    var createIteratorProxyPrototype = function (IS_ITERATOR) {
      var getInternalState = InternalStateModule.getterFor(IS_ITERATOR ? WRAP_FOR_VALID_ITERATOR : ITERATOR_HELPER);
    
      return defineBuiltIns(create(IteratorPrototype), {
        next: function next() {
          var state = getInternalState(this);
          // for simplification:
          //   for `%WrapForValidIteratorPrototype%.next` our `nextHandler` returns `IterResultObject`
          //   for `%IteratorHelperPrototype%.next` - just a value
          if (IS_ITERATOR) return state.nextHandler();
          try {
            var result = state.done ? undefined : state.nextHandler();
            return createIterResultObject(result, state.done);
          } catch (error) {
            state.done = true;
            throw error;
          }
        },
        'return': function () {
          var state = getInternalState(this);
          var iterator = state.iterator;
          state.done = true;
          if (IS_ITERATOR) {
            var returnMethod = getMethod(iterator, 'return');
            return returnMethod ? call(returnMethod, iterator) : createIterResultObject(undefined, true);
          }
          if (state.inner) try {
            iteratorClose(state.inner.iterator, 'normal');
          } catch (error) {
            return iteratorClose(iterator, 'throw', error);
          }
          iteratorClose(iterator, 'normal');
          return createIterResultObject(undefined, true);
        }
      });
    };
    
    var WrapForValidIteratorPrototype = createIteratorProxyPrototype(true);
    var IteratorHelperPrototype = createIteratorProxyPrototype(false);
    
    createNonEnumerableProperty(IteratorHelperPrototype, TO_STRING_TAG, 'Iterator Helper');
    
    module.exports = function (nextHandler, IS_ITERATOR) {
      var IteratorProxy = function Iterator(record, state) {
        if (state) {
          state.iterator = record.iterator;
          state.next = record.next;
        } else state = record;
        state.type = IS_ITERATOR ? WRAP_FOR_VALID_ITERATOR : ITERATOR_HELPER;
        state.nextHandler = nextHandler;
        state.counter = 0;
        state.done = false;
        setInternalState(this, state);
      };
    
      IteratorProxy.prototype = IS_ITERATOR ? WrapForValidIteratorPrototype : IteratorHelperPrototype;
    
      return IteratorProxy;
    };
    
    
    /***/ }),
    
    /***/ 24019:
    /*!***************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/iterator-define.js ***!
      \***************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var call = __webpack_require__(/*! ../internals/function-call */ 89945);
    var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ 16697);
    var FunctionName = __webpack_require__(/*! ../internals/function-name */ 8090);
    var isCallable = __webpack_require__(/*! ../internals/is-callable */ 55327);
    var createIteratorConstructor = __webpack_require__(/*! ../internals/iterator-create-constructor */ 83126);
    var getPrototypeOf = __webpack_require__(/*! ../internals/object-get-prototype-of */ 53456);
    var setPrototypeOf = __webpack_require__(/*! ../internals/object-set-prototype-of */ 58218);
    var setToStringTag = __webpack_require__(/*! ../internals/set-to-string-tag */ 94573);
    var createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ 68151);
    var defineBuiltIn = __webpack_require__(/*! ../internals/define-built-in */ 2291);
    var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ 59893);
    var Iterators = __webpack_require__(/*! ../internals/iterators */ 48074);
    var IteratorsCore = __webpack_require__(/*! ../internals/iterators-core */ 46571);
    
    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;
    };
    
    
    /***/ }),
    
    /***/ 24771:
    /*!****************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/iterator-indexed.js ***!
      \****************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var call = __webpack_require__(/*! ../internals/function-call */ 89945);
    var map = __webpack_require__(/*! ../internals/iterator-map */ 2155);
    
    var callback = function (value, counter) {
      return [counter, value];
    };
    
    // `Iterator.prototype.indexed` method
    // https://github.com/tc39/proposal-iterator-helpers
    module.exports = function indexed() {
      return call(map, this, callback);
    };
    
    
    /***/ }),
    
    /***/ 2155:
    /*!************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/iterator-map.js ***!
      \************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var call = __webpack_require__(/*! ../internals/function-call */ 89945);
    var aCallable = __webpack_require__(/*! ../internals/a-callable */ 63335);
    var anObject = __webpack_require__(/*! ../internals/an-object */ 80449);
    var getIteratorDirect = __webpack_require__(/*! ../internals/get-iterator-direct */ 10731);
    var createIteratorProxy = __webpack_require__(/*! ../internals/iterator-create-proxy */ 20547);
    var callWithSafeIterationClosing = __webpack_require__(/*! ../internals/call-with-safe-iteration-closing */ 46319);
    
    var IteratorProxy = createIteratorProxy(function () {
      var iterator = this.iterator;
      var result = anObject(call(this.next, iterator));
      var done = this.done = !!result.done;
      if (!done) return callWithSafeIterationClosing(iterator, this.mapper, [result.value, this.counter++], true);
    });
    
    // `Iterator.prototype.map` method
    // https://github.com/tc39/proposal-iterator-helpers
    module.exports = function map(mapper) {
      anObject(this);
      aCallable(mapper);
      return new IteratorProxy(getIteratorDirect(this), {
        mapper: mapper
      });
    };
    
    
    /***/ }),
    
    /***/ 46571:
    /*!**************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/iterators-core.js ***!
      \**************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var fails = __webpack_require__(/*! ../internals/fails */ 3338);
    var isCallable = __webpack_require__(/*! ../internals/is-callable */ 55327);
    var isObject = __webpack_require__(/*! ../internals/is-object */ 31946);
    var create = __webpack_require__(/*! ../internals/object-create */ 20132);
    var getPrototypeOf = __webpack_require__(/*! ../internals/object-get-prototype-of */ 53456);
    var defineBuiltIn = __webpack_require__(/*! ../internals/define-built-in */ 2291);
    var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ 59893);
    var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ 16697);
    
    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
    };
    
    
    /***/ }),
    
    /***/ 48074:
    /*!*********************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/iterators.js ***!
      \*********************************************************************/
    /***/ (function(module) {
    
    "use strict";
    
    module.exports = {};
    
    
    /***/ }),
    
    /***/ 82762:
    /*!********************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/length-of-array-like.js ***!
      \********************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var toLength = __webpack_require__(/*! ../internals/to-length */ 61578);
    
    // `LengthOfArrayLike` abstract operation
    // https://tc39.es/ecma262/#sec-lengthofarraylike
    module.exports = function (obj) {
      return toLength(obj.length);
    };
    
    
    /***/ }),
    
    /***/ 86528:
    /*!*************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/make-built-in.js ***!
      \*************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ 94237);
    var fails = __webpack_require__(/*! ../internals/fails */ 3338);
    var isCallable = __webpack_require__(/*! ../internals/is-callable */ 55327);
    var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ 32621);
    var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ 35454);
    var CONFIGURABLE_FUNCTION_NAME = (__webpack_require__(/*! ../internals/function-name */ 8090).CONFIGURABLE);
    var inspectSource = __webpack_require__(/*! ../internals/inspect-source */ 15212);
    var InternalStateModule = __webpack_require__(/*! ../internals/internal-state */ 94844);
    
    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');
    
    
    /***/ }),
    
    /***/ 2786:
    /*!***********************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/map-helpers.js ***!
      \***********************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ 94237);
    
    // 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
    };
    
    
    /***/ }),
    
    /***/ 95037:
    /*!***********************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/map-iterate.js ***!
      \***********************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ 94237);
    var iterateSimple = __webpack_require__(/*! ../internals/iterate-simple */ 43545);
    var MapHelpers = __webpack_require__(/*! ../internals/map-helpers */ 2786);
    
    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);
    };
    
    
    /***/ }),
    
    /***/ 14615:
    /*!**********************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/map-upsert.js ***!
      \**********************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var call = __webpack_require__(/*! ../internals/function-call */ 89945);
    var aCallable = __webpack_require__(/*! ../internals/a-callable */ 63335);
    var isCallable = __webpack_require__(/*! ../internals/is-callable */ 55327);
    var anObject = __webpack_require__(/*! ../internals/an-object */ 80449);
    
    var $TypeError = TypeError;
    
    // `Map.prototype.upsert` method
    // https://github.com/tc39/proposal-upsert
    module.exports = function upsert(key, updateFn /* , insertFn */) {
      var map = anObject(this);
      var get = aCallable(map.get);
      var has = aCallable(map.has);
      var set = aCallable(map.set);
      var insertFn = arguments.length > 2 ? arguments[2] : undefined;
      var value;
      if (!isCallable(updateFn) && !isCallable(insertFn)) {
        throw new $TypeError('At least one callback required');
      }
      if (call(has, map, key)) {
        value = call(get, map, key);
        if (isCallable(updateFn)) {
          value = updateFn(value);
          call(set, map, key, value);
        }
      } else if (isCallable(insertFn)) {
        value = insertFn();
        call(set, map, key, value);
      } return value;
    };
    
    
    /***/ }),
    
    /***/ 10014:
    /*!**********************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/math-expm1.js ***!
      \**********************************************************************/
    /***/ (function(module) {
    
    "use strict";
    
    // eslint-disable-next-line es/no-math-expm1 -- safe
    var $expm1 = Math.expm1;
    var exp = Math.exp;
    
    // `Math.expm1` method implementation
    // https://tc39.es/ecma262/#sec-math.expm1
    module.exports = (!$expm1
      // Old FF bug
      // eslint-disable-next-line no-loss-of-precision -- required for old engines
      || $expm1(10) > 22025.465794806719 || $expm1(10) < 22025.4657948067165168
      // Tor Browser bug
      || $expm1(-2e-17) !== -2e-17
    ) ? function expm1(x) {
      var n = +x;
      return n === 0 ? n : n > -1e-6 && n < 1e-6 ? n + n * n / 2 : exp(n) - 1;
    } : $expm1;
    
    
    /***/ }),
    
    /***/ 35175:
    /*!*************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/math-f16round.js ***!
      \*************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var floatRound = __webpack_require__(/*! ../internals/math-float-round */ 77056);
    
    var FLOAT16_EPSILON = 0.0009765625;
    var FLOAT16_MAX_VALUE = 65504;
    var FLOAT16_MIN_VALUE = 6.103515625e-05;
    
    // `Math.f16round` method implementation
    // https://github.com/tc39/proposal-float16array
    module.exports = Math.f16round || function f16round(x) {
      return floatRound(x, FLOAT16_EPSILON, FLOAT16_MAX_VALUE, FLOAT16_MIN_VALUE);
    };
    
    
    /***/ }),
    
    /***/ 77056:
    /*!****************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/math-float-round.js ***!
      \****************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var sign = __webpack_require__(/*! ../internals/math-sign */ 37666);
    
    var abs = Math.abs;
    
    var EPSILON = 2.220446049250313e-16; // Number.EPSILON
    var INVERSE_EPSILON = 1 / EPSILON;
    
    var roundTiesToEven = function (n) {
      return n + INVERSE_EPSILON - INVERSE_EPSILON;
    };
    
    module.exports = function (x, FLOAT_EPSILON, FLOAT_MAX_VALUE, FLOAT_MIN_VALUE) {
      var n = +x;
      var absolute = abs(n);
      var s = sign(n);
      if (absolute < FLOAT_MIN_VALUE) return s * roundTiesToEven(absolute / FLOAT_MIN_VALUE / FLOAT_EPSILON) * FLOAT_MIN_VALUE * FLOAT_EPSILON;
      var a = (1 + FLOAT_EPSILON / EPSILON) * absolute;
      var result = a - (a - absolute);
      // eslint-disable-next-line no-self-compare -- NaN check
      if (result > FLOAT_MAX_VALUE || result !== result) return s * Infinity;
      return s * result;
    };
    
    
    /***/ }),
    
    /***/ 14894:
    /*!***********************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/math-fround.js ***!
      \***********************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var floatRound = __webpack_require__(/*! ../internals/math-float-round */ 77056);
    
    var FLOAT32_EPSILON = 1.1920928955078125e-7; // 2 ** -23;
    var FLOAT32_MAX_VALUE = 3.4028234663852886e+38; // 2 ** 128 - 2 ** 104
    var FLOAT32_MIN_VALUE = 1.1754943508222875e-38; // 2 ** -126;
    
    // `Math.fround` method implementation
    // https://tc39.es/ecma262/#sec-math.fround
    // eslint-disable-next-line es/no-math-fround -- safe
    module.exports = Math.fround || function fround(x) {
      return floatRound(x, FLOAT32_EPSILON, FLOAT32_MAX_VALUE, FLOAT32_MIN_VALUE);
    };
    
    
    /***/ }),
    
    /***/ 53309:
    /*!**********************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/math-log10.js ***!
      \**********************************************************************/
    /***/ (function(module) {
    
    "use strict";
    
    var log = Math.log;
    var LOG10E = Math.LOG10E;
    
    // eslint-disable-next-line es/no-math-log10 -- safe
    module.exports = Math.log10 || function log10(x) {
      return log(x) * LOG10E;
    };
    
    
    /***/ }),
    
    /***/ 25726:
    /*!**********************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/math-log1p.js ***!
      \**********************************************************************/
    /***/ (function(module) {
    
    "use strict";
    
    var log = Math.log;
    
    // `Math.log1p` method implementation
    // https://tc39.es/ecma262/#sec-math.log1p
    // eslint-disable-next-line es/no-math-log1p -- safe
    module.exports = Math.log1p || function log1p(x) {
      var n = +x;
      return n > -1e-8 && n < 1e-8 ? n - n * n / 2 : log(1 + n);
    };
    
    
    /***/ }),
    
    /***/ 24619:
    /*!**********************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/math-scale.js ***!
      \**********************************************************************/
    /***/ (function(module) {
    
    "use strict";
    
    // `Math.scale` method implementation
    // https://rwaldron.github.io/proposal-math-extensions/
    module.exports = Math.scale || function scale(x, inLow, inHigh, outLow, outHigh) {
      var nx = +x;
      var nInLow = +inLow;
      var nInHigh = +inHigh;
      var nOutLow = +outLow;
      var nOutHigh = +outHigh;
      // eslint-disable-next-line no-self-compare -- NaN check
      if (nx !== nx || nInLow !== nInLow || nInHigh !== nInHigh || nOutLow !== nOutLow || nOutHigh !== nOutHigh) return NaN;
      if (nx === Infinity || nx === -Infinity) return nx;
      return (nx - nInLow) * (nOutHigh - nOutLow) / (nInHigh - nInLow) + nOutLow;
    };
    
    
    /***/ }),
    
    /***/ 37666:
    /*!*********************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/math-sign.js ***!
      \*********************************************************************/
    /***/ (function(module) {
    
    "use strict";
    
    // `Math.sign` method implementation
    // https://tc39.es/ecma262/#sec-math.sign
    // eslint-disable-next-line es/no-math-sign -- safe
    module.exports = Math.sign || function sign(x) {
      var n = +x;
      // eslint-disable-next-line no-self-compare -- NaN check
      return n === 0 || n !== n ? n : n < 0 ? -1 : 1;
    };
    
    
    /***/ }),
    
    /***/ 3312:
    /*!**********************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/math-trunc.js ***!
      \**********************************************************************/
    /***/ (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);
    };
    
    
    /***/ }),
    
    /***/ 72933:
    /*!*********************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/microtask.js ***!
      \*********************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var global = __webpack_require__(/*! ../internals/global */ 92916);
    var bind = __webpack_require__(/*! ../internals/function-bind-context */ 80666);
    var getOwnPropertyDescriptor = (__webpack_require__(/*! ../internals/object-get-own-property-descriptor */ 71256).f);
    var macrotask = (__webpack_require__(/*! ../internals/task */ 28887).set);
    var Queue = __webpack_require__(/*! ../internals/queue */ 66790);
    var IS_IOS = __webpack_require__(/*! ../internals/engine-is-ios */ 70695);
    var IS_IOS_PEBBLE = __webpack_require__(/*! ../internals/engine-is-ios-pebble */ 1908);
    var IS_WEBOS_WEBKIT = __webpack_require__(/*! ../internals/engine-is-webos-webkit */ 44914);
    var IS_NODE = __webpack_require__(/*! ../internals/engine-is-node */ 90946);
    
    var MutationObserver = global.MutationObserver || global.WebKitMutationObserver;
    var document = global.document;
    var process = global.process;
    var Promise = global.Promise;
    // Node.js 11 shows ExperimentalWarning on getting `queueMicrotask`
    var queueMicrotaskDescriptor = getOwnPropertyDescriptor(global, 'queueMicrotask');
    var microtask = queueMicrotaskDescriptor && queueMicrotaskDescriptor.value;
    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, global);
        notify = function () {
          macrotask(flush);
        };
      }
    
      microtask = function (fn) {
        if (!queue.head) notify();
        queue.add(fn);
      };
    }
    
    module.exports = microtask;
    
    
    /***/ }),
    
    /***/ 82778:
    /*!***************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/native-raw-json.js ***!
      \***************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    /* eslint-disable es/no-json -- safe */
    var fails = __webpack_require__(/*! ../internals/fails */ 3338);
    
    module.exports = !fails(function () {
      var unsafeInt = '9007199254740993';
      var raw = JSON.rawJSON(unsafeInt);
      return !JSON.isRawJSON(raw) || JSON.stringify(raw) !== unsafeInt;
    });
    
    
    /***/ }),
    
    /***/ 73446:
    /*!**********************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/new-promise-capability.js ***!
      \**********************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var aCallable = __webpack_require__(/*! ../internals/a-callable */ 63335);
    
    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);
    };
    
    
    /***/ }),
    
    /***/ 7825:
    /*!*************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/normalize-string-argument.js ***!
      \*************************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var toString = __webpack_require__(/*! ../internals/to-string */ 69905);
    
    module.exports = function (argument, $default) {
      return argument === undefined ? arguments.length < 2 ? '' : $default : toString(argument);
    };
    
    
    /***/ }),
    
    /***/ 2279:
    /*!*********************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/not-a-nan.js ***!
      \*********************************************************************/
    /***/ (function(module) {
    
    "use strict";
    
    var $RangeError = RangeError;
    
    module.exports = function (it) {
      // eslint-disable-next-line no-self-compare -- NaN check
      if (it === it) return it;
      throw new $RangeError('NaN is not allowed');
    };
    
    
    /***/ }),
    
    /***/ 41696:
    /*!************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/not-a-regexp.js ***!
      \************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var isRegExp = __webpack_require__(/*! ../internals/is-regexp */ 44639);
    
    var $TypeError = TypeError;
    
    module.exports = function (it) {
      if (isRegExp(it)) {
        throw new $TypeError("The method doesn't accept regular expressions");
      } return it;
    };
    
    
    /***/ }),
    
    /***/ 1222:
    /*!****************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/number-is-finite.js ***!
      \****************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var global = __webpack_require__(/*! ../internals/global */ 92916);
    
    var globalIsFinite = global.isFinite;
    
    // `Number.isFinite` method
    // https://tc39.es/ecma262/#sec-number.isfinite
    // eslint-disable-next-line es/no-number-isfinite -- safe
    module.exports = Number.isFinite || function isFinite(it) {
      return typeof it == 'number' && globalIsFinite(it);
    };
    
    
    /***/ }),
    
    /***/ 31280:
    /*!******************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/number-parse-float.js ***!
      \******************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var global = __webpack_require__(/*! ../internals/global */ 92916);
    var fails = __webpack_require__(/*! ../internals/fails */ 3338);
    var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ 94237);
    var toString = __webpack_require__(/*! ../internals/to-string */ 69905);
    var trim = (__webpack_require__(/*! ../internals/string-trim */ 52971).trim);
    var whitespaces = __webpack_require__(/*! ../internals/whitespaces */ 19268);
    
    var charAt = uncurryThis(''.charAt);
    var $parseFloat = global.parseFloat;
    var Symbol = global.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;
    
    
    /***/ }),
    
    /***/ 52446:
    /*!****************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/number-parse-int.js ***!
      \****************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var global = __webpack_require__(/*! ../internals/global */ 92916);
    var fails = __webpack_require__(/*! ../internals/fails */ 3338);
    var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ 94237);
    var toString = __webpack_require__(/*! ../internals/to-string */ 69905);
    var trim = (__webpack_require__(/*! ../internals/string-trim */ 52971).trim);
    var whitespaces = __webpack_require__(/*! ../internals/whitespaces */ 19268);
    
    var $parseInt = global.parseInt;
    var Symbol = global.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;
    
    
    /***/ }),
    
    /***/ 17243:
    /*!**********************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/numeric-range-iterator.js ***!
      \**********************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var InternalStateModule = __webpack_require__(/*! ../internals/internal-state */ 94844);
    var createIteratorConstructor = __webpack_require__(/*! ../internals/iterator-create-constructor */ 83126);
    var createIterResultObject = __webpack_require__(/*! ../internals/create-iter-result-object */ 25587);
    var isNullOrUndefined = __webpack_require__(/*! ../internals/is-null-or-undefined */ 4112);
    var isObject = __webpack_require__(/*! ../internals/is-object */ 31946);
    var defineBuiltInAccessor = __webpack_require__(/*! ../internals/define-built-in-accessor */ 64110);
    var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ 35454);
    
    var INCORRECT_RANGE = 'Incorrect Iterator.range arguments';
    var NUMERIC_RANGE_ITERATOR = 'NumericRangeIterator';
    
    var setInternalState = InternalStateModule.set;
    var getInternalState = InternalStateModule.getterFor(NUMERIC_RANGE_ITERATOR);
    
    var $RangeError = RangeError;
    var $TypeError = TypeError;
    
    var $RangeIterator = createIteratorConstructor(function NumericRangeIterator(start, end, option, type, zero, one) {
      // TODO: Drop the first `typeof` check after removing legacy methods in `core-js@4`
      if (typeof start != type || (end !== Infinity && end !== -Infinity && typeof end != type)) {
        throw new $TypeError(INCORRECT_RANGE);
      }
      if (start === Infinity || start === -Infinity) {
        throw new $RangeError(INCORRECT_RANGE);
      }
      var ifIncrease = end > start;
      var inclusiveEnd = false;
      var step;
      if (option === undefined) {
        step = undefined;
      } else if (isObject(option)) {
        step = option.step;
        inclusiveEnd = !!option.inclusive;
      } else if (typeof option == type) {
        step = option;
      } else {
        throw new $TypeError(INCORRECT_RANGE);
      }
      if (isNullOrUndefined(step)) {
        step = ifIncrease ? one : -one;
      }
      if (typeof step != type) {
        throw new $TypeError(INCORRECT_RANGE);
      }
      if (step === Infinity || step === -Infinity || (step === zero && start !== end)) {
        throw new $RangeError(INCORRECT_RANGE);
      }
      // eslint-disable-next-line no-self-compare -- NaN check
      var hitsEnd = start !== start || end !== end || step !== step || (end > start) !== (step > zero);
      setInternalState(this, {
        type: NUMERIC_RANGE_ITERATOR,
        start: start,
        end: end,
        step: step,
        inclusive: inclusiveEnd,
        hitsEnd: hitsEnd,
        currentCount: zero,
        zero: zero
      });
      if (!DESCRIPTORS) {
        this.start = start;
        this.end = end;
        this.step = step;
        this.inclusive = inclusiveEnd;
      }
    }, NUMERIC_RANGE_ITERATOR, function next() {
      var state = getInternalState(this);
      if (state.hitsEnd) return createIterResultObject(undefined, true);
      var start = state.start;
      var end = state.end;
      var step = state.step;
      var currentYieldingValue = start + (step * state.currentCount++);
      if (currentYieldingValue === end) state.hitsEnd = true;
      var inclusiveEnd = state.inclusive;
      var endCondition;
      if (end > start) {
        endCondition = inclusiveEnd ? currentYieldingValue > end : currentYieldingValue >= end;
      } else {
        endCondition = inclusiveEnd ? end > currentYieldingValue : end >= currentYieldingValue;
      }
      if (endCondition) {
        state.hitsEnd = true;
        return createIterResultObject(undefined, true);
      } return createIterResultObject(currentYieldingValue, false);
    });
    
    var addGetter = function (key) {
      defineBuiltInAccessor($RangeIterator.prototype, key, {
        get: function () {
          return getInternalState(this)[key];
        },
        set: function () { /* empty */ },
        configurable: true,
        enumerable: false
      });
    };
    
    if (DESCRIPTORS) {
      addGetter('start');
      addGetter('end');
      addGetter('inclusive');
      addGetter('step');
    }
    
    module.exports = $RangeIterator;
    
    
    /***/ }),
    
    /***/ 80530:
    /*!*************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/object-assign.js ***!
      \*************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ 35454);
    var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ 94237);
    var call = __webpack_require__(/*! ../internals/function-call */ 89945);
    var fails = __webpack_require__(/*! ../internals/fails */ 3338);
    var objectKeys = __webpack_require__(/*! ../internals/object-keys */ 7733);
    var getOwnPropertySymbolsModule = __webpack_require__(/*! ../internals/object-get-own-property-symbols */ 92635);
    var propertyIsEnumerableModule = __webpack_require__(/*! ../internals/object-property-is-enumerable */ 27597);
    var toObject = __webpack_require__(/*! ../internals/to-object */ 94029);
    var IndexedObject = __webpack_require__(/*! ../internals/indexed-object */ 1835);
    
    // 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;
    
    
    /***/ }),
    
    /***/ 20132:
    /*!*************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/object-create.js ***!
      \*************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    /* global ActiveXObject -- old IE, WSH */
    var anObject = __webpack_require__(/*! ../internals/an-object */ 80449);
    var definePropertiesModule = __webpack_require__(/*! ../internals/object-define-properties */ 55666);
    var enumBugKeys = __webpack_require__(/*! ../internals/enum-bug-keys */ 46678);
    var hiddenKeys = __webpack_require__(/*! ../internals/hidden-keys */ 54406);
    var html = __webpack_require__(/*! ../internals/html */ 75171);
    var documentCreateElement = __webpack_require__(/*! ../internals/document-create-element */ 86060);
    var sharedKey = __webpack_require__(/*! ../internals/shared-key */ 11898);
    
    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;
      activeXDocument = null; // avoid memory leak
      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);
    };
    
    
    /***/ }),
    
    /***/ 55666:
    /*!************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/object-define-properties.js ***!
      \************************************************************************************/
    /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
    
    "use strict";
    
    var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ 35454);
    var V8_PROTOTYPE_DEFINE_BUG = __webpack_require__(/*! ../internals/v8-prototype-define-bug */ 93199);
    var definePropertyModule = __webpack_require__(/*! ../internals/object-define-property */ 37691);
    var anObject = __webpack_require__(/*! ../internals/an-object */ 80449);
    var toIndexedObject = __webpack_require__(/*! ../internals/to-indexed-object */ 80524);
    var objectKeys = __webpack_require__(/*! ../internals/object-keys */ 7733);
    
    // `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;
    };
    
    
    /***/ }),
    
    /***/ 37691:
    /*!**********************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/object-define-property.js ***!
      \**********************************************************************************/
    /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
    
    "use strict";
    
    var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ 35454);
    var IE8_DOM_DEFINE = __webpack_require__(/*! ../internals/ie8-dom-define */ 46796);
    var V8_PROTOTYPE_DEFINE_BUG = __webpack_require__(/*! ../internals/v8-prototype-define-bug */ 93199);
    var anObject = __webpack_require__(/*! ../internals/an-object */ 80449);
    var toPropertyKey = __webpack_require__(/*! ../internals/to-property-key */ 17818);
    
    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;
    };
    
    
    /***/ }),
    
    /***/ 71256:
    /*!**********************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/object-get-own-property-descriptor.js ***!
      \**********************************************************************************************/
    /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
    
    "use strict";
    
    var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ 35454);
    var call = __webpack_require__(/*! ../internals/function-call */ 89945);
    var propertyIsEnumerableModule = __webpack_require__(/*! ../internals/object-property-is-enumerable */ 27597);
    var createPropertyDescriptor = __webpack_require__(/*! ../internals/create-property-descriptor */ 35012);
    var toIndexedObject = __webpack_require__(/*! ../internals/to-indexed-object */ 80524);
    var toPropertyKey = __webpack_require__(/*! ../internals/to-property-key */ 17818);
    var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ 32621);
    var IE8_DOM_DEFINE = __webpack_require__(/*! ../internals/ie8-dom-define */ 46796);
    
    // 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]);
    };
    
    
    /***/ }),
    
    /***/ 53393:
    /*!**************************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/object-get-own-property-names-external.js ***!
      \**************************************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    /* eslint-disable es/no-object-getownpropertynames -- safe */
    var classof = __webpack_require__(/*! ../internals/classof-raw */ 29076);
    var toIndexedObject = __webpack_require__(/*! ../internals/to-indexed-object */ 80524);
    var $getOwnPropertyNames = (__webpack_require__(/*! ../internals/object-get-own-property-names */ 80689).f);
    var arraySlice = __webpack_require__(/*! ../internals/array-slice-simple */ 71698);
    
    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));
    };
    
    
    /***/ }),
    
    /***/ 80689:
    /*!*****************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/object-get-own-property-names.js ***!
      \*****************************************************************************************/
    /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
    
    "use strict";
    
    var internalObjectKeys = __webpack_require__(/*! ../internals/object-keys-internal */ 97486);
    var enumBugKeys = __webpack_require__(/*! ../internals/enum-bug-keys */ 46678);
    
    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);
    };
    
    
    /***/ }),
    
    /***/ 92635:
    /*!*******************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/object-get-own-property-symbols.js ***!
      \*******************************************************************************************/
    /***/ (function(__unused_webpack_module, exports) {
    
    "use strict";
    
    // eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
    exports.f = Object.getOwnPropertySymbols;
    
    
    /***/ }),
    
    /***/ 53456:
    /*!***********************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/object-get-prototype-of.js ***!
      \***********************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ 32621);
    var isCallable = __webpack_require__(/*! ../internals/is-callable */ 55327);
    var toObject = __webpack_require__(/*! ../internals/to-object */ 94029);
    var sharedKey = __webpack_require__(/*! ../internals/shared-key */ 11898);
    var CORRECT_PROTOTYPE_GETTER = __webpack_require__(/*! ../internals/correct-prototype-getter */ 4870);
    
    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;
    };
    
    
    /***/ }),
    
    /***/ 12477:
    /*!********************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/object-is-extensible.js ***!
      \********************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var fails = __webpack_require__(/*! ../internals/fails */ 3338);
    var isObject = __webpack_require__(/*! ../internals/is-object */ 31946);
    var classof = __webpack_require__(/*! ../internals/classof-raw */ 29076);
    var ARRAY_BUFFER_NON_EXTENSIBLE = __webpack_require__(/*! ../internals/array-buffer-non-extensible */ 51424);
    
    // 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;
    
    
    /***/ }),
    
    /***/ 16332:
    /*!**********************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/object-is-prototype-of.js ***!
      \**********************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ 94237);
    
    module.exports = uncurryThis({}.isPrototypeOf);
    
    
    /***/ }),
    
    /***/ 20574:
    /*!***************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/object-iterator.js ***!
      \***************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var InternalStateModule = __webpack_require__(/*! ../internals/internal-state */ 94844);
    var createIteratorConstructor = __webpack_require__(/*! ../internals/iterator-create-constructor */ 83126);
    var createIterResultObject = __webpack_require__(/*! ../internals/create-iter-result-object */ 25587);
    var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ 32621);
    var objectKeys = __webpack_require__(/*! ../internals/object-keys */ 7733);
    var toObject = __webpack_require__(/*! ../internals/to-object */ 94029);
    
    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);
      }
    });
    
    
    /***/ }),
    
    /***/ 97486:
    /*!********************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/object-keys-internal.js ***!
      \********************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ 94237);
    var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ 32621);
    var toIndexedObject = __webpack_require__(/*! ../internals/to-indexed-object */ 80524);
    var indexOf = (__webpack_require__(/*! ../internals/array-includes */ 22999).indexOf);
    var hiddenKeys = __webpack_require__(/*! ../internals/hidden-keys */ 54406);
    
    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;
    };
    
    
    /***/ }),
    
    /***/ 7733:
    /*!***********************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/object-keys.js ***!
      \***********************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var internalObjectKeys = __webpack_require__(/*! ../internals/object-keys-internal */ 97486);
    var enumBugKeys = __webpack_require__(/*! ../internals/enum-bug-keys */ 46678);
    
    // `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);
    };
    
    
    /***/ }),
    
    /***/ 27597:
    /*!*****************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/object-property-is-enumerable.js ***!
      \*****************************************************************************************/
    /***/ (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;
    
    
    /***/ }),
    
    /***/ 25837:
    /*!*********************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/object-prototype-accessors-forced.js ***!
      \*********************************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ 16697);
    var global = __webpack_require__(/*! ../internals/global */ 92916);
    var fails = __webpack_require__(/*! ../internals/fails */ 3338);
    var WEBKIT = __webpack_require__(/*! ../internals/engine-webkit-version */ 19684);
    
    // 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
      // eslint-disable-next-line no-undef, no-useless-call, es/no-legacy-object-prototype-accessor-methods -- required for testing
      __defineSetter__.call(null, key, function () { /* empty */ });
      delete global[key];
    });
    
    
    /***/ }),
    
    /***/ 58218:
    /*!***********************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/object-set-prototype-of.js ***!
      \***********************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    /* eslint-disable no-proto -- safe */
    var uncurryThisAccessor = __webpack_require__(/*! ../internals/function-uncurry-this-accessor */ 37758);
    var anObject = __webpack_require__(/*! ../internals/an-object */ 80449);
    var aPossiblePrototype = __webpack_require__(/*! ../internals/a-possible-prototype */ 557);
    
    // `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) {
        anObject(O);
        aPossiblePrototype(proto);
        if (CORRECT_SETTER) setter(O, proto);
        else O.__proto__ = proto;
        return O;
      };
    }() : undefined);
    
    
    /***/ }),
    
    /***/ 88698:
    /*!***************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/object-to-array.js ***!
      \***************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ 35454);
    var fails = __webpack_require__(/*! ../internals/fails */ 3338);
    var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ 94237);
    var objectGetPrototypeOf = __webpack_require__(/*! ../internals/object-get-prototype-of */ 53456);
    var objectKeys = __webpack_require__(/*! ../internals/object-keys */ 7733);
    var toIndexedObject = __webpack_require__(/*! ../internals/to-indexed-object */ 80524);
    var $propertyIsEnumerable = (__webpack_require__(/*! ../internals/object-property-is-enumerable */ 27597).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)
    };
    
    
    /***/ }),
    
    /***/ 28488:
    /*!****************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/object-to-string.js ***!
      \****************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var TO_STRING_TAG_SUPPORT = __webpack_require__(/*! ../internals/to-string-tag-support */ 68527);
    var classof = __webpack_require__(/*! ../internals/classof */ 97607);
    
    // `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) + ']';
    };
    
    
    /***/ }),
    
    /***/ 44759:
    /*!*********************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/ordinary-to-primitive.js ***!
      \*********************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var call = __webpack_require__(/*! ../internals/function-call */ 89945);
    var isCallable = __webpack_require__(/*! ../internals/is-callable */ 55327);
    var isObject = __webpack_require__(/*! ../internals/is-object */ 31946);
    
    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");
    };
    
    
    /***/ }),
    
    /***/ 48662:
    /*!********************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/own-keys.js ***!
      \********************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ 65911);
    var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ 94237);
    var getOwnPropertyNamesModule = __webpack_require__(/*! ../internals/object-get-own-property-names */ 80689);
    var getOwnPropertySymbolsModule = __webpack_require__(/*! ../internals/object-get-own-property-symbols */ 92635);
    var anObject = __webpack_require__(/*! ../internals/an-object */ 80449);
    
    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;
    };
    
    
    /***/ }),
    
    /***/ 70913:
    /*!*****************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/parse-json-string.js ***!
      \*****************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ 94237);
    var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ 32621);
    
    var $SyntaxError = SyntaxError;
    var $parseInt = parseInt;
    var fromCharCode = String.fromCharCode;
    var at = uncurryThis(''.charAt);
    var slice = uncurryThis(''.slice);
    var exec = uncurryThis(/./.exec);
    
    var codePoints = {
      '\\"': '"',
      '\\\\': '\\',
      '\\/': '/',
      '\\b': '\b',
      '\\f': '\f',
      '\\n': '\n',
      '\\r': '\r',
      '\\t': '\t'
    };
    
    var IS_4_HEX_DIGITS = /^[\da-f]{4}$/i;
    // eslint-disable-next-line regexp/no-control-character -- safe
    var IS_C0_CONTROL_CODE = /^[\u0000-\u001F]$/;
    
    module.exports = function (source, i) {
      var unterminated = true;
      var value = '';
      while (i < source.length) {
        var chr = at(source, i);
        if (chr === '\\') {
          var twoChars = slice(source, i, i + 2);
          if (hasOwn(codePoints, twoChars)) {
            value += codePoints[twoChars];
            i += 2;
          } else if (twoChars === '\\u') {
            i += 2;
            var fourHexDigits = slice(source, i, i + 4);
            if (!exec(IS_4_HEX_DIGITS, fourHexDigits)) throw new $SyntaxError('Bad Unicode escape at: ' + i);
            value += fromCharCode($parseInt(fourHexDigits, 16));
            i += 4;
          } else throw new $SyntaxError('Unknown escape sequence: "' + twoChars + '"');
        } else if (chr === '"') {
          unterminated = false;
          i++;
          break;
        } else {
          if (exec(IS_C0_CONTROL_CODE, chr)) throw new $SyntaxError('Bad control character in string literal at: ' + i);
          value += chr;
          i++;
        }
      }
      if (unterminated) throw new $SyntaxError('Unterminated string at: ' + i);
      return { value: value, end: i };
    };
    
    
    /***/ }),
    
    /***/ 9699:
    /*!****************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/path.js ***!
      \****************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var global = __webpack_require__(/*! ../internals/global */ 92916);
    
    module.exports = global;
    
    
    /***/ }),
    
    /***/ 80734:
    /*!*******************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/perform.js ***!
      \*******************************************************************/
    /***/ (function(module) {
    
    "use strict";
    
    module.exports = function (exec) {
      try {
        return { error: false, value: exec() };
      } catch (error) {
        return { error: true, value: error };
      }
    };
    
    
    /***/ }),
    
    /***/ 82830:
    /*!*****************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/promise-constructor-detection.js ***!
      \*****************************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var global = __webpack_require__(/*! ../internals/global */ 92916);
    var NativePromiseConstructor = __webpack_require__(/*! ../internals/promise-native-constructor */ 2451);
    var isCallable = __webpack_require__(/*! ../internals/is-callable */ 55327);
    var isForced = __webpack_require__(/*! ../internals/is-forced */ 20865);
    var inspectSource = __webpack_require__(/*! ../internals/inspect-source */ 15212);
    var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ 59893);
    var IS_BROWSER = __webpack_require__(/*! ../internals/engine-is-browser */ 66994);
    var IS_DENO = __webpack_require__(/*! ../internals/engine-is-deno */ 91821);
    var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ 16697);
    var V8_VERSION = __webpack_require__(/*! ../internals/engine-v8-version */ 46573);
    
    var NativePromisePrototype = NativePromiseConstructor && NativePromiseConstructor.prototype;
    var SPECIES = wellKnownSymbol('species');
    var SUBCLASSING = false;
    var NATIVE_PROMISE_REJECTION_EVENT = isCallable(global.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 && (IS_BROWSER || IS_DENO) && !NATIVE_PROMISE_REJECTION_EVENT;
    });
    
    module.exports = {
      CONSTRUCTOR: FORCED_PROMISE_CONSTRUCTOR,
      REJECTION_EVENT: NATIVE_PROMISE_REJECTION_EVENT,
      SUBCLASSING: SUBCLASSING
    };
    
    
    /***/ }),
    
    /***/ 2451:
    /*!**************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/promise-native-constructor.js ***!
      \**************************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var global = __webpack_require__(/*! ../internals/global */ 92916);
    
    module.exports = global.Promise;
    
    
    /***/ }),
    
    /***/ 15597:
    /*!***************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/promise-resolve.js ***!
      \***************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var anObject = __webpack_require__(/*! ../internals/an-object */ 80449);
    var isObject = __webpack_require__(/*! ../internals/is-object */ 31946);
    var newPromiseCapability = __webpack_require__(/*! ../internals/new-promise-capability */ 73446);
    
    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;
    };
    
    
    /***/ }),
    
    /***/ 22093:
    /*!***********************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/promise-statics-incorrect-iteration.js ***!
      \***********************************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var NativePromiseConstructor = __webpack_require__(/*! ../internals/promise-native-constructor */ 2451);
    var checkCorrectnessOfIteration = __webpack_require__(/*! ../internals/check-correctness-of-iteration */ 35221);
    var FORCED_PROMISE_CONSTRUCTOR = (__webpack_require__(/*! ../internals/promise-constructor-detection */ 82830).CONSTRUCTOR);
    
    module.exports = FORCED_PROMISE_CONSTRUCTOR || !checkCorrectnessOfIteration(function (iterable) {
      NativePromiseConstructor.all(iterable).then(undefined, function () { /* empty */ });
    });
    
    
    /***/ }),
    
    /***/ 44166:
    /*!**************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/proxy-accessor.js ***!
      \**************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var defineProperty = (__webpack_require__(/*! ../internals/object-define-property */ 37691).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; }
      });
    };
    
    
    /***/ }),
    
    /***/ 66790:
    /*!*****************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/queue.js ***!
      \*****************************************************************/
    /***/ (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;
    
    
    /***/ }),
    
    /***/ 82584:
    /*!****************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/reflect-metadata.js ***!
      \****************************************************************************/
    /***/ (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__(/*! ../modules/es.map */ 34941);
    __webpack_require__(/*! ../modules/es.weak-map */ 55410);
    var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ 65911);
    var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ 94237);
    var shared = __webpack_require__(/*! ../internals/shared */ 77898);
    
    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
    };
    
    
    /***/ }),
    
    /***/ 94338:
    /*!********************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/regexp-exec-abstract.js ***!
      \********************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var call = __webpack_require__(/*! ../internals/function-call */ 89945);
    var anObject = __webpack_require__(/*! ../internals/an-object */ 80449);
    var isCallable = __webpack_require__(/*! ../internals/is-callable */ 55327);
    var classof = __webpack_require__(/*! ../internals/classof-raw */ 29076);
    var regexpExec = __webpack_require__(/*! ../internals/regexp-exec */ 88736);
    
    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');
    };
    
    
    /***/ }),
    
    /***/ 88736:
    /*!***********************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/regexp-exec.js ***!
      \***********************************************************************/
    /***/ (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__(/*! ../internals/function-call */ 89945);
    var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ 94237);
    var toString = __webpack_require__(/*! ../internals/to-string */ 69905);
    var regexpFlags = __webpack_require__(/*! ../internals/regexp-flags */ 82163);
    var stickyHelpers = __webpack_require__(/*! ../internals/regexp-sticky-helpers */ 19286);
    var shared = __webpack_require__(/*! ../internals/shared */ 77898);
    var create = __webpack_require__(/*! ../internals/object-create */ 20132);
    var getInternalState = (__webpack_require__(/*! ../internals/internal-state */ 94844).get);
    var UNSUPPORTED_DOT_ALL = __webpack_require__(/*! ../internals/regexp-unsupported-dot-all */ 6041);
    var UNSUPPORTED_NCG = __webpack_require__(/*! ../internals/regexp-unsupported-ncg */ 51224);
    
    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;
    
    
    /***/ }),
    
    /***/ 82163:
    /*!************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/regexp-flags.js ***!
      \************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var anObject = __webpack_require__(/*! ../internals/an-object */ 80449);
    
    // `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;
    };
    
    
    /***/ }),
    
    /***/ 81644:
    /*!****************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/regexp-get-flags.js ***!
      \****************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var call = __webpack_require__(/*! ../internals/function-call */ 89945);
    var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ 32621);
    var isPrototypeOf = __webpack_require__(/*! ../internals/object-is-prototype-of */ 16332);
    var regExpFlags = __webpack_require__(/*! ../internals/regexp-flags */ 82163);
    
    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;
    };
    
    
    /***/ }),
    
    /***/ 19286:
    /*!*********************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/regexp-sticky-helpers.js ***!
      \*********************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var fails = __webpack_require__(/*! ../internals/fails */ 3338);
    var global = __webpack_require__(/*! ../internals/global */ 92916);
    
    // babel-minify and Closure Compiler transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError
    var $RegExp = global.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
    };
    
    
    /***/ }),
    
    /***/ 6041:
    /*!**************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/regexp-unsupported-dot-all.js ***!
      \**************************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var fails = __webpack_require__(/*! ../internals/fails */ 3338);
    var global = __webpack_require__(/*! ../internals/global */ 92916);
    
    // babel-minify and Closure Compiler transpiles RegExp('.', 's') -> /./s and it causes SyntaxError
    var $RegExp = global.RegExp;
    
    module.exports = fails(function () {
      var re = $RegExp('.', 's');
      return !(re.dotAll && re.test('\n') && re.flags === 's');
    });
    
    
    /***/ }),
    
    /***/ 51224:
    /*!**********************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/regexp-unsupported-ncg.js ***!
      \**********************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var fails = __webpack_require__(/*! ../internals/fails */ 3338);
    var global = __webpack_require__(/*! ../internals/global */ 92916);
    
    // babel-minify and Closure Compiler transpiles RegExp('(?<a>b)', 'g') -> /(?<a>b)/g and it causes SyntaxError
    var $RegExp = global.RegExp;
    
    module.exports = fails(function () {
      var re = $RegExp('(?<a>b)', 'g');
      return re.exec('b').groups.a !== 'b' ||
        'b'.replace(re, '$<a>c') !== 'bc';
    });
    
    
    /***/ }),
    
    /***/ 95955:
    /*!************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/require-object-coercible.js ***!
      \************************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var isNullOrUndefined = __webpack_require__(/*! ../internals/is-null-or-undefined */ 4112);
    
    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;
    };
    
    
    /***/ }),
    
    /***/ 88134:
    /*!***************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/same-value-zero.js ***!
      \***************************************************************************/
    /***/ (function(module) {
    
    "use strict";
    
    // `SameValueZero` abstract operation
    // https://tc39.es/ecma262/#sec-samevaluezero
    module.exports = function (x, y) {
      // eslint-disable-next-line no-self-compare -- NaN check
      return x === y || x !== x && y !== y;
    };
    
    
    /***/ }),
    
    /***/ 5370:
    /*!**********************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/same-value.js ***!
      \**********************************************************************/
    /***/ (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;
    };
    
    
    /***/ }),
    
    /***/ 93222:
    /*!**************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/schedulers-fix.js ***!
      \**************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var global = __webpack_require__(/*! ../internals/global */ 92916);
    var apply = __webpack_require__(/*! ../internals/function-apply */ 13743);
    var isCallable = __webpack_require__(/*! ../internals/is-callable */ 55327);
    var ENGINE_IS_BUN = __webpack_require__(/*! ../internals/engine-is-bun */ 90843);
    var USER_AGENT = __webpack_require__(/*! ../internals/engine-user-agent */ 66011);
    var arraySlice = __webpack_require__(/*! ../internals/array-slice */ 30867);
    var validateArgumentsLength = __webpack_require__(/*! ../internals/validate-arguments-length */ 57106);
    
    var Function = global.Function;
    // dirty IE9- and Bun 0.3.0- checks
    var WRAP = /MSIE .\./.test(USER_AGENT) || ENGINE_IS_BUN && (function () {
      var version = global.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;
    };
    
    
    /***/ }),
    
    /***/ 61838:
    /*!*********************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/set-clone.js ***!
      \*********************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var SetHelpers = __webpack_require__(/*! ../internals/set-helpers */ 19691);
    var iterate = __webpack_require__(/*! ../internals/set-iterate */ 57002);
    
    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;
    };
    
    
    /***/ }),
    
    /***/ 10038:
    /*!**************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/set-difference.js ***!
      \**************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var aSet = __webpack_require__(/*! ../internals/a-set */ 17442);
    var SetHelpers = __webpack_require__(/*! ../internals/set-helpers */ 19691);
    var clone = __webpack_require__(/*! ../internals/set-clone */ 61838);
    var size = __webpack_require__(/*! ../internals/set-size */ 108);
    var getSetRecord = __webpack_require__(/*! ../internals/get-set-record */ 88203);
    var iterateSet = __webpack_require__(/*! ../internals/set-iterate */ 57002);
    var iterateSimple = __webpack_require__(/*! ../internals/iterate-simple */ 43545);
    
    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;
    };
    
    
    /***/ }),
    
    /***/ 19691:
    /*!***********************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/set-helpers.js ***!
      \***********************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ 94237);
    
    // eslint-disable-next-line es/no-set -- safe
    var SetPrototype = Set.prototype;
    
    module.exports = {
      // eslint-disable-next-line es/no-set -- safe
      Set: Set,
      add: uncurryThis(SetPrototype.add),
      has: uncurryThis(SetPrototype.has),
      remove: uncurryThis(SetPrototype['delete']),
      proto: SetPrototype
    };
    
    
    /***/ }),
    
    /***/ 16049:
    /*!****************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/set-intersection.js ***!
      \****************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var aSet = __webpack_require__(/*! ../internals/a-set */ 17442);
    var SetHelpers = __webpack_require__(/*! ../internals/set-helpers */ 19691);
    var size = __webpack_require__(/*! ../internals/set-size */ 108);
    var getSetRecord = __webpack_require__(/*! ../internals/get-set-record */ 88203);
    var iterateSet = __webpack_require__(/*! ../internals/set-iterate */ 57002);
    var iterateSimple = __webpack_require__(/*! ../internals/iterate-simple */ 43545);
    
    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;
    };
    
    
    /***/ }),
    
    /***/ 17616:
    /*!********************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/set-is-disjoint-from.js ***!
      \********************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var aSet = __webpack_require__(/*! ../internals/a-set */ 17442);
    var has = (__webpack_require__(/*! ../internals/set-helpers */ 19691).has);
    var size = __webpack_require__(/*! ../internals/set-size */ 108);
    var getSetRecord = __webpack_require__(/*! ../internals/get-set-record */ 88203);
    var iterateSet = __webpack_require__(/*! ../internals/set-iterate */ 57002);
    var iterateSimple = __webpack_require__(/*! ../internals/iterate-simple */ 43545);
    var iteratorClose = __webpack_require__(/*! ../internals/iterator-close */ 67996);
    
    // `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;
    };
    
    
    /***/ }),
    
    /***/ 84833:
    /*!****************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/set-is-subset-of.js ***!
      \****************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var aSet = __webpack_require__(/*! ../internals/a-set */ 17442);
    var size = __webpack_require__(/*! ../internals/set-size */ 108);
    var iterate = __webpack_require__(/*! ../internals/set-iterate */ 57002);
    var getSetRecord = __webpack_require__(/*! ../internals/get-set-record */ 88203);
    
    // `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;
    };
    
    
    /***/ }),
    
    /***/ 51135:
    /*!******************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/set-is-superset-of.js ***!
      \******************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var aSet = __webpack_require__(/*! ../internals/a-set */ 17442);
    var has = (__webpack_require__(/*! ../internals/set-helpers */ 19691).has);
    var size = __webpack_require__(/*! ../internals/set-size */ 108);
    var getSetRecord = __webpack_require__(/*! ../internals/get-set-record */ 88203);
    var iterateSimple = __webpack_require__(/*! ../internals/iterate-simple */ 43545);
    var iteratorClose = __webpack_require__(/*! ../internals/iterator-close */ 67996);
    
    // `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;
    };
    
    
    /***/ }),
    
    /***/ 57002:
    /*!***********************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/set-iterate.js ***!
      \***********************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ 94237);
    var iterateSimple = __webpack_require__(/*! ../internals/iterate-simple */ 43545);
    var SetHelpers = __webpack_require__(/*! ../internals/set-helpers */ 19691);
    
    var Set = SetHelpers.Set;
    var SetPrototype = SetHelpers.proto;
    var forEach = uncurryThis(SetPrototype.forEach);
    var keys = uncurryThis(SetPrototype.keys);
    var next = keys(new Set()).next;
    
    module.exports = function (set, fn, interruptible) {
      return interruptible ? iterateSimple({ iterator: keys(set), next: next }, fn) : forEach(set, fn);
    };
    
    
    /***/ }),
    
    /***/ 22627:
    /*!**************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/set-method-accept-set-like.js ***!
      \**************************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ 65911);
    
    var createSetLike = function (size) {
      return {
        size: size,
        has: function () {
          return false;
        },
        keys: function () {
          return {
            next: function () {
              return { done: true };
            }
          };
        }
      };
    };
    
    module.exports = function (name) {
      var Set = getBuiltIn('Set');
      try {
        new Set()[name](createSetLike(0));
        try {
          // late spec change, early WebKit ~ Safari 17.0 beta implementation does not pass it
          // https://github.com/tc39/proposal-set-methods/pull/88
          new Set()[name](createSetLike(-1));
          return false;
        } catch (error2) {
          return true;
        }
      } catch (error) {
        return false;
      }
    };
    
    
    /***/ }),
    
    /***/ 108:
    /*!********************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/set-size.js ***!
      \********************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var uncurryThisAccessor = __webpack_require__(/*! ../internals/function-uncurry-this-accessor */ 37758);
    var SetHelpers = __webpack_require__(/*! ../internals/set-helpers */ 19691);
    
    module.exports = uncurryThisAccessor(SetHelpers.proto, 'size', 'get') || function (set) {
      return set.size;
    };
    
    
    /***/ }),
    
    /***/ 51996:
    /*!***********************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/set-species.js ***!
      \***********************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ 65911);
    var defineBuiltInAccessor = __webpack_require__(/*! ../internals/define-built-in-accessor */ 64110);
    var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ 59893);
    var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ 35454);
    
    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; }
        });
      }
    };
    
    
    /***/ }),
    
    /***/ 36312:
    /*!************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/set-symmetric-difference.js ***!
      \************************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var aSet = __webpack_require__(/*! ../internals/a-set */ 17442);
    var SetHelpers = __webpack_require__(/*! ../internals/set-helpers */ 19691);
    var clone = __webpack_require__(/*! ../internals/set-clone */ 61838);
    var getSetRecord = __webpack_require__(/*! ../internals/get-set-record */ 88203);
    var iterateSimple = __webpack_require__(/*! ../internals/iterate-simple */ 43545);
    
    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;
    };
    
    
    /***/ }),
    
    /***/ 94573:
    /*!*****************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/set-to-string-tag.js ***!
      \*****************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var defineProperty = (__webpack_require__(/*! ../internals/object-define-property */ 37691).f);
    var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ 32621);
    var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ 59893);
    
    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 });
      }
    };
    
    
    /***/ }),
    
    /***/ 24667:
    /*!*********************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/set-union.js ***!
      \*********************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var aSet = __webpack_require__(/*! ../internals/a-set */ 17442);
    var add = (__webpack_require__(/*! ../internals/set-helpers */ 19691).add);
    var clone = __webpack_require__(/*! ../internals/set-clone */ 61838);
    var getSetRecord = __webpack_require__(/*! ../internals/get-set-record */ 88203);
    var iterateSimple = __webpack_require__(/*! ../internals/iterate-simple */ 43545);
    
    // `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;
    };
    
    
    /***/ }),
    
    /***/ 11898:
    /*!**********************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/shared-key.js ***!
      \**********************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var shared = __webpack_require__(/*! ../internals/shared */ 77898);
    var uid = __webpack_require__(/*! ../internals/uid */ 6145);
    
    var keys = shared('keys');
    
    module.exports = function (key) {
      return keys[key] || (keys[key] = uid(key));
    };
    
    
    /***/ }),
    
    /***/ 77398:
    /*!************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/shared-store.js ***!
      \************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var global = __webpack_require__(/*! ../internals/global */ 92916);
    var defineGlobalProperty = __webpack_require__(/*! ../internals/define-global-property */ 29539);
    
    var SHARED = '__core-js_shared__';
    var store = global[SHARED] || defineGlobalProperty(SHARED, {});
    
    module.exports = store;
    
    
    /***/ }),
    
    /***/ 77898:
    /*!******************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/shared.js ***!
      \******************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ 16697);
    var store = __webpack_require__(/*! ../internals/shared-store */ 77398);
    
    (module.exports = function (key, value) {
      return store[key] || (store[key] = value !== undefined ? value : {});
    })('versions', []).push({
      version: '3.34.0',
      mode: IS_PURE ? 'pure' : 'global',
      copyright: '© 2014-2023 Denis Pushkarev (zloirock.ru)',
      license: 'https://github.com/zloirock/core-js/blob/v3.34.0/LICENSE',
      source: 'https://github.com/zloirock/core-js'
    });
    
    
    /***/ }),
    
    /***/ 60473:
    /*!*******************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/species-constructor.js ***!
      \*******************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var anObject = __webpack_require__(/*! ../internals/an-object */ 80449);
    var aConstructor = __webpack_require__(/*! ../internals/a-constructor */ 6086);
    var isNullOrUndefined = __webpack_require__(/*! ../internals/is-null-or-undefined */ 4112);
    var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ 59893);
    
    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);
    };
    
    
    /***/ }),
    
    /***/ 67410:
    /*!*************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/string-cooked.js ***!
      \*************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ 94237);
    var toIndexedObject = __webpack_require__(/*! ../internals/to-indexed-object */ 80524);
    var toString = __webpack_require__(/*! ../internals/to-string */ 69905);
    var lengthOfArrayLike = __webpack_require__(/*! ../internals/length-of-array-like */ 82762);
    
    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]));
      }
    };
    
    
    /***/ }),
    
    /***/ 17691:
    /*!******************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/string-html-forced.js ***!
      \******************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var fails = __webpack_require__(/*! ../internals/fails */ 3338);
    
    // 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;
      });
    };
    
    
    /***/ }),
    
    /***/ 13764:
    /*!****************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/string-multibyte.js ***!
      \****************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ 94237);
    var toIntegerOrInfinity = __webpack_require__(/*! ../internals/to-integer-or-infinity */ 56902);
    var toString = __webpack_require__(/*! ../internals/to-string */ 69905);
    var requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ 95955);
    
    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)
    };
    
    
    /***/ }),
    
    /***/ 98352:
    /*!*********************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/string-pad-webkit-bug.js ***!
      \*********************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    // https://github.com/zloirock/core-js/issues/280
    var userAgent = __webpack_require__(/*! ../internals/engine-user-agent */ 66011);
    
    module.exports = /Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari\//.test(userAgent);
    
    
    /***/ }),
    
    /***/ 85571:
    /*!**********************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/string-pad.js ***!
      \**********************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    // https://github.com/tc39/proposal-string-pad-start-end
    var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ 94237);
    var toLength = __webpack_require__(/*! ../internals/to-length */ 61578);
    var toString = __webpack_require__(/*! ../internals/to-string */ 69905);
    var $repeat = __webpack_require__(/*! ../internals/string-repeat */ 71049);
    var requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ 95955);
    
    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)
    };
    
    
    /***/ }),
    
    /***/ 79204:
    /*!************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/string-parse.js ***!
      \************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    // adapted from https://github.com/jridgewell/string-dedent
    var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ 65911);
    var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ 94237);
    
    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);
    };
    
    
    /***/ }),
    
    /***/ 93245:
    /*!************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/string-punycode-to-ascii.js ***!
      \************************************************************************************/
    /***/ (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__(/*! ../internals/function-uncurry-this */ 94237);
    
    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, '.');
    };
    
    
    /***/ }),
    
    /***/ 71049:
    /*!*************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/string-repeat.js ***!
      \*************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var toIntegerOrInfinity = __webpack_require__(/*! ../internals/to-integer-or-infinity */ 56902);
    var toString = __webpack_require__(/*! ../internals/to-string */ 69905);
    var requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ 95955);
    
    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;
    };
    
    
    /***/ }),
    
    /***/ 9591:
    /*!***************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/string-trim-end.js ***!
      \***************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $trimEnd = (__webpack_require__(/*! ../internals/string-trim */ 52971).end);
    var forcedStringTrimMethod = __webpack_require__(/*! ../internals/string-trim-forced */ 18105);
    
    // `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;
    
    
    /***/ }),
    
    /***/ 18105:
    /*!******************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/string-trim-forced.js ***!
      \******************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var PROPER_FUNCTION_NAME = (__webpack_require__(/*! ../internals/function-name */ 8090).PROPER);
    var fails = __webpack_require__(/*! ../internals/fails */ 3338);
    var whitespaces = __webpack_require__(/*! ../internals/whitespaces */ 19268);
    
    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);
      });
    };
    
    
    /***/ }),
    
    /***/ 27374:
    /*!*****************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/string-trim-start.js ***!
      \*****************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $trimStart = (__webpack_require__(/*! ../internals/string-trim */ 52971).start);
    var forcedStringTrimMethod = __webpack_require__(/*! ../internals/string-trim-forced */ 18105);
    
    // `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;
    
    
    /***/ }),
    
    /***/ 52971:
    /*!***********************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/string-trim.js ***!
      \***********************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ 94237);
    var requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ 95955);
    var toString = __webpack_require__(/*! ../internals/to-string */ 69905);
    var whitespaces = __webpack_require__(/*! ../internals/whitespaces */ 19268);
    
    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)
    };
    
    
    /***/ }),
    
    /***/ 80426:
    /*!********************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/structured-clone-proper-transfer.js ***!
      \********************************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var global = __webpack_require__(/*! ../internals/global */ 92916);
    var fails = __webpack_require__(/*! ../internals/fails */ 3338);
    var V8 = __webpack_require__(/*! ../internals/engine-v8-version */ 46573);
    var IS_BROWSER = __webpack_require__(/*! ../internals/engine-is-browser */ 66994);
    var IS_DENO = __webpack_require__(/*! ../internals/engine-is-deno */ 91821);
    var IS_NODE = __webpack_require__(/*! ../internals/engine-is-node */ 90946);
    
    var structuredClone = global.structuredClone;
    
    module.exports = !!structuredClone && !fails(function () {
      // prevent V8 ArrayBufferDetaching protector cell invalidation and performance degradation
      // https://github.com/zloirock/core-js/issues/679
      if ((IS_DENO && V8 > 92) || (IS_NODE && V8 > 94) || (IS_BROWSER && V8 > 97)) return false;
      var buffer = new ArrayBuffer(8);
      var clone = structuredClone(buffer, { transfer: [buffer] });
      return buffer.byteLength !== 0 || clone.byteLength !== 8;
    });
    
    
    /***/ }),
    
    /***/ 42820:
    /*!****************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/symbol-constructor-detection.js ***!
      \****************************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    /* eslint-disable es/no-symbol -- required for testing */
    var V8_VERSION = __webpack_require__(/*! ../internals/engine-v8-version */ 46573);
    var fails = __webpack_require__(/*! ../internals/fails */ 3338);
    var global = __webpack_require__(/*! ../internals/global */ 92916);
    
    var $String = global.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;
    });
    
    
    /***/ }),
    
    /***/ 14311:
    /*!**************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/symbol-define-to-primitive.js ***!
      \**************************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var call = __webpack_require__(/*! ../internals/function-call */ 89945);
    var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ 65911);
    var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ 59893);
    var defineBuiltIn = __webpack_require__(/*! ../internals/define-built-in */ 2291);
    
    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 });
      }
    };
    
    
    /***/ }),
    
    /***/ 69077:
    /*!********************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/symbol-is-registered.js ***!
      \********************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ 65911);
    var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ 94237);
    
    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;
      }
    };
    
    
    /***/ }),
    
    /***/ 40443:
    /*!********************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/symbol-is-well-known.js ***!
      \********************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var shared = __webpack_require__(/*! ../internals/shared */ 77898);
    var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ 65911);
    var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ 94237);
    var isSymbol = __webpack_require__(/*! ../internals/is-symbol */ 18446);
    var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ 59893);
    
    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;
    };
    
    
    /***/ }),
    
    /***/ 60798:
    /*!*************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/symbol-registry-detection.js ***!
      \*************************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var NATIVE_SYMBOL = __webpack_require__(/*! ../internals/symbol-constructor-detection */ 42820);
    
    /* eslint-disable es/no-symbol -- safe */
    module.exports = NATIVE_SYMBOL && !!Symbol['for'] && !!Symbol.keyFor;
    
    
    /***/ }),
    
    /***/ 28887:
    /*!****************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/task.js ***!
      \****************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var global = __webpack_require__(/*! ../internals/global */ 92916);
    var apply = __webpack_require__(/*! ../internals/function-apply */ 13743);
    var bind = __webpack_require__(/*! ../internals/function-bind-context */ 80666);
    var isCallable = __webpack_require__(/*! ../internals/is-callable */ 55327);
    var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ 32621);
    var fails = __webpack_require__(/*! ../internals/fails */ 3338);
    var html = __webpack_require__(/*! ../internals/html */ 75171);
    var arraySlice = __webpack_require__(/*! ../internals/array-slice */ 30867);
    var createElement = __webpack_require__(/*! ../internals/document-create-element */ 86060);
    var validateArgumentsLength = __webpack_require__(/*! ../internals/validate-arguments-length */ 57106);
    var IS_IOS = __webpack_require__(/*! ../internals/engine-is-ios */ 70695);
    var IS_NODE = __webpack_require__(/*! ../internals/engine-is-node */ 90946);
    
    var set = global.setImmediate;
    var clear = global.clearImmediate;
    var process = global.process;
    var Dispatch = global.Dispatch;
    var Function = global.Function;
    var MessageChannel = global.MessageChannel;
    var String = global.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 = global.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
      global.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 (
        global.addEventListener &&
        isCallable(global.postMessage) &&
        !global.importScripts &&
        $location && $location.protocol !== 'file:' &&
        !fails(globalPostMessageDefer)
      ) {
        defer = globalPostMessageDefer;
        global.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
    };
    
    
    /***/ }),
    
    /***/ 49228:
    /*!*****************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/this-number-value.js ***!
      \*****************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ 94237);
    
    // `thisNumberValue` abstract operation
    // https://tc39.es/ecma262/#sec-thisnumbervalue
    module.exports = uncurryThis(1.0.valueOf);
    
    
    /***/ }),
    
    /***/ 51981:
    /*!*****************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/to-absolute-index.js ***!
      \*****************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var toIntegerOrInfinity = __webpack_require__(/*! ../internals/to-integer-or-infinity */ 56902);
    
    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);
    };
    
    
    /***/ }),
    
    /***/ 93303:
    /*!**********************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/to-big-int.js ***!
      \**********************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var toPrimitive = __webpack_require__(/*! ../internals/to-primitive */ 97954);
    
    var $TypeError = TypeError;
    
    // `ToBigInt` abstract operation
    // https://tc39.es/ecma262/#sec-tobigint
    module.exports = function (argument) {
      var prim = toPrimitive(argument, 'number');
      if (typeof prim == 'number') throw new $TypeError("Can't convert number to bigint");
      // eslint-disable-next-line es/no-bigint -- safe
      return BigInt(prim);
    };
    
    
    /***/ }),
    
    /***/ 24225:
    /*!********************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/to-index.js ***!
      \********************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var toIntegerOrInfinity = __webpack_require__(/*! ../internals/to-integer-or-infinity */ 56902);
    var toLength = __webpack_require__(/*! ../internals/to-length */ 61578);
    
    var $RangeError = RangeError;
    
    // `ToIndex` abstract operation
    // https://tc39.es/ecma262/#sec-toindex
    module.exports = function (it) {
      if (it === undefined) return 0;
      var number = toIntegerOrInfinity(it);
      var length = toLength(number);
      if (number !== length) throw new $RangeError('Wrong length or index');
      return length;
    };
    
    
    /***/ }),
    
    /***/ 80524:
    /*!*****************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/to-indexed-object.js ***!
      \*****************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    // toObject with fallback for non-array-like ES3 strings
    var IndexedObject = __webpack_require__(/*! ../internals/indexed-object */ 1835);
    var requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ 95955);
    
    module.exports = function (it) {
      return IndexedObject(requireObjectCoercible(it));
    };
    
    
    /***/ }),
    
    /***/ 56902:
    /*!**********************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/to-integer-or-infinity.js ***!
      \**********************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var trunc = __webpack_require__(/*! ../internals/math-trunc */ 3312);
    
    // `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);
    };
    
    
    /***/ }),
    
    /***/ 61578:
    /*!*********************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/to-length.js ***!
      \*********************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var toIntegerOrInfinity = __webpack_require__(/*! ../internals/to-integer-or-infinity */ 56902);
    
    var min = Math.min;
    
    // `ToLength` abstract operation
    // https://tc39.es/ecma262/#sec-tolength
    module.exports = function (argument) {
      return argument > 0 ? min(toIntegerOrInfinity(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
    };
    
    
    /***/ }),
    
    /***/ 94029:
    /*!*********************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/to-object.js ***!
      \*********************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ 95955);
    
    var $Object = Object;
    
    // `ToObject` abstract operation
    // https://tc39.es/ecma262/#sec-toobject
    module.exports = function (argument) {
      return $Object(requireObjectCoercible(argument));
    };
    
    
    /***/ }),
    
    /***/ 64135:
    /*!*********************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/to-offset.js ***!
      \*********************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var toPositiveInteger = __webpack_require__(/*! ../internals/to-positive-integer */ 51358);
    
    var $RangeError = RangeError;
    
    module.exports = function (it, BYTES) {
      var offset = toPositiveInteger(it);
      if (offset % BYTES) throw new $RangeError('Wrong offset');
      return offset;
    };
    
    
    /***/ }),
    
    /***/ 51358:
    /*!*******************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/to-positive-integer.js ***!
      \*******************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var toIntegerOrInfinity = __webpack_require__(/*! ../internals/to-integer-or-infinity */ 56902);
    
    var $RangeError = RangeError;
    
    module.exports = function (it) {
      var result = toIntegerOrInfinity(it);
      if (result < 0) throw new $RangeError("The argument can't be less than 0");
      return result;
    };
    
    
    /***/ }),
    
    /***/ 97954:
    /*!************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/to-primitive.js ***!
      \************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var call = __webpack_require__(/*! ../internals/function-call */ 89945);
    var isObject = __webpack_require__(/*! ../internals/is-object */ 31946);
    var isSymbol = __webpack_require__(/*! ../internals/is-symbol */ 18446);
    var getMethod = __webpack_require__(/*! ../internals/get-method */ 53776);
    var ordinaryToPrimitive = __webpack_require__(/*! ../internals/ordinary-to-primitive */ 44759);
    var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ 59893);
    
    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);
    };
    
    
    /***/ }),
    
    /***/ 17818:
    /*!***************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/to-property-key.js ***!
      \***************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var toPrimitive = __webpack_require__(/*! ../internals/to-primitive */ 97954);
    var isSymbol = __webpack_require__(/*! ../internals/is-symbol */ 18446);
    
    // `ToPropertyKey` abstract operation
    // https://tc39.es/ecma262/#sec-topropertykey
    module.exports = function (argument) {
      var key = toPrimitive(argument, 'string');
      return isSymbol(key) ? key : key + '';
    };
    
    
    /***/ }),
    
    /***/ 77999:
    /*!***********************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/to-set-like.js ***!
      \***********************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ 65911);
    var isCallable = __webpack_require__(/*! ../internals/is-callable */ 55327);
    var isIterable = __webpack_require__(/*! ../internals/is-iterable */ 30360);
    var isObject = __webpack_require__(/*! ../internals/is-object */ 31946);
    
    var Set = getBuiltIn('Set');
    
    var isSetLike = function (it) {
      return isObject(it)
        && typeof it.size == 'number'
        && isCallable(it.has)
        && isCallable(it.keys);
    };
    
    // fallback old -> new set methods proposal arguments
    module.exports = function (it) {
      if (isSetLike(it)) return it;
      return isIterable(it) ? new Set(it) : it;
    };
    
    
    /***/ }),
    
    /***/ 68527:
    /*!*********************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/to-string-tag-support.js ***!
      \*********************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ 59893);
    
    var TO_STRING_TAG = wellKnownSymbol('toStringTag');
    var test = {};
    
    test[TO_STRING_TAG] = 'z';
    
    module.exports = String(test) === '[object z]';
    
    
    /***/ }),
    
    /***/ 69905:
    /*!*********************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/to-string.js ***!
      \*********************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var classof = __webpack_require__(/*! ../internals/classof */ 97607);
    
    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);
    };
    
    
    /***/ }),
    
    /***/ 86350:
    /*!****************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/to-uint8-clamped.js ***!
      \****************************************************************************/
    /***/ (function(module) {
    
    "use strict";
    
    var round = Math.round;
    
    module.exports = function (it) {
      var value = round(it);
      return value < 0 ? 0 : value > 0xFF ? 0xFF : value & 0xFF;
    };
    
    
    /***/ }),
    
    /***/ 11270:
    /*!****************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/try-node-require.js ***!
      \****************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var IS_NODE = __webpack_require__(/*! ../internals/engine-is-node */ 90946);
    
    module.exports = function (name) {
      try {
        // eslint-disable-next-line no-new-func -- safe
        if (IS_NODE) return Function('return require("' + name + '")')();
      } catch (error) { /* empty */ }
    };
    
    
    /***/ }),
    
    /***/ 40593:
    /*!*************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/try-to-string.js ***!
      \*************************************************************************/
    /***/ (function(module) {
    
    "use strict";
    
    var $String = String;
    
    module.exports = function (argument) {
      try {
        return $String(argument);
      } catch (error) {
        return 'Object';
      }
    };
    
    
    /***/ }),
    
    /***/ 69733:
    /*!***********************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/typed-array-constructor.js ***!
      \***********************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var global = __webpack_require__(/*! ../internals/global */ 92916);
    var call = __webpack_require__(/*! ../internals/function-call */ 89945);
    var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ 35454);
    var TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS = __webpack_require__(/*! ../internals/typed-array-constructors-require-wrappers */ 59627);
    var ArrayBufferViewCore = __webpack_require__(/*! ../internals/array-buffer-view-core */ 58261);
    var ArrayBufferModule = __webpack_require__(/*! ../internals/array-buffer */ 91669);
    var anInstance = __webpack_require__(/*! ../internals/an-instance */ 56472);
    var createPropertyDescriptor = __webpack_require__(/*! ../internals/create-property-descriptor */ 35012);
    var createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ 68151);
    var isIntegralNumber = __webpack_require__(/*! ../internals/is-integral-number */ 62896);
    var toLength = __webpack_require__(/*! ../internals/to-length */ 61578);
    var toIndex = __webpack_require__(/*! ../internals/to-index */ 24225);
    var toOffset = __webpack_require__(/*! ../internals/to-offset */ 64135);
    var toUint8Clamped = __webpack_require__(/*! ../internals/to-uint8-clamped */ 86350);
    var toPropertyKey = __webpack_require__(/*! ../internals/to-property-key */ 17818);
    var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ 32621);
    var classof = __webpack_require__(/*! ../internals/classof */ 97607);
    var isObject = __webpack_require__(/*! ../internals/is-object */ 31946);
    var isSymbol = __webpack_require__(/*! ../internals/is-symbol */ 18446);
    var create = __webpack_require__(/*! ../internals/object-create */ 20132);
    var isPrototypeOf = __webpack_require__(/*! ../internals/object-is-prototype-of */ 16332);
    var setPrototypeOf = __webpack_require__(/*! ../internals/object-set-prototype-of */ 58218);
    var getOwnPropertyNames = (__webpack_require__(/*! ../internals/object-get-own-property-names */ 80689).f);
    var typedArrayFrom = __webpack_require__(/*! ../internals/typed-array-from */ 50706);
    var forEach = (__webpack_require__(/*! ../internals/array-iteration */ 90560).forEach);
    var setSpecies = __webpack_require__(/*! ../internals/set-species */ 51996);
    var defineBuiltInAccessor = __webpack_require__(/*! ../internals/define-built-in-accessor */ 64110);
    var definePropertyModule = __webpack_require__(/*! ../internals/object-define-property */ 37691);
    var getOwnPropertyDescriptorModule = __webpack_require__(/*! ../internals/object-get-own-property-descriptor */ 71256);
    var InternalStateModule = __webpack_require__(/*! ../internals/internal-state */ 94844);
    var inheritIfRequired = __webpack_require__(/*! ../internals/inherit-if-required */ 25576);
    
    var getInternalState = InternalStateModule.get;
    var setInternalState = InternalStateModule.set;
    var enforceInternalState = InternalStateModule.enforce;
    var nativeDefineProperty = definePropertyModule.f;
    var nativeGetOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
    var RangeError = global.RangeError;
    var ArrayBuffer = ArrayBufferModule.ArrayBuffer;
    var ArrayBufferPrototype = ArrayBuffer.prototype;
    var DataView = ArrayBufferModule.DataView;
    var NATIVE_ARRAY_BUFFER_VIEWS = ArrayBufferViewCore.NATIVE_ARRAY_BUFFER_VIEWS;
    var TYPED_ARRAY_TAG = ArrayBufferViewCore.TYPED_ARRAY_TAG;
    var TypedArray = ArrayBufferViewCore.TypedArray;
    var TypedArrayPrototype = ArrayBufferViewCore.TypedArrayPrototype;
    var aTypedArrayConstructor = ArrayBufferViewCore.aTypedArrayConstructor;
    var isTypedArray = ArrayBufferViewCore.isTypedArray;
    var BYTES_PER_ELEMENT = 'BYTES_PER_ELEMENT';
    var WRONG_LENGTH = 'Wrong length';
    
    var fromList = function (C, list) {
      aTypedArrayConstructor(C);
      var index = 0;
      var length = list.length;
      var result = new C(length);
      while (length > index) result[index] = list[index++];
      return result;
    };
    
    var addGetter = function (it, key) {
      defineBuiltInAccessor(it, key, {
        configurable: true,
        get: function () {
          return getInternalState(this)[key];
        }
      });
    };
    
    var isArrayBuffer = function (it) {
      var klass;
      return isPrototypeOf(ArrayBufferPrototype, it) || (klass = classof(it)) === 'ArrayBuffer' || klass === 'SharedArrayBuffer';
    };
    
    var isTypedArrayIndex = function (target, key) {
      return isTypedArray(target)
        && !isSymbol(key)
        && key in target
        && isIntegralNumber(+key)
        && key >= 0;
    };
    
    var wrappedGetOwnPropertyDescriptor = function getOwnPropertyDescriptor(target, key) {
      key = toPropertyKey(key);
      return isTypedArrayIndex(target, key)
        ? createPropertyDescriptor(2, target[key])
        : nativeGetOwnPropertyDescriptor(target, key);
    };
    
    var wrappedDefineProperty = function defineProperty(target, key, descriptor) {
      key = toPropertyKey(key);
      if (isTypedArrayIndex(target, key)
        && isObject(descriptor)
        && hasOwn(descriptor, 'value')
        && !hasOwn(descriptor, 'get')
        && !hasOwn(descriptor, 'set')
        // TODO: add validation descriptor w/o calling accessors
        && !descriptor.configurable
        && (!hasOwn(descriptor, 'writable') || descriptor.writable)
        && (!hasOwn(descriptor, 'enumerable') || descriptor.enumerable)
      ) {
        target[key] = descriptor.value;
        return target;
      } return nativeDefineProperty(target, key, descriptor);
    };
    
    if (DESCRIPTORS) {
      if (!NATIVE_ARRAY_BUFFER_VIEWS) {
        getOwnPropertyDescriptorModule.f = wrappedGetOwnPropertyDescriptor;
        definePropertyModule.f = wrappedDefineProperty;
        addGetter(TypedArrayPrototype, 'buffer');
        addGetter(TypedArrayPrototype, 'byteOffset');
        addGetter(TypedArrayPrototype, 'byteLength');
        addGetter(TypedArrayPrototype, 'length');
      }
    
      $({ target: 'Object', stat: true, forced: !NATIVE_ARRAY_BUFFER_VIEWS }, {
        getOwnPropertyDescriptor: wrappedGetOwnPropertyDescriptor,
        defineProperty: wrappedDefineProperty
      });
    
      module.exports = function (TYPE, wrapper, CLAMPED) {
        var BYTES = TYPE.match(/\d+/)[0] / 8;
        var CONSTRUCTOR_NAME = TYPE + (CLAMPED ? 'Clamped' : '') + 'Array';
        var GETTER = 'get' + TYPE;
        var SETTER = 'set' + TYPE;
        var NativeTypedArrayConstructor = global[CONSTRUCTOR_NAME];
        var TypedArrayConstructor = NativeTypedArrayConstructor;
        var TypedArrayConstructorPrototype = TypedArrayConstructor && TypedArrayConstructor.prototype;
        var exported = {};
    
        var getter = function (that, index) {
          var data = getInternalState(that);
          return data.view[GETTER](index * BYTES + data.byteOffset, true);
        };
    
        var setter = function (that, index, value) {
          var data = getInternalState(that);
          data.view[SETTER](index * BYTES + data.byteOffset, CLAMPED ? toUint8Clamped(value) : value, true);
        };
    
        var addElement = function (that, index) {
          nativeDefineProperty(that, index, {
            get: function () {
              return getter(this, index);
            },
            set: function (value) {
              return setter(this, index, value);
            },
            enumerable: true
          });
        };
    
        if (!NATIVE_ARRAY_BUFFER_VIEWS) {
          TypedArrayConstructor = wrapper(function (that, data, offset, $length) {
            anInstance(that, TypedArrayConstructorPrototype);
            var index = 0;
            var byteOffset = 0;
            var buffer, byteLength, length;
            if (!isObject(data)) {
              length = toIndex(data);
              byteLength = length * BYTES;
              buffer = new ArrayBuffer(byteLength);
            } else if (isArrayBuffer(data)) {
              buffer = data;
              byteOffset = toOffset(offset, BYTES);
              var $len = data.byteLength;
              if ($length === undefined) {
                if ($len % BYTES) throw new RangeError(WRONG_LENGTH);
                byteLength = $len - byteOffset;
                if (byteLength < 0) throw new RangeError(WRONG_LENGTH);
              } else {
                byteLength = toLength($length) * BYTES;
                if (byteLength + byteOffset > $len) throw new RangeError(WRONG_LENGTH);
              }
              length = byteLength / BYTES;
            } else if (isTypedArray(data)) {
              return fromList(TypedArrayConstructor, data);
            } else {
              return call(typedArrayFrom, TypedArrayConstructor, data);
            }
            setInternalState(that, {
              buffer: buffer,
              byteOffset: byteOffset,
              byteLength: byteLength,
              length: length,
              view: new DataView(buffer)
            });
            while (index < length) addElement(that, index++);
          });
    
          if (setPrototypeOf) setPrototypeOf(TypedArrayConstructor, TypedArray);
          TypedArrayConstructorPrototype = TypedArrayConstructor.prototype = create(TypedArrayPrototype);
        } else if (TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS) {
          TypedArrayConstructor = wrapper(function (dummy, data, typedArrayOffset, $length) {
            anInstance(dummy, TypedArrayConstructorPrototype);
            return inheritIfRequired(function () {
              if (!isObject(data)) return new NativeTypedArrayConstructor(toIndex(data));
              if (isArrayBuffer(data)) return $length !== undefined
                ? new NativeTypedArrayConstructor(data, toOffset(typedArrayOffset, BYTES), $length)
                : typedArrayOffset !== undefined
                  ? new NativeTypedArrayConstructor(data, toOffset(typedArrayOffset, BYTES))
                  : new NativeTypedArrayConstructor(data);
              if (isTypedArray(data)) return fromList(TypedArrayConstructor, data);
              return call(typedArrayFrom, TypedArrayConstructor, data);
            }(), dummy, TypedArrayConstructor);
          });
    
          if (setPrototypeOf) setPrototypeOf(TypedArrayConstructor, TypedArray);
          forEach(getOwnPropertyNames(NativeTypedArrayConstructor), function (key) {
            if (!(key in TypedArrayConstructor)) {
              createNonEnumerableProperty(TypedArrayConstructor, key, NativeTypedArrayConstructor[key]);
            }
          });
          TypedArrayConstructor.prototype = TypedArrayConstructorPrototype;
        }
    
        if (TypedArrayConstructorPrototype.constructor !== TypedArrayConstructor) {
          createNonEnumerableProperty(TypedArrayConstructorPrototype, 'constructor', TypedArrayConstructor);
        }
    
        enforceInternalState(TypedArrayConstructorPrototype).TypedArrayConstructor = TypedArrayConstructor;
    
        if (TYPED_ARRAY_TAG) {
          createNonEnumerableProperty(TypedArrayConstructorPrototype, TYPED_ARRAY_TAG, CONSTRUCTOR_NAME);
        }
    
        var FORCED = TypedArrayConstructor !== NativeTypedArrayConstructor;
    
        exported[CONSTRUCTOR_NAME] = TypedArrayConstructor;
    
        $({ global: true, constructor: true, forced: FORCED, sham: !NATIVE_ARRAY_BUFFER_VIEWS }, exported);
    
        if (!(BYTES_PER_ELEMENT in TypedArrayConstructor)) {
          createNonEnumerableProperty(TypedArrayConstructor, BYTES_PER_ELEMENT, BYTES);
        }
    
        if (!(BYTES_PER_ELEMENT in TypedArrayConstructorPrototype)) {
          createNonEnumerableProperty(TypedArrayConstructorPrototype, BYTES_PER_ELEMENT, BYTES);
        }
    
        setSpecies(CONSTRUCTOR_NAME);
      };
    } else module.exports = function () { /* empty */ };
    
    
    /***/ }),
    
    /***/ 59627:
    /*!*****************************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/typed-array-constructors-require-wrappers.js ***!
      \*****************************************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    /* eslint-disable no-new -- required for testing */
    var global = __webpack_require__(/*! ../internals/global */ 92916);
    var fails = __webpack_require__(/*! ../internals/fails */ 3338);
    var checkCorrectnessOfIteration = __webpack_require__(/*! ../internals/check-correctness-of-iteration */ 35221);
    var NATIVE_ARRAY_BUFFER_VIEWS = (__webpack_require__(/*! ../internals/array-buffer-view-core */ 58261).NATIVE_ARRAY_BUFFER_VIEWS);
    
    var ArrayBuffer = global.ArrayBuffer;
    var Int8Array = global.Int8Array;
    
    module.exports = !NATIVE_ARRAY_BUFFER_VIEWS || !fails(function () {
      Int8Array(1);
    }) || !fails(function () {
      new Int8Array(-1);
    }) || !checkCorrectnessOfIteration(function (iterable) {
      new Int8Array();
      new Int8Array(null);
      new Int8Array(1.5);
      new Int8Array(iterable);
    }, true) || fails(function () {
      // Safari (11+) bug - a reason why even Safari 13 should load a typed array polyfill
      return new Int8Array(new ArrayBuffer(2), 1, undefined).length !== 1;
    });
    
    
    /***/ }),
    
    /***/ 27607:
    /*!*********************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/typed-array-from-species-and-list.js ***!
      \*********************************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var arrayFromConstructorAndList = __webpack_require__(/*! ../internals/array-from-constructor-and-list */ 69478);
    var typedArraySpeciesConstructor = __webpack_require__(/*! ../internals/typed-array-species-constructor */ 31384);
    
    module.exports = function (instance, list) {
      return arrayFromConstructorAndList(typedArraySpeciesConstructor(instance), list);
    };
    
    
    /***/ }),
    
    /***/ 50706:
    /*!****************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/typed-array-from.js ***!
      \****************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var bind = __webpack_require__(/*! ../internals/function-bind-context */ 80666);
    var call = __webpack_require__(/*! ../internals/function-call */ 89945);
    var aConstructor = __webpack_require__(/*! ../internals/a-constructor */ 6086);
    var toObject = __webpack_require__(/*! ../internals/to-object */ 94029);
    var lengthOfArrayLike = __webpack_require__(/*! ../internals/length-of-array-like */ 82762);
    var getIterator = __webpack_require__(/*! ../internals/get-iterator */ 85428);
    var getIteratorMethod = __webpack_require__(/*! ../internals/get-iterator-method */ 26006);
    var isArrayIteratorMethod = __webpack_require__(/*! ../internals/is-array-iterator-method */ 345);
    var isBigIntArray = __webpack_require__(/*! ../internals/is-big-int-array */ 75406);
    var aTypedArrayConstructor = (__webpack_require__(/*! ../internals/array-buffer-view-core */ 58261).aTypedArrayConstructor);
    var toBigInt = __webpack_require__(/*! ../internals/to-big-int */ 93303);
    
    module.exports = function from(source /* , mapfn, thisArg */) {
      var C = aConstructor(this);
      var O = toObject(source);
      var argumentsLength = arguments.length;
      var mapfn = argumentsLength > 1 ? arguments[1] : undefined;
      var mapping = mapfn !== undefined;
      var iteratorMethod = getIteratorMethod(O);
      var i, length, result, thisIsBigIntArray, value, step, iterator, next;
      if (iteratorMethod && !isArrayIteratorMethod(iteratorMethod)) {
        iterator = getIterator(O, iteratorMethod);
        next = iterator.next;
        O = [];
        while (!(step = call(next, iterator)).done) {
          O.push(step.value);
        }
      }
      if (mapping && argumentsLength > 2) {
        mapfn = bind(mapfn, arguments[2]);
      }
      length = lengthOfArrayLike(O);
      result = new (aTypedArrayConstructor(C))(length);
      thisIsBigIntArray = isBigIntArray(result);
      for (i = 0; length > i; i++) {
        value = mapping ? mapfn(O[i], i) : O[i];
        // FF30- typed arrays doesn't properly convert objects to typed array values
        result[i] = thisIsBigIntArray ? toBigInt(value) : +value;
      }
      return result;
    };
    
    
    /***/ }),
    
    /***/ 31384:
    /*!*******************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/typed-array-species-constructor.js ***!
      \*******************************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var ArrayBufferViewCore = __webpack_require__(/*! ../internals/array-buffer-view-core */ 58261);
    var speciesConstructor = __webpack_require__(/*! ../internals/species-constructor */ 60473);
    
    var aTypedArrayConstructor = ArrayBufferViewCore.aTypedArrayConstructor;
    var getTypedArrayConstructor = ArrayBufferViewCore.getTypedArrayConstructor;
    
    // a part of `TypedArraySpeciesCreate` abstract operation
    // https://tc39.es/ecma262/#typedarray-species-create
    module.exports = function (originalArray) {
      return aTypedArrayConstructor(speciesConstructor(originalArray, getTypedArrayConstructor(originalArray)));
    };
    
    
    /***/ }),
    
    /***/ 6145:
    /*!***************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/uid.js ***!
      \***************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ 94237);
    
    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);
    };
    
    
    /***/ }),
    
    /***/ 3299:
    /*!*************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/url-constructor-detection.js ***!
      \*************************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var fails = __webpack_require__(/*! ../internals/fails */ 3338);
    var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ 59893);
    var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ 35454);
    var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ 16697);
    
    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', 'http://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 !== 'http://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('http://тест').host !== 'xn--e1aybc'
        // not escaped in Chrome 62-
        || new URL('http://a#б').hash !== '#%D0%B1'
        // fails in Chrome 66-
        || result !== 'a1c3'
        // throws in Safari
        || new URL('http://x', undefined).host !== 'x';
    });
    
    
    /***/ }),
    
    /***/ 14417:
    /*!*****************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/use-symbol-as-uid.js ***!
      \*****************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    /* eslint-disable es/no-symbol -- required for testing */
    var NATIVE_SYMBOL = __webpack_require__(/*! ../internals/symbol-constructor-detection */ 42820);
    
    module.exports = NATIVE_SYMBOL
      && !Symbol.sham
      && typeof Symbol.iterator == 'symbol';
    
    
    /***/ }),
    
    /***/ 93199:
    /*!***********************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/v8-prototype-define-bug.js ***!
      \***********************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ 35454);
    var fails = __webpack_require__(/*! ../internals/fails */ 3338);
    
    // 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;
    });
    
    
    /***/ }),
    
    /***/ 57106:
    /*!*************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/validate-arguments-length.js ***!
      \*************************************************************************************/
    /***/ (function(module) {
    
    "use strict";
    
    var $TypeError = TypeError;
    
    module.exports = function (passed, required) {
      if (passed < required) throw new $TypeError('Not enough arguments');
      return passed;
    };
    
    
    /***/ }),
    
    /***/ 40115:
    /*!************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/weak-map-basic-detection.js ***!
      \************************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var global = __webpack_require__(/*! ../internals/global */ 92916);
    var isCallable = __webpack_require__(/*! ../internals/is-callable */ 55327);
    
    var WeakMap = global.WeakMap;
    
    module.exports = isCallable(WeakMap) && /native code/.test(String(WeakMap));
    
    
    /***/ }),
    
    /***/ 42530:
    /*!****************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/weak-map-helpers.js ***!
      \****************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ 94237);
    
    // 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'])
    };
    
    
    /***/ }),
    
    /***/ 91385:
    /*!****************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/weak-set-helpers.js ***!
      \****************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ 94237);
    
    // eslint-disable-next-line es/no-weak-set -- safe
    var WeakSetPrototype = WeakSet.prototype;
    
    module.exports = {
      // eslint-disable-next-line es/no-weak-set -- safe
      WeakSet: WeakSet,
      add: uncurryThis(WeakSetPrototype.add),
      has: uncurryThis(WeakSetPrototype.has),
      remove: uncurryThis(WeakSetPrototype['delete'])
    };
    
    
    /***/ }),
    
    /***/ 94674:
    /*!************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/well-known-symbol-define.js ***!
      \************************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var path = __webpack_require__(/*! ../internals/path */ 9699);
    var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ 32621);
    var wrappedWellKnownSymbolModule = __webpack_require__(/*! ../internals/well-known-symbol-wrapped */ 38282);
    var defineProperty = (__webpack_require__(/*! ../internals/object-define-property */ 37691).f);
    
    module.exports = function (NAME) {
      var Symbol = path.Symbol || (path.Symbol = {});
      if (!hasOwn(Symbol, NAME)) defineProperty(Symbol, NAME, {
        value: wrappedWellKnownSymbolModule.f(NAME)
      });
    };
    
    
    /***/ }),
    
    /***/ 38282:
    /*!*************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/well-known-symbol-wrapped.js ***!
      \*************************************************************************************/
    /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
    
    "use strict";
    
    var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ 59893);
    
    exports.f = wellKnownSymbol;
    
    
    /***/ }),
    
    /***/ 59893:
    /*!*****************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/well-known-symbol.js ***!
      \*****************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var global = __webpack_require__(/*! ../internals/global */ 92916);
    var shared = __webpack_require__(/*! ../internals/shared */ 77898);
    var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ 32621);
    var uid = __webpack_require__(/*! ../internals/uid */ 6145);
    var NATIVE_SYMBOL = __webpack_require__(/*! ../internals/symbol-constructor-detection */ 42820);
    var USE_SYMBOL_AS_UID = __webpack_require__(/*! ../internals/use-symbol-as-uid */ 14417);
    
    var Symbol = global.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];
    };
    
    
    /***/ }),
    
    /***/ 19268:
    /*!***********************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/whitespaces.js ***!
      \***********************************************************************/
    /***/ (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';
    
    
    /***/ }),
    
    /***/ 78540:
    /*!*********************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/internals/wrap-error-constructor-with-cause.js ***!
      \*********************************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ 65911);
    var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ 32621);
    var createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ 68151);
    var isPrototypeOf = __webpack_require__(/*! ../internals/object-is-prototype-of */ 16332);
    var setPrototypeOf = __webpack_require__(/*! ../internals/object-set-prototype-of */ 58218);
    var copyConstructorProperties = __webpack_require__(/*! ../internals/copy-constructor-properties */ 24538);
    var proxyAccessor = __webpack_require__(/*! ../internals/proxy-accessor */ 44166);
    var inheritIfRequired = __webpack_require__(/*! ../internals/inherit-if-required */ 25576);
    var normalizeStringArgument = __webpack_require__(/*! ../internals/normalize-string-argument */ 7825);
    var installErrorCause = __webpack_require__(/*! ../internals/install-error-cause */ 73068);
    var installErrorStack = __webpack_require__(/*! ../internals/error-stack-install */ 61888);
    var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ 35454);
    var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ 16697);
    
    module.exports = function (FULL_NAME, wrapper, FORCED, IS_AGGREGATE_ERROR) {
      var STACK_TRACE_LIMIT = 'stackTraceLimit';
      var OPTIONS_POSITION = IS_AGGREGATE_ERROR ? 2 : 1;
      var path = FULL_NAME.split('.');
      var ERROR_NAME = path[path.length - 1];
      var OriginalError = getBuiltIn.apply(null, path);
    
      if (!OriginalError) return;
    
      var OriginalErrorPrototype = OriginalError.prototype;
    
      // V8 9.3- bug https://bugs.chromium.org/p/v8/issues/detail?id=12006
      if (!IS_PURE && hasOwn(OriginalErrorPrototype, 'cause')) delete OriginalErrorPrototype.cause;
    
      if (!FORCED) return OriginalError;
    
      var BaseError = getBuiltIn('Error');
    
      var WrappedError = wrapper(function (a, b) {
        var message = normalizeStringArgument(IS_AGGREGATE_ERROR ? b : a, undefined);
        var result = IS_AGGREGATE_ERROR ? new OriginalError(a) : new OriginalError();
        if (message !== undefined) createNonEnumerableProperty(result, 'message', message);
        installErrorStack(result, WrappedError, result.stack, 2);
        if (this && isPrototypeOf(OriginalErrorPrototype, this)) inheritIfRequired(result, this, WrappedError);
        if (arguments.length > OPTIONS_POSITION) installErrorCause(result, arguments[OPTIONS_POSITION]);
        return result;
      });
    
      WrappedError.prototype = OriginalErrorPrototype;
    
      if (ERROR_NAME !== 'Error') {
        if (setPrototypeOf) setPrototypeOf(WrappedError, BaseError);
        else copyConstructorProperties(WrappedError, BaseError, { name: true });
      } else if (DESCRIPTORS && STACK_TRACE_LIMIT in OriginalError) {
        proxyAccessor(WrappedError, OriginalError, STACK_TRACE_LIMIT);
        proxyAccessor(WrappedError, OriginalError, 'prepareStackTrace');
      }
    
      copyConstructorProperties(WrappedError, OriginalError);
    
      if (!IS_PURE) try {
        // Safari 13- bug: WebAssembly errors does not have a proper `.name`
        if (OriginalErrorPrototype.name !== ERROR_NAME) {
          createNonEnumerableProperty(OriginalErrorPrototype, 'name', ERROR_NAME);
        }
        OriginalErrorPrototype.constructor = WrappedError;
      } catch (error) { /* empty */ }
    
      return WrappedError;
    };
    
    
    /***/ }),
    
    /***/ 93074:
    /*!**********************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.aggregate-error.cause.js ***!
      \**********************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ 65911);
    var apply = __webpack_require__(/*! ../internals/function-apply */ 13743);
    var fails = __webpack_require__(/*! ../internals/fails */ 3338);
    var wrapErrorConstructorWithCause = __webpack_require__(/*! ../internals/wrap-error-constructor-with-cause */ 78540);
    
    var AGGREGATE_ERROR = 'AggregateError';
    var $AggregateError = getBuiltIn(AGGREGATE_ERROR);
    
    var FORCED = !fails(function () {
      return $AggregateError([1]).errors[0] !== 1;
    }) && fails(function () {
      return $AggregateError([1], AGGREGATE_ERROR, { cause: 7 }).cause !== 7;
    });
    
    // https://tc39.es/ecma262/#sec-aggregate-error
    $({ global: true, constructor: true, arity: 2, forced: FORCED }, {
      AggregateError: wrapErrorConstructorWithCause(AGGREGATE_ERROR, function (init) {
        // eslint-disable-next-line no-unused-vars -- required for functions `.length`
        return function AggregateError(errors, message) { return apply(init, this, arguments); };
      }, FORCED, true)
    });
    
    
    /***/ }),
    
    /***/ 6555:
    /*!****************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.aggregate-error.constructor.js ***!
      \****************************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var isPrototypeOf = __webpack_require__(/*! ../internals/object-is-prototype-of */ 16332);
    var getPrototypeOf = __webpack_require__(/*! ../internals/object-get-prototype-of */ 53456);
    var setPrototypeOf = __webpack_require__(/*! ../internals/object-set-prototype-of */ 58218);
    var copyConstructorProperties = __webpack_require__(/*! ../internals/copy-constructor-properties */ 24538);
    var create = __webpack_require__(/*! ../internals/object-create */ 20132);
    var createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ 68151);
    var createPropertyDescriptor = __webpack_require__(/*! ../internals/create-property-descriptor */ 35012);
    var installErrorCause = __webpack_require__(/*! ../internals/install-error-cause */ 73068);
    var installErrorStack = __webpack_require__(/*! ../internals/error-stack-install */ 61888);
    var iterate = __webpack_require__(/*! ../internals/iterate */ 62003);
    var normalizeStringArgument = __webpack_require__(/*! ../internals/normalize-string-argument */ 7825);
    var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ 59893);
    
    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
    });
    
    
    /***/ }),
    
    /***/ 86357:
    /*!****************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.aggregate-error.js ***!
      \****************************************************************************/
    /***/ (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__(/*! ../modules/es.aggregate-error.constructor */ 6555);
    
    
    /***/ }),
    
    /***/ 89170:
    /*!*************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.array-buffer.constructor.js ***!
      \*************************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var global = __webpack_require__(/*! ../internals/global */ 92916);
    var arrayBufferModule = __webpack_require__(/*! ../internals/array-buffer */ 91669);
    var setSpecies = __webpack_require__(/*! ../internals/set-species */ 51996);
    
    var ARRAY_BUFFER = 'ArrayBuffer';
    var ArrayBuffer = arrayBufferModule[ARRAY_BUFFER];
    var NativeArrayBuffer = global[ARRAY_BUFFER];
    
    // `ArrayBuffer` constructor
    // https://tc39.es/ecma262/#sec-arraybuffer-constructor
    $({ global: true, constructor: true, forced: NativeArrayBuffer !== ArrayBuffer }, {
      ArrayBuffer: ArrayBuffer
    });
    
    setSpecies(ARRAY_BUFFER);
    
    
    /***/ }),
    
    /***/ 84203:
    /*!*******************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.array-buffer.slice.js ***!
      \*******************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this-clause */ 34114);
    var fails = __webpack_require__(/*! ../internals/fails */ 3338);
    var ArrayBufferModule = __webpack_require__(/*! ../internals/array-buffer */ 91669);
    var anObject = __webpack_require__(/*! ../internals/an-object */ 80449);
    var toAbsoluteIndex = __webpack_require__(/*! ../internals/to-absolute-index */ 51981);
    var toLength = __webpack_require__(/*! ../internals/to-length */ 61578);
    var speciesConstructor = __webpack_require__(/*! ../internals/species-constructor */ 60473);
    
    var ArrayBuffer = ArrayBufferModule.ArrayBuffer;
    var DataView = ArrayBufferModule.DataView;
    var DataViewPrototype = DataView.prototype;
    var nativeArrayBufferSlice = uncurryThis(ArrayBuffer.prototype.slice);
    var getUint8 = uncurryThis(DataViewPrototype.getUint8);
    var setUint8 = uncurryThis(DataViewPrototype.setUint8);
    
    var INCORRECT_SLICE = fails(function () {
      return !new ArrayBuffer(2).slice(1, undefined).byteLength;
    });
    
    // `ArrayBuffer.prototype.slice` method
    // https://tc39.es/ecma262/#sec-arraybuffer.prototype.slice
    $({ target: 'ArrayBuffer', proto: true, unsafe: true, forced: INCORRECT_SLICE }, {
      slice: function slice(start, end) {
        if (nativeArrayBufferSlice && end === undefined) {
          return nativeArrayBufferSlice(anObject(this), start); // FF fix
        }
        var length = anObject(this).byteLength;
        var first = toAbsoluteIndex(start, length);
        var fin = toAbsoluteIndex(end === undefined ? length : end, length);
        var result = new (speciesConstructor(this, ArrayBuffer))(toLength(fin - first));
        var viewSource = new DataView(this);
        var viewTarget = new DataView(result);
        var index = 0;
        while (first < fin) {
          setUint8(viewTarget, index++, getUint8(viewSource, first++));
        } return result;
      }
    });
    
    
    /***/ }),
    
    /***/ 96331:
    /*!*********************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.array.at.js ***!
      \*********************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var toObject = __webpack_require__(/*! ../internals/to-object */ 94029);
    var lengthOfArrayLike = __webpack_require__(/*! ../internals/length-of-array-like */ 82762);
    var toIntegerOrInfinity = __webpack_require__(/*! ../internals/to-integer-or-infinity */ 56902);
    var addToUnscopables = __webpack_require__(/*! ../internals/add-to-unscopables */ 81181);
    
    // `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');
    
    
    /***/ }),
    
    /***/ 2924:
    /*!*************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.array.concat.js ***!
      \*************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var fails = __webpack_require__(/*! ../internals/fails */ 3338);
    var isArray = __webpack_require__(/*! ../internals/is-array */ 18589);
    var isObject = __webpack_require__(/*! ../internals/is-object */ 31946);
    var toObject = __webpack_require__(/*! ../internals/to-object */ 94029);
    var lengthOfArrayLike = __webpack_require__(/*! ../internals/length-of-array-like */ 82762);
    var doesNotExceedSafeInteger = __webpack_require__(/*! ../internals/does-not-exceed-safe-integer */ 66434);
    var createProperty = __webpack_require__(/*! ../internals/create-property */ 69392);
    var arraySpeciesCreate = __webpack_require__(/*! ../internals/array-species-create */ 81427);
    var arrayMethodHasSpeciesSupport = __webpack_require__(/*! ../internals/array-method-has-species-support */ 17480);
    var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ 59893);
    var V8_VERSION = __webpack_require__(/*! ../internals/engine-v8-version */ 46573);
    
    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;
      }
    });
    
    
    /***/ }),
    
    /***/ 26425:
    /*!******************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.array.copy-within.js ***!
      \******************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var copyWithin = __webpack_require__(/*! ../internals/array-copy-within */ 92670);
    var addToUnscopables = __webpack_require__(/*! ../internals/add-to-unscopables */ 81181);
    
    // `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');
    
    
    /***/ }),
    
    /***/ 16137:
    /*!***********************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.array.fill.js ***!
      \***********************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var fill = __webpack_require__(/*! ../internals/array-fill */ 75202);
    var addToUnscopables = __webpack_require__(/*! ../internals/add-to-unscopables */ 81181);
    
    // `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');
    
    
    /***/ }),
    
    /***/ 48435:
    /*!*************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.array.filter.js ***!
      \*************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var $filter = (__webpack_require__(/*! ../internals/array-iteration */ 90560).filter);
    var arrayMethodHasSpeciesSupport = __webpack_require__(/*! ../internals/array-method-has-species-support */ 17480);
    
    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);
      }
    });
    
    
    /***/ }),
    
    /***/ 70365:
    /*!*****************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.array.find-index.js ***!
      \*****************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var $findIndex = (__webpack_require__(/*! ../internals/array-iteration */ 90560).findIndex);
    var addToUnscopables = __webpack_require__(/*! ../internals/add-to-unscopables */ 81181);
    
    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);
    
    
    /***/ }),
    
    /***/ 17482:
    /*!**********************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.array.find-last-index.js ***!
      \**********************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var $findLastIndex = (__webpack_require__(/*! ../internals/array-iteration-from-last */ 53279).findLastIndex);
    var addToUnscopables = __webpack_require__(/*! ../internals/add-to-unscopables */ 81181);
    
    // `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');
    
    
    /***/ }),
    
    /***/ 33717:
    /*!****************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.array.find-last.js ***!
      \****************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var $findLast = (__webpack_require__(/*! ../internals/array-iteration-from-last */ 53279).findLast);
    var addToUnscopables = __webpack_require__(/*! ../internals/add-to-unscopables */ 81181);
    
    // `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');
    
    
    /***/ }),
    
    /***/ 11553:
    /*!***********************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.array.find.js ***!
      \***********************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var $find = (__webpack_require__(/*! ../internals/array-iteration */ 90560).find);
    var addToUnscopables = __webpack_require__(/*! ../internals/add-to-unscopables */ 81181);
    
    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);
    
    
    /***/ }),
    
    /***/ 65033:
    /*!***************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.array.flat-map.js ***!
      \***************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var flattenIntoArray = __webpack_require__(/*! ../internals/flatten-into-array */ 3372);
    var aCallable = __webpack_require__(/*! ../internals/a-callable */ 63335);
    var toObject = __webpack_require__(/*! ../internals/to-object */ 94029);
    var lengthOfArrayLike = __webpack_require__(/*! ../internals/length-of-array-like */ 82762);
    var arraySpeciesCreate = __webpack_require__(/*! ../internals/array-species-create */ 81427);
    
    // `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;
      }
    });
    
    
    /***/ }),
    
    /***/ 23708:
    /*!***********************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.array.flat.js ***!
      \***********************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var flattenIntoArray = __webpack_require__(/*! ../internals/flatten-into-array */ 3372);
    var toObject = __webpack_require__(/*! ../internals/to-object */ 94029);
    var lengthOfArrayLike = __webpack_require__(/*! ../internals/length-of-array-like */ 82762);
    var toIntegerOrInfinity = __webpack_require__(/*! ../internals/to-integer-or-infinity */ 56902);
    var arraySpeciesCreate = __webpack_require__(/*! ../internals/array-species-create */ 81427);
    
    // `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;
      }
    });
    
    
    /***/ }),
    
    /***/ 99382:
    /*!***********************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.array.from.js ***!
      \***********************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var from = __webpack_require__(/*! ../internals/array-from */ 60255);
    var checkCorrectnessOfIteration = __webpack_require__(/*! ../internals/check-correctness-of-iteration */ 35221);
    
    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
    });
    
    
    /***/ }),
    
    /***/ 88437:
    /*!***************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.array.includes.js ***!
      \***************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var $includes = (__webpack_require__(/*! ../internals/array-includes */ 22999).includes);
    var fails = __webpack_require__(/*! ../internals/fails */ 3338);
    var addToUnscopables = __webpack_require__(/*! ../internals/add-to-unscopables */ 81181);
    
    // 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');
    
    
    /***/ }),
    
    /***/ 11005:
    /*!***************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.array.iterator.js ***!
      \***************************************************************************/
    /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var toIndexedObject = __webpack_require__(/*! ../internals/to-indexed-object */ 80524);
    var addToUnscopables = __webpack_require__(/*! ../internals/add-to-unscopables */ 81181);
    var Iterators = __webpack_require__(/*! ../internals/iterators */ 48074);
    var InternalStateModule = __webpack_require__(/*! ../internals/internal-state */ 94844);
    var defineProperty = (__webpack_require__(/*! ../internals/object-define-property */ 37691).f);
    var defineIterator = __webpack_require__(/*! ../internals/iterator-define */ 24019);
    var createIterResultObject = __webpack_require__(/*! ../internals/create-iter-result-object */ 25587);
    var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ 16697);
    var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ 35454);
    
    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 = undefined;
        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 */ }
    
    
    /***/ }),
    
    /***/ 70348:
    /*!***********************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.array.join.js ***!
      \***********************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ 94237);
    var IndexedObject = __webpack_require__(/*! ../internals/indexed-object */ 1835);
    var toIndexedObject = __webpack_require__(/*! ../internals/to-indexed-object */ 80524);
    var arrayMethodIsStrict = __webpack_require__(/*! ../internals/array-method-is-strict */ 45601);
    
    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);
      }
    });
    
    
    /***/ }),
    
    /***/ 91550:
    /*!**********************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.array.map.js ***!
      \**********************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var $map = (__webpack_require__(/*! ../internals/array-iteration */ 90560).map);
    var arrayMethodHasSpeciesSupport = __webpack_require__(/*! ../internals/array-method-has-species-support */ 17480);
    
    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);
      }
    });
    
    
    /***/ }),
    
    /***/ 85223:
    /*!*********************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.array.of.js ***!
      \*********************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var fails = __webpack_require__(/*! ../internals/fails */ 3338);
    var isConstructor = __webpack_require__(/*! ../internals/is-constructor */ 39812);
    var createProperty = __webpack_require__(/*! ../internals/create-property */ 69392);
    
    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;
      }
    });
    
    
    /***/ }),
    
    /***/ 7154:
    /*!***********************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.array.push.js ***!
      \***********************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var toObject = __webpack_require__(/*! ../internals/to-object */ 94029);
    var lengthOfArrayLike = __webpack_require__(/*! ../internals/length-of-array-like */ 82762);
    var setArrayLength = __webpack_require__(/*! ../internals/array-set-length */ 39428);
    var doesNotExceedSafeInteger = __webpack_require__(/*! ../internals/does-not-exceed-safe-integer */ 66434);
    var fails = __webpack_require__(/*! ../internals/fails */ 3338);
    
    var INCORRECT_TO_LENGTH = fails(function () {
      return [].push.call({ length: 0x100000000 }, 1) !== 4294967297;
    });
    
    // V8 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;
      }
    });
    
    
    /***/ }),
    
    /***/ 96009:
    /*!*******************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.array.reduce-right.js ***!
      \*******************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var $reduceRight = (__webpack_require__(/*! ../internals/array-reduce */ 16370).right);
    var arrayMethodIsStrict = __webpack_require__(/*! ../internals/array-method-is-strict */ 45601);
    var CHROME_VERSION = __webpack_require__(/*! ../internals/engine-v8-version */ 46573);
    var IS_NODE = __webpack_require__(/*! ../internals/engine-is-node */ 90946);
    
    // 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);
      }
    });
    
    
    /***/ }),
    
    /***/ 67788:
    /*!*************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.array.reduce.js ***!
      \*************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var $reduce = (__webpack_require__(/*! ../internals/array-reduce */ 16370).left);
    var arrayMethodIsStrict = __webpack_require__(/*! ../internals/array-method-is-strict */ 45601);
    var CHROME_VERSION = __webpack_require__(/*! ../internals/engine-v8-version */ 46573);
    var IS_NODE = __webpack_require__(/*! ../internals/engine-is-node */ 90946);
    
    // 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);
      }
    });
    
    
    /***/ }),
    
    /***/ 9402:
    /*!**************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.array.reverse.js ***!
      \**************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ 94237);
    var isArray = __webpack_require__(/*! ../internals/is-array */ 18589);
    
    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);
      }
    });
    
    
    /***/ }),
    
    /***/ 62489:
    /*!************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.array.slice.js ***!
      \************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var isArray = __webpack_require__(/*! ../internals/is-array */ 18589);
    var isConstructor = __webpack_require__(/*! ../internals/is-constructor */ 39812);
    var isObject = __webpack_require__(/*! ../internals/is-object */ 31946);
    var toAbsoluteIndex = __webpack_require__(/*! ../internals/to-absolute-index */ 51981);
    var lengthOfArrayLike = __webpack_require__(/*! ../internals/length-of-array-like */ 82762);
    var toIndexedObject = __webpack_require__(/*! ../internals/to-indexed-object */ 80524);
    var createProperty = __webpack_require__(/*! ../internals/create-property */ 69392);
    var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ 59893);
    var arrayMethodHasSpeciesSupport = __webpack_require__(/*! ../internals/array-method-has-species-support */ 17480);
    var nativeSlice = __webpack_require__(/*! ../internals/array-slice */ 30867);
    
    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;
      }
    });
    
    
    /***/ }),
    
    /***/ 62837:
    /*!***********************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.array.sort.js ***!
      \***********************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ 94237);
    var aCallable = __webpack_require__(/*! ../internals/a-callable */ 63335);
    var toObject = __webpack_require__(/*! ../internals/to-object */ 94029);
    var lengthOfArrayLike = __webpack_require__(/*! ../internals/length-of-array-like */ 82762);
    var deletePropertyOrThrow = __webpack_require__(/*! ../internals/delete-property-or-throw */ 84233);
    var toString = __webpack_require__(/*! ../internals/to-string */ 69905);
    var fails = __webpack_require__(/*! ../internals/fails */ 3338);
    var internalSort = __webpack_require__(/*! ../internals/array-sort */ 63668);
    var arrayMethodIsStrict = __webpack_require__(/*! ../internals/array-method-is-strict */ 45601);
    var FF = __webpack_require__(/*! ../internals/engine-ff-version */ 78177);
    var IE_OR_EDGE = __webpack_require__(/*! ../internals/engine-is-ie-or-edge */ 17687);
    var V8 = __webpack_require__(/*! ../internals/engine-v8-version */ 46573);
    var WEBKIT = __webpack_require__(/*! ../internals/engine-webkit-version */ 19684);
    
    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;
      }
    });
    
    
    /***/ }),
    
    /***/ 4705:
    /*!**************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.array.species.js ***!
      \**************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var setSpecies = __webpack_require__(/*! ../internals/set-species */ 51996);
    
    // `Array[@@species]` getter
    // https://tc39.es/ecma262/#sec-get-array-@@species
    setSpecies('Array');
    
    
    /***/ }),
    
    /***/ 13941:
    /*!*************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.array.splice.js ***!
      \*************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var toObject = __webpack_require__(/*! ../internals/to-object */ 94029);
    var toAbsoluteIndex = __webpack_require__(/*! ../internals/to-absolute-index */ 51981);
    var toIntegerOrInfinity = __webpack_require__(/*! ../internals/to-integer-or-infinity */ 56902);
    var lengthOfArrayLike = __webpack_require__(/*! ../internals/length-of-array-like */ 82762);
    var setArrayLength = __webpack_require__(/*! ../internals/array-set-length */ 39428);
    var doesNotExceedSafeInteger = __webpack_require__(/*! ../internals/does-not-exceed-safe-integer */ 66434);
    var arraySpeciesCreate = __webpack_require__(/*! ../internals/array-species-create */ 81427);
    var createProperty = __webpack_require__(/*! ../internals/create-property */ 69392);
    var deletePropertyOrThrow = __webpack_require__(/*! ../internals/delete-property-or-throw */ 84233);
    var arrayMethodHasSpeciesSupport = __webpack_require__(/*! ../internals/array-method-has-species-support */ 17480);
    
    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;
      }
    });
    
    
    /***/ }),
    
    /***/ 1148:
    /*!******************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.array.to-reversed.js ***!
      \******************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var arrayToReversed = __webpack_require__(/*! ../internals/array-to-reversed */ 85903);
    var toIndexedObject = __webpack_require__(/*! ../internals/to-indexed-object */ 80524);
    var addToUnscopables = __webpack_require__(/*! ../internals/add-to-unscopables */ 81181);
    
    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');
    
    
    /***/ }),
    
    /***/ 82445:
    /*!****************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.array.to-sorted.js ***!
      \****************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ 94237);
    var aCallable = __webpack_require__(/*! ../internals/a-callable */ 63335);
    var toIndexedObject = __webpack_require__(/*! ../internals/to-indexed-object */ 80524);
    var arrayFromConstructorAndList = __webpack_require__(/*! ../internals/array-from-constructor-and-list */ 69478);
    var getBuiltInPrototypeMethod = __webpack_require__(/*! ../internals/get-built-in-prototype-method */ 55174);
    var addToUnscopables = __webpack_require__(/*! ../internals/add-to-unscopables */ 81181);
    
    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');
    
    
    /***/ }),
    
    /***/ 27267:
    /*!*****************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.array.to-spliced.js ***!
      \*****************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var addToUnscopables = __webpack_require__(/*! ../internals/add-to-unscopables */ 81181);
    var doesNotExceedSafeInteger = __webpack_require__(/*! ../internals/does-not-exceed-safe-integer */ 66434);
    var lengthOfArrayLike = __webpack_require__(/*! ../internals/length-of-array-like */ 82762);
    var toAbsoluteIndex = __webpack_require__(/*! ../internals/to-absolute-index */ 51981);
    var toIndexedObject = __webpack_require__(/*! ../internals/to-indexed-object */ 80524);
    var toIntegerOrInfinity = __webpack_require__(/*! ../internals/to-integer-or-infinity */ 56902);
    
    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');
    
    
    /***/ }),
    
    /***/ 90308:
    /*!***************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.array.unscopables.flat-map.js ***!
      \***************************************************************************************/
    /***/ (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__(/*! ../internals/add-to-unscopables */ 81181);
    
    // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
    addToUnscopables('flatMap');
    
    
    /***/ }),
    
    /***/ 96353:
    /*!***********************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.array.unscopables.flat.js ***!
      \***********************************************************************************/
    /***/ (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__(/*! ../internals/add-to-unscopables */ 81181);
    
    // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
    addToUnscopables('flat');
    
    
    /***/ }),
    
    /***/ 84818:
    /*!**************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.array.unshift.js ***!
      \**************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var toObject = __webpack_require__(/*! ../internals/to-object */ 94029);
    var lengthOfArrayLike = __webpack_require__(/*! ../internals/length-of-array-like */ 82762);
    var setArrayLength = __webpack_require__(/*! ../internals/array-set-length */ 39428);
    var deletePropertyOrThrow = __webpack_require__(/*! ../internals/delete-property-or-throw */ 84233);
    var doesNotExceedSafeInteger = __webpack_require__(/*! ../internals/does-not-exceed-safe-integer */ 66434);
    
    // 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);
      }
    });
    
    
    /***/ }),
    
    /***/ 80585:
    /*!***********************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.array.with.js ***!
      \***********************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var arrayWith = __webpack_require__(/*! ../internals/array-with */ 82041);
    var toIndexedObject = __webpack_require__(/*! ../internals/to-indexed-object */ 80524);
    
    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);
      }
    });
    
    
    /***/ }),
    
    /***/ 69762:
    /*!******************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.date.to-primitive.js ***!
      \******************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ 32621);
    var defineBuiltIn = __webpack_require__(/*! ../internals/define-built-in */ 2291);
    var dateToPrimitive = __webpack_require__(/*! ../internals/date-to-primitive */ 77119);
    var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ 59893);
    
    var TO_PRIMITIVE = wellKnownSymbol('toPrimitive');
    var DatePrototype = Date.prototype;
    
    // `Date.prototype[@@toPrimitive]` method
    // https://tc39.es/ecma262/#sec-date.prototype-@@toprimitive
    if (!hasOwn(DatePrototype, TO_PRIMITIVE)) {
      defineBuiltIn(DatePrototype, TO_PRIMITIVE, dateToPrimitive);
    }
    
    
    /***/ }),
    
    /***/ 31808:
    /*!************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.error.cause.js ***!
      \************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    /* eslint-disable no-unused-vars -- required for functions `.length` */
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var global = __webpack_require__(/*! ../internals/global */ 92916);
    var apply = __webpack_require__(/*! ../internals/function-apply */ 13743);
    var wrapErrorConstructorWithCause = __webpack_require__(/*! ../internals/wrap-error-constructor-with-cause */ 78540);
    
    var WEB_ASSEMBLY = 'WebAssembly';
    var WebAssembly = global[WEB_ASSEMBLY];
    
    // eslint-disable-next-line es/no-error-cause -- feature detection
    var FORCED = new Error('e', { cause: 7 }).cause !== 7;
    
    var exportGlobalErrorCauseWrapper = function (ERROR_NAME, wrapper) {
      var O = {};
      O[ERROR_NAME] = wrapErrorConstructorWithCause(ERROR_NAME, wrapper, FORCED);
      $({ global: true, constructor: true, arity: 1, forced: FORCED }, O);
    };
    
    var exportWebAssemblyErrorCauseWrapper = function (ERROR_NAME, wrapper) {
      if (WebAssembly && WebAssembly[ERROR_NAME]) {
        var O = {};
        O[ERROR_NAME] = wrapErrorConstructorWithCause(WEB_ASSEMBLY + '.' + ERROR_NAME, wrapper, FORCED);
        $({ target: WEB_ASSEMBLY, stat: true, constructor: true, arity: 1, forced: FORCED }, O);
      }
    };
    
    // https://tc39.es/ecma262/#sec-nativeerror
    exportGlobalErrorCauseWrapper('Error', function (init) {
      return function Error(message) { return apply(init, this, arguments); };
    });
    exportGlobalErrorCauseWrapper('EvalError', function (init) {
      return function EvalError(message) { return apply(init, this, arguments); };
    });
    exportGlobalErrorCauseWrapper('RangeError', function (init) {
      return function RangeError(message) { return apply(init, this, arguments); };
    });
    exportGlobalErrorCauseWrapper('ReferenceError', function (init) {
      return function ReferenceError(message) { return apply(init, this, arguments); };
    });
    exportGlobalErrorCauseWrapper('SyntaxError', function (init) {
      return function SyntaxError(message) { return apply(init, this, arguments); };
    });
    exportGlobalErrorCauseWrapper('TypeError', function (init) {
      return function TypeError(message) { return apply(init, this, arguments); };
    });
    exportGlobalErrorCauseWrapper('URIError', function (init) {
      return function URIError(message) { return apply(init, this, arguments); };
    });
    exportWebAssemblyErrorCauseWrapper('CompileError', function (init) {
      return function CompileError(message) { return apply(init, this, arguments); };
    });
    exportWebAssemblyErrorCauseWrapper('LinkError', function (init) {
      return function LinkError(message) { return apply(init, this, arguments); };
    });
    exportWebAssemblyErrorCauseWrapper('RuntimeError', function (init) {
      return function RuntimeError(message) { return apply(init, this, arguments); };
    });
    
    
    /***/ }),
    
    /***/ 56450:
    /*!**********************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.function.has-instance.js ***!
      \**********************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var isCallable = __webpack_require__(/*! ../internals/is-callable */ 55327);
    var isObject = __webpack_require__(/*! ../internals/is-object */ 31946);
    var definePropertyModule = __webpack_require__(/*! ../internals/object-define-property */ 37691);
    var getPrototypeOf = __webpack_require__(/*! ../internals/object-get-prototype-of */ 53456);
    var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ 59893);
    var makeBuiltIn = __webpack_require__(/*! ../internals/make-built-in */ 86528);
    
    var HAS_INSTANCE = wellKnownSymbol('hasInstance');
    var FunctionPrototype = Function.prototype;
    
    // `Function.prototype[@@hasInstance]` method
    // https://tc39.es/ecma262/#sec-function.prototype-@@hasinstance
    if (!(HAS_INSTANCE in FunctionPrototype)) {
      definePropertyModule.f(FunctionPrototype, HAS_INSTANCE, { value: makeBuiltIn(function (O) {
        if (!isCallable(this) || !isObject(O)) return false;
        var P = this.prototype;
        if (!isObject(P)) return O instanceof this;
        // for environment w/o native `@@hasInstance` logic enough `instanceof`, but add this:
        while (O = getPrototypeOf(O)) if (P === O) return true;
        return false;
      }, HAS_INSTANCE) });
    }
    
    
    /***/ }),
    
    /***/ 78342:
    /*!**************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.function.name.js ***!
      \**************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ 35454);
    var FUNCTION_NAME_EXISTS = (__webpack_require__(/*! ../internals/function-name */ 8090).EXISTS);
    var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ 94237);
    var defineBuiltInAccessor = __webpack_require__(/*! ../internals/define-built-in-accessor */ 64110);
    
    var FunctionPrototype = Function.prototype;
    var functionToString = uncurryThis(FunctionPrototype.toString);
    var nameRE = /function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/;
    var regExpExec = uncurryThis(nameRE.exec);
    var NAME = 'name';
    
    // Function instances `.name` property
    // https://tc39.es/ecma262/#sec-function-instances-name
    if (DESCRIPTORS && !FUNCTION_NAME_EXISTS) {
      defineBuiltInAccessor(FunctionPrototype, NAME, {
        configurable: true,
        get: function () {
          try {
            return regExpExec(nameRE, functionToString(this))[1];
          } catch (error) {
            return '';
          }
        }
      });
    }
    
    
    /***/ }),
    
    /***/ 13161:
    /*!************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.global-this.js ***!
      \************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var global = __webpack_require__(/*! ../internals/global */ 92916);
    
    // `globalThis` object
    // https://tc39.es/ecma262/#sec-globalthis
    $({ global: true, forced: global.globalThis !== global }, {
      globalThis: global
    });
    
    
    /***/ }),
    
    /***/ 54226:
    /*!***************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.json.stringify.js ***!
      \***************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ 65911);
    var apply = __webpack_require__(/*! ../internals/function-apply */ 13743);
    var call = __webpack_require__(/*! ../internals/function-call */ 89945);
    var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ 94237);
    var fails = __webpack_require__(/*! ../internals/fails */ 3338);
    var isCallable = __webpack_require__(/*! ../internals/is-callable */ 55327);
    var isSymbol = __webpack_require__(/*! ../internals/is-symbol */ 18446);
    var arraySlice = __webpack_require__(/*! ../internals/array-slice */ 30867);
    var getReplacerFunction = __webpack_require__(/*! ../internals/get-json-replacer-function */ 65451);
    var NATIVE_SYMBOL = __webpack_require__(/*! ../internals/symbol-constructor-detection */ 42820);
    
    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;
        }
      });
    }
    
    
    /***/ }),
    
    /***/ 70201:
    /*!*******************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.json.to-string-tag.js ***!
      \*******************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var global = __webpack_require__(/*! ../internals/global */ 92916);
    var setToStringTag = __webpack_require__(/*! ../internals/set-to-string-tag */ 94573);
    
    // JSON[@@toStringTag] property
    // https://tc39.es/ecma262/#sec-json-@@tostringtag
    setToStringTag(global.JSON, 'JSON', true);
    
    
    /***/ }),
    
    /***/ 44781:
    /*!****************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.map.constructor.js ***!
      \****************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var collection = __webpack_require__(/*! ../internals/collection */ 48059);
    var collectionStrong = __webpack_require__(/*! ../internals/collection-strong */ 40942);
    
    // `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);
    
    
    /***/ }),
    
    /***/ 85671:
    /*!*************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.map.group-by.js ***!
      \*************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ 94237);
    var aCallable = __webpack_require__(/*! ../internals/a-callable */ 63335);
    var requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ 95955);
    var iterate = __webpack_require__(/*! ../internals/iterate */ 62003);
    var MapHelpers = __webpack_require__(/*! ../internals/map-helpers */ 2786);
    var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ 16697);
    
    var Map = MapHelpers.Map;
    var has = MapHelpers.has;
    var get = MapHelpers.get;
    var set = MapHelpers.set;
    var push = uncurryThis([].push);
    
    // `Map.groupBy` method
    // https://github.com/tc39/proposal-array-grouping
    $({ target: 'Map', stat: true, forced: IS_PURE }, {
      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;
      }
    });
    
    
    /***/ }),
    
    /***/ 34941:
    /*!****************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.map.js ***!
      \****************************************************************/
    /***/ (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__(/*! ../modules/es.map.constructor */ 44781);
    
    
    /***/ }),
    
    /***/ 35152:
    /*!***********************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.math.acosh.js ***!
      \***********************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var log1p = __webpack_require__(/*! ../internals/math-log1p */ 25726);
    
    // eslint-disable-next-line es/no-math-acosh -- required for testing
    var $acosh = Math.acosh;
    var log = Math.log;
    var sqrt = Math.sqrt;
    var LN2 = Math.LN2;
    
    var FORCED = !$acosh
      // V8 bug: https://code.google.com/p/v8/issues/detail?id=3509
      || Math.floor($acosh(Number.MAX_VALUE)) !== 710
      // Tor Browser bug: Math.acosh(Infinity) -> NaN
      || $acosh(Infinity) !== Infinity;
    
    // `Math.acosh` method
    // https://tc39.es/ecma262/#sec-math.acosh
    $({ target: 'Math', stat: true, forced: FORCED }, {
      acosh: function acosh(x) {
        var n = +x;
        return n < 1 ? NaN : n > 94906265.62425156
          ? log(n) + LN2
          : log1p(n - 1 + sqrt(n - 1) * sqrt(n + 1));
      }
    });
    
    
    /***/ }),
    
    /***/ 85660:
    /*!***********************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.math.asinh.js ***!
      \***********************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    
    // eslint-disable-next-line es/no-math-asinh -- required for testing
    var $asinh = Math.asinh;
    var log = Math.log;
    var sqrt = Math.sqrt;
    
    function asinh(x) {
      var n = +x;
      return !isFinite(n) || n === 0 ? n : n < 0 ? -asinh(-n) : log(n + sqrt(n * n + 1));
    }
    
    var FORCED = !($asinh && 1 / $asinh(0) > 0);
    
    // `Math.asinh` method
    // https://tc39.es/ecma262/#sec-math.asinh
    // Tor Browser bug: Math.asinh(0) -> -0
    $({ target: 'Math', stat: true, forced: FORCED }, {
      asinh: asinh
    });
    
    
    /***/ }),
    
    /***/ 80031:
    /*!***********************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.math.atanh.js ***!
      \***********************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    
    // eslint-disable-next-line es/no-math-atanh -- required for testing
    var $atanh = Math.atanh;
    var log = Math.log;
    
    var FORCED = !($atanh && 1 / $atanh(-0) < 0);
    
    // `Math.atanh` method
    // https://tc39.es/ecma262/#sec-math.atanh
    // Tor Browser bug: Math.atanh(-0) -> 0
    $({ target: 'Math', stat: true, forced: FORCED }, {
      atanh: function atanh(x) {
        var n = +x;
        return n === 0 ? n : log((1 + n) / (1 - n)) / 2;
      }
    });
    
    
    /***/ }),
    
    /***/ 34434:
    /*!**********************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.math.cbrt.js ***!
      \**********************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var sign = __webpack_require__(/*! ../internals/math-sign */ 37666);
    
    var abs = Math.abs;
    var pow = Math.pow;
    
    // `Math.cbrt` method
    // https://tc39.es/ecma262/#sec-math.cbrt
    $({ target: 'Math', stat: true }, {
      cbrt: function cbrt(x) {
        var n = +x;
        return sign(n) * pow(abs(n), 1 / 3);
      }
    });
    
    
    /***/ }),
    
    /***/ 83579:
    /*!***********************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.math.clz32.js ***!
      \***********************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    
    var floor = Math.floor;
    var log = Math.log;
    var LOG2E = Math.LOG2E;
    
    // `Math.clz32` method
    // https://tc39.es/ecma262/#sec-math.clz32
    $({ target: 'Math', stat: true }, {
      clz32: function clz32(x) {
        var n = x >>> 0;
        return n ? 31 - floor(log(n + 0.5) * LOG2E) : 32;
      }
    });
    
    
    /***/ }),
    
    /***/ 74307:
    /*!**********************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.math.cosh.js ***!
      \**********************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var expm1 = __webpack_require__(/*! ../internals/math-expm1 */ 10014);
    
    // eslint-disable-next-line es/no-math-cosh -- required for testing
    var $cosh = Math.cosh;
    var abs = Math.abs;
    var E = Math.E;
    
    var FORCED = !$cosh || $cosh(710) === Infinity;
    
    // `Math.cosh` method
    // https://tc39.es/ecma262/#sec-math.cosh
    $({ target: 'Math', stat: true, forced: FORCED }, {
      cosh: function cosh(x) {
        var t = expm1(abs(x) - 1) + 1;
        return (t + 1 / (t * E * E)) * (E / 2);
      }
    });
    
    
    /***/ }),
    
    /***/ 97423:
    /*!***********************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.math.expm1.js ***!
      \***********************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var expm1 = __webpack_require__(/*! ../internals/math-expm1 */ 10014);
    
    // `Math.expm1` method
    // https://tc39.es/ecma262/#sec-math.expm1
    // eslint-disable-next-line es/no-math-expm1 -- required for testing
    $({ target: 'Math', stat: true, forced: expm1 !== Math.expm1 }, { expm1: expm1 });
    
    
    /***/ }),
    
    /***/ 93321:
    /*!************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.math.fround.js ***!
      \************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var fround = __webpack_require__(/*! ../internals/math-fround */ 14894);
    
    // `Math.fround` method
    // https://tc39.es/ecma262/#sec-math.fround
    $({ target: 'Math', stat: true }, { fround: fround });
    
    
    /***/ }),
    
    /***/ 82277:
    /*!***********************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.math.hypot.js ***!
      \***********************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    
    // eslint-disable-next-line es/no-math-hypot -- required for testing
    var $hypot = Math.hypot;
    var abs = Math.abs;
    var sqrt = Math.sqrt;
    
    // Chrome 77 bug
    // https://bugs.chromium.org/p/v8/issues/detail?id=9546
    var FORCED = !!$hypot && $hypot(Infinity, NaN) !== Infinity;
    
    // `Math.hypot` method
    // https://tc39.es/ecma262/#sec-math.hypot
    $({ target: 'Math', stat: true, arity: 2, forced: FORCED }, {
      // eslint-disable-next-line no-unused-vars -- required for `.length`
      hypot: function hypot(value1, value2) {
        var sum = 0;
        var i = 0;
        var aLen = arguments.length;
        var larg = 0;
        var arg, div;
        while (i < aLen) {
          arg = abs(arguments[i++]);
          if (larg < arg) {
            div = larg / arg;
            sum = sum * div * div + 1;
            larg = arg;
          } else if (arg > 0) {
            div = arg / larg;
            sum += div * div;
          } else sum += arg;
        }
        return larg === Infinity ? Infinity : larg * sqrt(sum);
      }
    });
    
    
    /***/ }),
    
    /***/ 61425:
    /*!**********************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.math.imul.js ***!
      \**********************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var fails = __webpack_require__(/*! ../internals/fails */ 3338);
    
    // eslint-disable-next-line es/no-math-imul -- required for testing
    var $imul = Math.imul;
    
    var FORCED = fails(function () {
      return $imul(0xFFFFFFFF, 5) !== -5 || $imul.length !== 2;
    });
    
    // `Math.imul` method
    // https://tc39.es/ecma262/#sec-math.imul
    // some WebKit versions fails with big numbers, some has wrong arity
    $({ target: 'Math', stat: true, forced: FORCED }, {
      imul: function imul(x, y) {
        var UINT16 = 0xFFFF;
        var xn = +x;
        var yn = +y;
        var xl = UINT16 & xn;
        var yl = UINT16 & yn;
        return 0 | xl * yl + ((UINT16 & xn >>> 16) * yl + xl * (UINT16 & yn >>> 16) << 16 >>> 0);
      }
    });
    
    
    /***/ }),
    
    /***/ 61873:
    /*!***********************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.math.log10.js ***!
      \***********************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var log10 = __webpack_require__(/*! ../internals/math-log10 */ 53309);
    
    // `Math.log10` method
    // https://tc39.es/ecma262/#sec-math.log10
    $({ target: 'Math', stat: true }, {
      log10: log10
    });
    
    
    /***/ }),
    
    /***/ 9307:
    /*!***********************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.math.log1p.js ***!
      \***********************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var log1p = __webpack_require__(/*! ../internals/math-log1p */ 25726);
    
    // `Math.log1p` method
    // https://tc39.es/ecma262/#sec-math.log1p
    $({ target: 'Math', stat: true }, { log1p: log1p });
    
    
    /***/ }),
    
    /***/ 8821:
    /*!**********************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.math.log2.js ***!
      \**********************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    
    var log = Math.log;
    var LN2 = Math.LN2;
    
    // `Math.log2` method
    // https://tc39.es/ecma262/#sec-math.log2
    $({ target: 'Math', stat: true }, {
      log2: function log2(x) {
        return log(x) / LN2;
      }
    });
    
    
    /***/ }),
    
    /***/ 64385:
    /*!**********************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.math.sign.js ***!
      \**********************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var sign = __webpack_require__(/*! ../internals/math-sign */ 37666);
    
    // `Math.sign` method
    // https://tc39.es/ecma262/#sec-math.sign
    $({ target: 'Math', stat: true }, {
      sign: sign
    });
    
    
    /***/ }),
    
    /***/ 64099:
    /*!**********************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.math.sinh.js ***!
      \**********************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var fails = __webpack_require__(/*! ../internals/fails */ 3338);
    var expm1 = __webpack_require__(/*! ../internals/math-expm1 */ 10014);
    
    var abs = Math.abs;
    var exp = Math.exp;
    var E = Math.E;
    
    var FORCED = fails(function () {
      // eslint-disable-next-line es/no-math-sinh -- required for testing
      return Math.sinh(-2e-17) !== -2e-17;
    });
    
    // `Math.sinh` method
    // https://tc39.es/ecma262/#sec-math.sinh
    // V8 near Chromium 38 has a problem with very small numbers
    $({ target: 'Math', stat: true, forced: FORCED }, {
      sinh: function sinh(x) {
        var n = +x;
        return abs(n) < 1 ? (expm1(n) - expm1(-n)) / 2 : (exp(n - 1) - exp(-n - 1)) * (E / 2);
      }
    });
    
    
    /***/ }),
    
    /***/ 62455:
    /*!**********************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.math.tanh.js ***!
      \**********************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var expm1 = __webpack_require__(/*! ../internals/math-expm1 */ 10014);
    
    var exp = Math.exp;
    
    // `Math.tanh` method
    // https://tc39.es/ecma262/#sec-math.tanh
    $({ target: 'Math', stat: true }, {
      tanh: function tanh(x) {
        var n = +x;
        var a = expm1(n);
        var b = expm1(-n);
        return a === Infinity ? 1 : b === Infinity ? -1 : (a - b) / (exp(n) + exp(-n));
      }
    });
    
    
    /***/ }),
    
    /***/ 79965:
    /*!*******************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.math.to-string-tag.js ***!
      \*******************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var setToStringTag = __webpack_require__(/*! ../internals/set-to-string-tag */ 94573);
    
    // Math[@@toStringTag] property
    // https://tc39.es/ecma262/#sec-math-@@tostringtag
    setToStringTag(Math, 'Math', true);
    
    
    /***/ }),
    
    /***/ 59118:
    /*!***********************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.math.trunc.js ***!
      \***********************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var trunc = __webpack_require__(/*! ../internals/math-trunc */ 3312);
    
    // `Math.trunc` method
    // https://tc39.es/ecma262/#sec-math.trunc
    $({ target: 'Math', stat: true }, {
      trunc: trunc
    });
    
    
    /***/ }),
    
    /***/ 275:
    /*!*******************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.number.constructor.js ***!
      \*******************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ 16697);
    var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ 35454);
    var global = __webpack_require__(/*! ../internals/global */ 92916);
    var path = __webpack_require__(/*! ../internals/path */ 9699);
    var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ 94237);
    var isForced = __webpack_require__(/*! ../internals/is-forced */ 20865);
    var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ 32621);
    var inheritIfRequired = __webpack_require__(/*! ../internals/inherit-if-required */ 25576);
    var isPrototypeOf = __webpack_require__(/*! ../internals/object-is-prototype-of */ 16332);
    var isSymbol = __webpack_require__(/*! ../internals/is-symbol */ 18446);
    var toPrimitive = __webpack_require__(/*! ../internals/to-primitive */ 97954);
    var fails = __webpack_require__(/*! ../internals/fails */ 3338);
    var getOwnPropertyNames = (__webpack_require__(/*! ../internals/object-get-own-property-names */ 80689).f);
    var getOwnPropertyDescriptor = (__webpack_require__(/*! ../internals/object-get-own-property-descriptor */ 71256).f);
    var defineProperty = (__webpack_require__(/*! ../internals/object-define-property */ 37691).f);
    var thisNumberValue = __webpack_require__(/*! ../internals/this-number-value */ 49228);
    var trim = (__webpack_require__(/*! ../internals/string-trim */ 52971).trim);
    
    var NUMBER = 'Number';
    var NativeNumber = global[NUMBER];
    var PureNumberNamespace = path[NUMBER];
    var NumberPrototype = NativeNumber.prototype;
    var TypeError = global.TypeError;
    var stringSlice = uncurryThis(''.slice);
    var charCodeAt = uncurryThis(''.charCodeAt);
    
    // `ToNumeric` abstract operation
    // https://tc39.es/ecma262/#sec-tonumeric
    var toNumeric = function (value) {
      var primValue = toPrimitive(value, 'number');
      return typeof primValue == 'bigint' ? primValue : toNumber(primValue);
    };
    
    // `ToNumber` abstract operation
    // https://tc39.es/ecma262/#sec-tonumber
    var toNumber = function (argument) {
      var it = toPrimitive(argument, 'number');
      var first, third, radix, maxCode, digits, length, index, code;
      if (isSymbol(it)) throw new TypeError('Cannot convert a Symbol value to a number');
      if (typeof it == 'string' && it.length > 2) {
        it = trim(it);
        first = charCodeAt(it, 0);
        if (first === 43 || first === 45) {
          third = charCodeAt(it, 2);
          if (third === 88 || third === 120) return NaN; // Number('+0x1') should be NaN, old V8 fix
        } else if (first === 48) {
          switch (charCodeAt(it, 1)) {
            // fast equal of /^0b[01]+$/i
            case 66:
            case 98:
              radix = 2;
              maxCode = 49;
              break;
            // fast equal of /^0o[0-7]+$/i
            case 79:
            case 111:
              radix = 8;
              maxCode = 55;
              break;
            default:
              return +it;
          }
          digits = stringSlice(it, 2);
          length = digits.length;
          for (index = 0; index < length; index++) {
            code = charCodeAt(digits, index);
            // parseInt parses a string to a first unavailable symbol
            // but ToNumber should return NaN if a string contains unavailable symbols
            if (code < 48 || code > maxCode) return NaN;
          } return parseInt(digits, radix);
        }
      } return +it;
    };
    
    var FORCED = isForced(NUMBER, !NativeNumber(' 0o1') || !NativeNumber('0b1') || NativeNumber('+0x1'));
    
    var calledWithNew = function (dummy) {
      // includes check on 1..constructor(foo) case
      return isPrototypeOf(NumberPrototype, dummy) && fails(function () { thisNumberValue(dummy); });
    };
    
    // `Number` constructor
    // https://tc39.es/ecma262/#sec-number-constructor
    var NumberWrapper = function Number(value) {
      var n = arguments.length < 1 ? 0 : NativeNumber(toNumeric(value));
      return calledWithNew(this) ? inheritIfRequired(Object(n), this, NumberWrapper) : n;
    };
    
    NumberWrapper.prototype = NumberPrototype;
    if (FORCED && !IS_PURE) NumberPrototype.constructor = NumberWrapper;
    
    $({ global: true, constructor: true, wrap: true, forced: FORCED }, {
      Number: NumberWrapper
    });
    
    // Use `internal/copy-constructor-properties` helper in `core-js@4`
    var copyConstructorProperties = function (target, source) {
      for (var keys = DESCRIPTORS ? getOwnPropertyNames(source) : (
        // ES3:
        'MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,' +
        // ES2015 (in case, if modules with ES2015 Number statics required before):
        'EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,' +
        // ESNext
        'fromString,range'
      ).split(','), j = 0, key; keys.length > j; j++) {
        if (hasOwn(source, key = keys[j]) && !hasOwn(target, key)) {
          defineProperty(target, key, getOwnPropertyDescriptor(source, key));
        }
      }
    };
    
    if (IS_PURE && PureNumberNamespace) copyConstructorProperties(path[NUMBER], PureNumberNamespace);
    if (FORCED || IS_PURE) copyConstructorProperties(path[NUMBER], NativeNumber);
    
    
    /***/ }),
    
    /***/ 31919:
    /*!***************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.number.epsilon.js ***!
      \***************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    
    // `Number.EPSILON` constant
    // https://tc39.es/ecma262/#sec-number.epsilon
    $({ target: 'Number', stat: true, nonConfigurable: true, nonWritable: true }, {
      EPSILON: Math.pow(2, -52)
    });
    
    
    /***/ }),
    
    /***/ 51284:
    /*!*****************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.number.is-finite.js ***!
      \*****************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var numberIsFinite = __webpack_require__(/*! ../internals/number-is-finite */ 1222);
    
    // `Number.isFinite` method
    // https://tc39.es/ecma262/#sec-number.isfinite
    $({ target: 'Number', stat: true }, { isFinite: numberIsFinite });
    
    
    /***/ }),
    
    /***/ 10177:
    /*!******************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.number.is-integer.js ***!
      \******************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var isIntegralNumber = __webpack_require__(/*! ../internals/is-integral-number */ 62896);
    
    // `Number.isInteger` method
    // https://tc39.es/ecma262/#sec-number.isinteger
    $({ target: 'Number', stat: true }, {
      isInteger: isIntegralNumber
    });
    
    
    /***/ }),
    
    /***/ 85690:
    /*!**************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.number.is-nan.js ***!
      \**************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    
    // `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;
      }
    });
    
    
    /***/ }),
    
    /***/ 92114:
    /*!***********************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.number.is-safe-integer.js ***!
      \***********************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var isIntegralNumber = __webpack_require__(/*! ../internals/is-integral-number */ 62896);
    
    var abs = Math.abs;
    
    // `Number.isSafeInteger` method
    // https://tc39.es/ecma262/#sec-number.issafeinteger
    $({ target: 'Number', stat: true }, {
      isSafeInteger: function isSafeInteger(number) {
        return isIntegralNumber(number) && abs(number) <= 0x1FFFFFFFFFFFFF;
      }
    });
    
    
    /***/ }),
    
    /***/ 1017:
    /*!************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.number.max-safe-integer.js ***!
      \************************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    
    // `Number.MAX_SAFE_INTEGER` constant
    // https://tc39.es/ecma262/#sec-number.max_safe_integer
    $({ target: 'Number', stat: true, nonConfigurable: true, nonWritable: true }, {
      MAX_SAFE_INTEGER: 0x1FFFFFFFFFFFFF
    });
    
    
    /***/ }),
    
    /***/ 14480:
    /*!************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.number.min-safe-integer.js ***!
      \************************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    
    // `Number.MIN_SAFE_INTEGER` constant
    // https://tc39.es/ecma262/#sec-number.min_safe_integer
    $({ target: 'Number', stat: true, nonConfigurable: true, nonWritable: true }, {
      MIN_SAFE_INTEGER: -0x1FFFFFFFFFFFFF
    });
    
    
    /***/ }),
    
    /***/ 40516:
    /*!*******************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.number.parse-float.js ***!
      \*******************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var parseFloat = __webpack_require__(/*! ../internals/number-parse-float */ 31280);
    
    // `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
    });
    
    
    /***/ }),
    
    /***/ 76345:
    /*!*****************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.number.parse-int.js ***!
      \*****************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var parseInt = __webpack_require__(/*! ../internals/number-parse-int */ 52446);
    
    // `Number.parseInt` method
    // https://tc39.es/ecma262/#sec-number.parseint
    // eslint-disable-next-line es/no-number-parseint -- required for testing
    $({ target: 'Number', stat: true, forced: Number.parseInt !== parseInt }, {
      parseInt: parseInt
    });
    
    
    /***/ }),
    
    /***/ 7282:
    /*!**********************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.number.to-exponential.js ***!
      \**********************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ 94237);
    var toIntegerOrInfinity = __webpack_require__(/*! ../internals/to-integer-or-infinity */ 56902);
    var thisNumberValue = __webpack_require__(/*! ../internals/this-number-value */ 49228);
    var $repeat = __webpack_require__(/*! ../internals/string-repeat */ 71049);
    var log10 = __webpack_require__(/*! ../internals/math-log10 */ 53309);
    var fails = __webpack_require__(/*! ../internals/fails */ 3338);
    
    var $RangeError = RangeError;
    var $String = String;
    var $isFinite = isFinite;
    var abs = Math.abs;
    var floor = Math.floor;
    var pow = Math.pow;
    var round = Math.round;
    var nativeToExponential = uncurryThis(1.0.toExponential);
    var repeat = uncurryThis($repeat);
    var stringSlice = uncurryThis(''.slice);
    
    // Edge 17-
    var ROUNDS_PROPERLY = nativeToExponential(-6.9e-11, 4) === '-6.9000e-11'
      // IE11- && Edge 14-
      && nativeToExponential(1.255, 2) === '1.25e+0'
      // FF86-, V8 ~ Chrome 49-50
      && nativeToExponential(12345, 3) === '1.235e+4'
      // FF86-, V8 ~ Chrome 49-50
      && nativeToExponential(25, 0) === '3e+1';
    
    // IE8-
    var throwsOnInfinityFraction = function () {
      return fails(function () {
        nativeToExponential(1, Infinity);
      }) && fails(function () {
        nativeToExponential(1, -Infinity);
      });
    };
    
    // Safari <11 && FF <50
    var properNonFiniteThisCheck = function () {
      return !fails(function () {
        nativeToExponential(Infinity, Infinity);
        nativeToExponential(NaN, Infinity);
      });
    };
    
    var FORCED = !ROUNDS_PROPERLY || !throwsOnInfinityFraction() || !properNonFiniteThisCheck();
    
    // `Number.prototype.toExponential` method
    // https://tc39.es/ecma262/#sec-number.prototype.toexponential
    $({ target: 'Number', proto: true, forced: FORCED }, {
      toExponential: function toExponential(fractionDigits) {
        var x = thisNumberValue(this);
        if (fractionDigits === undefined) return nativeToExponential(x);
        var f = toIntegerOrInfinity(fractionDigits);
        if (!$isFinite(x)) return String(x);
        // TODO: ES2018 increased the maximum number of fraction digits to 100, need to improve the implementation
        if (f < 0 || f > 20) throw new $RangeError('Incorrect fraction digits');
        if (ROUNDS_PROPERLY) return nativeToExponential(x, f);
        var s = '';
        var m = '';
        var e = 0;
        var c = '';
        var d = '';
        if (x < 0) {
          s = '-';
          x = -x;
        }
        if (x === 0) {
          e = 0;
          m = repeat('0', f + 1);
        } else {
          // this block is based on https://gist.github.com/SheetJSDev/1100ad56b9f856c95299ed0e068eea08
          // TODO: improve accuracy with big fraction digits
          var l = log10(x);
          e = floor(l);
          var n = 0;
          var w = pow(10, e - f);
          n = round(x / w);
          if (2 * x >= (2 * n + 1) * w) {
            n += 1;
          }
          if (n >= pow(10, f + 1)) {
            n /= 10;
            e += 1;
          }
          m = $String(n);
        }
        if (f !== 0) {
          m = stringSlice(m, 0, 1) + '.' + stringSlice(m, 1);
        }
        if (e === 0) {
          c = '+';
          d = '0';
        } else {
          c = e > 0 ? '+' : '-';
          d = $String(abs(e));
        }
        m += 'e' + c + d;
        return s + m;
      }
    });
    
    
    /***/ }),
    
    /***/ 58055:
    /*!****************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.number.to-fixed.js ***!
      \****************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ 94237);
    var toIntegerOrInfinity = __webpack_require__(/*! ../internals/to-integer-or-infinity */ 56902);
    var thisNumberValue = __webpack_require__(/*! ../internals/this-number-value */ 49228);
    var $repeat = __webpack_require__(/*! ../internals/string-repeat */ 71049);
    var fails = __webpack_require__(/*! ../internals/fails */ 3338);
    
    var $RangeError = RangeError;
    var $String = String;
    var floor = Math.floor;
    var repeat = uncurryThis($repeat);
    var stringSlice = uncurryThis(''.slice);
    var nativeToFixed = uncurryThis(1.0.toFixed);
    
    var pow = function (x, n, acc) {
      return n === 0 ? acc : n % 2 === 1 ? pow(x, n - 1, acc * x) : pow(x * x, n / 2, acc);
    };
    
    var log = function (x) {
      var n = 0;
      var x2 = x;
      while (x2 >= 4096) {
        n += 12;
        x2 /= 4096;
      }
      while (x2 >= 2) {
        n += 1;
        x2 /= 2;
      } return n;
    };
    
    var multiply = function (data, n, c) {
      var index = -1;
      var c2 = c;
      while (++index < 6) {
        c2 += n * data[index];
        data[index] = c2 % 1e7;
        c2 = floor(c2 / 1e7);
      }
    };
    
    var divide = function (data, n) {
      var index = 6;
      var c = 0;
      while (--index >= 0) {
        c += data[index];
        data[index] = floor(c / n);
        c = (c % n) * 1e7;
      }
    };
    
    var dataToString = function (data) {
      var index = 6;
      var s = '';
      while (--index >= 0) {
        if (s !== '' || index === 0 || data[index] !== 0) {
          var t = $String(data[index]);
          s = s === '' ? t : s + repeat('0', 7 - t.length) + t;
        }
      } return s;
    };
    
    var FORCED = fails(function () {
      return nativeToFixed(0.00008, 3) !== '0.000' ||
        nativeToFixed(0.9, 0) !== '1' ||
        nativeToFixed(1.255, 2) !== '1.25' ||
        nativeToFixed(1000000000000000128.0, 0) !== '1000000000000000128';
    }) || !fails(function () {
      // V8 ~ Android 4.3-
      nativeToFixed({});
    });
    
    // `Number.prototype.toFixed` method
    // https://tc39.es/ecma262/#sec-number.prototype.tofixed
    $({ target: 'Number', proto: true, forced: FORCED }, {
      toFixed: function toFixed(fractionDigits) {
        var number = thisNumberValue(this);
        var fractDigits = toIntegerOrInfinity(fractionDigits);
        var data = [0, 0, 0, 0, 0, 0];
        var sign = '';
        var result = '0';
        var e, z, j, k;
    
        // TODO: ES2018 increased the maximum number of fraction digits to 100, need to improve the implementation
        if (fractDigits < 0 || fractDigits > 20) throw new $RangeError('Incorrect fraction digits');
        // eslint-disable-next-line no-self-compare -- NaN check
        if (number !== number) return 'NaN';
        if (number <= -1e21 || number >= 1e21) return $String(number);
        if (number < 0) {
          sign = '-';
          number = -number;
        }
        if (number > 1e-21) {
          e = log(number * pow(2, 69, 1)) - 69;
          z = e < 0 ? number * pow(2, -e, 1) : number / pow(2, e, 1);
          z *= 0x10000000000000;
          e = 52 - e;
          if (e > 0) {
            multiply(data, 0, z);
            j = fractDigits;
            while (j >= 7) {
              multiply(data, 1e7, 0);
              j -= 7;
            }
            multiply(data, pow(10, j, 1), 0);
            j = e - 1;
            while (j >= 23) {
              divide(data, 1 << 23);
              j -= 23;
            }
            divide(data, 1 << j);
            multiply(data, 1, 1);
            divide(data, 2);
            result = dataToString(data);
          } else {
            multiply(data, 0, z);
            multiply(data, 1 << -e, 0);
            result = dataToString(data) + repeat('0', fractDigits);
          }
        }
        if (fractDigits > 0) {
          k = result.length;
          result = sign + (k <= fractDigits
            ? '0.' + repeat('0', fractDigits - k) + result
            : stringSlice(result, 0, k - fractDigits) + '.' + stringSlice(result, k - fractDigits));
        } else {
          result = sign + result;
        } return result;
      }
    });
    
    
    /***/ }),
    
    /***/ 31237:
    /*!**************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.object.assign.js ***!
      \**************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var assign = __webpack_require__(/*! ../internals/object-assign */ 80530);
    
    // `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
    });
    
    
    /***/ }),
    
    /***/ 58580:
    /*!*********************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.object.define-getter.js ***!
      \*********************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ 35454);
    var FORCED = __webpack_require__(/*! ../internals/object-prototype-accessors-forced */ 25837);
    var aCallable = __webpack_require__(/*! ../internals/a-callable */ 63335);
    var toObject = __webpack_require__(/*! ../internals/to-object */ 94029);
    var definePropertyModule = __webpack_require__(/*! ../internals/object-define-property */ 37691);
    
    // `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 });
        }
      });
    }
    
    
    /***/ }),
    
    /***/ 7615:
    /*!*********************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.object.define-setter.js ***!
      \*********************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ 35454);
    var FORCED = __webpack_require__(/*! ../internals/object-prototype-accessors-forced */ 25837);
    var aCallable = __webpack_require__(/*! ../internals/a-callable */ 63335);
    var toObject = __webpack_require__(/*! ../internals/to-object */ 94029);
    var definePropertyModule = __webpack_require__(/*! ../internals/object-define-property */ 37691);
    
    // `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 });
        }
      });
    }
    
    
    /***/ }),
    
    /***/ 72820:
    /*!***************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.object.entries.js ***!
      \***************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var $entries = (__webpack_require__(/*! ../internals/object-to-array */ 88698).entries);
    
    // `Object.entries` method
    // https://tc39.es/ecma262/#sec-object.entries
    $({ target: 'Object', stat: true }, {
      entries: function entries(O) {
        return $entries(O);
      }
    });
    
    
    /***/ }),
    
    /***/ 86070:
    /*!**************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.object.freeze.js ***!
      \**************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var FREEZING = __webpack_require__(/*! ../internals/freezing */ 13247);
    var fails = __webpack_require__(/*! ../internals/fails */ 3338);
    var isObject = __webpack_require__(/*! ../internals/is-object */ 31946);
    var onFreeze = (__webpack_require__(/*! ../internals/internal-metadata */ 2074).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;
      }
    });
    
    
    /***/ }),
    
    /***/ 23569:
    /*!********************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.object.from-entries.js ***!
      \********************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var iterate = __webpack_require__(/*! ../internals/iterate */ 62003);
    var createProperty = __webpack_require__(/*! ../internals/create-property */ 69392);
    
    // `Object.fromEntries` method
    // https://github.com/tc39/proposal-object-from-entries
    $({ target: 'Object', stat: true }, {
      fromEntries: function fromEntries(iterable) {
        var obj = {};
        iterate(iterable, function (k, v) {
          createProperty(obj, k, v);
        }, { AS_ENTRIES: true });
        return obj;
      }
    });
    
    
    /***/ }),
    
    /***/ 55639:
    /*!***********************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.object.get-own-property-descriptor.js ***!
      \***********************************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var fails = __webpack_require__(/*! ../internals/fails */ 3338);
    var toIndexedObject = __webpack_require__(/*! ../internals/to-indexed-object */ 80524);
    var nativeGetOwnPropertyDescriptor = (__webpack_require__(/*! ../internals/object-get-own-property-descriptor */ 71256).f);
    var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ 35454);
    
    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);
      }
    });
    
    
    /***/ }),
    
    /***/ 63046:
    /*!************************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.object.get-own-property-descriptors.js ***!
      \************************************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ 35454);
    var ownKeys = __webpack_require__(/*! ../internals/own-keys */ 48662);
    var toIndexedObject = __webpack_require__(/*! ../internals/to-indexed-object */ 80524);
    var getOwnPropertyDescriptorModule = __webpack_require__(/*! ../internals/object-get-own-property-descriptor */ 71256);
    var createProperty = __webpack_require__(/*! ../internals/create-property */ 69392);
    
    // `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;
      }
    });
    
    
    /***/ }),
    
    /***/ 464:
    /*!******************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.object.get-own-property-names.js ***!
      \******************************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var fails = __webpack_require__(/*! ../internals/fails */ 3338);
    var getOwnPropertyNames = (__webpack_require__(/*! ../internals/object-get-own-property-names-external */ 53393).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
    });
    
    
    /***/ }),
    
    /***/ 67936:
    /*!********************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.object.get-own-property-symbols.js ***!
      \********************************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var NATIVE_SYMBOL = __webpack_require__(/*! ../internals/symbol-constructor-detection */ 42820);
    var fails = __webpack_require__(/*! ../internals/fails */ 3338);
    var getOwnPropertySymbolsModule = __webpack_require__(/*! ../internals/object-get-own-property-symbols */ 92635);
    var toObject = __webpack_require__(/*! ../internals/to-object */ 94029);
    
    // 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)) : [];
      }
    });
    
    
    /***/ }),
    
    /***/ 51082:
    /*!************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.object.get-prototype-of.js ***!
      \************************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var fails = __webpack_require__(/*! ../internals/fails */ 3338);
    var toObject = __webpack_require__(/*! ../internals/to-object */ 94029);
    var nativeGetPrototypeOf = __webpack_require__(/*! ../internals/object-get-prototype-of */ 53456);
    var CORRECT_PROTOTYPE_GETTER = __webpack_require__(/*! ../internals/correct-prototype-getter */ 4870);
    
    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));
      }
    });
    
    
    
    /***/ }),
    
    /***/ 83850:
    /*!****************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.object.group-by.js ***!
      \****************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ 65911);
    var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ 94237);
    var aCallable = __webpack_require__(/*! ../internals/a-callable */ 63335);
    var requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ 95955);
    var toPropertyKey = __webpack_require__(/*! ../internals/to-property-key */ 17818);
    var iterate = __webpack_require__(/*! ../internals/iterate */ 62003);
    
    var create = getBuiltIn('Object', 'create');
    var push = uncurryThis([].push);
    
    // `Object.groupBy` method
    // https://github.com/tc39/proposal-array-grouping
    $({ target: 'Object', stat: true }, {
      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;
      }
    });
    
    
    /***/ }),
    
    /***/ 41990:
    /*!***************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.object.has-own.js ***!
      \***************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ 32621);
    
    // `Object.hasOwn` method
    // https://tc39.es/ecma262/#sec-object.hasown
    $({ target: 'Object', stat: true }, {
      hasOwn: hasOwn
    });
    
    
    /***/ }),
    
    /***/ 55888:
    /*!*********************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.object.is-extensible.js ***!
      \*********************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var $isExtensible = __webpack_require__(/*! ../internals/object-is-extensible */ 12477);
    
    // `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
    });
    
    
    /***/ }),
    
    /***/ 53827:
    /*!*****************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.object.is-frozen.js ***!
      \*****************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var fails = __webpack_require__(/*! ../internals/fails */ 3338);
    var isObject = __webpack_require__(/*! ../internals/is-object */ 31946);
    var classof = __webpack_require__(/*! ../internals/classof-raw */ 29076);
    var ARRAY_BUFFER_NON_EXTENSIBLE = __webpack_require__(/*! ../internals/array-buffer-non-extensible */ 51424);
    
    // 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;
      }
    });
    
    
    /***/ }),
    
    /***/ 78143:
    /*!*****************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.object.is-sealed.js ***!
      \*****************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var fails = __webpack_require__(/*! ../internals/fails */ 3338);
    var isObject = __webpack_require__(/*! ../internals/is-object */ 31946);
    var classof = __webpack_require__(/*! ../internals/classof-raw */ 29076);
    var ARRAY_BUFFER_NON_EXTENSIBLE = __webpack_require__(/*! ../internals/array-buffer-non-extensible */ 51424);
    
    // 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;
      }
    });
    
    
    /***/ }),
    
    /***/ 15787:
    /*!**********************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.object.is.js ***!
      \**********************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var is = __webpack_require__(/*! ../internals/same-value */ 5370);
    
    // `Object.is` method
    // https://tc39.es/ecma262/#sec-object.is
    $({ target: 'Object', stat: true }, {
      is: is
    });
    
    
    /***/ }),
    
    /***/ 66419:
    /*!************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.object.keys.js ***!
      \************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var toObject = __webpack_require__(/*! ../internals/to-object */ 94029);
    var nativeKeys = __webpack_require__(/*! ../internals/object-keys */ 7733);
    var fails = __webpack_require__(/*! ../internals/fails */ 3338);
    
    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));
      }
    });
    
    
    /***/ }),
    
    /***/ 75765:
    /*!*********************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.object.lookup-getter.js ***!
      \*********************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ 35454);
    var FORCED = __webpack_require__(/*! ../internals/object-prototype-accessors-forced */ 25837);
    var toObject = __webpack_require__(/*! ../internals/to-object */ 94029);
    var toPropertyKey = __webpack_require__(/*! ../internals/to-property-key */ 17818);
    var getPrototypeOf = __webpack_require__(/*! ../internals/object-get-prototype-of */ 53456);
    var getOwnPropertyDescriptor = (__webpack_require__(/*! ../internals/object-get-own-property-descriptor */ 71256).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));
        }
      });
    }
    
    
    /***/ }),
    
    /***/ 14645:
    /*!*********************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.object.lookup-setter.js ***!
      \*********************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ 35454);
    var FORCED = __webpack_require__(/*! ../internals/object-prototype-accessors-forced */ 25837);
    var toObject = __webpack_require__(/*! ../internals/to-object */ 94029);
    var toPropertyKey = __webpack_require__(/*! ../internals/to-property-key */ 17818);
    var getPrototypeOf = __webpack_require__(/*! ../internals/object-get-prototype-of */ 53456);
    var getOwnPropertyDescriptor = (__webpack_require__(/*! ../internals/object-get-own-property-descriptor */ 71256).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));
        }
      });
    }
    
    
    /***/ }),
    
    /***/ 71122:
    /*!**************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.object.prevent-extensions.js ***!
      \**************************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var isObject = __webpack_require__(/*! ../internals/is-object */ 31946);
    var onFreeze = (__webpack_require__(/*! ../internals/internal-metadata */ 2074).onFreeze);
    var FREEZING = __webpack_require__(/*! ../internals/freezing */ 13247);
    var fails = __webpack_require__(/*! ../internals/fails */ 3338);
    
    // 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;
      }
    });
    
    
    /***/ }),
    
    /***/ 25070:
    /*!************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.object.seal.js ***!
      \************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var isObject = __webpack_require__(/*! ../internals/is-object */ 31946);
    var onFreeze = (__webpack_require__(/*! ../internals/internal-metadata */ 2074).onFreeze);
    var FREEZING = __webpack_require__(/*! ../internals/freezing */ 13247);
    var fails = __webpack_require__(/*! ../internals/fails */ 3338);
    
    // 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;
      }
    });
    
    
    /***/ }),
    
    /***/ 15954:
    /*!*****************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.object.to-string.js ***!
      \*****************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var TO_STRING_TAG_SUPPORT = __webpack_require__(/*! ../internals/to-string-tag-support */ 68527);
    var defineBuiltIn = __webpack_require__(/*! ../internals/define-built-in */ 2291);
    var toString = __webpack_require__(/*! ../internals/object-to-string */ 28488);
    
    // `Object.prototype.toString` method
    // https://tc39.es/ecma262/#sec-object.prototype.tostring
    if (!TO_STRING_TAG_SUPPORT) {
      defineBuiltIn(Object.prototype, 'toString', toString, { unsafe: true });
    }
    
    
    /***/ }),
    
    /***/ 4266:
    /*!**************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.object.values.js ***!
      \**************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var $values = (__webpack_require__(/*! ../internals/object-to-array */ 88698).values);
    
    // `Object.values` method
    // https://tc39.es/ecma262/#sec-object.values
    $({ target: 'Object', stat: true }, {
      values: function values(O) {
        return $values(O);
      }
    });
    
    
    /***/ }),
    
    /***/ 49988:
    /*!************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.parse-float.js ***!
      \************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var $parseFloat = __webpack_require__(/*! ../internals/number-parse-float */ 31280);
    
    // `parseFloat` method
    // https://tc39.es/ecma262/#sec-parsefloat-string
    $({ global: true, forced: parseFloat !== $parseFloat }, {
      parseFloat: $parseFloat
    });
    
    
    /***/ }),
    
    /***/ 38823:
    /*!**********************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.parse-int.js ***!
      \**********************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var $parseInt = __webpack_require__(/*! ../internals/number-parse-int */ 52446);
    
    // `parseInt` method
    // https://tc39.es/ecma262/#sec-parseint-string-radix
    $({ global: true, forced: parseInt !== $parseInt }, {
      parseInt: $parseInt
    });
    
    
    /***/ }),
    
    /***/ 4045:
    /*!********************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.promise.all-settled.js ***!
      \********************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var call = __webpack_require__(/*! ../internals/function-call */ 89945);
    var aCallable = __webpack_require__(/*! ../internals/a-callable */ 63335);
    var newPromiseCapabilityModule = __webpack_require__(/*! ../internals/new-promise-capability */ 73446);
    var perform = __webpack_require__(/*! ../internals/perform */ 80734);
    var iterate = __webpack_require__(/*! ../internals/iterate */ 62003);
    var PROMISE_STATICS_INCORRECT_ITERATION = __webpack_require__(/*! ../internals/promise-statics-incorrect-iteration */ 22093);
    
    // `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;
      }
    });
    
    
    /***/ }),
    
    /***/ 12785:
    /*!************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.promise.all.js ***!
      \************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var call = __webpack_require__(/*! ../internals/function-call */ 89945);
    var aCallable = __webpack_require__(/*! ../internals/a-callable */ 63335);
    var newPromiseCapabilityModule = __webpack_require__(/*! ../internals/new-promise-capability */ 73446);
    var perform = __webpack_require__(/*! ../internals/perform */ 80734);
    var iterate = __webpack_require__(/*! ../internals/iterate */ 62003);
    var PROMISE_STATICS_INCORRECT_ITERATION = __webpack_require__(/*! ../internals/promise-statics-incorrect-iteration */ 22093);
    
    // `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;
      }
    });
    
    
    /***/ }),
    
    /***/ 50747:
    /*!************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.promise.any.js ***!
      \************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var call = __webpack_require__(/*! ../internals/function-call */ 89945);
    var aCallable = __webpack_require__(/*! ../internals/a-callable */ 63335);
    var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ 65911);
    var newPromiseCapabilityModule = __webpack_require__(/*! ../internals/new-promise-capability */ 73446);
    var perform = __webpack_require__(/*! ../internals/perform */ 80734);
    var iterate = __webpack_require__(/*! ../internals/iterate */ 62003);
    var PROMISE_STATICS_INCORRECT_ITERATION = __webpack_require__(/*! ../internals/promise-statics-incorrect-iteration */ 22093);
    
    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;
      }
    });
    
    
    /***/ }),
    
    /***/ 41902:
    /*!**************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.promise.catch.js ***!
      \**************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ 16697);
    var FORCED_PROMISE_CONSTRUCTOR = (__webpack_require__(/*! ../internals/promise-constructor-detection */ 82830).CONSTRUCTOR);
    var NativePromiseConstructor = __webpack_require__(/*! ../internals/promise-native-constructor */ 2451);
    var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ 65911);
    var isCallable = __webpack_require__(/*! ../internals/is-callable */ 55327);
    var defineBuiltIn = __webpack_require__(/*! ../internals/define-built-in */ 2291);
    
    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 });
      }
    }
    
    
    /***/ }),
    
    /***/ 90366:
    /*!********************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.promise.constructor.js ***!
      \********************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ 16697);
    var IS_NODE = __webpack_require__(/*! ../internals/engine-is-node */ 90946);
    var global = __webpack_require__(/*! ../internals/global */ 92916);
    var call = __webpack_require__(/*! ../internals/function-call */ 89945);
    var defineBuiltIn = __webpack_require__(/*! ../internals/define-built-in */ 2291);
    var setPrototypeOf = __webpack_require__(/*! ../internals/object-set-prototype-of */ 58218);
    var setToStringTag = __webpack_require__(/*! ../internals/set-to-string-tag */ 94573);
    var setSpecies = __webpack_require__(/*! ../internals/set-species */ 51996);
    var aCallable = __webpack_require__(/*! ../internals/a-callable */ 63335);
    var isCallable = __webpack_require__(/*! ../internals/is-callable */ 55327);
    var isObject = __webpack_require__(/*! ../internals/is-object */ 31946);
    var anInstance = __webpack_require__(/*! ../internals/an-instance */ 56472);
    var speciesConstructor = __webpack_require__(/*! ../internals/species-constructor */ 60473);
    var task = (__webpack_require__(/*! ../internals/task */ 28887).set);
    var microtask = __webpack_require__(/*! ../internals/microtask */ 72933);
    var hostReportErrors = __webpack_require__(/*! ../internals/host-report-errors */ 61810);
    var perform = __webpack_require__(/*! ../internals/perform */ 80734);
    var Queue = __webpack_require__(/*! ../internals/queue */ 66790);
    var InternalStateModule = __webpack_require__(/*! ../internals/internal-state */ 94844);
    var NativePromiseConstructor = __webpack_require__(/*! ../internals/promise-native-constructor */ 2451);
    var PromiseConstructorDetection = __webpack_require__(/*! ../internals/promise-constructor-detection */ 82830);
    var newPromiseCapabilityModule = __webpack_require__(/*! ../internals/new-promise-capability */ 73446);
    
    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 = global.TypeError;
    var document = global.document;
    var process = global.process;
    var newPromiseCapability = newPromiseCapabilityModule.f;
    var newGenericPromiseCapability = newPromiseCapability;
    
    var DISPATCH_EVENT = !!(document && document.createEvent && global.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);
        global.dispatchEvent(event);
      } else event = { promise: promise, reason: reason };
      if (!NATIVE_PROMISE_REJECTION_EVENT && (handler = global['on' + name])) handler(event);
      else if (name === UNHANDLED_REJECTION) hostReportErrors('Unhandled promise rejection', reason);
    };
    
    var onUnhandled = function (state) {
      call(task, global, 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, global, 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: undefined
        });
      };
    
      // `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);
        }
      }
    }
    
    $({ global: true, constructor: true, wrap: true, forced: FORCED_PROMISE_CONSTRUCTOR }, {
      Promise: PromiseConstructor
    });
    
    setToStringTag(PromiseConstructor, PROMISE, false, true);
    setSpecies(PROMISE);
    
    
    /***/ }),
    
    /***/ 43595:
    /*!****************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.promise.finally.js ***!
      \****************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ 16697);
    var NativePromiseConstructor = __webpack_require__(/*! ../internals/promise-native-constructor */ 2451);
    var fails = __webpack_require__(/*! ../internals/fails */ 3338);
    var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ 65911);
    var isCallable = __webpack_require__(/*! ../internals/is-callable */ 55327);
    var speciesConstructor = __webpack_require__(/*! ../internals/species-constructor */ 60473);
    var promiseResolve = __webpack_require__(/*! ../internals/promise-resolve */ 15597);
    var defineBuiltIn = __webpack_require__(/*! ../internals/define-built-in */ 2291);
    
    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 });
      }
    }
    
    
    /***/ }),
    
    /***/ 24627:
    /*!********************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.promise.js ***!
      \********************************************************************/
    /***/ (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__(/*! ../modules/es.promise.constructor */ 90366);
    __webpack_require__(/*! ../modules/es.promise.all */ 12785);
    __webpack_require__(/*! ../modules/es.promise.catch */ 41902);
    __webpack_require__(/*! ../modules/es.promise.race */ 20733);
    __webpack_require__(/*! ../modules/es.promise.reject */ 95693);
    __webpack_require__(/*! ../modules/es.promise.resolve */ 81930);
    
    
    /***/ }),
    
    /***/ 20733:
    /*!*************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.promise.race.js ***!
      \*************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var call = __webpack_require__(/*! ../internals/function-call */ 89945);
    var aCallable = __webpack_require__(/*! ../internals/a-callable */ 63335);
    var newPromiseCapabilityModule = __webpack_require__(/*! ../internals/new-promise-capability */ 73446);
    var perform = __webpack_require__(/*! ../internals/perform */ 80734);
    var iterate = __webpack_require__(/*! ../internals/iterate */ 62003);
    var PROMISE_STATICS_INCORRECT_ITERATION = __webpack_require__(/*! ../internals/promise-statics-incorrect-iteration */ 22093);
    
    // `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;
      }
    });
    
    
    /***/ }),
    
    /***/ 95693:
    /*!***************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.promise.reject.js ***!
      \***************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var call = __webpack_require__(/*! ../internals/function-call */ 89945);
    var newPromiseCapabilityModule = __webpack_require__(/*! ../internals/new-promise-capability */ 73446);
    var FORCED_PROMISE_CONSTRUCTOR = (__webpack_require__(/*! ../internals/promise-constructor-detection */ 82830).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);
        call(capability.reject, undefined, r);
        return capability.promise;
      }
    });
    
    
    /***/ }),
    
    /***/ 81930:
    /*!****************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.promise.resolve.js ***!
      \****************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ 65911);
    var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ 16697);
    var NativePromiseConstructor = __webpack_require__(/*! ../internals/promise-native-constructor */ 2451);
    var FORCED_PROMISE_CONSTRUCTOR = (__webpack_require__(/*! ../internals/promise-constructor-detection */ 82830).CONSTRUCTOR);
    var promiseResolve = __webpack_require__(/*! ../internals/promise-resolve */ 15597);
    
    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);
      }
    });
    
    
    /***/ }),
    
    /***/ 92324:
    /*!***********************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.promise.with-resolvers.js ***!
      \***********************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var newPromiseCapabilityModule = __webpack_require__(/*! ../internals/new-promise-capability */ 73446);
    
    // `Promise.withResolvers` method
    // https://github.com/tc39/proposal-promise-with-resolvers
    $({ target: 'Promise', stat: true }, {
      withResolvers: function withResolvers() {
        var promiseCapability = newPromiseCapabilityModule.f(this);
        return {
          promise: promiseCapability.promise,
          resolve: promiseCapability.resolve,
          reject: promiseCapability.reject
        };
      }
    });
    
    
    /***/ }),
    
    /***/ 23551:
    /*!**************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.reflect.apply.js ***!
      \**************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var functionApply = __webpack_require__(/*! ../internals/function-apply */ 13743);
    var aCallable = __webpack_require__(/*! ../internals/a-callable */ 63335);
    var anObject = __webpack_require__(/*! ../internals/an-object */ 80449);
    var fails = __webpack_require__(/*! ../internals/fails */ 3338);
    
    // 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));
      }
    });
    
    
    /***/ }),
    
    /***/ 74521:
    /*!******************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.reflect.construct.js ***!
      \******************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ 65911);
    var apply = __webpack_require__(/*! ../internals/function-apply */ 13743);
    var bind = __webpack_require__(/*! ../internals/function-bind */ 4645);
    var aConstructor = __webpack_require__(/*! ../internals/a-constructor */ 6086);
    var anObject = __webpack_require__(/*! ../internals/an-object */ 80449);
    var isObject = __webpack_require__(/*! ../internals/is-object */ 31946);
    var create = __webpack_require__(/*! ../internals/object-create */ 20132);
    var fails = __webpack_require__(/*! ../internals/fails */ 3338);
    
    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;
      }
    });
    
    
    /***/ }),
    
    /***/ 57891:
    /*!************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.reflect.define-property.js ***!
      \************************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ 35454);
    var anObject = __webpack_require__(/*! ../internals/an-object */ 80449);
    var toPropertyKey = __webpack_require__(/*! ../internals/to-property-key */ 17818);
    var definePropertyModule = __webpack_require__(/*! ../internals/object-define-property */ 37691);
    var fails = __webpack_require__(/*! ../internals/fails */ 3338);
    
    // 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;
        }
      }
    });
    
    
    /***/ }),
    
    /***/ 84138:
    /*!************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.reflect.delete-property.js ***!
      \************************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var anObject = __webpack_require__(/*! ../internals/an-object */ 80449);
    var getOwnPropertyDescriptor = (__webpack_require__(/*! ../internals/object-get-own-property-descriptor */ 71256).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];
      }
    });
    
    
    /***/ }),
    
    /***/ 37135:
    /*!************************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.reflect.get-own-property-descriptor.js ***!
      \************************************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ 35454);
    var anObject = __webpack_require__(/*! ../internals/an-object */ 80449);
    var getOwnPropertyDescriptorModule = __webpack_require__(/*! ../internals/object-get-own-property-descriptor */ 71256);
    
    // `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);
      }
    });
    
    
    /***/ }),
    
    /***/ 6474:
    /*!*************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.reflect.get-prototype-of.js ***!
      \*************************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var anObject = __webpack_require__(/*! ../internals/an-object */ 80449);
    var objectGetPrototypeOf = __webpack_require__(/*! ../internals/object-get-prototype-of */ 53456);
    var CORRECT_PROTOTYPE_GETTER = __webpack_require__(/*! ../internals/correct-prototype-getter */ 4870);
    
    // `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));
      }
    });
    
    
    /***/ }),
    
    /***/ 51832:
    /*!************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.reflect.get.js ***!
      \************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var call = __webpack_require__(/*! ../internals/function-call */ 89945);
    var isObject = __webpack_require__(/*! ../internals/is-object */ 31946);
    var anObject = __webpack_require__(/*! ../internals/an-object */ 80449);
    var isDataDescriptor = __webpack_require__(/*! ../internals/is-data-descriptor */ 60516);
    var getOwnPropertyDescriptorModule = __webpack_require__(/*! ../internals/object-get-own-property-descriptor */ 71256);
    var getPrototypeOf = __webpack_require__(/*! ../internals/object-get-prototype-of */ 53456);
    
    // `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
    });
    
    
    /***/ }),
    
    /***/ 40135:
    /*!************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.reflect.has.js ***!
      \************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    
    // `Reflect.has` method
    // https://tc39.es/ecma262/#sec-reflect.has
    $({ target: 'Reflect', stat: true }, {
      has: function has(target, propertyKey) {
        return propertyKey in target;
      }
    });
    
    
    /***/ }),
    
    /***/ 7982:
    /*!**********************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.reflect.is-extensible.js ***!
      \**********************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var anObject = __webpack_require__(/*! ../internals/an-object */ 80449);
    var $isExtensible = __webpack_require__(/*! ../internals/object-is-extensible */ 12477);
    
    // `Reflect.isExtensible` method
    // https://tc39.es/ecma262/#sec-reflect.isextensible
    $({ target: 'Reflect', stat: true }, {
      isExtensible: function isExtensible(target) {
        anObject(target);
        return $isExtensible(target);
      }
    });
    
    
    /***/ }),
    
    /***/ 14893:
    /*!*****************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.reflect.own-keys.js ***!
      \*****************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var ownKeys = __webpack_require__(/*! ../internals/own-keys */ 48662);
    
    // `Reflect.ownKeys` method
    // https://tc39.es/ecma262/#sec-reflect.ownkeys
    $({ target: 'Reflect', stat: true }, {
      ownKeys: ownKeys
    });
    
    
    /***/ }),
    
    /***/ 49233:
    /*!***************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.reflect.prevent-extensions.js ***!
      \***************************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ 65911);
    var anObject = __webpack_require__(/*! ../internals/an-object */ 80449);
    var FREEZING = __webpack_require__(/*! ../internals/freezing */ 13247);
    
    // `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;
        }
      }
    });
    
    
    /***/ }),
    
    /***/ 42844:
    /*!*************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.reflect.set-prototype-of.js ***!
      \*************************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var anObject = __webpack_require__(/*! ../internals/an-object */ 80449);
    var aPossiblePrototype = __webpack_require__(/*! ../internals/a-possible-prototype */ 557);
    var objectSetPrototypeOf = __webpack_require__(/*! ../internals/object-set-prototype-of */ 58218);
    
    // `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;
        }
      }
    });
    
    
    /***/ }),
    
    /***/ 92130:
    /*!************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.reflect.set.js ***!
      \************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var call = __webpack_require__(/*! ../internals/function-call */ 89945);
    var anObject = __webpack_require__(/*! ../internals/an-object */ 80449);
    var isObject = __webpack_require__(/*! ../internals/is-object */ 31946);
    var isDataDescriptor = __webpack_require__(/*! ../internals/is-data-descriptor */ 60516);
    var fails = __webpack_require__(/*! ../internals/fails */ 3338);
    var definePropertyModule = __webpack_require__(/*! ../internals/object-define-property */ 37691);
    var getOwnPropertyDescriptorModule = __webpack_require__(/*! ../internals/object-get-own-property-descriptor */ 71256);
    var getPrototypeOf = __webpack_require__(/*! ../internals/object-get-prototype-of */ 53456);
    var createPropertyDescriptor = __webpack_require__(/*! ../internals/create-property-descriptor */ 35012);
    
    // `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
    });
    
    
    /***/ }),
    
    /***/ 6536:
    /*!**********************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.reflect.to-string-tag.js ***!
      \**********************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var global = __webpack_require__(/*! ../internals/global */ 92916);
    var setToStringTag = __webpack_require__(/*! ../internals/set-to-string-tag */ 94573);
    
    $({ global: true }, { Reflect: {} });
    
    // Reflect[@@toStringTag] property
    // https://tc39.es/ecma262/#sec-reflect-@@tostringtag
    setToStringTag(global.Reflect, 'Reflect', true);
    
    
    /***/ }),
    
    /***/ 27228:
    /*!*******************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.regexp.constructor.js ***!
      \*******************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ 35454);
    var global = __webpack_require__(/*! ../internals/global */ 92916);
    var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ 94237);
    var isForced = __webpack_require__(/*! ../internals/is-forced */ 20865);
    var inheritIfRequired = __webpack_require__(/*! ../internals/inherit-if-required */ 25576);
    var createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ 68151);
    var create = __webpack_require__(/*! ../internals/object-create */ 20132);
    var getOwnPropertyNames = (__webpack_require__(/*! ../internals/object-get-own-property-names */ 80689).f);
    var isPrototypeOf = __webpack_require__(/*! ../internals/object-is-prototype-of */ 16332);
    var isRegExp = __webpack_require__(/*! ../internals/is-regexp */ 44639);
    var toString = __webpack_require__(/*! ../internals/to-string */ 69905);
    var getRegExpFlags = __webpack_require__(/*! ../internals/regexp-get-flags */ 81644);
    var stickyHelpers = __webpack_require__(/*! ../internals/regexp-sticky-helpers */ 19286);
    var proxyAccessor = __webpack_require__(/*! ../internals/proxy-accessor */ 44166);
    var defineBuiltIn = __webpack_require__(/*! ../internals/define-built-in */ 2291);
    var fails = __webpack_require__(/*! ../internals/fails */ 3338);
    var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ 32621);
    var enforceInternalState = (__webpack_require__(/*! ../internals/internal-state */ 94844).enforce);
    var setSpecies = __webpack_require__(/*! ../internals/set-species */ 51996);
    var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ 59893);
    var UNSUPPORTED_DOT_ALL = __webpack_require__(/*! ../internals/regexp-unsupported-dot-all */ 6041);
    var UNSUPPORTED_NCG = __webpack_require__(/*! ../internals/regexp-unsupported-ncg */ 51224);
    
    var MATCH = wellKnownSymbol('match');
    var NativeRegExp = global.RegExp;
    var RegExpPrototype = NativeRegExp.prototype;
    var SyntaxError = global.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
        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 === '(':
            if (exec(IS_NCG, stringSlice(string, index + 1))) {
              index += 2;
              ncg = true;
            }
            result += chr;
            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(global, 'RegExp', RegExpWrapper, { constructor: true });
    }
    
    // https://tc39.es/ecma262/#sec-get-regexp-@@species
    setSpecies('RegExp');
    
    
    /***/ }),
    
    /***/ 62921:
    /*!***************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.regexp.dot-all.js ***!
      \***************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ 35454);
    var UNSUPPORTED_DOT_ALL = __webpack_require__(/*! ../internals/regexp-unsupported-dot-all */ 6041);
    var classof = __webpack_require__(/*! ../internals/classof-raw */ 29076);
    var defineBuiltInAccessor = __webpack_require__(/*! ../internals/define-built-in-accessor */ 64110);
    var getInternalState = (__webpack_require__(/*! ../internals/internal-state */ 94844).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 undefined;
          // 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');
        }
      });
    }
    
    
    /***/ }),
    
    /***/ 44001:
    /*!************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.regexp.exec.js ***!
      \************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var exec = __webpack_require__(/*! ../internals/regexp-exec */ 88736);
    
    // `RegExp.prototype.exec` method
    // https://tc39.es/ecma262/#sec-regexp.prototype.exec
    $({ target: 'RegExp', proto: true, forced: /./.exec !== exec }, {
      exec: exec
    });
    
    
    /***/ }),
    
    /***/ 92262:
    /*!*************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.regexp.flags.js ***!
      \*************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var global = __webpack_require__(/*! ../internals/global */ 92916);
    var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ 35454);
    var defineBuiltInAccessor = __webpack_require__(/*! ../internals/define-built-in-accessor */ 64110);
    var regExpFlags = __webpack_require__(/*! ../internals/regexp-flags */ 82163);
    var fails = __webpack_require__(/*! ../internals/fails */ 3338);
    
    // babel-minify and Closure Compiler transpiles RegExp('.', 'd') -> /./d and it causes SyntaxError
    var RegExp = global.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
    });
    
    
    /***/ }),
    
    /***/ 54744:
    /*!**************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.regexp.sticky.js ***!
      \**************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ 35454);
    var MISSED_STICKY = (__webpack_require__(/*! ../internals/regexp-sticky-helpers */ 19286).MISSED_STICKY);
    var classof = __webpack_require__(/*! ../internals/classof-raw */ 29076);
    var defineBuiltInAccessor = __webpack_require__(/*! ../internals/define-built-in-accessor */ 64110);
    var getInternalState = (__webpack_require__(/*! ../internals/internal-state */ 94844).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');
        }
      });
    }
    
    
    /***/ }),
    
    /***/ 38214:
    /*!************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.regexp.test.js ***!
      \************************************************************************/
    /***/ (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__(/*! ../modules/es.regexp.exec */ 44001);
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var call = __webpack_require__(/*! ../internals/function-call */ 89945);
    var isCallable = __webpack_require__(/*! ../internals/is-callable */ 55327);
    var anObject = __webpack_require__(/*! ../internals/an-object */ 80449);
    var toString = __webpack_require__(/*! ../internals/to-string */ 69905);
    
    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;
      }
    });
    
    
    /***/ }),
    
    /***/ 12756:
    /*!*****************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.regexp.to-string.js ***!
      \*****************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var PROPER_FUNCTION_NAME = (__webpack_require__(/*! ../internals/function-name */ 8090).PROPER);
    var defineBuiltIn = __webpack_require__(/*! ../internals/define-built-in */ 2291);
    var anObject = __webpack_require__(/*! ../internals/an-object */ 80449);
    var $toString = __webpack_require__(/*! ../internals/to-string */ 69905);
    var fails = __webpack_require__(/*! ../internals/fails */ 3338);
    var getRegExpFlags = __webpack_require__(/*! ../internals/regexp-get-flags */ 81644);
    
    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(RegExp.prototype, TO_STRING, function toString() {
        var R = anObject(this);
        var pattern = $toString(R.source);
        var flags = $toString(getRegExpFlags(R));
        return '/' + pattern + '/' + flags;
      }, { unsafe: true });
    }
    
    
    /***/ }),
    
    /***/ 69772:
    /*!****************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.set.constructor.js ***!
      \****************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var collection = __webpack_require__(/*! ../internals/collection */ 48059);
    var collectionStrong = __webpack_require__(/*! ../internals/collection-strong */ 40942);
    
    // `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);
    
    
    /***/ }),
    
    /***/ 93379:
    /*!****************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.set.js ***!
      \****************************************************************/
    /***/ (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__(/*! ../modules/es.set.constructor */ 69772);
    
    
    /***/ }),
    
    /***/ 34932:
    /*!**************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.string.anchor.js ***!
      \**************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var createHTML = __webpack_require__(/*! ../internals/create-html */ 95994);
    var forcedStringHTMLMethod = __webpack_require__(/*! ../internals/string-html-forced */ 17691);
    
    // `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);
      }
    });
    
    
    /***/ }),
    
    /***/ 62007:
    /*!**********************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.string.at-alternative.js ***!
      \**********************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ 94237);
    var requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ 95955);
    var toIntegerOrInfinity = __webpack_require__(/*! ../internals/to-integer-or-infinity */ 56902);
    var toString = __webpack_require__(/*! ../internals/to-string */ 69905);
    var fails = __webpack_require__(/*! ../internals/fails */ 3338);
    
    var charAt = uncurryThis(''.charAt);
    
    var FORCED = fails(function () {
      // eslint-disable-next-line es/no-array-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);
      }
    });
    
    
    /***/ }),
    
    /***/ 81046:
    /*!***********************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.string.big.js ***!
      \***********************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var createHTML = __webpack_require__(/*! ../internals/create-html */ 95994);
    var forcedStringHTMLMethod = __webpack_require__(/*! ../internals/string-html-forced */ 17691);
    
    // `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', '', '');
      }
    });
    
    
    /***/ }),
    
    /***/ 85744:
    /*!*************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.string.blink.js ***!
      \*************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var createHTML = __webpack_require__(/*! ../internals/create-html */ 95994);
    var forcedStringHTMLMethod = __webpack_require__(/*! ../internals/string-html-forced */ 17691);
    
    // `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', '', '');
      }
    });
    
    
    /***/ }),
    
    /***/ 13494:
    /*!************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.string.bold.js ***!
      \************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var createHTML = __webpack_require__(/*! ../internals/create-html */ 95994);
    var forcedStringHTMLMethod = __webpack_require__(/*! ../internals/string-html-forced */ 17691);
    
    // `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', '', '');
      }
    });
    
    
    /***/ }),
    
    /***/ 90572:
    /*!*********************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.string.code-point-at.js ***!
      \*********************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var codeAt = (__webpack_require__(/*! ../internals/string-multibyte */ 13764).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);
      }
    });
    
    
    /***/ }),
    
    /***/ 37343:
    /*!*****************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.string.ends-with.js ***!
      \*****************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this-clause */ 34114);
    var getOwnPropertyDescriptor = (__webpack_require__(/*! ../internals/object-get-own-property-descriptor */ 71256).f);
    var toLength = __webpack_require__(/*! ../internals/to-length */ 61578);
    var toString = __webpack_require__(/*! ../internals/to-string */ 69905);
    var notARegExp = __webpack_require__(/*! ../internals/not-a-regexp */ 41696);
    var requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ 95955);
    var correctIsRegExpLogic = __webpack_require__(/*! ../internals/correct-is-regexp-logic */ 86266);
    var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ 16697);
    
    // eslint-disable-next-line es/no-string-prototype-endswith -- safe
    var nativeEndsWith = uncurryThis(''.endsWith);
    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 nativeEndsWith
          ? nativeEndsWith(that, search, end)
          : slice(that, end - search.length, end) === search;
      }
    });
    
    
    /***/ }),
    
    /***/ 56338:
    /*!*************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.string.fixed.js ***!
      \*************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var createHTML = __webpack_require__(/*! ../internals/create-html */ 95994);
    var forcedStringHTMLMethod = __webpack_require__(/*! ../internals/string-html-forced */ 17691);
    
    // `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', '', '');
      }
    });
    
    
    /***/ }),
    
    /***/ 66755:
    /*!*****************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.string.fontcolor.js ***!
      \*****************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var createHTML = __webpack_require__(/*! ../internals/create-html */ 95994);
    var forcedStringHTMLMethod = __webpack_require__(/*! ../internals/string-html-forced */ 17691);
    
    // `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);
      }
    });
    
    
    /***/ }),
    
    /***/ 68709:
    /*!****************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.string.fontsize.js ***!
      \****************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var createHTML = __webpack_require__(/*! ../internals/create-html */ 95994);
    var forcedStringHTMLMethod = __webpack_require__(/*! ../internals/string-html-forced */ 17691);
    
    // `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);
      }
    });
    
    
    /***/ }),
    
    /***/ 45945:
    /*!***********************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.string.from-code-point.js ***!
      \***********************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ 94237);
    var toAbsoluteIndex = __webpack_require__(/*! ../internals/to-absolute-index */ 51981);
    
    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, '');
      }
    });
    
    
    /***/ }),
    
    /***/ 75551:
    /*!****************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.string.includes.js ***!
      \****************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ 94237);
    var notARegExp = __webpack_require__(/*! ../internals/not-a-regexp */ 41696);
    var requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ 95955);
    var toString = __webpack_require__(/*! ../internals/to-string */ 69905);
    var correctIsRegExpLogic = __webpack_require__(/*! ../internals/correct-is-regexp-logic */ 86266);
    
    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
        );
      }
    });
    
    
    /***/ }),
    
    /***/ 32493:
    /*!**********************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.string.is-well-formed.js ***!
      \**********************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ 94237);
    var requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ 95955);
    var toString = __webpack_require__(/*! ../internals/to-string */ 69905);
    
    var charCodeAt = uncurryThis(''.charCodeAt);
    
    // `String.prototype.isWellFormed` method
    // https://github.com/tc39/proposal-is-usv-string
    $({ 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;
      }
    });
    
    
    /***/ }),
    
    /***/ 4939:
    /*!***************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.string.italics.js ***!
      \***************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var createHTML = __webpack_require__(/*! ../internals/create-html */ 95994);
    var forcedStringHTMLMethod = __webpack_require__(/*! ../internals/string-html-forced */ 17691);
    
    // `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', '', '');
      }
    });
    
    
    /***/ }),
    
    /***/ 20852:
    /*!****************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.string.iterator.js ***!
      \****************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var charAt = (__webpack_require__(/*! ../internals/string-multibyte */ 13764).charAt);
    var toString = __webpack_require__(/*! ../internals/to-string */ 69905);
    var InternalStateModule = __webpack_require__(/*! ../internals/internal-state */ 94844);
    var defineIterator = __webpack_require__(/*! ../internals/iterator-define */ 24019);
    var createIterResultObject = __webpack_require__(/*! ../internals/create-iter-result-object */ 25587);
    
    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);
    });
    
    
    /***/ }),
    
    /***/ 81927:
    /*!************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.string.link.js ***!
      \************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var createHTML = __webpack_require__(/*! ../internals/create-html */ 95994);
    var forcedStringHTMLMethod = __webpack_require__(/*! ../internals/string-html-forced */ 17691);
    
    // `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);
      }
    });
    
    
    /***/ }),
    
    /***/ 18827:
    /*!*****************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.string.match-all.js ***!
      \*****************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    /* eslint-disable es/no-string-prototype-matchall -- safe */
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var call = __webpack_require__(/*! ../internals/function-call */ 89945);
    var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this-clause */ 34114);
    var createIteratorConstructor = __webpack_require__(/*! ../internals/iterator-create-constructor */ 83126);
    var createIterResultObject = __webpack_require__(/*! ../internals/create-iter-result-object */ 25587);
    var requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ 95955);
    var toLength = __webpack_require__(/*! ../internals/to-length */ 61578);
    var toString = __webpack_require__(/*! ../internals/to-string */ 69905);
    var anObject = __webpack_require__(/*! ../internals/an-object */ 80449);
    var isNullOrUndefined = __webpack_require__(/*! ../internals/is-null-or-undefined */ 4112);
    var classof = __webpack_require__(/*! ../internals/classof-raw */ 29076);
    var isRegExp = __webpack_require__(/*! ../internals/is-regexp */ 44639);
    var getRegExpFlags = __webpack_require__(/*! ../internals/regexp-get-flags */ 81644);
    var getMethod = __webpack_require__(/*! ../internals/get-method */ 53776);
    var defineBuiltIn = __webpack_require__(/*! ../internals/define-built-in */ 2291);
    var fails = __webpack_require__(/*! ../internals/fails */ 3338);
    var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ 59893);
    var speciesConstructor = __webpack_require__(/*! ../internals/species-constructor */ 60473);
    var advanceStringIndex = __webpack_require__(/*! ../internals/advance-string-index */ 52216);
    var regExpExec = __webpack_require__(/*! ../internals/regexp-exec-abstract */ 94338);
    var InternalStateModule = __webpack_require__(/*! ../internals/internal-state */ 94844);
    var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ 16697);
    
    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);
    
    
    /***/ }),
    
    /***/ 46302:
    /*!*************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.string.match.js ***!
      \*************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var call = __webpack_require__(/*! ../internals/function-call */ 89945);
    var fixRegExpWellKnownSymbolLogic = __webpack_require__(/*! ../internals/fix-regexp-well-known-symbol-logic */ 8662);
    var anObject = __webpack_require__(/*! ../internals/an-object */ 80449);
    var isNullOrUndefined = __webpack_require__(/*! ../internals/is-null-or-undefined */ 4112);
    var toLength = __webpack_require__(/*! ../internals/to-length */ 61578);
    var toString = __webpack_require__(/*! ../internals/to-string */ 69905);
    var requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ 95955);
    var getMethod = __webpack_require__(/*! ../internals/get-method */ 53776);
    var advanceStringIndex = __webpack_require__(/*! ../internals/advance-string-index */ 52216);
    var regExpExec = __webpack_require__(/*! ../internals/regexp-exec-abstract */ 94338);
    
    // @@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;
        }
      ];
    });
    
    
    /***/ }),
    
    /***/ 76718:
    /*!***************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.string.pad-end.js ***!
      \***************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var $padEnd = (__webpack_require__(/*! ../internals/string-pad */ 85571).end);
    var WEBKIT_BUG = __webpack_require__(/*! ../internals/string-pad-webkit-bug */ 98352);
    
    // `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);
      }
    });
    
    
    /***/ }),
    
    /***/ 79172:
    /*!*****************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.string.pad-start.js ***!
      \*****************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var $padStart = (__webpack_require__(/*! ../internals/string-pad */ 85571).start);
    var WEBKIT_BUG = __webpack_require__(/*! ../internals/string-pad-webkit-bug */ 98352);
    
    // `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);
      }
    });
    
    
    /***/ }),
    
    /***/ 32192:
    /*!***********************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.string.raw.js ***!
      \***********************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ 94237);
    var toIndexedObject = __webpack_require__(/*! ../internals/to-indexed-object */ 80524);
    var toObject = __webpack_require__(/*! ../internals/to-object */ 94029);
    var toString = __webpack_require__(/*! ../internals/to-string */ 69905);
    var lengthOfArrayLike = __webpack_require__(/*! ../internals/length-of-array-like */ 82762);
    
    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]));
        }
      }
    });
    
    
    /***/ }),
    
    /***/ 42828:
    /*!**************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.string.repeat.js ***!
      \**************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var repeat = __webpack_require__(/*! ../internals/string-repeat */ 71049);
    
    // `String.prototype.repeat` method
    // https://tc39.es/ecma262/#sec-string.prototype.repeat
    $({ target: 'String', proto: true }, {
      repeat: repeat
    });
    
    
    /***/ }),
    
    /***/ 55629:
    /*!*******************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.string.replace-all.js ***!
      \*******************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var call = __webpack_require__(/*! ../internals/function-call */ 89945);
    var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ 94237);
    var requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ 95955);
    var isCallable = __webpack_require__(/*! ../internals/is-callable */ 55327);
    var isNullOrUndefined = __webpack_require__(/*! ../internals/is-null-or-undefined */ 4112);
    var isRegExp = __webpack_require__(/*! ../internals/is-regexp */ 44639);
    var toString = __webpack_require__(/*! ../internals/to-string */ 69905);
    var getMethod = __webpack_require__(/*! ../internals/get-method */ 53776);
    var getRegExpFlags = __webpack_require__(/*! ../internals/regexp-get-flags */ 81644);
    var getSubstitution = __webpack_require__(/*! ../internals/get-substitution */ 23011);
    var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ 59893);
    var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ 16697);
    
    var REPLACE = wellKnownSymbol('replace');
    var $TypeError = TypeError;
    var indexOf = uncurryThis(''.indexOf);
    var replace = uncurryThis(''.replace);
    var stringSlice = uncurryThis(''.slice);
    var max = Math.max;
    
    var stringIndexOf = function (string, searchValue, fromIndex) {
      if (fromIndex > string.length) return -1;
      if (searchValue === '') return fromIndex;
      return indexOf(string, searchValue, fromIndex);
    };
    
    // `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, replacement;
        var position = 0;
        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);
          } else 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 = stringIndexOf(string, searchString, 0);
        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 = stringIndexOf(string, searchString, position + advanceBy);
        }
        if (endOfLastMatch < string.length) {
          result += stringSlice(string, endOfLastMatch);
        }
        return result;
      }
    });
    
    
    /***/ }),
    
    /***/ 5658:
    /*!***************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.string.replace.js ***!
      \***************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var apply = __webpack_require__(/*! ../internals/function-apply */ 13743);
    var call = __webpack_require__(/*! ../internals/function-call */ 89945);
    var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ 94237);
    var fixRegExpWellKnownSymbolLogic = __webpack_require__(/*! ../internals/fix-regexp-well-known-symbol-logic */ 8662);
    var fails = __webpack_require__(/*! ../internals/fails */ 3338);
    var anObject = __webpack_require__(/*! ../internals/an-object */ 80449);
    var isCallable = __webpack_require__(/*! ../internals/is-callable */ 55327);
    var isNullOrUndefined = __webpack_require__(/*! ../internals/is-null-or-undefined */ 4112);
    var toIntegerOrInfinity = __webpack_require__(/*! ../internals/to-integer-or-infinity */ 56902);
    var toLength = __webpack_require__(/*! ../internals/to-length */ 61578);
    var toString = __webpack_require__(/*! ../internals/to-string */ 69905);
    var requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ 95955);
    var advanceStringIndex = __webpack_require__(/*! ../internals/advance-string-index */ 52216);
    var getMethod = __webpack_require__(/*! ../internals/get-method */ 53776);
    var getSubstitution = __webpack_require__(/*! ../internals/get-substitution */ 23011);
    var regExpExec = __webpack_require__(/*! ../internals/regexp-exec-abstract */ 94338);
    var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ 59893);
    
    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);
    
    
    /***/ }),
    
    /***/ 62925:
    /*!**************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.string.search.js ***!
      \**************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var call = __webpack_require__(/*! ../internals/function-call */ 89945);
    var fixRegExpWellKnownSymbolLogic = __webpack_require__(/*! ../internals/fix-regexp-well-known-symbol-logic */ 8662);
    var anObject = __webpack_require__(/*! ../internals/an-object */ 80449);
    var isNullOrUndefined = __webpack_require__(/*! ../internals/is-null-or-undefined */ 4112);
    var requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ 95955);
    var sameValue = __webpack_require__(/*! ../internals/same-value */ 5370);
    var toString = __webpack_require__(/*! ../internals/to-string */ 69905);
    var getMethod = __webpack_require__(/*! ../internals/get-method */ 53776);
    var regExpExec = __webpack_require__(/*! ../internals/regexp-exec-abstract */ 94338);
    
    // @@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;
        }
      ];
    });
    
    
    /***/ }),
    
    /***/ 60462:
    /*!*************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.string.small.js ***!
      \*************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var createHTML = __webpack_require__(/*! ../internals/create-html */ 95994);
    var forcedStringHTMLMethod = __webpack_require__(/*! ../internals/string-html-forced */ 17691);
    
    // `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', '', '');
      }
    });
    
    
    /***/ }),
    
    /***/ 9595:
    /*!*************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.string.split.js ***!
      \*************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var apply = __webpack_require__(/*! ../internals/function-apply */ 13743);
    var call = __webpack_require__(/*! ../internals/function-call */ 89945);
    var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ 94237);
    var fixRegExpWellKnownSymbolLogic = __webpack_require__(/*! ../internals/fix-regexp-well-known-symbol-logic */ 8662);
    var anObject = __webpack_require__(/*! ../internals/an-object */ 80449);
    var isNullOrUndefined = __webpack_require__(/*! ../internals/is-null-or-undefined */ 4112);
    var isRegExp = __webpack_require__(/*! ../internals/is-regexp */ 44639);
    var requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ 95955);
    var speciesConstructor = __webpack_require__(/*! ../internals/species-constructor */ 60473);
    var advanceStringIndex = __webpack_require__(/*! ../internals/advance-string-index */ 52216);
    var toLength = __webpack_require__(/*! ../internals/to-length */ 61578);
    var toString = __webpack_require__(/*! ../internals/to-string */ 69905);
    var getMethod = __webpack_require__(/*! ../internals/get-method */ 53776);
    var arraySlice = __webpack_require__(/*! ../internals/array-slice-simple */ 71698);
    var callRegExpExec = __webpack_require__(/*! ../internals/regexp-exec-abstract */ 94338);
    var regexpExec = __webpack_require__(/*! ../internals/regexp-exec */ 88736);
    var stickyHelpers = __webpack_require__(/*! ../internals/regexp-sticky-helpers */ 19286);
    var fails = __webpack_require__(/*! ../internals/fails */ 3338);
    
    var UNSUPPORTED_Y = stickyHelpers.UNSUPPORTED_Y;
    var MAX_UINT32 = 0xFFFFFFFF;
    var min = Math.min;
    var $push = [].push;
    var exec = uncurryThis(/./.exec);
    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';
    });
    
    // @@split logic
    fixRegExpWellKnownSymbolLogic('split', function (SPLIT, nativeSplit, maybeCallNative) {
      var internalSplit;
      if (
        '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
      ) {
        // based on es5-shim implementation, need to rework it
        internalSplit = function (separator, limit) {
          var string = toString(requireObjectCoercible(this));
          var lim = limit === undefined ? MAX_UINT32 : limit >>> 0;
          if (lim === 0) return [];
          if (separator === undefined) return [string];
          // If `separator` is not a regex, use native split
          if (!isRegExp(separator)) {
            return call(nativeSplit, string, separator, lim);
          }
          var output = [];
          var flags = (separator.ignoreCase ? 'i' : '') +
                      (separator.multiline ? 'm' : '') +
                      (separator.unicode ? 'u' : '') +
                      (separator.sticky ? 'y' : '');
          var lastLastIndex = 0;
          // Make `global` and avoid `lastIndex` issues by working with a copy
          var separatorCopy = new RegExp(separator.source, flags + 'g');
          var match, lastIndex, lastLength;
          while (match = call(regexpExec, separatorCopy, string)) {
            lastIndex = separatorCopy.lastIndex;
            if (lastIndex > lastLastIndex) {
              push(output, stringSlice(string, lastLastIndex, match.index));
              if (match.length > 1 && match.index < string.length) apply($push, output, arraySlice(match, 1));
              lastLength = match[0].length;
              lastLastIndex = lastIndex;
              if (output.length >= lim) break;
            }
            if (separatorCopy.lastIndex === match.index) separatorCopy.lastIndex++; // Avoid an infinite loop
          }
          if (lastLastIndex === string.length) {
            if (lastLength || !exec(separatorCopy, '')) push(output, '');
          } else push(output, stringSlice(string, lastLastIndex));
          return output.length > lim ? arraySlice(output, 0, lim) : output;
        };
      // Chakra, V8
      } else if ('0'.split(undefined, 0).length) {
        internalSplit = function (separator, limit) {
          return separator === undefined && limit === 0 ? [] : call(nativeSplit, this, separator, limit);
        };
      } else internalSplit = 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);
          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 callRegExpExec(splitter, S) === null ? [S] : [];
          var p = 0;
          var q = 0;
          var A = [];
          while (q < S.length) {
            splitter.lastIndex = UNSUPPORTED_Y ? 0 : q;
            var z = callRegExpExec(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;
        }
      ];
    }, !SPLIT_WORKS_WITH_OVERWRITTEN_EXEC, UNSUPPORTED_Y);
    
    
    /***/ }),
    
    /***/ 58127:
    /*!*******************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.string.starts-with.js ***!
      \*******************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this-clause */ 34114);
    var getOwnPropertyDescriptor = (__webpack_require__(/*! ../internals/object-get-own-property-descriptor */ 71256).f);
    var toLength = __webpack_require__(/*! ../internals/to-length */ 61578);
    var toString = __webpack_require__(/*! ../internals/to-string */ 69905);
    var notARegExp = __webpack_require__(/*! ../internals/not-a-regexp */ 41696);
    var requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ 95955);
    var correctIsRegExpLogic = __webpack_require__(/*! ../internals/correct-is-regexp-logic */ 86266);
    var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ 16697);
    
    // eslint-disable-next-line es/no-string-prototype-startswith -- safe
    var nativeStartsWith = uncurryThis(''.startsWith);
    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 nativeStartsWith
          ? nativeStartsWith(that, search, index)
          : stringSlice(that, index, index + search.length) === search;
      }
    });
    
    
    /***/ }),
    
    /***/ 72571:
    /*!**************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.string.strike.js ***!
      \**************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var createHTML = __webpack_require__(/*! ../internals/create-html */ 95994);
    var forcedStringHTMLMethod = __webpack_require__(/*! ../internals/string-html-forced */ 17691);
    
    // `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', '', '');
      }
    });
    
    
    /***/ }),
    
    /***/ 71200:
    /*!***********************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.string.sub.js ***!
      \***********************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var createHTML = __webpack_require__(/*! ../internals/create-html */ 95994);
    var forcedStringHTMLMethod = __webpack_require__(/*! ../internals/string-html-forced */ 17691);
    
    // `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', '', '');
      }
    });
    
    
    /***/ }),
    
    /***/ 85767:
    /*!***********************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.string.sup.js ***!
      \***********************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var createHTML = __webpack_require__(/*! ../internals/create-html */ 95994);
    var forcedStringHTMLMethod = __webpack_require__(/*! ../internals/string-html-forced */ 17691);
    
    // `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', '', '');
      }
    });
    
    
    /***/ }),
    
    /***/ 53427:
    /*!**********************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.string.to-well-formed.js ***!
      \**********************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var call = __webpack_require__(/*! ../internals/function-call */ 89945);
    var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ 94237);
    var requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ 95955);
    var toString = __webpack_require__(/*! ../internals/to-string */ 69905);
    var fails = __webpack_require__(/*! ../internals/fails */ 3338);
    
    var $Array = Array;
    var charAt = uncurryThis(''.charAt);
    var charCodeAt = uncurryThis(''.charCodeAt);
    var join = uncurryThis([].join);
    // eslint-disable-next-line es/no-string-prototype-iswellformed-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://github.com/tc39/proposal-is-usv-string
    $({ 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, '');
      }
    });
    
    
    /***/ }),
    
    /***/ 49257:
    /*!****************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.string.trim-end.js ***!
      \****************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    // TODO: Remove this line from `core-js@4`
    __webpack_require__(/*! ../modules/es.string.trim-right */ 20189);
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var trimEnd = __webpack_require__(/*! ../internals/string-trim-end */ 9591);
    
    // `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
    });
    
    
    /***/ }),
    
    /***/ 93980:
    /*!*****************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.string.trim-left.js ***!
      \*****************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var trimStart = __webpack_require__(/*! ../internals/string-trim-start */ 27374);
    
    // `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
    });
    
    
    /***/ }),
    
    /***/ 20189:
    /*!******************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.string.trim-right.js ***!
      \******************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var trimEnd = __webpack_require__(/*! ../internals/string-trim-end */ 9591);
    
    // `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
    });
    
    
    /***/ }),
    
    /***/ 72910:
    /*!******************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.string.trim-start.js ***!
      \******************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    // TODO: Remove this line from `core-js@4`
    __webpack_require__(/*! ../modules/es.string.trim-left */ 93980);
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var trimStart = __webpack_require__(/*! ../internals/string-trim-start */ 27374);
    
    // `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
    });
    
    
    /***/ }),
    
    /***/ 70878:
    /*!************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.string.trim.js ***!
      \************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var $trim = (__webpack_require__(/*! ../internals/string-trim */ 52971).trim);
    var forcedStringTrimMethod = __webpack_require__(/*! ../internals/string-trim-forced */ 18105);
    
    // `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);
      }
    });
    
    
    /***/ }),
    
    /***/ 64003:
    /*!**********************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.symbol.async-iterator.js ***!
      \**********************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var defineWellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol-define */ 94674);
    
    // `Symbol.asyncIterator` well-known symbol
    // https://tc39.es/ecma262/#sec-symbol.asynciterator
    defineWellKnownSymbol('asyncIterator');
    
    
    /***/ }),
    
    /***/ 39161:
    /*!*******************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.symbol.constructor.js ***!
      \*******************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var global = __webpack_require__(/*! ../internals/global */ 92916);
    var call = __webpack_require__(/*! ../internals/function-call */ 89945);
    var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ 94237);
    var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ 16697);
    var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ 35454);
    var NATIVE_SYMBOL = __webpack_require__(/*! ../internals/symbol-constructor-detection */ 42820);
    var fails = __webpack_require__(/*! ../internals/fails */ 3338);
    var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ 32621);
    var isPrototypeOf = __webpack_require__(/*! ../internals/object-is-prototype-of */ 16332);
    var anObject = __webpack_require__(/*! ../internals/an-object */ 80449);
    var toIndexedObject = __webpack_require__(/*! ../internals/to-indexed-object */ 80524);
    var toPropertyKey = __webpack_require__(/*! ../internals/to-property-key */ 17818);
    var $toString = __webpack_require__(/*! ../internals/to-string */ 69905);
    var createPropertyDescriptor = __webpack_require__(/*! ../internals/create-property-descriptor */ 35012);
    var nativeObjectCreate = __webpack_require__(/*! ../internals/object-create */ 20132);
    var objectKeys = __webpack_require__(/*! ../internals/object-keys */ 7733);
    var getOwnPropertyNamesModule = __webpack_require__(/*! ../internals/object-get-own-property-names */ 80689);
    var getOwnPropertyNamesExternal = __webpack_require__(/*! ../internals/object-get-own-property-names-external */ 53393);
    var getOwnPropertySymbolsModule = __webpack_require__(/*! ../internals/object-get-own-property-symbols */ 92635);
    var getOwnPropertyDescriptorModule = __webpack_require__(/*! ../internals/object-get-own-property-descriptor */ 71256);
    var definePropertyModule = __webpack_require__(/*! ../internals/object-define-property */ 37691);
    var definePropertiesModule = __webpack_require__(/*! ../internals/object-define-properties */ 55666);
    var propertyIsEnumerableModule = __webpack_require__(/*! ../internals/object-property-is-enumerable */ 27597);
    var defineBuiltIn = __webpack_require__(/*! ../internals/define-built-in */ 2291);
    var defineBuiltInAccessor = __webpack_require__(/*! ../internals/define-built-in-accessor */ 64110);
    var shared = __webpack_require__(/*! ../internals/shared */ 77898);
    var sharedKey = __webpack_require__(/*! ../internals/shared-key */ 11898);
    var hiddenKeys = __webpack_require__(/*! ../internals/hidden-keys */ 54406);
    var uid = __webpack_require__(/*! ../internals/uid */ 6145);
    var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ 59893);
    var wrappedWellKnownSymbolModule = __webpack_require__(/*! ../internals/well-known-symbol-wrapped */ 38282);
    var defineWellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol-define */ 94674);
    var defineSymbolToPrimitive = __webpack_require__(/*! ../internals/symbol-define-to-primitive */ 14311);
    var setToStringTag = __webpack_require__(/*! ../internals/set-to-string-tag */ 94573);
    var InternalStateModule = __webpack_require__(/*! ../internals/internal-state */ 94844);
    var $forEach = (__webpack_require__(/*! ../internals/array-iteration */ 90560).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 = global.Symbol;
    var SymbolPrototype = $Symbol && $Symbol[PROTOTYPE];
    var RangeError = global.RangeError;
    var TypeError = global.TypeError;
    var QObject = global.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, {}));
          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 ? global : 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;
    
    
    /***/ }),
    
    /***/ 44852:
    /*!*******************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.symbol.description.js ***!
      \*******************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    // `Symbol.prototype.description` getter
    // https://tc39.es/ecma262/#sec-symbol.prototype.description
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ 35454);
    var global = __webpack_require__(/*! ../internals/global */ 92916);
    var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ 94237);
    var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ 32621);
    var isCallable = __webpack_require__(/*! ../internals/is-callable */ 55327);
    var isPrototypeOf = __webpack_require__(/*! ../internals/object-is-prototype-of */ 16332);
    var toString = __webpack_require__(/*! ../internals/to-string */ 69905);
    var defineBuiltInAccessor = __webpack_require__(/*! ../internals/define-built-in-accessor */ 64110);
    var copyConstructorProperties = __webpack_require__(/*! ../internals/copy-constructor-properties */ 24538);
    
    var NativeSymbol = global.Symbol;
    var SymbolPrototype = NativeSymbol && NativeSymbol.prototype;
    
    if (DESCRIPTORS && isCallable(NativeSymbol) && (!('description' in SymbolPrototype) ||
      // Safari 12 bug
      NativeSymbol().description !== undefined
    )) {
      var EmptyStringDescriptionStore = {};
      // wrap Symbol constructor for correct work with undefined description
      var SymbolWrapper = function Symbol() {
        var description = arguments.length < 1 || arguments[0] === undefined ? undefined : toString(arguments[0]);
        var result = isPrototypeOf(SymbolPrototype, this)
          ? new NativeSymbol(description)
          // in Edge 13, String(Symbol(undefined)) === 'Symbol(undefined)'
          : description === undefined ? NativeSymbol() : NativeSymbol(description);
        if (description === '') EmptyStringDescriptionStore[result] = true;
        return result;
      };
    
      copyConstructorProperties(SymbolWrapper, NativeSymbol);
      SymbolWrapper.prototype = SymbolPrototype;
      SymbolPrototype.constructor = SymbolWrapper;
    
      var NATIVE_SYMBOL = String(NativeSymbol('description detection')) === 'Symbol(description detection)';
      var thisSymbolValue = uncurryThis(SymbolPrototype.valueOf);
      var symbolDescriptiveString = uncurryThis(SymbolPrototype.toString);
      var regexp = /^Symbol\((.*)\)[^)]+$/;
      var replace = uncurryThis(''.replace);
      var stringSlice = uncurryThis(''.slice);
    
      defineBuiltInAccessor(SymbolPrototype, 'description', {
        configurable: true,
        get: function description() {
          var symbol = thisSymbolValue(this);
          if (hasOwn(EmptyStringDescriptionStore, symbol)) return '';
          var string = symbolDescriptiveString(symbol);
          var desc = NATIVE_SYMBOL ? stringSlice(string, 7, -1) : replace(string, regexp, '$1');
          return desc === '' ? undefined : desc;
        }
      });
    
      $({ global: true, constructor: true, forced: true }, {
        Symbol: SymbolWrapper
      });
    }
    
    
    /***/ }),
    
    /***/ 54524:
    /*!***********************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.symbol.for.js ***!
      \***********************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ 65911);
    var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ 32621);
    var toString = __webpack_require__(/*! ../internals/to-string */ 69905);
    var shared = __webpack_require__(/*! ../internals/shared */ 77898);
    var NATIVE_SYMBOL_REGISTRY = __webpack_require__(/*! ../internals/symbol-registry-detection */ 60798);
    
    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;
      }
    });
    
    
    /***/ }),
    
    /***/ 17898:
    /*!********************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.symbol.has-instance.js ***!
      \********************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var defineWellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol-define */ 94674);
    
    // `Symbol.hasInstance` well-known symbol
    // https://tc39.es/ecma262/#sec-symbol.hasinstance
    defineWellKnownSymbol('hasInstance');
    
    
    /***/ }),
    
    /***/ 40902:
    /*!****************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.symbol.is-concat-spreadable.js ***!
      \****************************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var defineWellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol-define */ 94674);
    
    // `Symbol.isConcatSpreadable` well-known symbol
    // https://tc39.es/ecma262/#sec-symbol.isconcatspreadable
    defineWellKnownSymbol('isConcatSpreadable');
    
    
    /***/ }),
    
    /***/ 2259:
    /*!****************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.symbol.iterator.js ***!
      \****************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var defineWellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol-define */ 94674);
    
    // `Symbol.iterator` well-known symbol
    // https://tc39.es/ecma262/#sec-symbol.iterator
    defineWellKnownSymbol('iterator');
    
    
    /***/ }),
    
    /***/ 68557:
    /*!*******************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.symbol.js ***!
      \*******************************************************************/
    /***/ (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__(/*! ../modules/es.symbol.constructor */ 39161);
    __webpack_require__(/*! ../modules/es.symbol.for */ 54524);
    __webpack_require__(/*! ../modules/es.symbol.key-for */ 32340);
    __webpack_require__(/*! ../modules/es.json.stringify */ 54226);
    __webpack_require__(/*! ../modules/es.object.get-own-property-symbols */ 67936);
    
    
    /***/ }),
    
    /***/ 32340:
    /*!***************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.symbol.key-for.js ***!
      \***************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ 32621);
    var isSymbol = __webpack_require__(/*! ../internals/is-symbol */ 18446);
    var tryToString = __webpack_require__(/*! ../internals/try-to-string */ 40593);
    var shared = __webpack_require__(/*! ../internals/shared */ 77898);
    var NATIVE_SYMBOL_REGISTRY = __webpack_require__(/*! ../internals/symbol-registry-detection */ 60798);
    
    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];
      }
    });
    
    
    /***/ }),
    
    /***/ 69811:
    /*!*****************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.symbol.match-all.js ***!
      \*****************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var defineWellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol-define */ 94674);
    
    // `Symbol.matchAll` well-known symbol
    // https://tc39.es/ecma262/#sec-symbol.matchall
    defineWellKnownSymbol('matchAll');
    
    
    /***/ }),
    
    /***/ 14589:
    /*!*************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.symbol.match.js ***!
      \*************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var defineWellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol-define */ 94674);
    
    // `Symbol.match` well-known symbol
    // https://tc39.es/ecma262/#sec-symbol.match
    defineWellKnownSymbol('match');
    
    
    /***/ }),
    
    /***/ 18114:
    /*!***************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.symbol.replace.js ***!
      \***************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var defineWellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol-define */ 94674);
    
    // `Symbol.replace` well-known symbol
    // https://tc39.es/ecma262/#sec-symbol.replace
    defineWellKnownSymbol('replace');
    
    
    /***/ }),
    
    /***/ 23844:
    /*!**************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.symbol.search.js ***!
      \**************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var defineWellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol-define */ 94674);
    
    // `Symbol.search` well-known symbol
    // https://tc39.es/ecma262/#sec-symbol.search
    defineWellKnownSymbol('search');
    
    
    /***/ }),
    
    /***/ 39581:
    /*!***************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.symbol.species.js ***!
      \***************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var defineWellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol-define */ 94674);
    
    // `Symbol.species` well-known symbol
    // https://tc39.es/ecma262/#sec-symbol.species
    defineWellKnownSymbol('species');
    
    
    /***/ }),
    
    /***/ 40632:
    /*!*************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.symbol.split.js ***!
      \*************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var defineWellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol-define */ 94674);
    
    // `Symbol.split` well-known symbol
    // https://tc39.es/ecma262/#sec-symbol.split
    defineWellKnownSymbol('split');
    
    
    /***/ }),
    
    /***/ 22690:
    /*!********************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.symbol.to-primitive.js ***!
      \********************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var defineWellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol-define */ 94674);
    var defineSymbolToPrimitive = __webpack_require__(/*! ../internals/symbol-define-to-primitive */ 14311);
    
    // `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();
    
    
    /***/ }),
    
    /***/ 7786:
    /*!*********************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.symbol.to-string-tag.js ***!
      \*********************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ 65911);
    var defineWellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol-define */ 94674);
    var setToStringTag = __webpack_require__(/*! ../internals/set-to-string-tag */ 94573);
    
    // `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');
    
    
    /***/ }),
    
    /***/ 99062:
    /*!*******************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.symbol.unscopables.js ***!
      \*******************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var defineWellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol-define */ 94674);
    
    // `Symbol.unscopables` well-known symbol
    // https://tc39.es/ecma262/#sec-symbol.unscopables
    defineWellKnownSymbol('unscopables');
    
    
    /***/ }),
    
    /***/ 35246:
    /*!***************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.typed-array.at.js ***!
      \***************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var ArrayBufferViewCore = __webpack_require__(/*! ../internals/array-buffer-view-core */ 58261);
    var lengthOfArrayLike = __webpack_require__(/*! ../internals/length-of-array-like */ 82762);
    var toIntegerOrInfinity = __webpack_require__(/*! ../internals/to-integer-or-infinity */ 56902);
    
    var aTypedArray = ArrayBufferViewCore.aTypedArray;
    var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;
    
    // `%TypedArray%.prototype.at` method
    // https://tc39.es/ecma262/#sec-%typedarray%.prototype.at
    exportTypedArrayMethod('at', function at(index) {
      var O = aTypedArray(this);
      var len = lengthOfArrayLike(O);
      var relativeIndex = toIntegerOrInfinity(index);
      var k = relativeIndex >= 0 ? relativeIndex : len + relativeIndex;
      return (k < 0 || k >= len) ? undefined : O[k];
    });
    
    
    /***/ }),
    
    /***/ 83470:
    /*!************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.typed-array.copy-within.js ***!
      \************************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ 94237);
    var ArrayBufferViewCore = __webpack_require__(/*! ../internals/array-buffer-view-core */ 58261);
    var $ArrayCopyWithin = __webpack_require__(/*! ../internals/array-copy-within */ 92670);
    
    var u$ArrayCopyWithin = uncurryThis($ArrayCopyWithin);
    var aTypedArray = ArrayBufferViewCore.aTypedArray;
    var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;
    
    // `%TypedArray%.prototype.copyWithin` method
    // https://tc39.es/ecma262/#sec-%typedarray%.prototype.copywithin
    exportTypedArrayMethod('copyWithin', function copyWithin(target, start /* , end */) {
      return u$ArrayCopyWithin(aTypedArray(this), target, start, arguments.length > 2 ? arguments[2] : undefined);
    });
    
    
    /***/ }),
    
    /***/ 79641:
    /*!******************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.typed-array.every.js ***!
      \******************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var ArrayBufferViewCore = __webpack_require__(/*! ../internals/array-buffer-view-core */ 58261);
    var $every = (__webpack_require__(/*! ../internals/array-iteration */ 90560).every);
    
    var aTypedArray = ArrayBufferViewCore.aTypedArray;
    var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;
    
    // `%TypedArray%.prototype.every` method
    // https://tc39.es/ecma262/#sec-%typedarray%.prototype.every
    exportTypedArrayMethod('every', function every(callbackfn /* , thisArg */) {
      return $every(aTypedArray(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined);
    });
    
    
    /***/ }),
    
    /***/ 72397:
    /*!*****************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.typed-array.fill.js ***!
      \*****************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var ArrayBufferViewCore = __webpack_require__(/*! ../internals/array-buffer-view-core */ 58261);
    var $fill = __webpack_require__(/*! ../internals/array-fill */ 75202);
    var toBigInt = __webpack_require__(/*! ../internals/to-big-int */ 93303);
    var classof = __webpack_require__(/*! ../internals/classof */ 97607);
    var call = __webpack_require__(/*! ../internals/function-call */ 89945);
    var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ 94237);
    var fails = __webpack_require__(/*! ../internals/fails */ 3338);
    
    var aTypedArray = ArrayBufferViewCore.aTypedArray;
    var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;
    var slice = uncurryThis(''.slice);
    
    // V8 ~ Chrome < 59, Safari < 14.1, FF < 55, Edge <=18
    var CONVERSION_BUG = fails(function () {
      var count = 0;
      // eslint-disable-next-line es/no-typed-arrays -- safe
      new Int8Array(2).fill({ valueOf: function () { return count++; } });
      return count !== 1;
    });
    
    // `%TypedArray%.prototype.fill` method
    // https://tc39.es/ecma262/#sec-%typedarray%.prototype.fill
    exportTypedArrayMethod('fill', function fill(value /* , start, end */) {
      var length = arguments.length;
      aTypedArray(this);
      var actualValue = slice(classof(this), 0, 3) === 'Big' ? toBigInt(value) : +value;
      return call($fill, this, actualValue, length > 1 ? arguments[1] : undefined, length > 2 ? arguments[2] : undefined);
    }, CONVERSION_BUG);
    
    
    /***/ }),
    
    /***/ 24860:
    /*!*******************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.typed-array.filter.js ***!
      \*******************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var ArrayBufferViewCore = __webpack_require__(/*! ../internals/array-buffer-view-core */ 58261);
    var $filter = (__webpack_require__(/*! ../internals/array-iteration */ 90560).filter);
    var fromSpeciesAndList = __webpack_require__(/*! ../internals/typed-array-from-species-and-list */ 27607);
    
    var aTypedArray = ArrayBufferViewCore.aTypedArray;
    var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;
    
    // `%TypedArray%.prototype.filter` method
    // https://tc39.es/ecma262/#sec-%typedarray%.prototype.filter
    exportTypedArrayMethod('filter', function filter(callbackfn /* , thisArg */) {
      var list = $filter(aTypedArray(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined);
      return fromSpeciesAndList(this, list);
    });
    
    
    /***/ }),
    
    /***/ 56233:
    /*!***********************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.typed-array.find-index.js ***!
      \***********************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var ArrayBufferViewCore = __webpack_require__(/*! ../internals/array-buffer-view-core */ 58261);
    var $findIndex = (__webpack_require__(/*! ../internals/array-iteration */ 90560).findIndex);
    
    var aTypedArray = ArrayBufferViewCore.aTypedArray;
    var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;
    
    // `%TypedArray%.prototype.findIndex` method
    // https://tc39.es/ecma262/#sec-%typedarray%.prototype.findindex
    exportTypedArrayMethod('findIndex', function findIndex(predicate /* , thisArg */) {
      return $findIndex(aTypedArray(this), predicate, arguments.length > 1 ? arguments[1] : undefined);
    });
    
    
    /***/ }),
    
    /***/ 64344:
    /*!****************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.typed-array.find-last-index.js ***!
      \****************************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var ArrayBufferViewCore = __webpack_require__(/*! ../internals/array-buffer-view-core */ 58261);
    var $findLastIndex = (__webpack_require__(/*! ../internals/array-iteration-from-last */ 53279).findLastIndex);
    
    var aTypedArray = ArrayBufferViewCore.aTypedArray;
    var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;
    
    // `%TypedArray%.prototype.findLastIndex` method
    // https://tc39.es/ecma262/#sec-%typedarray%.prototype.findlastindex
    exportTypedArrayMethod('findLastIndex', function findLastIndex(predicate /* , thisArg */) {
      return $findLastIndex(aTypedArray(this), predicate, arguments.length > 1 ? arguments[1] : undefined);
    });
    
    
    /***/ }),
    
    /***/ 59419:
    /*!**********************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.typed-array.find-last.js ***!
      \**********************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var ArrayBufferViewCore = __webpack_require__(/*! ../internals/array-buffer-view-core */ 58261);
    var $findLast = (__webpack_require__(/*! ../internals/array-iteration-from-last */ 53279).findLast);
    
    var aTypedArray = ArrayBufferViewCore.aTypedArray;
    var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;
    
    // `%TypedArray%.prototype.findLast` method
    // https://tc39.es/ecma262/#sec-%typedarray%.prototype.findlast
    exportTypedArrayMethod('findLast', function findLast(predicate /* , thisArg */) {
      return $findLast(aTypedArray(this), predicate, arguments.length > 1 ? arguments[1] : undefined);
    });
    
    
    /***/ }),
    
    /***/ 19320:
    /*!*****************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.typed-array.find.js ***!
      \*****************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var ArrayBufferViewCore = __webpack_require__(/*! ../internals/array-buffer-view-core */ 58261);
    var $find = (__webpack_require__(/*! ../internals/array-iteration */ 90560).find);
    
    var aTypedArray = ArrayBufferViewCore.aTypedArray;
    var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;
    
    // `%TypedArray%.prototype.find` method
    // https://tc39.es/ecma262/#sec-%typedarray%.prototype.find
    exportTypedArrayMethod('find', function find(predicate /* , thisArg */) {
      return $find(aTypedArray(this), predicate, arguments.length > 1 ? arguments[1] : undefined);
    });
    
    
    /***/ }),
    
    /***/ 84432:
    /*!**************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.typed-array.float32-array.js ***!
      \**************************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var createTypedArrayConstructor = __webpack_require__(/*! ../internals/typed-array-constructor */ 69733);
    
    // `Float32Array` constructor
    // https://tc39.es/ecma262/#sec-typedarray-objects
    createTypedArrayConstructor('Float32', function (init) {
      return function Float32Array(data, byteOffset, length) {
        return init(this, data, byteOffset, length);
      };
    });
    
    
    /***/ }),
    
    /***/ 59022:
    /*!**************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.typed-array.float64-array.js ***!
      \**************************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var createTypedArrayConstructor = __webpack_require__(/*! ../internals/typed-array-constructor */ 69733);
    
    // `Float64Array` constructor
    // https://tc39.es/ecma262/#sec-typedarray-objects
    createTypedArrayConstructor('Float64', function (init) {
      return function Float64Array(data, byteOffset, length) {
        return init(this, data, byteOffset, length);
      };
    });
    
    
    /***/ }),
    
    /***/ 5316:
    /*!*********************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.typed-array.for-each.js ***!
      \*********************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var ArrayBufferViewCore = __webpack_require__(/*! ../internals/array-buffer-view-core */ 58261);
    var $forEach = (__webpack_require__(/*! ../internals/array-iteration */ 90560).forEach);
    
    var aTypedArray = ArrayBufferViewCore.aTypedArray;
    var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;
    
    // `%TypedArray%.prototype.forEach` method
    // https://tc39.es/ecma262/#sec-%typedarray%.prototype.foreach
    exportTypedArrayMethod('forEach', function forEach(callbackfn /* , thisArg */) {
      $forEach(aTypedArray(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined);
    });
    
    
    /***/ }),
    
    /***/ 93744:
    /*!*****************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.typed-array.from.js ***!
      \*****************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS = __webpack_require__(/*! ../internals/typed-array-constructors-require-wrappers */ 59627);
    var exportTypedArrayStaticMethod = (__webpack_require__(/*! ../internals/array-buffer-view-core */ 58261).exportTypedArrayStaticMethod);
    var typedArrayFrom = __webpack_require__(/*! ../internals/typed-array-from */ 50706);
    
    // `%TypedArray%.from` method
    // https://tc39.es/ecma262/#sec-%typedarray%.from
    exportTypedArrayStaticMethod('from', typedArrayFrom, TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS);
    
    
    /***/ }),
    
    /***/ 19299:
    /*!*********************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.typed-array.includes.js ***!
      \*********************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var ArrayBufferViewCore = __webpack_require__(/*! ../internals/array-buffer-view-core */ 58261);
    var $includes = (__webpack_require__(/*! ../internals/array-includes */ 22999).includes);
    
    var aTypedArray = ArrayBufferViewCore.aTypedArray;
    var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;
    
    // `%TypedArray%.prototype.includes` method
    // https://tc39.es/ecma262/#sec-%typedarray%.prototype.includes
    exportTypedArrayMethod('includes', function includes(searchElement /* , fromIndex */) {
      return $includes(aTypedArray(this), searchElement, arguments.length > 1 ? arguments[1] : undefined);
    });
    
    
    /***/ }),
    
    /***/ 15286:
    /*!*********************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.typed-array.index-of.js ***!
      \*********************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var ArrayBufferViewCore = __webpack_require__(/*! ../internals/array-buffer-view-core */ 58261);
    var $indexOf = (__webpack_require__(/*! ../internals/array-includes */ 22999).indexOf);
    
    var aTypedArray = ArrayBufferViewCore.aTypedArray;
    var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;
    
    // `%TypedArray%.prototype.indexOf` method
    // https://tc39.es/ecma262/#sec-%typedarray%.prototype.indexof
    exportTypedArrayMethod('indexOf', function indexOf(searchElement /* , fromIndex */) {
      return $indexOf(aTypedArray(this), searchElement, arguments.length > 1 ? arguments[1] : undefined);
    });
    
    
    /***/ }),
    
    /***/ 51054:
    /*!************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.typed-array.int16-array.js ***!
      \************************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var createTypedArrayConstructor = __webpack_require__(/*! ../internals/typed-array-constructor */ 69733);
    
    // `Int16Array` constructor
    // https://tc39.es/ecma262/#sec-typedarray-objects
    createTypedArrayConstructor('Int16', function (init) {
      return function Int16Array(data, byteOffset, length) {
        return init(this, data, byteOffset, length);
      };
    });
    
    
    /***/ }),
    
    /***/ 60330:
    /*!************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.typed-array.int32-array.js ***!
      \************************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var createTypedArrayConstructor = __webpack_require__(/*! ../internals/typed-array-constructor */ 69733);
    
    // `Int32Array` constructor
    // https://tc39.es/ecma262/#sec-typedarray-objects
    createTypedArrayConstructor('Int32', function (init) {
      return function Int32Array(data, byteOffset, length) {
        return init(this, data, byteOffset, length);
      };
    });
    
    
    /***/ }),
    
    /***/ 19363:
    /*!***********************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.typed-array.int8-array.js ***!
      \***********************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var createTypedArrayConstructor = __webpack_require__(/*! ../internals/typed-array-constructor */ 69733);
    
    // `Int8Array` constructor
    // https://tc39.es/ecma262/#sec-typedarray-objects
    createTypedArrayConstructor('Int8', function (init) {
      return function Int8Array(data, byteOffset, length) {
        return init(this, data, byteOffset, length);
      };
    });
    
    
    /***/ }),
    
    /***/ 91927:
    /*!*********************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.typed-array.iterator.js ***!
      \*********************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var global = __webpack_require__(/*! ../internals/global */ 92916);
    var fails = __webpack_require__(/*! ../internals/fails */ 3338);
    var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ 94237);
    var ArrayBufferViewCore = __webpack_require__(/*! ../internals/array-buffer-view-core */ 58261);
    var ArrayIterators = __webpack_require__(/*! ../modules/es.array.iterator */ 11005);
    var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ 59893);
    
    var ITERATOR = wellKnownSymbol('iterator');
    var Uint8Array = global.Uint8Array;
    var arrayValues = uncurryThis(ArrayIterators.values);
    var arrayKeys = uncurryThis(ArrayIterators.keys);
    var arrayEntries = uncurryThis(ArrayIterators.entries);
    var aTypedArray = ArrayBufferViewCore.aTypedArray;
    var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;
    var TypedArrayPrototype = Uint8Array && Uint8Array.prototype;
    
    var GENERIC = !fails(function () {
      TypedArrayPrototype[ITERATOR].call([1]);
    });
    
    var ITERATOR_IS_VALUES = !!TypedArrayPrototype
      && TypedArrayPrototype.values
      && TypedArrayPrototype[ITERATOR] === TypedArrayPrototype.values
      && TypedArrayPrototype.values.name === 'values';
    
    var typedArrayValues = function values() {
      return arrayValues(aTypedArray(this));
    };
    
    // `%TypedArray%.prototype.entries` method
    // https://tc39.es/ecma262/#sec-%typedarray%.prototype.entries
    exportTypedArrayMethod('entries', function entries() {
      return arrayEntries(aTypedArray(this));
    }, GENERIC);
    // `%TypedArray%.prototype.keys` method
    // https://tc39.es/ecma262/#sec-%typedarray%.prototype.keys
    exportTypedArrayMethod('keys', function keys() {
      return arrayKeys(aTypedArray(this));
    }, GENERIC);
    // `%TypedArray%.prototype.values` method
    // https://tc39.es/ecma262/#sec-%typedarray%.prototype.values
    exportTypedArrayMethod('values', typedArrayValues, GENERIC || !ITERATOR_IS_VALUES, { name: 'values' });
    // `%TypedArray%.prototype[@@iterator]` method
    // https://tc39.es/ecma262/#sec-%typedarray%.prototype-@@iterator
    exportTypedArrayMethod(ITERATOR, typedArrayValues, GENERIC || !ITERATOR_IS_VALUES, { name: 'values' });
    
    
    /***/ }),
    
    /***/ 27730:
    /*!*****************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.typed-array.join.js ***!
      \*****************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var ArrayBufferViewCore = __webpack_require__(/*! ../internals/array-buffer-view-core */ 58261);
    var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ 94237);
    
    var aTypedArray = ArrayBufferViewCore.aTypedArray;
    var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;
    var $join = uncurryThis([].join);
    
    // `%TypedArray%.prototype.join` method
    // https://tc39.es/ecma262/#sec-%typedarray%.prototype.join
    exportTypedArrayMethod('join', function join(separator) {
      return $join(aTypedArray(this), separator);
    });
    
    
    /***/ }),
    
    /***/ 58707:
    /*!**************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.typed-array.last-index-of.js ***!
      \**************************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var ArrayBufferViewCore = __webpack_require__(/*! ../internals/array-buffer-view-core */ 58261);
    var apply = __webpack_require__(/*! ../internals/function-apply */ 13743);
    var $lastIndexOf = __webpack_require__(/*! ../internals/array-last-index-of */ 55009);
    
    var aTypedArray = ArrayBufferViewCore.aTypedArray;
    var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;
    
    // `%TypedArray%.prototype.lastIndexOf` method
    // https://tc39.es/ecma262/#sec-%typedarray%.prototype.lastindexof
    exportTypedArrayMethod('lastIndexOf', function lastIndexOf(searchElement /* , fromIndex */) {
      var length = arguments.length;
      return apply($lastIndexOf, aTypedArray(this), length > 1 ? [searchElement, arguments[1]] : [searchElement]);
    });
    
    
    /***/ }),
    
    /***/ 41356:
    /*!****************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.typed-array.map.js ***!
      \****************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var ArrayBufferViewCore = __webpack_require__(/*! ../internals/array-buffer-view-core */ 58261);
    var $map = (__webpack_require__(/*! ../internals/array-iteration */ 90560).map);
    var typedArraySpeciesConstructor = __webpack_require__(/*! ../internals/typed-array-species-constructor */ 31384);
    
    var aTypedArray = ArrayBufferViewCore.aTypedArray;
    var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;
    
    // `%TypedArray%.prototype.map` method
    // https://tc39.es/ecma262/#sec-%typedarray%.prototype.map
    exportTypedArrayMethod('map', function map(mapfn /* , thisArg */) {
      return $map(aTypedArray(this), mapfn, arguments.length > 1 ? arguments[1] : undefined, function (O, length) {
        return new (typedArraySpeciesConstructor(O))(length);
      });
    });
    
    
    /***/ }),
    
    /***/ 51606:
    /*!***************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.typed-array.of.js ***!
      \***************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var ArrayBufferViewCore = __webpack_require__(/*! ../internals/array-buffer-view-core */ 58261);
    var TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS = __webpack_require__(/*! ../internals/typed-array-constructors-require-wrappers */ 59627);
    
    var aTypedArrayConstructor = ArrayBufferViewCore.aTypedArrayConstructor;
    var exportTypedArrayStaticMethod = ArrayBufferViewCore.exportTypedArrayStaticMethod;
    
    // `%TypedArray%.of` method
    // https://tc39.es/ecma262/#sec-%typedarray%.of
    exportTypedArrayStaticMethod('of', function of(/* ...items */) {
      var index = 0;
      var length = arguments.length;
      var result = new (aTypedArrayConstructor(this))(length);
      while (length > index) result[index] = arguments[index++];
      return result;
    }, TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS);
    
    
    /***/ }),
    
    /***/ 38458:
    /*!*************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.typed-array.reduce-right.js ***!
      \*************************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var ArrayBufferViewCore = __webpack_require__(/*! ../internals/array-buffer-view-core */ 58261);
    var $reduceRight = (__webpack_require__(/*! ../internals/array-reduce */ 16370).right);
    
    var aTypedArray = ArrayBufferViewCore.aTypedArray;
    var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;
    
    // `%TypedArray%.prototype.reduceRight` method
    // https://tc39.es/ecma262/#sec-%typedarray%.prototype.reduceright
    exportTypedArrayMethod('reduceRight', function reduceRight(callbackfn /* , initialValue */) {
      var length = arguments.length;
      return $reduceRight(aTypedArray(this), callbackfn, length, length > 1 ? arguments[1] : undefined);
    });
    
    
    /***/ }),
    
    /***/ 8966:
    /*!*******************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.typed-array.reduce.js ***!
      \*******************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var ArrayBufferViewCore = __webpack_require__(/*! ../internals/array-buffer-view-core */ 58261);
    var $reduce = (__webpack_require__(/*! ../internals/array-reduce */ 16370).left);
    
    var aTypedArray = ArrayBufferViewCore.aTypedArray;
    var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;
    
    // `%TypedArray%.prototype.reduce` method
    // https://tc39.es/ecma262/#sec-%typedarray%.prototype.reduce
    exportTypedArrayMethod('reduce', function reduce(callbackfn /* , initialValue */) {
      var length = arguments.length;
      return $reduce(aTypedArray(this), callbackfn, length, length > 1 ? arguments[1] : undefined);
    });
    
    
    /***/ }),
    
    /***/ 71957:
    /*!********************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.typed-array.reverse.js ***!
      \********************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var ArrayBufferViewCore = __webpack_require__(/*! ../internals/array-buffer-view-core */ 58261);
    
    var aTypedArray = ArrayBufferViewCore.aTypedArray;
    var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;
    var floor = Math.floor;
    
    // `%TypedArray%.prototype.reverse` method
    // https://tc39.es/ecma262/#sec-%typedarray%.prototype.reverse
    exportTypedArrayMethod('reverse', function reverse() {
      var that = this;
      var length = aTypedArray(that).length;
      var middle = floor(length / 2);
      var index = 0;
      var value;
      while (index < middle) {
        value = that[index];
        that[index++] = that[--length];
        that[length] = value;
      } return that;
    });
    
    
    /***/ }),
    
    /***/ 89466:
    /*!****************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.typed-array.set.js ***!
      \****************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var global = __webpack_require__(/*! ../internals/global */ 92916);
    var call = __webpack_require__(/*! ../internals/function-call */ 89945);
    var ArrayBufferViewCore = __webpack_require__(/*! ../internals/array-buffer-view-core */ 58261);
    var lengthOfArrayLike = __webpack_require__(/*! ../internals/length-of-array-like */ 82762);
    var toOffset = __webpack_require__(/*! ../internals/to-offset */ 64135);
    var toIndexedObject = __webpack_require__(/*! ../internals/to-object */ 94029);
    var fails = __webpack_require__(/*! ../internals/fails */ 3338);
    
    var RangeError = global.RangeError;
    var Int8Array = global.Int8Array;
    var Int8ArrayPrototype = Int8Array && Int8Array.prototype;
    var $set = Int8ArrayPrototype && Int8ArrayPrototype.set;
    var aTypedArray = ArrayBufferViewCore.aTypedArray;
    var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;
    
    var WORKS_WITH_OBJECTS_AND_GENERIC_ON_TYPED_ARRAYS = !fails(function () {
      // eslint-disable-next-line es/no-typed-arrays -- required for testing
      var array = new Uint8ClampedArray(2);
      call($set, array, { length: 1, 0: 3 }, 1);
      return array[1] !== 3;
    });
    
    // https://bugs.chromium.org/p/v8/issues/detail?id=11294 and other
    var TO_OBJECT_BUG = WORKS_WITH_OBJECTS_AND_GENERIC_ON_TYPED_ARRAYS && ArrayBufferViewCore.NATIVE_ARRAY_BUFFER_VIEWS && fails(function () {
      var array = new Int8Array(2);
      array.set(1);
      array.set('2', 1);
      return array[0] !== 0 || array[1] !== 2;
    });
    
    // `%TypedArray%.prototype.set` method
    // https://tc39.es/ecma262/#sec-%typedarray%.prototype.set
    exportTypedArrayMethod('set', function set(arrayLike /* , offset */) {
      aTypedArray(this);
      var offset = toOffset(arguments.length > 1 ? arguments[1] : undefined, 1);
      var src = toIndexedObject(arrayLike);
      if (WORKS_WITH_OBJECTS_AND_GENERIC_ON_TYPED_ARRAYS) return call($set, this, src, offset);
      var length = this.length;
      var len = lengthOfArrayLike(src);
      var index = 0;
      if (len + offset > length) throw new RangeError('Wrong length');
      while (index < len) this[offset + index] = src[index++];
    }, !WORKS_WITH_OBJECTS_AND_GENERIC_ON_TYPED_ARRAYS || TO_OBJECT_BUG);
    
    
    /***/ }),
    
    /***/ 69653:
    /*!******************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.typed-array.slice.js ***!
      \******************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var ArrayBufferViewCore = __webpack_require__(/*! ../internals/array-buffer-view-core */ 58261);
    var typedArraySpeciesConstructor = __webpack_require__(/*! ../internals/typed-array-species-constructor */ 31384);
    var fails = __webpack_require__(/*! ../internals/fails */ 3338);
    var arraySlice = __webpack_require__(/*! ../internals/array-slice */ 30867);
    
    var aTypedArray = ArrayBufferViewCore.aTypedArray;
    var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;
    
    var FORCED = fails(function () {
      // eslint-disable-next-line es/no-typed-arrays -- required for testing
      new Int8Array(1).slice();
    });
    
    // `%TypedArray%.prototype.slice` method
    // https://tc39.es/ecma262/#sec-%typedarray%.prototype.slice
    exportTypedArrayMethod('slice', function slice(start, end) {
      var list = arraySlice(aTypedArray(this), start, end);
      var C = typedArraySpeciesConstructor(this);
      var index = 0;
      var length = list.length;
      var result = new C(length);
      while (length > index) result[index] = list[index++];
      return result;
    }, FORCED);
    
    
    /***/ }),
    
    /***/ 96519:
    /*!*****************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.typed-array.some.js ***!
      \*****************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var ArrayBufferViewCore = __webpack_require__(/*! ../internals/array-buffer-view-core */ 58261);
    var $some = (__webpack_require__(/*! ../internals/array-iteration */ 90560).some);
    
    var aTypedArray = ArrayBufferViewCore.aTypedArray;
    var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;
    
    // `%TypedArray%.prototype.some` method
    // https://tc39.es/ecma262/#sec-%typedarray%.prototype.some
    exportTypedArrayMethod('some', function some(callbackfn /* , thisArg */) {
      return $some(aTypedArray(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined);
    });
    
    
    /***/ }),
    
    /***/ 95576:
    /*!*****************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.typed-array.sort.js ***!
      \*****************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var global = __webpack_require__(/*! ../internals/global */ 92916);
    var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this-clause */ 34114);
    var fails = __webpack_require__(/*! ../internals/fails */ 3338);
    var aCallable = __webpack_require__(/*! ../internals/a-callable */ 63335);
    var internalSort = __webpack_require__(/*! ../internals/array-sort */ 63668);
    var ArrayBufferViewCore = __webpack_require__(/*! ../internals/array-buffer-view-core */ 58261);
    var FF = __webpack_require__(/*! ../internals/engine-ff-version */ 78177);
    var IE_OR_EDGE = __webpack_require__(/*! ../internals/engine-is-ie-or-edge */ 17687);
    var V8 = __webpack_require__(/*! ../internals/engine-v8-version */ 46573);
    var WEBKIT = __webpack_require__(/*! ../internals/engine-webkit-version */ 19684);
    
    var aTypedArray = ArrayBufferViewCore.aTypedArray;
    var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;
    var Uint16Array = global.Uint16Array;
    var nativeSort = Uint16Array && uncurryThis(Uint16Array.prototype.sort);
    
    // WebKit
    var ACCEPT_INCORRECT_ARGUMENTS = !!nativeSort && !(fails(function () {
      nativeSort(new Uint16Array(2), null);
    }) && fails(function () {
      nativeSort(new Uint16Array(2), {});
    }));
    
    var STABLE_SORT = !!nativeSort && !fails(function () {
      // feature detection can be too slow, so check engines versions
      if (V8) return V8 < 74;
      if (FF) return FF < 67;
      if (IE_OR_EDGE) return true;
      if (WEBKIT) return WEBKIT < 602;
    
      var array = new Uint16Array(516);
      var expected = Array(516);
      var index, mod;
    
      for (index = 0; index < 516; index++) {
        mod = index % 4;
        array[index] = 515 - index;
        expected[index] = index - 2 * mod + 3;
      }
    
      nativeSort(array, function (a, b) {
        return (a / 4 | 0) - (b / 4 | 0);
      });
    
      for (index = 0; index < 516; index++) {
        if (array[index] !== expected[index]) return true;
      }
    });
    
    var getSortCompare = function (comparefn) {
      return function (x, y) {
        if (comparefn !== undefined) return +comparefn(x, y) || 0;
        // eslint-disable-next-line no-self-compare -- NaN check
        if (y !== y) return -1;
        // eslint-disable-next-line no-self-compare -- NaN check
        if (x !== x) return 1;
        if (x === 0 && y === 0) return 1 / x > 0 && 1 / y < 0 ? 1 : -1;
        return x > y;
      };
    };
    
    // `%TypedArray%.prototype.sort` method
    // https://tc39.es/ecma262/#sec-%typedarray%.prototype.sort
    exportTypedArrayMethod('sort', function sort(comparefn) {
      if (comparefn !== undefined) aCallable(comparefn);
      if (STABLE_SORT) return nativeSort(this, comparefn);
    
      return internalSort(aTypedArray(this), getSortCompare(comparefn));
    }, !STABLE_SORT || ACCEPT_INCORRECT_ARGUMENTS);
    
    
    /***/ }),
    
    /***/ 63079:
    /*!*********************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.typed-array.subarray.js ***!
      \*********************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var ArrayBufferViewCore = __webpack_require__(/*! ../internals/array-buffer-view-core */ 58261);
    var toLength = __webpack_require__(/*! ../internals/to-length */ 61578);
    var toAbsoluteIndex = __webpack_require__(/*! ../internals/to-absolute-index */ 51981);
    var typedArraySpeciesConstructor = __webpack_require__(/*! ../internals/typed-array-species-constructor */ 31384);
    
    var aTypedArray = ArrayBufferViewCore.aTypedArray;
    var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;
    
    // `%TypedArray%.prototype.subarray` method
    // https://tc39.es/ecma262/#sec-%typedarray%.prototype.subarray
    exportTypedArrayMethod('subarray', function subarray(begin, end) {
      var O = aTypedArray(this);
      var length = O.length;
      var beginIndex = toAbsoluteIndex(begin, length);
      var C = typedArraySpeciesConstructor(O);
      return new C(
        O.buffer,
        O.byteOffset + beginIndex * O.BYTES_PER_ELEMENT,
        toLength((end === undefined ? length : toAbsoluteIndex(end, length)) - beginIndex)
      );
    });
    
    
    /***/ }),
    
    /***/ 8995:
    /*!*****************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.typed-array.to-locale-string.js ***!
      \*****************************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var global = __webpack_require__(/*! ../internals/global */ 92916);
    var apply = __webpack_require__(/*! ../internals/function-apply */ 13743);
    var ArrayBufferViewCore = __webpack_require__(/*! ../internals/array-buffer-view-core */ 58261);
    var fails = __webpack_require__(/*! ../internals/fails */ 3338);
    var arraySlice = __webpack_require__(/*! ../internals/array-slice */ 30867);
    
    var Int8Array = global.Int8Array;
    var aTypedArray = ArrayBufferViewCore.aTypedArray;
    var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;
    var $toLocaleString = [].toLocaleString;
    
    // iOS Safari 6.x fails here
    var TO_LOCALE_STRING_BUG = !!Int8Array && fails(function () {
      $toLocaleString.call(new Int8Array(1));
    });
    
    var FORCED = fails(function () {
      return [1, 2].toLocaleString() !== new Int8Array([1, 2]).toLocaleString();
    }) || !fails(function () {
      Int8Array.prototype.toLocaleString.call([1, 2]);
    });
    
    // `%TypedArray%.prototype.toLocaleString` method
    // https://tc39.es/ecma262/#sec-%typedarray%.prototype.tolocalestring
    exportTypedArrayMethod('toLocaleString', function toLocaleString() {
      return apply(
        $toLocaleString,
        TO_LOCALE_STRING_BUG ? arraySlice(aTypedArray(this)) : aTypedArray(this),
        arraySlice(arguments)
      );
    }, FORCED);
    
    
    /***/ }),
    
    /***/ 23080:
    /*!************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.typed-array.to-reversed.js ***!
      \************************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var arrayToReversed = __webpack_require__(/*! ../internals/array-to-reversed */ 85903);
    var ArrayBufferViewCore = __webpack_require__(/*! ../internals/array-buffer-view-core */ 58261);
    
    var aTypedArray = ArrayBufferViewCore.aTypedArray;
    var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;
    var getTypedArrayConstructor = ArrayBufferViewCore.getTypedArrayConstructor;
    
    // `%TypedArray%.prototype.toReversed` method
    // https://tc39.es/ecma262/#sec-%typedarray%.prototype.toreversed
    exportTypedArrayMethod('toReversed', function toReversed() {
      return arrayToReversed(aTypedArray(this), getTypedArrayConstructor(this));
    });
    
    
    /***/ }),
    
    /***/ 74701:
    /*!**********************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.typed-array.to-sorted.js ***!
      \**********************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var ArrayBufferViewCore = __webpack_require__(/*! ../internals/array-buffer-view-core */ 58261);
    var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ 94237);
    var aCallable = __webpack_require__(/*! ../internals/a-callable */ 63335);
    var arrayFromConstructorAndList = __webpack_require__(/*! ../internals/array-from-constructor-and-list */ 69478);
    
    var aTypedArray = ArrayBufferViewCore.aTypedArray;
    var getTypedArrayConstructor = ArrayBufferViewCore.getTypedArrayConstructor;
    var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;
    var sort = uncurryThis(ArrayBufferViewCore.TypedArrayPrototype.sort);
    
    // `%TypedArray%.prototype.toSorted` method
    // https://tc39.es/ecma262/#sec-%typedarray%.prototype.tosorted
    exportTypedArrayMethod('toSorted', function toSorted(compareFn) {
      if (compareFn !== undefined) aCallable(compareFn);
      var O = aTypedArray(this);
      var A = arrayFromConstructorAndList(getTypedArrayConstructor(O), O);
      return sort(A, compareFn);
    });
    
    
    /***/ }),
    
    /***/ 91809:
    /*!**********************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.typed-array.to-string.js ***!
      \**********************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var exportTypedArrayMethod = (__webpack_require__(/*! ../internals/array-buffer-view-core */ 58261).exportTypedArrayMethod);
    var fails = __webpack_require__(/*! ../internals/fails */ 3338);
    var global = __webpack_require__(/*! ../internals/global */ 92916);
    var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ 94237);
    
    var Uint8Array = global.Uint8Array;
    var Uint8ArrayPrototype = Uint8Array && Uint8Array.prototype || {};
    var arrayToString = [].toString;
    var join = uncurryThis([].join);
    
    if (fails(function () { arrayToString.call({}); })) {
      arrayToString = function toString() {
        return join(this);
      };
    }
    
    var IS_NOT_ARRAY_METHOD = Uint8ArrayPrototype.toString !== arrayToString;
    
    // `%TypedArray%.prototype.toString` method
    // https://tc39.es/ecma262/#sec-%typedarray%.prototype.tostring
    exportTypedArrayMethod('toString', arrayToString, IS_NOT_ARRAY_METHOD);
    
    
    /***/ }),
    
    /***/ 64336:
    /*!*************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.typed-array.uint16-array.js ***!
      \*************************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var createTypedArrayConstructor = __webpack_require__(/*! ../internals/typed-array-constructor */ 69733);
    
    // `Uint16Array` constructor
    // https://tc39.es/ecma262/#sec-typedarray-objects
    createTypedArrayConstructor('Uint16', function (init) {
      return function Uint16Array(data, byteOffset, length) {
        return init(this, data, byteOffset, length);
      };
    });
    
    
    /***/ }),
    
    /***/ 63914:
    /*!*************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.typed-array.uint32-array.js ***!
      \*************************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var createTypedArrayConstructor = __webpack_require__(/*! ../internals/typed-array-constructor */ 69733);
    
    // `Uint32Array` constructor
    // https://tc39.es/ecma262/#sec-typedarray-objects
    createTypedArrayConstructor('Uint32', function (init) {
      return function Uint32Array(data, byteOffset, length) {
        return init(this, data, byteOffset, length);
      };
    });
    
    
    /***/ }),
    
    /***/ 55234:
    /*!************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.typed-array.uint8-array.js ***!
      \************************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var createTypedArrayConstructor = __webpack_require__(/*! ../internals/typed-array-constructor */ 69733);
    
    // `Uint8Array` constructor
    // https://tc39.es/ecma262/#sec-typedarray-objects
    createTypedArrayConstructor('Uint8', function (init) {
      return function Uint8Array(data, byteOffset, length) {
        return init(this, data, byteOffset, length);
      };
    });
    
    
    /***/ }),
    
    /***/ 88104:
    /*!********************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.typed-array.uint8-clamped-array.js ***!
      \********************************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var createTypedArrayConstructor = __webpack_require__(/*! ../internals/typed-array-constructor */ 69733);
    
    // `Uint8ClampedArray` constructor
    // https://tc39.es/ecma262/#sec-typedarray-objects
    createTypedArrayConstructor('Uint8', function (init) {
      return function Uint8ClampedArray(data, byteOffset, length) {
        return init(this, data, byteOffset, length);
      };
    }, true);
    
    
    /***/ }),
    
    /***/ 77517:
    /*!*****************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.typed-array.with.js ***!
      \*****************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var arrayWith = __webpack_require__(/*! ../internals/array-with */ 82041);
    var ArrayBufferViewCore = __webpack_require__(/*! ../internals/array-buffer-view-core */ 58261);
    var isBigIntArray = __webpack_require__(/*! ../internals/is-big-int-array */ 75406);
    var toIntegerOrInfinity = __webpack_require__(/*! ../internals/to-integer-or-infinity */ 56902);
    var toBigInt = __webpack_require__(/*! ../internals/to-big-int */ 93303);
    
    var aTypedArray = ArrayBufferViewCore.aTypedArray;
    var getTypedArrayConstructor = ArrayBufferViewCore.getTypedArrayConstructor;
    var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;
    
    var PROPER_ORDER = !!function () {
      try {
        // eslint-disable-next-line no-throw-literal, es/no-typed-arrays, es/no-array-prototype-with -- required for testing
        new Int8Array(1)['with'](2, { valueOf: function () { throw 8; } });
      } catch (error) {
        // some early implementations, like WebKit, does not follow the final semantic
        // https://github.com/tc39/proposal-change-array-by-copy/pull/86
        return error === 8;
      }
    }();
    
    // `%TypedArray%.prototype.with` method
    // https://tc39.es/ecma262/#sec-%typedarray%.prototype.with
    exportTypedArrayMethod('with', { 'with': function (index, value) {
      var O = aTypedArray(this);
      var relativeIndex = toIntegerOrInfinity(index);
      var actualValue = isBigIntArray(O) ? toBigInt(value) : +value;
      return arrayWith(O, getTypedArrayConstructor(O), relativeIndex, actualValue);
    } }['with'], !PROPER_ORDER);
    
    
    /***/ }),
    
    /***/ 58453:
    /*!*********************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.weak-map.constructor.js ***!
      \*********************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var FREEZING = __webpack_require__(/*! ../internals/freezing */ 13247);
    var global = __webpack_require__(/*! ../internals/global */ 92916);
    var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ 94237);
    var defineBuiltIns = __webpack_require__(/*! ../internals/define-built-ins */ 66477);
    var InternalMetadataModule = __webpack_require__(/*! ../internals/internal-metadata */ 2074);
    var collection = __webpack_require__(/*! ../internals/collection */ 48059);
    var collectionWeak = __webpack_require__(/*! ../internals/collection-weak */ 39656);
    var isObject = __webpack_require__(/*! ../internals/is-object */ 31946);
    var enforceInternalState = (__webpack_require__(/*! ../internals/internal-state */ 94844).enforce);
    var fails = __webpack_require__(/*! ../internals/fails */ 3338);
    var NATIVE_WEAK_MAP = __webpack_require__(/*! ../internals/weak-map-basic-detection */ 40115);
    
    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 FROZEN = {};
    var SEALED = {};
    var IS_IE11 = !global.ActiveXObject && 'ActiveXObject' in global;
    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 = FROZEN;
            else if (isSealed(key)) arrayIntegrityLevel = SEALED;
          }
          nativeSet(this, key, value);
          if (arrayIntegrityLevel === FROZEN) freeze(key);
          if (arrayIntegrityLevel === SEALED) seal(key);
          return this;
        }
      });
    }
    
    
    /***/ }),
    
    /***/ 55410:
    /*!*********************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.weak-map.js ***!
      \*********************************************************************/
    /***/ (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__(/*! ../modules/es.weak-map.constructor */ 58453);
    
    
    /***/ }),
    
    /***/ 65092:
    /*!*********************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.weak-set.constructor.js ***!
      \*********************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var collection = __webpack_require__(/*! ../internals/collection */ 48059);
    var collectionWeak = __webpack_require__(/*! ../internals/collection-weak */ 39656);
    
    // `WeakSet` constructor
    // https://tc39.es/ecma262/#sec-weakset-constructor
    collection('WeakSet', function (init) {
      return function WeakSet() { return init(this, arguments.length ? arguments[0] : undefined); };
    }, collectionWeak);
    
    
    /***/ }),
    
    /***/ 46161:
    /*!*********************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/es.weak-set.js ***!
      \*********************************************************************/
    /***/ (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__(/*! ../modules/es.weak-set.constructor */ 65092);
    
    
    /***/ }),
    
    /***/ 88900:
    /*!**************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.array-buffer.detached.js ***!
      \**************************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ 35454);
    var defineBuiltInAccessor = __webpack_require__(/*! ../internals/define-built-in-accessor */ 64110);
    var isDetached = __webpack_require__(/*! ../internals/array-buffer-is-detached */ 93683);
    
    var ArrayBufferPrototype = ArrayBuffer.prototype;
    
    if (DESCRIPTORS && !('detached' in ArrayBufferPrototype)) {
      defineBuiltInAccessor(ArrayBufferPrototype, 'detached', {
        configurable: true,
        get: function detached() {
          return isDetached(this);
        }
      });
    }
    
    
    /***/ }),
    
    /***/ 81138:
    /*!******************************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.array-buffer.transfer-to-fixed-length.js ***!
      \******************************************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var $transfer = __webpack_require__(/*! ../internals/array-buffer-transfer */ 39760);
    
    // `ArrayBuffer.prototype.transferToFixedLength` method
    // https://tc39.es/proposal-arraybuffer-transfer/#sec-arraybuffer.prototype.transfertofixedlength
    if ($transfer) $({ target: 'ArrayBuffer', proto: true }, {
      transferToFixedLength: function transferToFixedLength() {
        return $transfer(this, arguments.length ? arguments[0] : undefined, false);
      }
    });
    
    
    /***/ }),
    
    /***/ 54815:
    /*!**************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.array-buffer.transfer.js ***!
      \**************************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var $transfer = __webpack_require__(/*! ../internals/array-buffer-transfer */ 39760);
    
    // `ArrayBuffer.prototype.transfer` method
    // https://tc39.es/proposal-arraybuffer-transfer/#sec-arraybuffer.prototype.transfer
    if ($transfer) $({ target: 'ArrayBuffer', proto: true }, {
      transfer: function transfer() {
        return $transfer(this, arguments.length ? arguments[0] : undefined, true);
      }
    });
    
    
    /***/ }),
    
    /***/ 2722:
    /*!*********************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.array.filter-out.js ***!
      \*********************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    // TODO: remove from `core-js@4`
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var $filterReject = (__webpack_require__(/*! ../internals/array-iteration */ 90560).filterReject);
    var addToUnscopables = __webpack_require__(/*! ../internals/add-to-unscopables */ 81181);
    
    // `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');
    
    
    /***/ }),
    
    /***/ 55885:
    /*!************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.array.filter-reject.js ***!
      \************************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var $filterReject = (__webpack_require__(/*! ../internals/array-iteration */ 90560).filterReject);
    var addToUnscopables = __webpack_require__(/*! ../internals/add-to-unscopables */ 81181);
    
    // `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');
    
    
    /***/ }),
    
    /***/ 91130:
    /*!*********************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.array.from-async.js ***!
      \*********************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var fromAsync = __webpack_require__(/*! ../internals/array-from-async */ 32278);
    
    // `Array.fromAsync` method
    // https://github.com/tc39/proposal-array-from-async
    $({ target: 'Array', stat: true }, {
      fromAsync: fromAsync
    });
    
    
    /***/ }),
    
    /***/ 64963:
    /*!**************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.array.group-by-to-map.js ***!
      \**************************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    // TODO: Remove from `core-js@4`
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var arrayMethodIsStrict = __webpack_require__(/*! ../internals/array-method-is-strict */ 45601);
    var addToUnscopables = __webpack_require__(/*! ../internals/add-to-unscopables */ 81181);
    var $groupToMap = __webpack_require__(/*! ../internals/array-group-to-map */ 33940);
    var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ 16697);
    
    // `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');
    
    
    /***/ }),
    
    /***/ 8604:
    /*!*******************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.array.group-by.js ***!
      \*******************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    // TODO: Remove from `core-js@4`
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var $group = __webpack_require__(/*! ../internals/array-group */ 36444);
    var arrayMethodIsStrict = __webpack_require__(/*! ../internals/array-method-is-strict */ 45601);
    var addToUnscopables = __webpack_require__(/*! ../internals/add-to-unscopables */ 81181);
    
    // `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');
    
    
    /***/ }),
    
    /***/ 25178:
    /*!***********************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.array.group-to-map.js ***!
      \***********************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var addToUnscopables = __webpack_require__(/*! ../internals/add-to-unscopables */ 81181);
    var $groupToMap = __webpack_require__(/*! ../internals/array-group-to-map */ 33940);
    var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ 16697);
    
    // `Array.prototype.groupToMap` method
    // https://github.com/tc39/proposal-array-grouping
    $({ target: 'Array', proto: true, forced: IS_PURE }, {
      groupToMap: $groupToMap
    });
    
    addToUnscopables('groupToMap');
    
    
    /***/ }),
    
    /***/ 39034:
    /*!****************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.array.group.js ***!
      \****************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var $group = __webpack_require__(/*! ../internals/array-group */ 36444);
    var addToUnscopables = __webpack_require__(/*! ../internals/add-to-unscopables */ 81181);
    
    // `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');
    
    
    /***/ }),
    
    /***/ 1905:
    /*!*****************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.array.is-template-object.js ***!
      \*****************************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var isArray = __webpack_require__(/*! ../internals/is-array */ 18589);
    
    // 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);
      }
    });
    
    
    /***/ }),
    
    /***/ 94306:
    /*!*********************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.array.last-index.js ***!
      \*********************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    // TODO: Remove from `core-js@4`
    var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ 35454);
    var addToUnscopables = __webpack_require__(/*! ../internals/add-to-unscopables */ 81181);
    var toObject = __webpack_require__(/*! ../internals/to-object */ 94029);
    var lengthOfArrayLike = __webpack_require__(/*! ../internals/length-of-array-like */ 82762);
    var defineBuiltInAccessor = __webpack_require__(/*! ../internals/define-built-in-accessor */ 64110);
    
    // `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');
    }
    
    
    /***/ }),
    
    /***/ 11762:
    /*!********************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.array.last-item.js ***!
      \********************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    // TODO: Remove from `core-js@4`
    var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ 35454);
    var addToUnscopables = __webpack_require__(/*! ../internals/add-to-unscopables */ 81181);
    var toObject = __webpack_require__(/*! ../internals/to-object */ 94029);
    var lengthOfArrayLike = __webpack_require__(/*! ../internals/length-of-array-like */ 82762);
    var defineBuiltInAccessor = __webpack_require__(/*! ../internals/define-built-in-accessor */ 64110);
    
    // `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');
    }
    
    
    /***/ }),
    
    /***/ 93164:
    /*!********************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.array.unique-by.js ***!
      \********************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var addToUnscopables = __webpack_require__(/*! ../internals/add-to-unscopables */ 81181);
    var uniqueBy = __webpack_require__(/*! ../internals/array-unique-by */ 65621);
    
    // `Array.prototype.uniqueBy` method
    // https://github.com/tc39/proposal-array-unique
    $({ target: 'Array', proto: true, forced: true }, {
      uniqueBy: uniqueBy
    });
    
    addToUnscopables('uniqueBy');
    
    
    /***/ }),
    
    /***/ 37252:
    /*!***************************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.async-disposable-stack.constructor.js ***!
      \***************************************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    // https://github.com/tc39/proposal-async-explicit-resource-management
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ 35454);
    var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ 65911);
    var aCallable = __webpack_require__(/*! ../internals/a-callable */ 63335);
    var anInstance = __webpack_require__(/*! ../internals/an-instance */ 56472);
    var defineBuiltIn = __webpack_require__(/*! ../internals/define-built-in */ 2291);
    var defineBuiltIns = __webpack_require__(/*! ../internals/define-built-ins */ 66477);
    var defineBuiltInAccessor = __webpack_require__(/*! ../internals/define-built-in-accessor */ 64110);
    var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ 59893);
    var InternalStateModule = __webpack_require__(/*! ../internals/internal-state */ 94844);
    var addDisposableResource = __webpack_require__(/*! ../internals/add-disposable-resource */ 5978);
    
    var Promise = getBuiltIn('Promise');
    var SuppressedError = getBuiltIn('SuppressedError');
    var $ReferenceError = ReferenceError;
    
    var ASYNC_DISPOSE = wellKnownSymbol('asyncDispose');
    var TO_STRING_TAG = wellKnownSymbol('toStringTag');
    
    var ASYNC_DISPOSABLE_STACK = 'AsyncDisposableStack';
    var setInternalState = InternalStateModule.set;
    var getAsyncDisposableStackInternalState = InternalStateModule.getterFor(ASYNC_DISPOSABLE_STACK);
    
    var HINT = 'async-dispose';
    var DISPOSED = 'disposed';
    var PENDING = 'pending';
    
    var getPendingAsyncDisposableStackInternalState = function (stack) {
      var internalState = getAsyncDisposableStackInternalState(stack);
      if (internalState.state === DISPOSED) throw new $ReferenceError(ASYNC_DISPOSABLE_STACK + ' already disposed');
      return internalState;
    };
    
    var $AsyncDisposableStack = function AsyncDisposableStack() {
      setInternalState(anInstance(this, AsyncDisposableStackPrototype), {
        type: ASYNC_DISPOSABLE_STACK,
        state: PENDING,
        stack: []
      });
    
      if (!DESCRIPTORS) this.disposed = false;
    };
    
    var AsyncDisposableStackPrototype = $AsyncDisposableStack.prototype;
    
    defineBuiltIns(AsyncDisposableStackPrototype, {
      disposeAsync: function disposeAsync() {
        var asyncDisposableStack = this;
        return new Promise(function (resolve, reject) {
          var internalState = getAsyncDisposableStackInternalState(asyncDisposableStack);
          if (internalState.state === DISPOSED) return resolve(undefined);
          internalState.state = DISPOSED;
          if (!DESCRIPTORS) asyncDisposableStack.disposed = true;
          var stack = internalState.stack;
          var i = stack.length;
          var thrown = false;
          var suppressed;
    
          var handleError = function (result) {
            if (thrown) {
              suppressed = new SuppressedError(result, suppressed);
            } else {
              thrown = true;
              suppressed = result;
            }
    
            loop();
          };
    
          var loop = function () {
            if (i) {
              var disposeMethod = stack[--i];
              stack[i] = null;
              try {
                Promise.resolve(disposeMethod()).then(loop, handleError);
              } catch (error) {
                handleError(error);
              }
            } else {
              internalState.stack = null;
              thrown ? reject(suppressed) : resolve(undefined);
            }
          };
    
          loop();
        });
      },
      use: function use(value) {
        addDisposableResource(getPendingAsyncDisposableStackInternalState(this), value, HINT);
        return value;
      },
      adopt: function adopt(value, onDispose) {
        var internalState = getPendingAsyncDisposableStackInternalState(this);
        aCallable(onDispose);
        addDisposableResource(internalState, undefined, HINT, function () {
          return onDispose(value);
        });
        return value;
      },
      defer: function defer(onDispose) {
        var internalState = getPendingAsyncDisposableStackInternalState(this);
        aCallable(onDispose);
        addDisposableResource(internalState, undefined, HINT, onDispose);
      },
      move: function move() {
        var internalState = getPendingAsyncDisposableStackInternalState(this);
        var newAsyncDisposableStack = new $AsyncDisposableStack();
        getAsyncDisposableStackInternalState(newAsyncDisposableStack).stack = internalState.stack;
        internalState.stack = [];
        internalState.state = DISPOSED;
        if (!DESCRIPTORS) this.disposed = true;
        return newAsyncDisposableStack;
      }
    });
    
    if (DESCRIPTORS) defineBuiltInAccessor(AsyncDisposableStackPrototype, 'disposed', {
      configurable: true,
      get: function disposed() {
        return getAsyncDisposableStackInternalState(this).state === DISPOSED;
      }
    });
    
    defineBuiltIn(AsyncDisposableStackPrototype, ASYNC_DISPOSE, AsyncDisposableStackPrototype.disposeAsync, { name: 'disposeAsync' });
    defineBuiltIn(AsyncDisposableStackPrototype, TO_STRING_TAG, ASYNC_DISPOSABLE_STACK, { nonWritable: true });
    
    $({ global: true, constructor: true }, {
      AsyncDisposableStack: $AsyncDisposableStack
    });
    
    
    /***/ }),
    
    /***/ 48966:
    /*!************************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.async-iterator.as-indexed-pairs.js ***!
      \************************************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    // TODO: Remove from `core-js@4`
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var indexed = __webpack_require__(/*! ../internals/async-iterator-indexed */ 34535);
    
    // `AsyncIterator.prototype.asIndexedPairs` method
    // https://github.com/tc39/proposal-iterator-helpers
    $({ target: 'AsyncIterator', name: 'indexed', proto: true, real: true, forced: true }, {
      asIndexedPairs: indexed
    });
    
    
    /***/ }),
    
    /***/ 13015:
    /*!*********************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.async-iterator.async-dispose.js ***!
      \*********************************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    // https://github.com/tc39/proposal-async-explicit-resource-management
    var call = __webpack_require__(/*! ../internals/function-call */ 89945);
    var defineBuiltIn = __webpack_require__(/*! ../internals/define-built-in */ 2291);
    var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ 65911);
    var getMethod = __webpack_require__(/*! ../internals/get-method */ 53776);
    var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ 32621);
    var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ 59893);
    var AsyncIteratorPrototype = __webpack_require__(/*! ../internals/async-iterator-prototype */ 14052);
    
    var ASYNC_DISPOSE = wellKnownSymbol('asyncDispose');
    var Promise = getBuiltIn('Promise');
    
    if (!hasOwn(AsyncIteratorPrototype, ASYNC_DISPOSE)) {
      defineBuiltIn(AsyncIteratorPrototype, ASYNC_DISPOSE, function () {
        var O = this;
        return new Promise(function (resolve, reject) {
          var $return = getMethod(O, 'return');
          if ($return) {
            Promise.resolve(call($return, O)).then(function () {
              resolve(undefined);
            }, reject);
          } else resolve(undefined);
        });
      });
    }
    
    
    /***/ }),
    
    /***/ 81673:
    /*!*******************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.async-iterator.constructor.js ***!
      \*******************************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var anInstance = __webpack_require__(/*! ../internals/an-instance */ 56472);
    var getPrototypeOf = __webpack_require__(/*! ../internals/object-get-prototype-of */ 53456);
    var createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ 68151);
    var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ 32621);
    var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ 59893);
    var AsyncIteratorPrototype = __webpack_require__(/*! ../internals/async-iterator-prototype */ 14052);
    var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ 16697);
    
    var TO_STRING_TAG = wellKnownSymbol('toStringTag');
    
    var $TypeError = TypeError;
    
    var AsyncIteratorConstructor = function AsyncIterator() {
      anInstance(this, AsyncIteratorPrototype);
      if (getPrototypeOf(this) === AsyncIteratorPrototype) throw new $TypeError('Abstract class AsyncIterator not directly constructable');
    };
    
    AsyncIteratorConstructor.prototype = AsyncIteratorPrototype;
    
    if (!hasOwn(AsyncIteratorPrototype, TO_STRING_TAG)) {
      createNonEnumerableProperty(AsyncIteratorPrototype, TO_STRING_TAG, 'AsyncIterator');
    }
    
    if (IS_PURE || !hasOwn(AsyncIteratorPrototype, 'constructor') || AsyncIteratorPrototype.constructor === Object) {
      createNonEnumerableProperty(AsyncIteratorPrototype, 'constructor', AsyncIteratorConstructor);
    }
    
    // `AsyncIterator` constructor
    // https://github.com/tc39/proposal-async-iterator-helpers
    $({ global: true, constructor: true, forced: IS_PURE }, {
      AsyncIterator: AsyncIteratorConstructor
    });
    
    
    /***/ }),
    
    /***/ 78527:
    /*!************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.async-iterator.drop.js ***!
      \************************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var call = __webpack_require__(/*! ../internals/function-call */ 89945);
    var anObject = __webpack_require__(/*! ../internals/an-object */ 80449);
    var getIteratorDirect = __webpack_require__(/*! ../internals/get-iterator-direct */ 10731);
    var notANaN = __webpack_require__(/*! ../internals/not-a-nan */ 2279);
    var toPositiveInteger = __webpack_require__(/*! ../internals/to-positive-integer */ 51358);
    var createAsyncIteratorProxy = __webpack_require__(/*! ../internals/async-iterator-create-proxy */ 31342);
    var createIterResultObject = __webpack_require__(/*! ../internals/create-iter-result-object */ 25587);
    var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ 16697);
    
    var AsyncIteratorProxy = createAsyncIteratorProxy(function (Promise) {
      var state = this;
    
      return new Promise(function (resolve, reject) {
        var doneAndReject = function (error) {
          state.done = true;
          reject(error);
        };
    
        var loop = function () {
          try {
            Promise.resolve(anObject(call(state.next, state.iterator))).then(function (step) {
              try {
                if (anObject(step).done) {
                  state.done = true;
                  resolve(createIterResultObject(undefined, true));
                } else if (state.remaining) {
                  state.remaining--;
                  loop();
                } else resolve(createIterResultObject(step.value, false));
              } catch (err) { doneAndReject(err); }
            }, doneAndReject);
          } catch (error) { doneAndReject(error); }
        };
    
        loop();
      });
    });
    
    // `AsyncIterator.prototype.drop` method
    // https://github.com/tc39/proposal-async-iterator-helpers
    $({ target: 'AsyncIterator', proto: true, real: true, forced: IS_PURE }, {
      drop: function drop(limit) {
        anObject(this);
        var remaining = toPositiveInteger(notANaN(+limit));
        return new AsyncIteratorProxy(getIteratorDirect(this), {
          remaining: remaining
        });
      }
    });
    
    
    /***/ }),
    
    /***/ 20511:
    /*!*************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.async-iterator.every.js ***!
      \*************************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var $every = (__webpack_require__(/*! ../internals/async-iterator-iteration */ 55266).every);
    
    // `AsyncIterator.prototype.every` method
    // https://github.com/tc39/proposal-async-iterator-helpers
    $({ target: 'AsyncIterator', proto: true, real: true }, {
      every: function every(predicate) {
        return $every(this, predicate);
      }
    });
    
    
    /***/ }),
    
    /***/ 78366:
    /*!**************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.async-iterator.filter.js ***!
      \**************************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var call = __webpack_require__(/*! ../internals/function-call */ 89945);
    var aCallable = __webpack_require__(/*! ../internals/a-callable */ 63335);
    var anObject = __webpack_require__(/*! ../internals/an-object */ 80449);
    var isObject = __webpack_require__(/*! ../internals/is-object */ 31946);
    var getIteratorDirect = __webpack_require__(/*! ../internals/get-iterator-direct */ 10731);
    var createAsyncIteratorProxy = __webpack_require__(/*! ../internals/async-iterator-create-proxy */ 31342);
    var createIterResultObject = __webpack_require__(/*! ../internals/create-iter-result-object */ 25587);
    var closeAsyncIteration = __webpack_require__(/*! ../internals/async-iterator-close */ 28255);
    var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ 16697);
    
    var AsyncIteratorProxy = createAsyncIteratorProxy(function (Promise) {
      var state = this;
      var iterator = state.iterator;
      var predicate = state.predicate;
    
      return new Promise(function (resolve, reject) {
        var doneAndReject = function (error) {
          state.done = true;
          reject(error);
        };
    
        var ifAbruptCloseAsyncIterator = function (error) {
          closeAsyncIteration(iterator, doneAndReject, error, doneAndReject);
        };
    
        var loop = function () {
          try {
            Promise.resolve(anObject(call(state.next, iterator))).then(function (step) {
              try {
                if (anObject(step).done) {
                  state.done = true;
                  resolve(createIterResultObject(undefined, true));
                } else {
                  var value = step.value;
                  try {
                    var result = predicate(value, state.counter++);
    
                    var handler = function (selected) {
                      selected ? resolve(createIterResultObject(value, false)) : loop();
                    };
    
                    if (isObject(result)) Promise.resolve(result).then(handler, ifAbruptCloseAsyncIterator);
                    else handler(result);
                  } catch (error3) { ifAbruptCloseAsyncIterator(error3); }
                }
              } catch (error2) { doneAndReject(error2); }
            }, doneAndReject);
          } catch (error) { doneAndReject(error); }
        };
    
        loop();
      });
    });
    
    // `AsyncIterator.prototype.filter` method
    // https://github.com/tc39/proposal-async-iterator-helpers
    $({ target: 'AsyncIterator', proto: true, real: true, forced: IS_PURE }, {
      filter: function filter(predicate) {
        anObject(this);
        aCallable(predicate);
        return new AsyncIteratorProxy(getIteratorDirect(this), {
          predicate: predicate
        });
      }
    });
    
    
    /***/ }),
    
    /***/ 27427:
    /*!************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.async-iterator.find.js ***!
      \************************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var $find = (__webpack_require__(/*! ../internals/async-iterator-iteration */ 55266).find);
    
    // `AsyncIterator.prototype.find` method
    // https://github.com/tc39/proposal-async-iterator-helpers
    $({ target: 'AsyncIterator', proto: true, real: true }, {
      find: function find(predicate) {
        return $find(this, predicate);
      }
    });
    
    
    /***/ }),
    
    /***/ 43890:
    /*!****************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.async-iterator.flat-map.js ***!
      \****************************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var call = __webpack_require__(/*! ../internals/function-call */ 89945);
    var aCallable = __webpack_require__(/*! ../internals/a-callable */ 63335);
    var anObject = __webpack_require__(/*! ../internals/an-object */ 80449);
    var isObject = __webpack_require__(/*! ../internals/is-object */ 31946);
    var getIteratorDirect = __webpack_require__(/*! ../internals/get-iterator-direct */ 10731);
    var createAsyncIteratorProxy = __webpack_require__(/*! ../internals/async-iterator-create-proxy */ 31342);
    var createIterResultObject = __webpack_require__(/*! ../internals/create-iter-result-object */ 25587);
    var getAsyncIteratorFlattenable = __webpack_require__(/*! ../internals/get-async-iterator-flattenable */ 38116);
    var closeAsyncIteration = __webpack_require__(/*! ../internals/async-iterator-close */ 28255);
    var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ 16697);
    
    var AsyncIteratorProxy = createAsyncIteratorProxy(function (Promise) {
      var state = this;
      var iterator = state.iterator;
      var mapper = state.mapper;
    
      return new Promise(function (resolve, reject) {
        var doneAndReject = function (error) {
          state.done = true;
          reject(error);
        };
    
        var ifAbruptCloseAsyncIterator = function (error) {
          closeAsyncIteration(iterator, doneAndReject, error, doneAndReject);
        };
    
        var outerLoop = function () {
          try {
            Promise.resolve(anObject(call(state.next, iterator))).then(function (step) {
              try {
                if (anObject(step).done) {
                  state.done = true;
                  resolve(createIterResultObject(undefined, true));
                } else {
                  var value = step.value;
                  try {
                    var result = mapper(value, state.counter++);
    
                    var handler = function (mapped) {
                      try {
                        state.inner = getAsyncIteratorFlattenable(mapped);
                        innerLoop();
                      } catch (error4) { ifAbruptCloseAsyncIterator(error4); }
                    };
    
                    if (isObject(result)) Promise.resolve(result).then(handler, ifAbruptCloseAsyncIterator);
                    else handler(result);
                  } catch (error3) { ifAbruptCloseAsyncIterator(error3); }
                }
              } catch (error2) { doneAndReject(error2); }
            }, doneAndReject);
          } catch (error) { doneAndReject(error); }
        };
    
        var innerLoop = function () {
          var inner = state.inner;
          if (inner) {
            try {
              Promise.resolve(anObject(call(inner.next, inner.iterator))).then(function (result) {
                try {
                  if (anObject(result).done) {
                    state.inner = null;
                    outerLoop();
                  } else resolve(createIterResultObject(result.value, false));
                } catch (error1) { ifAbruptCloseAsyncIterator(error1); }
              }, ifAbruptCloseAsyncIterator);
            } catch (error) { ifAbruptCloseAsyncIterator(error); }
          } else outerLoop();
        };
    
        innerLoop();
      });
    });
    
    // `AsyncIterator.prototype.flaMap` method
    // https://github.com/tc39/proposal-async-iterator-helpers
    $({ target: 'AsyncIterator', proto: true, real: true, forced: IS_PURE }, {
      flatMap: function flatMap(mapper) {
        anObject(this);
        aCallable(mapper);
        return new AsyncIteratorProxy(getIteratorDirect(this), {
          mapper: mapper,
          inner: null
        });
      }
    });
    
    
    /***/ }),
    
    /***/ 55844:
    /*!****************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.async-iterator.for-each.js ***!
      \****************************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var $forEach = (__webpack_require__(/*! ../internals/async-iterator-iteration */ 55266).forEach);
    
    // `AsyncIterator.prototype.forEach` method
    // https://github.com/tc39/proposal-async-iterator-helpers
    $({ target: 'AsyncIterator', proto: true, real: true }, {
      forEach: function forEach(fn) {
        return $forEach(this, fn);
      }
    });
    
    
    /***/ }),
    
    /***/ 71361:
    /*!************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.async-iterator.from.js ***!
      \************************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var toObject = __webpack_require__(/*! ../internals/to-object */ 94029);
    var isPrototypeOf = __webpack_require__(/*! ../internals/object-is-prototype-of */ 16332);
    var getAsyncIteratorFlattenable = __webpack_require__(/*! ../internals/get-async-iterator-flattenable */ 38116);
    var AsyncIteratorPrototype = __webpack_require__(/*! ../internals/async-iterator-prototype */ 14052);
    var WrapAsyncIterator = __webpack_require__(/*! ../internals/async-iterator-wrap */ 80025);
    var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ 16697);
    
    // `AsyncIterator.from` method
    // https://github.com/tc39/proposal-async-iterator-helpers
    $({ target: 'AsyncIterator', stat: true, forced: IS_PURE }, {
      from: function from(O) {
        var iteratorRecord = getAsyncIteratorFlattenable(typeof O == 'string' ? toObject(O) : O);
        return isPrototypeOf(AsyncIteratorPrototype, iteratorRecord.iterator)
          ? iteratorRecord.iterator
          : new WrapAsyncIterator(iteratorRecord);
      }
    });
    
    
    /***/ }),
    
    /***/ 44550:
    /*!***************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.async-iterator.indexed.js ***!
      \***************************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    // TODO: Remove from `core-js@4`
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var indexed = __webpack_require__(/*! ../internals/async-iterator-indexed */ 34535);
    
    // `AsyncIterator.prototype.indexed` method
    // https://github.com/tc39/proposal-iterator-helpers
    $({ target: 'AsyncIterator', proto: true, real: true, forced: true }, {
      indexed: indexed
    });
    
    
    /***/ }),
    
    /***/ 413:
    /*!***********************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.async-iterator.map.js ***!
      \***********************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var map = __webpack_require__(/*! ../internals/async-iterator-map */ 41586);
    var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ 16697);
    
    // `AsyncIterator.prototype.map` method
    // https://github.com/tc39/proposal-async-iterator-helpers
    $({ target: 'AsyncIterator', proto: true, real: true, forced: IS_PURE }, {
      map: map
    });
    
    
    
    /***/ }),
    
    /***/ 77464:
    /*!**************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.async-iterator.reduce.js ***!
      \**************************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var call = __webpack_require__(/*! ../internals/function-call */ 89945);
    var aCallable = __webpack_require__(/*! ../internals/a-callable */ 63335);
    var anObject = __webpack_require__(/*! ../internals/an-object */ 80449);
    var isObject = __webpack_require__(/*! ../internals/is-object */ 31946);
    var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ 65911);
    var getIteratorDirect = __webpack_require__(/*! ../internals/get-iterator-direct */ 10731);
    var closeAsyncIteration = __webpack_require__(/*! ../internals/async-iterator-close */ 28255);
    
    var Promise = getBuiltIn('Promise');
    var $TypeError = TypeError;
    
    // `AsyncIterator.prototype.reduce` method
    // https://github.com/tc39/proposal-async-iterator-helpers
    $({ target: 'AsyncIterator', proto: true, real: true }, {
      reduce: function reduce(reducer /* , initialValue */) {
        anObject(this);
        aCallable(reducer);
        var record = getIteratorDirect(this);
        var iterator = record.iterator;
        var next = record.next;
        var noInitial = arguments.length < 2;
        var accumulator = noInitial ? undefined : arguments[1];
        var counter = 0;
    
        return new Promise(function (resolve, reject) {
          var ifAbruptCloseAsyncIterator = function (error) {
            closeAsyncIteration(iterator, reject, error, reject);
          };
    
          var loop = function () {
            try {
              Promise.resolve(anObject(call(next, iterator))).then(function (step) {
                try {
                  if (anObject(step).done) {
                    noInitial ? reject(new $TypeError('Reduce of empty iterator with no initial value')) : resolve(accumulator);
                  } else {
                    var value = step.value;
                    if (noInitial) {
                      noInitial = false;
                      accumulator = value;
                      loop();
                    } else try {
                      var result = reducer(accumulator, value, counter);
    
                      var handler = function ($result) {
                        accumulator = $result;
                        loop();
                      };
    
                      if (isObject(result)) Promise.resolve(result).then(handler, ifAbruptCloseAsyncIterator);
                      else handler(result);
                    } catch (error3) { ifAbruptCloseAsyncIterator(error3); }
                  }
                  counter++;
                } catch (error2) { reject(error2); }
              }, reject);
            } catch (error) { reject(error); }
          };
    
          loop();
        });
      }
    });
    
    
    /***/ }),
    
    /***/ 77703:
    /*!************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.async-iterator.some.js ***!
      \************************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var $some = (__webpack_require__(/*! ../internals/async-iterator-iteration */ 55266).some);
    
    // `AsyncIterator.prototype.some` method
    // https://github.com/tc39/proposal-async-iterator-helpers
    $({ target: 'AsyncIterator', proto: true, real: true }, {
      some: function some(predicate) {
        return $some(this, predicate);
      }
    });
    
    
    /***/ }),
    
    /***/ 93854:
    /*!************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.async-iterator.take.js ***!
      \************************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var call = __webpack_require__(/*! ../internals/function-call */ 89945);
    var anObject = __webpack_require__(/*! ../internals/an-object */ 80449);
    var getIteratorDirect = __webpack_require__(/*! ../internals/get-iterator-direct */ 10731);
    var notANaN = __webpack_require__(/*! ../internals/not-a-nan */ 2279);
    var toPositiveInteger = __webpack_require__(/*! ../internals/to-positive-integer */ 51358);
    var createAsyncIteratorProxy = __webpack_require__(/*! ../internals/async-iterator-create-proxy */ 31342);
    var createIterResultObject = __webpack_require__(/*! ../internals/create-iter-result-object */ 25587);
    var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ 16697);
    
    var AsyncIteratorProxy = createAsyncIteratorProxy(function (Promise) {
      var state = this;
      var iterator = state.iterator;
      var returnMethod;
    
      if (!state.remaining--) {
        var resultDone = createIterResultObject(undefined, true);
        state.done = true;
        returnMethod = iterator['return'];
        if (returnMethod !== undefined) {
          return Promise.resolve(call(returnMethod, iterator, undefined)).then(function () {
            return resultDone;
          });
        }
        return resultDone;
      } return Promise.resolve(call(state.next, iterator)).then(function (step) {
        if (anObject(step).done) {
          state.done = true;
          return createIterResultObject(undefined, true);
        } return createIterResultObject(step.value, false);
      }).then(null, function (error) {
        state.done = true;
        throw error;
      });
    });
    
    // `AsyncIterator.prototype.take` method
    // https://github.com/tc39/proposal-async-iterator-helpers
    $({ target: 'AsyncIterator', proto: true, real: true, forced: IS_PURE }, {
      take: function take(limit) {
        anObject(this);
        var remaining = toPositiveInteger(notANaN(+limit));
        return new AsyncIteratorProxy(getIteratorDirect(this), {
          remaining: remaining
        });
      }
    });
    
    
    /***/ }),
    
    /***/ 962:
    /*!****************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.async-iterator.to-array.js ***!
      \****************************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var $toArray = (__webpack_require__(/*! ../internals/async-iterator-iteration */ 55266).toArray);
    
    // `AsyncIterator.prototype.toArray` method
    // https://github.com/tc39/proposal-async-iterator-helpers
    $({ target: 'AsyncIterator', proto: true, real: true }, {
      toArray: function toArray() {
        return $toArray(this, undefined, []);
      }
    });
    
    
    /***/ }),
    
    /***/ 44169:
    /*!*****************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.bigint.range.js ***!
      \*****************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    /* eslint-disable es/no-bigint -- safe */
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var NumericRangeIterator = __webpack_require__(/*! ../internals/numeric-range-iterator */ 17243);
    
    // `BigInt.range` method
    // https://github.com/tc39/proposal-Number.range
    // TODO: Remove from `core-js@4`
    if (typeof BigInt == 'function') {
      $({ target: 'BigInt', stat: true, forced: true }, {
        range: function range(start, end, option) {
          return new NumericRangeIterator(start, end, option, 'bigint', BigInt(0), BigInt(1));
        }
      });
    }
    
    
    /***/ }),
    
    /***/ 56272:
    /*!******************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.composite-key.js ***!
      \******************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var apply = __webpack_require__(/*! ../internals/function-apply */ 13743);
    var getCompositeKeyNode = __webpack_require__(/*! ../internals/composite-key */ 32754);
    var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ 65911);
    var create = __webpack_require__(/*! ../internals/object-create */ 20132);
    
    var $Object = Object;
    
    var initializer = function () {
      var freeze = getBuiltIn('Object', 'freeze');
      return freeze ? freeze(create(null)) : create(null);
    };
    
    // https://github.com/tc39/proposal-richer-keys/tree/master/compositeKey
    $({ global: true, forced: true }, {
      compositeKey: function compositeKey() {
        return apply(getCompositeKeyNode, $Object, arguments).get('object', initializer);
      }
    });
    
    
    /***/ }),
    
    /***/ 43466:
    /*!*********************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.composite-symbol.js ***!
      \*********************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var getCompositeKeyNode = __webpack_require__(/*! ../internals/composite-key */ 32754);
    var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ 65911);
    var apply = __webpack_require__(/*! ../internals/function-apply */ 13743);
    
    // https://github.com/tc39/proposal-richer-keys/tree/master/compositeKey
    $({ global: true, forced: true }, {
      compositeSymbol: function compositeSymbol() {
        if (arguments.length === 1 && typeof arguments[0] == 'string') return getBuiltIn('Symbol')['for'](arguments[0]);
        return apply(getCompositeKeyNode, null, arguments).get('symbol', getBuiltIn('Symbol'));
      }
    });
    
    
    /***/ }),
    
    /***/ 48156:
    /*!**************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.data-view.get-float16.js ***!
      \**************************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ 94237);
    var unpackIEEE754 = (__webpack_require__(/*! ../internals/ieee754 */ 61618).unpack);
    
    // eslint-disable-next-line es/no-typed-arrays -- safe
    var getUint16 = uncurryThis(DataView.prototype.getUint16);
    
    // `DataView.prototype.getFloat16` method
    // https://github.com/tc39/proposal-float16array
    $({ target: 'DataView', proto: true }, {
      getFloat16: function getFloat16(byteOffset /* , littleEndian */) {
        var uint16 = getUint16(this, byteOffset, arguments.length > 1 ? arguments[1] : false);
        return unpackIEEE754([uint16 & 0xFF, uint16 >> 8 & 0xFF], 10);
      }
    });
    
    
    /***/ }),
    
    /***/ 93236:
    /*!********************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.data-view.get-uint8-clamped.js ***!
      \********************************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ 94237);
    
    // eslint-disable-next-line es/no-typed-arrays -- safe
    var getUint8 = uncurryThis(DataView.prototype.getUint8);
    
    // `DataView.prototype.getUint8Clamped` method
    // https://github.com/tc39/proposal-dataview-get-set-uint8clamped
    $({ target: 'DataView', proto: true, forced: true }, {
      getUint8Clamped: function getUint8Clamped(byteOffset) {
        return getUint8(this, byteOffset);
      }
    });
    
    
    /***/ }),
    
    /***/ 42212:
    /*!**************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.data-view.set-float16.js ***!
      \**************************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ 94237);
    var classof = __webpack_require__(/*! ../internals/classof */ 97607);
    var toIndex = __webpack_require__(/*! ../internals/to-index */ 24225);
    var packIEEE754 = (__webpack_require__(/*! ../internals/ieee754 */ 61618).pack);
    var f16round = __webpack_require__(/*! ../internals/math-f16round */ 35175);
    
    var $TypeError = TypeError;
    // eslint-disable-next-line es/no-typed-arrays -- safe
    var setUint16 = uncurryThis(DataView.prototype.setUint16);
    
    // `DataView.prototype.setFloat16` method
    // https://github.com/tc39/proposal-float16array
    $({ target: 'DataView', proto: true }, {
      setFloat16: function setFloat16(byteOffset, value /* , littleEndian */) {
        if (classof(this) !== 'DataView') throw new $TypeError('Incorrect receiver');
        var offset = toIndex(byteOffset);
        var bytes = packIEEE754(f16round(value), 10, 2);
        return setUint16(this, offset, bytes[1] << 8 | bytes[0], arguments.length > 2 ? arguments[2] : false);
      }
    });
    
    
    /***/ }),
    
    /***/ 63923:
    /*!********************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.data-view.set-uint8-clamped.js ***!
      \********************************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ 94237);
    var classof = __webpack_require__(/*! ../internals/classof */ 97607);
    var toIndex = __webpack_require__(/*! ../internals/to-index */ 24225);
    var toUint8Clamped = __webpack_require__(/*! ../internals/to-uint8-clamped */ 86350);
    
    var $TypeError = TypeError;
    // eslint-disable-next-line es/no-typed-arrays -- safe
    var setUint8 = uncurryThis(DataView.prototype.setUint8);
    
    // `DataView.prototype.setUint8Clamped` method
    // https://github.com/tc39/proposal-dataview-get-set-uint8clamped
    $({ target: 'DataView', proto: true, forced: true }, {
      setUint8Clamped: function setUint8Clamped(byteOffset, value) {
        if (classof(this) !== 'DataView') throw new $TypeError('Incorrect receiver');
        var offset = toIndex(byteOffset);
        return setUint8(this, offset, toUint8Clamped(value));
      }
    });
    
    
    /***/ }),
    
    /***/ 2278:
    /*!*********************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.disposable-stack.constructor.js ***!
      \*********************************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    // https://github.com/tc39/proposal-explicit-resource-management
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ 35454);
    var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ 65911);
    var aCallable = __webpack_require__(/*! ../internals/a-callable */ 63335);
    var anInstance = __webpack_require__(/*! ../internals/an-instance */ 56472);
    var defineBuiltIn = __webpack_require__(/*! ../internals/define-built-in */ 2291);
    var defineBuiltIns = __webpack_require__(/*! ../internals/define-built-ins */ 66477);
    var defineBuiltInAccessor = __webpack_require__(/*! ../internals/define-built-in-accessor */ 64110);
    var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ 59893);
    var InternalStateModule = __webpack_require__(/*! ../internals/internal-state */ 94844);
    var addDisposableResource = __webpack_require__(/*! ../internals/add-disposable-resource */ 5978);
    
    var SuppressedError = getBuiltIn('SuppressedError');
    var $ReferenceError = ReferenceError;
    
    var DISPOSE = wellKnownSymbol('dispose');
    var TO_STRING_TAG = wellKnownSymbol('toStringTag');
    
    var DISPOSABLE_STACK = 'DisposableStack';
    var setInternalState = InternalStateModule.set;
    var getDisposableStackInternalState = InternalStateModule.getterFor(DISPOSABLE_STACK);
    
    var HINT = 'sync-dispose';
    var DISPOSED = 'disposed';
    var PENDING = 'pending';
    
    var getPendingDisposableStackInternalState = function (stack) {
      var internalState = getDisposableStackInternalState(stack);
      if (internalState.state === DISPOSED) throw new $ReferenceError(DISPOSABLE_STACK + ' already disposed');
      return internalState;
    };
    
    var $DisposableStack = function DisposableStack() {
      setInternalState(anInstance(this, DisposableStackPrototype), {
        type: DISPOSABLE_STACK,
        state: PENDING,
        stack: []
      });
    
      if (!DESCRIPTORS) this.disposed = false;
    };
    
    var DisposableStackPrototype = $DisposableStack.prototype;
    
    defineBuiltIns(DisposableStackPrototype, {
      dispose: function dispose() {
        var internalState = getDisposableStackInternalState(this);
        if (internalState.state === DISPOSED) return;
        internalState.state = DISPOSED;
        if (!DESCRIPTORS) this.disposed = true;
        var stack = internalState.stack;
        var i = stack.length;
        var thrown = false;
        var suppressed;
        while (i) {
          var disposeMethod = stack[--i];
          stack[i] = null;
          try {
            disposeMethod();
          } catch (errorResult) {
            if (thrown) {
              suppressed = new SuppressedError(errorResult, suppressed);
            } else {
              thrown = true;
              suppressed = errorResult;
            }
          }
        }
        internalState.stack = null;
        if (thrown) throw suppressed;
      },
      use: function use(value) {
        addDisposableResource(getPendingDisposableStackInternalState(this), value, HINT);
        return value;
      },
      adopt: function adopt(value, onDispose) {
        var internalState = getPendingDisposableStackInternalState(this);
        aCallable(onDispose);
        addDisposableResource(internalState, undefined, HINT, function () {
          onDispose(value);
        });
        return value;
      },
      defer: function defer(onDispose) {
        var internalState = getPendingDisposableStackInternalState(this);
        aCallable(onDispose);
        addDisposableResource(internalState, undefined, HINT, onDispose);
      },
      move: function move() {
        var internalState = getPendingDisposableStackInternalState(this);
        var newDisposableStack = new $DisposableStack();
        getDisposableStackInternalState(newDisposableStack).stack = internalState.stack;
        internalState.stack = [];
        internalState.state = DISPOSED;
        if (!DESCRIPTORS) this.disposed = true;
        return newDisposableStack;
      }
    });
    
    if (DESCRIPTORS) defineBuiltInAccessor(DisposableStackPrototype, 'disposed', {
      configurable: true,
      get: function disposed() {
        return getDisposableStackInternalState(this).state === DISPOSED;
      }
    });
    
    defineBuiltIn(DisposableStackPrototype, DISPOSE, DisposableStackPrototype.dispose, { name: 'dispose' });
    defineBuiltIn(DisposableStackPrototype, TO_STRING_TAG, DISPOSABLE_STACK, { nonWritable: true });
    
    $({ global: true, constructor: true }, {
      DisposableStack: $DisposableStack
    });
    
    
    /***/ }),
    
    /***/ 36955:
    /*!*************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.function.demethodize.js ***!
      \*************************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var demethodize = __webpack_require__(/*! ../internals/function-demethodize */ 47739);
    
    // `Function.prototype.demethodize` method
    // https://github.com/js-choi/proposal-function-demethodize
    $({ target: 'Function', proto: true, forced: true }, {
      demethodize: demethodize
    });
    
    
    /***/ }),
    
    /***/ 77326:
    /*!*************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.function.is-callable.js ***!
      \*************************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ 94237);
    var $isCallable = __webpack_require__(/*! ../internals/is-callable */ 55327);
    var inspectSource = __webpack_require__(/*! ../internals/inspect-source */ 15212);
    var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ 32621);
    var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ 35454);
    
    // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
    var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
    var classRegExp = /^\s*class\b/;
    var exec = uncurryThis(classRegExp.exec);
    
    var isClassConstructor = function (argument) {
      try {
        // `Function#toString` throws on some built-it function in some legacy engines
        // (for example, `DOMQuad` and similar in FF41-)
        if (!DESCRIPTORS || !exec(classRegExp, inspectSource(argument))) return false;
      } catch (error) { /* empty */ }
      var prototype = getOwnPropertyDescriptor(argument, 'prototype');
      return !!prototype && hasOwn(prototype, 'writable') && !prototype.writable;
    };
    
    // `Function.isCallable` method
    // https://github.com/caitp/TC39-Proposals/blob/trunk/tc39-reflect-isconstructor-iscallable.md
    $({ target: 'Function', stat: true, sham: true, forced: true }, {
      isCallable: function isCallable(argument) {
        return $isCallable(argument) && !isClassConstructor(argument);
      }
    });
    
    
    /***/ }),
    
    /***/ 53571:
    /*!****************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.function.is-constructor.js ***!
      \****************************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var isConstructor = __webpack_require__(/*! ../internals/is-constructor */ 39812);
    
    // `Function.isConstructor` method
    // https://github.com/caitp/TC39-Proposals/blob/trunk/tc39-reflect-isconstructor-iscallable.md
    $({ target: 'Function', stat: true, forced: true }, {
      isConstructor: isConstructor
    });
    
    
    /***/ }),
    
    /***/ 28670:
    /*!**********************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.function.metadata.js ***!
      \**********************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ 59893);
    var defineProperty = (__webpack_require__(/*! ../internals/object-define-property */ 37691).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
      });
    }
    
    
    /***/ }),
    
    /***/ 31050:
    /*!*********************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.function.un-this.js ***!
      \*********************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var demethodize = __webpack_require__(/*! ../internals/function-demethodize */ 47739);
    
    // `Function.prototype.unThis` method
    // https://github.com/js-choi/proposal-function-demethodize
    // TODO: Remove from `core-js@4`
    $({ target: 'Function', proto: true, forced: true, name: 'demethodize' }, {
      unThis: demethodize
    });
    
    
    /***/ }),
    
    /***/ 96364:
    /*!******************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.iterator.as-indexed-pairs.js ***!
      \******************************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    // TODO: Remove from `core-js@4`
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var indexed = __webpack_require__(/*! ../internals/iterator-indexed */ 24771);
    
    // `Iterator.prototype.asIndexedPairs` method
    // https://github.com/tc39/proposal-iterator-helpers
    $({ target: 'Iterator', name: 'indexed', proto: true, real: true, forced: true }, {
      asIndexedPairs: indexed
    });
    
    
    /***/ }),
    
    /***/ 25321:
    /*!*************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.iterator.constructor.js ***!
      \*************************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var global = __webpack_require__(/*! ../internals/global */ 92916);
    var anInstance = __webpack_require__(/*! ../internals/an-instance */ 56472);
    var anObject = __webpack_require__(/*! ../internals/an-object */ 80449);
    var isCallable = __webpack_require__(/*! ../internals/is-callable */ 55327);
    var getPrototypeOf = __webpack_require__(/*! ../internals/object-get-prototype-of */ 53456);
    var defineBuiltInAccessor = __webpack_require__(/*! ../internals/define-built-in-accessor */ 64110);
    var createProperty = __webpack_require__(/*! ../internals/create-property */ 69392);
    var fails = __webpack_require__(/*! ../internals/fails */ 3338);
    var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ 32621);
    var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ 59893);
    var IteratorPrototype = (__webpack_require__(/*! ../internals/iterators-core */ 46571).IteratorPrototype);
    var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ 35454);
    var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ 16697);
    
    var CONSTRUCTOR = 'constructor';
    var ITERATOR = 'Iterator';
    var TO_STRING_TAG = wellKnownSymbol('toStringTag');
    
    var $TypeError = TypeError;
    var NativeIterator = global[ITERATOR];
    
    // FF56- have non-standard global helper `Iterator`
    var FORCED = IS_PURE
      || !isCallable(NativeIterator)
      || NativeIterator.prototype !== IteratorPrototype
      // FF44- non-standard `Iterator` passes previous tests
      || !fails(function () { NativeIterator({}); });
    
    var IteratorConstructor = function Iterator() {
      anInstance(this, IteratorPrototype);
      if (getPrototypeOf(this) === IteratorPrototype) throw new $TypeError('Abstract class Iterator not directly constructable');
    };
    
    var defineIteratorPrototypeAccessor = function (key, value) {
      if (DESCRIPTORS) {
        defineBuiltInAccessor(IteratorPrototype, key, {
          configurable: true,
          get: function () {
            return value;
          },
          set: function (replacement) {
            anObject(this);
            if (this === IteratorPrototype) throw new $TypeError("You can't redefine this property");
            if (hasOwn(this, key)) this[key] = replacement;
            else createProperty(this, key, replacement);
          }
        });
      } else IteratorPrototype[key] = value;
    };
    
    if (!hasOwn(IteratorPrototype, TO_STRING_TAG)) defineIteratorPrototypeAccessor(TO_STRING_TAG, ITERATOR);
    
    if (FORCED || !hasOwn(IteratorPrototype, CONSTRUCTOR) || IteratorPrototype[CONSTRUCTOR] === Object) {
      defineIteratorPrototypeAccessor(CONSTRUCTOR, IteratorConstructor);
    }
    
    IteratorConstructor.prototype = IteratorPrototype;
    
    // `Iterator` constructor
    // https://github.com/tc39/proposal-iterator-helpers
    $({ global: true, constructor: true, forced: FORCED }, {
      Iterator: IteratorConstructor
    });
    
    
    /***/ }),
    
    /***/ 46304:
    /*!*********************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.iterator.dispose.js ***!
      \*********************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    // https://github.com/tc39/proposal-explicit-resource-management
    var call = __webpack_require__(/*! ../internals/function-call */ 89945);
    var defineBuiltIn = __webpack_require__(/*! ../internals/define-built-in */ 2291);
    var getMethod = __webpack_require__(/*! ../internals/get-method */ 53776);
    var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ 32621);
    var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ 59893);
    var IteratorPrototype = (__webpack_require__(/*! ../internals/iterators-core */ 46571).IteratorPrototype);
    
    var DISPOSE = wellKnownSymbol('dispose');
    
    if (!hasOwn(IteratorPrototype, DISPOSE)) {
      defineBuiltIn(IteratorPrototype, DISPOSE, function () {
        var $return = getMethod(this, 'return');
        if ($return) call($return, this);
      });
    }
    
    
    /***/ }),
    
    /***/ 55163:
    /*!******************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.iterator.drop.js ***!
      \******************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var call = __webpack_require__(/*! ../internals/function-call */ 89945);
    var anObject = __webpack_require__(/*! ../internals/an-object */ 80449);
    var getIteratorDirect = __webpack_require__(/*! ../internals/get-iterator-direct */ 10731);
    var notANaN = __webpack_require__(/*! ../internals/not-a-nan */ 2279);
    var toPositiveInteger = __webpack_require__(/*! ../internals/to-positive-integer */ 51358);
    var createIteratorProxy = __webpack_require__(/*! ../internals/iterator-create-proxy */ 20547);
    var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ 16697);
    
    var IteratorProxy = createIteratorProxy(function () {
      var iterator = this.iterator;
      var next = this.next;
      var result, done;
      while (this.remaining) {
        this.remaining--;
        result = anObject(call(next, iterator));
        done = this.done = !!result.done;
        if (done) return;
      }
      result = anObject(call(next, iterator));
      done = this.done = !!result.done;
      if (!done) return result.value;
    });
    
    // `Iterator.prototype.drop` method
    // https://github.com/tc39/proposal-iterator-helpers
    $({ target: 'Iterator', proto: true, real: true, forced: IS_PURE }, {
      drop: function drop(limit) {
        anObject(this);
        var remaining = toPositiveInteger(notANaN(+limit));
        return new IteratorProxy(getIteratorDirect(this), {
          remaining: remaining
        });
      }
    });
    
    
    /***/ }),
    
    /***/ 78722:
    /*!*******************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.iterator.every.js ***!
      \*******************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var iterate = __webpack_require__(/*! ../internals/iterate */ 62003);
    var aCallable = __webpack_require__(/*! ../internals/a-callable */ 63335);
    var anObject = __webpack_require__(/*! ../internals/an-object */ 80449);
    var getIteratorDirect = __webpack_require__(/*! ../internals/get-iterator-direct */ 10731);
    
    // `Iterator.prototype.every` method
    // https://github.com/tc39/proposal-iterator-helpers
    $({ target: 'Iterator', proto: true, real: true }, {
      every: function every(predicate) {
        anObject(this);
        aCallable(predicate);
        var record = getIteratorDirect(this);
        var counter = 0;
        return !iterate(record, function (value, stop) {
          if (!predicate(value, counter++)) return stop();
        }, { IS_RECORD: true, INTERRUPTED: true }).stopped;
      }
    });
    
    
    /***/ }),
    
    /***/ 35977:
    /*!********************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.iterator.filter.js ***!
      \********************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var call = __webpack_require__(/*! ../internals/function-call */ 89945);
    var aCallable = __webpack_require__(/*! ../internals/a-callable */ 63335);
    var anObject = __webpack_require__(/*! ../internals/an-object */ 80449);
    var getIteratorDirect = __webpack_require__(/*! ../internals/get-iterator-direct */ 10731);
    var createIteratorProxy = __webpack_require__(/*! ../internals/iterator-create-proxy */ 20547);
    var callWithSafeIterationClosing = __webpack_require__(/*! ../internals/call-with-safe-iteration-closing */ 46319);
    var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ 16697);
    
    var IteratorProxy = createIteratorProxy(function () {
      var iterator = this.iterator;
      var predicate = this.predicate;
      var next = this.next;
      var result, done, value;
      while (true) {
        result = anObject(call(next, iterator));
        done = this.done = !!result.done;
        if (done) return;
        value = result.value;
        if (callWithSafeIterationClosing(iterator, predicate, [value, this.counter++], true)) return value;
      }
    });
    
    // `Iterator.prototype.filter` method
    // https://github.com/tc39/proposal-iterator-helpers
    $({ target: 'Iterator', proto: true, real: true, forced: IS_PURE }, {
      filter: function filter(predicate) {
        anObject(this);
        aCallable(predicate);
        return new IteratorProxy(getIteratorDirect(this), {
          predicate: predicate
        });
      }
    });
    
    
    /***/ }),
    
    /***/ 81848:
    /*!******************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.iterator.find.js ***!
      \******************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var iterate = __webpack_require__(/*! ../internals/iterate */ 62003);
    var aCallable = __webpack_require__(/*! ../internals/a-callable */ 63335);
    var anObject = __webpack_require__(/*! ../internals/an-object */ 80449);
    var getIteratorDirect = __webpack_require__(/*! ../internals/get-iterator-direct */ 10731);
    
    // `Iterator.prototype.find` method
    // https://github.com/tc39/proposal-iterator-helpers
    $({ target: 'Iterator', proto: true, real: true }, {
      find: function find(predicate) {
        anObject(this);
        aCallable(predicate);
        var record = getIteratorDirect(this);
        var counter = 0;
        return iterate(record, function (value, stop) {
          if (predicate(value, counter++)) return stop(value);
        }, { IS_RECORD: true, INTERRUPTED: true }).result;
      }
    });
    
    
    /***/ }),
    
    /***/ 52867:
    /*!**********************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.iterator.flat-map.js ***!
      \**********************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var call = __webpack_require__(/*! ../internals/function-call */ 89945);
    var aCallable = __webpack_require__(/*! ../internals/a-callable */ 63335);
    var anObject = __webpack_require__(/*! ../internals/an-object */ 80449);
    var getIteratorDirect = __webpack_require__(/*! ../internals/get-iterator-direct */ 10731);
    var getIteratorFlattenable = __webpack_require__(/*! ../internals/get-iterator-flattenable */ 7157);
    var createIteratorProxy = __webpack_require__(/*! ../internals/iterator-create-proxy */ 20547);
    var iteratorClose = __webpack_require__(/*! ../internals/iterator-close */ 67996);
    var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ 16697);
    
    var IteratorProxy = createIteratorProxy(function () {
      var iterator = this.iterator;
      var mapper = this.mapper;
      var result, inner;
    
      while (true) {
        if (inner = this.inner) try {
          result = anObject(call(inner.next, inner.iterator));
          if (!result.done) return result.value;
          this.inner = null;
        } catch (error) { iteratorClose(iterator, 'throw', error); }
    
        result = anObject(call(this.next, iterator));
    
        if (this.done = !!result.done) return;
    
        try {
          this.inner = getIteratorFlattenable(mapper(result.value, this.counter++), false);
        } catch (error) { iteratorClose(iterator, 'throw', error); }
      }
    });
    
    // `Iterator.prototype.flatMap` method
    // https://github.com/tc39/proposal-iterator-helpers
    $({ target: 'Iterator', proto: true, real: true, forced: IS_PURE }, {
      flatMap: function flatMap(mapper) {
        anObject(this);
        aCallable(mapper);
        return new IteratorProxy(getIteratorDirect(this), {
          mapper: mapper,
          inner: null
        });
      }
    });
    
    
    /***/ }),
    
    /***/ 72211:
    /*!**********************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.iterator.for-each.js ***!
      \**********************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var iterate = __webpack_require__(/*! ../internals/iterate */ 62003);
    var aCallable = __webpack_require__(/*! ../internals/a-callable */ 63335);
    var anObject = __webpack_require__(/*! ../internals/an-object */ 80449);
    var getIteratorDirect = __webpack_require__(/*! ../internals/get-iterator-direct */ 10731);
    
    // `Iterator.prototype.forEach` method
    // https://github.com/tc39/proposal-iterator-helpers
    $({ target: 'Iterator', proto: true, real: true }, {
      forEach: function forEach(fn) {
        anObject(this);
        aCallable(fn);
        var record = getIteratorDirect(this);
        var counter = 0;
        iterate(record, function (value) {
          fn(value, counter++);
        }, { IS_RECORD: true });
      }
    });
    
    
    /***/ }),
    
    /***/ 84862:
    /*!******************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.iterator.from.js ***!
      \******************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var call = __webpack_require__(/*! ../internals/function-call */ 89945);
    var toObject = __webpack_require__(/*! ../internals/to-object */ 94029);
    var isPrototypeOf = __webpack_require__(/*! ../internals/object-is-prototype-of */ 16332);
    var IteratorPrototype = (__webpack_require__(/*! ../internals/iterators-core */ 46571).IteratorPrototype);
    var createIteratorProxy = __webpack_require__(/*! ../internals/iterator-create-proxy */ 20547);
    var getIteratorFlattenable = __webpack_require__(/*! ../internals/get-iterator-flattenable */ 7157);
    var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ 16697);
    
    var IteratorProxy = createIteratorProxy(function () {
      return call(this.next, this.iterator);
    }, true);
    
    // `Iterator.from` method
    // https://github.com/tc39/proposal-iterator-helpers
    $({ target: 'Iterator', stat: true, forced: IS_PURE }, {
      from: function from(O) {
        var iteratorRecord = getIteratorFlattenable(typeof O == 'string' ? toObject(O) : O, true);
        return isPrototypeOf(IteratorPrototype, iteratorRecord.iterator)
          ? iteratorRecord.iterator
          : new IteratorProxy(iteratorRecord);
      }
    });
    
    
    /***/ }),
    
    /***/ 92381:
    /*!*********************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.iterator.indexed.js ***!
      \*********************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    // TODO: Remove from `core-js@4`
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var indexed = __webpack_require__(/*! ../internals/iterator-indexed */ 24771);
    
    // `Iterator.prototype.indexed` method
    // https://github.com/tc39/proposal-iterator-helpers
    $({ target: 'Iterator', proto: true, real: true, forced: true }, {
      indexed: indexed
    });
    
    
    /***/ }),
    
    /***/ 19517:
    /*!*****************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.iterator.map.js ***!
      \*****************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var map = __webpack_require__(/*! ../internals/iterator-map */ 2155);
    var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ 16697);
    
    // `Iterator.prototype.map` method
    // https://github.com/tc39/proposal-iterator-helpers
    $({ target: 'Iterator', proto: true, real: true, forced: IS_PURE }, {
      map: map
    });
    
    
    /***/ }),
    
    /***/ 69667:
    /*!*******************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.iterator.range.js ***!
      \*******************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    /* eslint-disable es/no-bigint -- safe */
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var NumericRangeIterator = __webpack_require__(/*! ../internals/numeric-range-iterator */ 17243);
    
    var $TypeError = TypeError;
    
    // `Iterator.range` method
    // https://github.com/tc39/proposal-Number.range
    $({ target: 'Iterator', stat: true, forced: true }, {
      range: function range(start, end, option) {
        if (typeof start == 'number') return new NumericRangeIterator(start, end, option, 'number', 0, 1);
        if (typeof start == 'bigint') return new NumericRangeIterator(start, end, option, 'bigint', BigInt(0), BigInt(1));
        throw new $TypeError('Incorrect Iterator.range arguments');
      }
    });
    
    
    /***/ }),
    
    /***/ 80820:
    /*!********************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.iterator.reduce.js ***!
      \********************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var iterate = __webpack_require__(/*! ../internals/iterate */ 62003);
    var aCallable = __webpack_require__(/*! ../internals/a-callable */ 63335);
    var anObject = __webpack_require__(/*! ../internals/an-object */ 80449);
    var getIteratorDirect = __webpack_require__(/*! ../internals/get-iterator-direct */ 10731);
    
    var $TypeError = TypeError;
    
    // `Iterator.prototype.reduce` method
    // https://github.com/tc39/proposal-iterator-helpers
    $({ target: 'Iterator', proto: true, real: true }, {
      reduce: function reduce(reducer /* , initialValue */) {
        anObject(this);
        aCallable(reducer);
        var record = getIteratorDirect(this);
        var noInitial = arguments.length < 2;
        var accumulator = noInitial ? undefined : arguments[1];
        var counter = 0;
        iterate(record, function (value) {
          if (noInitial) {
            noInitial = false;
            accumulator = value;
          } else {
            accumulator = reducer(accumulator, value, counter);
          }
          counter++;
        }, { IS_RECORD: true });
        if (noInitial) throw new $TypeError('Reduce of empty iterator with no initial value');
        return accumulator;
      }
    });
    
    
    /***/ }),
    
    /***/ 87873:
    /*!******************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.iterator.some.js ***!
      \******************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var iterate = __webpack_require__(/*! ../internals/iterate */ 62003);
    var aCallable = __webpack_require__(/*! ../internals/a-callable */ 63335);
    var anObject = __webpack_require__(/*! ../internals/an-object */ 80449);
    var getIteratorDirect = __webpack_require__(/*! ../internals/get-iterator-direct */ 10731);
    
    // `Iterator.prototype.some` method
    // https://github.com/tc39/proposal-iterator-helpers
    $({ target: 'Iterator', proto: true, real: true }, {
      some: function some(predicate) {
        anObject(this);
        aCallable(predicate);
        var record = getIteratorDirect(this);
        var counter = 0;
        return iterate(record, function (value, stop) {
          if (predicate(value, counter++)) return stop();
        }, { IS_RECORD: true, INTERRUPTED: true }).stopped;
      }
    });
    
    
    /***/ }),
    
    /***/ 54609:
    /*!******************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.iterator.take.js ***!
      \******************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var call = __webpack_require__(/*! ../internals/function-call */ 89945);
    var anObject = __webpack_require__(/*! ../internals/an-object */ 80449);
    var getIteratorDirect = __webpack_require__(/*! ../internals/get-iterator-direct */ 10731);
    var notANaN = __webpack_require__(/*! ../internals/not-a-nan */ 2279);
    var toPositiveInteger = __webpack_require__(/*! ../internals/to-positive-integer */ 51358);
    var createIteratorProxy = __webpack_require__(/*! ../internals/iterator-create-proxy */ 20547);
    var iteratorClose = __webpack_require__(/*! ../internals/iterator-close */ 67996);
    var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ 16697);
    
    var IteratorProxy = createIteratorProxy(function () {
      var iterator = this.iterator;
      if (!this.remaining--) {
        this.done = true;
        return iteratorClose(iterator, 'normal', undefined);
      }
      var result = anObject(call(this.next, iterator));
      var done = this.done = !!result.done;
      if (!done) return result.value;
    });
    
    // `Iterator.prototype.take` method
    // https://github.com/tc39/proposal-iterator-helpers
    $({ target: 'Iterator', proto: true, real: true, forced: IS_PURE }, {
      take: function take(limit) {
        anObject(this);
        var remaining = toPositiveInteger(notANaN(+limit));
        return new IteratorProxy(getIteratorDirect(this), {
          remaining: remaining
        });
      }
    });
    
    
    /***/ }),
    
    /***/ 28566:
    /*!**********************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.iterator.to-array.js ***!
      \**********************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var anObject = __webpack_require__(/*! ../internals/an-object */ 80449);
    var iterate = __webpack_require__(/*! ../internals/iterate */ 62003);
    var getIteratorDirect = __webpack_require__(/*! ../internals/get-iterator-direct */ 10731);
    
    var push = [].push;
    
    // `Iterator.prototype.toArray` method
    // https://github.com/tc39/proposal-iterator-helpers
    $({ target: 'Iterator', proto: true, real: true }, {
      toArray: function toArray() {
        var result = [];
        iterate(getIteratorDirect(anObject(this)), push, { that: result, IS_RECORD: true });
        return result;
      }
    });
    
    
    /***/ }),
    
    /***/ 51697:
    /*!**********************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.iterator.to-async.js ***!
      \**********************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var anObject = __webpack_require__(/*! ../internals/an-object */ 80449);
    var AsyncFromSyncIterator = __webpack_require__(/*! ../internals/async-from-sync-iterator */ 57975);
    var WrapAsyncIterator = __webpack_require__(/*! ../internals/async-iterator-wrap */ 80025);
    var getIteratorDirect = __webpack_require__(/*! ../internals/get-iterator-direct */ 10731);
    var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ 16697);
    
    // `Iterator.prototype.toAsync` method
    // https://github.com/tc39/proposal-async-iterator-helpers
    $({ target: 'Iterator', proto: true, real: true, forced: IS_PURE }, {
      toAsync: function toAsync() {
        return new WrapAsyncIterator(getIteratorDirect(new AsyncFromSyncIterator(getIteratorDirect(anObject(this)))));
      }
    });
    
    
    /***/ }),
    
    /***/ 61872:
    /*!*********************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.json.is-raw-json.js ***!
      \*********************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var NATIVE_RAW_JSON = __webpack_require__(/*! ../internals/native-raw-json */ 82778);
    var isRawJSON = __webpack_require__(/*! ../internals/is-raw-json */ 83502);
    
    // `JSON.parse` method
    // https://tc39.es/proposal-json-parse-with-source/#sec-json.israwjson
    // https://github.com/tc39/proposal-json-parse-with-source
    $({ target: 'JSON', stat: true, forced: !NATIVE_RAW_JSON }, {
      isRawJSON: isRawJSON
    });
    
    
    /***/ }),
    
    /***/ 76077:
    /*!***************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.json.parse.js ***!
      \***************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ 35454);
    var global = __webpack_require__(/*! ../internals/global */ 92916);
    var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ 65911);
    var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ 94237);
    var call = __webpack_require__(/*! ../internals/function-call */ 89945);
    var isCallable = __webpack_require__(/*! ../internals/is-callable */ 55327);
    var isObject = __webpack_require__(/*! ../internals/is-object */ 31946);
    var isArray = __webpack_require__(/*! ../internals/is-array */ 18589);
    var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ 32621);
    var toString = __webpack_require__(/*! ../internals/to-string */ 69905);
    var lengthOfArrayLike = __webpack_require__(/*! ../internals/length-of-array-like */ 82762);
    var createProperty = __webpack_require__(/*! ../internals/create-property */ 69392);
    var fails = __webpack_require__(/*! ../internals/fails */ 3338);
    var parseJSONString = __webpack_require__(/*! ../internals/parse-json-string */ 70913);
    var NATIVE_SYMBOL = __webpack_require__(/*! ../internals/symbol-constructor-detection */ 42820);
    
    var JSON = global.JSON;
    var Number = global.Number;
    var SyntaxError = global.SyntaxError;
    var nativeParse = JSON && JSON.parse;
    var enumerableOwnProperties = getBuiltIn('Object', 'keys');
    // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
    var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
    var at = uncurryThis(''.charAt);
    var slice = uncurryThis(''.slice);
    var exec = uncurryThis(/./.exec);
    var push = uncurryThis([].push);
    
    var IS_DIGIT = /^\d$/;
    var IS_NON_ZERO_DIGIT = /^[1-9]$/;
    var IS_NUMBER_START = /^(?:-|\d)$/;
    var IS_WHITESPACE = /^[\t\n\r ]$/;
    
    var PRIMITIVE = 0;
    var OBJECT = 1;
    
    var $parse = function (source, reviver) {
      source = toString(source);
      var context = new Context(source, 0, '');
      var root = context.parse();
      var value = root.value;
      var endIndex = context.skip(IS_WHITESPACE, root.end);
      if (endIndex < source.length) {
        throw new SyntaxError('Unexpected extra character: "' + at(source, endIndex) + '" after the parsed data at: ' + endIndex);
      }
      return isCallable(reviver) ? internalize({ '': value }, '', reviver, root) : value;
    };
    
    var internalize = function (holder, name, reviver, node) {
      var val = holder[name];
      var unmodified = node && val === node.value;
      var context = unmodified && typeof node.source == 'string' ? { source: node.source } : {};
      var elementRecordsLen, keys, len, i, P;
      if (isObject(val)) {
        var nodeIsArray = isArray(val);
        var nodes = unmodified ? node.nodes : nodeIsArray ? [] : {};
        if (nodeIsArray) {
          elementRecordsLen = nodes.length;
          len = lengthOfArrayLike(val);
          for (i = 0; i < len; i++) {
            internalizeProperty(val, i, internalize(val, '' + i, reviver, i < elementRecordsLen ? nodes[i] : undefined));
          }
        } else {
          keys = enumerableOwnProperties(val);
          len = lengthOfArrayLike(keys);
          for (i = 0; i < len; i++) {
            P = keys[i];
            internalizeProperty(val, P, internalize(val, P, reviver, hasOwn(nodes, P) ? nodes[P] : undefined));
          }
        }
      }
      return call(reviver, holder, name, val, context);
    };
    
    var internalizeProperty = function (object, key, value) {
      if (DESCRIPTORS) {
        var descriptor = getOwnPropertyDescriptor(object, key);
        if (descriptor && !descriptor.configurable) return;
      }
      if (value === undefined) delete object[key];
      else createProperty(object, key, value);
    };
    
    var Node = function (value, end, source, nodes) {
      this.value = value;
      this.end = end;
      this.source = source;
      this.nodes = nodes;
    };
    
    var Context = function (source, index) {
      this.source = source;
      this.index = index;
    };
    
    // https://www.json.org/json-en.html
    Context.prototype = {
      fork: function (nextIndex) {
        return new Context(this.source, nextIndex);
      },
      parse: function () {
        var source = this.source;
        var i = this.skip(IS_WHITESPACE, this.index);
        var fork = this.fork(i);
        var chr = at(source, i);
        if (exec(IS_NUMBER_START, chr)) return fork.number();
        switch (chr) {
          case '{':
            return fork.object();
          case '[':
            return fork.array();
          case '"':
            return fork.string();
          case 't':
            return fork.keyword(true);
          case 'f':
            return fork.keyword(false);
          case 'n':
            return fork.keyword(null);
        } throw new SyntaxError('Unexpected character: "' + chr + '" at: ' + i);
      },
      node: function (type, value, start, end, nodes) {
        return new Node(value, end, type ? null : slice(this.source, start, end), nodes);
      },
      object: function () {
        var source = this.source;
        var i = this.index + 1;
        var expectKeypair = false;
        var object = {};
        var nodes = {};
        while (i < source.length) {
          i = this.until(['"', '}'], i);
          if (at(source, i) === '}' && !expectKeypair) {
            i++;
            break;
          }
          // Parsing the key
          var result = this.fork(i).string();
          var key = result.value;
          i = result.end;
          i = this.until([':'], i) + 1;
          // Parsing value
          i = this.skip(IS_WHITESPACE, i);
          result = this.fork(i).parse();
          createProperty(nodes, key, result);
          createProperty(object, key, result.value);
          i = this.until([',', '}'], result.end);
          var chr = at(source, i);
          if (chr === ',') {
            expectKeypair = true;
            i++;
          } else if (chr === '}') {
            i++;
            break;
          }
        }
        return this.node(OBJECT, object, this.index, i, nodes);
      },
      array: function () {
        var source = this.source;
        var i = this.index + 1;
        var expectElement = false;
        var array = [];
        var nodes = [];
        while (i < source.length) {
          i = this.skip(IS_WHITESPACE, i);
          if (at(source, i) === ']' && !expectElement) {
            i++;
            break;
          }
          var result = this.fork(i).parse();
          push(nodes, result);
          push(array, result.value);
          i = this.until([',', ']'], result.end);
          if (at(source, i) === ',') {
            expectElement = true;
            i++;
          } else if (at(source, i) === ']') {
            i++;
            break;
          }
        }
        return this.node(OBJECT, array, this.index, i, nodes);
      },
      string: function () {
        var index = this.index;
        var parsed = parseJSONString(this.source, this.index + 1);
        return this.node(PRIMITIVE, parsed.value, index, parsed.end);
      },
      number: function () {
        var source = this.source;
        var startIndex = this.index;
        var i = startIndex;
        if (at(source, i) === '-') i++;
        if (at(source, i) === '0') i++;
        else if (exec(IS_NON_ZERO_DIGIT, at(source, i))) i = this.skip(IS_DIGIT, ++i);
        else throw new SyntaxError('Failed to parse number at: ' + i);
        if (at(source, i) === '.') i = this.skip(IS_DIGIT, ++i);
        if (at(source, i) === 'e' || at(source, i) === 'E') {
          i++;
          if (at(source, i) === '+' || at(source, i) === '-') i++;
          var exponentStartIndex = i;
          i = this.skip(IS_DIGIT, i);
          if (exponentStartIndex === i) throw new SyntaxError("Failed to parse number's exponent value at: " + i);
        }
        return this.node(PRIMITIVE, Number(slice(source, startIndex, i)), startIndex, i);
      },
      keyword: function (value) {
        var keyword = '' + value;
        var index = this.index;
        var endIndex = index + keyword.length;
        if (slice(this.source, index, endIndex) !== keyword) throw new SyntaxError('Failed to parse value at: ' + index);
        return this.node(PRIMITIVE, value, index, endIndex);
      },
      skip: function (regex, i) {
        var source = this.source;
        for (; i < source.length; i++) if (!exec(regex, at(source, i))) break;
        return i;
      },
      until: function (array, i) {
        i = this.skip(IS_WHITESPACE, i);
        var chr = at(this.source, i);
        for (var j = 0; j < array.length; j++) if (array[j] === chr) return i;
        throw new SyntaxError('Unexpected character: "' + chr + '" at: ' + i);
      }
    };
    
    var NO_SOURCE_SUPPORT = fails(function () {
      var unsafeInt = '9007199254740993';
      var source;
      nativeParse(unsafeInt, function (key, value, context) {
        source = context.source;
      });
      return source !== unsafeInt;
    });
    
    var PROPER_BASE_PARSE = NATIVE_SYMBOL && !fails(function () {
      // Safari 9 bug
      return 1 / nativeParse('-0 \t') !== -Infinity;
    });
    
    // `JSON.parse` method
    // https://tc39.es/ecma262/#sec-json.parse
    // https://github.com/tc39/proposal-json-parse-with-source
    $({ target: 'JSON', stat: true, forced: NO_SOURCE_SUPPORT }, {
      parse: function parse(text, reviver) {
        return PROPER_BASE_PARSE && !isCallable(reviver) ? nativeParse(text) : $parse(text, reviver);
      }
    });
    
    
    /***/ }),
    
    /***/ 9196:
    /*!******************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.json.raw-json.js ***!
      \******************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var FREEZING = __webpack_require__(/*! ../internals/freezing */ 13247);
    var NATIVE_RAW_JSON = __webpack_require__(/*! ../internals/native-raw-json */ 82778);
    var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ 65911);
    var call = __webpack_require__(/*! ../internals/function-call */ 89945);
    var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ 94237);
    var isCallable = __webpack_require__(/*! ../internals/is-callable */ 55327);
    var isRawJSON = __webpack_require__(/*! ../internals/is-raw-json */ 83502);
    var toString = __webpack_require__(/*! ../internals/to-string */ 69905);
    var createProperty = __webpack_require__(/*! ../internals/create-property */ 69392);
    var parseJSONString = __webpack_require__(/*! ../internals/parse-json-string */ 70913);
    var getReplacerFunction = __webpack_require__(/*! ../internals/get-json-replacer-function */ 65451);
    var uid = __webpack_require__(/*! ../internals/uid */ 6145);
    var setInternalState = (__webpack_require__(/*! ../internals/internal-state */ 94844).set);
    
    var $String = String;
    var $SyntaxError = SyntaxError;
    var parse = getBuiltIn('JSON', 'parse');
    var $stringify = getBuiltIn('JSON', 'stringify');
    var create = getBuiltIn('Object', 'create');
    var freeze = getBuiltIn('Object', 'freeze');
    var at = uncurryThis(''.charAt);
    var slice = uncurryThis(''.slice);
    var exec = uncurryThis(/./.exec);
    var push = uncurryThis([].push);
    
    var MARK = uid();
    var MARK_LENGTH = MARK.length;
    var ERROR_MESSAGE = 'Unacceptable as raw JSON';
    var IS_WHITESPACE = /^[\t\n\r ]$/;
    
    // `JSON.parse` method
    // https://tc39.es/proposal-json-parse-with-source/#sec-json.israwjson
    // https://github.com/tc39/proposal-json-parse-with-source
    $({ target: 'JSON', stat: true, forced: !NATIVE_RAW_JSON }, {
      rawJSON: function rawJSON(text) {
        var jsonString = toString(text);
        if (jsonString === '' || exec(IS_WHITESPACE, at(jsonString, 0)) || exec(IS_WHITESPACE, at(jsonString, jsonString.length - 1))) {
          throw new $SyntaxError(ERROR_MESSAGE);
        }
        var parsed = parse(jsonString);
        if (typeof parsed == 'object' && parsed !== null) throw new $SyntaxError(ERROR_MESSAGE);
        var obj = create(null);
        setInternalState(obj, { type: 'RawJSON' });
        createProperty(obj, 'rawJSON', jsonString);
        return FREEZING ? freeze(obj) : obj;
      }
    });
    
    // `JSON.stringify` method
    // https://tc39.es/ecma262/#sec-json.stringify
    // https://github.com/tc39/proposal-json-parse-with-source
    if ($stringify) $({ target: 'JSON', stat: true, arity: 3, forced: !NATIVE_RAW_JSON }, {
      stringify: function stringify(text, replacer, space) {
        var replacerFunction = getReplacerFunction(replacer);
        var rawStrings = [];
    
        var json = $stringify(text, function (key, value) {
          // some old implementations (like WebKit) could pass numbers as keys
          var v = isCallable(replacerFunction) ? call(replacerFunction, this, $String(key), value) : value;
          return isRawJSON(v) ? MARK + (push(rawStrings, v.rawJSON) - 1) : v;
        }, space);
    
        if (typeof json != 'string') return json;
    
        var result = '';
        var length = json.length;
    
        for (var i = 0; i < length; i++) {
          var chr = at(json, i);
          if (chr === '"') {
            var end = parseJSONString(json, ++i).end - 1;
            var string = slice(json, i, end);
            result += slice(string, 0, MARK_LENGTH) === MARK
              ? rawStrings[slice(string, MARK_LENGTH)]
              : '"' + string + '"';
            i = end;
          } else result += chr;
        }
    
        return result;
      }
    });
    
    
    /***/ }),
    
    /***/ 5369:
    /*!*******************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.map.delete-all.js ***!
      \*******************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var aMap = __webpack_require__(/*! ../internals/a-map */ 42683);
    var remove = (__webpack_require__(/*! ../internals/map-helpers */ 2786).remove);
    
    // `Map.prototype.deleteAll` method
    // https://github.com/tc39/proposal-collection-methods
    $({ target: 'Map', proto: true, real: true, forced: true }, {
      deleteAll: function deleteAll(/* ...elements */) {
        var collection = aMap(this);
        var allDeleted = true;
        var wasDeleted;
        for (var k = 0, len = arguments.length; k < len; k++) {
          wasDeleted = remove(collection, arguments[k]);
          allDeleted = allDeleted && wasDeleted;
        } return !!allDeleted;
      }
    });
    
    
    /***/ }),
    
    /***/ 26259:
    /*!****************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.map.emplace.js ***!
      \****************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var aMap = __webpack_require__(/*! ../internals/a-map */ 42683);
    var MapHelpers = __webpack_require__(/*! ../internals/map-helpers */ 2786);
    
    var get = MapHelpers.get;
    var has = MapHelpers.has;
    var set = MapHelpers.set;
    
    // `Map.prototype.emplace` method
    // https://github.com/tc39/proposal-upsert
    $({ target: 'Map', proto: true, real: true, forced: true }, {
      emplace: function emplace(key, handler) {
        var map = aMap(this);
        var value, inserted;
        if (has(map, key)) {
          value = get(map, key);
          if ('update' in handler) {
            value = handler.update(value, key, map);
            set(map, key, value);
          } return value;
        }
        inserted = handler.insert(key, map);
        set(map, key, inserted);
        return inserted;
      }
    });
    
    
    /***/ }),
    
    /***/ 47736:
    /*!**************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.map.every.js ***!
      \**************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var bind = __webpack_require__(/*! ../internals/function-bind-context */ 80666);
    var aMap = __webpack_require__(/*! ../internals/a-map */ 42683);
    var iterate = __webpack_require__(/*! ../internals/map-iterate */ 95037);
    
    // `Map.prototype.every` method
    // https://github.com/tc39/proposal-collection-methods
    $({ target: 'Map', proto: true, real: true, forced: true }, {
      every: function every(callbackfn /* , thisArg */) {
        var map = aMap(this);
        var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined);
        return iterate(map, function (value, key) {
          if (!boundFunction(value, key, map)) return false;
        }, true) !== false;
      }
    });
    
    
    /***/ }),
    
    /***/ 28220:
    /*!***************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.map.filter.js ***!
      \***************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var bind = __webpack_require__(/*! ../internals/function-bind-context */ 80666);
    var aMap = __webpack_require__(/*! ../internals/a-map */ 42683);
    var MapHelpers = __webpack_require__(/*! ../internals/map-helpers */ 2786);
    var iterate = __webpack_require__(/*! ../internals/map-iterate */ 95037);
    
    var Map = MapHelpers.Map;
    var set = MapHelpers.set;
    
    // `Map.prototype.filter` method
    // https://github.com/tc39/proposal-collection-methods
    $({ target: 'Map', proto: true, real: true, forced: true }, {
      filter: function filter(callbackfn /* , thisArg */) {
        var map = aMap(this);
        var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined);
        var newMap = new Map();
        iterate(map, function (value, key) {
          if (boundFunction(value, key, map)) set(newMap, key, value);
        });
        return newMap;
      }
    });
    
    
    /***/ }),
    
    /***/ 49350:
    /*!*****************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.map.find-key.js ***!
      \*****************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var bind = __webpack_require__(/*! ../internals/function-bind-context */ 80666);
    var aMap = __webpack_require__(/*! ../internals/a-map */ 42683);
    var iterate = __webpack_require__(/*! ../internals/map-iterate */ 95037);
    
    // `Map.prototype.findKey` method
    // https://github.com/tc39/proposal-collection-methods
    $({ target: 'Map', proto: true, real: true, forced: true }, {
      findKey: function findKey(callbackfn /* , thisArg */) {
        var map = aMap(this);
        var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined);
        var result = iterate(map, function (value, key) {
          if (boundFunction(value, key, map)) return { key: key };
        }, true);
        return result && result.key;
      }
    });
    
    
    /***/ }),
    
    /***/ 62060:
    /*!*************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.map.find.js ***!
      \*************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var bind = __webpack_require__(/*! ../internals/function-bind-context */ 80666);
    var aMap = __webpack_require__(/*! ../internals/a-map */ 42683);
    var iterate = __webpack_require__(/*! ../internals/map-iterate */ 95037);
    
    // `Map.prototype.find` method
    // https://github.com/tc39/proposal-collection-methods
    $({ target: 'Map', proto: true, real: true, forced: true }, {
      find: function find(callbackfn /* , thisArg */) {
        var map = aMap(this);
        var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined);
        var result = iterate(map, function (value, key) {
          if (boundFunction(value, key, map)) return { value: value };
        }, true);
        return result && result.value;
      }
    });
    
    
    /***/ }),
    
    /***/ 20126:
    /*!*************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.map.from.js ***!
      \*************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var from = __webpack_require__(/*! ../internals/collection-from */ 72846);
    
    // `Map.from` method
    // https://tc39.github.io/proposal-setmap-offrom/#sec-map.from
    $({ target: 'Map', stat: true, forced: true }, {
      from: from
    });
    
    
    /***/ }),
    
    /***/ 18090:
    /*!*****************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.map.includes.js ***!
      \*****************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var sameValueZero = __webpack_require__(/*! ../internals/same-value-zero */ 88134);
    var aMap = __webpack_require__(/*! ../internals/a-map */ 42683);
    var iterate = __webpack_require__(/*! ../internals/map-iterate */ 95037);
    
    // `Map.prototype.includes` method
    // https://github.com/tc39/proposal-collection-methods
    $({ target: 'Map', proto: true, real: true, forced: true }, {
      includes: function includes(searchElement) {
        return iterate(aMap(this), function (value) {
          if (sameValueZero(value, searchElement)) return true;
        }, true) === true;
      }
    });
    
    
    /***/ }),
    
    /***/ 14309:
    /*!***************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.map.key-by.js ***!
      \***************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var call = __webpack_require__(/*! ../internals/function-call */ 89945);
    var iterate = __webpack_require__(/*! ../internals/iterate */ 62003);
    var isCallable = __webpack_require__(/*! ../internals/is-callable */ 55327);
    var aCallable = __webpack_require__(/*! ../internals/a-callable */ 63335);
    var Map = (__webpack_require__(/*! ../internals/map-helpers */ 2786).Map);
    
    // `Map.keyBy` method
    // https://github.com/tc39/proposal-collection-methods
    $({ target: 'Map', stat: true, forced: true }, {
      keyBy: function keyBy(iterable, keyDerivative) {
        var C = isCallable(this) ? this : Map;
        var newMap = new C();
        aCallable(keyDerivative);
        var setter = aCallable(newMap.set);
        iterate(iterable, function (element) {
          call(setter, newMap, keyDerivative(element), element);
        });
        return newMap;
      }
    });
    
    
    /***/ }),
    
    /***/ 17822:
    /*!***************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.map.key-of.js ***!
      \***************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var aMap = __webpack_require__(/*! ../internals/a-map */ 42683);
    var iterate = __webpack_require__(/*! ../internals/map-iterate */ 95037);
    
    // `Map.prototype.keyOf` method
    // https://github.com/tc39/proposal-collection-methods
    $({ target: 'Map', proto: true, real: true, forced: true }, {
      keyOf: function keyOf(searchElement) {
        var result = iterate(aMap(this), function (value, key) {
          if (value === searchElement) return { key: key };
        }, true);
        return result && result.key;
      }
    });
    
    
    /***/ }),
    
    /***/ 83543:
    /*!*****************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.map.map-keys.js ***!
      \*****************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var bind = __webpack_require__(/*! ../internals/function-bind-context */ 80666);
    var aMap = __webpack_require__(/*! ../internals/a-map */ 42683);
    var MapHelpers = __webpack_require__(/*! ../internals/map-helpers */ 2786);
    var iterate = __webpack_require__(/*! ../internals/map-iterate */ 95037);
    
    var Map = MapHelpers.Map;
    var set = MapHelpers.set;
    
    // `Map.prototype.mapKeys` method
    // https://github.com/tc39/proposal-collection-methods
    $({ target: 'Map', proto: true, real: true, forced: true }, {
      mapKeys: function mapKeys(callbackfn /* , thisArg */) {
        var map = aMap(this);
        var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined);
        var newMap = new Map();
        iterate(map, function (value, key) {
          set(newMap, boundFunction(value, key, map), value);
        });
        return newMap;
      }
    });
    
    
    /***/ }),
    
    /***/ 13853:
    /*!*******************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.map.map-values.js ***!
      \*******************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var bind = __webpack_require__(/*! ../internals/function-bind-context */ 80666);
    var aMap = __webpack_require__(/*! ../internals/a-map */ 42683);
    var MapHelpers = __webpack_require__(/*! ../internals/map-helpers */ 2786);
    var iterate = __webpack_require__(/*! ../internals/map-iterate */ 95037);
    
    var Map = MapHelpers.Map;
    var set = MapHelpers.set;
    
    // `Map.prototype.mapValues` method
    // https://github.com/tc39/proposal-collection-methods
    $({ target: 'Map', proto: true, real: true, forced: true }, {
      mapValues: function mapValues(callbackfn /* , thisArg */) {
        var map = aMap(this);
        var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined);
        var newMap = new Map();
        iterate(map, function (value, key) {
          set(newMap, key, boundFunction(value, key, map));
        });
        return newMap;
      }
    });
    
    
    /***/ }),
    
    /***/ 25188:
    /*!**************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.map.merge.js ***!
      \**************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var aMap = __webpack_require__(/*! ../internals/a-map */ 42683);
    var iterate = __webpack_require__(/*! ../internals/iterate */ 62003);
    var set = (__webpack_require__(/*! ../internals/map-helpers */ 2786).set);
    
    // `Map.prototype.merge` method
    // https://github.com/tc39/proposal-collection-methods
    $({ target: 'Map', proto: true, real: true, arity: 1, forced: true }, {
      // eslint-disable-next-line no-unused-vars -- required for `.length`
      merge: function merge(iterable /* ...iterables */) {
        var map = aMap(this);
        var argumentsLength = arguments.length;
        var i = 0;
        while (i < argumentsLength) {
          iterate(arguments[i++], function (key, value) {
            set(map, key, value);
          }, { AS_ENTRIES: true });
        }
        return map;
      }
    });
    
    
    /***/ }),
    
    /***/ 10215:
    /*!***********************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.map.of.js ***!
      \***********************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var of = __webpack_require__(/*! ../internals/collection-of */ 48800);
    
    // `Map.of` method
    // https://tc39.github.io/proposal-setmap-offrom/#sec-map.of
    $({ target: 'Map', stat: true, forced: true }, {
      of: of
    });
    
    
    /***/ }),
    
    /***/ 3432:
    /*!***************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.map.reduce.js ***!
      \***************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var aCallable = __webpack_require__(/*! ../internals/a-callable */ 63335);
    var aMap = __webpack_require__(/*! ../internals/a-map */ 42683);
    var iterate = __webpack_require__(/*! ../internals/map-iterate */ 95037);
    
    var $TypeError = TypeError;
    
    // `Map.prototype.reduce` method
    // https://github.com/tc39/proposal-collection-methods
    $({ target: 'Map', proto: true, real: true, forced: true }, {
      reduce: function reduce(callbackfn /* , initialValue */) {
        var map = aMap(this);
        var noInitial = arguments.length < 2;
        var accumulator = noInitial ? undefined : arguments[1];
        aCallable(callbackfn);
        iterate(map, function (value, key) {
          if (noInitial) {
            noInitial = false;
            accumulator = value;
          } else {
            accumulator = callbackfn(accumulator, value, key, map);
          }
        });
        if (noInitial) throw new $TypeError('Reduce of empty map with no initial value');
        return accumulator;
      }
    });
    
    
    /***/ }),
    
    /***/ 90486:
    /*!*************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.map.some.js ***!
      \*************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var bind = __webpack_require__(/*! ../internals/function-bind-context */ 80666);
    var aMap = __webpack_require__(/*! ../internals/a-map */ 42683);
    var iterate = __webpack_require__(/*! ../internals/map-iterate */ 95037);
    
    // `Map.prototype.some` method
    // https://github.com/tc39/proposal-collection-methods
    $({ target: 'Map', proto: true, real: true, forced: true }, {
      some: function some(callbackfn /* , thisArg */) {
        var map = aMap(this);
        var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined);
        return iterate(map, function (value, key) {
          if (boundFunction(value, key, map)) return true;
        }, true) === true;
      }
    });
    
    
    /***/ }),
    
    /***/ 8774:
    /*!*************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.map.update-or-insert.js ***!
      \*************************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    // TODO: remove from `core-js@4`
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var upsert = __webpack_require__(/*! ../internals/map-upsert */ 14615);
    
    // `Map.prototype.updateOrInsert` method (replaced by `Map.prototype.emplace`)
    // https://github.com/thumbsupep/proposal-upsert
    $({ target: 'Map', proto: true, real: true, name: 'upsert', forced: true }, {
      updateOrInsert: upsert
    });
    
    
    /***/ }),
    
    /***/ 6736:
    /*!***************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.map.update.js ***!
      \***************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var aCallable = __webpack_require__(/*! ../internals/a-callable */ 63335);
    var aMap = __webpack_require__(/*! ../internals/a-map */ 42683);
    var MapHelpers = __webpack_require__(/*! ../internals/map-helpers */ 2786);
    
    var $TypeError = TypeError;
    var get = MapHelpers.get;
    var has = MapHelpers.has;
    var set = MapHelpers.set;
    
    // `Map.prototype.update` method
    // https://github.com/tc39/proposal-collection-methods
    $({ target: 'Map', proto: true, real: true, forced: true }, {
      update: function update(key, callback /* , thunk */) {
        var map = aMap(this);
        var length = arguments.length;
        aCallable(callback);
        var isPresentInMap = has(map, key);
        if (!isPresentInMap && length < 3) {
          throw new $TypeError('Updating absent value');
        }
        var value = isPresentInMap ? get(map, key) : aCallable(length > 2 ? arguments[2] : undefined)(key, map);
        set(map, key, callback(value, key, map));
        return map;
      }
    });
    
    
    /***/ }),
    
    /***/ 94065:
    /*!***************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.map.upsert.js ***!
      \***************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    // TODO: remove from `core-js@4`
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var upsert = __webpack_require__(/*! ../internals/map-upsert */ 14615);
    
    // `Map.prototype.upsert` method (replaced by `Map.prototype.emplace`)
    // https://github.com/thumbsupep/proposal-upsert
    $({ target: 'Map', proto: true, real: true, forced: true }, {
      upsert: upsert
    });
    
    
    /***/ }),
    
    /***/ 93036:
    /*!***************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.math.clamp.js ***!
      \***************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    
    var min = Math.min;
    var max = Math.max;
    
    // `Math.clamp` method
    // https://rwaldron.github.io/proposal-math-extensions/
    $({ target: 'Math', stat: true, forced: true }, {
      clamp: function clamp(x, lower, upper) {
        return min(upper, max(lower, x));
      }
    });
    
    
    /***/ }),
    
    /***/ 75708:
    /*!*********************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.math.deg-per-rad.js ***!
      \*********************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    
    // `Math.DEG_PER_RAD` constant
    // https://rwaldron.github.io/proposal-math-extensions/
    $({ target: 'Math', stat: true, nonConfigurable: true, nonWritable: true }, {
      DEG_PER_RAD: Math.PI / 180
    });
    
    
    /***/ }),
    
    /***/ 84624:
    /*!*****************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.math.degrees.js ***!
      \*****************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    
    var RAD_PER_DEG = 180 / Math.PI;
    
    // `Math.degrees` method
    // https://rwaldron.github.io/proposal-math-extensions/
    $({ target: 'Math', stat: true, forced: true }, {
      degrees: function degrees(radians) {
        return radians * RAD_PER_DEG;
      }
    });
    
    
    /***/ }),
    
    /***/ 43710:
    /*!******************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.math.f16round.js ***!
      \******************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var f16round = __webpack_require__(/*! ../internals/math-f16round */ 35175);
    
    // `Math.f16round` method
    // https://github.com/tc39/proposal-float16array
    $({ target: 'Math', stat: true }, { f16round: f16round });
    
    
    /***/ }),
    
    /***/ 66233:
    /*!****************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.math.fscale.js ***!
      \****************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    
    var scale = __webpack_require__(/*! ../internals/math-scale */ 24619);
    var fround = __webpack_require__(/*! ../internals/math-fround */ 14894);
    
    // `Math.fscale` method
    // https://rwaldron.github.io/proposal-math-extensions/
    $({ target: 'Math', stat: true, forced: true }, {
      fscale: function fscale(x, inLow, inHigh, outLow, outHigh) {
        return fround(scale(x, inLow, inHigh, outLow, outHigh));
      }
    });
    
    
    /***/ }),
    
    /***/ 92762:
    /*!***************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.math.iaddh.js ***!
      \***************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    
    // `Math.iaddh` method
    // https://gist.github.com/BrendanEich/4294d5c212a6d2254703
    // TODO: Remove from `core-js@4`
    $({ target: 'Math', stat: true, forced: true }, {
      iaddh: function iaddh(x0, x1, y0, y1) {
        var $x0 = x0 >>> 0;
        var $x1 = x1 >>> 0;
        var $y0 = y0 >>> 0;
        return $x1 + (y1 >>> 0) + (($x0 & $y0 | ($x0 | $y0) & ~($x0 + $y0 >>> 0)) >>> 31) | 0;
      }
    });
    
    
    /***/ }),
    
    /***/ 24467:
    /*!***************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.math.imulh.js ***!
      \***************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    
    // `Math.imulh` method
    // https://gist.github.com/BrendanEich/4294d5c212a6d2254703
    // TODO: Remove from `core-js@4`
    $({ target: 'Math', stat: true, forced: true }, {
      imulh: function imulh(u, v) {
        var UINT16 = 0xFFFF;
        var $u = +u;
        var $v = +v;
        var u0 = $u & UINT16;
        var v0 = $v & UINT16;
        var u1 = $u >> 16;
        var v1 = $v >> 16;
        var t = (u1 * v0 >>> 0) + (u0 * v0 >>> 16);
        return u1 * v1 + (t >> 16) + ((u0 * v1 >>> 0) + (t & UINT16) >> 16);
      }
    });
    
    
    /***/ }),
    
    /***/ 68465:
    /*!***************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.math.isubh.js ***!
      \***************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    
    // `Math.isubh` method
    // https://gist.github.com/BrendanEich/4294d5c212a6d2254703
    // TODO: Remove from `core-js@4`
    $({ target: 'Math', stat: true, forced: true }, {
      isubh: function isubh(x0, x1, y0, y1) {
        var $x0 = x0 >>> 0;
        var $x1 = x1 >>> 0;
        var $y0 = y0 >>> 0;
        return $x1 - (y1 >>> 0) - ((~$x0 & $y0 | ~($x0 ^ $y0) & $x0 - $y0 >>> 0) >>> 31) | 0;
      }
    });
    
    
    /***/ }),
    
    /***/ 77004:
    /*!*********************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.math.rad-per-deg.js ***!
      \*********************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    
    // `Math.RAD_PER_DEG` constant
    // https://rwaldron.github.io/proposal-math-extensions/
    $({ target: 'Math', stat: true, nonConfigurable: true, nonWritable: true }, {
      RAD_PER_DEG: 180 / Math.PI
    });
    
    
    /***/ }),
    
    /***/ 83925:
    /*!*****************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.math.radians.js ***!
      \*****************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    
    var DEG_PER_RAD = Math.PI / 180;
    
    // `Math.radians` method
    // https://rwaldron.github.io/proposal-math-extensions/
    $({ target: 'Math', stat: true, forced: true }, {
      radians: function radians(degrees) {
        return degrees * DEG_PER_RAD;
      }
    });
    
    
    /***/ }),
    
    /***/ 51117:
    /*!***************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.math.scale.js ***!
      \***************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var scale = __webpack_require__(/*! ../internals/math-scale */ 24619);
    
    // `Math.scale` method
    // https://rwaldron.github.io/proposal-math-extensions/
    $({ target: 'Math', stat: true, forced: true }, {
      scale: scale
    });
    
    
    /***/ }),
    
    /***/ 87236:
    /*!*********************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.math.seeded-prng.js ***!
      \*********************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var anObject = __webpack_require__(/*! ../internals/an-object */ 80449);
    var numberIsFinite = __webpack_require__(/*! ../internals/number-is-finite */ 1222);
    var createIteratorConstructor = __webpack_require__(/*! ../internals/iterator-create-constructor */ 83126);
    var createIterResultObject = __webpack_require__(/*! ../internals/create-iter-result-object */ 25587);
    var InternalStateModule = __webpack_require__(/*! ../internals/internal-state */ 94844);
    
    var SEEDED_RANDOM = 'Seeded Random';
    var SEEDED_RANDOM_GENERATOR = SEEDED_RANDOM + ' Generator';
    var SEED_TYPE_ERROR = 'Math.seededPRNG() argument should have a "seed" field with a finite value.';
    var setInternalState = InternalStateModule.set;
    var getInternalState = InternalStateModule.getterFor(SEEDED_RANDOM_GENERATOR);
    var $TypeError = TypeError;
    
    var $SeededRandomGenerator = createIteratorConstructor(function SeededRandomGenerator(seed) {
      setInternalState(this, {
        type: SEEDED_RANDOM_GENERATOR,
        seed: seed % 2147483647
      });
    }, SEEDED_RANDOM, function next() {
      var state = getInternalState(this);
      var seed = state.seed = (state.seed * 1103515245 + 12345) % 2147483647;
      return createIterResultObject((seed & 1073741823) / 1073741823, false);
    });
    
    // `Math.seededPRNG` method
    // https://github.com/tc39/proposal-seeded-random
    // based on https://github.com/tc39/proposal-seeded-random/blob/78b8258835b57fc2100d076151ab506bc3202ae6/demo.html
    $({ target: 'Math', stat: true, forced: true }, {
      seededPRNG: function seededPRNG(it) {
        var seed = anObject(it).seed;
        if (!numberIsFinite(seed)) throw new $TypeError(SEED_TYPE_ERROR);
        return new $SeededRandomGenerator(seed);
      }
    });
    
    
    /***/ }),
    
    /***/ 83733:
    /*!*****************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.math.signbit.js ***!
      \*****************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    
    // `Math.signbit` method
    // https://github.com/tc39/proposal-Math.signbit
    $({ target: 'Math', stat: true, forced: true }, {
      signbit: function signbit(x) {
        var n = +x;
        // eslint-disable-next-line no-self-compare -- NaN check
        return n === n && n === 0 ? 1 / n === -Infinity : n < 0;
      }
    });
    
    
    /***/ }),
    
    /***/ 92044:
    /*!***************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.math.umulh.js ***!
      \***************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    
    // `Math.umulh` method
    // https://gist.github.com/BrendanEich/4294d5c212a6d2254703
    // TODO: Remove from `core-js@4`
    $({ target: 'Math', stat: true, forced: true }, {
      umulh: function umulh(u, v) {
        var UINT16 = 0xFFFF;
        var $u = +u;
        var $v = +v;
        var u0 = $u & UINT16;
        var v0 = $v & UINT16;
        var u1 = $u >>> 16;
        var v1 = $v >>> 16;
        var t = (u1 * v0 >>> 0) + (u0 * v0 >>> 16);
        return u1 * v1 + (t >>> 16) + ((u0 * v1 >>> 0) + (t & UINT16) >>> 16);
      }
    });
    
    
    /***/ }),
    
    /***/ 29190:
    /*!***********************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.number.from-string.js ***!
      \***********************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ 94237);
    var toIntegerOrInfinity = __webpack_require__(/*! ../internals/to-integer-or-infinity */ 56902);
    
    var INVALID_NUMBER_REPRESENTATION = 'Invalid number representation';
    var INVALID_RADIX = 'Invalid radix';
    var $RangeError = RangeError;
    var $SyntaxError = SyntaxError;
    var $TypeError = TypeError;
    var $parseInt = parseInt;
    var pow = Math.pow;
    var valid = /^[\d.a-z]+$/;
    var charAt = uncurryThis(''.charAt);
    var exec = uncurryThis(valid.exec);
    var numberToString = uncurryThis(1.0.toString);
    var stringSlice = uncurryThis(''.slice);
    var split = uncurryThis(''.split);
    
    // `Number.fromString` method
    // https://github.com/tc39/proposal-number-fromstring
    $({ target: 'Number', stat: true, forced: true }, {
      fromString: function fromString(string, radix) {
        var sign = 1;
        if (typeof string != 'string') throw new $TypeError(INVALID_NUMBER_REPRESENTATION);
        if (!string.length) throw new $SyntaxError(INVALID_NUMBER_REPRESENTATION);
        if (charAt(string, 0) === '-') {
          sign = -1;
          string = stringSlice(string, 1);
          if (!string.length) throw new $SyntaxError(INVALID_NUMBER_REPRESENTATION);
        }
        var R = radix === undefined ? 10 : toIntegerOrInfinity(radix);
        if (R < 2 || R > 36) throw new $RangeError(INVALID_RADIX);
        if (!exec(valid, string)) throw new $SyntaxError(INVALID_NUMBER_REPRESENTATION);
        var parts = split(string, '.');
        var mathNum = $parseInt(parts[0], R);
        if (parts.length > 1) mathNum += $parseInt(parts[1], R) / pow(R, parts[1].length);
        if (R === 10 && numberToString(mathNum, R) !== string) throw new $SyntaxError(INVALID_NUMBER_REPRESENTATION);
        return sign * mathNum;
      }
    });
    
    
    /***/ }),
    
    /***/ 10775:
    /*!*****************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.number.range.js ***!
      \*****************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var NumericRangeIterator = __webpack_require__(/*! ../internals/numeric-range-iterator */ 17243);
    
    // `Number.range` method
    // https://github.com/tc39/proposal-Number.range
    // TODO: Remove from `core-js@4`
    $({ target: 'Number', stat: true, forced: true }, {
      range: function range(start, end, option) {
        return new NumericRangeIterator(start, end, option, 'number', 0, 1);
      }
    });
    
    
    /***/ }),
    
    /***/ 19593:
    /*!***************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.object.iterate-entries.js ***!
      \***************************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    // TODO: Remove from `core-js@4`
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var ObjectIterator = __webpack_require__(/*! ../internals/object-iterator */ 20574);
    
    // `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');
      }
    });
    
    
    /***/ }),
    
    /***/ 26502:
    /*!************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.object.iterate-keys.js ***!
      \************************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    // TODO: Remove from `core-js@4`
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var ObjectIterator = __webpack_require__(/*! ../internals/object-iterator */ 20574);
    
    // `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');
      }
    });
    
    
    /***/ }),
    
    /***/ 10174:
    /*!**************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.object.iterate-values.js ***!
      \**************************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    // TODO: Remove from `core-js@4`
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var ObjectIterator = __webpack_require__(/*! ../internals/object-iterator */ 20574);
    
    // `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');
      }
    });
    
    
    /***/ }),
    
    /***/ 76867:
    /*!***************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.observable.constructor.js ***!
      \***************************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    // https://github.com/tc39/proposal-observable
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var call = __webpack_require__(/*! ../internals/function-call */ 89945);
    var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ 35454);
    var setSpecies = __webpack_require__(/*! ../internals/set-species */ 51996);
    var aCallable = __webpack_require__(/*! ../internals/a-callable */ 63335);
    var anObject = __webpack_require__(/*! ../internals/an-object */ 80449);
    var anInstance = __webpack_require__(/*! ../internals/an-instance */ 56472);
    var isCallable = __webpack_require__(/*! ../internals/is-callable */ 55327);
    var isNullOrUndefined = __webpack_require__(/*! ../internals/is-null-or-undefined */ 4112);
    var isObject = __webpack_require__(/*! ../internals/is-object */ 31946);
    var getMethod = __webpack_require__(/*! ../internals/get-method */ 53776);
    var defineBuiltIn = __webpack_require__(/*! ../internals/define-built-in */ 2291);
    var defineBuiltIns = __webpack_require__(/*! ../internals/define-built-ins */ 66477);
    var defineBuiltInAccessor = __webpack_require__(/*! ../internals/define-built-in-accessor */ 64110);
    var hostReportErrors = __webpack_require__(/*! ../internals/host-report-errors */ 61810);
    var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ 59893);
    var InternalStateModule = __webpack_require__(/*! ../internals/internal-state */ 94844);
    
    var $$OBSERVABLE = wellKnownSymbol('observable');
    var OBSERVABLE = 'Observable';
    var SUBSCRIPTION = 'Subscription';
    var SUBSCRIPTION_OBSERVER = 'SubscriptionObserver';
    var getterFor = InternalStateModule.getterFor;
    var setInternalState = InternalStateModule.set;
    var getObservableInternalState = getterFor(OBSERVABLE);
    var getSubscriptionInternalState = getterFor(SUBSCRIPTION);
    var getSubscriptionObserverInternalState = getterFor(SUBSCRIPTION_OBSERVER);
    
    var SubscriptionState = function (observer) {
      this.observer = anObject(observer);
      this.cleanup = undefined;
      this.subscriptionObserver = undefined;
    };
    
    SubscriptionState.prototype = {
      type: SUBSCRIPTION,
      clean: function () {
        var cleanup = this.cleanup;
        if (cleanup) {
          this.cleanup = undefined;
          try {
            cleanup();
          } catch (error) {
            hostReportErrors(error);
          }
        }
      },
      close: function () {
        if (!DESCRIPTORS) {
          var subscription = this.facade;
          var subscriptionObserver = this.subscriptionObserver;
          subscription.closed = true;
          if (subscriptionObserver) subscriptionObserver.closed = true;
        } this.observer = undefined;
      },
      isClosed: function () {
        return this.observer === undefined;
      }
    };
    
    var Subscription = function (observer, subscriber) {
      var subscriptionState = setInternalState(this, new SubscriptionState(observer));
      var start;
      if (!DESCRIPTORS) this.closed = false;
      try {
        if (start = getMethod(observer, 'start')) call(start, observer, this);
      } catch (error) {
        hostReportErrors(error);
      }
      if (subscriptionState.isClosed()) return;
      var subscriptionObserver = subscriptionState.subscriptionObserver = new SubscriptionObserver(subscriptionState);
      try {
        var cleanup = subscriber(subscriptionObserver);
        var subscription = cleanup;
        if (!isNullOrUndefined(cleanup)) subscriptionState.cleanup = isCallable(cleanup.unsubscribe)
          ? function () { subscription.unsubscribe(); }
          : aCallable(cleanup);
      } catch (error) {
        subscriptionObserver.error(error);
        return;
      } if (subscriptionState.isClosed()) subscriptionState.clean();
    };
    
    Subscription.prototype = defineBuiltIns({}, {
      unsubscribe: function unsubscribe() {
        var subscriptionState = getSubscriptionInternalState(this);
        if (!subscriptionState.isClosed()) {
          subscriptionState.close();
          subscriptionState.clean();
        }
      }
    });
    
    if (DESCRIPTORS) defineBuiltInAccessor(Subscription.prototype, 'closed', {
      configurable: true,
      get: function closed() {
        return getSubscriptionInternalState(this).isClosed();
      }
    });
    
    var SubscriptionObserver = function (subscriptionState) {
      setInternalState(this, {
        type: SUBSCRIPTION_OBSERVER,
        subscriptionState: subscriptionState
      });
      if (!DESCRIPTORS) this.closed = false;
    };
    
    SubscriptionObserver.prototype = defineBuiltIns({}, {
      next: function next(value) {
        var subscriptionState = getSubscriptionObserverInternalState(this).subscriptionState;
        if (!subscriptionState.isClosed()) {
          var observer = subscriptionState.observer;
          try {
            var nextMethod = getMethod(observer, 'next');
            if (nextMethod) call(nextMethod, observer, value);
          } catch (error) {
            hostReportErrors(error);
          }
        }
      },
      error: function error(value) {
        var subscriptionState = getSubscriptionObserverInternalState(this).subscriptionState;
        if (!subscriptionState.isClosed()) {
          var observer = subscriptionState.observer;
          subscriptionState.close();
          try {
            var errorMethod = getMethod(observer, 'error');
            if (errorMethod) call(errorMethod, observer, value);
            else hostReportErrors(value);
          } catch (err) {
            hostReportErrors(err);
          } subscriptionState.clean();
        }
      },
      complete: function complete() {
        var subscriptionState = getSubscriptionObserverInternalState(this).subscriptionState;
        if (!subscriptionState.isClosed()) {
          var observer = subscriptionState.observer;
          subscriptionState.close();
          try {
            var completeMethod = getMethod(observer, 'complete');
            if (completeMethod) call(completeMethod, observer);
          } catch (error) {
            hostReportErrors(error);
          } subscriptionState.clean();
        }
      }
    });
    
    if (DESCRIPTORS) defineBuiltInAccessor(SubscriptionObserver.prototype, 'closed', {
      configurable: true,
      get: function closed() {
        return getSubscriptionObserverInternalState(this).subscriptionState.isClosed();
      }
    });
    
    var $Observable = function Observable(subscriber) {
      anInstance(this, ObservablePrototype);
      setInternalState(this, {
        type: OBSERVABLE,
        subscriber: aCallable(subscriber)
      });
    };
    
    var ObservablePrototype = $Observable.prototype;
    
    defineBuiltIns(ObservablePrototype, {
      subscribe: function subscribe(observer) {
        var length = arguments.length;
        return new Subscription(isCallable(observer) ? {
          next: observer,
          error: length > 1 ? arguments[1] : undefined,
          complete: length > 2 ? arguments[2] : undefined
        } : isObject(observer) ? observer : {}, getObservableInternalState(this).subscriber);
      }
    });
    
    defineBuiltIn(ObservablePrototype, $$OBSERVABLE, function () { return this; });
    
    $({ global: true, constructor: true, forced: true }, {
      Observable: $Observable
    });
    
    setSpecies(OBSERVABLE);
    
    
    /***/ }),
    
    /***/ 14548:
    /*!********************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.observable.from.js ***!
      \********************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ 65911);
    var call = __webpack_require__(/*! ../internals/function-call */ 89945);
    var anObject = __webpack_require__(/*! ../internals/an-object */ 80449);
    var isConstructor = __webpack_require__(/*! ../internals/is-constructor */ 39812);
    var getIterator = __webpack_require__(/*! ../internals/get-iterator */ 85428);
    var getMethod = __webpack_require__(/*! ../internals/get-method */ 53776);
    var iterate = __webpack_require__(/*! ../internals/iterate */ 62003);
    var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ 59893);
    
    var $$OBSERVABLE = wellKnownSymbol('observable');
    
    // `Observable.from` method
    // https://github.com/tc39/proposal-observable
    $({ target: 'Observable', stat: true, forced: true }, {
      from: function from(x) {
        var C = isConstructor(this) ? this : getBuiltIn('Observable');
        var observableMethod = getMethod(anObject(x), $$OBSERVABLE);
        if (observableMethod) {
          var observable = anObject(call(observableMethod, x));
          return observable.constructor === C ? observable : new C(function (observer) {
            return observable.subscribe(observer);
          });
        }
        var iterator = getIterator(x);
        return new C(function (observer) {
          iterate(iterator, function (it, stop) {
            observer.next(it);
            if (observer.closed) return stop();
          }, { IS_ITERATOR: true, INTERRUPTED: true });
          observer.complete();
        });
      }
    });
    
    
    /***/ }),
    
    /***/ 96378:
    /*!***************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.observable.js ***!
      \***************************************************************************/
    /***/ (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__(/*! ../modules/esnext.observable.constructor */ 76867);
    __webpack_require__(/*! ../modules/esnext.observable.from */ 14548);
    __webpack_require__(/*! ../modules/esnext.observable.of */ 6053);
    
    
    /***/ }),
    
    /***/ 6053:
    /*!******************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.observable.of.js ***!
      \******************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ 65911);
    var isConstructor = __webpack_require__(/*! ../internals/is-constructor */ 39812);
    
    var Array = getBuiltIn('Array');
    
    // `Observable.of` method
    // https://github.com/tc39/proposal-observable
    $({ target: 'Observable', stat: true, forced: true }, {
      of: function of() {
        var C = isConstructor(this) ? this : getBuiltIn('Observable');
        var length = arguments.length;
        var items = Array(length);
        var index = 0;
        while (index < length) items[index] = arguments[index++];
        return new C(function (observer) {
          for (var i = 0; i < length; i++) {
            observer.next(items[i]);
            if (observer.closed) return;
          } observer.complete();
        });
      }
    });
    
    
    /***/ }),
    
    /***/ 58216:
    /*!****************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.promise.try.js ***!
      \****************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    // TODO: Remove from `core-js@4`
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var newPromiseCapabilityModule = __webpack_require__(/*! ../internals/new-promise-capability */ 73446);
    var perform = __webpack_require__(/*! ../internals/perform */ 80734);
    
    // `Promise.try` method
    // https://github.com/tc39/proposal-promise-try
    $({ target: 'Promise', stat: true, forced: true }, {
      'try': function (callbackfn) {
        var promiseCapability = newPromiseCapabilityModule.f(this);
        var result = perform(callbackfn);
        (result.error ? promiseCapability.reject : promiseCapability.resolve)(result.value);
        return promiseCapability.promise;
      }
    });
    
    
    /***/ }),
    
    /***/ 41401:
    /*!****************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.reflect.define-metadata.js ***!
      \****************************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    // TODO: Remove from `core-js@4`
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var ReflectMetadataModule = __webpack_require__(/*! ../internals/reflect-metadata */ 82584);
    var anObject = __webpack_require__(/*! ../internals/an-object */ 80449);
    
    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);
      }
    });
    
    
    /***/ }),
    
    /***/ 79908:
    /*!****************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.reflect.delete-metadata.js ***!
      \****************************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var ReflectMetadataModule = __webpack_require__(/*! ../internals/reflect-metadata */ 82584);
    var anObject = __webpack_require__(/*! ../internals/an-object */ 80449);
    
    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);
      }
    });
    
    
    /***/ }),
    
    /***/ 79890:
    /*!******************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.reflect.get-metadata-keys.js ***!
      \******************************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    // TODO: Remove from `core-js@4`
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ 94237);
    var ReflectMetadataModule = __webpack_require__(/*! ../internals/reflect-metadata */ 82584);
    var anObject = __webpack_require__(/*! ../internals/an-object */ 80449);
    var getPrototypeOf = __webpack_require__(/*! ../internals/object-get-prototype-of */ 53456);
    var $arrayUniqueBy = __webpack_require__(/*! ../internals/array-unique-by */ 65621);
    
    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);
      }
    });
    
    
    /***/ }),
    
    /***/ 82531:
    /*!*************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.reflect.get-metadata.js ***!
      \*************************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    // TODO: Remove from `core-js@4`
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var ReflectMetadataModule = __webpack_require__(/*! ../internals/reflect-metadata */ 82584);
    var anObject = __webpack_require__(/*! ../internals/an-object */ 80449);
    var getPrototypeOf = __webpack_require__(/*! ../internals/object-get-prototype-of */ 53456);
    
    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);
      }
    });
    
    
    /***/ }),
    
    /***/ 38944:
    /*!**********************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.reflect.get-own-metadata-keys.js ***!
      \**********************************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    // TODO: Remove from `core-js@4`
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var ReflectMetadataModule = __webpack_require__(/*! ../internals/reflect-metadata */ 82584);
    var anObject = __webpack_require__(/*! ../internals/an-object */ 80449);
    
    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);
      }
    });
    
    
    /***/ }),
    
    /***/ 88472:
    /*!*****************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.reflect.get-own-metadata.js ***!
      \*****************************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    // TODO: Remove from `core-js@4`
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var ReflectMetadataModule = __webpack_require__(/*! ../internals/reflect-metadata */ 82584);
    var anObject = __webpack_require__(/*! ../internals/an-object */ 80449);
    
    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);
      }
    });
    
    
    /***/ }),
    
    /***/ 78423:
    /*!*************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.reflect.has-metadata.js ***!
      \*************************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    // TODO: Remove from `core-js@4`
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var ReflectMetadataModule = __webpack_require__(/*! ../internals/reflect-metadata */ 82584);
    var anObject = __webpack_require__(/*! ../internals/an-object */ 80449);
    var getPrototypeOf = __webpack_require__(/*! ../internals/object-get-prototype-of */ 53456);
    
    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);
      }
    });
    
    
    /***/ }),
    
    /***/ 65713:
    /*!*****************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.reflect.has-own-metadata.js ***!
      \*****************************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    // TODO: Remove from `core-js@4`
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var ReflectMetadataModule = __webpack_require__(/*! ../internals/reflect-metadata */ 82584);
    var anObject = __webpack_require__(/*! ../internals/an-object */ 80449);
    
    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);
      }
    });
    
    
    /***/ }),
    
    /***/ 22968:
    /*!*********************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.reflect.metadata.js ***!
      \*********************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var ReflectMetadataModule = __webpack_require__(/*! ../internals/reflect-metadata */ 82584);
    var anObject = __webpack_require__(/*! ../internals/an-object */ 80449);
    
    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));
        };
      }
    });
    
    
    /***/ }),
    
    /***/ 17564:
    /*!******************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.regexp.escape.js ***!
      \******************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ 94237);
    var toString = __webpack_require__(/*! ../internals/to-string */ 69905);
    var WHITESPACES = __webpack_require__(/*! ../internals/whitespaces */ 19268);
    
    var charCodeAt = uncurryThis(''.charCodeAt);
    var replace = uncurryThis(''.replace);
    var NEED_ESCAPING = RegExp('[!"#$%&\'()*+,\\-./:;<=>?@[\\\\\\]^`{|}~' + WHITESPACES + ']', 'g');
    
    // `RegExp.escape` method
    // https://github.com/tc39/proposal-regex-escaping
    $({ target: 'RegExp', stat: true, forced: true }, {
      escape: function escape(S) {
        var str = toString(S);
        var firstCode = charCodeAt(str, 0);
        // escape first DecimalDigit
        return (firstCode > 47 && firstCode < 58 ? '\\x3' : '') + replace(str, NEED_ESCAPING, '\\$&');
      }
    });
    
    
    /***/ }),
    
    /***/ 1220:
    /*!****************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.set.add-all.js ***!
      \****************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var aSet = __webpack_require__(/*! ../internals/a-set */ 17442);
    var add = (__webpack_require__(/*! ../internals/set-helpers */ 19691).add);
    
    // `Set.prototype.addAll` method
    // https://github.com/tc39/proposal-collection-methods
    $({ target: 'Set', proto: true, real: true, forced: true }, {
      addAll: function addAll(/* ...elements */) {
        var set = aSet(this);
        for (var k = 0, len = arguments.length; k < len; k++) {
          add(set, arguments[k]);
        } return set;
      }
    });
    
    
    /***/ }),
    
    /***/ 44886:
    /*!*******************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.set.delete-all.js ***!
      \*******************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var aSet = __webpack_require__(/*! ../internals/a-set */ 17442);
    var remove = (__webpack_require__(/*! ../internals/set-helpers */ 19691).remove);
    
    // `Set.prototype.deleteAll` method
    // https://github.com/tc39/proposal-collection-methods
    $({ target: 'Set', proto: true, real: true, forced: true }, {
      deleteAll: function deleteAll(/* ...elements */) {
        var collection = aSet(this);
        var allDeleted = true;
        var wasDeleted;
        for (var k = 0, len = arguments.length; k < len; k++) {
          wasDeleted = remove(collection, arguments[k]);
          allDeleted = allDeleted && wasDeleted;
        } return !!allDeleted;
      }
    });
    
    
    /***/ }),
    
    /***/ 35295:
    /*!*******************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.set.difference.js ***!
      \*******************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var call = __webpack_require__(/*! ../internals/function-call */ 89945);
    var toSetLike = __webpack_require__(/*! ../internals/to-set-like */ 77999);
    var $difference = __webpack_require__(/*! ../internals/set-difference */ 10038);
    
    // `Set.prototype.difference` method
    // https://github.com/tc39/proposal-set-methods
    // TODO: Obsolete version, remove from `core-js@4`
    $({ target: 'Set', proto: true, real: true, forced: true }, {
      difference: function difference(other) {
        return call($difference, this, toSetLike(other));
      }
    });
    
    
    /***/ }),
    
    /***/ 57019:
    /*!**********************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.set.difference.v2.js ***!
      \**********************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var difference = __webpack_require__(/*! ../internals/set-difference */ 10038);
    var setMethodAcceptSetLike = __webpack_require__(/*! ../internals/set-method-accept-set-like */ 22627);
    
    // `Set.prototype.difference` method
    // https://github.com/tc39/proposal-set-methods
    $({ target: 'Set', proto: true, real: true, forced: !setMethodAcceptSetLike('difference') }, {
      difference: difference
    });
    
    
    /***/ }),
    
    /***/ 80286:
    /*!**************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.set.every.js ***!
      \**************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var bind = __webpack_require__(/*! ../internals/function-bind-context */ 80666);
    var aSet = __webpack_require__(/*! ../internals/a-set */ 17442);
    var iterate = __webpack_require__(/*! ../internals/set-iterate */ 57002);
    
    // `Set.prototype.every` method
    // https://github.com/tc39/proposal-collection-methods
    $({ target: 'Set', proto: true, real: true, forced: true }, {
      every: function every(callbackfn /* , thisArg */) {
        var set = aSet(this);
        var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined);
        return iterate(set, function (value) {
          if (!boundFunction(value, value, set)) return false;
        }, true) !== false;
      }
    });
    
    
    /***/ }),
    
    /***/ 38487:
    /*!***************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.set.filter.js ***!
      \***************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var bind = __webpack_require__(/*! ../internals/function-bind-context */ 80666);
    var aSet = __webpack_require__(/*! ../internals/a-set */ 17442);
    var SetHelpers = __webpack_require__(/*! ../internals/set-helpers */ 19691);
    var iterate = __webpack_require__(/*! ../internals/set-iterate */ 57002);
    
    var Set = SetHelpers.Set;
    var add = SetHelpers.add;
    
    // `Set.prototype.filter` method
    // https://github.com/tc39/proposal-collection-methods
    $({ target: 'Set', proto: true, real: true, forced: true }, {
      filter: function filter(callbackfn /* , thisArg */) {
        var set = aSet(this);
        var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined);
        var newSet = new Set();
        iterate(set, function (value) {
          if (boundFunction(value, value, set)) add(newSet, value);
        });
        return newSet;
      }
    });
    
    
    /***/ }),
    
    /***/ 29916:
    /*!*************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.set.find.js ***!
      \*************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var bind = __webpack_require__(/*! ../internals/function-bind-context */ 80666);
    var aSet = __webpack_require__(/*! ../internals/a-set */ 17442);
    var iterate = __webpack_require__(/*! ../internals/set-iterate */ 57002);
    
    // `Set.prototype.find` method
    // https://github.com/tc39/proposal-collection-methods
    $({ target: 'Set', proto: true, real: true, forced: true }, {
      find: function find(callbackfn /* , thisArg */) {
        var set = aSet(this);
        var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined);
        var result = iterate(set, function (value) {
          if (boundFunction(value, value, set)) return { value: value };
        }, true);
        return result && result.value;
      }
    });
    
    
    /***/ }),
    
    /***/ 25541:
    /*!*************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.set.from.js ***!
      \*************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var from = __webpack_require__(/*! ../internals/collection-from */ 72846);
    
    // `Set.from` method
    // https://tc39.github.io/proposal-setmap-offrom/#sec-set.from
    $({ target: 'Set', stat: true, forced: true }, {
      from: from
    });
    
    
    /***/ }),
    
    /***/ 34926:
    /*!*********************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.set.intersection.js ***!
      \*********************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var call = __webpack_require__(/*! ../internals/function-call */ 89945);
    var toSetLike = __webpack_require__(/*! ../internals/to-set-like */ 77999);
    var $intersection = __webpack_require__(/*! ../internals/set-intersection */ 16049);
    
    // `Set.prototype.intersection` method
    // https://github.com/tc39/proposal-set-methods
    // TODO: Obsolete version, remove from `core-js@4`
    $({ target: 'Set', proto: true, real: true, forced: true }, {
      intersection: function intersection(other) {
        return call($intersection, this, toSetLike(other));
      }
    });
    
    
    /***/ }),
    
    /***/ 45612:
    /*!************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.set.intersection.v2.js ***!
      \************************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var fails = __webpack_require__(/*! ../internals/fails */ 3338);
    var intersection = __webpack_require__(/*! ../internals/set-intersection */ 16049);
    var setMethodAcceptSetLike = __webpack_require__(/*! ../internals/set-method-accept-set-like */ 22627);
    
    var INCORRECT = !setMethodAcceptSetLike('intersection') || fails(function () {
      // eslint-disable-next-line es/no-array-from, es/no-set -- testing
      return Array.from(new Set([1, 2, 3]).intersection(new Set([3, 2]))) !== '3,2';
    });
    
    // `Set.prototype.intersection` method
    // https://github.com/tc39/proposal-set-methods
    $({ target: 'Set', proto: true, real: true, forced: INCORRECT }, {
      intersection: intersection
    });
    
    
    /***/ }),
    
    /***/ 68255:
    /*!*************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.set.is-disjoint-from.js ***!
      \*************************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var call = __webpack_require__(/*! ../internals/function-call */ 89945);
    var toSetLike = __webpack_require__(/*! ../internals/to-set-like */ 77999);
    var $isDisjointFrom = __webpack_require__(/*! ../internals/set-is-disjoint-from */ 17616);
    
    // `Set.prototype.isDisjointFrom` method
    // https://github.com/tc39/proposal-set-methods
    // TODO: Obsolete version, remove from `core-js@4`
    $({ target: 'Set', proto: true, real: true, forced: true }, {
      isDisjointFrom: function isDisjointFrom(other) {
        return call($isDisjointFrom, this, toSetLike(other));
      }
    });
    
    
    /***/ }),
    
    /***/ 98080:
    /*!****************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.set.is-disjoint-from.v2.js ***!
      \****************************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var isDisjointFrom = __webpack_require__(/*! ../internals/set-is-disjoint-from */ 17616);
    var setMethodAcceptSetLike = __webpack_require__(/*! ../internals/set-method-accept-set-like */ 22627);
    
    // `Set.prototype.isDisjointFrom` method
    // https://github.com/tc39/proposal-set-methods
    $({ target: 'Set', proto: true, real: true, forced: !setMethodAcceptSetLike('isDisjointFrom') }, {
      isDisjointFrom: isDisjointFrom
    });
    
    
    /***/ }),
    
    /***/ 16450:
    /*!*********************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.set.is-subset-of.js ***!
      \*********************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var call = __webpack_require__(/*! ../internals/function-call */ 89945);
    var toSetLike = __webpack_require__(/*! ../internals/to-set-like */ 77999);
    var $isSubsetOf = __webpack_require__(/*! ../internals/set-is-subset-of */ 84833);
    
    // `Set.prototype.isSubsetOf` method
    // https://github.com/tc39/proposal-set-methods
    // TODO: Obsolete version, remove from `core-js@4`
    $({ target: 'Set', proto: true, real: true, forced: true }, {
      isSubsetOf: function isSubsetOf(other) {
        return call($isSubsetOf, this, toSetLike(other));
      }
    });
    
    
    /***/ }),
    
    /***/ 96351:
    /*!************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.set.is-subset-of.v2.js ***!
      \************************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var isSubsetOf = __webpack_require__(/*! ../internals/set-is-subset-of */ 84833);
    var setMethodAcceptSetLike = __webpack_require__(/*! ../internals/set-method-accept-set-like */ 22627);
    
    // `Set.prototype.isSubsetOf` method
    // https://github.com/tc39/proposal-set-methods
    $({ target: 'Set', proto: true, real: true, forced: !setMethodAcceptSetLike('isSubsetOf') }, {
      isSubsetOf: isSubsetOf
    });
    
    
    /***/ }),
    
    /***/ 86921:
    /*!***********************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.set.is-superset-of.js ***!
      \***********************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var call = __webpack_require__(/*! ../internals/function-call */ 89945);
    var toSetLike = __webpack_require__(/*! ../internals/to-set-like */ 77999);
    var $isSupersetOf = __webpack_require__(/*! ../internals/set-is-superset-of */ 51135);
    
    // `Set.prototype.isSupersetOf` method
    // https://github.com/tc39/proposal-set-methods
    // TODO: Obsolete version, remove from `core-js@4`
    $({ target: 'Set', proto: true, real: true, forced: true }, {
      isSupersetOf: function isSupersetOf(other) {
        return call($isSupersetOf, this, toSetLike(other));
      }
    });
    
    
    /***/ }),
    
    /***/ 60244:
    /*!**************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.set.is-superset-of.v2.js ***!
      \**************************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var isSupersetOf = __webpack_require__(/*! ../internals/set-is-superset-of */ 51135);
    var setMethodAcceptSetLike = __webpack_require__(/*! ../internals/set-method-accept-set-like */ 22627);
    
    // `Set.prototype.isSupersetOf` method
    // https://github.com/tc39/proposal-set-methods
    $({ target: 'Set', proto: true, real: true, forced: !setMethodAcceptSetLike('isSupersetOf') }, {
      isSupersetOf: isSupersetOf
    });
    
    
    /***/ }),
    
    /***/ 82928:
    /*!*************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.set.join.js ***!
      \*************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ 94237);
    var aSet = __webpack_require__(/*! ../internals/a-set */ 17442);
    var iterate = __webpack_require__(/*! ../internals/set-iterate */ 57002);
    var toString = __webpack_require__(/*! ../internals/to-string */ 69905);
    
    var arrayJoin = uncurryThis([].join);
    var push = uncurryThis([].push);
    
    // `Set.prototype.join` method
    // https://github.com/tc39/proposal-collection-methods
    $({ target: 'Set', proto: true, real: true, forced: true }, {
      join: function join(separator) {
        var set = aSet(this);
        var sep = separator === undefined ? ',' : toString(separator);
        var array = [];
        iterate(set, function (value) {
          push(array, value);
        });
        return arrayJoin(array, sep);
      }
    });
    
    
    /***/ }),
    
    /***/ 42947:
    /*!************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.set.map.js ***!
      \************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var bind = __webpack_require__(/*! ../internals/function-bind-context */ 80666);
    var aSet = __webpack_require__(/*! ../internals/a-set */ 17442);
    var SetHelpers = __webpack_require__(/*! ../internals/set-helpers */ 19691);
    var iterate = __webpack_require__(/*! ../internals/set-iterate */ 57002);
    
    var Set = SetHelpers.Set;
    var add = SetHelpers.add;
    
    // `Set.prototype.map` method
    // https://github.com/tc39/proposal-collection-methods
    $({ target: 'Set', proto: true, real: true, forced: true }, {
      map: function map(callbackfn /* , thisArg */) {
        var set = aSet(this);
        var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined);
        var newSet = new Set();
        iterate(set, function (value) {
          add(newSet, boundFunction(value, value, set));
        });
        return newSet;
      }
    });
    
    
    /***/ }),
    
    /***/ 71568:
    /*!***********************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.set.of.js ***!
      \***********************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var of = __webpack_require__(/*! ../internals/collection-of */ 48800);
    
    // `Set.of` method
    // https://tc39.github.io/proposal-setmap-offrom/#sec-set.of
    $({ target: 'Set', stat: true, forced: true }, {
      of: of
    });
    
    
    /***/ }),
    
    /***/ 94194:
    /*!***************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.set.reduce.js ***!
      \***************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var aCallable = __webpack_require__(/*! ../internals/a-callable */ 63335);
    var aSet = __webpack_require__(/*! ../internals/a-set */ 17442);
    var iterate = __webpack_require__(/*! ../internals/set-iterate */ 57002);
    
    var $TypeError = TypeError;
    
    // `Set.prototype.reduce` method
    // https://github.com/tc39/proposal-collection-methods
    $({ target: 'Set', proto: true, real: true, forced: true }, {
      reduce: function reduce(callbackfn /* , initialValue */) {
        var set = aSet(this);
        var noInitial = arguments.length < 2;
        var accumulator = noInitial ? undefined : arguments[1];
        aCallable(callbackfn);
        iterate(set, function (value) {
          if (noInitial) {
            noInitial = false;
            accumulator = value;
          } else {
            accumulator = callbackfn(accumulator, value, value, set);
          }
        });
        if (noInitial) throw new $TypeError('Reduce of empty set with no initial value');
        return accumulator;
      }
    });
    
    
    /***/ }),
    
    /***/ 30556:
    /*!*************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.set.some.js ***!
      \*************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var bind = __webpack_require__(/*! ../internals/function-bind-context */ 80666);
    var aSet = __webpack_require__(/*! ../internals/a-set */ 17442);
    var iterate = __webpack_require__(/*! ../internals/set-iterate */ 57002);
    
    // `Set.prototype.some` method
    // https://github.com/tc39/proposal-collection-methods
    $({ target: 'Set', proto: true, real: true, forced: true }, {
      some: function some(callbackfn /* , thisArg */) {
        var set = aSet(this);
        var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined);
        return iterate(set, function (value) {
          if (boundFunction(value, value, set)) return true;
        }, true) === true;
      }
    });
    
    
    /***/ }),
    
    /***/ 93102:
    /*!*****************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.set.symmetric-difference.js ***!
      \*****************************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var call = __webpack_require__(/*! ../internals/function-call */ 89945);
    var toSetLike = __webpack_require__(/*! ../internals/to-set-like */ 77999);
    var $symmetricDifference = __webpack_require__(/*! ../internals/set-symmetric-difference */ 36312);
    
    // `Set.prototype.symmetricDifference` method
    // https://github.com/tc39/proposal-set-methods
    // TODO: Obsolete version, remove from `core-js@4`
    $({ target: 'Set', proto: true, real: true, forced: true }, {
      symmetricDifference: function symmetricDifference(other) {
        return call($symmetricDifference, this, toSetLike(other));
      }
    });
    
    
    /***/ }),
    
    /***/ 32100:
    /*!********************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.set.symmetric-difference.v2.js ***!
      \********************************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var symmetricDifference = __webpack_require__(/*! ../internals/set-symmetric-difference */ 36312);
    var setMethodAcceptSetLike = __webpack_require__(/*! ../internals/set-method-accept-set-like */ 22627);
    
    // `Set.prototype.symmetricDifference` method
    // https://github.com/tc39/proposal-set-methods
    $({ target: 'Set', proto: true, real: true, forced: !setMethodAcceptSetLike('symmetricDifference') }, {
      symmetricDifference: symmetricDifference
    });
    
    
    /***/ }),
    
    /***/ 82074:
    /*!**************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.set.union.js ***!
      \**************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var call = __webpack_require__(/*! ../internals/function-call */ 89945);
    var toSetLike = __webpack_require__(/*! ../internals/to-set-like */ 77999);
    var $union = __webpack_require__(/*! ../internals/set-union */ 24667);
    
    // `Set.prototype.union` method
    // https://github.com/tc39/proposal-set-methods
    // TODO: Obsolete version, remove from `core-js@4`
    $({ target: 'Set', proto: true, real: true, forced: true }, {
      union: function union(other) {
        return call($union, this, toSetLike(other));
      }
    });
    
    
    /***/ }),
    
    /***/ 1821:
    /*!*****************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.set.union.v2.js ***!
      \*****************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var union = __webpack_require__(/*! ../internals/set-union */ 24667);
    var setMethodAcceptSetLike = __webpack_require__(/*! ../internals/set-method-accept-set-like */ 22627);
    
    // `Set.prototype.union` method
    // https://github.com/tc39/proposal-set-methods
    $({ target: 'Set', proto: true, real: true, forced: !setMethodAcceptSetLike('union') }, {
      union: union
    });
    
    
    /***/ }),
    
    /***/ 13578:
    /*!**************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.string.at.js ***!
      \**************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    // TODO: Remove from `core-js@4`
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var charAt = (__webpack_require__(/*! ../internals/string-multibyte */ 13764).charAt);
    var requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ 95955);
    var toIntegerOrInfinity = __webpack_require__(/*! ../internals/to-integer-or-infinity */ 56902);
    var toString = __webpack_require__(/*! ../internals/to-string */ 69905);
    
    // `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);
      }
    });
    
    
    /***/ }),
    
    /***/ 62882:
    /*!***********************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.string.code-points.js ***!
      \***********************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var createIteratorConstructor = __webpack_require__(/*! ../internals/iterator-create-constructor */ 83126);
    var createIterResultObject = __webpack_require__(/*! ../internals/create-iter-result-object */ 25587);
    var requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ 95955);
    var toString = __webpack_require__(/*! ../internals/to-string */ 69905);
    var InternalStateModule = __webpack_require__(/*! ../internals/internal-state */ 94844);
    var StringMultibyteModule = __webpack_require__(/*! ../internals/string-multibyte */ 13764);
    
    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)));
      }
    });
    
    
    /***/ }),
    
    /***/ 59348:
    /*!******************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.string.cooked.js ***!
      \******************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var cooked = __webpack_require__(/*! ../internals/string-cooked */ 67410);
    
    // `String.cooked` method
    // https://github.com/tc39/proposal-string-cooked
    $({ target: 'String', stat: true, forced: true }, {
      cooked: cooked
    });
    
    
    /***/ }),
    
    /***/ 37457:
    /*!******************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.string.dedent.js ***!
      \******************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var FREEZING = __webpack_require__(/*! ../internals/freezing */ 13247);
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var makeBuiltIn = __webpack_require__(/*! ../internals/make-built-in */ 86528);
    var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ 94237);
    var apply = __webpack_require__(/*! ../internals/function-apply */ 13743);
    var anObject = __webpack_require__(/*! ../internals/an-object */ 80449);
    var toObject = __webpack_require__(/*! ../internals/to-object */ 94029);
    var isCallable = __webpack_require__(/*! ../internals/is-callable */ 55327);
    var lengthOfArrayLike = __webpack_require__(/*! ../internals/length-of-array-like */ 82762);
    var defineProperty = (__webpack_require__(/*! ../internals/object-define-property */ 37691).f);
    var createArrayFromList = __webpack_require__(/*! ../internals/array-slice-simple */ 71698);
    var WeakMapHelpers = __webpack_require__(/*! ../internals/weak-map-helpers */ 42530);
    var cooked = __webpack_require__(/*! ../internals/string-cooked */ 67410);
    var parse = __webpack_require__(/*! ../internals/string-parse */ 79204);
    var whitespaces = __webpack_require__(/*! ../internals/whitespaces */ 19268);
    
    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] = '';
        }
        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);
      }
    });
    
    
    /***/ }),
    
    /***/ 14800:
    /*!*********************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.suppressed-error.constructor.js ***!
      \*********************************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var isPrototypeOf = __webpack_require__(/*! ../internals/object-is-prototype-of */ 16332);
    var getPrototypeOf = __webpack_require__(/*! ../internals/object-get-prototype-of */ 53456);
    var setPrototypeOf = __webpack_require__(/*! ../internals/object-set-prototype-of */ 58218);
    var copyConstructorProperties = __webpack_require__(/*! ../internals/copy-constructor-properties */ 24538);
    var create = __webpack_require__(/*! ../internals/object-create */ 20132);
    var createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ 68151);
    var createPropertyDescriptor = __webpack_require__(/*! ../internals/create-property-descriptor */ 35012);
    var installErrorStack = __webpack_require__(/*! ../internals/error-stack-install */ 61888);
    var normalizeStringArgument = __webpack_require__(/*! ../internals/normalize-string-argument */ 7825);
    var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ 59893);
    
    var TO_STRING_TAG = wellKnownSymbol('toStringTag');
    var $Error = Error;
    
    var $SuppressedError = function SuppressedError(error, suppressed, message) {
      var isInstance = isPrototypeOf(SuppressedErrorPrototype, this);
      var that;
      if (setPrototypeOf) {
        that = setPrototypeOf(new $Error(), isInstance ? getPrototypeOf(this) : SuppressedErrorPrototype);
      } else {
        that = isInstance ? this : create(SuppressedErrorPrototype);
        createNonEnumerableProperty(that, TO_STRING_TAG, 'Error');
      }
      if (message !== undefined) createNonEnumerableProperty(that, 'message', normalizeStringArgument(message));
      installErrorStack(that, $SuppressedError, that.stack, 1);
      createNonEnumerableProperty(that, 'error', error);
      createNonEnumerableProperty(that, 'suppressed', suppressed);
      return that;
    };
    
    if (setPrototypeOf) setPrototypeOf($SuppressedError, $Error);
    else copyConstructorProperties($SuppressedError, $Error, { name: true });
    
    var SuppressedErrorPrototype = $SuppressedError.prototype = create($Error.prototype, {
      constructor: createPropertyDescriptor(1, $SuppressedError),
      message: createPropertyDescriptor(1, ''),
      name: createPropertyDescriptor(1, 'SuppressedError')
    });
    
    // `SuppressedError` constructor
    // https://github.com/tc39/proposal-explicit-resource-management
    $({ global: true, constructor: true, arity: 3 }, {
      SuppressedError: $SuppressedError
    });
    
    
    /***/ }),
    
    /***/ 70654:
    /*!*************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.symbol.async-dispose.js ***!
      \*************************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var global = __webpack_require__(/*! ../internals/global */ 92916);
    var defineWellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol-define */ 94674);
    var defineProperty = (__webpack_require__(/*! ../internals/object-define-property */ 37691).f);
    var getOwnPropertyDescriptor = (__webpack_require__(/*! ../internals/object-get-own-property-descriptor */ 71256).f);
    
    var Symbol = global.Symbol;
    
    // `Symbol.asyncDispose` well-known symbol
    // https://github.com/tc39/proposal-async-explicit-resource-management
    defineWellKnownSymbol('asyncDispose');
    
    if (Symbol) {
      var descriptor = getOwnPropertyDescriptor(Symbol, 'asyncDispose');
      // workaround of NodeJS 20.4 bug
      // https://github.com/nodejs/node/issues/48699
      // and incorrect descriptor from some transpilers and userland helpers
      if (descriptor.enumerable && descriptor.configurable && descriptor.writable) {
        defineProperty(Symbol, 'asyncDispose', { value: descriptor.value, enumerable: false, configurable: false, writable: false });
      }
    }
    
    
    /***/ }),
    
    /***/ 90252:
    /*!*******************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.symbol.dispose.js ***!
      \*******************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var global = __webpack_require__(/*! ../internals/global */ 92916);
    var defineWellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol-define */ 94674);
    var defineProperty = (__webpack_require__(/*! ../internals/object-define-property */ 37691).f);
    var getOwnPropertyDescriptor = (__webpack_require__(/*! ../internals/object-get-own-property-descriptor */ 71256).f);
    
    var Symbol = global.Symbol;
    
    // `Symbol.dispose` well-known symbol
    // https://github.com/tc39/proposal-explicit-resource-management
    defineWellKnownSymbol('dispose');
    
    if (Symbol) {
      var descriptor = getOwnPropertyDescriptor(Symbol, 'dispose');
      // workaround of NodeJS 20.4 bug
      // https://github.com/nodejs/node/issues/48699
      // and incorrect descriptor from some transpilers and userland helpers
      if (descriptor.enumerable && descriptor.configurable && descriptor.writable) {
        defineProperty(Symbol, 'dispose', { value: descriptor.value, enumerable: false, configurable: false, writable: false });
      }
    }
    
    
    /***/ }),
    
    /***/ 29482:
    /*!********************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.symbol.is-registered-symbol.js ***!
      \********************************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var isRegisteredSymbol = __webpack_require__(/*! ../internals/symbol-is-registered */ 69077);
    
    // `Symbol.isRegisteredSymbol` method
    // https://tc39.es/proposal-symbol-predicates/#sec-symbol-isregisteredsymbol
    $({ target: 'Symbol', stat: true }, {
      isRegisteredSymbol: isRegisteredSymbol
    });
    
    
    /***/ }),
    
    /***/ 51630:
    /*!*************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.symbol.is-registered.js ***!
      \*************************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var isRegisteredSymbol = __webpack_require__(/*! ../internals/symbol-is-registered */ 69077);
    
    // `Symbol.isRegistered` method
    // obsolete version of https://tc39.es/proposal-symbol-predicates/#sec-symbol-isregisteredsymbol
    $({ target: 'Symbol', stat: true, name: 'isRegisteredSymbol' }, {
      isRegistered: isRegisteredSymbol
    });
    
    
    /***/ }),
    
    /***/ 61933:
    /*!********************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.symbol.is-well-known-symbol.js ***!
      \********************************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var isWellKnownSymbol = __webpack_require__(/*! ../internals/symbol-is-well-known */ 40443);
    
    // `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
    });
    
    
    /***/ }),
    
    /***/ 619:
    /*!*************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.symbol.is-well-known.js ***!
      \*************************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var isWellKnownSymbol = __webpack_require__(/*! ../internals/symbol-is-well-known */ 40443);
    
    // `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
    });
    
    
    /***/ }),
    
    /***/ 99675:
    /*!*******************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.symbol.matcher.js ***!
      \*******************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var defineWellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol-define */ 94674);
    
    // `Symbol.matcher` well-known symbol
    // https://github.com/tc39/proposal-pattern-matching
    defineWellKnownSymbol('matcher');
    
    
    /***/ }),
    
    /***/ 53637:
    /*!************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.symbol.metadata-key.js ***!
      \************************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    // TODO: Remove from `core-js@4`
    var defineWellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol-define */ 94674);
    
    // `Symbol.metadataKey` well-known symbol
    // https://github.com/tc39/proposal-decorator-metadata
    defineWellKnownSymbol('metadataKey');
    
    
    /***/ }),
    
    /***/ 52548:
    /*!********************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.symbol.metadata.js ***!
      \********************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var defineWellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol-define */ 94674);
    
    // `Symbol.metadata` well-known symbol
    // https://github.com/tc39/proposal-decorators
    defineWellKnownSymbol('metadata');
    
    
    /***/ }),
    
    /***/ 57482:
    /*!**********************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.symbol.observable.js ***!
      \**********************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var defineWellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol-define */ 94674);
    
    // `Symbol.observable` well-known symbol
    // https://github.com/tc39/proposal-observable
    defineWellKnownSymbol('observable');
    
    
    /***/ }),
    
    /***/ 59725:
    /*!*************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.symbol.pattern-match.js ***!
      \*************************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    // TODO: remove from `core-js@4`
    var defineWellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol-define */ 94674);
    
    // `Symbol.patternMatch` well-known symbol
    // https://github.com/tc39/proposal-pattern-matching
    defineWellKnownSymbol('patternMatch');
    
    
    /***/ }),
    
    /***/ 17610:
    /*!***********************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.symbol.replace-all.js ***!
      \***********************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    // TODO: remove from `core-js@4`
    var defineWellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol-define */ 94674);
    
    defineWellKnownSymbol('replaceAll');
    
    
    /***/ }),
    
    /***/ 11507:
    /*!***************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.typed-array.filter-out.js ***!
      \***************************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    // TODO: Remove from `core-js@4`
    var ArrayBufferViewCore = __webpack_require__(/*! ../internals/array-buffer-view-core */ 58261);
    var $filterReject = (__webpack_require__(/*! ../internals/array-iteration */ 90560).filterReject);
    var fromSpeciesAndList = __webpack_require__(/*! ../internals/typed-array-from-species-and-list */ 27607);
    
    var aTypedArray = ArrayBufferViewCore.aTypedArray;
    var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;
    
    // `%TypedArray%.prototype.filterOut` method
    // https://github.com/tc39/proposal-array-filtering
    exportTypedArrayMethod('filterOut', function filterOut(callbackfn /* , thisArg */) {
      var list = $filterReject(aTypedArray(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined);
      return fromSpeciesAndList(this, list);
    }, true);
    
    
    /***/ }),
    
    /***/ 16315:
    /*!******************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.typed-array.filter-reject.js ***!
      \******************************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var ArrayBufferViewCore = __webpack_require__(/*! ../internals/array-buffer-view-core */ 58261);
    var $filterReject = (__webpack_require__(/*! ../internals/array-iteration */ 90560).filterReject);
    var fromSpeciesAndList = __webpack_require__(/*! ../internals/typed-array-from-species-and-list */ 27607);
    
    var aTypedArray = ArrayBufferViewCore.aTypedArray;
    var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;
    
    // `%TypedArray%.prototype.filterReject` method
    // https://github.com/tc39/proposal-array-filtering
    exportTypedArrayMethod('filterReject', function filterReject(callbackfn /* , thisArg */) {
      var list = $filterReject(aTypedArray(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined);
      return fromSpeciesAndList(this, list);
    }, true);
    
    
    /***/ }),
    
    /***/ 56966:
    /*!***************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.typed-array.from-async.js ***!
      \***************************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    // TODO: Remove from `core-js@4`
    var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ 65911);
    var aConstructor = __webpack_require__(/*! ../internals/a-constructor */ 6086);
    var arrayFromAsync = __webpack_require__(/*! ../internals/array-from-async */ 32278);
    var ArrayBufferViewCore = __webpack_require__(/*! ../internals/array-buffer-view-core */ 58261);
    var arrayFromConstructorAndList = __webpack_require__(/*! ../internals/array-from-constructor-and-list */ 69478);
    
    var aTypedArrayConstructor = ArrayBufferViewCore.aTypedArrayConstructor;
    var exportTypedArrayStaticMethod = ArrayBufferViewCore.exportTypedArrayStaticMethod;
    
    // `%TypedArray%.fromAsync` method
    // https://github.com/tc39/proposal-array-from-async
    exportTypedArrayStaticMethod('fromAsync', 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) {
        aConstructor(C);
        resolve(arrayFromAsync(asyncItems, mapfn, thisArg));
      }).then(function (list) {
        return arrayFromConstructorAndList(aTypedArrayConstructor(C), list);
      });
    }, true);
    
    
    /***/ }),
    
    /***/ 60239:
    /*!*************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.typed-array.group-by.js ***!
      \*************************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    // TODO: Remove from `core-js@4`
    var ArrayBufferViewCore = __webpack_require__(/*! ../internals/array-buffer-view-core */ 58261);
    var $group = __webpack_require__(/*! ../internals/array-group */ 36444);
    var typedArraySpeciesConstructor = __webpack_require__(/*! ../internals/typed-array-species-constructor */ 31384);
    
    var aTypedArray = ArrayBufferViewCore.aTypedArray;
    var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;
    
    // `%TypedArray%.prototype.groupBy` method
    // https://github.com/tc39/proposal-array-grouping
    exportTypedArrayMethod('groupBy', function groupBy(callbackfn /* , thisArg */) {
      var thisArg = arguments.length > 1 ? arguments[1] : undefined;
      return $group(aTypedArray(this), callbackfn, thisArg, typedArraySpeciesConstructor);
    }, true);
    
    
    /***/ }),
    
    /***/ 49381:
    /*!***************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.typed-array.to-spliced.js ***!
      \***************************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    // TODO: Remove from `core-js@4`
    var ArrayBufferViewCore = __webpack_require__(/*! ../internals/array-buffer-view-core */ 58261);
    var lengthOfArrayLike = __webpack_require__(/*! ../internals/length-of-array-like */ 82762);
    var isBigIntArray = __webpack_require__(/*! ../internals/is-big-int-array */ 75406);
    var toAbsoluteIndex = __webpack_require__(/*! ../internals/to-absolute-index */ 51981);
    var toBigInt = __webpack_require__(/*! ../internals/to-big-int */ 93303);
    var toIntegerOrInfinity = __webpack_require__(/*! ../internals/to-integer-or-infinity */ 56902);
    var fails = __webpack_require__(/*! ../internals/fails */ 3338);
    
    var aTypedArray = ArrayBufferViewCore.aTypedArray;
    var getTypedArrayConstructor = ArrayBufferViewCore.getTypedArrayConstructor;
    var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;
    var max = Math.max;
    var min = Math.min;
    
    // some early implementations, like WebKit, does not follow the final semantic
    var PROPER_ORDER = !fails(function () {
      // eslint-disable-next-line es/no-typed-arrays -- required for testing
      var array = new Int8Array([1]);
    
      var spliced = array.toSpliced(1, 0, {
        valueOf: function () {
          array[0] = 2;
          return 3;
        }
      });
    
      return spliced[0] !== 2 || spliced[1] !== 3;
    });
    
    // `%TypedArray%.prototype.toSpliced` method
    // https://tc39.es/proposal-change-array-by-copy/#sec-%typedarray%.prototype.toSpliced
    exportTypedArrayMethod('toSpliced', function toSpliced(start, deleteCount /* , ...items */) {
      var O = aTypedArray(this);
      var C = getTypedArrayConstructor(O);
      var len = lengthOfArrayLike(O);
      var actualStart = toAbsoluteIndex(start, len);
      var argumentsLength = arguments.length;
      var k = 0;
      var insertCount, actualDeleteCount, thisIsBigIntArray, convertedItems, value, newLen, A;
      if (argumentsLength === 0) {
        insertCount = actualDeleteCount = 0;
      } else if (argumentsLength === 1) {
        insertCount = 0;
        actualDeleteCount = len - actualStart;
      } else {
        actualDeleteCount = min(max(toIntegerOrInfinity(deleteCount), 0), len - actualStart);
        insertCount = argumentsLength - 2;
        if (insertCount) {
          convertedItems = new C(insertCount);
          thisIsBigIntArray = isBigIntArray(convertedItems);
          for (var i = 2; i < argumentsLength; i++) {
            value = arguments[i];
            // FF30- typed arrays doesn't properly convert objects to typed array values
            convertedItems[i - 2] = thisIsBigIntArray ? toBigInt(value) : +value;
          }
        }
      }
      newLen = len + insertCount - actualDeleteCount;
      A = new C(newLen);
    
      for (; k < actualStart; k++) A[k] = O[k];
      for (; k < actualStart + insertCount; k++) A[k] = convertedItems[k - actualStart];
      for (; k < newLen; k++) A[k] = O[k + actualDeleteCount - insertCount];
    
      return A;
    }, !PROPER_ORDER);
    
    
    /***/ }),
    
    /***/ 17230:
    /*!**************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.typed-array.unique-by.js ***!
      \**************************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ 94237);
    var ArrayBufferViewCore = __webpack_require__(/*! ../internals/array-buffer-view-core */ 58261);
    var arrayFromConstructorAndList = __webpack_require__(/*! ../internals/array-from-constructor-and-list */ 69478);
    var $arrayUniqueBy = __webpack_require__(/*! ../internals/array-unique-by */ 65621);
    
    var aTypedArray = ArrayBufferViewCore.aTypedArray;
    var getTypedArrayConstructor = ArrayBufferViewCore.getTypedArrayConstructor;
    var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;
    var arrayUniqueBy = uncurryThis($arrayUniqueBy);
    
    // `%TypedArray%.prototype.uniqueBy` method
    // https://github.com/tc39/proposal-array-unique
    exportTypedArrayMethod('uniqueBy', function uniqueBy(resolver) {
      aTypedArray(this);
      return arrayFromConstructorAndList(getTypedArrayConstructor(this), arrayUniqueBy(this, resolver));
    }, true);
    
    
    /***/ }),
    
    /***/ 62720:
    /*!****************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.uint8-array.from-base64.js ***!
      \****************************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var global = __webpack_require__(/*! ../internals/global */ 92916);
    var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ 94237);
    var anObjectOrUndefined = __webpack_require__(/*! ../internals/an-object-or-undefined */ 1674);
    var aString = __webpack_require__(/*! ../internals/a-string */ 79606);
    var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ 32621);
    var arrayFromConstructorAndList = __webpack_require__(/*! ../internals/array-from-constructor-and-list */ 69478);
    var base64Map = __webpack_require__(/*! ../internals/base64-map */ 66244);
    var getAlphabetOption = __webpack_require__(/*! ../internals/get-alphabet-option */ 81750);
    
    var base64Alphabet = base64Map.c2i;
    var base64UrlAlphabet = base64Map.c2iUrl;
    
    var Uint8Array = global.Uint8Array;
    var SyntaxError = global.SyntaxError;
    var charAt = uncurryThis(''.charAt);
    var replace = uncurryThis(''.replace);
    var stringSlice = uncurryThis(''.slice);
    var push = uncurryThis([].push);
    var SPACES = /[\t\n\f\r ]/g;
    var EXTRA_BITS = 'Extra bits';
    
    // `Uint8Array.fromBase64` method
    // https://github.com/tc39/proposal-arraybuffer-base64
    if (Uint8Array) $({ target: 'Uint8Array', stat: true, forced: true }, {
      fromBase64: function fromBase64(string /* , options */) {
        aString(string);
        var options = arguments.length > 1 ? anObjectOrUndefined(arguments[1]) : undefined;
        var alphabet = getAlphabetOption(options) === 'base64' ? base64Alphabet : base64UrlAlphabet;
        var strict = options ? !!options.strict : false;
    
        var input = strict ? string : replace(string, SPACES, '');
    
        if (input.length % 4 === 0) {
          if (stringSlice(input, -2) === '==') input = stringSlice(input, 0, -2);
          else if (stringSlice(input, -1) === '=') input = stringSlice(input, 0, -1);
        } else if (strict) throw new SyntaxError('Input is not correctly padded');
    
        var lastChunkSize = input.length % 4;
    
        switch (lastChunkSize) {
          case 1: throw new SyntaxError('Bad input length');
          case 2: input += 'AA'; break;
          case 3: input += 'A';
        }
    
        var bytes = [];
        var i = 0;
        var inputLength = input.length;
    
        var at = function (shift) {
          var chr = charAt(input, i + shift);
          if (!hasOwn(alphabet, chr)) throw new SyntaxError('Bad char in input: "' + chr + '"');
          return alphabet[chr] << (18 - 6 * shift);
        };
    
        for (; i < inputLength; i += 4) {
          var triplet = at(0) + at(1) + at(2) + at(3);
          push(bytes, (triplet >> 16) & 255, (triplet >> 8) & 255, triplet & 255);
        }
    
        var byteLength = bytes.length;
    
        if (lastChunkSize === 2) {
          if (strict && bytes[byteLength - 2] !== 0) throw new SyntaxError(EXTRA_BITS);
          byteLength -= 2;
        } else if (lastChunkSize === 3) {
          if (strict && bytes[byteLength - 1] !== 0) throw new SyntaxError(EXTRA_BITS);
          byteLength--;
        }
    
        return arrayFromConstructorAndList(Uint8Array, bytes, byteLength);
      }
    });
    
    
    /***/ }),
    
    /***/ 57151:
    /*!*************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.uint8-array.from-hex.js ***!
      \*************************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var global = __webpack_require__(/*! ../internals/global */ 92916);
    var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ 94237);
    var aString = __webpack_require__(/*! ../internals/a-string */ 79606);
    
    var Uint8Array = global.Uint8Array;
    var SyntaxError = global.SyntaxError;
    var parseInt = global.parseInt;
    var NOT_HEX = /[^\da-f]/i;
    var exec = uncurryThis(NOT_HEX.exec);
    var stringSlice = uncurryThis(''.slice);
    
    // `Uint8Array.fromHex` method
    // https://github.com/tc39/proposal-arraybuffer-base64
    if (Uint8Array) $({ target: 'Uint8Array', stat: true, forced: true }, {
      fromHex: function fromHex(string) {
        aString(string);
        var stringLength = string.length;
        if (stringLength % 2) throw new SyntaxError('String should have an even number of characters');
        if (exec(NOT_HEX, string)) throw new SyntaxError('String should only contain hex characters');
        var result = new Uint8Array(stringLength / 2);
        for (var i = 0; i < stringLength; i += 2) {
          result[i / 2] = parseInt(stringSlice(string, i, i + 2), 16);
        }
        return result;
      }
    });
    
    
    /***/ }),
    
    /***/ 48732:
    /*!**************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.uint8-array.to-base64.js ***!
      \**************************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var global = __webpack_require__(/*! ../internals/global */ 92916);
    var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ 94237);
    var anObjectOrUndefined = __webpack_require__(/*! ../internals/an-object-or-undefined */ 1674);
    var anUint8Array = __webpack_require__(/*! ../internals/an-uint8-array */ 27270);
    var base64Map = __webpack_require__(/*! ../internals/base64-map */ 66244);
    var getAlphabetOption = __webpack_require__(/*! ../internals/get-alphabet-option */ 81750);
    
    var base64Alphabet = base64Map.i2c;
    var base64UrlAlphabet = base64Map.i2cUrl;
    
    var Uint8Array = global.Uint8Array;
    var charAt = uncurryThis(''.charAt);
    
    // `Uint8Array.prototype.toBase64` method
    // https://github.com/tc39/proposal-arraybuffer-base64
    if (Uint8Array) $({ target: 'Uint8Array', proto: true, forced: true }, {
      toBase64: function toBase64(/* options */) {
        var array = anUint8Array(this);
        var options = arguments.length ? anObjectOrUndefined(arguments[0]) : undefined;
        var alphabet = getAlphabetOption(options) === 'base64' ? base64Alphabet : base64UrlAlphabet;
    
        var result = '';
        var i = 0;
        var length = array.length;
        var triplet;
    
        var at = function (shift) {
          return charAt(alphabet, (triplet >> (6 * shift)) & 63);
        };
    
        for (; i + 2 < length; i += 3) {
          triplet = (array[i] << 16) + (array[i + 1] << 8) + array[i + 2];
          result += at(3) + at(2) + at(1) + at(0);
        }
        if (i + 2 === length) {
          triplet = (array[i] << 16) + (array[i + 1] << 8);
          result += at(3) + at(2) + at(1) + '=';
        } else if (i + 1 === length) {
          triplet = array[i] << 16;
          result += at(3) + at(2) + '==';
        }
    
        return result;
      }
    });
    
    
    /***/ }),
    
    /***/ 18481:
    /*!***********************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.uint8-array.to-hex.js ***!
      \***********************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var global = __webpack_require__(/*! ../internals/global */ 92916);
    var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ 94237);
    var anUint8Array = __webpack_require__(/*! ../internals/an-uint8-array */ 27270);
    
    var Uint8Array = global.Uint8Array;
    var numberToString = uncurryThis(1.0.toString);
    
    // `Uint8Array.prototype.toHex` method
    // https://github.com/tc39/proposal-arraybuffer-base64
    if (Uint8Array) $({ target: 'Uint8Array', proto: true, forced: true }, {
      toHex: function toHex() {
        anUint8Array(this);
        var result = '';
        for (var i = 0, length = this.length; i < length; i++) {
          var hex = numberToString(this[i], 16);
          result += hex.length === 1 ? '0' + hex : hex;
        }
        return result;
      }
    });
    
    
    /***/ }),
    
    /***/ 55055:
    /*!************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.weak-map.delete-all.js ***!
      \************************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var aWeakMap = __webpack_require__(/*! ../internals/a-weak-map */ 63619);
    var remove = (__webpack_require__(/*! ../internals/weak-map-helpers */ 42530).remove);
    
    // `WeakMap.prototype.deleteAll` method
    // https://github.com/tc39/proposal-collection-methods
    $({ target: 'WeakMap', proto: true, real: true, forced: true }, {
      deleteAll: function deleteAll(/* ...elements */) {
        var collection = aWeakMap(this);
        var allDeleted = true;
        var wasDeleted;
        for (var k = 0, len = arguments.length; k < len; k++) {
          wasDeleted = remove(collection, arguments[k]);
          allDeleted = allDeleted && wasDeleted;
        } return !!allDeleted;
      }
    });
    
    
    /***/ }),
    
    /***/ 90965:
    /*!*********************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.weak-map.emplace.js ***!
      \*********************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var aWeakMap = __webpack_require__(/*! ../internals/a-weak-map */ 63619);
    var WeakMapHelpers = __webpack_require__(/*! ../internals/weak-map-helpers */ 42530);
    
    var get = WeakMapHelpers.get;
    var has = WeakMapHelpers.has;
    var set = WeakMapHelpers.set;
    
    // `WeakMap.prototype.emplace` method
    // https://github.com/tc39/proposal-upsert
    $({ target: 'WeakMap', proto: true, real: true, forced: true }, {
      emplace: function emplace(key, handler) {
        var map = aWeakMap(this);
        var value, inserted;
        if (has(map, key)) {
          value = get(map, key);
          if ('update' in handler) {
            value = handler.update(value, key, map);
            set(map, key, value);
          } return value;
        }
        inserted = handler.insert(key, map);
        set(map, key, inserted);
        return inserted;
      }
    });
    
    
    /***/ }),
    
    /***/ 7195:
    /*!******************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.weak-map.from.js ***!
      \******************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var from = __webpack_require__(/*! ../internals/collection-from */ 72846);
    
    // `WeakMap.from` method
    // https://tc39.github.io/proposal-setmap-offrom/#sec-weakmap.from
    $({ target: 'WeakMap', stat: true, forced: true }, {
      from: from
    });
    
    
    /***/ }),
    
    /***/ 89179:
    /*!****************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.weak-map.of.js ***!
      \****************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var of = __webpack_require__(/*! ../internals/collection-of */ 48800);
    
    // `WeakMap.of` method
    // https://tc39.github.io/proposal-setmap-offrom/#sec-weakmap.of
    $({ target: 'WeakMap', stat: true, forced: true }, {
      of: of
    });
    
    
    /***/ }),
    
    /***/ 67725:
    /*!********************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.weak-map.upsert.js ***!
      \********************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    // TODO: remove from `core-js@4`
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var upsert = __webpack_require__(/*! ../internals/map-upsert */ 14615);
    
    // `WeakMap.prototype.upsert` method (replaced by `WeakMap.prototype.emplace`)
    // https://github.com/tc39/proposal-upsert
    $({ target: 'WeakMap', proto: true, real: true, forced: true }, {
      upsert: upsert
    });
    
    
    /***/ }),
    
    /***/ 59884:
    /*!*********************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.weak-set.add-all.js ***!
      \*********************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var aWeakSet = __webpack_require__(/*! ../internals/a-weak-set */ 18888);
    var add = (__webpack_require__(/*! ../internals/weak-set-helpers */ 91385).add);
    
    // `WeakSet.prototype.addAll` method
    // https://github.com/tc39/proposal-collection-methods
    $({ target: 'WeakSet', proto: true, real: true, forced: true }, {
      addAll: function addAll(/* ...elements */) {
        var set = aWeakSet(this);
        for (var k = 0, len = arguments.length; k < len; k++) {
          add(set, arguments[k]);
        } return set;
      }
    });
    
    
    /***/ }),
    
    /***/ 89202:
    /*!************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.weak-set.delete-all.js ***!
      \************************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var aWeakSet = __webpack_require__(/*! ../internals/a-weak-set */ 18888);
    var remove = (__webpack_require__(/*! ../internals/weak-set-helpers */ 91385).remove);
    
    // `WeakSet.prototype.deleteAll` method
    // https://github.com/tc39/proposal-collection-methods
    $({ target: 'WeakSet', proto: true, real: true, forced: true }, {
      deleteAll: function deleteAll(/* ...elements */) {
        var collection = aWeakSet(this);
        var allDeleted = true;
        var wasDeleted;
        for (var k = 0, len = arguments.length; k < len; k++) {
          wasDeleted = remove(collection, arguments[k]);
          allDeleted = allDeleted && wasDeleted;
        } return !!allDeleted;
      }
    });
    
    
    /***/ }),
    
    /***/ 97815:
    /*!******************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.weak-set.from.js ***!
      \******************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var from = __webpack_require__(/*! ../internals/collection-from */ 72846);
    
    // `WeakSet.from` method
    // https://tc39.github.io/proposal-setmap-offrom/#sec-weakset.from
    $({ target: 'WeakSet', stat: true, forced: true }, {
      from: from
    });
    
    
    /***/ }),
    
    /***/ 11593:
    /*!****************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/esnext.weak-set.of.js ***!
      \****************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var of = __webpack_require__(/*! ../internals/collection-of */ 48800);
    
    // `WeakSet.of` method
    // https://tc39.github.io/proposal-setmap-offrom/#sec-weakset.of
    $({ target: 'WeakSet', stat: true, forced: true }, {
      of: of
    });
    
    
    /***/ }),
    
    /***/ 7597:
    /*!******************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/web.atob.js ***!
      \******************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var global = __webpack_require__(/*! ../internals/global */ 92916);
    var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ 65911);
    var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ 94237);
    var call = __webpack_require__(/*! ../internals/function-call */ 89945);
    var fails = __webpack_require__(/*! ../internals/fails */ 3338);
    var toString = __webpack_require__(/*! ../internals/to-string */ 69905);
    var validateArgumentsLength = __webpack_require__(/*! ../internals/validate-arguments-length */ 57106);
    var c2i = (__webpack_require__(/*! ../internals/base64-map */ 66244).c2i);
    
    var disallowed = /[^\d+/a-z]/i;
    var whitespaces = /[\t\n\f\r ]+/g;
    var finalEq = /[=]{1,2}$/;
    
    var $atob = getBuiltIn('atob');
    var fromCharCode = String.fromCharCode;
    var charAt = uncurryThis(''.charAt);
    var replace = uncurryThis(''.replace);
    var exec = uncurryThis(disallowed.exec);
    
    var BASIC = !!$atob && !fails(function () {
      return $atob('aGk=') !== 'hi';
    });
    
    var NO_SPACES_IGNORE = BASIC && fails(function () {
      return $atob(' ') !== '';
    });
    
    var NO_ENCODING_CHECK = BASIC && !fails(function () {
      $atob('a');
    });
    
    var NO_ARG_RECEIVING_CHECK = BASIC && !fails(function () {
      $atob();
    });
    
    var WRONG_ARITY = BASIC && $atob.length !== 1;
    
    var FORCED = !BASIC || NO_SPACES_IGNORE || NO_ENCODING_CHECK || NO_ARG_RECEIVING_CHECK || WRONG_ARITY;
    
    // `atob` method
    // https://html.spec.whatwg.org/multipage/webappapis.html#dom-atob
    $({ global: true, bind: true, enumerable: true, forced: FORCED }, {
      atob: function atob(data) {
        validateArgumentsLength(arguments.length, 1);
        // `webpack` dev server bug on IE global methods - use call(fn, global, ...)
        if (BASIC && !NO_SPACES_IGNORE && !NO_ENCODING_CHECK) return call($atob, global, data);
        var string = replace(toString(data), whitespaces, '');
        var output = '';
        var position = 0;
        var bc = 0;
        var length, chr, bs;
        if (string.length % 4 === 0) {
          string = replace(string, finalEq, '');
        }
        length = string.length;
        if (length % 4 === 1 || exec(disallowed, string)) {
          throw new (getBuiltIn('DOMException'))('The string is not correctly encoded', 'InvalidCharacterError');
        }
        while (position < length) {
          chr = charAt(string, position++);
          bs = bc % 4 ? bs * 64 + c2i[chr] : c2i[chr];
          if (bc++ % 4) output += fromCharCode(255 & bs >> (-2 * bc & 6));
        } return output;
      }
    });
    
    
    /***/ }),
    
    /***/ 55182:
    /*!******************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/web.btoa.js ***!
      \******************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var global = __webpack_require__(/*! ../internals/global */ 92916);
    var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ 65911);
    var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ 94237);
    var call = __webpack_require__(/*! ../internals/function-call */ 89945);
    var fails = __webpack_require__(/*! ../internals/fails */ 3338);
    var toString = __webpack_require__(/*! ../internals/to-string */ 69905);
    var validateArgumentsLength = __webpack_require__(/*! ../internals/validate-arguments-length */ 57106);
    var i2c = (__webpack_require__(/*! ../internals/base64-map */ 66244).i2c);
    
    var $btoa = getBuiltIn('btoa');
    var charAt = uncurryThis(''.charAt);
    var charCodeAt = uncurryThis(''.charCodeAt);
    
    var BASIC = !!$btoa && !fails(function () {
      return $btoa('hi') !== 'aGk=';
    });
    
    var NO_ARG_RECEIVING_CHECK = BASIC && !fails(function () {
      $btoa();
    });
    
    var WRONG_ARG_CONVERSION = BASIC && fails(function () {
      return $btoa(null) !== 'bnVsbA==';
    });
    
    var WRONG_ARITY = BASIC && $btoa.length !== 1;
    
    // `btoa` method
    // https://html.spec.whatwg.org/multipage/webappapis.html#dom-btoa
    $({ global: true, bind: true, enumerable: true, forced: !BASIC || NO_ARG_RECEIVING_CHECK || WRONG_ARG_CONVERSION || WRONG_ARITY }, {
      btoa: function btoa(data) {
        validateArgumentsLength(arguments.length, 1);
        // `webpack` dev server bug on IE global methods - use call(fn, global, ...)
        if (BASIC) return call($btoa, global, toString(data));
        var string = toString(data);
        var output = '';
        var position = 0;
        var map = i2c;
        var block, charCode;
        while (charAt(string, position) || (map = '=', position % 1)) {
          charCode = charCodeAt(string, position += 3 / 4);
          if (charCode > 0xFF) {
            throw new (getBuiltIn('DOMException'))('The string contains characters outside of the Latin1 range', 'InvalidCharacterError');
          }
          block = block << 8 | charCode;
          output += charAt(map, 63 & block >> 8 - position % 1 * 8);
        } return output;
      }
    });
    
    
    /***/ }),
    
    /***/ 91472:
    /*!*****************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/web.clear-immediate.js ***!
      \*****************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var global = __webpack_require__(/*! ../internals/global */ 92916);
    var clearImmediate = (__webpack_require__(/*! ../internals/task */ 28887).clear);
    
    // `clearImmediate` method
    // http://w3c.github.io/setImmediate/#si-clearImmediate
    $({ global: true, bind: true, enumerable: true, forced: global.clearImmediate !== clearImmediate }, {
      clearImmediate: clearImmediate
    });
    
    
    /***/ }),
    
    /***/ 34366:
    /*!**************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/web.dom-collections.for-each.js ***!
      \**************************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var global = __webpack_require__(/*! ../internals/global */ 92916);
    var DOMIterables = __webpack_require__(/*! ../internals/dom-iterables */ 66749);
    var DOMTokenListPrototype = __webpack_require__(/*! ../internals/dom-token-list-prototype */ 9518);
    var forEach = __webpack_require__(/*! ../internals/array-for-each */ 59594);
    var createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ 68151);
    
    var handlePrototype = function (CollectionPrototype) {
      // some Chrome versions have non-configurable methods on DOMTokenList
      if (CollectionPrototype && CollectionPrototype.forEach !== forEach) try {
        createNonEnumerableProperty(CollectionPrototype, 'forEach', forEach);
      } catch (error) {
        CollectionPrototype.forEach = forEach;
      }
    };
    
    for (var COLLECTION_NAME in DOMIterables) {
      if (DOMIterables[COLLECTION_NAME]) {
        handlePrototype(global[COLLECTION_NAME] && global[COLLECTION_NAME].prototype);
      }
    }
    
    handlePrototype(DOMTokenListPrototype);
    
    
    /***/ }),
    
    /***/ 85425:
    /*!**************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/web.dom-collections.iterator.js ***!
      \**************************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var global = __webpack_require__(/*! ../internals/global */ 92916);
    var DOMIterables = __webpack_require__(/*! ../internals/dom-iterables */ 66749);
    var DOMTokenListPrototype = __webpack_require__(/*! ../internals/dom-token-list-prototype */ 9518);
    var ArrayIteratorMethods = __webpack_require__(/*! ../modules/es.array.iterator */ 11005);
    var createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ 68151);
    var setToStringTag = __webpack_require__(/*! ../internals/set-to-string-tag */ 94573);
    var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ 59893);
    
    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(global[COLLECTION_NAME] && global[COLLECTION_NAME].prototype, COLLECTION_NAME);
    }
    
    handlePrototype(DOMTokenListPrototype, 'DOMTokenList');
    
    
    /***/ }),
    
    /***/ 64522:
    /*!***************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/web.dom-exception.constructor.js ***!
      \***************************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var tryNodeRequire = __webpack_require__(/*! ../internals/try-node-require */ 11270);
    var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ 65911);
    var fails = __webpack_require__(/*! ../internals/fails */ 3338);
    var create = __webpack_require__(/*! ../internals/object-create */ 20132);
    var createPropertyDescriptor = __webpack_require__(/*! ../internals/create-property-descriptor */ 35012);
    var defineProperty = (__webpack_require__(/*! ../internals/object-define-property */ 37691).f);
    var defineBuiltIn = __webpack_require__(/*! ../internals/define-built-in */ 2291);
    var defineBuiltInAccessor = __webpack_require__(/*! ../internals/define-built-in-accessor */ 64110);
    var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ 32621);
    var anInstance = __webpack_require__(/*! ../internals/an-instance */ 56472);
    var anObject = __webpack_require__(/*! ../internals/an-object */ 80449);
    var errorToString = __webpack_require__(/*! ../internals/error-to-string */ 13367);
    var normalizeStringArgument = __webpack_require__(/*! ../internals/normalize-string-argument */ 7825);
    var DOMExceptionConstants = __webpack_require__(/*! ../internals/dom-exception-constants */ 52109);
    var clearErrorStack = __webpack_require__(/*! ../internals/error-stack-clear */ 80739);
    var InternalStateModule = __webpack_require__(/*! ../internals/internal-state */ 94844);
    var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ 35454);
    var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ 16697);
    
    var DOM_EXCEPTION = 'DOMException';
    var DATA_CLONE_ERR = 'DATA_CLONE_ERR';
    var Error = getBuiltIn('Error');
    // NodeJS < 17.0 does not expose `DOMException` to global
    var NativeDOMException = getBuiltIn(DOM_EXCEPTION) || (function () {
      try {
        // NodeJS < 15.0 does not expose `MessageChannel` to global
        var MessageChannel = getBuiltIn('MessageChannel') || tryNodeRequire('worker_threads').MessageChannel;
        // eslint-disable-next-line es/no-weak-map, unicorn/require-post-message-target-origin -- safe
        new MessageChannel().port1.postMessage(new WeakMap());
      } catch (error) {
        if (error.name === DATA_CLONE_ERR && error.code === 25) return error.constructor;
      }
    })();
    var NativeDOMExceptionPrototype = NativeDOMException && NativeDOMException.prototype;
    var ErrorPrototype = Error.prototype;
    var setInternalState = InternalStateModule.set;
    var getInternalState = InternalStateModule.getterFor(DOM_EXCEPTION);
    var HAS_STACK = 'stack' in new Error(DOM_EXCEPTION);
    
    var codeFor = function (name) {
      return hasOwn(DOMExceptionConstants, name) && DOMExceptionConstants[name].m ? DOMExceptionConstants[name].c : 0;
    };
    
    var $DOMException = function DOMException() {
      anInstance(this, DOMExceptionPrototype);
      var argumentsLength = arguments.length;
      var message = normalizeStringArgument(argumentsLength < 1 ? undefined : arguments[0]);
      var name = normalizeStringArgument(argumentsLength < 2 ? undefined : arguments[1], 'Error');
      var code = codeFor(name);
      setInternalState(this, {
        type: DOM_EXCEPTION,
        name: name,
        message: message,
        code: code
      });
      if (!DESCRIPTORS) {
        this.name = name;
        this.message = message;
        this.code = code;
      }
      if (HAS_STACK) {
        var error = new Error(message);
        error.name = DOM_EXCEPTION;
        defineProperty(this, 'stack', createPropertyDescriptor(1, clearErrorStack(error.stack, 1)));
      }
    };
    
    var DOMExceptionPrototype = $DOMException.prototype = create(ErrorPrototype);
    
    var createGetterDescriptor = function (get) {
      return { enumerable: true, configurable: true, get: get };
    };
    
    var getterFor = function (key) {
      return createGetterDescriptor(function () {
        return getInternalState(this)[key];
      });
    };
    
    if (DESCRIPTORS) {
      // `DOMException.prototype.code` getter
      defineBuiltInAccessor(DOMExceptionPrototype, 'code', getterFor('code'));
      // `DOMException.prototype.message` getter
      defineBuiltInAccessor(DOMExceptionPrototype, 'message', getterFor('message'));
      // `DOMException.prototype.name` getter
      defineBuiltInAccessor(DOMExceptionPrototype, 'name', getterFor('name'));
    }
    
    defineProperty(DOMExceptionPrototype, 'constructor', createPropertyDescriptor(1, $DOMException));
    
    // FF36- DOMException is a function, but can't be constructed
    var INCORRECT_CONSTRUCTOR = fails(function () {
      return !(new NativeDOMException() instanceof Error);
    });
    
    // Safari 10.1 / Chrome 32- / IE8- DOMException.prototype.toString bugs
    var INCORRECT_TO_STRING = INCORRECT_CONSTRUCTOR || fails(function () {
      return ErrorPrototype.toString !== errorToString || String(new NativeDOMException(1, 2)) !== '2: 1';
    });
    
    // Deno 1.6.3- DOMException.prototype.code just missed
    var INCORRECT_CODE = INCORRECT_CONSTRUCTOR || fails(function () {
      return new NativeDOMException(1, 'DataCloneError').code !== 25;
    });
    
    // Deno 1.6.3- DOMException constants just missed
    var MISSED_CONSTANTS = INCORRECT_CONSTRUCTOR
      || NativeDOMException[DATA_CLONE_ERR] !== 25
      || NativeDOMExceptionPrototype[DATA_CLONE_ERR] !== 25;
    
    var FORCED_CONSTRUCTOR = IS_PURE ? INCORRECT_TO_STRING || INCORRECT_CODE || MISSED_CONSTANTS : INCORRECT_CONSTRUCTOR;
    
    // `DOMException` constructor
    // https://webidl.spec.whatwg.org/#idl-DOMException
    $({ global: true, constructor: true, forced: FORCED_CONSTRUCTOR }, {
      DOMException: FORCED_CONSTRUCTOR ? $DOMException : NativeDOMException
    });
    
    var PolyfilledDOMException = getBuiltIn(DOM_EXCEPTION);
    var PolyfilledDOMExceptionPrototype = PolyfilledDOMException.prototype;
    
    if (INCORRECT_TO_STRING && (IS_PURE || NativeDOMException === PolyfilledDOMException)) {
      defineBuiltIn(PolyfilledDOMExceptionPrototype, 'toString', errorToString);
    }
    
    if (INCORRECT_CODE && DESCRIPTORS && NativeDOMException === PolyfilledDOMException) {
      defineBuiltInAccessor(PolyfilledDOMExceptionPrototype, 'code', createGetterDescriptor(function () {
        return codeFor(anObject(this).name);
      }));
    }
    
    // `DOMException` constants
    for (var key in DOMExceptionConstants) if (hasOwn(DOMExceptionConstants, key)) {
      var constant = DOMExceptionConstants[key];
      var constantName = constant.s;
      var descriptor = createPropertyDescriptor(6, constant.c);
      if (!hasOwn(PolyfilledDOMException, constantName)) {
        defineProperty(PolyfilledDOMException, constantName, descriptor);
      }
      if (!hasOwn(PolyfilledDOMExceptionPrototype, constantName)) {
        defineProperty(PolyfilledDOMExceptionPrototype, constantName, descriptor);
      }
    }
    
    
    /***/ }),
    
    /***/ 41599:
    /*!*********************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/web.dom-exception.stack.js ***!
      \*********************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var global = __webpack_require__(/*! ../internals/global */ 92916);
    var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ 65911);
    var createPropertyDescriptor = __webpack_require__(/*! ../internals/create-property-descriptor */ 35012);
    var defineProperty = (__webpack_require__(/*! ../internals/object-define-property */ 37691).f);
    var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ 32621);
    var anInstance = __webpack_require__(/*! ../internals/an-instance */ 56472);
    var inheritIfRequired = __webpack_require__(/*! ../internals/inherit-if-required */ 25576);
    var normalizeStringArgument = __webpack_require__(/*! ../internals/normalize-string-argument */ 7825);
    var DOMExceptionConstants = __webpack_require__(/*! ../internals/dom-exception-constants */ 52109);
    var clearErrorStack = __webpack_require__(/*! ../internals/error-stack-clear */ 80739);
    var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ 35454);
    var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ 16697);
    
    var DOM_EXCEPTION = 'DOMException';
    var Error = getBuiltIn('Error');
    var NativeDOMException = getBuiltIn(DOM_EXCEPTION);
    
    var $DOMException = function DOMException() {
      anInstance(this, DOMExceptionPrototype);
      var argumentsLength = arguments.length;
      var message = normalizeStringArgument(argumentsLength < 1 ? undefined : arguments[0]);
      var name = normalizeStringArgument(argumentsLength < 2 ? undefined : arguments[1], 'Error');
      var that = new NativeDOMException(message, name);
      var error = new Error(message);
      error.name = DOM_EXCEPTION;
      defineProperty(that, 'stack', createPropertyDescriptor(1, clearErrorStack(error.stack, 1)));
      inheritIfRequired(that, this, $DOMException);
      return that;
    };
    
    var DOMExceptionPrototype = $DOMException.prototype = NativeDOMException.prototype;
    
    var ERROR_HAS_STACK = 'stack' in new Error(DOM_EXCEPTION);
    var DOM_EXCEPTION_HAS_STACK = 'stack' in new NativeDOMException(1, 2);
    
    // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
    var descriptor = NativeDOMException && DESCRIPTORS && Object.getOwnPropertyDescriptor(global, DOM_EXCEPTION);
    
    // Bun ~ 0.1.1 DOMException have incorrect descriptor and we can't redefine it
    // https://github.com/Jarred-Sumner/bun/issues/399
    var BUGGY_DESCRIPTOR = !!descriptor && !(descriptor.writable && descriptor.configurable);
    
    var FORCED_CONSTRUCTOR = ERROR_HAS_STACK && !BUGGY_DESCRIPTOR && !DOM_EXCEPTION_HAS_STACK;
    
    // `DOMException` constructor patch for `.stack` where it's required
    // https://webidl.spec.whatwg.org/#es-DOMException-specialness
    $({ global: true, constructor: true, forced: IS_PURE || FORCED_CONSTRUCTOR }, { // TODO: fix export logic
      DOMException: FORCED_CONSTRUCTOR ? $DOMException : NativeDOMException
    });
    
    var PolyfilledDOMException = getBuiltIn(DOM_EXCEPTION);
    var PolyfilledDOMExceptionPrototype = PolyfilledDOMException.prototype;
    
    if (PolyfilledDOMExceptionPrototype.constructor !== PolyfilledDOMException) {
      if (!IS_PURE) {
        defineProperty(PolyfilledDOMExceptionPrototype, 'constructor', createPropertyDescriptor(1, PolyfilledDOMException));
      }
    
      for (var key in DOMExceptionConstants) if (hasOwn(DOMExceptionConstants, key)) {
        var constant = DOMExceptionConstants[key];
        var constantName = constant.s;
        if (!hasOwn(PolyfilledDOMException, constantName)) {
          defineProperty(PolyfilledDOMException, constantName, createPropertyDescriptor(6, constant.c));
        }
      }
    }
    
    
    /***/ }),
    
    /***/ 86465:
    /*!*****************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/web.dom-exception.to-string-tag.js ***!
      \*****************************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ 65911);
    var setToStringTag = __webpack_require__(/*! ../internals/set-to-string-tag */ 94573);
    
    var DOM_EXCEPTION = 'DOMException';
    
    // `DOMException.prototype[@@toStringTag]` property
    setToStringTag(getBuiltIn(DOM_EXCEPTION), DOM_EXCEPTION);
    
    
    /***/ }),
    
    /***/ 78437:
    /*!***********************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/web.immediate.js ***!
      \***********************************************************************/
    /***/ (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__(/*! ../modules/web.clear-immediate */ 91472);
    __webpack_require__(/*! ../modules/web.set-immediate */ 91700);
    
    
    /***/ }),
    
    /***/ 73624:
    /*!*****************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/web.queue-microtask.js ***!
      \*****************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var global = __webpack_require__(/*! ../internals/global */ 92916);
    var microtask = __webpack_require__(/*! ../internals/microtask */ 72933);
    var aCallable = __webpack_require__(/*! ../internals/a-callable */ 63335);
    var validateArgumentsLength = __webpack_require__(/*! ../internals/validate-arguments-length */ 57106);
    var IS_NODE = __webpack_require__(/*! ../internals/engine-is-node */ 90946);
    
    var process = global.process;
    
    // `queueMicrotask` method
    // https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html#dom-queuemicrotask
    $({ global: true, enumerable: true, dontCallGetSet: true }, {
      queueMicrotask: function queueMicrotask(fn) {
        validateArgumentsLength(arguments.length, 1);
        aCallable(fn);
        var domain = IS_NODE && process.domain;
        microtask(domain ? domain.bind(fn) : fn);
      }
    });
    
    
    /***/ }),
    
    /***/ 62059:
    /*!******************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/web.self.js ***!
      \******************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var global = __webpack_require__(/*! ../internals/global */ 92916);
    var defineBuiltInAccessor = __webpack_require__(/*! ../internals/define-built-in-accessor */ 64110);
    var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ 35454);
    
    var $TypeError = TypeError;
    // eslint-disable-next-line es/no-object-defineproperty -- safe
    var defineProperty = Object.defineProperty;
    var INCORRECT_VALUE = global.self !== global;
    
    // `self` getter
    // https://html.spec.whatwg.org/multipage/window-object.html#dom-self
    try {
      if (DESCRIPTORS) {
        // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
        var descriptor = Object.getOwnPropertyDescriptor(global, 'self');
        // some engines have `self`, but with incorrect descriptor
        // https://github.com/denoland/deno/issues/15765
        if (INCORRECT_VALUE || !descriptor || !descriptor.get || !descriptor.enumerable) {
          defineBuiltInAccessor(global, 'self', {
            get: function self() {
              return global;
            },
            set: function self(value) {
              if (this !== global) throw new $TypeError('Illegal invocation');
              defineProperty(global, 'self', {
                value: value,
                writable: true,
                configurable: true,
                enumerable: true
              });
            },
            configurable: true,
            enumerable: true
          });
        }
      } else $({ global: true, simple: true, forced: INCORRECT_VALUE }, {
        self: global
      });
    } catch (error) { /* empty */ }
    
    
    /***/ }),
    
    /***/ 91700:
    /*!***************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/web.set-immediate.js ***!
      \***************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var global = __webpack_require__(/*! ../internals/global */ 92916);
    var setTask = (__webpack_require__(/*! ../internals/task */ 28887).set);
    var schedulersFix = __webpack_require__(/*! ../internals/schedulers-fix */ 93222);
    
    // https://github.com/oven-sh/bun/issues/1633
    var setImmediate = global.setImmediate ? schedulersFix(setTask, false) : setTask;
    
    // `setImmediate` method
    // http://w3c.github.io/setImmediate/#si-setImmediate
    $({ global: true, bind: true, enumerable: true, forced: global.setImmediate !== setImmediate }, {
      setImmediate: setImmediate
    });
    
    
    /***/ }),
    
    /***/ 10305:
    /*!******************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/web.structured-clone.js ***!
      \******************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ 16697);
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var global = __webpack_require__(/*! ../internals/global */ 92916);
    var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ 65911);
    var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ 94237);
    var fails = __webpack_require__(/*! ../internals/fails */ 3338);
    var uid = __webpack_require__(/*! ../internals/uid */ 6145);
    var isCallable = __webpack_require__(/*! ../internals/is-callable */ 55327);
    var isConstructor = __webpack_require__(/*! ../internals/is-constructor */ 39812);
    var isNullOrUndefined = __webpack_require__(/*! ../internals/is-null-or-undefined */ 4112);
    var isObject = __webpack_require__(/*! ../internals/is-object */ 31946);
    var isSymbol = __webpack_require__(/*! ../internals/is-symbol */ 18446);
    var iterate = __webpack_require__(/*! ../internals/iterate */ 62003);
    var anObject = __webpack_require__(/*! ../internals/an-object */ 80449);
    var classof = __webpack_require__(/*! ../internals/classof */ 97607);
    var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ 32621);
    var createProperty = __webpack_require__(/*! ../internals/create-property */ 69392);
    var createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ 68151);
    var lengthOfArrayLike = __webpack_require__(/*! ../internals/length-of-array-like */ 82762);
    var validateArgumentsLength = __webpack_require__(/*! ../internals/validate-arguments-length */ 57106);
    var getRegExpFlags = __webpack_require__(/*! ../internals/regexp-get-flags */ 81644);
    var MapHelpers = __webpack_require__(/*! ../internals/map-helpers */ 2786);
    var SetHelpers = __webpack_require__(/*! ../internals/set-helpers */ 19691);
    var setIterate = __webpack_require__(/*! ../internals/set-iterate */ 57002);
    var detachTransferable = __webpack_require__(/*! ../internals/detach-transferable */ 39311);
    var ERROR_STACK_INSTALLABLE = __webpack_require__(/*! ../internals/error-stack-installable */ 25406);
    var PROPER_STRUCTURED_CLONE_TRANSFER = __webpack_require__(/*! ../internals/structured-clone-proper-transfer */ 80426);
    
    var Object = global.Object;
    var Array = global.Array;
    var Date = global.Date;
    var Error = global.Error;
    var TypeError = global.TypeError;
    var PerformanceMark = global.PerformanceMark;
    var DOMException = getBuiltIn('DOMException');
    var Map = MapHelpers.Map;
    var mapHas = MapHelpers.has;
    var mapGet = MapHelpers.get;
    var mapSet = MapHelpers.set;
    var Set = SetHelpers.Set;
    var setAdd = SetHelpers.add;
    var setHas = SetHelpers.has;
    var objectKeys = getBuiltIn('Object', 'keys');
    var push = uncurryThis([].push);
    var thisBooleanValue = uncurryThis(true.valueOf);
    var thisNumberValue = uncurryThis(1.0.valueOf);
    var thisStringValue = uncurryThis(''.valueOf);
    var thisTimeValue = uncurryThis(Date.prototype.getTime);
    var PERFORMANCE_MARK = uid('structuredClone');
    var DATA_CLONE_ERROR = 'DataCloneError';
    var TRANSFERRING = 'Transferring';
    
    var checkBasicSemantic = function (structuredCloneImplementation) {
      return !fails(function () {
        var set1 = new global.Set([7]);
        var set2 = structuredCloneImplementation(set1);
        var number = structuredCloneImplementation(Object(7));
        return set2 === set1 || !set2.has(7) || !isObject(number) || +number !== 7;
      }) && structuredCloneImplementation;
    };
    
    var checkErrorsCloning = function (structuredCloneImplementation, $Error) {
      return !fails(function () {
        var error = new $Error();
        var test = structuredCloneImplementation({ a: error, b: error });
        return !(test && test.a === test.b && test.a instanceof $Error && test.a.stack === error.stack);
      });
    };
    
    // https://github.com/whatwg/html/pull/5749
    var checkNewErrorsCloningSemantic = function (structuredCloneImplementation) {
      return !fails(function () {
        var test = structuredCloneImplementation(new global.AggregateError([1], PERFORMANCE_MARK, { cause: 3 }));
        return test.name !== 'AggregateError' || test.errors[0] !== 1 || test.message !== PERFORMANCE_MARK || test.cause !== 3;
      });
    };
    
    // FF94+, Safari 15.4+, Chrome 98+, NodeJS 17.0+, Deno 1.13+
    // FF<103 and Safari implementations can't clone errors
    // https://bugzilla.mozilla.org/show_bug.cgi?id=1556604
    // FF103 can clone errors, but `.stack` of clone is an empty string
    // https://bugzilla.mozilla.org/show_bug.cgi?id=1778762
    // FF104+ fixed it on usual errors, but not on DOMExceptions
    // https://bugzilla.mozilla.org/show_bug.cgi?id=1777321
    // Chrome <102 returns `null` if cloned object contains multiple references to one error
    // https://bugs.chromium.org/p/v8/issues/detail?id=12542
    // NodeJS implementation can't clone DOMExceptions
    // https://github.com/nodejs/node/issues/41038
    // only FF103+ supports new (html/5749) error cloning semantic
    var nativeStructuredClone = global.structuredClone;
    
    var FORCED_REPLACEMENT = IS_PURE
      || !checkErrorsCloning(nativeStructuredClone, Error)
      || !checkErrorsCloning(nativeStructuredClone, DOMException)
      || !checkNewErrorsCloningSemantic(nativeStructuredClone);
    
    // Chrome 82+, Safari 14.1+, Deno 1.11+
    // Chrome 78-81 implementation swaps `.name` and `.message` of cloned `DOMException`
    // Chrome returns `null` if cloned object contains multiple references to one error
    // Safari 14.1 implementation doesn't clone some `RegExp` flags, so requires a workaround
    // Safari implementation can't clone errors
    // Deno 1.2-1.10 implementations too naive
    // NodeJS 16.0+ does not have `PerformanceMark` constructor
    // NodeJS <17.2 structured cloning implementation from `performance.mark` is too naive
    // and can't clone, for example, `RegExp` or some boxed primitives
    // https://github.com/nodejs/node/issues/40840
    // no one of those implementations supports new (html/5749) error cloning semantic
    var structuredCloneFromMark = !nativeStructuredClone && checkBasicSemantic(function (value) {
      return new PerformanceMark(PERFORMANCE_MARK, { detail: value }).detail;
    });
    
    var nativeRestrictedStructuredClone = checkBasicSemantic(nativeStructuredClone) || structuredCloneFromMark;
    
    var throwUncloneable = function (type) {
      throw new DOMException('Uncloneable type: ' + type, DATA_CLONE_ERROR);
    };
    
    var throwUnpolyfillable = function (type, action) {
      throw new DOMException((action || 'Cloning') + ' of ' + type + ' cannot be properly polyfilled in this engine', DATA_CLONE_ERROR);
    };
    
    var tryNativeRestrictedStructuredClone = function (value, type) {
      if (!nativeRestrictedStructuredClone) throwUnpolyfillable(type);
      return nativeRestrictedStructuredClone(value);
    };
    
    var createDataTransfer = function () {
      var dataTransfer;
      try {
        dataTransfer = new global.DataTransfer();
      } catch (error) {
        try {
          dataTransfer = new global.ClipboardEvent('').clipboardData;
        } catch (error2) { /* empty */ }
      }
      return dataTransfer && dataTransfer.items && dataTransfer.files ? dataTransfer : null;
    };
    
    var cloneBuffer = function (value, map, $type) {
      if (mapHas(map, value)) return mapGet(map, value);
    
      var type = $type || classof(value);
      var clone, length, options, source, target, i;
    
      if (type === 'SharedArrayBuffer') {
        if (nativeRestrictedStructuredClone) clone = nativeRestrictedStructuredClone(value);
        // SharedArrayBuffer should use shared memory, we can't polyfill it, so return the original
        else clone = value;
      } else {
        var DataView = global.DataView;
    
        // `ArrayBuffer#slice` is not available in IE10
        // `ArrayBuffer#slice` and `DataView` are not available in old FF
        if (!DataView && !isCallable(value.slice)) throwUnpolyfillable('ArrayBuffer');
        // detached buffers throws in `DataView` and `.slice`
        try {
          if (isCallable(value.slice) && !value.resizable) {
            clone = value.slice(0);
          } else {
            length = value.byteLength;
            options = 'maxByteLength' in value ? { maxByteLength: value.maxByteLength } : undefined;
            // eslint-disable-next-line es/no-resizable-and-growable-arraybuffers -- safe
            clone = new ArrayBuffer(length, options);
            source = new DataView(value);
            target = new DataView(clone);
            for (i = 0; i < length; i++) {
              target.setUint8(i, source.getUint8(i));
            }
          }
        } catch (error) {
          throw new DOMException('ArrayBuffer is detached', DATA_CLONE_ERROR);
        }
      }
    
      mapSet(map, value, clone);
    
      return clone;
    };
    
    var cloneView = function (value, type, offset, length, map) {
      var C = global[type];
      // in some old engines like Safari 9, typeof C is 'object'
      // on Uint8ClampedArray or some other constructors
      if (!isObject(C)) throwUnpolyfillable(type);
      return new C(cloneBuffer(value.buffer, map), offset, length);
    };
    
    var structuredCloneInternal = function (value, map) {
      if (isSymbol(value)) throwUncloneable('Symbol');
      if (!isObject(value)) return value;
      // effectively preserves circular references
      if (map) {
        if (mapHas(map, value)) return mapGet(map, value);
      } else map = new Map();
    
      var type = classof(value);
      var C, name, cloned, dataTransfer, i, length, keys, key;
    
      switch (type) {
        case 'Array':
          cloned = Array(lengthOfArrayLike(value));
          break;
        case 'Object':
          cloned = {};
          break;
        case 'Map':
          cloned = new Map();
          break;
        case 'Set':
          cloned = new Set();
          break;
        case 'RegExp':
          // in this block because of a Safari 14.1 bug
          // old FF does not clone regexes passed to the constructor, so get the source and flags directly
          cloned = new RegExp(value.source, getRegExpFlags(value));
          break;
        case 'Error':
          name = value.name;
          switch (name) {
            case 'AggregateError':
              cloned = new (getBuiltIn(name))([]);
              break;
            case 'EvalError':
            case 'RangeError':
            case 'ReferenceError':
            case 'SuppressedError':
            case 'SyntaxError':
            case 'TypeError':
            case 'URIError':
              cloned = new (getBuiltIn(name))();
              break;
            case 'CompileError':
            case 'LinkError':
            case 'RuntimeError':
              cloned = new (getBuiltIn('WebAssembly', name))();
              break;
            default:
              cloned = new Error();
          }
          break;
        case 'DOMException':
          cloned = new DOMException(value.message, value.name);
          break;
        case 'ArrayBuffer':
        case 'SharedArrayBuffer':
          cloned = cloneBuffer(value, map, type);
          break;
        case 'DataView':
        case 'Int8Array':
        case 'Uint8Array':
        case 'Uint8ClampedArray':
        case 'Int16Array':
        case 'Uint16Array':
        case 'Int32Array':
        case 'Uint32Array':
        case 'Float16Array':
        case 'Float32Array':
        case 'Float64Array':
        case 'BigInt64Array':
        case 'BigUint64Array':
          length = type === 'DataView' ? value.byteLength : value.length;
          cloned = cloneView(value, type, value.byteOffset, length, map);
          break;
        case 'DOMQuad':
          try {
            cloned = new DOMQuad(
              structuredCloneInternal(value.p1, map),
              structuredCloneInternal(value.p2, map),
              structuredCloneInternal(value.p3, map),
              structuredCloneInternal(value.p4, map)
            );
          } catch (error) {
            cloned = tryNativeRestrictedStructuredClone(value, type);
          }
          break;
        case 'File':
          if (nativeRestrictedStructuredClone) try {
            cloned = nativeRestrictedStructuredClone(value);
            // NodeJS 20.0.0 bug, https://github.com/nodejs/node/issues/47612
            if (classof(cloned) !== type) cloned = undefined;
          } catch (error) { /* empty */ }
          if (!cloned) try {
            cloned = new File([value], value.name, value);
          } catch (error) { /* empty */ }
          if (!cloned) throwUnpolyfillable(type);
          break;
        case 'FileList':
          dataTransfer = createDataTransfer();
          if (dataTransfer) {
            for (i = 0, length = lengthOfArrayLike(value); i < length; i++) {
              dataTransfer.items.add(structuredCloneInternal(value[i], map));
            }
            cloned = dataTransfer.files;
          } else cloned = tryNativeRestrictedStructuredClone(value, type);
          break;
        case 'ImageData':
          // Safari 9 ImageData is a constructor, but typeof ImageData is 'object'
          try {
            cloned = new ImageData(
              structuredCloneInternal(value.data, map),
              value.width,
              value.height,
              { colorSpace: value.colorSpace }
            );
          } catch (error) {
            cloned = tryNativeRestrictedStructuredClone(value, type);
          } break;
        default:
          if (nativeRestrictedStructuredClone) {
            cloned = nativeRestrictedStructuredClone(value);
          } else switch (type) {
            case 'BigInt':
              // can be a 3rd party polyfill
              cloned = Object(value.valueOf());
              break;
            case 'Boolean':
              cloned = Object(thisBooleanValue(value));
              break;
            case 'Number':
              cloned = Object(thisNumberValue(value));
              break;
            case 'String':
              cloned = Object(thisStringValue(value));
              break;
            case 'Date':
              cloned = new Date(thisTimeValue(value));
              break;
            case 'Blob':
              try {
                cloned = value.slice(0, value.size, value.type);
              } catch (error) {
                throwUnpolyfillable(type);
              } break;
            case 'DOMPoint':
            case 'DOMPointReadOnly':
              C = global[type];
              try {
                cloned = C.fromPoint
                  ? C.fromPoint(value)
                  : new C(value.x, value.y, value.z, value.w);
              } catch (error) {
                throwUnpolyfillable(type);
              } break;
            case 'DOMRect':
            case 'DOMRectReadOnly':
              C = global[type];
              try {
                cloned = C.fromRect
                  ? C.fromRect(value)
                  : new C(value.x, value.y, value.width, value.height);
              } catch (error) {
                throwUnpolyfillable(type);
              } break;
            case 'DOMMatrix':
            case 'DOMMatrixReadOnly':
              C = global[type];
              try {
                cloned = C.fromMatrix
                  ? C.fromMatrix(value)
                  : new C(value);
              } catch (error) {
                throwUnpolyfillable(type);
              } break;
            case 'AudioData':
            case 'VideoFrame':
              if (!isCallable(value.clone)) throwUnpolyfillable(type);
              try {
                cloned = value.clone();
              } catch (error) {
                throwUncloneable(type);
              } break;
            case 'CropTarget':
            case 'CryptoKey':
            case 'FileSystemDirectoryHandle':
            case 'FileSystemFileHandle':
            case 'FileSystemHandle':
            case 'GPUCompilationInfo':
            case 'GPUCompilationMessage':
            case 'ImageBitmap':
            case 'RTCCertificate':
            case 'WebAssembly.Module':
              throwUnpolyfillable(type);
              // break omitted
            default:
              throwUncloneable(type);
          }
      }
    
      mapSet(map, value, cloned);
    
      switch (type) {
        case 'Array':
        case 'Object':
          keys = objectKeys(value);
          for (i = 0, length = lengthOfArrayLike(keys); i < length; i++) {
            key = keys[i];
            createProperty(cloned, key, structuredCloneInternal(value[key], map));
          } break;
        case 'Map':
          value.forEach(function (v, k) {
            mapSet(cloned, structuredCloneInternal(k, map), structuredCloneInternal(v, map));
          });
          break;
        case 'Set':
          value.forEach(function (v) {
            setAdd(cloned, structuredCloneInternal(v, map));
          });
          break;
        case 'Error':
          createNonEnumerableProperty(cloned, 'message', structuredCloneInternal(value.message, map));
          if (hasOwn(value, 'cause')) {
            createNonEnumerableProperty(cloned, 'cause', structuredCloneInternal(value.cause, map));
          }
          if (name === 'AggregateError') {
            cloned.errors = structuredCloneInternal(value.errors, map);
          } else if (name === 'SuppressedError') {
            cloned.error = structuredCloneInternal(value.error, map);
            cloned.suppressed = structuredCloneInternal(value.suppressed, map);
          } // break omitted
        case 'DOMException':
          if (ERROR_STACK_INSTALLABLE) {
            createNonEnumerableProperty(cloned, 'stack', structuredCloneInternal(value.stack, map));
          }
      }
    
      return cloned;
    };
    
    var tryToTransfer = function (rawTransfer, map) {
      if (!isObject(rawTransfer)) throw new TypeError('Transfer option cannot be converted to a sequence');
    
      var transfer = [];
    
      iterate(rawTransfer, function (value) {
        push(transfer, anObject(value));
      });
    
      var i = 0;
      var length = lengthOfArrayLike(transfer);
      var buffers = new Set();
      var value, type, C, transferred, canvas, context;
    
      while (i < length) {
        value = transfer[i++];
    
        type = classof(value);
    
        if (type === 'ArrayBuffer' ? setHas(buffers, value) : mapHas(map, value)) {
          throw new DOMException('Duplicate transferable', DATA_CLONE_ERROR);
        }
    
        if (type === 'ArrayBuffer') {
          setAdd(buffers, value);
          continue;
        }
    
        if (PROPER_STRUCTURED_CLONE_TRANSFER) {
          transferred = nativeStructuredClone(value, { transfer: [value] });
        } else switch (type) {
          case 'ImageBitmap':
            C = global.OffscreenCanvas;
            if (!isConstructor(C)) throwUnpolyfillable(type, TRANSFERRING);
            try {
              canvas = new C(value.width, value.height);
              context = canvas.getContext('bitmaprenderer');
              context.transferFromImageBitmap(value);
              transferred = canvas.transferToImageBitmap();
            } catch (error) { /* empty */ }
            break;
          case 'AudioData':
          case 'VideoFrame':
            if (!isCallable(value.clone) || !isCallable(value.close)) throwUnpolyfillable(type, TRANSFERRING);
            try {
              transferred = value.clone();
              value.close();
            } catch (error) { /* empty */ }
            break;
          case 'MediaSourceHandle':
          case 'MessagePort':
          case 'OffscreenCanvas':
          case 'ReadableStream':
          case 'TransformStream':
          case 'WritableStream':
            throwUnpolyfillable(type, TRANSFERRING);
        }
    
        if (transferred === undefined) throw new DOMException('This object cannot be transferred: ' + type, DATA_CLONE_ERROR);
    
        mapSet(map, value, transferred);
      }
    
      return buffers;
    };
    
    var detachBuffers = function (buffers) {
      setIterate(buffers, function (buffer) {
        if (PROPER_STRUCTURED_CLONE_TRANSFER) {
          nativeRestrictedStructuredClone(buffer, { transfer: [buffer] });
        } else if (isCallable(buffer.transfer)) {
          buffer.transfer();
        } else if (detachTransferable) {
          detachTransferable(buffer);
        } else {
          throwUnpolyfillable('ArrayBuffer', TRANSFERRING);
        }
      });
    };
    
    // `structuredClone` method
    // https://html.spec.whatwg.org/multipage/structured-data.html#dom-structuredclone
    $({ global: true, enumerable: true, sham: !PROPER_STRUCTURED_CLONE_TRANSFER, forced: FORCED_REPLACEMENT }, {
      structuredClone: function structuredClone(value /* , { transfer } */) {
        var options = validateArgumentsLength(arguments.length, 1) > 1 && !isNullOrUndefined(arguments[1]) ? anObject(arguments[1]) : undefined;
        var transfer = options ? options.transfer : undefined;
        var map, buffers;
    
        if (transfer !== undefined) {
          map = new Map();
          buffers = tryToTransfer(transfer, map);
        }
    
        var clone = structuredCloneInternal(value, map);
    
        // since of an issue with cloning views of transferred buffers, we a forced to detach them later
        // https://github.com/zloirock/core-js/issues/1265
        if (buffers) detachBuffers(buffers);
    
        return clone;
      }
    });
    
    
    /***/ }),
    
    /***/ 91340:
    /*!*******************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/web.url-search-params.constructor.js ***!
      \*******************************************************************************************/
    /***/ (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__(/*! ../modules/es.array.iterator */ 11005);
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var global = __webpack_require__(/*! ../internals/global */ 92916);
    var call = __webpack_require__(/*! ../internals/function-call */ 89945);
    var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ 94237);
    var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ 35454);
    var USE_NATIVE_URL = __webpack_require__(/*! ../internals/url-constructor-detection */ 3299);
    var defineBuiltIn = __webpack_require__(/*! ../internals/define-built-in */ 2291);
    var defineBuiltInAccessor = __webpack_require__(/*! ../internals/define-built-in-accessor */ 64110);
    var defineBuiltIns = __webpack_require__(/*! ../internals/define-built-ins */ 66477);
    var setToStringTag = __webpack_require__(/*! ../internals/set-to-string-tag */ 94573);
    var createIteratorConstructor = __webpack_require__(/*! ../internals/iterator-create-constructor */ 83126);
    var InternalStateModule = __webpack_require__(/*! ../internals/internal-state */ 94844);
    var anInstance = __webpack_require__(/*! ../internals/an-instance */ 56472);
    var isCallable = __webpack_require__(/*! ../internals/is-callable */ 55327);
    var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ 32621);
    var bind = __webpack_require__(/*! ../internals/function-bind-context */ 80666);
    var classof = __webpack_require__(/*! ../internals/classof */ 97607);
    var anObject = __webpack_require__(/*! ../internals/an-object */ 80449);
    var isObject = __webpack_require__(/*! ../internals/is-object */ 31946);
    var $toString = __webpack_require__(/*! ../internals/to-string */ 69905);
    var create = __webpack_require__(/*! ../internals/object-create */ 20132);
    var createPropertyDescriptor = __webpack_require__(/*! ../internals/create-property-descriptor */ 35012);
    var getIterator = __webpack_require__(/*! ../internals/get-iterator */ 85428);
    var getIteratorMethod = __webpack_require__(/*! ../internals/get-iterator-method */ 26006);
    var createIterResultObject = __webpack_require__(/*! ../internals/create-iter-result-object */ 25587);
    var validateArgumentsLength = __webpack_require__(/*! ../internals/validate-arguments-length */ 57106);
    var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ 59893);
    var arraySort = __webpack_require__(/*! ../internals/array-sort */ 63668);
    
    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);
    // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
    var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
    
    // Avoid NodeJS experimental warning
    var safeGetBuiltIn = function (name) {
      if (!DESCRIPTORS) return global[name];
      var descriptor = getOwnPropertyDescriptor(global, name);
      return descriptor && descriptor.value;
    };
    
    var nativeFetch = safeGetBuiltIn('fetch');
    var NativeRequest = safeGetBuiltIn('Request');
    var Headers = safeGetBuiltIn('Headers');
    var RequestPrototype = NativeRequest && NativeRequest.prototype;
    var HeadersPrototype = Headers && Headers.prototype;
    var RegExp = global.RegExp;
    var TypeError = global.TypeError;
    var decodeURIComponent = global.decodeURIComponent;
    var encodeURIComponent = global.encodeURIComponent;
    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 plus = /\+/g;
    var sequences = Array(4);
    
    var percentSequence = function (bytes) {
      return sequences[bytes - 1] || (sequences[bytes - 1] = RegExp('((?:%[\\da-f]{2}){' + bytes + '})', 'gi'));
    };
    
    var percentDecode = function (sequence) {
      try {
        return decodeURIComponent(sequence);
      } catch (error) {
        return sequence;
      }
    };
    
    var deserialize = function (it) {
      var result = replace(it, plus, ' ');
      var bytes = 4;
      try {
        return decodeURIComponent(result);
      } catch (error) {
        while (bytes) {
          result = replace(result, percentSequence(bytes--), percentDecode);
        }
        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 = undefined;
        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: deserialize(shift(entry)),
                value: deserialize(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
    };
    
    
    /***/ }),
    
    /***/ 4890:
    /*!**************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/web.url-search-params.delete.js ***!
      \**************************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var defineBuiltIn = __webpack_require__(/*! ../internals/define-built-in */ 2291);
    var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ 94237);
    var toString = __webpack_require__(/*! ../internals/to-string */ 69905);
    var validateArgumentsLength = __webpack_require__(/*! ../internals/validate-arguments-length */ 57106);
    
    var $URLSearchParams = URLSearchParams;
    var URLSearchParamsPrototype = $URLSearchParams.prototype;
    var append = uncurryThis(URLSearchParamsPrototype.append);
    var $delete = uncurryThis(URLSearchParamsPrototype['delete']);
    var forEach = uncurryThis(URLSearchParamsPrototype.forEach);
    var push = uncurryThis([].push);
    var params = new $URLSearchParams('a=1&a=2&b=3');
    
    params['delete']('a', 1);
    // `undefined` case is a Chromium 117 bug
    // https://bugs.chromium.org/p/v8/issues/detail?id=14222
    params['delete']('b', undefined);
    
    if (params + '' !== 'a=2') {
      defineBuiltIn(URLSearchParamsPrototype, 'delete', function (name /* , value */) {
        var length = arguments.length;
        var $value = length < 2 ? undefined : arguments[1];
        if (length && $value === undefined) return $delete(this, name);
        var entries = [];
        forEach(this, function (v, k) { // also validates `this`
          push(entries, { key: k, value: v });
        });
        validateArgumentsLength(length, 1);
        var key = toString(name);
        var value = toString($value);
        var index = 0;
        var dindex = 0;
        var found = false;
        var entriesLength = entries.length;
        var entry;
        while (index < entriesLength) {
          entry = entries[index++];
          if (found || entry.key === key) {
            found = true;
            $delete(this, entry.key);
          } else dindex++;
        }
        while (dindex < entriesLength) {
          entry = entries[dindex++];
          if (!(entry.key === key && entry.value === value)) append(this, entry.key, entry.value);
        }
      }, { enumerable: true, unsafe: true });
    }
    
    
    /***/ }),
    
    /***/ 5340:
    /*!***********************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/web.url-search-params.has.js ***!
      \***********************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var defineBuiltIn = __webpack_require__(/*! ../internals/define-built-in */ 2291);
    var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ 94237);
    var toString = __webpack_require__(/*! ../internals/to-string */ 69905);
    var validateArgumentsLength = __webpack_require__(/*! ../internals/validate-arguments-length */ 57106);
    
    var $URLSearchParams = URLSearchParams;
    var URLSearchParamsPrototype = $URLSearchParams.prototype;
    var getAll = uncurryThis(URLSearchParamsPrototype.getAll);
    var $has = uncurryThis(URLSearchParamsPrototype.has);
    var params = new $URLSearchParams('a=1');
    
    // `undefined` case is a Chromium 117 bug
    // https://bugs.chromium.org/p/v8/issues/detail?id=14222
    if (params.has('a', 2) || !params.has('a', undefined)) {
      defineBuiltIn(URLSearchParamsPrototype, 'has', function has(name /* , value */) {
        var length = arguments.length;
        var $value = length < 2 ? undefined : arguments[1];
        if (length && $value === undefined) return $has(this, name);
        var values = getAll(this, name); // also validates `this`
        validateArgumentsLength(length, 1);
        var value = toString($value);
        var index = 0;
        while (index < values.length) {
          if (values[index++] === value) return true;
        } return false;
      }, { enumerable: true, unsafe: true });
    }
    
    
    /***/ }),
    
    /***/ 7893:
    /*!*******************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/web.url-search-params.js ***!
      \*******************************************************************************/
    /***/ (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__(/*! ../modules/web.url-search-params.constructor */ 91340);
    
    
    /***/ }),
    
    /***/ 61650:
    /*!************************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/web.url-search-params.size.js ***!
      \************************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ 35454);
    var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ 94237);
    var defineBuiltInAccessor = __webpack_require__(/*! ../internals/define-built-in-accessor */ 64110);
    
    var URLSearchParamsPrototype = URLSearchParams.prototype;
    var forEach = uncurryThis(URLSearchParamsPrototype.forEach);
    
    // `URLSearchParams.prototype.size` getter
    // https://github.com/whatwg/url/pull/734
    if (DESCRIPTORS && !('size' in URLSearchParamsPrototype)) {
      defineBuiltInAccessor(URLSearchParamsPrototype, 'size', {
        get: function size() {
          var count = 0;
          forEach(this, function () { count++; });
          return count;
        },
        configurable: true,
        enumerable: true
      });
    }
    
    
    /***/ }),
    
    /***/ 40061:
    /*!***************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/web.url.can-parse.js ***!
      \***************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ 65911);
    var fails = __webpack_require__(/*! ../internals/fails */ 3338);
    var validateArgumentsLength = __webpack_require__(/*! ../internals/validate-arguments-length */ 57106);
    var toString = __webpack_require__(/*! ../internals/to-string */ 69905);
    var USE_NATIVE_URL = __webpack_require__(/*! ../internals/url-constructor-detection */ 3299);
    
    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();
    });
    
    // `URL.canParse` method
    // https://url.spec.whatwg.org/#dom-url-canparse
    $({ target: 'URL', stat: true, forced: !THROWS_WITHOUT_ARGUMENTS }, {
      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;
        }
      }
    });
    
    
    /***/ }),
    
    /***/ 13588:
    /*!*****************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/web.url.constructor.js ***!
      \*****************************************************************************/
    /***/ (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__(/*! ../modules/es.string.iterator */ 20852);
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ 35454);
    var USE_NATIVE_URL = __webpack_require__(/*! ../internals/url-constructor-detection */ 3299);
    var global = __webpack_require__(/*! ../internals/global */ 92916);
    var bind = __webpack_require__(/*! ../internals/function-bind-context */ 80666);
    var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ 94237);
    var defineBuiltIn = __webpack_require__(/*! ../internals/define-built-in */ 2291);
    var defineBuiltInAccessor = __webpack_require__(/*! ../internals/define-built-in-accessor */ 64110);
    var anInstance = __webpack_require__(/*! ../internals/an-instance */ 56472);
    var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ 32621);
    var assign = __webpack_require__(/*! ../internals/object-assign */ 80530);
    var arrayFrom = __webpack_require__(/*! ../internals/array-from */ 60255);
    var arraySlice = __webpack_require__(/*! ../internals/array-slice-simple */ 71698);
    var codeAt = (__webpack_require__(/*! ../internals/string-multibyte */ 13764).codeAt);
    var toASCII = __webpack_require__(/*! ../internals/string-punycode-to-ascii */ 93245);
    var $toString = __webpack_require__(/*! ../internals/to-string */ 69905);
    var setToStringTag = __webpack_require__(/*! ../internals/set-to-string-tag */ 94573);
    var validateArgumentsLength = __webpack_require__(/*! ../internals/validate-arguments-length */ 57106);
    var URLSearchParamsModule = __webpack_require__(/*! ../modules/web.url-search-params.constructor */ 91340);
    var InternalStateModule = __webpack_require__(/*! ../internals/internal-state */ 94844);
    
    var setInternalState = InternalStateModule.set;
    var getInternalURLState = InternalStateModule.getterFor('URL');
    var URLSearchParams = URLSearchParamsModule.URLSearchParams;
    var getInternalSearchParamsState = URLSearchParamsModule.getState;
    
    var NativeURL = global.URL;
    var TypeError = global.TypeError;
    var parseInt = global.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;
        }
      }
      if (currLength > maxLength) {
        maxIndex = currStart;
        maxLength = currLength;
      }
      return 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
      } else 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
    });
    
    
    /***/ }),
    
    /***/ 25204:
    /*!*****************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/web.url.js ***!
      \*****************************************************************/
    /***/ (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__(/*! ../modules/web.url.constructor */ 13588);
    
    
    /***/ }),
    
    /***/ 47803:
    /*!*************************************************************************!*\
      !*** ./node_modules/_core-js@3.34.0@core-js/modules/web.url.to-json.js ***!
      \*************************************************************************/
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    "use strict";
    
    var $ = __webpack_require__(/*! ../internals/export */ 94488);
    var call = __webpack_require__(/*! ../internals/function-call */ 89945);
    
    // `URL.prototype.toJSON` method
    // https://url.spec.whatwg.org/#dom-url-tojson
    $({ target: 'URL', proto: true, enumerable: true }, {
      toJSON: function toJSON() {
        return call(URL.prototype.toString, this);
      }
    });
    
    
    /***/ }),
    
    /***/ 73825:
    /*!******************************************************************************************!*\
      !*** ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/esm/arrayWithHoles.js ***!
      \******************************************************************************************/
    /***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
    
    "use strict";
    /* harmony export */ __webpack_require__.d(__webpack_exports__, {
    /* harmony export */   Z: function() { return /* binding */ _arrayWithHoles; }
    /* harmony export */ });
    function _arrayWithHoles(arr) {
      if (Array.isArray(arr)) return arr;
    }
    
    /***/ }),
    
    /***/ 65873:
    /*!******************************************************************************************!*\
      !*** ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/esm/defineProperty.js ***!
      \******************************************************************************************/
    /***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
    
    "use strict";
    /* harmony export */ __webpack_require__.d(__webpack_exports__, {
    /* harmony export */   Z: function() { return /* binding */ _defineProperty; }
    /* harmony export */ });
    /* harmony import */ var _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./toPropertyKey.js */ 89878);
    
    function _defineProperty(obj, key, value) {
      key = (0,_toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(key);
      if (key in obj) {
        Object.defineProperty(obj, key, {
          value: value,
          enumerable: true,
          configurable: true,
          writable: true
        });
      } else {
        obj[key] = value;
      }
      return obj;
    }
    
    /***/ }),
    
    /***/ 38329:
    /*!***********************************************************************************!*\
      !*** ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/esm/extends.js ***!
      \***********************************************************************************/
    /***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
    
    "use strict";
    /* harmony export */ __webpack_require__.d(__webpack_exports__, {
    /* harmony export */   Z: function() { return /* binding */ _extends; }
    /* harmony export */ });
    function _extends() {
      _extends = Object.assign ? Object.assign.bind() : function (target) {
        for (var i = 1; i < arguments.length; i++) {
          var source = arguments[i];
          for (var key in source) {
            if (Object.prototype.hasOwnProperty.call(source, key)) {
              target[key] = source[key];
            }
          }
        }
        return target;
      };
      return _extends.apply(this, arguments);
    }
    
    /***/ }),
    
    /***/ 66160:
    /*!*******************************************************************************************!*\
      !*** ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/esm/nonIterableRest.js ***!
      \*******************************************************************************************/
    /***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
    
    "use strict";
    /* harmony export */ __webpack_require__.d(__webpack_exports__, {
    /* harmony export */   Z: function() { return /* binding */ _nonIterableRest; }
    /* harmony export */ });
    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.");
    }
    
    /***/ }),
    
    /***/ 63579:
    /*!*****************************************************************************************!*\
      !*** ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/esm/objectSpread2.js ***!
      \*****************************************************************************************/
    /***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
    
    "use strict";
    /* harmony export */ __webpack_require__.d(__webpack_exports__, {
    /* harmony export */   Z: function() { return /* binding */ _objectSpread2; }
    /* harmony export */ });
    /* harmony import */ var _defineProperty_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./defineProperty.js */ 65873);
    
    function ownKeys(e, r) {
      var t = Object.keys(e);
      if (Object.getOwnPropertySymbols) {
        var o = Object.getOwnPropertySymbols(e);
        r && (o = o.filter(function (r) {
          return Object.getOwnPropertyDescriptor(e, r).enumerable;
        })), t.push.apply(t, o);
      }
      return t;
    }
    function _objectSpread2(e) {
      for (var r = 1; r < arguments.length; r++) {
        var t = null != arguments[r] ? arguments[r] : {};
        r % 2 ? ownKeys(Object(t), !0).forEach(function (r) {
          (0,_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(e, r, t[r]);
        }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) {
          Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));
        });
      }
      return e;
    }
    
    /***/ }),
    
    /***/ 38127:
    /*!***************************************************************************************************************!*\
      !*** ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/esm/objectWithoutProperties.js + 1 modules ***!
      \***************************************************************************************************************/
    /***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
    
    "use strict";
    
    // EXPORTS
    __webpack_require__.d(__webpack_exports__, {
      Z: function() { return /* binding */ _objectWithoutProperties; }
    });
    
    ;// CONCATENATED MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js
    function _objectWithoutPropertiesLoose(source, excluded) {
      if (source == null) return {};
      var target = {};
      var sourceKeys = Object.keys(source);
      var key, i;
      for (i = 0; i < sourceKeys.length; i++) {
        key = sourceKeys[i];
        if (excluded.indexOf(key) >= 0) continue;
        target[key] = source[key];
      }
      return target;
    }
    ;// CONCATENATED MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/esm/objectWithoutProperties.js
    
    function _objectWithoutProperties(source, excluded) {
      if (source == null) return {};
      var target = _objectWithoutPropertiesLoose(source, excluded);
      var key, i;
      if (Object.getOwnPropertySymbols) {
        var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
        for (i = 0; i < sourceSymbolKeys.length; i++) {
          key = sourceSymbolKeys[i];
          if (excluded.indexOf(key) >= 0) continue;
          if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
          target[key] = source[key];
        }
      }
      return target;
    }
    
    /***/ }),
    
    /***/ 87296:
    /*!*****************************************************************************************************!*\
      !*** ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/esm/slicedToArray.js + 1 modules ***!
      \*****************************************************************************************************/
    /***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
    
    "use strict";
    
    // EXPORTS
    __webpack_require__.d(__webpack_exports__, {
      Z: function() { return /* binding */ _slicedToArray; }
    });
    
    // EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/esm/arrayWithHoles.js
    var arrayWithHoles = __webpack_require__(73825);
    ;// CONCATENATED MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/esm/iterableToArrayLimit.js
    function _iterableToArrayLimit(r, l) {
      var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || 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) && (a.push(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;
      }
    }
    // EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/esm/unsupportedIterableToArray.js + 1 modules
    var unsupportedIterableToArray = __webpack_require__(99227);
    // EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/esm/nonIterableRest.js
    var nonIterableRest = __webpack_require__(66160);
    ;// CONCATENATED MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/esm/slicedToArray.js
    
    
    
    
    function _slicedToArray(arr, i) {
      return (0,arrayWithHoles/* default */.Z)(arr) || _iterableToArrayLimit(arr, i) || (0,unsupportedIterableToArray/* default */.Z)(arr, i) || (0,nonIterableRest/* default */.Z)();
    }
    
    /***/ }),
    
    /***/ 89878:
    /*!*****************************************************************************************************!*\
      !*** ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/esm/toPropertyKey.js + 1 modules ***!
      \*****************************************************************************************************/
    /***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
    
    "use strict";
    
    // EXPORTS
    __webpack_require__.d(__webpack_exports__, {
      Z: function() { return /* binding */ toPropertyKey; }
    });
    
    // EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/esm/typeof.js
    var esm_typeof = __webpack_require__(8616);
    ;// CONCATENATED MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/esm/toPrimitive.js
    
    function toPrimitive(t, r) {
      if ("object" != (0,esm_typeof/* default */.Z)(t) || !t) return t;
      var e = t[Symbol.toPrimitive];
      if (void 0 !== e) {
        var i = e.call(t, r || "default");
        if ("object" != (0,esm_typeof/* default */.Z)(i)) return i;
        throw new TypeError("@@toPrimitive must return a primitive value.");
      }
      return ("string" === r ? String : Number)(t);
    }
    ;// CONCATENATED MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/esm/toPropertyKey.js
    
    
    function toPropertyKey(t) {
      var i = toPrimitive(t, "string");
      return "symbol" == (0,esm_typeof/* default */.Z)(i) ? i : String(i);
    }
    
    /***/ }),
    
    /***/ 8616:
    /*!**********************************************************************************!*\
      !*** ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/esm/typeof.js ***!
      \**********************************************************************************/
    /***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
    
    "use strict";
    /* harmony export */ __webpack_require__.d(__webpack_exports__, {
    /* harmony export */   Z: function() { return /* binding */ _typeof; }
    /* harmony export */ });
    function _typeof(o) {
      "@babel/helpers - typeof";
    
      return _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;
      }, _typeof(o);
    }
    
    /***/ }),
    
    /***/ 99227:
    /*!******************************************************************************************************************!*\
      !*** ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/esm/unsupportedIterableToArray.js + 1 modules ***!
      \******************************************************************************************************************/
    /***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
    
    "use strict";
    
    // EXPORTS
    __webpack_require__.d(__webpack_exports__, {
      Z: function() { return /* binding */ _unsupportedIterableToArray; }
    });
    
    ;// CONCATENATED MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/esm/arrayLikeToArray.js
    function _arrayLikeToArray(arr, len) {
      if (len == null || len > arr.length) len = arr.length;
      for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
      return arr2;
    }
    ;// CONCATENATED MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/esm/unsupportedIterableToArray.js
    
    function _unsupportedIterableToArray(o, minLen) {
      if (!o) return;
      if (typeof o === "string") return _arrayLikeToArray(o, minLen);
      var n = Object.prototype.toString.call(o).slice(8, -1);
      if (n === "Object" && o.constructor) n = o.constructor.name;
      if (n === "Map" || n === "Set") return Array.from(o);
      if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
    }
    
    /***/ }),
    
    /***/ 13750:
    /*!********************************************************************************************!*\
      !*** ./node_modules/_@babel_runtime@7.28.6@@babel/runtime/helpers/esm/arrayLikeToArray.js ***!
      \********************************************************************************************/
    /***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
    
    "use strict";
    /* harmony export */ __webpack_require__.d(__webpack_exports__, {
    /* harmony export */   Z: function() { return /* binding */ _arrayLikeToArray; }
    /* harmony export */ });
    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;
    }
    
    
    /***/ }),
    
    /***/ 82430:
    /*!******************************************************************************************!*\
      !*** ./node_modules/_@babel_runtime@7.28.6@@babel/runtime/helpers/esm/arrayWithHoles.js ***!
      \******************************************************************************************/
    /***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
    
    "use strict";
    /* harmony export */ __webpack_require__.d(__webpack_exports__, {
    /* harmony export */   Z: function() { return /* binding */ _arrayWithHoles; }
    /* harmony export */ });
    function _arrayWithHoles(r) {
      if (Array.isArray(r)) return r;
    }
    
    
    /***/ }),
    
    /***/ 15793:
    /*!*************************************************************************************************!*\
      !*** ./node_modules/_@babel_runtime@7.28.6@@babel/runtime/helpers/esm/assertThisInitialized.js ***!
      \*************************************************************************************************/
    /***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
    
    "use strict";
    /* harmony export */ __webpack_require__.d(__webpack_exports__, {
    /* harmony export */   Z: function() { return /* binding */ _assertThisInitialized; }
    /* harmony export */ });
    function _assertThisInitialized(e) {
      if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
      return e;
    }
    
    
    /***/ }),
    
    /***/ 11576:
    /*!********************************************************************************************!*\
      !*** ./node_modules/_@babel_runtime@7.28.6@@babel/runtime/helpers/esm/asyncToGenerator.js ***!
      \********************************************************************************************/
    /***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
    
    "use strict";
    /* harmony export */ __webpack_require__.d(__webpack_exports__, {
    /* harmony export */   Z: function() { return /* binding */ _asyncToGenerator; }
    /* harmony export */ });
    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) : Promise.resolve(u).then(r, o);
    }
    function _asyncToGenerator(n) {
      return function () {
        var t = this,
          e = arguments;
        return new 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);
        });
      };
    }
    
    
    /***/ }),
    
    /***/ 38705:
    /*!******************************************************************************************!*\
      !*** ./node_modules/_@babel_runtime@7.28.6@@babel/runtime/helpers/esm/classCallCheck.js ***!
      \******************************************************************************************/
    /***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
    
    "use strict";
    /* harmony export */ __webpack_require__.d(__webpack_exports__, {
    /* harmony export */   Z: function() { return /* binding */ _classCallCheck; }
    /* harmony export */ });
    function _classCallCheck(a, n) {
      if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function");
    }
    
    
    /***/ }),
    
    /***/ 17212:
    /*!***************************************************************************************!*\
      !*** ./node_modules/_@babel_runtime@7.28.6@@babel/runtime/helpers/esm/createClass.js ***!
      \***************************************************************************************/
    /***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
    
    "use strict";
    /* harmony export */ __webpack_require__.d(__webpack_exports__, {
    /* harmony export */   Z: function() { return /* binding */ _createClass; }
    /* harmony export */ });
    /* harmony import */ var _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./toPropertyKey.js */ 73177);
    
    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.defineProperty(e, (0,_toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(o.key), o);
      }
    }
    function _createClass(e, r, t) {
      return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", {
        writable: !1
      }), e;
    }
    
    
    /***/ }),
    
    /***/ 71518:
    /*!***************************************************************************************************!*\
      !*** ./node_modules/_@babel_runtime@7.28.6@@babel/runtime/helpers/esm/createSuper.js + 1 modules ***!
      \***************************************************************************************************/
    /***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
    
    "use strict";
    
    // EXPORTS
    __webpack_require__.d(__webpack_exports__, {
      Z: function() { return /* binding */ _createSuper; }
    });
    
    // EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.28.6@@babel/runtime/helpers/esm/getPrototypeOf.js
    var getPrototypeOf = __webpack_require__(38882);
    ;// CONCATENATED MODULE: ./node_modules/_@babel_runtime@7.28.6@@babel/runtime/helpers/esm/isNativeReflectConstruct.js
    function _isNativeReflectConstruct() {
      try {
        var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
      } catch (t) {}
      return (_isNativeReflectConstruct = function _isNativeReflectConstruct() {
        return !!t;
      })();
    }
    
    // EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.28.6@@babel/runtime/helpers/esm/possibleConstructorReturn.js
    var possibleConstructorReturn = __webpack_require__(51296);
    ;// CONCATENATED MODULE: ./node_modules/_@babel_runtime@7.28.6@@babel/runtime/helpers/esm/createSuper.js
    
    
    
    function _createSuper(t) {
      var r = _isNativeReflectConstruct();
      return function () {
        var e,
          o = (0,getPrototypeOf/* default */.Z)(t);
        if (r) {
          var s = (0,getPrototypeOf/* default */.Z)(this).constructor;
          e = Reflect.construct(o, arguments, s);
        } else e = o.apply(this, arguments);
        return (0,possibleConstructorReturn/* default */.Z)(this, e);
      };
    }
    
    
    /***/ }),
    
    /***/ 18642:
    /*!******************************************************************************************!*\
      !*** ./node_modules/_@babel_runtime@7.28.6@@babel/runtime/helpers/esm/defineProperty.js ***!
      \******************************************************************************************/
    /***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
    
    "use strict";
    /* harmony export */ __webpack_require__.d(__webpack_exports__, {
    /* harmony export */   Z: function() { return /* binding */ _defineProperty; }
    /* harmony export */ });
    /* harmony import */ var _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./toPropertyKey.js */ 73177);
    
    function _defineProperty(e, r, t) {
      return (r = (0,_toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(r)) in e ? Object.defineProperty(e, r, {
        value: t,
        enumerable: !0,
        configurable: !0,
        writable: !0
      }) : e[r] = t, e;
    }
    
    
    /***/ }),
    
    /***/ 60499:
    /*!***********************************************************************************!*\
      !*** ./node_modules/_@babel_runtime@7.28.6@@babel/runtime/helpers/esm/extends.js ***!
      \***********************************************************************************/
    /***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
    
    "use strict";
    /* harmony export */ __webpack_require__.d(__webpack_exports__, {
    /* harmony export */   Z: function() { return /* binding */ _extends; }
    /* harmony export */ });
    function _extends() {
      return _extends = Object.assign ? Object.assign.bind() : function (n) {
        for (var e = 1; e < arguments.length; e++) {
          var t = arguments[e];
          for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
        }
        return n;
      }, _extends.apply(null, arguments);
    }
    
    
    /***/ }),
    
    /***/ 38882:
    /*!******************************************************************************************!*\
      !*** ./node_modules/_@babel_runtime@7.28.6@@babel/runtime/helpers/esm/getPrototypeOf.js ***!
      \******************************************************************************************/
    /***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
    
    "use strict";
    /* harmony export */ __webpack_require__.d(__webpack_exports__, {
    /* harmony export */   Z: function() { return /* binding */ _getPrototypeOf; }
    /* harmony export */ });
    function _getPrototypeOf(t) {
      return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) {
        return t.__proto__ || Object.getPrototypeOf(t);
      }, _getPrototypeOf(t);
    }
    
    
    /***/ }),
    
    /***/ 39153:
    /*!************************************************************************************!*\
      !*** ./node_modules/_@babel_runtime@7.28.6@@babel/runtime/helpers/esm/inherits.js ***!
      \************************************************************************************/
    /***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
    
    "use strict";
    /* harmony export */ __webpack_require__.d(__webpack_exports__, {
    /* harmony export */   Z: function() { return /* binding */ _inherits; }
    /* harmony export */ });
    /* harmony import */ var _setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./setPrototypeOf.js */ 29658);
    
    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.defineProperty(t, "prototype", {
        writable: !1
      }), e && (0,_setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(t, e);
    }
    
    
    /***/ }),
    
    /***/ 43835:
    /*!*******************************************************************************************!*\
      !*** ./node_modules/_@babel_runtime@7.28.6@@babel/runtime/helpers/esm/iterableToArray.js ***!
      \*******************************************************************************************/
    /***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
    
    "use strict";
    /* harmony export */ __webpack_require__.d(__webpack_exports__, {
    /* harmony export */   Z: function() { return /* binding */ _iterableToArray; }
    /* harmony export */ });
    function _iterableToArray(r) {
      if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r);
    }
    
    
    /***/ }),
    
    /***/ 42821:
    /*!*******************************************************************************************!*\
      !*** ./node_modules/_@babel_runtime@7.28.6@@babel/runtime/helpers/esm/nonIterableRest.js ***!
      \*******************************************************************************************/
    /***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
    
    "use strict";
    /* harmony export */ __webpack_require__.d(__webpack_exports__, {
    /* harmony export */   Z: function() { return /* binding */ _nonIterableRest; }
    /* harmony export */ });
    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.");
    }
    
    
    /***/ }),
    
    /***/ 53885:
    /*!****************************************************************************************!*\
      !*** ./node_modules/_@babel_runtime@7.28.6@@babel/runtime/helpers/esm/objectSpread.js ***!
      \****************************************************************************************/
    /***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
    
    "use strict";
    /* harmony export */ __webpack_require__.d(__webpack_exports__, {
    /* harmony export */   Z: function() { return /* binding */ _objectSpread; }
    /* harmony export */ });
    /* harmony import */ var _defineProperty_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./defineProperty.js */ 18642);
    
    function _objectSpread(e) {
      for (var r = 1; r < arguments.length; r++) {
        var t = null != arguments[r] ? Object(arguments[r]) : {},
          o = Object.keys(t);
        "function" == typeof Object.getOwnPropertySymbols && o.push.apply(o, Object.getOwnPropertySymbols(t).filter(function (e) {
          return Object.getOwnPropertyDescriptor(t, e).enumerable;
        })), o.forEach(function (r) {
          (0,_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(e, r, t[r]);
        });
      }
      return e;
    }
    
    
    /***/ }),
    
    /***/ 85899:
    /*!*****************************************************************************************!*\
      !*** ./node_modules/_@babel_runtime@7.28.6@@babel/runtime/helpers/esm/objectSpread2.js ***!
      \*****************************************************************************************/
    /***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
    
    "use strict";
    /* harmony export */ __webpack_require__.d(__webpack_exports__, {
    /* harmony export */   Z: function() { return /* binding */ _objectSpread2; }
    /* harmony export */ });
    /* harmony import */ var _defineProperty_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./defineProperty.js */ 18642);
    
    function ownKeys(e, r) {
      var t = Object.keys(e);
      if (Object.getOwnPropertySymbols) {
        var o = Object.getOwnPropertySymbols(e);
        r && (o = o.filter(function (r) {
          return Object.getOwnPropertyDescriptor(e, r).enumerable;
        })), t.push.apply(t, o);
      }
      return t;
    }
    function _objectSpread2(e) {
      for (var r = 1; r < arguments.length; r++) {
        var t = null != arguments[r] ? arguments[r] : {};
        r % 2 ? ownKeys(Object(t), !0).forEach(function (r) {
          (0,_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(e, r, t[r]);
        }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) {
          Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));
        });
      }
      return e;
    }
    
    
    /***/ }),
    
    /***/ 42244:
    /*!***************************************************************************************************!*\
      !*** ./node_modules/_@babel_runtime@7.28.6@@babel/runtime/helpers/esm/objectWithoutProperties.js ***!
      \***************************************************************************************************/
    /***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
    
    "use strict";
    /* harmony export */ __webpack_require__.d(__webpack_exports__, {
    /* harmony export */   Z: function() { return /* binding */ _objectWithoutProperties; }
    /* harmony export */ });
    /* harmony import */ var _objectWithoutPropertiesLoose_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./objectWithoutPropertiesLoose.js */ 69010);
    
    function _objectWithoutProperties(e, t) {
      if (null == e) return {};
      var o,
        r,
        i = (0,_objectWithoutPropertiesLoose_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(e, t);
      if (Object.getOwnPropertySymbols) {
        var n = Object.getOwnPropertySymbols(e);
        for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]);
      }
      return i;
    }
    
    
    /***/ }),
    
    /***/ 69010:
    /*!********************************************************************************************************!*\
      !*** ./node_modules/_@babel_runtime@7.28.6@@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js ***!
      \********************************************************************************************************/
    /***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
    
    "use strict";
    /* harmony export */ __webpack_require__.d(__webpack_exports__, {
    /* harmony export */   Z: function() { return /* binding */ _objectWithoutPropertiesLoose; }
    /* harmony export */ });
    function _objectWithoutPropertiesLoose(r, e) {
      if (null == r) return {};
      var t = {};
      for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
        if (-1 !== e.indexOf(n)) continue;
        t[n] = r[n];
      }
      return t;
    }
    
    
    /***/ }),
    
    /***/ 51296:
    /*!*****************************************************************************************************!*\
      !*** ./node_modules/_@babel_runtime@7.28.6@@babel/runtime/helpers/esm/possibleConstructorReturn.js ***!
      \*****************************************************************************************************/
    /***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
    
    "use strict";
    /* harmony export */ __webpack_require__.d(__webpack_exports__, {
    /* harmony export */   Z: function() { return /* binding */ _possibleConstructorReturn; }
    /* harmony export */ });
    /* harmony import */ var _typeof_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./typeof.js */ 43749);
    /* harmony import */ var _assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./assertThisInitialized.js */ 15793);
    
    
    function _possibleConstructorReturn(t, e) {
      if (e && ("object" == (0,_typeof_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(e) || "function" == typeof e)) return e;
      if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined");
      return (0,_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(t);
    }
    
    
    /***/ }),
    
    /***/ 73001:
    /*!**********************************************************************************************************!*\
      !*** ./node_modules/_@babel_runtime@7.28.6@@babel/runtime/helpers/esm/regeneratorRuntime.js + 8 modules ***!
      \**********************************************************************************************************/
    /***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
    
    "use strict";
    
    // EXPORTS
    __webpack_require__.d(__webpack_exports__, {
      Z: function() { return /* binding */ _regeneratorRuntime; }
    });
    
    ;// CONCATENATED MODULE: ./node_modules/_@babel_runtime@7.28.6@@babel/runtime/helpers/esm/OverloadYield.js
    function _OverloadYield(e, d) {
      this.v = e, this.k = d;
    }
    
    ;// CONCATENATED MODULE: ./node_modules/_@babel_runtime@7.28.6@@babel/runtime/helpers/esm/regeneratorDefine.js
    function _regeneratorDefine(e, r, n, t) {
      var i = Object.defineProperty;
      try {
        i({}, "", {});
      } catch (e) {
        i = 0;
      }
      _regeneratorDefine = function regeneratorDefine(e, r, n, t) {
        function o(r, n) {
          _regeneratorDefine(e, r, function (e) {
            return this._invoke(r, n, e);
          });
        }
        r ? i ? i(e, r, {
          value: n,
          enumerable: !t,
          configurable: !t,
          writable: !t
        }) : e[r] = n : (o("next", 0), o("throw", 1), o("return", 2));
      }, _regeneratorDefine(e, r, n, t);
    }
    
    ;// CONCATENATED MODULE: ./node_modules/_@babel_runtime@7.28.6@@babel/runtime/helpers/esm/regenerator.js
    
    function _regenerator() {
      /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */
      var e,
        t,
        r = "function" == typeof Symbol ? Symbol : {},
        n = r.iterator || "@@iterator",
        o = r.toStringTag || "@@toStringTag";
      function i(r, n, o, i) {
        var c = n && n.prototype instanceof Generator ? n : Generator,
          u = Object.create(c.prototype);
        return _regeneratorDefine(u, "_invoke", function (r, n, o) {
          var i,
            c,
            u,
            f = 0,
            p = o || [],
            y = !1,
            G = {
              p: 0,
              n: 0,
              v: e,
              a: d,
              f: d.bind(e, 4),
              d: function d(t, r) {
                return i = t, c = 0, u = e, G.n = r, a;
              }
            };
          function d(r, n) {
            for (c = r, u = n, t = 0; !y && f && !o && t < p.length; t++) {
              var o,
                i = p[t],
                d = G.p,
                l = i[2];
              r > 3 ? (o = l === n) && (u = i[(c = i[4]) ? 5 : (c = 3, 3)], i[4] = i[5] = e) : i[0] <= d && ((o = r < 2 && d < i[1]) ? (c = 0, G.v = n, G.n = i[1]) : d < l && (o = r < 3 || i[0] > n || n > l) && (i[4] = r, i[5] = n, G.n = l, c = 0));
            }
            if (o || r > 1) return a;
            throw y = !0, n;
          }
          return function (o, p, l) {
            if (f > 1) throw TypeError("Generator is already running");
            for (y && 1 === p && d(p, l), c = p, u = l; (t = c < 2 ? e : u) || !y;) {
              i || (c ? c < 3 ? (c > 1 && (G.n = -1), d(c, u)) : G.n = u : G.v = u);
              try {
                if (f = 2, i) {
                  if (c || (o = "next"), t = i[o]) {
                    if (!(t = t.call(i, u))) throw TypeError("iterator result is not an object");
                    if (!t.done) return t;
                    u = t.value, c < 2 && (c = 0);
                  } else 1 === c && (t = i["return"]) && t.call(i), c < 2 && (u = TypeError("The iterator does not provide a '" + o + "' method"), c = 1);
                  i = e;
                } else if ((t = (y = G.n < 0) ? u : r.call(n, G)) !== a) break;
              } catch (t) {
                i = e, c = 1, u = t;
              } finally {
                f = 1;
              }
            }
            return {
              value: t,
              done: y
            };
          };
        }(r, o, i), !0), u;
      }
      var a = {};
      function Generator() {}
      function GeneratorFunction() {}
      function GeneratorFunctionPrototype() {}
      t = Object.getPrototypeOf;
      var c = [][n] ? t(t([][n]())) : (_regeneratorDefine(t = {}, n, function () {
          return this;
        }), t),
        u = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(c);
      function f(e) {
        return Object.setPrototypeOf ? Object.setPrototypeOf(e, GeneratorFunctionPrototype) : (e.__proto__ = GeneratorFunctionPrototype, _regeneratorDefine(e, o, "GeneratorFunction")), e.prototype = Object.create(u), e;
      }
      return GeneratorFunction.prototype = GeneratorFunctionPrototype, _regeneratorDefine(u, "constructor", GeneratorFunctionPrototype), _regeneratorDefine(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = "GeneratorFunction", _regeneratorDefine(GeneratorFunctionPrototype, o, "GeneratorFunction"), _regeneratorDefine(u), _regeneratorDefine(u, o, "Generator"), _regeneratorDefine(u, n, function () {
        return this;
      }), _regeneratorDefine(u, "toString", function () {
        return "[object Generator]";
      }), (_regenerator = function _regenerator() {
        return {
          w: i,
          m: f
        };
      })();
    }
    
    ;// CONCATENATED MODULE: ./node_modules/_@babel_runtime@7.28.6@@babel/runtime/helpers/esm/regeneratorAsyncIterator.js
    
    
    function AsyncIterator(t, e) {
      function n(r, o, i, f) {
        try {
          var c = t[r](o),
            u = c.value;
          return u instanceof _OverloadYield ? e.resolve(u.v).then(function (t) {
            n("next", t, i, f);
          }, function (t) {
            n("throw", t, i, f);
          }) : e.resolve(u).then(function (t) {
            c.value = t, i(c);
          }, function (t) {
            return n("throw", t, i, f);
          });
        } catch (t) {
          f(t);
        }
      }
      var r;
      this.next || (_regeneratorDefine(AsyncIterator.prototype), _regeneratorDefine(AsyncIterator.prototype, "function" == typeof Symbol && Symbol.asyncIterator || "@asyncIterator", function () {
        return this;
      })), _regeneratorDefine(this, "_invoke", function (t, o, i) {
        function f() {
          return new e(function (e, r) {
            n(t, i, e, r);
          });
        }
        return r = r ? r.then(f, f) : f();
      }, !0);
    }
    
    ;// CONCATENATED MODULE: ./node_modules/_@babel_runtime@7.28.6@@babel/runtime/helpers/esm/regeneratorAsyncGen.js
    
    
    function _regeneratorAsyncGen(r, e, t, o, n) {
      return new AsyncIterator(_regenerator().w(r, e, t, o), n || Promise);
    }
    
    ;// CONCATENATED MODULE: ./node_modules/_@babel_runtime@7.28.6@@babel/runtime/helpers/esm/regeneratorAsync.js
    
    function _regeneratorAsync(n, e, r, t, o) {
      var a = _regeneratorAsyncGen(n, e, r, t, o);
      return a.next().then(function (n) {
        return n.done ? n.value : a.next();
      });
    }
    
    ;// CONCATENATED MODULE: ./node_modules/_@babel_runtime@7.28.6@@babel/runtime/helpers/esm/regeneratorKeys.js
    function _regeneratorKeys(e) {
      var n = Object(e),
        r = [];
      for (var t in n) r.unshift(t);
      return function e() {
        for (; r.length;) if ((t = r.pop()) in n) return e.value = t, e.done = !1, e;
        return e.done = !0, e;
      };
    }
    
    // EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.28.6@@babel/runtime/helpers/esm/typeof.js
    var esm_typeof = __webpack_require__(43749);
    ;// CONCATENATED MODULE: ./node_modules/_@babel_runtime@7.28.6@@babel/runtime/helpers/esm/regeneratorValues.js
    
    function _regeneratorValues(e) {
      if (null != e) {
        var t = e["function" == typeof Symbol && Symbol.iterator || "@@iterator"],
          r = 0;
        if (t) return t.call(e);
        if ("function" == typeof e.next) return e;
        if (!isNaN(e.length)) return {
          next: function next() {
            return e && r >= e.length && (e = void 0), {
              value: e && e[r++],
              done: !e
            };
          }
        };
      }
      throw new TypeError((0,esm_typeof/* default */.Z)(e) + " is not iterable");
    }
    
    ;// CONCATENATED MODULE: ./node_modules/_@babel_runtime@7.28.6@@babel/runtime/helpers/esm/regeneratorRuntime.js
    
    
    
    
    
    
    
    function _regeneratorRuntime() {
      "use strict";
    
      var r = _regenerator(),
        e = r.m(_regeneratorRuntime),
        t = (Object.getPrototypeOf ? Object.getPrototypeOf(e) : e.__proto__).constructor;
      function n(r) {
        var e = "function" == typeof r && r.constructor;
        return !!e && (e === t || "GeneratorFunction" === (e.displayName || e.name));
      }
      var o = {
        "throw": 1,
        "return": 2,
        "break": 3,
        "continue": 3
      };
      function a(r) {
        var e, t;
        return function (n) {
          e || (e = {
            stop: function stop() {
              return t(n.a, 2);
            },
            "catch": function _catch() {
              return n.v;
            },
            abrupt: function abrupt(r, e) {
              return t(n.a, o[r], e);
            },
            delegateYield: function delegateYield(r, o, a) {
              return e.resultName = o, t(n.d, _regeneratorValues(r), a);
            },
            finish: function finish(r) {
              return t(n.f, r);
            }
          }, t = function t(r, _t, o) {
            n.p = e.prev, n.n = e.next;
            try {
              return r(_t, o);
            } finally {
              e.next = n.n;
            }
          }), e.resultName && (e[e.resultName] = n.v, e.resultName = void 0), e.sent = n.v, e.next = n.n;
          try {
            return r.call(this, e);
          } finally {
            n.p = e.prev, n.n = e.next;
          }
        };
      }
      return (_regeneratorRuntime = function _regeneratorRuntime() {
        return {
          wrap: function wrap(e, t, n, o) {
            return r.w(a(e), t, n, o && o.reverse());
          },
          isGeneratorFunction: n,
          mark: r.m,
          awrap: function awrap(r, e) {
            return new _OverloadYield(r, e);
          },
          AsyncIterator: AsyncIterator,
          async: function async(r, e, t, o, u) {
            return (n(e) ? _regeneratorAsyncGen : _regeneratorAsync)(a(r), e, t, o, u);
          },
          keys: _regeneratorKeys,
          values: _regeneratorValues
        };
      })();
    }
    
    
    /***/ }),
    
    /***/ 29658:
    /*!******************************************************************************************!*\
      !*** ./node_modules/_@babel_runtime@7.28.6@@babel/runtime/helpers/esm/setPrototypeOf.js ***!
      \******************************************************************************************/
    /***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
    
    "use strict";
    /* harmony export */ __webpack_require__.d(__webpack_exports__, {
    /* harmony export */   Z: function() { return /* binding */ _setPrototypeOf; }
    /* harmony export */ });
    function _setPrototypeOf(t, e) {
      return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) {
        return t.__proto__ = e, t;
      }, _setPrototypeOf(t, e);
    }
    
    
    /***/ }),
    
    /***/ 72190:
    /*!*****************************************************************************************************!*\
      !*** ./node_modules/_@babel_runtime@7.28.6@@babel/runtime/helpers/esm/slicedToArray.js + 1 modules ***!
      \*****************************************************************************************************/
    /***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
    
    "use strict";
    
    // EXPORTS
    __webpack_require__.d(__webpack_exports__, {
      Z: function() { return /* binding */ _slicedToArray; }
    });
    
    // EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.28.6@@babel/runtime/helpers/esm/arrayWithHoles.js
    var arrayWithHoles = __webpack_require__(82430);
    ;// CONCATENATED MODULE: ./node_modules/_@babel_runtime@7.28.6@@babel/runtime/helpers/esm/iterableToArrayLimit.js
    function _iterableToArrayLimit(r, l) {
      var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || 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) && (a.push(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;
      }
    }
    
    // EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.28.6@@babel/runtime/helpers/esm/unsupportedIterableToArray.js
    var unsupportedIterableToArray = __webpack_require__(68688);
    // EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.28.6@@babel/runtime/helpers/esm/nonIterableRest.js
    var nonIterableRest = __webpack_require__(42821);
    ;// CONCATENATED MODULE: ./node_modules/_@babel_runtime@7.28.6@@babel/runtime/helpers/esm/slicedToArray.js
    
    
    
    
    function _slicedToArray(r, e) {
      return (0,arrayWithHoles/* default */.Z)(r) || _iterableToArrayLimit(r, e) || (0,unsupportedIterableToArray/* default */.Z)(r, e) || (0,nonIterableRest/* default */.Z)();
    }
    
    
    /***/ }),
    
    /***/ 48745:
    /*!***********************************************************************************!*\
      !*** ./node_modules/_@babel_runtime@7.28.6@@babel/runtime/helpers/esm/toArray.js ***!
      \***********************************************************************************/
    /***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
    
    "use strict";
    /* harmony export */ __webpack_require__.d(__webpack_exports__, {
    /* harmony export */   Z: function() { return /* binding */ _toArray; }
    /* harmony export */ });
    /* harmony import */ var _arrayWithHoles_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./arrayWithHoles.js */ 82430);
    /* harmony import */ var _iterableToArray_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./iterableToArray.js */ 43835);
    /* harmony import */ var _unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./unsupportedIterableToArray.js */ 68688);
    /* harmony import */ var _nonIterableRest_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./nonIterableRest.js */ 42821);
    
    
    
    
    function _toArray(r) {
      return (0,_arrayWithHoles_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(r) || (0,_iterableToArray_js__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(r) || (0,_unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(r) || (0,_nonIterableRest_js__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)();
    }
    
    
    /***/ }),
    
    /***/ 77654:
    /*!*********************************************************************************************************!*\
      !*** ./node_modules/_@babel_runtime@7.28.6@@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules ***!
      \*********************************************************************************************************/
    /***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
    
    "use strict";
    
    // EXPORTS
    __webpack_require__.d(__webpack_exports__, {
      Z: function() { return /* binding */ _toConsumableArray; }
    });
    
    // EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.28.6@@babel/runtime/helpers/esm/arrayLikeToArray.js
    var arrayLikeToArray = __webpack_require__(13750);
    ;// CONCATENATED MODULE: ./node_modules/_@babel_runtime@7.28.6@@babel/runtime/helpers/esm/arrayWithoutHoles.js
    
    function _arrayWithoutHoles(r) {
      if (Array.isArray(r)) return (0,arrayLikeToArray/* default */.Z)(r);
    }
    
    // EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.28.6@@babel/runtime/helpers/esm/iterableToArray.js
    var iterableToArray = __webpack_require__(43835);
    // EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.28.6@@babel/runtime/helpers/esm/unsupportedIterableToArray.js
    var unsupportedIterableToArray = __webpack_require__(68688);
    ;// CONCATENATED MODULE: ./node_modules/_@babel_runtime@7.28.6@@babel/runtime/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.");
    }
    
    ;// CONCATENATED MODULE: ./node_modules/_@babel_runtime@7.28.6@@babel/runtime/helpers/esm/toConsumableArray.js
    
    
    
    
    function _toConsumableArray(r) {
      return _arrayWithoutHoles(r) || (0,iterableToArray/* default */.Z)(r) || (0,unsupportedIterableToArray/* default */.Z)(r) || _nonIterableSpread();
    }
    
    
    /***/ }),
    
    /***/ 73177:
    /*!*****************************************************************************************************!*\
      !*** ./node_modules/_@babel_runtime@7.28.6@@babel/runtime/helpers/esm/toPropertyKey.js + 1 modules ***!
      \*****************************************************************************************************/
    /***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
    
    "use strict";
    
    // EXPORTS
    __webpack_require__.d(__webpack_exports__, {
      Z: function() { return /* binding */ toPropertyKey; }
    });
    
    // EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.28.6@@babel/runtime/helpers/esm/typeof.js
    var esm_typeof = __webpack_require__(43749);
    ;// CONCATENATED MODULE: ./node_modules/_@babel_runtime@7.28.6@@babel/runtime/helpers/esm/toPrimitive.js
    
    function toPrimitive(t, r) {
      if ("object" != (0,esm_typeof/* default */.Z)(t) || !t) return t;
      var e = t[Symbol.toPrimitive];
      if (void 0 !== e) {
        var i = e.call(t, r || "default");
        if ("object" != (0,esm_typeof/* default */.Z)(i)) return i;
        throw new TypeError("@@toPrimitive must return a primitive value.");
      }
      return ("string" === r ? String : Number)(t);
    }
    
    ;// CONCATENATED MODULE: ./node_modules/_@babel_runtime@7.28.6@@babel/runtime/helpers/esm/toPropertyKey.js
    
    
    function toPropertyKey(t) {
      var i = toPrimitive(t, "string");
      return "symbol" == (0,esm_typeof/* default */.Z)(i) ? i : i + "";
    }
    
    
    /***/ }),
    
    /***/ 43749:
    /*!**********************************************************************************!*\
      !*** ./node_modules/_@babel_runtime@7.28.6@@babel/runtime/helpers/esm/typeof.js ***!
      \**********************************************************************************/
    /***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
    
    "use strict";
    /* harmony export */ __webpack_require__.d(__webpack_exports__, {
    /* harmony export */   Z: function() { return /* binding */ _typeof; }
    /* harmony export */ });
    function _typeof(o) {
      "@babel/helpers - typeof";
    
      return _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;
      }, _typeof(o);
    }
    
    
    /***/ }),
    
    /***/ 68688:
    /*!******************************************************************************************************!*\
      !*** ./node_modules/_@babel_runtime@7.28.6@@babel/runtime/helpers/esm/unsupportedIterableToArray.js ***!
      \******************************************************************************************************/
    /***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
    
    "use strict";
    /* harmony export */ __webpack_require__.d(__webpack_exports__, {
    /* harmony export */   Z: function() { return /* binding */ _unsupportedIterableToArray; }
    /* harmony export */ });
    /* harmony import */ var _arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./arrayLikeToArray.js */ 13750);
    
    function _unsupportedIterableToArray(r, a) {
      if (r) {
        if ("string" == typeof r) return (0,_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(r, a);
        var t = {}.toString.call(r).slice(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) ? (0,_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(r, a) : void 0;
      }
    }
    
    
    /***/ }),
    
    /***/ 16471:
    /*!*********************************************************!*\
      !*** ./node_modules/_hls.js@1.6.15@hls.js/dist/hls.mjs ***!
      \*********************************************************/
    /***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
    
    "use strict";
    /* harmony export */ __webpack_require__.d(__webpack_exports__, {
    /* harmony export */   ZP: function() { return /* binding */ Hls; }
    /* harmony export */ });
    /* unused harmony exports AbrController, AttrList, AudioStreamController, AudioTrackController, BasePlaylistController, BaseSegment, BaseStreamController, BufferController, CMCDController, CapLevelController, ChunkMetadata, ContentSteeringController, Cues, DateRange, EMEController, ErrorActionFlags, ErrorController, ErrorDetails, ErrorTypes, Events, FPSController, FetchLoader, Fragment, Hls, HlsSkip, HlsUrlParameters, KeySystemFormats, KeySystems, Level, LevelDetails, LevelKey, LoadStats, M3U8Parser, MetadataSchema, NetworkErrorAction, Part, PlaylistLevelType, SubtitleStreamController, SubtitleTrackController, TimelineController, XhrLoader, fetchSupported, getMediaSource, isMSESupported, isSupported, requestMediaKeySystemAccess */
    // https://caniuse.com/mdn-javascript_builtins_number_isfinite
    const isFiniteNumber = Number.isFinite || function (value) {
      return typeof value === 'number' && isFinite(value);
    };
    
    // https://caniuse.com/mdn-javascript_builtins_number_issafeinteger
    const isSafeInteger = Number.isSafeInteger || function (value) {
      return typeof value === 'number' && Math.abs(value) <= MAX_SAFE_INTEGER;
    };
    const MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER || 9007199254740991;
    
    let ErrorTypes = /*#__PURE__*/function (ErrorTypes) {
      // Identifier for a network error (loading error / timeout ...)
      ErrorTypes["NETWORK_ERROR"] = "networkError";
      // Identifier for a media Error (video/parsing/mediasource error)
      ErrorTypes["MEDIA_ERROR"] = "mediaError";
      // EME (encrypted media extensions) errors
      ErrorTypes["KEY_SYSTEM_ERROR"] = "keySystemError";
      // Identifier for a mux Error (demuxing/remuxing)
      ErrorTypes["MUX_ERROR"] = "muxError";
      // Identifier for all other errors
      ErrorTypes["OTHER_ERROR"] = "otherError";
      return ErrorTypes;
    }({});
    let ErrorDetails = /*#__PURE__*/function (ErrorDetails) {
      ErrorDetails["KEY_SYSTEM_NO_KEYS"] = "keySystemNoKeys";
      ErrorDetails["KEY_SYSTEM_NO_ACCESS"] = "keySystemNoAccess";
      ErrorDetails["KEY_SYSTEM_NO_SESSION"] = "keySystemNoSession";
      ErrorDetails["KEY_SYSTEM_NO_CONFIGURED_LICENSE"] = "keySystemNoConfiguredLicense";
      ErrorDetails["KEY_SYSTEM_LICENSE_REQUEST_FAILED"] = "keySystemLicenseRequestFailed";
      ErrorDetails["KEY_SYSTEM_SERVER_CERTIFICATE_REQUEST_FAILED"] = "keySystemServerCertificateRequestFailed";
      ErrorDetails["KEY_SYSTEM_SERVER_CERTIFICATE_UPDATE_FAILED"] = "keySystemServerCertificateUpdateFailed";
      ErrorDetails["KEY_SYSTEM_SESSION_UPDATE_FAILED"] = "keySystemSessionUpdateFailed";
      ErrorDetails["KEY_SYSTEM_STATUS_OUTPUT_RESTRICTED"] = "keySystemStatusOutputRestricted";
      ErrorDetails["KEY_SYSTEM_STATUS_INTERNAL_ERROR"] = "keySystemStatusInternalError";
      ErrorDetails["KEY_SYSTEM_DESTROY_MEDIA_KEYS_ERROR"] = "keySystemDestroyMediaKeysError";
      ErrorDetails["KEY_SYSTEM_DESTROY_CLOSE_SESSION_ERROR"] = "keySystemDestroyCloseSessionError";
      ErrorDetails["KEY_SYSTEM_DESTROY_REMOVE_SESSION_ERROR"] = "keySystemDestroyRemoveSessionError";
      // Identifier for a manifest load error - data: { url : faulty URL, response : { code: error code, text: error text }}
      ErrorDetails["MANIFEST_LOAD_ERROR"] = "manifestLoadError";
      // Identifier for a manifest load timeout - data: { url : faulty URL, response : { code: error code, text: error text }}
      ErrorDetails["MANIFEST_LOAD_TIMEOUT"] = "manifestLoadTimeOut";
      // Identifier for a manifest parsing error - data: { url : faulty URL, reason : error reason}
      ErrorDetails["MANIFEST_PARSING_ERROR"] = "manifestParsingError";
      // Identifier for a manifest with only incompatible codecs error - data: { url : faulty URL, reason : error reason}
      ErrorDetails["MANIFEST_INCOMPATIBLE_CODECS_ERROR"] = "manifestIncompatibleCodecsError";
      // Identifier for a level which contains no fragments - data: { url: faulty URL, reason: "no fragments found in level", level: index of the bad level }
      ErrorDetails["LEVEL_EMPTY_ERROR"] = "levelEmptyError";
      // Identifier for a level load error - data: { url : faulty URL, response : { code: error code, text: error text }}
      ErrorDetails["LEVEL_LOAD_ERROR"] = "levelLoadError";
      // Identifier for a level load timeout - data: { url : faulty URL, response : { code: error code, text: error text }}
      ErrorDetails["LEVEL_LOAD_TIMEOUT"] = "levelLoadTimeOut";
      // Identifier for a level parse error - data: { url : faulty URL, error: Error, reason: error message }
      ErrorDetails["LEVEL_PARSING_ERROR"] = "levelParsingError";
      // Identifier for a level switch error - data: { level : faulty level Id, event : error description}
      ErrorDetails["LEVEL_SWITCH_ERROR"] = "levelSwitchError";
      // Identifier for an audio track load error - data: { url : faulty URL, response : { code: error code, text: error text }}
      ErrorDetails["AUDIO_TRACK_LOAD_ERROR"] = "audioTrackLoadError";
      // Identifier for an audio track load timeout - data: { url : faulty URL, response : { code: error code, text: error text }}
      ErrorDetails["AUDIO_TRACK_LOAD_TIMEOUT"] = "audioTrackLoadTimeOut";
      // Identifier for a subtitle track load error - data: { url : faulty URL, response : { code: error code, text: error text }}
      ErrorDetails["SUBTITLE_LOAD_ERROR"] = "subtitleTrackLoadError";
      // Identifier for a subtitle track load timeout - data: { url : faulty URL, response : { code: error code, text: error text }}
      ErrorDetails["SUBTITLE_TRACK_LOAD_TIMEOUT"] = "subtitleTrackLoadTimeOut";
      // Identifier for fragment load error - data: { frag : fragment object, response : { code: error code, text: error text }}
      ErrorDetails["FRAG_LOAD_ERROR"] = "fragLoadError";
      // Identifier for fragment load timeout error - data: { frag : fragment object}
      ErrorDetails["FRAG_LOAD_TIMEOUT"] = "fragLoadTimeOut";
      // Identifier for a fragment decryption error event - data: {id : demuxer Id,frag: fragment object, reason : parsing error description }
      ErrorDetails["FRAG_DECRYPT_ERROR"] = "fragDecryptError";
      // Identifier for a fragment parsing error event - data: { id : demuxer Id, reason : parsing error description }
      // will be renamed DEMUX_PARSING_ERROR and switched to MUX_ERROR in the next major release
      ErrorDetails["FRAG_PARSING_ERROR"] = "fragParsingError";
      // Identifier for a fragment or part load skipped because of a GAP tag or attribute
      ErrorDetails["FRAG_GAP"] = "fragGap";
      // Identifier for a remux alloc error event - data: { id : demuxer Id, frag : fragment object, bytes : nb of bytes on which allocation failed , reason : error text }
      ErrorDetails["REMUX_ALLOC_ERROR"] = "remuxAllocError";
      // Identifier for decrypt key load error - data: { frag : fragment object, response : { code: error code, text: error text }}
      ErrorDetails["KEY_LOAD_ERROR"] = "keyLoadError";
      // Identifier for decrypt key load timeout error - data: { frag : fragment object}
      ErrorDetails["KEY_LOAD_TIMEOUT"] = "keyLoadTimeOut";
      // Triggered when an exception occurs while adding a sourceBuffer to MediaSource - data : { error : exception , mimeType : mimeType }
      ErrorDetails["BUFFER_ADD_CODEC_ERROR"] = "bufferAddCodecError";
      // Triggered when source buffer(s) could not be created using level (manifest CODECS attribute), parsed media, or best guess codec(s) - data: { reason : error reason }
      ErrorDetails["BUFFER_INCOMPATIBLE_CODECS_ERROR"] = "bufferIncompatibleCodecsError";
      // Identifier for a buffer append error - data: append error description
      ErrorDetails["BUFFER_APPEND_ERROR"] = "bufferAppendError";
      // Identifier for a buffer appending error event - data: appending error description
      ErrorDetails["BUFFER_APPENDING_ERROR"] = "bufferAppendingError";
      // Identifier for a buffer stalled error event
      ErrorDetails["BUFFER_STALLED_ERROR"] = "bufferStalledError";
      // Identifier for a buffer full event
      ErrorDetails["BUFFER_FULL_ERROR"] = "bufferFullError";
      // Identifier for a buffer seek over hole event
      ErrorDetails["BUFFER_SEEK_OVER_HOLE"] = "bufferSeekOverHole";
      // Identifier for a buffer nudge on stall (playback is stuck although currentTime is in a buffered area)
      ErrorDetails["BUFFER_NUDGE_ON_STALL"] = "bufferNudgeOnStall";
      // Identifier for a Interstitial Asset List load error - data: { url: faulty URL, response: { code: error code, text: error text } }
      ErrorDetails["ASSET_LIST_LOAD_ERROR"] = "assetListLoadError";
      // Identifier for a Interstitial Asset List load timeout - data: { url: faulty URL, response: { code: error code, text: error text } }
      ErrorDetails["ASSET_LIST_LOAD_TIMEOUT"] = "assetListLoadTimeout";
      // Identifier for a Interstitial Asset List parsing error - data: { url : faulty URL, reason : error reason, response : { code: error code, text: error text }}
      ErrorDetails["ASSET_LIST_PARSING_ERROR"] = "assetListParsingError";
      // Identifier for a Interstitial Asset List parsing error - data: { url : faulty URL, reason : error reason, response : { code: error code, text: error text }}
      ErrorDetails["INTERSTITIAL_ASSET_ITEM_ERROR"] = "interstitialAssetItemError";
      // Identifier for an internal exception happening inside hls.js while handling an event
      ErrorDetails["INTERNAL_EXCEPTION"] = "internalException";
      // Identifier for an internal call to abort a loader
      ErrorDetails["INTERNAL_ABORTED"] = "aborted";
      // Triggered when attachMedia fails
      ErrorDetails["ATTACH_MEDIA_ERROR"] = "attachMediaError";
      // Uncategorized error
      ErrorDetails["UNKNOWN"] = "unknown";
      return ErrorDetails;
    }({});
    
    let Events = /*#__PURE__*/function (Events) {
      // Fired before MediaSource is attaching to media element
      Events["MEDIA_ATTACHING"] = "hlsMediaAttaching";
      // Fired when MediaSource has been successfully attached to media element
      Events["MEDIA_ATTACHED"] = "hlsMediaAttached";
      // Fired before detaching MediaSource from media element
      Events["MEDIA_DETACHING"] = "hlsMediaDetaching";
      // Fired when MediaSource has been detached from media element
      Events["MEDIA_DETACHED"] = "hlsMediaDetached";
      // Fired when HTMLMediaElement dispatches "ended" event, or stalls at end of VOD program
      Events["MEDIA_ENDED"] = "hlsMediaEnded";
      // Fired after playback stall is resolved with playing, seeked, or ended event following BUFFER_STALLED_ERROR
      Events["STALL_RESOLVED"] = "hlsStallResolved";
      // Fired when the buffer is going to be reset
      Events["BUFFER_RESET"] = "hlsBufferReset";
      // Fired when we know about the codecs that we need buffers for to push into - data: {tracks : { container, codec, levelCodec, initSegment, metadata }}
      Events["BUFFER_CODECS"] = "hlsBufferCodecs";
      // fired when sourcebuffers have been created - data: { tracks : tracks }
      Events["BUFFER_CREATED"] = "hlsBufferCreated";
      // fired when we append a segment to the buffer - data: { segment: segment object }
      Events["BUFFER_APPENDING"] = "hlsBufferAppending";
      // fired when we are done with appending a media segment to the buffer - data : { parent : segment parent that triggered BUFFER_APPENDING, pending : nb of segments waiting for appending for this segment parent}
      Events["BUFFER_APPENDED"] = "hlsBufferAppended";
      // fired when the stream is finished and we want to notify the media buffer that there will be no more data - data: { }
      Events["BUFFER_EOS"] = "hlsBufferEos";
      // fired when all buffers are full to the end of the program, after calling MediaSource.endOfStream() (unless restricted)
      Events["BUFFERED_TO_END"] = "hlsBufferedToEnd";
      // fired when the media buffer should be flushed - data { startOffset, endOffset }
      Events["BUFFER_FLUSHING"] = "hlsBufferFlushing";
      // fired when the media buffer has been flushed - data: { }
      Events["BUFFER_FLUSHED"] = "hlsBufferFlushed";
      // fired to signal that a manifest loading starts - data: { url : manifestURL}
      Events["MANIFEST_LOADING"] = "hlsManifestLoading";
      // fired after manifest has been loaded - data: { levels : [available quality levels], audioTracks : [ available audio tracks ], url : manifestURL, stats : LoaderStats }
      Events["MANIFEST_LOADED"] = "hlsManifestLoaded";
      // fired after manifest has been parsed - data: { levels : [available quality levels], firstLevel : index of first quality level appearing in Manifest}
      Events["MANIFEST_PARSED"] = "hlsManifestParsed";
      // fired when a level switch is requested - data: { level : id of new level }
      Events["LEVEL_SWITCHING"] = "hlsLevelSwitching";
      // fired when a level switch is effective - data: { level : id of new level }
      Events["LEVEL_SWITCHED"] = "hlsLevelSwitched";
      // fired when a level playlist loading starts - data: { url : level URL, level : id of level being loaded}
      Events["LEVEL_LOADING"] = "hlsLevelLoading";
      // fired when a level playlist loading finishes - data: { details : levelDetails object, level : id of loaded level, stats : LoaderStats }
      Events["LEVEL_LOADED"] = "hlsLevelLoaded";
      // fired when a level's details have been updated based on previous details, after it has been loaded - data: { details : levelDetails object, level : id of updated level }
      Events["LEVEL_UPDATED"] = "hlsLevelUpdated";
      // fired when a level's PTS information has been updated after parsing a fragment - data: { details : levelDetails object, level : id of updated level, drift: PTS drift observed when parsing last fragment }
      Events["LEVEL_PTS_UPDATED"] = "hlsLevelPtsUpdated";
      // fired to notify that levels have changed after removing a level - data: { levels : [available quality levels] }
      Events["LEVELS_UPDATED"] = "hlsLevelsUpdated";
      // fired to notify that audio track lists has been updated - data: { audioTracks : audioTracks }
      Events["AUDIO_TRACKS_UPDATED"] = "hlsAudioTracksUpdated";
      // fired when an audio track switching is requested - data: { id : audio track id }
      Events["AUDIO_TRACK_SWITCHING"] = "hlsAudioTrackSwitching";
      // fired when an audio track switch actually occurs - data: { id : audio track id }
      Events["AUDIO_TRACK_SWITCHED"] = "hlsAudioTrackSwitched";
      // fired when an audio track loading starts - data: { url : audio track URL, id : audio track id }
      Events["AUDIO_TRACK_LOADING"] = "hlsAudioTrackLoading";
      // fired when an audio track loading finishes - data: { details : levelDetails object, id : audio track id, stats : LoaderStats }
      Events["AUDIO_TRACK_LOADED"] = "hlsAudioTrackLoaded";
      // fired when an audio tracks's details have been updated based on previous details, after it has been loaded - data: { details : levelDetails object, id : track id }
      Events["AUDIO_TRACK_UPDATED"] = "hlsAudioTrackUpdated";
      // fired to notify that subtitle track lists has been updated - data: { subtitleTracks : subtitleTracks }
      Events["SUBTITLE_TRACKS_UPDATED"] = "hlsSubtitleTracksUpdated";
      // fired to notify that subtitle tracks were cleared as a result of stopping the media
      Events["SUBTITLE_TRACKS_CLEARED"] = "hlsSubtitleTracksCleared";
      // fired when an subtitle track switch occurs - data: { id : subtitle track id }
      Events["SUBTITLE_TRACK_SWITCH"] = "hlsSubtitleTrackSwitch";
      // fired when a subtitle track loading starts - data: { url : subtitle track URL, id : subtitle track id }
      Events["SUBTITLE_TRACK_LOADING"] = "hlsSubtitleTrackLoading";
      // fired when a subtitle track loading finishes - data: { details : levelDetails object, id : subtitle track id, stats : LoaderStats }
      Events["SUBTITLE_TRACK_LOADED"] = "hlsSubtitleTrackLoaded";
      // fired when a subtitle  racks's details have been updated based on previous details, after it has been loaded - data: { details : levelDetails object, id : track id }
      Events["SUBTITLE_TRACK_UPDATED"] = "hlsSubtitleTrackUpdated";
      // fired when a subtitle fragment has been processed - data: { success : boolean, frag : the processed frag }
      Events["SUBTITLE_FRAG_PROCESSED"] = "hlsSubtitleFragProcessed";
      // fired when a set of VTTCues to be managed externally has been parsed - data: { type: string, track: string, cues: [ VTTCue ] }
      Events["CUES_PARSED"] = "hlsCuesParsed";
      // fired when a text track to be managed externally is found - data: { tracks: [ { label: string, kind: string, default: boolean } ] }
      Events["NON_NATIVE_TEXT_TRACKS_FOUND"] = "hlsNonNativeTextTracksFound";
      // fired when the first timestamp is found - data: { id : demuxer id, initPTS: initPTS, timescale: timescale, frag : fragment object }
      Events["INIT_PTS_FOUND"] = "hlsInitPtsFound";
      // fired when a fragment loading starts - data: { frag : fragment object }
      Events["FRAG_LOADING"] = "hlsFragLoading";
      // fired when a fragment loading is progressing - data: { frag : fragment object, { trequest, tfirst, loaded } }
      // FRAG_LOAD_PROGRESS = 'hlsFragLoadProgress',
      // Identifier for fragment load aborting for emergency switch down - data: { frag : fragment object }
      Events["FRAG_LOAD_EMERGENCY_ABORTED"] = "hlsFragLoadEmergencyAborted";
      // fired when a fragment loading is completed - data: { frag : fragment object, payload : fragment payload, stats : LoaderStats }
      Events["FRAG_LOADED"] = "hlsFragLoaded";
      // fired when a fragment has finished decrypting - data: { id : demuxer id, frag: fragment object, payload : fragment payload, stats : { tstart, tdecrypt } }
      Events["FRAG_DECRYPTED"] = "hlsFragDecrypted";
      // fired when Init Segment has been extracted from fragment - data: { id : demuxer id, frag: fragment object, moov : moov MP4 box, codecs : codecs found while parsing fragment }
      Events["FRAG_PARSING_INIT_SEGMENT"] = "hlsFragParsingInitSegment";
      // fired when parsing sei text is completed - data: { id : demuxer id, frag: fragment object, samples : [ sei samples pes ] }
      Events["FRAG_PARSING_USERDATA"] = "hlsFragParsingUserdata";
      // fired when parsing id3 is completed - data: { id : demuxer id, frag: fragment object, samples : [ id3 samples pes ] }
      Events["FRAG_PARSING_METADATA"] = "hlsFragParsingMetadata";
      // fired when data have been extracted from fragment - data: { id : demuxer id, frag: fragment object, data1 : moof MP4 box or TS fragments, data2 : mdat MP4 box or null}
      // FRAG_PARSING_DATA = 'hlsFragParsingData',
      // fired when fragment parsing is completed - data: { id : demuxer id, frag: fragment object }
      Events["FRAG_PARSED"] = "hlsFragParsed";
      // fired when fragment remuxed MP4 boxes have all been appended into SourceBuffer - data: { id : demuxer id, frag : fragment object, stats : LoaderStats }
      Events["FRAG_BUFFERED"] = "hlsFragBuffered";
      // fired when fragment matching with current media position is changing - data : { id : demuxer id, frag : fragment object }
      Events["FRAG_CHANGED"] = "hlsFragChanged";
      // Identifier for a FPS drop event - data: { currentDropped, currentDecoded, totalDroppedFrames }
      Events["FPS_DROP"] = "hlsFpsDrop";
      // triggered when FPS drop triggers auto level capping - data: { level, droppedLevel }
      Events["FPS_DROP_LEVEL_CAPPING"] = "hlsFpsDropLevelCapping";
      // triggered when maxAutoLevel changes - data { autoLevelCapping, levels, maxAutoLevel, minAutoLevel, maxHdcpLevel }
      Events["MAX_AUTO_LEVEL_UPDATED"] = "hlsMaxAutoLevelUpdated";
      // Identifier for an error event - data: { type : error type, details : error details, fatal : if true, hls.js cannot/will not try to recover, if false, hls.js will try to recover,other error specific data }
      Events["ERROR"] = "hlsError";
      // fired when hls.js instance starts destroying. Different from MEDIA_DETACHED as one could want to detach and reattach a media to the instance of hls.js to handle mid-rolls for example - data: { }
      Events["DESTROYING"] = "hlsDestroying";
      // fired when a decrypt key loading starts - data: { frag : fragment object }
      Events["KEY_LOADING"] = "hlsKeyLoading";
      // fired when a decrypt key loading is completed - data: { frag : fragment object, keyInfo : KeyLoaderInfo }
      Events["KEY_LOADED"] = "hlsKeyLoaded";
      // deprecated; please use BACK_BUFFER_REACHED - data : { bufferEnd: number }
      Events["LIVE_BACK_BUFFER_REACHED"] = "hlsLiveBackBufferReached";
      // fired when the back buffer is reached as defined by the backBufferLength config option - data : { bufferEnd: number }
      Events["BACK_BUFFER_REACHED"] = "hlsBackBufferReached";
      // fired after steering manifest has been loaded - data: { steeringManifest: SteeringManifest object, url: steering manifest URL }
      Events["STEERING_MANIFEST_LOADED"] = "hlsSteeringManifestLoaded";
      // fired when asset list has begun loading
      Events["ASSET_LIST_LOADING"] = "hlsAssetListLoading";
      // fired when a valid asset list is loaded
      Events["ASSET_LIST_LOADED"] = "hlsAssetListLoaded";
      // fired when the list of Interstitial Events and Interstitial Schedule is updated
      Events["INTERSTITIALS_UPDATED"] = "hlsInterstitialsUpdated";
      // fired when the buffer reaches an Interstitial Schedule boundary (both Primary segments and Interstitial Assets)
      Events["INTERSTITIALS_BUFFERED_TO_BOUNDARY"] = "hlsInterstitialsBufferedToBoundary";
      // fired when a player instance for an Interstitial Asset has been created
      Events["INTERSTITIAL_ASSET_PLAYER_CREATED"] = "hlsInterstitialAssetPlayerCreated";
      // Interstitial playback started
      Events["INTERSTITIAL_STARTED"] = "hlsInterstitialStarted";
      // InterstitialAsset playback started
      Events["INTERSTITIAL_ASSET_STARTED"] = "hlsInterstitialAssetStarted";
      // InterstitialAsset playback ended
      Events["INTERSTITIAL_ASSET_ENDED"] = "hlsInterstitialAssetEnded";
      // InterstitialAsset playback errored
      Events["INTERSTITIAL_ASSET_ERROR"] = "hlsInterstitialAssetError";
      // Interstitial playback ended
      Events["INTERSTITIAL_ENDED"] = "hlsInterstitialEnded";
      // Interstitial schedule resumed primary playback
      Events["INTERSTITIALS_PRIMARY_RESUMED"] = "hlsInterstitialsPrimaryResumed";
      // Interstitial players dispatch this event when playout limit is reached
      Events["PLAYOUT_LIMIT_REACHED"] = "hlsPlayoutLimitReached";
      // Event DateRange cue "enter" event dispatched
      Events["EVENT_CUE_ENTER"] = "hlsEventCueEnter";
      return Events;
    }({});
    
    /**
     * Defines each Event type and payload by Event name. Used in {@link hls.js#HlsEventEmitter} to strongly type the event listener API.
     */
    
    var PlaylistContextType = {
      MANIFEST: "manifest",
      LEVEL: "level",
      AUDIO_TRACK: "audioTrack",
      SUBTITLE_TRACK: "subtitleTrack"
    };
    var PlaylistLevelType = {
      MAIN: "main",
      AUDIO: "audio",
      SUBTITLE: "subtitle"
    };
    
    /*
     * compute an Exponential Weighted moving average
     * - https://en.wikipedia.org/wiki/Moving_average#Exponential_moving_average
     *  - heavily inspired from shaka-player
     */
    
    class EWMA {
      //  About half of the estimated value will be from the last |halfLife| samples by weight.
      constructor(halfLife, estimate = 0, weight = 0) {
        this.halfLife = void 0;
        this.alpha_ = void 0;
        this.estimate_ = void 0;
        this.totalWeight_ = void 0;
        this.halfLife = halfLife;
        // Larger values of alpha expire historical data more slowly.
        this.alpha_ = halfLife ? Math.exp(Math.log(0.5) / halfLife) : 0;
        this.estimate_ = estimate;
        this.totalWeight_ = weight;
      }
      sample(weight, value) {
        const adjAlpha = Math.pow(this.alpha_, weight);
        this.estimate_ = value * (1 - adjAlpha) + adjAlpha * this.estimate_;
        this.totalWeight_ += weight;
      }
      getTotalWeight() {
        return this.totalWeight_;
      }
      getEstimate() {
        if (this.alpha_) {
          const zeroFactor = 1 - Math.pow(this.alpha_, this.totalWeight_);
          if (zeroFactor) {
            return this.estimate_ / zeroFactor;
          }
        }
        return this.estimate_;
      }
    }
    
    /*
     * EWMA Bandwidth Estimator
     *  - heavily inspired from shaka-player
     * Tracks bandwidth samples and estimates available bandwidth.
     * Based on the minimum of two exponentially-weighted moving averages with
     * different half-lives.
     */
    
    class EwmaBandWidthEstimator {
      constructor(slow, fast, defaultEstimate, defaultTTFB = 100) {
        this.defaultEstimate_ = void 0;
        this.minWeight_ = void 0;
        this.minDelayMs_ = void 0;
        this.slow_ = void 0;
        this.fast_ = void 0;
        this.defaultTTFB_ = void 0;
        this.ttfb_ = void 0;
        this.defaultEstimate_ = defaultEstimate;
        this.minWeight_ = 0.001;
        this.minDelayMs_ = 50;
        this.slow_ = new EWMA(slow);
        this.fast_ = new EWMA(fast);
        this.defaultTTFB_ = defaultTTFB;
        this.ttfb_ = new EWMA(slow);
      }
      update(slow, fast) {
        const {
          slow_,
          fast_,
          ttfb_
        } = this;
        if (slow_.halfLife !== slow) {
          this.slow_ = new EWMA(slow, slow_.getEstimate(), slow_.getTotalWeight());
        }
        if (fast_.halfLife !== fast) {
          this.fast_ = new EWMA(fast, fast_.getEstimate(), fast_.getTotalWeight());
        }
        if (ttfb_.halfLife !== slow) {
          this.ttfb_ = new EWMA(slow, ttfb_.getEstimate(), ttfb_.getTotalWeight());
        }
      }
      sample(durationMs, numBytes) {
        durationMs = Math.max(durationMs, this.minDelayMs_);
        const numBits = 8 * numBytes;
        // weight is duration in seconds
        const durationS = durationMs / 1000;
        // value is bandwidth in bits/s
        const bandwidthInBps = numBits / durationS;
        this.fast_.sample(durationS, bandwidthInBps);
        this.slow_.sample(durationS, bandwidthInBps);
      }
      sampleTTFB(ttfb) {
        // weight is frequency curve applied to TTFB in seconds
        // (longer times have less weight with expected input under 1 second)
        const seconds = ttfb / 1000;
        const weight = Math.sqrt(2) * Math.exp(-Math.pow(seconds, 2) / 2);
        this.ttfb_.sample(weight, Math.max(ttfb, 5));
      }
      canEstimate() {
        return this.fast_.getTotalWeight() >= this.minWeight_;
      }
      getEstimate() {
        if (this.canEstimate()) {
          // console.log('slow estimate:'+ Math.round(this.slow_.getEstimate()));
          // console.log('fast estimate:'+ Math.round(this.fast_.getEstimate()));
          // Take the minimum of these two estimates.  This should have the effect of
          // adapting down quickly, but up more slowly.
          return Math.min(this.fast_.getEstimate(), this.slow_.getEstimate());
        } else {
          return this.defaultEstimate_;
        }
      }
      getEstimateTTFB() {
        if (this.ttfb_.getTotalWeight() >= this.minWeight_) {
          return this.ttfb_.getEstimate();
        } else {
          return this.defaultTTFB_;
        }
      }
      get defaultEstimate() {
        return this.defaultEstimate_;
      }
      destroy() {}
    }
    
    function _defineProperty(e, r, t) {
      return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
        value: t,
        enumerable: true,
        configurable: true,
        writable: true
      }) : e[r] = t, e;
    }
    function _extends() {
      return _extends = Object.assign ? Object.assign.bind() : function (n) {
        for (var e = 1; e < arguments.length; e++) {
          var t = arguments[e];
          for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
        }
        return n;
      }, _extends.apply(null, arguments);
    }
    function ownKeys(e, r) {
      var t = Object.keys(e);
      if (Object.getOwnPropertySymbols) {
        var o = Object.getOwnPropertySymbols(e);
        r && (o = o.filter(function (r) {
          return Object.getOwnPropertyDescriptor(e, r).enumerable;
        })), t.push.apply(t, o);
      }
      return t;
    }
    function _objectSpread2(e) {
      for (var r = 1; r < arguments.length; r++) {
        var t = null != arguments[r] ? arguments[r] : {};
        r % 2 ? ownKeys(Object(t), true).forEach(function (r) {
          _defineProperty(e, r, t[r]);
        }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) {
          Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));
        });
      }
      return e;
    }
    function _toPrimitive(t, r) {
      if ("object" != typeof t || !t) return t;
      var e = t[Symbol.toPrimitive];
      if (void 0 !== e) {
        var i = e.call(t, r);
        if ("object" != typeof i) return i;
        throw new TypeError("@@toPrimitive must return a primitive value.");
      }
      return ("string" === r ? String : Number)(t);
    }
    function _toPropertyKey(t) {
      var i = _toPrimitive(t, "string");
      return "symbol" == typeof i ? i : i + "";
    }
    
    class Logger {
      constructor(label, logger) {
        this.trace = void 0;
        this.debug = void 0;
        this.log = void 0;
        this.warn = void 0;
        this.info = void 0;
        this.error = void 0;
        const lb = `[${label}]:`;
        this.trace = noop;
        this.debug = logger.debug.bind(null, lb);
        this.log = logger.log.bind(null, lb);
        this.warn = logger.warn.bind(null, lb);
        this.info = logger.info.bind(null, lb);
        this.error = logger.error.bind(null, lb);
      }
    }
    const noop = function noop() {};
    const fakeLogger = {
      trace: noop,
      debug: noop,
      log: noop,
      warn: noop,
      info: noop,
      error: noop
    };
    function createLogger() {
      return _extends({}, fakeLogger);
    }
    
    // let lastCallTime;
    // function formatMsgWithTimeInfo(type, msg) {
    //   const now = Date.now();
    //   const diff = lastCallTime ? '+' + (now - lastCallTime) : '0';
    //   lastCallTime = now;
    //   msg = (new Date(now)).toISOString() + ' | [' +  type + '] > ' + msg + ' ( ' + diff + ' ms )';
    //   return msg;
    // }
    
    function consolePrintFn(type, id) {
      const func = self.console[type];
      return func ? func.bind(self.console, `${id ? '[' + id + '] ' : ''}[${type}] >`) : noop;
    }
    function getLoggerFn(key, debugConfig, id) {
      return debugConfig[key] ? debugConfig[key].bind(debugConfig) : consolePrintFn(key, id);
    }
    const exportedLogger = createLogger();
    function enableLogs(debugConfig, context, id) {
      // check that console is available
      const newLogger = createLogger();
      if (typeof console === 'object' && debugConfig === true || typeof debugConfig === 'object') {
        const keys = [
        // Remove out from list here to hard-disable a log-level
        // 'trace',
        'debug', 'log', 'info', 'warn', 'error'];
        keys.forEach(key => {
          newLogger[key] = getLoggerFn(key, debugConfig, id);
        });
        // Some browsers don't allow to use bind on console object anyway
        // fallback to default if needed
        try {
          newLogger.log(`Debug logs enabled for "${context}" in hls.js version ${"1.6.15"}`);
        } catch (e) {
          /* log fn threw an exception. All logger methods are no-ops. */
          return createLogger();
        }
        // global exported logger uses the same functions as new logger without `id`
        keys.forEach(key => {
          exportedLogger[key] = getLoggerFn(key, debugConfig);
        });
      } else {
        // Reset global exported logger
        _extends(exportedLogger, newLogger);
      }
      return newLogger;
    }
    const logger = exportedLogger;
    
    function getMediaSource(preferManagedMediaSource = true) {
      if (typeof self === 'undefined') return undefined;
      const mms = (preferManagedMediaSource || !self.MediaSource) && self.ManagedMediaSource;
      return mms || self.MediaSource || self.WebKitMediaSource;
    }
    function isManagedMediaSource(source) {
      return typeof self !== 'undefined' && source === self.ManagedMediaSource;
    }
    function isCompatibleTrackChange(currentTracks, requiredTracks) {
      const trackNames = Object.keys(currentTracks);
      const requiredTrackNames = Object.keys(requiredTracks);
      const trackCount = trackNames.length;
      const requiredTrackCount = requiredTrackNames.length;
      return !trackCount || !requiredTrackCount || trackCount === requiredTrackCount && !trackNames.some(name => requiredTrackNames.indexOf(name) === -1);
    }
    
    // http://stackoverflow.com/questions/8936984/uint8array-to-string-in-javascript/22373197
    // http://www.onicos.com/staff/iz/amuse/javascript/expert/utf.txt
    /* utf.js - UTF-8 <=> UTF-16 convertion
     *
     * Copyright (C) 1999 Masanao Izumo <iz@onicos.co.jp>
     * Version: 1.0
     * LastModified: Dec 25 1999
     * This library is free.  You can redistribute it and/or modify it.
     */
    /**
     * Converts a UTF-8 array to a string.
     *
     * @param array - The UTF-8 array to convert
     *
     * @returns The string
     *
     * @group Utils
     *
     * @beta
     */
    function utf8ArrayToStr(array, exitOnNull = false) {
      if (typeof TextDecoder !== 'undefined') {
        const decoder = new TextDecoder('utf-8');
        const decoded = decoder.decode(array);
        if (exitOnNull) {
          // grab up to the first null
          const idx = decoded.indexOf('\0');
          return idx !== -1 ? decoded.substring(0, idx) : decoded;
        }
        // remove any null characters
        return decoded.replace(/\0/g, '');
      }
      const len = array.length;
      let c;
      let char2;
      let char3;
      let out = '';
      let i = 0;
      while (i < len) {
        c = array[i++];
        if (c === 0x00 && exitOnNull) {
          return out;
        } else if (c === 0x00 || c === 0x03) {
          // If the character is 3 (END_OF_TEXT) or 0 (NULL) then skip it
          continue;
        }
        switch (c >> 4) {
          case 0:
          case 1:
          case 2:
          case 3:
          case 4:
          case 5:
          case 6:
          case 7:
            // 0xxxxxxx
            out += String.fromCharCode(c);
            break;
          case 12:
          case 13:
            // 110x xxxx   10xx xxxx
            char2 = array[i++];
            out += String.fromCharCode((c & 0x1f) << 6 | char2 & 0x3f);
            break;
          case 14:
            // 1110 xxxx  10xx xxxx  10xx xxxx
            char2 = array[i++];
            char3 = array[i++];
            out += String.fromCharCode((c & 0x0f) << 12 | (char2 & 0x3f) << 6 | (char3 & 0x3f) << 0);
            break;
        }
      }
      return out;
    }
    
    /**
     *  hex dump helper class
     */
    
    function arrayToHex(array) {
      let str = '';
      for (let i = 0; i < array.length; i++) {
        let h = array[i].toString(16);
        if (h.length < 2) {
          h = '0' + h;
        }
        str += h;
      }
      return str;
    }
    function hexToArrayBuffer(str) {
      return Uint8Array.from(str.replace(/^0x/, '').replace(/([\da-fA-F]{2}) ?/g, '0x$1 ').replace(/ +$/, '').split(' ')).buffer;
    }
    
    function getDefaultExportFromCjs (x) {
    	return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
    }
    
    var urlToolkit = {exports: {}};
    
    var hasRequiredUrlToolkit;
    
    function requireUrlToolkit () {
    	if (hasRequiredUrlToolkit) return urlToolkit.exports;
    	hasRequiredUrlToolkit = 1;
    	(function (module, exports) {
    		// see https://tools.ietf.org/html/rfc1808
    
    		(function (root) {
    		  var URL_REGEX =
    		    /^(?=((?:[a-zA-Z0-9+\-.]+:)?))\1(?=((?:\/\/[^\/?#]*)?))\2(?=((?:(?:[^?#\/]*\/)*[^;?#\/]*)?))\3((?:;[^?#]*)?)(\?[^#]*)?(#[^]*)?$/;
    		  var FIRST_SEGMENT_REGEX = /^(?=([^\/?#]*))\1([^]*)$/;
    		  var SLASH_DOT_REGEX = /(?:\/|^)\.(?=\/)/g;
    		  var SLASH_DOT_DOT_REGEX = /(?:\/|^)\.\.\/(?!\.\.\/)[^\/]*(?=\/)/g;
    
    		  var URLToolkit = {
    		    // If opts.alwaysNormalize is true then the path will always be normalized even when it starts with / or //
    		    // E.g
    		    // With opts.alwaysNormalize = false (default, spec compliant)
    		    // http://a.com/b/cd + /e/f/../g => http://a.com/e/f/../g
    		    // With opts.alwaysNormalize = true (not spec compliant)
    		    // http://a.com/b/cd + /e/f/../g => http://a.com/e/g
    		    buildAbsoluteURL: function (baseURL, relativeURL, opts) {
    		      opts = opts || {};
    		      // remove any remaining space and CRLF
    		      baseURL = baseURL.trim();
    		      relativeURL = relativeURL.trim();
    		      if (!relativeURL) {
    		        // 2a) If the embedded URL is entirely empty, it inherits the
    		        // entire base URL (i.e., is set equal to the base URL)
    		        // and we are done.
    		        if (!opts.alwaysNormalize) {
    		          return baseURL;
    		        }
    		        var basePartsForNormalise = URLToolkit.parseURL(baseURL);
    		        if (!basePartsForNormalise) {
    		          throw new Error('Error trying to parse base URL.');
    		        }
    		        basePartsForNormalise.path = URLToolkit.normalizePath(
    		          basePartsForNormalise.path
    		        );
    		        return URLToolkit.buildURLFromParts(basePartsForNormalise);
    		      }
    		      var relativeParts = URLToolkit.parseURL(relativeURL);
    		      if (!relativeParts) {
    		        throw new Error('Error trying to parse relative URL.');
    		      }
    		      if (relativeParts.scheme) {
    		        // 2b) If the embedded URL starts with a scheme name, it is
    		        // interpreted as an absolute URL and we are done.
    		        if (!opts.alwaysNormalize) {
    		          return relativeURL;
    		        }
    		        relativeParts.path = URLToolkit.normalizePath(relativeParts.path);
    		        return URLToolkit.buildURLFromParts(relativeParts);
    		      }
    		      var baseParts = URLToolkit.parseURL(baseURL);
    		      if (!baseParts) {
    		        throw new Error('Error trying to parse base URL.');
    		      }
    		      if (!baseParts.netLoc && baseParts.path && baseParts.path[0] !== '/') {
    		        // If netLoc missing and path doesn't start with '/', assume everthing before the first '/' is the netLoc
    		        // This causes 'example.com/a' to be handled as '//example.com/a' instead of '/example.com/a'
    		        var pathParts = FIRST_SEGMENT_REGEX.exec(baseParts.path);
    		        baseParts.netLoc = pathParts[1];
    		        baseParts.path = pathParts[2];
    		      }
    		      if (baseParts.netLoc && !baseParts.path) {
    		        baseParts.path = '/';
    		      }
    		      var builtParts = {
    		        // 2c) Otherwise, the embedded URL inherits the scheme of
    		        // the base URL.
    		        scheme: baseParts.scheme,
    		        netLoc: relativeParts.netLoc,
    		        path: null,
    		        params: relativeParts.params,
    		        query: relativeParts.query,
    		        fragment: relativeParts.fragment,
    		      };
    		      if (!relativeParts.netLoc) {
    		        // 3) If the embedded URL's <net_loc> is non-empty, we skip to
    		        // Step 7.  Otherwise, the embedded URL inherits the <net_loc>
    		        // (if any) of the base URL.
    		        builtParts.netLoc = baseParts.netLoc;
    		        // 4) If the embedded URL path is preceded by a slash "/", the
    		        // path is not relative and we skip to Step 7.
    		        if (relativeParts.path[0] !== '/') {
    		          if (!relativeParts.path) {
    		            // 5) If the embedded URL path is empty (and not preceded by a
    		            // slash), then the embedded URL inherits the base URL path
    		            builtParts.path = baseParts.path;
    		            // 5a) if the embedded URL's <params> is non-empty, we skip to
    		            // step 7; otherwise, it inherits the <params> of the base
    		            // URL (if any) and
    		            if (!relativeParts.params) {
    		              builtParts.params = baseParts.params;
    		              // 5b) if the embedded URL's <query> is non-empty, we skip to
    		              // step 7; otherwise, it inherits the <query> of the base
    		              // URL (if any) and we skip to step 7.
    		              if (!relativeParts.query) {
    		                builtParts.query = baseParts.query;
    		              }
    		            }
    		          } else {
    		            // 6) The last segment of the base URL's path (anything
    		            // following the rightmost slash "/", or the entire path if no
    		            // slash is present) is removed and the embedded URL's path is
    		            // appended in its place.
    		            var baseURLPath = baseParts.path;
    		            var newPath =
    		              baseURLPath.substring(0, baseURLPath.lastIndexOf('/') + 1) +
    		              relativeParts.path;
    		            builtParts.path = URLToolkit.normalizePath(newPath);
    		          }
    		        }
    		      }
    		      if (builtParts.path === null) {
    		        builtParts.path = opts.alwaysNormalize
    		          ? URLToolkit.normalizePath(relativeParts.path)
    		          : relativeParts.path;
    		      }
    		      return URLToolkit.buildURLFromParts(builtParts);
    		    },
    		    parseURL: function (url) {
    		      var parts = URL_REGEX.exec(url);
    		      if (!parts) {
    		        return null;
    		      }
    		      return {
    		        scheme: parts[1] || '',
    		        netLoc: parts[2] || '',
    		        path: parts[3] || '',
    		        params: parts[4] || '',
    		        query: parts[5] || '',
    		        fragment: parts[6] || '',
    		      };
    		    },
    		    normalizePath: function (path) {
    		      // The following operations are
    		      // then applied, in order, to the new path:
    		      // 6a) All occurrences of "./", where "." is a complete path
    		      // segment, are removed.
    		      // 6b) If the path ends with "." as a complete path segment,
    		      // that "." is removed.
    		      path = path.split('').reverse().join('').replace(SLASH_DOT_REGEX, '');
    		      // 6c) All occurrences of "<segment>/../", where <segment> is a
    		      // complete path segment not equal to "..", are removed.
    		      // Removal of these path segments is performed iteratively,
    		      // removing the leftmost matching pattern on each iteration,
    		      // until no matching pattern remains.
    		      // 6d) If the path ends with "<segment>/..", where <segment> is a
    		      // complete path segment not equal to "..", that
    		      // "<segment>/.." is removed.
    		      while (
    		        path.length !== (path = path.replace(SLASH_DOT_DOT_REGEX, '')).length
    		      ) {}
    		      return path.split('').reverse().join('');
    		    },
    		    buildURLFromParts: function (parts) {
    		      return (
    		        parts.scheme +
    		        parts.netLoc +
    		        parts.path +
    		        parts.params +
    		        parts.query +
    		        parts.fragment
    		      );
    		    },
    		  };
    
    		  module.exports = URLToolkit;
    		})(); 
    	} (urlToolkit));
    	return urlToolkit.exports;
    }
    
    var urlToolkitExports = requireUrlToolkit();
    
    class LoadStats {
      constructor() {
        this.aborted = false;
        this.loaded = 0;
        this.retry = 0;
        this.total = 0;
        this.chunkCount = 0;
        this.bwEstimate = 0;
        this.loading = {
          start: 0,
          first: 0,
          end: 0
        };
        this.parsing = {
          start: 0,
          end: 0
        };
        this.buffering = {
          start: 0,
          first: 0,
          end: 0
        };
      }
    }
    
    var ElementaryStreamTypes = {
      AUDIO: "audio",
      VIDEO: "video",
      AUDIOVIDEO: "audiovideo"
    };
    class BaseSegment {
      constructor(base) {
        this._byteRange = null;
        this._url = null;
        this._stats = null;
        this._streams = null;
        // baseurl is the URL to the playlist
        this.base = void 0;
        // relurl is the portion of the URL that comes from inside the playlist.
        this.relurl = void 0;
        if (typeof base === 'string') {
          base = {
            url: base
          };
        }
        this.base = base;
        makeEnumerable(this, 'stats');
      }
    
      // setByteRange converts a EXT-X-BYTERANGE attribute into a two element array
      setByteRange(value, previous) {
        const params = value.split('@', 2);
        let start;
        if (params.length === 1) {
          start = (previous == null ? void 0 : previous.byteRangeEndOffset) || 0;
        } else {
          start = parseInt(params[1]);
        }
        this._byteRange = [start, parseInt(params[0]) + start];
      }
      get baseurl() {
        return this.base.url;
      }
      get byteRange() {
        if (this._byteRange === null) {
          return [];
        }
        return this._byteRange;
      }
      get byteRangeStartOffset() {
        return this.byteRange[0];
      }
      get byteRangeEndOffset() {
        return this.byteRange[1];
      }
      get elementaryStreams() {
        if (this._streams === null) {
          this._streams = {
            [ElementaryStreamTypes.AUDIO]: null,
            [ElementaryStreamTypes.VIDEO]: null,
            [ElementaryStreamTypes.AUDIOVIDEO]: null
          };
        }
        return this._streams;
      }
      set elementaryStreams(value) {
        this._streams = value;
      }
      get hasStats() {
        return this._stats !== null;
      }
      get hasStreams() {
        return this._streams !== null;
      }
      get stats() {
        if (this._stats === null) {
          this._stats = new LoadStats();
        }
        return this._stats;
      }
      set stats(value) {
        this._stats = value;
      }
      get url() {
        if (!this._url && this.baseurl && this.relurl) {
          this._url = urlToolkitExports.buildAbsoluteURL(this.baseurl, this.relurl, {
            alwaysNormalize: true
          });
        }
        return this._url || '';
      }
      set url(value) {
        this._url = value;
      }
      clearElementaryStreamInfo() {
        const {
          elementaryStreams
        } = this;
        elementaryStreams[ElementaryStreamTypes.AUDIO] = null;
        elementaryStreams[ElementaryStreamTypes.VIDEO] = null;
        elementaryStreams[ElementaryStreamTypes.AUDIOVIDEO] = null;
      }
    }
    function isMediaFragment(frag) {
      return frag.sn !== 'initSegment';
    }
    
    /**
     * Object representing parsed data from an HLS Segment. Found in {@link hls.js#LevelDetails.fragments}.
     */
    class Fragment extends BaseSegment {
      constructor(type, base) {
        super(base);
        this._decryptdata = null;
        this._programDateTime = null;
        this._ref = null;
        // Approximate bit rate of the fragment expressed in bits per second (bps) as indicated by the last EXT-X-BITRATE (kbps) tag
        this._bitrate = void 0;
        this.rawProgramDateTime = null;
        this.tagList = [];
        // EXTINF has to be present for a m3u8 to be considered valid
        this.duration = 0;
        // sn notates the sequence number for a segment, and if set to a string can be 'initSegment'
        this.sn = 0;
        // levelkeys are the EXT-X-KEY tags that apply to this segment for decryption
        // core difference from the private field _decryptdata is the lack of the initialized IV
        // _decryptdata will set the IV for this segment based on the segment number in the fragment
        this.levelkeys = void 0;
        // A string representing the fragment type
        this.type = void 0;
        // A reference to the loader. Set while the fragment is loading, and removed afterwards. Used to abort fragment loading
        this.loader = null;
        // A reference to the key loader. Set while the key is loading, and removed afterwards. Used to abort key loading
        this.keyLoader = null;
        // The level/track index to which the fragment belongs
        this.level = -1;
        // The continuity counter of the fragment
        this.cc = 0;
        // The starting Presentation Time Stamp (PTS) of the fragment. Set after transmux complete.
        this.startPTS = void 0;
        // The ending Presentation Time Stamp (PTS) of the fragment. Set after transmux complete.
        this.endPTS = void 0;
        // The starting Decode Time Stamp (DTS) of the fragment. Set after transmux complete.
        this.startDTS = void 0;
        // The ending Decode Time Stamp (DTS) of the fragment. Set after transmux complete.
        this.endDTS = void 0;
        // The start time of the fragment, as listed in the manifest. Updated after transmux complete.
        this.start = 0;
        // The offset time (seconds) of the fragment from the start of the Playlist
        this.playlistOffset = 0;
        // Set by `updateFragPTSDTS` in level-helper
        this.deltaPTS = void 0;
        // The maximum starting Presentation Time Stamp (audio/video PTS) of the fragment. Set after transmux complete.
        this.maxStartPTS = void 0;
        // The minimum ending Presentation Time Stamp (audio/video PTS) of the fragment. Set after transmux complete.
        this.minEndPTS = void 0;
        // Init Segment bytes (unset for media segments)
        this.data = void 0;
        // A flag indicating whether the segment was downloaded in order to test bitrate, and was not buffered
        this.bitrateTest = false;
        // #EXTINF  segment title
        this.title = null;
        // The Media Initialization Section for this segment
        this.initSegment = null;
        // Fragment is the last fragment in the media playlist
        this.endList = void 0;
        // Fragment is marked by an EXT-X-GAP tag indicating that it does not contain media data and should not be loaded
        this.gap = void 0;
        // Deprecated
        this.urlId = 0;
        this.type = type;
      }
      get byteLength() {
        if (this.hasStats) {
          const total = this.stats.total;
          if (total) {
            return total;
          }
        }
        if (this.byteRange.length) {
          const start = this.byteRange[0];
          const end = this.byteRange[1];
          if (isFiniteNumber(start) && isFiniteNumber(end)) {
            return end - start;
          }
        }
        return null;
      }
      get bitrate() {
        if (this.byteLength) {
          return this.byteLength * 8 / this.duration;
        }
        if (this._bitrate) {
          return this._bitrate;
        }
        return null;
      }
      set bitrate(value) {
        this._bitrate = value;
      }
      get decryptdata() {
        var _this$_decryptdata;
        const {
          levelkeys
        } = this;
        if (!levelkeys || levelkeys.NONE) {
          return null;
        }
        if (levelkeys.identity) {
          if (!this._decryptdata) {
            this._decryptdata = levelkeys.identity.getDecryptData(this.sn);
          }
        } else if (!((_this$_decryptdata = this._decryptdata) != null && _this$_decryptdata.keyId)) {
          const keyFormats = Object.keys(levelkeys);
          if (keyFormats.length === 1) {
            const levelKey = this._decryptdata = levelkeys[keyFormats[0]] || null;
            if (levelKey) {
              this._decryptdata = levelKey.getDecryptData(this.sn, levelkeys);
            }
          }
        }
        return this._decryptdata;
      }
      get end() {
        return this.start + this.duration;
      }
      get endProgramDateTime() {
        if (this.programDateTime === null) {
          return null;
        }
        const duration = !isFiniteNumber(this.duration) ? 0 : this.duration;
        return this.programDateTime + duration * 1000;
      }
      get encrypted() {
        var _this$_decryptdata2;
        // At the m3u8-parser level we need to add support for manifest signalled keyformats
        // when we want the fragment to start reporting that it is encrypted.
        // Currently, keyFormat will only be set for identity keys
        if ((_this$_decryptdata2 = this._decryptdata) != null && _this$_decryptdata2.encrypted) {
          return true;
        } else if (this.levelkeys) {
          var _this$levelkeys$keyFo;
          const keyFormats = Object.keys(this.levelkeys);
          const len = keyFormats.length;
          if (len > 1 || len === 1 && (_this$levelkeys$keyFo = this.levelkeys[keyFormats[0]]) != null && _this$levelkeys$keyFo.encrypted) {
            return true;
          }
        }
        return false;
      }
      get programDateTime() {
        if (this._programDateTime === null && this.rawProgramDateTime) {
          this.programDateTime = Date.parse(this.rawProgramDateTime);
        }
        return this._programDateTime;
      }
      set programDateTime(value) {
        if (!isFiniteNumber(value)) {
          this._programDateTime = this.rawProgramDateTime = null;
          return;
        }
        this._programDateTime = value;
      }
      get ref() {
        if (!isMediaFragment(this)) {
          return null;
        }
        if (!this._ref) {
          this._ref = {
            base: this.base,
            start: this.start,
            duration: this.duration,
            sn: this.sn,
            programDateTime: this.programDateTime
          };
        }
        return this._ref;
      }
      addStart(value) {
        this.setStart(this.start + value);
      }
      setStart(value) {
        this.start = value;
        if (this._ref) {
          this._ref.start = value;
        }
      }
      setDuration(value) {
        this.duration = value;
        if (this._ref) {
          this._ref.duration = value;
        }
      }
      setKeyFormat(keyFormat) {
        const levelkeys = this.levelkeys;
        if (levelkeys) {
          var _this$_decryptdata3;
          const key = levelkeys[keyFormat];
          if (key && !((_this$_decryptdata3 = this._decryptdata) != null && _this$_decryptdata3.keyId)) {
            this._decryptdata = key.getDecryptData(this.sn, levelkeys);
          }
        }
      }
      abortRequests() {
        var _this$loader, _this$keyLoader;
        (_this$loader = this.loader) == null || _this$loader.abort();
        (_this$keyLoader = this.keyLoader) == null || _this$keyLoader.abort();
      }
      setElementaryStreamInfo(type, startPTS, endPTS, startDTS, endDTS, partial = false) {
        const {
          elementaryStreams
        } = this;
        const info = elementaryStreams[type];
        if (!info) {
          elementaryStreams[type] = {
            startPTS,
            endPTS,
            startDTS,
            endDTS,
            partial
          };
          return;
        }
        info.startPTS = Math.min(info.startPTS, startPTS);
        info.endPTS = Math.max(info.endPTS, endPTS);
        info.startDTS = Math.min(info.startDTS, startDTS);
        info.endDTS = Math.max(info.endDTS, endDTS);
      }
    }
    
    /**
     * Object representing parsed data from an HLS Partial Segment. Found in {@link hls.js#LevelDetails.partList}.
     */
    class Part extends BaseSegment {
      constructor(partAttrs, frag, base, index, previous) {
        super(base);
        this.fragOffset = 0;
        this.duration = 0;
        this.gap = false;
        this.independent = false;
        this.relurl = void 0;
        this.fragment = void 0;
        this.index = void 0;
        this.duration = partAttrs.decimalFloatingPoint('DURATION');
        this.gap = partAttrs.bool('GAP');
        this.independent = partAttrs.bool('INDEPENDENT');
        this.relurl = partAttrs.enumeratedString('URI');
        this.fragment = frag;
        this.index = index;
        const byteRange = partAttrs.enumeratedString('BYTERANGE');
        if (byteRange) {
          this.setByteRange(byteRange, previous);
        }
        if (previous) {
          this.fragOffset = previous.fragOffset + previous.duration;
        }
      }
      get start() {
        return this.fragment.start + this.fragOffset;
      }
      get end() {
        return this.start + this.duration;
      }
      get loaded() {
        const {
          elementaryStreams
        } = this;
        return !!(elementaryStreams.audio || elementaryStreams.video || elementaryStreams.audiovideo);
      }
    }
    function getOwnPropertyDescriptorFromPrototypeChain(object, property) {
      const prototype = Object.getPrototypeOf(object);
      if (prototype) {
        const propertyDescriptor = Object.getOwnPropertyDescriptor(prototype, property);
        if (propertyDescriptor) {
          return propertyDescriptor;
        }
        return getOwnPropertyDescriptorFromPrototypeChain(prototype, property);
      }
    }
    function makeEnumerable(object, property) {
      const d = getOwnPropertyDescriptorFromPrototypeChain(object, property);
      if (d) {
        d.enumerable = true;
        Object.defineProperty(object, property, d);
      }
    }
    
    const UINT32_MAX$1 = Math.pow(2, 32) - 1;
    const push = [].push;
    
    // We are using fixed track IDs for driving the MP4 remuxer
    // instead of following the TS PIDs.
    // There is no reason not to do this and some browsers/SourceBuffer-demuxers
    // may not like if there are TrackID "switches"
    // See https://github.com/video-dev/hls.js/issues/1331
    // Here we are mapping our internal track types to constant MP4 track IDs
    // With MSE currently one can only have one track of each, and we are muxing
    // whatever video/audio rendition in them.
    const RemuxerTrackIdConfig = {
      video: 1,
      audio: 2,
      id3: 3,
      text: 4
    };
    function bin2str(data) {
      return String.fromCharCode.apply(null, data);
    }
    function readUint16(buffer, offset) {
      const val = buffer[offset] << 8 | buffer[offset + 1];
      return val < 0 ? 65536 + val : val;
    }
    function readUint32(buffer, offset) {
      const val = readSint32(buffer, offset);
      return val < 0 ? 4294967296 + val : val;
    }
    function readUint64(buffer, offset) {
      let result = readUint32(buffer, offset);
      result *= Math.pow(2, 32);
      result += readUint32(buffer, offset + 4);
      return result;
    }
    function readSint32(buffer, offset) {
      return buffer[offset] << 24 | buffer[offset + 1] << 16 | buffer[offset + 2] << 8 | buffer[offset + 3];
    }
    
    // Find "moof" box
    function hasMoofData(data) {
      const end = data.byteLength;
      for (let i = 0; i < end;) {
        const size = readUint32(data, i);
        if (size > 8 && data[i + 4] === 0x6d && data[i + 5] === 0x6f && data[i + 6] === 0x6f && data[i + 7] === 0x66) {
          return true;
        }
        i = size > 1 ? i + size : end;
      }
      return false;
    }
    
    // Find the data for a box specified by its path
    function findBox(data, path) {
      const results = [];
      if (!path.length) {
        // short-circuit the search for empty paths
        return results;
      }
      const end = data.byteLength;
      for (let i = 0; i < end;) {
        const size = readUint32(data, i);
        const type = bin2str(data.subarray(i + 4, i + 8));
        const endbox = size > 1 ? i + size : end;
        if (type === path[0]) {
          if (path.length === 1) {
            // this is the end of the path and we've found the box we were
            // looking for
            results.push(data.subarray(i + 8, endbox));
          } else {
            // recursively search for the next box along the path
            const subresults = findBox(data.subarray(i + 8, endbox), path.slice(1));
            if (subresults.length) {
              push.apply(results, subresults);
            }
          }
        }
        i = endbox;
      }
    
      // we've finished searching all of data
      return results;
    }
    function parseSegmentIndex(sidx) {
      const references = [];
      const version = sidx[0];
    
      // set initial offset, we skip the reference ID (not needed)
      let index = 8;
      const timescale = readUint32(sidx, index);
      index += 4;
      let earliestPresentationTime = 0;
      let firstOffset = 0;
      if (version === 0) {
        earliestPresentationTime = readUint32(sidx, index);
        firstOffset = readUint32(sidx, index + 4);
        index += 8;
      } else {
        earliestPresentationTime = readUint64(sidx, index);
        firstOffset = readUint64(sidx, index + 8);
        index += 16;
      }
    
      // skip reserved
      index += 2;
      let startByte = sidx.length + firstOffset;
      const referencesCount = readUint16(sidx, index);
      index += 2;
      for (let i = 0; i < referencesCount; i++) {
        let referenceIndex = index;
        const referenceInfo = readUint32(sidx, referenceIndex);
        referenceIndex += 4;
        const referenceSize = referenceInfo & 0x7fffffff;
        const referenceType = (referenceInfo & 0x80000000) >>> 31;
        if (referenceType === 1) {
          logger.warn('SIDX has hierarchical references (not supported)');
          return null;
        }
        const subsegmentDuration = readUint32(sidx, referenceIndex);
        referenceIndex += 4;
        references.push({
          referenceSize,
          subsegmentDuration,
          // unscaled
          info: {
            duration: subsegmentDuration / timescale,
            start: startByte,
            end: startByte + referenceSize - 1
          }
        });
        startByte += referenceSize;
    
        // Skipping 1 bit for |startsWithSap|, 3 bits for |sapType|, and 28 bits
        // for |sapDelta|.
        referenceIndex += 4;
    
        // skip to next ref
        index = referenceIndex;
      }
      return {
        earliestPresentationTime,
        timescale,
        version,
        referencesCount,
        references
      };
    }
    
    /**
     * Parses an MP4 initialization segment and extracts stream type and
     * timescale values for any declared tracks. Timescale values indicate the
     * number of clock ticks per second to assume for time-based values
     * elsewhere in the MP4.
     *
     * To determine the start time of an MP4, you need two pieces of
     * information: the timescale unit and the earliest base media decode
     * time. Multiple timescales can be specified within an MP4 but the
     * base media decode time is always expressed in the timescale from
     * the media header box for the track:
     * ```
     * moov > trak > mdia > mdhd.timescale
     * moov > trak > mdia > hdlr
     * ```
     * @param initSegment the bytes of the init segment
     * @returns a hash of track type to timescale values or null if
     * the init segment is malformed.
     */
    
    function parseInitSegment(initSegment) {
      const result = [];
      const traks = findBox(initSegment, ['moov', 'trak']);
      for (let i = 0; i < traks.length; i++) {
        const trak = traks[i];
        const tkhd = findBox(trak, ['tkhd'])[0];
        if (tkhd) {
          let version = tkhd[0];
          const trackId = readUint32(tkhd, version === 0 ? 12 : 20);
          const mdhd = findBox(trak, ['mdia', 'mdhd'])[0];
          if (mdhd) {
            version = mdhd[0];
            const timescale = readUint32(mdhd, version === 0 ? 12 : 20);
            const hdlr = findBox(trak, ['mdia', 'hdlr'])[0];
            if (hdlr) {
              const hdlrType = bin2str(hdlr.subarray(8, 12));
              const type = {
                soun: ElementaryStreamTypes.AUDIO,
                vide: ElementaryStreamTypes.VIDEO
              }[hdlrType];
              // Parse codec details
              const stsdBox = findBox(trak, ['mdia', 'minf', 'stbl', 'stsd'])[0];
              const stsd = parseStsd(stsdBox);
              if (type) {
                // Add 'audio', 'video', and 'audiovideo' track records that will map to SourceBuffers
                result[trackId] = {
                  timescale,
                  type,
                  stsd
                };
                result[type] = _objectSpread2({
                  timescale,
                  id: trackId
                }, stsd);
              } else {
                // Add 'meta' and other track records
                result[trackId] = {
                  timescale,
                  type: hdlrType,
                  stsd
                };
              }
            }
          }
        }
      }
      const trex = findBox(initSegment, ['moov', 'mvex', 'trex']);
      trex.forEach(trex => {
        const trackId = readUint32(trex, 4);
        const track = result[trackId];
        if (track) {
          track.default = {
            duration: readUint32(trex, 12),
            flags: readUint32(trex, 20)
          };
        }
      });
      return result;
    }
    function parseStsd(stsd) {
      const sampleEntries = stsd.subarray(8);
      const sampleEntriesEnd = sampleEntries.subarray(8 + 78);
      const fourCC = bin2str(sampleEntries.subarray(4, 8));
      let codec = fourCC;
      let supplemental;
      const encrypted = fourCC === 'enca' || fourCC === 'encv';
      if (encrypted) {
        const encBox = findBox(sampleEntries, [fourCC])[0];
        const encBoxChildren = encBox.subarray(fourCC === 'enca' ? 28 : 78);
        const sinfs = findBox(encBoxChildren, ['sinf']);
        sinfs.forEach(sinf => {
          const schm = findBox(sinf, ['schm'])[0];
          if (schm) {
            const scheme = bin2str(schm.subarray(4, 8));
            if (scheme === 'cbcs' || scheme === 'cenc') {
              const frma = findBox(sinf, ['frma'])[0];
              if (frma) {
                // for encrypted content codec fourCC will be in frma
                codec = bin2str(frma);
              }
            }
          }
        });
      }
      const codecFourCC = codec;
      switch (codec) {
        case 'avc1':
        case 'avc2':
        case 'avc3':
        case 'avc4':
          {
            // extract profile + compatibility + level out of avcC box
            const avcCBox = findBox(sampleEntriesEnd, ['avcC'])[0];
            if (avcCBox && avcCBox.length > 3) {
              codec += '.' + toHex(avcCBox[1]) + toHex(avcCBox[2]) + toHex(avcCBox[3]);
              supplemental = parseSupplementalDoViCodec(codecFourCC === 'avc1' ? 'dva1' : 'dvav', sampleEntriesEnd);
            }
            break;
          }
        case 'mp4a':
          {
            const codecBox = findBox(sampleEntries, [fourCC])[0];
            const esdsBox = findBox(codecBox.subarray(28), ['esds'])[0];
            if (esdsBox && esdsBox.length > 7) {
              let i = 4;
              // ES Descriptor tag
              if (esdsBox[i++] !== 0x03) {
                break;
              }
              i = skipBERInteger(esdsBox, i);
              i += 2; // skip es_id;
              const flags = esdsBox[i++];
              if (flags & 0x80) {
                i += 2; // skip dependency es_id
              }
              if (flags & 0x40) {
                i += esdsBox[i++]; // skip URL
              }
              // Decoder config descriptor
              if (esdsBox[i++] !== 0x04) {
                break;
              }
              i = skipBERInteger(esdsBox, i);
              const objectType = esdsBox[i++];
              if (objectType === 0x40) {
                codec += '.' + toHex(objectType);
              } else {
                break;
              }
              i += 12;
              // Decoder specific info
              if (esdsBox[i++] !== 0x05) {
                break;
              }
              i = skipBERInteger(esdsBox, i);
              const firstByte = esdsBox[i++];
              let audioObjectType = (firstByte & 0xf8) >> 3;
              if (audioObjectType === 31) {
                audioObjectType += 1 + ((firstByte & 0x7) << 3) + ((esdsBox[i] & 0xe0) >> 5);
              }
              codec += '.' + audioObjectType;
            }
            break;
          }
        case 'hvc1':
        case 'hev1':
          {
            const hvcCBox = findBox(sampleEntriesEnd, ['hvcC'])[0];
            if (hvcCBox && hvcCBox.length > 12) {
              const profileByte = hvcCBox[1];
              const profileSpace = ['', 'A', 'B', 'C'][profileByte >> 6];
              const generalProfileIdc = profileByte & 0x1f;
              const profileCompat = readUint32(hvcCBox, 2);
              const tierFlag = (profileByte & 0x20) >> 5 ? 'H' : 'L';
              const levelIDC = hvcCBox[12];
              const constraintIndicator = hvcCBox.subarray(6, 12);
              codec += '.' + profileSpace + generalProfileIdc;
              codec += '.' + reverse32BitInt(profileCompat).toString(16).toUpperCase();
              codec += '.' + tierFlag + levelIDC;
              let constraintString = '';
              for (let i = constraintIndicator.length; i--;) {
                const byte = constraintIndicator[i];
                if (byte || constraintString) {
                  const encodedByte = byte.toString(16).toUpperCase();
                  constraintString = '.' + encodedByte + constraintString;
                }
              }
              codec += constraintString;
            }
            supplemental = parseSupplementalDoViCodec(codecFourCC == 'hev1' ? 'dvhe' : 'dvh1', sampleEntriesEnd);
            break;
          }
        case 'dvh1':
        case 'dvhe':
        case 'dvav':
        case 'dva1':
        case 'dav1':
          {
            codec = parseSupplementalDoViCodec(codec, sampleEntriesEnd) || codec;
            break;
          }
        case 'vp09':
          {
            const vpcCBox = findBox(sampleEntriesEnd, ['vpcC'])[0];
            if (vpcCBox && vpcCBox.length > 6) {
              const profile = vpcCBox[4];
              const level = vpcCBox[5];
              const bitDepth = vpcCBox[6] >> 4 & 0x0f;
              codec += '.' + addLeadingZero(profile) + '.' + addLeadingZero(level) + '.' + addLeadingZero(bitDepth);
            }
            break;
          }
        case 'av01':
          {
            const av1CBox = findBox(sampleEntriesEnd, ['av1C'])[0];
            if (av1CBox && av1CBox.length > 2) {
              const profile = av1CBox[1] >>> 5;
              const level = av1CBox[1] & 0x1f;
              const tierFlag = av1CBox[2] >>> 7 ? 'H' : 'M';
              const highBitDepth = (av1CBox[2] & 0x40) >> 6;
              const twelveBit = (av1CBox[2] & 0x20) >> 5;
              const bitDepth = profile === 2 && highBitDepth ? twelveBit ? 12 : 10 : highBitDepth ? 10 : 8;
              const monochrome = (av1CBox[2] & 0x10) >> 4;
              const chromaSubsamplingX = (av1CBox[2] & 0x08) >> 3;
              const chromaSubsamplingY = (av1CBox[2] & 0x04) >> 2;
              const chromaSamplePosition = av1CBox[2] & 0x03;
              // TODO: parse color_description_present_flag
              // default it to BT.709/limited range for now
              // more info https://aomediacodec.github.io/av1-isobmff/#av1codecconfigurationbox-syntax
              const colorPrimaries = 1;
              const transferCharacteristics = 1;
              const matrixCoefficients = 1;
              const videoFullRangeFlag = 0;
              codec += '.' + profile + '.' + addLeadingZero(level) + tierFlag + '.' + addLeadingZero(bitDepth) + '.' + monochrome + '.' + chromaSubsamplingX + chromaSubsamplingY + chromaSamplePosition + '.' + addLeadingZero(colorPrimaries) + '.' + addLeadingZero(transferCharacteristics) + '.' + addLeadingZero(matrixCoefficients) + '.' + videoFullRangeFlag;
              supplemental = parseSupplementalDoViCodec('dav1', sampleEntriesEnd);
            }
            break;
          }
      }
      return {
        codec,
        encrypted,
        supplemental
      };
    }
    function parseSupplementalDoViCodec(fourCC, sampleEntriesEnd) {
      const dvvCResult = findBox(sampleEntriesEnd, ['dvvC']); // used by DoVi Profile 8 to 10
      const dvXCBox = dvvCResult.length ? dvvCResult[0] : findBox(sampleEntriesEnd, ['dvcC'])[0]; // used by DoVi Profiles up to 7 and 20
      if (dvXCBox) {
        const doViProfile = dvXCBox[2] >> 1 & 0x7f;
        const doViLevel = dvXCBox[2] << 5 & 0x20 | dvXCBox[3] >> 3 & 0x1f;
        return fourCC + '.' + addLeadingZero(doViProfile) + '.' + addLeadingZero(doViLevel);
      }
    }
    function reverse32BitInt(val) {
      let result = 0;
      for (let i = 0; i < 32; i++) {
        result |= (val >> i & 1) << 32 - 1 - i;
      }
      return result >>> 0;
    }
    function skipBERInteger(bytes, i) {
      const limit = i + 5;
      while (bytes[i++] & 0x80 && i < limit) {
        /* do nothing */
      }
      return i;
    }
    function toHex(x) {
      return ('0' + x.toString(16).toUpperCase()).slice(-2);
    }
    function addLeadingZero(num) {
      return (num < 10 ? '0' : '') + num;
    }
    function patchEncyptionData(initSegment, decryptdata) {
      if (!initSegment || !decryptdata) {
        return;
      }
      const keyId = decryptdata.keyId;
      if (keyId && decryptdata.isCommonEncryption) {
        applyToTencBoxes(initSegment, (tenc, isAudio) => {
          // Look for default key id (keyID offset is always 8 within the tenc box):
          const tencKeyId = tenc.subarray(8, 24);
          if (!tencKeyId.some(b => b !== 0)) {
            logger.log(`[eme] Patching keyId in 'enc${isAudio ? 'a' : 'v'}>sinf>>tenc' box: ${arrayToHex(tencKeyId)} -> ${arrayToHex(keyId)}`);
            tenc.set(keyId, 8);
          }
        });
      }
    }
    function parseKeyIdsFromTenc(initSegment) {
      const keyIds = [];
      applyToTencBoxes(initSegment, tenc => keyIds.push(tenc.subarray(8, 24)));
      return keyIds;
    }
    function applyToTencBoxes(initSegment, predicate) {
      const traks = findBox(initSegment, ['moov', 'trak']);
      traks.forEach(trak => {
        const stsd = findBox(trak, ['mdia', 'minf', 'stbl', 'stsd'])[0];
        if (!stsd) return;
        const sampleEntries = stsd.subarray(8);
        let encBoxes = findBox(sampleEntries, ['enca']);
        const isAudio = encBoxes.length > 0;
        if (!isAudio) {
          encBoxes = findBox(sampleEntries, ['encv']);
        }
        encBoxes.forEach(enc => {
          const encBoxChildren = isAudio ? enc.subarray(28) : enc.subarray(78);
          const sinfBoxes = findBox(encBoxChildren, ['sinf']);
          sinfBoxes.forEach(sinf => {
            const tenc = parseSinf(sinf);
            if (tenc) {
              predicate(tenc, isAudio);
            }
          });
        });
      });
    }
    function parseSinf(sinf) {
      const schm = findBox(sinf, ['schm'])[0];
      if (schm) {
        const scheme = bin2str(schm.subarray(4, 8));
        if (scheme === 'cbcs' || scheme === 'cenc') {
          const tenc = findBox(sinf, ['schi', 'tenc'])[0];
          if (tenc) {
            return tenc;
          }
        }
      }
    }
    
    /*
      For Reference:
      aligned(8) class TrackFragmentHeaderBox
               extends FullBox(‘tfhd’, 0, tf_flags){
         unsigned int(32)  track_ID;
         // all the following are optional fields
         unsigned int(64)  base_data_offset;
         unsigned int(32)  sample_description_index;
         unsigned int(32)  default_sample_duration;
         unsigned int(32)  default_sample_size;
         unsigned int(32)  default_sample_flags
      }
     */
    
    function getSampleData(data, initData, logger) {
      const tracks = {};
      const trafs = findBox(data, ['moof', 'traf']);
      for (let i = 0; i < trafs.length; i++) {
        const traf = trafs[i];
        // There is only one tfhd & trun per traf
        // This is true for CMAF style content, and we should perhaps check the ftyp
        // and only look for a single trun then, but for ISOBMFF we should check
        // for multiple track runs.
        const tfhd = findBox(traf, ['tfhd'])[0];
        // get the track id from the tfhd
        const id = readUint32(tfhd, 4);
        const track = initData[id];
        if (!track) {
          continue;
        }
        tracks[id] || (tracks[id] = {
          start: NaN,
          duration: 0,
          sampleCount: 0,
          timescale: track.timescale,
          type: track.type
        });
        const trackTimes = tracks[id];
        // get start DTS
        const tfdt = findBox(traf, ['tfdt'])[0];
        if (tfdt) {
          const version = tfdt[0];
          let baseTime = readUint32(tfdt, 4);
          if (version === 1) {
            // If value is too large, assume signed 64-bit. Negative track fragment decode times are invalid, but they exist in the wild.
            // This prevents large values from being used for initPTS, which can cause playlist sync issues.
            // https://github.com/video-dev/hls.js/issues/5303
            if (baseTime === UINT32_MAX$1) {
              logger.warn(`[mp4-demuxer]: Ignoring assumed invalid signed 64-bit track fragment decode time`);
            } else {
              baseTime *= UINT32_MAX$1 + 1;
              baseTime += readUint32(tfdt, 8);
            }
          }
          if (isFiniteNumber(baseTime) && (!isFiniteNumber(trackTimes.start) || baseTime < trackTimes.start)) {
            trackTimes.start = baseTime;
          }
        }
        const trackDefault = track.default;
        const tfhdFlags = readUint32(tfhd, 0) | (trackDefault == null ? void 0 : trackDefault.flags);
        let defaultSampleDuration = (trackDefault == null ? void 0 : trackDefault.duration) || 0;
        if (tfhdFlags & 0x000008) {
          // 0x000008 indicates the presence of the default_sample_duration field
          if (tfhdFlags & 0x000002) {
            // 0x000002 indicates the presence of the sample_description_index field, which precedes default_sample_duration
            // If present, the default_sample_duration exists at byte offset 12
            defaultSampleDuration = readUint32(tfhd, 12);
          } else {
            // Otherwise, the duration is at byte offset 8
            defaultSampleDuration = readUint32(tfhd, 8);
          }
        }
        const truns = findBox(traf, ['trun']);
        let sampleDTS = trackTimes.start || 0;
        let rawDuration = 0;
        let sampleDuration = defaultSampleDuration;
        for (let j = 0; j < truns.length; j++) {
          const trun = truns[j];
          const sampleCount = readUint32(trun, 4);
          const sampleIndex = trackTimes.sampleCount;
          trackTimes.sampleCount += sampleCount;
          // Get duration from samples
          const dataOffsetPresent = trun[3] & 0x01;
          const firstSampleFlagsPresent = trun[3] & 0x04;
          const sampleDurationPresent = trun[2] & 0x01;
          const sampleSizePresent = trun[2] & 0x02;
          const sampleFlagsPresent = trun[2] & 0x04;
          const sampleCompositionTimeOffsetPresent = trun[2] & 0x08;
          let offset = 8;
          let remaining = sampleCount;
          if (dataOffsetPresent) {
            offset += 4;
          }
          if (firstSampleFlagsPresent && sampleCount) {
            const isNonSyncSample = trun[offset + 1] & 0x01;
            if (!isNonSyncSample && trackTimes.keyFrameIndex === undefined) {
              trackTimes.keyFrameIndex = sampleIndex;
            }
            offset += 4;
            if (sampleDurationPresent) {
              sampleDuration = readUint32(trun, offset);
              offset += 4;
            } else {
              sampleDuration = defaultSampleDuration;
            }
            if (sampleSizePresent) {
              offset += 4;
            }
            if (sampleCompositionTimeOffsetPresent) {
              offset += 4;
            }
            sampleDTS += sampleDuration;
            rawDuration += sampleDuration;
            remaining--;
          }
          while (remaining--) {
            if (sampleDurationPresent) {
              sampleDuration = readUint32(trun, offset);
              offset += 4;
            } else {
              sampleDuration = defaultSampleDuration;
            }
            if (sampleSizePresent) {
              offset += 4;
            }
            if (sampleFlagsPresent) {
              const isNonSyncSample = trun[offset + 1] & 0x01;
              if (!isNonSyncSample) {
                if (trackTimes.keyFrameIndex === undefined) {
                  trackTimes.keyFrameIndex = trackTimes.sampleCount - (remaining + 1);
                  trackTimes.keyFrameStart = sampleDTS;
                }
              }
              offset += 4;
            }
            if (sampleCompositionTimeOffsetPresent) {
              offset += 4;
            }
            sampleDTS += sampleDuration;
            rawDuration += sampleDuration;
          }
          if (!rawDuration && defaultSampleDuration) {
            rawDuration += defaultSampleDuration * sampleCount;
          }
        }
        trackTimes.duration += rawDuration;
      }
      if (!Object.keys(tracks).some(trackId => tracks[trackId].duration)) {
        // If duration samples are not available in the traf use sidx subsegment_duration
        let sidxMinStart = Infinity;
        let sidxMaxEnd = 0;
        const sidxs = findBox(data, ['sidx']);
        for (let i = 0; i < sidxs.length; i++) {
          const sidx = parseSegmentIndex(sidxs[i]);
          if (sidx != null && sidx.references) {
            sidxMinStart = Math.min(sidxMinStart, sidx.earliestPresentationTime / sidx.timescale);
            const subSegmentDuration = sidx.references.reduce((dur, ref) => dur + ref.info.duration || 0, 0);
            sidxMaxEnd = Math.max(sidxMaxEnd, subSegmentDuration + sidx.earliestPresentationTime / sidx.timescale);
          }
        }
        if (sidxMaxEnd && isFiniteNumber(sidxMaxEnd)) {
          Object.keys(tracks).forEach(trackId => {
            if (!tracks[trackId].duration) {
              tracks[trackId].duration = sidxMaxEnd * tracks[trackId].timescale - tracks[trackId].start;
            }
          });
        }
      }
      return tracks;
    }
    
    // TODO: Check if the last moof+mdat pair is part of the valid range
    function segmentValidRange(data) {
      const segmentedRange = {
        valid: null,
        remainder: null
      };
      const moofs = findBox(data, ['moof']);
      if (moofs.length < 2) {
        segmentedRange.remainder = data;
        return segmentedRange;
      }
      const last = moofs[moofs.length - 1];
      // Offset by 8 bytes; findBox offsets the start by as much
      segmentedRange.valid = data.slice(0, last.byteOffset - 8);
      segmentedRange.remainder = data.slice(last.byteOffset - 8);
      return segmentedRange;
    }
    function appendUint8Array(data1, data2) {
      const temp = new Uint8Array(data1.length + data2.length);
      temp.set(data1);
      temp.set(data2, data1.length);
      return temp;
    }
    function parseSamples(timeOffset, track) {
      const seiSamples = [];
      const videoData = track.samples;
      const timescale = track.timescale;
      const trackId = track.id;
      let isHEVCFlavor = false;
      const moofs = findBox(videoData, ['moof']);
      moofs.map(moof => {
        const moofOffset = moof.byteOffset - 8;
        const trafs = findBox(moof, ['traf']);
        trafs.map(traf => {
          // get the base media decode time from the tfdt
          const baseTime = findBox(traf, ['tfdt']).map(tfdt => {
            const version = tfdt[0];
            let result = readUint32(tfdt, 4);
            if (version === 1) {
              result *= Math.pow(2, 32);
              result += readUint32(tfdt, 8);
            }
            return result / timescale;
          })[0];
          if (baseTime !== undefined) {
            timeOffset = baseTime;
          }
          return findBox(traf, ['tfhd']).map(tfhd => {
            const id = readUint32(tfhd, 4);
            const tfhdFlags = readUint32(tfhd, 0) & 0xffffff;
            const baseDataOffsetPresent = (tfhdFlags & 0x000001) !== 0;
            const sampleDescriptionIndexPresent = (tfhdFlags & 0x000002) !== 0;
            const defaultSampleDurationPresent = (tfhdFlags & 0x000008) !== 0;
            let defaultSampleDuration = 0;
            const defaultSampleSizePresent = (tfhdFlags & 0x000010) !== 0;
            let defaultSampleSize = 0;
            const defaultSampleFlagsPresent = (tfhdFlags & 0x000020) !== 0;
            let tfhdOffset = 8;
            if (id === trackId) {
              if (baseDataOffsetPresent) {
                tfhdOffset += 8;
              }
              if (sampleDescriptionIndexPresent) {
                tfhdOffset += 4;
              }
              if (defaultSampleDurationPresent) {
                defaultSampleDuration = readUint32(tfhd, tfhdOffset);
                tfhdOffset += 4;
              }
              if (defaultSampleSizePresent) {
                defaultSampleSize = readUint32(tfhd, tfhdOffset);
                tfhdOffset += 4;
              }
              if (defaultSampleFlagsPresent) {
                tfhdOffset += 4;
              }
              if (track.type === 'video') {
                isHEVCFlavor = isHEVC(track.codec);
              }
              findBox(traf, ['trun']).map(trun => {
                const version = trun[0];
                const flags = readUint32(trun, 0) & 0xffffff;
                const dataOffsetPresent = (flags & 0x000001) !== 0;
                let dataOffset = 0;
                const firstSampleFlagsPresent = (flags & 0x000004) !== 0;
                const sampleDurationPresent = (flags & 0x000100) !== 0;
                let sampleDuration = 0;
                const sampleSizePresent = (flags & 0x000200) !== 0;
                let sampleSize = 0;
                const sampleFlagsPresent = (flags & 0x000400) !== 0;
                const sampleCompositionOffsetsPresent = (flags & 0x000800) !== 0;
                let compositionOffset = 0;
                const sampleCount = readUint32(trun, 4);
                let trunOffset = 8; // past version, flags, and sample count
    
                if (dataOffsetPresent) {
                  dataOffset = readUint32(trun, trunOffset);
                  trunOffset += 4;
                }
                if (firstSampleFlagsPresent) {
                  trunOffset += 4;
                }
                let sampleOffset = dataOffset + moofOffset;
                for (let ix = 0; ix < sampleCount; ix++) {
                  if (sampleDurationPresent) {
                    sampleDuration = readUint32(trun, trunOffset);
                    trunOffset += 4;
                  } else {
                    sampleDuration = defaultSampleDuration;
                  }
                  if (sampleSizePresent) {
                    sampleSize = readUint32(trun, trunOffset);
                    trunOffset += 4;
                  } else {
                    sampleSize = defaultSampleSize;
                  }
                  if (sampleFlagsPresent) {
                    trunOffset += 4;
                  }
                  if (sampleCompositionOffsetsPresent) {
                    if (version === 0) {
                      compositionOffset = readUint32(trun, trunOffset);
                    } else {
                      compositionOffset = readSint32(trun, trunOffset);
                    }
                    trunOffset += 4;
                  }
                  if (track.type === ElementaryStreamTypes.VIDEO) {
                    let naluTotalSize = 0;
                    while (naluTotalSize < sampleSize) {
                      const naluSize = readUint32(videoData, sampleOffset);
                      sampleOffset += 4;
                      if (isSEIMessage(isHEVCFlavor, videoData[sampleOffset])) {
                        const data = videoData.subarray(sampleOffset, sampleOffset + naluSize);
                        parseSEIMessageFromNALu(data, isHEVCFlavor ? 2 : 1, timeOffset + compositionOffset / timescale, seiSamples);
                      }
                      sampleOffset += naluSize;
                      naluTotalSize += naluSize + 4;
                    }
                  }
                  timeOffset += sampleDuration / timescale;
                }
              });
            }
          });
        });
      });
      return seiSamples;
    }
    function isHEVC(codec) {
      if (!codec) {
        return false;
      }
      const baseCodec = codec.substring(0, 4);
      return baseCodec === 'hvc1' || baseCodec === 'hev1' ||
      // Dolby Vision
      baseCodec === 'dvh1' || baseCodec === 'dvhe';
    }
    function isSEIMessage(isHEVCFlavor, naluHeader) {
      if (isHEVCFlavor) {
        const naluType = naluHeader >> 1 & 0x3f;
        return naluType === 39 || naluType === 40;
      } else {
        const naluType = naluHeader & 0x1f;
        return naluType === 6;
      }
    }
    function parseSEIMessageFromNALu(unescapedData, headerSize, pts, samples) {
      const data = discardEPB(unescapedData);
      let seiPtr = 0;
      // skip nal header
      seiPtr += headerSize;
      let payloadType = 0;
      let payloadSize = 0;
      let b = 0;
      while (seiPtr < data.length) {
        payloadType = 0;
        do {
          if (seiPtr >= data.length) {
            break;
          }
          b = data[seiPtr++];
          payloadType += b;
        } while (b === 0xff);
    
        // Parse payload size.
        payloadSize = 0;
        do {
          if (seiPtr >= data.length) {
            break;
          }
          b = data[seiPtr++];
          payloadSize += b;
        } while (b === 0xff);
        const leftOver = data.length - seiPtr;
        // Create a variable to process the payload
        let payPtr = seiPtr;
    
        // Increment the seiPtr to the end of the payload
        if (payloadSize < leftOver) {
          seiPtr += payloadSize;
        } else if (payloadSize > leftOver) {
          // Some type of corruption has happened?
          logger.error(`Malformed SEI payload. ${payloadSize} is too small, only ${leftOver} bytes left to parse.`);
          // We might be able to parse some data, but let's be safe and ignore it.
          break;
        }
        if (payloadType === 4) {
          const countryCode = data[payPtr++];
          if (countryCode === 181) {
            const providerCode = readUint16(data, payPtr);
            payPtr += 2;
            if (providerCode === 49) {
              const userStructure = readUint32(data, payPtr);
              payPtr += 4;
              if (userStructure === 0x47413934) {
                const userDataType = data[payPtr++];
    
                // Raw CEA-608 bytes wrapped in CEA-708 packet
                if (userDataType === 3) {
                  const firstByte = data[payPtr++];
                  const totalCCs = 0x1f & firstByte;
                  const enabled = 0x40 & firstByte;
                  const totalBytes = enabled ? 2 + totalCCs * 3 : 0;
                  const byteArray = new Uint8Array(totalBytes);
                  if (enabled) {
                    byteArray[0] = firstByte;
                    for (let i = 1; i < totalBytes; i++) {
                      byteArray[i] = data[payPtr++];
                    }
                  }
                  samples.push({
                    type: userDataType,
                    payloadType,
                    pts,
                    bytes: byteArray
                  });
                }
              }
            }
          }
        } else if (payloadType === 5) {
          if (payloadSize > 16) {
            const uuidStrArray = [];
            for (let i = 0; i < 16; i++) {
              const _b = data[payPtr++].toString(16);
              uuidStrArray.push(_b.length == 1 ? '0' + _b : _b);
              if (i === 3 || i === 5 || i === 7 || i === 9) {
                uuidStrArray.push('-');
              }
            }
            const length = payloadSize - 16;
            const userDataBytes = new Uint8Array(length);
            for (let i = 0; i < length; i++) {
              userDataBytes[i] = data[payPtr++];
            }
            samples.push({
              payloadType,
              pts,
              uuid: uuidStrArray.join(''),
              userData: utf8ArrayToStr(userDataBytes),
              userDataBytes
            });
          }
        }
      }
    }
    
    /**
     * remove Emulation Prevention bytes from a RBSP
     */
    function discardEPB(data) {
      const length = data.byteLength;
      const EPBPositions = [];
      let i = 1;
    
      // Find all `Emulation Prevention Bytes`
      while (i < length - 2) {
        if (data[i] === 0 && data[i + 1] === 0 && data[i + 2] === 0x03) {
          EPBPositions.push(i + 2);
          i += 2;
        } else {
          i++;
        }
      }
    
      // If no Emulation Prevention Bytes were found just return the original
      // array
      if (EPBPositions.length === 0) {
        return data;
      }
    
      // Create a new array to hold the NAL unit data
      const newLength = length - EPBPositions.length;
      const newData = new Uint8Array(newLength);
      let sourceIndex = 0;
      for (i = 0; i < newLength; sourceIndex++, i++) {
        if (sourceIndex === EPBPositions[0]) {
          // Skip this byte
          sourceIndex++;
          // Remove this position index
          EPBPositions.shift();
        }
        newData[i] = data[sourceIndex];
      }
      return newData;
    }
    function parseEmsg(data) {
      const version = data[0];
      let schemeIdUri = '';
      let value = '';
      let timeScale = 0;
      let presentationTimeDelta = 0;
      let presentationTime = 0;
      let eventDuration = 0;
      let id = 0;
      let offset = 0;
      if (version === 0) {
        while (bin2str(data.subarray(offset, offset + 1)) !== '\0') {
          schemeIdUri += bin2str(data.subarray(offset, offset + 1));
          offset += 1;
        }
        schemeIdUri += bin2str(data.subarray(offset, offset + 1));
        offset += 1;
        while (bin2str(data.subarray(offset, offset + 1)) !== '\0') {
          value += bin2str(data.subarray(offset, offset + 1));
          offset += 1;
        }
        value += bin2str(data.subarray(offset, offset + 1));
        offset += 1;
        timeScale = readUint32(data, 12);
        presentationTimeDelta = readUint32(data, 16);
        eventDuration = readUint32(data, 20);
        id = readUint32(data, 24);
        offset = 28;
      } else if (version === 1) {
        offset += 4;
        timeScale = readUint32(data, offset);
        offset += 4;
        const leftPresentationTime = readUint32(data, offset);
        offset += 4;
        const rightPresentationTime = readUint32(data, offset);
        offset += 4;
        presentationTime = 2 ** 32 * leftPresentationTime + rightPresentationTime;
        if (!isSafeInteger(presentationTime)) {
          presentationTime = Number.MAX_SAFE_INTEGER;
          logger.warn('Presentation time exceeds safe integer limit and wrapped to max safe integer in parsing emsg box');
        }
        eventDuration = readUint32(data, offset);
        offset += 4;
        id = readUint32(data, offset);
        offset += 4;
        while (bin2str(data.subarray(offset, offset + 1)) !== '\0') {
          schemeIdUri += bin2str(data.subarray(offset, offset + 1));
          offset += 1;
        }
        schemeIdUri += bin2str(data.subarray(offset, offset + 1));
        offset += 1;
        while (bin2str(data.subarray(offset, offset + 1)) !== '\0') {
          value += bin2str(data.subarray(offset, offset + 1));
          offset += 1;
        }
        value += bin2str(data.subarray(offset, offset + 1));
        offset += 1;
      }
      const payload = data.subarray(offset, data.byteLength);
      return {
        schemeIdUri,
        value,
        timeScale,
        presentationTime,
        presentationTimeDelta,
        eventDuration,
        id,
        payload
      };
    }
    function mp4Box(type, ...payload) {
      const len = payload.length;
      let size = 8;
      let i = len;
      while (i--) {
        size += payload[i].byteLength;
      }
      const result = new Uint8Array(size);
      result[0] = size >> 24 & 0xff;
      result[1] = size >> 16 & 0xff;
      result[2] = size >> 8 & 0xff;
      result[3] = size & 0xff;
      result.set(type, 4);
      for (i = 0, size = 8; i < len; i++) {
        result.set(payload[i], size);
        size += payload[i].byteLength;
      }
      return result;
    }
    function mp4pssh(systemId, keyids, data) {
      if (systemId.byteLength !== 16) {
        throw new RangeError('Invalid system id');
      }
      let version;
      let kids;
      {
        version = 0;
        kids = new Uint8Array();
      }
      let kidCount;
      if (version > 0) {
        kidCount = new Uint8Array(4);
        if (keyids.length > 0) {
          new DataView(kidCount.buffer).setUint32(0, keyids.length, false);
        }
      } else {
        kidCount = new Uint8Array();
      }
      const dataSize = new Uint8Array(4);
      if (data.byteLength > 0) {
        new DataView(dataSize.buffer).setUint32(0, data.byteLength, false);
      }
      return mp4Box([112, 115, 115, 104], new Uint8Array([version, 0x00, 0x00, 0x00 // Flags
      ]), systemId,
      // 16 bytes
      kidCount, kids, dataSize, data);
    }
    function parseMultiPssh(initData) {
      const results = [];
      if (initData instanceof ArrayBuffer) {
        const length = initData.byteLength;
        let offset = 0;
        while (offset + 32 < length) {
          const view = new DataView(initData, offset);
          const pssh = parsePssh(view);
          results.push(pssh);
          offset += pssh.size;
        }
      }
      return results;
    }
    function parsePssh(view) {
      const size = view.getUint32(0);
      const offset = view.byteOffset;
      const length = view.byteLength;
      if (length < size) {
        return {
          offset,
          size: length
        };
      }
      const type = view.getUint32(4);
      if (type !== 0x70737368) {
        return {
          offset,
          size
        };
      }
      const version = view.getUint32(8) >>> 24;
      if (version !== 0 && version !== 1) {
        return {
          offset,
          size
        };
      }
      const buffer = view.buffer;
      const systemId = arrayToHex(new Uint8Array(buffer, offset + 12, 16));
      let kids = null;
      let data = null;
      let dataSizeOffset = 0;
      if (version === 0) {
        dataSizeOffset = 28;
      } else {
        const kidCounts = view.getUint32(28);
        if (!kidCounts || length < 32 + kidCounts * 16) {
          return {
            offset,
            size
          };
        }
        kids = [];
        for (let i = 0; i < kidCounts; i++) {
          kids.push(new Uint8Array(buffer, offset + 32 + i * 16, 16));
        }
        dataSizeOffset = 32 + kidCounts * 16;
      }
      if (!dataSizeOffset) {
        return {
          offset,
          size
        };
      }
      const dataSizeOrKidCount = view.getUint32(dataSizeOffset);
      if (size - 32 < dataSizeOrKidCount) {
        return {
          offset,
          size
        };
      }
      data = new Uint8Array(buffer, offset + dataSizeOffset + 4, dataSizeOrKidCount);
      return {
        version,
        systemId,
        kids,
        data,
        offset,
        size
      };
    }
    
    const userAgentHevcSupportIsInaccurate = () => {
      return /\(Windows.+Firefox\//i.test(navigator.userAgent);
    };
    
    // from http://mp4ra.org/codecs.html
    // values indicate codec selection preference (lower is higher priority)
    const sampleEntryCodesISO = {
      audio: {
        a3ds: 1,
        'ac-3': 0.95,
        'ac-4': 1,
        alac: 0.9,
        alaw: 1,
        dra1: 1,
        'dts+': 1,
        'dts-': 1,
        dtsc: 1,
        dtse: 1,
        dtsh: 1,
        'ec-3': 0.9,
        enca: 1,
        fLaC: 0.9,
        // MP4-RA listed codec entry for FLAC
        flac: 0.9,
        // legacy browser codec name for FLAC
        FLAC: 0.9,
        // some manifests may list "FLAC" with Apple's tools
        g719: 1,
        g726: 1,
        m4ae: 1,
        mha1: 1,
        mha2: 1,
        mhm1: 1,
        mhm2: 1,
        mlpa: 1,
        mp4a: 1,
        'raw ': 1,
        Opus: 1,
        opus: 1,
        // browsers expect this to be lowercase despite MP4RA says 'Opus'
        samr: 1,
        sawb: 1,
        sawp: 1,
        sevc: 1,
        sqcp: 1,
        ssmv: 1,
        twos: 1,
        ulaw: 1
      },
      video: {
        avc1: 1,
        avc2: 1,
        avc3: 1,
        avc4: 1,
        avcp: 1,
        av01: 0.8,
        dav1: 0.8,
        drac: 1,
        dva1: 1,
        dvav: 1,
        dvh1: 0.7,
        dvhe: 0.7,
        encv: 1,
        hev1: 0.75,
        hvc1: 0.75,
        mjp2: 1,
        mp4v: 1,
        mvc1: 1,
        mvc2: 1,
        mvc3: 1,
        mvc4: 1,
        resv: 1,
        rv60: 1,
        s263: 1,
        svc1: 1,
        svc2: 1,
        'vc-1': 1,
        vp08: 1,
        vp09: 0.9
      },
      text: {
        stpp: 1,
        wvtt: 1
      }
    };
    function isCodecType(codec, type) {
      const typeCodes = sampleEntryCodesISO[type];
      return !!typeCodes && !!typeCodes[codec.slice(0, 4)];
    }
    function areCodecsMediaSourceSupported(codecs, type, preferManagedMediaSource = true) {
      return !codecs.split(',').some(codec => !isCodecMediaSourceSupported(codec, type, preferManagedMediaSource));
    }
    function isCodecMediaSourceSupported(codec, type, preferManagedMediaSource = true) {
      var _MediaSource$isTypeSu;
      const MediaSource = getMediaSource(preferManagedMediaSource);
      return (_MediaSource$isTypeSu = MediaSource == null ? void 0 : MediaSource.isTypeSupported(mimeTypeForCodec(codec, type))) != null ? _MediaSource$isTypeSu : false;
    }
    function mimeTypeForCodec(codec, type) {
      return `${type}/mp4;codecs=${codec}`;
    }
    function videoCodecPreferenceValue(videoCodec) {
      if (videoCodec) {
        const fourCC = videoCodec.substring(0, 4);
        return sampleEntryCodesISO.video[fourCC];
      }
      return 2;
    }
    function codecsSetSelectionPreferenceValue(codecSet) {
      const limitedHevcSupport = userAgentHevcSupportIsInaccurate();
      return codecSet.split(',').reduce((num, fourCC) => {
        const lowerPriority = limitedHevcSupport && isHEVC(fourCC);
        const preferenceValue = lowerPriority ? 9 : sampleEntryCodesISO.video[fourCC];
        if (preferenceValue) {
          return (preferenceValue * 2 + num) / (num ? 3 : 2);
        }
        return (sampleEntryCodesISO.audio[fourCC] + num) / (num ? 2 : 1);
      }, 0);
    }
    const CODEC_COMPATIBLE_NAMES = {};
    function getCodecCompatibleNameLower(lowerCaseCodec, preferManagedMediaSource = true) {
      if (CODEC_COMPATIBLE_NAMES[lowerCaseCodec]) {
        return CODEC_COMPATIBLE_NAMES[lowerCaseCodec];
      }
      const codecsToCheck = {
        // Idealy fLaC and Opus would be first (spec-compliant) but
        // some browsers will report that fLaC is supported then fail.
        // see: https://bugs.chromium.org/p/chromium/issues/detail?id=1422728
        flac: ['flac', 'fLaC', 'FLAC'],
        opus: ['opus', 'Opus'],
        // Replace audio codec info if browser does not support mp4a.40.34,
        // and demuxer can fallback to 'audio/mpeg' or 'audio/mp4;codecs="mp3"'
        'mp4a.40.34': ['mp3']
      }[lowerCaseCodec];
      for (let i = 0; i < codecsToCheck.length; i++) {
        var _getMediaSource;
        if (isCodecMediaSourceSupported(codecsToCheck[i], 'audio', preferManagedMediaSource)) {
          CODEC_COMPATIBLE_NAMES[lowerCaseCodec] = codecsToCheck[i];
          return codecsToCheck[i];
        } else if (codecsToCheck[i] === 'mp3' && (_getMediaSource = getMediaSource(preferManagedMediaSource)) != null && _getMediaSource.isTypeSupported('audio/mpeg')) {
          return '';
        }
      }
      return lowerCaseCodec;
    }
    const AUDIO_CODEC_REGEXP = /flac|opus|mp4a\.40\.34/i;
    function getCodecCompatibleName(codec, preferManagedMediaSource = true) {
      return codec.replace(AUDIO_CODEC_REGEXP, m => getCodecCompatibleNameLower(m.toLowerCase(), preferManagedMediaSource));
    }
    function replaceVideoCodec(originalCodecs, newVideoCodec) {
      const codecs = [];
      if (originalCodecs) {
        const allCodecs = originalCodecs.split(',');
        for (let i = 0; i < allCodecs.length; i++) {
          if (!isCodecType(allCodecs[i], 'video')) {
            codecs.push(allCodecs[i]);
          }
        }
      }
      if (newVideoCodec) {
        codecs.push(newVideoCodec);
      }
      return codecs.join(',');
    }
    function pickMostCompleteCodecName(parsedCodec, levelCodec) {
      // Parsing of mp4a codecs strings in mp4-tools from media is incomplete as of d8c6c7a
      // so use level codec is parsed codec is unavailable or incomplete
      if (parsedCodec && (parsedCodec.length > 4 || ['ac-3', 'ec-3', 'alac', 'fLaC', 'Opus'].indexOf(parsedCodec) !== -1)) {
        if (isCodecSupportedAsType(parsedCodec, 'audio') || isCodecSupportedAsType(parsedCodec, 'video')) {
          return parsedCodec;
        }
      }
      if (levelCodec) {
        const levelCodecs = levelCodec.split(',');
        if (levelCodecs.length > 1) {
          if (parsedCodec) {
            for (let i = levelCodecs.length; i--;) {
              if (levelCodecs[i].substring(0, 4) === parsedCodec.substring(0, 4)) {
                return levelCodecs[i];
              }
            }
          }
          return levelCodecs[0];
        }
      }
      return levelCodec || parsedCodec;
    }
    function isCodecSupportedAsType(codec, type) {
      return isCodecType(codec, type) && isCodecMediaSourceSupported(codec, type);
    }
    function convertAVC1ToAVCOTI(videoCodecs) {
      // Convert avc1 codec string from RFC-4281 to RFC-6381 for MediaSource.isTypeSupported
      // Examples: avc1.66.30 to avc1.42001e and avc1.77.30,avc1.66.30 to avc1.4d001e,avc1.42001e.
      const codecs = videoCodecs.split(',');
      for (let i = 0; i < codecs.length; i++) {
        const avcdata = codecs[i].split('.');
        // only convert codec strings starting with avc1 (Examples: avc1.64001f,dvh1.05.07)
        if (avcdata.length > 2 && avcdata[0] === 'avc1') {
          codecs[i] = `avc1.${parseInt(avcdata[1]).toString(16)}${('000' + parseInt(avcdata[2]).toString(16)).slice(-4)}`;
        }
      }
      return codecs.join(',');
    }
    function fillInMissingAV01Params(videoCodec) {
      // Used to fill in incomplete AV1 playlist CODECS strings for mediaCapabilities.decodingInfo queries
      if (videoCodec.startsWith('av01.')) {
        const av1params = videoCodec.split('.');
        const placeholders = ['0', '111', '01', '01', '01', '0'];
        for (let i = av1params.length; i > 4 && i < 10; i++) {
          av1params[i] = placeholders[i - 4];
        }
        return av1params.join('.');
      }
      return videoCodec;
    }
    function getM2TSSupportedAudioTypes(preferManagedMediaSource) {
      const MediaSource = getMediaSource(preferManagedMediaSource) || {
        isTypeSupported: () => false
      };
      return {
        mpeg: MediaSource.isTypeSupported('audio/mpeg'),
        mp3: MediaSource.isTypeSupported('audio/mp4; codecs="mp3"'),
        ac3: MediaSource.isTypeSupported('audio/mp4; codecs="ac-3"') 
      };
    }
    function getCodecsForMimeType(mimeType) {
      return mimeType.replace(/^.+codecs=["']?([^"']+).*$/, '$1');
    }
    
    // @ts-ignore
    const supportedResult = {
      supported: true,
      powerEfficient: true,
      smooth: true
      // keySystemAccess: null,
    };
    
    // @ts-ignore
    const unsupportedResult = {
      supported: false,
      smooth: false,
      powerEfficient: false
      // keySystemAccess: null,
    };
    const SUPPORTED_INFO_DEFAULT = {
      supported: true,
      configurations: [],
      decodingInfoResults: [supportedResult]
    };
    function getUnsupportedResult(error, configurations) {
      return {
        supported: false,
        configurations,
        decodingInfoResults: [unsupportedResult],
        error
      };
    }
    function requiresMediaCapabilitiesDecodingInfo(level, audioTracksByGroup, currentVideoRange, currentFrameRate, currentBw, audioPreference) {
      // Only test support when configuration is exceeds minimum options
      const videoCodecs = level.videoCodec;
      const audioGroups = level.audioCodec ? level.audioGroups : null;
      const audioCodecPreference = audioPreference == null ? void 0 : audioPreference.audioCodec;
      const channelsPreference = audioPreference == null ? void 0 : audioPreference.channels;
      const maxChannels = channelsPreference ? parseInt(channelsPreference) : audioCodecPreference ? Infinity : 2;
      let audioChannels = null;
      if (audioGroups != null && audioGroups.length) {
        try {
          if (audioGroups.length === 1 && audioGroups[0]) {
            audioChannels = audioTracksByGroup.groups[audioGroups[0]].channels;
          } else {
            audioChannels = audioGroups.reduce((acc, groupId) => {
              if (groupId) {
                const audioTrackGroup = audioTracksByGroup.groups[groupId];
                if (!audioTrackGroup) {
                  throw new Error(`Audio track group ${groupId} not found`);
                }
                // Sum all channel key values
                Object.keys(audioTrackGroup.channels).forEach(key => {
                  acc[key] = (acc[key] || 0) + audioTrackGroup.channels[key];
                });
              }
              return acc;
            }, {
              2: 0
            });
          }
        } catch (error) {
          return true;
        }
      }
      return videoCodecs !== undefined && (
      // Force media capabilities check for HEVC to avoid failure on Windows
      videoCodecs.split(',').some(videoCodec => isHEVC(videoCodec)) || level.width > 1920 && level.height > 1088 || level.height > 1920 && level.width > 1088 || level.frameRate > Math.max(currentFrameRate, 30) || level.videoRange !== 'SDR' && level.videoRange !== currentVideoRange || level.bitrate > Math.max(currentBw, 8e6)) || !!audioChannels && isFiniteNumber(maxChannels) && Object.keys(audioChannels).some(channels => parseInt(channels) > maxChannels);
    }
    function getMediaDecodingInfoPromise(level, audioTracksByGroup, mediaCapabilities, cache = {}) {
      const videoCodecs = level.videoCodec;
      if (!videoCodecs && !level.audioCodec || !mediaCapabilities) {
        return Promise.resolve(SUPPORTED_INFO_DEFAULT);
      }
      const configurations = [];
      const videoDecodeList = makeVideoConfigurations(level);
      const videoCount = videoDecodeList.length;
      const audioDecodeList = makeAudioConfigurations(level, audioTracksByGroup, videoCount > 0);
      const audioCount = audioDecodeList.length;
      for (let i = videoCount || 1 * audioCount || 1; i--;) {
        const configuration = {
          type: 'media-source'
        };
        if (videoCount) {
          configuration.video = videoDecodeList[i % videoCount];
        }
        if (audioCount) {
          configuration.audio = audioDecodeList[i % audioCount];
          const audioBitrate = configuration.audio.bitrate;
          if (configuration.video && audioBitrate) {
            configuration.video.bitrate -= audioBitrate;
          }
        }
        configurations.push(configuration);
      }
      if (videoCodecs) {
        // Override Windows Firefox HEVC MediaCapabilities result (https://github.com/video-dev/hls.js/issues/7046)
        const ua = navigator.userAgent;
        if (videoCodecs.split(',').some(videoCodec => isHEVC(videoCodec)) && userAgentHevcSupportIsInaccurate()) {
          return Promise.resolve(getUnsupportedResult(new Error(`Overriding Windows Firefox HEVC MediaCapabilities result based on user-agent string: (${ua})`), configurations));
        }
      }
      return Promise.all(configurations.map(configuration => {
        // Cache MediaCapabilities promises
        const decodingInfoKey = getMediaDecodingInfoKey(configuration);
        return cache[decodingInfoKey] || (cache[decodingInfoKey] = mediaCapabilities.decodingInfo(configuration));
      })).then(decodingInfoResults => ({
        supported: !decodingInfoResults.some(info => !info.supported),
        configurations,
        decodingInfoResults
      })).catch(error => ({
        supported: false,
        configurations,
        decodingInfoResults: [],
        error
      }));
    }
    function makeVideoConfigurations(level) {
      var _level$videoCodec;
      const videoCodecs = (_level$videoCodec = level.videoCodec) == null ? void 0 : _level$videoCodec.split(',');
      const bitrate = getVariantDecodingBitrate(level);
      const width = level.width || 640;
      const height = level.height || 480;
      // Assume a framerate of 30fps since MediaCapabilities will not accept Level default of 0.
      const framerate = level.frameRate || 30;
      const videoRange = level.videoRange.toLowerCase();
      return videoCodecs ? videoCodecs.map(videoCodec => {
        const videoConfiguration = {
          contentType: mimeTypeForCodec(fillInMissingAV01Params(videoCodec), 'video'),
          width,
          height,
          bitrate,
          framerate
        };
        if (videoRange !== 'sdr') {
          videoConfiguration.transferFunction = videoRange;
        }
        return videoConfiguration;
      }) : [];
    }
    function makeAudioConfigurations(level, audioTracksByGroup, hasVideo) {
      var _level$audioCodec;
      const audioCodecs = (_level$audioCodec = level.audioCodec) == null ? void 0 : _level$audioCodec.split(',');
      const combinedBitrate = getVariantDecodingBitrate(level);
      if (audioCodecs && level.audioGroups) {
        return level.audioGroups.reduce((configurations, audioGroupId) => {
          var _audioTracksByGroup$g;
          const tracks = audioGroupId ? (_audioTracksByGroup$g = audioTracksByGroup.groups[audioGroupId]) == null ? void 0 : _audioTracksByGroup$g.tracks : null;
          if (tracks) {
            return tracks.reduce((configs, audioTrack) => {
              if (audioTrack.groupId === audioGroupId) {
                const channelsNumber = parseFloat(audioTrack.channels || '');
                audioCodecs.forEach(audioCodec => {
                  const audioConfiguration = {
                    contentType: mimeTypeForCodec(audioCodec, 'audio'),
                    bitrate: hasVideo ? estimatedAudioBitrate(audioCodec, combinedBitrate) : combinedBitrate
                  };
                  if (channelsNumber) {
                    audioConfiguration.channels = '' + channelsNumber;
                  }
                  configs.push(audioConfiguration);
                });
              }
              return configs;
            }, configurations);
          }
          return configurations;
        }, []);
      }
      return [];
    }
    function estimatedAudioBitrate(audioCodec, levelBitrate) {
      if (levelBitrate <= 1) {
        return 1;
      }
      let audioBitrate = 128000;
      if (audioCodec === 'ec-3') {
        audioBitrate = 768000;
      } else if (audioCodec === 'ac-3') {
        audioBitrate = 640000;
      }
      return Math.min(levelBitrate / 2, audioBitrate); // Don't exceed some % of level bitrate
    }
    function getVariantDecodingBitrate(level) {
      return Math.ceil(Math.max(level.bitrate * 0.9, level.averageBitrate) / 1000) * 1000 || 1;
    }
    function getMediaDecodingInfoKey(config) {
      let key = '';
      const {
        audio,
        video
      } = config;
      if (video) {
        const codec = getCodecsForMimeType(video.contentType);
        key += `${codec}_r${video.height}x${video.width}f${Math.ceil(video.framerate)}${video.transferFunction || 'sd'}_${Math.ceil(video.bitrate / 1e5)}`;
      }
      if (audio) {
        const codec = getCodecsForMimeType(audio.contentType);
        key += `${video ? '_' : ''}${codec}_c${audio.channels}`;
      }
      return key;
    }
    
    const HdcpLevels = ['NONE', 'TYPE-0', 'TYPE-1', null];
    function isHdcpLevel(value) {
      return HdcpLevels.indexOf(value) > -1;
    }
    const VideoRangeValues = ['SDR', 'PQ', 'HLG'];
    function isVideoRange(value) {
      return !!value && VideoRangeValues.indexOf(value) > -1;
    }
    var HlsSkip = {
      No: "",
      Yes: "YES",
      v2: "v2"
    };
    function getSkipValue(details) {
      const {
        canSkipUntil,
        canSkipDateRanges,
        age
      } = details;
      // A Client SHOULD NOT request a Playlist Delta Update unless it already
      // has a version of the Playlist that is no older than one-half of the Skip Boundary.
      // @see: https://datatracker.ietf.org/doc/html/draft-pantos-hls-rfc8216bis#section-6.3.7
      const playlistRecentEnough = age < canSkipUntil / 2;
      if (canSkipUntil && playlistRecentEnough) {
        if (canSkipDateRanges) {
          return HlsSkip.v2;
        }
        return HlsSkip.Yes;
      }
      return HlsSkip.No;
    }
    class HlsUrlParameters {
      constructor(msn, part, skip) {
        this.msn = void 0;
        this.part = void 0;
        this.skip = void 0;
        this.msn = msn;
        this.part = part;
        this.skip = skip;
      }
      addDirectives(uri) {
        const url = new self.URL(uri);
        if (this.msn !== undefined) {
          url.searchParams.set('_HLS_msn', this.msn.toString());
        }
        if (this.part !== undefined) {
          url.searchParams.set('_HLS_part', this.part.toString());
        }
        if (this.skip) {
          url.searchParams.set('_HLS_skip', this.skip);
        }
        return url.href;
      }
    }
    class Level {
      constructor(data) {
        this._attrs = void 0;
        this.audioCodec = void 0;
        this.bitrate = void 0;
        this.codecSet = void 0;
        this.url = void 0;
        this.frameRate = void 0;
        this.height = void 0;
        this.id = void 0;
        this.name = void 0;
        this.supplemental = void 0;
        this.videoCodec = void 0;
        this.width = void 0;
        this.details = void 0;
        this.fragmentError = 0;
        this.loadError = 0;
        this.loaded = void 0;
        this.realBitrate = 0;
        this.supportedPromise = void 0;
        this.supportedResult = void 0;
        this._avgBitrate = 0;
        this._audioGroups = void 0;
        this._subtitleGroups = void 0;
        // Deprecated (retained for backwards compatibility)
        this._urlId = 0;
        this.url = [data.url];
        this._attrs = [data.attrs];
        this.bitrate = data.bitrate;
        if (data.details) {
          this.details = data.details;
        }
        this.id = data.id || 0;
        this.name = data.name;
        this.width = data.width || 0;
        this.height = data.height || 0;
        this.frameRate = data.attrs.optionalFloat('FRAME-RATE', 0);
        this._avgBitrate = data.attrs.decimalInteger('AVERAGE-BANDWIDTH');
        this.audioCodec = data.audioCodec;
        this.videoCodec = data.videoCodec;
        this.codecSet = [data.videoCodec, data.audioCodec].filter(c => !!c).map(s => s.substring(0, 4)).join(',');
        if ('supplemental' in data) {
          var _data$supplemental;
          this.supplemental = data.supplemental;
          const supplementalVideo = (_data$supplemental = data.supplemental) == null ? void 0 : _data$supplemental.videoCodec;
          if (supplementalVideo && supplementalVideo !== data.videoCodec) {
            this.codecSet += `,${supplementalVideo.substring(0, 4)}`;
          }
        }
        this.addGroupId('audio', data.attrs.AUDIO);
        this.addGroupId('text', data.attrs.SUBTITLES);
      }
      get maxBitrate() {
        return Math.max(this.realBitrate, this.bitrate);
      }
      get averageBitrate() {
        return this._avgBitrate || this.realBitrate || this.bitrate;
      }
      get attrs() {
        return this._attrs[0];
      }
      get codecs() {
        return this.attrs.CODECS || '';
      }
      get pathwayId() {
        return this.attrs['PATHWAY-ID'] || '.';
      }
      get videoRange() {
        return this.attrs['VIDEO-RANGE'] || 'SDR';
      }
      get score() {
        return this.attrs.optionalFloat('SCORE', 0);
      }
      get uri() {
        return this.url[0] || '';
      }
      hasAudioGroup(groupId) {
        return hasGroup(this._audioGroups, groupId);
      }
      hasSubtitleGroup(groupId) {
        return hasGroup(this._subtitleGroups, groupId);
      }
      get audioGroups() {
        return this._audioGroups;
      }
      get subtitleGroups() {
        return this._subtitleGroups;
      }
      addGroupId(type, groupId) {
        if (!groupId) {
          return;
        }
        if (type === 'audio') {
          let audioGroups = this._audioGroups;
          if (!audioGroups) {
            audioGroups = this._audioGroups = [];
          }
          if (audioGroups.indexOf(groupId) === -1) {
            audioGroups.push(groupId);
          }
        } else if (type === 'text') {
          let subtitleGroups = this._subtitleGroups;
          if (!subtitleGroups) {
            subtitleGroups = this._subtitleGroups = [];
          }
          if (subtitleGroups.indexOf(groupId) === -1) {
            subtitleGroups.push(groupId);
          }
        }
      }
    
      // Deprecated methods (retained for backwards compatibility)
      get urlId() {
        return 0;
      }
      set urlId(value) {}
      get audioGroupIds() {
        return this.audioGroups ? [this.audioGroupId] : undefined;
      }
      get textGroupIds() {
        return this.subtitleGroups ? [this.textGroupId] : undefined;
      }
      get audioGroupId() {
        var _this$audioGroups;
        return (_this$audioGroups = this.audioGroups) == null ? void 0 : _this$audioGroups[0];
      }
      get textGroupId() {
        var _this$subtitleGroups;
        return (_this$subtitleGroups = this.subtitleGroups) == null ? void 0 : _this$subtitleGroups[0];
      }
      addFallback() {}
    }
    function hasGroup(groups, groupId) {
      if (!groupId || !groups) {
        return false;
      }
      return groups.indexOf(groupId) !== -1;
    }
    
    /**
     * @returns Whether we can detect and validate HDR capability within the window context
     */
    function isHdrSupported() {
      if (typeof matchMedia === 'function') {
        const mediaQueryList = matchMedia('(dynamic-range: high)');
        const badQuery = matchMedia('bad query');
        if (mediaQueryList.media !== badQuery.media) {
          return mediaQueryList.matches === true;
        }
      }
      return false;
    }
    
    /**
     * Sanitizes inputs to return the active video selection options for HDR/SDR.
     * When both inputs are null:
     *
     *    `{ preferHDR: false, allowedVideoRanges: [] }`
     *
     * When `currentVideoRange` non-null, maintain the active range:
     *
     *    `{ preferHDR: currentVideoRange !== 'SDR', allowedVideoRanges: [currentVideoRange] }`
     *
     * When VideoSelectionOption non-null:
     *
     *  - Allow all video ranges if `allowedVideoRanges` unspecified.
     *  - If `preferHDR` is non-null use the value to filter `allowedVideoRanges`.
     *  - Else check window for HDR support and set `preferHDR` to the result.
     *
     * @param currentVideoRange
     * @param videoPreference
     */
    function getVideoSelectionOptions(currentVideoRange, videoPreference) {
      let preferHDR = false;
      let allowedVideoRanges = [];
      if (currentVideoRange) {
        preferHDR = currentVideoRange !== 'SDR';
        allowedVideoRanges = [currentVideoRange];
      }
      if (videoPreference) {
        allowedVideoRanges = videoPreference.allowedVideoRanges || VideoRangeValues.slice(0);
        const allowAutoPreferHDR = allowedVideoRanges.join('') !== 'SDR' && !videoPreference.videoCodec;
        preferHDR = videoPreference.preferHDR !== undefined ? videoPreference.preferHDR : allowAutoPreferHDR && isHdrSupported();
        if (!preferHDR) {
          allowedVideoRanges = ['SDR'];
        }
      }
      return {
        preferHDR,
        allowedVideoRanges
      };
    }
    
    const omitCircularRefsReplacer = replacer => {
      const known = new WeakSet();
      return (_, value) => {
        if (replacer) {
          value = replacer(_, value);
        }
        if (typeof value === 'object' && value !== null) {
          if (known.has(value)) {
            return;
          }
          known.add(value);
        }
        return value;
      };
    };
    const stringify = (object, replacer) => JSON.stringify(object, omitCircularRefsReplacer(replacer));
    
    function getStartCodecTier(codecTiers, currentVideoRange, currentBw, audioPreference, videoPreference) {
      const codecSets = Object.keys(codecTiers);
      const channelsPreference = audioPreference == null ? void 0 : audioPreference.channels;
      const audioCodecPreference = audioPreference == null ? void 0 : audioPreference.audioCodec;
      const videoCodecPreference = videoPreference == null ? void 0 : videoPreference.videoCodec;
      const preferStereo = channelsPreference && parseInt(channelsPreference) === 2;
      // Use first level set to determine stereo, and minimum resolution and framerate
      let hasStereo = false;
      let hasCurrentVideoRange = false;
      let minHeight = Infinity;
      let minFramerate = Infinity;
      let minBitrate = Infinity;
      let minIndex = Infinity;
      let selectedScore = 0;
      let videoRanges = [];
      const {
        preferHDR,
        allowedVideoRanges
      } = getVideoSelectionOptions(currentVideoRange, videoPreference);
      for (let i = codecSets.length; i--;) {
        const tier = codecTiers[codecSets[i]];
        hasStereo || (hasStereo = tier.channels[2] > 0);
        minHeight = Math.min(minHeight, tier.minHeight);
        minFramerate = Math.min(minFramerate, tier.minFramerate);
        minBitrate = Math.min(minBitrate, tier.minBitrate);
        const matchingVideoRanges = allowedVideoRanges.filter(range => tier.videoRanges[range] > 0);
        if (matchingVideoRanges.length > 0) {
          hasCurrentVideoRange = true;
        }
      }
      minHeight = isFiniteNumber(minHeight) ? minHeight : 0;
      minFramerate = isFiniteNumber(minFramerate) ? minFramerate : 0;
      const maxHeight = Math.max(1080, minHeight);
      const maxFramerate = Math.max(30, minFramerate);
      minBitrate = isFiniteNumber(minBitrate) ? minBitrate : currentBw;
      currentBw = Math.max(minBitrate, currentBw);
      // If there are no variants with matching preference, set currentVideoRange to undefined
      if (!hasCurrentVideoRange) {
        currentVideoRange = undefined;
      }
      const hasMultipleSets = codecSets.length > 1;
      const codecSet = codecSets.reduce((selected, candidate) => {
        // Remove candiates which do not meet bitrate, default audio, stereo or channels preference, 1080p or lower, 30fps or lower, or SDR/HDR selection if present
        const candidateTier = codecTiers[candidate];
        if (candidate === selected) {
          return selected;
        }
        videoRanges = hasCurrentVideoRange ? allowedVideoRanges.filter(range => candidateTier.videoRanges[range] > 0) : [];
        if (hasMultipleSets) {
          if (candidateTier.minBitrate > currentBw) {
            logStartCodecCandidateIgnored(candidate, `min bitrate of ${candidateTier.minBitrate} > current estimate of ${currentBw}`);
            return selected;
          }
          if (!candidateTier.hasDefaultAudio) {
            logStartCodecCandidateIgnored(candidate, `no renditions with default or auto-select sound found`);
            return selected;
          }
          if (audioCodecPreference && candidate.indexOf(audioCodecPreference.substring(0, 4)) % 5 !== 0) {
            logStartCodecCandidateIgnored(candidate, `audio codec preference "${audioCodecPreference}" not found`);
            return selected;
          }
          if (channelsPreference && !preferStereo) {
            if (!candidateTier.channels[channelsPreference]) {
              logStartCodecCandidateIgnored(candidate, `no renditions with ${channelsPreference} channel sound found (channels options: ${Object.keys(candidateTier.channels)})`);
              return selected;
            }
          } else if ((!audioCodecPreference || preferStereo) && hasStereo && candidateTier.channels['2'] === 0) {
            logStartCodecCandidateIgnored(candidate, `no renditions with stereo sound found`);
            return selected;
          }
          if (candidateTier.minHeight > maxHeight) {
            logStartCodecCandidateIgnored(candidate, `min resolution of ${candidateTier.minHeight} > maximum of ${maxHeight}`);
            return selected;
          }
          if (candidateTier.minFramerate > maxFramerate) {
            logStartCodecCandidateIgnored(candidate, `min framerate of ${candidateTier.minFramerate} > maximum of ${maxFramerate}`);
            return selected;
          }
          if (!videoRanges.some(range => candidateTier.videoRanges[range] > 0)) {
            logStartCodecCandidateIgnored(candidate, `no variants with VIDEO-RANGE of ${stringify(videoRanges)} found`);
            return selected;
          }
          if (videoCodecPreference && candidate.indexOf(videoCodecPreference.substring(0, 4)) % 5 !== 0) {
            logStartCodecCandidateIgnored(candidate, `video codec preference "${videoCodecPreference}" not found`);
            return selected;
          }
          if (candidateTier.maxScore < selectedScore) {
            logStartCodecCandidateIgnored(candidate, `max score of ${candidateTier.maxScore} < selected max of ${selectedScore}`);
            return selected;
          }
        }
        // Remove candiates with less preferred codecs or more errors
        if (selected && (codecsSetSelectionPreferenceValue(candidate) >= codecsSetSelectionPreferenceValue(selected) || candidateTier.fragmentError > codecTiers[selected].fragmentError)) {
          return selected;
        }
        minIndex = candidateTier.minIndex;
        selectedScore = candidateTier.maxScore;
        return candidate;
      }, undefined);
      return {
        codecSet,
        videoRanges,
        preferHDR,
        minFramerate,
        minBitrate,
        minIndex
      };
    }
    function logStartCodecCandidateIgnored(codeSet, reason) {
      logger.log(`[abr] start candidates with "${codeSet}" ignored because ${reason}`);
    }
    function getAudioTracksByGroup(allAudioTracks) {
      return allAudioTracks.reduce((audioTracksByGroup, track) => {
        let trackGroup = audioTracksByGroup.groups[track.groupId];
        if (!trackGroup) {
          trackGroup = audioTracksByGroup.groups[track.groupId] = {
            tracks: [],
            channels: {
              2: 0
            },
            hasDefault: false,
            hasAutoSelect: false
          };
        }
        trackGroup.tracks.push(track);
        const channelsKey = track.channels || '2';
        trackGroup.channels[channelsKey] = (trackGroup.channels[channelsKey] || 0) + 1;
        trackGroup.hasDefault = trackGroup.hasDefault || track.default;
        trackGroup.hasAutoSelect = trackGroup.hasAutoSelect || track.autoselect;
        if (trackGroup.hasDefault) {
          audioTracksByGroup.hasDefaultAudio = true;
        }
        if (trackGroup.hasAutoSelect) {
          audioTracksByGroup.hasAutoSelectAudio = true;
        }
        return audioTracksByGroup;
      }, {
        hasDefaultAudio: false,
        hasAutoSelectAudio: false,
        groups: {}
      });
    }
    function getCodecTiers(levels, audioTracksByGroup, minAutoLevel, maxAutoLevel) {
      return levels.slice(minAutoLevel, maxAutoLevel + 1).reduce((tiers, level, index) => {
        if (!level.codecSet) {
          return tiers;
        }
        const audioGroups = level.audioGroups;
        let tier = tiers[level.codecSet];
        if (!tier) {
          tiers[level.codecSet] = tier = {
            minBitrate: Infinity,
            minHeight: Infinity,
            minFramerate: Infinity,
            minIndex: index,
            maxScore: 0,
            videoRanges: {
              SDR: 0
            },
            channels: {
              '2': 0
            },
            hasDefaultAudio: !audioGroups,
            fragmentError: 0
          };
        }
        tier.minBitrate = Math.min(tier.minBitrate, level.bitrate);
        const lesserWidthOrHeight = Math.min(level.height, level.width);
        tier.minHeight = Math.min(tier.minHeight, lesserWidthOrHeight);
        tier.minFramerate = Math.min(tier.minFramerate, level.frameRate);
        tier.minIndex = Math.min(tier.minIndex, index);
        tier.maxScore = Math.max(tier.maxScore, level.score);
        tier.fragmentError += level.fragmentError;
        tier.videoRanges[level.videoRange] = (tier.videoRanges[level.videoRange] || 0) + 1;
        if (audioGroups) {
          audioGroups.forEach(audioGroupId => {
            if (!audioGroupId) {
              return;
            }
            const audioGroup = audioTracksByGroup.groups[audioGroupId];
            if (!audioGroup) {
              return;
            }
            // Default audio is any group with DEFAULT=YES, or if missing then any group with AUTOSELECT=YES, or all variants
            tier.hasDefaultAudio = tier.hasDefaultAudio || audioTracksByGroup.hasDefaultAudio ? audioGroup.hasDefault : audioGroup.hasAutoSelect || !audioTracksByGroup.hasDefaultAudio && !audioTracksByGroup.hasAutoSelectAudio;
            Object.keys(audioGroup.channels).forEach(channels => {
              tier.channels[channels] = (tier.channels[channels] || 0) + audioGroup.channels[channels];
            });
          });
        }
        return tiers;
      }, {});
    }
    function getBasicSelectionOption(option) {
      if (!option) {
        return option;
      }
      const {
        lang,
        assocLang,
        characteristics,
        channels,
        audioCodec
      } = option;
      return {
        lang,
        assocLang,
        characteristics,
        channels,
        audioCodec
      };
    }
    function findMatchingOption(option, tracks, matchPredicate) {
      if ('attrs' in option) {
        const index = tracks.indexOf(option);
        if (index !== -1) {
          return index;
        }
      }
      for (let i = 0; i < tracks.length; i++) {
        const track = tracks[i];
        if (matchesOption(option, track, matchPredicate)) {
          return i;
        }
      }
      return -1;
    }
    function matchesOption(option, track, matchPredicate) {
      const {
        groupId,
        name,
        lang,
        assocLang,
        default: isDefault
      } = option;
      const forced = option.forced;
      return (groupId === undefined || track.groupId === groupId) && (name === undefined || track.name === name) && (lang === undefined || languagesMatch(lang, track.lang)) && (lang === undefined || track.assocLang === assocLang) && (isDefault === undefined || track.default === isDefault) && (forced === undefined || track.forced === forced) && (!('characteristics' in option) || characteristicsMatch(option.characteristics || '', track.characteristics)) && (matchPredicate === undefined || matchPredicate(option, track));
    }
    function languagesMatch(languageA, languageB = '--') {
      if (languageA.length === languageB.length) {
        return languageA === languageB;
      }
      return languageA.startsWith(languageB) || languageB.startsWith(languageA);
    }
    function characteristicsMatch(characteristicsA, characteristicsB = '') {
      const arrA = characteristicsA.split(',');
      const arrB = characteristicsB.split(',');
      // Expects each item to be unique:
      return arrA.length === arrB.length && !arrA.some(el => arrB.indexOf(el) === -1);
    }
    function audioMatchPredicate(option, track) {
      const {
        audioCodec,
        channels
      } = option;
      return (audioCodec === undefined || (track.audioCodec || '').substring(0, 4) === audioCodec.substring(0, 4)) && (channels === undefined || channels === (track.channels || '2'));
    }
    function findClosestLevelWithAudioGroup(option, levels, allAudioTracks, searchIndex, matchPredicate) {
      const currentLevel = levels[searchIndex];
      // Are there variants with same URI as current level?
      // If so, find a match that does not require any level URI change
      const variants = levels.reduce((variantMap, level, index) => {
        const uri = level.uri;
        const renditions = variantMap[uri] || (variantMap[uri] = []);
        renditions.push(index);
        return variantMap;
      }, {});
      const renditions = variants[currentLevel.uri];
      if (renditions.length > 1) {
        searchIndex = Math.max.apply(Math, renditions);
      }
      // Find best match
      const currentVideoRange = currentLevel.videoRange;
      const currentFrameRate = currentLevel.frameRate;
      const currentVideoCodec = currentLevel.codecSet.substring(0, 4);
      const matchingVideo = searchDownAndUpList(levels, searchIndex, level => {
        if (level.videoRange !== currentVideoRange || level.frameRate !== currentFrameRate || level.codecSet.substring(0, 4) !== currentVideoCodec) {
          return false;
        }
        const audioGroups = level.audioGroups;
        const tracks = allAudioTracks.filter(track => !audioGroups || audioGroups.indexOf(track.groupId) !== -1);
        return findMatchingOption(option, tracks, matchPredicate) > -1;
      });
      if (matchingVideo > -1) {
        return matchingVideo;
      }
      return searchDownAndUpList(levels, searchIndex, level => {
        const audioGroups = level.audioGroups;
        const tracks = allAudioTracks.filter(track => !audioGroups || audioGroups.indexOf(track.groupId) !== -1);
        return findMatchingOption(option, tracks, matchPredicate) > -1;
      });
    }
    function searchDownAndUpList(arr, searchIndex, predicate) {
      for (let i = searchIndex; i > -1; i--) {
        if (predicate(arr[i])) {
          return i;
        }
      }
      for (let i = searchIndex + 1; i < arr.length; i++) {
        if (predicate(arr[i])) {
          return i;
        }
      }
      return -1;
    }
    function useAlternateAudio(audioTrackUrl, hls) {
      var _hls$loadLevelObj;
      return !!audioTrackUrl && audioTrackUrl !== ((_hls$loadLevelObj = hls.loadLevelObj) == null ? void 0 : _hls$loadLevelObj.uri);
    }
    
    class AbrController extends Logger {
      constructor(_hls) {
        super('abr', _hls.logger);
        this.hls = void 0;
        this.lastLevelLoadSec = 0;
        this.lastLoadedFragLevel = -1;
        this.firstSelection = -1;
        this._nextAutoLevel = -1;
        this.nextAutoLevelKey = '';
        this.audioTracksByGroup = null;
        this.codecTiers = null;
        this.timer = -1;
        this.fragCurrent = null;
        this.partCurrent = null;
        this.bitrateTestDelay = 0;
        this.rebufferNotice = -1;
        this.supportedCache = {};
        this.bwEstimator = void 0;
        /*
            This method monitors the download rate of the current fragment, and will downswitch if that fragment will not load
            quickly enough to prevent underbuffering
          */
        this._abandonRulesCheck = levelLoaded => {
          var _ref;
          const {
            fragCurrent: frag,
            partCurrent: part,
            hls
          } = this;
          const {
            autoLevelEnabled,
            media
          } = hls;
          if (!frag || !media) {
            return;
          }
          const now = performance.now();
          const stats = part ? part.stats : frag.stats;
          const duration = part ? part.duration : frag.duration;
          const timeLoading = now - stats.loading.start;
          const minAutoLevel = hls.minAutoLevel;
          const loadingFragForLevel = frag.level;
          const currentAutoLevel = this._nextAutoLevel;
          // If frag loading is aborted, complete, or from lowest level, stop timer and return
          if (stats.aborted || stats.loaded && stats.loaded === stats.total || loadingFragForLevel <= minAutoLevel) {
            this.clearTimer();
            // reset forced auto level value so that next level will be selected
            this._nextAutoLevel = -1;
            return;
          }
    
          // This check only runs if we're in ABR mode
          if (!autoLevelEnabled) {
            return;
          }
    
          // Must be loading/loaded a new level or be in a playing state
          const fragBlockingSwitch = currentAutoLevel > -1 && currentAutoLevel !== loadingFragForLevel;
          const levelChange = !!levelLoaded || fragBlockingSwitch;
          if (!levelChange && (media.paused || !media.playbackRate || !media.readyState)) {
            return;
          }
          const bufferInfo = hls.mainForwardBufferInfo;
          if (!levelChange && bufferInfo === null) {
            return;
          }
          const ttfbEstimate = this.bwEstimator.getEstimateTTFB();
          const playbackRate = Math.abs(media.playbackRate);
          // To maintain stable adaptive playback, only begin monitoring frag loading after half or more of its playback duration has passed
          if (timeLoading <= Math.max(ttfbEstimate, 1000 * (duration / (playbackRate * 2)))) {
            return;
          }
    
          // bufferStarvationDelay is an estimate of the amount time (in seconds) it will take to exhaust the buffer
          const bufferStarvationDelay = bufferInfo ? bufferInfo.len / playbackRate : 0;
          const ttfb = stats.loading.first ? stats.loading.first - stats.loading.start : -1;
          const loadedFirstByte = stats.loaded && ttfb > -1;
          const bwEstimate = this.getBwEstimate();
          const levels = hls.levels;
          const level = levels[loadingFragForLevel];
          const expectedLen = Math.max(stats.loaded, Math.round(duration * (frag.bitrate || level.averageBitrate) / 8));
          let timeStreaming = loadedFirstByte ? timeLoading - ttfb : timeLoading;
          if (timeStreaming < 1 && loadedFirstByte) {
            timeStreaming = Math.min(timeLoading, stats.loaded * 8 / bwEstimate);
          }
          const loadRate = loadedFirstByte ? stats.loaded * 1000 / timeStreaming : 0;
          // fragLoadDelay is an estimate of the time (in seconds) it will take to buffer the remainder of the fragment
          const ttfbSeconds = ttfbEstimate / 1000;
          const fragLoadedDelay = loadRate ? (expectedLen - stats.loaded) / loadRate : expectedLen * 8 / bwEstimate + ttfbSeconds;
          // Only downswitch if the time to finish loading the current fragment is greater than the amount of buffer left
          if (fragLoadedDelay <= bufferStarvationDelay) {
            return;
          }
          const bwe = loadRate ? loadRate * 8 : bwEstimate;
          const live = ((_ref = (levelLoaded == null ? void 0 : levelLoaded.details) || this.hls.latestLevelDetails) == null ? void 0 : _ref.live) === true;
          const abrBandWidthUpFactor = this.hls.config.abrBandWidthUpFactor;
          let fragLevelNextLoadedDelay = Number.POSITIVE_INFINITY;
          let nextLoadLevel;
          // Iterate through lower level and try to find the largest one that avoids rebuffering
          for (nextLoadLevel = loadingFragForLevel - 1; nextLoadLevel > minAutoLevel; nextLoadLevel--) {
            // compute time to load next fragment at lower level
            // 8 = bits per byte (bps/Bps)
            const levelNextBitrate = levels[nextLoadLevel].maxBitrate;
            const requiresLevelLoad = !levels[nextLoadLevel].details || live;
            fragLevelNextLoadedDelay = this.getTimeToLoadFrag(ttfbSeconds, bwe, duration * levelNextBitrate, requiresLevelLoad);
            if (fragLevelNextLoadedDelay < Math.min(bufferStarvationDelay, duration + ttfbSeconds)) {
              break;
            }
          }
          // Only emergency switch down if it takes less time to load a new fragment at lowest level instead of continuing
          // to load the current one
          if (fragLevelNextLoadedDelay >= fragLoadedDelay) {
            return;
          }
    
          // if estimated load time of new segment is completely unreasonable, ignore and do not emergency switch down
          if (fragLevelNextLoadedDelay > duration * 10) {
            return;
          }
          if (loadedFirstByte) {
            // If there has been loading progress, sample bandwidth using loading time offset by minimum TTFB time
            this.bwEstimator.sample(timeLoading - Math.min(ttfbEstimate, ttfb), stats.loaded);
          } else {
            // If there has been no loading progress, sample TTFB
            this.bwEstimator.sampleTTFB(timeLoading);
          }
          const nextLoadLevelBitrate = levels[nextLoadLevel].maxBitrate;
          if (this.getBwEstimate() * abrBandWidthUpFactor > nextLoadLevelBitrate) {
            this.resetEstimator(nextLoadLevelBitrate);
          }
          const bestSwitchLevel = this.findBestLevel(nextLoadLevelBitrate, minAutoLevel, nextLoadLevel, 0, bufferStarvationDelay, 1, 1);
          if (bestSwitchLevel > -1) {
            nextLoadLevel = bestSwitchLevel;
          }
          this.warn(`Fragment ${frag.sn}${part ? ' part ' + part.index : ''} of level ${loadingFragForLevel} is loading too slowly;
          Fragment duration: ${frag.duration.toFixed(3)}
          Time to underbuffer: ${bufferStarvationDelay.toFixed(3)} s
          Estimated load time for current fragment: ${fragLoadedDelay.toFixed(3)} s
          Estimated load time for down switch fragment: ${fragLevelNextLoadedDelay.toFixed(3)} s
          TTFB estimate: ${ttfb | 0} ms
          Current BW estimate: ${isFiniteNumber(bwEstimate) ? bwEstimate | 0 : 'Unknown'} bps
          New BW estimate: ${this.getBwEstimate() | 0} bps
          Switching to level ${nextLoadLevel} @ ${nextLoadLevelBitrate | 0} bps`);
          hls.nextLoadLevel = hls.nextAutoLevel = nextLoadLevel;
          this.clearTimer();
          const abortAndSwitch = () => {
            // Are nextLoadLevel details available or is stream-controller still in "WAITING_LEVEL" state?
            this.clearTimer();
            if (this.fragCurrent === frag && this.hls.loadLevel === nextLoadLevel && nextLoadLevel > 0) {
              const bufferStarvationDelay = this.getStarvationDelay();
              this.warn(`Aborting inflight request ${nextLoadLevel > 0 ? 'and switching down' : ''}
          Fragment duration: ${frag.duration.toFixed(3)} s
          Time to underbuffer: ${bufferStarvationDelay.toFixed(3)} s`);
              frag.abortRequests();
              this.fragCurrent = this.partCurrent = null;
              if (nextLoadLevel > minAutoLevel) {
                let lowestSwitchLevel = this.findBestLevel(this.hls.levels[minAutoLevel].bitrate, minAutoLevel, nextLoadLevel, 0, bufferStarvationDelay, 1, 1);
                if (lowestSwitchLevel === -1) {
                  lowestSwitchLevel = minAutoLevel;
                }
                this.hls.nextLoadLevel = this.hls.nextAutoLevel = lowestSwitchLevel;
                this.resetEstimator(this.hls.levels[lowestSwitchLevel].bitrate);
              }
            }
          };
          if (fragBlockingSwitch || fragLoadedDelay > fragLevelNextLoadedDelay * 2) {
            abortAndSwitch();
          } else {
            this.timer = self.setInterval(abortAndSwitch, fragLevelNextLoadedDelay * 1000);
          }
          hls.trigger(Events.FRAG_LOAD_EMERGENCY_ABORTED, {
            frag,
            part,
            stats
          });
        };
        this.hls = _hls;
        this.bwEstimator = this.initEstimator();
        this.registerListeners();
      }
      resetEstimator(abrEwmaDefaultEstimate) {
        if (abrEwmaDefaultEstimate) {
          this.log(`setting initial bwe to ${abrEwmaDefaultEstimate}`);
          this.hls.config.abrEwmaDefaultEstimate = abrEwmaDefaultEstimate;
        }
        this.firstSelection = -1;
        this.bwEstimator = this.initEstimator();
      }
      initEstimator() {
        const config = this.hls.config;
        return new EwmaBandWidthEstimator(config.abrEwmaSlowVoD, config.abrEwmaFastVoD, config.abrEwmaDefaultEstimate);
      }
      registerListeners() {
        const {
          hls
        } = this;
        hls.on(Events.MANIFEST_LOADING, this.onManifestLoading, this);
        hls.on(Events.FRAG_LOADING, this.onFragLoading, this);
        hls.on(Events.FRAG_LOADED, this.onFragLoaded, this);
        hls.on(Events.FRAG_BUFFERED, this.onFragBuffered, this);
        hls.on(Events.LEVEL_SWITCHING, this.onLevelSwitching, this);
        hls.on(Events.LEVEL_LOADED, this.onLevelLoaded, this);
        hls.on(Events.LEVELS_UPDATED, this.onLevelsUpdated, this);
        hls.on(Events.MAX_AUTO_LEVEL_UPDATED, this.onMaxAutoLevelUpdated, this);
        hls.on(Events.ERROR, this.onError, this);
      }
      unregisterListeners() {
        const {
          hls
        } = this;
        if (!hls) {
          return;
        }
        hls.off(Events.MANIFEST_LOADING, this.onManifestLoading, this);
        hls.off(Events.FRAG_LOADING, this.onFragLoading, this);
        hls.off(Events.FRAG_LOADED, this.onFragLoaded, this);
        hls.off(Events.FRAG_BUFFERED, this.onFragBuffered, this);
        hls.off(Events.LEVEL_SWITCHING, this.onLevelSwitching, this);
        hls.off(Events.LEVEL_LOADED, this.onLevelLoaded, this);
        hls.off(Events.LEVELS_UPDATED, this.onLevelsUpdated, this);
        hls.off(Events.MAX_AUTO_LEVEL_UPDATED, this.onMaxAutoLevelUpdated, this);
        hls.off(Events.ERROR, this.onError, this);
      }
      destroy() {
        this.unregisterListeners();
        this.clearTimer();
        // @ts-ignore
        this.hls = this._abandonRulesCheck = this.supportedCache = null;
        this.fragCurrent = this.partCurrent = null;
      }
      onManifestLoading(event, data) {
        this.lastLoadedFragLevel = -1;
        this.firstSelection = -1;
        this.lastLevelLoadSec = 0;
        this.supportedCache = {};
        this.fragCurrent = this.partCurrent = null;
        this.onLevelsUpdated();
        this.clearTimer();
      }
      onLevelsUpdated() {
        if (this.lastLoadedFragLevel > -1 && this.fragCurrent) {
          this.lastLoadedFragLevel = this.fragCurrent.level;
        }
        this._nextAutoLevel = -1;
        this.onMaxAutoLevelUpdated();
        this.codecTiers = null;
        this.audioTracksByGroup = null;
      }
      onMaxAutoLevelUpdated() {
        this.firstSelection = -1;
        this.nextAutoLevelKey = '';
      }
      onFragLoading(event, data) {
        const frag = data.frag;
        if (this.ignoreFragment(frag)) {
          return;
        }
        if (!frag.bitrateTest) {
          var _data$part;
          this.fragCurrent = frag;
          this.partCurrent = (_data$part = data.part) != null ? _data$part : null;
        }
        this.clearTimer();
        this.timer = self.setInterval(this._abandonRulesCheck, 100);
      }
      onLevelSwitching(event, data) {
        this.clearTimer();
      }
      onError(event, data) {
        if (data.fatal) {
          return;
        }
        switch (data.details) {
          case ErrorDetails.BUFFER_ADD_CODEC_ERROR:
          case ErrorDetails.BUFFER_APPEND_ERROR:
            // Reset last loaded level so that a new selection can be made after calling recoverMediaError
            this.lastLoadedFragLevel = -1;
            this.firstSelection = -1;
            break;
          case ErrorDetails.FRAG_LOAD_TIMEOUT:
            {
              const frag = data.frag;
              const {
                fragCurrent,
                partCurrent: part
              } = this;
              if (frag && fragCurrent && frag.sn === fragCurrent.sn && frag.level === fragCurrent.level) {
                const now = performance.now();
                const stats = part ? part.stats : frag.stats;
                const timeLoading = now - stats.loading.start;
                const ttfb = stats.loading.first ? stats.loading.first - stats.loading.start : -1;
                const loadedFirstByte = stats.loaded && ttfb > -1;
                if (loadedFirstByte) {
                  const ttfbEstimate = this.bwEstimator.getEstimateTTFB();
                  this.bwEstimator.sample(timeLoading - Math.min(ttfbEstimate, ttfb), stats.loaded);
                } else {
                  this.bwEstimator.sampleTTFB(timeLoading);
                }
              }
              break;
            }
        }
      }
      getTimeToLoadFrag(timeToFirstByteSec, bandwidth, fragSizeBits, isSwitch) {
        const fragLoadSec = timeToFirstByteSec + fragSizeBits / bandwidth;
        const playlistLoadSec = isSwitch ? timeToFirstByteSec + this.lastLevelLoadSec : 0;
        return fragLoadSec + playlistLoadSec;
      }
      onLevelLoaded(event, data) {
        const config = this.hls.config;
        const {
          loading
        } = data.stats;
        const timeLoadingMs = loading.end - loading.first;
        if (isFiniteNumber(timeLoadingMs)) {
          this.lastLevelLoadSec = timeLoadingMs / 1000;
        }
        if (data.details.live) {
          this.bwEstimator.update(config.abrEwmaSlowLive, config.abrEwmaFastLive);
        } else {
          this.bwEstimator.update(config.abrEwmaSlowVoD, config.abrEwmaFastVoD);
        }
        if (this.timer > -1) {
          this._abandonRulesCheck(data.levelInfo);
        }
      }
      onFragLoaded(event, {
        frag,
        part
      }) {
        const stats = part ? part.stats : frag.stats;
        if (frag.type === PlaylistLevelType.MAIN) {
          this.bwEstimator.sampleTTFB(stats.loading.first - stats.loading.start);
        }
        if (this.ignoreFragment(frag)) {
          return;
        }
        // stop monitoring bw once frag loaded
        this.clearTimer();
        // reset forced auto level value so that next level will be selected
        if (frag.level === this._nextAutoLevel) {
          this._nextAutoLevel = -1;
        }
        this.firstSelection = -1;
    
        // compute level average bitrate
        if (this.hls.config.abrMaxWithRealBitrate) {
          const duration = part ? part.duration : frag.duration;
          const level = this.hls.levels[frag.level];
          const loadedBytes = (level.loaded ? level.loaded.bytes : 0) + stats.loaded;
          const loadedDuration = (level.loaded ? level.loaded.duration : 0) + duration;
          level.loaded = {
            bytes: loadedBytes,
            duration: loadedDuration
          };
          level.realBitrate = Math.round(8 * loadedBytes / loadedDuration);
        }
        if (frag.bitrateTest) {
          const fragBufferedData = {
            stats,
            frag,
            part,
            id: frag.type
          };
          this.onFragBuffered(Events.FRAG_BUFFERED, fragBufferedData);
          frag.bitrateTest = false;
        } else {
          // store level id after successful fragment load for playback
          this.lastLoadedFragLevel = frag.level;
        }
      }
      onFragBuffered(event, data) {
        const {
          frag,
          part
        } = data;
        const stats = part != null && part.stats.loaded ? part.stats : frag.stats;
        if (stats.aborted) {
          return;
        }
        if (this.ignoreFragment(frag)) {
          return;
        }
        // Use the difference between parsing and request instead of buffering and request to compute fragLoadingProcessing;
        // rationale is that buffer appending only happens once media is attached. This can happen when config.startFragPrefetch
        // is used. If we used buffering in that case, our BW estimate sample will be very large.
        const processingMs = stats.parsing.end - stats.loading.start - Math.min(stats.loading.first - stats.loading.start, this.bwEstimator.getEstimateTTFB());
        this.bwEstimator.sample(processingMs, stats.loaded);
        stats.bwEstimate = this.getBwEstimate();
        if (frag.bitrateTest) {
          this.bitrateTestDelay = processingMs / 1000;
        } else {
          this.bitrateTestDelay = 0;
        }
      }
      ignoreFragment(frag) {
        // Only count non-alt-audio frags which were actually buffered in our BW calculations
        return frag.type !== PlaylistLevelType.MAIN || frag.sn === 'initSegment';
      }
      clearTimer() {
        if (this.timer > -1) {
          self.clearInterval(this.timer);
          this.timer = -1;
        }
      }
      get firstAutoLevel() {
        const {
          maxAutoLevel,
          minAutoLevel
        } = this.hls;
        const bwEstimate = this.getBwEstimate();
        const maxStartDelay = this.hls.config.maxStarvationDelay;
        const abrAutoLevel = this.findBestLevel(bwEstimate, minAutoLevel, maxAutoLevel, 0, maxStartDelay, 1, 1);
        if (abrAutoLevel > -1) {
          return abrAutoLevel;
        }
        const firstLevel = this.hls.firstLevel;
        const clamped = Math.min(Math.max(firstLevel, minAutoLevel), maxAutoLevel);
        this.warn(`Could not find best starting auto level. Defaulting to first in playlist ${firstLevel} clamped to ${clamped}`);
        return clamped;
      }
      get forcedAutoLevel() {
        if (this.nextAutoLevelKey) {
          return -1;
        }
        return this._nextAutoLevel;
      }
    
      // return next auto level
      get nextAutoLevel() {
        const forcedAutoLevel = this.forcedAutoLevel;
        const bwEstimator = this.bwEstimator;
        const useEstimate = bwEstimator.canEstimate();
        const loadedFirstFrag = this.lastLoadedFragLevel > -1;
        // in case next auto level has been forced, and bw not available or not reliable, return forced value
        if (forcedAutoLevel !== -1 && (!useEstimate || !loadedFirstFrag || this.nextAutoLevelKey === this.getAutoLevelKey())) {
          return forcedAutoLevel;
        }
    
        // compute next level using ABR logic
        const nextABRAutoLevel = useEstimate && loadedFirstFrag ? this.getNextABRAutoLevel() : this.firstAutoLevel;
    
        // use forced auto level while it hasn't errored more than ABR selection
        if (forcedAutoLevel !== -1) {
          const levels = this.hls.levels;
          if (levels.length > Math.max(forcedAutoLevel, nextABRAutoLevel) && levels[forcedAutoLevel].loadError <= levels[nextABRAutoLevel].loadError) {
            return forcedAutoLevel;
          }
        }
    
        // save result until state has changed
        this._nextAutoLevel = nextABRAutoLevel;
        this.nextAutoLevelKey = this.getAutoLevelKey();
        return nextABRAutoLevel;
      }
      getAutoLevelKey() {
        return `${this.getBwEstimate()}_${this.getStarvationDelay().toFixed(2)}`;
      }
      getNextABRAutoLevel() {
        const {
          fragCurrent,
          partCurrent,
          hls
        } = this;
        if (hls.levels.length <= 1) {
          return hls.loadLevel;
        }
        const {
          maxAutoLevel,
          config,
          minAutoLevel
        } = hls;
        const currentFragDuration = partCurrent ? partCurrent.duration : fragCurrent ? fragCurrent.duration : 0;
        const avgbw = this.getBwEstimate();
        // bufferStarvationDelay is the wall-clock time left until the playback buffer is exhausted.
        const bufferStarvationDelay = this.getStarvationDelay();
        let bwFactor = config.abrBandWidthFactor;
        let bwUpFactor = config.abrBandWidthUpFactor;
    
        // First, look to see if we can find a level matching with our avg bandwidth AND that could also guarantee no rebuffering at all
        if (bufferStarvationDelay) {
          const _bestLevel = this.findBestLevel(avgbw, minAutoLevel, maxAutoLevel, bufferStarvationDelay, 0, bwFactor, bwUpFactor);
          if (_bestLevel >= 0) {
            this.rebufferNotice = -1;
            return _bestLevel;
          }
        }
        // not possible to get rid of rebuffering... try to find level that will guarantee less than maxStarvationDelay of rebuffering
        let maxStarvationDelay = currentFragDuration ? Math.min(currentFragDuration, config.maxStarvationDelay) : config.maxStarvationDelay;
        if (!bufferStarvationDelay) {
          // in case buffer is empty, let's check if previous fragment was loaded to perform a bitrate test
          const bitrateTestDelay = this.bitrateTestDelay;
          if (bitrateTestDelay) {
            // if it is the case, then we need to adjust our max starvation delay using maxLoadingDelay config value
            // max video loading delay used in  automatic start level selection :
            // in that mode ABR controller will ensure that video loading time (ie the time to fetch the first fragment at lowest quality level +
            // the time to fetch the fragment at the appropriate quality level is less than ```maxLoadingDelay``` )
            // cap maxLoadingDelay and ensure it is not bigger 'than bitrate test' frag duration
            const maxLoadingDelay = currentFragDuration ? Math.min(currentFragDuration, config.maxLoadingDelay) : config.maxLoadingDelay;
            maxStarvationDelay = maxLoadingDelay - bitrateTestDelay;
            this.info(`bitrate test took ${Math.round(1000 * bitrateTestDelay)}ms, set first fragment max fetchDuration to ${Math.round(1000 * maxStarvationDelay)} ms`);
            // don't use conservative factor on bitrate test
            bwFactor = bwUpFactor = 1;
          }
        }
        const bestLevel = this.findBestLevel(avgbw, minAutoLevel, maxAutoLevel, bufferStarvationDelay, maxStarvationDelay, bwFactor, bwUpFactor);
        if (this.rebufferNotice !== bestLevel) {
          this.rebufferNotice = bestLevel;
          this.info(`${bufferStarvationDelay ? 'rebuffering expected' : 'buffer is empty'}, optimal quality level ${bestLevel}`);
        }
        if (bestLevel > -1) {
          return bestLevel;
        }
        // If no matching level found, see if min auto level would be a better option
        const minLevel = hls.levels[minAutoLevel];
        const autoLevel = hls.loadLevelObj;
        if (autoLevel && (minLevel == null ? void 0 : minLevel.bitrate) < autoLevel.bitrate) {
          return minAutoLevel;
        }
        // or if bitrate is not lower, continue to use loadLevel
        return hls.loadLevel;
      }
      getStarvationDelay() {
        const hls = this.hls;
        const media = hls.media;
        if (!media) {
          return Infinity;
        }
        // playbackRate is the absolute value of the playback rate; if media.playbackRate is 0, we use 1 to load as
        // if we're playing back at the normal rate.
        const playbackRate = media && media.playbackRate !== 0 ? Math.abs(media.playbackRate) : 1.0;
        const bufferInfo = hls.mainForwardBufferInfo;
        return (bufferInfo ? bufferInfo.len : 0) / playbackRate;
      }
      getBwEstimate() {
        return this.bwEstimator.canEstimate() ? this.bwEstimator.getEstimate() : this.hls.config.abrEwmaDefaultEstimate;
      }
      findBestLevel(currentBw, minAutoLevel, maxAutoLevel, bufferStarvationDelay, maxStarvationDelay, bwFactor, bwUpFactor) {
        var _this$hls$latestLevel;
        const maxFetchDuration = bufferStarvationDelay + maxStarvationDelay;
        const lastLoadedFragLevel = this.lastLoadedFragLevel;
        const selectionBaseLevel = lastLoadedFragLevel === -1 ? this.hls.firstLevel : lastLoadedFragLevel;
        const {
          fragCurrent,
          partCurrent
        } = this;
        const {
          levels,
          allAudioTracks,
          loadLevel,
          config
        } = this.hls;
        if (levels.length === 1) {
          return 0;
        }
        const level = levels[selectionBaseLevel];
        const live = !!((_this$hls$latestLevel = this.hls.latestLevelDetails) != null && _this$hls$latestLevel.live);
        const firstSelection = loadLevel === -1 || lastLoadedFragLevel === -1;
        let currentCodecSet;
        let currentVideoRange = 'SDR';
        let currentFrameRate = (level == null ? void 0 : level.frameRate) || 0;
        const {
          audioPreference,
          videoPreference
        } = config;
        const audioTracksByGroup = this.audioTracksByGroup || (this.audioTracksByGroup = getAudioTracksByGroup(allAudioTracks));
        let minStartIndex = -1;
        if (firstSelection) {
          if (this.firstSelection !== -1) {
            return this.firstSelection;
          }
          const codecTiers = this.codecTiers || (this.codecTiers = getCodecTiers(levels, audioTracksByGroup, minAutoLevel, maxAutoLevel));
          const startTier = getStartCodecTier(codecTiers, currentVideoRange, currentBw, audioPreference, videoPreference);
          const {
            codecSet,
            videoRanges,
            minFramerate,
            minBitrate,
            minIndex,
            preferHDR
          } = startTier;
          minStartIndex = minIndex;
          currentCodecSet = codecSet;
          currentVideoRange = preferHDR ? videoRanges[videoRanges.length - 1] : videoRanges[0];
          currentFrameRate = minFramerate;
          currentBw = Math.max(currentBw, minBitrate);
          this.log(`picked start tier ${stringify(startTier)}`);
        } else {
          currentCodecSet = level == null ? void 0 : level.codecSet;
          currentVideoRange = level == null ? void 0 : level.videoRange;
        }
        const currentFragDuration = partCurrent ? partCurrent.duration : fragCurrent ? fragCurrent.duration : 0;
        const ttfbEstimateSec = this.bwEstimator.getEstimateTTFB() / 1000;
        const levelsSkipped = [];
        for (let i = maxAutoLevel; i >= minAutoLevel; i--) {
          var _levelInfo$supportedR;
          const levelInfo = levels[i];
          const upSwitch = i > selectionBaseLevel;
          if (!levelInfo) {
            continue;
          }
          if (config.useMediaCapabilities && !levelInfo.supportedResult && !levelInfo.supportedPromise) {
            const mediaCapabilities = navigator.mediaCapabilities;
            if (typeof (mediaCapabilities == null ? void 0 : mediaCapabilities.decodingInfo) === 'function' && requiresMediaCapabilitiesDecodingInfo(levelInfo, audioTracksByGroup, currentVideoRange, currentFrameRate, currentBw, audioPreference)) {
              levelInfo.supportedPromise = getMediaDecodingInfoPromise(levelInfo, audioTracksByGroup, mediaCapabilities, this.supportedCache);
              levelInfo.supportedPromise.then(decodingInfo => {
                if (!this.hls) {
                  return;
                }
                levelInfo.supportedResult = decodingInfo;
                const levels = this.hls.levels;
                const index = levels.indexOf(levelInfo);
                if (decodingInfo.error) {
                  this.warn(`MediaCapabilities decodingInfo error: "${decodingInfo.error}" for level ${index} ${stringify(decodingInfo)}`);
                } else if (!decodingInfo.supported) {
                  this.warn(`Unsupported MediaCapabilities decodingInfo result for level ${index} ${stringify(decodingInfo)}`);
                  if (index > -1 && levels.length > 1) {
                    this.log(`Removing unsupported level ${index}`);
                    this.hls.removeLevel(index);
                    if (this.hls.loadLevel === -1) {
                      this.hls.nextLoadLevel = 0;
                    }
                  }
                } else if (decodingInfo.decodingInfoResults.some(info => info.smooth === false || info.powerEfficient === false)) {
                  this.log(`MediaCapabilities decodingInfo for level ${index} not smooth or powerEfficient: ${stringify(decodingInfo)}`);
                }
              }).catch(error => {
                this.warn(`Error handling MediaCapabilities decodingInfo: ${error}`);
              });
            } else {
              levelInfo.supportedResult = SUPPORTED_INFO_DEFAULT;
            }
          }
    
          // skip candidates which change codec-family or video-range,
          // and which decrease or increase frame-rate for up and down-switch respectfully
          if (currentCodecSet && levelInfo.codecSet !== currentCodecSet || currentVideoRange && levelInfo.videoRange !== currentVideoRange || upSwitch && currentFrameRate > levelInfo.frameRate || !upSwitch && currentFrameRate > 0 && currentFrameRate < levelInfo.frameRate || (_levelInfo$supportedR = levelInfo.supportedResult) != null && (_levelInfo$supportedR = _levelInfo$supportedR.decodingInfoResults) != null && _levelInfo$supportedR.some(info => info.smooth === false)) {
            if (!firstSelection || i !== minStartIndex) {
              levelsSkipped.push(i);
              continue;
            }
          }
          const levelDetails = levelInfo.details;
          const avgDuration = (partCurrent ? levelDetails == null ? void 0 : levelDetails.partTarget : levelDetails == null ? void 0 : levelDetails.averagetargetduration) || currentFragDuration;
          let adjustedbw;
          // follow algorithm captured from stagefright :
          // https://android.googlesource.com/platform/frameworks/av/+/master/media/libstagefright/httplive/LiveSession.cpp
          // Pick the highest bandwidth stream below or equal to estimated bandwidth.
          // consider only 80% of the available bandwidth, but if we are switching up,
          // be even more conservative (70%) to avoid overestimating and immediately
          // switching back.
          if (!upSwitch) {
            adjustedbw = bwFactor * currentBw;
          } else {
            adjustedbw = bwUpFactor * currentBw;
          }
    
          // Use average bitrate when starvation delay (buffer length) is gt or eq two segment durations and rebuffering is not expected (maxStarvationDelay > 0)
          const bitrate = currentFragDuration && bufferStarvationDelay >= currentFragDuration * 2 && maxStarvationDelay === 0 ? levelInfo.averageBitrate : levelInfo.maxBitrate;
          const fetchDuration = this.getTimeToLoadFrag(ttfbEstimateSec, adjustedbw, bitrate * avgDuration, levelDetails === undefined);
          const canSwitchWithinTolerance =
          // if adjusted bw is greater than level bitrate AND
          adjustedbw >= bitrate && (
          // no level change, or new level has no error history
          i === lastLoadedFragLevel || levelInfo.loadError === 0 && levelInfo.fragmentError === 0) && (
          // fragment fetchDuration unknown OR live stream OR fragment fetchDuration less than max allowed fetch duration, then this level matches
          // we don't account for max Fetch Duration for live streams, this is to avoid switching down when near the edge of live sliding window ...
          // special case to support startLevel = -1 (bitrateTest) on live streams : in that case we should not exit loop so that findBestLevel will return -1
          fetchDuration <= ttfbEstimateSec || !isFiniteNumber(fetchDuration) || live && !this.bitrateTestDelay || fetchDuration < maxFetchDuration);
          if (canSwitchWithinTolerance) {
            const forcedAutoLevel = this.forcedAutoLevel;
            if (i !== loadLevel && (forcedAutoLevel === -1 || forcedAutoLevel !== loadLevel)) {
              if (levelsSkipped.length) {
                this.trace(`Skipped level(s) ${levelsSkipped.join(',')} of ${maxAutoLevel} max with CODECS and VIDEO-RANGE:"${levels[levelsSkipped[0]].codecs}" ${levels[levelsSkipped[0]].videoRange}; not compatible with "${currentCodecSet}" ${currentVideoRange}`);
              }
              this.info(`switch candidate:${selectionBaseLevel}->${i} adjustedbw(${Math.round(adjustedbw)})-bitrate=${Math.round(adjustedbw - bitrate)} ttfb:${ttfbEstimateSec.toFixed(1)} avgDuration:${avgDuration.toFixed(1)} maxFetchDuration:${maxFetchDuration.toFixed(1)} fetchDuration:${fetchDuration.toFixed(1)} firstSelection:${firstSelection} codecSet:${levelInfo.codecSet} videoRange:${levelInfo.videoRange} hls.loadLevel:${loadLevel}`);
            }
            if (firstSelection) {
              this.firstSelection = i;
            }
            // as we are looping from highest to lowest, this will return the best achievable quality level
            return i;
          }
        }
        // not enough time budget even with quality level 0 ... rebuffering might happen
        return -1;
      }
      set nextAutoLevel(nextLevel) {
        const value = this.deriveNextAutoLevel(nextLevel);
        if (this._nextAutoLevel !== value) {
          this.nextAutoLevelKey = '';
          this._nextAutoLevel = value;
        }
      }
      deriveNextAutoLevel(nextLevel) {
        const {
          maxAutoLevel,
          minAutoLevel
        } = this.hls;
        return Math.min(Math.max(nextLevel, minAutoLevel), maxAutoLevel);
      }
    }
    
    const BinarySearch = {
      /**
       * Searches for an item in an array which matches a certain condition.
       * This requires the condition to only match one item in the array,
       * and for the array to be ordered.
       *
       * @param list The array to search.
       * @param comparisonFn
       *      Called and provided a candidate item as the first argument.
       *      Should return:
       *          > -1 if the item should be located at a lower index than the provided item.
       *          > 1 if the item should be located at a higher index than the provided item.
       *          > 0 if the item is the item you're looking for.
       *
       * @returns the object if found, otherwise returns null
       */
      search: function (list, comparisonFn) {
        let minIndex = 0;
        let maxIndex = list.length - 1;
        let currentIndex = null;
        let currentElement = null;
        while (minIndex <= maxIndex) {
          currentIndex = (minIndex + maxIndex) / 2 | 0;
          currentElement = list[currentIndex];
          const comparisonResult = comparisonFn(currentElement);
          if (comparisonResult > 0) {
            minIndex = currentIndex + 1;
          } else if (comparisonResult < 0) {
            maxIndex = currentIndex - 1;
          } else {
            return currentElement;
          }
        }
        return null;
      }
    };
    
    /**
     * Returns first fragment whose endPdt value exceeds the given PDT, or null.
     * @param fragments - The array of candidate fragments
     * @param PDTValue - The PDT value which must be exceeded
     * @param maxFragLookUpTolerance - The amount of time that a fragment's start/end can be within in order to be considered contiguous
     */
    function findFragmentByPDT(fragments, PDTValue, maxFragLookUpTolerance) {
      if (PDTValue === null || !Array.isArray(fragments) || !fragments.length || !isFiniteNumber(PDTValue)) {
        return null;
      }
    
      // if less than start
      const startPDT = fragments[0].programDateTime;
      if (PDTValue < (startPDT || 0)) {
        return null;
      }
      const endPDT = fragments[fragments.length - 1].endProgramDateTime;
      if (PDTValue >= (endPDT || 0)) {
        return null;
      }
      for (let seg = 0; seg < fragments.length; ++seg) {
        const frag = fragments[seg];
        if (pdtWithinToleranceTest(PDTValue, maxFragLookUpTolerance, frag)) {
          return frag;
        }
      }
      return null;
    }
    
    /**
     * Finds a fragment based on the SN of the previous fragment; or based on the needs of the current buffer.
     * This method compensates for small buffer gaps by applying a tolerance to the start of any candidate fragment, thus
     * breaking any traps which would cause the same fragment to be continuously selected within a small range.
     * @param fragPrevious - The last frag successfully appended
     * @param fragments - The array of candidate fragments
     * @param bufferEnd - The end of the contiguous buffered range the playhead is currently within
     * @param maxFragLookUpTolerance - The amount of time that a fragment's start/end can be within in order to be considered contiguous
     * @returns a matching fragment or null
     */
    function findFragmentByPTS(fragPrevious, fragments, bufferEnd = 0, maxFragLookUpTolerance = 0, nextFragLookupTolerance = 0.005) {
      let fragNext = null;
      if (fragPrevious) {
        fragNext = fragments[1 + fragPrevious.sn - fragments[0].sn] || null;
        // check for buffer-end rounding error
        const bufferEdgeError = fragPrevious.endDTS - bufferEnd;
        if (bufferEdgeError > 0 && bufferEdgeError < 0.0000015) {
          bufferEnd += 0.0000015;
        }
        if (fragNext && fragPrevious.level !== fragNext.level && fragNext.end <= fragPrevious.end) {
          fragNext = fragments[2 + fragPrevious.sn - fragments[0].sn] || null;
        }
      } else if (bufferEnd === 0 && fragments[0].start === 0) {
        fragNext = fragments[0];
      }
      // Prefer the next fragment if it's within tolerance
      if (fragNext && ((!fragPrevious || fragPrevious.level === fragNext.level) && fragmentWithinToleranceTest(bufferEnd, maxFragLookUpTolerance, fragNext) === 0 || fragmentWithinFastStartSwitch(fragNext, fragPrevious, Math.min(nextFragLookupTolerance, maxFragLookUpTolerance)))) {
        return fragNext;
      }
      // We might be seeking past the tolerance so find the best match
      const foundFragment = BinarySearch.search(fragments, fragmentWithinToleranceTest.bind(null, bufferEnd, maxFragLookUpTolerance));
      if (foundFragment && (foundFragment !== fragPrevious || !fragNext)) {
        return foundFragment;
      }
      // If no match was found return the next fragment after fragPrevious, or null
      return fragNext;
    }
    function fragmentWithinFastStartSwitch(fragNext, fragPrevious, nextFragLookupTolerance) {
      if (fragPrevious && fragPrevious.start === 0 && fragPrevious.level < fragNext.level && (fragPrevious.endPTS || 0) > 0) {
        const firstDuration = fragPrevious.tagList.reduce((duration, tag) => {
          if (tag[0] === 'INF') {
            duration += parseFloat(tag[1]);
          }
          return duration;
        }, nextFragLookupTolerance);
        return fragNext.start <= firstDuration;
      }
      return false;
    }
    
    /**
     * The test function used by the findFragmentBySn's BinarySearch to look for the best match to the current buffer conditions.
     * @param candidate - The fragment to test
     * @param bufferEnd - The end of the current buffered range the playhead is currently within
     * @param maxFragLookUpTolerance - The amount of time that a fragment's start can be within in order to be considered contiguous
     * @returns 0 if it matches, 1 if too low, -1 if too high
     */
    function fragmentWithinToleranceTest(bufferEnd = 0, maxFragLookUpTolerance = 0, candidate) {
      // eagerly accept an accurate match (no tolerance)
      if (candidate.start <= bufferEnd && candidate.start + candidate.duration > bufferEnd) {
        return 0;
      }
      // offset should be within fragment boundary - config.maxFragLookUpTolerance
      // this is to cope with situations like
      // bufferEnd = 9.991
      // frag[Ø] : [0,10]
      // frag[1] : [10,20]
      // bufferEnd is within frag[0] range ... although what we are expecting is to return frag[1] here
      //              frag start               frag start+duration
      //                  |-----------------------------|
      //              <--->                         <--->
      //  ...--------><-----------------------------><---------....
      // previous frag         matching fragment         next frag
      //  return -1             return 0                 return 1
      // logger.log(`level/sn/start/end/bufEnd:${level}/${candidate.sn}/${candidate.start}/${(candidate.start+candidate.duration)}/${bufferEnd}`);
      // Set the lookup tolerance to be small enough to detect the current segment - ensures we don't skip over very small segments
      const candidateLookupTolerance = Math.min(maxFragLookUpTolerance, candidate.duration + (candidate.deltaPTS ? candidate.deltaPTS : 0));
      if (candidate.start + candidate.duration - candidateLookupTolerance <= bufferEnd) {
        return 1;
      } else if (candidate.start - candidateLookupTolerance > bufferEnd && candidate.start) {
        // if maxFragLookUpTolerance will have negative value then don't return -1 for first element
        return -1;
      }
      return 0;
    }
    
    /**
     * The test function used by the findFragmentByPdt's BinarySearch to look for the best match to the current buffer conditions.
     * This function tests the candidate's program date time values, as represented in Unix time
     * @param candidate - The fragment to test
     * @param pdtBufferEnd - The Unix time representing the end of the current buffered range
     * @param maxFragLookUpTolerance - The amount of time that a fragment's start can be within in order to be considered contiguous
     * @returns true if contiguous, false otherwise
     */
    function pdtWithinToleranceTest(pdtBufferEnd, maxFragLookUpTolerance, candidate) {
      const candidateLookupTolerance = Math.min(maxFragLookUpTolerance, candidate.duration + (candidate.deltaPTS ? candidate.deltaPTS : 0)) * 1000;
    
      // endProgramDateTime can be null, default to zero
      const endProgramDateTime = candidate.endProgramDateTime || 0;
      return endProgramDateTime - candidateLookupTolerance > pdtBufferEnd;
    }
    function findNearestWithCC(details, cc, pos) {
      if (details) {
        if (details.startCC <= cc && details.endCC >= cc) {
          let fragments = details.fragments;
          const {
            fragmentHint
          } = details;
          if (fragmentHint) {
            fragments = fragments.concat(fragmentHint);
          }
          let closest;
          BinarySearch.search(fragments, candidate => {
            if (candidate.cc < cc) {
              return 1;
            }
            if (candidate.cc > cc) {
              return -1;
            }
            closest = candidate;
            if (candidate.end <= pos) {
              return 1;
            }
            if (candidate.start > pos) {
              return -1;
            }
            return 0;
          });
          return closest || null;
        }
      }
      return null;
    }
    
    function isTimeoutError(error) {
      switch (error.details) {
        case ErrorDetails.FRAG_LOAD_TIMEOUT:
        case ErrorDetails.KEY_LOAD_TIMEOUT:
        case ErrorDetails.LEVEL_LOAD_TIMEOUT:
        case ErrorDetails.MANIFEST_LOAD_TIMEOUT:
          return true;
      }
      return false;
    }
    function isKeyError(error) {
      return error.details.startsWith('key');
    }
    function isUnusableKeyError(error) {
      return isKeyError(error) && !!error.frag && !error.frag.decryptdata;
    }
    function getRetryConfig(loadPolicy, error) {
      const isTimeout = isTimeoutError(error);
      return loadPolicy.default[`${isTimeout ? 'timeout' : 'error'}Retry`];
    }
    function getRetryDelay(retryConfig, retryCount) {
      // exponential backoff capped to max retry delay
      const backoffFactor = retryConfig.backoff === 'linear' ? 1 : Math.pow(2, retryCount);
      return Math.min(backoffFactor * retryConfig.retryDelayMs, retryConfig.maxRetryDelayMs);
    }
    function getLoaderConfigWithoutReties(loderConfig) {
      return _objectSpread2(_objectSpread2({}, loderConfig), {
        errorRetry: null,
        timeoutRetry: null
      });
    }
    function shouldRetry(retryConfig, retryCount, isTimeout, loaderResponse) {
      if (!retryConfig) {
        return false;
      }
      const httpStatus = loaderResponse == null ? void 0 : loaderResponse.code;
      const retry = retryCount < retryConfig.maxNumRetry && (retryForHttpStatus(httpStatus) || !!isTimeout);
      return retryConfig.shouldRetry ? retryConfig.shouldRetry(retryConfig, retryCount, isTimeout, loaderResponse, retry) : retry;
    }
    function retryForHttpStatus(httpStatus) {
      // Do not retry on status 4xx, status 0 (CORS error), or undefined (decrypt/gap/parse error)
      return offlineHttpStatus(httpStatus) || !!httpStatus && (httpStatus < 400 || httpStatus > 499);
    }
    function offlineHttpStatus(httpStatus) {
      return httpStatus === 0 && navigator.onLine === false;
    }
    
    var NetworkErrorAction = {
      DoNothing: 0,
      SendEndCallback: 1,
      SendAlternateToPenaltyBox: 2,
      RemoveAlternatePermanently: 3,
      InsertDiscontinuity: 4,
      RetryRequest: 5
    };
    var ErrorActionFlags = {
      None: 0,
      MoveAllAlternatesMatchingHost: 1,
      MoveAllAlternatesMatchingHDCP: 2,
      MoveAllAlternatesMatchingKey: 4,
      SwitchToSDR: 8
    };
    class ErrorController extends Logger {
      constructor(hls) {
        super('error-controller', hls.logger);
        this.hls = void 0;
        this.playlistError = 0;
        this.hls = hls;
        this.registerListeners();
      }
      registerListeners() {
        const hls = this.hls;
        hls.on(Events.ERROR, this.onError, this);
        hls.on(Events.MANIFEST_LOADING, this.onManifestLoading, this);
        hls.on(Events.LEVEL_UPDATED, this.onLevelUpdated, this);
      }
      unregisterListeners() {
        const hls = this.hls;
        if (!hls) {
          return;
        }
        hls.off(Events.ERROR, this.onError, this);
        hls.off(Events.ERROR, this.onErrorOut, this);
        hls.off(Events.MANIFEST_LOADING, this.onManifestLoading, this);
        hls.off(Events.LEVEL_UPDATED, this.onLevelUpdated, this);
      }
      destroy() {
        this.unregisterListeners();
        // @ts-ignore
        this.hls = null;
      }
      startLoad(startPosition) {}
      stopLoad() {
        this.playlistError = 0;
      }
      getVariantLevelIndex(frag) {
        if ((frag == null ? void 0 : frag.type) === PlaylistLevelType.MAIN) {
          return frag.level;
        }
        return this.getVariantIndex();
      }
      getVariantIndex() {
        var _hls$loadLevelObj;
        const hls = this.hls;
        const currentLevel = hls.currentLevel;
        if ((_hls$loadLevelObj = hls.loadLevelObj) != null && _hls$loadLevelObj.details || currentLevel === -1) {
          return hls.loadLevel;
        }
        return currentLevel;
      }
      variantHasKey(level, keyInError) {
        if (level) {
          var _level$details;
          if ((_level$details = level.details) != null && _level$details.hasKey(keyInError)) {
            return true;
          }
          const audioGroupsIds = level.audioGroups;
          if (audioGroupsIds) {
            const audioTracks = this.hls.allAudioTracks.filter(track => audioGroupsIds.indexOf(track.groupId) >= 0);
            return audioTracks.some(track => {
              var _track$details;
              return (_track$details = track.details) == null ? void 0 : _track$details.hasKey(keyInError);
            });
          }
        }
        return false;
      }
      onManifestLoading() {
        this.playlistError = 0;
      }
      onLevelUpdated() {
        this.playlistError = 0;
      }
      onError(event, data) {
        var _data$frag;
        if (data.fatal) {
          return;
        }
        const hls = this.hls;
        const context = data.context;
        switch (data.details) {
          case ErrorDetails.FRAG_LOAD_ERROR:
          case ErrorDetails.FRAG_LOAD_TIMEOUT:
          case ErrorDetails.KEY_LOAD_ERROR:
          case ErrorDetails.KEY_LOAD_TIMEOUT:
            data.errorAction = this.getFragRetryOrSwitchAction(data);
            return;
          case ErrorDetails.FRAG_PARSING_ERROR:
            // ignore empty segment errors marked as gap
            if ((_data$frag = data.frag) != null && _data$frag.gap) {
              data.errorAction = createDoNothingErrorAction();
              return;
            }
          // falls through
          case ErrorDetails.FRAG_GAP:
          case ErrorDetails.FRAG_DECRYPT_ERROR:
            {
              // Switch level if possible, otherwise allow retry count to reach max error retries
              data.errorAction = this.getFragRetryOrSwitchAction(data);
              data.errorAction.action = NetworkErrorAction.SendAlternateToPenaltyBox;
              return;
            }
          case ErrorDetails.LEVEL_EMPTY_ERROR:
          case ErrorDetails.LEVEL_PARSING_ERROR:
            {
              var _data$context;
              // Only retry when empty and live
              const levelIndex = data.parent === PlaylistLevelType.MAIN ? data.level : hls.loadLevel;
              if (data.details === ErrorDetails.LEVEL_EMPTY_ERROR && !!((_data$context = data.context) != null && (_data$context = _data$context.levelDetails) != null && _data$context.live)) {
                data.errorAction = this.getPlaylistRetryOrSwitchAction(data, levelIndex);
              } else {
                // Escalate to fatal if not retrying or switching
                data.levelRetry = false;
                data.errorAction = this.getLevelSwitchAction(data, levelIndex);
              }
            }
            return;
          case ErrorDetails.LEVEL_LOAD_ERROR:
          case ErrorDetails.LEVEL_LOAD_TIMEOUT:
            if (typeof (context == null ? void 0 : context.level) === 'number') {
              data.errorAction = this.getPlaylistRetryOrSwitchAction(data, context.level);
            }
            return;
          case ErrorDetails.AUDIO_TRACK_LOAD_ERROR:
          case ErrorDetails.AUDIO_TRACK_LOAD_TIMEOUT:
          case ErrorDetails.SUBTITLE_LOAD_ERROR:
          case ErrorDetails.SUBTITLE_TRACK_LOAD_TIMEOUT:
            if (context) {
              const level = hls.loadLevelObj;
              if (level && (context.type === PlaylistContextType.AUDIO_TRACK && level.hasAudioGroup(context.groupId) || context.type === PlaylistContextType.SUBTITLE_TRACK && level.hasSubtitleGroup(context.groupId))) {
                // Perform Pathway switch or Redundant failover if possible for fastest recovery
                // otherwise allow playlist retry count to reach max error retries
                data.errorAction = this.getPlaylistRetryOrSwitchAction(data, hls.loadLevel);
                data.errorAction.action = NetworkErrorAction.SendAlternateToPenaltyBox;
                data.errorAction.flags = ErrorActionFlags.MoveAllAlternatesMatchingHost;
                return;
              }
            }
            return;
          case ErrorDetails.KEY_SYSTEM_STATUS_OUTPUT_RESTRICTED:
            {
              data.errorAction = {
                action: NetworkErrorAction.SendAlternateToPenaltyBox,
                flags: ErrorActionFlags.MoveAllAlternatesMatchingHDCP
              };
            }
            return;
          case ErrorDetails.KEY_SYSTEM_SESSION_UPDATE_FAILED:
          case ErrorDetails.KEY_SYSTEM_STATUS_INTERNAL_ERROR:
          case ErrorDetails.KEY_SYSTEM_NO_SESSION:
            {
              data.errorAction = {
                action: NetworkErrorAction.SendAlternateToPenaltyBox,
                flags: ErrorActionFlags.MoveAllAlternatesMatchingKey
              };
            }
            return;
          case ErrorDetails.BUFFER_ADD_CODEC_ERROR:
          case ErrorDetails.REMUX_ALLOC_ERROR:
          case ErrorDetails.BUFFER_APPEND_ERROR:
            // Buffer-controller can set errorAction when append errors can be ignored or resolved locally
            if (!data.errorAction) {
              var _data$level;
              data.errorAction = this.getLevelSwitchAction(data, (_data$level = data.level) != null ? _data$level : hls.loadLevel);
            }
            return;
          case ErrorDetails.INTERNAL_EXCEPTION:
          case ErrorDetails.BUFFER_APPENDING_ERROR:
          case ErrorDetails.BUFFER_FULL_ERROR:
          case ErrorDetails.LEVEL_SWITCH_ERROR:
          case ErrorDetails.BUFFER_STALLED_ERROR:
          case ErrorDetails.BUFFER_SEEK_OVER_HOLE:
          case ErrorDetails.BUFFER_NUDGE_ON_STALL:
            data.errorAction = createDoNothingErrorAction();
            return;
        }
        if (data.type === ErrorTypes.KEY_SYSTEM_ERROR) {
          // Do not retry level. Should be fatal if ErrorDetails.KEY_SYSTEM_<ERROR> not handled with early return above.
          data.levelRetry = false;
          data.errorAction = createDoNothingErrorAction();
        }
      }
      getPlaylistRetryOrSwitchAction(data, levelIndex) {
        const hls = this.hls;
        const retryConfig = getRetryConfig(hls.config.playlistLoadPolicy, data);
        const retryCount = this.playlistError++;
        const retry = shouldRetry(retryConfig, retryCount, isTimeoutError(data), data.response);
        if (retry) {
          return {
            action: NetworkErrorAction.RetryRequest,
            flags: ErrorActionFlags.None,
            retryConfig,
            retryCount
          };
        }
        const errorAction = this.getLevelSwitchAction(data, levelIndex);
        if (retryConfig) {
          errorAction.retryConfig = retryConfig;
          errorAction.retryCount = retryCount;
        }
        return errorAction;
      }
      getFragRetryOrSwitchAction(data) {
        const hls = this.hls;
        // Share fragment error count accross media options (main, audio, subs)
        // This allows for level based rendition switching when media option assets fail
        const variantLevelIndex = this.getVariantLevelIndex(data.frag);
        const level = hls.levels[variantLevelIndex];
        const {
          fragLoadPolicy,
          keyLoadPolicy
        } = hls.config;
        const retryConfig = getRetryConfig(isKeyError(data) ? keyLoadPolicy : fragLoadPolicy, data);
        const fragmentErrors = hls.levels.reduce((acc, level) => acc + level.fragmentError, 0);
        // Switch levels when out of retried or level index out of bounds
        if (level) {
          if (data.details !== ErrorDetails.FRAG_GAP) {
            level.fragmentError++;
          }
          if (!isUnusableKeyError(data)) {
            const retry = shouldRetry(retryConfig, fragmentErrors, isTimeoutError(data), data.response);
            if (retry) {
              return {
                action: NetworkErrorAction.RetryRequest,
                flags: ErrorActionFlags.None,
                retryConfig,
                retryCount: fragmentErrors
              };
            }
          }
        }
        // Reach max retry count, or Missing level reference
        // Switch to valid index
        const errorAction = this.getLevelSwitchAction(data, variantLevelIndex);
        // Add retry details to allow skipping of FRAG_PARSING_ERROR
        if (retryConfig) {
          errorAction.retryConfig = retryConfig;
          errorAction.retryCount = fragmentErrors;
        }
        return errorAction;
      }
      getLevelSwitchAction(data, levelIndex) {
        const hls = this.hls;
        if (levelIndex === null || levelIndex === undefined) {
          levelIndex = hls.loadLevel;
        }
        const level = this.hls.levels[levelIndex];
        if (level) {
          var _data$frag2, _data$context2;
          const errorDetails = data.details;
          level.loadError++;
          if (errorDetails === ErrorDetails.BUFFER_APPEND_ERROR) {
            level.fragmentError++;
          }
          // Search for next level to retry
          let nextLevel = -1;
          const {
            levels,
            loadLevel,
            minAutoLevel,
            maxAutoLevel
          } = hls;
          if (!hls.autoLevelEnabled && !hls.config.preserveManualLevelOnError) {
            hls.loadLevel = -1;
          }
          const fragErrorType = (_data$frag2 = data.frag) == null ? void 0 : _data$frag2.type;
          // Find alternate audio codec if available on audio codec error
          const isAudioCodecError = fragErrorType === PlaylistLevelType.AUDIO && errorDetails === ErrorDetails.FRAG_PARSING_ERROR || data.sourceBufferName === 'audio' && (errorDetails === ErrorDetails.BUFFER_ADD_CODEC_ERROR || errorDetails === ErrorDetails.BUFFER_APPEND_ERROR);
          const findAudioCodecAlternate = isAudioCodecError && levels.some(({
            audioCodec
          }) => level.audioCodec !== audioCodec);
          // Find alternate video codec if available on video codec error
          const isVideoCodecError = data.sourceBufferName === 'video' && (errorDetails === ErrorDetails.BUFFER_ADD_CODEC_ERROR || errorDetails === ErrorDetails.BUFFER_APPEND_ERROR);
          const findVideoCodecAlternate = isVideoCodecError && levels.some(({
            codecSet,
            audioCodec
          }) => level.codecSet !== codecSet && level.audioCodec === audioCodec);
          const {
            type: playlistErrorType,
            groupId: playlistErrorGroupId
          } = (_data$context2 = data.context) != null ? _data$context2 : {};
          for (let i = levels.length; i--;) {
            const candidate = (i + loadLevel) % levels.length;
            if (candidate !== loadLevel && candidate >= minAutoLevel && candidate <= maxAutoLevel && levels[candidate].loadError === 0) {
              var _level$audioGroups, _level$subtitleGroups;
              const levelCandidate = levels[candidate];
              // Skip level switch if GAP tag is found in next level at same position
              if (errorDetails === ErrorDetails.FRAG_GAP && fragErrorType === PlaylistLevelType.MAIN && data.frag) {
                const levelDetails = levels[candidate].details;
                if (levelDetails) {
                  const fragCandidate = findFragmentByPTS(data.frag, levelDetails.fragments, data.frag.start);
                  if (fragCandidate != null && fragCandidate.gap) {
                    continue;
                  }
                }
              } else if (playlistErrorType === PlaylistContextType.AUDIO_TRACK && levelCandidate.hasAudioGroup(playlistErrorGroupId) || playlistErrorType === PlaylistContextType.SUBTITLE_TRACK && levelCandidate.hasSubtitleGroup(playlistErrorGroupId)) {
                // For audio/subs playlist errors find another group ID or fallthrough to redundant fail-over
                continue;
              } else if (fragErrorType === PlaylistLevelType.AUDIO && (_level$audioGroups = level.audioGroups) != null && _level$audioGroups.some(groupId => levelCandidate.hasAudioGroup(groupId)) || fragErrorType === PlaylistLevelType.SUBTITLE && (_level$subtitleGroups = level.subtitleGroups) != null && _level$subtitleGroups.some(groupId => levelCandidate.hasSubtitleGroup(groupId)) || findAudioCodecAlternate && level.audioCodec === levelCandidate.audioCodec || findVideoCodecAlternate && level.codecSet === levelCandidate.codecSet || !findAudioCodecAlternate && level.codecSet !== levelCandidate.codecSet) {
                // For video/audio/subs frag errors find another group ID or fallthrough to redundant fail-over
                continue;
              }
              nextLevel = candidate;
              break;
            }
          }
          if (nextLevel > -1 && hls.loadLevel !== nextLevel) {
            data.levelRetry = true;
            this.playlistError = 0;
            return {
              action: NetworkErrorAction.SendAlternateToPenaltyBox,
              flags: ErrorActionFlags.None,
              nextAutoLevel: nextLevel
            };
          }
        }
        // No levels to switch / Manual level selection / Level not found
        // Resolve with Pathway switch, Redundant fail-over, or stay on lowest Level
        return {
          action: NetworkErrorAction.SendAlternateToPenaltyBox,
          flags: ErrorActionFlags.MoveAllAlternatesMatchingHost
        };
      }
      onErrorOut(event, data) {
        var _data$errorAction;
        switch ((_data$errorAction = data.errorAction) == null ? void 0 : _data$errorAction.action) {
          case NetworkErrorAction.DoNothing:
            break;
          case NetworkErrorAction.SendAlternateToPenaltyBox:
            this.sendAlternateToPenaltyBox(data);
            if (!data.errorAction.resolved && data.details !== ErrorDetails.FRAG_GAP) {
              data.fatal = true;
            } else if (/MediaSource readyState: ended/.test(data.error.message)) {
              this.warn(`MediaSource ended after "${data.sourceBufferName}" sourceBuffer append error. Attempting to recover from media error.`);
              this.hls.recoverMediaError();
            }
            break;
          case NetworkErrorAction.RetryRequest:
            // handled by stream and playlist/level controllers
            break;
        }
        if (data.fatal) {
          this.hls.stopLoad();
          return;
        }
      }
      sendAlternateToPenaltyBox(data) {
        const hls = this.hls;
        const errorAction = data.errorAction;
        if (!errorAction) {
          return;
        }
        const {
          flags
        } = errorAction;
        const nextAutoLevel = errorAction.nextAutoLevel;
        switch (flags) {
          case ErrorActionFlags.None:
            this.switchLevel(data, nextAutoLevel);
            break;
          case ErrorActionFlags.MoveAllAlternatesMatchingHDCP:
            {
              const levelIndex = this.getVariantLevelIndex(data.frag);
              const level = hls.levels[levelIndex];
              const restrictedHdcpLevel = level == null ? void 0 : level.attrs['HDCP-LEVEL'];
              errorAction.hdcpLevel = restrictedHdcpLevel;
              if (restrictedHdcpLevel === 'NONE') {
                this.warn(`HDCP policy resticted output with HDCP-LEVEL=NONE`);
              } else if (restrictedHdcpLevel) {
                hls.maxHdcpLevel = HdcpLevels[HdcpLevels.indexOf(restrictedHdcpLevel) - 1];
                errorAction.resolved = true;
                this.warn(`Restricting playback to HDCP-LEVEL of "${hls.maxHdcpLevel}" or lower`);
                break;
              }
              // Fallthrough when no HDCP-LEVEL attribute is found
            }
          // eslint-disable-next-line no-fallthrough
          case ErrorActionFlags.MoveAllAlternatesMatchingKey:
            {
              const levelKey = data.decryptdata;
              if (levelKey) {
                // Penalize all levels with key
                const levels = this.hls.levels;
                const levelCountWithError = levels.length;
                for (let i = levelCountWithError; i--;) {
                  if (this.variantHasKey(levels[i], levelKey)) {
                    var _levels$i$audioGroups, _data$frag3;
                    this.log(`Banned key found in level ${i} (${levels[i].bitrate}bps) or audio group "${(_levels$i$audioGroups = levels[i].audioGroups) == null ? void 0 : _levels$i$audioGroups.join(',')}" (${(_data$frag3 = data.frag) == null ? void 0 : _data$frag3.type} fragment) ${arrayToHex(levelKey.keyId || [])}`);
                    levels[i].fragmentError++;
                    levels[i].loadError++;
                    this.log(`Removing level ${i} with key error (${data.error})`);
                    this.hls.removeLevel(i);
                  }
                }
                const frag = data.frag;
                if (this.hls.levels.length < levelCountWithError) {
                  errorAction.resolved = true;
                } else if (frag && frag.type !== PlaylistLevelType.MAIN) {
                  // Ignore key error for audio track with unmatched key (main session error)
                  const fragLevelKey = frag.decryptdata;
                  if (fragLevelKey && !levelKey.matches(fragLevelKey)) {
                    errorAction.resolved = true;
                  }
                }
              }
              break;
            }
        }
        // If not resolved by previous actions try to switch to next level
        if (!errorAction.resolved) {
          this.switchLevel(data, nextAutoLevel);
        }
      }
      switchLevel(data, levelIndex) {
        if (levelIndex !== undefined && data.errorAction) {
          this.warn(`switching to level ${levelIndex} after ${data.details}`);
          this.hls.nextAutoLevel = levelIndex;
          data.errorAction.resolved = true;
          // Stream controller is responsible for this but won't switch on false start
          this.hls.nextLoadLevel = this.hls.nextAutoLevel;
          if (data.details === ErrorDetails.BUFFER_ADD_CODEC_ERROR && data.mimeType && data.sourceBufferName !== 'audiovideo') {
            const codec = getCodecsForMimeType(data.mimeType);
            const levels = this.hls.levels;
            for (let i = levels.length; i--;) {
              if (levels[i][`${data.sourceBufferName}Codec`] === codec) {
                this.log(`Removing level ${i} for ${data.details} ("${codec}" not supported)`);
                this.hls.removeLevel(i);
              }
            }
          }
        }
      }
    }
    function createDoNothingErrorAction(resolved) {
      const errorAction = {
        action: NetworkErrorAction.DoNothing,
        flags: ErrorActionFlags.None
      };
      if (resolved) {
        errorAction.resolved = true;
      }
      return errorAction;
    }
    
    var FragmentState = {
      NOT_LOADED: "NOT_LOADED",
      APPENDING: "APPENDING",
      PARTIAL: "PARTIAL",
      OK: "OK"
    };
    class FragmentTracker {
      constructor(hls) {
        this.activePartLists = Object.create(null);
        this.endListFragments = Object.create(null);
        this.fragments = Object.create(null);
        this.timeRanges = Object.create(null);
        this.bufferPadding = 0.2;
        this.hls = void 0;
        this.hasGaps = false;
        this.hls = hls;
        this._registerListeners();
      }
      _registerListeners() {
        const {
          hls
        } = this;
        if (hls) {
          hls.on(Events.MANIFEST_LOADING, this.onManifestLoading, this);
          hls.on(Events.BUFFER_APPENDED, this.onBufferAppended, this);
          hls.on(Events.FRAG_BUFFERED, this.onFragBuffered, this);
          hls.on(Events.FRAG_LOADED, this.onFragLoaded, this);
        }
      }
      _unregisterListeners() {
        const {
          hls
        } = this;
        if (hls) {
          hls.off(Events.MANIFEST_LOADING, this.onManifestLoading, this);
          hls.off(Events.BUFFER_APPENDED, this.onBufferAppended, this);
          hls.off(Events.FRAG_BUFFERED, this.onFragBuffered, this);
          hls.off(Events.FRAG_LOADED, this.onFragLoaded, this);
        }
      }
      destroy() {
        this._unregisterListeners();
        // @ts-ignore
        this.hls =
        // @ts-ignore
        this.fragments =
        // @ts-ignore
        this.activePartLists =
        // @ts-ignore
        this.endListFragments = this.timeRanges = null;
      }
    
      /**
       * Return a Fragment or Part with an appended range that matches the position and levelType
       * Otherwise, return null
       */
      getAppendedFrag(position, levelType) {
        const activeParts = this.activePartLists[levelType];
        if (activeParts) {
          for (let i = activeParts.length; i--;) {
            const activePart = activeParts[i];
            if (!activePart) {
              break;
            }
            if (activePart.start <= position && position <= activePart.end && activePart.loaded) {
              return activePart;
            }
          }
        }
        return this.getBufferedFrag(position, levelType);
      }
    
      /**
       * Return a buffered Fragment that matches the position and levelType.
       * A buffered Fragment is one whose loading, parsing and appending is done (completed or "partial" meaning aborted).
       * If not found any Fragment, return null
       */
      getBufferedFrag(position, levelType) {
        return this.getFragAtPos(position, levelType, true);
      }
      getFragAtPos(position, levelType, buffered) {
        const {
          fragments
        } = this;
        const keys = Object.keys(fragments);
        for (let i = keys.length; i--;) {
          const fragmentEntity = fragments[keys[i]];
          if ((fragmentEntity == null ? void 0 : fragmentEntity.body.type) === levelType && (!buffered || fragmentEntity.buffered)) {
            const frag = fragmentEntity.body;
            if (frag.start <= position && position <= frag.end) {
              return frag;
            }
          }
        }
        return null;
      }
    
      /**
       * Partial fragments effected by coded frame eviction will be removed
       * The browser will unload parts of the buffer to free up memory for new buffer data
       * Fragments will need to be reloaded when the buffer is freed up, removing partial fragments will allow them to reload(since there might be parts that are still playable)
       */
      detectEvictedFragments(elementaryStream, timeRange, playlistType, appendedPart, removeAppending) {
        if (this.timeRanges) {
          this.timeRanges[elementaryStream] = timeRange;
        }
        // Check if any flagged fragments have been unloaded
        // excluding anything newer than appendedPartSn
        const appendedPartSn = (appendedPart == null ? void 0 : appendedPart.fragment.sn) || -1;
        Object.keys(this.fragments).forEach(key => {
          const fragmentEntity = this.fragments[key];
          if (!fragmentEntity) {
            return;
          }
          if (appendedPartSn >= fragmentEntity.body.sn) {
            return;
          }
          if (!fragmentEntity.buffered && (!fragmentEntity.loaded || removeAppending)) {
            if (fragmentEntity.body.type === playlistType) {
              this.removeFragment(fragmentEntity.body);
            }
            return;
          }
          const esData = fragmentEntity.range[elementaryStream];
          if (!esData) {
            return;
          }
          if (esData.time.length === 0) {
            this.removeFragment(fragmentEntity.body);
            return;
          }
          esData.time.some(time => {
            const isNotBuffered = !this.isTimeBuffered(time.startPTS, time.endPTS, timeRange);
            if (isNotBuffered) {
              // Unregister partial fragment as it needs to load again to be reused
              this.removeFragment(fragmentEntity.body);
            }
            return isNotBuffered;
          });
        });
      }
    
      /**
       * Checks if the fragment passed in is loaded in the buffer properly
       * Partially loaded fragments will be registered as a partial fragment
       */
      detectPartialFragments(data) {
        const timeRanges = this.timeRanges;
        if (!timeRanges || data.frag.sn === 'initSegment') {
          return;
        }
        const frag = data.frag;
        const fragKey = getFragmentKey(frag);
        const fragmentEntity = this.fragments[fragKey];
        if (!fragmentEntity || fragmentEntity.buffered && frag.gap) {
          return;
        }
        const isFragHint = !frag.relurl;
        Object.keys(timeRanges).forEach(elementaryStream => {
          const streamInfo = frag.elementaryStreams[elementaryStream];
          if (!streamInfo) {
            return;
          }
          const timeRange = timeRanges[elementaryStream];
          const partial = isFragHint || streamInfo.partial === true;
          fragmentEntity.range[elementaryStream] = this.getBufferedTimes(frag, data.part, partial, timeRange);
        });
        fragmentEntity.loaded = null;
        if (Object.keys(fragmentEntity.range).length) {
          this.bufferedEnd(fragmentEntity, frag);
          if (!isPartial(fragmentEntity)) {
            // Remove older fragment parts from lookup after frag is tracked as buffered
            this.removeParts(frag.sn - 1, frag.type);
          }
        } else {
          // remove fragment if nothing was appended
          this.removeFragment(fragmentEntity.body);
        }
      }
      bufferedEnd(fragmentEntity, frag) {
        fragmentEntity.buffered = true;
        const endList = fragmentEntity.body.endList = frag.endList || fragmentEntity.body.endList;
        if (endList) {
          this.endListFragments[fragmentEntity.body.type] = fragmentEntity;
        }
      }
      removeParts(snToKeep, levelType) {
        const activeParts = this.activePartLists[levelType];
        if (!activeParts) {
          return;
        }
        this.activePartLists[levelType] = filterParts(activeParts, part => part.fragment.sn >= snToKeep);
      }
      fragBuffered(frag, force) {
        const fragKey = getFragmentKey(frag);
        let fragmentEntity = this.fragments[fragKey];
        if (!fragmentEntity && force) {
          fragmentEntity = this.fragments[fragKey] = {
            body: frag,
            appendedPTS: null,
            loaded: null,
            buffered: false,
            range: Object.create(null)
          };
          if (frag.gap) {
            this.hasGaps = true;
          }
        }
        if (fragmentEntity) {
          fragmentEntity.loaded = null;
          this.bufferedEnd(fragmentEntity, frag);
        }
      }
      getBufferedTimes(fragment, part, partial, timeRange) {
        const buffered = {
          time: [],
          partial
        };
        const startPTS = fragment.start;
        const endPTS = fragment.end;
        const minEndPTS = fragment.minEndPTS || endPTS;
        const maxStartPTS = fragment.maxStartPTS || startPTS;
        for (let i = 0; i < timeRange.length; i++) {
          const startTime = timeRange.start(i) - this.bufferPadding;
          const endTime = timeRange.end(i) + this.bufferPadding;
          if (maxStartPTS >= startTime && minEndPTS <= endTime) {
            // Fragment is entirely contained in buffer
            // No need to check the other timeRange times since it's completely playable
            buffered.time.push({
              startPTS: Math.max(startPTS, timeRange.start(i)),
              endPTS: Math.min(endPTS, timeRange.end(i))
            });
            break;
          } else if (startPTS < endTime && endPTS > startTime) {
            const start = Math.max(startPTS, timeRange.start(i));
            const end = Math.min(endPTS, timeRange.end(i));
            if (end > start) {
              buffered.partial = true;
              // Check for intersection with buffer
              // Get playable sections of the fragment
              buffered.time.push({
                startPTS: start,
                endPTS: end
              });
            }
          } else if (endPTS <= startTime) {
            // No need to check the rest of the timeRange as it is in order
            break;
          }
        }
        return buffered;
      }
    
      /**
       * Gets the partial fragment for a certain time
       */
      getPartialFragment(time) {
        let bestFragment = null;
        let timePadding;
        let startTime;
        let endTime;
        let bestOverlap = 0;
        const {
          bufferPadding,
          fragments
        } = this;
        Object.keys(fragments).forEach(key => {
          const fragmentEntity = fragments[key];
          if (!fragmentEntity) {
            return;
          }
          if (isPartial(fragmentEntity)) {
            startTime = fragmentEntity.body.start - bufferPadding;
            endTime = fragmentEntity.body.end + bufferPadding;
            if (time >= startTime && time <= endTime) {
              // Use the fragment that has the most padding from start and end time
              timePadding = Math.min(time - startTime, endTime - time);
              if (bestOverlap <= timePadding) {
                bestFragment = fragmentEntity.body;
                bestOverlap = timePadding;
              }
            }
          }
        });
        return bestFragment;
      }
      isEndListAppended(type) {
        const lastFragmentEntity = this.endListFragments[type];
        return lastFragmentEntity !== undefined && (lastFragmentEntity.buffered || isPartial(lastFragmentEntity));
      }
      getState(fragment) {
        const fragKey = getFragmentKey(fragment);
        const fragmentEntity = this.fragments[fragKey];
        if (fragmentEntity) {
          if (!fragmentEntity.buffered) {
            return FragmentState.APPENDING;
          } else if (isPartial(fragmentEntity)) {
            return FragmentState.PARTIAL;
          } else {
            return FragmentState.OK;
          }
        }
        return FragmentState.NOT_LOADED;
      }
      isTimeBuffered(startPTS, endPTS, timeRange) {
        let startTime;
        let endTime;
        for (let i = 0; i < timeRange.length; i++) {
          startTime = timeRange.start(i) - this.bufferPadding;
          endTime = timeRange.end(i) + this.bufferPadding;
          if (startPTS >= startTime && endPTS <= endTime) {
            return true;
          }
          if (endPTS <= startTime) {
            // No need to check the rest of the timeRange as it is in order
            return false;
          }
        }
        return false;
      }
      onManifestLoading() {
        this.removeAllFragments();
      }
      onFragLoaded(event, data) {
        // don't track initsegment (for which sn is not a number)
        // don't track frags used for bitrateTest, they're irrelevant.
        if (data.frag.sn === 'initSegment' || data.frag.bitrateTest) {
          return;
        }
        const frag = data.frag;
        // Fragment entity `loaded` FragLoadedData is null when loading parts
        const loaded = data.part ? null : data;
        const fragKey = getFragmentKey(frag);
        this.fragments[fragKey] = {
          body: frag,
          appendedPTS: null,
          loaded,
          buffered: false,
          range: Object.create(null)
        };
      }
      onBufferAppended(event, data) {
        const {
          frag,
          part,
          timeRanges,
          type
        } = data;
        if (frag.sn === 'initSegment') {
          return;
        }
        const playlistType = frag.type;
        if (part) {
          let activeParts = this.activePartLists[playlistType];
          if (!activeParts) {
            this.activePartLists[playlistType] = activeParts = [];
          }
          activeParts.push(part);
        }
        // Store the latest timeRanges loaded in the buffer
        this.timeRanges = timeRanges;
        const timeRange = timeRanges[type];
        this.detectEvictedFragments(type, timeRange, playlistType, part);
      }
      onFragBuffered(event, data) {
        this.detectPartialFragments(data);
      }
      hasFragment(fragment) {
        const fragKey = getFragmentKey(fragment);
        return !!this.fragments[fragKey];
      }
      hasFragments(type) {
        const {
          fragments
        } = this;
        const keys = Object.keys(fragments);
        if (!type) {
          return keys.length > 0;
        }
        for (let i = keys.length; i--;) {
          const fragmentEntity = fragments[keys[i]];
          if ((fragmentEntity == null ? void 0 : fragmentEntity.body.type) === type) {
            return true;
          }
        }
        return false;
      }
      hasParts(type) {
        var _this$activePartLists;
        return !!((_this$activePartLists = this.activePartLists[type]) != null && _this$activePartLists.length);
      }
      removeFragmentsInRange(start, end, playlistType, withGapOnly, unbufferedOnly) {
        if (withGapOnly && !this.hasGaps) {
          return;
        }
        Object.keys(this.fragments).forEach(key => {
          const fragmentEntity = this.fragments[key];
          if (!fragmentEntity) {
            return;
          }
          const frag = fragmentEntity.body;
          if (frag.type !== playlistType || withGapOnly && !frag.gap) {
            return;
          }
          if (frag.start < end && frag.end > start && (fragmentEntity.buffered || unbufferedOnly)) {
            this.removeFragment(frag);
          }
        });
      }
      removeFragment(fragment) {
        const fragKey = getFragmentKey(fragment);
        fragment.clearElementaryStreamInfo();
        const activeParts = this.activePartLists[fragment.type];
        if (activeParts) {
          const snToRemove = fragment.sn;
          this.activePartLists[fragment.type] = filterParts(activeParts, part => part.fragment.sn !== snToRemove);
        }
        delete this.fragments[fragKey];
        if (fragment.endList) {
          delete this.endListFragments[fragment.type];
        }
      }
      removeAllFragments() {
        var _this$hls;
        this.fragments = Object.create(null);
        this.endListFragments = Object.create(null);
        this.activePartLists = Object.create(null);
        this.hasGaps = false;
        const partlist = (_this$hls = this.hls) == null || (_this$hls = _this$hls.latestLevelDetails) == null ? void 0 : _this$hls.partList;
        if (partlist) {
          partlist.forEach(part => part.clearElementaryStreamInfo());
        }
      }
    }
    function isPartial(fragmentEntity) {
      var _fragmentEntity$range, _fragmentEntity$range2, _fragmentEntity$range3;
      return fragmentEntity.buffered && !!(fragmentEntity.body.gap || (_fragmentEntity$range = fragmentEntity.range.video) != null && _fragmentEntity$range.partial || (_fragmentEntity$range2 = fragmentEntity.range.audio) != null && _fragmentEntity$range2.partial || (_fragmentEntity$range3 = fragmentEntity.range.audiovideo) != null && _fragmentEntity$range3.partial);
    }
    function getFragmentKey(fragment) {
      return `${fragment.type}_${fragment.level}_${fragment.sn}`;
    }
    function filterParts(partList, predicate) {
      return partList.filter(part => {
        const keep = predicate(part);
        if (!keep) {
          part.clearElementaryStreamInfo();
        }
        return keep;
      });
    }
    
    var DecrypterAesMode = {
      cbc: 0,
      ctr: 1
    };
    
    class AESCrypto {
      constructor(subtle, iv, aesMode) {
        this.subtle = void 0;
        this.aesIV = void 0;
        this.aesMode = void 0;
        this.subtle = subtle;
        this.aesIV = iv;
        this.aesMode = aesMode;
      }
      decrypt(data, key) {
        switch (this.aesMode) {
          case DecrypterAesMode.cbc:
            return this.subtle.decrypt({
              name: 'AES-CBC',
              iv: this.aesIV
            }, key, data);
          case DecrypterAesMode.ctr:
            return this.subtle.decrypt({
              name: 'AES-CTR',
              counter: this.aesIV,
              length: 64
            },
            //64 : NIST SP800-38A standard suggests that the counter should occupy half of the counter block
            key, data);
          default:
            throw new Error(`[AESCrypto] invalid aes mode ${this.aesMode}`);
        }
      }
    }
    
    // PKCS7
    function removePadding(array) {
      const outputBytes = array.byteLength;
      const paddingBytes = outputBytes && new DataView(array.buffer).getUint8(outputBytes - 1);
      if (paddingBytes) {
        return array.slice(0, outputBytes - paddingBytes);
      }
      return array;
    }
    class AESDecryptor {
      constructor() {
        this.rcon = [0x0, 0x1, 0x2, 0x4, 0x8, 0x10, 0x20, 0x40, 0x80, 0x1b, 0x36];
        this.subMix = [new Uint32Array(256), new Uint32Array(256), new Uint32Array(256), new Uint32Array(256)];
        this.invSubMix = [new Uint32Array(256), new Uint32Array(256), new Uint32Array(256), new Uint32Array(256)];
        this.sBox = new Uint32Array(256);
        this.invSBox = new Uint32Array(256);
        this.key = new Uint32Array(0);
        this.ksRows = 0;
        this.keySize = 0;
        this.keySchedule = void 0;
        this.invKeySchedule = void 0;
        this.initTable();
      }
    
      // Using view.getUint32() also swaps the byte order.
      uint8ArrayToUint32Array_(arrayBuffer) {
        const view = new DataView(arrayBuffer);
        const newArray = new Uint32Array(4);
        for (let i = 0; i < 4; i++) {
          newArray[i] = view.getUint32(i * 4);
        }
        return newArray;
      }
      initTable() {
        const sBox = this.sBox;
        const invSBox = this.invSBox;
        const subMix = this.subMix;
        const subMix0 = subMix[0];
        const subMix1 = subMix[1];
        const subMix2 = subMix[2];
        const subMix3 = subMix[3];
        const invSubMix = this.invSubMix;
        const invSubMix0 = invSubMix[0];
        const invSubMix1 = invSubMix[1];
        const invSubMix2 = invSubMix[2];
        const invSubMix3 = invSubMix[3];
        const d = new Uint32Array(256);
        let x = 0;
        let xi = 0;
        let i = 0;
        for (i = 0; i < 256; i++) {
          if (i < 128) {
            d[i] = i << 1;
          } else {
            d[i] = i << 1 ^ 0x11b;
          }
        }
        for (i = 0; i < 256; i++) {
          let sx = xi ^ xi << 1 ^ xi << 2 ^ xi << 3 ^ xi << 4;
          sx = sx >>> 8 ^ sx & 0xff ^ 0x63;
          sBox[x] = sx;
          invSBox[sx] = x;
    
          // Compute multiplication
          const x2 = d[x];
          const x4 = d[x2];
          const x8 = d[x4];
    
          // Compute sub/invSub bytes, mix columns tables
          let t = d[sx] * 0x101 ^ sx * 0x1010100;
          subMix0[x] = t << 24 | t >>> 8;
          subMix1[x] = t << 16 | t >>> 16;
          subMix2[x] = t << 8 | t >>> 24;
          subMix3[x] = t;
    
          // Compute inv sub bytes, inv mix columns tables
          t = x8 * 0x1010101 ^ x4 * 0x10001 ^ x2 * 0x101 ^ x * 0x1010100;
          invSubMix0[sx] = t << 24 | t >>> 8;
          invSubMix1[sx] = t << 16 | t >>> 16;
          invSubMix2[sx] = t << 8 | t >>> 24;
          invSubMix3[sx] = t;
    
          // Compute next counter
          if (!x) {
            x = xi = 1;
          } else {
            x = x2 ^ d[d[d[x8 ^ x2]]];
            xi ^= d[d[xi]];
          }
        }
      }
      expandKey(keyBuffer) {
        // convert keyBuffer to Uint32Array
        const key = this.uint8ArrayToUint32Array_(keyBuffer);
        let sameKey = true;
        let offset = 0;
        while (offset < key.length && sameKey) {
          sameKey = key[offset] === this.key[offset];
          offset++;
        }
        if (sameKey) {
          return;
        }
        this.key = key;
        const keySize = this.keySize = key.length;
        if (keySize !== 4 && keySize !== 6 && keySize !== 8) {
          throw new Error('Invalid aes key size=' + keySize);
        }
        const ksRows = this.ksRows = (keySize + 6 + 1) * 4;
        let ksRow;
        let invKsRow;
        const keySchedule = this.keySchedule = new Uint32Array(ksRows);
        const invKeySchedule = this.invKeySchedule = new Uint32Array(ksRows);
        const sbox = this.sBox;
        const rcon = this.rcon;
        const invSubMix = this.invSubMix;
        const invSubMix0 = invSubMix[0];
        const invSubMix1 = invSubMix[1];
        const invSubMix2 = invSubMix[2];
        const invSubMix3 = invSubMix[3];
        let prev;
        let t;
        for (ksRow = 0; ksRow < ksRows; ksRow++) {
          if (ksRow < keySize) {
            prev = keySchedule[ksRow] = key[ksRow];
            continue;
          }
          t = prev;
          if (ksRow % keySize === 0) {
            // Rot word
            t = t << 8 | t >>> 24;
    
            // Sub word
            t = sbox[t >>> 24] << 24 | sbox[t >>> 16 & 0xff] << 16 | sbox[t >>> 8 & 0xff] << 8 | sbox[t & 0xff];
    
            // Mix Rcon
            t ^= rcon[ksRow / keySize | 0] << 24;
          } else if (keySize > 6 && ksRow % keySize === 4) {
            // Sub word
            t = sbox[t >>> 24] << 24 | sbox[t >>> 16 & 0xff] << 16 | sbox[t >>> 8 & 0xff] << 8 | sbox[t & 0xff];
          }
          keySchedule[ksRow] = prev = (keySchedule[ksRow - keySize] ^ t) >>> 0;
        }
        for (invKsRow = 0; invKsRow < ksRows; invKsRow++) {
          ksRow = ksRows - invKsRow;
          if (invKsRow & 3) {
            t = keySchedule[ksRow];
          } else {
            t = keySchedule[ksRow - 4];
          }
          if (invKsRow < 4 || ksRow <= 4) {
            invKeySchedule[invKsRow] = t;
          } else {
            invKeySchedule[invKsRow] = invSubMix0[sbox[t >>> 24]] ^ invSubMix1[sbox[t >>> 16 & 0xff]] ^ invSubMix2[sbox[t >>> 8 & 0xff]] ^ invSubMix3[sbox[t & 0xff]];
          }
          invKeySchedule[invKsRow] = invKeySchedule[invKsRow] >>> 0;
        }
      }
    
      // Adding this as a method greatly improves performance.
      networkToHostOrderSwap(word) {
        return word << 24 | (word & 0xff00) << 8 | (word & 0xff0000) >> 8 | word >>> 24;
      }
      decrypt(inputArrayBuffer, offset, aesIV) {
        const nRounds = this.keySize + 6;
        const invKeySchedule = this.invKeySchedule;
        const invSBOX = this.invSBox;
        const invSubMix = this.invSubMix;
        const invSubMix0 = invSubMix[0];
        const invSubMix1 = invSubMix[1];
        const invSubMix2 = invSubMix[2];
        const invSubMix3 = invSubMix[3];
        const initVector = this.uint8ArrayToUint32Array_(aesIV);
        let initVector0 = initVector[0];
        let initVector1 = initVector[1];
        let initVector2 = initVector[2];
        let initVector3 = initVector[3];
        const inputInt32 = new Int32Array(inputArrayBuffer);
        const outputInt32 = new Int32Array(inputInt32.length);
        let t0, t1, t2, t3;
        let s0, s1, s2, s3;
        let inputWords0, inputWords1, inputWords2, inputWords3;
        let ksRow, i;
        const swapWord = this.networkToHostOrderSwap;
        while (offset < inputInt32.length) {
          inputWords0 = swapWord(inputInt32[offset]);
          inputWords1 = swapWord(inputInt32[offset + 1]);
          inputWords2 = swapWord(inputInt32[offset + 2]);
          inputWords3 = swapWord(inputInt32[offset + 3]);
          s0 = inputWords0 ^ invKeySchedule[0];
          s1 = inputWords3 ^ invKeySchedule[1];
          s2 = inputWords2 ^ invKeySchedule[2];
          s3 = inputWords1 ^ invKeySchedule[3];
          ksRow = 4;
    
          // Iterate through the rounds of decryption
          for (i = 1; i < nRounds; i++) {
            t0 = invSubMix0[s0 >>> 24] ^ invSubMix1[s1 >> 16 & 0xff] ^ invSubMix2[s2 >> 8 & 0xff] ^ invSubMix3[s3 & 0xff] ^ invKeySchedule[ksRow];
            t1 = invSubMix0[s1 >>> 24] ^ invSubMix1[s2 >> 16 & 0xff] ^ invSubMix2[s3 >> 8 & 0xff] ^ invSubMix3[s0 & 0xff] ^ invKeySchedule[ksRow + 1];
            t2 = invSubMix0[s2 >>> 24] ^ invSubMix1[s3 >> 16 & 0xff] ^ invSubMix2[s0 >> 8 & 0xff] ^ invSubMix3[s1 & 0xff] ^ invKeySchedule[ksRow + 2];
            t3 = invSubMix0[s3 >>> 24] ^ invSubMix1[s0 >> 16 & 0xff] ^ invSubMix2[s1 >> 8 & 0xff] ^ invSubMix3[s2 & 0xff] ^ invKeySchedule[ksRow + 3];
            // Update state
            s0 = t0;
            s1 = t1;
            s2 = t2;
            s3 = t3;
            ksRow = ksRow + 4;
          }
    
          // Shift rows, sub bytes, add round key
          t0 = invSBOX[s0 >>> 24] << 24 ^ invSBOX[s1 >> 16 & 0xff] << 16 ^ invSBOX[s2 >> 8 & 0xff] << 8 ^ invSBOX[s3 & 0xff] ^ invKeySchedule[ksRow];
          t1 = invSBOX[s1 >>> 24] << 24 ^ invSBOX[s2 >> 16 & 0xff] << 16 ^ invSBOX[s3 >> 8 & 0xff] << 8 ^ invSBOX[s0 & 0xff] ^ invKeySchedule[ksRow + 1];
          t2 = invSBOX[s2 >>> 24] << 24 ^ invSBOX[s3 >> 16 & 0xff] << 16 ^ invSBOX[s0 >> 8 & 0xff] << 8 ^ invSBOX[s1 & 0xff] ^ invKeySchedule[ksRow + 2];
          t3 = invSBOX[s3 >>> 24] << 24 ^ invSBOX[s0 >> 16 & 0xff] << 16 ^ invSBOX[s1 >> 8 & 0xff] << 8 ^ invSBOX[s2 & 0xff] ^ invKeySchedule[ksRow + 3];
    
          // Write
          outputInt32[offset] = swapWord(t0 ^ initVector0);
          outputInt32[offset + 1] = swapWord(t3 ^ initVector1);
          outputInt32[offset + 2] = swapWord(t2 ^ initVector2);
          outputInt32[offset + 3] = swapWord(t1 ^ initVector3);
    
          // reset initVector to last 4 unsigned int
          initVector0 = inputWords0;
          initVector1 = inputWords1;
          initVector2 = inputWords2;
          initVector3 = inputWords3;
          offset = offset + 4;
        }
        return outputInt32.buffer;
      }
    }
    
    class FastAESKey {
      constructor(subtle, key, aesMode) {
        this.subtle = void 0;
        this.key = void 0;
        this.aesMode = void 0;
        this.subtle = subtle;
        this.key = key;
        this.aesMode = aesMode;
      }
      expandKey() {
        const subtleAlgoName = getSubtleAlgoName(this.aesMode);
        return this.subtle.importKey('raw', this.key, {
          name: subtleAlgoName
        }, false, ['encrypt', 'decrypt']);
      }
    }
    function getSubtleAlgoName(aesMode) {
      switch (aesMode) {
        case DecrypterAesMode.cbc:
          return 'AES-CBC';
        case DecrypterAesMode.ctr:
          return 'AES-CTR';
        default:
          throw new Error(`[FastAESKey] invalid aes mode ${aesMode}`);
      }
    }
    
    const CHUNK_SIZE = 16; // 16 bytes, 128 bits
    
    class Decrypter {
      constructor(config, {
        removePKCS7Padding = true
      } = {}) {
        this.logEnabled = true;
        this.removePKCS7Padding = void 0;
        this.subtle = null;
        this.softwareDecrypter = null;
        this.key = null;
        this.fastAesKey = null;
        this.remainderData = null;
        this.currentIV = null;
        this.currentResult = null;
        this.useSoftware = void 0;
        this.enableSoftwareAES = void 0;
        this.enableSoftwareAES = config.enableSoftwareAES;
        this.removePKCS7Padding = removePKCS7Padding;
        // built in decryptor expects PKCS7 padding
        if (removePKCS7Padding) {
          try {
            const browserCrypto = self.crypto;
            if (browserCrypto) {
              this.subtle = browserCrypto.subtle || browserCrypto.webkitSubtle;
            }
          } catch (e) {
            /* no-op */
          }
        }
        this.useSoftware = !this.subtle;
      }
      destroy() {
        this.subtle = null;
        this.softwareDecrypter = null;
        this.key = null;
        this.fastAesKey = null;
        this.remainderData = null;
        this.currentIV = null;
        this.currentResult = null;
      }
      isSync() {
        return this.useSoftware;
      }
      flush() {
        const {
          currentResult,
          remainderData
        } = this;
        if (!currentResult || remainderData) {
          this.reset();
          return null;
        }
        const data = new Uint8Array(currentResult);
        this.reset();
        if (this.removePKCS7Padding) {
          return removePadding(data);
        }
        return data;
      }
      reset() {
        this.currentResult = null;
        this.currentIV = null;
        this.remainderData = null;
        if (this.softwareDecrypter) {
          this.softwareDecrypter = null;
        }
      }
      decrypt(data, key, iv, aesMode) {
        if (this.useSoftware) {
          return new Promise((resolve, reject) => {
            const dataView = ArrayBuffer.isView(data) ? data : new Uint8Array(data);
            this.softwareDecrypt(dataView, key, iv, aesMode);
            const decryptResult = this.flush();
            if (decryptResult) {
              resolve(decryptResult.buffer);
            } else {
              reject(new Error('[softwareDecrypt] Failed to decrypt data'));
            }
          });
        }
        return this.webCryptoDecrypt(new Uint8Array(data), key, iv, aesMode);
      }
    
      // Software decryption is progressive. Progressive decryption may not return a result on each call. Any cached
      // data is handled in the flush() call
      softwareDecrypt(data, key, iv, aesMode) {
        const {
          currentIV,
          currentResult,
          remainderData
        } = this;
        if (aesMode !== DecrypterAesMode.cbc || key.byteLength !== 16) {
          logger.warn('SoftwareDecrypt: can only handle AES-128-CBC');
          return null;
        }
        this.logOnce('JS AES decrypt');
        // The output is staggered during progressive parsing - the current result is cached, and emitted on the next call
        // This is done in order to strip PKCS7 padding, which is found at the end of each segment. We only know we've reached
        // the end on flush(), but by that time we have already received all bytes for the segment.
        // Progressive decryption does not work with WebCrypto
    
        if (remainderData) {
          data = appendUint8Array(remainderData, data);
          this.remainderData = null;
        }
    
        // Byte length must be a multiple of 16 (AES-128 = 128 bit blocks = 16 bytes)
        const currentChunk = this.getValidChunk(data);
        if (!currentChunk.length) {
          return null;
        }
        if (currentIV) {
          iv = currentIV;
        }
        let softwareDecrypter = this.softwareDecrypter;
        if (!softwareDecrypter) {
          softwareDecrypter = this.softwareDecrypter = new AESDecryptor();
        }
        softwareDecrypter.expandKey(key);
        const result = currentResult;
        this.currentResult = softwareDecrypter.decrypt(currentChunk.buffer, 0, iv);
        this.currentIV = currentChunk.slice(-16).buffer;
        if (!result) {
          return null;
        }
        return result;
      }
      webCryptoDecrypt(data, key, iv, aesMode) {
        if (this.key !== key || !this.fastAesKey) {
          if (!this.subtle) {
            return Promise.resolve(this.onWebCryptoError(data, key, iv, aesMode));
          }
          this.key = key;
          this.fastAesKey = new FastAESKey(this.subtle, key, aesMode);
        }
        return this.fastAesKey.expandKey().then(aesKey => {
          // decrypt using web crypto
          if (!this.subtle) {
            return Promise.reject(new Error('web crypto not initialized'));
          }
          this.logOnce('WebCrypto AES decrypt');
          const crypto = new AESCrypto(this.subtle, new Uint8Array(iv), aesMode);
          return crypto.decrypt(data.buffer, aesKey);
        }).catch(err => {
          logger.warn(`[decrypter]: WebCrypto Error, disable WebCrypto API, ${err.name}: ${err.message}`);
          return this.onWebCryptoError(data, key, iv, aesMode);
        });
      }
      onWebCryptoError(data, key, iv, aesMode) {
        const enableSoftwareAES = this.enableSoftwareAES;
        if (enableSoftwareAES) {
          this.useSoftware = true;
          this.logEnabled = true;
          this.softwareDecrypt(data, key, iv, aesMode);
          const decryptResult = this.flush();
          if (decryptResult) {
            return decryptResult.buffer;
          }
        }
        throw new Error('WebCrypto' + (enableSoftwareAES ? ' and softwareDecrypt' : '') + ': failed to decrypt data');
      }
      getValidChunk(data) {
        let currentChunk = data;
        const splitPoint = data.length - data.length % CHUNK_SIZE;
        if (splitPoint !== data.length) {
          currentChunk = data.slice(0, splitPoint);
          this.remainderData = data.slice(splitPoint);
        }
        return currentChunk;
      }
      logOnce(msg) {
        if (!this.logEnabled) {
          return;
        }
        logger.log(`[decrypter]: ${msg}`);
        this.logEnabled = false;
      }
    }
    
    const MIN_CHUNK_SIZE = Math.pow(2, 17); // 128kb
    
    class FragmentLoader {
      constructor(config) {
        this.config = void 0;
        this.loader = null;
        this.partLoadTimeout = -1;
        this.config = config;
      }
      destroy() {
        if (this.loader) {
          this.loader.destroy();
          this.loader = null;
        }
      }
      abort() {
        if (this.loader) {
          // Abort the loader for current fragment. Only one may load at any given time
          this.loader.abort();
        }
      }
      load(frag, onProgress) {
        const url = frag.url;
        if (!url) {
          return Promise.reject(new LoadError({
            type: ErrorTypes.NETWORK_ERROR,
            details: ErrorDetails.FRAG_LOAD_ERROR,
            fatal: false,
            frag,
            error: new Error(`Fragment does not have a ${url ? 'part list' : 'url'}`),
            networkDetails: null
          }));
        }
        this.abort();
        const config = this.config;
        const FragmentILoader = config.fLoader;
        const DefaultILoader = config.loader;
        return new Promise((resolve, reject) => {
          if (this.loader) {
            this.loader.destroy();
          }
          if (frag.gap) {
            if (frag.tagList.some(tags => tags[0] === 'GAP')) {
              reject(createGapLoadError(frag));
              return;
            } else {
              // Reset temporary treatment as GAP tag
              frag.gap = false;
            }
          }
          const loader = this.loader = FragmentILoader ? new FragmentILoader(config) : new DefaultILoader(config);
          const loaderContext = createLoaderContext(frag);
          frag.loader = loader;
          const loadPolicy = getLoaderConfigWithoutReties(config.fragLoadPolicy.default);
          const loaderConfig = {
            loadPolicy,
            timeout: loadPolicy.maxLoadTimeMs,
            maxRetry: 0,
            retryDelay: 0,
            maxRetryDelay: 0,
            highWaterMark: frag.sn === 'initSegment' ? Infinity : MIN_CHUNK_SIZE
          };
          // Assign frag stats to the loader's stats reference
          frag.stats = loader.stats;
          const callbacks = {
            onSuccess: (response, stats, context, networkDetails) => {
              this.resetLoader(frag, loader);
              let payload = response.data;
              if (context.resetIV && frag.decryptdata) {
                frag.decryptdata.iv = new Uint8Array(payload.slice(0, 16));
                payload = payload.slice(16);
              }
              resolve({
                frag,
                part: null,
                payload,
                networkDetails
              });
            },
            onError: (response, context, networkDetails, stats) => {
              this.resetLoader(frag, loader);
              reject(new LoadError({
                type: ErrorTypes.NETWORK_ERROR,
                details: ErrorDetails.FRAG_LOAD_ERROR,
                fatal: false,
                frag,
                response: _objectSpread2({
                  url,
                  data: undefined
                }, response),
                error: new Error(`HTTP Error ${response.code} ${response.text}`),
                networkDetails,
                stats
              }));
            },
            onAbort: (stats, context, networkDetails) => {
              this.resetLoader(frag, loader);
              reject(new LoadError({
                type: ErrorTypes.NETWORK_ERROR,
                details: ErrorDetails.INTERNAL_ABORTED,
                fatal: false,
                frag,
                error: new Error('Aborted'),
                networkDetails,
                stats
              }));
            },
            onTimeout: (stats, context, networkDetails) => {
              this.resetLoader(frag, loader);
              reject(new LoadError({
                type: ErrorTypes.NETWORK_ERROR,
                details: ErrorDetails.FRAG_LOAD_TIMEOUT,
                fatal: false,
                frag,
                error: new Error(`Timeout after ${loaderConfig.timeout}ms`),
                networkDetails,
                stats
              }));
            }
          };
          if (onProgress) {
            callbacks.onProgress = (stats, context, data, networkDetails) => onProgress({
              frag,
              part: null,
              payload: data,
              networkDetails
            });
          }
          loader.load(loaderContext, loaderConfig, callbacks);
        });
      }
      loadPart(frag, part, onProgress) {
        this.abort();
        const config = this.config;
        const FragmentILoader = config.fLoader;
        const DefaultILoader = config.loader;
        return new Promise((resolve, reject) => {
          if (this.loader) {
            this.loader.destroy();
          }
          if (frag.gap || part.gap) {
            reject(createGapLoadError(frag, part));
            return;
          }
          const loader = this.loader = FragmentILoader ? new FragmentILoader(config) : new DefaultILoader(config);
          const loaderContext = createLoaderContext(frag, part);
          frag.loader = loader;
          // Should we define another load policy for parts?
          const loadPolicy = getLoaderConfigWithoutReties(config.fragLoadPolicy.default);
          const loaderConfig = {
            loadPolicy,
            timeout: loadPolicy.maxLoadTimeMs,
            maxRetry: 0,
            retryDelay: 0,
            maxRetryDelay: 0,
            highWaterMark: MIN_CHUNK_SIZE
          };
          // Assign part stats to the loader's stats reference
          part.stats = loader.stats;
          loader.load(loaderContext, loaderConfig, {
            onSuccess: (response, stats, context, networkDetails) => {
              this.resetLoader(frag, loader);
              this.updateStatsFromPart(frag, part);
              const partLoadedData = {
                frag,
                part,
                payload: response.data,
                networkDetails
              };
              onProgress(partLoadedData);
              resolve(partLoadedData);
            },
            onError: (response, context, networkDetails, stats) => {
              this.resetLoader(frag, loader);
              reject(new LoadError({
                type: ErrorTypes.NETWORK_ERROR,
                details: ErrorDetails.FRAG_LOAD_ERROR,
                fatal: false,
                frag,
                part,
                response: _objectSpread2({
                  url: loaderContext.url,
                  data: undefined
                }, response),
                error: new Error(`HTTP Error ${response.code} ${response.text}`),
                networkDetails,
                stats
              }));
            },
            onAbort: (stats, context, networkDetails) => {
              frag.stats.aborted = part.stats.aborted;
              this.resetLoader(frag, loader);
              reject(new LoadError({
                type: ErrorTypes.NETWORK_ERROR,
                details: ErrorDetails.INTERNAL_ABORTED,
                fatal: false,
                frag,
                part,
                error: new Error('Aborted'),
                networkDetails,
                stats
              }));
            },
            onTimeout: (stats, context, networkDetails) => {
              this.resetLoader(frag, loader);
              reject(new LoadError({
                type: ErrorTypes.NETWORK_ERROR,
                details: ErrorDetails.FRAG_LOAD_TIMEOUT,
                fatal: false,
                frag,
                part,
                error: new Error(`Timeout after ${loaderConfig.timeout}ms`),
                networkDetails,
                stats
              }));
            }
          });
        });
      }
      updateStatsFromPart(frag, part) {
        const fragStats = frag.stats;
        const partStats = part.stats;
        const partTotal = partStats.total;
        fragStats.loaded += partStats.loaded;
        if (partTotal) {
          const estTotalParts = Math.round(frag.duration / part.duration);
          const estLoadedParts = Math.min(Math.round(fragStats.loaded / partTotal), estTotalParts);
          const estRemainingParts = estTotalParts - estLoadedParts;
          const estRemainingBytes = estRemainingParts * Math.round(fragStats.loaded / estLoadedParts);
          fragStats.total = fragStats.loaded + estRemainingBytes;
        } else {
          fragStats.total = Math.max(fragStats.loaded, fragStats.total);
        }
        const fragLoading = fragStats.loading;
        const partLoading = partStats.loading;
        if (fragLoading.start) {
          // add to fragment loader latency
          fragLoading.first += partLoading.first - partLoading.start;
        } else {
          fragLoading.start = partLoading.start;
          fragLoading.first = partLoading.first;
        }
        fragLoading.end = partLoading.end;
      }
      resetLoader(frag, loader) {
        frag.loader = null;
        if (this.loader === loader) {
          self.clearTimeout(this.partLoadTimeout);
          this.loader = null;
        }
        loader.destroy();
      }
    }
    function createLoaderContext(frag, part = null) {
      const segment = part || frag;
      const loaderContext = {
        frag,
        part,
        responseType: 'arraybuffer',
        url: segment.url,
        headers: {},
        rangeStart: 0,
        rangeEnd: 0
      };
      const start = segment.byteRangeStartOffset;
      const end = segment.byteRangeEndOffset;
      if (isFiniteNumber(start) && isFiniteNumber(end)) {
        var _frag$decryptdata;
        let byteRangeStart = start;
        let byteRangeEnd = end;
        if (frag.sn === 'initSegment' && isMethodFullSegmentAesCbc((_frag$decryptdata = frag.decryptdata) == null ? void 0 : _frag$decryptdata.method)) {
          // MAP segment encrypted with method 'AES-128' or 'AES-256' (cbc), when served with HTTP Range,
          // has the unencrypted size specified in the range.
          // Ref: https://tools.ietf.org/html/draft-pantos-hls-rfc8216bis-08#section-6.3.6
          const fragmentLen = end - start;
          if (fragmentLen % 16) {
            byteRangeEnd = end + (16 - fragmentLen % 16);
          }
          if (start !== 0) {
            loaderContext.resetIV = true;
            byteRangeStart = start - 16;
          }
        }
        loaderContext.rangeStart = byteRangeStart;
        loaderContext.rangeEnd = byteRangeEnd;
      }
      return loaderContext;
    }
    function createGapLoadError(frag, part) {
      const error = new Error(`GAP ${frag.gap ? 'tag' : 'attribute'} found`);
      const errorData = {
        type: ErrorTypes.MEDIA_ERROR,
        details: ErrorDetails.FRAG_GAP,
        fatal: false,
        frag,
        error,
        networkDetails: null
      };
      if (part) {
        errorData.part = part;
      }
      (part ? part : frag).stats.aborted = true;
      return new LoadError(errorData);
    }
    function isMethodFullSegmentAesCbc(method) {
      return method === 'AES-128' || method === 'AES-256';
    }
    class LoadError extends Error {
      constructor(data) {
        super(data.error.message);
        this.data = void 0;
        this.data = data;
      }
    }
    
    /**
     * @ignore
     * Sub-class specialization of EventHandler base class.
     *
     * TaskLoop allows to schedule a task function being called (optionnaly repeatedly) on the main loop,
     * scheduled asynchroneously, avoiding recursive calls in the same tick.
     *
     * The task itself is implemented in `doTick`. It can be requested and called for single execution
     * using the `tick` method.
     *
     * It will be assured that the task execution method (`tick`) only gets called once per main loop "tick",
     * no matter how often it gets requested for execution. Execution in further ticks will be scheduled accordingly.
     *
     * If further execution requests have already been scheduled on the next tick, it can be checked with `hasNextTick`,
     * and cancelled with `clearNextTick`.
     *
     * The task can be scheduled as an interval repeatedly with a period as parameter (see `setInterval`, `clearInterval`).
     *
     * Sub-classes need to implement the `doTick` method which will effectively have the task execution routine.
     *
     * Further explanations:
     *
     * The baseclass has a `tick` method that will schedule the doTick call. It may be called synchroneously
     * only for a stack-depth of one. On re-entrant calls, sub-sequent calls are scheduled for next main loop ticks.
     *
     * When the task execution (`tick` method) is called in re-entrant way this is detected and
     * we are limiting the task execution per call stack to exactly one, but scheduling/post-poning further
     * task processing on the next main loop iteration (also known as "next tick" in the Node/JS runtime lingo).
     */
    class TaskLoop extends Logger {
      constructor(label, logger) {
        super(label, logger);
        this._boundTick = void 0;
        this._tickTimer = null;
        this._tickInterval = null;
        this._tickCallCount = 0;
        this._boundTick = this.tick.bind(this);
      }
      destroy() {
        this.onHandlerDestroying();
        this.onHandlerDestroyed();
      }
      onHandlerDestroying() {
        // clear all timers before unregistering from event bus
        this.clearNextTick();
        this.clearInterval();
      }
      onHandlerDestroyed() {}
      hasInterval() {
        return !!this._tickInterval;
      }
      hasNextTick() {
        return !!this._tickTimer;
      }
    
      /**
       * @param millis - Interval time (ms)
       * @eturns True when interval has been scheduled, false when already scheduled (no effect)
       */
      setInterval(millis) {
        if (!this._tickInterval) {
          this._tickCallCount = 0;
          this._tickInterval = self.setInterval(this._boundTick, millis);
          return true;
        }
        return false;
      }
    
      /**
       * @returns True when interval was cleared, false when none was set (no effect)
       */
      clearInterval() {
        if (this._tickInterval) {
          self.clearInterval(this._tickInterval);
          this._tickInterval = null;
          return true;
        }
        return false;
      }
    
      /**
       * @returns True when timeout was cleared, false when none was set (no effect)
       */
      clearNextTick() {
        if (this._tickTimer) {
          self.clearTimeout(this._tickTimer);
          this._tickTimer = null;
          return true;
        }
        return false;
      }
    
      /**
       * Will call the subclass doTick implementation in this main loop tick
       * or in the next one (via setTimeout(,0)) in case it has already been called
       * in this tick (in case this is a re-entrant call).
       */
      tick() {
        this._tickCallCount++;
        if (this._tickCallCount === 1) {
          this.doTick();
          // re-entrant call to tick from previous doTick call stack
          // -> schedule a call on the next main loop iteration to process this task processing request
          if (this._tickCallCount > 1) {
            // make sure only one timer exists at any time at max
            this.tickImmediate();
          }
          this._tickCallCount = 0;
        }
      }
      tickImmediate() {
        this.clearNextTick();
        this._tickTimer = self.setTimeout(this._boundTick, 0);
      }
    
      /**
       * For subclass to implement task logic
       * @abstract
       */
      doTick() {}
    }
    
    class ChunkMetadata {
      constructor(level, sn, id, size = 0, part = -1, partial = false) {
        this.level = void 0;
        this.sn = void 0;
        this.part = void 0;
        this.id = void 0;
        this.size = void 0;
        this.partial = void 0;
        this.transmuxing = getNewPerformanceTiming();
        this.buffering = {
          audio: getNewPerformanceTiming(),
          video: getNewPerformanceTiming(),
          audiovideo: getNewPerformanceTiming()
        };
        this.level = level;
        this.sn = sn;
        this.id = id;
        this.size = size;
        this.part = part;
        this.partial = partial;
      }
    }
    function getNewPerformanceTiming() {
      return {
        start: 0,
        executeStart: 0,
        executeEnd: 0,
        end: 0
      };
    }
    
    /**
     * Provides methods dealing with buffer length retrieval for example.
     *
     * In general, a helper around HTML5 MediaElement TimeRanges gathered from `buffered` property.
     *
     * Also @see https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/buffered
     */
    
    const noopBuffered = {
      length: 0,
      start: () => 0,
      end: () => 0
    };
    class BufferHelper {
      /**
       * Return true if `media`'s buffered include `position`
       */
      static isBuffered(media, position) {
        if (media) {
          const buffered = BufferHelper.getBuffered(media);
          for (let i = buffered.length; i--;) {
            if (position >= buffered.start(i) && position <= buffered.end(i)) {
              return true;
            }
          }
        }
        return false;
      }
      static bufferedRanges(media) {
        if (media) {
          const timeRanges = BufferHelper.getBuffered(media);
          return BufferHelper.timeRangesToArray(timeRanges);
        }
        return [];
      }
      static timeRangesToArray(timeRanges) {
        const buffered = [];
        for (let i = 0; i < timeRanges.length; i++) {
          buffered.push({
            start: timeRanges.start(i),
            end: timeRanges.end(i)
          });
        }
        return buffered;
      }
      static bufferInfo(media, pos, maxHoleDuration) {
        if (media) {
          const buffered = BufferHelper.bufferedRanges(media);
          if (buffered.length) {
            return BufferHelper.bufferedInfo(buffered, pos, maxHoleDuration);
          }
        }
        return {
          len: 0,
          start: pos,
          end: pos,
          bufferedIndex: -1
        };
      }
      static bufferedInfo(buffered, pos, maxHoleDuration) {
        pos = Math.max(0, pos);
        // sort on buffer.start/smaller end (IE does not always return sorted buffered range)
        if (buffered.length > 1) {
          buffered.sort((a, b) => a.start - b.start || b.end - a.end);
        }
        let bufferedIndex = -1;
        let buffered2 = [];
        if (maxHoleDuration) {
          // there might be some small holes between buffer time range
          // consider that holes smaller than maxHoleDuration are irrelevant and build another
          // buffer time range representations that discards those holes
          for (let i = 0; i < buffered.length; i++) {
            if (pos >= buffered[i].start && pos <= buffered[i].end) {
              bufferedIndex = i;
            }
            const buf2len = buffered2.length;
            if (buf2len) {
              const buf2end = buffered2[buf2len - 1].end;
              // if small hole (value between 0 or maxHoleDuration ) or overlapping (negative)
              if (buffered[i].start - buf2end < maxHoleDuration) {
                // merge overlapping time ranges
                // update lastRange.end only if smaller than item.end
                // e.g.  [ 1, 15] with  [ 2,8] => [ 1,15] (no need to modify lastRange.end)
                // whereas [ 1, 8] with  [ 2,15] => [ 1,15] ( lastRange should switch from [1,8] to [1,15])
                if (buffered[i].end > buf2end) {
                  buffered2[buf2len - 1].end = buffered[i].end;
                }
              } else {
                // big hole
                buffered2.push(buffered[i]);
              }
            } else {
              // first value
              buffered2.push(buffered[i]);
            }
          }
        } else {
          buffered2 = buffered;
        }
        let bufferLen = 0;
        let nextStart;
    
        // bufferStart and bufferEnd are buffer boundaries around current playback position (pos)
        let bufferStart = pos;
        let bufferEnd = pos;
        for (let i = 0; i < buffered2.length; i++) {
          const start = buffered2[i].start;
          const end = buffered2[i].end;
          // logger.log('buf start/end:' + buffered.start(i) + '/' + buffered.end(i));
          if (bufferedIndex === -1 && pos >= start && pos <= end) {
            bufferedIndex = i;
          }
          if (pos + maxHoleDuration >= start && pos < end) {
            // play position is inside this buffer TimeRange, retrieve end of buffer position and buffer length
            bufferStart = start;
            bufferEnd = end;
            bufferLen = bufferEnd - pos;
          } else if (pos + maxHoleDuration < start) {
            nextStart = start;
            break;
          }
        }
        return {
          len: bufferLen,
          start: bufferStart || 0,
          end: bufferEnd || 0,
          nextStart,
          buffered,
          bufferedIndex
        };
      }
    
      /**
       * Safe method to get buffered property.
       * SourceBuffer.buffered may throw if SourceBuffer is removed from it's MediaSource
       */
      static getBuffered(media) {
        try {
          return media.buffered || noopBuffered;
        } catch (e) {
          logger.log('failed to get media.buffered', e);
          return noopBuffered;
        }
      }
    }
    
    const VARIABLE_REPLACEMENT_REGEX = /\{\$([a-zA-Z0-9-_]+)\}/g;
    function hasVariableReferences(str) {
      return VARIABLE_REPLACEMENT_REGEX.test(str);
    }
    function substituteVariables(parsed, value) {
      if (parsed.variableList !== null || parsed.hasVariableRefs) {
        const variableList = parsed.variableList;
        return value.replace(VARIABLE_REPLACEMENT_REGEX, variableReference => {
          const variableName = variableReference.substring(2, variableReference.length - 1);
          const variableValue = variableList == null ? void 0 : variableList[variableName];
          if (variableValue === undefined) {
            parsed.playlistParsingError || (parsed.playlistParsingError = new Error(`Missing preceding EXT-X-DEFINE tag for Variable Reference: "${variableName}"`));
            return variableReference;
          }
          return variableValue;
        });
      }
      return value;
    }
    function addVariableDefinition(parsed, attr, parentUrl) {
      let variableList = parsed.variableList;
      if (!variableList) {
        parsed.variableList = variableList = {};
      }
      let NAME;
      let VALUE;
      if ('QUERYPARAM' in attr) {
        NAME = attr.QUERYPARAM;
        try {
          const searchParams = new self.URL(parentUrl).searchParams;
          if (searchParams.has(NAME)) {
            VALUE = searchParams.get(NAME);
          } else {
            throw new Error(`"${NAME}" does not match any query parameter in URI: "${parentUrl}"`);
          }
        } catch (error) {
          parsed.playlistParsingError || (parsed.playlistParsingError = new Error(`EXT-X-DEFINE QUERYPARAM: ${error.message}`));
        }
      } else {
        NAME = attr.NAME;
        VALUE = attr.VALUE;
      }
      if (NAME in variableList) {
        parsed.playlistParsingError || (parsed.playlistParsingError = new Error(`EXT-X-DEFINE duplicate Variable Name declarations: "${NAME}"`));
      } else {
        variableList[NAME] = VALUE || '';
      }
    }
    function importVariableDefinition(parsed, attr, sourceVariableList) {
      const IMPORT = attr.IMPORT;
      if (sourceVariableList && IMPORT in sourceVariableList) {
        let variableList = parsed.variableList;
        if (!variableList) {
          parsed.variableList = variableList = {};
        }
        variableList[IMPORT] = sourceVariableList[IMPORT];
      } else {
        parsed.playlistParsingError || (parsed.playlistParsingError = new Error(`EXT-X-DEFINE IMPORT attribute not found in Multivariant Playlist: "${IMPORT}"`));
      }
    }
    
    const DECIMAL_RESOLUTION_REGEX = /^(\d+)x(\d+)$/;
    const ATTR_LIST_REGEX = /(.+?)=(".*?"|.*?)(?:,|$)/g;
    
    // adapted from https://github.com/kanongil/node-m3u8parse/blob/master/attrlist.js
    class AttrList {
      constructor(attrs, parsed) {
        if (typeof attrs === 'string') {
          attrs = AttrList.parseAttrList(attrs, parsed);
        }
        _extends(this, attrs);
      }
      get clientAttrs() {
        return Object.keys(this).filter(attr => attr.substring(0, 2) === 'X-');
      }
      decimalInteger(attrName) {
        const intValue = parseInt(this[attrName], 10);
        if (intValue > Number.MAX_SAFE_INTEGER) {
          return Infinity;
        }
        return intValue;
      }
      hexadecimalInteger(attrName) {
        if (this[attrName]) {
          let stringValue = (this[attrName] || '0x').slice(2);
          stringValue = (stringValue.length & 1 ? '0' : '') + stringValue;
          const value = new Uint8Array(stringValue.length / 2);
          for (let i = 0; i < stringValue.length / 2; i++) {
            value[i] = parseInt(stringValue.slice(i * 2, i * 2 + 2), 16);
          }
          return value;
        }
        return null;
      }
      hexadecimalIntegerAsNumber(attrName) {
        const intValue = parseInt(this[attrName], 16);
        if (intValue > Number.MAX_SAFE_INTEGER) {
          return Infinity;
        }
        return intValue;
      }
      decimalFloatingPoint(attrName) {
        return parseFloat(this[attrName]);
      }
      optionalFloat(attrName, defaultValue) {
        const value = this[attrName];
        return value ? parseFloat(value) : defaultValue;
      }
      enumeratedString(attrName) {
        return this[attrName];
      }
      enumeratedStringList(attrName, dict) {
        const attrValue = this[attrName];
        return (attrValue ? attrValue.split(/[ ,]+/) : []).reduce((result, identifier) => {
          result[identifier.toLowerCase()] = true;
          return result;
        }, dict);
      }
      bool(attrName) {
        return this[attrName] === 'YES';
      }
      decimalResolution(attrName) {
        const res = DECIMAL_RESOLUTION_REGEX.exec(this[attrName]);
        if (res === null) {
          return undefined;
        }
        return {
          width: parseInt(res[1], 10),
          height: parseInt(res[2], 10)
        };
      }
      static parseAttrList(input, parsed) {
        let match;
        const attrs = {};
        const quote = '"';
        ATTR_LIST_REGEX.lastIndex = 0;
        while ((match = ATTR_LIST_REGEX.exec(input)) !== null) {
          const name = match[1].trim();
          let value = match[2];
          const quotedString = value.indexOf(quote) === 0 && value.lastIndexOf(quote) === value.length - 1;
          let hexadecimalSequence = false;
          if (quotedString) {
            value = value.slice(1, -1);
          } else {
            switch (name) {
              case 'IV':
              case 'SCTE35-CMD':
              case 'SCTE35-IN':
              case 'SCTE35-OUT':
                hexadecimalSequence = true;
            }
          }
          if (parsed && (quotedString || hexadecimalSequence)) {
            {
              value = substituteVariables(parsed, value);
            }
          } else if (!hexadecimalSequence && !quotedString) {
            switch (name) {
              case 'CLOSED-CAPTIONS':
                if (value === 'NONE') {
                  break;
                }
              // falls through
              case 'ALLOWED-CPC':
              case 'CLASS':
              case 'ASSOC-LANGUAGE':
              case 'AUDIO':
              case 'BYTERANGE':
              case 'CHANNELS':
              case 'CHARACTERISTICS':
              case 'CODECS':
              case 'DATA-ID':
              case 'END-DATE':
              case 'GROUP-ID':
              case 'ID':
              case 'IMPORT':
              case 'INSTREAM-ID':
              case 'KEYFORMAT':
              case 'KEYFORMATVERSIONS':
              case 'LANGUAGE':
              case 'NAME':
              case 'PATHWAY-ID':
              case 'QUERYPARAM':
              case 'RECENTLY-REMOVED-DATERANGES':
              case 'SERVER-URI':
              case 'STABLE-RENDITION-ID':
              case 'STABLE-VARIANT-ID':
              case 'START-DATE':
              case 'SUBTITLES':
              case 'SUPPLEMENTAL-CODECS':
              case 'URI':
              case 'VALUE':
              case 'VIDEO':
              case 'X-ASSET-LIST':
              case 'X-ASSET-URI':
                // Since we are not checking tag:attribute combination, just warn rather than ignoring attribute
                logger.warn(`${input}: attribute ${name} is missing quotes`);
              // continue;
            }
          }
          attrs[name] = value;
        }
        return attrs;
      }
    }
    
    // Avoid exporting const enum so that these values can be inlined
    
    const CLASS_INTERSTITIAL = 'com.apple.hls.interstitial';
    function isDateRangeCueAttribute(attrName) {
      return attrName !== "ID" && attrName !== "CLASS" && attrName !== "CUE" && attrName !== "START-DATE" && attrName !== "DURATION" && attrName !== "END-DATE" && attrName !== "END-ON-NEXT";
    }
    function isSCTE35Attribute(attrName) {
      return attrName === "SCTE35-OUT" || attrName === "SCTE35-IN" || attrName === "SCTE35-CMD";
    }
    class DateRange {
      constructor(dateRangeAttr, dateRangeWithSameId, tagCount = 0) {
        var _dateRangeWithSameId$;
        this.attr = void 0;
        this.tagAnchor = void 0;
        this.tagOrder = void 0;
        this._startDate = void 0;
        this._endDate = void 0;
        this._dateAtEnd = void 0;
        this._cue = void 0;
        this._badValueForSameId = void 0;
        this.tagAnchor = (dateRangeWithSameId == null ? void 0 : dateRangeWithSameId.tagAnchor) || null;
        this.tagOrder = (_dateRangeWithSameId$ = dateRangeWithSameId == null ? void 0 : dateRangeWithSameId.tagOrder) != null ? _dateRangeWithSameId$ : tagCount;
        if (dateRangeWithSameId) {
          const previousAttr = dateRangeWithSameId.attr;
          for (const key in previousAttr) {
            if (Object.prototype.hasOwnProperty.call(dateRangeAttr, key) && dateRangeAttr[key] !== previousAttr[key]) {
              logger.warn(`DATERANGE tag attribute: "${key}" does not match for tags with ID: "${dateRangeAttr.ID}"`);
              this._badValueForSameId = key;
              break;
            }
          }
          // Merge DateRange tags with the same ID
          dateRangeAttr = _extends(new AttrList({}), previousAttr, dateRangeAttr);
        }
        this.attr = dateRangeAttr;
        if (dateRangeWithSameId) {
          this._startDate = dateRangeWithSameId._startDate;
          this._cue = dateRangeWithSameId._cue;
          this._endDate = dateRangeWithSameId._endDate;
          this._dateAtEnd = dateRangeWithSameId._dateAtEnd;
        } else {
          this._startDate = new Date(dateRangeAttr["START-DATE"]);
        }
        if ("END-DATE" in this.attr) {
          const endDate = (dateRangeWithSameId == null ? void 0 : dateRangeWithSameId.endDate) || new Date(this.attr["END-DATE"]);
          if (isFiniteNumber(endDate.getTime())) {
            this._endDate = endDate;
          }
        }
      }
      get id() {
        return this.attr.ID;
      }
      get class() {
        return this.attr.CLASS;
      }
      get cue() {
        const _cue = this._cue;
        if (_cue === undefined) {
          return this._cue = this.attr.enumeratedStringList(this.attr.CUE ? 'CUE' : 'X-CUE', {
            pre: false,
            post: false,
            once: false
          });
        }
        return _cue;
      }
      get startTime() {
        const {
          tagAnchor
        } = this;
        // eslint-disable-next-line @typescript-eslint/prefer-optional-chain
        if (tagAnchor === null || tagAnchor.programDateTime === null) {
          logger.warn(`Expected tagAnchor Fragment with PDT set for DateRange "${this.id}": ${tagAnchor}`);
          return NaN;
        }
        return tagAnchor.start + (this.startDate.getTime() - tagAnchor.programDateTime) / 1000;
      }
      get startDate() {
        return this._startDate;
      }
      get endDate() {
        const dateAtEnd = this._endDate || this._dateAtEnd;
        if (dateAtEnd) {
          return dateAtEnd;
        }
        const duration = this.duration;
        if (duration !== null) {
          return this._dateAtEnd = new Date(this._startDate.getTime() + duration * 1000);
        }
        return null;
      }
      get duration() {
        if ("DURATION" in this.attr) {
          const duration = this.attr.decimalFloatingPoint("DURATION");
          if (isFiniteNumber(duration)) {
            return duration;
          }
        } else if (this._endDate) {
          return (this._endDate.getTime() - this._startDate.getTime()) / 1000;
        }
        return null;
      }
      get plannedDuration() {
        if ("PLANNED-DURATION" in this.attr) {
          return this.attr.decimalFloatingPoint("PLANNED-DURATION");
        }
        return null;
      }
      get endOnNext() {
        return this.attr.bool("END-ON-NEXT");
      }
      get isInterstitial() {
        return this.class === CLASS_INTERSTITIAL;
      }
      get isValid() {
        return !!this.id && !this._badValueForSameId && isFiniteNumber(this.startDate.getTime()) && (this.duration === null || this.duration >= 0) && (!this.endOnNext || !!this.class) && (!this.attr.CUE || !this.cue.pre && !this.cue.post || this.cue.pre !== this.cue.post) && (!this.isInterstitial || 'X-ASSET-URI' in this.attr || 'X-ASSET-LIST' in this.attr);
      }
    }
    
    const DEFAULT_TARGET_DURATION = 10;
    
    /**
     * Object representing parsed data from an HLS Media Playlist. Found in {@link hls.js#Level.details}.
     */
    class LevelDetails {
      constructor(baseUrl) {
        this.PTSKnown = false;
        this.alignedSliding = false;
        this.averagetargetduration = void 0;
        this.endCC = 0;
        this.endSN = 0;
        this.fragments = void 0;
        this.fragmentHint = void 0;
        this.partList = null;
        this.dateRanges = void 0;
        this.dateRangeTagCount = 0;
        this.live = true;
        this.requestScheduled = -1;
        this.ageHeader = 0;
        this.advancedDateTime = void 0;
        this.updated = true;
        this.advanced = true;
        this.misses = 0;
        this.startCC = 0;
        this.startSN = 0;
        this.startTimeOffset = null;
        this.targetduration = 0;
        this.totalduration = 0;
        this.type = null;
        this.url = void 0;
        this.m3u8 = '';
        this.version = null;
        this.canBlockReload = false;
        this.canSkipUntil = 0;
        this.canSkipDateRanges = false;
        this.skippedSegments = 0;
        this.recentlyRemovedDateranges = void 0;
        this.partHoldBack = 0;
        this.holdBack = 0;
        this.partTarget = 0;
        this.preloadHint = void 0;
        this.renditionReports = void 0;
        this.tuneInGoal = 0;
        this.deltaUpdateFailed = void 0;
        this.driftStartTime = 0;
        this.driftEndTime = 0;
        this.driftStart = 0;
        this.driftEnd = 0;
        this.encryptedFragments = void 0;
        this.playlistParsingError = null;
        this.variableList = null;
        this.hasVariableRefs = false;
        this.appliedTimelineOffset = void 0;
        this.fragments = [];
        this.encryptedFragments = [];
        this.dateRanges = {};
        this.url = baseUrl;
      }
      reloaded(previous) {
        if (!previous) {
          this.advanced = true;
          this.updated = true;
          return;
        }
        const partSnDiff = this.lastPartSn - previous.lastPartSn;
        const partIndexDiff = this.lastPartIndex - previous.lastPartIndex;
        this.updated = this.endSN !== previous.endSN || !!partIndexDiff || !!partSnDiff || !this.live;
        this.advanced = this.endSN > previous.endSN || partSnDiff > 0 || partSnDiff === 0 && partIndexDiff > 0;
        if (this.updated || this.advanced) {
          this.misses = Math.floor(previous.misses * 0.6);
        } else {
          this.misses = previous.misses + 1;
        }
      }
      hasKey(levelKey) {
        return this.encryptedFragments.some(frag => {
          let decryptdata = frag.decryptdata;
          if (!decryptdata) {
            frag.setKeyFormat(levelKey.keyFormat);
            decryptdata = frag.decryptdata;
          }
          return !!decryptdata && levelKey.matches(decryptdata);
        });
      }
      get hasProgramDateTime() {
        if (this.fragments.length) {
          return isFiniteNumber(this.fragments[this.fragments.length - 1].programDateTime);
        }
        return false;
      }
      get levelTargetDuration() {
        return this.averagetargetduration || this.targetduration || DEFAULT_TARGET_DURATION;
      }
      get drift() {
        const runTime = this.driftEndTime - this.driftStartTime;
        if (runTime > 0) {
          const runDuration = this.driftEnd - this.driftStart;
          return runDuration * 1000 / runTime;
        }
        return 1;
      }
      get edge() {
        return this.partEnd || this.fragmentEnd;
      }
      get partEnd() {
        var _this$partList;
        if ((_this$partList = this.partList) != null && _this$partList.length) {
          return this.partList[this.partList.length - 1].end;
        }
        return this.fragmentEnd;
      }
      get fragmentEnd() {
        if (this.fragments.length) {
          return this.fragments[this.fragments.length - 1].end;
        }
        return 0;
      }
      get fragmentStart() {
        if (this.fragments.length) {
          return this.fragments[0].start;
        }
        return 0;
      }
      get age() {
        if (this.advancedDateTime) {
          return Math.max(Date.now() - this.advancedDateTime, 0) / 1000;
        }
        return 0;
      }
      get lastPartIndex() {
        var _this$partList2;
        if ((_this$partList2 = this.partList) != null && _this$partList2.length) {
          return this.partList[this.partList.length - 1].index;
        }
        return -1;
      }
      get maxPartIndex() {
        const partList = this.partList;
        if (partList) {
          const lastIndex = this.lastPartIndex;
          if (lastIndex !== -1) {
            for (let i = partList.length; i--;) {
              if (partList[i].index > lastIndex) {
                return partList[i].index;
              }
            }
            return lastIndex;
          }
        }
        return 0;
      }
      get lastPartSn() {
        var _this$partList3;
        if ((_this$partList3 = this.partList) != null && _this$partList3.length) {
          return this.partList[this.partList.length - 1].fragment.sn;
        }
        return this.endSN;
      }
      get expired() {
        if (this.live && this.age && this.misses < 3) {
          const playlistWindowDuration = this.partEnd - this.fragmentStart;
          return this.age > Math.max(playlistWindowDuration, this.totalduration) + this.levelTargetDuration;
        }
        return false;
      }
    }
    
    function arrayValuesMatch(a, b) {
      if (a.length === b.length) {
        return !a.some((value, i) => value !== b[i]);
      }
      return false;
    }
    function optionalArrayValuesMatch(a, b) {
      if (!a && !b) {
        return true;
      }
      if (!a || !b) {
        return false;
      }
      return arrayValuesMatch(a, b);
    }
    
    function isFullSegmentEncryption(method) {
      return method === 'AES-128' || method === 'AES-256' || method === 'AES-256-CTR';
    }
    function getAesModeFromFullSegmentMethod(method) {
      switch (method) {
        case 'AES-128':
        case 'AES-256':
          return DecrypterAesMode.cbc;
        case 'AES-256-CTR':
          return DecrypterAesMode.ctr;
        default:
          throw new Error(`invalid full segment method ${method}`);
      }
    }
    
    function base64Decode(base64encodedStr) {
      return Uint8Array.from(atob(base64encodedStr), c => c.charCodeAt(0));
    }
    
    // breaking up those two types in order to clarify what is happening in the decoding path.
    
    // http://stackoverflow.com/questions/8936984/uint8array-to-string-in-javascript/22373197
    // http://www.onicos.com/staff/iz/amuse/javascript/expert/utf.txt
    /* utf.js - UTF-8 <=> UTF-16 convertion
     *
     * Copyright (C) 1999 Masanao Izumo <iz@onicos.co.jp>
     * Version: 1.0
     * LastModified: Dec 25 1999
     * This library is free.  You can redistribute it and/or modify it.
     */
    
    function strToUtf8array(str) {
      return Uint8Array.from(unescape(encodeURIComponent(str)), c => c.charCodeAt(0));
    }
    
    function getKeyIdBytes(str) {
      const keyIdbytes = strToUtf8array(str).subarray(0, 16);
      const paddedkeyIdbytes = new Uint8Array(16);
      paddedkeyIdbytes.set(keyIdbytes, 16 - keyIdbytes.length);
      return paddedkeyIdbytes;
    }
    function changeEndianness(keyId) {
      const swap = function swap(array, from, to) {
        const cur = array[from];
        array[from] = array[to];
        array[to] = cur;
      };
      swap(keyId, 0, 3);
      swap(keyId, 1, 2);
      swap(keyId, 4, 5);
      swap(keyId, 6, 7);
    }
    function convertDataUriToArrayBytes(uri) {
      // data:[<media type][;attribute=value][;base64],<data>
      const colonsplit = uri.split(':');
      let keydata = null;
      if (colonsplit[0] === 'data' && colonsplit.length === 2) {
        const semicolonsplit = colonsplit[1].split(';');
        const commasplit = semicolonsplit[semicolonsplit.length - 1].split(',');
        if (commasplit.length === 2) {
          const isbase64 = commasplit[0] === 'base64';
          const data = commasplit[1];
          if (isbase64) {
            semicolonsplit.splice(-1, 1); // remove from processing
            keydata = base64Decode(data);
          } else {
            keydata = getKeyIdBytes(data);
          }
        }
      }
      return keydata;
    }
    
    /** returns `undefined` is `self` is missing, e.g. in node */
    const optionalSelf = typeof self !== 'undefined' ? self : undefined;
    
    /**
     * @see https://developer.mozilla.org/en-US/docs/Web/API/Navigator/requestMediaKeySystemAccess
     */
    var KeySystems = {
      CLEARKEY: "org.w3.clearkey",
      FAIRPLAY: "com.apple.fps",
      PLAYREADY: "com.microsoft.playready",
      WIDEVINE: "com.widevine.alpha"
    };
    
    // Playlist #EXT-X-KEY KEYFORMAT values
    var KeySystemFormats = {
      CLEARKEY: "org.w3.clearkey",
      FAIRPLAY: "com.apple.streamingkeydelivery",
      PLAYREADY: "com.microsoft.playready",
      WIDEVINE: "urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed"
    };
    function keySystemFormatToKeySystemDomain(format) {
      switch (format) {
        case KeySystemFormats.FAIRPLAY:
          return KeySystems.FAIRPLAY;
        case KeySystemFormats.PLAYREADY:
          return KeySystems.PLAYREADY;
        case KeySystemFormats.WIDEVINE:
          return KeySystems.WIDEVINE;
        case KeySystemFormats.CLEARKEY:
          return KeySystems.CLEARKEY;
      }
    }
    function keySystemDomainToKeySystemFormat(keySystem) {
      switch (keySystem) {
        case KeySystems.FAIRPLAY:
          return KeySystemFormats.FAIRPLAY;
        case KeySystems.PLAYREADY:
          return KeySystemFormats.PLAYREADY;
        case KeySystems.WIDEVINE:
          return KeySystemFormats.WIDEVINE;
        case KeySystems.CLEARKEY:
          return KeySystemFormats.CLEARKEY;
      }
    }
    function getKeySystemsForConfig(config) {
      const {
        drmSystems,
        widevineLicenseUrl
      } = config;
      const keySystemsToAttempt = drmSystems ? [KeySystems.FAIRPLAY, KeySystems.WIDEVINE, KeySystems.PLAYREADY, KeySystems.CLEARKEY].filter(keySystem => !!drmSystems[keySystem]) : [];
      if (!keySystemsToAttempt[KeySystems.WIDEVINE] && widevineLicenseUrl) {
        keySystemsToAttempt.push(KeySystems.WIDEVINE);
      }
      return keySystemsToAttempt;
    }
    const requestMediaKeySystemAccess = function (_optionalSelf$navigat) {
      if (optionalSelf != null && (_optionalSelf$navigat = optionalSelf.navigator) != null && _optionalSelf$navigat.requestMediaKeySystemAccess) {
        return self.navigator.requestMediaKeySystemAccess.bind(self.navigator);
      } else {
        return null;
      }
    }();
    
    /**
     * @see https://developer.mozilla.org/en-US/docs/Web/API/MediaKeySystemConfiguration
     */
    function getSupportedMediaKeySystemConfigurations(keySystem, audioCodecs, videoCodecs, drmSystemOptions) {
      let initDataTypes;
      switch (keySystem) {
        case KeySystems.FAIRPLAY:
          initDataTypes = ['cenc', 'sinf'];
          break;
        case KeySystems.WIDEVINE:
        case KeySystems.PLAYREADY:
          initDataTypes = ['cenc'];
          break;
        case KeySystems.CLEARKEY:
          initDataTypes = ['cenc', 'keyids'];
          break;
        default:
          throw new Error(`Unknown key-system: ${keySystem}`);
      }
      return createMediaKeySystemConfigurations(initDataTypes, audioCodecs, videoCodecs, drmSystemOptions);
    }
    function createMediaKeySystemConfigurations(initDataTypes, audioCodecs, videoCodecs, drmSystemOptions) {
      const baseConfig = {
        initDataTypes: initDataTypes,
        persistentState: drmSystemOptions.persistentState || 'optional',
        distinctiveIdentifier: drmSystemOptions.distinctiveIdentifier || 'optional',
        sessionTypes: drmSystemOptions.sessionTypes || [drmSystemOptions.sessionType || 'temporary'],
        audioCapabilities: audioCodecs.map(codec => ({
          contentType: `audio/mp4; codecs=${codec}`,
          robustness: drmSystemOptions.audioRobustness || '',
          encryptionScheme: drmSystemOptions.audioEncryptionScheme || null
        })),
        videoCapabilities: videoCodecs.map(codec => ({
          contentType: `video/mp4; codecs=${codec}`,
          robustness: drmSystemOptions.videoRobustness || '',
          encryptionScheme: drmSystemOptions.videoEncryptionScheme || null
        }))
      };
      return [baseConfig];
    }
    function isPersistentSessionType(drmSystemOptions) {
      var _drmSystemOptions$ses;
      return !!drmSystemOptions && (drmSystemOptions.sessionType === 'persistent-license' || !!((_drmSystemOptions$ses = drmSystemOptions.sessionTypes) != null && _drmSystemOptions$ses.some(type => type === 'persistent-license')));
    }
    function parsePlayReadyWRM(keyBytes) {
      const keyBytesUtf16 = new Uint16Array(keyBytes.buffer, keyBytes.byteOffset, keyBytes.byteLength / 2);
      const keyByteStr = String.fromCharCode.apply(null, Array.from(keyBytesUtf16));
    
      // Parse Playready WRMHeader XML
      const xmlKeyBytes = keyByteStr.substring(keyByteStr.indexOf('<'), keyByteStr.length);
      const parser = new DOMParser();
      const xmlDoc = parser.parseFromString(xmlKeyBytes, 'text/xml');
      const keyData = xmlDoc.getElementsByTagName('KID')[0];
      if (keyData) {
        const keyId = keyData.childNodes[0] ? keyData.childNodes[0].nodeValue : keyData.getAttribute('VALUE');
        if (keyId) {
          const keyIdArray = base64Decode(keyId).subarray(0, 16);
          // KID value in PRO is a base64-encoded little endian GUID interpretation of UUID
          // KID value in ‘tenc’ is a big endian UUID GUID interpretation of UUID
          changeEndianness(keyIdArray);
          return keyIdArray;
        }
      }
      return null;
    }
    
    let keyUriToKeyIdMap = {};
    class LevelKey {
      static clearKeyUriToKeyIdMap() {
        keyUriToKeyIdMap = {};
      }
      static setKeyIdForUri(uri, keyId) {
        keyUriToKeyIdMap[uri] = keyId;
      }
      static addKeyIdForUri(uri) {
        const val = Object.keys(keyUriToKeyIdMap).length % Number.MAX_SAFE_INTEGER;
        const keyId = new Uint8Array(16);
        const dv = new DataView(keyId.buffer, 12, 4); // Just set the last 4 bytes
        dv.setUint32(0, val);
        keyUriToKeyIdMap[uri] = keyId;
        return keyId;
      }
      constructor(method, uri, format, formatversions = [1], iv = null, keyId) {
        this.uri = void 0;
        this.method = void 0;
        this.keyFormat = void 0;
        this.keyFormatVersions = void 0;
        this.encrypted = void 0;
        this.isCommonEncryption = void 0;
        this.iv = null;
        this.key = null;
        this.keyId = null;
        this.pssh = null;
        this.method = method;
        this.uri = uri;
        this.keyFormat = format;
        this.keyFormatVersions = formatversions;
        this.iv = iv;
        this.encrypted = method ? method !== 'NONE' : false;
        this.isCommonEncryption = this.encrypted && !isFullSegmentEncryption(method);
        if (keyId != null && keyId.startsWith('0x')) {
          this.keyId = new Uint8Array(hexToArrayBuffer(keyId));
        }
      }
      matches(key) {
        return key.uri === this.uri && key.method === this.method && key.encrypted === this.encrypted && key.keyFormat === this.keyFormat && arrayValuesMatch(key.keyFormatVersions, this.keyFormatVersions) && optionalArrayValuesMatch(key.iv, this.iv) && optionalArrayValuesMatch(key.keyId, this.keyId);
      }
      isSupported() {
        // If it's Segment encryption or No encryption, just select that key system
        if (this.method) {
          if (isFullSegmentEncryption(this.method) || this.method === 'NONE') {
            return true;
          }
          if (this.keyFormat === 'identity') {
            // Maintain support for clear SAMPLE-AES with MPEG-3 TS
            return this.method === 'SAMPLE-AES';
          } else {
            switch (this.keyFormat) {
              case KeySystemFormats.FAIRPLAY:
              case KeySystemFormats.WIDEVINE:
              case KeySystemFormats.PLAYREADY:
              case KeySystemFormats.CLEARKEY:
                return ['SAMPLE-AES', 'SAMPLE-AES-CENC', 'SAMPLE-AES-CTR'].indexOf(this.method) !== -1;
            }
          }
        }
        return false;
      }
      getDecryptData(sn, levelKeys) {
        if (!this.encrypted || !this.uri) {
          return null;
        }
        if (isFullSegmentEncryption(this.method)) {
          let iv = this.iv;
          if (!iv) {
            if (typeof sn !== 'number') {
              // We are fetching decryption data for a initialization segment
              // If the segment was encrypted with AES-128/256
              // It must have an IV defined. We cannot substitute the Segment Number in.
              logger.warn(`missing IV for initialization segment with method="${this.method}" - compliance issue`);
    
              // Explicitly set sn to resulting value from implicit conversions 'initSegment' values for IV generation.
              sn = 0;
            }
            iv = createInitializationVector(sn);
          }
          const decryptdata = new LevelKey(this.method, this.uri, 'identity', this.keyFormatVersions, iv);
          return decryptdata;
        }
        if (this.keyId) {
          // Handle case where key id is changed in KEY_LOADING event handler #7542#issuecomment-3305203929
          const assignedKeyId = keyUriToKeyIdMap[this.uri];
          if (assignedKeyId && !arrayValuesMatch(this.keyId, assignedKeyId)) {
            LevelKey.setKeyIdForUri(this.uri, this.keyId);
          }
          if (this.pssh) {
            return this;
          }
        }
    
        // Key bytes are signalled the KEYID attribute, typically only found on WideVine KEY tags
        // Initialize keyId if possible
        const keyBytes = convertDataUriToArrayBytes(this.uri);
        if (keyBytes) {
          switch (this.keyFormat) {
            case KeySystemFormats.WIDEVINE:
              // Setting `pssh` on this LevelKey/DecryptData allows HLS.js to generate a session using
              // the playlist-key before the "encrypted" event. (Comment out to only use "encrypted" path.)
              this.pssh = keyBytes;
              // In case of Widevine, if KEYID is not in the playlist, assume only two fields in the pssh KEY tag URI.
              if (!this.keyId) {
                const results = parseMultiPssh(keyBytes.buffer);
                if (results.length) {
                  var _psshData$kids;
                  const psshData = results[0];
                  this.keyId = (_psshData$kids = psshData.kids) != null && _psshData$kids.length ? psshData.kids[0] : null;
                }
              }
              if (!this.keyId) {
                this.keyId = getKeyIdFromPlayReadyKey(levelKeys);
              }
              break;
            case KeySystemFormats.PLAYREADY:
              {
                const PlayReadyKeySystemUUID = new Uint8Array([0x9a, 0x04, 0xf0, 0x79, 0x98, 0x40, 0x42, 0x86, 0xab, 0x92, 0xe6, 0x5b, 0xe0, 0x88, 0x5f, 0x95]);
    
                // Setting `pssh` on this LevelKey/DecryptData allows HLS.js to generate a session using
                // the playlist-key before the "encrypted" event. (Comment out to only use "encrypted" path.)
                this.pssh = mp4pssh(PlayReadyKeySystemUUID, null, keyBytes);
                this.keyId = parsePlayReadyWRM(keyBytes);
                break;
              }
            default:
              {
                let keydata = keyBytes.subarray(0, 16);
                if (keydata.length !== 16) {
                  const padded = new Uint8Array(16);
                  padded.set(keydata, 16 - keydata.length);
                  keydata = padded;
                }
                this.keyId = keydata;
                break;
              }
          }
        }
    
        // Default behavior: get keyId from other KEY tag or URI lookup
        if (!this.keyId || this.keyId.byteLength !== 16) {
          let keyId;
          keyId = getKeyIdFromWidevineKey(levelKeys);
          if (!keyId) {
            keyId = getKeyIdFromPlayReadyKey(levelKeys);
            if (!keyId) {
              keyId = keyUriToKeyIdMap[this.uri];
            }
          }
          if (keyId) {
            this.keyId = keyId;
            LevelKey.setKeyIdForUri(this.uri, keyId);
          }
        }
        return this;
      }
    }
    function getKeyIdFromWidevineKey(levelKeys) {
      const widevineKey = levelKeys == null ? void 0 : levelKeys[KeySystemFormats.WIDEVINE];
      if (widevineKey) {
        return widevineKey.keyId;
      }
      return null;
    }
    function getKeyIdFromPlayReadyKey(levelKeys) {
      const playReadyKey = levelKeys == null ? void 0 : levelKeys[KeySystemFormats.PLAYREADY];
      if (playReadyKey) {
        const playReadyKeyBytes = convertDataUriToArrayBytes(playReadyKey.uri);
        if (playReadyKeyBytes) {
          return parsePlayReadyWRM(playReadyKeyBytes);
        }
      }
      return null;
    }
    function createInitializationVector(segmentNumber) {
      const uint8View = new Uint8Array(16);
      for (let i = 12; i < 16; i++) {
        uint8View[i] = segmentNumber >> 8 * (15 - i) & 0xff;
      }
      return uint8View;
    }
    
    const MASTER_PLAYLIST_REGEX = /#EXT-X-STREAM-INF:([^\r\n]*)(?:[\r\n](?:#[^\r\n]*)?)*([^\r\n]+)|#EXT-X-(SESSION-DATA|SESSION-KEY|DEFINE|CONTENT-STEERING|START):([^\r\n]*)[\r\n]+/g;
    const MASTER_PLAYLIST_MEDIA_REGEX = /#EXT-X-MEDIA:(.*)/g;
    const IS_MEDIA_PLAYLIST = /^#EXT(?:INF|-X-TARGETDURATION):/m; // Handle empty Media Playlist (first EXTINF not signaled, but TARGETDURATION present)
    
    const LEVEL_PLAYLIST_REGEX_FAST = new RegExp([/#EXTINF:\s*(\d*(?:\.\d+)?)(?:,(.*)\s+)?/.source,
    // duration (#EXTINF:<duration>,<title>), group 1 => duration, group 2 => title
    /(?!#) *(\S[^\r\n]*)/.source,
    // segment URI, group 3 => the URI (note newline is not eaten)
    /#.*/.source // All other non-segment oriented tags will match with all groups empty
    ].join('|'), 'g');
    const LEVEL_PLAYLIST_REGEX_SLOW = new RegExp([/#EXT-X-(PROGRAM-DATE-TIME|BYTERANGE|DATERANGE|DEFINE|KEY|MAP|PART|PART-INF|PLAYLIST-TYPE|PRELOAD-HINT|RENDITION-REPORT|SERVER-CONTROL|SKIP|START):(.+)/.source, /#EXT-X-(BITRATE|DISCONTINUITY-SEQUENCE|MEDIA-SEQUENCE|TARGETDURATION|VERSION): *(\d+)/.source, /#EXT-X-(DISCONTINUITY|ENDLIST|GAP|INDEPENDENT-SEGMENTS)/.source, /(#)([^:]*):(.*)/.source, /(#)(.*)(?:.*)\r?\n?/.source].join('|'));
    class M3U8Parser {
      static findGroup(groups, mediaGroupId) {
        for (let i = 0; i < groups.length; i++) {
          const group = groups[i];
          if (group.id === mediaGroupId) {
            return group;
          }
        }
      }
      static resolve(url, baseUrl) {
        return urlToolkitExports.buildAbsoluteURL(baseUrl, url, {
          alwaysNormalize: true
        });
      }
      static isMediaPlaylist(str) {
        return IS_MEDIA_PLAYLIST.test(str);
      }
      static parseMasterPlaylist(string, baseurl) {
        const hasVariableRefs = hasVariableReferences(string) ;
        const parsed = {
          contentSteering: null,
          levels: [],
          playlistParsingError: null,
          sessionData: null,
          sessionKeys: null,
          startTimeOffset: null,
          variableList: null,
          hasVariableRefs
        };
        const levelsWithKnownCodecs = [];
        MASTER_PLAYLIST_REGEX.lastIndex = 0;
        if (!string.startsWith('#EXTM3U')) {
          parsed.playlistParsingError = new Error('no EXTM3U delimiter');
          return parsed;
        }
        let result;
        while ((result = MASTER_PLAYLIST_REGEX.exec(string)) != null) {
          if (result[1]) {
            var _level$unknownCodecs;
            // '#EXT-X-STREAM-INF' is found, parse level tag  in group 1
            const attrs = new AttrList(result[1], parsed);
            const uri = substituteVariables(parsed, result[2]) ;
            const level = {
              attrs,
              bitrate: attrs.decimalInteger('BANDWIDTH') || attrs.decimalInteger('AVERAGE-BANDWIDTH'),
              name: attrs.NAME,
              url: M3U8Parser.resolve(uri, baseurl)
            };
            const resolution = attrs.decimalResolution('RESOLUTION');
            if (resolution) {
              level.width = resolution.width;
              level.height = resolution.height;
            }
            setCodecs(attrs.CODECS, level);
            const supplementalCodecs = attrs['SUPPLEMENTAL-CODECS'];
            if (supplementalCodecs) {
              level.supplemental = {};
              setCodecs(supplementalCodecs, level.supplemental);
            }
            if (!((_level$unknownCodecs = level.unknownCodecs) != null && _level$unknownCodecs.length)) {
              levelsWithKnownCodecs.push(level);
            }
            parsed.levels.push(level);
          } else if (result[3]) {
            const tag = result[3];
            const attributes = result[4];
            switch (tag) {
              case 'SESSION-DATA':
                {
                  // #EXT-X-SESSION-DATA
                  const sessionAttrs = new AttrList(attributes, parsed);
                  const dataId = sessionAttrs['DATA-ID'];
                  if (dataId) {
                    if (parsed.sessionData === null) {
                      parsed.sessionData = {};
                    }
                    parsed.sessionData[dataId] = sessionAttrs;
                  }
                  break;
                }
              case 'SESSION-KEY':
                {
                  // #EXT-X-SESSION-KEY
                  const sessionKey = parseKey(attributes, baseurl, parsed);
                  if (sessionKey.encrypted && sessionKey.isSupported()) {
                    if (parsed.sessionKeys === null) {
                      parsed.sessionKeys = [];
                    }
                    parsed.sessionKeys.push(sessionKey);
                  } else {
                    logger.warn(`[Keys] Ignoring invalid EXT-X-SESSION-KEY tag: "${attributes}"`);
                  }
                  break;
                }
              case 'DEFINE':
                {
                  // #EXT-X-DEFINE
                  {
                    const variableAttributes = new AttrList(attributes, parsed);
                    addVariableDefinition(parsed, variableAttributes, baseurl);
                  }
                  break;
                }
              case 'CONTENT-STEERING':
                {
                  // #EXT-X-CONTENT-STEERING
                  const contentSteeringAttributes = new AttrList(attributes, parsed);
                  parsed.contentSteering = {
                    uri: M3U8Parser.resolve(contentSteeringAttributes['SERVER-URI'], baseurl),
                    pathwayId: contentSteeringAttributes['PATHWAY-ID'] || '.'
                  };
                  break;
                }
              case 'START':
                {
                  // #EXT-X-START
                  parsed.startTimeOffset = parseStartTimeOffset(attributes);
                  break;
                }
            }
          }
        }
        // Filter out levels with unknown codecs if it does not remove all levels
        const stripUnknownCodecLevels = levelsWithKnownCodecs.length > 0 && levelsWithKnownCodecs.length < parsed.levels.length;
        parsed.levels = stripUnknownCodecLevels ? levelsWithKnownCodecs : parsed.levels;
        if (parsed.levels.length === 0) {
          parsed.playlistParsingError = new Error('no levels found in manifest');
        }
        return parsed;
      }
      static parseMasterPlaylistMedia(string, baseurl, parsed) {
        let result;
        const results = {};
        const levels = parsed.levels;
        const groupsByType = {
          AUDIO: levels.map(level => ({
            id: level.attrs.AUDIO,
            audioCodec: level.audioCodec
          })),
          SUBTITLES: levels.map(level => ({
            id: level.attrs.SUBTITLES,
            textCodec: level.textCodec
          })),
          'CLOSED-CAPTIONS': []
        };
        let id = 0;
        MASTER_PLAYLIST_MEDIA_REGEX.lastIndex = 0;
        while ((result = MASTER_PLAYLIST_MEDIA_REGEX.exec(string)) !== null) {
          const attrs = new AttrList(result[1], parsed);
          const type = attrs.TYPE;
          if (type) {
            const groups = groupsByType[type];
            const medias = results[type] || [];
            results[type] = medias;
            const lang = attrs.LANGUAGE;
            const assocLang = attrs['ASSOC-LANGUAGE'];
            const channels = attrs.CHANNELS;
            const characteristics = attrs.CHARACTERISTICS;
            const instreamId = attrs['INSTREAM-ID'];
            const media = {
              attrs,
              bitrate: 0,
              id: id++,
              groupId: attrs['GROUP-ID'] || '',
              name: attrs.NAME || lang || '',
              type,
              default: attrs.bool('DEFAULT'),
              autoselect: attrs.bool('AUTOSELECT'),
              forced: attrs.bool('FORCED'),
              lang,
              url: attrs.URI ? M3U8Parser.resolve(attrs.URI, baseurl) : ''
            };
            if (assocLang) {
              media.assocLang = assocLang;
            }
            if (channels) {
              media.channels = channels;
            }
            if (characteristics) {
              media.characteristics = characteristics;
            }
            if (instreamId) {
              media.instreamId = instreamId;
            }
            if (groups != null && groups.length) {
              // If there are audio or text groups signalled in the manifest, let's look for a matching codec string for this track
              // If we don't find the track signalled, lets use the first audio groups codec we have
              // Acting as a best guess
              const groupCodec = M3U8Parser.findGroup(groups, media.groupId) || groups[0];
              assignCodec(media, groupCodec, 'audioCodec');
              assignCodec(media, groupCodec, 'textCodec');
            }
            medias.push(media);
          }
        }
        return results;
      }
      static parseLevelPlaylist(string, baseurl, id, type, levelUrlId, multivariantVariableList) {
        var _LEVEL_PLAYLIST_REGEX;
        const base = {
          url: baseurl
        };
        const level = new LevelDetails(baseurl);
        const fragments = level.fragments;
        const programDateTimes = [];
        // The most recent init segment seen (applies to all subsequent segments)
        let currentInitSegment = null;
        let currentSN = 0;
        let currentPart = 0;
        let totalduration = 0;
        let discontinuityCounter = 0;
        let currentBitrate = 0;
        let prevFrag = null;
        let frag = new Fragment(type, base);
        let result;
        let i;
        let levelkeys;
        let firstPdtIndex = -1;
        let createNextFrag = false;
        let nextByteRange = null;
        let serverControlAttrs;
        LEVEL_PLAYLIST_REGEX_FAST.lastIndex = 0;
        level.m3u8 = string;
        level.hasVariableRefs = hasVariableReferences(string) ;
        if (((_LEVEL_PLAYLIST_REGEX = LEVEL_PLAYLIST_REGEX_FAST.exec(string)) == null ? void 0 : _LEVEL_PLAYLIST_REGEX[0]) !== '#EXTM3U') {
          level.playlistParsingError = new Error('Missing format identifier #EXTM3U');
          return level;
        }
        while ((result = LEVEL_PLAYLIST_REGEX_FAST.exec(string)) !== null) {
          if (createNextFrag) {
            createNextFrag = false;
            frag = new Fragment(type, base);
            // setup the next fragment for part loading
            frag.playlistOffset = totalduration;
            frag.setStart(totalduration);
            frag.sn = currentSN;
            frag.cc = discontinuityCounter;
            if (currentBitrate) {
              frag.bitrate = currentBitrate;
            }
            frag.level = id;
            if (currentInitSegment) {
              frag.initSegment = currentInitSegment;
              if (currentInitSegment.rawProgramDateTime) {
                frag.rawProgramDateTime = currentInitSegment.rawProgramDateTime;
                currentInitSegment.rawProgramDateTime = null;
              }
              if (nextByteRange) {
                frag.setByteRange(nextByteRange);
                nextByteRange = null;
              }
            }
          }
          const duration = result[1];
          if (duration) {
            // INF
            frag.duration = parseFloat(duration);
            // avoid sliced strings    https://github.com/video-dev/hls.js/issues/939
            const title = (' ' + result[2]).slice(1);
            frag.title = title || null;
            frag.tagList.push(title ? ['INF', duration, title] : ['INF', duration]);
          } else if (result[3]) {
            // url
            if (isFiniteNumber(frag.duration)) {
              frag.playlistOffset = totalduration;
              frag.setStart(totalduration);
              if (levelkeys) {
                setFragLevelKeys(frag, levelkeys, level);
              }
              frag.sn = currentSN;
              frag.level = id;
              frag.cc = discontinuityCounter;
              fragments.push(frag);
              // avoid sliced strings    https://github.com/video-dev/hls.js/issues/939
              const uri = (' ' + result[3]).slice(1);
              frag.relurl = substituteVariables(level, uri) ;
              assignProgramDateTime(frag, prevFrag, programDateTimes);
              prevFrag = frag;
              totalduration += frag.duration;
              currentSN++;
              currentPart = 0;
              createNextFrag = true;
            }
          } else {
            result = result[0].match(LEVEL_PLAYLIST_REGEX_SLOW);
            if (!result) {
              logger.warn('No matches on slow regex match for level playlist!');
              continue;
            }
            for (i = 1; i < result.length; i++) {
              if (result[i] !== undefined) {
                break;
              }
            }
    
            // avoid sliced strings    https://github.com/video-dev/hls.js/issues/939
            const tag = (' ' + result[i]).slice(1);
            const value1 = (' ' + result[i + 1]).slice(1);
            const value2 = result[i + 2] ? (' ' + result[i + 2]).slice(1) : null;
            switch (tag) {
              case 'BYTERANGE':
                if (prevFrag) {
                  frag.setByteRange(value1, prevFrag);
                } else {
                  frag.setByteRange(value1);
                }
                break;
              case 'PROGRAM-DATE-TIME':
                // avoid sliced strings    https://github.com/video-dev/hls.js/issues/939
                frag.rawProgramDateTime = value1;
                frag.tagList.push(['PROGRAM-DATE-TIME', value1]);
                if (firstPdtIndex === -1) {
                  firstPdtIndex = fragments.length;
                }
                break;
              case 'PLAYLIST-TYPE':
                if (level.type) {
                  assignMultipleMediaPlaylistTagOccuranceError(level, tag, result);
                }
                level.type = value1.toUpperCase();
                break;
              case 'MEDIA-SEQUENCE':
                if (level.startSN !== 0) {
                  assignMultipleMediaPlaylistTagOccuranceError(level, tag, result);
                } else if (fragments.length > 0) {
                  assignMustAppearBeforeSegmentsError(level, tag, result);
                }
                currentSN = level.startSN = parseInt(value1);
                break;
              case 'SKIP':
                {
                  if (level.skippedSegments) {
                    assignMultipleMediaPlaylistTagOccuranceError(level, tag, result);
                  }
                  const skipAttrs = new AttrList(value1, level);
                  const skippedSegments = skipAttrs.decimalInteger('SKIPPED-SEGMENTS');
                  if (isFiniteNumber(skippedSegments)) {
                    level.skippedSegments += skippedSegments;
                    // This will result in fragments[] containing undefined values, which we will fill in with `mergeDetails`
                    for (let _i = skippedSegments; _i--;) {
                      fragments.push(null);
                    }
                    currentSN += skippedSegments;
                  }
                  const recentlyRemovedDateranges = skipAttrs.enumeratedString('RECENTLY-REMOVED-DATERANGES');
                  if (recentlyRemovedDateranges) {
                    level.recentlyRemovedDateranges = (level.recentlyRemovedDateranges || []).concat(recentlyRemovedDateranges.split('\t'));
                  }
                  break;
                }
              case 'TARGETDURATION':
                if (level.targetduration !== 0) {
                  assignMultipleMediaPlaylistTagOccuranceError(level, tag, result);
                }
                level.targetduration = Math.max(parseInt(value1), 1);
                break;
              case 'VERSION':
                if (level.version !== null) {
                  assignMultipleMediaPlaylistTagOccuranceError(level, tag, result);
                }
                level.version = parseInt(value1);
                break;
              case 'INDEPENDENT-SEGMENTS':
                break;
              case 'ENDLIST':
                if (!level.live) {
                  assignMultipleMediaPlaylistTagOccuranceError(level, tag, result);
                }
                level.live = false;
                break;
              case '#':
                if (value1 || value2) {
                  frag.tagList.push(value2 ? [value1, value2] : [value1]);
                }
                break;
              case 'DISCONTINUITY':
                discontinuityCounter++;
                frag.tagList.push(['DIS']);
                break;
              case 'GAP':
                frag.gap = true;
                frag.tagList.push([tag]);
                break;
              case 'BITRATE':
                frag.tagList.push([tag, value1]);
                currentBitrate = parseInt(value1) * 1000;
                if (isFiniteNumber(currentBitrate)) {
                  frag.bitrate = currentBitrate;
                } else {
                  currentBitrate = 0;
                }
                break;
              case 'DATERANGE':
                {
                  const dateRangeAttr = new AttrList(value1, level);
                  const dateRange = new DateRange(dateRangeAttr, level.dateRanges[dateRangeAttr.ID], level.dateRangeTagCount);
                  level.dateRangeTagCount++;
                  if (dateRange.isValid || level.skippedSegments) {
                    level.dateRanges[dateRange.id] = dateRange;
                  } else {
                    logger.warn(`Ignoring invalid DATERANGE tag: "${value1}"`);
                  }
                  // Add to fragment tag list for backwards compatibility (< v1.2.0)
                  frag.tagList.push(['EXT-X-DATERANGE', value1]);
                  break;
                }
              case 'DEFINE':
                {
                  {
                    const variableAttributes = new AttrList(value1, level);
                    if ('IMPORT' in variableAttributes) {
                      importVariableDefinition(level, variableAttributes, multivariantVariableList);
                    } else {
                      addVariableDefinition(level, variableAttributes, baseurl);
                    }
                  }
                  break;
                }
              case 'DISCONTINUITY-SEQUENCE':
                if (level.startCC !== 0) {
                  assignMultipleMediaPlaylistTagOccuranceError(level, tag, result);
                } else if (fragments.length > 0) {
                  assignMustAppearBeforeSegmentsError(level, tag, result);
                }
                level.startCC = discontinuityCounter = parseInt(value1);
                break;
              case 'KEY':
                {
                  const levelKey = parseKey(value1, baseurl, level);
                  if (levelKey.isSupported()) {
                    if (levelKey.method === 'NONE') {
                      levelkeys = undefined;
                      break;
                    }
                    if (!levelkeys) {
                      levelkeys = {};
                    }
                    const currentKey = levelkeys[levelKey.keyFormat];
                    // Ignore duplicate playlist KEY tags
                    if (!(currentKey != null && currentKey.matches(levelKey))) {
                      if (currentKey) {
                        levelkeys = _extends({}, levelkeys);
                      }
                      levelkeys[levelKey.keyFormat] = levelKey;
                    }
                  } else {
                    logger.warn(`[Keys] Ignoring unsupported EXT-X-KEY tag: "${value1}"${'' }`);
                  }
                  break;
                }
              case 'START':
                level.startTimeOffset = parseStartTimeOffset(value1);
                break;
              case 'MAP':
                {
                  const mapAttrs = new AttrList(value1, level);
                  if (frag.duration) {
                    // Initial segment tag is after segment duration tag.
                    //   #EXTINF: 6.0
                    //   #EXT-X-MAP:URI="init.mp4
                    const init = new Fragment(type, base);
                    setInitSegment(init, mapAttrs, id, levelkeys);
                    currentInitSegment = init;
                    frag.initSegment = currentInitSegment;
                    if (currentInitSegment.rawProgramDateTime && !frag.rawProgramDateTime) {
                      frag.rawProgramDateTime = currentInitSegment.rawProgramDateTime;
                    }
                  } else {
                    // Initial segment tag is before segment duration tag
                    // Handle case where EXT-X-MAP is declared after EXT-X-BYTERANGE
                    const end = frag.byteRangeEndOffset;
                    if (end) {
                      const start = frag.byteRangeStartOffset;
                      nextByteRange = `${end - start}@${start}`;
                    } else {
                      nextByteRange = null;
                    }
                    setInitSegment(frag, mapAttrs, id, levelkeys);
                    currentInitSegment = frag;
                    createNextFrag = true;
                  }
                  currentInitSegment.cc = discontinuityCounter;
                  break;
                }
              case 'SERVER-CONTROL':
                {
                  if (serverControlAttrs) {
                    assignMultipleMediaPlaylistTagOccuranceError(level, tag, result);
                  }
                  serverControlAttrs = new AttrList(value1);
                  level.canBlockReload = serverControlAttrs.bool('CAN-BLOCK-RELOAD');
                  level.canSkipUntil = serverControlAttrs.optionalFloat('CAN-SKIP-UNTIL', 0);
                  level.canSkipDateRanges = level.canSkipUntil > 0 && serverControlAttrs.bool('CAN-SKIP-DATERANGES');
                  level.partHoldBack = serverControlAttrs.optionalFloat('PART-HOLD-BACK', 0);
                  level.holdBack = serverControlAttrs.optionalFloat('HOLD-BACK', 0);
                  break;
                }
              case 'PART-INF':
                {
                  if (level.partTarget) {
                    assignMultipleMediaPlaylistTagOccuranceError(level, tag, result);
                  }
                  const partInfAttrs = new AttrList(value1);
                  level.partTarget = partInfAttrs.decimalFloatingPoint('PART-TARGET');
                  break;
                }
              case 'PART':
                {
                  let partList = level.partList;
                  if (!partList) {
                    partList = level.partList = [];
                  }
                  const previousFragmentPart = currentPart > 0 ? partList[partList.length - 1] : undefined;
                  const index = currentPart++;
                  const partAttrs = new AttrList(value1, level);
                  const part = new Part(partAttrs, frag, base, index, previousFragmentPart);
                  partList.push(part);
                  frag.duration += part.duration;
                  break;
                }
              case 'PRELOAD-HINT':
                {
                  const preloadHintAttrs = new AttrList(value1, level);
                  level.preloadHint = preloadHintAttrs;
                  break;
                }
              case 'RENDITION-REPORT':
                {
                  const renditionReportAttrs = new AttrList(value1, level);
                  level.renditionReports = level.renditionReports || [];
                  level.renditionReports.push(renditionReportAttrs);
                  break;
                }
              default:
                logger.warn(`line parsed but not handled: ${result}`);
                break;
            }
          }
        }
        if (prevFrag && !prevFrag.relurl) {
          fragments.pop();
          totalduration -= prevFrag.duration;
          if (level.partList) {
            level.fragmentHint = prevFrag;
          }
        } else if (level.partList) {
          assignProgramDateTime(frag, prevFrag, programDateTimes);
          frag.cc = discontinuityCounter;
          level.fragmentHint = frag;
          if (levelkeys) {
            setFragLevelKeys(frag, levelkeys, level);
          }
        }
        if (!level.targetduration) {
          level.playlistParsingError = new Error(`Missing Target Duration`);
        }
        const fragmentLength = fragments.length;
        const firstFragment = fragments[0];
        const lastFragment = fragments[fragmentLength - 1];
        totalduration += level.skippedSegments * level.targetduration;
        if (totalduration > 0 && fragmentLength && lastFragment) {
          level.averagetargetduration = totalduration / fragmentLength;
          const lastSn = lastFragment.sn;
          level.endSN = lastSn !== 'initSegment' ? lastSn : 0;
          if (!level.live) {
            lastFragment.endList = true;
          }
          /**
           * Backfill any missing PDT values
           * "If the first EXT-X-PROGRAM-DATE-TIME tag in a Playlist appears after
           * one or more Media Segment URIs, the client SHOULD extrapolate
           * backward from that tag (using EXTINF durations and/or media
           * timestamps) to associate dates with those segments."
           * We have already extrapolated forward, but all fragments up to the first instance of PDT do not have their PDTs
           * computed.
           */
          if (firstPdtIndex > 0) {
            backfillProgramDateTimes(fragments, firstPdtIndex);
            if (firstFragment) {
              programDateTimes.unshift(firstFragment);
            }
          }
        }
        if (level.fragmentHint) {
          totalduration += level.fragmentHint.duration;
        }
        level.totalduration = totalduration;
        if (programDateTimes.length && level.dateRangeTagCount && firstFragment) {
          mapDateRanges(programDateTimes, level);
        }
        level.endCC = discontinuityCounter;
        return level;
      }
    }
    function mapDateRanges(programDateTimes, details) {
      // Make sure DateRanges are mapped to a ProgramDateTime tag that applies a date to a segment that overlaps with its start date
      let programDateTimeCount = programDateTimes.length;
      if (!programDateTimeCount) {
        if (details.hasProgramDateTime) {
          const lastFragment = details.fragments[details.fragments.length - 1];
          programDateTimes.push(lastFragment);
          programDateTimeCount++;
        } else {
          // no segments with EXT-X-PROGRAM-DATE-TIME references in playlist history
          return;
        }
      }
      const lastProgramDateTime = programDateTimes[programDateTimeCount - 1];
      const playlistEnd = details.live ? Infinity : details.totalduration;
      const dateRangeIds = Object.keys(details.dateRanges);
      for (let i = dateRangeIds.length; i--;) {
        const dateRange = details.dateRanges[dateRangeIds[i]];
        const startDateTime = dateRange.startDate.getTime();
        dateRange.tagAnchor = lastProgramDateTime.ref;
        for (let j = programDateTimeCount; j--;) {
          var _programDateTimes$j;
          if (((_programDateTimes$j = programDateTimes[j]) == null ? void 0 : _programDateTimes$j.sn) < details.startSN) {
            break;
          }
          const fragIndex = findFragmentWithStartDate(details, startDateTime, programDateTimes, j, playlistEnd);
          if (fragIndex !== -1) {
            dateRange.tagAnchor = details.fragments[fragIndex].ref;
            break;
          }
        }
      }
    }
    function findFragmentWithStartDate(details, startDateTime, programDateTimes, index, endTime) {
      const pdtFragment = programDateTimes[index];
      if (pdtFragment) {
        // find matching range between PDT tags
        const pdtStart = pdtFragment.programDateTime;
        if (startDateTime >= pdtStart || index === 0) {
          var _programDateTimes;
          const durationBetweenPdt = (((_programDateTimes = programDateTimes[index + 1]) == null ? void 0 : _programDateTimes.start) || endTime) - pdtFragment.start;
          if (startDateTime <= pdtStart + durationBetweenPdt * 1000) {
            // map to fragment with date-time range
            const startIndex = programDateTimes[index].sn - details.startSN;
            if (startIndex < 0) {
              return -1;
            }
            const fragments = details.fragments;
            if (fragments.length > programDateTimes.length) {
              const endSegment = programDateTimes[index + 1] || fragments[fragments.length - 1];
              const endIndex = endSegment.sn - details.startSN;
              for (let i = endIndex; i > startIndex; i--) {
                const fragStartDateTime = fragments[i].programDateTime;
                if (startDateTime >= fragStartDateTime && startDateTime < fragStartDateTime + fragments[i].duration * 1000) {
                  return i;
                }
              }
            }
            return startIndex;
          }
        }
      }
      return -1;
    }
    function parseKey(keyTagAttributes, baseurl, parsed) {
      var _keyAttrs$METHOD, _keyAttrs$KEYFORMAT;
      // https://tools.ietf.org/html/rfc8216#section-4.3.2.4
      const keyAttrs = new AttrList(keyTagAttributes, parsed);
      const decryptmethod = (_keyAttrs$METHOD = keyAttrs.METHOD) != null ? _keyAttrs$METHOD : '';
      const decrypturi = keyAttrs.URI;
      const decryptiv = keyAttrs.hexadecimalInteger('IV');
      const decryptkeyformatversions = keyAttrs.KEYFORMATVERSIONS;
      // From RFC: This attribute is OPTIONAL; its absence indicates an implicit value of "identity".
      const decryptkeyformat = (_keyAttrs$KEYFORMAT = keyAttrs.KEYFORMAT) != null ? _keyAttrs$KEYFORMAT : 'identity';
      if (decrypturi && keyAttrs.IV && !decryptiv) {
        logger.error(`Invalid IV: ${keyAttrs.IV}`);
      }
      // If decrypturi is a URI with a scheme, then baseurl will be ignored
      // No uri is allowed when METHOD is NONE
      const resolvedUri = decrypturi ? M3U8Parser.resolve(decrypturi, baseurl) : '';
      const keyFormatVersions = (decryptkeyformatversions ? decryptkeyformatversions : '1').split('/').map(Number).filter(Number.isFinite);
      return new LevelKey(decryptmethod, resolvedUri, decryptkeyformat, keyFormatVersions, decryptiv, keyAttrs.KEYID);
    }
    function parseStartTimeOffset(startAttributes) {
      const startAttrs = new AttrList(startAttributes);
      const startTimeOffset = startAttrs.decimalFloatingPoint('TIME-OFFSET');
      if (isFiniteNumber(startTimeOffset)) {
        return startTimeOffset;
      }
      return null;
    }
    function setCodecs(codecsAttributeValue, level) {
      let codecs = (codecsAttributeValue || '').split(/[ ,]+/).filter(c => c);
      ['video', 'audio', 'text'].forEach(type => {
        const filtered = codecs.filter(codec => isCodecType(codec, type));
        if (filtered.length) {
          // Comma separated list of all codecs for type
          level[`${type}Codec`] = filtered.map(c => c.split('/')[0]).join(',');
          // Remove known codecs so that only unknownCodecs are left after iterating through each type
          codecs = codecs.filter(codec => filtered.indexOf(codec) === -1);
        }
      });
      level.unknownCodecs = codecs;
    }
    function assignCodec(media, groupItem, codecProperty) {
      const codecValue = groupItem[codecProperty];
      if (codecValue) {
        media[codecProperty] = codecValue;
      }
    }
    function backfillProgramDateTimes(fragments, firstPdtIndex) {
      let fragPrev = fragments[firstPdtIndex];
      for (let i = firstPdtIndex; i--;) {
        const frag = fragments[i];
        // Exit on delta-playlist skipped segments
        if (!frag) {
          return;
        }
        frag.programDateTime = fragPrev.programDateTime - frag.duration * 1000;
        fragPrev = frag;
      }
    }
    function assignProgramDateTime(frag, prevFrag, programDateTimes) {
      if (frag.rawProgramDateTime) {
        programDateTimes.push(frag);
      } else if (prevFrag != null && prevFrag.programDateTime) {
        frag.programDateTime = prevFrag.endProgramDateTime;
      }
    }
    function setInitSegment(frag, mapAttrs, id, levelkeys) {
      frag.relurl = mapAttrs.URI;
      if (mapAttrs.BYTERANGE) {
        frag.setByteRange(mapAttrs.BYTERANGE);
      }
      frag.level = id;
      frag.sn = 'initSegment';
      if (levelkeys) {
        frag.levelkeys = levelkeys;
      }
      frag.initSegment = null;
    }
    function setFragLevelKeys(frag, levelkeys, level) {
      frag.levelkeys = levelkeys;
      const {
        encryptedFragments
      } = level;
      if ((!encryptedFragments.length || encryptedFragments[encryptedFragments.length - 1].levelkeys !== levelkeys) && Object.keys(levelkeys).some(format => levelkeys[format].isCommonEncryption)) {
        encryptedFragments.push(frag);
      }
    }
    function assignMultipleMediaPlaylistTagOccuranceError(level, tag, result) {
      level.playlistParsingError = new Error(`#EXT-X-${tag} must not appear more than once (${result[0]})`);
    }
    function assignMustAppearBeforeSegmentsError(level, tag, result) {
      level.playlistParsingError = new Error(`#EXT-X-${tag} must appear before the first Media Segment (${result[0]})`);
    }
    
    function updateFromToPTS(fragFrom, fragTo) {
      const fragToPTS = fragTo.startPTS;
      // if we know startPTS[toIdx]
      if (isFiniteNumber(fragToPTS)) {
        // update fragment duration.
        // it helps to fix drifts between playlist reported duration and fragment real duration
        let duration = 0;
        let frag;
        if (fragTo.sn > fragFrom.sn) {
          duration = fragToPTS - fragFrom.start;
          frag = fragFrom;
        } else {
          duration = fragFrom.start - fragToPTS;
          frag = fragTo;
        }
        if (frag.duration !== duration) {
          frag.setDuration(duration);
        }
        // we dont know startPTS[toIdx]
      } else if (fragTo.sn > fragFrom.sn) {
        const contiguous = fragFrom.cc === fragTo.cc;
        // TODO: With part-loading end/durations we need to confirm the whole fragment is loaded before using (or setting) minEndPTS
        if (contiguous && fragFrom.minEndPTS) {
          fragTo.setStart(fragFrom.start + (fragFrom.minEndPTS - fragFrom.start));
        } else {
          fragTo.setStart(fragFrom.start + fragFrom.duration);
        }
      } else {
        fragTo.setStart(Math.max(fragFrom.start - fragTo.duration, 0));
      }
    }
    function updateFragPTSDTS(details, frag, startPTS, endPTS, startDTS, endDTS, logger) {
      const parsedMediaDuration = endPTS - startPTS;
      if (parsedMediaDuration <= 0) {
        logger.warn('Fragment should have a positive duration', frag);
        endPTS = startPTS + frag.duration;
        endDTS = startDTS + frag.duration;
      }
      let maxStartPTS = startPTS;
      let minEndPTS = endPTS;
      const fragStartPts = frag.startPTS;
      const fragEndPts = frag.endPTS;
      if (isFiniteNumber(fragStartPts)) {
        // delta PTS between audio and video
        const deltaPTS = Math.abs(fragStartPts - startPTS);
        if (details && deltaPTS > details.totalduration) {
          logger.warn(`media timestamps and playlist times differ by ${deltaPTS}s for level ${frag.level} ${details.url}`);
        } else if (!isFiniteNumber(frag.deltaPTS)) {
          frag.deltaPTS = deltaPTS;
        } else {
          frag.deltaPTS = Math.max(deltaPTS, frag.deltaPTS);
        }
        maxStartPTS = Math.max(startPTS, fragStartPts);
        startPTS = Math.min(startPTS, fragStartPts);
        startDTS = frag.startDTS !== undefined ? Math.min(startDTS, frag.startDTS) : startDTS;
        minEndPTS = Math.min(endPTS, fragEndPts);
        endPTS = Math.max(endPTS, fragEndPts);
        endDTS = frag.endDTS !== undefined ? Math.max(endDTS, frag.endDTS) : endDTS;
      }
      const drift = startPTS - frag.start;
      if (frag.start !== 0) {
        frag.setStart(startPTS);
      }
      frag.setDuration(endPTS - frag.start);
      frag.startPTS = startPTS;
      frag.maxStartPTS = maxStartPTS;
      frag.startDTS = startDTS;
      frag.endPTS = endPTS;
      frag.minEndPTS = minEndPTS;
      frag.endDTS = endDTS;
      const sn = frag.sn;
      // exit if sn out of range
      if (!details || sn < details.startSN || sn > details.endSN) {
        return 0;
      }
      let i;
      const fragIdx = sn - details.startSN;
      const fragments = details.fragments;
      // update frag reference in fragments array
      // rationale is that fragments array might not contain this frag object.
      // this will happen if playlist has been refreshed between frag loading and call to updateFragPTSDTS()
      // if we don't update frag, we won't be able to propagate PTS info on the playlist
      // resulting in invalid sliding computation
      fragments[fragIdx] = frag;
      // adjust fragment PTS/duration from seqnum-1 to frag 0
      for (i = fragIdx; i > 0; i--) {
        updateFromToPTS(fragments[i], fragments[i - 1]);
      }
    
      // adjust fragment PTS/duration from seqnum to last frag
      for (i = fragIdx; i < fragments.length - 1; i++) {
        updateFromToPTS(fragments[i], fragments[i + 1]);
      }
      if (details.fragmentHint) {
        updateFromToPTS(fragments[fragments.length - 1], details.fragmentHint);
      }
      details.PTSKnown = details.alignedSliding = true;
      return drift;
    }
    function mergeDetails(oldDetails, newDetails, logger) {
      if (oldDetails === newDetails) {
        return;
      }
      // Track the last initSegment processed. Initialize it to the last one on the timeline.
      let currentInitSegment = null;
      const oldFragments = oldDetails.fragments;
      for (let i = oldFragments.length - 1; i >= 0; i--) {
        const oldInit = oldFragments[i].initSegment;
        if (oldInit) {
          currentInitSegment = oldInit;
          break;
        }
      }
      if (oldDetails.fragmentHint) {
        // prevent PTS and duration from being adjusted on the next hint
        delete oldDetails.fragmentHint.endPTS;
      }
      // check if old/new playlists have fragments in common
      // loop through overlapping SN and update startPTS, cc, and duration if any found
      let PTSFrag;
      mapFragmentIntersection(oldDetails, newDetails, (oldFrag, newFrag, newFragIndex, newFragments) => {
        if ((!newDetails.startCC || newDetails.skippedSegments) && newFrag.cc !== oldFrag.cc) {
          const ccOffset = oldFrag.cc - newFrag.cc;
          for (let i = newFragIndex; i < newFragments.length; i++) {
            newFragments[i].cc += ccOffset;
          }
          newDetails.endCC = newFragments[newFragments.length - 1].cc;
        }
        if (isFiniteNumber(oldFrag.startPTS) && isFiniteNumber(oldFrag.endPTS)) {
          newFrag.setStart(newFrag.startPTS = oldFrag.startPTS);
          newFrag.startDTS = oldFrag.startDTS;
          newFrag.maxStartPTS = oldFrag.maxStartPTS;
          newFrag.endPTS = oldFrag.endPTS;
          newFrag.endDTS = oldFrag.endDTS;
          newFrag.minEndPTS = oldFrag.minEndPTS;
          newFrag.setDuration(oldFrag.endPTS - oldFrag.startPTS);
          if (newFrag.duration) {
            PTSFrag = newFrag;
          }
    
          // PTS is known when any segment has startPTS and endPTS
          newDetails.PTSKnown = newDetails.alignedSliding = true;
        }
        if (oldFrag.hasStreams) {
          newFrag.elementaryStreams = oldFrag.elementaryStreams;
        }
        newFrag.loader = oldFrag.loader;
        if (oldFrag.hasStats) {
          newFrag.stats = oldFrag.stats;
        }
        if (oldFrag.initSegment) {
          newFrag.initSegment = oldFrag.initSegment;
          currentInitSegment = oldFrag.initSegment;
        }
      });
      const newFragments = newDetails.fragments;
      const fragmentsToCheck = newDetails.fragmentHint ? newFragments.concat(newDetails.fragmentHint) : newFragments;
      if (currentInitSegment) {
        fragmentsToCheck.forEach(frag => {
          var _currentInitSegment;
          if (frag && (!frag.initSegment || frag.initSegment.relurl === ((_currentInitSegment = currentInitSegment) == null ? void 0 : _currentInitSegment.relurl))) {
            frag.initSegment = currentInitSegment;
          }
        });
      }
      if (newDetails.skippedSegments) {
        newDetails.deltaUpdateFailed = newFragments.some(frag => !frag);
        if (newDetails.deltaUpdateFailed) {
          logger.warn('[level-helper] Previous playlist missing segments skipped in delta playlist');
          for (let i = newDetails.skippedSegments; i--;) {
            newFragments.shift();
          }
          newDetails.startSN = newFragments[0].sn;
        } else {
          if (newDetails.canSkipDateRanges) {
            newDetails.dateRanges = mergeDateRanges(oldDetails.dateRanges, newDetails, logger);
          }
          const programDateTimes = oldDetails.fragments.filter(frag => frag.rawProgramDateTime);
          if (oldDetails.hasProgramDateTime && !newDetails.hasProgramDateTime) {
            for (let i = 1; i < fragmentsToCheck.length; i++) {
              if (fragmentsToCheck[i].programDateTime === null) {
                assignProgramDateTime(fragmentsToCheck[i], fragmentsToCheck[i - 1], programDateTimes);
              }
            }
          }
          mapDateRanges(programDateTimes, newDetails);
        }
        newDetails.endCC = newFragments[newFragments.length - 1].cc;
      }
      if (!newDetails.startCC) {
        var _fragPriorToNewStart$;
        const fragPriorToNewStart = getFragmentWithSN(oldDetails, newDetails.startSN - 1);
        newDetails.startCC = (_fragPriorToNewStart$ = fragPriorToNewStart == null ? void 0 : fragPriorToNewStart.cc) != null ? _fragPriorToNewStart$ : newFragments[0].cc;
      }
    
      // Merge parts
      mapPartIntersection(oldDetails.partList, newDetails.partList, (oldPart, newPart) => {
        newPart.elementaryStreams = oldPart.elementaryStreams;
        newPart.stats = oldPart.stats;
      });
    
      // if at least one fragment contains PTS info, recompute PTS information for all fragments
      if (PTSFrag) {
        updateFragPTSDTS(newDetails, PTSFrag, PTSFrag.startPTS, PTSFrag.endPTS, PTSFrag.startDTS, PTSFrag.endDTS, logger);
      } else {
        // ensure that delta is within oldFragments range
        // also adjust sliding in case delta is 0 (we could have old=[50-60] and new=old=[50-61])
        // in that case we also need to adjust start offset of all fragments
        adjustSliding(oldDetails, newDetails);
      }
      if (newFragments.length) {
        newDetails.totalduration = newDetails.edge - newFragments[0].start;
      }
      newDetails.driftStartTime = oldDetails.driftStartTime;
      newDetails.driftStart = oldDetails.driftStart;
      const advancedDateTime = newDetails.advancedDateTime;
      if (newDetails.advanced && advancedDateTime) {
        const edge = newDetails.edge;
        if (!newDetails.driftStart) {
          newDetails.driftStartTime = advancedDateTime;
          newDetails.driftStart = edge;
        }
        newDetails.driftEndTime = advancedDateTime;
        newDetails.driftEnd = edge;
      } else {
        newDetails.driftEndTime = oldDetails.driftEndTime;
        newDetails.driftEnd = oldDetails.driftEnd;
        newDetails.advancedDateTime = oldDetails.advancedDateTime;
      }
      if (newDetails.requestScheduled === -1) {
        newDetails.requestScheduled = oldDetails.requestScheduled;
      }
    }
    function mergeDateRanges(oldDateRanges, newDetails, logger) {
      const {
        dateRanges: deltaDateRanges,
        recentlyRemovedDateranges
      } = newDetails;
      const dateRanges = _extends({}, oldDateRanges);
      if (recentlyRemovedDateranges) {
        recentlyRemovedDateranges.forEach(id => {
          delete dateRanges[id];
        });
      }
      const mergeIds = Object.keys(dateRanges);
      const mergeCount = mergeIds.length;
      if (!mergeCount) {
        return deltaDateRanges;
      }
      Object.keys(deltaDateRanges).forEach(id => {
        const mergedDateRange = dateRanges[id];
        const dateRange = new DateRange(deltaDateRanges[id].attr, mergedDateRange);
        if (dateRange.isValid) {
          dateRanges[id] = dateRange;
          if (!mergedDateRange) {
            dateRange.tagOrder += mergeCount;
          }
        } else {
          logger.warn(`Ignoring invalid Playlist Delta Update DATERANGE tag: "${stringify(deltaDateRanges[id].attr)}"`);
        }
      });
      return dateRanges;
    }
    function mapPartIntersection(oldParts, newParts, intersectionFn) {
      if (oldParts && newParts) {
        let delta = 0;
        for (let i = 0, len = oldParts.length; i <= len; i++) {
          const oldPart = oldParts[i];
          const newPart = newParts[i + delta];
          if (oldPart && newPart && oldPart.index === newPart.index && oldPart.fragment.sn === newPart.fragment.sn) {
            intersectionFn(oldPart, newPart);
          } else {
            delta--;
          }
        }
      }
    }
    function mapFragmentIntersection(oldDetails, newDetails, intersectionFn) {
      const skippedSegments = newDetails.skippedSegments;
      const start = Math.max(oldDetails.startSN, newDetails.startSN) - newDetails.startSN;
      const end = (oldDetails.fragmentHint ? 1 : 0) + (skippedSegments ? newDetails.endSN : Math.min(oldDetails.endSN, newDetails.endSN)) - newDetails.startSN;
      const delta = newDetails.startSN - oldDetails.startSN;
      const newFrags = newDetails.fragmentHint ? newDetails.fragments.concat(newDetails.fragmentHint) : newDetails.fragments;
      const oldFrags = oldDetails.fragmentHint ? oldDetails.fragments.concat(oldDetails.fragmentHint) : oldDetails.fragments;
      for (let i = start; i <= end; i++) {
        const oldFrag = oldFrags[delta + i];
        let newFrag = newFrags[i];
        if (skippedSegments && !newFrag && oldFrag) {
          // Fill in skipped segments in delta playlist
          newFrag = newDetails.fragments[i] = oldFrag;
        }
        if (oldFrag && newFrag) {
          intersectionFn(oldFrag, newFrag, i, newFrags);
          const uriBefore = oldFrag.relurl;
          const uriAfter = newFrag.relurl;
          if (uriBefore && notEqualAfterStrippingQueries(uriBefore, uriAfter)) {
            newDetails.playlistParsingError = getSequenceError(`media sequence mismatch ${newFrag.sn}:`, oldDetails, newDetails, oldFrag, newFrag);
            return;
          } else if (oldFrag.cc !== newFrag.cc) {
            newDetails.playlistParsingError = getSequenceError(`discontinuity sequence mismatch (${oldFrag.cc}!=${newFrag.cc})`, oldDetails, newDetails, oldFrag, newFrag);
            return;
          }
        }
      }
    }
    function getSequenceError(message, oldDetails, newDetails, oldFrag, newFrag) {
      return new Error(`${message} ${newFrag.url}
    Playlist starting @${oldDetails.startSN}
    ${oldDetails.m3u8}
    
    Playlist starting @${newDetails.startSN}
    ${newDetails.m3u8}`);
    }
    function adjustSliding(oldDetails, newDetails, matchingStableVariantOrRendition = true) {
      const delta = newDetails.startSN + newDetails.skippedSegments - oldDetails.startSN;
      const oldFragments = oldDetails.fragments;
      const advancedOrStable = delta >= 0;
      let sliding = 0;
      if (advancedOrStable && delta < oldFragments.length) {
        sliding = oldFragments[delta].start;
      } else if (advancedOrStable && newDetails.startSN === oldDetails.endSN + 1) {
        sliding = oldDetails.fragmentEnd;
      } else if (advancedOrStable && matchingStableVariantOrRendition) {
        // align with expected position (updated playlist start sequence is past end sequence of last update)
        sliding = oldDetails.fragmentStart + delta * newDetails.levelTargetDuration;
      } else if (!newDetails.skippedSegments && newDetails.fragmentStart === 0) {
        // align new start with old (playlist switch has a sequence with no overlap and should not be used for alignment)
        sliding = oldDetails.fragmentStart;
      } else {
        // new details already has a sliding offset or has skipped segments
        return;
      }
      addSliding(newDetails, sliding);
    }
    function addSliding(details, sliding) {
      if (sliding) {
        const fragments = details.fragments;
        for (let i = details.skippedSegments; i < fragments.length; i++) {
          fragments[i].addStart(sliding);
        }
        if (details.fragmentHint) {
          details.fragmentHint.addStart(sliding);
        }
      }
    }
    function computeReloadInterval(newDetails, distanceToLiveEdgeMs = Infinity) {
      let reloadInterval = 1000 * newDetails.targetduration;
      if (newDetails.updated) {
        // Use last segment duration when shorter than target duration and near live edge
        const fragments = newDetails.fragments;
        const liveEdgeMaxTargetDurations = 4;
        if (fragments.length && reloadInterval * liveEdgeMaxTargetDurations > distanceToLiveEdgeMs) {
          const lastSegmentDuration = fragments[fragments.length - 1].duration * 1000;
          if (lastSegmentDuration < reloadInterval) {
            reloadInterval = lastSegmentDuration;
          }
        }
      } else {
        // estimate = 'miss half average';
        // follow HLS Spec, If the client reloads a Playlist file and finds that it has not
        // changed then it MUST wait for a period of one-half the target
        // duration before retrying.
        reloadInterval /= 2;
      }
      return Math.round(reloadInterval);
    }
    function getFragmentWithSN(details, sn, fragCurrent) {
      if (!details) {
        return null;
      }
      let fragment = details.fragments[sn - details.startSN];
      if (fragment) {
        return fragment;
      }
      fragment = details.fragmentHint;
      if (fragment && fragment.sn === sn) {
        return fragment;
      }
      if (sn < details.startSN && fragCurrent && fragCurrent.sn === sn) {
        return fragCurrent;
      }
      return null;
    }
    function getPartWith(details, sn, partIndex) {
      if (!details) {
        return null;
      }
      return findPart(details.partList, sn, partIndex);
    }
    function findPart(partList, sn, partIndex) {
      if (partList) {
        for (let i = partList.length; i--;) {
          const part = partList[i];
          if (part.index === partIndex && part.fragment.sn === sn) {
            return part;
          }
        }
      }
      return null;
    }
    function reassignFragmentLevelIndexes(levels) {
      levels.forEach((level, index) => {
        var _level$details;
        (_level$details = level.details) == null || _level$details.fragments.forEach(fragment => {
          fragment.level = index;
          if (fragment.initSegment) {
            fragment.initSegment.level = index;
          }
        });
      });
    }
    function notEqualAfterStrippingQueries(uriBefore, uriAfter) {
      if (uriBefore !== uriAfter && uriAfter) {
        return stripQuery(uriBefore) !== stripQuery(uriAfter);
      }
      return false;
    }
    function stripQuery(uri) {
      return uri.replace(/\?[^?]*$/, '');
    }
    
    function findFirstFragWithCC(fragments, cc) {
      for (let i = 0, len = fragments.length; i < len; i++) {
        var _fragments$i;
        if (((_fragments$i = fragments[i]) == null ? void 0 : _fragments$i.cc) === cc) {
          return fragments[i];
        }
      }
      return null;
    }
    function shouldAlignOnDiscontinuities(refDetails, details) {
      if (refDetails) {
        if (details.startCC < refDetails.endCC && details.endCC > refDetails.startCC) {
          return true;
        }
      }
      return false;
    }
    function adjustFragmentStart(frag, sliding) {
      const start = frag.start + sliding;
      frag.startPTS = start;
      frag.setStart(start);
      frag.endPTS = start + frag.duration;
    }
    function adjustSlidingStart(sliding, details) {
      // Update segments
      const fragments = details.fragments;
      for (let i = 0, len = fragments.length; i < len; i++) {
        adjustFragmentStart(fragments[i], sliding);
      }
      // Update LL-HLS parts at the end of the playlist
      if (details.fragmentHint) {
        adjustFragmentStart(details.fragmentHint, sliding);
      }
      details.alignedSliding = true;
    }
    
    /**
     * Using the parameters of the last level, this function computes PTS' of the new fragments so that they form a
     * contiguous stream with the last fragments.
     * The PTS of a fragment lets Hls.js know where it fits into a stream - by knowing every PTS, we know which fragment to
     * download at any given time. PTS is normally computed when the fragment is demuxed, so taking this step saves us time
     * and an extra download.
     * @param lastLevel
     * @param details
     */
    function alignStream(switchDetails, details) {
      if (!switchDetails) {
        return;
      }
      alignDiscontinuities(details, switchDetails);
      if (!details.alignedSliding) {
        // If the PTS wasn't figured out via discontinuity sequence that means there was no CC increase within the level.
        // Aligning via Program Date Time should therefore be reliable, since PDT should be the same within the same
        // discontinuity sequence.
        alignMediaPlaylistByPDT(details, switchDetails);
      }
      if (!details.alignedSliding && !details.skippedSegments) {
        // Try to align on sn so that we pick a better start fragment.
        // Do not perform this on playlists with delta updates as this is only to align levels on switch
        // and adjustSliding only adjusts fragments after skippedSegments.
        adjustSliding(switchDetails, details, false);
      }
    }
    
    /**
     * Ajust the start of fragments in `details` by the difference in time between fragments of the latest
     * shared discontinuity sequence change.
     * @param lastLevel - The details of the last loaded level
     * @param details - The details of the new level
     */
    function alignDiscontinuities(details, refDetails) {
      if (!shouldAlignOnDiscontinuities(refDetails, details)) {
        return;
      }
      const targetCC = Math.min(refDetails.endCC, details.endCC);
      const refFrag = findFirstFragWithCC(refDetails.fragments, targetCC);
      const frag = findFirstFragWithCC(details.fragments, targetCC);
      if (!refFrag || !frag) {
        return;
      }
      logger.log(`Aligning playlist at start of dicontinuity sequence ${targetCC}`);
      const delta = refFrag.start - frag.start;
      adjustSlidingStart(delta, details);
    }
    
    /**
     * Ensures appropriate time-alignment between renditions based on PDT.
     * This function assumes the timelines represented in `refDetails` are accurate, including the PDTs
     * for the last discontinuity sequence number shared by both playlists when present,
     * and uses the "wallclock"/PDT timeline as a cross-reference to `details`, adjusting the presentation
     * times/timelines of `details` accordingly.
     * Given the asynchronous nature of fetches and initial loads of live `main` and audio/subtitle tracks,
     * the primary purpose of this function is to ensure the "local timelines" of audio/subtitle tracks
     * are aligned to the main/video timeline, using PDT as the cross-reference/"anchor" that should
     * be consistent across playlists, per the HLS spec.
     * @param details - The details of the rendition you'd like to time-align (e.g. an audio rendition).
     * @param refDetails - The details of the reference rendition with start and PDT times for alignment.
     */
    function alignMediaPlaylistByPDT(details, refDetails) {
      if (!details.hasProgramDateTime || !refDetails.hasProgramDateTime) {
        return;
      }
      const fragments = details.fragments;
      const refFragments = refDetails.fragments;
      if (!fragments.length || !refFragments.length) {
        return;
      }
    
      // Calculate a delta to apply to all fragments according to the delta in PDT times and start times
      // of a fragment in the reference details, and a fragment in the target details of the same discontinuity.
      // If a fragment of the same discontinuity was not found use the middle fragment of both.
      let refFrag;
      let frag;
      const targetCC = Math.min(refDetails.endCC, details.endCC);
      if (refDetails.startCC < targetCC && details.startCC < targetCC) {
        refFrag = findFirstFragWithCC(refFragments, targetCC);
        frag = findFirstFragWithCC(fragments, targetCC);
      }
      if (!refFrag || !frag) {
        refFrag = refFragments[Math.floor(refFragments.length / 2)];
        frag = findFirstFragWithCC(fragments, refFrag.cc) || fragments[Math.floor(fragments.length / 2)];
      }
      const refPDT = refFrag.programDateTime;
      const targetPDT = frag.programDateTime;
      if (!refPDT || !targetPDT) {
        return;
      }
      const delta = (targetPDT - refPDT) / 1000 - (frag.start - refFrag.start);
      adjustSlidingStart(delta, details);
    }
    
    function addEventListener(el, type, listener) {
      removeEventListener(el, type, listener);
      el.addEventListener(type, listener);
    }
    function removeEventListener(el, type, listener) {
      el.removeEventListener(type, listener);
    }
    
    /**
     *  TimeRanges to string helper
     */
    
    const TimeRanges = {
      toString: function (r) {
        let log = '';
        const len = r.length;
        for (let i = 0; i < len; i++) {
          log += `[${r.start(i).toFixed(3)}-${r.end(i).toFixed(3)}]`;
        }
        return log;
      }
    };
    
    const State = {
      STOPPED: 'STOPPED',
      IDLE: 'IDLE',
      KEY_LOADING: 'KEY_LOADING',
      FRAG_LOADING: 'FRAG_LOADING',
      FRAG_LOADING_WAITING_RETRY: 'FRAG_LOADING_WAITING_RETRY',
      WAITING_TRACK: 'WAITING_TRACK',
      PARSING: 'PARSING',
      PARSED: 'PARSED',
      ENDED: 'ENDED',
      ERROR: 'ERROR',
      WAITING_INIT_PTS: 'WAITING_INIT_PTS',
      WAITING_LEVEL: 'WAITING_LEVEL'
    };
    class BaseStreamController extends TaskLoop {
      constructor(hls, fragmentTracker, keyLoader, logPrefix, playlistType) {
        super(logPrefix, hls.logger);
        this.hls = void 0;
        this.fragPrevious = null;
        this.fragCurrent = null;
        this.fragmentTracker = void 0;
        this.transmuxer = null;
        this._state = State.STOPPED;
        this.playlistType = void 0;
        this.media = null;
        this.mediaBuffer = null;
        this.config = void 0;
        this.bitrateTest = false;
        this.lastCurrentTime = 0;
        this.nextLoadPosition = 0;
        this.startPosition = 0;
        this.startTimeOffset = null;
        this.retryDate = 0;
        this.levels = null;
        this.fragmentLoader = void 0;
        this.keyLoader = void 0;
        this.levelLastLoaded = null;
        this.startFragRequested = false;
        this.decrypter = void 0;
        this.initPTS = [];
        this.buffering = true;
        this.loadingParts = false;
        this.loopSn = void 0;
        this.onMediaSeeking = () => {
          const {
            config,
            fragCurrent,
            media,
            mediaBuffer,
            state
          } = this;
          const currentTime = media ? media.currentTime : 0;
          const bufferInfo = BufferHelper.bufferInfo(mediaBuffer ? mediaBuffer : media, currentTime, config.maxBufferHole);
          const noFowardBuffer = !bufferInfo.len;
          this.log(`Media seeking to ${isFiniteNumber(currentTime) ? currentTime.toFixed(3) : currentTime}, state: ${state}, ${noFowardBuffer ? 'out of' : 'in'} buffer`);
          if (this.state === State.ENDED) {
            this.resetLoadingState();
          } else if (fragCurrent) {
            // Seeking while frag load is in progress
            const tolerance = config.maxFragLookUpTolerance;
            const fragStartOffset = fragCurrent.start - tolerance;
            const fragEndOffset = fragCurrent.start + fragCurrent.duration + tolerance;
            // if seeking out of buffered range or into new one
            if (noFowardBuffer || fragEndOffset < bufferInfo.start || fragStartOffset > bufferInfo.end) {
              const pastFragment = currentTime > fragEndOffset;
              // if the seek position is outside the current fragment range
              if (currentTime < fragStartOffset || pastFragment) {
                if (pastFragment && fragCurrent.loader) {
                  this.log(`Cancelling fragment load for seek (sn: ${fragCurrent.sn})`);
                  fragCurrent.abortRequests();
                  this.resetLoadingState();
                }
                this.fragPrevious = null;
              }
            }
          }
          if (media) {
            // Remove gap fragments
            this.fragmentTracker.removeFragmentsInRange(currentTime, Infinity, this.playlistType, true);
    
            // Don't set lastCurrentTime with backward seeks (allows for frag selection with strict tolerances)
            const lastCurrentTime = this.lastCurrentTime;
            if (currentTime > lastCurrentTime) {
              this.lastCurrentTime = currentTime;
            }
            if (!this.loadingParts) {
              const bufferEnd = Math.max(bufferInfo.end, currentTime);
              const shouldLoadParts = this.shouldLoadParts(this.getLevelDetails(), bufferEnd);
              if (shouldLoadParts) {
                this.log(`LL-Part loading ON after seeking to ${currentTime.toFixed(2)} with buffer @${bufferEnd.toFixed(2)}`);
                this.loadingParts = shouldLoadParts;
              }
            }
          }
    
          // in case seeking occurs although no media buffered, adjust startPosition and nextLoadPosition to seek target
          if (!this.hls.hasEnoughToStart) {
            this.log(`Setting ${noFowardBuffer ? 'startPosition' : 'nextLoadPosition'} to ${currentTime} for seek without enough to start`);
            this.nextLoadPosition = currentTime;
            if (noFowardBuffer) {
              this.startPosition = currentTime;
            }
          }
          if (noFowardBuffer && this.state === State.IDLE) {
            // Async tick to speed up processing
            this.tickImmediate();
          }
        };
        this.onMediaEnded = () => {
          // reset startPosition and lastCurrentTime to restart playback @ stream beginning
          this.log(`setting startPosition to 0 because media ended`);
          this.startPosition = this.lastCurrentTime = 0;
        };
        this.playlistType = playlistType;
        this.hls = hls;
        this.fragmentLoader = new FragmentLoader(hls.config);
        this.keyLoader = keyLoader;
        this.fragmentTracker = fragmentTracker;
        this.config = hls.config;
        this.decrypter = new Decrypter(hls.config);
      }
      registerListeners() {
        const {
          hls
        } = this;
        hls.on(Events.MEDIA_ATTACHED, this.onMediaAttached, this);
        hls.on(Events.MEDIA_DETACHING, this.onMediaDetaching, this);
        hls.on(Events.MANIFEST_LOADING, this.onManifestLoading, this);
        hls.on(Events.MANIFEST_LOADED, this.onManifestLoaded, this);
        hls.on(Events.ERROR, this.onError, this);
      }
      unregisterListeners() {
        const {
          hls
        } = this;
        hls.off(Events.MEDIA_ATTACHED, this.onMediaAttached, this);
        hls.off(Events.MEDIA_DETACHING, this.onMediaDetaching, this);
        hls.off(Events.MANIFEST_LOADING, this.onManifestLoading, this);
        hls.off(Events.MANIFEST_LOADED, this.onManifestLoaded, this);
        hls.off(Events.ERROR, this.onError, this);
      }
      doTick() {
        this.onTickEnd();
      }
      onTickEnd() {}
      startLoad(startPosition) {}
      stopLoad() {
        if (this.state === State.STOPPED) {
          return;
        }
        this.fragmentLoader.abort();
        this.keyLoader.abort(this.playlistType);
        const frag = this.fragCurrent;
        if (frag != null && frag.loader) {
          frag.abortRequests();
          this.fragmentTracker.removeFragment(frag);
        }
        this.resetTransmuxer();
        this.fragCurrent = null;
        this.fragPrevious = null;
        this.clearInterval();
        this.clearNextTick();
        this.state = State.STOPPED;
      }
      get startPositionValue() {
        const {
          nextLoadPosition,
          startPosition
        } = this;
        if (startPosition === -1 && nextLoadPosition) {
          return nextLoadPosition;
        }
        return startPosition;
      }
      get bufferingEnabled() {
        return this.buffering;
      }
      pauseBuffering() {
        this.buffering = false;
      }
      resumeBuffering() {
        this.buffering = true;
      }
      get inFlightFrag() {
        return {
          frag: this.fragCurrent,
          state: this.state
        };
      }
      _streamEnded(bufferInfo, levelDetails) {
        // Stream is never "ended" when playlist is live or media is detached
        if (levelDetails.live || !this.media) {
          return false;
        }
        // Stream is not "ended" when nothing is buffered past the start
        const bufferEnd = bufferInfo.end || 0;
        const timelineStart = this.config.timelineOffset || 0;
        if (bufferEnd <= timelineStart) {
          return false;
        }
        // Stream is not "ended" when there is a second buffered range starting before the end of the playlist
        const bufferedRanges = bufferInfo.buffered;
        if (this.config.maxBufferHole && bufferedRanges && bufferedRanges.length > 1) {
          // make sure bufferInfo accounts for any gaps
          bufferInfo = BufferHelper.bufferedInfo(bufferedRanges, bufferInfo.start, 0);
        }
        const nextStart = bufferInfo.nextStart;
        const hasSecondBufferedRange = nextStart && nextStart > timelineStart && nextStart < levelDetails.edge;
        if (hasSecondBufferedRange) {
          return false;
        }
        // Playhead is in unbuffered region. Marking EoS now could result in Safari failing to dispatch "ended" event following seek on start.
        if (this.media.currentTime < bufferInfo.start) {
          return false;
        }
        const partList = levelDetails.partList;
        // Since the last part isn't guaranteed to correspond to the last playlist segment for Low-Latency HLS,
        // check instead if the last part is buffered.
        if (partList != null && partList.length) {
          const lastPart = partList[partList.length - 1];
    
          // Checking the midpoint of the part for potential margin of error and related issues.
          // NOTE: Technically I believe parts could yield content that is < the computed duration (including potential a duration of 0)
          // and still be spec-compliant, so there may still be edge cases here. Likewise, there could be issues in end of stream
          // part mismatches for independent audio and video playlists/segments.
          const lastPartBuffered = BufferHelper.isBuffered(this.media, lastPart.start + lastPart.duration / 2);
          return lastPartBuffered;
        }
        const playlistType = levelDetails.fragments[levelDetails.fragments.length - 1].type;
        return this.fragmentTracker.isEndListAppended(playlistType);
      }
      getLevelDetails() {
        if (this.levels && this.levelLastLoaded !== null) {
          return this.levelLastLoaded.details;
        }
      }
      get timelineOffset() {
        const configuredTimelineOffset = this.config.timelineOffset;
        if (configuredTimelineOffset) {
          var _this$getLevelDetails;
          return ((_this$getLevelDetails = this.getLevelDetails()) == null ? void 0 : _this$getLevelDetails.appliedTimelineOffset) || configuredTimelineOffset;
        }
        return 0;
      }
      onMediaAttached(event, data) {
        const media = this.media = this.mediaBuffer = data.media;
        addEventListener(media, 'seeking', this.onMediaSeeking);
        addEventListener(media, 'ended', this.onMediaEnded);
        const config = this.config;
        if (this.levels && config.autoStartLoad && this.state === State.STOPPED) {
          this.startLoad(config.startPosition);
        }
      }
      onMediaDetaching(event, data) {
        const transferringMedia = !!data.transferMedia;
        const media = this.media;
        if (media === null) {
          return;
        }
        if (media.ended) {
          this.log('MSE detaching and video ended, reset startPosition');
          this.startPosition = this.lastCurrentTime = 0;
        }
    
        // remove video listeners
        removeEventListener(media, 'seeking', this.onMediaSeeking);
        removeEventListener(media, 'ended', this.onMediaEnded);
        if (this.keyLoader && !transferringMedia) {
          this.keyLoader.detach();
        }
        this.media = this.mediaBuffer = null;
        this.loopSn = undefined;
        if (transferringMedia) {
          this.resetLoadingState();
          this.resetTransmuxer();
          return;
        }
        this.loadingParts = false;
        this.fragmentTracker.removeAllFragments();
        this.stopLoad();
      }
      onManifestLoading() {
        this.initPTS = [];
        this.levels = this.levelLastLoaded = this.fragCurrent = null;
        this.lastCurrentTime = this.startPosition = 0;
        this.startFragRequested = false;
      }
      onError(event, data) {}
      onManifestLoaded(event, data) {
        this.startTimeOffset = data.startTimeOffset;
      }
      onHandlerDestroying() {
        this.stopLoad();
        if (this.transmuxer) {
          this.transmuxer.destroy();
          this.transmuxer = null;
        }
        super.onHandlerDestroying();
        // @ts-ignore
        this.hls = this.onMediaSeeking = this.onMediaEnded = null;
      }
      onHandlerDestroyed() {
        this.state = State.STOPPED;
        if (this.fragmentLoader) {
          this.fragmentLoader.destroy();
        }
        if (this.keyLoader) {
          this.keyLoader.destroy();
        }
        if (this.decrypter) {
          this.decrypter.destroy();
        }
        this.hls = this.log = this.warn = this.decrypter = this.keyLoader = this.fragmentLoader = this.fragmentTracker = null;
        super.onHandlerDestroyed();
      }
      loadFragment(frag, level, targetBufferTime) {
        this.startFragRequested = true;
        this._loadFragForPlayback(frag, level, targetBufferTime);
      }
      _loadFragForPlayback(fragment, level, targetBufferTime) {
        const progressCallback = data => {
          const frag = data.frag;
          if (this.fragContextChanged(frag)) {
            this.warn(`${frag.type} sn: ${frag.sn}${data.part ? ' part: ' + data.part.index : ''} of ${this.fragInfo(frag, false, data.part)}) was dropped during download.`);
            this.fragmentTracker.removeFragment(frag);
            return;
          }
          frag.stats.chunkCount++;
          this._handleFragmentLoadProgress(data);
        };
        this._doFragLoad(fragment, level, targetBufferTime, progressCallback).then(data => {
          if (!data) {
            // if we're here we probably needed to backtrack or are waiting for more parts
            return;
          }
          const state = this.state;
          const frag = data.frag;
          if (this.fragContextChanged(frag)) {
            if (state === State.FRAG_LOADING || !this.fragCurrent && state === State.PARSING) {
              this.fragmentTracker.removeFragment(frag);
              this.state = State.IDLE;
            }
            return;
          }
          if ('payload' in data) {
            this.log(`Loaded ${frag.type} sn: ${frag.sn} of ${this.playlistLabel()} ${frag.level}`);
            this.hls.trigger(Events.FRAG_LOADED, data);
          }
    
          // Pass through the whole payload; controllers not implementing progressive loading receive data from this callback
          this._handleFragmentLoadComplete(data);
        }).catch(reason => {
          if (this.state === State.STOPPED || this.state === State.ERROR) {
            return;
          }
          this.warn(`Frag error: ${(reason == null ? void 0 : reason.message) || reason}`);
          this.resetFragmentLoading(fragment);
        });
      }
      clearTrackerIfNeeded(frag) {
        var _this$mediaBuffer;
        const {
          fragmentTracker
        } = this;
        const fragState = fragmentTracker.getState(frag);
        if (fragState === FragmentState.APPENDING) {
          // Lower the max buffer length and try again
          const playlistType = frag.type;
          const bufferedInfo = this.getFwdBufferInfo(this.mediaBuffer, playlistType);
          const minForwardBufferLength = Math.max(frag.duration, bufferedInfo ? bufferedInfo.len : this.config.maxBufferLength);
          // If backtracking, always remove from the tracker without reducing max buffer length
          const backtrackFragment = this.backtrackFragment;
          const backtracked = backtrackFragment ? frag.sn - backtrackFragment.sn : 0;
          if (backtracked === 1 || this.reduceMaxBufferLength(minForwardBufferLength, frag.duration)) {
            fragmentTracker.removeFragment(frag);
          }
        } else if (((_this$mediaBuffer = this.mediaBuffer) == null ? void 0 : _this$mediaBuffer.buffered.length) === 0) {
          // Stop gap for bad tracker / buffer flush behavior
          fragmentTracker.removeAllFragments();
        } else if (fragmentTracker.hasParts(frag.type)) {
          // In low latency mode, remove fragments for which only some parts were buffered
          fragmentTracker.detectPartialFragments({
            frag,
            part: null,
            stats: frag.stats,
            id: frag.type
          });
          if (fragmentTracker.getState(frag) === FragmentState.PARTIAL) {
            fragmentTracker.removeFragment(frag);
          }
        }
      }
      checkLiveUpdate(details) {
        if (details.updated && !details.live) {
          // Live stream ended, update fragment tracker
          const lastFragment = details.fragments[details.fragments.length - 1];
          this.fragmentTracker.detectPartialFragments({
            frag: lastFragment,
            part: null,
            stats: lastFragment.stats,
            id: lastFragment.type
          });
        }
        if (!details.fragments[0]) {
          details.deltaUpdateFailed = true;
        }
      }
      waitForLive(levelInfo) {
        const details = levelInfo.details;
        return (details == null ? void 0 : details.live) && details.type !== 'EVENT' && (this.levelLastLoaded !== levelInfo || details.expired);
      }
      flushMainBuffer(startOffset, endOffset, type = null) {
        if (!(startOffset - endOffset)) {
          return;
        }
        // When alternate audio is playing, the audio-stream-controller is responsible for the audio buffer. Otherwise,
        // passing a null type flushes both buffers
        const flushScope = {
          startOffset,
          endOffset,
          type
        };
        this.hls.trigger(Events.BUFFER_FLUSHING, flushScope);
      }
      _loadInitSegment(fragment, level) {
        this._doFragLoad(fragment, level).then(data => {
          const frag = data == null ? void 0 : data.frag;
          if (!frag || this.fragContextChanged(frag) || !this.levels) {
            throw new Error('init load aborted');
          }
          return data;
        }).then(data => {
          const {
            hls
          } = this;
          const {
            frag,
            payload
          } = data;
          const decryptData = frag.decryptdata;
    
          // check to see if the payload needs to be decrypted
          if (payload && payload.byteLength > 0 && decryptData != null && decryptData.key && decryptData.iv && isFullSegmentEncryption(decryptData.method)) {
            const startTime = self.performance.now();
            // decrypt init segment data
            return this.decrypter.decrypt(new Uint8Array(payload), decryptData.key.buffer, decryptData.iv.buffer, getAesModeFromFullSegmentMethod(decryptData.method)).catch(err => {
              hls.trigger(Events.ERROR, {
                type: ErrorTypes.MEDIA_ERROR,
                details: ErrorDetails.FRAG_DECRYPT_ERROR,
                fatal: false,
                error: err,
                reason: err.message,
                frag
              });
              throw err;
            }).then(decryptedData => {
              const endTime = self.performance.now();
              hls.trigger(Events.FRAG_DECRYPTED, {
                frag,
                payload: decryptedData,
                stats: {
                  tstart: startTime,
                  tdecrypt: endTime
                }
              });
              data.payload = decryptedData;
              return this.completeInitSegmentLoad(data);
            });
          }
          return this.completeInitSegmentLoad(data);
        }).catch(reason => {
          if (this.state === State.STOPPED || this.state === State.ERROR) {
            return;
          }
          this.warn(reason);
          this.resetFragmentLoading(fragment);
        });
      }
      completeInitSegmentLoad(data) {
        const {
          levels
        } = this;
        if (!levels) {
          throw new Error('init load aborted, missing levels');
        }
        const stats = data.frag.stats;
        if (this.state !== State.STOPPED) {
          this.state = State.IDLE;
        }
        data.frag.data = new Uint8Array(data.payload);
        stats.parsing.start = stats.buffering.start = self.performance.now();
        stats.parsing.end = stats.buffering.end = self.performance.now();
        this.tick();
      }
      unhandledEncryptionError(initSegment, frag) {
        var _tracks$audio, _tracks$video;
        const tracks = initSegment.tracks;
        if (tracks && !frag.encrypted && ((_tracks$audio = tracks.audio) != null && _tracks$audio.encrypted || (_tracks$video = tracks.video) != null && _tracks$video.encrypted) && (!this.config.emeEnabled || !this.keyLoader.emeController)) {
          const media = this.media;
          const error = new Error(`Encrypted track with no key in ${this.fragInfo(frag)} (media ${media ? 'attached mediaKeys: ' + media.mediaKeys : 'detached'})` );
          this.warn(error.message);
          // Ignore if media is detached or mediaKeys are set
          if (!media || media.mediaKeys) {
            return false;
          }
          this.hls.trigger(Events.ERROR, {
            type: ErrorTypes.KEY_SYSTEM_ERROR,
            details: ErrorDetails.KEY_SYSTEM_NO_KEYS,
            fatal: false,
            error,
            frag
          });
          this.resetTransmuxer();
          return true;
        }
        return false;
      }
      fragContextChanged(frag) {
        const {
          fragCurrent
        } = this;
        return !frag || !fragCurrent || frag.sn !== fragCurrent.sn || frag.level !== fragCurrent.level;
      }
      fragBufferedComplete(frag, part) {
        const media = this.mediaBuffer ? this.mediaBuffer : this.media;
        this.log(`Buffered ${frag.type} sn: ${frag.sn}${part ? ' part: ' + part.index : ''} of ${this.fragInfo(frag, false, part)} > buffer:${media ? TimeRanges.toString(BufferHelper.getBuffered(media)) : '(detached)'})`);
        if (isMediaFragment(frag)) {
          var _this$levels;
          if (frag.type !== PlaylistLevelType.SUBTITLE) {
            const el = frag.elementaryStreams;
            if (!Object.keys(el).some(type => !!el[type])) {
              // empty segment
              this.state = State.IDLE;
              return;
            }
          }
          const level = (_this$levels = this.levels) == null ? void 0 : _this$levels[frag.level];
          if (level != null && level.fragmentError) {
            this.log(`Resetting level fragment error count of ${level.fragmentError} on frag buffered`);
            level.fragmentError = 0;
          }
        }
        this.state = State.IDLE;
      }
      _handleFragmentLoadComplete(fragLoadedEndData) {
        const {
          transmuxer
        } = this;
        if (!transmuxer) {
          return;
        }
        const {
          frag,
          part,
          partsLoaded
        } = fragLoadedEndData;
        // If we did not load parts, or loaded all parts, we have complete (not partial) fragment data
        const complete = !partsLoaded || partsLoaded.length === 0 || partsLoaded.some(fragLoaded => !fragLoaded);
        const chunkMeta = new ChunkMetadata(frag.level, frag.sn, frag.stats.chunkCount + 1, 0, part ? part.index : -1, !complete);
        transmuxer.flush(chunkMeta);
      }
      _handleFragmentLoadProgress(frag) {}
      _doFragLoad(frag, level, targetBufferTime = null, progressCallback) {
        var _frag$decryptdata;
        this.fragCurrent = frag;
        const details = level.details;
        if (!this.levels || !details) {
          throw new Error(`frag load aborted, missing level${details ? '' : ' detail'}s`);
        }
        let keyLoadingPromise = null;
        if (frag.encrypted && !((_frag$decryptdata = frag.decryptdata) != null && _frag$decryptdata.key)) {
          this.log(`Loading key for ${frag.sn} of [${details.startSN}-${details.endSN}], ${this.playlistLabel()} ${frag.level}`);
          this.state = State.KEY_LOADING;
          this.fragCurrent = frag;
          keyLoadingPromise = this.keyLoader.load(frag).then(keyLoadedData => {
            if (!this.fragContextChanged(keyLoadedData.frag)) {
              this.hls.trigger(Events.KEY_LOADED, keyLoadedData);
              if (this.state === State.KEY_LOADING) {
                this.state = State.IDLE;
              }
              return keyLoadedData;
            }
          });
          this.hls.trigger(Events.KEY_LOADING, {
            frag
          });
          if (this.fragCurrent === null) {
            this.log(`context changed in KEY_LOADING`);
            return Promise.resolve(null);
          }
        } else if (!frag.encrypted) {
          keyLoadingPromise = this.keyLoader.loadClear(frag, details.encryptedFragments, this.startFragRequested);
          if (keyLoadingPromise) {
            this.log(`[eme] blocking frag load until media-keys acquired`);
          }
        }
        const fragPrevious = this.fragPrevious;
        if (isMediaFragment(frag) && (!fragPrevious || frag.sn !== fragPrevious.sn)) {
          const shouldLoadParts = this.shouldLoadParts(level.details, frag.end);
          if (shouldLoadParts !== this.loadingParts) {
            this.log(`LL-Part loading ${shouldLoadParts ? 'ON' : 'OFF'} loading sn ${fragPrevious == null ? void 0 : fragPrevious.sn}->${frag.sn}`);
            this.loadingParts = shouldLoadParts;
          }
        }
        targetBufferTime = Math.max(frag.start, targetBufferTime || 0);
        if (this.loadingParts && isMediaFragment(frag)) {
          const partList = details.partList;
          if (partList && progressCallback) {
            if (targetBufferTime > details.fragmentEnd && details.fragmentHint) {
              frag = details.fragmentHint;
            }
            const partIndex = this.getNextPart(partList, frag, targetBufferTime);
            if (partIndex > -1) {
              const part = partList[partIndex];
              frag = this.fragCurrent = part.fragment;
              this.log(`Loading ${frag.type} sn: ${frag.sn} part: ${part.index} (${partIndex}/${partList.length - 1}) of ${this.fragInfo(frag, false, part)}) cc: ${frag.cc} [${details.startSN}-${details.endSN}], target: ${parseFloat(targetBufferTime.toFixed(3))}`);
              this.nextLoadPosition = part.start + part.duration;
              this.state = State.FRAG_LOADING;
              let _result;
              if (keyLoadingPromise) {
                _result = keyLoadingPromise.then(keyLoadedData => {
                  if (!keyLoadedData || this.fragContextChanged(keyLoadedData.frag)) {
                    return null;
                  }
                  return this.doFragPartsLoad(frag, part, level, progressCallback);
                }).catch(error => this.handleFragLoadError(error));
              } else {
                _result = this.doFragPartsLoad(frag, part, level, progressCallback).catch(error => this.handleFragLoadError(error));
              }
              this.hls.trigger(Events.FRAG_LOADING, {
                frag,
                part,
                targetBufferTime
              });
              if (this.fragCurrent === null) {
                return Promise.reject(new Error(`frag load aborted, context changed in FRAG_LOADING parts`));
              }
              return _result;
            } else if (!frag.url || this.loadedEndOfParts(partList, targetBufferTime)) {
              // Fragment hint has no parts
              return Promise.resolve(null);
            }
          }
        }
        if (isMediaFragment(frag) && this.loadingParts) {
          var _details$partList;
          this.log(`LL-Part loading OFF after next part miss @${targetBufferTime.toFixed(2)} Check buffer at sn: ${frag.sn} loaded parts: ${(_details$partList = details.partList) == null ? void 0 : _details$partList.filter(p => p.loaded).map(p => `[${p.start}-${p.end}]`)}`);
          this.loadingParts = false;
        } else if (!frag.url) {
          // Selected fragment hint for part but not loading parts
          return Promise.resolve(null);
        }
        this.log(`Loading ${frag.type} sn: ${frag.sn} of ${this.fragInfo(frag, false)}) cc: ${frag.cc} ${'[' + details.startSN + '-' + details.endSN + ']'}, target: ${parseFloat(targetBufferTime.toFixed(3))}`);
        // Don't update nextLoadPosition for fragments which are not buffered
        if (isFiniteNumber(frag.sn) && !this.bitrateTest) {
          this.nextLoadPosition = frag.start + frag.duration;
        }
        this.state = State.FRAG_LOADING;
    
        // Load key before streaming fragment data
        const dataOnProgress = this.config.progressive && frag.type !== PlaylistLevelType.SUBTITLE;
        let result;
        if (dataOnProgress && keyLoadingPromise) {
          result = keyLoadingPromise.then(keyLoadedData => {
            if (!keyLoadedData || this.fragContextChanged(keyLoadedData.frag)) {
              return null;
            }
            return this.fragmentLoader.load(frag, progressCallback);
          }).catch(error => this.handleFragLoadError(error));
        } else {
          // load unencrypted fragment data with progress event,
          // or handle fragment result after key and fragment are finished loading
          result = Promise.all([this.fragmentLoader.load(frag, dataOnProgress ? progressCallback : undefined), keyLoadingPromise]).then(([fragLoadedData]) => {
            if (!dataOnProgress && progressCallback) {
              progressCallback(fragLoadedData);
            }
            return fragLoadedData;
          }).catch(error => this.handleFragLoadError(error));
        }
        this.hls.trigger(Events.FRAG_LOADING, {
          frag,
          targetBufferTime
        });
        if (this.fragCurrent === null) {
          return Promise.reject(new Error(`frag load aborted, context changed in FRAG_LOADING`));
        }
        return result;
      }
      doFragPartsLoad(frag, fromPart, level, progressCallback) {
        return new Promise((resolve, reject) => {
          var _level$details;
          const partsLoaded = [];
          const initialPartList = (_level$details = level.details) == null ? void 0 : _level$details.partList;
          const loadPart = part => {
            this.fragmentLoader.loadPart(frag, part, progressCallback).then(partLoadedData => {
              partsLoaded[part.index] = partLoadedData;
              const loadedPart = partLoadedData.part;
              this.hls.trigger(Events.FRAG_LOADED, partLoadedData);
              const nextPart = getPartWith(level.details, frag.sn, part.index + 1) || findPart(initialPartList, frag.sn, part.index + 1);
              if (nextPart) {
                loadPart(nextPart);
              } else {
                return resolve({
                  frag,
                  part: loadedPart,
                  partsLoaded
                });
              }
            }).catch(reject);
          };
          loadPart(fromPart);
        });
      }
      handleFragLoadError(error) {
        if ('data' in error) {
          const data = error.data;
          if (data.frag && data.details === ErrorDetails.INTERNAL_ABORTED) {
            this.handleFragLoadAborted(data.frag, data.part);
          } else if (data.frag && data.type === ErrorTypes.KEY_SYSTEM_ERROR) {
            data.frag.abortRequests();
            this.resetStartWhenNotLoaded();
            this.resetFragmentLoading(data.frag);
          } else {
            this.hls.trigger(Events.ERROR, data);
          }
        } else {
          this.hls.trigger(Events.ERROR, {
            type: ErrorTypes.OTHER_ERROR,
            details: ErrorDetails.INTERNAL_EXCEPTION,
            err: error,
            error,
            fatal: true
          });
        }
        return null;
      }
      _handleTransmuxerFlush(chunkMeta) {
        const context = this.getCurrentContext(chunkMeta);
        if (!context || this.state !== State.PARSING) {
          if (!this.fragCurrent && this.state !== State.STOPPED && this.state !== State.ERROR) {
            this.state = State.IDLE;
          }
          return;
        }
        const {
          frag,
          part,
          level
        } = context;
        const now = self.performance.now();
        frag.stats.parsing.end = now;
        if (part) {
          part.stats.parsing.end = now;
        }
        // See if part loading should be disabled/enabled based on buffer and playback position.
        const levelDetails = this.getLevelDetails();
        const loadingPartsAtEdge = levelDetails && frag.sn > levelDetails.endSN;
        const shouldLoadParts = loadingPartsAtEdge || this.shouldLoadParts(levelDetails, frag.end);
        if (shouldLoadParts !== this.loadingParts) {
          this.log(`LL-Part loading ${shouldLoadParts ? 'ON' : 'OFF'} after parsing segment ending @${frag.end.toFixed(2)}`);
          this.loadingParts = shouldLoadParts;
        }
        this.updateLevelTiming(frag, part, level, chunkMeta.partial);
      }
      shouldLoadParts(details, bufferEnd) {
        if (this.config.lowLatencyMode) {
          if (!details) {
            return this.loadingParts;
          }
          if (details.partList) {
            var _details$fragmentHint;
            // Buffer must be ahead of first part + duration of parts after last segment
            // and playback must be at or past segment adjacent to part list
            const firstPart = details.partList[0];
            // Loading of VTT subtitle parts is not implemented in subtitle-stream-controller (#7460)
            if (firstPart.fragment.type === PlaylistLevelType.SUBTITLE) {
              return false;
            }
            const safePartStart = firstPart.end + (((_details$fragmentHint = details.fragmentHint) == null ? void 0 : _details$fragmentHint.duration) || 0);
            if (bufferEnd >= safePartStart) {
              var _this$media;
              const playhead = this.hls.hasEnoughToStart ? ((_this$media = this.media) == null ? void 0 : _this$media.currentTime) || this.lastCurrentTime : this.getLoadPosition();
              if (playhead > firstPart.start - firstPart.fragment.duration) {
                return true;
              }
            }
          }
        }
        return false;
      }
      getCurrentContext(chunkMeta) {
        const {
          levels,
          fragCurrent
        } = this;
        const {
          level: levelIndex,
          sn,
          part: partIndex
        } = chunkMeta;
        if (!(levels != null && levels[levelIndex])) {
          this.warn(`Levels object was unset while buffering fragment ${sn} of ${this.playlistLabel()} ${levelIndex}. The current chunk will not be buffered.`);
          return null;
        }
        const level = levels[levelIndex];
        const levelDetails = level.details;
        const part = partIndex > -1 ? getPartWith(levelDetails, sn, partIndex) : null;
        const frag = part ? part.fragment : getFragmentWithSN(levelDetails, sn, fragCurrent);
        if (!frag) {
          return null;
        }
        if (fragCurrent && fragCurrent !== frag) {
          frag.stats = fragCurrent.stats;
        }
        return {
          frag,
          part,
          level
        };
      }
      bufferFragmentData(data, frag, part, chunkMeta, noBacktracking) {
        if (this.state !== State.PARSING) {
          return;
        }
        const {
          data1,
          data2
        } = data;
        let buffer = data1;
        if (data2) {
          // Combine the moof + mdat so that we buffer with a single append
          buffer = appendUint8Array(data1, data2);
        }
        if (!buffer.length) {
          return;
        }
        const offsetTimestamp = this.initPTS[frag.cc];
        const offset = offsetTimestamp ? -offsetTimestamp.baseTime / offsetTimestamp.timescale : undefined;
        const segment = {
          type: data.type,
          frag,
          part,
          chunkMeta,
          offset,
          parent: frag.type,
          data: buffer
        };
        this.hls.trigger(Events.BUFFER_APPENDING, segment);
        if (data.dropped && data.independent && !part) {
          if (noBacktracking) {
            return;
          }
          // Clear buffer so that we reload previous segments sequentially if required
          this.flushBufferGap(frag);
        }
      }
      flushBufferGap(frag) {
        const media = this.media;
        if (!media) {
          return;
        }
        // If currentTime is not buffered, clear the back buffer so that we can backtrack as much as needed
        if (!BufferHelper.isBuffered(media, media.currentTime)) {
          this.flushMainBuffer(0, frag.start);
          return;
        }
        // Remove back-buffer without interrupting playback to allow back tracking
        const currentTime = media.currentTime;
        const bufferInfo = BufferHelper.bufferInfo(media, currentTime, 0);
        const fragDuration = frag.duration;
        const segmentFraction = Math.min(this.config.maxFragLookUpTolerance * 2, fragDuration * 0.25);
        const start = Math.max(Math.min(frag.start - segmentFraction, bufferInfo.end - segmentFraction), currentTime + segmentFraction);
        if (frag.start - start > segmentFraction) {
          this.flushMainBuffer(start, frag.start);
        }
      }
      getFwdBufferInfo(bufferable, type) {
        var _this$media2;
        const pos = this.getLoadPosition();
        if (!isFiniteNumber(pos)) {
          return null;
        }
        const backwardSeek = this.lastCurrentTime > pos;
        const maxBufferHole = backwardSeek || (_this$media2 = this.media) != null && _this$media2.paused ? 0 : this.config.maxBufferHole;
        return this.getFwdBufferInfoAtPos(bufferable, pos, type, maxBufferHole);
      }
      getFwdBufferInfoAtPos(bufferable, pos, type, maxBufferHole) {
        const bufferInfo = BufferHelper.bufferInfo(bufferable, pos, maxBufferHole);
        // Workaround flaw in getting forward buffer when maxBufferHole is smaller than gap at current pos
        if (bufferInfo.len === 0 && bufferInfo.nextStart !== undefined) {
          const bufferedFragAtPos = this.fragmentTracker.getBufferedFrag(pos, type);
          if (bufferedFragAtPos && (bufferInfo.nextStart <= bufferedFragAtPos.end || bufferedFragAtPos.gap)) {
            const gapDuration = Math.max(Math.min(bufferInfo.nextStart, bufferedFragAtPos.end) - pos, maxBufferHole);
            return BufferHelper.bufferInfo(bufferable, pos, gapDuration);
          }
        }
        return bufferInfo;
      }
      getMaxBufferLength(levelBitrate) {
        const {
          config
        } = this;
        let maxBufLen;
        if (levelBitrate) {
          maxBufLen = Math.max(8 * config.maxBufferSize / levelBitrate, config.maxBufferLength);
        } else {
          maxBufLen = config.maxBufferLength;
        }
        return Math.min(maxBufLen, config.maxMaxBufferLength);
      }
      reduceMaxBufferLength(threshold, fragDuration) {
        const config = this.config;
        const minLength = Math.max(Math.min(threshold - fragDuration, config.maxBufferLength), fragDuration);
        const reducedLength = Math.max(threshold - fragDuration * 3, config.maxMaxBufferLength / 2, minLength);
        if (reducedLength >= minLength) {
          // reduce max buffer length as it might be too high. we do this to avoid loop flushing ...
          config.maxMaxBufferLength = reducedLength;
          this.warn(`Reduce max buffer length to ${reducedLength}s`);
          return true;
        }
        return false;
      }
      getAppendedFrag(position, playlistType = PlaylistLevelType.MAIN) {
        const fragOrPart = this.fragmentTracker ? this.fragmentTracker.getAppendedFrag(position, playlistType) : null;
        if (fragOrPart && 'fragment' in fragOrPart) {
          return fragOrPart.fragment;
        }
        return fragOrPart;
      }
      getNextFragment(pos, levelDetails) {
        const fragments = levelDetails.fragments;
        const fragLen = fragments.length;
        if (!fragLen) {
          return null;
        }
    
        // find fragment index, contiguous with end of buffer position
        const {
          config
        } = this;
        const start = fragments[0].start;
        const canLoadParts = config.lowLatencyMode && !!levelDetails.partList;
        let frag = null;
        if (levelDetails.live) {
          const initialLiveManifestSize = config.initialLiveManifestSize;
          if (fragLen < initialLiveManifestSize) {
            this.warn(`Not enough fragments to start playback (have: ${fragLen}, need: ${initialLiveManifestSize})`);
            return null;
          }
          // The real fragment start times for a live stream are only known after the PTS range for that level is known.
          // In order to discover the range, we load the best matching fragment for that level and demux it.
          // Do not load using live logic if the starting frag is requested - we want to use getFragmentAtPosition() so that
          // we get the fragment matching that start time
          if (!levelDetails.PTSKnown && !this.startFragRequested && this.startPosition === -1 || pos < start) {
            var _frag;
            if (canLoadParts && !this.loadingParts) {
              this.log(`LL-Part loading ON for initial live fragment`);
              this.loadingParts = true;
            }
            frag = this.getInitialLiveFragment(levelDetails);
            const mainStart = this.hls.startPosition;
            const liveSyncPosition = this.hls.liveSyncPosition;
            const startPosition = frag ? (mainStart !== -1 && mainStart >= start ? mainStart : liveSyncPosition) || frag.start : pos;
            this.log(`Setting startPosition to ${startPosition} to match start frag at live edge. mainStart: ${mainStart} liveSyncPosition: ${liveSyncPosition} frag.start: ${(_frag = frag) == null ? void 0 : _frag.start}`);
            this.startPosition = this.nextLoadPosition = startPosition;
          }
        } else if (pos <= start) {
          // VoD playlist: if loadPosition before start of playlist, load first fragment
          frag = fragments[0];
        }
    
        // If we haven't run into any special cases already, just load the fragment most closely matching the requested position
        if (!frag) {
          const end = this.loadingParts ? levelDetails.partEnd : levelDetails.fragmentEnd;
          frag = this.getFragmentAtPosition(pos, end, levelDetails);
        }
        let programFrag = this.filterReplacedPrimary(frag, levelDetails);
        if (!programFrag && frag) {
          const curSNIdx = frag.sn - levelDetails.startSN;
          programFrag = this.filterReplacedPrimary(fragments[curSNIdx + 1] || null, levelDetails);
        }
        return this.mapToInitFragWhenRequired(programFrag);
      }
      isLoopLoading(frag, targetBufferTime) {
        const trackerState = this.fragmentTracker.getState(frag);
        return (trackerState === FragmentState.OK || trackerState === FragmentState.PARTIAL && !!frag.gap) && this.nextLoadPosition > targetBufferTime;
      }
      getNextFragmentLoopLoading(frag, levelDetails, bufferInfo, playlistType, maxBufLen) {
        let nextFragment = null;
        if (frag.gap) {
          nextFragment = this.getNextFragment(this.nextLoadPosition, levelDetails);
          if (nextFragment && !nextFragment.gap && bufferInfo.nextStart) {
            // Media buffered after GAP tags should not make the next buffer timerange exceed forward buffer length
            const nextbufferInfo = this.getFwdBufferInfoAtPos(this.mediaBuffer ? this.mediaBuffer : this.media, bufferInfo.nextStart, playlistType, 0);
            if (nextbufferInfo !== null && bufferInfo.len + nextbufferInfo.len >= maxBufLen) {
              // Returning here might result in not finding an audio and video candiate to skip to
              const sn = nextFragment.sn;
              if (this.loopSn !== sn) {
                this.log(`buffer full after gaps in "${playlistType}" playlist starting at sn: ${sn}`);
                this.loopSn = sn;
              }
              return null;
            }
          }
        }
        this.loopSn = undefined;
        return nextFragment;
      }
      get primaryPrefetch() {
        if (interstitialsEnabled(this.config)) {
          var _this$hls$interstitia;
          const playingInterstitial = (_this$hls$interstitia = this.hls.interstitialsManager) == null || (_this$hls$interstitia = _this$hls$interstitia.playingItem) == null ? void 0 : _this$hls$interstitia.event;
          if (playingInterstitial) {
            return true;
          }
        }
        return false;
      }
      filterReplacedPrimary(frag, details) {
        if (!frag) {
          return frag;
        }
        if (interstitialsEnabled(this.config) && frag.type !== PlaylistLevelType.SUBTITLE) {
          // Do not load fragments outside the buffering schedule segment
          const interstitials = this.hls.interstitialsManager;
          const bufferingItem = interstitials == null ? void 0 : interstitials.bufferingItem;
          if (bufferingItem) {
            const bufferingInterstitial = bufferingItem.event;
            if (bufferingInterstitial) {
              // Do not stream fragments while buffering Interstitial Events (except for overlap at the start)
              if (bufferingInterstitial.appendInPlace || Math.abs(frag.start - bufferingItem.start) > 1 || bufferingItem.start === 0) {
                return null;
              }
            } else {
              // Limit fragment loading to media in schedule item
              if (frag.end <= bufferingItem.start && (details == null ? void 0 : details.live) === false) {
                // fragment ends by schedule item start
                // this.fragmentTracker.fragBuffered(frag, true);
                return null;
              }
              if (frag.start > bufferingItem.end && bufferingItem.nextEvent) {
                // fragment is past schedule item end
                // allow some overflow when not appending in place to prevent stalls
                if (bufferingItem.nextEvent.appendInPlace || frag.start - bufferingItem.end > 1) {
                  return null;
                }
              }
            }
          }
          // Skip loading of fragments that overlap completely with appendInPlace interstitials
          const playerQueue = interstitials == null ? void 0 : interstitials.playerQueue;
          if (playerQueue) {
            for (let i = playerQueue.length; i--;) {
              const interstitial = playerQueue[i].interstitial;
              if (interstitial.appendInPlace && frag.start >= interstitial.startTime && frag.end <= interstitial.resumeTime) {
                return null;
              }
            }
          }
        }
        return frag;
      }
      mapToInitFragWhenRequired(frag) {
        // If an initSegment is present, it must be buffered first
        if (frag != null && frag.initSegment && !frag.initSegment.data && !this.bitrateTest) {
          return frag.initSegment;
        }
        return frag;
      }
      getNextPart(partList, frag, targetBufferTime) {
        let nextPart = -1;
        let contiguous = false;
        let independentAttrOmitted = true;
        for (let i = 0, len = partList.length; i < len; i++) {
          const part = partList[i];
          independentAttrOmitted = independentAttrOmitted && !part.independent;
          if (nextPart > -1 && targetBufferTime < part.start) {
            break;
          }
          const loaded = part.loaded;
          if (loaded) {
            nextPart = -1;
          } else if (contiguous || (part.independent || independentAttrOmitted) && part.fragment === frag) {
            if (part.fragment !== frag) {
              this.warn(`Need buffer at ${targetBufferTime} but next unloaded part starts at ${part.start}`);
            }
            nextPart = i;
          }
          contiguous = loaded;
        }
        return nextPart;
      }
      loadedEndOfParts(partList, targetBufferTime) {
        let part;
        for (let i = partList.length; i--;) {
          part = partList[i];
          if (!part.loaded) {
            return false;
          }
          if (targetBufferTime > part.start) {
            return true;
          }
        }
        return false;
      }
    
      /*
       This method is used find the best matching first fragment for a live playlist. This fragment is used to calculate the
       "sliding" of the playlist, which is its offset from the start of playback. After sliding we can compute the real
       start and end times for each fragment in the playlist (after which this method will not need to be called).
      */
      getInitialLiveFragment(levelDetails) {
        const fragments = levelDetails.fragments;
        const fragPrevious = this.fragPrevious;
        let frag = null;
        if (fragPrevious) {
          if (levelDetails.hasProgramDateTime) {
            // Prefer using PDT, because it can be accurate enough to choose the correct fragment without knowing the level sliding
            this.log(`Live playlist, switching playlist, load frag with same PDT: ${fragPrevious.programDateTime}`);
            frag = findFragmentByPDT(fragments, fragPrevious.endProgramDateTime, this.config.maxFragLookUpTolerance);
          }
          if (!frag) {
            // SN does not need to be accurate between renditions, but depending on the packaging it may be so.
            const targetSN = fragPrevious.sn + 1;
            if (targetSN >= levelDetails.startSN && targetSN <= levelDetails.endSN) {
              const fragNext = fragments[targetSN - levelDetails.startSN];
              // Ensure that we're staying within the continuity range, since PTS resets upon a new range
              if (fragPrevious.cc === fragNext.cc) {
                frag = fragNext;
                this.log(`Live playlist, switching playlist, load frag with next SN: ${frag.sn}`);
              }
            }
            // It's important to stay within the continuity range if available; otherwise the fragments in the playlist
            // will have the wrong start times
            if (!frag) {
              frag = findNearestWithCC(levelDetails, fragPrevious.cc, fragPrevious.end);
              if (frag) {
                this.log(`Live playlist, switching playlist, load frag with same CC: ${frag.sn}`);
              }
            }
          }
        } else {
          // Find a new start fragment when fragPrevious is null
          const liveStart = this.hls.liveSyncPosition;
          if (liveStart !== null) {
            frag = this.getFragmentAtPosition(liveStart, this.bitrateTest ? levelDetails.fragmentEnd : levelDetails.edge, levelDetails);
          }
        }
        return frag;
      }
    
      /*
      This method finds the best matching fragment given the provided position.
       */
      getFragmentAtPosition(bufferEnd, end, levelDetails) {
        const {
          config
        } = this;
        let {
          fragPrevious
        } = this;
        let {
          fragments,
          endSN
        } = levelDetails;
        const {
          fragmentHint
        } = levelDetails;
        const {
          maxFragLookUpTolerance
        } = config;
        const partList = levelDetails.partList;
        const loadingParts = !!(this.loadingParts && partList != null && partList.length && fragmentHint);
        if (loadingParts && !this.bitrateTest && partList[partList.length - 1].fragment.sn === fragmentHint.sn) {
          // Include incomplete fragment with parts at end
          fragments = fragments.concat(fragmentHint);
          endSN = fragmentHint.sn;
        }
        let frag;
        if (bufferEnd < end) {
          var _this$media3;
          const backwardSeek = bufferEnd < this.lastCurrentTime;
          const lookupTolerance = backwardSeek || bufferEnd > end - maxFragLookUpTolerance || (_this$media3 = this.media) != null && _this$media3.paused || !this.startFragRequested ? 0 : maxFragLookUpTolerance;
          // Remove the tolerance if it would put the bufferEnd past the actual end of stream
          // Uses buffer and sequence number to calculate switch segment (required if using EXT-X-DISCONTINUITY-SEQUENCE)
          frag = findFragmentByPTS(fragPrevious, fragments, bufferEnd, lookupTolerance);
        } else {
          // reach end of playlist
          frag = fragments[fragments.length - 1];
        }
        if (frag) {
          const curSNIdx = frag.sn - levelDetails.startSN;
          // Move fragPrevious forward to support forcing the next fragment to load
          // when the buffer catches up to a previously buffered range.
          const fragState = this.fragmentTracker.getState(frag);
          if (fragState === FragmentState.OK || fragState === FragmentState.PARTIAL && frag.gap) {
            fragPrevious = frag;
          }
          if (fragPrevious && frag.sn === fragPrevious.sn && (!loadingParts || partList[0].fragment.sn > frag.sn || !levelDetails.live)) {
            // Force the next fragment to load if the previous one was already selected. This can occasionally happen with
            // non-uniform fragment durations
            const sameLevel = frag.level === fragPrevious.level;
            if (sameLevel) {
              const nextFrag = fragments[curSNIdx + 1];
              if (frag.sn < endSN && this.fragmentTracker.getState(nextFrag) !== FragmentState.OK) {
                frag = nextFrag;
              } else {
                frag = null;
              }
            }
          }
        }
        return frag;
      }
      alignPlaylists(details, previousDetails, switchDetails) {
        // TODO: If not for `shouldAlignOnDiscontinuities` requiring fragPrevious.cc,
        //  this could all go in level-helper mergeDetails()
        const length = details.fragments.length;
        if (!length) {
          this.warn(`No fragments in live playlist`);
          return 0;
        }
        const slidingStart = details.fragmentStart;
        const firstLevelLoad = !previousDetails;
        const aligned = details.alignedSliding && isFiniteNumber(slidingStart);
        if (firstLevelLoad || !aligned && !slidingStart) {
          alignStream(switchDetails, details);
          const alignedSlidingStart = details.fragmentStart;
          this.log(`Live playlist sliding: ${alignedSlidingStart.toFixed(2)} start-sn: ${previousDetails ? previousDetails.startSN : 'na'}->${details.startSN} fragments: ${length}`);
          return alignedSlidingStart;
        }
        return slidingStart;
      }
      waitForCdnTuneIn(details) {
        // Wait for Low-Latency CDN Tune-in to get an updated playlist
        const advancePartLimit = 3;
        return details.live && details.canBlockReload && details.partTarget && details.tuneInGoal > Math.max(details.partHoldBack, details.partTarget * advancePartLimit);
      }
      setStartPosition(details, sliding) {
        // compute start position if set to -1. use it straight away if value is defined
        let startPosition = this.startPosition;
        if (startPosition < sliding) {
          startPosition = -1;
        }
        const timelineOffset = this.timelineOffset;
        if (startPosition === -1) {
          // Use Playlist EXT-X-START:TIME-OFFSET when set
          // Prioritize Multivariant Playlist offset so that main, audio, and subtitle stream-controller start times match
          const offsetInMultivariantPlaylist = this.startTimeOffset !== null;
          const startTimeOffset = offsetInMultivariantPlaylist ? this.startTimeOffset : details.startTimeOffset;
          if (startTimeOffset !== null && isFiniteNumber(startTimeOffset)) {
            startPosition = sliding + startTimeOffset;
            if (startTimeOffset < 0) {
              startPosition += details.edge;
            }
            startPosition = Math.min(Math.max(sliding, startPosition), sliding + details.totalduration);
            this.log(`Setting startPosition to ${startPosition} for start time offset ${startTimeOffset} found in ${offsetInMultivariantPlaylist ? 'multivariant' : 'media'} playlist`);
            this.startPosition = startPosition;
          } else if (details.live) {
            // Leave this.startPosition at -1, so that we can use `getInitialLiveFragment` logic when startPosition has
            // not been specified via the config or an as an argument to startLoad (#3736).
            startPosition = this.hls.liveSyncPosition || sliding;
            this.log(`Setting startPosition to -1 to start at live edge ${startPosition}`);
            this.startPosition = -1;
          } else {
            this.log(`setting startPosition to 0 by default`);
            this.startPosition = startPosition = 0;
          }
          this.lastCurrentTime = startPosition + timelineOffset;
        }
        this.nextLoadPosition = startPosition + timelineOffset;
      }
      getLoadPosition() {
        var _this$hls;
        const {
          media
        } = this;
        // if we have not yet loaded any fragment, start loading from start position
        let pos = 0;
        if ((_this$hls = this.hls) != null && _this$hls.hasEnoughToStart && media) {
          pos = media.currentTime;
        } else if (this.nextLoadPosition >= 0) {
          pos = this.nextLoadPosition;
        }
        return pos;
      }
      handleFragLoadAborted(frag, part) {
        if (this.transmuxer && frag.type === this.playlistType && isMediaFragment(frag) && frag.stats.aborted) {
          this.log(`Fragment ${frag.sn}${part ? ' part ' + part.index : ''} of ${this.playlistLabel()} ${frag.level} was aborted`);
          this.resetFragmentLoading(frag);
        }
      }
      resetFragmentLoading(frag) {
        if (!this.fragCurrent || !this.fragContextChanged(frag) && this.state !== State.FRAG_LOADING_WAITING_RETRY) {
          this.state = State.IDLE;
        }
      }
      onFragmentOrKeyLoadError(filterType, data) {
        var _this$hls$latestLevel;
        if (data.chunkMeta && !data.frag) {
          const context = this.getCurrentContext(data.chunkMeta);
          if (context) {
            data.frag = context.frag;
          }
        }
        const frag = data.frag;
        // Handle frag error related to caller's filterType
        if (!frag || frag.type !== filterType || !this.levels) {
          return;
        }
        if (this.fragContextChanged(frag)) {
          var _this$fragCurrent;
          this.warn(`Frag load error must match current frag to retry ${frag.url} > ${(_this$fragCurrent = this.fragCurrent) == null ? void 0 : _this$fragCurrent.url}`);
          return;
        }
        const gapTagEncountered = data.details === ErrorDetails.FRAG_GAP;
        if (gapTagEncountered) {
          this.fragmentTracker.fragBuffered(frag, true);
        }
        // keep retrying until the limit will be reached
        const errorAction = data.errorAction;
        if (!errorAction) {
          this.state = State.ERROR;
          return;
        }
        const {
          action,
          flags,
          retryCount = 0,
          retryConfig
        } = errorAction;
        const couldRetry = !!retryConfig;
        const retry = couldRetry && action === NetworkErrorAction.RetryRequest;
        const noAlternate = couldRetry && !errorAction.resolved && flags === ErrorActionFlags.MoveAllAlternatesMatchingHost;
        const live = (_this$hls$latestLevel = this.hls.latestLevelDetails) == null ? void 0 : _this$hls$latestLevel.live;
        if (!retry && noAlternate && isMediaFragment(frag) && !frag.endList && live && !isUnusableKeyError(data)) {
          this.resetFragmentErrors(filterType);
          this.treatAsGap(frag);
          errorAction.resolved = true;
        } else if ((retry || noAlternate) && retryCount < retryConfig.maxNumRetry) {
          var _data$response;
          const offlineStatus = offlineHttpStatus((_data$response = data.response) == null ? void 0 : _data$response.code);
          const delay = getRetryDelay(retryConfig, retryCount);
          this.resetStartWhenNotLoaded();
          this.retryDate = self.performance.now() + delay;
          this.state = State.FRAG_LOADING_WAITING_RETRY;
          errorAction.resolved = true;
          if (offlineStatus) {
            this.log(`Waiting for connection (offline)`);
            this.retryDate = Infinity;
            data.reason = 'offline';
            return;
          }
          this.warn(`Fragment ${frag.sn} of ${filterType} ${frag.level} errored with ${data.details}, retrying loading ${retryCount + 1}/${retryConfig.maxNumRetry} in ${delay}ms`);
        } else if (retryConfig) {
          this.resetFragmentErrors(filterType);
          if (retryCount < retryConfig.maxNumRetry) {
            // Network retry is skipped when level switch is preferred
            if (!gapTagEncountered && action !== NetworkErrorAction.RemoveAlternatePermanently) {
              errorAction.resolved = true;
            }
          } else {
            this.warn(`${data.details} reached or exceeded max retry (${retryCount})`);
            return;
          }
        } else if (action === NetworkErrorAction.SendAlternateToPenaltyBox) {
          this.state = State.WAITING_LEVEL;
        } else {
          this.state = State.ERROR;
        }
        // Perform next async tick sooner to speed up error action resolution
        this.tickImmediate();
      }
      checkRetryDate() {
        const now = self.performance.now();
        const retryDate = this.retryDate;
        // if current time is gt than retryDate, or if media seeking let's switch to IDLE state to retry loading
        const waitingForConnection = retryDate === Infinity;
        if (!retryDate || now >= retryDate || waitingForConnection && !offlineHttpStatus(0)) {
          if (waitingForConnection) {
            this.log(`Connection restored (online)`);
          }
          this.resetStartWhenNotLoaded();
          this.state = State.IDLE;
        }
      }
      reduceLengthAndFlushBuffer(data) {
        // if in appending state
        if (this.state === State.PARSING || this.state === State.PARSED) {
          const frag = data.frag;
          const playlistType = data.parent;
          const bufferedInfo = this.getFwdBufferInfo(this.mediaBuffer, playlistType);
          // 0.5 : tolerance needed as some browsers stalls playback before reaching buffered end
          // reduce max buf len if current position is buffered
          const buffered = bufferedInfo && bufferedInfo.len > 0.5;
          if (buffered) {
            this.reduceMaxBufferLength(bufferedInfo.len, (frag == null ? void 0 : frag.duration) || 10);
          }
          const flushBuffer = !buffered;
          if (flushBuffer) {
            // current position is not buffered, but browser is still complaining about buffer full error
            // this happens on IE/Edge, refer to https://github.com/video-dev/hls.js/pull/708
            // in that case flush the whole audio buffer to recover
            this.warn(`Buffer full error while media.currentTime (${this.getLoadPosition()}) is not buffered, flush ${playlistType} buffer`);
          }
          if (frag) {
            this.fragmentTracker.removeFragment(frag);
            this.nextLoadPosition = frag.start;
          }
          this.resetLoadingState();
          return flushBuffer;
        }
        return false;
      }
      resetFragmentErrors(filterType) {
        if (filterType === PlaylistLevelType.AUDIO) {
          // Reset current fragment since audio track audio is essential and may not have a fail-over track
          this.fragCurrent = null;
        }
        // Fragment errors that result in a level switch or redundant fail-over
        // should reset the stream controller state to idle
        if (!this.hls.hasEnoughToStart) {
          this.startFragRequested = false;
        }
        if (this.state !== State.STOPPED) {
          this.state = State.IDLE;
        }
      }
      afterBufferFlushed(media, bufferType, playlistType) {
        if (!media) {
          return;
        }
        // After successful buffer flushing, filter flushed fragments from bufferedFrags use mediaBuffered instead of media
        // (so that we will check against video.buffered ranges in case of alt audio track)
        const bufferedTimeRanges = BufferHelper.getBuffered(media);
        this.fragmentTracker.detectEvictedFragments(bufferType, bufferedTimeRanges, playlistType);
        if (this.state === State.ENDED) {
          this.resetLoadingState();
        }
      }
      resetLoadingState() {
        this.log('Reset loading state');
        this.fragCurrent = null;
        this.fragPrevious = null;
        if (this.state !== State.STOPPED) {
          this.state = State.IDLE;
        }
      }
      resetStartWhenNotLoaded() {
        // if loadedmetadata is not set, it means that first frag request failed
        // in that case, reset startFragRequested flag
        if (!this.hls.hasEnoughToStart) {
          this.startFragRequested = false;
          const level = this.levelLastLoaded;
          const details = level ? level.details : null;
          if (details != null && details.live) {
            // Update the start position and return to IDLE to recover live start
            this.log(`resetting startPosition for live start`);
            this.startPosition = -1;
            this.setStartPosition(details, details.fragmentStart);
            this.resetLoadingState();
          } else {
            this.nextLoadPosition = this.startPosition;
          }
        }
      }
      resetWhenMissingContext(chunkMeta) {
        this.log(`Loading context changed while buffering sn ${chunkMeta.sn} of ${this.playlistLabel()} ${chunkMeta.level === -1 ? '<removed>' : chunkMeta.level}. This chunk will not be buffered.`);
        this.removeUnbufferedFrags();
        this.resetStartWhenNotLoaded();
        this.resetLoadingState();
      }
      removeUnbufferedFrags(start = 0) {
        this.fragmentTracker.removeFragmentsInRange(start, Infinity, this.playlistType, false, true);
      }
      updateLevelTiming(frag, part, level, partial) {
        const details = level.details;
        if (!details) {
          this.warn('level.details undefined');
          return;
        }
        const parsed = Object.keys(frag.elementaryStreams).reduce((result, type) => {
          const info = frag.elementaryStreams[type];
          if (info) {
            const parsedDuration = info.endPTS - info.startPTS;
            if (parsedDuration <= 0) {
              // Destroy the transmuxer after it's next time offset failed to advance because duration was <= 0.
              // The new transmuxer will be configured with a time offset matching the next fragment start,
              // preventing the timeline from shifting.
              this.warn(`Could not parse fragment ${frag.sn} ${type} duration reliably (${parsedDuration})`);
              return result || false;
            }
            const drift = partial ? 0 : updateFragPTSDTS(details, frag, info.startPTS, info.endPTS, info.startDTS, info.endDTS, this);
            this.hls.trigger(Events.LEVEL_PTS_UPDATED, {
              details,
              level,
              drift,
              type,
              frag,
              start: info.startPTS,
              end: info.endPTS
            });
            return true;
          }
          return result;
        }, false);
        if (!parsed) {
          var _this$transmuxer;
          const mediaNotFound = ((_this$transmuxer = this.transmuxer) == null ? void 0 : _this$transmuxer.error) === null;
          if (level.fragmentError === 0 || mediaNotFound && (level.fragmentError < 2 || frag.endList)) {
            // Mark and track the odd (or last) empty segment as a gap to avoid reloading
            this.treatAsGap(frag, level);
          }
          if (mediaNotFound) {
            const error = new Error(`Found no media in fragment ${frag.sn} of ${this.playlistLabel()} ${frag.level} resetting transmuxer to fallback to playlist timing`);
            this.warn(error.message);
            this.hls.trigger(Events.ERROR, {
              type: ErrorTypes.MEDIA_ERROR,
              details: ErrorDetails.FRAG_PARSING_ERROR,
              fatal: false,
              error,
              frag,
              reason: `Found no media in msn ${frag.sn} of ${this.playlistLabel()} "${level.url}"`
            });
            if (!this.hls) {
              return;
            }
            this.resetTransmuxer();
          }
          // For this error fallthrough. Marking parsed will allow advancing to next fragment.
        }
        this.state = State.PARSED;
        this.log(`Parsed ${frag.type} sn: ${frag.sn}${part ? ' part: ' + part.index : ''} of ${this.fragInfo(frag, false, part)})`);
        this.hls.trigger(Events.FRAG_PARSED, {
          frag,
          part
        });
      }
      playlistLabel() {
        return this.playlistType === PlaylistLevelType.MAIN ? 'level' : 'track';
      }
      fragInfo(frag, pts = true, part) {
        var _ref, _ref2;
        return `${this.playlistLabel()} ${frag.level} (${part ? 'part' : 'frag'}:[${((_ref = pts && !part ? frag.startPTS : (part || frag).start) != null ? _ref : NaN).toFixed(3)}-${((_ref2 = pts && !part ? frag.endPTS : (part || frag).end) != null ? _ref2 : NaN).toFixed(3)}]${part && frag.type === 'main' ? 'INDEPENDENT=' + (part.independent ? 'YES' : 'NO') : ''}`;
      }
      treatAsGap(frag, level) {
        if (level) {
          level.fragmentError++;
        }
        frag.gap = true;
        this.fragmentTracker.removeFragment(frag);
        this.fragmentTracker.fragBuffered(frag, true);
      }
      resetTransmuxer() {
        var _this$transmuxer2;
        (_this$transmuxer2 = this.transmuxer) == null || _this$transmuxer2.reset();
      }
      recoverWorkerError(data) {
        if (data.event === 'demuxerWorker') {
          this.fragmentTracker.removeAllFragments();
          if (this.transmuxer) {
            this.transmuxer.destroy();
            this.transmuxer = null;
          }
          this.resetStartWhenNotLoaded();
          this.resetLoadingState();
        }
      }
      set state(nextState) {
        const previousState = this._state;
        if (previousState !== nextState) {
          this._state = nextState;
          this.log(`${previousState}->${nextState}`);
        }
      }
      get state() {
        return this._state;
      }
    }
    function interstitialsEnabled(config) {
      return !!config.interstitialsController && config.enableInterstitialPlayback !== false;
    }
    
    class ChunkCache {
      constructor() {
        this.chunks = [];
        this.dataLength = 0;
      }
      push(chunk) {
        this.chunks.push(chunk);
        this.dataLength += chunk.length;
      }
      flush() {
        const {
          chunks,
          dataLength
        } = this;
        let result;
        if (!chunks.length) {
          return new Uint8Array(0);
        } else if (chunks.length === 1) {
          result = chunks[0];
        } else {
          result = concatUint8Arrays(chunks, dataLength);
        }
        this.reset();
        return result;
      }
      reset() {
        this.chunks.length = 0;
        this.dataLength = 0;
      }
    }
    function concatUint8Arrays(chunks, dataLength) {
      const result = new Uint8Array(dataLength);
      let offset = 0;
      for (let i = 0; i < chunks.length; i++) {
        const chunk = chunks[i];
        result.set(chunk, offset);
        offset += chunk.length;
      }
      return result;
    }
    
    var eventemitter3 = {exports: {}};
    
    var hasRequiredEventemitter3;
    
    function requireEventemitter3 () {
    	if (hasRequiredEventemitter3) return eventemitter3.exports;
    	hasRequiredEventemitter3 = 1;
    	(function (module) {
    
    		var has = Object.prototype.hasOwnProperty
    		  , prefix = '~';
    
    		/**
    		 * Constructor to create a storage for our `EE` objects.
    		 * An `Events` instance is a plain object whose properties are event names.
    		 *
    		 * @constructor
    		 * @private
    		 */
    		function Events() {}
    
    		//
    		// We try to not inherit from `Object.prototype`. In some engines creating an
    		// instance in this way is faster than calling `Object.create(null)` directly.
    		// If `Object.create(null)` is not supported we prefix the event names with a
    		// character to make sure that the built-in object properties are not
    		// overridden or used as an attack vector.
    		//
    		if (Object.create) {
    		  Events.prototype = Object.create(null);
    
    		  //
    		  // This hack is needed because the `__proto__` property is still inherited in
    		  // some old browsers like Android 4, iPhone 5.1, Opera 11 and Safari 5.
    		  //
    		  if (!new Events().__proto__) prefix = false;
    		}
    
    		/**
    		 * Representation of a single event listener.
    		 *
    		 * @param {Function} fn The listener function.
    		 * @param {*} context The context to invoke the listener with.
    		 * @param {Boolean} [once=false] Specify if the listener is a one-time listener.
    		 * @constructor
    		 * @private
    		 */
    		function EE(fn, context, once) {
    		  this.fn = fn;
    		  this.context = context;
    		  this.once = once || false;
    		}
    
    		/**
    		 * Add a listener for a given event.
    		 *
    		 * @param {EventEmitter} emitter Reference to the `EventEmitter` instance.
    		 * @param {(String|Symbol)} event The event name.
    		 * @param {Function} fn The listener function.
    		 * @param {*} context The context to invoke the listener with.
    		 * @param {Boolean} once Specify if the listener is a one-time listener.
    		 * @returns {EventEmitter}
    		 * @private
    		 */
    		function addListener(emitter, event, fn, context, once) {
    		  if (typeof fn !== 'function') {
    		    throw new TypeError('The listener must be a function');
    		  }
    
    		  var listener = new EE(fn, context || emitter, once)
    		    , evt = prefix ? prefix + event : event;
    
    		  if (!emitter._events[evt]) emitter._events[evt] = listener, emitter._eventsCount++;
    		  else if (!emitter._events[evt].fn) emitter._events[evt].push(listener);
    		  else emitter._events[evt] = [emitter._events[evt], listener];
    
    		  return emitter;
    		}
    
    		/**
    		 * Clear event by name.
    		 *
    		 * @param {EventEmitter} emitter Reference to the `EventEmitter` instance.
    		 * @param {(String|Symbol)} evt The Event name.
    		 * @private
    		 */
    		function clearEvent(emitter, evt) {
    		  if (--emitter._eventsCount === 0) emitter._events = new Events();
    		  else delete emitter._events[evt];
    		}
    
    		/**
    		 * Minimal `EventEmitter` interface that is molded against the Node.js
    		 * `EventEmitter` interface.
    		 *
    		 * @constructor
    		 * @public
    		 */
    		function EventEmitter() {
    		  this._events = new Events();
    		  this._eventsCount = 0;
    		}
    
    		/**
    		 * Return an array listing the events for which the emitter has registered
    		 * listeners.
    		 *
    		 * @returns {Array}
    		 * @public
    		 */
    		EventEmitter.prototype.eventNames = function eventNames() {
    		  var names = []
    		    , events
    		    , name;
    
    		  if (this._eventsCount === 0) return names;
    
    		  for (name in (events = this._events)) {
    		    if (has.call(events, name)) names.push(prefix ? name.slice(1) : name);
    		  }
    
    		  if (Object.getOwnPropertySymbols) {
    		    return names.concat(Object.getOwnPropertySymbols(events));
    		  }
    
    		  return names;
    		};
    
    		/**
    		 * Return the listeners registered for a given event.
    		 *
    		 * @param {(String|Symbol)} event The event name.
    		 * @returns {Array} The registered listeners.
    		 * @public
    		 */
    		EventEmitter.prototype.listeners = function listeners(event) {
    		  var evt = prefix ? prefix + event : event
    		    , handlers = this._events[evt];
    
    		  if (!handlers) return [];
    		  if (handlers.fn) return [handlers.fn];
    
    		  for (var i = 0, l = handlers.length, ee = new Array(l); i < l; i++) {
    		    ee[i] = handlers[i].fn;
    		  }
    
    		  return ee;
    		};
    
    		/**
    		 * Return the number of listeners listening to a given event.
    		 *
    		 * @param {(String|Symbol)} event The event name.
    		 * @returns {Number} The number of listeners.
    		 * @public
    		 */
    		EventEmitter.prototype.listenerCount = function listenerCount(event) {
    		  var evt = prefix ? prefix + event : event
    		    , listeners = this._events[evt];
    
    		  if (!listeners) return 0;
    		  if (listeners.fn) return 1;
    		  return listeners.length;
    		};
    
    		/**
    		 * Calls each of the listeners registered for a given event.
    		 *
    		 * @param {(String|Symbol)} event The event name.
    		 * @returns {Boolean} `true` if the event had listeners, else `false`.
    		 * @public
    		 */
    		EventEmitter.prototype.emit = function emit(event, a1, a2, a3, a4, a5) {
    		  var evt = prefix ? prefix + event : event;
    
    		  if (!this._events[evt]) return false;
    
    		  var listeners = this._events[evt]
    		    , len = arguments.length
    		    , args
    		    , i;
    
    		  if (listeners.fn) {
    		    if (listeners.once) this.removeListener(event, listeners.fn, undefined, true);
    
    		    switch (len) {
    		      case 1: return listeners.fn.call(listeners.context), true;
    		      case 2: return listeners.fn.call(listeners.context, a1), true;
    		      case 3: return listeners.fn.call(listeners.context, a1, a2), true;
    		      case 4: return listeners.fn.call(listeners.context, a1, a2, a3), true;
    		      case 5: return listeners.fn.call(listeners.context, a1, a2, a3, a4), true;
    		      case 6: return listeners.fn.call(listeners.context, a1, a2, a3, a4, a5), true;
    		    }
    
    		    for (i = 1, args = new Array(len -1); i < len; i++) {
    		      args[i - 1] = arguments[i];
    		    }
    
    		    listeners.fn.apply(listeners.context, args);
    		  } else {
    		    var length = listeners.length
    		      , j;
    
    		    for (i = 0; i < length; i++) {
    		      if (listeners[i].once) this.removeListener(event, listeners[i].fn, undefined, true);
    
    		      switch (len) {
    		        case 1: listeners[i].fn.call(listeners[i].context); break;
    		        case 2: listeners[i].fn.call(listeners[i].context, a1); break;
    		        case 3: listeners[i].fn.call(listeners[i].context, a1, a2); break;
    		        case 4: listeners[i].fn.call(listeners[i].context, a1, a2, a3); break;
    		        default:
    		          if (!args) for (j = 1, args = new Array(len -1); j < len; j++) {
    		            args[j - 1] = arguments[j];
    		          }
    
    		          listeners[i].fn.apply(listeners[i].context, args);
    		      }
    		    }
    		  }
    
    		  return true;
    		};
    
    		/**
    		 * Add a listener for a given event.
    		 *
    		 * @param {(String|Symbol)} event The event name.
    		 * @param {Function} fn The listener function.
    		 * @param {*} [context=this] The context to invoke the listener with.
    		 * @returns {EventEmitter} `this`.
    		 * @public
    		 */
    		EventEmitter.prototype.on = function on(event, fn, context) {
    		  return addListener(this, event, fn, context, false);
    		};
    
    		/**
    		 * Add a one-time listener for a given event.
    		 *
    		 * @param {(String|Symbol)} event The event name.
    		 * @param {Function} fn The listener function.
    		 * @param {*} [context=this] The context to invoke the listener with.
    		 * @returns {EventEmitter} `this`.
    		 * @public
    		 */
    		EventEmitter.prototype.once = function once(event, fn, context) {
    		  return addListener(this, event, fn, context, true);
    		};
    
    		/**
    		 * Remove the listeners of a given event.
    		 *
    		 * @param {(String|Symbol)} event The event name.
    		 * @param {Function} fn Only remove the listeners that match this function.
    		 * @param {*} context Only remove the listeners that have this context.
    		 * @param {Boolean} once Only remove one-time listeners.
    		 * @returns {EventEmitter} `this`.
    		 * @public
    		 */
    		EventEmitter.prototype.removeListener = function removeListener(event, fn, context, once) {
    		  var evt = prefix ? prefix + event : event;
    
    		  if (!this._events[evt]) return this;
    		  if (!fn) {
    		    clearEvent(this, evt);
    		    return this;
    		  }
    
    		  var listeners = this._events[evt];
    
    		  if (listeners.fn) {
    		    if (
    		      listeners.fn === fn &&
    		      (!once || listeners.once) &&
    		      (!context || listeners.context === context)
    		    ) {
    		      clearEvent(this, evt);
    		    }
    		  } else {
    		    for (var i = 0, events = [], length = listeners.length; i < length; i++) {
    		      if (
    		        listeners[i].fn !== fn ||
    		        (once && !listeners[i].once) ||
    		        (context && listeners[i].context !== context)
    		      ) {
    		        events.push(listeners[i]);
    		      }
    		    }
    
    		    //
    		    // Reset the array, or remove it completely if we have no more listeners.
    		    //
    		    if (events.length) this._events[evt] = events.length === 1 ? events[0] : events;
    		    else clearEvent(this, evt);
    		  }
    
    		  return this;
    		};
    
    		/**
    		 * Remove all listeners, or those of the specified event.
    		 *
    		 * @param {(String|Symbol)} [event] The event name.
    		 * @returns {EventEmitter} `this`.
    		 * @public
    		 */
    		EventEmitter.prototype.removeAllListeners = function removeAllListeners(event) {
    		  var evt;
    
    		  if (event) {
    		    evt = prefix ? prefix + event : event;
    		    if (this._events[evt]) clearEvent(this, evt);
    		  } else {
    		    this._events = new Events();
    		    this._eventsCount = 0;
    		  }
    
    		  return this;
    		};
    
    		//
    		// Alias methods names because people roll like that.
    		//
    		EventEmitter.prototype.off = EventEmitter.prototype.removeListener;
    		EventEmitter.prototype.addListener = EventEmitter.prototype.on;
    
    		//
    		// Expose the prefix.
    		//
    		EventEmitter.prefixed = prefix;
    
    		//
    		// Allow `EventEmitter` to be imported as module namespace.
    		//
    		EventEmitter.EventEmitter = EventEmitter;
    
    		//
    		// Expose the module.
    		//
    		{
    		  module.exports = EventEmitter;
    		} 
    	} (eventemitter3));
    	return eventemitter3.exports;
    }
    
    var eventemitter3Exports = requireEventemitter3();
    var EventEmitter = /*@__PURE__*/getDefaultExportFromCjs(eventemitter3Exports);
    
    const version = "1.6.15";
    
    // ensure the worker ends up in the bundle
    // If the worker should not be included this gets aliased to empty.js
    const workerStore = {};
    function hasUMDWorker() {
      return typeof __HLS_WORKER_BUNDLE__ === 'function';
    }
    function injectWorker() {
      const workerContext = workerStore[version];
      if (workerContext) {
        workerContext.clientCount++;
        return workerContext;
      }
      const blob = new self.Blob([`var exports={};var module={exports:exports};function define(f){f()};define.amd=true;(${__HLS_WORKER_BUNDLE__.toString()})(true);`], {
        type: 'text/javascript'
      });
      const objectURL = self.URL.createObjectURL(blob);
      const worker = new self.Worker(objectURL);
      const result = {
        worker,
        objectURL,
        clientCount: 1
      };
      workerStore[version] = result;
      return result;
    }
    function loadWorker(path) {
      const workerContext = workerStore[path];
      if (workerContext) {
        workerContext.clientCount++;
        return workerContext;
      }
      const scriptURL = new self.URL(path, self.location.href).href;
      const worker = new self.Worker(scriptURL);
      const result = {
        worker,
        scriptURL,
        clientCount: 1
      };
      workerStore[path] = result;
      return result;
    }
    function removeWorkerFromStore(path) {
      const workerContext = workerStore[path || version];
      if (workerContext) {
        const clientCount = workerContext.clientCount--;
        if (clientCount === 1) {
          const {
            worker,
            objectURL
          } = workerContext;
          delete workerStore[path || version];
          if (objectURL) {
            // revoke the Object URL that was used to create transmuxer worker, so as not to leak it
            self.URL.revokeObjectURL(objectURL);
          }
          worker.terminate();
        }
      }
    }
    
    /**
     * Returns true if an ID3 footer can be found at offset in data
     *
     * @param data - The data to search in
     * @param offset - The offset at which to start searching
     *
     * @returns `true` if an ID3 footer is found
     *
     * @internal
     *
     * @group ID3
     */
    function isId3Footer(data, offset) {
      /*
       * The footer is a copy of the header, but with a different identifier
       */
      if (offset + 10 <= data.length) {
        // look for '3DI' identifier
        if (data[offset] === 0x33 && data[offset + 1] === 0x44 && data[offset + 2] === 0x49) {
          // check version is within range
          if (data[offset + 3] < 0xff && data[offset + 4] < 0xff) {
            // check size is within range
            if (data[offset + 6] < 0x80 && data[offset + 7] < 0x80 && data[offset + 8] < 0x80 && data[offset + 9] < 0x80) {
              return true;
            }
          }
        }
      }
      return false;
    }
    
    /**
     * Returns true if an ID3 header can be found at offset in data
     *
     * @param data - The data to search in
     * @param offset - The offset at which to start searching
     *
     * @returns `true` if an ID3 header is found
     *
     * @internal
     *
     * @group ID3
     */
    function isId3Header(data, offset) {
      /*
       * http://id3.org/id3v2.3.0
       * [0]     = 'I'
       * [1]     = 'D'
       * [2]     = '3'
       * [3,4]   = {Version}
       * [5]     = {Flags}
       * [6-9]   = {ID3 Size}
       *
       * An ID3v2 tag can be detected with the following pattern:
       *  $49 44 33 yy yy xx zz zz zz zz
       * Where yy is less than $FF, xx is the 'flags' byte and zz is less than $80
       */
      if (offset + 10 <= data.length) {
        // look for 'ID3' identifier
        if (data[offset] === 0x49 && data[offset + 1] === 0x44 && data[offset + 2] === 0x33) {
          // check version is within range
          if (data[offset + 3] < 0xff && data[offset + 4] < 0xff) {
            // check size is within range
            if (data[offset + 6] < 0x80 && data[offset + 7] < 0x80 && data[offset + 8] < 0x80 && data[offset + 9] < 0x80) {
              return true;
            }
          }
        }
      }
      return false;
    }
    
    /**
     * Read ID3 size
     *
     * @param data - The data to read from
     * @param offset - The offset at which to start reading
     *
     * @returns The size
     *
     * @internal
     *
     * @group ID3
     */
    function readId3Size(data, offset) {
      let size = 0;
      size = (data[offset] & 0x7f) << 21;
      size |= (data[offset + 1] & 0x7f) << 14;
      size |= (data[offset + 2] & 0x7f) << 7;
      size |= data[offset + 3] & 0x7f;
      return size;
    }
    
    /**
     * Returns any adjacent ID3 tags found in data starting at offset, as one block of data
     *
     * @param data - The data to search in
     * @param offset - The offset at which to start searching
     *
     * @returns The block of data containing any ID3 tags found
     * or `undefined` if no header is found at the starting offset
     *
     * @internal
     *
     * @group ID3
     */
    function getId3Data(data, offset) {
      const front = offset;
      let length = 0;
      while (isId3Header(data, offset)) {
        // ID3 header is 10 bytes
        length += 10;
        const size = readId3Size(data, offset + 6);
        length += size;
        if (isId3Footer(data, offset + 10)) {
          // ID3 footer is 10 bytes
          length += 10;
        }
        offset += length;
      }
      if (length > 0) {
        return data.subarray(front, front + length);
      }
      return undefined;
    }
    
    function getAudioConfig(observer, data, offset, manifestCodec) {
      const adtsSamplingRates = [96000, 88200, 64000, 48000, 44100, 32000, 24000, 22050, 16000, 12000, 11025, 8000, 7350];
      const byte2 = data[offset + 2];
      const adtsSamplingIndex = byte2 >> 2 & 0xf;
      if (adtsSamplingIndex > 12) {
        const error = new Error(`invalid ADTS sampling index:${adtsSamplingIndex}`);
        observer.emit(Events.ERROR, Events.ERROR, {
          type: ErrorTypes.MEDIA_ERROR,
          details: ErrorDetails.FRAG_PARSING_ERROR,
          fatal: true,
          error,
          reason: error.message
        });
        return;
      }
      // MPEG-4 Audio Object Type (profile_ObjectType+1)
      const adtsObjectType = (byte2 >> 6 & 0x3) + 1;
      const channelCount = data[offset + 3] >> 6 & 0x3 | (byte2 & 1) << 2;
      const codec = 'mp4a.40.' + adtsObjectType;
      /* refer to http://wiki.multimedia.cx/index.php?title=MPEG-4_Audio#Audio_Specific_Config
          ISO/IEC 14496-3 - Table 1.13 — Syntax of AudioSpecificConfig()
        Audio Profile / Audio Object Type
        0: Null
        1: AAC Main
        2: AAC LC (Low Complexity)
        3: AAC SSR (Scalable Sample Rate)
        4: AAC LTP (Long Term Prediction)
        5: SBR (Spectral Band Replication)
        6: AAC Scalable
       sampling freq
        0: 96000 Hz
        1: 88200 Hz
        2: 64000 Hz
        3: 48000 Hz
        4: 44100 Hz
        5: 32000 Hz
        6: 24000 Hz
        7: 22050 Hz
        8: 16000 Hz
        9: 12000 Hz
        10: 11025 Hz
        11: 8000 Hz
        12: 7350 Hz
        13: Reserved
        14: Reserved
        15: frequency is written explictly
        Channel Configurations
        These are the channel configurations:
        0: Defined in AOT Specifc Config
        1: 1 channel: front-center
        2: 2 channels: front-left, front-right
      */
      // audioObjectType = profile => profile, the MPEG-4 Audio Object Type minus 1
      const samplerate = adtsSamplingRates[adtsSamplingIndex];
      let aacSampleIndex = adtsSamplingIndex;
      if (adtsObjectType === 5 || adtsObjectType === 29) {
        // HE-AAC uses SBR (Spectral Band Replication) , high frequencies are constructed from low frequencies
        // there is a factor 2 between frame sample rate and output sample rate
        // multiply frequency by 2 (see table above, equivalent to substract 3)
        aacSampleIndex -= 3;
      }
      const config = [adtsObjectType << 3 | (aacSampleIndex & 0x0e) >> 1, (aacSampleIndex & 0x01) << 7 | channelCount << 3];
      logger.log(`manifest codec:${manifestCodec}, parsed codec:${codec}, channels:${channelCount}, rate:${samplerate} (ADTS object type:${adtsObjectType} sampling index:${adtsSamplingIndex})`);
      return {
        config,
        samplerate,
        channelCount,
        codec,
        parsedCodec: codec,
        manifestCodec
      };
    }
    function isHeaderPattern$1(data, offset) {
      return data[offset] === 0xff && (data[offset + 1] & 0xf6) === 0xf0;
    }
    function getHeaderLength(data, offset) {
      return data[offset + 1] & 0x01 ? 7 : 9;
    }
    function getFullFrameLength(data, offset) {
      return (data[offset + 3] & 0x03) << 11 | data[offset + 4] << 3 | (data[offset + 5] & 0xe0) >>> 5;
    }
    function canGetFrameLength(data, offset) {
      return offset + 5 < data.length;
    }
    function isHeader$1(data, offset) {
      // Look for ADTS header | 1111 1111 | 1111 X00X | where X can be either 0 or 1
      // Layer bits (position 14 and 15) in header should be always 0 for ADTS
      // More info https://wiki.multimedia.cx/index.php?title=ADTS
      return offset + 1 < data.length && isHeaderPattern$1(data, offset);
    }
    function canParse$1(data, offset) {
      return canGetFrameLength(data, offset) && isHeaderPattern$1(data, offset) && getFullFrameLength(data, offset) <= data.length - offset;
    }
    function probe$1(data, offset) {
      // same as isHeader but we also check that ADTS frame follows last ADTS frame
      // or end of data is reached
      if (isHeader$1(data, offset)) {
        // ADTS header Length
        const headerLength = getHeaderLength(data, offset);
        if (offset + headerLength >= data.length) {
          return false;
        }
        // ADTS frame Length
        const frameLength = getFullFrameLength(data, offset);
        if (frameLength <= headerLength) {
          return false;
        }
        const newOffset = offset + frameLength;
        return newOffset === data.length || isHeader$1(data, newOffset);
      }
      return false;
    }
    function initTrackConfig(track, observer, data, offset, audioCodec) {
      if (!track.samplerate) {
        const config = getAudioConfig(observer, data, offset, audioCodec);
        if (!config) {
          return;
        }
        _extends(track, config);
      }
    }
    function getFrameDuration(samplerate) {
      return 1024 * 90000 / samplerate;
    }
    function parseFrameHeader(data, offset) {
      // The protection skip bit tells us if we have 2 bytes of CRC data at the end of the ADTS header
      const headerLength = getHeaderLength(data, offset);
      if (offset + headerLength <= data.length) {
        // retrieve frame size
        const frameLength = getFullFrameLength(data, offset) - headerLength;
        if (frameLength > 0) {
          // logger.log(`AAC frame, offset/length/total/pts:${offset+headerLength}/${frameLength}/${data.byteLength}`);
          return {
            headerLength,
            frameLength
          };
        }
      }
    }
    function appendFrame$2(track, data, offset, pts, frameIndex) {
      const frameDuration = getFrameDuration(track.samplerate);
      const stamp = pts + frameIndex * frameDuration;
      const header = parseFrameHeader(data, offset);
      let unit;
      if (header) {
        const {
          frameLength,
          headerLength
        } = header;
        const _length = headerLength + frameLength;
        const missing = Math.max(0, offset + _length - data.length);
        // logger.log(`AAC frame ${frameIndex}, pts:${stamp} length@offset/total: ${frameLength}@${offset+headerLength}/${data.byteLength} missing: ${missing}`);
        if (missing) {
          unit = new Uint8Array(_length - headerLength);
          unit.set(data.subarray(offset + headerLength, data.length), 0);
        } else {
          unit = data.subarray(offset + headerLength, offset + _length);
        }
        const _sample = {
          unit,
          pts: stamp
        };
        if (!missing) {
          track.samples.push(_sample);
        }
        return {
          sample: _sample,
          length: _length,
          missing
        };
      }
      // overflow incomplete header
      const length = data.length - offset;
      unit = new Uint8Array(length);
      unit.set(data.subarray(offset, data.length), 0);
      const sample = {
        unit,
        pts: stamp
      };
      return {
        sample,
        length,
        missing: -1
      };
    }
    
    /**
     * Checks if the given data contains an ID3 tag.
     *
     * @param data - The data to check
     * @param offset - The offset at which to start checking
     *
     * @returns `true` if an ID3 tag is found
     *
     * @group ID3
     *
     * @beta
     */
    function canParseId3(data, offset) {
      return isId3Header(data, offset) && readId3Size(data, offset + 6) + 10 <= data.length - offset;
    }
    
    function toArrayBuffer(view) {
      if (view instanceof ArrayBuffer) {
        return view;
      } else {
        if (view.byteOffset == 0 && view.byteLength == view.buffer.byteLength) {
          // This is a TypedArray over the whole buffer.
          return view.buffer;
        }
        // This is a 'view' on the buffer.  Create a new buffer that only contains
        // the data.  Note that since this isn't an ArrayBuffer, the 'new' call
        // will allocate a new buffer to hold the copy.
        return new Uint8Array(view).buffer;
      }
    }
    
    function toUint8(data, offset = 0, length = Infinity) {
      return view(data, offset, length, Uint8Array);
    }
    function view(data, offset, length, Type) {
      const buffer = unsafeGetArrayBuffer(data);
      let bytesPerElement = 1;
      if ('BYTES_PER_ELEMENT' in Type) {
        bytesPerElement = Type.BYTES_PER_ELEMENT;
      }
      // Absolute end of the |data| view within |buffer|.
      const dataOffset = isArrayBufferView(data) ? data.byteOffset : 0;
      const dataEnd = (dataOffset + data.byteLength) / bytesPerElement;
      // Absolute start of the result within |buffer|.
      const rawStart = (dataOffset + offset) / bytesPerElement;
      const start = Math.floor(Math.max(0, Math.min(rawStart, dataEnd)));
      // Absolute end of the result within |buffer|.
      const end = Math.floor(Math.min(start + Math.max(length, 0), dataEnd));
      return new Type(buffer, start, end - start);
    }
    function unsafeGetArrayBuffer(view) {
      if (view instanceof ArrayBuffer) {
        return view;
      } else {
        return view.buffer;
      }
    }
    function isArrayBufferView(obj) {
      return obj && obj.buffer instanceof ArrayBuffer && obj.byteLength !== undefined && obj.byteOffset !== undefined;
    }
    
    function decodeId3ImageFrame(frame) {
      const metadataFrame = {
        key: frame.type,
        description: '',
        data: '',
        mimeType: null,
        pictureType: null
      };
      const utf8Encoding = 0x03;
      if (frame.size < 2) {
        return undefined;
      }
      if (frame.data[0] !== utf8Encoding) {
        console.log('Ignore frame with unrecognized character ' + 'encoding');
        return undefined;
      }
      const mimeTypeEndIndex = frame.data.subarray(1).indexOf(0);
      if (mimeTypeEndIndex === -1) {
        return undefined;
      }
      const mimeType = utf8ArrayToStr(toUint8(frame.data, 1, mimeTypeEndIndex));
      const pictureType = frame.data[2 + mimeTypeEndIndex];
      const descriptionEndIndex = frame.data.subarray(3 + mimeTypeEndIndex).indexOf(0);
      if (descriptionEndIndex === -1) {
        return undefined;
      }
      const description = utf8ArrayToStr(toUint8(frame.data, 3 + mimeTypeEndIndex, descriptionEndIndex));
      let data;
      if (mimeType === '-->') {
        data = utf8ArrayToStr(toUint8(frame.data, 4 + mimeTypeEndIndex + descriptionEndIndex));
      } else {
        data = toArrayBuffer(frame.data.subarray(4 + mimeTypeEndIndex + descriptionEndIndex));
      }
      metadataFrame.mimeType = mimeType;
      metadataFrame.pictureType = pictureType;
      metadataFrame.description = description;
      metadataFrame.data = data;
      return metadataFrame;
    }
    
    /**
     * Decode an ID3 PRIV frame.
     *
     * @param frame - the ID3 PRIV frame
     *
     * @returns The decoded ID3 PRIV frame
     *
     * @internal
     *
     * @group ID3
     */
    function decodeId3PrivFrame(frame) {
      /*
      Format: <text string>\0<binary data>
      */
      if (frame.size < 2) {
        return undefined;
      }
      const owner = utf8ArrayToStr(frame.data, true);
      const privateData = new Uint8Array(frame.data.subarray(owner.length + 1));
      return {
        key: frame.type,
        info: owner,
        data: privateData.buffer
      };
    }
    
    /**
     * Decodes an ID3 text frame
     *
     * @param frame - the ID3 text frame
     *
     * @returns The decoded ID3 text frame
     *
     * @internal
     *
     * @group ID3
     */
    function decodeId3TextFrame(frame) {
      if (frame.size < 2) {
        return undefined;
      }
      if (frame.type === 'TXXX') {
        /*
        Format:
        [0]   = {Text Encoding}
        [1-?] = {Description}\0{Value}
        */
        let index = 1;
        const description = utf8ArrayToStr(frame.data.subarray(index), true);
        index += description.length + 1;
        const value = utf8ArrayToStr(frame.data.subarray(index));
        return {
          key: frame.type,
          info: description,
          data: value
        };
      }
      /*
      Format:
      [0]   = {Text Encoding}
      [1-?] = {Value}
      */
      const text = utf8ArrayToStr(frame.data.subarray(1));
      return {
        key: frame.type,
        info: '',
        data: text
      };
    }
    
    /**
     * Decode a URL frame
     *
     * @param frame - the ID3 URL frame
     *
     * @returns The decoded ID3 URL frame
     *
     * @internal
     *
     * @group ID3
     */
    function decodeId3UrlFrame(frame) {
      if (frame.type === 'WXXX') {
        /*
        Format:
        [0]   = {Text Encoding}
        [1-?] = {Description}\0{URL}
        */
        if (frame.size < 2) {
          return undefined;
        }
        let index = 1;
        const description = utf8ArrayToStr(frame.data.subarray(index), true);
        index += description.length + 1;
        const value = utf8ArrayToStr(frame.data.subarray(index));
        return {
          key: frame.type,
          info: description,
          data: value
        };
      }
      /*
      Format:
      [0-?] = {URL}
      */
      const url = utf8ArrayToStr(frame.data);
      return {
        key: frame.type,
        info: '',
        data: url
      };
    }
    
    /**
     * Decode an ID3 frame.
     *
     * @param frame - the ID3 frame
     *
     * @returns The decoded ID3 frame
     *
     * @internal
     *
     * @group ID3
     */
    function decodeId3Frame(frame) {
      if (frame.type === 'PRIV') {
        return decodeId3PrivFrame(frame);
      } else if (frame.type[0] === 'W') {
        return decodeId3UrlFrame(frame);
      } else if (frame.type === 'APIC') {
        return decodeId3ImageFrame(frame);
      }
      return decodeId3TextFrame(frame);
    }
    
    /**
     * Returns the data of an ID3 frame.
     *
     * @param data - The data to read from
     *
     * @returns The data of the ID3 frame
     *
     * @internal
     *
     * @group ID3
     */
    function getId3FrameData(data) {
      /*
      Frame ID       $xx xx xx xx (four characters)
      Size           $xx xx xx xx
      Flags          $xx xx
      */
      const type = String.fromCharCode(data[0], data[1], data[2], data[3]);
      const size = readId3Size(data, 4);
      // skip frame id, size, and flags
      const offset = 10;
      return {
        type,
        size,
        data: data.subarray(offset, offset + size)
      };
    }
    
    const HEADER_FOOTER_SIZE = 10;
    const FRAME_SIZE = 10;
    /**
     * Returns an array of ID3 frames found in all the ID3 tags in the id3Data
     *
     * @param id3Data - The ID3 data containing one or more ID3 tags
     *
     * @returns Array of ID3 frame objects
     *
     * @group ID3
     *
     * @beta
     */
    function getId3Frames(id3Data) {
      let offset = 0;
      const frames = [];
      while (isId3Header(id3Data, offset)) {
        const size = readId3Size(id3Data, offset + 6);
        if (id3Data[offset + 5] >> 6 & 1) {
          // skip extended header
          offset += HEADER_FOOTER_SIZE;
        }
        // skip past ID3 header
        offset += HEADER_FOOTER_SIZE;
        const end = offset + size;
        // loop through frames in the ID3 tag
        while (offset + FRAME_SIZE < end) {
          const frameData = getId3FrameData(id3Data.subarray(offset));
          const frame = decodeId3Frame(frameData);
          if (frame) {
            frames.push(frame);
          }
          // skip frame header and frame data
          offset += frameData.size + HEADER_FOOTER_SIZE;
        }
        if (isId3Footer(id3Data, offset)) {
          offset += HEADER_FOOTER_SIZE;
        }
      }
      return frames;
    }
    
    /**
     * Returns true if the ID3 frame is an Elementary Stream timestamp frame
     *
     * @param frame - the ID3 frame
     *
     * @returns `true` if the ID3 frame is an Elementary Stream timestamp frame
     *
     * @internal
     *
     * @group ID3
     */
    function isId3TimestampFrame(frame) {
      return frame && frame.key === 'PRIV' && frame.info === 'com.apple.streaming.transportStreamTimestamp';
    }
    
    /**
     * Read a 33 bit timestamp from an ID3 frame.
     *
     * @param timeStampFrame - the ID3 frame
     *
     * @returns The timestamp
     *
     * @internal
     *
     * @group ID3
     */
    function readId3Timestamp(timeStampFrame) {
      if (timeStampFrame.data.byteLength === 8) {
        const data = new Uint8Array(timeStampFrame.data);
        // timestamp is 33 bit expressed as a big-endian eight-octet number,
        // with the upper 31 bits set to zero.
        const pts33Bit = data[3] & 0x1;
        let timestamp = (data[4] << 23) + (data[5] << 15) + (data[6] << 7) + data[7];
        timestamp /= 45;
        if (pts33Bit) {
          timestamp += 47721858.84;
        } // 2^32 / 90
        return Math.round(timestamp);
      }
      return undefined;
    }
    
    /**
     * Searches for the Elementary Stream timestamp found in the ID3 data chunk
     *
     * @param data - Block of data containing one or more ID3 tags
     *
     * @returns The timestamp
     *
     * @group ID3
     *
     * @beta
     */
    function getId3Timestamp(data) {
      const frames = getId3Frames(data);
      for (let i = 0; i < frames.length; i++) {
        const frame = frames[i];
        if (isId3TimestampFrame(frame)) {
          return readId3Timestamp(frame);
        }
      }
      return undefined;
    }
    
    let MetadataSchema = /*#__PURE__*/function (MetadataSchema) {
      MetadataSchema["audioId3"] = "org.id3";
      MetadataSchema["dateRange"] = "com.apple.quicktime.HLS";
      MetadataSchema["emsg"] = "https://aomedia.org/emsg/ID3";
      MetadataSchema["misbklv"] = "urn:misb:KLV:bin:1910.1";
      return MetadataSchema;
    }({});
    
    function dummyTrack(type = '', inputTimeScale = 90000) {
      return {
        type,
        id: -1,
        pid: -1,
        inputTimeScale,
        sequenceNumber: -1,
        samples: [],
        dropped: 0
      };
    }
    
    class BaseAudioDemuxer {
      constructor() {
        this._audioTrack = void 0;
        this._id3Track = void 0;
        this.frameIndex = 0;
        this.cachedData = null;
        this.basePTS = null;
        this.initPTS = null;
        this.lastPTS = null;
      }
      resetInitSegment(initSegment, audioCodec, videoCodec, trackDuration) {
        this._id3Track = {
          type: 'id3',
          id: 3,
          pid: -1,
          inputTimeScale: 90000,
          sequenceNumber: 0,
          samples: [],
          dropped: 0
        };
      }
      resetTimeStamp(deaultTimestamp) {
        this.initPTS = deaultTimestamp;
        this.resetContiguity();
      }
      resetContiguity() {
        this.basePTS = null;
        this.lastPTS = null;
        this.frameIndex = 0;
      }
      canParse(data, offset) {
        return false;
      }
      appendFrame(track, data, offset) {}
    
      // feed incoming data to the front of the parsing pipeline
      demux(data, timeOffset) {
        if (this.cachedData) {
          data = appendUint8Array(this.cachedData, data);
          this.cachedData = null;
        }
        let id3Data = getId3Data(data, 0);
        let offset = id3Data ? id3Data.length : 0;
        let lastDataIndex;
        const track = this._audioTrack;
        const id3Track = this._id3Track;
        const timestamp = id3Data ? getId3Timestamp(id3Data) : undefined;
        const length = data.length;
        if (this.basePTS === null || this.frameIndex === 0 && isFiniteNumber(timestamp)) {
          this.basePTS = initPTSFn(timestamp, timeOffset, this.initPTS);
          this.lastPTS = this.basePTS;
        }
        if (this.lastPTS === null) {
          this.lastPTS = this.basePTS;
        }
    
        // more expressive than alternative: id3Data?.length
        if (id3Data && id3Data.length > 0) {
          id3Track.samples.push({
            pts: this.lastPTS,
            dts: this.lastPTS,
            data: id3Data,
            type: MetadataSchema.audioId3,
            duration: Number.POSITIVE_INFINITY
          });
        }
        while (offset < length) {
          if (this.canParse(data, offset)) {
            const frame = this.appendFrame(track, data, offset);
            if (frame) {
              this.frameIndex++;
              this.lastPTS = frame.sample.pts;
              offset += frame.length;
              lastDataIndex = offset;
            } else {
              offset = length;
            }
          } else if (canParseId3(data, offset)) {
            // after a canParse, a call to getId3Data *should* always returns some data
            id3Data = getId3Data(data, offset);
            id3Track.samples.push({
              pts: this.lastPTS,
              dts: this.lastPTS,
              data: id3Data,
              type: MetadataSchema.audioId3,
              duration: Number.POSITIVE_INFINITY
            });
            offset += id3Data.length;
            lastDataIndex = offset;
          } else {
            offset++;
          }
          if (offset === length && lastDataIndex !== length) {
            const partialData = data.slice(lastDataIndex);
            if (this.cachedData) {
              this.cachedData = appendUint8Array(this.cachedData, partialData);
            } else {
              this.cachedData = partialData;
            }
          }
        }
        return {
          audioTrack: track,
          videoTrack: dummyTrack(),
          id3Track,
          textTrack: dummyTrack()
        };
      }
      demuxSampleAes(data, keyData, timeOffset) {
        return Promise.reject(new Error(`[${this}] This demuxer does not support Sample-AES decryption`));
      }
      flush(timeOffset) {
        // Parse cache in case of remaining frames.
        const cachedData = this.cachedData;
        if (cachedData) {
          this.cachedData = null;
          this.demux(cachedData, 0);
        }
        return {
          audioTrack: this._audioTrack,
          videoTrack: dummyTrack(),
          id3Track: this._id3Track,
          textTrack: dummyTrack()
        };
      }
      destroy() {
        this.cachedData = null;
        // @ts-ignore
        this._audioTrack = this._id3Track = undefined;
      }
    }
    
    /**
     * Initialize PTS
     * <p>
     *    use timestamp unless it is undefined, NaN or Infinity
     * </p>
     */
    const initPTSFn = (timestamp, timeOffset, initPTS) => {
      if (isFiniteNumber(timestamp)) {
        return timestamp * 90;
      }
      const init90kHz = initPTS ? initPTS.baseTime * 90000 / initPTS.timescale : 0;
      return timeOffset * 90000 + init90kHz;
    };
    
    /**
     *  MPEG parser helper
     */
    
    let chromeVersion$1 = null;
    const BitratesMap = [32, 64, 96, 128, 160, 192, 224, 256, 288, 320, 352, 384, 416, 448, 32, 48, 56, 64, 80, 96, 112, 128, 160, 192, 224, 256, 320, 384, 32, 40, 48, 56, 64, 80, 96, 112, 128, 160, 192, 224, 256, 320, 32, 48, 56, 64, 80, 96, 112, 128, 144, 160, 176, 192, 224, 256, 8, 16, 24, 32, 40, 48, 56, 64, 80, 96, 112, 128, 144, 160];
    const SamplingRateMap = [44100, 48000, 32000, 22050, 24000, 16000, 11025, 12000, 8000];
    const SamplesCoefficients = [
    // MPEG 2.5
    [0,
    // Reserved
    72,
    // Layer3
    144,
    // Layer2
    12 // Layer1
    ],
    // Reserved
    [0,
    // Reserved
    0,
    // Layer3
    0,
    // Layer2
    0 // Layer1
    ],
    // MPEG 2
    [0,
    // Reserved
    72,
    // Layer3
    144,
    // Layer2
    12 // Layer1
    ],
    // MPEG 1
    [0,
    // Reserved
    144,
    // Layer3
    144,
    // Layer2
    12 // Layer1
    ]];
    const BytesInSlot = [0,
    // Reserved
    1,
    // Layer3
    1,
    // Layer2
    4 // Layer1
    ];
    function appendFrame$1(track, data, offset, pts, frameIndex) {
      // Using http://www.datavoyage.com/mpgscript/mpeghdr.htm as a reference
      if (offset + 24 > data.length) {
        return;
      }
      const header = parseHeader(data, offset);
      if (header && offset + header.frameLength <= data.length) {
        const frameDuration = header.samplesPerFrame * 90000 / header.sampleRate;
        const stamp = pts + frameIndex * frameDuration;
        const sample = {
          unit: data.subarray(offset, offset + header.frameLength),
          pts: stamp,
          dts: stamp
        };
        track.config = [];
        track.channelCount = header.channelCount;
        track.samplerate = header.sampleRate;
        track.samples.push(sample);
        return {
          sample,
          length: header.frameLength,
          missing: 0
        };
      }
    }
    function parseHeader(data, offset) {
      const mpegVersion = data[offset + 1] >> 3 & 3;
      const mpegLayer = data[offset + 1] >> 1 & 3;
      const bitRateIndex = data[offset + 2] >> 4 & 15;
      const sampleRateIndex = data[offset + 2] >> 2 & 3;
      if (mpegVersion !== 1 && bitRateIndex !== 0 && bitRateIndex !== 15 && sampleRateIndex !== 3) {
        const paddingBit = data[offset + 2] >> 1 & 1;
        const channelMode = data[offset + 3] >> 6;
        const columnInBitrates = mpegVersion === 3 ? 3 - mpegLayer : mpegLayer === 3 ? 3 : 4;
        const bitRate = BitratesMap[columnInBitrates * 14 + bitRateIndex - 1] * 1000;
        const columnInSampleRates = mpegVersion === 3 ? 0 : mpegVersion === 2 ? 1 : 2;
        const sampleRate = SamplingRateMap[columnInSampleRates * 3 + sampleRateIndex];
        const channelCount = channelMode === 3 ? 1 : 2; // If bits of channel mode are `11` then it is a single channel (Mono)
        const sampleCoefficient = SamplesCoefficients[mpegVersion][mpegLayer];
        const bytesInSlot = BytesInSlot[mpegLayer];
        const samplesPerFrame = sampleCoefficient * 8 * bytesInSlot;
        const frameLength = Math.floor(sampleCoefficient * bitRate / sampleRate + paddingBit) * bytesInSlot;
        if (chromeVersion$1 === null) {
          const userAgent = navigator.userAgent || '';
          const result = userAgent.match(/Chrome\/(\d+)/i);
          chromeVersion$1 = result ? parseInt(result[1]) : 0;
        }
        const needChromeFix = !!chromeVersion$1 && chromeVersion$1 <= 87;
        if (needChromeFix && mpegLayer === 2 && bitRate >= 224000 && channelMode === 0) {
          // Work around bug in Chromium by setting channelMode to dual-channel (01) instead of stereo (00)
          data[offset + 3] = data[offset + 3] | 0x80;
        }
        return {
          sampleRate,
          channelCount,
          frameLength,
          samplesPerFrame
        };
      }
    }
    function isHeaderPattern(data, offset) {
      return data[offset] === 0xff && (data[offset + 1] & 0xe0) === 0xe0 && (data[offset + 1] & 0x06) !== 0x00;
    }
    function isHeader(data, offset) {
      // Look for MPEG header | 1111 1111 | 111X XYZX | where X can be either 0 or 1 and Y or Z should be 1
      // Layer bits (position 14 and 15) in header should be always different from 0 (Layer I or Layer II or Layer III)
      // More info http://www.mp3-tech.org/programmer/frame_header.html
      return offset + 1 < data.length && isHeaderPattern(data, offset);
    }
    function canParse(data, offset) {
      const headerSize = 4;
      return isHeaderPattern(data, offset) && headerSize <= data.length - offset;
    }
    function probe(data, offset) {
      // same as isHeader but we also check that MPEG frame follows last MPEG frame
      // or end of data is reached
      if (offset + 1 < data.length && isHeaderPattern(data, offset)) {
        // MPEG header Length
        const headerLength = 4;
        // MPEG frame Length
        const header = parseHeader(data, offset);
        let frameLength = headerLength;
        if (header != null && header.frameLength) {
          frameLength = header.frameLength;
        }
        const newOffset = offset + frameLength;
        return newOffset === data.length || isHeader(data, newOffset);
      }
      return false;
    }
    
    /**
     * AAC demuxer
     */
    class AACDemuxer extends BaseAudioDemuxer {
      constructor(observer, config) {
        super();
        this.observer = void 0;
        this.config = void 0;
        this.observer = observer;
        this.config = config;
      }
      resetInitSegment(initSegment, audioCodec, videoCodec, trackDuration) {
        super.resetInitSegment(initSegment, audioCodec, videoCodec, trackDuration);
        this._audioTrack = {
          container: 'audio/adts',
          type: 'audio',
          id: 2,
          pid: -1,
          sequenceNumber: 0,
          segmentCodec: 'aac',
          samples: [],
          manifestCodec: audioCodec,
          duration: trackDuration,
          inputTimeScale: 90000,
          dropped: 0
        };
      }
    
      // Source for probe info - https://wiki.multimedia.cx/index.php?title=ADTS
      static probe(data, logger) {
        if (!data) {
          return false;
        }
    
        // Check for the ADTS sync word
        // Look for ADTS header | 1111 1111 | 1111 X00X | where X can be either 0 or 1
        // Layer bits (position 14 and 15) in header should be always 0 for ADTS
        // More info https://wiki.multimedia.cx/index.php?title=ADTS
        const id3Data = getId3Data(data, 0);
        let offset = (id3Data == null ? void 0 : id3Data.length) || 0;
        if (probe(data, offset)) {
          return false;
        }
        for (let length = data.length; offset < length; offset++) {
          if (probe$1(data, offset)) {
            logger.log('ADTS sync word found !');
            return true;
          }
        }
        return false;
      }
      canParse(data, offset) {
        return canParse$1(data, offset);
      }
      appendFrame(track, data, offset) {
        initTrackConfig(track, this.observer, data, offset, track.manifestCodec);
        const frame = appendFrame$2(track, data, offset, this.basePTS, this.frameIndex);
        if (frame && frame.missing === 0) {
          return frame;
        }
      }
    }
    
    const getAudioBSID = (data, offset) => {
      // check the bsid to confirm ac-3 | ec-3
      let bsid = 0;
      let numBits = 5;
      offset += numBits;
      const temp = new Uint32Array(1); // unsigned 32 bit for temporary storage
      const mask = new Uint32Array(1); // unsigned 32 bit mask value
      const byte = new Uint8Array(1); // unsigned 8 bit for temporary storage
      while (numBits > 0) {
        byte[0] = data[offset];
        // read remaining bits, upto 8 bits at a time
        const bits = Math.min(numBits, 8);
        const shift = 8 - bits;
        mask[0] = 0xff000000 >>> 24 + shift << shift;
        temp[0] = (byte[0] & mask[0]) >> shift;
        bsid = !bsid ? temp[0] : bsid << bits | temp[0];
        offset += 1;
        numBits -= bits;
      }
      return bsid;
    };
    
    class AC3Demuxer extends BaseAudioDemuxer {
      constructor(observer) {
        super();
        this.observer = void 0;
        this.observer = observer;
      }
      resetInitSegment(initSegment, audioCodec, videoCodec, trackDuration) {
        super.resetInitSegment(initSegment, audioCodec, videoCodec, trackDuration);
        this._audioTrack = {
          container: 'audio/ac-3',
          type: 'audio',
          id: 2,
          pid: -1,
          sequenceNumber: 0,
          segmentCodec: 'ac3',
          samples: [],
          manifestCodec: audioCodec,
          duration: trackDuration,
          inputTimeScale: 90000,
          dropped: 0
        };
      }
      canParse(data, offset) {
        return offset + 64 < data.length;
      }
      appendFrame(track, data, offset) {
        const frameLength = appendFrame(track, data, offset, this.basePTS, this.frameIndex);
        if (frameLength !== -1) {
          const sample = track.samples[track.samples.length - 1];
          return {
            sample,
            length: frameLength,
            missing: 0
          };
        }
      }
      static probe(data) {
        if (!data) {
          return false;
        }
        const id3Data = getId3Data(data, 0);
        if (!id3Data) {
          return false;
        }
    
        // look for the ac-3 sync bytes
        const offset = id3Data.length;
        if (data[offset] === 0x0b && data[offset + 1] === 0x77 && getId3Timestamp(id3Data) !== undefined &&
        // check the bsid to confirm ac-3
        getAudioBSID(data, offset) < 16) {
          return true;
        }
        return false;
      }
    }
    function appendFrame(track, data, start, pts, frameIndex) {
      if (start + 8 > data.length) {
        return -1; // not enough bytes left
      }
      if (data[start] !== 0x0b || data[start + 1] !== 0x77) {
        return -1; // invalid magic
      }
    
      // get sample rate
      const samplingRateCode = data[start + 4] >> 6;
      if (samplingRateCode >= 3) {
        return -1; // invalid sampling rate
      }
      const samplingRateMap = [48000, 44100, 32000];
      const sampleRate = samplingRateMap[samplingRateCode];
    
      // get frame size
      const frameSizeCode = data[start + 4] & 0x3f;
      const frameSizeMap = [64, 69, 96, 64, 70, 96, 80, 87, 120, 80, 88, 120, 96, 104, 144, 96, 105, 144, 112, 121, 168, 112, 122, 168, 128, 139, 192, 128, 140, 192, 160, 174, 240, 160, 175, 240, 192, 208, 288, 192, 209, 288, 224, 243, 336, 224, 244, 336, 256, 278, 384, 256, 279, 384, 320, 348, 480, 320, 349, 480, 384, 417, 576, 384, 418, 576, 448, 487, 672, 448, 488, 672, 512, 557, 768, 512, 558, 768, 640, 696, 960, 640, 697, 960, 768, 835, 1152, 768, 836, 1152, 896, 975, 1344, 896, 976, 1344, 1024, 1114, 1536, 1024, 1115, 1536, 1152, 1253, 1728, 1152, 1254, 1728, 1280, 1393, 1920, 1280, 1394, 1920];
      const frameLength = frameSizeMap[frameSizeCode * 3 + samplingRateCode] * 2;
      if (start + frameLength > data.length) {
        return -1;
      }
    
      // get channel count
      const channelMode = data[start + 6] >> 5;
      let skipCount = 0;
      if (channelMode === 2) {
        skipCount += 2;
      } else {
        if (channelMode & 1 && channelMode !== 1) {
          skipCount += 2;
        }
        if (channelMode & 4) {
          skipCount += 2;
        }
      }
      const lfeon = (data[start + 6] << 8 | data[start + 7]) >> 12 - skipCount & 1;
      const channelsMap = [2, 1, 2, 3, 3, 4, 4, 5];
      const channelCount = channelsMap[channelMode] + lfeon;
    
      // build dac3 box
      const bsid = data[start + 5] >> 3;
      const bsmod = data[start + 5] & 7;
      const config = new Uint8Array([samplingRateCode << 6 | bsid << 1 | bsmod >> 2, (bsmod & 3) << 6 | channelMode << 3 | lfeon << 2 | frameSizeCode >> 4, frameSizeCode << 4 & 0xe0]);
      const frameDuration = 1536 / sampleRate * 90000;
      const stamp = pts + frameIndex * frameDuration;
      const unit = data.subarray(start, start + frameLength);
      track.config = config;
      track.channelCount = channelCount;
      track.samplerate = sampleRate;
      track.samples.push({
        unit,
        pts: stamp
      });
      return frameLength;
    }
    
    /**
     * MP3 demuxer
     */
    class MP3Demuxer extends BaseAudioDemuxer {
      resetInitSegment(initSegment, audioCodec, videoCodec, trackDuration) {
        super.resetInitSegment(initSegment, audioCodec, videoCodec, trackDuration);
        this._audioTrack = {
          container: 'audio/mpeg',
          type: 'audio',
          id: 2,
          pid: -1,
          sequenceNumber: 0,
          segmentCodec: 'mp3',
          samples: [],
          manifestCodec: audioCodec,
          duration: trackDuration,
          inputTimeScale: 90000,
          dropped: 0
        };
      }
      static probe(data) {
        if (!data) {
          return false;
        }
    
        // check if data contains ID3 timestamp and MPEG sync word
        // Look for MPEG header | 1111 1111 | 111X XYZX | where X can be either 0 or 1 and Y or Z should be 1
        // Layer bits (position 14 and 15) in header should be always different from 0 (Layer I or Layer II or Layer III)
        // More info http://www.mp3-tech.org/programmer/frame_header.html
        const id3Data = getId3Data(data, 0);
        let offset = (id3Data == null ? void 0 : id3Data.length) || 0;
    
        // Check for ac-3|ec-3 sync bytes and return false if present
        if (id3Data && data[offset] === 0x0b && data[offset + 1] === 0x77 && getId3Timestamp(id3Data) !== undefined &&
        // check the bsid to confirm ac-3 or ec-3 (not mp3)
        getAudioBSID(data, offset) <= 16) {
          return false;
        }
        for (let length = data.length; offset < length; offset++) {
          if (probe(data, offset)) {
            logger.log('MPEG Audio sync word found !');
            return true;
          }
        }
        return false;
      }
      canParse(data, offset) {
        return canParse(data, offset);
      }
      appendFrame(track, data, offset) {
        if (this.basePTS === null) {
          return;
        }
        return appendFrame$1(track, data, offset, this.basePTS, this.frameIndex);
      }
    }
    
    const emsgSchemePattern = /\/emsg[-/]ID3/i;
    class MP4Demuxer {
      constructor(observer, config) {
        this.remainderData = null;
        this.timeOffset = 0;
        this.config = void 0;
        this.videoTrack = void 0;
        this.audioTrack = void 0;
        this.id3Track = void 0;
        this.txtTrack = void 0;
        this.config = config;
      }
      resetTimeStamp() {}
      resetInitSegment(initSegment, audioCodec, videoCodec, trackDuration) {
        const videoTrack = this.videoTrack = dummyTrack('video', 1);
        const audioTrack = this.audioTrack = dummyTrack('audio', 1);
        const captionTrack = this.txtTrack = dummyTrack('text', 1);
        this.id3Track = dummyTrack('id3', 1);
        this.timeOffset = 0;
        if (!(initSegment != null && initSegment.byteLength)) {
          return;
        }
        const initData = parseInitSegment(initSegment);
        if (initData.video) {
          const {
            id,
            timescale,
            codec,
            supplemental
          } = initData.video;
          videoTrack.id = id;
          videoTrack.timescale = captionTrack.timescale = timescale;
          videoTrack.codec = codec;
          videoTrack.supplemental = supplemental;
        }
        if (initData.audio) {
          const {
            id,
            timescale,
            codec
          } = initData.audio;
          audioTrack.id = id;
          audioTrack.timescale = timescale;
          audioTrack.codec = codec;
        }
        captionTrack.id = RemuxerTrackIdConfig.text;
        videoTrack.sampleDuration = 0;
        videoTrack.duration = audioTrack.duration = trackDuration;
      }
      resetContiguity() {
        this.remainderData = null;
      }
      static probe(data) {
        return hasMoofData(data);
      }
      demux(data, timeOffset) {
        this.timeOffset = timeOffset;
        // Load all data into the avc track. The CMAF remuxer will look for the data in the samples object; the rest of the fields do not matter
        let videoSamples = data;
        const videoTrack = this.videoTrack;
        const textTrack = this.txtTrack;
        if (this.config.progressive) {
          // Split the bytestream into two ranges: one encompassing all data up until the start of the last moof, and everything else.
          // This is done to guarantee that we're sending valid data to MSE - when demuxing progressively, we have no guarantee
          // that the fetch loader gives us flush moof+mdat pairs. If we push jagged data to MSE, it will throw an exception.
          if (this.remainderData) {
            videoSamples = appendUint8Array(this.remainderData, data);
          }
          const segmentedData = segmentValidRange(videoSamples);
          this.remainderData = segmentedData.remainder;
          videoTrack.samples = segmentedData.valid || new Uint8Array();
        } else {
          videoTrack.samples = videoSamples;
        }
        const id3Track = this.extractID3Track(videoTrack, timeOffset);
        textTrack.samples = parseSamples(timeOffset, videoTrack);
        return {
          videoTrack,
          audioTrack: this.audioTrack,
          id3Track,
          textTrack: this.txtTrack
        };
      }
      flush() {
        const timeOffset = this.timeOffset;
        const videoTrack = this.videoTrack;
        const textTrack = this.txtTrack;
        videoTrack.samples = this.remainderData || new Uint8Array();
        this.remainderData = null;
        const id3Track = this.extractID3Track(videoTrack, this.timeOffset);
        textTrack.samples = parseSamples(timeOffset, videoTrack);
        return {
          videoTrack,
          audioTrack: dummyTrack(),
          id3Track,
          textTrack: dummyTrack()
        };
      }
      extractID3Track(videoTrack, timeOffset) {
        const id3Track = this.id3Track;
        if (videoTrack.samples.length) {
          const emsgs = findBox(videoTrack.samples, ['emsg']);
          if (emsgs) {
            emsgs.forEach(data => {
              const emsgInfo = parseEmsg(data);
              if (emsgSchemePattern.test(emsgInfo.schemeIdUri)) {
                const pts = getEmsgStartTime(emsgInfo, timeOffset);
                let duration = emsgInfo.eventDuration === 0xffffffff ? Number.POSITIVE_INFINITY : emsgInfo.eventDuration / emsgInfo.timeScale;
                // Safari takes anything <= 0.001 seconds and maps it to Infinity
                if (duration <= 0.001) {
                  duration = Number.POSITIVE_INFINITY;
                }
                const payload = emsgInfo.payload;
                id3Track.samples.push({
                  data: payload,
                  len: payload.byteLength,
                  dts: pts,
                  pts: pts,
                  type: MetadataSchema.emsg,
                  duration: duration
                });
              } else if (this.config.enableEmsgKLVMetadata && emsgInfo.schemeIdUri.startsWith('urn:misb:KLV:bin:1910.1')) {
                const pts = getEmsgStartTime(emsgInfo, timeOffset);
                id3Track.samples.push({
                  data: emsgInfo.payload,
                  len: emsgInfo.payload.byteLength,
                  dts: pts,
                  pts: pts,
                  type: MetadataSchema.misbklv,
                  duration: Number.POSITIVE_INFINITY
                });
              }
            });
          }
        }
        return id3Track;
      }
      demuxSampleAes(data, keyData, timeOffset) {
        return Promise.reject(new Error('The MP4 demuxer does not support SAMPLE-AES decryption'));
      }
      destroy() {
        // @ts-ignore
        this.config = null;
        this.remainderData = null;
        this.videoTrack = this.audioTrack = this.id3Track = this.txtTrack = undefined;
      }
    }
    function getEmsgStartTime(emsgInfo, timeOffset) {
      return isFiniteNumber(emsgInfo.presentationTime) ? emsgInfo.presentationTime / emsgInfo.timeScale : timeOffset + emsgInfo.presentationTimeDelta / emsgInfo.timeScale;
    }
    
    /**
     * SAMPLE-AES decrypter
     */
    
    class SampleAesDecrypter {
      constructor(observer, config, keyData) {
        this.keyData = void 0;
        this.decrypter = void 0;
        this.keyData = keyData;
        this.decrypter = new Decrypter(config, {
          removePKCS7Padding: false
        });
      }
      decryptBuffer(encryptedData) {
        return this.decrypter.decrypt(encryptedData, this.keyData.key.buffer, this.keyData.iv.buffer, DecrypterAesMode.cbc);
      }
    
      // AAC - encrypt all full 16 bytes blocks starting from offset 16
      decryptAacSample(samples, sampleIndex, callback) {
        const curUnit = samples[sampleIndex].unit;
        if (curUnit.length <= 16) {
          // No encrypted portion in this sample (first 16 bytes is not
          // encrypted, see https://developer.apple.com/library/archive/documentation/AudioVideo/Conceptual/HLS_Sample_Encryption/Encryption/Encryption.html),
          return;
        }
        const encryptedData = curUnit.subarray(16, curUnit.length - curUnit.length % 16);
        const encryptedBuffer = encryptedData.buffer.slice(encryptedData.byteOffset, encryptedData.byteOffset + encryptedData.length);
        this.decryptBuffer(encryptedBuffer).then(decryptedBuffer => {
          const decryptedData = new Uint8Array(decryptedBuffer);
          curUnit.set(decryptedData, 16);
          if (!this.decrypter.isSync()) {
            this.decryptAacSamples(samples, sampleIndex + 1, callback);
          }
        }).catch(callback);
      }
      decryptAacSamples(samples, sampleIndex, callback) {
        for (;; sampleIndex++) {
          if (sampleIndex >= samples.length) {
            callback();
            return;
          }
          if (samples[sampleIndex].unit.length < 32) {
            continue;
          }
          this.decryptAacSample(samples, sampleIndex, callback);
          if (!this.decrypter.isSync()) {
            return;
          }
        }
      }
    
      // AVC - encrypt one 16 bytes block out of ten, starting from offset 32
      getAvcEncryptedData(decodedData) {
        const encryptedDataLen = Math.floor((decodedData.length - 48) / 160) * 16 + 16;
        const encryptedData = new Int8Array(encryptedDataLen);
        let outputPos = 0;
        for (let inputPos = 32; inputPos < decodedData.length - 16; inputPos += 160, outputPos += 16) {
          encryptedData.set(decodedData.subarray(inputPos, inputPos + 16), outputPos);
        }
        return encryptedData;
      }
      getAvcDecryptedUnit(decodedData, decryptedData) {
        const uint8DecryptedData = new Uint8Array(decryptedData);
        let inputPos = 0;
        for (let outputPos = 32; outputPos < decodedData.length - 16; outputPos += 160, inputPos += 16) {
          decodedData.set(uint8DecryptedData.subarray(inputPos, inputPos + 16), outputPos);
        }
        return decodedData;
      }
      decryptAvcSample(samples, sampleIndex, unitIndex, callback, curUnit) {
        const decodedData = discardEPB(curUnit.data);
        const encryptedData = this.getAvcEncryptedData(decodedData);
        this.decryptBuffer(encryptedData.buffer).then(decryptedBuffer => {
          curUnit.data = this.getAvcDecryptedUnit(decodedData, decryptedBuffer);
          if (!this.decrypter.isSync()) {
            this.decryptAvcSamples(samples, sampleIndex, unitIndex + 1, callback);
          }
        }).catch(callback);
      }
      decryptAvcSamples(samples, sampleIndex, unitIndex, callback) {
        if (samples instanceof Uint8Array) {
          throw new Error('Cannot decrypt samples of type Uint8Array');
        }
        for (;; sampleIndex++, unitIndex = 0) {
          if (sampleIndex >= samples.length) {
            callback();
            return;
          }
          const curUnits = samples[sampleIndex].units;
          for (;; unitIndex++) {
            if (unitIndex >= curUnits.length) {
              break;
            }
            const curUnit = curUnits[unitIndex];
            if (curUnit.data.length <= 48 || curUnit.type !== 1 && curUnit.type !== 5) {
              continue;
            }
            this.decryptAvcSample(samples, sampleIndex, unitIndex, callback, curUnit);
            if (!this.decrypter.isSync()) {
              return;
            }
          }
        }
      }
    }
    
    class BaseVideoParser {
      constructor() {
        this.VideoSample = null;
      }
      createVideoSample(key, pts, dts) {
        return {
          key,
          frame: false,
          pts,
          dts,
          units: [],
          length: 0
        };
      }
      getLastNalUnit(samples) {
        var _VideoSample;
        let VideoSample = this.VideoSample;
        let lastUnit;
        // try to fallback to previous sample if current one is empty
        if (!VideoSample || VideoSample.units.length === 0) {
          VideoSample = samples[samples.length - 1];
        }
        if ((_VideoSample = VideoSample) != null && _VideoSample.units) {
          const units = VideoSample.units;
          lastUnit = units[units.length - 1];
        }
        return lastUnit;
      }
      pushAccessUnit(VideoSample, videoTrack) {
        if (VideoSample.units.length && VideoSample.frame) {
          // if sample does not have PTS/DTS, patch with last sample PTS/DTS
          if (VideoSample.pts === undefined) {
            const samples = videoTrack.samples;
            const nbSamples = samples.length;
            if (nbSamples) {
              const lastSample = samples[nbSamples - 1];
              VideoSample.pts = lastSample.pts;
              VideoSample.dts = lastSample.dts;
            } else {
              // dropping samples, no timestamp found
              videoTrack.dropped++;
              return;
            }
          }
          videoTrack.samples.push(VideoSample);
        }
      }
      parseNALu(track, array, endOfSegment) {
        const len = array.byteLength;
        let state = track.naluState || 0;
        const lastState = state;
        const units = [];
        let i = 0;
        let value;
        let overflow;
        let unitType;
        let lastUnitStart = -1;
        let lastUnitType = 0;
        // logger.log('PES:' + Hex.hexDump(array));
    
        if (state === -1) {
          // special use case where we found 3 or 4-byte start codes exactly at the end of previous PES packet
          lastUnitStart = 0;
          // NALu type is value read from offset 0
          lastUnitType = this.getNALuType(array, 0);
          state = 0;
          i = 1;
        }
        while (i < len) {
          value = array[i++];
          // optimization. state 0 and 1 are the predominant case. let's handle them outside of the switch/case
          if (!state) {
            state = value ? 0 : 1;
            continue;
          }
          if (state === 1) {
            state = value ? 0 : 2;
            continue;
          }
          // here we have state either equal to 2 or 3
          if (!value) {
            state = 3;
          } else if (value === 1) {
            overflow = i - state - 1;
            if (lastUnitStart >= 0) {
              const unit = {
                data: array.subarray(lastUnitStart, overflow),
                type: lastUnitType
              };
              // logger.log('pushing NALU, type/size:' + unit.type + '/' + unit.data.byteLength);
              units.push(unit);
            } else {
              // lastUnitStart is undefined => this is the first start code found in this PES packet
              // first check if start code delimiter is overlapping between 2 PES packets,
              // ie it started in last packet (lastState not zero)
              // and ended at the beginning of this PES packet (i <= 4 - lastState)
              const lastUnit = this.getLastNalUnit(track.samples);
              if (lastUnit) {
                if (lastState && i <= 4 - lastState) {
                  // start delimiter overlapping between PES packets
                  // strip start delimiter bytes from the end of last NAL unit
                  // check if lastUnit had a state different from zero
                  if (lastUnit.state) {
                    // strip last bytes
                    lastUnit.data = lastUnit.data.subarray(0, lastUnit.data.byteLength - lastState);
                  }
                }
                // If NAL units are not starting right at the beginning of the PES packet, push preceding data into previous NAL unit.
    
                if (overflow > 0) {
                  // logger.log('first NALU found with overflow:' + overflow);
                  lastUnit.data = appendUint8Array(lastUnit.data, array.subarray(0, overflow));
                  lastUnit.state = 0;
                }
              }
            }
            // check if we can read unit type
            if (i < len) {
              unitType = this.getNALuType(array, i);
              // logger.log('find NALU @ offset:' + i + ',type:' + unitType);
              lastUnitStart = i;
              lastUnitType = unitType;
              state = 0;
            } else {
              // not enough byte to read unit type. let's read it on next PES parsing
              state = -1;
            }
          } else {
            state = 0;
          }
        }
        if (lastUnitStart >= 0 && state >= 0) {
          const unit = {
            data: array.subarray(lastUnitStart, len),
            type: lastUnitType,
            state: state
          };
          units.push(unit);
          // logger.log('pushing NALU, type/size/state:' + unit.type + '/' + unit.data.byteLength + '/' + state);
        }
        // no NALu found
        if (units.length === 0) {
          // append pes.data to previous NAL unit
          const lastUnit = this.getLastNalUnit(track.samples);
          if (lastUnit) {
            lastUnit.data = appendUint8Array(lastUnit.data, array);
          }
        }
        track.naluState = state;
        return units;
      }
    }
    
    /**
     * Parser for exponential Golomb codes, a variable-bitwidth number encoding scheme used by h264.
     */
    
    class ExpGolomb {
      constructor(data) {
        this.data = void 0;
        this.bytesAvailable = void 0;
        this.word = void 0;
        this.bitsAvailable = void 0;
        this.data = data;
        // the number of bytes left to examine in this.data
        this.bytesAvailable = data.byteLength;
        // the current word being examined
        this.word = 0; // :uint
        // the number of bits left to examine in the current word
        this.bitsAvailable = 0; // :uint
      }
    
      // ():void
      loadWord() {
        const data = this.data;
        const bytesAvailable = this.bytesAvailable;
        const position = data.byteLength - bytesAvailable;
        const workingBytes = new Uint8Array(4);
        const availableBytes = Math.min(4, bytesAvailable);
        if (availableBytes === 0) {
          throw new Error('no bytes available');
        }
        workingBytes.set(data.subarray(position, position + availableBytes));
        this.word = new DataView(workingBytes.buffer).getUint32(0);
        // track the amount of this.data that has been processed
        this.bitsAvailable = availableBytes * 8;
        this.bytesAvailable -= availableBytes;
      }
    
      // (count:int):void
      skipBits(count) {
        let skipBytes; // :int
        count = Math.min(count, this.bytesAvailable * 8 + this.bitsAvailable);
        if (this.bitsAvailable > count) {
          this.word <<= count;
          this.bitsAvailable -= count;
        } else {
          count -= this.bitsAvailable;
          skipBytes = count >> 3;
          count -= skipBytes << 3;
          this.bytesAvailable -= skipBytes;
          this.loadWord();
          this.word <<= count;
          this.bitsAvailable -= count;
        }
      }
    
      // (size:int):uint
      readBits(size) {
        let bits = Math.min(this.bitsAvailable, size); // :uint
        const valu = this.word >>> 32 - bits; // :uint
        if (size > 32) {
          logger.error('Cannot read more than 32 bits at a time');
        }
        this.bitsAvailable -= bits;
        if (this.bitsAvailable > 0) {
          this.word <<= bits;
        } else if (this.bytesAvailable > 0) {
          this.loadWord();
        } else {
          throw new Error('no bits available');
        }
        bits = size - bits;
        if (bits > 0 && this.bitsAvailable) {
          return valu << bits | this.readBits(bits);
        } else {
          return valu;
        }
      }
    
      // ():uint
      skipLZ() {
        let leadingZeroCount; // :uint
        for (leadingZeroCount = 0; leadingZeroCount < this.bitsAvailable; ++leadingZeroCount) {
          if ((this.word & 0x80000000 >>> leadingZeroCount) !== 0) {
            // the first bit of working word is 1
            this.word <<= leadingZeroCount;
            this.bitsAvailable -= leadingZeroCount;
            return leadingZeroCount;
          }
        }
        // we exhausted word and still have not found a 1
        this.loadWord();
        return leadingZeroCount + this.skipLZ();
      }
    
      // ():void
      skipUEG() {
        this.skipBits(1 + this.skipLZ());
      }
    
      // ():void
      skipEG() {
        this.skipBits(1 + this.skipLZ());
      }
    
      // ():uint
      readUEG() {
        const clz = this.skipLZ(); // :uint
        return this.readBits(clz + 1) - 1;
      }
    
      // ():int
      readEG() {
        const valu = this.readUEG(); // :int
        if (0x01 & valu) {
          // the number is odd if the low order bit is set
          return 1 + valu >>> 1; // add 1 to make it even, and divide by 2
        } else {
          return -1 * (valu >>> 1); // divide by two then make it negative
        }
      }
    
      // Some convenience functions
      // :Boolean
      readBoolean() {
        return this.readBits(1) === 1;
      }
    
      // ():int
      readUByte() {
        return this.readBits(8);
      }
    
      // ():int
      readUShort() {
        return this.readBits(16);
      }
    
      // ():int
      readUInt() {
        return this.readBits(32);
      }
    }
    
    class AvcVideoParser extends BaseVideoParser {
      parsePES(track, textTrack, pes, endOfSegment) {
        const units = this.parseNALu(track, pes.data, endOfSegment);
        let VideoSample = this.VideoSample;
        let push;
        let spsfound = false;
        // free pes.data to save up some memory
        pes.data = null;
    
        // if new NAL units found and last sample still there, let's push ...
        // this helps parsing streams with missing AUD (only do this if AUD never found)
        if (VideoSample && units.length && !track.audFound) {
          this.pushAccessUnit(VideoSample, track);
          VideoSample = this.VideoSample = this.createVideoSample(false, pes.pts, pes.dts);
        }
        units.forEach(unit => {
          var _VideoSample2, _VideoSample3;
          switch (unit.type) {
            // NDR
            case 1:
              {
                let iskey = false;
                push = true;
                const data = unit.data;
                // only check slice type to detect KF in case SPS found in same packet (any keyframe is preceded by SPS ...)
                if (spsfound && data.length > 4) {
                  // retrieve slice type by parsing beginning of NAL unit (follow H264 spec, slice_header definition) to detect keyframe embedded in NDR
                  const sliceType = this.readSliceType(data);
                  // 2 : I slice, 4 : SI slice, 7 : I slice, 9: SI slice
                  // SI slice : A slice that is coded using intra prediction only and using quantisation of the prediction samples.
                  // An SI slice can be coded such that its decoded samples can be constructed identically to an SP slice.
                  // I slice: A slice that is not an SI slice that is decoded using intra prediction only.
                  // if (sliceType === 2 || sliceType === 7) {
                  if (sliceType === 2 || sliceType === 4 || sliceType === 7 || sliceType === 9) {
                    iskey = true;
                  }
                }
                if (iskey) {
                  var _VideoSample;
                  // if we have non-keyframe data already, that cannot belong to the same frame as a keyframe, so force a push
                  if ((_VideoSample = VideoSample) != null && _VideoSample.frame && !VideoSample.key) {
                    this.pushAccessUnit(VideoSample, track);
                    VideoSample = this.VideoSample = null;
                  }
                }
                if (!VideoSample) {
                  VideoSample = this.VideoSample = this.createVideoSample(true, pes.pts, pes.dts);
                }
                VideoSample.frame = true;
                VideoSample.key = iskey;
                break;
                // IDR
              }
            case 5:
              push = true;
              // handle PES not starting with AUD
              // if we have frame data already, that cannot belong to the same frame, so force a push
              if ((_VideoSample2 = VideoSample) != null && _VideoSample2.frame && !VideoSample.key) {
                this.pushAccessUnit(VideoSample, track);
                VideoSample = this.VideoSample = null;
              }
              if (!VideoSample) {
                VideoSample = this.VideoSample = this.createVideoSample(true, pes.pts, pes.dts);
              }
              VideoSample.key = true;
              VideoSample.frame = true;
              break;
            // SEI
            case 6:
              {
                push = true;
                parseSEIMessageFromNALu(unit.data, 1, pes.pts, textTrack.samples);
                break;
                // SPS
              }
            case 7:
              {
                var _track$pixelRatio, _track$pixelRatio2;
                push = true;
                spsfound = true;
                const sps = unit.data;
                const config = this.readSPS(sps);
                if (!track.sps || track.width !== config.width || track.height !== config.height || ((_track$pixelRatio = track.pixelRatio) == null ? void 0 : _track$pixelRatio[0]) !== config.pixelRatio[0] || ((_track$pixelRatio2 = track.pixelRatio) == null ? void 0 : _track$pixelRatio2[1]) !== config.pixelRatio[1]) {
                  track.width = config.width;
                  track.height = config.height;
                  track.pixelRatio = config.pixelRatio;
                  track.sps = [sps];
                  const codecarray = sps.subarray(1, 4);
                  let codecstring = 'avc1.';
                  for (let i = 0; i < 3; i++) {
                    let h = codecarray[i].toString(16);
                    if (h.length < 2) {
                      h = '0' + h;
                    }
                    codecstring += h;
                  }
                  track.codec = codecstring;
                }
                break;
              }
            // PPS
            case 8:
              push = true;
              track.pps = [unit.data];
              break;
            // AUD
            case 9:
              push = true;
              track.audFound = true;
              if ((_VideoSample3 = VideoSample) != null && _VideoSample3.frame) {
                this.pushAccessUnit(VideoSample, track);
                VideoSample = null;
              }
              if (!VideoSample) {
                VideoSample = this.VideoSample = this.createVideoSample(false, pes.pts, pes.dts);
              }
              break;
            // Filler Data
            case 12:
              push = true;
              break;
            default:
              push = false;
              break;
          }
          if (VideoSample && push) {
            const units = VideoSample.units;
            units.push(unit);
          }
        });
        // if last PES packet, push samples
        if (endOfSegment && VideoSample) {
          this.pushAccessUnit(VideoSample, track);
          this.VideoSample = null;
        }
      }
      getNALuType(data, offset) {
        return data[offset] & 0x1f;
      }
      readSliceType(data) {
        const eg = new ExpGolomb(data);
        // skip NALu type
        eg.readUByte();
        // discard first_mb_in_slice
        eg.readUEG();
        // return slice_type
        return eg.readUEG();
      }
    
      /**
       * The scaling list is optionally transmitted as part of a sequence parameter
       * set and is not relevant to transmuxing.
       * @param count the number of entries in this scaling list
       * @see Recommendation ITU-T H.264, Section 7.3.2.1.1.1
       */
      skipScalingList(count, reader) {
        let lastScale = 8;
        let nextScale = 8;
        let deltaScale;
        for (let j = 0; j < count; j++) {
          if (nextScale !== 0) {
            deltaScale = reader.readEG();
            nextScale = (lastScale + deltaScale + 256) % 256;
          }
          lastScale = nextScale === 0 ? lastScale : nextScale;
        }
      }
    
      /**
       * Read a sequence parameter set and return some interesting video
       * properties. A sequence parameter set is the H264 metadata that
       * describes the properties of upcoming video frames.
       * @returns an object with configuration parsed from the
       * sequence parameter set, including the dimensions of the
       * associated video frames.
       */
      readSPS(sps) {
        const eg = new ExpGolomb(sps);
        let frameCropLeftOffset = 0;
        let frameCropRightOffset = 0;
        let frameCropTopOffset = 0;
        let frameCropBottomOffset = 0;
        let numRefFramesInPicOrderCntCycle;
        let scalingListCount;
        let i;
        const readUByte = eg.readUByte.bind(eg);
        const readBits = eg.readBits.bind(eg);
        const readUEG = eg.readUEG.bind(eg);
        const readBoolean = eg.readBoolean.bind(eg);
        const skipBits = eg.skipBits.bind(eg);
        const skipEG = eg.skipEG.bind(eg);
        const skipUEG = eg.skipUEG.bind(eg);
        const skipScalingList = this.skipScalingList.bind(this);
        readUByte();
        const profileIdc = readUByte(); // profile_idc
        readBits(5); // profileCompat constraint_set[0-4]_flag, u(5)
        skipBits(3); // reserved_zero_3bits u(3),
        readUByte(); // level_idc u(8)
        skipUEG(); // seq_parameter_set_id
        // some profiles have more optional data we don't need
        if (profileIdc === 100 || profileIdc === 110 || profileIdc === 122 || profileIdc === 244 || profileIdc === 44 || profileIdc === 83 || profileIdc === 86 || profileIdc === 118 || profileIdc === 128) {
          const chromaFormatIdc = readUEG();
          if (chromaFormatIdc === 3) {
            skipBits(1);
          } // separate_colour_plane_flag
    
          skipUEG(); // bit_depth_luma_minus8
          skipUEG(); // bit_depth_chroma_minus8
          skipBits(1); // qpprime_y_zero_transform_bypass_flag
          if (readBoolean()) {
            // seq_scaling_matrix_present_flag
            scalingListCount = chromaFormatIdc !== 3 ? 8 : 12;
            for (i = 0; i < scalingListCount; i++) {
              if (readBoolean()) {
                // seq_scaling_list_present_flag[ i ]
                if (i < 6) {
                  skipScalingList(16, eg);
                } else {
                  skipScalingList(64, eg);
                }
              }
            }
          }
        }
        skipUEG(); // log2_max_frame_num_minus4
        const picOrderCntType = readUEG();
        if (picOrderCntType === 0) {
          readUEG(); // log2_max_pic_order_cnt_lsb_minus4
        } else if (picOrderCntType === 1) {
          skipBits(1); // delta_pic_order_always_zero_flag
          skipEG(); // offset_for_non_ref_pic
          skipEG(); // offset_for_top_to_bottom_field
          numRefFramesInPicOrderCntCycle = readUEG();
          for (i = 0; i < numRefFramesInPicOrderCntCycle; i++) {
            skipEG();
          } // offset_for_ref_frame[ i ]
        }
        skipUEG(); // max_num_ref_frames
        skipBits(1); // gaps_in_frame_num_value_allowed_flag
        const picWidthInMbsMinus1 = readUEG();
        const picHeightInMapUnitsMinus1 = readUEG();
        const frameMbsOnlyFlag = readBits(1);
        if (frameMbsOnlyFlag === 0) {
          skipBits(1);
        } // mb_adaptive_frame_field_flag
    
        skipBits(1); // direct_8x8_inference_flag
        if (readBoolean()) {
          // frame_cropping_flag
          frameCropLeftOffset = readUEG();
          frameCropRightOffset = readUEG();
          frameCropTopOffset = readUEG();
          frameCropBottomOffset = readUEG();
        }
        let pixelRatio = [1, 1];
        if (readBoolean()) {
          // vui_parameters_present_flag
          if (readBoolean()) {
            // aspect_ratio_info_present_flag
            const aspectRatioIdc = readUByte();
            switch (aspectRatioIdc) {
              case 1:
                pixelRatio = [1, 1];
                break;
              case 2:
                pixelRatio = [12, 11];
                break;
              case 3:
                pixelRatio = [10, 11];
                break;
              case 4:
                pixelRatio = [16, 11];
                break;
              case 5:
                pixelRatio = [40, 33];
                break;
              case 6:
                pixelRatio = [24, 11];
                break;
              case 7:
                pixelRatio = [20, 11];
                break;
              case 8:
                pixelRatio = [32, 11];
                break;
              case 9:
                pixelRatio = [80, 33];
                break;
              case 10:
                pixelRatio = [18, 11];
                break;
              case 11:
                pixelRatio = [15, 11];
                break;
              case 12:
                pixelRatio = [64, 33];
                break;
              case 13:
                pixelRatio = [160, 99];
                break;
              case 14:
                pixelRatio = [4, 3];
                break;
              case 15:
                pixelRatio = [3, 2];
                break;
              case 16:
                pixelRatio = [2, 1];
                break;
              case 255:
                {
                  pixelRatio = [readUByte() << 8 | readUByte(), readUByte() << 8 | readUByte()];
                  break;
                }
            }
          }
        }
        return {
          width: Math.ceil((picWidthInMbsMinus1 + 1) * 16 - frameCropLeftOffset * 2 - frameCropRightOffset * 2),
          height: (2 - frameMbsOnlyFlag) * (picHeightInMapUnitsMinus1 + 1) * 16 - (frameMbsOnlyFlag ? 2 : 4) * (frameCropTopOffset + frameCropBottomOffset),
          pixelRatio: pixelRatio
        };
      }
    }
    
    class HevcVideoParser extends BaseVideoParser {
      constructor(...args) {
        super(...args);
        this.initVPS = null;
      }
      parsePES(track, textTrack, pes, endOfSegment) {
        const units = this.parseNALu(track, pes.data, endOfSegment);
        let VideoSample = this.VideoSample;
        let push;
        let spsfound = false;
        // free pes.data to save up some memory
        pes.data = null;
    
        // if new NAL units found and last sample still there, let's push ...
        // this helps parsing streams with missing AUD (only do this if AUD never found)
        if (VideoSample && units.length && !track.audFound) {
          this.pushAccessUnit(VideoSample, track);
          VideoSample = this.VideoSample = this.createVideoSample(false, pes.pts, pes.dts);
        }
        units.forEach(unit => {
          var _VideoSample2, _VideoSample3;
          switch (unit.type) {
            // NON-IDR, NON RANDOM ACCESS SLICE
            case 0:
            case 1:
            case 2:
            case 3:
            case 4:
            case 5:
            case 6:
            case 7:
            case 8:
            case 9:
              if (!VideoSample) {
                VideoSample = this.VideoSample = this.createVideoSample(false, pes.pts, pes.dts);
              }
              VideoSample.frame = true;
              push = true;
              break;
    
            // CRA, BLA (random access picture)
            case 16:
            case 17:
            case 18:
            case 21:
              push = true;
              if (spsfound) {
                var _VideoSample;
                // handle PES not starting with AUD
                // if we have frame data already, that cannot belong to the same frame, so force a push
                if ((_VideoSample = VideoSample) != null && _VideoSample.frame && !VideoSample.key) {
                  this.pushAccessUnit(VideoSample, track);
                  VideoSample = this.VideoSample = null;
                }
              }
              if (!VideoSample) {
                VideoSample = this.VideoSample = this.createVideoSample(true, pes.pts, pes.dts);
              }
              VideoSample.key = true;
              VideoSample.frame = true;
              break;
    
            // IDR
            case 19:
            case 20:
              push = true;
              // handle PES not starting with AUD
              // if we have frame data already, that cannot belong to the same frame, so force a push
              if ((_VideoSample2 = VideoSample) != null && _VideoSample2.frame && !VideoSample.key) {
                this.pushAccessUnit(VideoSample, track);
                VideoSample = this.VideoSample = null;
              }
              if (!VideoSample) {
                VideoSample = this.VideoSample = this.createVideoSample(true, pes.pts, pes.dts);
              }
              VideoSample.key = true;
              VideoSample.frame = true;
              break;
    
            // SEI
            case 39:
              push = true;
              parseSEIMessageFromNALu(unit.data, 2,
              // NALu header size
              pes.pts, textTrack.samples);
              break;
    
            // VPS
            case 32:
              push = true;
              if (!track.vps) {
                if (typeof track.params !== 'object') {
                  track.params = {};
                }
                track.params = _extends(track.params, this.readVPS(unit.data));
                this.initVPS = unit.data;
              }
              track.vps = [unit.data];
              break;
    
            // SPS
            case 33:
              push = true;
              spsfound = true;
              if (track.vps !== undefined && track.vps[0] !== this.initVPS && track.sps !== undefined && !this.matchSPS(track.sps[0], unit.data)) {
                this.initVPS = track.vps[0];
                track.sps = track.pps = undefined;
              }
              if (!track.sps) {
                const config = this.readSPS(unit.data);
                track.width = config.width;
                track.height = config.height;
                track.pixelRatio = config.pixelRatio;
                track.codec = config.codecString;
                track.sps = [];
                if (typeof track.params !== 'object') {
                  track.params = {};
                }
                for (const prop in config.params) {
                  track.params[prop] = config.params[prop];
                }
              }
              this.pushParameterSet(track.sps, unit.data, track.vps);
              if (!VideoSample) {
                VideoSample = this.VideoSample = this.createVideoSample(true, pes.pts, pes.dts);
              }
              VideoSample.key = true;
              break;
    
            // PPS
            case 34:
              push = true;
              if (typeof track.params === 'object') {
                if (!track.pps) {
                  track.pps = [];
                  const config = this.readPPS(unit.data);
                  for (const prop in config) {
                    track.params[prop] = config[prop];
                  }
                }
                this.pushParameterSet(track.pps, unit.data, track.vps);
              }
              break;
    
            // ACCESS UNIT DELIMITER
            case 35:
              push = true;
              track.audFound = true;
              if ((_VideoSample3 = VideoSample) != null && _VideoSample3.frame) {
                this.pushAccessUnit(VideoSample, track);
                VideoSample = null;
              }
              if (!VideoSample) {
                VideoSample = this.VideoSample = this.createVideoSample(false, pes.pts, pes.dts);
              }
              break;
            default:
              push = false;
              break;
          }
          if (VideoSample && push) {
            const units = VideoSample.units;
            units.push(unit);
          }
        });
        // if last PES packet, push samples
        if (endOfSegment && VideoSample) {
          this.pushAccessUnit(VideoSample, track);
          this.VideoSample = null;
        }
      }
      pushParameterSet(parameterSets, data, vps) {
        if (vps && vps[0] === this.initVPS || !vps && !parameterSets.length) {
          parameterSets.push(data);
        }
      }
      getNALuType(data, offset) {
        return (data[offset] & 0x7e) >>> 1;
      }
      ebsp2rbsp(arr) {
        const dst = new Uint8Array(arr.byteLength);
        let dstIdx = 0;
        for (let i = 0; i < arr.byteLength; i++) {
          if (i >= 2) {
            // Unescape: Skip 0x03 after 00 00
            if (arr[i] === 0x03 && arr[i - 1] === 0x00 && arr[i - 2] === 0x00) {
              continue;
            }
          }
          dst[dstIdx] = arr[i];
          dstIdx++;
        }
        return new Uint8Array(dst.buffer, 0, dstIdx);
      }
      pushAccessUnit(VideoSample, videoTrack) {
        super.pushAccessUnit(VideoSample, videoTrack);
        if (this.initVPS) {
          this.initVPS = null; // null initVPS to prevent possible track's sps/pps growth until next VPS
        }
      }
      readVPS(vps) {
        const eg = new ExpGolomb(vps);
        // remove header
        eg.readUByte();
        eg.readUByte();
        eg.readBits(4); // video_parameter_set_id
        eg.skipBits(2);
        eg.readBits(6); // max_layers_minus1
        const max_sub_layers_minus1 = eg.readBits(3);
        const temporal_id_nesting_flag = eg.readBoolean();
        // ...vui fps can be here, but empty fps value is not critical for metadata
    
        return {
          numTemporalLayers: max_sub_layers_minus1 + 1,
          temporalIdNested: temporal_id_nesting_flag
        };
      }
      readSPS(sps) {
        const eg = new ExpGolomb(this.ebsp2rbsp(sps));
        eg.readUByte();
        eg.readUByte();
        eg.readBits(4); //video_parameter_set_id
        const max_sub_layers_minus1 = eg.readBits(3);
        eg.readBoolean(); // temporal_id_nesting_flag
    
        // profile_tier_level
        const general_profile_space = eg.readBits(2);
        const general_tier_flag = eg.readBoolean();
        const general_profile_idc = eg.readBits(5);
        const general_profile_compatibility_flags_1 = eg.readUByte();
        const general_profile_compatibility_flags_2 = eg.readUByte();
        const general_profile_compatibility_flags_3 = eg.readUByte();
        const general_profile_compatibility_flags_4 = eg.readUByte();
        const general_constraint_indicator_flags_1 = eg.readUByte();
        const general_constraint_indicator_flags_2 = eg.readUByte();
        const general_constraint_indicator_flags_3 = eg.readUByte();
        const general_constraint_indicator_flags_4 = eg.readUByte();
        const general_constraint_indicator_flags_5 = eg.readUByte();
        const general_constraint_indicator_flags_6 = eg.readUByte();
        const general_level_idc = eg.readUByte();
        const sub_layer_profile_present_flags = [];
        const sub_layer_level_present_flags = [];
        for (let i = 0; i < max_sub_layers_minus1; i++) {
          sub_layer_profile_present_flags.push(eg.readBoolean());
          sub_layer_level_present_flags.push(eg.readBoolean());
        }
        if (max_sub_layers_minus1 > 0) {
          for (let i = max_sub_layers_minus1; i < 8; i++) {
            eg.readBits(2);
          }
        }
        for (let i = 0; i < max_sub_layers_minus1; i++) {
          if (sub_layer_profile_present_flags[i]) {
            eg.readUByte(); // sub_layer_profile_space, sub_layer_tier_flag, sub_layer_profile_idc
            eg.readUByte();
            eg.readUByte();
            eg.readUByte();
            eg.readUByte(); // sub_layer_profile_compatibility_flag
            eg.readUByte();
            eg.readUByte();
            eg.readUByte();
            eg.readUByte();
            eg.readUByte();
            eg.readUByte();
          }
          if (sub_layer_level_present_flags[i]) {
            eg.readUByte();
          }
        }
        eg.readUEG(); // seq_parameter_set_id
        const chroma_format_idc = eg.readUEG();
        if (chroma_format_idc == 3) {
          eg.skipBits(1); //separate_colour_plane_flag
        }
        const pic_width_in_luma_samples = eg.readUEG();
        const pic_height_in_luma_samples = eg.readUEG();
        const conformance_window_flag = eg.readBoolean();
        let pic_left_offset = 0,
          pic_right_offset = 0,
          pic_top_offset = 0,
          pic_bottom_offset = 0;
        if (conformance_window_flag) {
          pic_left_offset += eg.readUEG();
          pic_right_offset += eg.readUEG();
          pic_top_offset += eg.readUEG();
          pic_bottom_offset += eg.readUEG();
        }
        const bit_depth_luma_minus8 = eg.readUEG();
        const bit_depth_chroma_minus8 = eg.readUEG();
        const log2_max_pic_order_cnt_lsb_minus4 = eg.readUEG();
        const sub_layer_ordering_info_present_flag = eg.readBoolean();
        for (let i = sub_layer_ordering_info_present_flag ? 0 : max_sub_layers_minus1; i <= max_sub_layers_minus1; i++) {
          eg.skipUEG(); // max_dec_pic_buffering_minus1[i]
          eg.skipUEG(); // max_num_reorder_pics[i]
          eg.skipUEG(); // max_latency_increase_plus1[i]
        }
        eg.skipUEG(); // log2_min_luma_coding_block_size_minus3
        eg.skipUEG(); // log2_diff_max_min_luma_coding_block_size
        eg.skipUEG(); // log2_min_transform_block_size_minus2
        eg.skipUEG(); // log2_diff_max_min_transform_block_size
        eg.skipUEG(); // max_transform_hierarchy_depth_inter
        eg.skipUEG(); // max_transform_hierarchy_depth_intra
        const scaling_list_enabled_flag = eg.readBoolean();
        if (scaling_list_enabled_flag) {
          const sps_scaling_list_data_present_flag = eg.readBoolean();
          if (sps_scaling_list_data_present_flag) {
            for (let sizeId = 0; sizeId < 4; sizeId++) {
              for (let matrixId = 0; matrixId < (sizeId === 3 ? 2 : 6); matrixId++) {
                const scaling_list_pred_mode_flag = eg.readBoolean();
                if (!scaling_list_pred_mode_flag) {
                  eg.readUEG(); // scaling_list_pred_matrix_id_delta
                } else {
                  const coefNum = Math.min(64, 1 << 4 + (sizeId << 1));
                  if (sizeId > 1) {
                    eg.readEG();
                  }
                  for (let i = 0; i < coefNum; i++) {
                    eg.readEG();
                  }
                }
              }
            }
          }
        }
        eg.readBoolean(); // amp_enabled_flag
        eg.readBoolean(); // sample_adaptive_offset_enabled_flag
        const pcm_enabled_flag = eg.readBoolean();
        if (pcm_enabled_flag) {
          eg.readUByte();
          eg.skipUEG();
          eg.skipUEG();
          eg.readBoolean();
        }
        const num_short_term_ref_pic_sets = eg.readUEG();
        let num_delta_pocs = 0;
        for (let i = 0; i < num_short_term_ref_pic_sets; i++) {
          let inter_ref_pic_set_prediction_flag = false;
          if (i !== 0) {
            inter_ref_pic_set_prediction_flag = eg.readBoolean();
          }
          if (inter_ref_pic_set_prediction_flag) {
            if (i === num_short_term_ref_pic_sets) {
              eg.readUEG();
            }
            eg.readBoolean();
            eg.readUEG();
            let next_num_delta_pocs = 0;
            for (let j = 0; j <= num_delta_pocs; j++) {
              const used_by_curr_pic_flag = eg.readBoolean();
              let use_delta_flag = false;
              if (!used_by_curr_pic_flag) {
                use_delta_flag = eg.readBoolean();
              }
              if (used_by_curr_pic_flag || use_delta_flag) {
                next_num_delta_pocs++;
              }
            }
            num_delta_pocs = next_num_delta_pocs;
          } else {
            const num_negative_pics = eg.readUEG();
            const num_positive_pics = eg.readUEG();
            num_delta_pocs = num_negative_pics + num_positive_pics;
            for (let j = 0; j < num_negative_pics; j++) {
              eg.readUEG();
              eg.readBoolean();
            }
            for (let j = 0; j < num_positive_pics; j++) {
              eg.readUEG();
              eg.readBoolean();
            }
          }
        }
        const long_term_ref_pics_present_flag = eg.readBoolean();
        if (long_term_ref_pics_present_flag) {
          const num_long_term_ref_pics_sps = eg.readUEG();
          for (let i = 0; i < num_long_term_ref_pics_sps; i++) {
            for (let j = 0; j < log2_max_pic_order_cnt_lsb_minus4 + 4; j++) {
              eg.readBits(1);
            }
            eg.readBits(1);
          }
        }
        let min_spatial_segmentation_idc = 0;
        let sar_width = 1,
          sar_height = 1;
        let fps_fixed = true,
          fps_den = 1,
          fps_num = 0;
        eg.readBoolean(); // sps_temporal_mvp_enabled_flag
        eg.readBoolean(); // strong_intra_smoothing_enabled_flag
        let default_display_window_flag = false;
        const vui_parameters_present_flag = eg.readBoolean();
        if (vui_parameters_present_flag) {
          const aspect_ratio_info_present_flag = eg.readBoolean();
          if (aspect_ratio_info_present_flag) {
            const aspect_ratio_idc = eg.readUByte();
            const sar_width_table = [1, 12, 10, 16, 40, 24, 20, 32, 80, 18, 15, 64, 160, 4, 3, 2];
            const sar_height_table = [1, 11, 11, 11, 33, 11, 11, 11, 33, 11, 11, 33, 99, 3, 2, 1];
            if (aspect_ratio_idc > 0 && aspect_ratio_idc < 16) {
              sar_width = sar_width_table[aspect_ratio_idc - 1];
              sar_height = sar_height_table[aspect_ratio_idc - 1];
            } else if (aspect_ratio_idc === 255) {
              sar_width = eg.readBits(16);
              sar_height = eg.readBits(16);
            }
          }
          const overscan_info_present_flag = eg.readBoolean();
          if (overscan_info_present_flag) {
            eg.readBoolean();
          }
          const video_signal_type_present_flag = eg.readBoolean();
          if (video_signal_type_present_flag) {
            eg.readBits(3);
            eg.readBoolean();
            const colour_description_present_flag = eg.readBoolean();
            if (colour_description_present_flag) {
              eg.readUByte();
              eg.readUByte();
              eg.readUByte();
            }
          }
          const chroma_loc_info_present_flag = eg.readBoolean();
          if (chroma_loc_info_present_flag) {
            eg.readUEG();
            eg.readUEG();
          }
          eg.readBoolean(); // neutral_chroma_indication_flag
          eg.readBoolean(); // field_seq_flag
          eg.readBoolean(); // frame_field_info_present_flag
          default_display_window_flag = eg.readBoolean();
          if (default_display_window_flag) {
            eg.skipUEG();
            eg.skipUEG();
            eg.skipUEG();
            eg.skipUEG();
          }
          const vui_timing_info_present_flag = eg.readBoolean();
          if (vui_timing_info_present_flag) {
            fps_den = eg.readBits(32);
            fps_num = eg.readBits(32);
            const vui_poc_proportional_to_timing_flag = eg.readBoolean();
            if (vui_poc_proportional_to_timing_flag) {
              eg.readUEG();
            }
            const vui_hrd_parameters_present_flag = eg.readBoolean();
            if (vui_hrd_parameters_present_flag) {
              //const commonInfPresentFlag = true;
              //if (commonInfPresentFlag) {
              const nal_hrd_parameters_present_flag = eg.readBoolean();
              const vcl_hrd_parameters_present_flag = eg.readBoolean();
              let sub_pic_hrd_params_present_flag = false;
              if (nal_hrd_parameters_present_flag || vcl_hrd_parameters_present_flag) {
                sub_pic_hrd_params_present_flag = eg.readBoolean();
                if (sub_pic_hrd_params_present_flag) {
                  eg.readUByte();
                  eg.readBits(5);
                  eg.readBoolean();
                  eg.readBits(5);
                }
                eg.readBits(4); // bit_rate_scale
                eg.readBits(4); // cpb_size_scale
                if (sub_pic_hrd_params_present_flag) {
                  eg.readBits(4);
                }
                eg.readBits(5);
                eg.readBits(5);
                eg.readBits(5);
              }
              //}
              for (let i = 0; i <= max_sub_layers_minus1; i++) {
                fps_fixed = eg.readBoolean(); // fixed_pic_rate_general_flag
                const fixed_pic_rate_within_cvs_flag = fps_fixed || eg.readBoolean();
                let low_delay_hrd_flag = false;
                if (fixed_pic_rate_within_cvs_flag) {
                  eg.readEG();
                } else {
                  low_delay_hrd_flag = eg.readBoolean();
                }
                const cpb_cnt = low_delay_hrd_flag ? 1 : eg.readUEG() + 1;
                if (nal_hrd_parameters_present_flag) {
                  for (let j = 0; j < cpb_cnt; j++) {
                    eg.readUEG();
                    eg.readUEG();
                    if (sub_pic_hrd_params_present_flag) {
                      eg.readUEG();
                      eg.readUEG();
                    }
                    eg.skipBits(1);
                  }
                }
                if (vcl_hrd_parameters_present_flag) {
                  for (let j = 0; j < cpb_cnt; j++) {
                    eg.readUEG();
                    eg.readUEG();
                    if (sub_pic_hrd_params_present_flag) {
                      eg.readUEG();
                      eg.readUEG();
                    }
                    eg.skipBits(1);
                  }
                }
              }
            }
          }
          const bitstream_restriction_flag = eg.readBoolean();
          if (bitstream_restriction_flag) {
            eg.readBoolean(); // tiles_fixed_structure_flag
            eg.readBoolean(); // motion_vectors_over_pic_boundaries_flag
            eg.readBoolean(); // restricted_ref_pic_lists_flag
            min_spatial_segmentation_idc = eg.readUEG();
          }
        }
        let width = pic_width_in_luma_samples,
          height = pic_height_in_luma_samples;
        if (conformance_window_flag) {
          let chroma_scale_w = 1,
            chroma_scale_h = 1;
          if (chroma_format_idc === 1) {
            // YUV 420
            chroma_scale_w = chroma_scale_h = 2;
          } else if (chroma_format_idc == 2) {
            // YUV 422
            chroma_scale_w = 2;
          }
          width = pic_width_in_luma_samples - chroma_scale_w * pic_right_offset - chroma_scale_w * pic_left_offset;
          height = pic_height_in_luma_samples - chroma_scale_h * pic_bottom_offset - chroma_scale_h * pic_top_offset;
        }
        const profile_space_string = general_profile_space ? ['A', 'B', 'C'][general_profile_space] : '';
        const profile_compatibility_buf = general_profile_compatibility_flags_1 << 24 | general_profile_compatibility_flags_2 << 16 | general_profile_compatibility_flags_3 << 8 | general_profile_compatibility_flags_4;
        let profile_compatibility_rev = 0;
        for (let i = 0; i < 32; i++) {
          profile_compatibility_rev = (profile_compatibility_rev | (profile_compatibility_buf >> i & 1) << 31 - i) >>> 0; // reverse bit position (and cast as UInt32)
        }
        let profile_compatibility_flags_string = profile_compatibility_rev.toString(16);
        if (general_profile_idc === 1 && profile_compatibility_flags_string === '2') {
          profile_compatibility_flags_string = '6';
        }
        const tier_flag_string = general_tier_flag ? 'H' : 'L';
        return {
          codecString: `hvc1.${profile_space_string}${general_profile_idc}.${profile_compatibility_flags_string}.${tier_flag_string}${general_level_idc}.B0`,
          params: {
            general_tier_flag,
            general_profile_idc,
            general_profile_space,
            general_profile_compatibility_flags: [general_profile_compatibility_flags_1, general_profile_compatibility_flags_2, general_profile_compatibility_flags_3, general_profile_compatibility_flags_4],
            general_constraint_indicator_flags: [general_constraint_indicator_flags_1, general_constraint_indicator_flags_2, general_constraint_indicator_flags_3, general_constraint_indicator_flags_4, general_constraint_indicator_flags_5, general_constraint_indicator_flags_6],
            general_level_idc,
            bit_depth: bit_depth_luma_minus8 + 8,
            bit_depth_luma_minus8,
            bit_depth_chroma_minus8,
            min_spatial_segmentation_idc,
            chroma_format_idc: chroma_format_idc,
            frame_rate: {
              fixed: fps_fixed,
              fps: fps_num / fps_den
            }
          },
          width,
          height,
          pixelRatio: [sar_width, sar_height]
        };
      }
      readPPS(pps) {
        const eg = new ExpGolomb(this.ebsp2rbsp(pps));
        eg.readUByte();
        eg.readUByte();
        eg.skipUEG(); // pic_parameter_set_id
        eg.skipUEG(); // seq_parameter_set_id
        eg.skipBits(2); // dependent_slice_segments_enabled_flag, output_flag_present_flag
        eg.skipBits(3); // num_extra_slice_header_bits
        eg.skipBits(2); // sign_data_hiding_enabled_flag, cabac_init_present_flag
        eg.skipUEG();
        eg.skipUEG();
        eg.skipEG(); // init_qp_minus26
        eg.skipBits(2); // constrained_intra_pred_flag, transform_skip_enabled_flag
        const cu_qp_delta_enabled_flag = eg.readBoolean();
        if (cu_qp_delta_enabled_flag) {
          eg.skipUEG();
        }
        eg.skipEG(); // cb_qp_offset
        eg.skipEG(); // cr_qp_offset
        eg.skipBits(4); // pps_slice_chroma_qp_offsets_present_flag, weighted_pred_flag, weighted_bipred_flag, transquant_bypass_enabled_flag
        const tiles_enabled_flag = eg.readBoolean();
        const entropy_coding_sync_enabled_flag = eg.readBoolean();
        let parallelismType = 1; // slice-based parallel decoding
        if (entropy_coding_sync_enabled_flag && tiles_enabled_flag) {
          parallelismType = 0; // mixed-type parallel decoding
        } else if (entropy_coding_sync_enabled_flag) {
          parallelismType = 3; // wavefront-based parallel decoding
        } else if (tiles_enabled_flag) {
          parallelismType = 2; // tile-based parallel decoding
        }
        return {
          parallelismType
        };
      }
      matchSPS(sps1, sps2) {
        // compare without headers and VPS related params
        return String.fromCharCode.apply(null, sps1).substr(3) === String.fromCharCode.apply(null, sps2).substr(3);
      }
    }
    
    const PACKET_LENGTH = 188;
    class TSDemuxer {
      constructor(observer, config, typeSupported, logger) {
        this.logger = void 0;
        this.observer = void 0;
        this.config = void 0;
        this.typeSupported = void 0;
        this.sampleAes = null;
        this.pmtParsed = false;
        this.audioCodec = void 0;
        this.videoCodec = void 0;
        this._pmtId = -1;
        this._videoTrack = void 0;
        this._audioTrack = void 0;
        this._id3Track = void 0;
        this._txtTrack = void 0;
        this.aacOverFlow = null;
        this.remainderData = null;
        this.videoParser = void 0;
        this.observer = observer;
        this.config = config;
        this.typeSupported = typeSupported;
        this.logger = logger;
        this.videoParser = null;
      }
      static probe(data, logger) {
        const syncOffset = TSDemuxer.syncOffset(data);
        if (syncOffset > 0) {
          logger.warn(`MPEG2-TS detected but first sync word found @ offset ${syncOffset}`);
        }
        return syncOffset !== -1;
      }
      static syncOffset(data) {
        const length = data.length;
        let scanwindow = Math.min(PACKET_LENGTH * 5, length - PACKET_LENGTH) + 1;
        let i = 0;
        while (i < scanwindow) {
          // a TS init segment should contain at least 2 TS packets: PAT and PMT, each starting with 0x47
          let foundPat = false;
          let packetStart = -1;
          let tsPackets = 0;
          for (let j = i; j < length; j += PACKET_LENGTH) {
            if (data[j] === 0x47 && (length - j === PACKET_LENGTH || data[j + PACKET_LENGTH] === 0x47)) {
              tsPackets++;
              if (packetStart === -1) {
                packetStart = j;
                // First sync word found at offset, increase scan length (#5251)
                if (packetStart !== 0) {
                  scanwindow = Math.min(packetStart + PACKET_LENGTH * 99, data.length - PACKET_LENGTH) + 1;
                }
              }
              if (!foundPat) {
                foundPat = parsePID(data, j) === 0;
              }
              // Sync word found at 0 with 3 packets, or found at offset least 2 packets up to scanwindow (#5501)
              if (foundPat && tsPackets > 1 && (packetStart === 0 && tsPackets > 2 || j + PACKET_LENGTH > scanwindow)) {
                return packetStart;
              }
            } else if (tsPackets) {
              // Exit if sync word found, but does not contain contiguous packets
              return -1;
            } else {
              break;
            }
          }
          i++;
        }
        return -1;
      }
    
      /**
       * Creates a track model internal to demuxer used to drive remuxing input
       */
      static createTrack(type, duration) {
        return {
          container: type === 'video' || type === 'audio' ? 'video/mp2t' : undefined,
          type,
          id: RemuxerTrackIdConfig[type],
          pid: -1,
          inputTimeScale: 90000,
          sequenceNumber: 0,
          samples: [],
          dropped: 0,
          duration: type === 'audio' ? duration : undefined
        };
      }
    
      /**
       * Initializes a new init segment on the demuxer/remuxer interface. Needed for discontinuities/track-switches (or at stream start)
       * Resets all internal track instances of the demuxer.
       */
      resetInitSegment(initSegment, audioCodec, videoCodec, trackDuration) {
        this.pmtParsed = false;
        this._pmtId = -1;
        this._videoTrack = TSDemuxer.createTrack('video');
        this._videoTrack.duration = trackDuration;
        this._audioTrack = TSDemuxer.createTrack('audio', trackDuration);
        this._id3Track = TSDemuxer.createTrack('id3');
        this._txtTrack = TSDemuxer.createTrack('text');
        this._audioTrack.segmentCodec = 'aac';
    
        // flush any partial content
        this.videoParser = null;
        this.aacOverFlow = null;
        this.remainderData = null;
        this.audioCodec = audioCodec;
        this.videoCodec = videoCodec;
      }
      resetTimeStamp() {}
      resetContiguity() {
        const {
          _audioTrack,
          _videoTrack,
          _id3Track
        } = this;
        if (_audioTrack) {
          _audioTrack.pesData = null;
        }
        if (_videoTrack) {
          _videoTrack.pesData = null;
        }
        if (_id3Track) {
          _id3Track.pesData = null;
        }
        this.aacOverFlow = null;
        this.remainderData = null;
      }
      demux(data, timeOffset, isSampleAes = false, flush = false) {
        if (!isSampleAes) {
          this.sampleAes = null;
        }
        let pes;
        const videoTrack = this._videoTrack;
        const audioTrack = this._audioTrack;
        const id3Track = this._id3Track;
        const textTrack = this._txtTrack;
        let videoPid = videoTrack.pid;
        let videoData = videoTrack.pesData;
        let audioPid = audioTrack.pid;
        let id3Pid = id3Track.pid;
        let audioData = audioTrack.pesData;
        let id3Data = id3Track.pesData;
        let unknownPID = null;
        let pmtParsed = this.pmtParsed;
        let pmtId = this._pmtId;
        let len = data.length;
        if (this.remainderData) {
          data = appendUint8Array(this.remainderData, data);
          len = data.length;
          this.remainderData = null;
        }
        if (len < PACKET_LENGTH && !flush) {
          this.remainderData = data;
          return {
            audioTrack,
            videoTrack,
            id3Track,
            textTrack
          };
        }
        const syncOffset = Math.max(0, TSDemuxer.syncOffset(data));
        len -= (len - syncOffset) % PACKET_LENGTH;
        if (len < data.byteLength && !flush) {
          this.remainderData = new Uint8Array(data.buffer, len, data.buffer.byteLength - len);
        }
    
        // loop through TS packets
        let tsPacketErrors = 0;
        for (let start = syncOffset; start < len; start += PACKET_LENGTH) {
          if (data[start] === 0x47) {
            const stt = !!(data[start + 1] & 0x40);
            const pid = parsePID(data, start);
            const atf = (data[start + 3] & 0x30) >> 4;
    
            // if an adaption field is present, its length is specified by the fifth byte of the TS packet header.
            let offset;
            if (atf > 1) {
              offset = start + 5 + data[start + 4];
              // continue if there is only adaptation field
              if (offset === start + PACKET_LENGTH) {
                continue;
              }
            } else {
              offset = start + 4;
            }
            switch (pid) {
              case videoPid:
                if (stt) {
                  if (videoData && (pes = parsePES(videoData, this.logger))) {
                    this.readyVideoParser(videoTrack.segmentCodec);
                    if (this.videoParser !== null) {
                      this.videoParser.parsePES(videoTrack, textTrack, pes, false);
                    }
                  }
                  videoData = {
                    data: [],
                    size: 0
                  };
                }
                if (videoData) {
                  videoData.data.push(data.subarray(offset, start + PACKET_LENGTH));
                  videoData.size += start + PACKET_LENGTH - offset;
                }
                break;
              case audioPid:
                if (stt) {
                  if (audioData && (pes = parsePES(audioData, this.logger))) {
                    switch (audioTrack.segmentCodec) {
                      case 'aac':
                        this.parseAACPES(audioTrack, pes);
                        break;
                      case 'mp3':
                        this.parseMPEGPES(audioTrack, pes);
                        break;
                      case 'ac3':
                        {
                          this.parseAC3PES(audioTrack, pes);
                        }
                        break;
                    }
                  }
                  audioData = {
                    data: [],
                    size: 0
                  };
                }
                if (audioData) {
                  audioData.data.push(data.subarray(offset, start + PACKET_LENGTH));
                  audioData.size += start + PACKET_LENGTH - offset;
                }
                break;
              case id3Pid:
                if (stt) {
                  if (id3Data && (pes = parsePES(id3Data, this.logger))) {
                    this.parseID3PES(id3Track, pes);
                  }
                  id3Data = {
                    data: [],
                    size: 0
                  };
                }
                if (id3Data) {
                  id3Data.data.push(data.subarray(offset, start + PACKET_LENGTH));
                  id3Data.size += start + PACKET_LENGTH - offset;
                }
                break;
              case 0:
                if (stt) {
                  offset += data[offset] + 1;
                }
                pmtId = this._pmtId = parsePAT(data, offset);
                // this.logger.log('PMT PID:'  + this._pmtId);
                break;
              case pmtId:
                {
                  if (stt) {
                    offset += data[offset] + 1;
                  }
                  const parsedPIDs = parsePMT(data, offset, this.typeSupported, isSampleAes, this.observer, this.logger);
    
                  // only update track id if track PID found while parsing PMT
                  // this is to avoid resetting the PID to -1 in case
                  // track PID transiently disappears from the stream
                  // this could happen in case of transient missing audio samples for example
                  // NOTE this is only the PID of the track as found in TS,
                  // but we are not using this for MP4 track IDs.
                  videoPid = parsedPIDs.videoPid;
                  if (videoPid > 0) {
                    videoTrack.pid = videoPid;
                    videoTrack.segmentCodec = parsedPIDs.segmentVideoCodec;
                  }
                  audioPid = parsedPIDs.audioPid;
                  if (audioPid > 0) {
                    audioTrack.pid = audioPid;
                    audioTrack.segmentCodec = parsedPIDs.segmentAudioCodec;
                  }
                  id3Pid = parsedPIDs.id3Pid;
                  if (id3Pid > 0) {
                    id3Track.pid = id3Pid;
                  }
                  if (unknownPID !== null && !pmtParsed) {
                    this.logger.warn(`MPEG-TS PMT found at ${start} after unknown PID '${unknownPID}'. Backtracking to sync byte @${syncOffset} to parse all TS packets.`);
                    unknownPID = null;
                    // we set it to -188, the += 188 in the for loop will reset start to 0
                    start = syncOffset - 188;
                  }
                  pmtParsed = this.pmtParsed = true;
                  break;
                }
              case 0x11:
              case 0x1fff:
                break;
              default:
                unknownPID = pid;
                break;
            }
          } else {
            tsPacketErrors++;
          }
        }
        if (tsPacketErrors > 0) {
          emitParsingError(this.observer, new Error(`Found ${tsPacketErrors} TS packet/s that do not start with 0x47`), undefined, this.logger);
        }
        videoTrack.pesData = videoData;
        audioTrack.pesData = audioData;
        id3Track.pesData = id3Data;
        const demuxResult = {
          audioTrack,
          videoTrack,
          id3Track,
          textTrack
        };
        if (flush) {
          this.extractRemainingSamples(demuxResult);
        }
        return demuxResult;
      }
      flush() {
        const {
          remainderData
        } = this;
        this.remainderData = null;
        let result;
        if (remainderData) {
          result = this.demux(remainderData, -1, false, true);
        } else {
          result = {
            videoTrack: this._videoTrack,
            audioTrack: this._audioTrack,
            id3Track: this._id3Track,
            textTrack: this._txtTrack
          };
        }
        this.extractRemainingSamples(result);
        if (this.sampleAes) {
          return this.decrypt(result, this.sampleAes);
        }
        return result;
      }
      extractRemainingSamples(demuxResult) {
        const {
          audioTrack,
          videoTrack,
          id3Track,
          textTrack
        } = demuxResult;
        const videoData = videoTrack.pesData;
        const audioData = audioTrack.pesData;
        const id3Data = id3Track.pesData;
        // try to parse last PES packets
        let pes;
        if (videoData && (pes = parsePES(videoData, this.logger))) {
          this.readyVideoParser(videoTrack.segmentCodec);
          if (this.videoParser !== null) {
            this.videoParser.parsePES(videoTrack, textTrack, pes, true);
            videoTrack.pesData = null;
          }
        } else {
          // either avcData null or PES truncated, keep it for next frag parsing
          videoTrack.pesData = videoData;
        }
        if (audioData && (pes = parsePES(audioData, this.logger))) {
          switch (audioTrack.segmentCodec) {
            case 'aac':
              this.parseAACPES(audioTrack, pes);
              break;
            case 'mp3':
              this.parseMPEGPES(audioTrack, pes);
              break;
            case 'ac3':
              {
                this.parseAC3PES(audioTrack, pes);
              }
              break;
          }
          audioTrack.pesData = null;
        } else {
          if (audioData != null && audioData.size) {
            this.logger.log('last AAC PES packet truncated,might overlap between fragments');
          }
    
          // either audioData null or PES truncated, keep it for next frag parsing
          audioTrack.pesData = audioData;
        }
        if (id3Data && (pes = parsePES(id3Data, this.logger))) {
          this.parseID3PES(id3Track, pes);
          id3Track.pesData = null;
        } else {
          // either id3Data null or PES truncated, keep it for next frag parsing
          id3Track.pesData = id3Data;
        }
      }
      demuxSampleAes(data, keyData, timeOffset) {
        const demuxResult = this.demux(data, timeOffset, true, !this.config.progressive);
        const sampleAes = this.sampleAes = new SampleAesDecrypter(this.observer, this.config, keyData);
        return this.decrypt(demuxResult, sampleAes);
      }
      readyVideoParser(codec) {
        if (this.videoParser === null) {
          if (codec === 'avc') {
            this.videoParser = new AvcVideoParser();
          } else if (codec === 'hevc') {
            this.videoParser = new HevcVideoParser();
          }
        }
      }
      decrypt(demuxResult, sampleAes) {
        return new Promise(resolve => {
          const {
            audioTrack,
            videoTrack
          } = demuxResult;
          if (audioTrack.samples && audioTrack.segmentCodec === 'aac') {
            sampleAes.decryptAacSamples(audioTrack.samples, 0, () => {
              if (videoTrack.samples) {
                sampleAes.decryptAvcSamples(videoTrack.samples, 0, 0, () => {
                  resolve(demuxResult);
                });
              } else {
                resolve(demuxResult);
              }
            });
          } else if (videoTrack.samples) {
            sampleAes.decryptAvcSamples(videoTrack.samples, 0, 0, () => {
              resolve(demuxResult);
            });
          }
        });
      }
      destroy() {
        if (this.observer) {
          this.observer.removeAllListeners();
        }
        // @ts-ignore
        this.config = this.logger = this.observer = null;
        this.aacOverFlow = this.videoParser = this.remainderData = this.sampleAes = null;
        this._videoTrack = this._audioTrack = this._id3Track = this._txtTrack = undefined;
      }
      parseAACPES(track, pes) {
        let startOffset = 0;
        const aacOverFlow = this.aacOverFlow;
        let data = pes.data;
        if (aacOverFlow) {
          this.aacOverFlow = null;
          const frameMissingBytes = aacOverFlow.missing;
          const sampleLength = aacOverFlow.sample.unit.byteLength;
          // logger.log(`AAC: append overflowing ${sampleLength} bytes to beginning of new PES`);
          if (frameMissingBytes === -1) {
            data = appendUint8Array(aacOverFlow.sample.unit, data);
          } else {
            const frameOverflowBytes = sampleLength - frameMissingBytes;
            aacOverFlow.sample.unit.set(data.subarray(0, frameMissingBytes), frameOverflowBytes);
            track.samples.push(aacOverFlow.sample);
            startOffset = aacOverFlow.missing;
          }
        }
        // look for ADTS header (0xFFFx)
        let offset;
        let len;
        for (offset = startOffset, len = data.length; offset < len - 1; offset++) {
          if (isHeader$1(data, offset)) {
            break;
          }
        }
        // if ADTS header does not start straight from the beginning of the PES payload, raise an error
        if (offset !== startOffset) {
          let reason;
          const recoverable = offset < len - 1;
          if (recoverable) {
            reason = `AAC PES did not start with ADTS header,offset:${offset}`;
          } else {
            reason = 'No ADTS header found in AAC PES';
          }
          emitParsingError(this.observer, new Error(reason), recoverable, this.logger);
          if (!recoverable) {
            return;
          }
        }
        initTrackConfig(track, this.observer, data, offset, this.audioCodec);
        let pts;
        if (pes.pts !== undefined) {
          pts = pes.pts;
        } else if (aacOverFlow) {
          // if last AAC frame is overflowing, we should ensure timestamps are contiguous:
          // first sample PTS should be equal to last sample PTS + frameDuration
          const frameDuration = getFrameDuration(track.samplerate);
          pts = aacOverFlow.sample.pts + frameDuration;
        } else {
          this.logger.warn('[tsdemuxer]: AAC PES unknown PTS');
          return;
        }
    
        // scan for aac samples
        let frameIndex = 0;
        let frame;
        while (offset < len) {
          frame = appendFrame$2(track, data, offset, pts, frameIndex);
          offset += frame.length;
          if (!frame.missing) {
            frameIndex++;
            for (; offset < len - 1; offset++) {
              if (isHeader$1(data, offset)) {
                break;
              }
            }
          } else {
            this.aacOverFlow = frame;
            break;
          }
        }
      }
      parseMPEGPES(track, pes) {
        const data = pes.data;
        const length = data.length;
        let frameIndex = 0;
        let offset = 0;
        const pts = pes.pts;
        if (pts === undefined) {
          this.logger.warn('[tsdemuxer]: MPEG PES unknown PTS');
          return;
        }
        while (offset < length) {
          if (isHeader(data, offset)) {
            const frame = appendFrame$1(track, data, offset, pts, frameIndex);
            if (frame) {
              offset += frame.length;
              frameIndex++;
            } else {
              // logger.log('Unable to parse Mpeg audio frame');
              break;
            }
          } else {
            // nothing found, keep looking
            offset++;
          }
        }
      }
      parseAC3PES(track, pes) {
        {
          const data = pes.data;
          const pts = pes.pts;
          if (pts === undefined) {
            this.logger.warn('[tsdemuxer]: AC3 PES unknown PTS');
            return;
          }
          const length = data.length;
          let frameIndex = 0;
          let offset = 0;
          let parsed;
          while (offset < length && (parsed = appendFrame(track, data, offset, pts, frameIndex++)) > 0) {
            offset += parsed;
          }
        }
      }
      parseID3PES(id3Track, pes) {
        if (pes.pts === undefined) {
          this.logger.warn('[tsdemuxer]: ID3 PES unknown PTS');
          return;
        }
        const id3Sample = _extends({}, pes, {
          type: this._videoTrack ? MetadataSchema.emsg : MetadataSchema.audioId3,
          duration: Number.POSITIVE_INFINITY
        });
        id3Track.samples.push(id3Sample);
      }
    }
    function parsePID(data, offset) {
      // pid is a 13-bit field starting at the last bit of TS[1]
      return ((data[offset + 1] & 0x1f) << 8) + data[offset + 2];
    }
    function parsePAT(data, offset) {
      // skip the PSI header and parse the first PMT entry
      return (data[offset + 10] & 0x1f) << 8 | data[offset + 11];
    }
    function parsePMT(data, offset, typeSupported, isSampleAes, observer, logger) {
      const result = {
        audioPid: -1,
        videoPid: -1,
        id3Pid: -1,
        segmentVideoCodec: 'avc',
        segmentAudioCodec: 'aac'
      };
      const sectionLength = (data[offset + 1] & 0x0f) << 8 | data[offset + 2];
      const tableEnd = offset + 3 + sectionLength - 4;
      // to determine where the table is, we have to figure out how
      // long the program info descriptors are
      const programInfoLength = (data[offset + 10] & 0x0f) << 8 | data[offset + 11];
      // advance the offset to the first entry in the mapping table
      offset += 12 + programInfoLength;
      while (offset < tableEnd) {
        const pid = parsePID(data, offset);
        const esInfoLength = (data[offset + 3] & 0x0f) << 8 | data[offset + 4];
        switch (data[offset]) {
          case 0xcf:
            // SAMPLE-AES AAC
            if (!isSampleAes) {
              logEncryptedSamplesFoundInUnencryptedStream('ADTS AAC', logger);
              break;
            }
          /* falls through */
          case 0x0f:
            // ISO/IEC 13818-7 ADTS AAC (MPEG-2 lower bit-rate audio)
            // logger.log('AAC PID:'  + pid);
            if (result.audioPid === -1) {
              result.audioPid = pid;
            }
            break;
    
          // Packetized metadata (ID3)
          case 0x15:
            // logger.log('ID3 PID:'  + pid);
            if (result.id3Pid === -1) {
              result.id3Pid = pid;
            }
            break;
          case 0xdb:
            // SAMPLE-AES AVC
            if (!isSampleAes) {
              logEncryptedSamplesFoundInUnencryptedStream('H.264', logger);
              break;
            }
          /* falls through */
          case 0x1b:
            // ITU-T Rec. H.264 and ISO/IEC 14496-10 (lower bit-rate video)
            // logger.log('AVC PID:'  + pid);
            if (result.videoPid === -1) {
              result.videoPid = pid;
            }
            break;
    
          // ISO/IEC 11172-3 (MPEG-1 audio)
          // or ISO/IEC 13818-3 (MPEG-2 halved sample rate audio)
          case 0x03:
          case 0x04:
            // logger.log('MPEG PID:'  + pid);
            if (!typeSupported.mpeg && !typeSupported.mp3) {
              logger.log('MPEG audio found, not supported in this browser');
            } else if (result.audioPid === -1) {
              result.audioPid = pid;
              result.segmentAudioCodec = 'mp3';
            }
            break;
          case 0xc1:
            // SAMPLE-AES AC3
            if (!isSampleAes) {
              logEncryptedSamplesFoundInUnencryptedStream('AC-3', logger);
              break;
            }
          /* falls through */
          case 0x81:
            {
              if (!typeSupported.ac3) {
                logger.log('AC-3 audio found, not supported in this browser');
              } else if (result.audioPid === -1) {
                result.audioPid = pid;
                result.segmentAudioCodec = 'ac3';
              }
            }
            break;
          case 0x06:
            // stream_type 6 can mean a lot of different things in case of DVB.
            // We need to look at the descriptors. Right now, we're only interested
            // in AC-3 audio, so we do the descriptor parsing only when we don't have
            // an audio PID yet.
            if (result.audioPid === -1 && esInfoLength > 0) {
              let parsePos = offset + 5;
              let remaining = esInfoLength;
              while (remaining > 2) {
                const descriptorId = data[parsePos];
                switch (descriptorId) {
                  case 0x6a:
                    // DVB Descriptor for AC-3
                    {
                      if (typeSupported.ac3 !== true) {
                        logger.log('AC-3 audio found, not supported in this browser for now');
                      } else {
                        result.audioPid = pid;
                        result.segmentAudioCodec = 'ac3';
                      }
                    }
                    break;
                }
                const descriptorLen = data[parsePos + 1] + 2;
                parsePos += descriptorLen;
                remaining -= descriptorLen;
              }
            }
            break;
          case 0xc2: // SAMPLE-AES EC3
          /* falls through */
          case 0x87:
            emitParsingError(observer, new Error('Unsupported EC-3 in M2TS found'), undefined, logger);
            return result;
          case 0x24:
            // ITU-T Rec. H.265 and ISO/IEC 23008-2 (HEVC)
            {
              if (result.videoPid === -1) {
                result.videoPid = pid;
                result.segmentVideoCodec = 'hevc';
                logger.log('HEVC in M2TS found');
              }
            }
            break;
        }
        // move to the next table entry
        // skip past the elementary stream descriptors, if present
        offset += esInfoLength + 5;
      }
      return result;
    }
    function emitParsingError(observer, error, levelRetry, logger) {
      logger.warn(`parsing error: ${error.message}`);
      observer.emit(Events.ERROR, Events.ERROR, {
        type: ErrorTypes.MEDIA_ERROR,
        details: ErrorDetails.FRAG_PARSING_ERROR,
        fatal: false,
        levelRetry,
        error,
        reason: error.message
      });
    }
    function logEncryptedSamplesFoundInUnencryptedStream(type, logger) {
      logger.log(`${type} with AES-128-CBC encryption found in unencrypted stream`);
    }
    function parsePES(stream, logger) {
      let i = 0;
      let frag;
      let pesLen;
      let pesHdrLen;
      let pesPts;
      let pesDts;
      const data = stream.data;
      // safety check
      if (!stream || stream.size === 0) {
        return null;
      }
    
      // we might need up to 19 bytes to read PES header
      // if first chunk of data is less than 19 bytes, let's merge it with following ones until we get 19 bytes
      // usually only one merge is needed (and this is rare ...)
      while (data[0].length < 19 && data.length > 1) {
        data[0] = appendUint8Array(data[0], data[1]);
        data.splice(1, 1);
      }
      // retrieve PTS/DTS from first fragment
      frag = data[0];
      const pesPrefix = (frag[0] << 16) + (frag[1] << 8) + frag[2];
      if (pesPrefix === 1) {
        pesLen = (frag[4] << 8) + frag[5];
        // if PES parsed length is not zero and greater than total received length, stop parsing. PES might be truncated
        // minus 6 : PES header size
        if (pesLen && pesLen > stream.size - 6) {
          return null;
        }
        const pesFlags = frag[7];
        if (pesFlags & 0xc0) {
          /* PES header described here : http://dvd.sourceforge.net/dvdinfo/pes-hdr.html
              as PTS / DTS is 33 bit we cannot use bitwise operator in JS,
              as Bitwise operators treat their operands as a sequence of 32 bits */
          pesPts = (frag[9] & 0x0e) * 536870912 +
          // 1 << 29
          (frag[10] & 0xff) * 4194304 +
          // 1 << 22
          (frag[11] & 0xfe) * 16384 +
          // 1 << 14
          (frag[12] & 0xff) * 128 +
          // 1 << 7
          (frag[13] & 0xfe) / 2;
          if (pesFlags & 0x40) {
            pesDts = (frag[14] & 0x0e) * 536870912 +
            // 1 << 29
            (frag[15] & 0xff) * 4194304 +
            // 1 << 22
            (frag[16] & 0xfe) * 16384 +
            // 1 << 14
            (frag[17] & 0xff) * 128 +
            // 1 << 7
            (frag[18] & 0xfe) / 2;
            if (pesPts - pesDts > 60 * 90000) {
              logger.warn(`${Math.round((pesPts - pesDts) / 90000)}s delta between PTS and DTS, align them`);
              pesPts = pesDts;
            }
          } else {
            pesDts = pesPts;
          }
        }
        pesHdrLen = frag[8];
        // 9 bytes : 6 bytes for PES header + 3 bytes for PES extension
        let payloadStartOffset = pesHdrLen + 9;
        if (stream.size <= payloadStartOffset) {
          return null;
        }
        stream.size -= payloadStartOffset;
        // reassemble PES packet
        const pesData = new Uint8Array(stream.size);
        for (let j = 0, dataLen = data.length; j < dataLen; j++) {
          frag = data[j];
          let len = frag.byteLength;
          if (payloadStartOffset) {
            if (payloadStartOffset > len) {
              // trim full frag if PES header bigger than frag
              payloadStartOffset -= len;
              continue;
            } else {
              // trim partial frag if PES header smaller than frag
              frag = frag.subarray(payloadStartOffset);
              len -= payloadStartOffset;
              payloadStartOffset = 0;
            }
          }
          pesData.set(frag, i);
          i += len;
        }
        if (pesLen) {
          // payload size : remove PES header + PES extension
          pesLen -= pesHdrLen + 3;
        }
        return {
          data: pesData,
          pts: pesPts,
          dts: pesDts,
          len: pesLen
        };
      }
      return null;
    }
    
    /**
     *  AAC helper
     */
    
    class AAC {
      static getSilentFrame(codec, channelCount) {
        switch (codec) {
          case 'mp4a.40.2':
            if (channelCount === 1) {
              return new Uint8Array([0x00, 0xc8, 0x00, 0x80, 0x23, 0x80]);
            } else if (channelCount === 2) {
              return new Uint8Array([0x21, 0x00, 0x49, 0x90, 0x02, 0x19, 0x00, 0x23, 0x80]);
            } else if (channelCount === 3) {
              return new Uint8Array([0x00, 0xc8, 0x00, 0x80, 0x20, 0x84, 0x01, 0x26, 0x40, 0x08, 0x64, 0x00, 0x8e]);
            } else if (channelCount === 4) {
              return new Uint8Array([0x00, 0xc8, 0x00, 0x80, 0x20, 0x84, 0x01, 0x26, 0x40, 0x08, 0x64, 0x00, 0x80, 0x2c, 0x80, 0x08, 0x02, 0x38]);
            } else if (channelCount === 5) {
              return new Uint8Array([0x00, 0xc8, 0x00, 0x80, 0x20, 0x84, 0x01, 0x26, 0x40, 0x08, 0x64, 0x00, 0x82, 0x30, 0x04, 0x99, 0x00, 0x21, 0x90, 0x02, 0x38]);
            } else if (channelCount === 6) {
              return new Uint8Array([0x00, 0xc8, 0x00, 0x80, 0x20, 0x84, 0x01, 0x26, 0x40, 0x08, 0x64, 0x00, 0x82, 0x30, 0x04, 0x99, 0x00, 0x21, 0x90, 0x02, 0x00, 0xb2, 0x00, 0x20, 0x08, 0xe0]);
            }
            break;
          // handle HE-AAC below (mp4a.40.5 / mp4a.40.29)
          default:
            if (channelCount === 1) {
              // ffmpeg -y -f lavfi -i "aevalsrc=0:d=0.05" -c:a libfdk_aac -profile:a aac_he -b:a 4k output.aac && hexdump -v -e '16/1 "0x%x," "\n"' -v output.aac
              return new Uint8Array([0x1, 0x40, 0x22, 0x80, 0xa3, 0x4e, 0xe6, 0x80, 0xba, 0x8, 0x0, 0x0, 0x0, 0x1c, 0x6, 0xf1, 0xc1, 0xa, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5e]);
            } else if (channelCount === 2) {
              // ffmpeg -y -f lavfi -i "aevalsrc=0|0:d=0.05" -c:a libfdk_aac -profile:a aac_he_v2 -b:a 4k output.aac && hexdump -v -e '16/1 "0x%x," "\n"' -v output.aac
              return new Uint8Array([0x1, 0x40, 0x22, 0x80, 0xa3, 0x5e, 0xe6, 0x80, 0xba, 0x8, 0x0, 0x0, 0x0, 0x0, 0x95, 0x0, 0x6, 0xf1, 0xa1, 0xa, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5e]);
            } else if (channelCount === 3) {
              // ffmpeg -y -f lavfi -i "aevalsrc=0|0|0:d=0.05" -c:a libfdk_aac -profile:a aac_he_v2 -b:a 4k output.aac && hexdump -v -e '16/1 "0x%x," "\n"' -v output.aac
              return new Uint8Array([0x1, 0x40, 0x22, 0x80, 0xa3, 0x5e, 0xe6, 0x80, 0xba, 0x8, 0x0, 0x0, 0x0, 0x0, 0x95, 0x0, 0x6, 0xf1, 0xa1, 0xa, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5e]);
            }
            break;
        }
        return undefined;
      }
    }
    
    /**
     * Generate MP4 Box
     */
    
    const UINT32_MAX = Math.pow(2, 32) - 1;
    class MP4 {
      static init() {
        MP4.types = {
          avc1: [],
          // codingname
          avcC: [],
          hvc1: [],
          hvcC: [],
          btrt: [],
          dinf: [],
          dref: [],
          esds: [],
          ftyp: [],
          hdlr: [],
          mdat: [],
          mdhd: [],
          mdia: [],
          mfhd: [],
          minf: [],
          moof: [],
          moov: [],
          mp4a: [],
          '.mp3': [],
          dac3: [],
          'ac-3': [],
          mvex: [],
          mvhd: [],
          pasp: [],
          sdtp: [],
          stbl: [],
          stco: [],
          stsc: [],
          stsd: [],
          stsz: [],
          stts: [],
          tfdt: [],
          tfhd: [],
          traf: [],
          trak: [],
          trun: [],
          trex: [],
          tkhd: [],
          vmhd: [],
          smhd: []
        };
        let i;
        for (i in MP4.types) {
          if (MP4.types.hasOwnProperty(i)) {
            MP4.types[i] = [i.charCodeAt(0), i.charCodeAt(1), i.charCodeAt(2), i.charCodeAt(3)];
          }
        }
        const videoHdlr = new Uint8Array([0x00,
        // version 0
        0x00, 0x00, 0x00,
        // flags
        0x00, 0x00, 0x00, 0x00,
        // pre_defined
        0x76, 0x69, 0x64, 0x65,
        // handler_type: 'vide'
        0x00, 0x00, 0x00, 0x00,
        // reserved
        0x00, 0x00, 0x00, 0x00,
        // reserved
        0x00, 0x00, 0x00, 0x00,
        // reserved
        0x56, 0x69, 0x64, 0x65, 0x6f, 0x48, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x72, 0x00 // name: 'VideoHandler'
        ]);
        const audioHdlr = new Uint8Array([0x00,
        // version 0
        0x00, 0x00, 0x00,
        // flags
        0x00, 0x00, 0x00, 0x00,
        // pre_defined
        0x73, 0x6f, 0x75, 0x6e,
        // handler_type: 'soun'
        0x00, 0x00, 0x00, 0x00,
        // reserved
        0x00, 0x00, 0x00, 0x00,
        // reserved
        0x00, 0x00, 0x00, 0x00,
        // reserved
        0x53, 0x6f, 0x75, 0x6e, 0x64, 0x48, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x72, 0x00 // name: 'SoundHandler'
        ]);
        MP4.HDLR_TYPES = {
          video: videoHdlr,
          audio: audioHdlr
        };
        const dref = new Uint8Array([0x00,
        // version 0
        0x00, 0x00, 0x00,
        // flags
        0x00, 0x00, 0x00, 0x01,
        // entry_count
        0x00, 0x00, 0x00, 0x0c,
        // entry_size
        0x75, 0x72, 0x6c, 0x20,
        // 'url' type
        0x00,
        // version 0
        0x00, 0x00, 0x01 // entry_flags
        ]);
        const stco = new Uint8Array([0x00,
        // version
        0x00, 0x00, 0x00,
        // flags
        0x00, 0x00, 0x00, 0x00 // entry_count
        ]);
        MP4.STTS = MP4.STSC = MP4.STCO = stco;
        MP4.STSZ = new Uint8Array([0x00,
        // version
        0x00, 0x00, 0x00,
        // flags
        0x00, 0x00, 0x00, 0x00,
        // sample_size
        0x00, 0x00, 0x00, 0x00 // sample_count
        ]);
        MP4.VMHD = new Uint8Array([0x00,
        // version
        0x00, 0x00, 0x01,
        // flags
        0x00, 0x00,
        // graphicsmode
        0x00, 0x00, 0x00, 0x00, 0x00, 0x00 // opcolor
        ]);
        MP4.SMHD = new Uint8Array([0x00,
        // version
        0x00, 0x00, 0x00,
        // flags
        0x00, 0x00,
        // balance
        0x00, 0x00 // reserved
        ]);
        MP4.STSD = new Uint8Array([0x00,
        // version 0
        0x00, 0x00, 0x00,
        // flags
        0x00, 0x00, 0x00, 0x01]); // entry_count
    
        const majorBrand = new Uint8Array([105, 115, 111, 109]); // isom
        const avc1Brand = new Uint8Array([97, 118, 99, 49]); // avc1
        const minorVersion = new Uint8Array([0, 0, 0, 1]);
        MP4.FTYP = MP4.box(MP4.types.ftyp, majorBrand, minorVersion, majorBrand, avc1Brand);
        MP4.DINF = MP4.box(MP4.types.dinf, MP4.box(MP4.types.dref, dref));
      }
      static box(type, ...payload) {
        let size = 8;
        let i = payload.length;
        const len = i;
        // calculate the total size we need to allocate
        while (i--) {
          size += payload[i].byteLength;
        }
        const result = new Uint8Array(size);
        result[0] = size >> 24 & 0xff;
        result[1] = size >> 16 & 0xff;
        result[2] = size >> 8 & 0xff;
        result[3] = size & 0xff;
        result.set(type, 4);
        // copy the payload into the result
        for (i = 0, size = 8; i < len; i++) {
          // copy payload[i] array @ offset size
          result.set(payload[i], size);
          size += payload[i].byteLength;
        }
        return result;
      }
      static hdlr(type) {
        return MP4.box(MP4.types.hdlr, MP4.HDLR_TYPES[type]);
      }
      static mdat(data) {
        return MP4.box(MP4.types.mdat, data);
      }
      static mdhd(timescale, duration) {
        duration *= timescale;
        const upperWordDuration = Math.floor(duration / (UINT32_MAX + 1));
        const lowerWordDuration = Math.floor(duration % (UINT32_MAX + 1));
        return MP4.box(MP4.types.mdhd, new Uint8Array([0x01,
        // version 1
        0x00, 0x00, 0x00,
        // flags
        0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02,
        // creation_time
        0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03,
        // modification_time
        timescale >> 24 & 0xff, timescale >> 16 & 0xff, timescale >> 8 & 0xff, timescale & 0xff,
        // timescale
        upperWordDuration >> 24, upperWordDuration >> 16 & 0xff, upperWordDuration >> 8 & 0xff, upperWordDuration & 0xff, lowerWordDuration >> 24, lowerWordDuration >> 16 & 0xff, lowerWordDuration >> 8 & 0xff, lowerWordDuration & 0xff, 0x55, 0xc4,
        // 'und' language (undetermined)
        0x00, 0x00]));
      }
      static mdia(track) {
        return MP4.box(MP4.types.mdia, MP4.mdhd(track.timescale || 0, track.duration || 0), MP4.hdlr(track.type), MP4.minf(track));
      }
      static mfhd(sequenceNumber) {
        return MP4.box(MP4.types.mfhd, new Uint8Array([0x00, 0x00, 0x00, 0x00,
        // flags
        sequenceNumber >> 24, sequenceNumber >> 16 & 0xff, sequenceNumber >> 8 & 0xff, sequenceNumber & 0xff // sequence_number
        ]));
      }
      static minf(track) {
        if (track.type === 'audio') {
          return MP4.box(MP4.types.minf, MP4.box(MP4.types.smhd, MP4.SMHD), MP4.DINF, MP4.stbl(track));
        } else {
          return MP4.box(MP4.types.minf, MP4.box(MP4.types.vmhd, MP4.VMHD), MP4.DINF, MP4.stbl(track));
        }
      }
      static moof(sn, baseMediaDecodeTime, track) {
        return MP4.box(MP4.types.moof, MP4.mfhd(sn), MP4.traf(track, baseMediaDecodeTime));
      }
      static moov(tracks) {
        let i = tracks.length;
        const boxes = [];
        while (i--) {
          boxes[i] = MP4.trak(tracks[i]);
        }
        return MP4.box.apply(null, [MP4.types.moov, MP4.mvhd(tracks[0].timescale || 0, tracks[0].duration || 0)].concat(boxes).concat(MP4.mvex(tracks)));
      }
      static mvex(tracks) {
        let i = tracks.length;
        const boxes = [];
        while (i--) {
          boxes[i] = MP4.trex(tracks[i]);
        }
        return MP4.box.apply(null, [MP4.types.mvex, ...boxes]);
      }
      static mvhd(timescale, duration) {
        duration *= timescale;
        const upperWordDuration = Math.floor(duration / (UINT32_MAX + 1));
        const lowerWordDuration = Math.floor(duration % (UINT32_MAX + 1));
        const bytes = new Uint8Array([0x01,
        // version 1
        0x00, 0x00, 0x00,
        // flags
        0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02,
        // creation_time
        0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03,
        // modification_time
        timescale >> 24 & 0xff, timescale >> 16 & 0xff, timescale >> 8 & 0xff, timescale & 0xff,
        // timescale
        upperWordDuration >> 24, upperWordDuration >> 16 & 0xff, upperWordDuration >> 8 & 0xff, upperWordDuration & 0xff, lowerWordDuration >> 24, lowerWordDuration >> 16 & 0xff, lowerWordDuration >> 8 & 0xff, lowerWordDuration & 0xff, 0x00, 0x01, 0x00, 0x00,
        // 1.0 rate
        0x01, 0x00,
        // 1.0 volume
        0x00, 0x00,
        // reserved
        0x00, 0x00, 0x00, 0x00,
        // reserved
        0x00, 0x00, 0x00, 0x00,
        // reserved
        0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0x00, 0x00, 0x00,
        // transformation: unity matrix
        0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
        // pre_defined
        0xff, 0xff, 0xff, 0xff // next_track_ID
        ]);
        return MP4.box(MP4.types.mvhd, bytes);
      }
      static sdtp(track) {
        const samples = track.samples || [];
        const bytes = new Uint8Array(4 + samples.length);
        let i;
        let flags;
        // leave the full box header (4 bytes) all zero
        // write the sample table
        for (i = 0; i < samples.length; i++) {
          flags = samples[i].flags;
          bytes[i + 4] = flags.dependsOn << 4 | flags.isDependedOn << 2 | flags.hasRedundancy;
        }
        return MP4.box(MP4.types.sdtp, bytes);
      }
      static stbl(track) {
        return MP4.box(MP4.types.stbl, MP4.stsd(track), MP4.box(MP4.types.stts, MP4.STTS), MP4.box(MP4.types.stsc, MP4.STSC), MP4.box(MP4.types.stsz, MP4.STSZ), MP4.box(MP4.types.stco, MP4.STCO));
      }
      static avc1(track) {
        let sps = [];
        let pps = [];
        let i;
        let data;
        let len;
        // assemble the SPSs
    
        for (i = 0; i < track.sps.length; i++) {
          data = track.sps[i];
          len = data.byteLength;
          sps.push(len >>> 8 & 0xff);
          sps.push(len & 0xff);
    
          // SPS
          sps = sps.concat(Array.prototype.slice.call(data));
        }
    
        // assemble the PPSs
        for (i = 0; i < track.pps.length; i++) {
          data = track.pps[i];
          len = data.byteLength;
          pps.push(len >>> 8 & 0xff);
          pps.push(len & 0xff);
          pps = pps.concat(Array.prototype.slice.call(data));
        }
        const avcc = MP4.box(MP4.types.avcC, new Uint8Array([0x01,
        // version
        sps[3],
        // profile
        sps[4],
        // profile compat
        sps[5],
        // level
        0xfc | 3,
        // lengthSizeMinusOne, hard-coded to 4 bytes
        0xe0 | track.sps.length // 3bit reserved (111) + numOfSequenceParameterSets
        ].concat(sps).concat([track.pps.length // numOfPictureParameterSets
        ]).concat(pps))); // "PPS"
        const width = track.width;
        const height = track.height;
        const hSpacing = track.pixelRatio[0];
        const vSpacing = track.pixelRatio[1];
        return MP4.box(MP4.types.avc1, new Uint8Array([0x00, 0x00, 0x00,
        // reserved
        0x00, 0x00, 0x00,
        // reserved
        0x00, 0x01,
        // data_reference_index
        0x00, 0x00,
        // pre_defined
        0x00, 0x00,
        // reserved
        0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
        // pre_defined
        width >> 8 & 0xff, width & 0xff,
        // width
        height >> 8 & 0xff, height & 0xff,
        // height
        0x00, 0x48, 0x00, 0x00,
        // horizresolution
        0x00, 0x48, 0x00, 0x00,
        // vertresolution
        0x00, 0x00, 0x00, 0x00,
        // reserved
        0x00, 0x01,
        // frame_count
        0x12, 0x64, 0x61, 0x69, 0x6c,
        // dailymotion/hls.js
        0x79, 0x6d, 0x6f, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x68, 0x6c, 0x73, 0x2e, 0x6a, 0x73, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
        // compressorname
        0x00, 0x18,
        // depth = 24
        0x11, 0x11]),
        // pre_defined = -1
        avcc, MP4.box(MP4.types.btrt, new Uint8Array([0x00, 0x1c, 0x9c, 0x80,
        // bufferSizeDB
        0x00, 0x2d, 0xc6, 0xc0,
        // maxBitrate
        0x00, 0x2d, 0xc6, 0xc0])),
        // avgBitrate
        MP4.box(MP4.types.pasp, new Uint8Array([hSpacing >> 24,
        // hSpacing
        hSpacing >> 16 & 0xff, hSpacing >> 8 & 0xff, hSpacing & 0xff, vSpacing >> 24,
        // vSpacing
        vSpacing >> 16 & 0xff, vSpacing >> 8 & 0xff, vSpacing & 0xff])));
      }
      static esds(track) {
        const config = track.config;
        return new Uint8Array([0x00,
        // version 0
        0x00, 0x00, 0x00,
        // flags
    
        0x03,
        // descriptor_type
        0x19,
        // length
    
        0x00, 0x01,
        // es_id
    
        0x00,
        // stream_priority
    
        0x04,
        // descriptor_type
        0x11,
        // length
        0x40,
        // codec : mpeg4_audio
        0x15,
        // stream_type
        0x00, 0x00, 0x00,
        // buffer_size
        0x00, 0x00, 0x00, 0x00,
        // maxBitrate
        0x00, 0x00, 0x00, 0x00,
        // avgBitrate
    
        0x05,
        // descriptor_type
        0x02,
        // length
        ...config, 0x06, 0x01, 0x02 // GASpecificConfig)); // length + audio config descriptor
        ]);
      }
      static audioStsd(track) {
        const samplerate = track.samplerate || 0;
        return new Uint8Array([0x00, 0x00, 0x00,
        // reserved
        0x00, 0x00, 0x00,
        // reserved
        0x00, 0x01,
        // data_reference_index
        0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
        // reserved
        0x00, track.channelCount || 0,
        // channelcount
        0x00, 0x10,
        // sampleSize:16bits
        0x00, 0x00, 0x00, 0x00,
        // reserved2
        samplerate >> 8 & 0xff, samplerate & 0xff,
        //
        0x00, 0x00]);
      }
      static mp4a(track) {
        return MP4.box(MP4.types.mp4a, MP4.audioStsd(track), MP4.box(MP4.types.esds, MP4.esds(track)));
      }
      static mp3(track) {
        return MP4.box(MP4.types['.mp3'], MP4.audioStsd(track));
      }
      static ac3(track) {
        return MP4.box(MP4.types['ac-3'], MP4.audioStsd(track), MP4.box(MP4.types.dac3, track.config));
      }
      static stsd(track) {
        const {
          segmentCodec
        } = track;
        if (track.type === 'audio') {
          if (segmentCodec === 'aac') {
            return MP4.box(MP4.types.stsd, MP4.STSD, MP4.mp4a(track));
          }
          if (segmentCodec === 'ac3' && track.config) {
            return MP4.box(MP4.types.stsd, MP4.STSD, MP4.ac3(track));
          }
          if (segmentCodec === 'mp3' && track.codec === 'mp3') {
            return MP4.box(MP4.types.stsd, MP4.STSD, MP4.mp3(track));
          }
        } else {
          if (track.pps && track.sps) {
            if (segmentCodec === 'avc') {
              return MP4.box(MP4.types.stsd, MP4.STSD, MP4.avc1(track));
            }
            if (segmentCodec === 'hevc' && track.vps) {
              return MP4.box(MP4.types.stsd, MP4.STSD, MP4.hvc1(track));
            }
          } else {
            throw new Error(`video track missing pps or sps`);
          }
        }
        throw new Error(`unsupported ${track.type} segment codec (${segmentCodec}/${track.codec})`);
      }
      static tkhd(track) {
        const id = track.id;
        const duration = (track.duration || 0) * (track.timescale || 0);
        const width = track.width || 0;
        const height = track.height || 0;
        const upperWordDuration = Math.floor(duration / (UINT32_MAX + 1));
        const lowerWordDuration = Math.floor(duration % (UINT32_MAX + 1));
        return MP4.box(MP4.types.tkhd, new Uint8Array([0x01,
        // version 1
        0x00, 0x00, 0x07,
        // flags
        0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02,
        // creation_time
        0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03,
        // modification_time
        id >> 24 & 0xff, id >> 16 & 0xff, id >> 8 & 0xff, id & 0xff,
        // track_ID
        0x00, 0x00, 0x00, 0x00,
        // reserved
        upperWordDuration >> 24, upperWordDuration >> 16 & 0xff, upperWordDuration >> 8 & 0xff, upperWordDuration & 0xff, lowerWordDuration >> 24, lowerWordDuration >> 16 & 0xff, lowerWordDuration >> 8 & 0xff, lowerWordDuration & 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
        // reserved
        0x00, 0x00,
        // layer
        0x00, 0x00,
        // alternate_group
        0x00, 0x00,
        // non-audio track volume
        0x00, 0x00,
        // reserved
        0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0x00, 0x00, 0x00,
        // transformation: unity matrix
        width >> 8 & 0xff, width & 0xff, 0x00, 0x00,
        // width
        height >> 8 & 0xff, height & 0xff, 0x00, 0x00 // height
        ]));
      }
      static traf(track, baseMediaDecodeTime) {
        const sampleDependencyTable = MP4.sdtp(track);
        const id = track.id;
        const upperWordBaseMediaDecodeTime = Math.floor(baseMediaDecodeTime / (UINT32_MAX + 1));
        const lowerWordBaseMediaDecodeTime = Math.floor(baseMediaDecodeTime % (UINT32_MAX + 1));
        return MP4.box(MP4.types.traf, MP4.box(MP4.types.tfhd, new Uint8Array([0x00,
        // version 0
        0x00, 0x00, 0x00,
        // flags
        id >> 24, id >> 16 & 0xff, id >> 8 & 0xff, id & 0xff // track_ID
        ])), MP4.box(MP4.types.tfdt, new Uint8Array([0x01,
        // version 1
        0x00, 0x00, 0x00,
        // flags
        upperWordBaseMediaDecodeTime >> 24, upperWordBaseMediaDecodeTime >> 16 & 0xff, upperWordBaseMediaDecodeTime >> 8 & 0xff, upperWordBaseMediaDecodeTime & 0xff, lowerWordBaseMediaDecodeTime >> 24, lowerWordBaseMediaDecodeTime >> 16 & 0xff, lowerWordBaseMediaDecodeTime >> 8 & 0xff, lowerWordBaseMediaDecodeTime & 0xff])), MP4.trun(track, sampleDependencyTable.length + 16 +
        // tfhd
        20 +
        // tfdt
        8 +
        // traf header
        16 +
        // mfhd
        8 +
        // moof header
        8),
        // mdat header
        sampleDependencyTable);
      }
    
      /**
       * Generate a track box.
       * @param track a track definition
       */
      static trak(track) {
        track.duration = track.duration || 0xffffffff;
        return MP4.box(MP4.types.trak, MP4.tkhd(track), MP4.mdia(track));
      }
      static trex(track) {
        const id = track.id;
        return MP4.box(MP4.types.trex, new Uint8Array([0x00,
        // version 0
        0x00, 0x00, 0x00,
        // flags
        id >> 24, id >> 16 & 0xff, id >> 8 & 0xff, id & 0xff,
        // track_ID
        0x00, 0x00, 0x00, 0x01,
        // default_sample_description_index
        0x00, 0x00, 0x00, 0x00,
        // default_sample_duration
        0x00, 0x00, 0x00, 0x00,
        // default_sample_size
        0x00, 0x01, 0x00, 0x01 // default_sample_flags
        ]));
      }
      static trun(track, offset) {
        const samples = track.samples || [];
        const len = samples.length;
        const arraylen = 12 + 16 * len;
        const array = new Uint8Array(arraylen);
        let i;
        let sample;
        let duration;
        let size;
        let flags;
        let cts;
        offset += 8 + arraylen;
        array.set([track.type === 'video' ? 0x01 : 0x00,
        // version 1 for video with signed-int sample_composition_time_offset
        0x00, 0x0f, 0x01,
        // flags
        len >>> 24 & 0xff, len >>> 16 & 0xff, len >>> 8 & 0xff, len & 0xff,
        // sample_count
        offset >>> 24 & 0xff, offset >>> 16 & 0xff, offset >>> 8 & 0xff, offset & 0xff // data_offset
        ], 0);
        for (i = 0; i < len; i++) {
          sample = samples[i];
          duration = sample.duration;
          size = sample.size;
          flags = sample.flags;
          cts = sample.cts;
          array.set([duration >>> 24 & 0xff, duration >>> 16 & 0xff, duration >>> 8 & 0xff, duration & 0xff,
          // sample_duration
          size >>> 24 & 0xff, size >>> 16 & 0xff, size >>> 8 & 0xff, size & 0xff,
          // sample_size
          flags.isLeading << 2 | flags.dependsOn, flags.isDependedOn << 6 | flags.hasRedundancy << 4 | flags.paddingValue << 1 | flags.isNonSync, flags.degradPrio & 0xf0 << 8, flags.degradPrio & 0x0f,
          // sample_flags
          cts >>> 24 & 0xff, cts >>> 16 & 0xff, cts >>> 8 & 0xff, cts & 0xff // sample_composition_time_offset
          ], 12 + 16 * i);
        }
        return MP4.box(MP4.types.trun, array);
      }
      static initSegment(tracks) {
        if (!MP4.types) {
          MP4.init();
        }
        const movie = MP4.moov(tracks);
        const result = appendUint8Array(MP4.FTYP, movie);
        return result;
      }
      static hvc1(track) {
        const ps = track.params;
        const units = [track.vps, track.sps, track.pps];
        const NALuLengthSize = 4;
        const config = new Uint8Array([0x01, ps.general_profile_space << 6 | (ps.general_tier_flag ? 32 : 0) | ps.general_profile_idc, ps.general_profile_compatibility_flags[0], ps.general_profile_compatibility_flags[1], ps.general_profile_compatibility_flags[2], ps.general_profile_compatibility_flags[3], ps.general_constraint_indicator_flags[0], ps.general_constraint_indicator_flags[1], ps.general_constraint_indicator_flags[2], ps.general_constraint_indicator_flags[3], ps.general_constraint_indicator_flags[4], ps.general_constraint_indicator_flags[5], ps.general_level_idc, 240 | ps.min_spatial_segmentation_idc >> 8, 255 & ps.min_spatial_segmentation_idc, 252 | ps.parallelismType, 252 | ps.chroma_format_idc, 248 | ps.bit_depth_luma_minus8, 248 | ps.bit_depth_chroma_minus8, 0x00, parseInt(ps.frame_rate.fps), NALuLengthSize - 1 | ps.temporal_id_nested << 2 | ps.num_temporal_layers << 3 | (ps.frame_rate.fixed ? 64 : 0), units.length]);
    
        // compute hvcC size in bytes
        let length = config.length;
        for (let i = 0; i < units.length; i += 1) {
          length += 3;
          for (let j = 0; j < units[i].length; j += 1) {
            length += 2 + units[i][j].length;
          }
        }
        const hvcC = new Uint8Array(length);
        hvcC.set(config, 0);
        length = config.length;
        // append parameter set units: one vps, one or more sps and pps
        const iMax = units.length - 1;
        for (let i = 0; i < units.length; i += 1) {
          hvcC.set(new Uint8Array([32 + i | (i === iMax ? 128 : 0), 0x00, units[i].length]), length);
          length += 3;
          for (let j = 0; j < units[i].length; j += 1) {
            hvcC.set(new Uint8Array([units[i][j].length >> 8, units[i][j].length & 255]), length);
            length += 2;
            hvcC.set(units[i][j], length);
            length += units[i][j].length;
          }
        }
        const hvcc = MP4.box(MP4.types.hvcC, hvcC);
        const width = track.width;
        const height = track.height;
        const hSpacing = track.pixelRatio[0];
        const vSpacing = track.pixelRatio[1];
        return MP4.box(MP4.types.hvc1, new Uint8Array([0x00, 0x00, 0x00,
        // reserved
        0x00, 0x00, 0x00,
        // reserved
        0x00, 0x01,
        // data_reference_index
        0x00, 0x00,
        // pre_defined
        0x00, 0x00,
        // reserved
        0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
        // pre_defined
        width >> 8 & 0xff, width & 0xff,
        // width
        height >> 8 & 0xff, height & 0xff,
        // height
        0x00, 0x48, 0x00, 0x00,
        // horizresolution
        0x00, 0x48, 0x00, 0x00,
        // vertresolution
        0x00, 0x00, 0x00, 0x00,
        // reserved
        0x00, 0x01,
        // frame_count
        0x12, 0x64, 0x61, 0x69, 0x6c,
        // dailymotion/hls.js
        0x79, 0x6d, 0x6f, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x68, 0x6c, 0x73, 0x2e, 0x6a, 0x73, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
        // compressorname
        0x00, 0x18,
        // depth = 24
        0x11, 0x11]),
        // pre_defined = -1
        hvcc, MP4.box(MP4.types.btrt, new Uint8Array([0x00, 0x1c, 0x9c, 0x80,
        // bufferSizeDB
        0x00, 0x2d, 0xc6, 0xc0,
        // maxBitrate
        0x00, 0x2d, 0xc6, 0xc0])),
        // avgBitrate
        MP4.box(MP4.types.pasp, new Uint8Array([hSpacing >> 24,
        // hSpacing
        hSpacing >> 16 & 0xff, hSpacing >> 8 & 0xff, hSpacing & 0xff, vSpacing >> 24,
        // vSpacing
        vSpacing >> 16 & 0xff, vSpacing >> 8 & 0xff, vSpacing & 0xff])));
      }
    }
    MP4.types = void 0;
    MP4.HDLR_TYPES = void 0;
    MP4.STTS = void 0;
    MP4.STSC = void 0;
    MP4.STCO = void 0;
    MP4.STSZ = void 0;
    MP4.VMHD = void 0;
    MP4.SMHD = void 0;
    MP4.STSD = void 0;
    MP4.FTYP = void 0;
    MP4.DINF = void 0;
    
    const MPEG_TS_CLOCK_FREQ_HZ = 90000;
    function toTimescaleFromBase(baseTime, destScale, srcBase = 1, round = false) {
      const result = baseTime * destScale * srcBase; // equivalent to `(value * scale) / (1 / base)`
      return round ? Math.round(result) : result;
    }
    function toTimescaleFromScale(baseTime, destScale, srcScale = 1, round = false) {
      return toTimescaleFromBase(baseTime, destScale, 1 / srcScale, round);
    }
    function toMsFromMpegTsClock(baseTime, round = false) {
      return toTimescaleFromBase(baseTime, 1000, 1 / MPEG_TS_CLOCK_FREQ_HZ, round);
    }
    function toMpegTsClockFromTimescale(baseTime, srcScale = 1) {
      return toTimescaleFromBase(baseTime, MPEG_TS_CLOCK_FREQ_HZ, 1 / srcScale);
    }
    function timestampToString(timestamp) {
      const {
        baseTime,
        timescale,
        trackId
      } = timestamp;
      return `${baseTime / timescale} (${baseTime}/${timescale}) trackId: ${trackId}`;
    }
    
    const MAX_SILENT_FRAME_DURATION = 10 * 1000; // 10 seconds
    const AAC_SAMPLES_PER_FRAME = 1024;
    const MPEG_AUDIO_SAMPLE_PER_FRAME = 1152;
    const AC3_SAMPLES_PER_FRAME = 1536;
    let chromeVersion = null;
    let safariWebkitVersion = null;
    function createMp4Sample(isKeyframe, duration, size, cts) {
      return {
        duration,
        size,
        cts,
        flags: {
          isLeading: 0,
          isDependedOn: 0,
          hasRedundancy: 0,
          degradPrio: 0,
          dependsOn: isKeyframe ? 2 : 1,
          isNonSync: isKeyframe ? 0 : 1
        }
      };
    }
    class MP4Remuxer extends Logger {
      constructor(observer, config, typeSupported, logger) {
        super('mp4-remuxer', logger);
        this.observer = void 0;
        this.config = void 0;
        this.typeSupported = void 0;
        this.ISGenerated = false;
        this._initPTS = null;
        this._initDTS = null;
        this.nextVideoTs = null;
        this.nextAudioTs = null;
        this.videoSampleDuration = null;
        this.isAudioContiguous = false;
        this.isVideoContiguous = false;
        this.videoTrackConfig = void 0;
        this.observer = observer;
        this.config = config;
        this.typeSupported = typeSupported;
        this.ISGenerated = false;
        if (chromeVersion === null) {
          const userAgent = navigator.userAgent || '';
          const result = userAgent.match(/Chrome\/(\d+)/i);
          chromeVersion = result ? parseInt(result[1]) : 0;
        }
        if (safariWebkitVersion === null) {
          const result = navigator.userAgent.match(/Safari\/(\d+)/i);
          safariWebkitVersion = result ? parseInt(result[1]) : 0;
        }
      }
      destroy() {
        // @ts-ignore
        this.config = this.videoTrackConfig = this._initPTS = this._initDTS = null;
      }
      resetTimeStamp(defaultTimeStamp) {
        const initPTS = this._initPTS;
        if (!initPTS || !defaultTimeStamp || defaultTimeStamp.trackId !== initPTS.trackId || defaultTimeStamp.baseTime !== initPTS.baseTime || defaultTimeStamp.timescale !== initPTS.timescale) {
          this.log(`Reset initPTS: ${initPTS ? timestampToString(initPTS) : initPTS} > ${defaultTimeStamp ? timestampToString(defaultTimeStamp) : defaultTimeStamp}`);
        }
        this._initPTS = this._initDTS = defaultTimeStamp;
      }
      resetNextTimestamp() {
        this.log('reset next timestamp');
        this.isVideoContiguous = false;
        this.isAudioContiguous = false;
      }
      resetInitSegment() {
        this.log('ISGenerated flag reset');
        this.ISGenerated = false;
        this.videoTrackConfig = undefined;
      }
      getVideoStartPts(videoSamples) {
        // Get the minimum PTS value relative to the first sample's PTS, normalized for 33-bit wrapping
        let rolloverDetected = false;
        const firstPts = videoSamples[0].pts;
        const startPTS = videoSamples.reduce((minPTS, sample) => {
          let pts = sample.pts;
          let delta = pts - minPTS;
          if (delta < -4294967296) {
            // 2^32, see PTSNormalize for reasoning, but we're hitting a rollover here, and we don't want that to impact the timeOffset calculation
            rolloverDetected = true;
            pts = normalizePts(pts, firstPts);
            delta = pts - minPTS;
          }
          if (delta > 0) {
            return minPTS;
          }
          return pts;
        }, firstPts);
        if (rolloverDetected) {
          this.debug('PTS rollover detected');
        }
        return startPTS;
      }
      remux(audioTrack, videoTrack, id3Track, textTrack, timeOffset, accurateTimeOffset, flush, playlistType) {
        let video;
        let audio;
        let initSegment;
        let text;
        let id3;
        let independent;
        let audioTimeOffset = timeOffset;
        let videoTimeOffset = timeOffset;
    
        // If we're remuxing audio and video progressively, wait until we've received enough samples for each track before proceeding.
        // This is done to synchronize the audio and video streams. We know if the current segment will have samples if the "pid"
        // parameter is greater than -1. The pid is set when the PMT is parsed, which contains the tracks list.
        // However, if the initSegment has already been generated, or we've reached the end of a segment (flush),
        // then we can remux one track without waiting for the other.
        const hasAudio = audioTrack.pid > -1;
        const hasVideo = videoTrack.pid > -1;
        const length = videoTrack.samples.length;
        const enoughAudioSamples = audioTrack.samples.length > 0;
        const enoughVideoSamples = flush && length > 0 || length > 1;
        const canRemuxAvc = (!hasAudio || enoughAudioSamples) && (!hasVideo || enoughVideoSamples) || this.ISGenerated || flush;
        if (canRemuxAvc) {
          if (this.ISGenerated) {
            var _videoTrack$pixelRati, _config$pixelRatio, _videoTrack$pixelRati2, _config$pixelRatio2;
            const config = this.videoTrackConfig;
            if (config && (videoTrack.width !== config.width || videoTrack.height !== config.height || ((_videoTrack$pixelRati = videoTrack.pixelRatio) == null ? void 0 : _videoTrack$pixelRati[0]) !== ((_config$pixelRatio = config.pixelRatio) == null ? void 0 : _config$pixelRatio[0]) || ((_videoTrack$pixelRati2 = videoTrack.pixelRatio) == null ? void 0 : _videoTrack$pixelRati2[1]) !== ((_config$pixelRatio2 = config.pixelRatio) == null ? void 0 : _config$pixelRatio2[1])) || !config && enoughVideoSamples || this.nextAudioTs === null && enoughAudioSamples) {
              this.resetInitSegment();
            }
          }
          if (!this.ISGenerated) {
            initSegment = this.generateIS(audioTrack, videoTrack, timeOffset, accurateTimeOffset);
          }
          const isVideoContiguous = this.isVideoContiguous;
          let firstKeyFrameIndex = -1;
          let firstKeyFramePTS;
          if (enoughVideoSamples) {
            firstKeyFrameIndex = findKeyframeIndex(videoTrack.samples);
            if (!isVideoContiguous && this.config.forceKeyFrameOnDiscontinuity) {
              independent = true;
              if (firstKeyFrameIndex > 0) {
                this.warn(`Dropped ${firstKeyFrameIndex} out of ${length} video samples due to a missing keyframe`);
                const startPTS = this.getVideoStartPts(videoTrack.samples);
                videoTrack.samples = videoTrack.samples.slice(firstKeyFrameIndex);
                videoTrack.dropped += firstKeyFrameIndex;
                videoTimeOffset += (videoTrack.samples[0].pts - startPTS) / videoTrack.inputTimeScale;
                firstKeyFramePTS = videoTimeOffset;
              } else if (firstKeyFrameIndex === -1) {
                this.warn(`No keyframe found out of ${length} video samples`);
                independent = false;
              }
            }
          }
          if (this.ISGenerated) {
            if (enoughAudioSamples && enoughVideoSamples) {
              // timeOffset is expected to be the offset of the first timestamp of this fragment (first DTS)
              // if first audio DTS is not aligned with first video DTS then we need to take that into account
              // when providing timeOffset to remuxAudio / remuxVideo. if we don't do that, there might be a permanent / small
              // drift between audio and video streams
              const startPTS = this.getVideoStartPts(videoTrack.samples);
              const tsDelta = normalizePts(audioTrack.samples[0].pts, startPTS) - startPTS;
              const audiovideoTimestampDelta = tsDelta / videoTrack.inputTimeScale;
              audioTimeOffset += Math.max(0, audiovideoTimestampDelta);
              videoTimeOffset += Math.max(0, -audiovideoTimestampDelta);
            }
    
            // Purposefully remuxing audio before video, so that remuxVideo can use nextAudioPts, which is calculated in remuxAudio.
            if (enoughAudioSamples) {
              // if initSegment was generated without audio samples, regenerate it again
              if (!audioTrack.samplerate) {
                this.warn('regenerate InitSegment as audio detected');
                initSegment = this.generateIS(audioTrack, videoTrack, timeOffset, accurateTimeOffset);
              }
              audio = this.remuxAudio(audioTrack, audioTimeOffset, this.isAudioContiguous, accurateTimeOffset, hasVideo || enoughVideoSamples || playlistType === PlaylistLevelType.AUDIO ? videoTimeOffset : undefined);
              if (enoughVideoSamples) {
                const audioTrackLength = audio ? audio.endPTS - audio.startPTS : 0;
                // if initSegment was generated without video samples, regenerate it again
                if (!videoTrack.inputTimeScale) {
                  this.warn('regenerate InitSegment as video detected');
                  initSegment = this.generateIS(audioTrack, videoTrack, timeOffset, accurateTimeOffset);
                }
                video = this.remuxVideo(videoTrack, videoTimeOffset, isVideoContiguous, audioTrackLength);
              }
            } else if (enoughVideoSamples) {
              video = this.remuxVideo(videoTrack, videoTimeOffset, isVideoContiguous, 0);
            }
            if (video) {
              video.firstKeyFrame = firstKeyFrameIndex;
              video.independent = firstKeyFrameIndex !== -1;
              video.firstKeyFramePTS = firstKeyFramePTS;
            }
          }
        }
    
        // Allow ID3 and text to remux, even if more audio/video samples are required
        if (this.ISGenerated && this._initPTS && this._initDTS) {
          if (id3Track.samples.length) {
            id3 = flushTextTrackMetadataCueSamples(id3Track, timeOffset, this._initPTS, this._initDTS);
          }
          if (textTrack.samples.length) {
            text = flushTextTrackUserdataCueSamples(textTrack, timeOffset, this._initPTS);
          }
        }
        return {
          audio,
          video,
          initSegment,
          independent,
          text,
          id3
        };
      }
      computeInitPts(basetime, timescale, presentationTime, type) {
        const offset = Math.round(presentationTime * timescale);
        let timestamp = normalizePts(basetime, offset);
        if (timestamp < offset + timescale) {
          this.log(`Adjusting PTS for rollover in timeline near ${(offset - timestamp) / timescale} ${type}`);
          while (timestamp < offset + timescale) {
            timestamp += 8589934592;
          }
        }
        return timestamp - offset;
      }
      generateIS(audioTrack, videoTrack, timeOffset, accurateTimeOffset) {
        const audioSamples = audioTrack.samples;
        const videoSamples = videoTrack.samples;
        const typeSupported = this.typeSupported;
        const tracks = {};
        const _initPTS = this._initPTS;
        let computePTSDTS = !_initPTS || accurateTimeOffset;
        let container = 'audio/mp4';
        let initPTS;
        let initDTS;
        let timescale;
        let trackId = -1;
        if (computePTSDTS) {
          initPTS = initDTS = Infinity;
        }
        if (audioTrack.config && audioSamples.length) {
          // let's use audio sampling rate as MP4 time scale.
          // rationale is that there is a integer nb of audio frames per audio sample (1024 for AAC)
          // using audio sampling rate here helps having an integer MP4 frame duration
          // this avoids potential rounding issue and AV sync issue
          audioTrack.timescale = audioTrack.samplerate;
          switch (audioTrack.segmentCodec) {
            case 'mp3':
              if (typeSupported.mpeg) {
                // Chrome and Safari
                container = 'audio/mpeg';
                audioTrack.codec = '';
              } else if (typeSupported.mp3) {
                // Firefox
                audioTrack.codec = 'mp3';
              }
              break;
            case 'ac3':
              audioTrack.codec = 'ac-3';
              break;
          }
          tracks.audio = {
            id: 'audio',
            container: container,
            codec: audioTrack.codec,
            initSegment: audioTrack.segmentCodec === 'mp3' && typeSupported.mpeg ? new Uint8Array(0) : MP4.initSegment([audioTrack]),
            metadata: {
              channelCount: audioTrack.channelCount
            }
          };
          if (computePTSDTS) {
            trackId = audioTrack.id;
            timescale = audioTrack.inputTimeScale;
            if (!_initPTS || timescale !== _initPTS.timescale) {
              // remember first PTS of this demuxing context. for audio, PTS = DTS
              initPTS = initDTS = this.computeInitPts(audioSamples[0].pts, timescale, timeOffset, 'audio');
            } else {
              computePTSDTS = false;
            }
          }
        }
        if (videoTrack.sps && videoTrack.pps && videoSamples.length) {
          // let's use input time scale as MP4 video timescale
          // we use input time scale straight away to avoid rounding issues on frame duration / cts computation
          videoTrack.timescale = videoTrack.inputTimeScale;
          tracks.video = {
            id: 'main',
            container: 'video/mp4',
            codec: videoTrack.codec,
            initSegment: MP4.initSegment([videoTrack]),
            metadata: {
              width: videoTrack.width,
              height: videoTrack.height
            }
          };
          if (computePTSDTS) {
            trackId = videoTrack.id;
            timescale = videoTrack.inputTimeScale;
            if (!_initPTS || timescale !== _initPTS.timescale) {
              const basePTS = this.getVideoStartPts(videoSamples);
              const baseDTS = normalizePts(videoSamples[0].dts, basePTS);
              const videoInitDTS = this.computeInitPts(baseDTS, timescale, timeOffset, 'video');
              const videoInitPTS = this.computeInitPts(basePTS, timescale, timeOffset, 'video');
              initDTS = Math.min(initDTS, videoInitDTS);
              initPTS = Math.min(initPTS, videoInitPTS);
            } else {
              computePTSDTS = false;
            }
          }
          this.videoTrackConfig = {
            width: videoTrack.width,
            height: videoTrack.height,
            pixelRatio: videoTrack.pixelRatio
          };
        }
        if (Object.keys(tracks).length) {
          this.ISGenerated = true;
          if (computePTSDTS) {
            if (_initPTS) {
              this.warn(`Timestamps at playlist time: ${accurateTimeOffset ? '' : '~'}${timeOffset} ${initPTS / timescale} != initPTS: ${_initPTS.baseTime / _initPTS.timescale} (${_initPTS.baseTime}/${_initPTS.timescale}) trackId: ${_initPTS.trackId}`);
            }
            this.log(`Found initPTS at playlist time: ${timeOffset} offset: ${initPTS / timescale} (${initPTS}/${timescale}) trackId: ${trackId}`);
            this._initPTS = {
              baseTime: initPTS,
              timescale: timescale,
              trackId: trackId
            };
            this._initDTS = {
              baseTime: initDTS,
              timescale: timescale,
              trackId: trackId
            };
          } else {
            initPTS = timescale = undefined;
          }
          return {
            tracks,
            initPTS,
            timescale,
            trackId
          };
        }
      }
      remuxVideo(track, timeOffset, contiguous, audioTrackLength) {
        const timeScale = track.inputTimeScale;
        const inputSamples = track.samples;
        const outputSamples = [];
        const nbSamples = inputSamples.length;
        const initPTS = this._initPTS;
        const initTime = initPTS.baseTime * timeScale / initPTS.timescale;
        let nextVideoTs = this.nextVideoTs;
        let offset = 8;
        let mp4SampleDuration = this.videoSampleDuration;
        let firstDTS;
        let lastDTS;
        let minPTS = Number.POSITIVE_INFINITY;
        let maxPTS = Number.NEGATIVE_INFINITY;
        let sortSamples = false;
    
        // if parsed fragment is contiguous with last one, let's use last DTS value as reference
        if (!contiguous || nextVideoTs === null) {
          const pts = initTime + timeOffset * timeScale;
          const cts = inputSamples[0].pts - normalizePts(inputSamples[0].dts, inputSamples[0].pts);
          if (chromeVersion && nextVideoTs !== null && Math.abs(pts - cts - (nextVideoTs + initTime)) < 15000) {
            // treat as contigous to adjust samples that would otherwise produce video buffer gaps in Chrome
            contiguous = true;
          } else {
            // if not contiguous, let's use target timeOffset
            nextVideoTs = pts - cts - initTime;
          }
        }
    
        // PTS is coded on 33bits, and can loop from -2^32 to 2^32
        // PTSNormalize will make PTS/DTS value monotonic, we use last known DTS value as reference value
        const nextVideoPts = nextVideoTs + initTime;
        for (let i = 0; i < nbSamples; i++) {
          const sample = inputSamples[i];
          sample.pts = normalizePts(sample.pts, nextVideoPts);
          sample.dts = normalizePts(sample.dts, nextVideoPts);
          if (sample.dts < inputSamples[i > 0 ? i - 1 : i].dts) {
            sortSamples = true;
          }
        }
    
        // sort video samples by DTS then PTS then demux id order
        if (sortSamples) {
          inputSamples.sort(function (a, b) {
            const deltadts = a.dts - b.dts;
            const deltapts = a.pts - b.pts;
            return deltadts || deltapts;
          });
        }
    
        // Get first/last DTS
        firstDTS = inputSamples[0].dts;
        lastDTS = inputSamples[inputSamples.length - 1].dts;
    
        // Sample duration (as expected by trun MP4 boxes), should be the delta between sample DTS
        // set this constant duration as being the avg delta between consecutive DTS.
        const inputDuration = lastDTS - firstDTS;
        const averageSampleDuration = inputDuration ? Math.round(inputDuration / (nbSamples - 1)) : mp4SampleDuration || track.inputTimeScale / 30;
    
        // if fragment are contiguous, detect hole/overlapping between fragments
        if (contiguous) {
          // check timestamp continuity across consecutive fragments (this is to remove inter-fragment gap/hole)
          const delta = firstDTS - nextVideoPts;
          const foundHole = delta > averageSampleDuration;
          const foundOverlap = delta < -1;
          if (foundHole || foundOverlap) {
            if (foundHole) {
              this.warn(`${(track.segmentCodec || '').toUpperCase()}: ${toMsFromMpegTsClock(delta, true)} ms (${delta}dts) hole between fragments detected at ${timeOffset.toFixed(3)}`);
            } else {
              this.warn(`${(track.segmentCodec || '').toUpperCase()}: ${toMsFromMpegTsClock(-delta, true)} ms (${delta}dts) overlapping between fragments detected at ${timeOffset.toFixed(3)}`);
            }
            if (!foundOverlap || nextVideoPts >= inputSamples[0].pts || chromeVersion) {
              firstDTS = nextVideoPts;
              const firstPTS = inputSamples[0].pts - delta;
              if (foundHole) {
                inputSamples[0].dts = firstDTS;
                inputSamples[0].pts = firstPTS;
              } else {
                let isPTSOrderRetained = true;
                for (let i = 0; i < inputSamples.length; i++) {
                  if (inputSamples[i].dts > firstPTS && isPTSOrderRetained) {
                    break;
                  }
                  const prevPTS = inputSamples[i].pts;
                  inputSamples[i].dts -= delta;
                  inputSamples[i].pts -= delta;
    
                  // check to see if this sample's PTS order has changed
                  // relative to the next one
                  if (i < inputSamples.length - 1) {
                    const nextSamplePTS = inputSamples[i + 1].pts;
                    const currentSamplePTS = inputSamples[i].pts;
                    const currentOrder = nextSamplePTS <= currentSamplePTS;
                    const prevOrder = nextSamplePTS <= prevPTS;
                    isPTSOrderRetained = currentOrder == prevOrder;
                  }
                }
              }
              this.log(`Video: Initial PTS/DTS adjusted: ${toMsFromMpegTsClock(firstPTS, true)}/${toMsFromMpegTsClock(firstDTS, true)}, delta: ${toMsFromMpegTsClock(delta, true)} ms`);
            }
          }
        }
        firstDTS = Math.max(0, firstDTS);
        let nbNalu = 0;
        let naluLen = 0;
        let dtsStep = firstDTS;
        for (let i = 0; i < nbSamples; i++) {
          // compute total/avc sample length and nb of NAL units
          const sample = inputSamples[i];
          const units = sample.units;
          const nbUnits = units.length;
          let sampleLen = 0;
          for (let j = 0; j < nbUnits; j++) {
            sampleLen += units[j].data.length;
          }
          naluLen += sampleLen;
          nbNalu += nbUnits;
          sample.length = sampleLen;
    
          // ensure sample monotonic DTS
          if (sample.dts < dtsStep) {
            sample.dts = dtsStep;
            dtsStep += averageSampleDuration / 4 | 0 || 1;
          } else {
            dtsStep = sample.dts;
          }
          minPTS = Math.min(sample.pts, minPTS);
          maxPTS = Math.max(sample.pts, maxPTS);
        }
        lastDTS = inputSamples[nbSamples - 1].dts;
    
        /* concatenate the video data and construct the mdat in place
          (need 8 more bytes to fill length and mpdat type) */
        const mdatSize = naluLen + 4 * nbNalu + 8;
        let mdat;
        try {
          mdat = new Uint8Array(mdatSize);
        } catch (err) {
          this.observer.emit(Events.ERROR, Events.ERROR, {
            type: ErrorTypes.MUX_ERROR,
            details: ErrorDetails.REMUX_ALLOC_ERROR,
            fatal: false,
            error: err,
            bytes: mdatSize,
            reason: `fail allocating video mdat ${mdatSize}`
          });
          return;
        }
        const view = new DataView(mdat.buffer);
        view.setUint32(0, mdatSize);
        mdat.set(MP4.types.mdat, 4);
        let stretchedLastFrame = false;
        let minDtsDelta = Number.POSITIVE_INFINITY;
        let minPtsDelta = Number.POSITIVE_INFINITY;
        let maxDtsDelta = Number.NEGATIVE_INFINITY;
        let maxPtsDelta = Number.NEGATIVE_INFINITY;
        for (let i = 0; i < nbSamples; i++) {
          const VideoSample = inputSamples[i];
          const VideoSampleUnits = VideoSample.units;
          let mp4SampleLength = 0;
          // convert NALU bitstream to MP4 format (prepend NALU with size field)
          for (let j = 0, nbUnits = VideoSampleUnits.length; j < nbUnits; j++) {
            const unit = VideoSampleUnits[j];
            const unitData = unit.data;
            const unitDataLen = unit.data.byteLength;
            view.setUint32(offset, unitDataLen);
            offset += 4;
            mdat.set(unitData, offset);
            offset += unitDataLen;
            mp4SampleLength += 4 + unitDataLen;
          }
    
          // expected sample duration is the Decoding Timestamp diff of consecutive samples
          let ptsDelta;
          if (i < nbSamples - 1) {
            mp4SampleDuration = inputSamples[i + 1].dts - VideoSample.dts;
            ptsDelta = inputSamples[i + 1].pts - VideoSample.pts;
          } else {
            const config = this.config;
            const lastFrameDuration = i > 0 ? VideoSample.dts - inputSamples[i - 1].dts : averageSampleDuration;
            ptsDelta = i > 0 ? VideoSample.pts - inputSamples[i - 1].pts : averageSampleDuration;
            if (config.stretchShortVideoTrack && this.nextAudioTs !== null) {
              // In some cases, a segment's audio track duration may exceed the video track duration.
              // Since we've already remuxed audio, and we know how long the audio track is, we look to
              // see if the delta to the next segment is longer than maxBufferHole.
              // If so, playback would potentially get stuck, so we artificially inflate
              // the duration of the last frame to minimize any potential gap between segments.
              const gapTolerance = Math.floor(config.maxBufferHole * timeScale);
              const deltaToFrameEnd = (audioTrackLength ? minPTS + audioTrackLength * timeScale : this.nextAudioTs + initTime) - VideoSample.pts;
              if (deltaToFrameEnd > gapTolerance) {
                // We subtract lastFrameDuration from deltaToFrameEnd to try to prevent any video
                // frame overlap. maxBufferHole should be >> lastFrameDuration anyway.
                mp4SampleDuration = deltaToFrameEnd - lastFrameDuration;
                if (mp4SampleDuration < 0) {
                  mp4SampleDuration = lastFrameDuration;
                } else {
                  stretchedLastFrame = true;
                }
                this.log(`It is approximately ${deltaToFrameEnd / 90} ms to the next segment; using duration ${mp4SampleDuration / 90} ms for the last video frame.`);
              } else {
                mp4SampleDuration = lastFrameDuration;
              }
            } else {
              mp4SampleDuration = lastFrameDuration;
            }
          }
          const compositionTimeOffset = Math.round(VideoSample.pts - VideoSample.dts);
          minDtsDelta = Math.min(minDtsDelta, mp4SampleDuration);
          maxDtsDelta = Math.max(maxDtsDelta, mp4SampleDuration);
          minPtsDelta = Math.min(minPtsDelta, ptsDelta);
          maxPtsDelta = Math.max(maxPtsDelta, ptsDelta);
          outputSamples.push(createMp4Sample(VideoSample.key, mp4SampleDuration, mp4SampleLength, compositionTimeOffset));
        }
        if (outputSamples.length) {
          if (chromeVersion) {
            if (chromeVersion < 70) {
              // Chrome workaround, mark first sample as being a Random Access Point (keyframe) to avoid sourcebuffer append issue
              // https://code.google.com/p/chromium/issues/detail?id=229412
              const flags = outputSamples[0].flags;
              flags.dependsOn = 2;
              flags.isNonSync = 0;
            }
          } else if (safariWebkitVersion) {
            // Fix for "CNN special report, with CC" in test-streams (Safari browser only)
            // Ignore DTS when frame durations are irregular. Safari MSE does not handle this leading to gaps.
            if (maxPtsDelta - minPtsDelta < maxDtsDelta - minDtsDelta && averageSampleDuration / maxDtsDelta < 0.025 && outputSamples[0].cts === 0) {
              this.warn('Found irregular gaps in sample duration. Using PTS instead of DTS to determine MP4 sample duration.');
              let dts = firstDTS;
              for (let i = 0, len = outputSamples.length; i < len; i++) {
                const nextDts = dts + outputSamples[i].duration;
                const pts = dts + outputSamples[i].cts;
                if (i < len - 1) {
                  const nextPts = nextDts + outputSamples[i + 1].cts;
                  outputSamples[i].duration = nextPts - pts;
                } else {
                  outputSamples[i].duration = i ? outputSamples[i - 1].duration : averageSampleDuration;
                }
                outputSamples[i].cts = 0;
                dts = nextDts;
              }
            }
          }
        }
        // next AVC/HEVC sample DTS should be equal to last sample DTS + last sample duration (in PES timescale)
        mp4SampleDuration = stretchedLastFrame || !mp4SampleDuration ? averageSampleDuration : mp4SampleDuration;
        const endDTS = lastDTS + mp4SampleDuration;
        this.nextVideoTs = nextVideoTs = endDTS - initTime;
        this.videoSampleDuration = mp4SampleDuration;
        this.isVideoContiguous = true;
        const moof = MP4.moof(track.sequenceNumber++, firstDTS, _extends(track, {
          samples: outputSamples
        }));
        const type = 'video';
        const data = {
          data1: moof,
          data2: mdat,
          startPTS: (minPTS - initTime) / timeScale,
          endPTS: (maxPTS + mp4SampleDuration - initTime) / timeScale,
          startDTS: (firstDTS - initTime) / timeScale,
          endDTS: nextVideoTs / timeScale,
          type,
          hasAudio: false,
          hasVideo: true,
          nb: outputSamples.length,
          dropped: track.dropped
        };
        track.samples = [];
        track.dropped = 0;
        return data;
      }
      getSamplesPerFrame(track) {
        switch (track.segmentCodec) {
          case 'mp3':
            return MPEG_AUDIO_SAMPLE_PER_FRAME;
          case 'ac3':
            return AC3_SAMPLES_PER_FRAME;
          default:
            return AAC_SAMPLES_PER_FRAME;
        }
      }
      remuxAudio(track, timeOffset, contiguous, accurateTimeOffset, videoTimeOffset) {
        const inputTimeScale = track.inputTimeScale;
        const mp4timeScale = track.samplerate ? track.samplerate : inputTimeScale;
        const scaleFactor = inputTimeScale / mp4timeScale;
        const mp4SampleDuration = this.getSamplesPerFrame(track);
        const inputSampleDuration = mp4SampleDuration * scaleFactor;
        const initPTS = this._initPTS;
        const rawMPEG = track.segmentCodec === 'mp3' && this.typeSupported.mpeg;
        const outputSamples = [];
        const alignedWithVideo = videoTimeOffset !== undefined;
        let inputSamples = track.samples;
        let offset = rawMPEG ? 0 : 8;
        let nextAudioTs = this.nextAudioTs || -1;
    
        // window.audioSamples ? window.audioSamples.push(inputSamples.map(s => s.pts)) : (window.audioSamples = [inputSamples.map(s => s.pts)]);
    
        // for audio samples, also consider consecutive fragments as being contiguous (even if a level switch occurs),
        // for sake of clarity:
        // consecutive fragments are frags with
        //  - less than 100ms gaps between new time offset (if accurate) and next expected PTS OR
        //  - less than 20 audio frames distance
        // contiguous fragments are consecutive fragments from same quality level (same level, new SN = old SN + 1)
        // this helps ensuring audio continuity
        // and this also avoids audio glitches/cut when switching quality, or reporting wrong duration on first audio frame
        const initTime = initPTS.baseTime * inputTimeScale / initPTS.timescale;
        const timeOffsetMpegTS = initTime + timeOffset * inputTimeScale;
        this.isAudioContiguous = contiguous = contiguous || inputSamples.length && nextAudioTs > 0 && (accurateTimeOffset && Math.abs(timeOffsetMpegTS - (nextAudioTs + initTime)) < 9000 || Math.abs(normalizePts(inputSamples[0].pts, timeOffsetMpegTS) - (nextAudioTs + initTime)) < 20 * inputSampleDuration);
    
        // compute normalized PTS
        inputSamples.forEach(function (sample) {
          sample.pts = normalizePts(sample.pts, timeOffsetMpegTS);
        });
        if (!contiguous || nextAudioTs < 0) {
          const sampleCount = inputSamples.length;
          // filter out sample with negative PTS that are not playable anyway
          // if we don't remove these negative samples, they will shift all audio samples forward.
          // leading to audio overlap between current / next fragment
          inputSamples = inputSamples.filter(sample => sample.pts >= 0);
          if (sampleCount !== inputSamples.length) {
            this.warn(`Removed ${inputSamples.length - sampleCount} of ${sampleCount} samples (initPTS ${initTime} / ${inputTimeScale})`);
          }
    
          // in case all samples have negative PTS, and have been filtered out, return now
          if (!inputSamples.length) {
            return;
          }
          if (videoTimeOffset === 0) {
            // Set the start to match video so that start gaps larger than inputSampleDuration are filled with silence
            nextAudioTs = 0;
          } else if (accurateTimeOffset && !alignedWithVideo) {
            // When not seeking, not live, and LevelDetails.PTSKnown, use fragment start as predicted next audio PTS
            nextAudioTs = Math.max(0, timeOffsetMpegTS - initTime);
          } else {
            // if frags are not contiguous and if we cant trust time offset, let's use first sample PTS as next audio PTS
            nextAudioTs = inputSamples[0].pts - initTime;
          }
        }
    
        // If the audio track is missing samples, the frames seem to get "left-shifted" within the
        // resulting mp4 segment, causing sync issues and leaving gaps at the end of the audio segment.
        // In an effort to prevent this from happening, we inject frames here where there are gaps.
        // When possible, we inject a silent frame; when that's not possible, we duplicate the last
        // frame.
    
        if (track.segmentCodec === 'aac') {
          const maxAudioFramesDrift = this.config.maxAudioFramesDrift;
          for (let i = 0, nextPts = nextAudioTs + initTime; i < inputSamples.length; i++) {
            // First, let's see how far off this frame is from where we expect it to be
            const sample = inputSamples[i];
            const pts = sample.pts;
            const delta = pts - nextPts;
            const duration = Math.abs(1000 * delta / inputTimeScale);
    
            // When remuxing with video, if we're overlapping by more than a duration, drop this sample to stay in sync
            if (delta <= -maxAudioFramesDrift * inputSampleDuration && alignedWithVideo) {
              if (i === 0) {
                this.warn(`Audio frame @ ${(pts / inputTimeScale).toFixed(3)}s overlaps marker by ${Math.round(1000 * delta / inputTimeScale)} ms.`);
                this.nextAudioTs = nextAudioTs = pts - initTime;
                nextPts = pts;
              }
            } // eslint-disable-line brace-style
    
            // Insert missing frames if:
            // 1: We're more than maxAudioFramesDrift frame away
            // 2: Not more than MAX_SILENT_FRAME_DURATION away
            // 3: currentTime (aka nextPtsNorm) is not 0
            // 4: remuxing with video (videoTimeOffset !== undefined)
            else if (delta >= maxAudioFramesDrift * inputSampleDuration && duration < MAX_SILENT_FRAME_DURATION && alignedWithVideo) {
              let missing = Math.round(delta / inputSampleDuration);
              // Adjust nextPts so that silent samples are aligned with media pts. This will prevent media samples from
              // later being shifted if nextPts is based on timeOffset and delta is not a multiple of inputSampleDuration.
              nextPts = pts - missing * inputSampleDuration;
              while (nextPts < 0 && missing && inputSampleDuration) {
                missing--;
                nextPts += inputSampleDuration;
              }
              if (i === 0) {
                this.nextAudioTs = nextAudioTs = nextPts - initTime;
              }
              this.warn(`Injecting ${missing} audio frames @ ${((nextPts - initTime) / inputTimeScale).toFixed(3)}s due to ${Math.round(1000 * delta / inputTimeScale)} ms gap.`);
              for (let j = 0; j < missing; j++) {
                let fillFrame = AAC.getSilentFrame(track.parsedCodec || track.manifestCodec || track.codec, track.channelCount);
                if (!fillFrame) {
                  this.log('Unable to get silent frame for given audio codec; duplicating last frame instead.');
                  fillFrame = sample.unit.subarray();
                }
                inputSamples.splice(i, 0, {
                  unit: fillFrame,
                  pts: nextPts
                });
                nextPts += inputSampleDuration;
                i++;
              }
            }
            sample.pts = nextPts;
            nextPts += inputSampleDuration;
          }
        }
        let firstPTS = null;
        let lastPTS = null;
        let mdat;
        let mdatSize = 0;
        let sampleLength = inputSamples.length;
        while (sampleLength--) {
          mdatSize += inputSamples[sampleLength].unit.byteLength;
        }
        for (let j = 0, _nbSamples = inputSamples.length; j < _nbSamples; j++) {
          const audioSample = inputSamples[j];
          const unit = audioSample.unit;
          let pts = audioSample.pts;
          if (lastPTS !== null) {
            // If we have more than one sample, set the duration of the sample to the "real" duration; the PTS diff with
            // the previous sample
            const prevSample = outputSamples[j - 1];
            prevSample.duration = Math.round((pts - lastPTS) / scaleFactor);
          } else {
            if (contiguous && track.segmentCodec === 'aac') {
              // set PTS/DTS to expected PTS/DTS
              pts = nextAudioTs + initTime;
            }
            // remember first PTS of our audioSamples
            firstPTS = pts;
            if (mdatSize > 0) {
              /* concatenate the audio data and construct the mdat in place
                (need 8 more bytes to fill length and mdat type) */
              mdatSize += offset;
              try {
                mdat = new Uint8Array(mdatSize);
              } catch (err) {
                this.observer.emit(Events.ERROR, Events.ERROR, {
                  type: ErrorTypes.MUX_ERROR,
                  details: ErrorDetails.REMUX_ALLOC_ERROR,
                  fatal: false,
                  error: err,
                  bytes: mdatSize,
                  reason: `fail allocating audio mdat ${mdatSize}`
                });
                return;
              }
              if (!rawMPEG) {
                const view = new DataView(mdat.buffer);
                view.setUint32(0, mdatSize);
                mdat.set(MP4.types.mdat, 4);
              }
            } else {
              // no audio samples
              return;
            }
          }
          mdat.set(unit, offset);
          const unitLen = unit.byteLength;
          offset += unitLen;
          // Default the sample's duration to the computed mp4SampleDuration, which will either be 1024 for AAC or 1152 for MPEG
          // In the case that we have 1 sample, this will be the duration. If we have more than one sample, the duration
          // becomes the PTS diff with the previous sample
          outputSamples.push(createMp4Sample(true, mp4SampleDuration, unitLen, 0));
          lastPTS = pts;
        }
    
        // We could end up with no audio samples if all input samples were overlapping with the previously remuxed ones
        const nbSamples = outputSamples.length;
        if (!nbSamples) {
          return;
        }
    
        // The next audio sample PTS should be equal to last sample PTS + duration
        const lastSample = outputSamples[outputSamples.length - 1];
        nextAudioTs = lastPTS - initTime;
        this.nextAudioTs = nextAudioTs + scaleFactor * lastSample.duration;
    
        // Set the track samples from inputSamples to outputSamples before remuxing
        const moof = rawMPEG ? new Uint8Array(0) : MP4.moof(track.sequenceNumber++, firstPTS / scaleFactor, _extends({}, track, {
          samples: outputSamples
        }));
    
        // Clear the track samples. This also clears the samples array in the demuxer, since the reference is shared
        track.samples = [];
        const start = (firstPTS - initTime) / inputTimeScale;
        const end = this.nextAudioTs / inputTimeScale;
        const type = 'audio';
        const audioData = {
          data1: moof,
          data2: mdat,
          startPTS: start,
          endPTS: end,
          startDTS: start,
          endDTS: end,
          type,
          hasAudio: true,
          hasVideo: false,
          nb: nbSamples
        };
        this.isAudioContiguous = true;
        return audioData;
      }
    }
    function normalizePts(value, reference) {
      let offset;
      if (reference === null) {
        return value;
      }
      if (reference < value) {
        // - 2^33
        offset = -8589934592;
      } else {
        // + 2^33
        offset = 8589934592;
      }
      /* PTS is 33bit (from 0 to 2^33 -1)
        if diff between value and reference is bigger than half of the amplitude (2^32) then it means that
        PTS looping occured. fill the gap */
      while (Math.abs(value - reference) > 4294967296) {
        value += offset;
      }
      return value;
    }
    function findKeyframeIndex(samples) {
      for (let i = 0; i < samples.length; i++) {
        if (samples[i].key) {
          return i;
        }
      }
      return -1;
    }
    function flushTextTrackMetadataCueSamples(track, timeOffset, initPTS, initDTS) {
      const length = track.samples.length;
      if (!length) {
        return;
      }
      const inputTimeScale = track.inputTimeScale;
      for (let index = 0; index < length; index++) {
        const sample = track.samples[index];
        // setting id3 pts, dts to relative time
        // using this._initPTS and this._initDTS to calculate relative time
        sample.pts = normalizePts(sample.pts - initPTS.baseTime * inputTimeScale / initPTS.timescale, timeOffset * inputTimeScale) / inputTimeScale;
        sample.dts = normalizePts(sample.dts - initDTS.baseTime * inputTimeScale / initDTS.timescale, timeOffset * inputTimeScale) / inputTimeScale;
      }
      const samples = track.samples;
      track.samples = [];
      return {
        samples
      };
    }
    function flushTextTrackUserdataCueSamples(track, timeOffset, initPTS) {
      const length = track.samples.length;
      if (!length) {
        return;
      }
      const inputTimeScale = track.inputTimeScale;
      for (let index = 0; index < length; index++) {
        const sample = track.samples[index];
        // setting text pts, dts to relative time
        // using this._initPTS and this._initDTS to calculate relative time
        sample.pts = normalizePts(sample.pts - initPTS.baseTime * inputTimeScale / initPTS.timescale, timeOffset * inputTimeScale) / inputTimeScale;
      }
      track.samples.sort((a, b) => a.pts - b.pts);
      const samples = track.samples;
      track.samples = [];
      return {
        samples
      };
    }
    
    class PassThroughRemuxer extends Logger {
      constructor(observer, config, typeSupported, logger) {
        super('passthrough-remuxer', logger);
        this.emitInitSegment = false;
        this.audioCodec = void 0;
        this.videoCodec = void 0;
        this.initData = void 0;
        this.initPTS = null;
        this.initTracks = void 0;
        this.lastEndTime = null;
        this.isVideoContiguous = false;
      }
      destroy() {}
      resetTimeStamp(defaultInitPTS) {
        this.lastEndTime = null;
        const initPTS = this.initPTS;
        if (initPTS && defaultInitPTS) {
          if (initPTS.baseTime === defaultInitPTS.baseTime && initPTS.timescale === defaultInitPTS.timescale) {
            return;
          }
        }
        this.initPTS = defaultInitPTS;
      }
      resetNextTimestamp() {
        this.isVideoContiguous = false;
        this.lastEndTime = null;
      }
      resetInitSegment(initSegment, audioCodec, videoCodec, decryptdata) {
        this.audioCodec = audioCodec;
        this.videoCodec = videoCodec;
        this.generateInitSegment(initSegment, decryptdata);
        this.emitInitSegment = true;
      }
      generateInitSegment(initSegment, decryptdata) {
        let {
          audioCodec,
          videoCodec
        } = this;
        if (!(initSegment != null && initSegment.byteLength)) {
          this.initTracks = undefined;
          this.initData = undefined;
          return;
        }
        const {
          audio,
          video
        } = this.initData = parseInitSegment(initSegment);
        if (decryptdata) {
          patchEncyptionData(initSegment, decryptdata);
        } else {
          const eitherTrack = audio || video;
          if (eitherTrack != null && eitherTrack.encrypted) {
            this.warn(`Init segment with encrypted track with has no key ("${eitherTrack.codec}")!`);
          }
        }
    
        // Get codec from initSegment
        if (audio) {
          audioCodec = getParsedTrackCodec(audio, ElementaryStreamTypes.AUDIO, this);
        }
        if (video) {
          videoCodec = getParsedTrackCodec(video, ElementaryStreamTypes.VIDEO, this);
        }
        const tracks = {};
        if (audio && video) {
          tracks.audiovideo = {
            container: 'video/mp4',
            codec: audioCodec + ',' + videoCodec,
            supplemental: video.supplemental,
            encrypted: video.encrypted,
            initSegment,
            id: 'main'
          };
        } else if (audio) {
          tracks.audio = {
            container: 'audio/mp4',
            codec: audioCodec,
            encrypted: audio.encrypted,
            initSegment,
            id: 'audio'
          };
        } else if (video) {
          tracks.video = {
            container: 'video/mp4',
            codec: videoCodec,
            supplemental: video.supplemental,
            encrypted: video.encrypted,
            initSegment,
            id: 'main'
          };
        } else {
          this.warn('initSegment does not contain moov or trak boxes.');
        }
        this.initTracks = tracks;
      }
      remux(audioTrack, videoTrack, id3Track, textTrack, timeOffset, accurateTimeOffset) {
        var _initData, _initData2;
        let {
          initPTS,
          lastEndTime
        } = this;
        const result = {
          audio: undefined,
          video: undefined,
          text: textTrack,
          id3: id3Track,
          initSegment: undefined
        };
    
        // If we haven't yet set a lastEndDTS, or it was reset, set it to the provided timeOffset. We want to use the
        // lastEndDTS over timeOffset whenever possible; during progressive playback, the media source will not update
        // the media duration (which is what timeOffset is provided as) before we need to process the next chunk.
        if (!isFiniteNumber(lastEndTime)) {
          lastEndTime = this.lastEndTime = timeOffset || 0;
        }
    
        // The binary segment data is added to the videoTrack in the mp4demuxer. We don't check to see if the data is only
        // audio or video (or both); adding it to video was an arbitrary choice.
        const data = videoTrack.samples;
        if (!data.length) {
          return result;
        }
        const initSegment = {
          initPTS: undefined,
          timescale: undefined,
          trackId: undefined
        };
        let initData = this.initData;
        if (!((_initData = initData) != null && _initData.length)) {
          this.generateInitSegment(data);
          initData = this.initData;
        }
        if (!((_initData2 = initData) != null && _initData2.length)) {
          // We can't remux if the initSegment could not be generated
          this.warn('Failed to generate initSegment.');
          return result;
        }
        if (this.emitInitSegment) {
          initSegment.tracks = this.initTracks;
          this.emitInitSegment = false;
        }
        const trackSampleData = getSampleData(data, initData, this);
        const audioSampleTimestamps = initData.audio ? trackSampleData[initData.audio.id] : null;
        const videoSampleTimestamps = initData.video ? trackSampleData[initData.video.id] : null;
        const videoStartTime = toStartEndOrDefault(videoSampleTimestamps, Infinity);
        const audioStartTime = toStartEndOrDefault(audioSampleTimestamps, Infinity);
        const videoEndTime = toStartEndOrDefault(videoSampleTimestamps, 0, true);
        const audioEndTime = toStartEndOrDefault(audioSampleTimestamps, 0, true);
        let decodeTime = timeOffset;
        let duration = 0;
        const syncOnAudio = audioSampleTimestamps && (!videoSampleTimestamps || !initPTS && audioStartTime < videoStartTime || initPTS && initPTS.trackId === initData.audio.id);
        const baseOffsetSamples = syncOnAudio ? audioSampleTimestamps : videoSampleTimestamps;
        if (baseOffsetSamples) {
          const timescale = baseOffsetSamples.timescale;
          const baseTime = baseOffsetSamples.start - timeOffset * timescale;
          const trackId = syncOnAudio ? initData.audio.id : initData.video.id;
          decodeTime = baseOffsetSamples.start / timescale;
          duration = syncOnAudio ? audioEndTime - audioStartTime : videoEndTime - videoStartTime;
          if ((accurateTimeOffset || !initPTS) && (isInvalidInitPts(initPTS, decodeTime, timeOffset, duration) || timescale !== initPTS.timescale)) {
            if (initPTS) {
              this.warn(`Timestamps at playlist time: ${accurateTimeOffset ? '' : '~'}${timeOffset} ${baseTime / timescale} != initPTS: ${initPTS.baseTime / initPTS.timescale} (${initPTS.baseTime}/${initPTS.timescale}) trackId: ${initPTS.trackId}`);
            }
            this.log(`Found initPTS at playlist time: ${timeOffset} offset: ${decodeTime - timeOffset} (${baseTime}/${timescale}) trackId: ${trackId}`);
            initPTS = null;
            initSegment.initPTS = baseTime;
            initSegment.timescale = timescale;
            initSegment.trackId = trackId;
          }
        } else {
          this.warn(`No audio or video samples found for initPTS at playlist time: ${timeOffset}`);
        }
        if (!initPTS) {
          if (!initSegment.timescale || initSegment.trackId === undefined || initSegment.initPTS === undefined) {
            this.warn('Could not set initPTS');
            initSegment.initPTS = decodeTime;
            initSegment.timescale = 1;
            initSegment.trackId = -1;
          }
          this.initPTS = initPTS = {
            baseTime: initSegment.initPTS,
            timescale: initSegment.timescale,
            trackId: initSegment.trackId
          };
        } else {
          initSegment.initPTS = initPTS.baseTime;
          initSegment.timescale = initPTS.timescale;
          initSegment.trackId = initPTS.trackId;
        }
        const startTime = decodeTime - initPTS.baseTime / initPTS.timescale;
        const endTime = startTime + duration;
        if (duration > 0) {
          this.lastEndTime = endTime;
        } else {
          this.warn('Duration parsed from mp4 should be greater than zero');
          this.resetNextTimestamp();
        }
        const hasAudio = !!initData.audio;
        const hasVideo = !!initData.video;
        let type = '';
        if (hasAudio) {
          type += 'audio';
        }
        if (hasVideo) {
          type += 'video';
        }
        const encrypted = (initData.audio ? initData.audio.encrypted : false) || (initData.video ? initData.video.encrypted : false);
        const track = {
          data1: data,
          startPTS: startTime,
          startDTS: startTime,
          endPTS: endTime,
          endDTS: endTime,
          type,
          hasAudio,
          hasVideo,
          nb: 1,
          dropped: 0,
          encrypted
        };
        result.audio = hasAudio && !hasVideo ? track : undefined;
        result.video = hasVideo ? track : undefined;
        const videoSampleCount = videoSampleTimestamps == null ? void 0 : videoSampleTimestamps.sampleCount;
        if (videoSampleCount) {
          const firstKeyFrame = videoSampleTimestamps.keyFrameIndex;
          const independent = firstKeyFrame !== -1;
          track.nb = videoSampleCount;
          track.dropped = firstKeyFrame === 0 || this.isVideoContiguous ? 0 : independent ? firstKeyFrame : videoSampleCount;
          track.independent = independent;
          track.firstKeyFrame = firstKeyFrame;
          if (independent && videoSampleTimestamps.keyFrameStart) {
            track.firstKeyFramePTS = (videoSampleTimestamps.keyFrameStart - initPTS.baseTime) / initPTS.timescale;
          }
          if (!this.isVideoContiguous) {
            result.independent = independent;
          }
          this.isVideoContiguous || (this.isVideoContiguous = independent);
          if (track.dropped) {
            this.warn(`fmp4 does not start with IDR: firstIDR ${firstKeyFrame}/${videoSampleCount} dropped: ${track.dropped} start: ${track.firstKeyFramePTS || 'NA'}`);
          }
        }
        result.initSegment = initSegment;
        result.id3 = flushTextTrackMetadataCueSamples(id3Track, timeOffset, initPTS, initPTS);
        if (textTrack.samples.length) {
          result.text = flushTextTrackUserdataCueSamples(textTrack, timeOffset, initPTS);
        }
        return result;
      }
    }
    function toStartEndOrDefault(trackTimes, defaultValue, end = false) {
      return (trackTimes == null ? void 0 : trackTimes.start) !== undefined ? (trackTimes.start + (end ? trackTimes.duration : 0)) / trackTimes.timescale : defaultValue;
    }
    function isInvalidInitPts(initPTS, startDTS, timeOffset, duration) {
      if (initPTS === null) {
        return true;
      }
      // InitPTS is invalid when distance from program would be more than segment duration or a minimum of one second
      const minDuration = Math.max(duration, 1);
      const startTime = startDTS - initPTS.baseTime / initPTS.timescale;
      return Math.abs(startTime - timeOffset) > minDuration;
    }
    function getParsedTrackCodec(track, type, logger) {
      const parsedCodec = track.codec;
      if (parsedCodec && parsedCodec.length > 4) {
        return parsedCodec;
      }
      if (type === ElementaryStreamTypes.AUDIO) {
        if (parsedCodec === 'ec-3' || parsedCodec === 'ac-3' || parsedCodec === 'alac') {
          return parsedCodec;
        }
        if (parsedCodec === 'fLaC' || parsedCodec === 'Opus') {
          // Opting not to get `preferManagedMediaSource` from player config for isSupported() check for simplicity
          const preferManagedMediaSource = false;
          return getCodecCompatibleName(parsedCodec, preferManagedMediaSource);
        }
        logger.warn(`Unhandled audio codec "${parsedCodec}" in mp4 MAP`);
        return parsedCodec || 'mp4a';
      }
      // Provide defaults based on codec type
      // This allows for some playback of some fmp4 playlists without CODECS defined in manifest
      logger.warn(`Unhandled video codec "${parsedCodec}" in mp4 MAP`);
      return parsedCodec || 'avc1';
    }
    
    let now;
    // performance.now() not available on WebWorker, at least on Safari Desktop
    try {
      now = self.performance.now.bind(self.performance);
    } catch (err) {
      now = Date.now;
    }
    const muxConfig = [{
      demux: MP4Demuxer,
      remux: PassThroughRemuxer
    }, {
      demux: TSDemuxer,
      remux: MP4Remuxer
    }, {
      demux: AACDemuxer,
      remux: MP4Remuxer
    }, {
      demux: MP3Demuxer,
      remux: MP4Remuxer
    }];
    {
      muxConfig.splice(2, 0, {
        demux: AC3Demuxer,
        remux: MP4Remuxer
      });
    }
    class Transmuxer {
      constructor(observer, typeSupported, config, vendor, id, logger) {
        this.asyncResult = false;
        this.logger = void 0;
        this.observer = void 0;
        this.typeSupported = void 0;
        this.config = void 0;
        this.id = void 0;
        this.demuxer = void 0;
        this.remuxer = void 0;
        this.decrypter = void 0;
        this.probe = void 0;
        this.decryptionPromise = null;
        this.transmuxConfig = void 0;
        this.currentTransmuxState = void 0;
        this.observer = observer;
        this.typeSupported = typeSupported;
        this.config = config;
        this.id = id;
        this.logger = logger;
      }
      configure(transmuxConfig) {
        this.transmuxConfig = transmuxConfig;
        if (this.decrypter) {
          this.decrypter.reset();
        }
      }
      push(data, decryptdata, chunkMeta, state) {
        const stats = chunkMeta.transmuxing;
        stats.executeStart = now();
        let uintData = new Uint8Array(data);
        const {
          currentTransmuxState,
          transmuxConfig
        } = this;
        if (state) {
          this.currentTransmuxState = state;
        }
        const {
          contiguous,
          discontinuity,
          trackSwitch,
          accurateTimeOffset,
          timeOffset,
          initSegmentChange
        } = state || currentTransmuxState;
        const {
          audioCodec,
          videoCodec,
          defaultInitPts,
          duration,
          initSegmentData
        } = transmuxConfig;
        const keyData = getEncryptionType(uintData, decryptdata);
        if (keyData && isFullSegmentEncryption(keyData.method)) {
          const decrypter = this.getDecrypter();
          const aesMode = getAesModeFromFullSegmentMethod(keyData.method);
    
          // Software decryption is synchronous; webCrypto is not
          if (decrypter.isSync()) {
            // Software decryption is progressive. Progressive decryption may not return a result on each call. Any cached
            // data is handled in the flush() call
            let decryptedData = decrypter.softwareDecrypt(uintData, keyData.key.buffer, keyData.iv.buffer, aesMode);
            // For Low-Latency HLS Parts, decrypt in place, since part parsing is expected on push progress
            const loadingParts = chunkMeta.part > -1;
            if (loadingParts) {
              const _data = decrypter.flush();
              decryptedData = _data ? _data.buffer : _data;
            }
            if (!decryptedData) {
              stats.executeEnd = now();
              return emptyResult(chunkMeta);
            }
            uintData = new Uint8Array(decryptedData);
          } else {
            this.asyncResult = true;
            this.decryptionPromise = decrypter.webCryptoDecrypt(uintData, keyData.key.buffer, keyData.iv.buffer, aesMode).then(decryptedData => {
              // Calling push here is important; if flush() is called while this is still resolving, this ensures that
              // the decrypted data has been transmuxed
              const result = this.push(decryptedData, null, chunkMeta);
              this.decryptionPromise = null;
              return result;
            });
            return this.decryptionPromise;
          }
        }
        const resetMuxers = this.needsProbing(discontinuity, trackSwitch);
        if (resetMuxers) {
          const error = this.configureTransmuxer(uintData);
          if (error) {
            this.logger.warn(`[transmuxer] ${error.message}`);
            this.observer.emit(Events.ERROR, Events.ERROR, {
              type: ErrorTypes.MEDIA_ERROR,
              details: ErrorDetails.FRAG_PARSING_ERROR,
              fatal: false,
              error,
              reason: error.message
            });
            stats.executeEnd = now();
            return emptyResult(chunkMeta);
          }
        }
        if (discontinuity || trackSwitch || initSegmentChange || resetMuxers) {
          this.resetInitSegment(initSegmentData, audioCodec, videoCodec, duration, decryptdata);
        }
        if (discontinuity || initSegmentChange || resetMuxers) {
          this.resetInitialTimestamp(defaultInitPts);
        }
        if (!contiguous) {
          this.resetContiguity();
        }
        const result = this.transmux(uintData, keyData, timeOffset, accurateTimeOffset, chunkMeta);
        this.asyncResult = isPromise(result);
        const currentState = this.currentTransmuxState;
        currentState.contiguous = true;
        currentState.discontinuity = false;
        currentState.trackSwitch = false;
        stats.executeEnd = now();
        return result;
      }
    
      // Due to data caching, flush calls can produce more than one TransmuxerResult (hence the Array type)
      flush(chunkMeta) {
        const stats = chunkMeta.transmuxing;
        stats.executeStart = now();
        const {
          decrypter,
          currentTransmuxState,
          decryptionPromise
        } = this;
        if (decryptionPromise) {
          this.asyncResult = true;
          // Upon resolution, the decryption promise calls push() and returns its TransmuxerResult up the stack. Therefore
          // only flushing is required for async decryption
          return decryptionPromise.then(() => {
            return this.flush(chunkMeta);
          });
        }
        const transmuxResults = [];
        const {
          timeOffset
        } = currentTransmuxState;
        if (decrypter) {
          // The decrypter may have data cached, which needs to be demuxed. In this case we'll have two TransmuxResults
          // This happens in the case that we receive only 1 push call for a segment (either for non-progressive downloads,
          // or for progressive downloads with small segments)
          const decryptedData = decrypter.flush();
          if (decryptedData) {
            // Push always returns a TransmuxerResult if decryptdata is null
            transmuxResults.push(this.push(decryptedData.buffer, null, chunkMeta));
          }
        }
        const {
          demuxer,
          remuxer
        } = this;
        if (!demuxer || !remuxer) {
          // If probing failed, then Hls.js has been given content its not able to handle
          stats.executeEnd = now();
          const emptyResults = [emptyResult(chunkMeta)];
          if (this.asyncResult) {
            return Promise.resolve(emptyResults);
          }
          return emptyResults;
        }
        const demuxResultOrPromise = demuxer.flush(timeOffset);
        if (isPromise(demuxResultOrPromise)) {
          this.asyncResult = true;
          // Decrypt final SAMPLE-AES samples
          return demuxResultOrPromise.then(demuxResult => {
            this.flushRemux(transmuxResults, demuxResult, chunkMeta);
            return transmuxResults;
          });
        }
        this.flushRemux(transmuxResults, demuxResultOrPromise, chunkMeta);
        if (this.asyncResult) {
          return Promise.resolve(transmuxResults);
        }
        return transmuxResults;
      }
      flushRemux(transmuxResults, demuxResult, chunkMeta) {
        const {
          audioTrack,
          videoTrack,
          id3Track,
          textTrack
        } = demuxResult;
        const {
          accurateTimeOffset,
          timeOffset
        } = this.currentTransmuxState;
        this.logger.log(`[transmuxer.ts]: Flushed ${this.id} sn: ${chunkMeta.sn}${chunkMeta.part > -1 ? ' part: ' + chunkMeta.part : ''} of ${this.id === PlaylistLevelType.MAIN ? 'level' : 'track'} ${chunkMeta.level}`);
        const remuxResult = this.remuxer.remux(audioTrack, videoTrack, id3Track, textTrack, timeOffset, accurateTimeOffset, true, this.id);
        transmuxResults.push({
          remuxResult,
          chunkMeta
        });
        chunkMeta.transmuxing.executeEnd = now();
      }
      resetInitialTimestamp(defaultInitPts) {
        const {
          demuxer,
          remuxer
        } = this;
        if (!demuxer || !remuxer) {
          return;
        }
        demuxer.resetTimeStamp(defaultInitPts);
        remuxer.resetTimeStamp(defaultInitPts);
      }
      resetContiguity() {
        const {
          demuxer,
          remuxer
        } = this;
        if (!demuxer || !remuxer) {
          return;
        }
        demuxer.resetContiguity();
        remuxer.resetNextTimestamp();
      }
      resetInitSegment(initSegmentData, audioCodec, videoCodec, trackDuration, decryptdata) {
        const {
          demuxer,
          remuxer
        } = this;
        if (!demuxer || !remuxer) {
          return;
        }
        demuxer.resetInitSegment(initSegmentData, audioCodec, videoCodec, trackDuration);
        remuxer.resetInitSegment(initSegmentData, audioCodec, videoCodec, decryptdata);
      }
      destroy() {
        if (this.demuxer) {
          this.demuxer.destroy();
          this.demuxer = undefined;
        }
        if (this.remuxer) {
          this.remuxer.destroy();
          this.remuxer = undefined;
        }
      }
      transmux(data, keyData, timeOffset, accurateTimeOffset, chunkMeta) {
        let result;
        if (keyData && keyData.method === 'SAMPLE-AES') {
          result = this.transmuxSampleAes(data, keyData, timeOffset, accurateTimeOffset, chunkMeta);
        } else {
          result = this.transmuxUnencrypted(data, timeOffset, accurateTimeOffset, chunkMeta);
        }
        return result;
      }
      transmuxUnencrypted(data, timeOffset, accurateTimeOffset, chunkMeta) {
        const {
          audioTrack,
          videoTrack,
          id3Track,
          textTrack
        } = this.demuxer.demux(data, timeOffset, false, !this.config.progressive);
        const remuxResult = this.remuxer.remux(audioTrack, videoTrack, id3Track, textTrack, timeOffset, accurateTimeOffset, false, this.id);
        return {
          remuxResult,
          chunkMeta
        };
      }
      transmuxSampleAes(data, decryptData, timeOffset, accurateTimeOffset, chunkMeta) {
        return this.demuxer.demuxSampleAes(data, decryptData, timeOffset).then(demuxResult => {
          const remuxResult = this.remuxer.remux(demuxResult.audioTrack, demuxResult.videoTrack, demuxResult.id3Track, demuxResult.textTrack, timeOffset, accurateTimeOffset, false, this.id);
          return {
            remuxResult,
            chunkMeta
          };
        });
      }
      configureTransmuxer(data) {
        const {
          config,
          observer,
          typeSupported
        } = this;
        // probe for content type
        let mux;
        for (let i = 0, len = muxConfig.length; i < len; i++) {
          var _muxConfig$i$demux;
          if ((_muxConfig$i$demux = muxConfig[i].demux) != null && _muxConfig$i$demux.probe(data, this.logger)) {
            mux = muxConfig[i];
            break;
          }
        }
        if (!mux) {
          return new Error('Failed to find demuxer by probing fragment data');
        }
        // so let's check that current remuxer and demuxer are still valid
        const demuxer = this.demuxer;
        const remuxer = this.remuxer;
        const Remuxer = mux.remux;
        const Demuxer = mux.demux;
        if (!remuxer || !(remuxer instanceof Remuxer)) {
          this.remuxer = new Remuxer(observer, config, typeSupported, this.logger);
        }
        if (!demuxer || !(demuxer instanceof Demuxer)) {
          this.demuxer = new Demuxer(observer, config, typeSupported, this.logger);
          this.probe = Demuxer.probe;
        }
      }
      needsProbing(discontinuity, trackSwitch) {
        // in case of continuity change, or track switch
        // we might switch from content type (AAC container to TS container, or TS to fmp4 for example)
        return !this.demuxer || !this.remuxer || discontinuity || trackSwitch;
      }
      getDecrypter() {
        let decrypter = this.decrypter;
        if (!decrypter) {
          decrypter = this.decrypter = new Decrypter(this.config);
        }
        return decrypter;
      }
    }
    function getEncryptionType(data, decryptData) {
      let encryptionType = null;
      if (data.byteLength > 0 && (decryptData == null ? void 0 : decryptData.key) != null && decryptData.iv !== null && decryptData.method != null) {
        encryptionType = decryptData;
      }
      return encryptionType;
    }
    const emptyResult = chunkMeta => ({
      remuxResult: {},
      chunkMeta
    });
    function isPromise(p) {
      return 'then' in p && p.then instanceof Function;
    }
    class TransmuxConfig {
      constructor(audioCodec, videoCodec, initSegmentData, duration, defaultInitPts) {
        this.audioCodec = void 0;
        this.videoCodec = void 0;
        this.initSegmentData = void 0;
        this.duration = void 0;
        this.defaultInitPts = void 0;
        this.audioCodec = audioCodec;
        this.videoCodec = videoCodec;
        this.initSegmentData = initSegmentData;
        this.duration = duration;
        this.defaultInitPts = defaultInitPts || null;
      }
    }
    class TransmuxState {
      constructor(discontinuity, contiguous, accurateTimeOffset, trackSwitch, timeOffset, initSegmentChange) {
        this.discontinuity = void 0;
        this.contiguous = void 0;
        this.accurateTimeOffset = void 0;
        this.trackSwitch = void 0;
        this.timeOffset = void 0;
        this.initSegmentChange = void 0;
        this.discontinuity = discontinuity;
        this.contiguous = contiguous;
        this.accurateTimeOffset = accurateTimeOffset;
        this.trackSwitch = trackSwitch;
        this.timeOffset = timeOffset;
        this.initSegmentChange = initSegmentChange;
      }
    }
    
    let transmuxerInstanceCount = 0;
    class TransmuxerInterface {
      constructor(_hls, id, onTransmuxComplete, onFlush) {
        this.error = null;
        this.hls = void 0;
        this.id = void 0;
        this.instanceNo = transmuxerInstanceCount++;
        this.observer = void 0;
        this.frag = null;
        this.part = null;
        this.useWorker = void 0;
        this.workerContext = null;
        this.transmuxer = null;
        this.onTransmuxComplete = void 0;
        this.onFlush = void 0;
        this.onWorkerMessage = event => {
          const data = event.data;
          const hls = this.hls;
          if (!hls || !(data != null && data.event) || data.instanceNo !== this.instanceNo) {
            return;
          }
          switch (data.event) {
            case 'init':
              {
                var _this$workerContext;
                const objectURL = (_this$workerContext = this.workerContext) == null ? void 0 : _this$workerContext.objectURL;
                if (objectURL) {
                  // revoke the Object URL that was used to create transmuxer worker, so as not to leak it
                  self.URL.revokeObjectURL(objectURL);
                }
                break;
              }
            case 'transmuxComplete':
              {
                this.handleTransmuxComplete(data.data);
                break;
              }
            case 'flush':
              {
                this.onFlush(data.data);
                break;
              }
    
            // pass logs from the worker thread to the main logger
            case 'workerLog':
              {
                if (hls.logger[data.data.logType]) {
                  hls.logger[data.data.logType](data.data.message);
                }
                break;
              }
            default:
              {
                data.data = data.data || {};
                data.data.frag = this.frag;
                data.data.part = this.part;
                data.data.id = this.id;
                hls.trigger(data.event, data.data);
                break;
              }
          }
        };
        this.onWorkerError = event => {
          if (!this.hls) {
            return;
          }
          const error = new Error(`${event.message}  (${event.filename}:${event.lineno})`);
          this.hls.config.enableWorker = false;
          this.hls.logger.warn(`Error in "${this.id}" Web Worker, fallback to inline`);
          this.hls.trigger(Events.ERROR, {
            type: ErrorTypes.OTHER_ERROR,
            details: ErrorDetails.INTERNAL_EXCEPTION,
            fatal: false,
            event: 'demuxerWorker',
            error
          });
        };
        const config = _hls.config;
        this.hls = _hls;
        this.id = id;
        this.useWorker = !!config.enableWorker;
        this.onTransmuxComplete = onTransmuxComplete;
        this.onFlush = onFlush;
        const forwardMessage = (ev, data) => {
          data = data || {};
          data.frag = this.frag || undefined;
          if (ev === Events.ERROR) {
            data = data;
            data.parent = this.id;
            data.part = this.part;
            this.error = data.error;
          }
          this.hls.trigger(ev, data);
        };
    
        // forward events to main thread
        this.observer = new EventEmitter();
        this.observer.on(Events.FRAG_DECRYPTED, forwardMessage);
        this.observer.on(Events.ERROR, forwardMessage);
        const m2tsTypeSupported = getM2TSSupportedAudioTypes(config.preferManagedMediaSource);
        if (this.useWorker && typeof Worker !== 'undefined') {
          const logger = this.hls.logger;
          const canCreateWorker = config.workerPath || hasUMDWorker();
          if (canCreateWorker) {
            try {
              if (config.workerPath) {
                logger.log(`loading Web Worker ${config.workerPath} for "${id}"`);
                this.workerContext = loadWorker(config.workerPath);
              } else {
                logger.log(`injecting Web Worker for "${id}"`);
                this.workerContext = injectWorker();
              }
              const {
                worker
              } = this.workerContext;
              worker.addEventListener('message', this.onWorkerMessage);
              worker.addEventListener('error', this.onWorkerError);
              worker.postMessage({
                instanceNo: this.instanceNo,
                cmd: 'init',
                typeSupported: m2tsTypeSupported,
                id,
                config: stringify(config)
              });
            } catch (err) {
              logger.warn(`Error setting up "${id}" Web Worker, fallback to inline`, err);
              this.terminateWorker();
              this.error = null;
              this.transmuxer = new Transmuxer(this.observer, m2tsTypeSupported, config, '', id, _hls.logger);
            }
            return;
          }
        }
        this.transmuxer = new Transmuxer(this.observer, m2tsTypeSupported, config, '', id, _hls.logger);
      }
      reset() {
        this.frag = null;
        this.part = null;
        if (this.workerContext) {
          const instanceNo = this.instanceNo;
          this.instanceNo = transmuxerInstanceCount++;
          const config = this.hls.config;
          const m2tsTypeSupported = getM2TSSupportedAudioTypes(config.preferManagedMediaSource);
          this.workerContext.worker.postMessage({
            instanceNo: this.instanceNo,
            cmd: 'reset',
            resetNo: instanceNo,
            typeSupported: m2tsTypeSupported,
            id: this.id,
            config: stringify(config)
          });
        }
      }
      terminateWorker() {
        if (this.workerContext) {
          const {
            worker
          } = this.workerContext;
          this.workerContext = null;
          worker.removeEventListener('message', this.onWorkerMessage);
          worker.removeEventListener('error', this.onWorkerError);
          removeWorkerFromStore(this.hls.config.workerPath);
        }
      }
      destroy() {
        if (this.workerContext) {
          this.terminateWorker();
          // @ts-ignore
          this.onWorkerMessage = this.onWorkerError = null;
        } else {
          const transmuxer = this.transmuxer;
          if (transmuxer) {
            transmuxer.destroy();
            this.transmuxer = null;
          }
        }
        const observer = this.observer;
        if (observer) {
          observer.removeAllListeners();
        }
        this.frag = null;
        this.part = null;
        // @ts-ignore
        this.observer = null;
        // @ts-ignore
        this.hls = null;
      }
      push(data, initSegmentData, audioCodec, videoCodec, frag, part, duration, accurateTimeOffset, chunkMeta, defaultInitPTS) {
        var _frag$initSegment, _lastFrag$initSegment;
        chunkMeta.transmuxing.start = self.performance.now();
        const {
          instanceNo,
          transmuxer
        } = this;
        const timeOffset = part ? part.start : frag.start;
        // TODO: push "clear-lead" decrypt data for unencrypted fragments in streams with encrypted ones
        const decryptdata = frag.decryptdata;
        const lastFrag = this.frag;
        const discontinuity = !(lastFrag && frag.cc === lastFrag.cc);
        const trackSwitch = !(lastFrag && chunkMeta.level === lastFrag.level);
        const snDiff = lastFrag ? chunkMeta.sn - lastFrag.sn : -1;
        const partDiff = this.part ? chunkMeta.part - this.part.index : -1;
        const progressive = snDiff === 0 && chunkMeta.id > 1 && chunkMeta.id === (lastFrag == null ? void 0 : lastFrag.stats.chunkCount);
        const contiguous = !trackSwitch && (snDiff === 1 || snDiff === 0 && (partDiff === 1 || progressive && partDiff <= 0));
        const now = self.performance.now();
        if (trackSwitch || snDiff || frag.stats.parsing.start === 0) {
          frag.stats.parsing.start = now;
        }
        if (part && (partDiff || !contiguous)) {
          part.stats.parsing.start = now;
        }
        const initSegmentChange = !(lastFrag && ((_frag$initSegment = frag.initSegment) == null ? void 0 : _frag$initSegment.url) === ((_lastFrag$initSegment = lastFrag.initSegment) == null ? void 0 : _lastFrag$initSegment.url));
        const state = new TransmuxState(discontinuity, contiguous, accurateTimeOffset, trackSwitch, timeOffset, initSegmentChange);
        if (!contiguous || discontinuity || initSegmentChange) {
          this.hls.logger.log(`[transmuxer-interface]: Starting new transmux session for ${frag.type} sn: ${chunkMeta.sn}${chunkMeta.part > -1 ? ' part: ' + chunkMeta.part : ''} ${this.id === PlaylistLevelType.MAIN ? 'level' : 'track'}: ${chunkMeta.level} id: ${chunkMeta.id}
            discontinuity: ${discontinuity}
            trackSwitch: ${trackSwitch}
            contiguous: ${contiguous}
            accurateTimeOffset: ${accurateTimeOffset}
            timeOffset: ${timeOffset}
            initSegmentChange: ${initSegmentChange}`);
          const config = new TransmuxConfig(audioCodec, videoCodec, initSegmentData, duration, defaultInitPTS);
          this.configureTransmuxer(config);
        }
        this.frag = frag;
        this.part = part;
    
        // Frags with sn of 'initSegment' are not transmuxed
        if (this.workerContext) {
          // post fragment payload as transferable objects for ArrayBuffer (no copy)
          this.workerContext.worker.postMessage({
            instanceNo,
            cmd: 'demux',
            data,
            decryptdata,
            chunkMeta,
            state
          }, data instanceof ArrayBuffer ? [data] : []);
        } else if (transmuxer) {
          const transmuxResult = transmuxer.push(data, decryptdata, chunkMeta, state);
          if (isPromise(transmuxResult)) {
            transmuxResult.then(data => {
              this.handleTransmuxComplete(data);
            }).catch(error => {
              this.transmuxerError(error, chunkMeta, 'transmuxer-interface push error');
            });
          } else {
            this.handleTransmuxComplete(transmuxResult);
          }
        }
      }
      flush(chunkMeta) {
        chunkMeta.transmuxing.start = self.performance.now();
        const {
          instanceNo,
          transmuxer
        } = this;
        if (this.workerContext) {
          this.workerContext.worker.postMessage({
            instanceNo,
            cmd: 'flush',
            chunkMeta
          });
        } else if (transmuxer) {
          const transmuxResult = transmuxer.flush(chunkMeta);
          if (isPromise(transmuxResult)) {
            transmuxResult.then(data => {
              this.handleFlushResult(data, chunkMeta);
            }).catch(error => {
              this.transmuxerError(error, chunkMeta, 'transmuxer-interface flush error');
            });
          } else {
            this.handleFlushResult(transmuxResult, chunkMeta);
          }
        }
      }
      transmuxerError(error, chunkMeta, reason) {
        if (!this.hls) {
          return;
        }
        this.error = error;
        this.hls.trigger(Events.ERROR, {
          type: ErrorTypes.MEDIA_ERROR,
          details: ErrorDetails.FRAG_PARSING_ERROR,
          chunkMeta,
          frag: this.frag || undefined,
          part: this.part || undefined,
          fatal: false,
          error,
          err: error,
          reason
        });
      }
      handleFlushResult(results, chunkMeta) {
        results.forEach(result => {
          this.handleTransmuxComplete(result);
        });
        this.onFlush(chunkMeta);
      }
      configureTransmuxer(config) {
        const {
          instanceNo,
          transmuxer
        } = this;
        if (this.workerContext) {
          this.workerContext.worker.postMessage({
            instanceNo,
            cmd: 'configure',
            config
          });
        } else if (transmuxer) {
          transmuxer.configure(config);
        }
      }
      handleTransmuxComplete(result) {
        result.chunkMeta.transmuxing.end = self.performance.now();
        this.onTransmuxComplete(result);
      }
    }
    
    const TICK_INTERVAL$3 = 100; // how often to tick in ms
    
    class AudioStreamController extends BaseStreamController {
      constructor(hls, fragmentTracker, keyLoader) {
        super(hls, fragmentTracker, keyLoader, 'audio-stream-controller', PlaylistLevelType.AUDIO);
        this.mainAnchor = null;
        this.mainFragLoading = null;
        this.audioOnly = false;
        this.bufferedTrack = null;
        this.switchingTrack = null;
        this.trackId = -1;
        this.waitingData = null;
        this.mainDetails = null;
        this.flushing = false;
        this.bufferFlushed = false;
        this.cachedTrackLoadedData = null;
        this.registerListeners();
      }
      onHandlerDestroying() {
        this.unregisterListeners();
        super.onHandlerDestroying();
        this.resetItem();
      }
      resetItem() {
        this.mainDetails = this.mainAnchor = this.mainFragLoading = this.bufferedTrack = this.switchingTrack = this.waitingData = this.cachedTrackLoadedData = null;
      }
      registerListeners() {
        super.registerListeners();
        const {
          hls
        } = this;
        hls.on(Events.LEVEL_LOADED, this.onLevelLoaded, this);
        hls.on(Events.AUDIO_TRACKS_UPDATED, this.onAudioTracksUpdated, this);
        hls.on(Events.AUDIO_TRACK_SWITCHING, this.onAudioTrackSwitching, this);
        hls.on(Events.AUDIO_TRACK_LOADED, this.onAudioTrackLoaded, this);
        hls.on(Events.BUFFER_RESET, this.onBufferReset, this);
        hls.on(Events.BUFFER_CREATED, this.onBufferCreated, this);
        hls.on(Events.BUFFER_FLUSHING, this.onBufferFlushing, this);
        hls.on(Events.BUFFER_FLUSHED, this.onBufferFlushed, this);
        hls.on(Events.INIT_PTS_FOUND, this.onInitPtsFound, this);
        hls.on(Events.FRAG_LOADING, this.onFragLoading, this);
        hls.on(Events.FRAG_BUFFERED, this.onFragBuffered, this);
      }
      unregisterListeners() {
        const {
          hls
        } = this;
        if (!hls) {
          return;
        }
        super.unregisterListeners();
        hls.off(Events.LEVEL_LOADED, this.onLevelLoaded, this);
        hls.off(Events.AUDIO_TRACKS_UPDATED, this.onAudioTracksUpdated, this);
        hls.off(Events.AUDIO_TRACK_SWITCHING, this.onAudioTrackSwitching, this);
        hls.off(Events.AUDIO_TRACK_LOADED, this.onAudioTrackLoaded, this);
        hls.off(Events.BUFFER_RESET, this.onBufferReset, this);
        hls.off(Events.BUFFER_CREATED, this.onBufferCreated, this);
        hls.off(Events.BUFFER_FLUSHING, this.onBufferFlushing, this);
        hls.off(Events.BUFFER_FLUSHED, this.onBufferFlushed, this);
        hls.off(Events.INIT_PTS_FOUND, this.onInitPtsFound, this);
        hls.off(Events.FRAG_LOADING, this.onFragLoading, this);
        hls.off(Events.FRAG_BUFFERED, this.onFragBuffered, this);
      }
    
      // INIT_PTS_FOUND is triggered when the video track parsed in the stream-controller has a new PTS value
      onInitPtsFound(event, {
        frag,
        id,
        initPTS,
        timescale,
        trackId
      }) {
        // Always update the new INIT PTS
        // Can change due level switch
        if (id === PlaylistLevelType.MAIN) {
          const cc = frag.cc;
          const inFlightFrag = this.fragCurrent;
          this.initPTS[cc] = {
            baseTime: initPTS,
            timescale,
            trackId
          };
          this.log(`InitPTS for cc: ${cc} found from main: ${initPTS / timescale} (${initPTS}/${timescale}) trackId: ${trackId}`);
          this.mainAnchor = frag;
          // If we are waiting, tick immediately to unblock audio fragment transmuxing
          if (this.state === State.WAITING_INIT_PTS) {
            const waitingData = this.waitingData;
            if (!waitingData && !this.loadingParts || waitingData && waitingData.frag.cc !== cc) {
              this.syncWithAnchor(frag, waitingData == null ? void 0 : waitingData.frag);
            }
          } else if (!this.hls.hasEnoughToStart && inFlightFrag && inFlightFrag.cc !== cc) {
            inFlightFrag.abortRequests();
            this.syncWithAnchor(frag, inFlightFrag);
          } else if (this.state === State.IDLE) {
            this.tick();
          }
        }
      }
      getLoadPosition() {
        if (!this.startFragRequested && this.nextLoadPosition >= 0) {
          return this.nextLoadPosition;
        }
        return super.getLoadPosition();
      }
      syncWithAnchor(mainAnchor, waitingToAppend) {
        var _this$mainFragLoading;
        // Drop waiting fragment if videoTrackCC has changed since waitingFragment was set and initPTS was not found
        const mainFragLoading = ((_this$mainFragLoading = this.mainFragLoading) == null ? void 0 : _this$mainFragLoading.frag) || null;
        if (waitingToAppend) {
          if ((mainFragLoading == null ? void 0 : mainFragLoading.cc) === waitingToAppend.cc) {
            // Wait for loading frag to complete and INIT_PTS_FOUND
            return;
          }
        }
        const targetDiscontinuity = (mainFragLoading || mainAnchor).cc;
        const trackDetails = this.getLevelDetails();
        const pos = this.getLoadPosition();
        const syncFrag = findNearestWithCC(trackDetails, targetDiscontinuity, pos);
        // Only stop waiting for audioFrag.cc if an audio segment of the same discontinuity domain (cc) is found
        if (syncFrag) {
          this.log(`Syncing with main frag at ${syncFrag.start} cc ${syncFrag.cc}`);
          this.startFragRequested = false;
          this.nextLoadPosition = syncFrag.start;
          this.resetLoadingState();
          if (this.state === State.IDLE) {
            this.doTickIdle();
          }
        }
      }
      startLoad(startPosition, skipSeekToStartPosition) {
        if (!this.levels) {
          this.startPosition = startPosition;
          this.state = State.STOPPED;
          return;
        }
        const lastCurrentTime = this.lastCurrentTime;
        this.stopLoad();
        this.setInterval(TICK_INTERVAL$3);
        if (lastCurrentTime > 0 && startPosition === -1) {
          this.log(`Override startPosition with lastCurrentTime @${lastCurrentTime.toFixed(3)}`);
          startPosition = lastCurrentTime;
          this.state = State.IDLE;
        } else {
          this.state = State.WAITING_TRACK;
        }
        this.nextLoadPosition = this.lastCurrentTime = startPosition + this.timelineOffset;
        this.startPosition = skipSeekToStartPosition ? -1 : startPosition;
        this.tick();
      }
      doTick() {
        switch (this.state) {
          case State.IDLE:
            this.doTickIdle();
            break;
          case State.WAITING_TRACK:
            {
              const {
                levels,
                trackId
              } = this;
              const currenTrack = levels == null ? void 0 : levels[trackId];
              const details = currenTrack == null ? void 0 : currenTrack.details;
              if (details && !this.waitForLive(currenTrack)) {
                if (this.waitForCdnTuneIn(details)) {
                  break;
                }
                this.state = State.WAITING_INIT_PTS;
              }
              break;
            }
          case State.FRAG_LOADING_WAITING_RETRY:
            {
              this.checkRetryDate();
              break;
            }
          case State.WAITING_INIT_PTS:
            {
              // Ensure we don't get stuck in the WAITING_INIT_PTS state if the waiting frag CC doesn't match any initPTS
              const waitingData = this.waitingData;
              if (waitingData) {
                const {
                  frag,
                  part,
                  cache,
                  complete
                } = waitingData;
                const mainAnchor = this.mainAnchor;
                if (this.initPTS[frag.cc] !== undefined) {
                  this.waitingData = null;
                  this.state = State.FRAG_LOADING;
                  const payload = cache.flush().buffer;
                  const data = {
                    frag,
                    part,
                    payload,
                    networkDetails: null
                  };
                  this._handleFragmentLoadProgress(data);
                  if (complete) {
                    super._handleFragmentLoadComplete(data);
                  }
                } else if (mainAnchor && mainAnchor.cc !== waitingData.frag.cc) {
                  this.syncWithAnchor(mainAnchor, waitingData.frag);
                }
              } else {
                this.state = State.IDLE;
              }
            }
        }
        this.onTickEnd();
      }
      resetLoadingState() {
        const waitingData = this.waitingData;
        if (waitingData) {
          this.fragmentTracker.removeFragment(waitingData.frag);
          this.waitingData = null;
        }
        super.resetLoadingState();
      }
      onTickEnd() {
        const {
          media
        } = this;
        if (!(media != null && media.readyState)) {
          // Exit early if we don't have media or if the media hasn't buffered anything yet (readyState 0)
          return;
        }
        this.lastCurrentTime = media.currentTime;
      }
      doTickIdle() {
        var _this$mainFragLoading2;
        const {
          hls,
          levels,
          media,
          trackId
        } = this;
        const config = hls.config;
    
        // 1. if buffering is suspended
        // 2. if video not attached AND
        //    start fragment already requested OR start frag prefetch not enabled
        // 3. if tracks or track not loaded and selected
        // then exit loop
        // => if media not attached but start frag prefetch is enabled and start frag not requested yet, we will not exit loop
        if (!this.buffering || !media && !this.primaryPrefetch && (this.startFragRequested || !config.startFragPrefetch) || !(levels != null && levels[trackId])) {
          return;
        }
        const levelInfo = levels[trackId];
        const trackDetails = levelInfo.details;
        if (!trackDetails || this.waitForLive(levelInfo) || this.waitForCdnTuneIn(trackDetails)) {
          this.state = State.WAITING_TRACK;
          this.startFragRequested = false;
          return;
        }
        const bufferable = this.mediaBuffer ? this.mediaBuffer : this.media;
        if (this.bufferFlushed && bufferable) {
          this.bufferFlushed = false;
          this.afterBufferFlushed(bufferable, ElementaryStreamTypes.AUDIO, PlaylistLevelType.AUDIO);
        }
        const bufferInfo = this.getFwdBufferInfo(bufferable, PlaylistLevelType.AUDIO);
        if (bufferInfo === null) {
          return;
        }
        if (!this.switchingTrack && this._streamEnded(bufferInfo, trackDetails)) {
          hls.trigger(Events.BUFFER_EOS, {
            type: 'audio'
          });
          this.state = State.ENDED;
          return;
        }
        const bufferLen = bufferInfo.len;
        const maxBufLen = hls.maxBufferLength;
        const fragments = trackDetails.fragments;
        const start = fragments[0].start;
        const loadPosition = this.getLoadPosition();
        const targetBufferTime = this.flushing ? loadPosition : bufferInfo.end;
        if (this.switchingTrack && media) {
          const pos = loadPosition;
          // if currentTime (pos) is less than alt audio playlist start time, it means that alt audio is ahead of currentTime
          if (trackDetails.PTSKnown && pos < start) {
            // if everything is buffered from pos to start or if audio buffer upfront, let's seek to start
            if (bufferInfo.end > start || bufferInfo.nextStart) {
              this.log('Alt audio track ahead of main track, seek to start of alt audio track');
              media.currentTime = start + 0.05;
            }
          }
        }
    
        // if buffer length is less than maxBufLen, or near the end, find a fragment to load
        if (bufferLen >= maxBufLen && !this.switchingTrack && targetBufferTime < fragments[fragments.length - 1].start) {
          return;
        }
        let frag = this.getNextFragment(targetBufferTime, trackDetails);
        // Avoid loop loading by using nextLoadPosition set for backtracking and skipping consecutive GAP tags
        if (frag && this.isLoopLoading(frag, targetBufferTime)) {
          frag = this.getNextFragmentLoopLoading(frag, trackDetails, bufferInfo, PlaylistLevelType.MAIN, maxBufLen);
        }
        if (!frag) {
          this.bufferFlushed = true;
          return;
        }
    
        // Request audio segments up to one fragment ahead of main stream-controller
        let mainFragLoading = ((_this$mainFragLoading2 = this.mainFragLoading) == null ? void 0 : _this$mainFragLoading2.frag) || null;
        if (!this.audioOnly && this.startFragRequested && mainFragLoading && isMediaFragment(frag) && !frag.endList && (!trackDetails.live || !this.loadingParts && targetBufferTime < this.hls.liveSyncPosition)) {
          if (this.fragmentTracker.getState(mainFragLoading) === FragmentState.OK) {
            this.mainFragLoading = mainFragLoading = null;
          }
          if (mainFragLoading && isMediaFragment(mainFragLoading)) {
            if (frag.start > mainFragLoading.end) {
              // Get buffered frag at target position from tracker (loaded out of sequence)
              const mainFragAtPos = this.fragmentTracker.getFragAtPos(targetBufferTime, PlaylistLevelType.MAIN);
              if (mainFragAtPos && mainFragAtPos.end > mainFragLoading.end) {
                mainFragLoading = mainFragAtPos;
                this.mainFragLoading = {
                  frag: mainFragAtPos,
                  targetBufferTime: null
                };
              }
            }
            const atBufferSyncLimit = frag.start > mainFragLoading.end;
            if (atBufferSyncLimit) {
              return;
            }
          }
        }
        this.loadFragment(frag, levelInfo, targetBufferTime);
      }
      onMediaDetaching(event, data) {
        this.bufferFlushed = this.flushing = false;
        super.onMediaDetaching(event, data);
      }
      onAudioTracksUpdated(event, {
        audioTracks
      }) {
        // Reset tranxmuxer is essential for large context switches (Content Steering)
        this.resetTransmuxer();
        this.levels = audioTracks.map(mediaPlaylist => new Level(mediaPlaylist));
      }
      onAudioTrackSwitching(event, data) {
        // if any URL found on new audio track, it is an alternate audio track
        const altAudio = !!data.url;
        this.trackId = data.id;
        const {
          fragCurrent
        } = this;
        if (fragCurrent) {
          fragCurrent.abortRequests();
          this.removeUnbufferedFrags(fragCurrent.start);
        }
        this.resetLoadingState();
    
        // should we switch tracks ?
        if (altAudio) {
          this.switchingTrack = data;
          // main audio track are handled by stream-controller, just do something if switching to alt audio track
          this.flushAudioIfNeeded(data);
          if (this.state !== State.STOPPED) {
            // switching to audio track, start timer if not already started
            this.setInterval(TICK_INTERVAL$3);
            this.state = State.IDLE;
            this.tick();
          }
        } else {
          // destroy useless transmuxer when switching audio to main
          this.resetTransmuxer();
          this.switchingTrack = null;
          this.bufferedTrack = data;
          this.clearInterval();
        }
      }
      onManifestLoading() {
        super.onManifestLoading();
        this.bufferFlushed = this.flushing = this.audioOnly = false;
        this.resetItem();
        this.trackId = -1;
      }
      onLevelLoaded(event, data) {
        this.mainDetails = data.details;
        const cachedTrackLoadedData = this.cachedTrackLoadedData;
        if (cachedTrackLoadedData) {
          this.cachedTrackLoadedData = null;
          this.onAudioTrackLoaded(Events.AUDIO_TRACK_LOADED, cachedTrackLoadedData);
        }
      }
      onAudioTrackLoaded(event, data) {
        var _trackLevel$details;
        const {
          levels
        } = this;
        const {
          details: newDetails,
          id: trackId,
          groupId,
          track
        } = data;
        if (!levels) {
          this.warn(`Audio tracks reset while loading track ${trackId} "${track.name}" of "${groupId}"`);
          return;
        }
        const mainDetails = this.mainDetails;
        if (!mainDetails || newDetails.endCC > mainDetails.endCC || mainDetails.expired) {
          this.cachedTrackLoadedData = data;
          if (this.state !== State.STOPPED) {
            this.state = State.WAITING_TRACK;
          }
          return;
        }
        this.cachedTrackLoadedData = null;
        this.log(`Audio track ${trackId} "${track.name}" of "${groupId}" loaded [${newDetails.startSN},${newDetails.endSN}]${newDetails.lastPartSn ? `[part-${newDetails.lastPartSn}-${newDetails.lastPartIndex}]` : ''},duration:${newDetails.totalduration}`);
        const trackLevel = levels[trackId];
        let sliding = 0;
        if (newDetails.live || (_trackLevel$details = trackLevel.details) != null && _trackLevel$details.live) {
          this.checkLiveUpdate(newDetails);
          if (newDetails.deltaUpdateFailed) {
            return;
          }
          if (trackLevel.details) {
            var _this$levelLastLoaded;
            sliding = this.alignPlaylists(newDetails, trackLevel.details, (_this$levelLastLoaded = this.levelLastLoaded) == null ? void 0 : _this$levelLastLoaded.details);
          }
          if (!newDetails.alignedSliding) {
            // Align audio rendition with the "main" playlist on discontinuity change
            // or program-date-time (PDT)
            alignDiscontinuities(newDetails, mainDetails);
            if (!newDetails.alignedSliding) {
              alignMediaPlaylistByPDT(newDetails, mainDetails);
            }
            sliding = newDetails.fragmentStart;
          }
        }
        trackLevel.details = newDetails;
        this.levelLastLoaded = trackLevel;
    
        // compute start position if we are aligned with the main playlist
        if (!this.startFragRequested) {
          this.setStartPosition(mainDetails, sliding);
        }
        this.hls.trigger(Events.AUDIO_TRACK_UPDATED, {
          details: newDetails,
          id: trackId,
          groupId: data.groupId
        });
    
        // only switch back to IDLE state if we were waiting for track to start downloading a new fragment
        if (this.state === State.WAITING_TRACK && !this.waitForCdnTuneIn(newDetails)) {
          this.state = State.IDLE;
        }
    
        // trigger handler right now
        this.tick();
      }
      _handleFragmentLoadProgress(data) {
        var _frag$initSegment;
        const frag = data.frag;
        const {
          part,
          payload
        } = data;
        const {
          config,
          trackId,
          levels
        } = this;
        if (!levels) {
          this.warn(`Audio tracks were reset while fragment load was in progress. Fragment ${frag.sn} of level ${frag.level} will not be buffered`);
          return;
        }
        const track = levels[trackId];
        if (!track) {
          this.warn('Audio track is undefined on fragment load progress');
          return;
        }
        const details = track.details;
        if (!details) {
          this.warn('Audio track details undefined on fragment load progress');
          this.removeUnbufferedFrags(frag.start);
          return;
        }
        const audioCodec = config.defaultAudioCodec || track.audioCodec || 'mp4a.40.2';
        let transmuxer = this.transmuxer;
        if (!transmuxer) {
          transmuxer = this.transmuxer = new TransmuxerInterface(this.hls, PlaylistLevelType.AUDIO, this._handleTransmuxComplete.bind(this), this._handleTransmuxerFlush.bind(this));
        }
    
        // Check if we have video initPTS
        // If not we need to wait for it
        const initPTS = this.initPTS[frag.cc];
        const initSegmentData = (_frag$initSegment = frag.initSegment) == null ? void 0 : _frag$initSegment.data;
        if (initPTS !== undefined) {
          // this.log(`Transmuxing ${sn} of [${details.startSN} ,${details.endSN}],track ${trackId}`);
          // time Offset is accurate if level PTS is known, or if playlist is not sliding (not live)
          const accurateTimeOffset = false; // details.PTSKnown || !details.live;
          const partIndex = part ? part.index : -1;
          const partial = partIndex !== -1;
          const chunkMeta = new ChunkMetadata(frag.level, frag.sn, frag.stats.chunkCount, payload.byteLength, partIndex, partial);
          transmuxer.push(payload, initSegmentData, audioCodec, '', frag, part, details.totalduration, accurateTimeOffset, chunkMeta, initPTS);
        } else {
          this.log(`Unknown video PTS for cc ${frag.cc}, waiting for video PTS before demuxing audio frag ${frag.sn} of [${details.startSN} ,${details.endSN}],track ${trackId}`);
          const {
            cache
          } = this.waitingData = this.waitingData || {
            frag,
            part,
            cache: new ChunkCache(),
            complete: false
          };
          cache.push(new Uint8Array(payload));
          if (this.state !== State.STOPPED) {
            this.state = State.WAITING_INIT_PTS;
          }
        }
      }
      _handleFragmentLoadComplete(fragLoadedData) {
        if (this.waitingData) {
          this.waitingData.complete = true;
          return;
        }
        super._handleFragmentLoadComplete(fragLoadedData);
      }
      onBufferReset(/* event: Events.BUFFER_RESET */
      ) {
        // reset reference to sourcebuffers
        this.mediaBuffer = null;
      }
      onBufferCreated(event, data) {
        this.bufferFlushed = this.flushing = false;
        const audioTrack = data.tracks.audio;
        if (audioTrack) {
          this.mediaBuffer = audioTrack.buffer || null;
        }
      }
      onFragLoading(event, data) {
        if (!this.audioOnly && data.frag.type === PlaylistLevelType.MAIN && isMediaFragment(data.frag)) {
          this.mainFragLoading = data;
          if (this.state === State.IDLE) {
            this.tick();
          }
        }
      }
      onFragBuffered(event, data) {
        const {
          frag,
          part
        } = data;
        if (frag.type !== PlaylistLevelType.AUDIO) {
          if (!this.audioOnly && frag.type === PlaylistLevelType.MAIN && !frag.elementaryStreams.video && !frag.elementaryStreams.audiovideo) {
            this.audioOnly = true;
            this.mainFragLoading = null;
          }
          return;
        }
        if (this.fragContextChanged(frag)) {
          // If a level switch was requested while a fragment was buffering, it will emit the FRAG_BUFFERED event upon completion
          // Avoid setting state back to IDLE or concluding the audio switch; otherwise, the switched-to track will not buffer
          this.warn(`Fragment ${frag.sn}${part ? ' p: ' + part.index : ''} of level ${frag.level} finished buffering, but was aborted. state: ${this.state}, audioSwitch: ${this.switchingTrack ? this.switchingTrack.name : 'false'}`);
          return;
        }
        if (isMediaFragment(frag)) {
          this.fragPrevious = frag;
          const track = this.switchingTrack;
          if (track) {
            this.bufferedTrack = track;
            this.switchingTrack = null;
            this.hls.trigger(Events.AUDIO_TRACK_SWITCHED, _objectSpread2({}, track));
          }
        }
        this.fragBufferedComplete(frag, part);
        if (this.media) {
          this.tick();
        }
      }
      onError(event, data) {
        var _data$context;
        if (data.fatal) {
          this.state = State.ERROR;
          return;
        }
        switch (data.details) {
          case ErrorDetails.FRAG_GAP:
          case ErrorDetails.FRAG_PARSING_ERROR:
          case ErrorDetails.FRAG_DECRYPT_ERROR:
          case ErrorDetails.FRAG_LOAD_ERROR:
          case ErrorDetails.FRAG_LOAD_TIMEOUT:
          case ErrorDetails.KEY_LOAD_ERROR:
          case ErrorDetails.KEY_LOAD_TIMEOUT:
            this.onFragmentOrKeyLoadError(PlaylistLevelType.AUDIO, data);
            break;
          case ErrorDetails.AUDIO_TRACK_LOAD_ERROR:
          case ErrorDetails.AUDIO_TRACK_LOAD_TIMEOUT:
          case ErrorDetails.LEVEL_PARSING_ERROR:
            // in case of non fatal error while loading track, if not retrying to load track, switch back to IDLE
            if (!data.levelRetry && this.state === State.WAITING_TRACK && ((_data$context = data.context) == null ? void 0 : _data$context.type) === PlaylistContextType.AUDIO_TRACK) {
              this.state = State.IDLE;
            }
            break;
          case ErrorDetails.BUFFER_ADD_CODEC_ERROR:
          case ErrorDetails.BUFFER_APPEND_ERROR:
            if (data.parent !== 'audio') {
              return;
            }
            if (!this.reduceLengthAndFlushBuffer(data)) {
              this.resetLoadingState();
            }
            break;
          case ErrorDetails.BUFFER_FULL_ERROR:
            if (data.parent !== 'audio') {
              return;
            }
            if (this.reduceLengthAndFlushBuffer(data)) {
              this.bufferedTrack = null;
              super.flushMainBuffer(0, Number.POSITIVE_INFINITY, 'audio');
            }
            break;
          case ErrorDetails.INTERNAL_EXCEPTION:
            this.recoverWorkerError(data);
            break;
        }
      }
      onBufferFlushing(event, {
        type
      }) {
        if (type !== ElementaryStreamTypes.VIDEO) {
          this.flushing = true;
        }
      }
      onBufferFlushed(event, {
        type
      }) {
        if (type !== ElementaryStreamTypes.VIDEO) {
          this.flushing = false;
          this.bufferFlushed = true;
          if (this.state === State.ENDED) {
            this.state = State.IDLE;
          }
          const mediaBuffer = this.mediaBuffer || this.media;
          if (mediaBuffer) {
            this.afterBufferFlushed(mediaBuffer, type, PlaylistLevelType.AUDIO);
            this.tick();
          }
        }
      }
      _handleTransmuxComplete(transmuxResult) {
        var _id3$samples;
        const id = 'audio';
        const {
          hls
        } = this;
        const {
          remuxResult,
          chunkMeta
        } = transmuxResult;
        const context = this.getCurrentContext(chunkMeta);
        if (!context) {
          this.resetWhenMissingContext(chunkMeta);
          return;
        }
        const {
          frag,
          part,
          level
        } = context;
        const {
          details
        } = level;
        const {
          audio,
          text,
          id3,
          initSegment
        } = remuxResult;
    
        // Check if the current fragment has been aborted. We check this by first seeing if we're still playing the current level.
        // If we are, subsequently check if the currently loading fragment (fragCurrent) has changed.
        if (this.fragContextChanged(frag) || !details) {
          this.fragmentTracker.removeFragment(frag);
          return;
        }
        this.state = State.PARSING;
        if (this.switchingTrack && audio) {
          this.completeAudioSwitch(this.switchingTrack);
        }
        if (initSegment != null && initSegment.tracks) {
          const mapFragment = frag.initSegment || frag;
          if (this.unhandledEncryptionError(initSegment, frag)) {
            return;
          }
          this._bufferInitSegment(level, initSegment.tracks, mapFragment, chunkMeta);
          hls.trigger(Events.FRAG_PARSING_INIT_SEGMENT, {
            frag: mapFragment,
            id,
            tracks: initSegment.tracks
          });
          // Only flush audio from old audio tracks when PTS is known on new audio track
        }
        if (audio) {
          const {
            startPTS,
            endPTS,
            startDTS,
            endDTS
          } = audio;
          if (part) {
            part.elementaryStreams[ElementaryStreamTypes.AUDIO] = {
              startPTS,
              endPTS,
              startDTS,
              endDTS
            };
          }
          frag.setElementaryStreamInfo(ElementaryStreamTypes.AUDIO, startPTS, endPTS, startDTS, endDTS);
          this.bufferFragmentData(audio, frag, part, chunkMeta);
        }
        if (id3 != null && (_id3$samples = id3.samples) != null && _id3$samples.length) {
          const emittedID3 = _extends({
            id,
            frag,
            details
          }, id3);
          hls.trigger(Events.FRAG_PARSING_METADATA, emittedID3);
        }
        if (text) {
          const emittedText = _extends({
            id,
            frag,
            details
          }, text);
          hls.trigger(Events.FRAG_PARSING_USERDATA, emittedText);
        }
      }
      _bufferInitSegment(currentLevel, tracks, frag, chunkMeta) {
        if (this.state !== State.PARSING) {
          return;
        }
        // delete any video track found on audio transmuxer
        if (tracks.video) {
          delete tracks.video;
        }
        if (tracks.audiovideo) {
          delete tracks.audiovideo;
        }
    
        // include levelCodec in audio and video tracks
        if (!tracks.audio) {
          return;
        }
        const track = tracks.audio;
        track.id = PlaylistLevelType.AUDIO;
        const variantAudioCodecs = currentLevel.audioCodec;
        this.log(`Init audio buffer, container:${track.container}, codecs[level/parsed]=[${variantAudioCodecs}/${track.codec}]`);
        // SourceBuffer will use track.levelCodec if defined
        if (variantAudioCodecs && variantAudioCodecs.split(',').length === 1) {
          track.levelCodec = variantAudioCodecs;
        }
        this.hls.trigger(Events.BUFFER_CODECS, tracks);
        const initSegment = track.initSegment;
        if (initSegment != null && initSegment.byteLength) {
          const segment = {
            type: 'audio',
            frag,
            part: null,
            chunkMeta,
            parent: frag.type,
            data: initSegment
          };
          this.hls.trigger(Events.BUFFER_APPENDING, segment);
        }
        // trigger handler right now
        this.tickImmediate();
      }
      loadFragment(frag, track, targetBufferTime) {
        // only load if fragment is not loaded or if in audio switch
        const fragState = this.fragmentTracker.getState(frag);
    
        // we force a frag loading in audio switch as fragment tracker might not have evicted previous frags in case of quick audio switch
        if (this.switchingTrack || fragState === FragmentState.NOT_LOADED || fragState === FragmentState.PARTIAL) {
          var _track$details;
          if (!isMediaFragment(frag)) {
            this._loadInitSegment(frag, track);
          } else if ((_track$details = track.details) != null && _track$details.live && !this.initPTS[frag.cc]) {
            this.log(`Waiting for video PTS in continuity counter ${frag.cc} of live stream before loading audio fragment ${frag.sn} of level ${this.trackId}`);
            this.state = State.WAITING_INIT_PTS;
            const mainDetails = this.mainDetails;
            if (mainDetails && mainDetails.fragmentStart !== track.details.fragmentStart) {
              alignMediaPlaylistByPDT(track.details, mainDetails);
            }
          } else {
            super.loadFragment(frag, track, targetBufferTime);
          }
        } else {
          this.clearTrackerIfNeeded(frag);
        }
      }
      flushAudioIfNeeded(switchingTrack) {
        if (this.media && this.bufferedTrack) {
          const {
            name,
            lang,
            assocLang,
            characteristics,
            audioCodec,
            channels
          } = this.bufferedTrack;
          if (!matchesOption({
            name,
            lang,
            assocLang,
            characteristics,
            audioCodec,
            channels
          }, switchingTrack, audioMatchPredicate)) {
            if (useAlternateAudio(switchingTrack.url, this.hls)) {
              this.log('Switching audio track : flushing all audio');
              super.flushMainBuffer(0, Number.POSITIVE_INFINITY, 'audio');
              this.bufferedTrack = null;
            } else {
              // Main is being buffered. Set bufferedTrack so that it is flushed when switching back to alt-audio
              this.bufferedTrack = switchingTrack;
            }
          }
        }
      }
      completeAudioSwitch(switchingTrack) {
        const {
          hls
        } = this;
        this.flushAudioIfNeeded(switchingTrack);
        this.bufferedTrack = switchingTrack;
        this.switchingTrack = null;
        hls.trigger(Events.AUDIO_TRACK_SWITCHED, _objectSpread2({}, switchingTrack));
      }
    }
    
    class BasePlaylistController extends Logger {
      constructor(hls, logPrefix) {
        super(logPrefix, hls.logger);
        this.hls = void 0;
        this.canLoad = false;
        this.timer = -1;
        this.hls = hls;
      }
      destroy() {
        this.clearTimer();
        // @ts-ignore
        this.hls = this.log = this.warn = null;
      }
      clearTimer() {
        if (this.timer !== -1) {
          self.clearTimeout(this.timer);
          this.timer = -1;
        }
      }
      startLoad() {
        this.canLoad = true;
        this.loadPlaylist();
      }
      stopLoad() {
        this.canLoad = false;
        this.clearTimer();
      }
      switchParams(playlistUri, previous, current) {
        const renditionReports = previous == null ? void 0 : previous.renditionReports;
        if (renditionReports) {
          let foundIndex = -1;
          for (let i = 0; i < renditionReports.length; i++) {
            const attr = renditionReports[i];
            let uri;
            try {
              uri = new self.URL(attr.URI, previous.url).href;
            } catch (error) {
              this.warn(`Could not construct new URL for Rendition Report: ${error}`);
              uri = attr.URI || '';
            }
            // Use exact match. Otherwise, the last partial match, if any, will be used
            // (Playlist URI includes a query string that the Rendition Report does not)
            if (uri === playlistUri) {
              foundIndex = i;
              break;
            } else if (uri === playlistUri.substring(0, uri.length)) {
              foundIndex = i;
            }
          }
          if (foundIndex !== -1) {
            const attr = renditionReports[foundIndex];
            const msn = parseInt(attr['LAST-MSN']) || previous.lastPartSn;
            let part = parseInt(attr['LAST-PART']) || previous.lastPartIndex;
            if (this.hls.config.lowLatencyMode) {
              const currentGoal = Math.min(previous.age - previous.partTarget, previous.targetduration);
              if (part >= 0 && currentGoal > previous.partTarget) {
                part += 1;
              }
            }
            const skip = current && getSkipValue(current);
            return new HlsUrlParameters(msn, part >= 0 ? part : undefined, skip);
          }
        }
      }
      loadPlaylist(hlsUrlParameters) {
        // Loading is handled by the subclasses
        this.clearTimer();
      }
      loadingPlaylist(playlist, hlsUrlParameters) {
        // Loading is handled by the subclasses
        this.clearTimer();
      }
      shouldLoadPlaylist(playlist) {
        return this.canLoad && !!playlist && !!playlist.url && (!playlist.details || playlist.details.live);
      }
      getUrlWithDirectives(uri, hlsUrlParameters) {
        if (hlsUrlParameters) {
          try {
            return hlsUrlParameters.addDirectives(uri);
          } catch (error) {
            this.warn(`Could not construct new URL with HLS Delivery Directives: ${error}`);
          }
        }
        return uri;
      }
      playlistLoaded(index, data, previousDetails) {
        const {
          details,
          stats
        } = data;
    
        // Set last updated date-time
        const now = self.performance.now();
        const elapsed = stats.loading.first ? Math.max(0, now - stats.loading.first) : 0;
        details.advancedDateTime = Date.now() - elapsed;
    
        // shift fragment starts with timelineOffset
        const timelineOffset = this.hls.config.timelineOffset;
        if (timelineOffset !== details.appliedTimelineOffset) {
          const offset = Math.max(timelineOffset || 0, 0);
          details.appliedTimelineOffset = offset;
          details.fragments.forEach(frag => {
            frag.setStart(frag.playlistOffset + offset);
          });
        }
    
        // if current playlist is a live playlist, arm a timer to reload it
        if (details.live || previousDetails != null && previousDetails.live) {
          const levelOrTrack = 'levelInfo' in data ? data.levelInfo : data.track;
          details.reloaded(previousDetails);
          // Merge live playlists to adjust fragment starts and fill in delta playlist skipped segments
          if (previousDetails && details.fragments.length > 0) {
            mergeDetails(previousDetails, details, this);
            const error = details.playlistParsingError;
            if (error) {
              this.warn(error);
              const hls = this.hls;
              if (!hls.config.ignorePlaylistParsingErrors) {
                var _details$fragments$;
                const {
                  networkDetails
                } = data;
                hls.trigger(Events.ERROR, {
                  type: ErrorTypes.NETWORK_ERROR,
                  details: ErrorDetails.LEVEL_PARSING_ERROR,
                  fatal: false,
                  url: details.url,
                  error,
                  reason: error.message,
                  level: data.level || undefined,
                  parent: (_details$fragments$ = details.fragments[0]) == null ? void 0 : _details$fragments$.type,
                  networkDetails,
                  stats
                });
                return;
              }
              details.playlistParsingError = null;
            }
          }
          if (details.requestScheduled === -1) {
            details.requestScheduled = stats.loading.start;
          }
          const bufferInfo = this.hls.mainForwardBufferInfo;
          const position = bufferInfo ? bufferInfo.end - bufferInfo.len : 0;
          const distanceToLiveEdgeMs = (details.edge - position) * 1000;
          const reloadInterval = computeReloadInterval(details, distanceToLiveEdgeMs);
          if (details.requestScheduled + reloadInterval < now) {
            details.requestScheduled = now;
          } else {
            details.requestScheduled += reloadInterval;
          }
          this.log(`live playlist ${index} ${details.advanced ? 'REFRESHED ' + details.lastPartSn + '-' + details.lastPartIndex : details.updated ? 'UPDATED' : 'MISSED'}`);
          if (!this.canLoad || !details.live) {
            return;
          }
          let deliveryDirectives;
          let msn = undefined;
          let part = undefined;
          if (details.canBlockReload && details.endSN && details.advanced) {
            // Load level with LL-HLS delivery directives
            const lowLatencyMode = this.hls.config.lowLatencyMode;
            const lastPartSn = details.lastPartSn;
            const endSn = details.endSN;
            const lastPartIndex = details.lastPartIndex;
            const hasParts = lastPartIndex !== -1;
            const atLastPartOfSegment = lastPartSn === endSn;
            if (hasParts) {
              // When low latency mode is disabled, request the last part of the next segment
              if (atLastPartOfSegment) {
                msn = endSn + 1;
                part = lowLatencyMode ? 0 : lastPartIndex;
              } else {
                msn = lastPartSn;
                part = lowLatencyMode ? lastPartIndex + 1 : details.maxPartIndex;
              }
            } else {
              msn = endSn + 1;
            }
            // Low-Latency CDN Tune-in: "age" header and time since load indicates we're behind by more than one part
            // Update directives to obtain the Playlist that has the estimated additional duration of media
            const lastAdvanced = details.age;
            const cdnAge = lastAdvanced + details.ageHeader;
            let currentGoal = Math.min(cdnAge - details.partTarget, details.targetduration * 1.5);
            if (currentGoal > 0) {
              if (cdnAge > details.targetduration * 3) {
                // Omit segment and part directives when the last response was more than 3 target durations ago,
                this.log(`Playlist last advanced ${lastAdvanced.toFixed(2)}s ago. Omitting segment and part directives.`);
                msn = undefined;
                part = undefined;
              } else if (previousDetails != null && previousDetails.tuneInGoal && cdnAge - details.partTarget > previousDetails.tuneInGoal) {
                // If we attempted to get the next or latest playlist update, but currentGoal increased,
                // then we either can't catchup, or the "age" header cannot be trusted.
                this.warn(`CDN Tune-in goal increased from: ${previousDetails.tuneInGoal} to: ${currentGoal} with playlist age: ${details.age}`);
                currentGoal = 0;
              } else {
                const segments = Math.floor(currentGoal / details.targetduration);
                msn += segments;
                if (part !== undefined) {
                  const parts = Math.round(currentGoal % details.targetduration / details.partTarget);
                  part += parts;
                }
                this.log(`CDN Tune-in age: ${details.ageHeader}s last advanced ${lastAdvanced.toFixed(2)}s goal: ${currentGoal} skip sn ${segments} to part ${part}`);
              }
              details.tuneInGoal = currentGoal;
            }
            deliveryDirectives = this.getDeliveryDirectives(details, data.deliveryDirectives, msn, part);
            if (lowLatencyMode || !atLastPartOfSegment) {
              details.requestScheduled = now;
              this.loadingPlaylist(levelOrTrack, deliveryDirectives);
              return;
            }
          } else if (details.canBlockReload || details.canSkipUntil) {
            deliveryDirectives = this.getDeliveryDirectives(details, data.deliveryDirectives, msn, part);
          }
          if (deliveryDirectives && msn !== undefined && details.canBlockReload) {
            details.requestScheduled = stats.loading.first + Math.max(reloadInterval - elapsed * 2, reloadInterval / 2);
          }
          this.scheduleLoading(levelOrTrack, deliveryDirectives, details);
        } else {
          this.clearTimer();
        }
      }
      scheduleLoading(levelOrTrack, deliveryDirectives, updatedDetails) {
        const details = updatedDetails || levelOrTrack.details;
        if (!details) {
          this.loadingPlaylist(levelOrTrack, deliveryDirectives);
          return;
        }
        const now = self.performance.now();
        const requestScheduled = details.requestScheduled;
        if (now >= requestScheduled) {
          this.loadingPlaylist(levelOrTrack, deliveryDirectives);
          return;
        }
        const estimatedTimeUntilUpdate = requestScheduled - now;
        this.log(`reload live playlist ${levelOrTrack.name || levelOrTrack.bitrate + 'bps'} in ${Math.round(estimatedTimeUntilUpdate)} ms`);
        this.clearTimer();
        this.timer = self.setTimeout(() => this.loadingPlaylist(levelOrTrack, deliveryDirectives), estimatedTimeUntilUpdate);
      }
      getDeliveryDirectives(details, previousDeliveryDirectives, msn, part) {
        let skip = getSkipValue(details);
        if (previousDeliveryDirectives != null && previousDeliveryDirectives.skip && details.deltaUpdateFailed) {
          msn = previousDeliveryDirectives.msn;
          part = previousDeliveryDirectives.part;
          skip = HlsSkip.No;
        }
        return new HlsUrlParameters(msn, part, skip);
      }
      checkRetry(errorEvent) {
        const errorDetails = errorEvent.details;
        const isTimeout = isTimeoutError(errorEvent);
        const errorAction = errorEvent.errorAction;
        const {
          action,
          retryCount = 0,
          retryConfig
        } = errorAction || {};
        const retry = !!errorAction && !!retryConfig && (action === NetworkErrorAction.RetryRequest || !errorAction.resolved && action === NetworkErrorAction.SendAlternateToPenaltyBox);
        if (retry) {
          var _errorEvent$context;
          if (retryCount >= retryConfig.maxNumRetry) {
            return false;
          }
          if (isTimeout && (_errorEvent$context = errorEvent.context) != null && _errorEvent$context.deliveryDirectives) {
            // The LL-HLS request already timed out so retry immediately
            this.warn(`Retrying playlist loading ${retryCount + 1}/${retryConfig.maxNumRetry} after "${errorDetails}" without delivery-directives`);
            this.loadPlaylist();
          } else {
            const delay = getRetryDelay(retryConfig, retryCount);
            // Schedule level/track reload
            this.clearTimer();
            this.timer = self.setTimeout(() => this.loadPlaylist(), delay);
            this.warn(`Retrying playlist loading ${retryCount + 1}/${retryConfig.maxNumRetry} after "${errorDetails}" in ${delay}ms`);
          }
          // `levelRetry = true` used to inform other controllers that a retry is happening
          errorEvent.levelRetry = true;
          errorAction.resolved = true;
        }
        return retry;
      }
    }
    
    function subtitleOptionsIdentical(trackList1, trackList2) {
      if (trackList1.length !== trackList2.length) {
        return false;
      }
      for (let i = 0; i < trackList1.length; i++) {
        if (!mediaAttributesIdentical(trackList1[i].attrs, trackList2[i].attrs)) {
          return false;
        }
      }
      return true;
    }
    function mediaAttributesIdentical(attrs1, attrs2, customAttributes) {
      // Media options with the same rendition ID must be bit identical
      const stableRenditionId = attrs1['STABLE-RENDITION-ID'];
      if (stableRenditionId && !customAttributes) {
        return stableRenditionId === attrs2['STABLE-RENDITION-ID'];
      }
      // When rendition ID is not present, compare attributes
      return !(customAttributes || ['LANGUAGE', 'NAME', 'CHARACTERISTICS', 'AUTOSELECT', 'DEFAULT', 'FORCED', 'ASSOC-LANGUAGE']).some(subtitleAttribute => attrs1[subtitleAttribute] !== attrs2[subtitleAttribute]);
    }
    function subtitleTrackMatchesTextTrack(subtitleTrack, textTrack) {
      return textTrack.label.toLowerCase() === subtitleTrack.name.toLowerCase() && (!textTrack.language || textTrack.language.toLowerCase() === (subtitleTrack.lang || '').toLowerCase());
    }
    
    class AudioTrackController extends BasePlaylistController {
      constructor(hls) {
        super(hls, 'audio-track-controller');
        this.tracks = [];
        this.groupIds = null;
        this.tracksInGroup = [];
        this.trackId = -1;
        this.currentTrack = null;
        this.selectDefaultTrack = true;
        this.registerListeners();
      }
      registerListeners() {
        const {
          hls
        } = this;
        hls.on(Events.MANIFEST_LOADING, this.onManifestLoading, this);
        hls.on(Events.MANIFEST_PARSED, this.onManifestParsed, this);
        hls.on(Events.LEVEL_LOADING, this.onLevelLoading, this);
        hls.on(Events.LEVEL_SWITCHING, this.onLevelSwitching, this);
        hls.on(Events.AUDIO_TRACK_LOADED, this.onAudioTrackLoaded, this);
        hls.on(Events.ERROR, this.onError, this);
      }
      unregisterListeners() {
        const {
          hls
        } = this;
        hls.off(Events.MANIFEST_LOADING, this.onManifestLoading, this);
        hls.off(Events.MANIFEST_PARSED, this.onManifestParsed, this);
        hls.off(Events.LEVEL_LOADING, this.onLevelLoading, this);
        hls.off(Events.LEVEL_SWITCHING, this.onLevelSwitching, this);
        hls.off(Events.AUDIO_TRACK_LOADED, this.onAudioTrackLoaded, this);
        hls.off(Events.ERROR, this.onError, this);
      }
      destroy() {
        this.unregisterListeners();
        this.tracks.length = 0;
        this.tracksInGroup.length = 0;
        this.currentTrack = null;
        super.destroy();
      }
      onManifestLoading() {
        this.tracks = [];
        this.tracksInGroup = [];
        this.groupIds = null;
        this.currentTrack = null;
        this.trackId = -1;
        this.selectDefaultTrack = true;
      }
      onManifestParsed(event, data) {
        this.tracks = data.audioTracks || [];
      }
      onAudioTrackLoaded(event, data) {
        const {
          id,
          groupId,
          details
        } = data;
        const trackInActiveGroup = this.tracksInGroup[id];
        if (!trackInActiveGroup || trackInActiveGroup.groupId !== groupId) {
          this.warn(`Audio track with id:${id} and group:${groupId} not found in active group ${trackInActiveGroup == null ? void 0 : trackInActiveGroup.groupId}`);
          return;
        }
        const curDetails = trackInActiveGroup.details;
        trackInActiveGroup.details = data.details;
        this.log(`Audio track ${id} "${trackInActiveGroup.name}" lang:${trackInActiveGroup.lang} group:${groupId} loaded [${details.startSN}-${details.endSN}]`);
        if (id === this.trackId) {
          this.playlistLoaded(id, data, curDetails);
        }
      }
      onLevelLoading(event, data) {
        this.switchLevel(data.level);
      }
      onLevelSwitching(event, data) {
        this.switchLevel(data.level);
      }
      switchLevel(levelIndex) {
        const levelInfo = this.hls.levels[levelIndex];
        if (!levelInfo) {
          return;
        }
        const audioGroups = levelInfo.audioGroups || null;
        const currentGroups = this.groupIds;
        let currentTrack = this.currentTrack;
        if (!audioGroups || (currentGroups == null ? void 0 : currentGroups.length) !== (audioGroups == null ? void 0 : audioGroups.length) || audioGroups != null && audioGroups.some(groupId => (currentGroups == null ? void 0 : currentGroups.indexOf(groupId)) === -1)) {
          this.groupIds = audioGroups;
          this.trackId = -1;
          this.currentTrack = null;
          const audioTracks = this.tracks.filter(track => !audioGroups || audioGroups.indexOf(track.groupId) !== -1);
          if (audioTracks.length) {
            // Disable selectDefaultTrack if there are no default tracks
            if (this.selectDefaultTrack && !audioTracks.some(track => track.default)) {
              this.selectDefaultTrack = false;
            }
            // track.id should match hls.audioTracks index
            audioTracks.forEach((track, i) => {
              track.id = i;
            });
          } else if (!currentTrack && !this.tracksInGroup.length) {
            // Do not dispatch AUDIO_TRACKS_UPDATED when there were and are no tracks
            return;
          }
          this.tracksInGroup = audioTracks;
    
          // Find preferred track
          const audioPreference = this.hls.config.audioPreference;
          if (!currentTrack && audioPreference) {
            const groupIndex = findMatchingOption(audioPreference, audioTracks, audioMatchPredicate);
            if (groupIndex > -1) {
              currentTrack = audioTracks[groupIndex];
            } else {
              const allIndex = findMatchingOption(audioPreference, this.tracks);
              currentTrack = this.tracks[allIndex];
            }
          }
    
          // Select initial track
          let trackId = this.findTrackId(currentTrack);
          if (trackId === -1 && currentTrack) {
            trackId = this.findTrackId(null);
          }
    
          // Dispatch events and load track if needed
          const audioTracksUpdated = {
            audioTracks
          };
          this.log(`Updating audio tracks, ${audioTracks.length} track(s) found in group(s): ${audioGroups == null ? void 0 : audioGroups.join(',')}`);
          this.hls.trigger(Events.AUDIO_TRACKS_UPDATED, audioTracksUpdated);
          const selectedTrackId = this.trackId;
          if (trackId !== -1 && selectedTrackId === -1) {
            this.setAudioTrack(trackId);
          } else if (audioTracks.length && selectedTrackId === -1) {
            var _this$groupIds;
            const error = new Error(`No audio track selected for current audio group-ID(s): ${(_this$groupIds = this.groupIds) == null ? void 0 : _this$groupIds.join(',')} track count: ${audioTracks.length}`);
            this.warn(error.message);
            this.hls.trigger(Events.ERROR, {
              type: ErrorTypes.MEDIA_ERROR,
              details: ErrorDetails.AUDIO_TRACK_LOAD_ERROR,
              fatal: true,
              error
            });
          }
        }
      }
      onError(event, data) {
        if (data.fatal || !data.context) {
          return;
        }
        if (data.context.type === PlaylistContextType.AUDIO_TRACK && data.context.id === this.trackId && (!this.groupIds || this.groupIds.indexOf(data.context.groupId) !== -1)) {
          this.checkRetry(data);
        }
      }
      get allAudioTracks() {
        return this.tracks;
      }
      get audioTracks() {
        return this.tracksInGroup;
      }
      get audioTrack() {
        return this.trackId;
      }
      set audioTrack(newId) {
        // If audio track is selected from API then don't choose from the manifest default track
        this.selectDefaultTrack = false;
        this.setAudioTrack(newId);
      }
      setAudioOption(audioOption) {
        const hls = this.hls;
        hls.config.audioPreference = audioOption;
        if (audioOption) {
          const allAudioTracks = this.allAudioTracks;
          this.selectDefaultTrack = false;
          if (allAudioTracks.length) {
            // First see if current option matches (no switch op)
            const currentTrack = this.currentTrack;
            if (currentTrack && matchesOption(audioOption, currentTrack, audioMatchPredicate)) {
              return currentTrack;
            }
            // Find option in available tracks (tracksInGroup)
            const groupIndex = findMatchingOption(audioOption, this.tracksInGroup, audioMatchPredicate);
            if (groupIndex > -1) {
              const track = this.tracksInGroup[groupIndex];
              this.setAudioTrack(groupIndex);
              return track;
            } else if (currentTrack) {
              // Find option in nearest level audio group
              let searchIndex = hls.loadLevel;
              if (searchIndex === -1) {
                searchIndex = hls.firstAutoLevel;
              }
              const switchIndex = findClosestLevelWithAudioGroup(audioOption, hls.levels, allAudioTracks, searchIndex, audioMatchPredicate);
              if (switchIndex === -1) {
                // could not find matching variant
                return null;
              }
              // and switch level to acheive the audio group switch
              hls.nextLoadLevel = switchIndex;
            }
            if (audioOption.channels || audioOption.audioCodec) {
              // Could not find a match with codec / channels predicate
              // Find a match without channels or codec
              const withoutCodecAndChannelsMatch = findMatchingOption(audioOption, allAudioTracks);
              if (withoutCodecAndChannelsMatch > -1) {
                return allAudioTracks[withoutCodecAndChannelsMatch];
              }
            }
          }
        }
        return null;
      }
      setAudioTrack(newId) {
        const tracks = this.tracksInGroup;
    
        // check if level idx is valid
        if (newId < 0 || newId >= tracks.length) {
          this.warn(`Invalid audio track id: ${newId}`);
          return;
        }
        this.selectDefaultTrack = false;
        const lastTrack = this.currentTrack;
        const track = tracks[newId];
        const trackLoaded = track.details && !track.details.live;
        if (newId === this.trackId && track === lastTrack && trackLoaded) {
          return;
        }
        this.log(`Switching to audio-track ${newId} "${track.name}" lang:${track.lang} group:${track.groupId} channels:${track.channels}`);
        this.trackId = newId;
        this.currentTrack = track;
        this.hls.trigger(Events.AUDIO_TRACK_SWITCHING, _objectSpread2({}, track));
        // Do not reload track unless live
        if (trackLoaded) {
          return;
        }
        const hlsUrlParameters = this.switchParams(track.url, lastTrack == null ? void 0 : lastTrack.details, track.details);
        this.loadPlaylist(hlsUrlParameters);
      }
      findTrackId(currentTrack) {
        const audioTracks = this.tracksInGroup;
        for (let i = 0; i < audioTracks.length; i++) {
          const track = audioTracks[i];
          if (this.selectDefaultTrack && !track.default) {
            continue;
          }
          if (!currentTrack || matchesOption(currentTrack, track, audioMatchPredicate)) {
            return i;
          }
        }
        if (currentTrack) {
          const {
            name,
            lang,
            assocLang,
            characteristics,
            audioCodec,
            channels
          } = currentTrack;
          for (let i = 0; i < audioTracks.length; i++) {
            const track = audioTracks[i];
            if (matchesOption({
              name,
              lang,
              assocLang,
              characteristics,
              audioCodec,
              channels
            }, track, audioMatchPredicate)) {
              return i;
            }
          }
          for (let i = 0; i < audioTracks.length; i++) {
            const track = audioTracks[i];
            if (mediaAttributesIdentical(currentTrack.attrs, track.attrs, ['LANGUAGE', 'ASSOC-LANGUAGE', 'CHARACTERISTICS'])) {
              return i;
            }
          }
          for (let i = 0; i < audioTracks.length; i++) {
            const track = audioTracks[i];
            if (mediaAttributesIdentical(currentTrack.attrs, track.attrs, ['LANGUAGE'])) {
              return i;
            }
          }
        }
        return -1;
      }
      loadPlaylist(hlsUrlParameters) {
        super.loadPlaylist();
        const audioTrack = this.currentTrack;
        if (!this.shouldLoadPlaylist(audioTrack)) {
          return;
        }
        // Do not load audio rendition with URI matching main variant URI
        if (useAlternateAudio(audioTrack.url, this.hls)) {
          this.scheduleLoading(audioTrack, hlsUrlParameters);
        }
      }
      loadingPlaylist(audioTrack, hlsUrlParameters) {
        super.loadingPlaylist(audioTrack, hlsUrlParameters);
        const id = audioTrack.id;
        const groupId = audioTrack.groupId;
        const url = this.getUrlWithDirectives(audioTrack.url, hlsUrlParameters);
        const details = audioTrack.details;
        const age = details == null ? void 0 : details.age;
        this.log(`Loading audio-track ${id} "${audioTrack.name}" lang:${audioTrack.lang} group:${groupId}${(hlsUrlParameters == null ? void 0 : hlsUrlParameters.msn) !== undefined ? ' at sn ' + hlsUrlParameters.msn + ' part ' + hlsUrlParameters.part : ''}${age && details.live ? ' age ' + age.toFixed(1) + (details.type ? ' ' + details.type || 0 : '') : ''} ${url}`);
        this.hls.trigger(Events.AUDIO_TRACK_LOADING, {
          url,
          id,
          groupId,
          deliveryDirectives: hlsUrlParameters || null,
          track: audioTrack
        });
      }
    }
    
    class BufferOperationQueue {
      constructor(sourceBufferReference) {
        this.tracks = void 0;
        this.queues = {
          video: [],
          audio: [],
          audiovideo: []
        };
        this.tracks = sourceBufferReference;
      }
      destroy() {
        this.tracks = this.queues = null;
      }
      append(operation, type, pending) {
        if (this.queues === null || this.tracks === null) {
          return;
        }
        const queue = this.queues[type];
        queue.push(operation);
        if (queue.length === 1 && !pending) {
          this.executeNext(type);
        }
      }
      appendBlocker(type) {
        return new Promise(resolve => {
          const operation = {
            label: 'async-blocker',
            execute: resolve,
            onStart: () => {},
            onComplete: () => {},
            onError: () => {}
          };
          this.append(operation, type);
        });
      }
      prependBlocker(type) {
        return new Promise(resolve => {
          if (this.queues) {
            const operation = {
              label: 'async-blocker-prepend',
              execute: resolve,
              onStart: () => {},
              onComplete: () => {},
              onError: () => {}
            };
            this.queues[type].unshift(operation);
          }
        });
      }
      removeBlockers() {
        if (this.queues === null) {
          return;
        }
        [this.queues.video, this.queues.audio, this.queues.audiovideo].forEach(queue => {
          var _queue$;
          const label = (_queue$ = queue[0]) == null ? void 0 : _queue$.label;
          if (label === 'async-blocker' || label === 'async-blocker-prepend') {
            queue[0].execute();
            queue.splice(0, 1);
          }
        });
      }
      unblockAudio(op) {
        if (this.queues === null) {
          return;
        }
        const queue = this.queues.audio;
        if (queue[0] === op) {
          this.shiftAndExecuteNext('audio');
        }
      }
      executeNext(type) {
        if (this.queues === null || this.tracks === null) {
          return;
        }
        const queue = this.queues[type];
        if (queue.length) {
          const operation = queue[0];
          try {
            // Operations are expected to result in an 'updateend' event being fired. If not, the queue will lock. Operations
            // which do not end with this event must call _onSBUpdateEnd manually
            operation.execute();
          } catch (error) {
            var _this$tracks$type;
            operation.onError(error);
            if (this.queues === null || this.tracks === null) {
              return;
            }
    
            // Only shift the current operation off, otherwise the updateend handler will do this for us
            const sb = (_this$tracks$type = this.tracks[type]) == null ? void 0 : _this$tracks$type.buffer;
            if (!(sb != null && sb.updating)) {
              this.shiftAndExecuteNext(type);
            }
          }
        }
      }
      shiftAndExecuteNext(type) {
        if (this.queues === null) {
          return;
        }
        this.queues[type].shift();
        this.executeNext(type);
      }
      current(type) {
        var _this$queues;
        return ((_this$queues = this.queues) == null ? void 0 : _this$queues[type][0]) || null;
      }
      toString() {
        const {
          queues,
          tracks
        } = this;
        if (queues === null || tracks === null) {
          return `<destroyed>`;
        }
        return `
    ${this.list('video')}
    ${this.list('audio')}
    ${this.list('audiovideo')}}`;
      }
      list(type) {
        var _this$queues2, _this$tracks;
        return (_this$queues2 = this.queues) != null && _this$queues2[type] || (_this$tracks = this.tracks) != null && _this$tracks[type] ? `${type}: (${this.listSbInfo(type)}) ${this.listOps(type)}` : '';
      }
      listSbInfo(type) {
        var _this$tracks2;
        const track = (_this$tracks2 = this.tracks) == null ? void 0 : _this$tracks2[type];
        const sb = track == null ? void 0 : track.buffer;
        if (!sb) {
          return 'none';
        }
        return `SourceBuffer${sb.updating ? ' updating' : ''}${track.ended ? ' ended' : ''}${track.ending ? ' ending' : ''}`;
      }
      listOps(type) {
        var _this$queues3;
        return ((_this$queues3 = this.queues) == null ? void 0 : _this$queues3[type].map(op => op.label).join(', ')) || '';
      }
    }
    
    const VIDEO_CODEC_PROFILE_REPLACE = /(avc[1234]|hvc1|hev1|dvh[1e]|vp09|av01)(?:\.[^.,]+)+/;
    const TRACK_REMOVED_ERROR_NAME = 'HlsJsTrackRemovedError';
    class HlsJsTrackRemovedError extends Error {
      constructor(message) {
        super(message);
        this.name = TRACK_REMOVED_ERROR_NAME;
      }
    }
    class BufferController extends Logger {
      constructor(hls, fragmentTracker) {
        super('buffer-controller', hls.logger);
        this.hls = void 0;
        this.fragmentTracker = void 0;
        // The level details used to determine duration, target-duration and live
        this.details = null;
        // cache the self generated object url to detect hijack of video tag
        this._objectUrl = null;
        // A queue of buffer operations which require the SourceBuffer to not be updating upon execution
        this.operationQueue = null;
        // The total number track codecs expected before any sourceBuffers are created (2: audio and video or 1: audiovideo | audio | video)
        this.bufferCodecEventsTotal = 0;
        // A reference to the attached media element
        this.media = null;
        // A reference to the active media source
        this.mediaSource = null;
        // Last MP3 audio chunk appended
        this.lastMpegAudioChunk = null;
        // Audio fragment blocked from appending until corresponding video appends or context changes
        this.blockedAudioAppend = null;
        // Keep track of video append position for unblocking audio
        this.lastVideoAppendEnd = 0;
        // Whether or not to use ManagedMediaSource API and append source element to media element.
        this.appendSource = void 0;
        // Transferred MediaSource information used to detmerine if duration end endstream may be appended
        this.transferData = void 0;
        // Directives used to override default MediaSource handling
        this.overrides = void 0;
        // Error counters
        this.appendErrors = {
          audio: 0,
          video: 0,
          audiovideo: 0
        };
        // Record of required or created buffers by type. SourceBuffer is stored in Track.buffer once created.
        this.tracks = {};
        // Array of SourceBuffer type and SourceBuffer (or null). One entry per TrackSet in this.tracks.
        this.sourceBuffers = [[null, null], [null, null]];
        this._onEndStreaming = event => {
          var _this$mediaSource;
          if (!this.hls) {
            return;
          }
          if (((_this$mediaSource = this.mediaSource) == null ? void 0 : _this$mediaSource.readyState) !== 'open') {
            return;
          }
          this.hls.pauseBuffering();
        };
        this._onStartStreaming = event => {
          if (!this.hls) {
            return;
          }
          this.hls.resumeBuffering();
        };
        // Keep as arrow functions so that we can directly reference these functions directly as event listeners
        this._onMediaSourceOpen = e => {
          const {
            media,
            mediaSource
          } = this;
          if (e) {
            this.log('Media source opened');
          }
          if (!media || !mediaSource) {
            return;
          }
          // once received, don't listen anymore to sourceopen event
          mediaSource.removeEventListener('sourceopen', this._onMediaSourceOpen);
          media.removeEventListener('emptied', this._onMediaEmptied);
          this.updateDuration();
          this.hls.trigger(Events.MEDIA_ATTACHED, {
            media,
            mediaSource: mediaSource
          });
          if (this.mediaSource !== null) {
            this.checkPendingTracks();
          }
        };
        this._onMediaSourceClose = () => {
          this.log('Media source closed');
        };
        this._onMediaSourceEnded = () => {
          this.log('Media source ended');
        };
        this._onMediaEmptied = () => {
          const {
            mediaSrc,
            _objectUrl
          } = this;
          if (mediaSrc !== _objectUrl) {
            this.error(`Media element src was set while attaching MediaSource (${_objectUrl} > ${mediaSrc})`);
          }
        };
        this.hls = hls;
        this.fragmentTracker = fragmentTracker;
        this.appendSource = isManagedMediaSource(getMediaSource(hls.config.preferManagedMediaSource));
        this.initTracks();
        this.registerListeners();
      }
      hasSourceTypes() {
        return Object.keys(this.tracks).length > 0;
      }
      destroy() {
        this.unregisterListeners();
        this.details = null;
        this.lastMpegAudioChunk = this.blockedAudioAppend = null;
        this.transferData = this.overrides = undefined;
        if (this.operationQueue) {
          this.operationQueue.destroy();
          this.operationQueue = null;
        }
        // @ts-ignore
        this.hls = this.fragmentTracker = null;
        // @ts-ignore
        this._onMediaSourceOpen = this._onMediaSourceClose = null;
        // @ts-ignore
        this._onMediaSourceEnded = null;
        // @ts-ignore
        this._onStartStreaming = this._onEndStreaming = null;
      }
      registerListeners() {
        const {
          hls
        } = this;
        hls.on(Events.MEDIA_ATTACHING, this.onMediaAttaching, this);
        hls.on(Events.MEDIA_DETACHING, this.onMediaDetaching, this);
        hls.on(Events.MANIFEST_LOADING, this.onManifestLoading, this);
        hls.on(Events.MANIFEST_PARSED, this.onManifestParsed, this);
        hls.on(Events.BUFFER_RESET, this.onBufferReset, this);
        hls.on(Events.BUFFER_APPENDING, this.onBufferAppending, this);
        hls.on(Events.BUFFER_CODECS, this.onBufferCodecs, this);
        hls.on(Events.BUFFER_EOS, this.onBufferEos, this);
        hls.on(Events.BUFFER_FLUSHING, this.onBufferFlushing, this);
        hls.on(Events.LEVEL_UPDATED, this.onLevelUpdated, this);
        hls.on(Events.FRAG_PARSED, this.onFragParsed, this);
        hls.on(Events.FRAG_CHANGED, this.onFragChanged, this);
        hls.on(Events.ERROR, this.onError, this);
      }
      unregisterListeners() {
        const {
          hls
        } = this;
        hls.off(Events.MEDIA_ATTACHING, this.onMediaAttaching, this);
        hls.off(Events.MEDIA_DETACHING, this.onMediaDetaching, this);
        hls.off(Events.MANIFEST_LOADING, this.onManifestLoading, this);
        hls.off(Events.MANIFEST_PARSED, this.onManifestParsed, this);
        hls.off(Events.BUFFER_RESET, this.onBufferReset, this);
        hls.off(Events.BUFFER_APPENDING, this.onBufferAppending, this);
        hls.off(Events.BUFFER_CODECS, this.onBufferCodecs, this);
        hls.off(Events.BUFFER_EOS, this.onBufferEos, this);
        hls.off(Events.BUFFER_FLUSHING, this.onBufferFlushing, this);
        hls.off(Events.LEVEL_UPDATED, this.onLevelUpdated, this);
        hls.off(Events.FRAG_PARSED, this.onFragParsed, this);
        hls.off(Events.FRAG_CHANGED, this.onFragChanged, this);
        hls.off(Events.ERROR, this.onError, this);
      }
      transferMedia() {
        const {
          media,
          mediaSource
        } = this;
        if (!media) {
          return null;
        }
        const tracks = {};
        if (this.operationQueue) {
          const updating = this.isUpdating();
          if (!updating) {
            this.operationQueue.removeBlockers();
          }
          const queued = this.isQueued();
          if (updating || queued) {
            this.warn(`Transfering MediaSource with${queued ? ' operations in queue' : ''}${updating ? ' updating SourceBuffer(s)' : ''} ${this.operationQueue}`);
          }
          this.operationQueue.destroy();
        }
        const transferData = this.transferData;
        if (!this.sourceBufferCount && transferData && transferData.mediaSource === mediaSource) {
          _extends(tracks, transferData.tracks);
        } else {
          this.sourceBuffers.forEach(tuple => {
            const [type] = tuple;
            if (type) {
              tracks[type] = _extends({}, this.tracks[type]);
              this.removeBuffer(type);
            }
            tuple[0] = tuple[1] = null;
          });
        }
        return {
          media,
          mediaSource,
          tracks
        };
      }
      initTracks() {
        const tracks = {};
        this.sourceBuffers = [[null, null], [null, null]];
        this.tracks = tracks;
        this.resetQueue();
        this.resetAppendErrors();
        this.lastMpegAudioChunk = this.blockedAudioAppend = null;
        this.lastVideoAppendEnd = 0;
      }
      onManifestLoading() {
        this.bufferCodecEventsTotal = 0;
        this.details = null;
      }
      onManifestParsed(event, data) {
        var _this$transferData;
        // in case of alt audio 2 BUFFER_CODECS events will be triggered, one per stream controller
        // sourcebuffers will be created all at once when the expected nb of tracks will be reached
        // in case alt audio is not used, only one BUFFER_CODEC event will be fired from main stream controller
        // it will contain the expected nb of source buffers, no need to compute it
        let codecEvents = 2;
        if (data.audio && !data.video || !data.altAudio) {
          codecEvents = 1;
        }
        this.bufferCodecEventsTotal = codecEvents;
        this.log(`${codecEvents} bufferCodec event(s) expected.`);
        if ((_this$transferData = this.transferData) != null && _this$transferData.mediaSource && this.sourceBufferCount && codecEvents) {
          this.bufferCreated();
        }
      }
      onMediaAttaching(event, data) {
        const media = this.media = data.media;
        this.transferData = this.overrides = undefined;
        const MediaSource = getMediaSource(this.appendSource);
        if (MediaSource) {
          const transferringMedia = !!data.mediaSource;
          if (transferringMedia || data.overrides) {
            this.transferData = data;
            this.overrides = data.overrides;
          }
          const ms = this.mediaSource = data.mediaSource || new MediaSource();
          this.assignMediaSource(ms);
          if (transferringMedia) {
            this._objectUrl = media.src;
            this.attachTransferred();
          } else {
            // cache the locally generated object url
            const objectUrl = this._objectUrl = self.URL.createObjectURL(ms);
            // link video and media Source
            if (this.appendSource) {
              try {
                media.removeAttribute('src');
                // ManagedMediaSource will not open without disableRemotePlayback set to false or source alternatives
                const MMS = self.ManagedMediaSource;
                media.disableRemotePlayback = media.disableRemotePlayback || MMS && ms instanceof MMS;
                removeSourceChildren(media);
                addSource(media, objectUrl);
                media.load();
              } catch (error) {
                media.src = objectUrl;
              }
            } else {
              media.src = objectUrl;
            }
          }
          media.addEventListener('emptied', this._onMediaEmptied);
        }
      }
      assignMediaSource(ms) {
        var _this$transferData2, _ms$constructor;
        this.log(`${((_this$transferData2 = this.transferData) == null ? void 0 : _this$transferData2.mediaSource) === ms ? 'transferred' : 'created'} media source: ${(_ms$constructor = ms.constructor) == null ? void 0 : _ms$constructor.name}`);
        // MediaSource listeners are arrow functions with a lexical scope, and do not need to be bound
        ms.addEventListener('sourceopen', this._onMediaSourceOpen);
        ms.addEventListener('sourceended', this._onMediaSourceEnded);
        ms.addEventListener('sourceclose', this._onMediaSourceClose);
        if (this.appendSource) {
          ms.addEventListener('startstreaming', this._onStartStreaming);
          ms.addEventListener('endstreaming', this._onEndStreaming);
        }
      }
      attachTransferred() {
        const media = this.media;
        const data = this.transferData;
        if (!data || !media) {
          return;
        }
        const requiredTracks = this.tracks;
        const transferredTracks = data.tracks;
        const trackNames = transferredTracks ? Object.keys(transferredTracks) : null;
        const trackCount = trackNames ? trackNames.length : 0;
        const mediaSourceOpenCallback = () => {
          // eslint-disable-next-line @typescript-eslint/no-floating-promises
          Promise.resolve().then(() => {
            if (this.media && this.mediaSourceOpenOrEnded) {
              this._onMediaSourceOpen();
            }
          });
        };
        if (transferredTracks && trackNames && trackCount) {
          if (!this.tracksReady) {
            // Wait for CODECS event(s)
            this.hls.config.startFragPrefetch = true;
            this.log(`attachTransferred: waiting for SourceBuffer track info`);
            return;
          }
          this.log(`attachTransferred: (bufferCodecEventsTotal ${this.bufferCodecEventsTotal})
    required tracks: ${stringify(requiredTracks, (key, value) => key === 'initSegment' ? undefined : value)};
    transfer tracks: ${stringify(transferredTracks, (key, value) => key === 'initSegment' ? undefined : value)}}`);
          if (!isCompatibleTrackChange(transferredTracks, requiredTracks)) {
            // destroy attaching media source
            data.mediaSource = null;
            data.tracks = undefined;
            const currentTime = media.currentTime;
            const details = this.details;
            const startTime = Math.max(currentTime, (details == null ? void 0 : details.fragments[0].start) || 0);
            if (startTime - currentTime > 1) {
              this.log(`attachTransferred: waiting for playback to reach new tracks start time ${currentTime} -> ${startTime}`);
              return;
            }
            this.warn(`attachTransferred: resetting MediaSource for incompatible tracks ("${Object.keys(transferredTracks)}"->"${Object.keys(requiredTracks)}") start time: ${startTime} currentTime: ${currentTime}`);
            this.onMediaDetaching(Events.MEDIA_DETACHING, {});
            this.onMediaAttaching(Events.MEDIA_ATTACHING, data);
            media.currentTime = startTime;
            return;
          }
          this.transferData = undefined;
          trackNames.forEach(trackName => {
            const type = trackName;
            const track = transferredTracks[type];
            if (track) {
              const sb = track.buffer;
              if (sb) {
                // Purge fragment tracker of ejected segments for existing buffer
                const fragmentTracker = this.fragmentTracker;
                const playlistType = track.id;
                if (fragmentTracker.hasFragments(playlistType) || fragmentTracker.hasParts(playlistType)) {
                  const bufferedTimeRanges = BufferHelper.getBuffered(sb);
                  fragmentTracker.detectEvictedFragments(type, bufferedTimeRanges, playlistType, null, true);
                }
                // Transfer SourceBuffer
                const sbIndex = sourceBufferNameToIndex(type);
                const sbTuple = [type, sb];
                this.sourceBuffers[sbIndex] = sbTuple;
                if (sb.updating && this.operationQueue) {
                  // eslint-disable-next-line @typescript-eslint/no-floating-promises
                  this.operationQueue.prependBlocker(type);
                }
                this.trackSourceBuffer(type, track);
              }
            }
          });
          mediaSourceOpenCallback();
          this.bufferCreated();
        } else {
          this.log(`attachTransferred: MediaSource w/o SourceBuffers`);
          mediaSourceOpenCallback();
        }
      }
      get mediaSourceOpenOrEnded() {
        var _this$mediaSource2;
        const readyState = (_this$mediaSource2 = this.mediaSource) == null ? void 0 : _this$mediaSource2.readyState;
        return readyState === 'open' || readyState === 'ended';
      }
      onMediaDetaching(event, data) {
        const transferringMedia = !!data.transferMedia;
        this.transferData = this.overrides = undefined;
        const {
          media,
          mediaSource,
          _objectUrl
        } = this;
        if (mediaSource) {
          this.log(`media source ${transferringMedia ? 'transferring' : 'detaching'}`);
          if (transferringMedia) {
            // Detach SourceBuffers without removing from MediaSource
            // and leave `tracks` (required SourceBuffers configuration)
            this.sourceBuffers.forEach(([type]) => {
              if (type) {
                this.removeBuffer(type);
              }
            });
            this.resetQueue();
          } else {
            if (this.mediaSourceOpenOrEnded) {
              const open = mediaSource.readyState === 'open';
              try {
                const sourceBuffers = mediaSource.sourceBuffers;
                for (let i = sourceBuffers.length; i--;) {
                  if (open) {
                    sourceBuffers[i].abort();
                  }
                  mediaSource.removeSourceBuffer(sourceBuffers[i]);
                }
                if (open) {
                  // endOfStream could trigger exception if any sourcebuffer is in updating state
                  // we don't really care about checking sourcebuffer state here,
                  // as we are anyway detaching the MediaSource
                  // let's just avoid this exception to propagate
                  mediaSource.endOfStream();
                }
              } catch (err) {
                this.warn(`onMediaDetaching: ${err.message} while calling endOfStream`);
              }
            }
            // Clean up the SourceBuffers by invoking onBufferReset
            if (this.sourceBufferCount) {
              this.onBufferReset();
            }
          }
          mediaSource.removeEventListener('sourceopen', this._onMediaSourceOpen);
          mediaSource.removeEventListener('sourceended', this._onMediaSourceEnded);
          mediaSource.removeEventListener('sourceclose', this._onMediaSourceClose);
          if (this.appendSource) {
            mediaSource.removeEventListener('startstreaming', this._onStartStreaming);
            mediaSource.removeEventListener('endstreaming', this._onEndStreaming);
          }
          this.mediaSource = null;
          this._objectUrl = null;
        }
    
        // Detach properly the MediaSource from the HTMLMediaElement as
        // suggested in https://github.com/w3c/media-source/issues/53.
        if (media) {
          media.removeEventListener('emptied', this._onMediaEmptied);
          if (!transferringMedia) {
            if (_objectUrl) {
              self.URL.revokeObjectURL(_objectUrl);
            }
    
            // clean up video tag src only if it's our own url. some external libraries might
            // hijack the video tag and change its 'src' without destroying the Hls instance first
            if (this.mediaSrc === _objectUrl) {
              media.removeAttribute('src');
              if (this.appendSource) {
                removeSourceChildren(media);
              }
              media.load();
            } else {
              this.warn('media|source.src was changed by a third party - skip cleanup');
            }
          }
          this.media = null;
        }
        this.hls.trigger(Events.MEDIA_DETACHED, data);
      }
      onBufferReset() {
        this.sourceBuffers.forEach(([type]) => {
          if (type) {
            this.resetBuffer(type);
          }
        });
        this.initTracks();
      }
      resetBuffer(type) {
        var _this$tracks$type;
        const sb = (_this$tracks$type = this.tracks[type]) == null ? void 0 : _this$tracks$type.buffer;
        this.removeBuffer(type);
        if (sb) {
          try {
            var _this$mediaSource3;
            if ((_this$mediaSource3 = this.mediaSource) != null && _this$mediaSource3.sourceBuffers.length) {
              this.mediaSource.removeSourceBuffer(sb);
            }
          } catch (err) {
            this.warn(`onBufferReset ${type}`, err);
          }
        }
        delete this.tracks[type];
      }
      removeBuffer(type) {
        this.removeBufferListeners(type);
        this.sourceBuffers[sourceBufferNameToIndex(type)] = [null, null];
        const track = this.tracks[type];
        if (track) {
          track.buffer = undefined;
        }
      }
      resetQueue() {
        if (this.operationQueue) {
          this.operationQueue.destroy();
        }
        this.operationQueue = new BufferOperationQueue(this.tracks);
      }
      onBufferCodecs(event, data) {
        var _data$audio;
        const tracks = this.tracks;
        const trackNames = Object.keys(data);
        this.log(`BUFFER_CODECS: "${trackNames}" (current SB count ${this.sourceBufferCount})`);
        const unmuxedToMuxed = 'audiovideo' in data && (tracks.audio || tracks.video) || tracks.audiovideo && ('audio' in data || 'video' in data);
        const muxedToUnmuxed = !unmuxedToMuxed && this.sourceBufferCount && this.media && trackNames.some(sbName => !tracks[sbName]);
        if (unmuxedToMuxed || muxedToUnmuxed) {
          this.warn(`Unsupported transition between "${Object.keys(tracks)}" and "${trackNames}" SourceBuffers`);
          // Do not add incompatible track ('audiovideo' <-> 'video'/'audio').
          // Allow following onBufferAppending handle to trigger BUFFER_APPEND_ERROR.
          // This will either be resolved by level switch or could be handled with recoverMediaError().
          return;
        }
        trackNames.forEach(trackName => {
          var _this$transferData3, _trackCodec;
          const parsedTrack = data[trackName];
          const {
            id,
            codec,
            levelCodec,
            container,
            metadata,
            supplemental
          } = parsedTrack;
          let track = tracks[trackName];
          const transferredTrack = (_this$transferData3 = this.transferData) == null || (_this$transferData3 = _this$transferData3.tracks) == null ? void 0 : _this$transferData3[trackName];
          const sbTrack = transferredTrack != null && transferredTrack.buffer ? transferredTrack : track;
          const sbCodec = (sbTrack == null ? void 0 : sbTrack.pendingCodec) || (sbTrack == null ? void 0 : sbTrack.codec);
          const trackLevelCodec = sbTrack == null ? void 0 : sbTrack.levelCodec;
          if (!track) {
            track = tracks[trackName] = {
              buffer: undefined,
              listeners: [],
              codec,
              supplemental,
              container,
              levelCodec,
              metadata,
              id
            };
          }
          // check if SourceBuffer codec needs to change
          const currentCodecFull = pickMostCompleteCodecName(sbCodec, trackLevelCodec);
          const currentCodec = currentCodecFull == null ? void 0 : currentCodecFull.replace(VIDEO_CODEC_PROFILE_REPLACE, '$1');
          let trackCodec = pickMostCompleteCodecName(codec, levelCodec);
          const nextCodec = (_trackCodec = trackCodec) == null ? void 0 : _trackCodec.replace(VIDEO_CODEC_PROFILE_REPLACE, '$1');
          if (trackCodec && currentCodecFull && currentCodec !== nextCodec) {
            if (trackName.slice(0, 5) === 'audio') {
              trackCodec = getCodecCompatibleName(trackCodec, this.appendSource);
            }
            this.log(`switching codec ${sbCodec} to ${trackCodec}`);
            if (trackCodec !== (track.pendingCodec || track.codec)) {
              track.pendingCodec = trackCodec;
            }
            track.container = container;
            this.appendChangeType(trackName, container, trackCodec);
          }
        });
        if (this.tracksReady || this.sourceBufferCount) {
          data.tracks = this.sourceBufferTracks;
        }
    
        // if sourcebuffers already created, do nothing ...
        if (this.sourceBufferCount) {
          return;
        }
        if (this.bufferCodecEventsTotal > 1 && !this.tracks.video && !data.video && ((_data$audio = data.audio) == null ? void 0 : _data$audio.id) === 'main') {
          // MVP is missing CODECS and only audio was found in main segment (#7524)
          this.log(`Main audio-only`);
          this.bufferCodecEventsTotal = 1;
        }
        if (this.mediaSourceOpenOrEnded) {
          this.checkPendingTracks();
        }
      }
      get sourceBufferTracks() {
        return Object.keys(this.tracks).reduce((baseTracks, type) => {
          const track = this.tracks[type];
          baseTracks[type] = {
            id: track.id,
            container: track.container,
            codec: track.codec,
            levelCodec: track.levelCodec
          };
          return baseTracks;
        }, {});
      }
      appendChangeType(type, container, codec) {
        const mimeType = `${container};codecs=${codec}`;
        const operation = {
          label: `change-type=${mimeType}`,
          execute: () => {
            const track = this.tracks[type];
            if (track) {
              const sb = track.buffer;
              if (sb != null && sb.changeType) {
                this.log(`changing ${type} sourceBuffer type to ${mimeType}`);
                sb.changeType(mimeType);
                track.codec = codec;
                track.container = container;
              }
            }
            this.shiftAndExecuteNext(type);
          },
          onStart: () => {},
          onComplete: () => {},
          onError: error => {
            this.warn(`Failed to change ${type} SourceBuffer type`, error);
          }
        };
        this.append(operation, type, this.isPending(this.tracks[type]));
      }
      blockAudio(partOrFrag) {
        var _this$fragmentTracker;
        const pStart = partOrFrag.start;
        const pTime = pStart + partOrFrag.duration * 0.05;
        const atGap = ((_this$fragmentTracker = this.fragmentTracker.getAppendedFrag(pStart, PlaylistLevelType.MAIN)) == null ? void 0 : _this$fragmentTracker.gap) === true;
        if (atGap) {
          return;
        }
        const op = {
          label: 'block-audio',
          execute: () => {
            var _this$fragmentTracker2;
            const videoTrack = this.tracks.video;
            if (this.lastVideoAppendEnd > pTime || videoTrack != null && videoTrack.buffer && BufferHelper.isBuffered(videoTrack.buffer, pTime) || ((_this$fragmentTracker2 = this.fragmentTracker.getAppendedFrag(pTime, PlaylistLevelType.MAIN)) == null ? void 0 : _this$fragmentTracker2.gap) === true) {
              this.blockedAudioAppend = null;
              this.shiftAndExecuteNext('audio');
            }
          },
          onStart: () => {},
          onComplete: () => {},
          onError: error => {
            this.warn('Error executing block-audio operation', error);
          }
        };
        this.blockedAudioAppend = {
          op,
          frag: partOrFrag
        };
        this.append(op, 'audio', true);
      }
      unblockAudio() {
        const {
          blockedAudioAppend,
          operationQueue
        } = this;
        if (blockedAudioAppend && operationQueue) {
          this.blockedAudioAppend = null;
          operationQueue.unblockAudio(blockedAudioAppend.op);
        }
      }
      onBufferAppending(event, eventData) {
        const {
          tracks
        } = this;
        const {
          data,
          type,
          parent,
          frag,
          part,
          chunkMeta,
          offset
        } = eventData;
        const chunkStats = chunkMeta.buffering[type];
        const {
          sn,
          cc
        } = frag;
        const bufferAppendingStart = self.performance.now();
        chunkStats.start = bufferAppendingStart;
        const fragBuffering = frag.stats.buffering;
        const partBuffering = part ? part.stats.buffering : null;
        if (fragBuffering.start === 0) {
          fragBuffering.start = bufferAppendingStart;
        }
        if (partBuffering && partBuffering.start === 0) {
          partBuffering.start = bufferAppendingStart;
        }
    
        // TODO: Only update timestampOffset when audio/mpeg fragment or part is not contiguous with previously appended
        // Adjusting `SourceBuffer.timestampOffset` (desired point in the timeline where the next frames should be appended)
        // in Chrome browser when we detect MPEG audio container and time delta between level PTS and `SourceBuffer.timestampOffset`
        // is greater than 100ms (this is enough to handle seek for VOD or level change for LIVE videos).
        // More info here: https://github.com/video-dev/hls.js/issues/332#issuecomment-257986486
        const audioTrack = tracks.audio;
        let checkTimestampOffset = false;
        if (type === 'audio' && (audioTrack == null ? void 0 : audioTrack.container) === 'audio/mpeg') {
          checkTimestampOffset = !this.lastMpegAudioChunk || chunkMeta.id === 1 || this.lastMpegAudioChunk.sn !== chunkMeta.sn;
          this.lastMpegAudioChunk = chunkMeta;
        }
    
        // Block audio append until overlapping video append
        const videoTrack = tracks.video;
        const videoSb = videoTrack == null ? void 0 : videoTrack.buffer;
        if (videoSb && sn !== 'initSegment') {
          const partOrFrag = part || frag;
          const blockedAudioAppend = this.blockedAudioAppend;
          if (type === 'audio' && parent !== 'main' && !this.blockedAudioAppend && !(videoTrack.ending || videoTrack.ended)) {
            const pStart = partOrFrag.start;
            const pTime = pStart + partOrFrag.duration * 0.05;
            const vbuffered = videoSb.buffered;
            const vappending = this.currentOp('video');
            if (!vbuffered.length && !vappending) {
              // wait for video before appending audio
              this.blockAudio(partOrFrag);
            } else if (!vappending && !BufferHelper.isBuffered(videoSb, pTime) && this.lastVideoAppendEnd < pTime) {
              // audio is ahead of video
              this.blockAudio(partOrFrag);
            }
          } else if (type === 'video') {
            const videoAppendEnd = partOrFrag.end;
            if (blockedAudioAppend) {
              const audioStart = blockedAudioAppend.frag.start;
              if (videoAppendEnd > audioStart || videoAppendEnd < this.lastVideoAppendEnd || BufferHelper.isBuffered(videoSb, audioStart)) {
                this.unblockAudio();
              }
            }
            this.lastVideoAppendEnd = videoAppendEnd;
          }
        }
        const fragStart = (part || frag).start;
        const operation = {
          label: `append-${type}`,
          execute: () => {
            var _this$tracks$type2;
            chunkStats.executeStart = self.performance.now();
            const sb = (_this$tracks$type2 = this.tracks[type]) == null ? void 0 : _this$tracks$type2.buffer;
            if (sb) {
              if (checkTimestampOffset) {
                this.updateTimestampOffset(sb, fragStart, 0.1, type, sn, cc);
              } else if (offset !== undefined && isFiniteNumber(offset)) {
                this.updateTimestampOffset(sb, offset, 0.000001, type, sn, cc);
              }
            }
            this.appendExecutor(data, type);
          },
          onStart: () => {
            // logger.debug(`[buffer-controller]: ${type} SourceBuffer updatestart`);
          },
          onComplete: () => {
            // logger.debug(`[buffer-controller]: ${type} SourceBuffer updateend`);
            const end = self.performance.now();
            chunkStats.executeEnd = chunkStats.end = end;
            if (fragBuffering.first === 0) {
              fragBuffering.first = end;
            }
            if (partBuffering && partBuffering.first === 0) {
              partBuffering.first = end;
            }
            const timeRanges = {};
            this.sourceBuffers.forEach(([type, sb]) => {
              if (type) {
                timeRanges[type] = BufferHelper.getBuffered(sb);
              }
            });
            this.appendErrors[type] = 0;
            if (type === 'audio' || type === 'video') {
              this.appendErrors.audiovideo = 0;
            } else {
              this.appendErrors.audio = 0;
              this.appendErrors.video = 0;
            }
            this.hls.trigger(Events.BUFFER_APPENDED, {
              type,
              frag,
              part,
              chunkMeta,
              parent: frag.type,
              timeRanges
            });
          },
          onError: error => {
            var _this$media;
            // in case any error occured while appending, put back segment in segments table
            const event = {
              type: ErrorTypes.MEDIA_ERROR,
              parent: frag.type,
              details: ErrorDetails.BUFFER_APPEND_ERROR,
              sourceBufferName: type,
              frag,
              part,
              chunkMeta,
              error,
              err: error,
              fatal: false
            };
            const mediaError = (_this$media = this.media) == null ? void 0 : _this$media.error;
            if (error.code === DOMException.QUOTA_EXCEEDED_ERR || error.name == 'QuotaExceededError' || `quota` in error) {
              // QuotaExceededError: http://www.w3.org/TR/html5/infrastructure.html#quotaexceedederror
              // let's stop appending any segments, and report BUFFER_FULL_ERROR error
              event.details = ErrorDetails.BUFFER_FULL_ERROR;
            } else if (error.code === DOMException.INVALID_STATE_ERR && this.mediaSourceOpenOrEnded && !mediaError) {
              // Allow retry for "Failed to execute 'appendBuffer' on 'SourceBuffer': This SourceBuffer is still processing" errors
              event.errorAction = createDoNothingErrorAction(true);
            } else if (error.name === TRACK_REMOVED_ERROR_NAME && this.sourceBufferCount === 0) {
              // Do nothing if sourceBuffers were removed (media is detached and append was not aborted)
              event.errorAction = createDoNothingErrorAction(true);
            } else {
              const appendErrorCount = ++this.appendErrors[type];
              /* with UHD content, we could get loop of quota exceeded error until
                browser is able to evict some data from sourcebuffer. Retrying can help recover.
              */
              this.warn(`Failed ${appendErrorCount}/${this.hls.config.appendErrorMaxRetry} times to append segment in "${type}" sourceBuffer (${mediaError ? mediaError : 'no media error'})`);
              if (appendErrorCount >= this.hls.config.appendErrorMaxRetry || !!mediaError) {
                event.fatal = true;
              }
            }
            this.hls.trigger(Events.ERROR, event);
          }
        };
        this.log(`queuing "${type}" append sn: ${sn}${part ? ' p: ' + part.index : ''} of ${frag.type === PlaylistLevelType.MAIN ? 'level' : 'track'} ${frag.level} cc: ${cc}`);
        this.append(operation, type, this.isPending(this.tracks[type]));
      }
      getFlushOp(type, start, end) {
        this.log(`queuing "${type}" remove ${start}-${end}`);
        return {
          label: 'remove',
          execute: () => {
            this.removeExecutor(type, start, end);
          },
          onStart: () => {
            // logger.debug(`[buffer-controller]: Started flushing ${data.startOffset} -> ${data.endOffset} for ${type} Source Buffer`);
          },
          onComplete: () => {
            // logger.debug(`[buffer-controller]: Finished flushing ${data.startOffset} -> ${data.endOffset} for ${type} Source Buffer`);
            this.hls.trigger(Events.BUFFER_FLUSHED, {
              type
            });
          },
          onError: error => {
            this.warn(`Failed to remove ${start}-${end} from "${type}" SourceBuffer`, error);
          }
        };
      }
      onBufferFlushing(event, data) {
        const {
          type,
          startOffset,
          endOffset
        } = data;
        if (type) {
          this.append(this.getFlushOp(type, startOffset, endOffset), type);
        } else {
          this.sourceBuffers.forEach(([type]) => {
            if (type) {
              this.append(this.getFlushOp(type, startOffset, endOffset), type);
            }
          });
        }
      }
      onFragParsed(event, data) {
        const {
          frag,
          part
        } = data;
        const buffersAppendedTo = [];
        const elementaryStreams = part ? part.elementaryStreams : frag.elementaryStreams;
        if (elementaryStreams[ElementaryStreamTypes.AUDIOVIDEO]) {
          buffersAppendedTo.push('audiovideo');
        } else {
          if (elementaryStreams[ElementaryStreamTypes.AUDIO]) {
            buffersAppendedTo.push('audio');
          }
          if (elementaryStreams[ElementaryStreamTypes.VIDEO]) {
            buffersAppendedTo.push('video');
          }
        }
        const onUnblocked = () => {
          const now = self.performance.now();
          frag.stats.buffering.end = now;
          if (part) {
            part.stats.buffering.end = now;
          }
          const stats = part ? part.stats : frag.stats;
          this.hls.trigger(Events.FRAG_BUFFERED, {
            frag,
            part,
            stats,
            id: frag.type
          });
        };
        if (buffersAppendedTo.length === 0) {
          this.warn(`Fragments must have at least one ElementaryStreamType set. type: ${frag.type} level: ${frag.level} sn: ${frag.sn}`);
        }
        this.blockBuffers(onUnblocked, buffersAppendedTo).catch(error => {
          this.warn(`Fragment buffered callback ${error}`);
          this.stepOperationQueue(this.sourceBufferTypes);
        });
      }
      onFragChanged(event, data) {
        this.trimBuffers();
      }
      get bufferedToEnd() {
        return this.sourceBufferCount > 0 && !this.sourceBuffers.some(([type]) => {
          if (type) {
            const track = this.tracks[type];
            if (track) {
              return !track.ended || track.ending;
            }
          }
          return false;
        });
      }
    
      // on BUFFER_EOS mark matching sourcebuffer(s) as "ending" and "ended" and queue endOfStream after remaining operations(s)
      // an undefined data.type will mark all buffers as EOS.
      onBufferEos(event, data) {
        var _this$overrides;
        this.sourceBuffers.forEach(([type]) => {
          if (type) {
            const track = this.tracks[type];
            if (!data.type || data.type === type) {
              track.ending = true;
              if (!track.ended) {
                track.ended = true;
                this.log(`${type} buffer reached EOS`);
              }
            }
          }
        });
        const allowEndOfStream = ((_this$overrides = this.overrides) == null ? void 0 : _this$overrides.endOfStream) !== false;
        const allTracksEnding = this.sourceBufferCount > 0 && !this.sourceBuffers.some(([type]) => {
          var _this$tracks$type3;
          return type && !((_this$tracks$type3 = this.tracks[type]) != null && _this$tracks$type3.ended);
        });
        if (allTracksEnding) {
          if (allowEndOfStream) {
            this.log(`Queueing EOS`);
            this.blockUntilOpen(() => {
              this.tracksEnded();
              const {
                mediaSource
              } = this;
              if (!mediaSource || mediaSource.readyState !== 'open') {
                if (mediaSource) {
                  this.log(`Could not call mediaSource.endOfStream(). mediaSource.readyState: ${mediaSource.readyState}`);
                }
                return;
              }
              this.log(`Calling mediaSource.endOfStream()`);
              // Allow this to throw and be caught by the enqueueing function
              mediaSource.endOfStream();
              this.hls.trigger(Events.BUFFERED_TO_END, undefined);
            });
          } else {
            this.tracksEnded();
            this.hls.trigger(Events.BUFFERED_TO_END, undefined);
          }
        } else if (data.type === 'video') {
          // Make sure pending audio appends are unblocked when video reaches end
          this.unblockAudio();
        }
      }
      tracksEnded() {
        this.sourceBuffers.forEach(([type]) => {
          if (type !== null) {
            const track = this.tracks[type];
            if (track) {
              track.ending = false;
            }
          }
        });
      }
      onLevelUpdated(event, {
        details
      }) {
        if (!details.fragments.length) {
          return;
        }
        this.details = details;
        this.updateDuration();
      }
      updateDuration() {
        this.blockUntilOpen(() => {
          const durationAndRange = this.getDurationAndRange();
          if (!durationAndRange) {
            return;
          }
          this.updateMediaSource(durationAndRange);
        });
      }
      onError(event, data) {
        if (data.details === ErrorDetails.BUFFER_APPEND_ERROR && data.frag) {
          var _data$errorAction;
          const nextAutoLevel = (_data$errorAction = data.errorAction) == null ? void 0 : _data$errorAction.nextAutoLevel;
          if (isFiniteNumber(nextAutoLevel) && nextAutoLevel !== data.frag.level) {
            this.resetAppendErrors();
          }
        }
      }
      resetAppendErrors() {
        this.appendErrors = {
          audio: 0,
          video: 0,
          audiovideo: 0
        };
      }
      trimBuffers() {
        const {
          hls,
          details,
          media
        } = this;
        if (!media || details === null) {
          return;
        }
        if (!this.sourceBufferCount) {
          return;
        }
        const config = hls.config;
        const currentTime = media.currentTime;
        const targetDuration = details.levelTargetDuration;
    
        // Support for deprecated liveBackBufferLength
        const backBufferLength = details.live && config.liveBackBufferLength !== null ? config.liveBackBufferLength : config.backBufferLength;
        if (isFiniteNumber(backBufferLength) && backBufferLength >= 0) {
          const maxBackBufferLength = Math.max(backBufferLength, targetDuration);
          const targetBackBufferPosition = Math.floor(currentTime / targetDuration) * targetDuration - maxBackBufferLength;
          this.flushBackBuffer(currentTime, targetDuration, targetBackBufferPosition);
        }
        const frontBufferFlushThreshold = config.frontBufferFlushThreshold;
        if (isFiniteNumber(frontBufferFlushThreshold) && frontBufferFlushThreshold > 0) {
          const frontBufferLength = Math.max(config.maxBufferLength, frontBufferFlushThreshold);
          const maxFrontBufferLength = Math.max(frontBufferLength, targetDuration);
          const targetFrontBufferPosition = Math.floor(currentTime / targetDuration) * targetDuration + maxFrontBufferLength;
          this.flushFrontBuffer(currentTime, targetDuration, targetFrontBufferPosition);
        }
      }
      flushBackBuffer(currentTime, targetDuration, targetBackBufferPosition) {
        this.sourceBuffers.forEach(([type, sb]) => {
          if (sb) {
            const buffered = BufferHelper.getBuffered(sb);
            // when target buffer start exceeds actual buffer start
            if (buffered.length > 0 && targetBackBufferPosition > buffered.start(0)) {
              var _this$details;
              this.hls.trigger(Events.BACK_BUFFER_REACHED, {
                bufferEnd: targetBackBufferPosition
              });
    
              // Support for deprecated event:
              const track = this.tracks[type];
              if ((_this$details = this.details) != null && _this$details.live) {
                this.hls.trigger(Events.LIVE_BACK_BUFFER_REACHED, {
                  bufferEnd: targetBackBufferPosition
                });
              } else if (track != null && track.ended) {
                this.log(`Cannot flush ${type} back buffer while SourceBuffer is in ended state`);
                return;
              }
              this.hls.trigger(Events.BUFFER_FLUSHING, {
                startOffset: 0,
                endOffset: targetBackBufferPosition,
                type
              });
            }
          }
        });
      }
      flushFrontBuffer(currentTime, targetDuration, targetFrontBufferPosition) {
        this.sourceBuffers.forEach(([type, sb]) => {
          if (sb) {
            const buffered = BufferHelper.getBuffered(sb);
            const numBufferedRanges = buffered.length;
            // The buffer is either empty or contiguous
            if (numBufferedRanges < 2) {
              return;
            }
            const bufferStart = buffered.start(numBufferedRanges - 1);
            const bufferEnd = buffered.end(numBufferedRanges - 1);
            // No flush if we can tolerate the current buffer length or the current buffer range we would flush is contiguous with current position
            if (targetFrontBufferPosition > bufferStart || currentTime >= bufferStart && currentTime <= bufferEnd) {
              return;
            }
            this.hls.trigger(Events.BUFFER_FLUSHING, {
              startOffset: bufferStart,
              endOffset: Infinity,
              type
            });
          }
        });
      }
    
      /**
       * Update Media Source duration to current level duration or override to Infinity if configuration parameter
       * 'liveDurationInfinity` is set to `true`
       * More details: https://github.com/video-dev/hls.js/issues/355
       */
      getDurationAndRange() {
        var _this$overrides2;
        const {
          details,
          mediaSource
        } = this;
        if (!details || !this.media || (mediaSource == null ? void 0 : mediaSource.readyState) !== 'open') {
          return null;
        }
        const playlistEnd = details.edge;
        if (details.live && this.hls.config.liveDurationInfinity) {
          const len = details.fragments.length;
          if (len && !!mediaSource.setLiveSeekableRange) {
            const start = Math.max(0, details.fragmentStart);
            const end = Math.max(start, playlistEnd);
            return {
              duration: Infinity,
              start,
              end
            };
          }
          return {
            duration: Infinity
          };
        }
        const overrideDuration = (_this$overrides2 = this.overrides) == null ? void 0 : _this$overrides2.duration;
        if (overrideDuration) {
          if (!isFiniteNumber(overrideDuration)) {
            return null;
          }
          return {
            duration: overrideDuration
          };
        }
        const mediaDuration = this.media.duration;
        const msDuration = isFiniteNumber(mediaSource.duration) ? mediaSource.duration : 0;
        if (playlistEnd > msDuration && playlistEnd > mediaDuration || !isFiniteNumber(mediaDuration)) {
          return {
            duration: playlistEnd
          };
        }
        return null;
      }
      updateMediaSource({
        duration,
        start,
        end
      }) {
        const mediaSource = this.mediaSource;
        if (!this.media || !mediaSource || mediaSource.readyState !== 'open') {
          return;
        }
        if (mediaSource.duration !== duration) {
          if (isFiniteNumber(duration)) {
            this.log(`Updating MediaSource duration to ${duration.toFixed(3)}`);
          }
          mediaSource.duration = duration;
        }
        if (start !== undefined && end !== undefined) {
          this.log(`MediaSource duration is set to ${mediaSource.duration}. Setting seekable range to ${start}-${end}.`);
          mediaSource.setLiveSeekableRange(start, end);
        }
      }
      get tracksReady() {
        const pendingTrackCount = this.pendingTrackCount;
        return pendingTrackCount > 0 && (pendingTrackCount >= this.bufferCodecEventsTotal || this.isPending(this.tracks.audiovideo));
      }
      checkPendingTracks() {
        const {
          bufferCodecEventsTotal,
          pendingTrackCount,
          tracks
        } = this;
        this.log(`checkPendingTracks (pending: ${pendingTrackCount} codec events expected: ${bufferCodecEventsTotal}) ${stringify(tracks)}`);
        // Check if we've received all of the expected bufferCodec events. When none remain, create all the sourceBuffers at once.
        // This is important because the MSE spec allows implementations to throw QuotaExceededErrors if creating new sourceBuffers after
        // data has been appended to existing ones.
        // 2 tracks is the max (one for audio, one for video). If we've reach this max go ahead and create the buffers.
        if (this.tracksReady) {
          var _this$transferData4;
          const transferredTracks = (_this$transferData4 = this.transferData) == null ? void 0 : _this$transferData4.tracks;
          if (transferredTracks && Object.keys(transferredTracks).length) {
            this.attachTransferred();
          } else {
            // ok, let's create them now !
            this.createSourceBuffers();
          }
        }
      }
      bufferCreated() {
        if (this.sourceBufferCount) {
          const tracks = {};
          this.sourceBuffers.forEach(([type, buffer]) => {
            if (type) {
              const track = this.tracks[type];
              tracks[type] = {
                buffer,
                container: track.container,
                codec: track.codec,
                supplemental: track.supplemental,
                levelCodec: track.levelCodec,
                id: track.id,
                metadata: track.metadata
              };
            }
          });
          this.hls.trigger(Events.BUFFER_CREATED, {
            tracks
          });
          this.log(`SourceBuffers created. Running queue: ${this.operationQueue}`);
          this.sourceBuffers.forEach(([type]) => {
            this.executeNext(type);
          });
        } else {
          const error = new Error('could not create source buffer for media codec(s)');
          this.hls.trigger(Events.ERROR, {
            type: ErrorTypes.MEDIA_ERROR,
            details: ErrorDetails.BUFFER_INCOMPATIBLE_CODECS_ERROR,
            fatal: true,
            error,
            reason: error.message
          });
        }
      }
      createSourceBuffers() {
        const {
          tracks,
          sourceBuffers,
          mediaSource
        } = this;
        if (!mediaSource) {
          throw new Error('createSourceBuffers called when mediaSource was null');
        }
        for (const trackName in tracks) {
          const type = trackName;
          const track = tracks[type];
          if (this.isPending(track)) {
            const codec = this.getTrackCodec(track, type);
            const mimeType = `${track.container};codecs=${codec}`;
            track.codec = codec;
            this.log(`creating sourceBuffer(${mimeType})${this.currentOp(type) ? ' Queued' : ''} ${stringify(track)}`);
            try {
              const sb = mediaSource.addSourceBuffer(mimeType);
              const sbIndex = sourceBufferNameToIndex(type);
              const sbTuple = [type, sb];
              sourceBuffers[sbIndex] = sbTuple;
              track.buffer = sb;
            } catch (error) {
              var _this$operationQueue;
              this.error(`error while trying to add sourceBuffer: ${error.message}`);
              // remove init segment from queue and delete track info
              this.shiftAndExecuteNext(type);
              (_this$operationQueue = this.operationQueue) == null || _this$operationQueue.removeBlockers();
              delete this.tracks[type];
              this.hls.trigger(Events.ERROR, {
                type: ErrorTypes.MEDIA_ERROR,
                details: ErrorDetails.BUFFER_ADD_CODEC_ERROR,
                fatal: false,
                error,
                sourceBufferName: type,
                mimeType: mimeType,
                parent: track.id
              });
              return;
            }
            this.trackSourceBuffer(type, track);
          }
        }
        this.bufferCreated();
      }
      getTrackCodec(track, trackName) {
        // Use supplemental video codec when supported when adding SourceBuffer (#5558)
        const supplementalCodec = track.supplemental;
        let trackCodec = track.codec;
        if (supplementalCodec && (trackName === 'video' || trackName === 'audiovideo') && areCodecsMediaSourceSupported(supplementalCodec, 'video')) {
          trackCodec = replaceVideoCodec(trackCodec, supplementalCodec);
        }
        const codec = pickMostCompleteCodecName(trackCodec, track.levelCodec);
        if (codec) {
          if (trackName.slice(0, 5) === 'audio') {
            return getCodecCompatibleName(codec, this.appendSource);
          }
          return codec;
        }
        return '';
      }
      trackSourceBuffer(type, track) {
        const buffer = track.buffer;
        if (!buffer) {
          return;
        }
        const codec = this.getTrackCodec(track, type);
        this.tracks[type] = {
          buffer,
          codec,
          container: track.container,
          levelCodec: track.levelCodec,
          supplemental: track.supplemental,
          metadata: track.metadata,
          id: track.id,
          listeners: []
        };
        this.removeBufferListeners(type);
        this.addBufferListener(type, 'updatestart', this.onSBUpdateStart);
        this.addBufferListener(type, 'updateend', this.onSBUpdateEnd);
        this.addBufferListener(type, 'error', this.onSBUpdateError);
        // ManagedSourceBuffer bufferedchange event
        if (this.appendSource) {
          this.addBufferListener(type, 'bufferedchange', (type, event) => {
            // If media was ejected check for a change. Added ranges are redundant with changes on 'updateend' event.
            const removedRanges = event.removedRanges;
            if (removedRanges != null && removedRanges.length) {
              this.hls.trigger(Events.BUFFER_FLUSHED, {
                type: type
              });
            }
          });
        }
      }
      get mediaSrc() {
        var _this$media2, _this$media2$querySel;
        const media = ((_this$media2 = this.media) == null || (_this$media2$querySel = _this$media2.querySelector) == null ? void 0 : _this$media2$querySel.call(_this$media2, 'source')) || this.media;
        return media == null ? void 0 : media.src;
      }
      onSBUpdateStart(type) {
        const operation = this.currentOp(type);
        if (!operation) {
          return;
        }
        operation.onStart();
      }
      onSBUpdateEnd(type) {
        var _this$mediaSource4;
        if (((_this$mediaSource4 = this.mediaSource) == null ? void 0 : _this$mediaSource4.readyState) === 'closed') {
          this.resetBuffer(type);
          return;
        }
        const operation = this.currentOp(type);
        if (!operation) {
          return;
        }
        operation.onComplete();
        this.shiftAndExecuteNext(type);
      }
      onSBUpdateError(type, event) {
        var _this$mediaSource5;
        const error = new Error(`${type} SourceBuffer error. MediaSource readyState: ${(_this$mediaSource5 = this.mediaSource) == null ? void 0 : _this$mediaSource5.readyState}`);
        this.error(`${error}`, event);
        // according to http://www.w3.org/TR/media-source/#sourcebuffer-append-error
        // SourceBuffer errors are not necessarily fatal; if so, the HTMLMediaElement will fire an error event
        this.hls.trigger(Events.ERROR, {
          type: ErrorTypes.MEDIA_ERROR,
          details: ErrorDetails.BUFFER_APPENDING_ERROR,
          sourceBufferName: type,
          error,
          fatal: false
        });
        // updateend is always fired after error, so we'll allow that to shift the current operation off of the queue
        const operation = this.currentOp(type);
        if (operation) {
          operation.onError(error);
        }
      }
      updateTimestampOffset(sb, timestampOffset, tolerance, type, sn, cc) {
        const delta = timestampOffset - sb.timestampOffset;
        if (Math.abs(delta) >= tolerance) {
          this.log(`Updating ${type} SourceBuffer timestampOffset to ${timestampOffset} (sn: ${sn} cc: ${cc})`);
          sb.timestampOffset = timestampOffset;
        }
      }
    
      // This method must result in an updateend event; if remove is not called, onSBUpdateEnd must be called manually
      removeExecutor(type, startOffset, endOffset) {
        const {
          media,
          mediaSource
        } = this;
        const track = this.tracks[type];
        const sb = track == null ? void 0 : track.buffer;
        if (!media || !mediaSource || !sb) {
          this.warn(`Attempting to remove from the ${type} SourceBuffer, but it does not exist`);
          this.shiftAndExecuteNext(type);
          return;
        }
        const mediaDuration = isFiniteNumber(media.duration) ? media.duration : Infinity;
        const msDuration = isFiniteNumber(mediaSource.duration) ? mediaSource.duration : Infinity;
        const removeStart = Math.max(0, startOffset);
        const removeEnd = Math.min(endOffset, mediaDuration, msDuration);
        if (removeEnd > removeStart && (!track.ending || track.ended)) {
          track.ended = false;
          this.log(`Removing [${removeStart},${removeEnd}] from the ${type} SourceBuffer`);
          sb.remove(removeStart, removeEnd);
        } else {
          // Cycle the queue
          this.shiftAndExecuteNext(type);
        }
      }
    
      // This method must result in an updateend event; if append is not called, onSBUpdateEnd must be called manually
      appendExecutor(data, type) {
        const track = this.tracks[type];
        const sb = track == null ? void 0 : track.buffer;
        if (!sb) {
          throw new HlsJsTrackRemovedError(`Attempting to append to the ${type} SourceBuffer, but it does not exist`);
        }
        track.ending = false;
        track.ended = false;
        sb.appendBuffer(data);
      }
      blockUntilOpen(callback) {
        if (this.isUpdating() || this.isQueued()) {
          this.blockBuffers(callback).catch(error => {
            this.warn(`SourceBuffer blocked callback ${error}`);
            this.stepOperationQueue(this.sourceBufferTypes);
          });
        } else {
          try {
            callback();
          } catch (error) {
            this.warn(`Callback run without blocking ${this.operationQueue} ${error}`);
          }
        }
      }
      isUpdating() {
        return this.sourceBuffers.some(([type, sb]) => type && sb.updating);
      }
      isQueued() {
        return this.sourceBuffers.some(([type]) => type && !!this.currentOp(type));
      }
      isPending(track) {
        return !!track && !track.buffer;
      }
    
      // Enqueues an operation to each SourceBuffer queue which, upon execution, resolves a promise. When all promises
      // resolve, the onUnblocked function is executed. Functions calling this method do not need to unblock the queue
      // upon completion, since we already do it here
      blockBuffers(onUnblocked, bufferNames = this.sourceBufferTypes) {
        if (!bufferNames.length) {
          this.log('Blocking operation requested, but no SourceBuffers exist');
          return Promise.resolve().then(onUnblocked);
        }
        const {
          operationQueue
        } = this;
    
        // logger.debug(`[buffer-controller]: Blocking ${buffers} SourceBuffer`);
        const blockingOperations = bufferNames.map(type => this.appendBlocker(type));
        const audioBlocked = bufferNames.length > 1 && !!this.blockedAudioAppend;
        if (audioBlocked) {
          this.unblockAudio();
        }
        return Promise.all(blockingOperations).then(result => {
          if (operationQueue !== this.operationQueue) {
            return;
          }
          // logger.debug(`[buffer-controller]: Blocking operation resolved; unblocking ${buffers} SourceBuffer`);
          onUnblocked();
          this.stepOperationQueue(this.sourceBufferTypes);
        });
      }
      stepOperationQueue(bufferNames) {
        bufferNames.forEach(type => {
          var _this$tracks$type4;
          const sb = (_this$tracks$type4 = this.tracks[type]) == null ? void 0 : _this$tracks$type4.buffer;
          // Only cycle the queue if the SB is not updating. There's a bug in Chrome which sets the SB updating flag to
          // true when changing the MediaSource duration (https://bugs.chromium.org/p/chromium/issues/detail?id=959359&can=2&q=mediasource%20duration)
          // While this is a workaround, it's probably useful to have around
          if (!sb || sb.updating) {
            return;
          }
          this.shiftAndExecuteNext(type);
        });
      }
      append(operation, type, pending) {
        if (this.operationQueue) {
          this.operationQueue.append(operation, type, pending);
        }
      }
      appendBlocker(type) {
        if (this.operationQueue) {
          return this.operationQueue.appendBlocker(type);
        }
      }
      currentOp(type) {
        if (this.operationQueue) {
          return this.operationQueue.current(type);
        }
        return null;
      }
      executeNext(type) {
        if (type && this.operationQueue) {
          this.operationQueue.executeNext(type);
        }
      }
      shiftAndExecuteNext(type) {
        if (this.operationQueue) {
          this.operationQueue.shiftAndExecuteNext(type);
        }
      }
      get pendingTrackCount() {
        return Object.keys(this.tracks).reduce((acc, type) => acc + (this.isPending(this.tracks[type]) ? 1 : 0), 0);
      }
      get sourceBufferCount() {
        return this.sourceBuffers.reduce((acc, [type]) => acc + (type ? 1 : 0), 0);
      }
      get sourceBufferTypes() {
        return this.sourceBuffers.map(([type]) => type).filter(type => !!type);
      }
      addBufferListener(type, event, fn) {
        const track = this.tracks[type];
        if (!track) {
          return;
        }
        const buffer = track.buffer;
        if (!buffer) {
          return;
        }
        const listener = fn.bind(this, type);
        track.listeners.push({
          event,
          listener
        });
        buffer.addEventListener(event, listener);
      }
      removeBufferListeners(type) {
        const track = this.tracks[type];
        if (!track) {
          return;
        }
        const buffer = track.buffer;
        if (!buffer) {
          return;
        }
        track.listeners.forEach(l => {
          buffer.removeEventListener(l.event, l.listener);
        });
        track.listeners.length = 0;
      }
    }
    function removeSourceChildren(node) {
      const sourceChildren = node.querySelectorAll('source');
      [].slice.call(sourceChildren).forEach(source => {
        node.removeChild(source);
      });
    }
    function addSource(media, url) {
      const source = self.document.createElement('source');
      source.type = 'video/mp4';
      source.src = url;
      media.appendChild(source);
    }
    function sourceBufferNameToIndex(type) {
      return type === 'audio' ? 1 : 0;
    }
    
    class CapLevelController {
      constructor(hls) {
        this.hls = void 0;
        this.autoLevelCapping = void 0;
        this.firstLevel = void 0;
        this.media = void 0;
        this.restrictedLevels = void 0;
        this.timer = void 0;
        this.clientRect = void 0;
        this.streamController = void 0;
        this.hls = hls;
        this.autoLevelCapping = Number.POSITIVE_INFINITY;
        this.firstLevel = -1;
        this.media = null;
        this.restrictedLevels = [];
        this.timer = undefined;
        this.clientRect = null;
        this.registerListeners();
      }
      setStreamController(streamController) {
        this.streamController = streamController;
      }
      destroy() {
        if (this.hls) {
          this.unregisterListener();
        }
        if (this.timer) {
          this.stopCapping();
        }
        this.media = null;
        this.clientRect = null;
        // @ts-ignore
        this.hls = this.streamController = null;
      }
      registerListeners() {
        const {
          hls
        } = this;
        hls.on(Events.FPS_DROP_LEVEL_CAPPING, this.onFpsDropLevelCapping, this);
        hls.on(Events.MEDIA_ATTACHING, this.onMediaAttaching, this);
        hls.on(Events.MANIFEST_PARSED, this.onManifestParsed, this);
        hls.on(Events.LEVELS_UPDATED, this.onLevelsUpdated, this);
        hls.on(Events.BUFFER_CODECS, this.onBufferCodecs, this);
        hls.on(Events.MEDIA_DETACHING, this.onMediaDetaching, this);
      }
      unregisterListener() {
        const {
          hls
        } = this;
        hls.off(Events.FPS_DROP_LEVEL_CAPPING, this.onFpsDropLevelCapping, this);
        hls.off(Events.MEDIA_ATTACHING, this.onMediaAttaching, this);
        hls.off(Events.MANIFEST_PARSED, this.onManifestParsed, this);
        hls.off(Events.LEVELS_UPDATED, this.onLevelsUpdated, this);
        hls.off(Events.BUFFER_CODECS, this.onBufferCodecs, this);
        hls.off(Events.MEDIA_DETACHING, this.onMediaDetaching, this);
      }
      onFpsDropLevelCapping(event, data) {
        // Don't add a restricted level more than once
        const level = this.hls.levels[data.droppedLevel];
        if (this.isLevelAllowed(level)) {
          this.restrictedLevels.push({
            bitrate: level.bitrate,
            height: level.height,
            width: level.width
          });
        }
      }
      onMediaAttaching(event, data) {
        this.media = data.media instanceof HTMLVideoElement ? data.media : null;
        this.clientRect = null;
        if (this.timer && this.hls.levels.length) {
          this.detectPlayerSize();
        }
      }
      onManifestParsed(event, data) {
        const hls = this.hls;
        this.restrictedLevels = [];
        this.firstLevel = data.firstLevel;
        if (hls.config.capLevelToPlayerSize && data.video) {
          // Start capping immediately if the manifest has signaled video codecs
          this.startCapping();
        }
      }
      onLevelsUpdated(event, data) {
        if (this.timer && isFiniteNumber(this.autoLevelCapping)) {
          this.detectPlayerSize();
        }
      }
    
      // Only activate capping when playing a video stream; otherwise, multi-bitrate audio-only streams will be restricted
      // to the first level
      onBufferCodecs(event, data) {
        const hls = this.hls;
        if (hls.config.capLevelToPlayerSize && data.video) {
          // If the manifest did not signal a video codec capping has been deferred until we're certain video is present
          this.startCapping();
        }
      }
      onMediaDetaching() {
        this.stopCapping();
        this.media = null;
      }
      detectPlayerSize() {
        if (this.media) {
          if (this.mediaHeight <= 0 || this.mediaWidth <= 0) {
            this.clientRect = null;
            return;
          }
          const levels = this.hls.levels;
          if (levels.length) {
            const hls = this.hls;
            const maxLevel = this.getMaxLevel(levels.length - 1);
            if (maxLevel !== this.autoLevelCapping) {
              hls.logger.log(`Setting autoLevelCapping to ${maxLevel}: ${levels[maxLevel].height}p@${levels[maxLevel].bitrate} for media ${this.mediaWidth}x${this.mediaHeight}`);
            }
            hls.autoLevelCapping = maxLevel;
            if (hls.autoLevelEnabled && hls.autoLevelCapping > this.autoLevelCapping && this.streamController) {
              // if auto level capping has a higher value for the previous one, flush the buffer using nextLevelSwitch
              // usually happen when the user go to the fullscreen mode.
              this.streamController.nextLevelSwitch();
            }
            this.autoLevelCapping = hls.autoLevelCapping;
          }
        }
      }
    
      /*
       * returns level should be the one with the dimensions equal or greater than the media (player) dimensions (so the video will be downscaled)
       */
      getMaxLevel(capLevelIndex) {
        const levels = this.hls.levels;
        if (!levels.length) {
          return -1;
        }
        const validLevels = levels.filter((level, index) => this.isLevelAllowed(level) && index <= capLevelIndex);
        this.clientRect = null;
        return CapLevelController.getMaxLevelByMediaSize(validLevels, this.mediaWidth, this.mediaHeight);
      }
      startCapping() {
        if (this.timer) {
          // Don't reset capping if started twice; this can happen if the manifest signals a video codec
          return;
        }
        this.autoLevelCapping = Number.POSITIVE_INFINITY;
        self.clearInterval(this.timer);
        this.timer = self.setInterval(this.detectPlayerSize.bind(this), 1000);
        this.detectPlayerSize();
      }
      stopCapping() {
        this.restrictedLevels = [];
        this.firstLevel = -1;
        this.autoLevelCapping = Number.POSITIVE_INFINITY;
        if (this.timer) {
          self.clearInterval(this.timer);
          this.timer = undefined;
        }
      }
      getDimensions() {
        if (this.clientRect) {
          return this.clientRect;
        }
        const media = this.media;
        const boundsRect = {
          width: 0,
          height: 0
        };
        if (media) {
          const clientRect = media.getBoundingClientRect();
          boundsRect.width = clientRect.width;
          boundsRect.height = clientRect.height;
          if (!boundsRect.width && !boundsRect.height) {
            // When the media element has no width or height (equivalent to not being in the DOM),
            // then use its width and height attributes (media.width, media.height)
            boundsRect.width = clientRect.right - clientRect.left || media.width || 0;
            boundsRect.height = clientRect.bottom - clientRect.top || media.height || 0;
          }
        }
        this.clientRect = boundsRect;
        return boundsRect;
      }
      get mediaWidth() {
        return this.getDimensions().width * this.contentScaleFactor;
      }
      get mediaHeight() {
        return this.getDimensions().height * this.contentScaleFactor;
      }
      get contentScaleFactor() {
        let pixelRatio = 1;
        if (!this.hls.config.ignoreDevicePixelRatio) {
          try {
            pixelRatio = self.devicePixelRatio;
          } catch (e) {
            /* no-op */
          }
        }
        return Math.min(pixelRatio, this.hls.config.maxDevicePixelRatio);
      }
      isLevelAllowed(level) {
        const restrictedLevels = this.restrictedLevels;
        return !restrictedLevels.some(restrictedLevel => {
          return level.bitrate === restrictedLevel.bitrate && level.width === restrictedLevel.width && level.height === restrictedLevel.height;
        });
      }
      static getMaxLevelByMediaSize(levels, width, height) {
        if (!(levels != null && levels.length)) {
          return -1;
        }
    
        // Levels can have the same dimensions but differing bandwidths - since levels are ordered, we can look to the next
        // to determine whether we've chosen the greatest bandwidth for the media's dimensions
        const atGreatestBandwidth = (curLevel, nextLevel) => {
          if (!nextLevel) {
            return true;
          }
          return curLevel.width !== nextLevel.width || curLevel.height !== nextLevel.height;
        };
    
        // If we run through the loop without breaking, the media's dimensions are greater than every level, so default to
        // the max level
        let maxLevelIndex = levels.length - 1;
        // Prevent changes in aspect-ratio from causing capping to toggle back and forth
        const squareSize = Math.max(width, height);
        for (let i = 0; i < levels.length; i += 1) {
          const level = levels[i];
          if ((level.width >= squareSize || level.height >= squareSize) && atGreatestBandwidth(level, levels[i + 1])) {
            maxLevelIndex = i;
            break;
          }
        }
        return maxLevelIndex;
      }
    }
    
    /**
     * Common Media Object Type
     *
     * @internal
     */
    const CmObjectType = {
      /**
       * text file, such as a manifest or playlist
       */
      MANIFEST: 'm',
      /**
       * audio only
       */
      AUDIO: 'a',
      /**
       * video only
       */
      VIDEO: 'v',
      /**
       * muxed audio and video
       */
      MUXED: 'av',
      /**
       * init segment
       */
      INIT: 'i',
      /**
       * caption or subtitle
       */
      CAPTION: 'c',
      /**
       * ISOBMFF timed text track
       */
      TIMED_TEXT: 'tt',
      /**
       * cryptographic key, license or certificate.
       */
      KEY: 'k',
      /**
       * other
       */
      OTHER: 'o'
    };
    
    /**
     * Common Media Client Data Object Type
     *
     * @group CMCD
     *
     * @beta
     *
     * @enum
     */
    const CmcdObjectType = CmObjectType;
    
    /**
     * Common Media Streaming Format
     *
     * @internal
     */
    const CmStreamingFormat = {
      /**
       * HTTP Live Streaming (HLS)
       */
      HLS: 'h'};
    
    /**
     * Common Media Client Data Streaming Format
     *
     * @group CMCD
     *
     * @enum
     *
     * @beta
     */
    const CmcdStreamingFormat = CmStreamingFormat;
    
    /**
     * Structured Field Item
     *
     * @group Structured Field
     *
     * @beta
     */
    class SfItem {
      constructor(value, params) {
        if (Array.isArray(value)) {
          value = value.map(v => v instanceof SfItem ? v : new SfItem(v));
        }
        this.value = value;
        this.params = params;
      }
    }
    
    const DICT = 'Dict';
    
    function format(value) {
      if (Array.isArray(value)) {
        return JSON.stringify(value);
      }
      if (value instanceof Map) {
        return 'Map{}';
      }
      if (value instanceof Set) {
        return 'Set{}';
      }
      if (typeof value === 'object') {
        return JSON.stringify(value);
      }
      return String(value);
    }
    function throwError(action, src, type, cause) {
      return new Error(`failed to ${action} "${format(src)}" as ${type}`, {
        cause
      });
    }
    
    function serializeError(src, type, cause) {
      return throwError('serialize', src, type, cause);
    }
    
    /**
     * A class to represent structured field tokens when `Symbol` is not available.
     *
     * @group Structured Field
     *
     * @beta
     */
    class SfToken {
      constructor(description) {
        this.description = description;
      }
    }
    
    const BARE_ITEM = 'Bare Item';
    
    const BOOLEAN = 'Boolean';
    
    // 4.1.9.  Serializing a Boolean
    //
    // Given a Boolean as input_boolean, return an ASCII string suitable for
    // use in a HTTP field value.
    //
    // 1.  If input_boolean is not a boolean, fail serialization.
    //
    // 2.  Let output be an empty string.
    //
    // 3.  Append "?" to output.
    //
    // 4.  If input_boolean is true, append "1" to output.
    //
    // 5.  If input_boolean is false, append "0" to output.
    //
    // 6.  Return output.
    function serializeBoolean(value) {
      if (typeof value !== 'boolean') {
        throw serializeError(value, BOOLEAN);
      }
      return value ? '?1' : '?0';
    }
    
    /**
     * Encodes binary data to base64
     *
     * @param binary - The binary data to encode
     * @returns The base64 encoded string
     *
     * @group Utils
     *
     * @beta
     */
    function encodeBase64(binary) {
      return btoa(String.fromCharCode(...binary));
    }
    
    const BYTES = 'Byte Sequence';
    
    // 4.1.8.  Serializing a Byte Sequence
    //
    // Given a Byte Sequence as input_bytes, return an ASCII string suitable
    // for use in a HTTP field value.
    //
    // 1.  If input_bytes is not a sequence of bytes, fail serialization.
    //
    // 2.  Let output be an empty string.
    //
    // 3.  Append ":" to output.
    //
    // 4.  Append the result of base64-encoding input_bytes as per
    //     [RFC4648], Section 4, taking account of the requirements below.
    //
    // 5.  Append ":" to output.
    //
    // 6.  Return output.
    //
    // The encoded data is required to be padded with "=", as per [RFC4648],
    // Section 3.2.
    //
    // Likewise, encoded data SHOULD have pad bits set to zero, as per
    // [RFC4648], Section 3.5, unless it is not possible to do so due to
    // implementation constraints.
    function serializeByteSequence(value) {
      if (ArrayBuffer.isView(value) === false) {
        throw serializeError(value, BYTES);
      }
      return `:${encodeBase64(value)}:`;
    }
    
    const INTEGER = 'Integer';
    
    function isInvalidInt(value) {
      return value < -999999999999999 || 999999999999999 < value;
    }
    
    // 4.1.4.  Serializing an Integer
    //
    // Given an Integer as input_integer, return an ASCII string suitable
    // for use in a HTTP field value.
    //
    // 1.  If input_integer is not an integer in the range of
    //     -999,999,999,999,999 to 999,999,999,999,999 inclusive, fail
    //     serialization.
    //
    // 2.  Let output be an empty string.
    //
    // 3.  If input_integer is less than (but not equal to) 0, append "-" to
    //     output.
    //
    // 4.  Append input_integer's numeric value represented in base 10 using
    //     only decimal digits to output.
    //
    // 5.  Return output.
    function serializeInteger(value) {
      if (isInvalidInt(value)) {
        throw serializeError(value, INTEGER);
      }
      return value.toString();
    }
    
    // 4.1.10.  Serializing a Date
    //
    // Given a Date as input_integer, return an ASCII string suitable for
    // use in an HTTP field value.
    // 1.  Let output be "@".
    // 2.  Append to output the result of running Serializing an Integer
    //     with input_date (Section 4.1.4).
    // 3.  Return output.
    function serializeDate(value) {
      return `@${serializeInteger(value.getTime() / 1000)}`;
    }
    
    /**
     * This implements the rounding procedure described in step 2 of the "Serializing a Decimal" specification.
     * This rounding style is known as "even rounding", "banker's rounding", or "commercial rounding".
     *
     * @param value - The value to round
     * @param precision - The number of decimal places to round to
     * @returns The rounded value
     *
     * @group Utils
     *
     * @beta
     */
    function roundToEven(value, precision) {
      if (value < 0) {
        return -roundToEven(-value, precision);
      }
      const decimalShift = Math.pow(10, precision);
      const isEquidistant = Math.abs(value * decimalShift % 1 - 0.5) < Number.EPSILON;
      if (isEquidistant) {
        // If the tail of the decimal place is 'equidistant' we round to the nearest even value
        const flooredValue = Math.floor(value * decimalShift);
        return (flooredValue % 2 === 0 ? flooredValue : flooredValue + 1) / decimalShift;
      } else {
        // Otherwise, proceed as normal
        return Math.round(value * decimalShift) / decimalShift;
      }
    }
    
    const DECIMAL = 'Decimal';
    
    // 4.1.5.  Serializing a Decimal
    //
    // Given a decimal number as input_decimal, return an ASCII string
    // suitable for use in a HTTP field value.
    //
    // 1.   If input_decimal is not a decimal number, fail serialization.
    //
    // 2.   If input_decimal has more than three significant digits to the
    //      right of the decimal point, round it to three decimal places,
    //      rounding the final digit to the nearest value, or to the even
    //      value if it is equidistant.
    //
    // 3.   If input_decimal has more than 12 significant digits to the left
    //      of the decimal point after rounding, fail serialization.
    //
    // 4.   Let output be an empty string.
    //
    // 5.   If input_decimal is less than (but not equal to) 0, append "-"
    //      to output.
    //
    // 6.   Append input_decimal's integer component represented in base 10
    //      (using only decimal digits) to output; if it is zero, append
    //      "0".
    //
    // 7.   Append "." to output.
    //
    // 8.   If input_decimal's fractional component is zero, append "0" to
    //      output.
    //
    // 9.   Otherwise, append the significant digits of input_decimal's
    //      fractional component represented in base 10 (using only decimal
    //      digits) to output.
    //
    // 10.  Return output.
    function serializeDecimal(value) {
      const roundedValue = roundToEven(value, 3); // round to 3 decimal places
      if (Math.floor(Math.abs(roundedValue)).toString().length > 12) {
        throw serializeError(value, DECIMAL);
      }
      const stringValue = roundedValue.toString();
      return stringValue.includes('.') ? stringValue : `${stringValue}.0`;
    }
    
    const STRING = 'String';
    
    const STRING_REGEX = /[\x00-\x1f\x7f]+/;
    
    // 4.1.6.  Serializing a String
    //
    // Given a String as input_string, return an ASCII string suitable for
    // use in a HTTP field value.
    //
    // 1.  Convert input_string into a sequence of ASCII characters; if
    //     conversion fails, fail serialization.
    //
    // 2.  If input_string contains characters in the range %x00-1f or %x7f
    //     (i.e., not in VCHAR or SP), fail serialization.
    //
    // 3.  Let output be the string DQUOTE.
    //
    // 4.  For each character char in input_string:
    //
    //     1.  If char is "\" or DQUOTE:
    //
    //         1.  Append "\" to output.
    //
    //     2.  Append char to output.
    //
    // 5.  Append DQUOTE to output.
    //
    // 6.  Return output.
    function serializeString(value) {
      if (STRING_REGEX.test(value)) {
        throw serializeError(value, STRING);
      }
      return `"${value.replace(/\\/g, `\\\\`).replace(/"/g, `\\"`)}"`;
    }
    
    /**
     * Converts a symbol to a string.
     *
     * @param symbol - The symbol to convert.
     *
     * @returns The string representation of the symbol.
     *
     * @internal
     */
    function symbolToStr(symbol) {
      return symbol.description || symbol.toString().slice(7, -1);
    }
    
    const TOKEN = 'Token';
    
    function serializeToken(token) {
      const value = symbolToStr(token);
      if (/^([a-zA-Z*])([!#$%&'*+\-.^_`|~\w:/]*)$/.test(value) === false) {
        throw serializeError(value, TOKEN);
      }
      return value;
    }
    
    // 4.1.3.1.  Serializing a Bare Item
    //
    // Given an Item as input_item, return an ASCII string suitable for use
    // in a HTTP field value.
    //
    // 1.  If input_item is an Integer, return the result of running
    //     Serializing an Integer (Section 4.1.4) with input_item.
    //
    // 2.  If input_item is a Decimal, return the result of running
    //     Serializing a Decimal (Section 4.1.5) with input_item.
    //
    // 3.  If input_item is a String, return the result of running
    //     Serializing a String (Section 4.1.6) with input_item.
    //
    // 4.  If input_item is a Token, return the result of running
    //     Serializing a Token (Section 4.1.7) with input_item.
    //
    // 5.  If input_item is a Boolean, return the result of running
    //     Serializing a Boolean (Section 4.1.9) with input_item.
    //
    // 6.  If input_item is a Byte Sequence, return the result of running
    //     Serializing a Byte Sequence (Section 4.1.8) with input_item.
    //
    // 7.  If input_item is a Date, return the result of running Serializing
    //     a Date (Section 4.1.10) with input_item.
    //
    // 8.  Otherwise, fail serialization.
    function serializeBareItem(value) {
      switch (typeof value) {
        case 'number':
          if (!isFiniteNumber(value)) {
            throw serializeError(value, BARE_ITEM);
          }
          if (Number.isInteger(value)) {
            return serializeInteger(value);
          }
          return serializeDecimal(value);
        case 'string':
          return serializeString(value);
        case 'symbol':
          return serializeToken(value);
        case 'boolean':
          return serializeBoolean(value);
        case 'object':
          if (value instanceof Date) {
            return serializeDate(value);
          }
          if (value instanceof Uint8Array) {
            return serializeByteSequence(value);
          }
          if (value instanceof SfToken) {
            return serializeToken(value);
          }
        default:
          // fail
          throw serializeError(value, BARE_ITEM);
      }
    }
    
    const KEY = 'Key';
    
    // 4.1.1.3.  Serializing a Key
    //
    // Given a key as input_key, return an ASCII string suitable for use in
    // a HTTP field value.
    //
    // 1.  Convert input_key into a sequence of ASCII characters; if
    //     conversion fails, fail serialization.
    //
    // 2.  If input_key contains characters not in lcalpha, DIGIT, "_", "-",
    //     ".", or "*" fail serialization.
    //
    // 3.  If the first character of input_key is not lcalpha or "*", fail
    //     serialization.
    //
    // 4.  Let output be an empty string.
    //
    // 5.  Append input_key to output.
    //
    // 6.  Return output.
    function serializeKey(value) {
      if (/^[a-z*][a-z0-9\-_.*]*$/.test(value) === false) {
        throw serializeError(value, KEY);
      }
      return value;
    }
    
    // 4.1.1.2.  Serializing Parameters
    //
    // Given an ordered Dictionary as input_parameters (each member having a
    // param_name and a param_value), return an ASCII string suitable for
    // use in a HTTP field value.
    //
    // 1.  Let output be an empty string.
    //
    // 2.  For each param_name with a value of param_value in
    //     input_parameters:
    //
    //     1.  Append ";" to output.
    //
    //     2.  Append the result of running Serializing a Key
    //         (Section 4.1.1.3) with param_name to output.
    //
    //     3.  If param_value is not Boolean true:
    //
    //         1.  Append "=" to output.
    //
    //         2.  Append the result of running Serializing a bare Item
    //             (Section 4.1.3.1) with param_value to output.
    //
    // 3.  Return output.
    function serializeParams(params) {
      if (params == null) {
        return '';
      }
      return Object.entries(params).map(([key, value]) => {
        if (value === true) {
          return `;${serializeKey(key)}`; // omit true
        }
        return `;${serializeKey(key)}=${serializeBareItem(value)}`;
      }).join('');
    }
    
    // 4.1.3.  Serializing an Item
    //
    // Given an Item as bare_item and Parameters as item_parameters, return
    // an ASCII string suitable for use in a HTTP field value.
    //
    // 1.  Let output be an empty string.
    //
    // 2.  Append the result of running Serializing a Bare Item
    //     Section 4.1.3.1 with bare_item to output.
    //
    // 3.  Append the result of running Serializing Parameters
    //     Section 4.1.1.2 with item_parameters to output.
    //
    // 4.  Return output.
    function serializeItem(value) {
      if (value instanceof SfItem) {
        return `${serializeBareItem(value.value)}${serializeParams(value.params)}`;
      } else {
        return serializeBareItem(value);
      }
    }
    
    // 4.1.1.1.  Serializing an Inner List
    //
    // Given an array of (member_value, parameters) tuples as inner_list,
    // and parameters as list_parameters, return an ASCII string suitable
    // for use in a HTTP field value.
    //
    // 1.  Let output be the string "(".
    //
    // 2.  For each (member_value, parameters) of inner_list:
    //
    //     1.  Append the result of running Serializing an Item
    //         (Section 4.1.3) with (member_value, parameters) to output.
    //
    //     2.  If more values remain in inner_list, append a single SP to
    //         output.
    //
    // 3.  Append ")" to output.
    //
    // 4.  Append the result of running Serializing Parameters
    //     (Section 4.1.1.2) with list_parameters to output.
    //
    // 5.  Return output.
    function serializeInnerList(value) {
      return `(${value.value.map(serializeItem).join(' ')})${serializeParams(value.params)}`;
    }
    
    // 4.1.2.  Serializing a Dictionary
    //
    // Given an ordered Dictionary as input_dictionary (each member having a
    // member_name and a tuple value of (member_value, parameters)), return
    // an ASCII string suitable for use in a HTTP field value.
    //
    // 1.  Let output be an empty string.
    //
    // 2.  For each member_name with a value of (member_value, parameters)
    //     in input_dictionary:
    //
    //     1.  Append the result of running Serializing a Key
    //         (Section 4.1.1.3) with member's member_name to output.
    //
    //     2.  If member_value is Boolean true:
    //
    //         1.  Append the result of running Serializing Parameters
    //             (Section 4.1.1.2) with parameters to output.
    //
    //     3.  Otherwise:
    //
    //         1.  Append "=" to output.
    //
    //         2.  If member_value is an array, append the result of running
    //             Serializing an Inner List (Section 4.1.1.1) with
    //             (member_value, parameters) to output.
    //
    //         3.  Otherwise, append the result of running Serializing an
    //             Item (Section 4.1.3) with (member_value, parameters) to
    //             output.
    //
    //     4.  If more members remain in input_dictionary:
    //
    //         1.  Append "," to output.
    //
    //         2.  Append a single SP to output.
    //
    // 3.  Return output.
    function serializeDict(dict, options = {
      whitespace: true
    }) {
      if (typeof dict !== 'object' || dict == null) {
        throw serializeError(dict, DICT);
      }
      const entries = dict instanceof Map ? dict.entries() : Object.entries(dict);
      const optionalWhiteSpace = (options === null || options === void 0 ? void 0 : options.whitespace) ? ' ' : '';
      return Array.from(entries).map(([key, item]) => {
        if (item instanceof SfItem === false) {
          item = new SfItem(item);
        }
        let output = serializeKey(key);
        if (item.value === true) {
          output += serializeParams(item.params);
        } else {
          output += '=';
          if (Array.isArray(item.value)) {
            output += serializeInnerList(item);
          } else {
            output += serializeItem(item);
          }
        }
        return output;
      }).join(`,${optionalWhiteSpace}`);
    }
    
    /**
     * Encode an object into a structured field dictionary
     *
     * @param value - The structured field dictionary to encode
     * @param options - Encoding options
     *
     * @returns The structured field string
     *
     * @group Structured Field
     *
     * @beta
     */
    function encodeSfDict(value, options) {
      return serializeDict(value, options);
    }
    
    /**
     * CMCD object header name.
     *
     * @group CMCD
     *
     * @beta
     */
    const CMCD_OBJECT = 'CMCD-Object';
    
    /**
     * CMCD request header name.
     *
     * @group CMCD
     *
     * @beta
     */
    const CMCD_REQUEST = 'CMCD-Request';
    
    /**
     * CMCD session header name.
     *
     * @group CMCD
     *
     * @beta
     */
    const CMCD_SESSION = 'CMCD-Session';
    
    /**
     * CMCD status header name.
     *
     * @group CMCD
     *
     * @beta
     */
    const CMCD_STATUS = 'CMCD-Status';
    
    /**
     * The map of CMCD keys to their appropriate header shard.
     *
     * @group CMCD
     *
     * @internal
     */
    const CMCD_HEADER_MAP = {
      // Object
      br: CMCD_OBJECT,
      ab: CMCD_OBJECT,
      d: CMCD_OBJECT,
      ot: CMCD_OBJECT,
      tb: CMCD_OBJECT,
      tpb: CMCD_OBJECT,
      lb: CMCD_OBJECT,
      tab: CMCD_OBJECT,
      lab: CMCD_OBJECT,
      url: CMCD_OBJECT,
      // Request
      pb: CMCD_REQUEST,
      bl: CMCD_REQUEST,
      tbl: CMCD_REQUEST,
      dl: CMCD_REQUEST,
      ltc: CMCD_REQUEST,
      mtp: CMCD_REQUEST,
      nor: CMCD_REQUEST,
      nrr: CMCD_REQUEST,
      rc: CMCD_REQUEST,
      sn: CMCD_REQUEST,
      sta: CMCD_REQUEST,
      su: CMCD_REQUEST,
      ttfb: CMCD_REQUEST,
      ttfbb: CMCD_REQUEST,
      ttlb: CMCD_REQUEST,
      cmsdd: CMCD_REQUEST,
      cmsds: CMCD_REQUEST,
      smrt: CMCD_REQUEST,
      df: CMCD_REQUEST,
      cs: CMCD_REQUEST,
      // TODO: Which header to put the `ts` field is not defined yet.
      ts: CMCD_REQUEST,
      // Session
      cid: CMCD_SESSION,
      pr: CMCD_SESSION,
      sf: CMCD_SESSION,
      sid: CMCD_SESSION,
      st: CMCD_SESSION,
      v: CMCD_SESSION,
      msd: CMCD_SESSION,
      // Status
      bs: CMCD_STATUS,
      bsd: CMCD_STATUS,
      cdn: CMCD_STATUS,
      rtp: CMCD_STATUS,
      bg: CMCD_STATUS,
      pt: CMCD_STATUS,
      ec: CMCD_STATUS,
      e: CMCD_STATUS
    };
    
    /**
     * CMCD header fields.
     *
     * @group CMCD
     *
     * @enum
     *
     * @beta
     */
    const CmcdHeaderField = {
      /**
       * keys whose values vary with each request.
       */
      REQUEST: CMCD_REQUEST};
    
    function createHeaderMap(headerMap) {
      return Object.keys(headerMap).reduce((acc, field) => {
        var _a;
        (_a = headerMap[field]) === null || _a === void 0 ? void 0 : _a.forEach(key => acc[key] = field);
        return acc;
      }, {});
    }
    /**
     * Group a CMCD data object into header shards
     *
     * @param cmcd - The CMCD data object to convert.
     * @param customHeaderMap - A map of CMCD header fields to custom CMCD keys.
     *
     * @returns The CMCD header shards.
     *
     * @group CMCD
     *
     * @beta
     */
    function groupCmcdHeaders(cmcd, customHeaderMap) {
      const result = {};
      if (!cmcd) {
        return result;
      }
      const keys = Object.keys(cmcd);
      const custom = customHeaderMap ? createHeaderMap(customHeaderMap) : {};
      return keys.reduce((acc, key) => {
        var _a;
        const field = CMCD_HEADER_MAP[key] || custom[key] || CmcdHeaderField.REQUEST;
        const data = (_a = acc[field]) !== null && _a !== void 0 ? _a : acc[field] = {};
        data[key] = cmcd[key];
        return acc;
      }, result);
    }
    
    /**
     * Checks if the given key is a token field.
     *
     * @param key - The key to check.
     *
     * @returns `true` if the key is a token field.
     *
     * @internal
     */
    function isTokenField(key) {
      return ['ot', 'sf', 'st', 'e', 'sta'].includes(key);
    }
    
    /**
     * Checks if the given value is valid
     *
     * @param value - The value to check.
     *
     * @returns `true` if the key is a value is valid.
     *
     * @internal
     */
    function isValid(value) {
      if (typeof value === 'number') {
        return isFiniteNumber(value);
      }
      return value != null && value !== '' && value !== false;
    }
    
    /**
     * CMCD event mode variable name.
     *
     * @group CMCD
     *
     * @beta
     */
    const CMCD_EVENT_MODE = 'event';
    
    /**
     * Constructs a relative path from a URL.
     *
     * @param url - The destination URL
     * @param base - The base URL
     * @returns The relative path
     *
     * @group Utils
     *
     * @beta
     */
    function urlToRelativePath(url, base) {
      const to = new URL(url);
      const from = new URL(base);
      if (to.origin !== from.origin) {
        return url;
      }
      const toPath = to.pathname.split('/').slice(1);
      const fromPath = from.pathname.split('/').slice(1, -1);
      // remove common parents
      while (toPath[0] === fromPath[0]) {
        toPath.shift();
        fromPath.shift();
      }
      // add back paths
      while (fromPath.length) {
        fromPath.shift();
        toPath.unshift('..');
      }
      const relativePath = toPath.join('/');
      // preserve query parameters and hash of the destination url
      return relativePath + to.search + to.hash;
    }
    
    const toRounded = value => Math.round(value);
    const toUrlSafe = (value, options) => {
      if (Array.isArray(value)) {
        return value.map(item => toUrlSafe(item, options));
      }
      if (value instanceof SfItem && typeof value.value === 'string') {
        return new SfItem(toUrlSafe(value.value, options), value.params);
      } else {
        if (options.baseUrl) {
          value = urlToRelativePath(value, options.baseUrl);
        }
        return options.version === 1 ? encodeURIComponent(value) : value;
      }
    };
    const toHundred = value => toRounded(value / 100) * 100;
    const nor = (value, options) => {
      let norValue = value;
      if (options.version >= 2) {
        if (value instanceof SfItem && typeof value.value === 'string') {
          norValue = new SfItem([value]);
        } else if (typeof value === 'string') {
          norValue = [value];
        }
      }
      return toUrlSafe(norValue, options);
    };
    /**
     * The default formatters for CMCD values.
     *
     * @group CMCD
     *
     * @beta
     */
    const CMCD_FORMATTER_MAP = {
      /**
       * Bitrate (kbps) rounded integer
       */
      br: toRounded,
      /**
       * Duration (milliseconds) rounded integer
       */
      d: toRounded,
      /**
       * Buffer Length (milliseconds) rounded nearest 100ms
       */
      bl: toHundred,
      /**
       * Deadline (milliseconds) rounded nearest 100ms
       */
      dl: toHundred,
      /**
       * Measured Throughput (kbps) rounded nearest 100kbps
       */
      mtp: toHundred,
      /**
       * Next Object Request URL encoded
       */
      nor,
      /**
       * Requested maximum throughput (kbps) rounded nearest 100kbps
       */
      rtp: toHundred,
      /**
       * Top Bitrate (kbps) rounded integer
       */
      tb: toRounded
    };
    
    /**
     * CMCD request mode variable name.
     *
     * @group CMCD
     *
     * @beta
     */
    const CMCD_REQUEST_MODE = 'request';
    
    /**
     * CMCD response mode variable name.
     *
     * @group CMCD
     *
     * @beta
     */
    const CMCD_RESPONSE_MODE = 'response';
    
    /**
     * Defines the common keys for CMCD (Common Media Client Data) version 2.
     *
     * @group CMCD
     *
     * @beta
     */
    const CMCD_COMMON_KEYS = ['ab', 'bg', 'bl', 'br', 'bs', 'bsd', 'cdn', 'cid', 'cs', 'df', 'ec', 'lab', 'lb', 'ltc', 'msd', 'mtp', 'pb', 'pr', 'pt', 'sf', 'sid', 'sn', 'st', 'sta', 'tab', 'tb', 'tbl', 'tpb', 'ts', 'v'];
    
    /**
     * Defines the event-specific keys for CMCD (Common Media Client Data) version 2.
     *
     * @group CMCD
     *
     * @beta
     */
    const CMCD_EVENT_KEYS = ['e'];
    
    const CUSTOM_KEY_REGEX = /^[a-zA-Z0-9-.]+-[a-zA-Z0-9-.]+$/;
    /**
     * Check if a key is a custom key.
     *
     * @param key - The key to check.
     *
     * @returns `true` if the key is a custom key, `false` otherwise.
     *
     * @group CMCD
     *
     * @beta
     */
    function isCmcdCustomKey(key) {
      return CUSTOM_KEY_REGEX.test(key);
    }
    
    /**
     * Check if a key is a valid CMCD event key.
     *
     * @param key - The key to check.
     *
     * @returns `true` if the key is a valid CMCD event key, `false` otherwise.
     *
     * @group CMCD
     *
     * @beta
     *
     * @example
     * {@includeCode ../../test/cmcd/isCmcdEventKey.test.ts#example}
     */
    function isCmcdEventKey(key) {
      return CMCD_COMMON_KEYS.includes(key) || CMCD_EVENT_KEYS.includes(key) || isCmcdCustomKey(key);
    }
    
    /**
     * Defines the request-specific keys for CMCD (Common Media Client Data) version 2.
     *
     * @group CMCD
     *
     * @beta
     */
    const CMCD_REQUEST_KEYS = ['d', 'dl', 'nor', 'ot', 'rtp', 'su'];
    
    /**
     * Check if a key is a valid CMCD request key.
     *
     * @param key - The key to check.
     *
     * @returns `true` if the key is a valid CMCD request key, `false` otherwise.
     *
     * @group CMCD
     *
     * @beta
     *
     * @example
     * {@includeCode ../../test/cmcd/isCmcdRequestKey.test.ts#example}
     */
    function isCmcdRequestKey(key) {
      return CMCD_COMMON_KEYS.includes(key) || CMCD_REQUEST_KEYS.includes(key) || isCmcdCustomKey(key);
    }
    
    /**
     * CMCD v2 - Response-only and timing keys.
     *
     * @group CMCD
     *
     * @beta
     */
    const CMCD_RESPONSE_KEYS = ['cmsdd', 'cmsds', 'rc', 'smrt', 'ttfb', 'ttfbb', 'ttlb', 'url'];
    
    /**
     * Check if a key is a valid CMCD response key.
     *
     * @param key - The key to check.
     *
     * @returns `true` if the key is a valid CMCD request key, `false` otherwise.
     *
     * @group CMCD
     *
     * @beta
     *
     * @example
     * {@includeCode ../../test/cmcd/isCmcdResponseKey.test.ts#example}
     */
    function isCmcdResponseKey(key) {
      return CMCD_COMMON_KEYS.includes(key) || CMCD_REQUEST_KEYS.includes(key) || CMCD_RESPONSE_KEYS.includes(key) || isCmcdCustomKey(key);
    }
    
    /**
     * Defines the keys for CMCD (Common Media Client Data) version 1.
     *
     * @group CMCD
     *
     * @beta
     */
    const CMCD_V1_KEYS = ['bl', 'br', 'bs', 'cid', 'd', 'dl', 'mtp', 'nor', 'nrr', 'ot', 'pr', 'rtp', 'sf', 'sid', 'st', 'su', 'tb', 'v'];
    
    /**
     * Filter function for CMCD v1 keys.
     *
     * @param key - The CMCD key to filter.
     *
     * @returns `true` if the key should be included, `false` otherwise.
     *
     * @group CMCD
     *
     * @beta
     *
     * @example
     * {@includeCode ../../test/cmcd/isCmcdV1Key.test.ts#example}
     */
    function isCmcdV1Key(key) {
      return CMCD_V1_KEYS.includes(key) || isCmcdCustomKey(key);
    }
    
    const filterMap = {
      [CMCD_RESPONSE_MODE]: isCmcdResponseKey,
      [CMCD_EVENT_MODE]: isCmcdEventKey,
      [CMCD_REQUEST_MODE]: isCmcdRequestKey
    };
    /**
     * Convert a generic object to CMCD data.
     *
     * @param obj - The CMCD object to process.
     * @param options - Options for encoding.
     *
     * @group CMCD
     *
     * @beta
     */
    function prepareCmcdData(obj, options = {}) {
      const results = {};
      if (obj == null || typeof obj !== 'object') {
        return results;
      }
      const version = options.version || obj['v'] || 1;
      const reportingMode = options.reportingMode || CMCD_REQUEST_MODE;
      const keyFilter = version === 1 ? isCmcdV1Key : filterMap[reportingMode];
      // Filter keys based on the version, reporting mode and options
      let keys = Object.keys(obj).filter(keyFilter);
      const filter = options.filter;
      if (typeof filter === 'function') {
        keys = keys.filter(filter);
      }
      // Ensure all required keys are present before sorting
      const needsTimestamp = reportingMode === CMCD_RESPONSE_MODE || reportingMode === CMCD_EVENT_MODE;
      if (needsTimestamp && !keys.includes('ts')) {
        keys.push('ts');
      }
      if (version > 1 && !keys.includes('v')) {
        keys.push('v');
      }
      const formatters = _extends({}, CMCD_FORMATTER_MAP, options.formatters);
      const formatterOptions = {
        version,
        reportingMode,
        baseUrl: options.baseUrl
      };
      keys.sort().forEach(key => {
        let value = obj[key];
        const formatter = formatters[key];
        if (typeof formatter === 'function') {
          value = formatter(value, formatterOptions);
        }
        // Version should only be reported if not equal to 1.
        if (key === 'v') {
          if (version === 1) {
            return;
          } else {
            value = version;
          }
        }
        // Playback rate should only be sent if not equal to 1.
        if (key == 'pr' && value === 1) {
          return;
        }
        // Ensure a timestamp is set for response and event modes
        if (needsTimestamp && key === 'ts' && !isFiniteNumber(value)) {
          value = Date.now();
        }
        // ignore invalid values
        if (!isValid(value)) {
          return;
        }
        if (isTokenField(key) && typeof value === 'string') {
          value = new SfToken(value);
        }
        results[key] = value;
      });
      return results;
    }
    
    /**
     * Convert a CMCD data object to request headers
     *
     * @param cmcd - The CMCD data object to convert.
     * @param options - Options for encoding the CMCD object.
     *
     * @returns The CMCD header shards.
     *
     * @group CMCD
     *
     * @beta
     *
     * @example
     * {@includeCode ../../test/cmcd/toCmcdHeaders.test.ts#example}
     */
    function toCmcdHeaders(cmcd, options = {}) {
      const result = {};
      if (!cmcd) {
        return result;
      }
      const data = prepareCmcdData(cmcd, options);
      const shards = groupCmcdHeaders(data, options === null || options === void 0 ? void 0 : options.customHeaderMap);
      return Object.entries(shards).reduce((acc, [field, value]) => {
        const shard = encodeSfDict(value, {
          whitespace: false
        });
        if (shard) {
          acc[field] = shard;
        }
        return acc;
      }, result);
    }
    
    /**
     * Append CMCD query args to a header object.
     *
     * @param headers - The headers to append to.
     * @param cmcd - The CMCD object to append.
     * @param options - Encode options.
     *
     * @returns The headers with the CMCD header shards appended.
     *
     * @group CMCD
     *
     * @beta
     *
     * @example
     * {@includeCode ../../test/cmcd/appendCmcdHeaders.test.ts#example}
     */
    function appendCmcdHeaders(headers, cmcd, options) {
      return _extends(headers, toCmcdHeaders(cmcd, options));
    }
    
    /**
     * CMCD parameter name.
     *
     * @group CMCD
     *
     * @beta
     */
    const CMCD_PARAM = 'CMCD';
    
    /**
     * Encode a CMCD object to a string.
     *
     * @param cmcd - The CMCD object to encode.
     * @param options - Options for encoding.
     *
     * @returns The encoded CMCD string.
     *
     * @group CMCD
     *
     * @beta
     *
     * @example
     * {@includeCode ../../test/cmcd/encodeCmcd.test.ts#example}
     */
    function encodeCmcd(cmcd, options = {}) {
      if (!cmcd) {
        return '';
      }
      return encodeSfDict(prepareCmcdData(cmcd, options), {
        whitespace: false
      });
    }
    
    /**
     * Convert a CMCD data object to a URL encoded string.
     *
     * @param cmcd - The CMCD object to convert.
     * @param options - Options for encoding the CMCD object.
     *
     * @returns The URL encoded CMCD data.
     *
     * @group CMCD
     *
     * @beta
     */
    function toCmcdUrl(cmcd, options = {}) {
      if (!cmcd) {
        return '';
      }
      const params = encodeCmcd(cmcd, options);
      return encodeURIComponent(params);
    }
    
    /**
     * Convert a CMCD data object to a query arg.
     *
     * @param cmcd - The CMCD object to convert.
     * @param options - Options for encoding the CMCD object.
     *
     * @returns The CMCD query arg.
     *
     * @group CMCD
     *
     * @beta
     *
     * @example
     * {@includeCode ../../test/cmcd/toCmcdQuery.test.ts#example}
     */
    function toCmcdQuery(cmcd, options = {}) {
      if (!cmcd) {
        return '';
      }
      const value = toCmcdUrl(cmcd, options);
      return `${CMCD_PARAM}=${value}`;
    }
    
    const REGEX = /CMCD=[^&#]+/;
    /**
     * Append CMCD query args to a URL.
     *
     * @param url - The URL to append to.
     * @param cmcd - The CMCD object to append.
     * @param options - Options for encoding the CMCD object.
     *
     * @returns The URL with the CMCD query args appended.
     *
     * @group CMCD
     *
     * @beta
     *
     * @example
     * {@includeCode ../../test/cmcd/appendCmcdQuery.test.ts#example}
     */
    function appendCmcdQuery(url, cmcd, options) {
      // TODO: Replace with URLSearchParams once we drop Safari < 10.1 & Chrome < 49 support.
      // https://developer.mozilla.org/en-US/docs/Web/API/URLSearchParams
      const query = toCmcdQuery(cmcd, options);
      if (!query) {
        return url;
      }
      if (REGEX.test(url)) {
        return url.replace(REGEX, query);
      }
      const separator = url.includes('?') ? '&' : '?';
      return `${url}${separator}${query}`;
    }
    
    /**
     * Controller to deal with Common Media Client Data (CMCD)
     * @see https://cdn.cta.tech/cta/media/media/resources/standards/pdfs/cta-5004-final.pdf
     */
    class CMCDController {
      constructor(hls) {
        this.hls = void 0;
        this.config = void 0;
        this.media = void 0;
        this.sid = void 0;
        this.cid = void 0;
        this.useHeaders = false;
        this.includeKeys = void 0;
        this.initialized = false;
        this.starved = false;
        this.buffering = true;
        this.audioBuffer = void 0;
        this.videoBuffer = void 0;
        this.onWaiting = () => {
          if (this.initialized) {
            this.starved = true;
          }
          this.buffering = true;
        };
        this.onPlaying = () => {
          if (!this.initialized) {
            this.initialized = true;
          }
          this.buffering = false;
        };
        /**
         * Apply CMCD data to a manifest request.
         */
        this.applyPlaylistData = context => {
          try {
            this.apply(context, {
              ot: CmcdObjectType.MANIFEST,
              su: !this.initialized
            });
          } catch (error) {
            this.hls.logger.warn('Could not generate manifest CMCD data.', error);
          }
        };
        /**
         * Apply CMCD data to a segment request
         */
        this.applyFragmentData = context => {
          try {
            const {
              frag,
              part
            } = context;
            const level = this.hls.levels[frag.level];
            const ot = this.getObjectType(frag);
            const data = {
              d: (part || frag).duration * 1000,
              ot
            };
            if (ot === CmcdObjectType.VIDEO || ot === CmcdObjectType.AUDIO || ot == CmcdObjectType.MUXED) {
              data.br = level.bitrate / 1000;
              data.tb = this.getTopBandwidth(ot) / 1000;
              data.bl = this.getBufferLength(ot);
            }
            const next = part ? this.getNextPart(part) : this.getNextFrag(frag);
            if (next != null && next.url && next.url !== frag.url) {
              data.nor = next.url;
            }
            this.apply(context, data);
          } catch (error) {
            this.hls.logger.warn('Could not generate segment CMCD data.', error);
          }
        };
        this.hls = hls;
        const config = this.config = hls.config;
        const {
          cmcd
        } = config;
        if (cmcd != null) {
          config.pLoader = this.createPlaylistLoader();
          config.fLoader = this.createFragmentLoader();
          this.sid = cmcd.sessionId || hls.sessionId;
          this.cid = cmcd.contentId;
          this.useHeaders = cmcd.useHeaders === true;
          this.includeKeys = cmcd.includeKeys;
          this.registerListeners();
        }
      }
      registerListeners() {
        const hls = this.hls;
        hls.on(Events.MEDIA_ATTACHED, this.onMediaAttached, this);
        hls.on(Events.MEDIA_DETACHED, this.onMediaDetached, this);
        hls.on(Events.BUFFER_CREATED, this.onBufferCreated, this);
      }
      unregisterListeners() {
        const hls = this.hls;
        hls.off(Events.MEDIA_ATTACHED, this.onMediaAttached, this);
        hls.off(Events.MEDIA_DETACHED, this.onMediaDetached, this);
        hls.off(Events.BUFFER_CREATED, this.onBufferCreated, this);
      }
      destroy() {
        this.unregisterListeners();
        this.onMediaDetached();
    
        // @ts-ignore
        this.hls = this.config = this.audioBuffer = this.videoBuffer = null;
        // @ts-ignore
        this.onWaiting = this.onPlaying = this.media = null;
      }
      onMediaAttached(event, data) {
        this.media = data.media;
        this.media.addEventListener('waiting', this.onWaiting);
        this.media.addEventListener('playing', this.onPlaying);
      }
      onMediaDetached() {
        if (!this.media) {
          return;
        }
        this.media.removeEventListener('waiting', this.onWaiting);
        this.media.removeEventListener('playing', this.onPlaying);
    
        // @ts-ignore
        this.media = null;
      }
      onBufferCreated(event, data) {
        var _data$tracks$audio, _data$tracks$video;
        this.audioBuffer = (_data$tracks$audio = data.tracks.audio) == null ? void 0 : _data$tracks$audio.buffer;
        this.videoBuffer = (_data$tracks$video = data.tracks.video) == null ? void 0 : _data$tracks$video.buffer;
      }
      /**
       * Create baseline CMCD data
       */
      createData() {
        var _this$media;
        return {
          v: 1,
          sf: CmcdStreamingFormat.HLS,
          sid: this.sid,
          cid: this.cid,
          pr: (_this$media = this.media) == null ? void 0 : _this$media.playbackRate,
          mtp: this.hls.bandwidthEstimate / 1000
        };
      }
    
      /**
       * Apply CMCD data to a request.
       */
      apply(context, data = {}) {
        // apply baseline data
        _extends(data, this.createData());
        const isVideo = data.ot === CmcdObjectType.INIT || data.ot === CmcdObjectType.VIDEO || data.ot === CmcdObjectType.MUXED;
        if (this.starved && isVideo) {
          data.bs = true;
          data.su = true;
          this.starved = false;
        }
        if (data.su == null) {
          data.su = this.buffering;
        }
    
        // TODO: Implement rtp, nrr, dl
    
        const {
          includeKeys
        } = this;
        if (includeKeys) {
          data = Object.keys(data).reduce((acc, key) => {
            includeKeys.includes(key) && (acc[key] = data[key]);
            return acc;
          }, {});
        }
        const options = {
          baseUrl: context.url
        };
        if (this.useHeaders) {
          if (!context.headers) {
            context.headers = {};
          }
          appendCmcdHeaders(context.headers, data, options);
        } else {
          context.url = appendCmcdQuery(context.url, data, options);
        }
      }
      getNextFrag(fragment) {
        var _this$hls$levels$frag;
        const levelDetails = (_this$hls$levels$frag = this.hls.levels[fragment.level]) == null ? void 0 : _this$hls$levels$frag.details;
        if (levelDetails) {
          const index = fragment.sn - levelDetails.startSN;
          return levelDetails.fragments[index + 1];
        }
        return undefined;
      }
      getNextPart(part) {
        var _this$hls$levels$frag2;
        const {
          index,
          fragment
        } = part;
        const partList = (_this$hls$levels$frag2 = this.hls.levels[fragment.level]) == null || (_this$hls$levels$frag2 = _this$hls$levels$frag2.details) == null ? void 0 : _this$hls$levels$frag2.partList;
        if (partList) {
          const {
            sn
          } = fragment;
          for (let i = partList.length - 1; i >= 0; i--) {
            const p = partList[i];
            if (p.index === index && p.fragment.sn === sn) {
              return partList[i + 1];
            }
          }
        }
        return undefined;
      }
    
      /**
       * The CMCD object type.
       */
      getObjectType(fragment) {
        const {
          type
        } = fragment;
        if (type === 'subtitle') {
          return CmcdObjectType.TIMED_TEXT;
        }
        if (fragment.sn === 'initSegment') {
          return CmcdObjectType.INIT;
        }
        if (type === 'audio') {
          return CmcdObjectType.AUDIO;
        }
        if (type === 'main') {
          if (!this.hls.audioTracks.length) {
            return CmcdObjectType.MUXED;
          }
          return CmcdObjectType.VIDEO;
        }
        return undefined;
      }
    
      /**
       * Get the highest bitrate.
       */
      getTopBandwidth(type) {
        let bitrate = 0;
        let levels;
        const hls = this.hls;
        if (type === CmcdObjectType.AUDIO) {
          levels = hls.audioTracks;
        } else {
          const max = hls.maxAutoLevel;
          const len = max > -1 ? max + 1 : hls.levels.length;
          levels = hls.levels.slice(0, len);
        }
        levels.forEach(level => {
          if (level.bitrate > bitrate) {
            bitrate = level.bitrate;
          }
        });
        return bitrate > 0 ? bitrate : NaN;
      }
    
      /**
       * Get the buffer length for a media type in milliseconds
       */
      getBufferLength(type) {
        const media = this.media;
        const buffer = type === CmcdObjectType.AUDIO ? this.audioBuffer : this.videoBuffer;
        if (!buffer || !media) {
          return NaN;
        }
        const info = BufferHelper.bufferInfo(buffer, media.currentTime, this.config.maxBufferHole);
        return info.len * 1000;
      }
    
      /**
       * Create a playlist loader
       */
      createPlaylistLoader() {
        const {
          pLoader
        } = this.config;
        const apply = this.applyPlaylistData;
        const Ctor = pLoader || this.config.loader;
        return class CmcdPlaylistLoader {
          constructor(config) {
            this.loader = void 0;
            this.loader = new Ctor(config);
          }
          get stats() {
            return this.loader.stats;
          }
          get context() {
            return this.loader.context;
          }
          destroy() {
            this.loader.destroy();
          }
          abort() {
            this.loader.abort();
          }
          load(context, config, callbacks) {
            apply(context);
            this.loader.load(context, config, callbacks);
          }
        };
      }
    
      /**
       * Create a playlist loader
       */
      createFragmentLoader() {
        const {
          fLoader
        } = this.config;
        const apply = this.applyFragmentData;
        const Ctor = fLoader || this.config.loader;
        return class CmcdFragmentLoader {
          constructor(config) {
            this.loader = void 0;
            this.loader = new Ctor(config);
          }
          get stats() {
            return this.loader.stats;
          }
          get context() {
            return this.loader.context;
          }
          destroy() {
            this.loader.destroy();
          }
          abort() {
            this.loader.abort();
          }
          load(context, config, callbacks) {
            apply(context);
            this.loader.load(context, config, callbacks);
          }
        };
      }
    }
    
    const PATHWAY_PENALTY_DURATION_MS = 300000;
    class ContentSteeringController extends Logger {
      constructor(hls) {
        super('content-steering', hls.logger);
        this.hls = void 0;
        this.loader = null;
        this.uri = null;
        this.pathwayId = '.';
        this._pathwayPriority = null;
        this.timeToLoad = 300;
        this.reloadTimer = -1;
        this.updated = 0;
        this.started = false;
        this.enabled = true;
        this.levels = null;
        this.audioTracks = null;
        this.subtitleTracks = null;
        this.penalizedPathways = {};
        this.hls = hls;
        this.registerListeners();
      }
      registerListeners() {
        const hls = this.hls;
        hls.on(Events.MANIFEST_LOADING, this.onManifestLoading, this);
        hls.on(Events.MANIFEST_LOADED, this.onManifestLoaded, this);
        hls.on(Events.MANIFEST_PARSED, this.onManifestParsed, this);
        hls.on(Events.ERROR, this.onError, this);
      }
      unregisterListeners() {
        const hls = this.hls;
        if (!hls) {
          return;
        }
        hls.off(Events.MANIFEST_LOADING, this.onManifestLoading, this);
        hls.off(Events.MANIFEST_LOADED, this.onManifestLoaded, this);
        hls.off(Events.MANIFEST_PARSED, this.onManifestParsed, this);
        hls.off(Events.ERROR, this.onError, this);
      }
      pathways() {
        return (this.levels || []).reduce((pathways, level) => {
          if (pathways.indexOf(level.pathwayId) === -1) {
            pathways.push(level.pathwayId);
          }
          return pathways;
        }, []);
      }
      get pathwayPriority() {
        return this._pathwayPriority;
      }
      set pathwayPriority(pathwayPriority) {
        this.updatePathwayPriority(pathwayPriority);
      }
      startLoad() {
        this.started = true;
        this.clearTimeout();
        if (this.enabled && this.uri) {
          if (this.updated) {
            const ttl = this.timeToLoad * 1000 - (performance.now() - this.updated);
            if (ttl > 0) {
              this.scheduleRefresh(this.uri, ttl);
              return;
            }
          }
          this.loadSteeringManifest(this.uri);
        }
      }
      stopLoad() {
        this.started = false;
        if (this.loader) {
          this.loader.destroy();
          this.loader = null;
        }
        this.clearTimeout();
      }
      clearTimeout() {
        if (this.reloadTimer !== -1) {
          self.clearTimeout(this.reloadTimer);
          this.reloadTimer = -1;
        }
      }
      destroy() {
        this.unregisterListeners();
        this.stopLoad();
        // @ts-ignore
        this.hls = null;
        this.levels = this.audioTracks = this.subtitleTracks = null;
      }
      removeLevel(levelToRemove) {
        const levels = this.levels;
        if (levels) {
          this.levels = levels.filter(level => level !== levelToRemove);
        }
      }
      onManifestLoading() {
        this.stopLoad();
        this.enabled = true;
        this.timeToLoad = 300;
        this.updated = 0;
        this.uri = null;
        this.pathwayId = '.';
        this.levels = this.audioTracks = this.subtitleTracks = null;
      }
      onManifestLoaded(event, data) {
        const {
          contentSteering
        } = data;
        if (contentSteering === null) {
          return;
        }
        this.pathwayId = contentSteering.pathwayId;
        this.uri = contentSteering.uri;
        if (this.started) {
          this.startLoad();
        }
      }
      onManifestParsed(event, data) {
        this.audioTracks = data.audioTracks;
        this.subtitleTracks = data.subtitleTracks;
      }
      onError(event, data) {
        const {
          errorAction
        } = data;
        if ((errorAction == null ? void 0 : errorAction.action) === NetworkErrorAction.SendAlternateToPenaltyBox && errorAction.flags === ErrorActionFlags.MoveAllAlternatesMatchingHost) {
          const levels = this.levels;
          let pathwayPriority = this._pathwayPriority;
          let errorPathway = this.pathwayId;
          if (data.context) {
            const {
              groupId,
              pathwayId,
              type
            } = data.context;
            if (groupId && levels) {
              errorPathway = this.getPathwayForGroupId(groupId, type, errorPathway);
            } else if (pathwayId) {
              errorPathway = pathwayId;
            }
          }
          if (!(errorPathway in this.penalizedPathways)) {
            this.penalizedPathways[errorPathway] = performance.now();
          }
          if (!pathwayPriority && levels) {
            // If PATHWAY-PRIORITY was not provided, list pathways for error handling
            pathwayPriority = this.pathways();
          }
          if (pathwayPriority && pathwayPriority.length > 1) {
            this.updatePathwayPriority(pathwayPriority);
            errorAction.resolved = this.pathwayId !== errorPathway;
          }
          if (data.details === ErrorDetails.BUFFER_APPEND_ERROR && !data.fatal) {
            // Error will become fatal in buffer-controller when reaching `appendErrorMaxRetry`
            // Stream-controllers are expected to reduce buffer length even if this is not deemed a QuotaExceededError
            errorAction.resolved = true;
          } else if (!errorAction.resolved) {
            this.warn(`Could not resolve ${data.details} ("${data.error.message}") with content-steering for Pathway: ${errorPathway} levels: ${levels ? levels.length : levels} priorities: ${stringify(pathwayPriority)} penalized: ${stringify(this.penalizedPathways)}`);
          }
        }
      }
      filterParsedLevels(levels) {
        // Filter levels to only include those that are in the initial pathway
        this.levels = levels;
        let pathwayLevels = this.getLevelsForPathway(this.pathwayId);
        if (pathwayLevels.length === 0) {
          const pathwayId = levels[0].pathwayId;
          this.log(`No levels found in Pathway ${this.pathwayId}. Setting initial Pathway to "${pathwayId}"`);
          pathwayLevels = this.getLevelsForPathway(pathwayId);
          this.pathwayId = pathwayId;
        }
        if (pathwayLevels.length !== levels.length) {
          this.log(`Found ${pathwayLevels.length}/${levels.length} levels in Pathway "${this.pathwayId}"`);
        }
        return pathwayLevels;
      }
      getLevelsForPathway(pathwayId) {
        if (this.levels === null) {
          return [];
        }
        return this.levels.filter(level => pathwayId === level.pathwayId);
      }
      updatePathwayPriority(pathwayPriority) {
        this._pathwayPriority = pathwayPriority;
        let levels;
    
        // Evaluate if we should remove the pathway from the penalized list
        const penalizedPathways = this.penalizedPathways;
        const now = performance.now();
        Object.keys(penalizedPathways).forEach(pathwayId => {
          if (now - penalizedPathways[pathwayId] > PATHWAY_PENALTY_DURATION_MS) {
            delete penalizedPathways[pathwayId];
          }
        });
        for (let i = 0; i < pathwayPriority.length; i++) {
          const pathwayId = pathwayPriority[i];
          if (pathwayId in penalizedPathways) {
            continue;
          }
          if (pathwayId === this.pathwayId) {
            return;
          }
          const selectedIndex = this.hls.nextLoadLevel;
          const selectedLevel = this.hls.levels[selectedIndex];
          levels = this.getLevelsForPathway(pathwayId);
          if (levels.length > 0) {
            this.log(`Setting Pathway to "${pathwayId}"`);
            this.pathwayId = pathwayId;
            reassignFragmentLevelIndexes(levels);
            this.hls.trigger(Events.LEVELS_UPDATED, {
              levels
            });
            // Set LevelController's level to trigger LEVEL_SWITCHING which loads playlist if needed
            const levelAfterChange = this.hls.levels[selectedIndex];
            if (selectedLevel && levelAfterChange && this.levels) {
              if (levelAfterChange.attrs['STABLE-VARIANT-ID'] !== selectedLevel.attrs['STABLE-VARIANT-ID'] && levelAfterChange.bitrate !== selectedLevel.bitrate) {
                this.log(`Unstable Pathways change from bitrate ${selectedLevel.bitrate} to ${levelAfterChange.bitrate}`);
              }
              this.hls.nextLoadLevel = selectedIndex;
            }
            break;
          }
        }
      }
      getPathwayForGroupId(groupId, type, defaultPathway) {
        const levels = this.getLevelsForPathway(defaultPathway).concat(this.levels || []);
        for (let i = 0; i < levels.length; i++) {
          if (type === PlaylistContextType.AUDIO_TRACK && levels[i].hasAudioGroup(groupId) || type === PlaylistContextType.SUBTITLE_TRACK && levels[i].hasSubtitleGroup(groupId)) {
            return levels[i].pathwayId;
          }
        }
        return defaultPathway;
      }
      clonePathways(pathwayClones) {
        const levels = this.levels;
        if (!levels) {
          return;
        }
        const audioGroupCloneMap = {};
        const subtitleGroupCloneMap = {};
        pathwayClones.forEach(pathwayClone => {
          const {
            ID: cloneId,
            'BASE-ID': baseId,
            'URI-REPLACEMENT': uriReplacement
          } = pathwayClone;
          if (levels.some(level => level.pathwayId === cloneId)) {
            return;
          }
          const clonedVariants = this.getLevelsForPathway(baseId).map(baseLevel => {
            const attributes = new AttrList(baseLevel.attrs);
            attributes['PATHWAY-ID'] = cloneId;
            const clonedAudioGroupId = attributes.AUDIO && `${attributes.AUDIO}_clone_${cloneId}`;
            const clonedSubtitleGroupId = attributes.SUBTITLES && `${attributes.SUBTITLES}_clone_${cloneId}`;
            if (clonedAudioGroupId) {
              audioGroupCloneMap[attributes.AUDIO] = clonedAudioGroupId;
              attributes.AUDIO = clonedAudioGroupId;
            }
            if (clonedSubtitleGroupId) {
              subtitleGroupCloneMap[attributes.SUBTITLES] = clonedSubtitleGroupId;
              attributes.SUBTITLES = clonedSubtitleGroupId;
            }
            const url = performUriReplacement(baseLevel.uri, attributes['STABLE-VARIANT-ID'], 'PER-VARIANT-URIS', uriReplacement);
            const clonedLevel = new Level({
              attrs: attributes,
              audioCodec: baseLevel.audioCodec,
              bitrate: baseLevel.bitrate,
              height: baseLevel.height,
              name: baseLevel.name,
              url,
              videoCodec: baseLevel.videoCodec,
              width: baseLevel.width
            });
            if (baseLevel.audioGroups) {
              for (let i = 1; i < baseLevel.audioGroups.length; i++) {
                clonedLevel.addGroupId('audio', `${baseLevel.audioGroups[i]}_clone_${cloneId}`);
              }
            }
            if (baseLevel.subtitleGroups) {
              for (let i = 1; i < baseLevel.subtitleGroups.length; i++) {
                clonedLevel.addGroupId('text', `${baseLevel.subtitleGroups[i]}_clone_${cloneId}`);
              }
            }
            return clonedLevel;
          });
          levels.push(...clonedVariants);
          cloneRenditionGroups(this.audioTracks, audioGroupCloneMap, uriReplacement, cloneId);
          cloneRenditionGroups(this.subtitleTracks, subtitleGroupCloneMap, uriReplacement, cloneId);
        });
      }
      loadSteeringManifest(uri) {
        const config = this.hls.config;
        const Loader = config.loader;
        if (this.loader) {
          this.loader.destroy();
        }
        this.loader = new Loader(config);
        let url;
        try {
          url = new self.URL(uri);
        } catch (error) {
          this.enabled = false;
          this.log(`Failed to parse Steering Manifest URI: ${uri}`);
          return;
        }
        if (url.protocol !== 'data:') {
          const throughput = (this.hls.bandwidthEstimate || config.abrEwmaDefaultEstimate) | 0;
          url.searchParams.set('_HLS_pathway', this.pathwayId);
          url.searchParams.set('_HLS_throughput', '' + throughput);
        }
        const context = {
          responseType: 'json',
          url: url.href
        };
        const loadPolicy = config.steeringManifestLoadPolicy.default;
        const legacyRetryCompatibility = loadPolicy.errorRetry || loadPolicy.timeoutRetry || {};
        const loaderConfig = {
          loadPolicy,
          timeout: loadPolicy.maxLoadTimeMs,
          maxRetry: legacyRetryCompatibility.maxNumRetry || 0,
          retryDelay: legacyRetryCompatibility.retryDelayMs || 0,
          maxRetryDelay: legacyRetryCompatibility.maxRetryDelayMs || 0
        };
        const callbacks = {
          onSuccess: (response, stats, context, networkDetails) => {
            this.log(`Loaded steering manifest: "${url}"`);
            const steeringData = response.data;
            if ((steeringData == null ? void 0 : steeringData.VERSION) !== 1) {
              this.log(`Steering VERSION ${steeringData.VERSION} not supported!`);
              return;
            }
            this.updated = performance.now();
            this.timeToLoad = steeringData.TTL;
            const {
              'RELOAD-URI': reloadUri,
              'PATHWAY-CLONES': pathwayClones,
              'PATHWAY-PRIORITY': pathwayPriority
            } = steeringData;
            if (reloadUri) {
              try {
                this.uri = new self.URL(reloadUri, url).href;
              } catch (error) {
                this.enabled = false;
                this.log(`Failed to parse Steering Manifest RELOAD-URI: ${reloadUri}`);
                return;
              }
            }
            this.scheduleRefresh(this.uri || context.url);
            if (pathwayClones) {
              this.clonePathways(pathwayClones);
            }
            const loadedSteeringData = {
              steeringManifest: steeringData,
              url: url.toString()
            };
            this.hls.trigger(Events.STEERING_MANIFEST_LOADED, loadedSteeringData);
            if (pathwayPriority) {
              this.updatePathwayPriority(pathwayPriority);
            }
          },
          onError: (error, context, networkDetails, stats) => {
            this.log(`Error loading steering manifest: ${error.code} ${error.text} (${context.url})`);
            this.stopLoad();
            if (error.code === 410) {
              this.enabled = false;
              this.log(`Steering manifest ${context.url} no longer available`);
              return;
            }
            let ttl = this.timeToLoad * 1000;
            if (error.code === 429) {
              const loader = this.loader;
              if (typeof (loader == null ? void 0 : loader.getResponseHeader) === 'function') {
                const retryAfter = loader.getResponseHeader('Retry-After');
                if (retryAfter) {
                  ttl = parseFloat(retryAfter) * 1000;
                }
              }
              this.log(`Steering manifest ${context.url} rate limited`);
              return;
            }
            this.scheduleRefresh(this.uri || context.url, ttl);
          },
          onTimeout: (stats, context, networkDetails) => {
            this.log(`Timeout loading steering manifest (${context.url})`);
            this.scheduleRefresh(this.uri || context.url);
          }
        };
        this.log(`Requesting steering manifest: ${url}`);
        this.loader.load(context, loaderConfig, callbacks);
      }
      scheduleRefresh(uri, ttlMs = this.timeToLoad * 1000) {
        this.clearTimeout();
        this.reloadTimer = self.setTimeout(() => {
          var _this$hls;
          const media = (_this$hls = this.hls) == null ? void 0 : _this$hls.media;
          if (media && !media.ended) {
            this.loadSteeringManifest(uri);
            return;
          }
          this.scheduleRefresh(uri, this.timeToLoad * 1000);
        }, ttlMs);
      }
    }
    function cloneRenditionGroups(tracks, groupCloneMap, uriReplacement, cloneId) {
      if (!tracks) {
        return;
      }
      Object.keys(groupCloneMap).forEach(audioGroupId => {
        const clonedTracks = tracks.filter(track => track.groupId === audioGroupId).map(track => {
          const clonedTrack = _extends({}, track);
          clonedTrack.details = undefined;
          clonedTrack.attrs = new AttrList(clonedTrack.attrs);
          clonedTrack.url = clonedTrack.attrs.URI = performUriReplacement(track.url, track.attrs['STABLE-RENDITION-ID'], 'PER-RENDITION-URIS', uriReplacement);
          clonedTrack.groupId = clonedTrack.attrs['GROUP-ID'] = groupCloneMap[audioGroupId];
          clonedTrack.attrs['PATHWAY-ID'] = cloneId;
          return clonedTrack;
        });
        tracks.push(...clonedTracks);
      });
    }
    function performUriReplacement(uri, stableId, perOptionKey, uriReplacement) {
      const {
        HOST: host,
        PARAMS: params,
        [perOptionKey]: perOptionUris
      } = uriReplacement;
      let perVariantUri;
      if (stableId) {
        perVariantUri = perOptionUris == null ? void 0 : perOptionUris[stableId];
        if (perVariantUri) {
          uri = perVariantUri;
        }
      }
      const url = new self.URL(uri);
      if (host && !perVariantUri) {
        url.host = host;
      }
      if (params) {
        Object.keys(params).sort().forEach(key => {
          if (key) {
            url.searchParams.set(key, params[key]);
          }
        });
      }
      return url.href;
    }
    
    /**
     * Controller to deal with encrypted media extensions (EME)
     * @see https://developer.mozilla.org/en-US/docs/Web/API/Encrypted_Media_Extensions_API
     *
     * @class
     * @constructor
     */
    class EMEController extends Logger {
      constructor(hls) {
        super('eme', hls.logger);
        this.hls = void 0;
        this.config = void 0;
        this.media = null;
        this.mediaResolved = void 0;
        this.keyFormatPromise = null;
        this.keySystemAccessPromises = {};
        this._requestLicenseFailureCount = 0;
        this.mediaKeySessions = [];
        this.keyIdToKeySessionPromise = {};
        this.mediaKeys = null;
        this.setMediaKeysQueue = EMEController.CDMCleanupPromise ? [EMEController.CDMCleanupPromise] : [];
        this.bannedKeyIds = {};
        this.onMediaEncrypted = event => {
          const {
            initDataType,
            initData
          } = event;
          const logMessage = `"${event.type}" event: init data type: "${initDataType}"`;
          this.debug(logMessage);
    
          // Ignore event when initData is null
          if (initData === null) {
            return;
          }
          if (!this.keyFormatPromise) {
            let keySystems = Object.keys(this.keySystemAccessPromises);
            if (!keySystems.length) {
              keySystems = getKeySystemsForConfig(this.config);
            }
            const keyFormats = keySystems.map(keySystemDomainToKeySystemFormat).filter(k => !!k);
            this.keyFormatPromise = this.getKeyFormatPromise(keyFormats);
          }
          this.keyFormatPromise.then(keySystemFormat => {
            const keySystem = keySystemFormatToKeySystemDomain(keySystemFormat);
            if (initDataType !== 'sinf' || keySystem !== KeySystems.FAIRPLAY) {
              this.log(`Ignoring "${event.type}" event with init data type: "${initDataType}" for selected key-system ${keySystem}`);
              return;
            }
    
            // Match sinf keyId to playlist skd://keyId=
            let keyId;
            try {
              const json = bin2str(new Uint8Array(initData));
              const sinf = base64Decode(JSON.parse(json).sinf);
              const tenc = parseSinf(sinf);
              if (!tenc) {
                throw new Error(`'schm' box missing or not cbcs/cenc with schi > tenc`);
              }
              keyId = new Uint8Array(tenc.subarray(8, 24));
            } catch (error) {
              this.warn(`${logMessage} Failed to parse sinf: ${error}`);
              return;
            }
            const keyIdHex = arrayToHex(keyId);
            const {
              keyIdToKeySessionPromise,
              mediaKeySessions
            } = this;
            let keySessionContextPromise = keyIdToKeySessionPromise[keyIdHex];
            for (let i = 0; i < mediaKeySessions.length; i++) {
              // Match playlist key
              const keyContext = mediaKeySessions[i];
              const decryptdata = keyContext.decryptdata;
              if (!decryptdata.keyId) {
                continue;
              }
              const oldKeyIdHex = arrayToHex(decryptdata.keyId);
              if (arrayValuesMatch(keyId, decryptdata.keyId) || decryptdata.uri.replace(/-/g, '').indexOf(keyIdHex) !== -1) {
                keySessionContextPromise = keyIdToKeySessionPromise[oldKeyIdHex];
                if (!keySessionContextPromise) {
                  continue;
                }
                if (decryptdata.pssh) {
                  break;
                }
                delete keyIdToKeySessionPromise[oldKeyIdHex];
                decryptdata.pssh = new Uint8Array(initData);
                decryptdata.keyId = keyId;
                keySessionContextPromise = keyIdToKeySessionPromise[keyIdHex] = keySessionContextPromise.then(() => {
                  return this.generateRequestWithPreferredKeySession(keyContext, initDataType, initData, 'encrypted-event-key-match');
                });
                keySessionContextPromise.catch(error => this.handleError(error));
                break;
              }
            }
            if (!keySessionContextPromise) {
              this.handleError(new Error(`Key ID ${keyIdHex} not encountered in playlist. Key-system sessions ${mediaKeySessions.length}.`));
            }
          }).catch(error => this.handleError(error));
        };
        this.onWaitingForKey = event => {
          this.log(`"${event.type}" event`);
        };
        this.hls = hls;
        this.config = hls.config;
        this.registerListeners();
      }
      destroy() {
        this.onDestroying();
        this.onMediaDetached();
        // Remove any references that could be held in config options or callbacks
        const config = this.config;
        config.requestMediaKeySystemAccessFunc = null;
        config.licenseXhrSetup = config.licenseResponseCallback = undefined;
        config.drmSystems = config.drmSystemOptions = {};
        // @ts-ignore
        this.hls = this.config = this.keyIdToKeySessionPromise = null;
        // @ts-ignore
        this.onMediaEncrypted = this.onWaitingForKey = null;
      }
      registerListeners() {
        this.hls.on(Events.MEDIA_ATTACHED, this.onMediaAttached, this);
        this.hls.on(Events.MEDIA_DETACHED, this.onMediaDetached, this);
        this.hls.on(Events.MANIFEST_LOADING, this.onManifestLoading, this);
        this.hls.on(Events.MANIFEST_LOADED, this.onManifestLoaded, this);
        this.hls.on(Events.DESTROYING, this.onDestroying, this);
      }
      unregisterListeners() {
        this.hls.off(Events.MEDIA_ATTACHED, this.onMediaAttached, this);
        this.hls.off(Events.MEDIA_DETACHED, this.onMediaDetached, this);
        this.hls.off(Events.MANIFEST_LOADING, this.onManifestLoading, this);
        this.hls.off(Events.MANIFEST_LOADED, this.onManifestLoaded, this);
        this.hls.off(Events.DESTROYING, this.onDestroying, this);
      }
      getLicenseServerUrl(keySystem) {
        const {
          drmSystems,
          widevineLicenseUrl
        } = this.config;
        const keySystemConfiguration = drmSystems == null ? void 0 : drmSystems[keySystem];
        if (keySystemConfiguration) {
          return keySystemConfiguration.licenseUrl;
        }
    
        // For backward compatibility
        if (keySystem === KeySystems.WIDEVINE && widevineLicenseUrl) {
          return widevineLicenseUrl;
        }
      }
      getLicenseServerUrlOrThrow(keySystem) {
        const url = this.getLicenseServerUrl(keySystem);
        if (url === undefined) {
          throw new Error(`no license server URL configured for key-system "${keySystem}"`);
        }
        return url;
      }
      getServerCertificateUrl(keySystem) {
        const {
          drmSystems
        } = this.config;
        const keySystemConfiguration = drmSystems == null ? void 0 : drmSystems[keySystem];
        if (keySystemConfiguration) {
          return keySystemConfiguration.serverCertificateUrl;
        } else {
          this.log(`No Server Certificate in config.drmSystems["${keySystem}"]`);
        }
      }
      attemptKeySystemAccess(keySystemsToAttempt) {
        const levels = this.hls.levels;
        const uniqueCodec = (value, i, a) => !!value && a.indexOf(value) === i;
        const audioCodecs = levels.map(level => level.audioCodec).filter(uniqueCodec);
        const videoCodecs = levels.map(level => level.videoCodec).filter(uniqueCodec);
        if (audioCodecs.length + videoCodecs.length === 0) {
          videoCodecs.push('avc1.42e01e');
        }
        return new Promise((resolve, reject) => {
          const attempt = keySystems => {
            const keySystem = keySystems.shift();
            this.getMediaKeysPromise(keySystem, audioCodecs, videoCodecs).then(mediaKeys => resolve({
              keySystem,
              mediaKeys
            })).catch(error => {
              if (keySystems.length) {
                attempt(keySystems);
              } else if (error instanceof EMEKeyError) {
                reject(error);
              } else {
                reject(new EMEKeyError({
                  type: ErrorTypes.KEY_SYSTEM_ERROR,
                  details: ErrorDetails.KEY_SYSTEM_NO_ACCESS,
                  error,
                  fatal: true
                }, error.message));
              }
            });
          };
          attempt(keySystemsToAttempt);
        });
      }
      requestMediaKeySystemAccess(keySystem, supportedConfigurations) {
        const {
          requestMediaKeySystemAccessFunc
        } = this.config;
        if (!(typeof requestMediaKeySystemAccessFunc === 'function')) {
          let errMessage = `Configured requestMediaKeySystemAccess is not a function ${requestMediaKeySystemAccessFunc}`;
          if (requestMediaKeySystemAccess === null && self.location.protocol === 'http:') {
            errMessage = `navigator.requestMediaKeySystemAccess is not available over insecure protocol ${location.protocol}`;
          }
          return Promise.reject(new Error(errMessage));
        }
        return requestMediaKeySystemAccessFunc(keySystem, supportedConfigurations);
      }
      getMediaKeysPromise(keySystem, audioCodecs, videoCodecs) {
        var _keySystemAccessPromi;
        // This can throw, but is caught in event handler callpath
        const mediaKeySystemConfigs = getSupportedMediaKeySystemConfigurations(keySystem, audioCodecs, videoCodecs, this.config.drmSystemOptions || {});
        let keySystemAccessPromises = this.keySystemAccessPromises[keySystem];
        let keySystemAccess = (_keySystemAccessPromi = keySystemAccessPromises) == null ? void 0 : _keySystemAccessPromi.keySystemAccess;
        if (!keySystemAccess) {
          this.log(`Requesting encrypted media "${keySystem}" key-system access with config: ${stringify(mediaKeySystemConfigs)}`);
          keySystemAccess = this.requestMediaKeySystemAccess(keySystem, mediaKeySystemConfigs);
          const keySystemAccessPromisesNew = keySystemAccessPromises = this.keySystemAccessPromises[keySystem] = {
            keySystemAccess
          };
          keySystemAccess.catch(error => {
            this.log(`Failed to obtain access to key-system "${keySystem}": ${error}`);
          });
          return keySystemAccess.then(mediaKeySystemAccess => {
            this.log(`Access for key-system "${mediaKeySystemAccess.keySystem}" obtained`);
            const certificateRequest = this.fetchServerCertificate(keySystem);
            this.log(`Create media-keys for "${keySystem}"`);
            const mediaKeys = keySystemAccessPromisesNew.mediaKeys = mediaKeySystemAccess.createMediaKeys().then(mediaKeys => {
              this.log(`Media-keys created for "${keySystem}"`);
              keySystemAccessPromisesNew.hasMediaKeys = true;
              return certificateRequest.then(certificate => {
                if (certificate) {
                  return this.setMediaKeysServerCertificate(mediaKeys, keySystem, certificate);
                }
                return mediaKeys;
              });
            });
            mediaKeys.catch(error => {
              this.error(`Failed to create media-keys for "${keySystem}"}: ${error}`);
            });
            return mediaKeys;
          });
        }
        return keySystemAccess.then(() => keySystemAccessPromises.mediaKeys);
      }
      createMediaKeySessionContext({
        decryptdata,
        keySystem,
        mediaKeys
      }) {
        this.log(`Creating key-system session "${keySystem}" keyId: ${arrayToHex(decryptdata.keyId || [])} keyUri: ${decryptdata.uri}`);
        const mediaKeysSession = mediaKeys.createSession();
        const mediaKeySessionContext = {
          decryptdata,
          keySystem,
          mediaKeys,
          mediaKeysSession,
          keyStatus: 'status-pending'
        };
        this.mediaKeySessions.push(mediaKeySessionContext);
        return mediaKeySessionContext;
      }
      renewKeySession(mediaKeySessionContext) {
        const decryptdata = mediaKeySessionContext.decryptdata;
        if (decryptdata.pssh) {
          const keySessionContext = this.createMediaKeySessionContext(mediaKeySessionContext);
          const keyId = getKeyIdString(decryptdata);
          const scheme = 'cenc';
          this.keyIdToKeySessionPromise[keyId] = this.generateRequestWithPreferredKeySession(keySessionContext, scheme, decryptdata.pssh.buffer, 'expired');
        } else {
          this.warn(`Could not renew expired session. Missing pssh initData.`);
        }
        // eslint-disable-next-line @typescript-eslint/no-floating-promises
        this.removeSession(mediaKeySessionContext);
      }
      updateKeySession(mediaKeySessionContext, data) {
        const keySession = mediaKeySessionContext.mediaKeysSession;
        this.log(`Updating key-session "${keySession.sessionId}" for keyId ${arrayToHex(mediaKeySessionContext.decryptdata.keyId || [])}
          } (data length: ${data.byteLength})`);
        return keySession.update(data);
      }
      getSelectedKeySystemFormats() {
        return Object.keys(this.keySystemAccessPromises).map(keySystem => ({
          keySystem,
          hasMediaKeys: this.keySystemAccessPromises[keySystem].hasMediaKeys
        })).filter(({
          hasMediaKeys
        }) => !!hasMediaKeys).map(({
          keySystem
        }) => keySystemDomainToKeySystemFormat(keySystem)).filter(keySystem => !!keySystem);
      }
      getKeySystemAccess(keySystemsToAttempt) {
        return this.getKeySystemSelectionPromise(keySystemsToAttempt).then(({
          keySystem,
          mediaKeys
        }) => {
          return this.attemptSetMediaKeys(keySystem, mediaKeys);
        });
      }
      selectKeySystem(keySystemsToAttempt) {
        return new Promise((resolve, reject) => {
          this.getKeySystemSelectionPromise(keySystemsToAttempt).then(({
            keySystem
          }) => {
            const keySystemFormat = keySystemDomainToKeySystemFormat(keySystem);
            if (keySystemFormat) {
              resolve(keySystemFormat);
            } else {
              reject(new Error(`Unable to find format for key-system "${keySystem}"`));
            }
          }).catch(reject);
        });
      }
      selectKeySystemFormat(frag) {
        const keyFormats = Object.keys(frag.levelkeys || {});
        if (!this.keyFormatPromise) {
          this.log(`Selecting key-system from fragment (sn: ${frag.sn} ${frag.type}: ${frag.level}) key formats ${keyFormats.join(', ')}`);
          this.keyFormatPromise = this.getKeyFormatPromise(keyFormats);
        }
        return this.keyFormatPromise;
      }
      getKeyFormatPromise(keyFormats) {
        const keySystemsInConfig = getKeySystemsForConfig(this.config);
        const keySystemsToAttempt = keyFormats.map(keySystemFormatToKeySystemDomain).filter(value => !!value && keySystemsInConfig.indexOf(value) !== -1);
        return this.selectKeySystem(keySystemsToAttempt);
      }
      getKeyStatus(decryptdata) {
        const {
          mediaKeySessions
        } = this;
        for (let i = 0; i < mediaKeySessions.length; i++) {
          const status = getKeyStatus(decryptdata, mediaKeySessions[i]);
          if (status) {
            return status;
          }
        }
        return undefined;
      }
      loadKey(data) {
        const decryptdata = data.keyInfo.decryptdata;
        const keyId = getKeyIdString(decryptdata);
        const badStatus = this.bannedKeyIds[keyId];
        if (badStatus || this.getKeyStatus(decryptdata) === 'internal-error') {
          const error = getKeyStatusError(badStatus || 'internal-error', decryptdata);
          this.handleError(error, data.frag);
          return Promise.reject(error);
        }
        const keyDetails = `(keyId: ${keyId} format: "${decryptdata.keyFormat}" method: ${decryptdata.method} uri: ${decryptdata.uri})`;
        this.log(`Starting session for key ${keyDetails}`);
        const keyContextPromise = this.keyIdToKeySessionPromise[keyId];
        if (!keyContextPromise) {
          const keySessionContextPromise = this.getKeySystemForKeyPromise(decryptdata).then(({
            keySystem,
            mediaKeys
          }) => {
            this.throwIfDestroyed();
            this.log(`Handle encrypted media sn: ${data.frag.sn} ${data.frag.type}: ${data.frag.level} using key ${keyDetails}`);
            return this.attemptSetMediaKeys(keySystem, mediaKeys).then(() => {
              this.throwIfDestroyed();
              return this.createMediaKeySessionContext({
                keySystem,
                mediaKeys,
                decryptdata
              });
            });
          }).then(keySessionContext => {
            const scheme = 'cenc';
            const initData = decryptdata.pssh ? decryptdata.pssh.buffer : null;
            return this.generateRequestWithPreferredKeySession(keySessionContext, scheme, initData, 'playlist-key');
          });
          keySessionContextPromise.catch(error => this.handleError(error, data.frag));
          this.keyIdToKeySessionPromise[keyId] = keySessionContextPromise;
          return keySessionContextPromise;
        }
    
        // Re-emit error for playlist key loading
        keyContextPromise.catch(error => {
          if (error instanceof EMEKeyError) {
            const errorData = _objectSpread2({}, error.data);
            if (this.getKeyStatus(decryptdata) === 'internal-error') {
              errorData.decryptdata = decryptdata;
            }
            const clonedError = new EMEKeyError(errorData, error.message);
            this.handleError(clonedError, data.frag);
          }
        });
        return keyContextPromise;
      }
      throwIfDestroyed(message = 'Invalid state') {
        if (!this.hls) {
          throw new Error('invalid state');
        }
      }
      handleError(error, frag) {
        if (!this.hls) {
          return;
        }
        if (error instanceof EMEKeyError) {
          if (frag) {
            error.data.frag = frag;
          }
          const levelKey = error.data.decryptdata;
          this.error(`${error.message}${levelKey ? ` (${arrayToHex(levelKey.keyId || [])})` : ''}`);
          this.hls.trigger(Events.ERROR, error.data);
        } else {
          this.error(error.message);
          this.hls.trigger(Events.ERROR, {
            type: ErrorTypes.KEY_SYSTEM_ERROR,
            details: ErrorDetails.KEY_SYSTEM_NO_KEYS,
            error,
            fatal: true
          });
        }
      }
      getKeySystemForKeyPromise(decryptdata) {
        const keyId = getKeyIdString(decryptdata);
        const mediaKeySessionContext = this.keyIdToKeySessionPromise[keyId];
        if (!mediaKeySessionContext) {
          const keySystem = keySystemFormatToKeySystemDomain(decryptdata.keyFormat);
          const keySystemsToAttempt = keySystem ? [keySystem] : getKeySystemsForConfig(this.config);
          return this.attemptKeySystemAccess(keySystemsToAttempt);
        }
        return mediaKeySessionContext;
      }
      getKeySystemSelectionPromise(keySystemsToAttempt) {
        if (!keySystemsToAttempt.length) {
          keySystemsToAttempt = getKeySystemsForConfig(this.config);
        }
        if (keySystemsToAttempt.length === 0) {
          throw new EMEKeyError({
            type: ErrorTypes.KEY_SYSTEM_ERROR,
            details: ErrorDetails.KEY_SYSTEM_NO_CONFIGURED_LICENSE,
            fatal: true
          }, `Missing key-system license configuration options ${stringify({
            drmSystems: this.config.drmSystems
          })}`);
        }
        return this.attemptKeySystemAccess(keySystemsToAttempt);
      }
      attemptSetMediaKeys(keySystem, mediaKeys) {
        this.mediaResolved = undefined;
        if (this.mediaKeys === mediaKeys) {
          return Promise.resolve();
        }
        const queue = this.setMediaKeysQueue.slice();
        this.log(`Setting media-keys for "${keySystem}"`);
        // Only one setMediaKeys() can run at one time, and multiple setMediaKeys() operations
        // can be queued for execution for multiple key sessions.
        const setMediaKeysPromise = Promise.all(queue).then(() => {
          if (!this.media) {
            return new Promise((resolve, reject) => {
              this.mediaResolved = () => {
                this.mediaResolved = undefined;
                if (!this.media) {
                  return reject(new Error('Attempted to set mediaKeys without media element attached'));
                }
                this.mediaKeys = mediaKeys;
                this.media.setMediaKeys(mediaKeys).then(resolve).catch(reject);
              };
            });
          }
          return this.media.setMediaKeys(mediaKeys);
        });
        this.mediaKeys = mediaKeys;
        this.setMediaKeysQueue.push(setMediaKeysPromise);
        return setMediaKeysPromise.then(() => {
          this.log(`Media-keys set for "${keySystem}"`);
          queue.push(setMediaKeysPromise);
          this.setMediaKeysQueue = this.setMediaKeysQueue.filter(p => queue.indexOf(p) === -1);
        });
      }
      generateRequestWithPreferredKeySession(context, initDataType, initData, reason) {
        var _this$config$drmSyste;
        const generateRequestFilter = (_this$config$drmSyste = this.config.drmSystems) == null || (_this$config$drmSyste = _this$config$drmSyste[context.keySystem]) == null ? void 0 : _this$config$drmSyste.generateRequest;
        if (generateRequestFilter) {
          try {
            const mappedInitData = generateRequestFilter.call(this.hls, initDataType, initData, context);
            if (!mappedInitData) {
              throw new Error('Invalid response from configured generateRequest filter');
            }
            initDataType = mappedInitData.initDataType;
            initData = mappedInitData.initData ? mappedInitData.initData : null;
            context.decryptdata.pssh = initData ? new Uint8Array(initData) : null;
          } catch (error) {
            this.warn(error.message);
            if (this.hls && this.hls.config.debug) {
              throw error;
            }
          }
        }
        if (initData === null) {
          this.log(`Skipping key-session request for "${reason}" (no initData)`);
          return Promise.resolve(context);
        }
        const keyId = getKeyIdString(context.decryptdata);
        const keyUri = context.decryptdata.uri;
        this.log(`Generating key-session request for "${reason}" keyId: ${keyId} URI: ${keyUri} (init data type: ${initDataType} length: ${initData.byteLength})`);
        const licenseStatus = new EventEmitter();
        const onmessage = context._onmessage = event => {
          const keySession = context.mediaKeysSession;
          if (!keySession) {
            licenseStatus.emit('error', new Error('invalid state'));
            return;
          }
          const {
            messageType,
            message
          } = event;
          this.log(`"${messageType}" message event for session "${keySession.sessionId}" message size: ${message.byteLength}`);
          if (messageType === 'license-request' || messageType === 'license-renewal') {
            this.renewLicense(context, message).catch(error => {
              if (licenseStatus.eventNames().length) {
                licenseStatus.emit('error', error);
              } else {
                this.handleError(error);
              }
            });
          } else if (messageType === 'license-release') {
            if (context.keySystem === KeySystems.FAIRPLAY) {
              this.updateKeySession(context, strToUtf8array('acknowledged')).then(() => this.removeSession(context)).catch(error => this.handleError(error));
            }
          } else {
            this.warn(`unhandled media key message type "${messageType}"`);
          }
        };
        const handleKeyStatus = (keyStatus, context) => {
          context.keyStatus = keyStatus;
          let keyError;
          if (keyStatus.startsWith('usable')) {
            licenseStatus.emit('resolved');
          } else if (keyStatus === 'internal-error' || keyStatus === 'output-restricted' || keyStatus === 'output-downscaled') {
            keyError = getKeyStatusError(keyStatus, context.decryptdata);
          } else if (keyStatus === 'expired') {
            keyError = new Error(`key expired (keyId: ${keyId})`);
          } else if (keyStatus === 'released') {
            keyError = new Error(`key released`);
          } else if (keyStatus === 'status-pending') ; else {
            this.warn(`unhandled key status change "${keyStatus}" (keyId: ${keyId})`);
          }
          if (keyError) {
            if (licenseStatus.eventNames().length) {
              licenseStatus.emit('error', keyError);
            } else {
              this.handleError(keyError);
            }
          }
        };
        const onkeystatuseschange = context._onkeystatuseschange = event => {
          const keySession = context.mediaKeysSession;
          if (!keySession) {
            licenseStatus.emit('error', new Error('invalid state'));
            return;
          }
          const keyStatuses = this.getKeyStatuses(context);
          const keyIds = Object.keys(keyStatuses);
    
          // exit if all keys are status-pending
          if (!keyIds.some(id => keyStatuses[id] !== 'status-pending')) {
            return;
          }
    
          // renew when a key status for a levelKey comes back expired
          if (keyStatuses[keyId] === 'expired') {
            // renew when a key status comes back expired
            this.log(`Expired key ${stringify(keyStatuses)} in key-session "${context.mediaKeysSession.sessionId}"`);
            this.renewKeySession(context);
            return;
          }
          let keyStatus = keyStatuses[keyId];
          if (keyStatus) {
            // handle status of current key
            handleKeyStatus(keyStatus, context);
          } else {
            var _context$keyStatusTim;
            // Timeout key-status
            const timeout = 1000;
            context.keyStatusTimeouts || (context.keyStatusTimeouts = {});
            (_context$keyStatusTim = context.keyStatusTimeouts)[keyId] || (_context$keyStatusTim[keyId] = self.setTimeout(() => {
              if (!context.mediaKeysSession || !this.mediaKeys) {
                return;
              }
    
              // Find key status in another session if missing (PlayReady #7519 no key-status "single-key" setup with shared key)
              const sessionKeyStatus = this.getKeyStatus(context.decryptdata);
              if (sessionKeyStatus && sessionKeyStatus !== 'status-pending') {
                this.log(`No status for keyId ${keyId} in key-session "${context.mediaKeysSession.sessionId}". Using session key-status ${sessionKeyStatus} from other session.`);
                return handleKeyStatus(sessionKeyStatus, context);
              }
    
              // Timeout key with internal-error
              this.log(`key status for ${keyId} in key-session "${context.mediaKeysSession.sessionId}" timed out after ${timeout}ms`);
              keyStatus = 'internal-error';
              handleKeyStatus(keyStatus, context);
            }, timeout));
            this.log(`No status for keyId ${keyId} (${stringify(keyStatuses)}).`);
          }
        };
        addEventListener(context.mediaKeysSession, 'message', onmessage);
        addEventListener(context.mediaKeysSession, 'keystatuseschange', onkeystatuseschange);
        const keyUsablePromise = new Promise((resolve, reject) => {
          licenseStatus.on('error', reject);
          licenseStatus.on('resolved', resolve);
        });
        return context.mediaKeysSession.generateRequest(initDataType, initData).then(() => {
          this.log(`Request generated for key-session "${context.mediaKeysSession.sessionId}" keyId: ${keyId} URI: ${keyUri}`);
        }).catch(error => {
          throw new EMEKeyError({
            type: ErrorTypes.KEY_SYSTEM_ERROR,
            details: ErrorDetails.KEY_SYSTEM_NO_SESSION,
            error,
            decryptdata: context.decryptdata,
            fatal: false
          }, `Error generating key-session request: ${error}`);
        }).then(() => keyUsablePromise).catch(error => {
          licenseStatus.removeAllListeners();
          return this.removeSession(context).then(() => {
            throw error;
          });
        }).then(() => {
          licenseStatus.removeAllListeners();
          return context;
        });
      }
      getKeyStatuses(mediaKeySessionContext) {
        const keyStatuses = {};
        mediaKeySessionContext.mediaKeysSession.keyStatuses.forEach((status, keyId) => {
          // keyStatuses.forEach is not standard API so the callback value looks weird on xboxone
          // xboxone callback(keyId, status) so we need to exchange them
          if (typeof keyId === 'string' && typeof status === 'object') {
            const temp = keyId;
            keyId = status;
            status = temp;
          }
          const keyIdArray = 'buffer' in keyId ? new Uint8Array(keyId.buffer, keyId.byteOffset, keyId.byteLength) : new Uint8Array(keyId);
          if (mediaKeySessionContext.keySystem === KeySystems.PLAYREADY && keyIdArray.length === 16) {
            // On some devices, the key ID has already been converted for endianness.
            // In such cases, this key ID is the one we need to cache.
            const originKeyIdWithStatusChange = arrayToHex(keyIdArray);
            // Cache the original key IDs to ensure compatibility across all cases.
            keyStatuses[originKeyIdWithStatusChange] = status;
            changeEndianness(keyIdArray);
          }
          const keyIdWithStatusChange = arrayToHex(keyIdArray);
          // Add to banned keys to prevent playlist usage and license requests
          if (status === 'internal-error') {
            this.bannedKeyIds[keyIdWithStatusChange] = status;
          }
          this.log(`key status change "${status}" for keyStatuses keyId: ${keyIdWithStatusChange} key-session "${mediaKeySessionContext.mediaKeysSession.sessionId}"`);
          keyStatuses[keyIdWithStatusChange] = status;
        });
        return keyStatuses;
      }
      fetchServerCertificate(keySystem) {
        const config = this.config;
        const Loader = config.loader;
        const certLoader = new Loader(config);
        const url = this.getServerCertificateUrl(keySystem);
        if (!url) {
          return Promise.resolve();
        }
        this.log(`Fetching server certificate for "${keySystem}"`);
        return new Promise((resolve, reject) => {
          const loaderContext = {
            responseType: 'arraybuffer',
            url
          };
          const loadPolicy = config.certLoadPolicy.default;
          const loaderConfig = {
            loadPolicy,
            timeout: loadPolicy.maxLoadTimeMs,
            maxRetry: 0,
            retryDelay: 0,
            maxRetryDelay: 0
          };
          const loaderCallbacks = {
            onSuccess: (response, stats, context, networkDetails) => {
              resolve(response.data);
            },
            onError: (response, contex, networkDetails, stats) => {
              reject(new EMEKeyError({
                type: ErrorTypes.KEY_SYSTEM_ERROR,
                details: ErrorDetails.KEY_SYSTEM_SERVER_CERTIFICATE_REQUEST_FAILED,
                fatal: true,
                networkDetails,
                response: _objectSpread2({
                  url: loaderContext.url,
                  data: undefined
                }, response)
              }, `"${keySystem}" certificate request failed (${url}). Status: ${response.code} (${response.text})`));
            },
            onTimeout: (stats, context, networkDetails) => {
              reject(new EMEKeyError({
                type: ErrorTypes.KEY_SYSTEM_ERROR,
                details: ErrorDetails.KEY_SYSTEM_SERVER_CERTIFICATE_REQUEST_FAILED,
                fatal: true,
                networkDetails,
                response: {
                  url: loaderContext.url,
                  data: undefined
                }
              }, `"${keySystem}" certificate request timed out (${url})`));
            },
            onAbort: (stats, context, networkDetails) => {
              reject(new Error('aborted'));
            }
          };
          certLoader.load(loaderContext, loaderConfig, loaderCallbacks);
        });
      }
      setMediaKeysServerCertificate(mediaKeys, keySystem, cert) {
        return new Promise((resolve, reject) => {
          mediaKeys.setServerCertificate(cert).then(success => {
            this.log(`setServerCertificate ${success ? 'success' : 'not supported by CDM'} (${cert.byteLength}) on "${keySystem}"`);
            resolve(mediaKeys);
          }).catch(error => {
            reject(new EMEKeyError({
              type: ErrorTypes.KEY_SYSTEM_ERROR,
              details: ErrorDetails.KEY_SYSTEM_SERVER_CERTIFICATE_UPDATE_FAILED,
              error,
              fatal: true
            }, error.message));
          });
        });
      }
      renewLicense(context, keyMessage) {
        return this.requestLicense(context, new Uint8Array(keyMessage)).then(data => {
          return this.updateKeySession(context, new Uint8Array(data)).catch(error => {
            throw new EMEKeyError({
              type: ErrorTypes.KEY_SYSTEM_ERROR,
              details: ErrorDetails.KEY_SYSTEM_SESSION_UPDATE_FAILED,
              decryptdata: context.decryptdata,
              error,
              fatal: false
            }, error.message);
          });
        });
      }
      unpackPlayReadyKeyMessage(xhr, licenseChallenge) {
        // On Edge, the raw license message is UTF-16-encoded XML.  We need
        // to unpack the Challenge element (base64-encoded string containing the
        // actual license request) and any HttpHeader elements (sent as request
        // headers).
        // For PlayReady CDMs, we need to dig the Challenge out of the XML.
        const xmlString = String.fromCharCode.apply(null, new Uint16Array(licenseChallenge.buffer));
        if (!xmlString.includes('PlayReadyKeyMessage')) {
          // This does not appear to be a wrapped message as on Edge.  Some
          // clients do not need this unwrapping, so we will assume this is one of
          // them.  Note that "xml" at this point probably looks like random
          // garbage, since we interpreted UTF-8 as UTF-16.
          xhr.setRequestHeader('Content-Type', 'text/xml; charset=utf-8');
          return licenseChallenge;
        }
        const keyMessageXml = new DOMParser().parseFromString(xmlString, 'application/xml');
        // Set request headers.
        const headers = keyMessageXml.querySelectorAll('HttpHeader');
        if (headers.length > 0) {
          let header;
          for (let i = 0, len = headers.length; i < len; i++) {
            var _header$querySelector, _header$querySelector2;
            header = headers[i];
            const name = (_header$querySelector = header.querySelector('name')) == null ? void 0 : _header$querySelector.textContent;
            const value = (_header$querySelector2 = header.querySelector('value')) == null ? void 0 : _header$querySelector2.textContent;
            if (name && value) {
              xhr.setRequestHeader(name, value);
            }
          }
        }
        const challengeElement = keyMessageXml.querySelector('Challenge');
        const challengeText = challengeElement == null ? void 0 : challengeElement.textContent;
        if (!challengeText) {
          throw new Error(`Cannot find <Challenge> in key message`);
        }
        return strToUtf8array(atob(challengeText));
      }
      setupLicenseXHR(xhr, url, keysListItem, licenseChallenge) {
        const licenseXhrSetup = this.config.licenseXhrSetup;
        if (!licenseXhrSetup) {
          xhr.open('POST', url, true);
          return Promise.resolve({
            xhr,
            licenseChallenge
          });
        }
        return Promise.resolve().then(() => {
          if (!keysListItem.decryptdata) {
            throw new Error('Key removed');
          }
          return licenseXhrSetup.call(this.hls, xhr, url, keysListItem, licenseChallenge);
        }).catch(error => {
          if (!keysListItem.decryptdata) {
            // Key session removed. Cancel license request.
            throw error;
          }
          // let's try to open before running setup
          xhr.open('POST', url, true);
          return licenseXhrSetup.call(this.hls, xhr, url, keysListItem, licenseChallenge);
        }).then(licenseXhrSetupResult => {
          // if licenseXhrSetup did not yet call open, let's do it now
          if (!xhr.readyState) {
            xhr.open('POST', url, true);
          }
          const finalLicenseChallenge = licenseXhrSetupResult ? licenseXhrSetupResult : licenseChallenge;
          return {
            xhr,
            licenseChallenge: finalLicenseChallenge
          };
        });
      }
      requestLicense(keySessionContext, licenseChallenge) {
        const keyLoadPolicy = this.config.keyLoadPolicy.default;
        return new Promise((resolve, reject) => {
          const url = this.getLicenseServerUrlOrThrow(keySessionContext.keySystem);
          this.log(`Sending license request to URL: ${url}`);
          const xhr = new XMLHttpRequest();
          xhr.responseType = 'arraybuffer';
          xhr.onreadystatechange = () => {
            if (!this.hls || !keySessionContext.mediaKeysSession) {
              return reject(new Error('invalid state'));
            }
            if (xhr.readyState === 4) {
              if (xhr.status === 200) {
                this._requestLicenseFailureCount = 0;
                let data = xhr.response;
                this.log(`License received ${data instanceof ArrayBuffer ? data.byteLength : data}`);
                const licenseResponseCallback = this.config.licenseResponseCallback;
                if (licenseResponseCallback) {
                  try {
                    data = licenseResponseCallback.call(this.hls, xhr, url, keySessionContext);
                  } catch (error) {
                    this.error(error);
                  }
                }
                resolve(data);
              } else {
                const retryConfig = keyLoadPolicy.errorRetry;
                const maxNumRetry = retryConfig ? retryConfig.maxNumRetry : 0;
                this._requestLicenseFailureCount++;
                if (this._requestLicenseFailureCount > maxNumRetry || xhr.status >= 400 && xhr.status < 500) {
                  reject(new EMEKeyError({
                    type: ErrorTypes.KEY_SYSTEM_ERROR,
                    details: ErrorDetails.KEY_SYSTEM_LICENSE_REQUEST_FAILED,
                    decryptdata: keySessionContext.decryptdata,
                    fatal: true,
                    networkDetails: xhr,
                    response: {
                      url,
                      data: undefined,
                      code: xhr.status,
                      text: xhr.statusText
                    }
                  }, `License Request XHR failed (${url}). Status: ${xhr.status} (${xhr.statusText})`));
                } else {
                  const attemptsLeft = maxNumRetry - this._requestLicenseFailureCount + 1;
                  this.warn(`Retrying license request, ${attemptsLeft} attempts left`);
                  this.requestLicense(keySessionContext, licenseChallenge).then(resolve, reject);
                }
              }
            }
          };
          if (keySessionContext.licenseXhr && keySessionContext.licenseXhr.readyState !== XMLHttpRequest.DONE) {
            keySessionContext.licenseXhr.abort();
          }
          keySessionContext.licenseXhr = xhr;
          this.setupLicenseXHR(xhr, url, keySessionContext, licenseChallenge).then(({
            xhr,
            licenseChallenge
          }) => {
            if (keySessionContext.keySystem == KeySystems.PLAYREADY) {
              licenseChallenge = this.unpackPlayReadyKeyMessage(xhr, licenseChallenge);
            }
            xhr.send(licenseChallenge);
          }).catch(reject);
        });
      }
      onDestroying() {
        this.unregisterListeners();
        this._clear();
      }
      onMediaAttached(event, data) {
        if (!this.config.emeEnabled) {
          return;
        }
        const media = data.media;
    
        // keep reference of media
        this.media = media;
        addEventListener(media, 'encrypted', this.onMediaEncrypted);
        addEventListener(media, 'waitingforkey', this.onWaitingForKey);
        const mediaResolved = this.mediaResolved;
        if (mediaResolved) {
          mediaResolved();
        } else {
          this.mediaKeys = media.mediaKeys;
        }
      }
      onMediaDetached() {
        const media = this.media;
        if (media) {
          removeEventListener(media, 'encrypted', this.onMediaEncrypted);
          removeEventListener(media, 'waitingforkey', this.onWaitingForKey);
          this.media = null;
          this.mediaKeys = null;
        }
      }
      _clear() {
        var _media$setMediaKeys;
        this._requestLicenseFailureCount = 0;
        this.keyIdToKeySessionPromise = {};
        this.bannedKeyIds = {};
        const mediaResolved = this.mediaResolved;
        if (mediaResolved) {
          mediaResolved();
        }
        if (!this.mediaKeys && !this.mediaKeySessions.length) {
          return;
        }
        const media = this.media;
        const mediaKeysList = this.mediaKeySessions.slice();
        this.mediaKeySessions = [];
        this.mediaKeys = null;
        LevelKey.clearKeyUriToKeyIdMap();
    
        // Close all sessions and remove media keys from the video element.
        const keySessionCount = mediaKeysList.length;
        EMEController.CDMCleanupPromise = Promise.all(mediaKeysList.map(mediaKeySessionContext => this.removeSession(mediaKeySessionContext)).concat((media == null || (_media$setMediaKeys = media.setMediaKeys(null)) == null ? void 0 : _media$setMediaKeys.catch(error => {
          this.log(`Could not clear media keys: ${error}`);
          if (!this.hls) return;
          this.hls.trigger(Events.ERROR, {
            type: ErrorTypes.OTHER_ERROR,
            details: ErrorDetails.KEY_SYSTEM_DESTROY_MEDIA_KEYS_ERROR,
            fatal: false,
            error: new Error(`Could not clear media keys: ${error}`)
          });
        })) || Promise.resolve())).catch(error => {
          this.log(`Could not close sessions and clear media keys: ${error}`);
          if (!this.hls) return;
          this.hls.trigger(Events.ERROR, {
            type: ErrorTypes.OTHER_ERROR,
            details: ErrorDetails.KEY_SYSTEM_DESTROY_CLOSE_SESSION_ERROR,
            fatal: false,
            error: new Error(`Could not close sessions and clear media keys: ${error}`)
          });
        }).then(() => {
          if (keySessionCount) {
            this.log('finished closing key sessions and clearing media keys');
          }
        });
      }
      onManifestLoading() {
        this._clear();
      }
      onManifestLoaded(event, {
        sessionKeys
      }) {
        if (!sessionKeys || !this.config.emeEnabled) {
          return;
        }
        if (!this.keyFormatPromise) {
          const keyFormats = sessionKeys.reduce((formats, sessionKey) => {
            if (formats.indexOf(sessionKey.keyFormat) === -1) {
              formats.push(sessionKey.keyFormat);
            }
            return formats;
          }, []);
          this.log(`Selecting key-system from session-keys ${keyFormats.join(', ')}`);
          this.keyFormatPromise = this.getKeyFormatPromise(keyFormats);
        }
      }
      removeSession(mediaKeySessionContext) {
        const {
          mediaKeysSession,
          licenseXhr,
          decryptdata
        } = mediaKeySessionContext;
        if (mediaKeysSession) {
          this.log(`Remove licenses and keys and close session "${mediaKeysSession.sessionId}" keyId: ${arrayToHex((decryptdata == null ? void 0 : decryptdata.keyId) || [])}`);
          if (mediaKeySessionContext._onmessage) {
            mediaKeysSession.removeEventListener('message', mediaKeySessionContext._onmessage);
            mediaKeySessionContext._onmessage = undefined;
          }
          if (mediaKeySessionContext._onkeystatuseschange) {
            mediaKeysSession.removeEventListener('keystatuseschange', mediaKeySessionContext._onkeystatuseschange);
            mediaKeySessionContext._onkeystatuseschange = undefined;
          }
          if (licenseXhr && licenseXhr.readyState !== XMLHttpRequest.DONE) {
            licenseXhr.abort();
          }
          mediaKeySessionContext.mediaKeysSession = mediaKeySessionContext.decryptdata = mediaKeySessionContext.licenseXhr = undefined;
          const index = this.mediaKeySessions.indexOf(mediaKeySessionContext);
          if (index > -1) {
            this.mediaKeySessions.splice(index, 1);
          }
          const {
            keyStatusTimeouts
          } = mediaKeySessionContext;
          if (keyStatusTimeouts) {
            Object.keys(keyStatusTimeouts).forEach(keyId => self.clearTimeout(keyStatusTimeouts[keyId]));
          }
          const {
            drmSystemOptions
          } = this.config;
          const removePromise = isPersistentSessionType(drmSystemOptions) ? new Promise((resolve, reject) => {
            self.setTimeout(() => reject(new Error(`MediaKeySession.remove() timeout`)), 8000);
            mediaKeysSession.remove().then(resolve).catch(reject);
          }) : Promise.resolve();
          return removePromise.catch(error => {
            this.log(`Could not remove session: ${error}`);
            if (!this.hls) return;
            this.hls.trigger(Events.ERROR, {
              type: ErrorTypes.OTHER_ERROR,
              details: ErrorDetails.KEY_SYSTEM_DESTROY_REMOVE_SESSION_ERROR,
              fatal: false,
              error: new Error(`Could not remove session: ${error}`)
            });
          }).then(() => {
            return mediaKeysSession.close();
          }).catch(error => {
            this.log(`Could not close session: ${error}`);
            if (!this.hls) return;
            this.hls.trigger(Events.ERROR, {
              type: ErrorTypes.OTHER_ERROR,
              details: ErrorDetails.KEY_SYSTEM_DESTROY_CLOSE_SESSION_ERROR,
              fatal: false,
              error: new Error(`Could not close session: ${error}`)
            });
          });
        }
        return Promise.resolve();
      }
    }
    EMEController.CDMCleanupPromise = void 0;
    function getKeyIdString(decryptdata) {
      if (!decryptdata) {
        throw new Error('Could not read keyId of undefined decryptdata');
      }
      if (decryptdata.keyId === null) {
        throw new Error('keyId is null');
      }
      return arrayToHex(decryptdata.keyId);
    }
    function getKeyStatus(decryptdata, keyContext) {
      if (decryptdata.keyId && keyContext.mediaKeysSession.keyStatuses.has(decryptdata.keyId)) {
        return keyContext.mediaKeysSession.keyStatuses.get(decryptdata.keyId);
      }
      if (decryptdata.matches(keyContext.decryptdata)) {
        return keyContext.keyStatus;
      }
      return undefined;
    }
    class EMEKeyError extends Error {
      constructor(data, message) {
        super(message);
        this.data = void 0;
        data.error || (data.error = new Error(message));
        this.data = data;
        data.err = data.error;
      }
    }
    function getKeyStatusError(keyStatus, decryptdata) {
      const outputRestricted = keyStatus === 'output-restricted';
      const details = outputRestricted ? ErrorDetails.KEY_SYSTEM_STATUS_OUTPUT_RESTRICTED : ErrorDetails.KEY_SYSTEM_STATUS_INTERNAL_ERROR;
      return new EMEKeyError({
        type: ErrorTypes.KEY_SYSTEM_ERROR,
        details,
        fatal: false,
        decryptdata
      }, outputRestricted ? 'HDCP level output restricted' : `key status changed to "${keyStatus}"`);
    }
    
    class FPSController {
      constructor(hls) {
        this.hls = void 0;
        this.isVideoPlaybackQualityAvailable = false;
        this.timer = void 0;
        this.media = null;
        this.lastTime = void 0;
        this.lastDroppedFrames = 0;
        this.lastDecodedFrames = 0;
        // stream controller must be provided as a dependency!
        this.streamController = void 0;
        this.hls = hls;
        this.registerListeners();
      }
      setStreamController(streamController) {
        this.streamController = streamController;
      }
      registerListeners() {
        this.hls.on(Events.MEDIA_ATTACHING, this.onMediaAttaching, this);
        this.hls.on(Events.MEDIA_DETACHING, this.onMediaDetaching, this);
      }
      unregisterListeners() {
        this.hls.off(Events.MEDIA_ATTACHING, this.onMediaAttaching, this);
        this.hls.off(Events.MEDIA_DETACHING, this.onMediaDetaching, this);
      }
      destroy() {
        if (this.timer) {
          clearInterval(this.timer);
        }
        this.unregisterListeners();
        this.isVideoPlaybackQualityAvailable = false;
        this.media = null;
      }
      onMediaAttaching(event, data) {
        const config = this.hls.config;
        if (config.capLevelOnFPSDrop) {
          const media = data.media instanceof self.HTMLVideoElement ? data.media : null;
          this.media = media;
          if (media && typeof media.getVideoPlaybackQuality === 'function') {
            this.isVideoPlaybackQualityAvailable = true;
          }
          self.clearInterval(this.timer);
          this.timer = self.setInterval(this.checkFPSInterval.bind(this), config.fpsDroppedMonitoringPeriod);
        }
      }
      onMediaDetaching() {
        this.media = null;
      }
      checkFPS(video, decodedFrames, droppedFrames) {
        const currentTime = performance.now();
        if (decodedFrames) {
          if (this.lastTime) {
            const currentPeriod = currentTime - this.lastTime;
            const currentDropped = droppedFrames - this.lastDroppedFrames;
            const currentDecoded = decodedFrames - this.lastDecodedFrames;
            const droppedFPS = 1000 * currentDropped / currentPeriod;
            const hls = this.hls;
            hls.trigger(Events.FPS_DROP, {
              currentDropped: currentDropped,
              currentDecoded: currentDecoded,
              totalDroppedFrames: droppedFrames
            });
            if (droppedFPS > 0) {
              // hls.logger.log('checkFPS : droppedFPS/decodedFPS:' + droppedFPS/(1000 * currentDecoded / currentPeriod));
              if (currentDropped > hls.config.fpsDroppedMonitoringThreshold * currentDecoded) {
                let currentLevel = hls.currentLevel;
                hls.logger.warn('drop FPS ratio greater than max allowed value for currentLevel: ' + currentLevel);
                if (currentLevel > 0 && (hls.autoLevelCapping === -1 || hls.autoLevelCapping >= currentLevel)) {
                  currentLevel = currentLevel - 1;
                  hls.trigger(Events.FPS_DROP_LEVEL_CAPPING, {
                    level: currentLevel,
                    droppedLevel: hls.currentLevel
                  });
                  hls.autoLevelCapping = currentLevel;
                  this.streamController.nextLevelSwitch();
                }
              }
            }
          }
          this.lastTime = currentTime;
          this.lastDroppedFrames = droppedFrames;
          this.lastDecodedFrames = decodedFrames;
        }
      }
      checkFPSInterval() {
        const video = this.media;
        if (video) {
          if (this.isVideoPlaybackQualityAvailable) {
            const videoPlaybackQuality = video.getVideoPlaybackQuality();
            this.checkFPS(video, videoPlaybackQuality.totalVideoFrames, videoPlaybackQuality.droppedVideoFrames);
          } else {
            // HTMLVideoElement doesn't include the webkit types
            this.checkFPS(video, video.webkitDecodedFrameCount, video.webkitDroppedFrameCount);
          }
        }
      }
    }
    
    function sendAddTrackEvent(track, videoEl) {
      let event;
      try {
        event = new Event('addtrack');
      } catch (err) {
        // for IE11
        event = document.createEvent('Event');
        event.initEvent('addtrack', false, false);
      }
      event.track = track;
      videoEl.dispatchEvent(event);
    }
    function addCueToTrack(track, cue) {
      // Sometimes there are cue overlaps on segmented vtts so the same
      // cue can appear more than once in different vtt files.
      // This avoid showing duplicated cues with same timecode and text.
      const mode = track.mode;
      if (mode === 'disabled') {
        track.mode = 'hidden';
      }
      if (track.cues && !track.cues.getCueById(cue.id)) {
        try {
          track.addCue(cue);
          if (!track.cues.getCueById(cue.id)) {
            throw new Error(`addCue is failed for: ${cue}`);
          }
        } catch (err) {
          logger.debug(`[texttrack-utils]: ${err}`);
          try {
            const textTrackCue = new self.TextTrackCue(cue.startTime, cue.endTime, cue.text);
            textTrackCue.id = cue.id;
            track.addCue(textTrackCue);
          } catch (err2) {
            logger.debug(`[texttrack-utils]: Legacy TextTrackCue fallback failed: ${err2}`);
          }
        }
      }
      if (mode === 'disabled') {
        track.mode = mode;
      }
    }
    function clearCurrentCues(track, enterHandler) {
      // When track.mode is disabled, track.cues will be null.
      // To guarantee the removal of cues, we need to temporarily
      // change the mode to hidden
      const mode = track.mode;
      if (mode === 'disabled') {
        track.mode = 'hidden';
      }
      if (track.cues) {
        for (let i = track.cues.length; i--;) {
          if (enterHandler) {
            track.cues[i].removeEventListener('enter', enterHandler);
          }
          track.removeCue(track.cues[i]);
        }
      }
      if (mode === 'disabled') {
        track.mode = mode;
      }
    }
    function removeCuesInRange(track, start, end, predicate) {
      const mode = track.mode;
      if (mode === 'disabled') {
        track.mode = 'hidden';
      }
      if (track.cues && track.cues.length > 0) {
        const cues = getCuesInRange(track.cues, start, end);
        for (let i = 0; i < cues.length; i++) {
          if (!predicate || predicate(cues[i])) {
            track.removeCue(cues[i]);
          }
        }
      }
      if (mode === 'disabled') {
        track.mode = mode;
      }
    }
    
    // Find first cue starting at or after given time.
    // Modified version of binary search O(log(n)).
    function getFirstCueIndexFromTime(cues, time) {
      // If first cue starts at or after time, start there
      if (time <= cues[0].startTime) {
        return 0;
      }
      // If the last cue ends before time there is no overlap
      const len = cues.length - 1;
      if (time > cues[len].endTime) {
        return -1;
      }
      let left = 0;
      let right = len;
      let mid;
      while (left <= right) {
        mid = Math.floor((right + left) / 2);
        if (time < cues[mid].startTime) {
          right = mid - 1;
        } else if (time > cues[mid].startTime && left < len) {
          left = mid + 1;
        } else {
          // If it's not lower or higher, it must be equal.
          return mid;
        }
      }
      // At this point, left and right have swapped.
      // No direct match was found, left or right element must be the closest. Check which one has the smallest diff.
      return cues[left].startTime - time < time - cues[right].startTime ? left : right;
    }
    function getCuesInRange(cues, start, end) {
      const cuesFound = [];
      const firstCueInRange = getFirstCueIndexFromTime(cues, start);
      if (firstCueInRange > -1) {
        for (let i = firstCueInRange, len = cues.length; i < len; i++) {
          const cue = cues[i];
          if (cue.startTime >= start && cue.endTime <= end) {
            cuesFound.push(cue);
          } else if (cue.startTime > end) {
            return cuesFound;
          }
        }
      }
      return cuesFound;
    }
    function filterSubtitleTracks(textTrackList) {
      const tracks = [];
      for (let i = 0; i < textTrackList.length; i++) {
        const track = textTrackList[i];
        // Edge adds a track without a label; we don't want to use it
        if ((track.kind === 'subtitles' || track.kind === 'captions') && track.label) {
          tracks.push(textTrackList[i]);
        }
      }
      return tracks;
    }
    
    class SubtitleTrackController extends BasePlaylistController {
      constructor(hls) {
        super(hls, 'subtitle-track-controller');
        this.media = null;
        this.tracks = [];
        this.groupIds = null;
        this.tracksInGroup = [];
        this.trackId = -1;
        this.currentTrack = null;
        this.selectDefaultTrack = true;
        this.queuedDefaultTrack = -1;
        this.useTextTrackPolling = false;
        this.subtitlePollingInterval = -1;
        this._subtitleDisplay = true;
        this.asyncPollTrackChange = () => this.pollTrackChange(0);
        this.onTextTracksChanged = () => {
          if (!this.useTextTrackPolling) {
            self.clearInterval(this.subtitlePollingInterval);
          }
          // Media is undefined when switching streams via loadSource()
          if (!this.media || !this.hls.config.renderTextTracksNatively) {
            return;
          }
          let textTrack = null;
          const tracks = filterSubtitleTracks(this.media.textTracks);
          for (let i = 0; i < tracks.length; i++) {
            if (tracks[i].mode === 'hidden') {
              // Do not break in case there is a following track with showing.
              textTrack = tracks[i];
            } else if (tracks[i].mode === 'showing') {
              textTrack = tracks[i];
              break;
            }
          }
    
          // Find internal track index for TextTrack
          const trackId = this.findTrackForTextTrack(textTrack);
          if (this.subtitleTrack !== trackId) {
            this.setSubtitleTrack(trackId);
          }
        };
        this.registerListeners();
      }
      destroy() {
        this.unregisterListeners();
        this.tracks.length = 0;
        this.tracksInGroup.length = 0;
        this.currentTrack = null;
        // @ts-ignore
        this.onTextTracksChanged = this.asyncPollTrackChange = null;
        super.destroy();
      }
      get subtitleDisplay() {
        return this._subtitleDisplay;
      }
      set subtitleDisplay(value) {
        this._subtitleDisplay = value;
        if (this.trackId > -1) {
          this.toggleTrackModes();
        }
      }
      registerListeners() {
        const {
          hls
        } = this;
        hls.on(Events.MEDIA_ATTACHED, this.onMediaAttached, this);
        hls.on(Events.MEDIA_DETACHING, this.onMediaDetaching, this);
        hls.on(Events.MANIFEST_LOADING, this.onManifestLoading, this);
        hls.on(Events.MANIFEST_PARSED, this.onManifestParsed, this);
        hls.on(Events.LEVEL_LOADING, this.onLevelLoading, this);
        hls.on(Events.LEVEL_SWITCHING, this.onLevelSwitching, this);
        hls.on(Events.SUBTITLE_TRACK_LOADED, this.onSubtitleTrackLoaded, this);
        hls.on(Events.ERROR, this.onError, this);
      }
      unregisterListeners() {
        const {
          hls
        } = this;
        hls.off(Events.MEDIA_ATTACHED, this.onMediaAttached, this);
        hls.off(Events.MEDIA_DETACHING, this.onMediaDetaching, this);
        hls.off(Events.MANIFEST_LOADING, this.onManifestLoading, this);
        hls.off(Events.MANIFEST_PARSED, this.onManifestParsed, this);
        hls.off(Events.LEVEL_LOADING, this.onLevelLoading, this);
        hls.off(Events.LEVEL_SWITCHING, this.onLevelSwitching, this);
        hls.off(Events.SUBTITLE_TRACK_LOADED, this.onSubtitleTrackLoaded, this);
        hls.off(Events.ERROR, this.onError, this);
      }
    
      // Listen for subtitle track change, then extract the current track ID.
      onMediaAttached(event, data) {
        this.media = data.media;
        if (!this.media) {
          return;
        }
        if (this.queuedDefaultTrack > -1) {
          this.subtitleTrack = this.queuedDefaultTrack;
          this.queuedDefaultTrack = -1;
        }
        this.useTextTrackPolling = !(this.media.textTracks && 'onchange' in this.media.textTracks);
        if (this.useTextTrackPolling) {
          this.pollTrackChange(500);
        } else {
          this.media.textTracks.addEventListener('change', this.asyncPollTrackChange);
        }
      }
      pollTrackChange(timeout) {
        self.clearInterval(this.subtitlePollingInterval);
        this.subtitlePollingInterval = self.setInterval(this.onTextTracksChanged, timeout);
      }
      onMediaDetaching(event, data) {
        const media = this.media;
        if (!media) {
          return;
        }
        const transferringMedia = !!data.transferMedia;
        self.clearInterval(this.subtitlePollingInterval);
        if (!this.useTextTrackPolling) {
          media.textTracks.removeEventListener('change', this.asyncPollTrackChange);
        }
        if (this.trackId > -1) {
          this.queuedDefaultTrack = this.trackId;
        }
    
        // Disable all subtitle tracks before detachment so when reattached only tracks in that content are enabled.
        this.subtitleTrack = -1;
        this.media = null;
        if (transferringMedia) {
          return;
        }
        const textTracks = filterSubtitleTracks(media.textTracks);
        // Clear loaded cues on media detachment from tracks
        textTracks.forEach(track => {
          clearCurrentCues(track);
        });
      }
      onManifestLoading() {
        this.tracks = [];
        this.groupIds = null;
        this.tracksInGroup = [];
        this.trackId = -1;
        this.currentTrack = null;
        this.selectDefaultTrack = true;
      }
    
      // Fired whenever a new manifest is loaded.
      onManifestParsed(event, data) {
        this.tracks = data.subtitleTracks;
      }
      onSubtitleTrackLoaded(event, data) {
        const {
          id,
          groupId,
          details
        } = data;
        const trackInActiveGroup = this.tracksInGroup[id];
        if (!trackInActiveGroup || trackInActiveGroup.groupId !== groupId) {
          this.warn(`Subtitle track with id:${id} and group:${groupId} not found in active group ${trackInActiveGroup == null ? void 0 : trackInActiveGroup.groupId}`);
          return;
        }
        const curDetails = trackInActiveGroup.details;
        trackInActiveGroup.details = data.details;
        this.log(`Subtitle track ${id} "${trackInActiveGroup.name}" lang:${trackInActiveGroup.lang} group:${groupId} loaded [${details.startSN}-${details.endSN}]`);
        if (id === this.trackId) {
          this.playlistLoaded(id, data, curDetails);
        }
      }
      onLevelLoading(event, data) {
        this.switchLevel(data.level);
      }
      onLevelSwitching(event, data) {
        this.switchLevel(data.level);
      }
      switchLevel(levelIndex) {
        const levelInfo = this.hls.levels[levelIndex];
        if (!levelInfo) {
          return;
        }
        const subtitleGroups = levelInfo.subtitleGroups || null;
        const currentGroups = this.groupIds;
        let currentTrack = this.currentTrack;
        if (!subtitleGroups || (currentGroups == null ? void 0 : currentGroups.length) !== (subtitleGroups == null ? void 0 : subtitleGroups.length) || subtitleGroups != null && subtitleGroups.some(groupId => (currentGroups == null ? void 0 : currentGroups.indexOf(groupId)) === -1)) {
          this.groupIds = subtitleGroups;
          this.trackId = -1;
          this.currentTrack = null;
          const subtitleTracks = this.tracks.filter(track => !subtitleGroups || subtitleGroups.indexOf(track.groupId) !== -1);
          if (subtitleTracks.length) {
            // Disable selectDefaultTrack if there are no default tracks
            if (this.selectDefaultTrack && !subtitleTracks.some(track => track.default)) {
              this.selectDefaultTrack = false;
            }
            // track.id should match hls.audioTracks index
            subtitleTracks.forEach((track, i) => {
              track.id = i;
            });
          } else if (!currentTrack && !this.tracksInGroup.length) {
            // Do not dispatch SUBTITLE_TRACKS_UPDATED when there were and are no tracks
            return;
          }
          this.tracksInGroup = subtitleTracks;
    
          // Find preferred track
          const subtitlePreference = this.hls.config.subtitlePreference;
          if (!currentTrack && subtitlePreference) {
            this.selectDefaultTrack = false;
            const groupIndex = findMatchingOption(subtitlePreference, subtitleTracks);
            if (groupIndex > -1) {
              currentTrack = subtitleTracks[groupIndex];
            } else {
              const allIndex = findMatchingOption(subtitlePreference, this.tracks);
              currentTrack = this.tracks[allIndex];
            }
          }
    
          // Select initial track
          let trackId = this.findTrackId(currentTrack);
          if (trackId === -1 && currentTrack) {
            trackId = this.findTrackId(null);
          }
    
          // Dispatch events and load track if needed
          const subtitleTracksUpdated = {
            subtitleTracks
          };
          this.log(`Updating subtitle tracks, ${subtitleTracks.length} track(s) found in "${subtitleGroups == null ? void 0 : subtitleGroups.join(',')}" group-id`);
          this.hls.trigger(Events.SUBTITLE_TRACKS_UPDATED, subtitleTracksUpdated);
          if (trackId !== -1 && this.trackId === -1) {
            this.setSubtitleTrack(trackId);
          }
        }
      }
      findTrackId(currentTrack) {
        const tracks = this.tracksInGroup;
        const selectDefault = this.selectDefaultTrack;
        for (let i = 0; i < tracks.length; i++) {
          const track = tracks[i];
          if (selectDefault && !track.default || !selectDefault && !currentTrack) {
            continue;
          }
          if (!currentTrack || matchesOption(track, currentTrack)) {
            return i;
          }
        }
        if (currentTrack) {
          for (let i = 0; i < tracks.length; i++) {
            const track = tracks[i];
            if (mediaAttributesIdentical(currentTrack.attrs, track.attrs, ['LANGUAGE', 'ASSOC-LANGUAGE', 'CHARACTERISTICS'])) {
              return i;
            }
          }
          for (let i = 0; i < tracks.length; i++) {
            const track = tracks[i];
            if (mediaAttributesIdentical(currentTrack.attrs, track.attrs, ['LANGUAGE'])) {
              return i;
            }
          }
        }
        return -1;
      }
      findTrackForTextTrack(textTrack) {
        if (textTrack) {
          const tracks = this.tracksInGroup;
          for (let i = 0; i < tracks.length; i++) {
            const track = tracks[i];
            if (subtitleTrackMatchesTextTrack(track, textTrack)) {
              return i;
            }
          }
        }
        return -1;
      }
      onError(event, data) {
        if (data.fatal || !data.context) {
          return;
        }
        if (data.context.type === PlaylistContextType.SUBTITLE_TRACK && data.context.id === this.trackId && (!this.groupIds || this.groupIds.indexOf(data.context.groupId) !== -1)) {
          this.checkRetry(data);
        }
      }
      get allSubtitleTracks() {
        return this.tracks;
      }
    
      /** get alternate subtitle tracks list from playlist **/
      get subtitleTracks() {
        return this.tracksInGroup;
      }
    
      /** get/set index of the selected subtitle track (based on index in subtitle track lists) **/
      get subtitleTrack() {
        return this.trackId;
      }
      set subtitleTrack(newId) {
        this.selectDefaultTrack = false;
        this.setSubtitleTrack(newId);
      }
      setSubtitleOption(subtitleOption) {
        this.hls.config.subtitlePreference = subtitleOption;
        if (subtitleOption) {
          if (subtitleOption.id === -1) {
            this.setSubtitleTrack(-1);
            return null;
          }
          const allSubtitleTracks = this.allSubtitleTracks;
          this.selectDefaultTrack = false;
          if (allSubtitleTracks.length) {
            // First see if current option matches (no switch op)
            const currentTrack = this.currentTrack;
            if (currentTrack && matchesOption(subtitleOption, currentTrack)) {
              return currentTrack;
            }
            // Find option in current group
            const groupIndex = findMatchingOption(subtitleOption, this.tracksInGroup);
            if (groupIndex > -1) {
              const track = this.tracksInGroup[groupIndex];
              this.setSubtitleTrack(groupIndex);
              return track;
            } else if (currentTrack) {
              // If this is not the initial selection return null
              // option should have matched one in active group
              return null;
            } else {
              // Find the option in all tracks for initial selection
              const allIndex = findMatchingOption(subtitleOption, allSubtitleTracks);
              if (allIndex > -1) {
                return allSubtitleTracks[allIndex];
              }
            }
          }
        }
        return null;
      }
      loadPlaylist(hlsUrlParameters) {
        super.loadPlaylist();
        if (this.shouldLoadPlaylist(this.currentTrack)) {
          this.scheduleLoading(this.currentTrack, hlsUrlParameters);
        }
      }
      loadingPlaylist(currentTrack, hlsUrlParameters) {
        super.loadingPlaylist(currentTrack, hlsUrlParameters);
        const id = currentTrack.id;
        const groupId = currentTrack.groupId;
        const url = this.getUrlWithDirectives(currentTrack.url, hlsUrlParameters);
        const details = currentTrack.details;
        const age = details == null ? void 0 : details.age;
        this.log(`Loading subtitle ${id} "${currentTrack.name}" lang:${currentTrack.lang} group:${groupId}${(hlsUrlParameters == null ? void 0 : hlsUrlParameters.msn) !== undefined ? ' at sn ' + hlsUrlParameters.msn + ' part ' + hlsUrlParameters.part : ''}${age && details.live ? ' age ' + age.toFixed(1) + (details.type ? ' ' + details.type || 0 : '') : ''} ${url}`);
        this.hls.trigger(Events.SUBTITLE_TRACK_LOADING, {
          url,
          id,
          groupId,
          deliveryDirectives: hlsUrlParameters || null,
          track: currentTrack
        });
      }
    
      /**
       * Disables the old subtitleTrack and sets current mode on the next subtitleTrack.
       * This operates on the DOM textTracks.
       * A value of -1 will disable all subtitle tracks.
       */
      toggleTrackModes() {
        const {
          media
        } = this;
        if (!media) {
          return;
        }
        const textTracks = filterSubtitleTracks(media.textTracks);
        const currentTrack = this.currentTrack;
        let nextTrack;
        if (currentTrack) {
          nextTrack = textTracks.filter(textTrack => subtitleTrackMatchesTextTrack(currentTrack, textTrack))[0];
          if (!nextTrack) {
            this.warn(`Unable to find subtitle TextTrack with name "${currentTrack.name}" and language "${currentTrack.lang}"`);
          }
        }
        [].slice.call(textTracks).forEach(track => {
          if (track.mode !== 'disabled' && track !== nextTrack) {
            track.mode = 'disabled';
          }
        });
        if (nextTrack) {
          const mode = this.subtitleDisplay ? 'showing' : 'hidden';
          if (nextTrack.mode !== mode) {
            nextTrack.mode = mode;
          }
        }
      }
    
      /**
       * This method is responsible for validating the subtitle index and periodically reloading if live.
       * Dispatches the SUBTITLE_TRACK_SWITCH event, which instructs the subtitle-stream-controller to load the selected track.
       */
      setSubtitleTrack(newId) {
        const tracks = this.tracksInGroup;
    
        // setting this.subtitleTrack will trigger internal logic
        // if media has not been attached yet, it will fail
        // we keep a reference to the default track id
        // and we'll set subtitleTrack when onMediaAttached is triggered
        if (!this.media) {
          this.queuedDefaultTrack = newId;
          return;
        }
    
        // exit if track id as already set or invalid
        if (newId < -1 || newId >= tracks.length || !isFiniteNumber(newId)) {
          this.warn(`Invalid subtitle track id: ${newId}`);
          return;
        }
        this.selectDefaultTrack = false;
        const lastTrack = this.currentTrack;
        const track = tracks[newId] || null;
        this.trackId = newId;
        this.currentTrack = track;
        this.toggleTrackModes();
        if (!track) {
          // switch to -1
          this.hls.trigger(Events.SUBTITLE_TRACK_SWITCH, {
            id: newId
          });
          return;
        }
        const trackLoaded = !!track.details && !track.details.live;
        if (newId === this.trackId && track === lastTrack && trackLoaded) {
          return;
        }
        this.log(`Switching to subtitle-track ${newId}` + (track ? ` "${track.name}" lang:${track.lang} group:${track.groupId}` : ''));
        const {
          id,
          groupId = '',
          name,
          type,
          url
        } = track;
        this.hls.trigger(Events.SUBTITLE_TRACK_SWITCH, {
          id,
          groupId,
          name,
          type,
          url
        });
        const hlsUrlParameters = this.switchParams(track.url, lastTrack == null ? void 0 : lastTrack.details, track.details);
        this.loadPlaylist(hlsUrlParameters);
      }
    }
    
    /**
     * Generate a random v4 UUID
     *
     * @returns A random v4 UUID
     *
     * @group Utils
     *
     * @beta
     */
    function uuid() {
      try {
        return crypto.randomUUID();
      } catch (error) {
        try {
          const url = URL.createObjectURL(new Blob());
          const uuid = url.toString();
          URL.revokeObjectURL(url);
          return uuid.slice(uuid.lastIndexOf('/') + 1);
        } catch (error) {
          let dt = new Date().getTime();
          const uuid = 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, c => {
            const r = (dt + Math.random() * 16) % 16 | 0;
            dt = Math.floor(dt / 16);
            return (c == 'x' ? r : r & 0x3 | 0x8).toString(16);
          });
          return uuid;
        }
      }
    }
    
    // From https://github.com/darkskyapp/string-hash
    function hash(text) {
      let hash = 5381;
      let i = text.length;
      while (i) {
        hash = hash * 33 ^ text.charCodeAt(--i);
      }
      return (hash >>> 0).toString();
    }
    
    const ALIGNED_END_THRESHOLD_SECONDS = 0.025;
    let TimelineOccupancy = /*#__PURE__*/function (TimelineOccupancy) {
      TimelineOccupancy[TimelineOccupancy["Point"] = 0] = "Point";
      TimelineOccupancy[TimelineOccupancy["Range"] = 1] = "Range";
      return TimelineOccupancy;
    }({});
    function generateAssetIdentifier(interstitial, uri, assetListIndex) {
      return `${interstitial.identifier}-${assetListIndex + 1}-${hash(uri)}`;
    }
    class InterstitialEvent {
      constructor(dateRange, base) {
        this.base = void 0;
        this._duration = null;
        this._timelineStart = null;
        this.appendInPlaceDisabled = void 0;
        this.appendInPlaceStarted = void 0;
        this.dateRange = void 0;
        this.hasPlayed = false;
        this.cumulativeDuration = 0;
        this.resumeOffset = NaN;
        this.playoutLimit = NaN;
        this.restrictions = {
          skip: false,
          jump: false
        };
        this.snapOptions = {
          out: false,
          in: false
        };
        this.assetList = [];
        this.assetListLoader = void 0;
        this.assetListResponse = null;
        this.resumeAnchor = void 0;
        this.error = void 0;
        this.resetOnResume = void 0;
        this.base = base;
        this.dateRange = dateRange;
        this.setDateRange(dateRange);
      }
      setDateRange(dateRange) {
        this.dateRange = dateRange;
        this.resumeOffset = dateRange.attr.optionalFloat('X-RESUME-OFFSET', this.resumeOffset);
        this.playoutLimit = dateRange.attr.optionalFloat('X-PLAYOUT-LIMIT', this.playoutLimit);
        this.restrictions = dateRange.attr.enumeratedStringList('X-RESTRICT', this.restrictions);
        this.snapOptions = dateRange.attr.enumeratedStringList('X-SNAP', this.snapOptions);
      }
      reset() {
        var _this$assetListLoader;
        this.appendInPlaceStarted = false;
        (_this$assetListLoader = this.assetListLoader) == null || _this$assetListLoader.destroy();
        this.assetListLoader = undefined;
        if (!this.supplementsPrimary) {
          this.assetListResponse = null;
          this.assetList = [];
          this._duration = null;
        }
        // `error?` is reset when seeking back over interstitial `startOffset`
        //  using `schedule.resetErrorsInRange(start, end)`.
      }
      isAssetPastPlayoutLimit(assetIndex) {
        var _this$assetList$asset;
        if (assetIndex > 0 && assetIndex >= this.assetList.length) {
          return true;
        }
        const playoutLimit = this.playoutLimit;
        if (assetIndex <= 0 || isNaN(playoutLimit)) {
          return false;
        }
        if (playoutLimit === 0) {
          return true;
        }
        const assetOffset = ((_this$assetList$asset = this.assetList[assetIndex]) == null ? void 0 : _this$assetList$asset.startOffset) || 0;
        return assetOffset > playoutLimit;
      }
      findAssetIndex(asset) {
        const index = this.assetList.indexOf(asset);
        return index;
      }
      get identifier() {
        return this.dateRange.id;
      }
      get startDate() {
        return this.dateRange.startDate;
      }
      get startTime() {
        // Primary media timeline start time
        const startTime = this.dateRange.startTime;
        if (this.snapOptions.out) {
          const frag = this.dateRange.tagAnchor;
          if (frag) {
            return getSnapToFragmentTime(startTime, frag);
          }
        }
        return startTime;
      }
      get startOffset() {
        return this.cue.pre ? 0 : this.startTime;
      }
      get startIsAligned() {
        if (this.startTime === 0 || this.snapOptions.out) {
          return true;
        }
        const frag = this.dateRange.tagAnchor;
        if (frag) {
          const startTime = this.dateRange.startTime;
          const snappedStart = getSnapToFragmentTime(startTime, frag);
          return startTime - snappedStart < 0.1;
        }
        return false;
      }
      get resumptionOffset() {
        const resumeOffset = this.resumeOffset;
        const offset = isFiniteNumber(resumeOffset) ? resumeOffset : this.duration;
        return this.cumulativeDuration + offset;
      }
      get resumeTime() {
        // Primary media timeline resumption time
        const resumeTime = this.startOffset + this.resumptionOffset;
        if (this.snapOptions.in) {
          const frag = this.resumeAnchor;
          if (frag) {
            return getSnapToFragmentTime(resumeTime, frag);
          }
        }
        return resumeTime;
      }
      get appendInPlace() {
        if (this.appendInPlaceStarted) {
          return true;
        }
        if (this.appendInPlaceDisabled) {
          return false;
        }
        if (!this.cue.once && !this.cue.pre &&
        // preroll starts at startPosition before startPosition is known (live)
        this.startIsAligned && (isNaN(this.playoutLimit) && isNaN(this.resumeOffset) || this.resumeOffset && this.duration && Math.abs(this.resumeOffset - this.duration) < ALIGNED_END_THRESHOLD_SECONDS)) {
          return true;
        }
        return false;
      }
      set appendInPlace(value) {
        if (this.appendInPlaceStarted) {
          this.resetOnResume = !value;
          return;
        }
        this.appendInPlaceDisabled = !value;
      }
    
      // Extended timeline start time
      get timelineStart() {
        if (this._timelineStart !== null) {
          return this._timelineStart;
        }
        return this.startTime;
      }
      set timelineStart(value) {
        this._timelineStart = value;
      }
      get duration() {
        const playoutLimit = this.playoutLimit;
        let duration;
        if (this._duration !== null) {
          duration = this._duration;
        } else if (this.dateRange.duration) {
          duration = this.dateRange.duration;
        } else {
          duration = this.dateRange.plannedDuration || 0;
        }
        if (!isNaN(playoutLimit) && playoutLimit < duration) {
          duration = playoutLimit;
        }
        return duration;
      }
      set duration(value) {
        this._duration = value;
      }
      get cue() {
        return this.dateRange.cue;
      }
      get timelineOccupancy() {
        if (this.dateRange.attr['X-TIMELINE-OCCUPIES'] === 'RANGE') {
          return TimelineOccupancy.Range;
        }
        return TimelineOccupancy.Point;
      }
      get supplementsPrimary() {
        return this.dateRange.attr['X-TIMELINE-STYLE'] === 'PRIMARY';
      }
      get contentMayVary() {
        return this.dateRange.attr['X-CONTENT-MAY-VARY'] !== 'NO';
      }
      get assetUrl() {
        return this.dateRange.attr['X-ASSET-URI'];
      }
      get assetListUrl() {
        return this.dateRange.attr['X-ASSET-LIST'];
      }
      get baseUrl() {
        return this.base.url;
      }
      get assetListLoaded() {
        return this.assetList.length > 0 || this.assetListResponse !== null;
      }
      toString() {
        return eventToString(this);
      }
    }
    function getSnapToFragmentTime(time, frag) {
      return time - frag.start < frag.duration / 2 && !(Math.abs(time - (frag.start + frag.duration)) < ALIGNED_END_THRESHOLD_SECONDS) ? frag.start : frag.start + frag.duration;
    }
    function getInterstitialUrl(uri, sessionId, baseUrl) {
      const url = new self.URL(uri, baseUrl);
      if (url.protocol !== 'data:') {
        url.searchParams.set('_HLS_primary_id', sessionId);
      }
      return url;
    }
    function getNextAssetIndex(interstitial, assetListIndex) {
      while ((_interstitial$assetLi = interstitial.assetList[++assetListIndex]) != null && _interstitial$assetLi.error) {
        var _interstitial$assetLi;
      } /* no-op */
      return assetListIndex;
    }
    function eventToString(interstitial) {
      return `["${interstitial.identifier}" ${interstitial.cue.pre ? '<pre>' : interstitial.cue.post ? '<post>' : ''}${interstitial.timelineStart.toFixed(2)}-${interstitial.resumeTime.toFixed(2)}]`;
    }
    function eventAssetToString(asset) {
      const start = asset.timelineStart;
      const duration = asset.duration || 0;
      return `["${asset.identifier}" ${start.toFixed(2)}-${(start + duration).toFixed(2)}]`;
    }
    
    class HlsAssetPlayer {
      constructor(HlsPlayerClass, userConfig, interstitial, assetItem) {
        this.hls = void 0;
        this.interstitial = void 0;
        this.assetItem = void 0;
        this.tracks = null;
        this.hasDetails = false;
        this.mediaAttached = null;
        this._currentTime = void 0;
        this._bufferedEosTime = void 0;
        this.checkPlayout = () => {
          if (this.reachedPlayout(this.currentTime) && this.hls) {
            this.hls.trigger(Events.PLAYOUT_LIMIT_REACHED, {});
          }
        };
        const hls = this.hls = new HlsPlayerClass(userConfig);
        this.interstitial = interstitial;
        this.assetItem = assetItem;
        const detailsLoaded = () => {
          this.hasDetails = true;
        };
        hls.once(Events.LEVEL_LOADED, detailsLoaded);
        hls.once(Events.AUDIO_TRACK_LOADED, detailsLoaded);
        hls.once(Events.SUBTITLE_TRACK_LOADED, detailsLoaded);
        hls.on(Events.MEDIA_ATTACHING, (name, {
          media
        }) => {
          this.removeMediaListeners();
          this.mediaAttached = media;
          const event = this.interstitial;
          if (event.playoutLimit) {
            media.addEventListener('timeupdate', this.checkPlayout);
            if (this.appendInPlace) {
              hls.on(Events.BUFFER_APPENDED, () => {
                const bufferedEnd = this.bufferedEnd;
                if (this.reachedPlayout(bufferedEnd)) {
                  this._bufferedEosTime = bufferedEnd;
                  hls.trigger(Events.BUFFERED_TO_END, undefined);
                }
              });
            }
          }
        });
      }
      get appendInPlace() {
        return this.interstitial.appendInPlace;
      }
      loadSource() {
        const hls = this.hls;
        if (!hls) {
          return;
        }
        if (!hls.url) {
          let uri = this.assetItem.uri;
          try {
            uri = getInterstitialUrl(uri, hls.config.primarySessionId || '').href;
          } catch (error) {
            // Ignore error parsing ASSET_URI or adding _HLS_primary_id to it. The
            // issue should surface as an INTERSTITIAL_ASSET_ERROR loading the asset.
          }
          hls.loadSource(uri);
        } else if (hls.levels.length && !hls.started) {
          hls.startLoad(-1, true);
        }
      }
      bufferedInPlaceToEnd(media) {
        var _this$hls;
        if (!this.appendInPlace) {
          return false;
        }
        if ((_this$hls = this.hls) != null && _this$hls.bufferedToEnd) {
          return true;
        }
        if (!media) {
          return false;
        }
        const duration = Math.min(this._bufferedEosTime || Infinity, this.duration);
        const start = this.timelineOffset;
        const bufferInfo = BufferHelper.bufferInfo(media, start, 0);
        const bufferedEnd = this.getAssetTime(bufferInfo.end);
        return bufferedEnd >= duration - 0.02;
      }
      reachedPlayout(time) {
        const interstitial = this.interstitial;
        const playoutLimit = interstitial.playoutLimit;
        return this.startOffset + time >= playoutLimit;
      }
      get destroyed() {
        var _this$hls2;
        return !((_this$hls2 = this.hls) != null && _this$hls2.userConfig);
      }
      get assetId() {
        return this.assetItem.identifier;
      }
      get interstitialId() {
        return this.assetItem.parentIdentifier;
      }
      get media() {
        var _this$hls3;
        return ((_this$hls3 = this.hls) == null ? void 0 : _this$hls3.media) || null;
      }
      get bufferedEnd() {
        const media = this.media || this.mediaAttached;
        if (!media) {
          if (this._bufferedEosTime) {
            return this._bufferedEosTime;
          }
          return this.currentTime;
        }
        const bufferInfo = BufferHelper.bufferInfo(media, media.currentTime, 0.001);
        return this.getAssetTime(bufferInfo.end);
      }
      get currentTime() {
        const media = this.media || this.mediaAttached;
        if (!media) {
          return this._currentTime || 0;
        }
        return this.getAssetTime(media.currentTime);
      }
      get duration() {
        const duration = this.assetItem.duration;
        if (!duration) {
          return 0;
        }
        const playoutLimit = this.interstitial.playoutLimit;
        if (playoutLimit) {
          const assetPlayout = playoutLimit - this.startOffset;
          if (assetPlayout > 0 && assetPlayout < duration) {
            return assetPlayout;
          }
        }
        return duration;
      }
      get remaining() {
        const duration = this.duration;
        if (!duration) {
          return 0;
        }
        return Math.max(0, duration - this.currentTime);
      }
      get startOffset() {
        return this.assetItem.startOffset;
      }
      get timelineOffset() {
        var _this$hls4;
        return ((_this$hls4 = this.hls) == null ? void 0 : _this$hls4.config.timelineOffset) || 0;
      }
      set timelineOffset(value) {
        const timelineOffset = this.timelineOffset;
        if (value !== timelineOffset) {
          const diff = value - timelineOffset;
          if (Math.abs(diff) > 1 / 90000 && this.hls) {
            if (this.hasDetails) {
              throw new Error(`Cannot set timelineOffset after playlists are loaded`);
            }
            this.hls.config.timelineOffset = value;
          }
        }
      }
      getAssetTime(time) {
        const timelineOffset = this.timelineOffset;
        const duration = this.duration;
        return Math.min(Math.max(0, time - timelineOffset), duration);
      }
      removeMediaListeners() {
        const media = this.mediaAttached;
        if (media) {
          this._currentTime = media.currentTime;
          this.bufferSnapShot();
          media.removeEventListener('timeupdate', this.checkPlayout);
        }
      }
      bufferSnapShot() {
        if (this.mediaAttached) {
          var _this$hls5;
          if ((_this$hls5 = this.hls) != null && _this$hls5.bufferedToEnd) {
            this._bufferedEosTime = this.bufferedEnd;
          }
        }
      }
      destroy() {
        this.removeMediaListeners();
        if (this.hls) {
          this.hls.destroy();
        }
        this.hls = null;
        // @ts-ignore
        this.tracks = this.mediaAttached = this.checkPlayout = null;
      }
      attachMedia(data) {
        var _this$hls6;
        this.loadSource();
        (_this$hls6 = this.hls) == null || _this$hls6.attachMedia(data);
      }
      detachMedia() {
        var _this$hls7;
        this.removeMediaListeners();
        this.mediaAttached = null;
        (_this$hls7 = this.hls) == null || _this$hls7.detachMedia();
      }
      resumeBuffering() {
        var _this$hls8;
        (_this$hls8 = this.hls) == null || _this$hls8.resumeBuffering();
      }
      pauseBuffering() {
        var _this$hls9;
        (_this$hls9 = this.hls) == null || _this$hls9.pauseBuffering();
      }
      transferMedia() {
        var _this$hls0;
        this.bufferSnapShot();
        return ((_this$hls0 = this.hls) == null ? void 0 : _this$hls0.transferMedia()) || null;
      }
      resetDetails() {
        const hls = this.hls;
        if (hls && this.hasDetails) {
          hls.stopLoad();
          const deleteDetails = obj => delete obj.details;
          hls.levels.forEach(deleteDetails);
          hls.allAudioTracks.forEach(deleteDetails);
          hls.allSubtitleTracks.forEach(deleteDetails);
          this.hasDetails = false;
        }
      }
      on(event, listener, context) {
        var _this$hls1;
        (_this$hls1 = this.hls) == null || _this$hls1.on(event, listener);
      }
      once(event, listener, context) {
        var _this$hls10;
        (_this$hls10 = this.hls) == null || _this$hls10.once(event, listener);
      }
      off(event, listener, context) {
        var _this$hls11;
        (_this$hls11 = this.hls) == null || _this$hls11.off(event, listener);
      }
      toString() {
        var _this$hls12;
        return `HlsAssetPlayer: ${eventAssetToString(this.assetItem)} ${(_this$hls12 = this.hls) == null ? void 0 : _this$hls12.sessionId} ${this.appendInPlace ? 'append-in-place' : ''}`;
      }
    }
    
    const ABUTTING_THRESHOLD_SECONDS = 0.033;
    class InterstitialsSchedule extends Logger {
      constructor(onScheduleUpdate, logger) {
        super('interstitials-sched', logger);
        this.onScheduleUpdate = void 0;
        this.eventMap = {};
        this.events = null;
        this.items = null;
        this.durations = {
          primary: 0,
          playout: 0,
          integrated: 0
        };
        this.onScheduleUpdate = onScheduleUpdate;
      }
      destroy() {
        this.reset();
        // @ts-ignore
        this.onScheduleUpdate = null;
      }
      reset() {
        this.eventMap = {};
        this.setDurations(0, 0, 0);
        if (this.events) {
          this.events.forEach(interstitial => interstitial.reset());
        }
        this.events = this.items = null;
      }
      resetErrorsInRange(start, end) {
        if (this.events) {
          return this.events.reduce((count, interstitial) => {
            if (start <= interstitial.startOffset && end > interstitial.startOffset) {
              delete interstitial.error;
              return count + 1;
            }
            return count;
          }, 0);
        }
        return 0;
      }
      get duration() {
        const items = this.items;
        return items ? items[items.length - 1].end : 0;
      }
      get length() {
        return this.items ? this.items.length : 0;
      }
      getEvent(identifier) {
        return identifier ? this.eventMap[identifier] || null : null;
      }
      hasEvent(identifier) {
        return identifier in this.eventMap;
      }
      findItemIndex(item, time) {
        if (item.event) {
          // Find Event Item
          return this.findEventIndex(item.event.identifier);
        }
        // Find Primary Item
        let index = -1;
        if (item.nextEvent) {
          index = this.findEventIndex(item.nextEvent.identifier) - 1;
        } else if (item.previousEvent) {
          index = this.findEventIndex(item.previousEvent.identifier) + 1;
        }
        const items = this.items;
        if (items) {
          if (!items[index]) {
            if (time === undefined) {
              time = item.start;
            }
            index = this.findItemIndexAtTime(time);
          }
          // Only return index of a Primary Item
          while (index >= 0 && (_items$index = items[index]) != null && _items$index.event) {
            var _items$index;
            // If index found is an interstitial it is not a valid result as it should have been matched up top
            // decrement until result is negative (not found) or a primary segment
            index--;
          }
        }
        return index;
      }
      findItemIndexAtTime(timelinePos, timelineType) {
        const items = this.items;
        if (items) {
          for (let i = 0; i < items.length; i++) {
            let timeRange = items[i];
            if (timelineType && timelineType !== 'primary') {
              timeRange = timeRange[timelineType];
            }
            if (timelinePos === timeRange.start || timelinePos > timeRange.start && timelinePos < timeRange.end) {
              return i;
            }
          }
        }
        return -1;
      }
      findJumpRestrictedIndex(startIndex, endIndex) {
        const items = this.items;
        if (items) {
          for (let i = startIndex; i <= endIndex; i++) {
            if (!items[i]) {
              break;
            }
            const event = items[i].event;
            if (event != null && event.restrictions.jump && !event.appendInPlace) {
              return i;
            }
          }
        }
        return -1;
      }
      findEventIndex(identifier) {
        const items = this.items;
        if (items) {
          for (let i = items.length; i--;) {
            var _items$i$event;
            if (((_items$i$event = items[i].event) == null ? void 0 : _items$i$event.identifier) === identifier) {
              return i;
            }
          }
        }
        return -1;
      }
      findAssetIndex(event, timelinePos) {
        const assetList = event.assetList;
        const length = assetList.length;
        if (length > 1) {
          for (let i = 0; i < length; i++) {
            const asset = assetList[i];
            if (!asset.error) {
              const timelineStart = asset.timelineStart;
              if (timelinePos === timelineStart || timelinePos > timelineStart && (timelinePos < timelineStart + (asset.duration || 0) || i === length - 1)) {
                return i;
              }
            }
          }
        }
        return 0;
      }
      get assetIdAtEnd() {
        var _this$items;
        const interstitialAtEnd = (_this$items = this.items) == null || (_this$items = _this$items[this.length - 1]) == null ? void 0 : _this$items.event;
        if (interstitialAtEnd) {
          const assetList = interstitialAtEnd.assetList;
          const assetAtEnd = assetList[assetList.length - 1];
          if (assetAtEnd) {
            return assetAtEnd.identifier;
          }
        }
        return null;
      }
      parseInterstitialDateRanges(mediaSelection, enableAppendInPlace) {
        const details = mediaSelection.main.details;
        const {
          dateRanges
        } = details;
        const previousInterstitialEvents = this.events;
        const interstitialEvents = this.parseDateRanges(dateRanges, {
          url: details.url
        }, enableAppendInPlace);
        const ids = Object.keys(dateRanges);
        const removedInterstitials = previousInterstitialEvents ? previousInterstitialEvents.filter(event => !ids.includes(event.identifier)) : [];
        if (interstitialEvents.length) {
          // pre-rolls, post-rolls, and events with the same start time are played in playlist tag order
          // all other events are ordered by start time
          interstitialEvents.sort((a, b) => {
            const aPre = a.cue.pre;
            const aPost = a.cue.post;
            const bPre = b.cue.pre;
            const bPost = b.cue.post;
            if (aPre && !bPre) {
              return -1;
            }
            if (bPre && !aPre) {
              return 1;
            }
            if (aPost && !bPost) {
              return 1;
            }
            if (bPost && !aPost) {
              return -1;
            }
            if (!aPre && !bPre && !aPost && !bPost) {
              const startA = a.startTime;
              const startB = b.startTime;
              if (startA !== startB) {
                return startA - startB;
              }
            }
            return a.dateRange.tagOrder - b.dateRange.tagOrder;
          });
        }
        this.events = interstitialEvents;
    
        // Clear removed DateRanges from buffered list (kills playback of active Interstitials)
        removedInterstitials.forEach(interstitial => {
          this.removeEvent(interstitial);
        });
        this.updateSchedule(mediaSelection, removedInterstitials);
      }
      updateSchedule(mediaSelection, removedInterstitials = [], forceUpdate = false) {
        const events = this.events || [];
        if (events.length || removedInterstitials.length || this.length < 2) {
          const currentItems = this.items;
          const updatedItems = this.parseSchedule(events, mediaSelection);
          const updated = forceUpdate || removedInterstitials.length || (currentItems == null ? void 0 : currentItems.length) !== updatedItems.length || updatedItems.some((item, i) => {
            return Math.abs(item.playout.start - currentItems[i].playout.start) > 0.005 || Math.abs(item.playout.end - currentItems[i].playout.end) > 0.005;
          });
          if (updated) {
            this.items = updatedItems;
            // call interstitials-controller onScheduleUpdated()
            this.onScheduleUpdate(removedInterstitials, currentItems);
          }
        }
      }
      parseDateRanges(dateRanges, baseData, enableAppendInPlace) {
        const interstitialEvents = [];
        const ids = Object.keys(dateRanges);
        for (let i = 0; i < ids.length; i++) {
          const id = ids[i];
          const dateRange = dateRanges[id];
          if (dateRange.isInterstitial) {
            let interstitial = this.eventMap[id];
            if (interstitial) {
              // Update InterstitialEvent already parsed and mapped
              // This retains already loaded duration and loaded asset list info
              interstitial.setDateRange(dateRange);
            } else {
              interstitial = new InterstitialEvent(dateRange, baseData);
              this.eventMap[id] = interstitial;
              if (enableAppendInPlace === false) {
                interstitial.appendInPlace = enableAppendInPlace;
              }
            }
            interstitialEvents.push(interstitial);
          }
        }
        return interstitialEvents;
      }
      parseSchedule(interstitialEvents, mediaSelection) {
        const schedule = [];
        const details = mediaSelection.main.details;
        const primaryDuration = details.live ? Infinity : details.edge;
        let playoutDuration = 0;
    
        // Filter events that have errored from the schedule (Primary fallback)
        interstitialEvents = interstitialEvents.filter(event => !event.error && !(event.cue.once && event.hasPlayed));
        if (interstitialEvents.length) {
          // Update Schedule
          this.resolveOffsets(interstitialEvents, mediaSelection);
    
          // Populate Schedule with Interstitial Event and Primary Segment Items
          let primaryPosition = 0;
          let integratedTime = 0;
          interstitialEvents.forEach((interstitial, i) => {
            const preroll = interstitial.cue.pre;
            const postroll = interstitial.cue.post;
            const previousEvent = interstitialEvents[i - 1] || null;
            const appendInPlace = interstitial.appendInPlace;
            const eventStart = postroll ? primaryDuration : interstitial.startOffset;
            const interstitialDuration = interstitial.duration;
            const timelineDuration = interstitial.timelineOccupancy === TimelineOccupancy.Range ? interstitialDuration : 0;
            const resumptionOffset = interstitial.resumptionOffset;
            const inSameStartTimeSequence = (previousEvent == null ? void 0 : previousEvent.startTime) === eventStart;
            const start = eventStart + interstitial.cumulativeDuration;
            let end = appendInPlace ? start + interstitialDuration : eventStart + resumptionOffset;
            if (preroll || !postroll && eventStart <= 0) {
              // preroll or in-progress midroll
              const integratedStart = integratedTime;
              integratedTime += timelineDuration;
              interstitial.timelineStart = start;
              const playoutStart = playoutDuration;
              playoutDuration += interstitialDuration;
              schedule.push({
                event: interstitial,
                start,
                end,
                playout: {
                  start: playoutStart,
                  end: playoutDuration
                },
                integrated: {
                  start: integratedStart,
                  end: integratedTime
                }
              });
            } else if (eventStart <= primaryDuration) {
              if (!inSameStartTimeSequence) {
                const segmentDuration = eventStart - primaryPosition;
                // Do not schedule a primary segment if interstitials are abutting by less than ABUTTING_THRESHOLD_SECONDS
                if (segmentDuration > ABUTTING_THRESHOLD_SECONDS) {
                  // primary segment
                  const timelineStart = primaryPosition;
                  const _integratedStart = integratedTime;
                  integratedTime += segmentDuration;
                  const _playoutStart = playoutDuration;
                  playoutDuration += segmentDuration;
                  const primarySegment = {
                    previousEvent: interstitialEvents[i - 1] || null,
                    nextEvent: interstitial,
                    start: timelineStart,
                    end: timelineStart + segmentDuration,
                    playout: {
                      start: _playoutStart,
                      end: playoutDuration
                    },
                    integrated: {
                      start: _integratedStart,
                      end: integratedTime
                    }
                  };
                  schedule.push(primarySegment);
                } else if (segmentDuration > 0 && previousEvent) {
                  // Add previous event `resumeTime` (based on duration or resumeOffset) so that it ends aligned with this one
                  previousEvent.cumulativeDuration += segmentDuration;
                  schedule[schedule.length - 1].end = eventStart;
                }
              }
              // midroll / postroll
              if (postroll) {
                end = start;
              }
              interstitial.timelineStart = start;
              const integratedStart = integratedTime;
              integratedTime += timelineDuration;
              const playoutStart = playoutDuration;
              playoutDuration += interstitialDuration;
              schedule.push({
                event: interstitial,
                start,
                end,
                playout: {
                  start: playoutStart,
                  end: playoutDuration
                },
                integrated: {
                  start: integratedStart,
                  end: integratedTime
                }
              });
            } else {
              // Interstitial starts after end of primary VOD - not included in schedule
              return;
            }
            const resumeTime = interstitial.resumeTime;
            if (postroll || resumeTime > primaryDuration) {
              primaryPosition = primaryDuration;
            } else {
              primaryPosition = resumeTime;
            }
          });
          if (primaryPosition < primaryDuration) {
            var _schedule;
            // last primary segment
            const timelineStart = primaryPosition;
            const integratedStart = integratedTime;
            const segmentDuration = primaryDuration - primaryPosition;
            integratedTime += segmentDuration;
            const playoutStart = playoutDuration;
            playoutDuration += segmentDuration;
            schedule.push({
              previousEvent: ((_schedule = schedule[schedule.length - 1]) == null ? void 0 : _schedule.event) || null,
              nextEvent: null,
              start: primaryPosition,
              end: timelineStart + segmentDuration,
              playout: {
                start: playoutStart,
                end: playoutDuration
              },
              integrated: {
                start: integratedStart,
                end: integratedTime
              }
            });
          }
          this.setDurations(primaryDuration, playoutDuration, integratedTime);
        } else {
          // no interstials - schedule is one primary segment
          const start = 0;
          schedule.push({
            previousEvent: null,
            nextEvent: null,
            start,
            end: primaryDuration,
            playout: {
              start,
              end: primaryDuration
            },
            integrated: {
              start,
              end: primaryDuration
            }
          });
          this.setDurations(primaryDuration, primaryDuration, primaryDuration);
        }
        return schedule;
      }
      setDurations(primary, playout, integrated) {
        this.durations = {
          primary,
          playout,
          integrated
        };
      }
      resolveOffsets(interstitialEvents, mediaSelection) {
        const details = mediaSelection.main.details;
        const primaryDuration = details.live ? Infinity : details.edge;
    
        // First resolve cumulative resumption offsets for Interstitials that start at the same DateTime
        let cumulativeDuration = 0;
        let lastScheduledStart = -1;
        interstitialEvents.forEach((interstitial, i) => {
          const preroll = interstitial.cue.pre;
          const postroll = interstitial.cue.post;
          const eventStart = preroll ? 0 : postroll ? primaryDuration : interstitial.startTime;
          this.updateAssetDurations(interstitial);
    
          // X-RESUME-OFFSET values of interstitials scheduled at the same time are cumulative
          const inSameStartTimeSequence = lastScheduledStart === eventStart;
          if (inSameStartTimeSequence) {
            interstitial.cumulativeDuration = cumulativeDuration;
          } else {
            cumulativeDuration = 0;
            lastScheduledStart = eventStart;
          }
          if (!postroll && interstitial.snapOptions.in) {
            // FIXME: Include audio playlist in snapping
            interstitial.resumeAnchor = findFragmentByPTS(null, details.fragments, interstitial.startOffset + interstitial.resumptionOffset, 0, 0) || undefined;
          }
          // Check if primary fragments align with resumption offset and disable appendInPlace if they do not
          if (interstitial.appendInPlace && !interstitial.appendInPlaceStarted) {
            const alignedSegmentStart = this.primaryCanResumeInPlaceAt(interstitial, mediaSelection);
            if (!alignedSegmentStart) {
              interstitial.appendInPlace = false;
            }
          }
          if (!interstitial.appendInPlace && i + 1 < interstitialEvents.length) {
            // abutting Interstitials must use the same MediaSource strategy, this applies to all whether or not they are back to back:
            const timeBetween = interstitialEvents[i + 1].startTime - interstitialEvents[i].resumeTime;
            if (timeBetween < ABUTTING_THRESHOLD_SECONDS) {
              interstitialEvents[i + 1].appendInPlace = false;
              if (interstitialEvents[i + 1].appendInPlace) {
                this.warn(`Could not change append strategy for abutting event ${interstitial}`);
              }
            }
          }
          // Update cumulativeDuration for next abutting interstitial with the same start date
          const resumeOffset = isFiniteNumber(interstitial.resumeOffset) ? interstitial.resumeOffset : interstitial.duration;
          cumulativeDuration += resumeOffset;
        });
      }
      primaryCanResumeInPlaceAt(interstitial, mediaSelection) {
        const resumeTime = interstitial.resumeTime;
        const resumesInPlaceAt = interstitial.startTime + interstitial.resumptionOffset;
        if (Math.abs(resumeTime - resumesInPlaceAt) > ALIGNED_END_THRESHOLD_SECONDS) {
          this.log(`"${interstitial.identifier}" resumption ${resumeTime} not aligned with estimated timeline end ${resumesInPlaceAt}`);
          return false;
        }
        const playlists = Object.keys(mediaSelection);
        return !playlists.some(playlistType => {
          const details = mediaSelection[playlistType].details;
          const playlistEnd = details.edge;
          if (resumeTime >= playlistEnd) {
            // Live playback - resumption segments are not yet available
            this.log(`"${interstitial.identifier}" resumption ${resumeTime} past ${playlistType} playlist end ${playlistEnd}`);
            // Assume alignment is possible (or reset can take place)
            return false;
          }
          const startFragment = findFragmentByPTS(null, details.fragments, resumeTime);
          if (!startFragment) {
            this.log(`"${interstitial.identifier}" resumption ${resumeTime} does not align with any fragments in ${playlistType} playlist (${details.fragStart}-${details.fragmentEnd})`);
            return true;
          }
          const allowance = playlistType === 'audio' ? 0.175 : 0;
          const alignedWithSegment = Math.abs(startFragment.start - resumeTime) < ALIGNED_END_THRESHOLD_SECONDS + allowance || Math.abs(startFragment.end - resumeTime) < ALIGNED_END_THRESHOLD_SECONDS + allowance;
          if (!alignedWithSegment) {
            this.log(`"${interstitial.identifier}" resumption ${resumeTime} not aligned with ${playlistType} fragment bounds (${startFragment.start}-${startFragment.end} sn: ${startFragment.sn} cc: ${startFragment.cc})`);
            return true;
          }
          return false;
        });
      }
      updateAssetDurations(interstitial) {
        if (!interstitial.assetListLoaded) {
          return;
        }
        const eventStart = interstitial.timelineStart;
        let sumDuration = 0;
        let hasUnknownDuration = false;
        let hasErrors = false;
        for (let i = 0; i < interstitial.assetList.length; i++) {
          const asset = interstitial.assetList[i];
          const timelineStart = eventStart + sumDuration;
          asset.startOffset = sumDuration;
          asset.timelineStart = timelineStart;
          hasUnknownDuration || (hasUnknownDuration = asset.duration === null);
          hasErrors || (hasErrors = !!asset.error);
          const duration = asset.error ? 0 : asset.duration || 0;
          sumDuration += duration;
        }
        // Use the sum of known durations when it is greater than the stated duration
        if (hasUnknownDuration && !hasErrors) {
          interstitial.duration = Math.max(sumDuration, interstitial.duration);
        } else {
          interstitial.duration = sumDuration;
        }
      }
      removeEvent(interstitial) {
        interstitial.reset();
        delete this.eventMap[interstitial.identifier];
      }
    }
    function segmentToString(segment) {
      return `[${segment.event ? '"' + segment.event.identifier + '"' : 'primary'}: ${segment.start.toFixed(2)}-${segment.end.toFixed(2)}]`;
    }
    
    class AssetListLoader {
      constructor(hls) {
        this.hls = void 0;
        this.hls = hls;
      }
      destroy() {
        // @ts-ignore
        this.hls = null;
      }
      loadAssetList(interstitial, hlsStartOffset) {
        const assetListUrl = interstitial.assetListUrl;
        let url;
        try {
          url = getInterstitialUrl(assetListUrl, this.hls.sessionId, interstitial.baseUrl);
        } catch (error) {
          const errorData = this.assignAssetListError(interstitial, ErrorDetails.ASSET_LIST_LOAD_ERROR, error, assetListUrl);
          this.hls.trigger(Events.ERROR, errorData);
          return;
        }
        if (hlsStartOffset && url.protocol !== 'data:') {
          url.searchParams.set('_HLS_start_offset', '' + hlsStartOffset);
        }
        const config = this.hls.config;
        const Loader = config.loader;
        const loader = new Loader(config);
        const context = {
          responseType: 'json',
          url: url.href
        };
        const loadPolicy = config.interstitialAssetListLoadPolicy.default;
        const loaderConfig = {
          loadPolicy,
          timeout: loadPolicy.maxLoadTimeMs,
          maxRetry: 0,
          retryDelay: 0,
          maxRetryDelay: 0
        };
        const callbacks = {
          onSuccess: (response, stats, context, networkDetails) => {
            const assetListResponse = response.data;
            const assets = assetListResponse == null ? void 0 : assetListResponse.ASSETS;
            if (!Array.isArray(assets)) {
              const errorData = this.assignAssetListError(interstitial, ErrorDetails.ASSET_LIST_PARSING_ERROR, new Error(`Invalid interstitial asset list`), context.url, stats, networkDetails);
              this.hls.trigger(Events.ERROR, errorData);
              return;
            }
            interstitial.assetListResponse = assetListResponse;
            this.hls.trigger(Events.ASSET_LIST_LOADED, {
              event: interstitial,
              assetListResponse,
              networkDetails
            });
          },
          onError: (error, context, networkDetails, stats) => {
            const errorData = this.assignAssetListError(interstitial, ErrorDetails.ASSET_LIST_LOAD_ERROR, new Error(`Error loading X-ASSET-LIST: HTTP status ${error.code} ${error.text} (${context.url})`), context.url, stats, networkDetails);
            this.hls.trigger(Events.ERROR, errorData);
          },
          onTimeout: (stats, context, networkDetails) => {
            const errorData = this.assignAssetListError(interstitial, ErrorDetails.ASSET_LIST_LOAD_TIMEOUT, new Error(`Timeout loading X-ASSET-LIST (${context.url})`), context.url, stats, networkDetails);
            this.hls.trigger(Events.ERROR, errorData);
          }
        };
        loader.load(context, loaderConfig, callbacks);
        this.hls.trigger(Events.ASSET_LIST_LOADING, {
          event: interstitial
        });
        return loader;
      }
      assignAssetListError(interstitial, details, error, url, stats, networkDetails) {
        interstitial.error = error;
        return {
          type: ErrorTypes.NETWORK_ERROR,
          details,
          fatal: false,
          interstitial,
          url,
          error,
          networkDetails,
          stats
        };
      }
    }
    
    function playWithCatch(media) {
      var _media$play;
      media == null || (_media$play = media.play()) == null || _media$play.catch(() => {
        /* no-op */
      });
    }
    function timelineMessage(label, time) {
      return `[${label}] Advancing timeline position to ${time}`;
    }
    class InterstitialsController extends Logger {
      constructor(hls, HlsPlayerClass) {
        super('interstitials', hls.logger);
        this.HlsPlayerClass = void 0;
        this.hls = void 0;
        this.assetListLoader = void 0;
        // Last updated LevelDetails
        this.mediaSelection = null;
        this.altSelection = null;
        // Media and MediaSource/SourceBuffers
        this.media = null;
        this.detachedData = null;
        this.requiredTracks = null;
        // Public Interface for Interstitial playback state and control
        this.manager = null;
        // Interstitial Asset Players
        this.playerQueue = [];
        // Timeline position tracking
        this.bufferedPos = -1;
        this.timelinePos = -1;
        // Schedule
        this.schedule = void 0;
        // Schedule playback and buffering state
        this.playingItem = null;
        this.bufferingItem = null;
        this.waitingItem = null;
        this.endedItem = null;
        this.playingAsset = null;
        this.endedAsset = null;
        this.bufferingAsset = null;
        this.shouldPlay = false;
        this.onPlay = () => {
          this.shouldPlay = true;
        };
        this.onPause = () => {
          this.shouldPlay = false;
        };
        this.onSeeking = () => {
          const currentTime = this.currentTime;
          if (currentTime === undefined || this.playbackDisabled || !this.schedule) {
            return;
          }
          const diff = currentTime - this.timelinePos;
          const roundingError = Math.abs(diff) < 1 / 705600000; // one flick
          if (roundingError) {
            return;
          }
          const backwardSeek = diff <= -0.01;
          this.timelinePos = currentTime;
          this.bufferedPos = currentTime;
    
          // Check if seeking out of an item
          const playingItem = this.playingItem;
          if (!playingItem) {
            this.checkBuffer();
            return;
          }
          if (backwardSeek) {
            const resetCount = this.schedule.resetErrorsInRange(currentTime, currentTime - diff);
            if (resetCount) {
              this.updateSchedule(true);
            }
          }
          this.checkBuffer();
          if (backwardSeek && currentTime < playingItem.start || currentTime >= playingItem.end) {
            var _this$media;
            const playingIndex = this.findItemIndex(playingItem);
            let scheduleIndex = this.schedule.findItemIndexAtTime(currentTime);
            if (scheduleIndex === -1) {
              scheduleIndex = playingIndex + (backwardSeek ? -1 : 1);
              this.log(`seeked ${backwardSeek ? 'back ' : ''}to position not covered by schedule ${currentTime} (resolving from ${playingIndex} to ${scheduleIndex})`);
            }
            if (!this.isInterstitial(playingItem) && (_this$media = this.media) != null && _this$media.paused) {
              this.shouldPlay = false;
            }
            if (!backwardSeek) {
              // check if an Interstitial between the current item and target item has an X-RESTRICT JUMP restriction
              if (scheduleIndex > playingIndex) {
                const jumpIndex = this.schedule.findJumpRestrictedIndex(playingIndex + 1, scheduleIndex);
                if (jumpIndex > playingIndex) {
                  this.setSchedulePosition(jumpIndex);
                  return;
                }
              }
            }
            this.setSchedulePosition(scheduleIndex);
            return;
          }
          // Check if seeking out of an asset (assumes same item following above check)
          const playingAsset = this.playingAsset;
          if (!playingAsset) {
            // restart Interstitial at end
            if (this.playingLastItem && this.isInterstitial(playingItem)) {
              const restartAsset = playingItem.event.assetList[0];
              // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
              if (restartAsset) {
                this.endedItem = this.playingItem;
                this.playingItem = null;
                this.setScheduleToAssetAtTime(currentTime, restartAsset);
              }
            }
            return;
          }
          const start = playingAsset.timelineStart;
          const duration = playingAsset.duration || 0;
          if (backwardSeek && currentTime < start || currentTime >= start + duration) {
            var _playingItem$event;
            if ((_playingItem$event = playingItem.event) != null && _playingItem$event.appendInPlace) {
              // Return SourceBuffer(s) to primary player and flush
              this.clearAssetPlayers(playingItem.event, playingItem);
              this.flushFrontBuffer(currentTime);
            }
            this.setScheduleToAssetAtTime(currentTime, playingAsset);
          }
        };
        this.onTimeupdate = () => {
          const currentTime = this.currentTime;
          if (currentTime === undefined || this.playbackDisabled) {
            return;
          }
    
          // Only allow timeupdate to advance primary position, seeking is used for jumping back
          // this prevents primaryPos from being reset to 0 after re-attach
          if (currentTime > this.timelinePos) {
            this.timelinePos = currentTime;
            if (currentTime > this.bufferedPos) {
              this.checkBuffer();
            }
          } else {
            return;
          }
    
          // Check if playback has entered the next item
          const playingItem = this.playingItem;
          if (!playingItem || this.playingLastItem) {
            return;
          }
          if (currentTime >= playingItem.end) {
            this.timelinePos = playingItem.end;
            const playingIndex = this.findItemIndex(playingItem);
            this.setSchedulePosition(playingIndex + 1);
          }
          // Check if playback has entered the next asset
          const playingAsset = this.playingAsset;
          if (!playingAsset) {
            return;
          }
          const end = playingAsset.timelineStart + (playingAsset.duration || 0);
          if (currentTime >= end) {
            this.setScheduleToAssetAtTime(currentTime, playingAsset);
          }
        };
        // Schedule update callback
        this.onScheduleUpdate = (removedInterstitials, previousItems) => {
          const schedule = this.schedule;
          if (!schedule) {
            return;
          }
          const playingItem = this.playingItem;
          const interstitialEvents = schedule.events || [];
          const scheduleItems = schedule.items || [];
          const durations = schedule.durations;
          const removedIds = removedInterstitials.map(interstitial => interstitial.identifier);
          const interstitialsUpdated = !!(interstitialEvents.length || removedIds.length);
          if (interstitialsUpdated || previousItems) {
            this.log(`INTERSTITIALS_UPDATED (${interstitialEvents.length}): ${interstitialEvents}
    Schedule: ${scheduleItems.map(seg => segmentToString(seg))} pos: ${this.timelinePos}`);
          }
          if (removedIds.length) {
            this.log(`Removed events ${removedIds}`);
          }
    
          // Update schedule item references
          // Do not replace Interstitial playingItem without a match - used for INTERSTITIAL_ASSET_ENDED and INTERSTITIAL_ENDED
          let updatedPlayingItem = null;
          let updatedBufferingItem = null;
          if (playingItem) {
            updatedPlayingItem = this.updateItem(playingItem, this.timelinePos);
            if (this.itemsMatch(playingItem, updatedPlayingItem)) {
              this.playingItem = updatedPlayingItem;
            } else {
              this.waitingItem = this.endedItem = null;
            }
          }
          // Clear waitingItem if it has been removed from the schedule
          this.waitingItem = this.updateItem(this.waitingItem);
          this.endedItem = this.updateItem(this.endedItem);
          // Do not replace Interstitial bufferingItem without a match - used for transfering media element or source
          const bufferingItem = this.bufferingItem;
          if (bufferingItem) {
            updatedBufferingItem = this.updateItem(bufferingItem, this.bufferedPos);
            if (this.itemsMatch(bufferingItem, updatedBufferingItem)) {
              this.bufferingItem = updatedBufferingItem;
            } else if (bufferingItem.event) {
              // Interstitial removed from schedule (Live -> VOD or other scenario where Start Date is outside the range of VOD Playlist)
              this.bufferingItem = this.playingItem;
              this.clearInterstitial(bufferingItem.event, null);
            }
          }
          removedInterstitials.forEach(interstitial => {
            interstitial.assetList.forEach(asset => {
              this.clearAssetPlayer(asset.identifier, null);
            });
          });
          this.playerQueue.forEach(player => {
            if (player.interstitial.appendInPlace) {
              const timelineStart = player.assetItem.timelineStart;
              const diff = player.timelineOffset - timelineStart;
              if (diff) {
                try {
                  player.timelineOffset = timelineStart;
                } catch (e) {
                  if (Math.abs(diff) > ALIGNED_END_THRESHOLD_SECONDS) {
                    this.warn(`${e} ("${player.assetId}" ${player.timelineOffset}->${timelineStart})`);
                  }
                }
              }
            }
          });
          if (interstitialsUpdated || previousItems) {
            this.hls.trigger(Events.INTERSTITIALS_UPDATED, {
              events: interstitialEvents.slice(0),
              schedule: scheduleItems.slice(0),
              durations,
              removedIds
            });
            if (this.isInterstitial(playingItem) && removedIds.includes(playingItem.event.identifier)) {
              this.warn(`Interstitial "${playingItem.event.identifier}" removed while playing`);
              this.primaryFallback(playingItem.event);
              return;
            }
            if (playingItem) {
              this.trimInPlace(updatedPlayingItem, playingItem);
            }
            if (bufferingItem && updatedBufferingItem !== updatedPlayingItem) {
              this.trimInPlace(updatedBufferingItem, bufferingItem);
            }
    
            // Check if buffered to new Interstitial event boundary
            // (Live update publishes Interstitial with new segment)
            this.checkBuffer();
          }
        };
        this.hls = hls;
        this.HlsPlayerClass = HlsPlayerClass;
        this.assetListLoader = new AssetListLoader(hls);
        this.schedule = new InterstitialsSchedule(this.onScheduleUpdate, hls.logger);
        this.registerListeners();
      }
      registerListeners() {
        const hls = this.hls;
        // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
        if (hls) {
          hls.on(Events.MEDIA_ATTACHING, this.onMediaAttaching, this);
          hls.on(Events.MEDIA_ATTACHED, this.onMediaAttached, this);
          hls.on(Events.MEDIA_DETACHING, this.onMediaDetaching, this);
          hls.on(Events.MANIFEST_LOADING, this.onManifestLoading, this);
          hls.on(Events.LEVEL_UPDATED, this.onLevelUpdated, this);
          hls.on(Events.AUDIO_TRACK_SWITCHING, this.onAudioTrackSwitching, this);
          hls.on(Events.AUDIO_TRACK_UPDATED, this.onAudioTrackUpdated, this);
          hls.on(Events.SUBTITLE_TRACK_SWITCH, this.onSubtitleTrackSwitch, this);
          hls.on(Events.SUBTITLE_TRACK_UPDATED, this.onSubtitleTrackUpdated, this);
          hls.on(Events.EVENT_CUE_ENTER, this.onInterstitialCueEnter, this);
          hls.on(Events.ASSET_LIST_LOADED, this.onAssetListLoaded, this);
          hls.on(Events.BUFFER_APPENDED, this.onBufferAppended, this);
          hls.on(Events.BUFFER_FLUSHED, this.onBufferFlushed, this);
          hls.on(Events.BUFFERED_TO_END, this.onBufferedToEnd, this);
          hls.on(Events.MEDIA_ENDED, this.onMediaEnded, this);
          hls.on(Events.ERROR, this.onError, this);
          hls.on(Events.DESTROYING, this.onDestroying, this);
        }
      }
      unregisterListeners() {
        const hls = this.hls;
        // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
        if (hls) {
          hls.off(Events.MEDIA_ATTACHING, this.onMediaAttaching, this);
          hls.off(Events.MEDIA_ATTACHED, this.onMediaAttached, this);
          hls.off(Events.MEDIA_DETACHING, this.onMediaDetaching, this);
          hls.off(Events.MANIFEST_LOADING, this.onManifestLoading, this);
          hls.off(Events.LEVEL_UPDATED, this.onLevelUpdated, this);
          hls.off(Events.AUDIO_TRACK_SWITCHING, this.onAudioTrackSwitching, this);
          hls.off(Events.AUDIO_TRACK_UPDATED, this.onAudioTrackUpdated, this);
          hls.off(Events.SUBTITLE_TRACK_SWITCH, this.onSubtitleTrackSwitch, this);
          hls.off(Events.SUBTITLE_TRACK_UPDATED, this.onSubtitleTrackUpdated, this);
          hls.off(Events.EVENT_CUE_ENTER, this.onInterstitialCueEnter, this);
          hls.off(Events.ASSET_LIST_LOADED, this.onAssetListLoaded, this);
          hls.off(Events.BUFFER_CODECS, this.onBufferCodecs, this);
          hls.off(Events.BUFFER_APPENDED, this.onBufferAppended, this);
          hls.off(Events.BUFFER_FLUSHED, this.onBufferFlushed, this);
          hls.off(Events.BUFFERED_TO_END, this.onBufferedToEnd, this);
          hls.off(Events.MEDIA_ENDED, this.onMediaEnded, this);
          hls.off(Events.ERROR, this.onError, this);
          hls.off(Events.DESTROYING, this.onDestroying, this);
        }
      }
      startLoad() {
        // TODO: startLoad - check for waitingItem and retry by resetting schedule
        this.resumeBuffering();
      }
      stopLoad() {
        // TODO: stopLoad - stop all scheule.events[].assetListLoader?.abort() then delete the loaders
        this.pauseBuffering();
      }
      resumeBuffering() {
        var _this$getBufferingPla;
        (_this$getBufferingPla = this.getBufferingPlayer()) == null || _this$getBufferingPla.resumeBuffering();
      }
      pauseBuffering() {
        var _this$getBufferingPla2;
        (_this$getBufferingPla2 = this.getBufferingPlayer()) == null || _this$getBufferingPla2.pauseBuffering();
      }
      destroy() {
        this.unregisterListeners();
        this.stopLoad();
        // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
        if (this.assetListLoader) {
          this.assetListLoader.destroy();
        }
        this.emptyPlayerQueue();
        this.clearScheduleState();
        if (this.schedule) {
          this.schedule.destroy();
        }
        this.media = this.detachedData = this.mediaSelection = this.requiredTracks = this.altSelection = this.schedule = this.manager = null;
        // @ts-ignore
        this.hls = this.HlsPlayerClass = this.log = null;
        // @ts-ignore
        this.assetListLoader = null;
        // @ts-ignore
        this.onPlay = this.onPause = this.onSeeking = this.onTimeupdate = null;
        // @ts-ignore
        this.onScheduleUpdate = null;
      }
      onDestroying() {
        const media = this.primaryMedia || this.media;
        if (media) {
          this.removeMediaListeners(media);
        }
      }
      removeMediaListeners(media) {
        removeEventListener(media, 'play', this.onPlay);
        removeEventListener(media, 'pause', this.onPause);
        removeEventListener(media, 'seeking', this.onSeeking);
        removeEventListener(media, 'timeupdate', this.onTimeupdate);
      }
      onMediaAttaching(event, data) {
        const media = this.media = data.media;
        addEventListener(media, 'seeking', this.onSeeking);
        addEventListener(media, 'timeupdate', this.onTimeupdate);
        addEventListener(media, 'play', this.onPlay);
        addEventListener(media, 'pause', this.onPause);
      }
      onMediaAttached(event, data) {
        const playingItem = this.effectivePlayingItem;
        const detachedMedia = this.detachedData;
        this.detachedData = null;
        if (playingItem === null) {
          this.checkStart();
        } else if (!detachedMedia) {
          // Resume schedule after detached externally
          this.clearScheduleState();
          const playingIndex = this.findItemIndex(playingItem);
          this.setSchedulePosition(playingIndex);
        }
      }
      clearScheduleState() {
        this.log(`clear schedule state`);
        this.playingItem = this.bufferingItem = this.waitingItem = this.endedItem = this.playingAsset = this.endedAsset = this.bufferingAsset = null;
      }
      onMediaDetaching(event, data) {
        const transferringMedia = !!data.transferMedia;
        const media = this.media;
        this.media = null;
        if (transferringMedia) {
          return;
        }
        if (media) {
          this.removeMediaListeners(media);
        }
        // If detachMedia is called while in an Interstitial, detach the asset player as well and reset the schedule position
        if (this.detachedData) {
          const player = this.getBufferingPlayer();
          if (player) {
            this.log(`Removing schedule state for detachedData and ${player}`);
            this.playingAsset = this.endedAsset = this.bufferingAsset = this.bufferingItem = this.waitingItem = this.detachedData = null;
            player.detachMedia();
          }
          this.shouldPlay = false;
        }
      }
      get interstitialsManager() {
        // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
        if (!this.hls) {
          return null;
        }
        if (this.manager) {
          return this.manager;
        }
        const c = this;
        const effectiveBufferingItem = () => c.bufferingItem || c.waitingItem;
        const getAssetPlayer = asset => asset ? c.getAssetPlayer(asset.identifier) : asset;
        const getMappedTime = (item, timelineType, asset, controllerField, assetPlayerField) => {
          if (item) {
            let time = item[timelineType].start;
            const interstitial = item.event;
            if (interstitial) {
              if (timelineType === 'playout' || interstitial.timelineOccupancy !== TimelineOccupancy.Point) {
                const assetPlayer = getAssetPlayer(asset);
                if ((assetPlayer == null ? void 0 : assetPlayer.interstitial) === interstitial) {
                  time += assetPlayer.assetItem.startOffset + assetPlayer[assetPlayerField];
                }
              }
            } else {
              const value = controllerField === 'bufferedPos' ? getBufferedEnd() : c[controllerField];
              time += value - item.start;
            }
            return time;
          }
          return 0;
        };
        const findMappedTime = (primaryTime, timelineType) => {
          var _c$schedule;
          if (primaryTime !== 0 && timelineType !== 'primary' && (_c$schedule = c.schedule) != null && _c$schedule.length) {
            var _c$schedule$items;
            const index = c.schedule.findItemIndexAtTime(primaryTime);
            const item = (_c$schedule$items = c.schedule.items) == null ? void 0 : _c$schedule$items[index];
            if (item) {
              const diff = item[timelineType].start - item.start;
              return primaryTime + diff;
            }
          }
          return primaryTime;
        };
        const getBufferedEnd = () => {
          const value = c.bufferedPos;
          if (value === Number.MAX_VALUE) {
            return getMappedDuration('primary');
          }
          return Math.max(value, 0);
        };
        const getMappedDuration = timelineType => {
          var _c$primaryDetails, _c$schedule2;
          if ((_c$primaryDetails = c.primaryDetails) != null && _c$primaryDetails.live) {
            // return end of last event item or playlist
            return c.primaryDetails.edge;
          }
          return ((_c$schedule2 = c.schedule) == null ? void 0 : _c$schedule2.durations[timelineType]) || 0;
        };
        const seekTo = (time, timelineType) => {
          var _item$event, _c$schedule$items2;
          const item = c.effectivePlayingItem;
          if (item != null && (_item$event = item.event) != null && _item$event.restrictions.skip || !c.schedule) {
            return;
          }
          c.log(`seek to ${time} "${timelineType}"`);
          const playingItem = c.effectivePlayingItem;
          const targetIndex = c.schedule.findItemIndexAtTime(time, timelineType);
          const targetItem = (_c$schedule$items2 = c.schedule.items) == null ? void 0 : _c$schedule$items2[targetIndex];
          const bufferingPlayer = c.getBufferingPlayer();
          const bufferingInterstitial = bufferingPlayer == null ? void 0 : bufferingPlayer.interstitial;
          const appendInPlace = bufferingInterstitial == null ? void 0 : bufferingInterstitial.appendInPlace;
          const seekInItem = playingItem && c.itemsMatch(playingItem, targetItem);
          if (playingItem && (appendInPlace || seekInItem)) {
            // seek in asset player or primary media (appendInPlace)
            const assetPlayer = getAssetPlayer(c.playingAsset);
            const media = (assetPlayer == null ? void 0 : assetPlayer.media) || c.primaryMedia;
            if (media) {
              const currentTime = timelineType === 'primary' ? media.currentTime : getMappedTime(playingItem, timelineType, c.playingAsset, 'timelinePos', 'currentTime');
              const diff = time - currentTime;
              const seekToTime = (appendInPlace ? currentTime : media.currentTime) + diff;
              if (seekToTime >= 0 && (!assetPlayer || appendInPlace || seekToTime <= assetPlayer.duration)) {
                media.currentTime = seekToTime;
                return;
              }
            }
          }
          // seek out of item or asset
          if (targetItem) {
            let seekToTime = time;
            if (timelineType !== 'primary') {
              const primarySegmentStart = targetItem[timelineType].start;
              const diff = time - primarySegmentStart;
              seekToTime = targetItem.start + diff;
            }
            const targetIsPrimary = !c.isInterstitial(targetItem);
            if ((!c.isInterstitial(playingItem) || playingItem.event.appendInPlace) && (targetIsPrimary || targetItem.event.appendInPlace)) {
              const media = c.media || (appendInPlace ? bufferingPlayer == null ? void 0 : bufferingPlayer.media : null);
              if (media) {
                media.currentTime = seekToTime;
              }
            } else if (playingItem) {
              // check if an Interstitial between the current item and target item has an X-RESTRICT JUMP restriction
              const playingIndex = c.findItemIndex(playingItem);
              if (targetIndex > playingIndex) {
                const jumpIndex = c.schedule.findJumpRestrictedIndex(playingIndex + 1, targetIndex);
                if (jumpIndex > playingIndex) {
                  c.setSchedulePosition(jumpIndex);
                  return;
                }
              }
              let assetIndex = 0;
              if (targetIsPrimary) {
                c.timelinePos = seekToTime;
                c.checkBuffer();
              } else {
                const assetList = targetItem.event.assetList;
                const eventTime = time - (targetItem[timelineType] || targetItem).start;
                for (let i = assetList.length; i--;) {
                  const asset = assetList[i];
                  if (asset.duration && eventTime >= asset.startOffset && eventTime < asset.startOffset + asset.duration) {
                    assetIndex = i;
                    break;
                  }
                }
              }
              c.setSchedulePosition(targetIndex, assetIndex);
            }
          }
        };
        const getActiveInterstitial = () => {
          const playingItem = c.effectivePlayingItem;
          if (c.isInterstitial(playingItem)) {
            return playingItem;
          }
          const bufferingItem = effectiveBufferingItem();
          if (c.isInterstitial(bufferingItem)) {
            return bufferingItem;
          }
          return null;
        };
        const interstitialPlayer = {
          get bufferedEnd() {
            const interstitialItem = effectiveBufferingItem();
            const bufferingItem = c.bufferingItem;
            if (bufferingItem && bufferingItem === interstitialItem) {
              var _c$bufferingAsset;
              return getMappedTime(bufferingItem, 'playout', c.bufferingAsset, 'bufferedPos', 'bufferedEnd') - bufferingItem.playout.start || ((_c$bufferingAsset = c.bufferingAsset) == null ? void 0 : _c$bufferingAsset.startOffset) || 0;
            }
            return 0;
          },
          get currentTime() {
            const interstitialItem = getActiveInterstitial();
            const playingItem = c.effectivePlayingItem;
            if (playingItem && playingItem === interstitialItem) {
              return getMappedTime(playingItem, 'playout', c.effectivePlayingAsset, 'timelinePos', 'currentTime') - playingItem.playout.start;
            }
            return 0;
          },
          set currentTime(time) {
            const interstitialItem = getActiveInterstitial();
            const playingItem = c.effectivePlayingItem;
            if (playingItem && playingItem === interstitialItem) {
              seekTo(time + playingItem.playout.start, 'playout');
            }
          },
          get duration() {
            const interstitialItem = getActiveInterstitial();
            if (interstitialItem) {
              return interstitialItem.playout.end - interstitialItem.playout.start;
            }
            return 0;
          },
          get assetPlayers() {
            var _getActiveInterstitia;
            const assetList = (_getActiveInterstitia = getActiveInterstitial()) == null ? void 0 : _getActiveInterstitia.event.assetList;
            if (assetList) {
              return assetList.map(asset => c.getAssetPlayer(asset.identifier));
            }
            return [];
          },
          get playingIndex() {
            var _getActiveInterstitia2;
            const interstitial = (_getActiveInterstitia2 = getActiveInterstitial()) == null ? void 0 : _getActiveInterstitia2.event;
            if (interstitial && c.effectivePlayingAsset) {
              return interstitial.findAssetIndex(c.effectivePlayingAsset);
            }
            return -1;
          },
          get scheduleItem() {
            return getActiveInterstitial();
          }
        };
        return this.manager = {
          get events() {
            var _c$schedule3;
            // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
            return ((_c$schedule3 = c.schedule) == null || (_c$schedule3 = _c$schedule3.events) == null ? void 0 : _c$schedule3.slice(0)) || [];
          },
          get schedule() {
            var _c$schedule4;
            // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
            return ((_c$schedule4 = c.schedule) == null || (_c$schedule4 = _c$schedule4.items) == null ? void 0 : _c$schedule4.slice(0)) || [];
          },
          get interstitialPlayer() {
            if (getActiveInterstitial()) {
              return interstitialPlayer;
            }
            return null;
          },
          get playerQueue() {
            return c.playerQueue.slice(0);
          },
          get bufferingAsset() {
            return c.bufferingAsset;
          },
          get bufferingItem() {
            return effectiveBufferingItem();
          },
          get bufferingIndex() {
            const item = effectiveBufferingItem();
            return c.findItemIndex(item);
          },
          get playingAsset() {
            return c.effectivePlayingAsset;
          },
          get playingItem() {
            return c.effectivePlayingItem;
          },
          get playingIndex() {
            const item = c.effectivePlayingItem;
            return c.findItemIndex(item);
          },
          primary: {
            get bufferedEnd() {
              return getBufferedEnd();
            },
            get currentTime() {
              const timelinePos = c.timelinePos;
              return timelinePos > 0 ? timelinePos : 0;
            },
            set currentTime(time) {
              seekTo(time, 'primary');
            },
            get duration() {
              return getMappedDuration('primary');
            },
            get seekableStart() {
              var _c$primaryDetails2;
              return ((_c$primaryDetails2 = c.primaryDetails) == null ? void 0 : _c$primaryDetails2.fragmentStart) || 0;
            }
          },
          integrated: {
            get bufferedEnd() {
              return getMappedTime(effectiveBufferingItem(), 'integrated', c.bufferingAsset, 'bufferedPos', 'bufferedEnd');
            },
            get currentTime() {
              return getMappedTime(c.effectivePlayingItem, 'integrated', c.effectivePlayingAsset, 'timelinePos', 'currentTime');
            },
            set currentTime(time) {
              seekTo(time, 'integrated');
            },
            get duration() {
              return getMappedDuration('integrated');
            },
            get seekableStart() {
              var _c$primaryDetails3;
              return findMappedTime(((_c$primaryDetails3 = c.primaryDetails) == null ? void 0 : _c$primaryDetails3.fragmentStart) || 0, 'integrated');
            }
          },
          skip: () => {
            const item = c.effectivePlayingItem;
            const event = item == null ? void 0 : item.event;
            if (event && !event.restrictions.skip) {
              const index = c.findItemIndex(item);
              if (event.appendInPlace) {
                const time = item.playout.start + item.event.duration;
                seekTo(time + 0.001, 'playout');
              } else {
                c.advanceAfterAssetEnded(event, index, Infinity);
              }
            }
          }
        };
      }
    
      // Schedule getters
      get effectivePlayingItem() {
        return this.waitingItem || this.playingItem || this.endedItem;
      }
      get effectivePlayingAsset() {
        return this.playingAsset || this.endedAsset;
      }
      get playingLastItem() {
        var _this$schedule;
        const playingItem = this.playingItem;
        const items = (_this$schedule = this.schedule) == null ? void 0 : _this$schedule.items;
        if (!this.playbackStarted || !playingItem || !items) {
          return false;
        }
        return this.findItemIndex(playingItem) === items.length - 1;
      }
      get playbackStarted() {
        return this.effectivePlayingItem !== null;
      }
    
      // Media getters and event callbacks
      get currentTime() {
        var _this$bufferingItem, _media;
        if (this.mediaSelection === null) {
          // Do not advance before schedule is known
          return undefined;
        }
        // Ignore currentTime when detached for Interstitial playback with source reset
        const queuedForPlayback = this.waitingItem || this.playingItem;
        if (this.isInterstitial(queuedForPlayback) && !queuedForPlayback.event.appendInPlace) {
          return undefined;
        }
        let media = this.media;
        if (!media && (_this$bufferingItem = this.bufferingItem) != null && (_this$bufferingItem = _this$bufferingItem.event) != null && _this$bufferingItem.appendInPlace) {
          // Observe detached media currentTime when appending in place
          media = this.primaryMedia;
        }
        const currentTime = (_media = media) == null ? void 0 : _media.currentTime;
        if (currentTime === undefined || !isFiniteNumber(currentTime)) {
          return undefined;
        }
        return currentTime;
      }
      get primaryMedia() {
        var _this$detachedData;
        return this.media || ((_this$detachedData = this.detachedData) == null ? void 0 : _this$detachedData.media) || null;
      }
      isInterstitial(item) {
        return !!(item != null && item.event);
      }
      retreiveMediaSource(assetId, toSegment) {
        const player = this.getAssetPlayer(assetId);
        if (player) {
          this.transferMediaFromPlayer(player, toSegment);
        }
      }
      transferMediaFromPlayer(player, toSegment) {
        const appendInPlace = player.interstitial.appendInPlace;
        const playerMedia = player.media;
        if (appendInPlace && playerMedia === this.primaryMedia) {
          this.bufferingAsset = null;
          if (!toSegment || this.isInterstitial(toSegment) && !toSegment.event.appendInPlace) {
            // MediaSource cannot be transfered back to an Interstitial that requires a source reset
            // no-op when toSegment is undefined
            if (toSegment && playerMedia) {
              this.detachedData = {
                media: playerMedia
              };
              return;
            }
          }
          const attachMediaSourceData = player.transferMedia();
          this.log(`transfer MediaSource from ${player} ${stringify(attachMediaSourceData)}`);
          this.detachedData = attachMediaSourceData;
        } else if (toSegment && playerMedia) {
          this.shouldPlay || (this.shouldPlay = !playerMedia.paused);
        }
      }
      transferMediaTo(player, media) {
        var _this$detachedData2, _attachMediaSourceDat;
        if (player.media === media) {
          return;
        }
        let attachMediaSourceData = null;
        const primaryPlayer = this.hls;
        const isAssetPlayer = player !== primaryPlayer;
        const appendInPlace = isAssetPlayer && player.interstitial.appendInPlace;
        const detachedMediaSource = (_this$detachedData2 = this.detachedData) == null ? void 0 : _this$detachedData2.mediaSource;
        let logFromSource;
        if (primaryPlayer.media) {
          if (appendInPlace) {
            attachMediaSourceData = primaryPlayer.transferMedia();
            this.detachedData = attachMediaSourceData;
          }
          logFromSource = `Primary`;
        } else if (detachedMediaSource) {
          const bufferingPlayer = this.getBufferingPlayer();
          if (bufferingPlayer) {
            attachMediaSourceData = bufferingPlayer.transferMedia();
            logFromSource = `${bufferingPlayer}`;
          } else {
            logFromSource = `detached MediaSource`;
          }
        } else {
          logFromSource = `detached media`;
        }
        if (!attachMediaSourceData) {
          if (detachedMediaSource) {
            attachMediaSourceData = this.detachedData;
            this.log(`using detachedData: MediaSource ${stringify(attachMediaSourceData)}`);
          } else if (!this.detachedData || primaryPlayer.media === media) {
            // Keep interstitial media transition consistent
            const playerQueue = this.playerQueue;
            if (playerQueue.length > 1) {
              playerQueue.forEach(queuedPlayer => {
                if (isAssetPlayer && queuedPlayer.interstitial.appendInPlace !== appendInPlace) {
                  const interstitial = queuedPlayer.interstitial;
                  this.clearInterstitial(queuedPlayer.interstitial, null);
                  interstitial.appendInPlace = false; // setter may be a no-op;
                  // `appendInPlace` getter may still return `true` after insterstitial streaming has begun in that mode.
                  if (interstitial.appendInPlace) {
                    this.warn(`Could not change append strategy for queued assets ${interstitial}`);
                  }
                }
              });
            }
            this.hls.detachMedia();
            this.detachedData = {
              media
            };
          }
        }
        const transferring = attachMediaSourceData && 'mediaSource' in attachMediaSourceData && ((_attachMediaSourceDat = attachMediaSourceData.mediaSource) == null ? void 0 : _attachMediaSourceDat.readyState) !== 'closed';
        const dataToAttach = transferring && attachMediaSourceData ? attachMediaSourceData : media;
        this.log(`${transferring ? 'transfering MediaSource' : 'attaching media'} to ${isAssetPlayer ? player : 'Primary'} from ${logFromSource} (media.currentTime: ${media.currentTime})`);
        const schedule = this.schedule;
        if (dataToAttach === attachMediaSourceData && schedule) {
          const isAssetAtEndOfSchedule = isAssetPlayer && player.assetId === schedule.assetIdAtEnd;
          // Prevent asset players from marking EoS on transferred MediaSource
          dataToAttach.overrides = {
            duration: schedule.duration,
            endOfStream: !isAssetPlayer || isAssetAtEndOfSchedule,
            cueRemoval: !isAssetPlayer
          };
        }
        player.attachMedia(dataToAttach);
      }
      onInterstitialCueEnter() {
        this.onTimeupdate();
      }
      // Scheduling methods
      checkStart() {
        const schedule = this.schedule;
        const interstitialEvents = schedule == null ? void 0 : schedule.events;
        if (!interstitialEvents || this.playbackDisabled || !this.media) {
          return;
        }
        // Check buffered to pre-roll
        if (this.bufferedPos === -1) {
          this.bufferedPos = 0;
        }
        // Start stepping through schedule when playback begins for the first time and we have a pre-roll
        const timelinePos = this.timelinePos;
        const effectivePlayingItem = this.effectivePlayingItem;
        if (timelinePos === -1) {
          const startPosition = this.hls.startPosition;
          this.log(timelineMessage('checkStart', startPosition));
          this.timelinePos = startPosition;
          if (interstitialEvents.length && interstitialEvents[0].cue.pre) {
            const index = schedule.findEventIndex(interstitialEvents[0].identifier);
            this.setSchedulePosition(index);
          } else if (startPosition >= 0 || !this.primaryLive) {
            const start = this.timelinePos = startPosition > 0 ? startPosition : 0;
            const index = schedule.findItemIndexAtTime(start);
            this.setSchedulePosition(index);
          }
        } else if (effectivePlayingItem && !this.playingItem) {
          const index = schedule.findItemIndex(effectivePlayingItem);
          this.setSchedulePosition(index);
        }
      }
      advanceAssetBuffering(item, assetItem) {
        const interstitial = item.event;
        const assetListIndex = interstitial.findAssetIndex(assetItem);
        const nextAssetIndex = getNextAssetIndex(interstitial, assetListIndex);
        if (!interstitial.isAssetPastPlayoutLimit(nextAssetIndex)) {
          this.bufferedToEvent(item, nextAssetIndex);
        } else if (this.schedule) {
          var _this$schedule$items;
          const nextItem = (_this$schedule$items = this.schedule.items) == null ? void 0 : _this$schedule$items[this.findItemIndex(item) + 1];
          if (nextItem) {
            this.bufferedToItem(nextItem);
          }
        }
      }
      advanceAfterAssetEnded(interstitial, index, assetListIndex) {
        const nextAssetIndex = getNextAssetIndex(interstitial, assetListIndex);
        if (!interstitial.isAssetPastPlayoutLimit(nextAssetIndex)) {
          // Advance to next asset list item
          if (interstitial.appendInPlace) {
            const assetItem = interstitial.assetList[nextAssetIndex];
            if (assetItem) {
              this.advanceInPlace(assetItem.timelineStart);
            }
          }
          this.setSchedulePosition(index, nextAssetIndex);
        } else if (this.schedule) {
          // Advance to next schedule segment
          // check if we've reached the end of the program
          const scheduleItems = this.schedule.items;
          if (scheduleItems) {
            const nextIndex = index + 1;
            const scheduleLength = scheduleItems.length;
            if (nextIndex >= scheduleLength) {
              this.setSchedulePosition(-1);
              return;
            }
            const resumptionTime = interstitial.resumeTime;
            if (this.timelinePos < resumptionTime) {
              this.log(timelineMessage('advanceAfterAssetEnded', resumptionTime));
              this.timelinePos = resumptionTime;
              if (interstitial.appendInPlace) {
                this.advanceInPlace(resumptionTime);
              }
              this.checkBuffer(this.bufferedPos < resumptionTime);
            }
            this.setSchedulePosition(nextIndex);
          }
        }
      }
      setScheduleToAssetAtTime(time, playingAsset) {
        const schedule = this.schedule;
        if (!schedule) {
          return;
        }
        const parentIdentifier = playingAsset.parentIdentifier;
        const interstitial = schedule.getEvent(parentIdentifier);
        if (interstitial) {
          const itemIndex = schedule.findEventIndex(parentIdentifier);
          const assetListIndex = schedule.findAssetIndex(interstitial, time);
          this.advanceAfterAssetEnded(interstitial, itemIndex, assetListIndex - 1);
        }
      }
      setSchedulePosition(index, assetListIndex) {
        var _this$schedule2;
        const scheduleItems = (_this$schedule2 = this.schedule) == null ? void 0 : _this$schedule2.items;
        if (!scheduleItems || this.playbackDisabled) {
          return;
        }
        const scheduledItem = index >= 0 ? scheduleItems[index] : null;
        this.log(`setSchedulePosition ${index}, ${assetListIndex} (${scheduledItem ? segmentToString(scheduledItem) : scheduledItem}) pos: ${this.timelinePos}`);
        // Cleanup current item / asset
        const currentItem = this.waitingItem || this.playingItem;
        const playingLastItem = this.playingLastItem;
        if (this.isInterstitial(currentItem)) {
          const interstitial = currentItem.event;
          const playingAsset = this.playingAsset;
          const assetId = playingAsset == null ? void 0 : playingAsset.identifier;
          const player = assetId ? this.getAssetPlayer(assetId) : null;
          if (player && assetId && (!this.eventItemsMatch(currentItem, scheduledItem) || assetListIndex !== undefined && assetId !== interstitial.assetList[assetListIndex].identifier)) {
            var _this$detachedData3;
            const playingAssetListIndex = interstitial.findAssetIndex(playingAsset);
            this.log(`INTERSTITIAL_ASSET_ENDED ${playingAssetListIndex + 1}/${interstitial.assetList.length} ${eventAssetToString(playingAsset)}`);
            this.endedAsset = playingAsset;
            this.playingAsset = null;
            this.hls.trigger(Events.INTERSTITIAL_ASSET_ENDED, {
              asset: playingAsset,
              assetListIndex: playingAssetListIndex,
              event: interstitial,
              schedule: scheduleItems.slice(0),
              scheduleIndex: index,
              player
            });
            if (currentItem !== this.playingItem) {
              // Schedule change occured on INTERSTITIAL_ASSET_ENDED
              if (this.itemsMatch(currentItem, this.playingItem) &&
              // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
              !this.playingAsset // INTERSTITIAL_ASSET_ENDED side-effect
              ) {
                this.advanceAfterAssetEnded(interstitial, this.findItemIndex(this.playingItem), playingAssetListIndex);
              }
              // Navigation occured on INTERSTITIAL_ASSET_ENDED
              return;
            }
            this.retreiveMediaSource(assetId, scheduledItem);
            if (player.media && !((_this$detachedData3 = this.detachedData) != null && _this$detachedData3.mediaSource)) {
              player.detachMedia();
            }
          }
          if (!this.eventItemsMatch(currentItem, scheduledItem)) {
            this.endedItem = currentItem;
            this.playingItem = null;
            this.log(`INTERSTITIAL_ENDED ${interstitial} ${segmentToString(currentItem)}`);
            interstitial.hasPlayed = true;
            this.hls.trigger(Events.INTERSTITIAL_ENDED, {
              event: interstitial,
              schedule: scheduleItems.slice(0),
              scheduleIndex: index
            });
            // Exiting an Interstitial
            if (interstitial.cue.once) {
              var _this$schedule3;
              // Remove interstitial with CUE attribute value of ONCE after it has played
              this.updateSchedule();
              const updatedScheduleItems = (_this$schedule3 = this.schedule) == null ? void 0 : _this$schedule3.items;
              if (scheduledItem && updatedScheduleItems) {
                const updatedIndex = this.findItemIndex(scheduledItem);
                this.advanceSchedule(updatedIndex, updatedScheduleItems, assetListIndex, currentItem, playingLastItem);
              }
              return;
            }
          }
        }
        this.advanceSchedule(index, scheduleItems, assetListIndex, currentItem, playingLastItem);
      }
      advanceSchedule(index, scheduleItems, assetListIndex, currentItem, playedLastItem) {
        const schedule = this.schedule;
        if (!schedule) {
          return;
        }
        const scheduledItem = scheduleItems[index] || null;
        const media = this.primaryMedia;
        // Cleanup out of range Interstitials
        const playerQueue = this.playerQueue;
        if (playerQueue.length) {
          playerQueue.forEach(player => {
            const interstitial = player.interstitial;
            const queuedIndex = schedule.findEventIndex(interstitial.identifier);
            if (queuedIndex < index || queuedIndex > index + 1) {
              this.clearInterstitial(interstitial, scheduledItem);
            }
          });
        }
        // Setup scheduled item
        if (this.isInterstitial(scheduledItem)) {
          this.timelinePos = Math.min(Math.max(this.timelinePos, scheduledItem.start), scheduledItem.end);
          // Handle Interstitial
          const interstitial = scheduledItem.event;
          // find asset index
          if (assetListIndex === undefined) {
            assetListIndex = schedule.findAssetIndex(interstitial, this.timelinePos);
            const assetIndexCandidate = getNextAssetIndex(interstitial, assetListIndex - 1);
            if (interstitial.isAssetPastPlayoutLimit(assetIndexCandidate) || interstitial.appendInPlace && this.timelinePos === scheduledItem.end) {
              this.advanceAfterAssetEnded(interstitial, index, assetListIndex);
              return;
            }
            assetListIndex = assetIndexCandidate;
          }
          // Ensure Interstitial is enqueued
          const waitingItem = this.waitingItem;
          if (!this.assetsBuffered(scheduledItem, media)) {
            this.setBufferingItem(scheduledItem);
          }
          let player = this.preloadAssets(interstitial, assetListIndex);
          if (!this.eventItemsMatch(scheduledItem, waitingItem || currentItem)) {
            this.waitingItem = scheduledItem;
            this.log(`INTERSTITIAL_STARTED ${segmentToString(scheduledItem)} ${interstitial.appendInPlace ? 'append in place' : ''}`);
            this.hls.trigger(Events.INTERSTITIAL_STARTED, {
              event: interstitial,
              schedule: scheduleItems.slice(0),
              scheduleIndex: index
            });
          }
          if (!interstitial.assetListLoaded) {
            // Waiting at end of primary content segment
            // Expect setSchedulePosition to be called again once ASSET-LIST is loaded
            this.log(`Waiting for ASSET-LIST to complete loading ${interstitial}`);
            return;
          }
          if (interstitial.assetListLoader) {
            interstitial.assetListLoader.destroy();
            interstitial.assetListLoader = undefined;
          }
          if (!media) {
            this.log(`Waiting for attachMedia to start Interstitial ${interstitial}`);
            return;
          }
          // Update schedule and asset list position now that it can start
          this.waitingItem = this.endedItem = null;
          this.playingItem = scheduledItem;
    
          // If asset-list is empty or missing asset index, advance to next item
          const assetItem = interstitial.assetList[assetListIndex];
          if (!assetItem) {
            this.advanceAfterAssetEnded(interstitial, index, assetListIndex || 0);
            return;
          }
    
          // Start Interstitial Playback
          if (!player) {
            player = this.getAssetPlayer(assetItem.identifier);
          }
          if (player === null || player.destroyed) {
            const assetListLength = interstitial.assetList.length;
            this.warn(`asset ${assetListIndex + 1}/${assetListLength} player destroyed ${interstitial}`);
            player = this.createAssetPlayer(interstitial, assetItem, assetListIndex);
            player.loadSource();
          }
          if (!this.eventItemsMatch(scheduledItem, this.bufferingItem)) {
            if (interstitial.appendInPlace && this.isAssetBuffered(assetItem)) {
              return;
            }
          }
          this.startAssetPlayer(player, assetListIndex, scheduleItems, index, media);
          if (this.shouldPlay) {
            playWithCatch(player.media);
          }
        } else if (scheduledItem) {
          this.resumePrimary(scheduledItem, index, currentItem);
          if (this.shouldPlay) {
            playWithCatch(this.hls.media);
          }
        } else if (playedLastItem && this.isInterstitial(currentItem)) {
          // Maintain playingItem state at end of schedule (setSchedulePosition(-1) called to end program)
          // this allows onSeeking handler to update schedule position
          this.endedItem = null;
          this.playingItem = currentItem;
          if (!currentItem.event.appendInPlace) {
            // Media must be re-attached to resume primary schedule if not sharing source
            this.attachPrimary(schedule.durations.primary, null);
          }
        }
      }
      get playbackDisabled() {
        return this.hls.config.enableInterstitialPlayback === false;
      }
      get primaryDetails() {
        var _this$mediaSelection;
        return (_this$mediaSelection = this.mediaSelection) == null ? void 0 : _this$mediaSelection.main.details;
      }
      get primaryLive() {
        var _this$primaryDetails;
        return !!((_this$primaryDetails = this.primaryDetails) != null && _this$primaryDetails.live);
      }
      resumePrimary(scheduledItem, index, fromItem) {
        var _this$detachedData4, _this$schedule4;
        this.playingItem = scheduledItem;
        this.playingAsset = this.endedAsset = null;
        this.waitingItem = this.endedItem = null;
        this.bufferedToItem(scheduledItem);
        this.log(`resuming ${segmentToString(scheduledItem)}`);
        if (!((_this$detachedData4 = this.detachedData) != null && _this$detachedData4.mediaSource)) {
          let timelinePos = this.timelinePos;
          if (timelinePos < scheduledItem.start || timelinePos >= scheduledItem.end) {
            timelinePos = this.getPrimaryResumption(scheduledItem, index);
            this.log(timelineMessage('resumePrimary', timelinePos));
            this.timelinePos = timelinePos;
          }
          this.attachPrimary(timelinePos, scheduledItem);
        }
        if (!fromItem) {
          return;
        }
        const scheduleItems = (_this$schedule4 = this.schedule) == null ? void 0 : _this$schedule4.items;
        if (!scheduleItems) {
          return;
        }
        this.log(`INTERSTITIALS_PRIMARY_RESUMED ${segmentToString(scheduledItem)}`);
        this.hls.trigger(Events.INTERSTITIALS_PRIMARY_RESUMED, {
          schedule: scheduleItems.slice(0),
          scheduleIndex: index
        });
        this.checkBuffer();
      }
      getPrimaryResumption(scheduledItem, index) {
        const itemStart = scheduledItem.start;
        if (this.primaryLive) {
          const details = this.primaryDetails;
          if (index === 0) {
            return this.hls.startPosition;
          } else if (details && (itemStart < details.fragmentStart || itemStart > details.edge)) {
            return this.hls.liveSyncPosition || -1;
          }
        }
        return itemStart;
      }
      isAssetBuffered(asset) {
        const player = this.getAssetPlayer(asset.identifier);
        if (player != null && player.hls) {
          return player.hls.bufferedToEnd;
        }
        const bufferInfo = BufferHelper.bufferInfo(this.primaryMedia, this.timelinePos, 0);
        return bufferInfo.end + 1 >= asset.timelineStart + (asset.duration || 0);
      }
      attachPrimary(timelinePos, item, skipSeekToStartPosition) {
        if (item) {
          this.setBufferingItem(item);
        } else {
          this.bufferingItem = this.playingItem;
        }
        this.bufferingAsset = null;
        const media = this.primaryMedia;
        if (!media) {
          return;
        }
        const hls = this.hls;
        if (hls.media) {
          this.checkBuffer();
        } else {
          this.transferMediaTo(hls, media);
          if (skipSeekToStartPosition) {
            this.startLoadingPrimaryAt(timelinePos, skipSeekToStartPosition);
          }
        }
        if (!skipSeekToStartPosition) {
          // Set primary position to resume time
          this.log(timelineMessage('attachPrimary', timelinePos));
          this.timelinePos = timelinePos;
          this.startLoadingPrimaryAt(timelinePos, skipSeekToStartPosition);
        }
      }
      startLoadingPrimaryAt(timelinePos, skipSeekToStartPosition) {
        var _hls$mainForwardBuffe;
        const hls = this.hls;
        if (!hls.loadingEnabled || !hls.media || Math.abs((((_hls$mainForwardBuffe = hls.mainForwardBufferInfo) == null ? void 0 : _hls$mainForwardBuffe.start) || hls.media.currentTime) - timelinePos) > 0.5) {
          hls.startLoad(timelinePos, skipSeekToStartPosition);
        } else if (!hls.bufferingEnabled) {
          hls.resumeBuffering();
        }
      }
    
      // HLS.js event callbacks
      onManifestLoading() {
        var _this$schedule5;
        this.stopLoad();
        (_this$schedule5 = this.schedule) == null || _this$schedule5.reset();
        this.emptyPlayerQueue();
        this.clearScheduleState();
        this.shouldPlay = false;
        this.bufferedPos = this.timelinePos = -1;
        this.mediaSelection = this.altSelection = this.manager = this.requiredTracks = null;
        // BUFFER_CODECS listener added here for buffer-controller to handle it first where it adds tracks
        this.hls.off(Events.BUFFER_CODECS, this.onBufferCodecs, this);
        this.hls.on(Events.BUFFER_CODECS, this.onBufferCodecs, this);
      }
      onLevelUpdated(event, data) {
        if (data.level === -1 || !this.schedule) {
          // level was removed
          return;
        }
        const main = this.hls.levels[data.level];
        if (!main.details) {
          return;
        }
        const currentSelection = _objectSpread2(_objectSpread2({}, this.mediaSelection || this.altSelection), {}, {
          main
        });
        this.mediaSelection = currentSelection;
        this.schedule.parseInterstitialDateRanges(currentSelection, this.hls.config.interstitialAppendInPlace);
        if (!this.effectivePlayingItem && this.schedule.items) {
          this.checkStart();
        }
      }
      onAudioTrackUpdated(event, data) {
        const audio = this.hls.audioTracks[data.id];
        const previousSelection = this.mediaSelection;
        if (!previousSelection) {
          this.altSelection = _objectSpread2(_objectSpread2({}, this.altSelection), {}, {
            audio
          });
          return;
        }
        const currentSelection = _objectSpread2(_objectSpread2({}, previousSelection), {}, {
          audio
        });
        this.mediaSelection = currentSelection;
      }
      onSubtitleTrackUpdated(event, data) {
        const subtitles = this.hls.subtitleTracks[data.id];
        const previousSelection = this.mediaSelection;
        if (!previousSelection) {
          this.altSelection = _objectSpread2(_objectSpread2({}, this.altSelection), {}, {
            subtitles
          });
          return;
        }
        const currentSelection = _objectSpread2(_objectSpread2({}, previousSelection), {}, {
          subtitles
        });
        this.mediaSelection = currentSelection;
      }
      onAudioTrackSwitching(event, data) {
        const audioOption = getBasicSelectionOption(data);
        this.playerQueue.forEach(({
          hls
        }) => hls && (hls.setAudioOption(data) || hls.setAudioOption(audioOption)));
      }
      onSubtitleTrackSwitch(event, data) {
        const subtitleOption = getBasicSelectionOption(data);
        this.playerQueue.forEach(({
          hls
        }) => hls && (hls.setSubtitleOption(data) || data.id !== -1 && hls.setSubtitleOption(subtitleOption)));
      }
      onBufferCodecs(event, data) {
        const requiredTracks = data.tracks;
        if (requiredTracks) {
          this.requiredTracks = requiredTracks;
        }
      }
      onBufferAppended(event, data) {
        this.checkBuffer();
      }
      onBufferFlushed(event, data) {
        const playingItem = this.playingItem;
        if (playingItem && !this.itemsMatch(playingItem, this.bufferingItem) && !this.isInterstitial(playingItem)) {
          const timelinePos = this.timelinePos;
          this.bufferedPos = timelinePos;
          this.checkBuffer();
        }
      }
      onBufferedToEnd(event) {
        if (!this.schedule) {
          return;
        }
        // Buffered to post-roll
        const interstitialEvents = this.schedule.events;
        if (this.bufferedPos < Number.MAX_VALUE && interstitialEvents) {
          for (let i = 0; i < interstitialEvents.length; i++) {
            const interstitial = interstitialEvents[i];
            if (interstitial.cue.post) {
              var _this$schedule$items2;
              const scheduleIndex = this.schedule.findEventIndex(interstitial.identifier);
              const item = (_this$schedule$items2 = this.schedule.items) == null ? void 0 : _this$schedule$items2[scheduleIndex];
              if (this.isInterstitial(item) && this.eventItemsMatch(item, this.bufferingItem)) {
                this.bufferedToItem(item, 0);
              }
              break;
            }
          }
          this.bufferedPos = Number.MAX_VALUE;
        }
      }
      onMediaEnded(event) {
        const playingItem = this.playingItem;
        if (!this.playingLastItem && playingItem) {
          const playingIndex = this.findItemIndex(playingItem);
          this.setSchedulePosition(playingIndex + 1);
        } else {
          this.shouldPlay = false;
        }
      }
      updateItem(previousItem, time) {
        var _this$schedule6;
        // find item in this.schedule.items;
        const items = (_this$schedule6 = this.schedule) == null ? void 0 : _this$schedule6.items;
        if (previousItem && items) {
          const index = this.findItemIndex(previousItem, time);
          return items[index] || null;
        }
        return null;
      }
      trimInPlace(updatedItem, itemBeforeUpdate) {
        if (this.isInterstitial(updatedItem) && updatedItem.event.appendInPlace && itemBeforeUpdate.end - updatedItem.end > 0.25) {
          updatedItem.event.assetList.forEach((asset, index) => {
            if (updatedItem.event.isAssetPastPlayoutLimit(index)) {
              this.clearAssetPlayer(asset.identifier, null);
            }
          });
          const flushStart = updatedItem.end + 0.25;
          const bufferInfo = BufferHelper.bufferInfo(this.primaryMedia, flushStart, 0);
          if (bufferInfo.end > flushStart || (bufferInfo.nextStart || 0) > flushStart) {
            this.log(`trim buffered interstitial ${segmentToString(updatedItem)} (was ${segmentToString(itemBeforeUpdate)})`);
            const skipSeekToStartPosition = true;
            this.attachPrimary(flushStart, null, skipSeekToStartPosition);
            this.flushFrontBuffer(flushStart);
          }
        }
      }
      itemsMatch(a, b) {
        return !!b && (a === b || a.event && b.event && this.eventItemsMatch(a, b) || !a.event && !b.event && this.findItemIndex(a) === this.findItemIndex(b));
      }
      eventItemsMatch(a, b) {
        var _b$event;
        return !!b && (a === b || a.event.identifier === ((_b$event = b.event) == null ? void 0 : _b$event.identifier));
      }
      findItemIndex(item, time) {
        return item && this.schedule ? this.schedule.findItemIndex(item, time) : -1;
      }
      updateSchedule(forceUpdate = false) {
        var _this$schedule7;
        const mediaSelection = this.mediaSelection;
        if (!mediaSelection) {
          return;
        }
        (_this$schedule7 = this.schedule) == null || _this$schedule7.updateSchedule(mediaSelection, [], forceUpdate);
      }
    
      // Schedule buffer control
      checkBuffer(starved) {
        var _this$schedule8;
        const items = (_this$schedule8 = this.schedule) == null ? void 0 : _this$schedule8.items;
        if (!items) {
          return;
        }
        // Find when combined forward buffer change reaches next schedule segment
        const bufferInfo = BufferHelper.bufferInfo(this.primaryMedia, this.timelinePos, 0);
        if (starved) {
          this.bufferedPos = this.timelinePos;
        }
        starved || (starved = bufferInfo.len < 1);
        this.updateBufferedPos(bufferInfo.end, items, starved);
      }
      updateBufferedPos(bufferEnd, items, bufferIsEmpty) {
        const schedule = this.schedule;
        const bufferingItem = this.bufferingItem;
        if (this.bufferedPos > bufferEnd || !schedule) {
          return;
        }
        if (items.length === 1 && this.itemsMatch(items[0], bufferingItem)) {
          this.bufferedPos = bufferEnd;
          return;
        }
        const playingItem = this.playingItem;
        const playingIndex = this.findItemIndex(playingItem);
        let bufferEndIndex = schedule.findItemIndexAtTime(bufferEnd);
        if (this.bufferedPos < bufferEnd) {
          var _nextItemToBuffer$eve;
          const bufferingIndex = this.findItemIndex(bufferingItem);
          const nextToBufferIndex = Math.min(bufferingIndex + 1, items.length - 1);
          const nextItemToBuffer = items[nextToBufferIndex];
          if (bufferEndIndex === -1 && bufferingItem && bufferEnd >= bufferingItem.end || (_nextItemToBuffer$eve = nextItemToBuffer.event) != null && _nextItemToBuffer$eve.appendInPlace && bufferEnd + 0.01 >= nextItemToBuffer.start) {
            bufferEndIndex = nextToBufferIndex;
          }
          if (this.isInterstitial(bufferingItem)) {
            const interstitial = bufferingItem.event;
            if (nextToBufferIndex - playingIndex > 1 && interstitial.appendInPlace === false) {
              // do not advance buffering item past Interstitial that requires source reset
              return;
            }
            if (interstitial.assetList.length === 0 && interstitial.assetListLoader) {
              // do not advance buffering item past Interstitial loading asset-list
              return;
            }
          }
          this.bufferedPos = bufferEnd;
          if (bufferEndIndex > bufferingIndex && bufferEndIndex > playingIndex) {
            this.bufferedToItem(nextItemToBuffer);
          } else {
            // allow more time than distance from edge for assets to load
            const details = this.primaryDetails;
            if (this.primaryLive && details && bufferEnd > details.edge - details.targetduration && nextItemToBuffer.start < details.edge + this.hls.config.interstitialLiveLookAhead && this.isInterstitial(nextItemToBuffer)) {
              this.preloadAssets(nextItemToBuffer.event, 0);
            }
          }
        } else if (bufferIsEmpty && playingItem && !this.itemsMatch(playingItem, bufferingItem)) {
          if (bufferEndIndex === playingIndex) {
            this.bufferedToItem(playingItem);
          } else if (bufferEndIndex === playingIndex + 1) {
            this.bufferedToItem(items[bufferEndIndex]);
          }
        }
      }
      assetsBuffered(item, media) {
        const assetList = item.event.assetList;
        if (assetList.length === 0) {
          return false;
        }
        return !item.event.assetList.some(asset => {
          const player = this.getAssetPlayer(asset.identifier);
          return !(player != null && player.bufferedInPlaceToEnd(media));
        });
      }
      setBufferingItem(item) {
        const bufferingLast = this.bufferingItem;
        const schedule = this.schedule;
        if (!this.itemsMatch(item, bufferingLast) && schedule) {
          const {
            items,
            events
          } = schedule;
          if (!items || !events) {
            return bufferingLast;
          }
          const isInterstitial = this.isInterstitial(item);
          const bufferingPlayer = this.getBufferingPlayer();
          this.bufferingItem = item;
          this.bufferedPos = Math.max(item.start, Math.min(item.end, this.timelinePos));
          const timeRemaining = bufferingPlayer ? bufferingPlayer.remaining : bufferingLast ? bufferingLast.end - this.timelinePos : 0;
          this.log(`INTERSTITIALS_BUFFERED_TO_BOUNDARY ${segmentToString(item)}` + (bufferingLast ? ` (${timeRemaining.toFixed(2)} remaining)` : ''));
          if (!this.playbackDisabled) {
            if (isInterstitial) {
              const bufferIndex = schedule.findAssetIndex(item.event, this.bufferedPos);
              // primary fragment loading will exit early in base-stream-controller while `bufferingItem` is set to an Interstitial block
              item.event.assetList.forEach((asset, i) => {
                const player = this.getAssetPlayer(asset.identifier);
                if (player) {
                  if (i === bufferIndex) {
                    player.loadSource();
                  }
                  player.resumeBuffering();
                }
              });
            } else {
              this.hls.resumeBuffering();
              this.playerQueue.forEach(player => player.pauseBuffering());
            }
          }
          this.hls.trigger(Events.INTERSTITIALS_BUFFERED_TO_BOUNDARY, {
            events: events.slice(0),
            schedule: items.slice(0),
            bufferingIndex: this.findItemIndex(item),
            playingIndex: this.findItemIndex(this.playingItem)
          });
        } else if (this.bufferingItem !== item) {
          this.bufferingItem = item;
        }
        return bufferingLast;
      }
      bufferedToItem(item, assetListIndex = 0) {
        const bufferingLast = this.setBufferingItem(item);
        if (this.playbackDisabled) {
          return;
        }
        if (this.isInterstitial(item)) {
          // Ensure asset list is loaded
          this.bufferedToEvent(item, assetListIndex);
        } else if (bufferingLast !== null) {
          // If primary player is detached, it is also stopped, restart loading at primary position
          this.bufferingAsset = null;
          const detachedData = this.detachedData;
          if (detachedData) {
            if (detachedData.mediaSource) {
              const skipSeekToStartPosition = true;
              this.attachPrimary(item.start, item, skipSeekToStartPosition);
            } else {
              this.preloadPrimary(item);
            }
          } else {
            // If not detached seek to resumption point
            this.preloadPrimary(item);
          }
        }
      }
      preloadPrimary(item) {
        const index = this.findItemIndex(item);
        const timelinePos = this.getPrimaryResumption(item, index);
        this.startLoadingPrimaryAt(timelinePos);
      }
      bufferedToEvent(item, assetListIndex) {
        const interstitial = item.event;
        const neverLoaded = interstitial.assetList.length === 0 && !interstitial.assetListLoader;
        const playOnce = interstitial.cue.once;
        if (neverLoaded || !playOnce) {
          // Buffered to Interstitial boundary
          const player = this.preloadAssets(interstitial, assetListIndex);
          if (player != null && player.interstitial.appendInPlace) {
            const media = this.primaryMedia;
            if (media) {
              this.bufferAssetPlayer(player, media);
            }
          }
        }
      }
      preloadAssets(interstitial, assetListIndex) {
        const uri = interstitial.assetUrl;
        const assetListLength = interstitial.assetList.length;
        const neverLoaded = assetListLength === 0 && !interstitial.assetListLoader;
        const playOnce = interstitial.cue.once;
        if (neverLoaded) {
          const timelineStart = interstitial.timelineStart;
          if (interstitial.appendInPlace) {
            var _playingItem$nextEven;
            const playingItem = this.playingItem;
            if (!this.isInterstitial(playingItem) && (playingItem == null || (_playingItem$nextEven = playingItem.nextEvent) == null ? void 0 : _playingItem$nextEven.identifier) === interstitial.identifier) {
              this.flushFrontBuffer(timelineStart + 0.25);
            }
          }
          let hlsStartOffset;
          let liveStartPosition = 0;
          if (!this.playingItem && this.primaryLive) {
            liveStartPosition = this.hls.startPosition;
            if (liveStartPosition === -1) {
              liveStartPosition = this.hls.liveSyncPosition || 0;
            }
          }
          if (liveStartPosition && !(interstitial.cue.pre || interstitial.cue.post)) {
            const startOffset = liveStartPosition - timelineStart;
            if (startOffset > 0) {
              hlsStartOffset = Math.round(startOffset * 1000) / 1000;
            }
          }
          this.log(`Load interstitial asset ${assetListIndex + 1}/${uri ? 1 : assetListLength} ${interstitial}${hlsStartOffset ? ` live-start: ${liveStartPosition} start-offset: ${hlsStartOffset}` : ''}`);
          if (uri) {
            return this.createAsset(interstitial, 0, 0, timelineStart, interstitial.duration, uri);
          }
          const assetListLoader = this.assetListLoader.loadAssetList(interstitial, hlsStartOffset);
          if (assetListLoader) {
            interstitial.assetListLoader = assetListLoader;
          }
        } else if (!playOnce && assetListLength) {
          // Re-buffered to Interstitial boundary, re-create asset player(s)
          for (let i = assetListIndex; i < assetListLength; i++) {
            const _asset = interstitial.assetList[i];
            const playerIndex = this.getAssetPlayerQueueIndex(_asset.identifier);
            if ((playerIndex === -1 || this.playerQueue[playerIndex].destroyed) && !_asset.error) {
              this.createAssetPlayer(interstitial, _asset, i);
            }
          }
          const asset = interstitial.assetList[assetListIndex];
          // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
          if (asset) {
            const player = this.getAssetPlayer(asset.identifier);
            if (player) {
              player.loadSource();
            }
            return player;
          }
        }
        return null;
      }
      flushFrontBuffer(startOffset) {
        // Force queued flushing of all buffers
        const requiredTracks = this.requiredTracks;
        if (!requiredTracks) {
          return;
        }
        this.log(`Removing front buffer starting at ${startOffset}`);
        const sourceBufferNames = Object.keys(requiredTracks);
        sourceBufferNames.forEach(type => {
          this.hls.trigger(Events.BUFFER_FLUSHING, {
            startOffset,
            endOffset: Infinity,
            type
          });
        });
      }
    
      // Interstitial Asset Player control
      getAssetPlayerQueueIndex(assetId) {
        const playerQueue = this.playerQueue;
        for (let i = 0; i < playerQueue.length; i++) {
          if (assetId === playerQueue[i].assetId) {
            return i;
          }
        }
        return -1;
      }
      getAssetPlayer(assetId) {
        const index = this.getAssetPlayerQueueIndex(assetId);
        return this.playerQueue[index] || null;
      }
      getBufferingPlayer() {
        const {
          playerQueue,
          primaryMedia
        } = this;
        if (primaryMedia) {
          for (let i = 0; i < playerQueue.length; i++) {
            if (playerQueue[i].media === primaryMedia) {
              return playerQueue[i];
            }
          }
        }
        return null;
      }
      createAsset(interstitial, assetListIndex, startOffset, timelineStart, duration, uri) {
        const assetItem = {
          parentIdentifier: interstitial.identifier,
          identifier: generateAssetIdentifier(interstitial, uri, assetListIndex),
          duration,
          startOffset,
          timelineStart,
          uri
        };
        return this.createAssetPlayer(interstitial, assetItem, assetListIndex);
      }
      createAssetPlayer(interstitial, assetItem, assetListIndex) {
        const primary = this.hls;
        const userConfig = primary.userConfig;
        let videoPreference = userConfig.videoPreference;
        const currentLevel = primary.loadLevelObj || primary.levels[primary.currentLevel];
        // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
        if (videoPreference || currentLevel) {
          videoPreference = _extends({}, videoPreference);
          if (currentLevel.videoCodec) {
            videoPreference.videoCodec = currentLevel.videoCodec;
          }
          // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
          if (currentLevel.videoRange) {
            videoPreference.allowedVideoRanges = [currentLevel.videoRange];
          }
        }
        const selectedAudio = primary.audioTracks[primary.audioTrack];
        const selectedSubtitle = primary.subtitleTracks[primary.subtitleTrack];
        let startPosition = 0;
        if (this.primaryLive || interstitial.appendInPlace) {
          const timePastStart = this.timelinePos - assetItem.timelineStart;
          if (timePastStart > 1) {
            const duration = assetItem.duration;
            if (duration && timePastStart < duration) {
              startPosition = timePastStart;
            }
          }
        }
        const assetId = assetItem.identifier;
        const playerConfig = _objectSpread2(_objectSpread2({}, userConfig), {}, {
          maxMaxBufferLength: Math.min(180, primary.config.maxMaxBufferLength),
          autoStartLoad: true,
          startFragPrefetch: true,
          primarySessionId: primary.sessionId,
          assetPlayerId: assetId,
          abrEwmaDefaultEstimate: primary.bandwidthEstimate,
          interstitialsController: undefined,
          startPosition,
          liveDurationInfinity: false,
          testBandwidth: false,
          videoPreference,
          audioPreference: selectedAudio || userConfig.audioPreference,
          subtitlePreference: selectedSubtitle || userConfig.subtitlePreference
        });
        // TODO: limit maxMaxBufferLength in asset players to prevent QEE
        if (interstitial.appendInPlace) {
          interstitial.appendInPlaceStarted = true;
          if (assetItem.timelineStart) {
            playerConfig.timelineOffset = assetItem.timelineStart;
          }
        }
        const cmcd = playerConfig.cmcd;
        if (cmcd != null && cmcd.sessionId && cmcd.contentId) {
          playerConfig.cmcd = _extends({}, cmcd, {
            contentId: hash(assetItem.uri)
          });
        }
        if (this.getAssetPlayer(assetId)) {
          this.warn(`Duplicate date range identifier ${interstitial} and asset ${assetId}`);
        }
        const player = new HlsAssetPlayer(this.HlsPlayerClass, playerConfig, interstitial, assetItem);
        this.playerQueue.push(player);
        interstitial.assetList[assetListIndex] = assetItem;
        // Listen for LevelDetails and PTS change to update duration
        let initialDuration = true;
        const updateAssetPlayerDetails = details => {
          if (details.live) {
            var _this$schedule9;
            const error = new Error(`Interstitials MUST be VOD assets ${interstitial}`);
            const errorData = {
              fatal: true,
              type: ErrorTypes.OTHER_ERROR,
              details: ErrorDetails.INTERSTITIAL_ASSET_ITEM_ERROR,
              error
            };
            const scheduleIndex = ((_this$schedule9 = this.schedule) == null ? void 0 : _this$schedule9.findEventIndex(interstitial.identifier)) || -1;
            this.handleAssetItemError(errorData, interstitial, scheduleIndex, assetListIndex, error.message);
            return;
          }
          // Get time at end of last fragment
          const duration = details.edge - details.fragmentStart;
          const currentAssetDuration = assetItem.duration;
          if (initialDuration || currentAssetDuration === null || duration > currentAssetDuration) {
            initialDuration = false;
            this.log(`Interstitial asset "${assetId}" duration change ${currentAssetDuration} > ${duration}`);
            assetItem.duration = duration;
            // Update schedule with new event and asset duration
            this.updateSchedule();
          }
        };
        player.on(Events.LEVEL_UPDATED, (event, {
          details
        }) => updateAssetPlayerDetails(details));
        player.on(Events.LEVEL_PTS_UPDATED, (event, {
          details
        }) => updateAssetPlayerDetails(details));
        player.on(Events.EVENT_CUE_ENTER, () => this.onInterstitialCueEnter());
        const onBufferCodecs = (event, data) => {
          const inQueuPlayer = this.getAssetPlayer(assetId);
          if (inQueuPlayer && data.tracks) {
            inQueuPlayer.off(Events.BUFFER_CODECS, onBufferCodecs);
            inQueuPlayer.tracks = data.tracks;
            const media = this.primaryMedia;
            if (this.bufferingAsset === inQueuPlayer.assetItem && media && !inQueuPlayer.media) {
              this.bufferAssetPlayer(inQueuPlayer, media);
            }
          }
        };
        player.on(Events.BUFFER_CODECS, onBufferCodecs);
        const bufferedToEnd = () => {
          var _this$schedule$items3;
          const inQueuPlayer = this.getAssetPlayer(assetId);
          this.log(`buffered to end of asset ${inQueuPlayer}`);
          if (!inQueuPlayer || !this.schedule) {
            return;
          }
          // Preload at end of asset
          const scheduleIndex = this.schedule.findEventIndex(interstitial.identifier);
          const item = (_this$schedule$items3 = this.schedule.items) == null ? void 0 : _this$schedule$items3[scheduleIndex];
          if (this.isInterstitial(item)) {
            this.advanceAssetBuffering(item, assetItem);
          }
        };
        player.on(Events.BUFFERED_TO_END, bufferedToEnd);
        const endedWithAssetIndex = assetIndex => {
          return () => {
            const inQueuPlayer = this.getAssetPlayer(assetId);
            if (!inQueuPlayer || !this.schedule) {
              return;
            }
            this.shouldPlay = true;
            const scheduleIndex = this.schedule.findEventIndex(interstitial.identifier);
            this.advanceAfterAssetEnded(interstitial, scheduleIndex, assetIndex);
          };
        };
        player.once(Events.MEDIA_ENDED, endedWithAssetIndex(assetListIndex));
        player.once(Events.PLAYOUT_LIMIT_REACHED, endedWithAssetIndex(Infinity));
        player.on(Events.ERROR, (event, data) => {
          if (!this.schedule) {
            return;
          }
          const inQueuPlayer = this.getAssetPlayer(assetId);
          if (data.details === ErrorDetails.BUFFER_STALLED_ERROR) {
            if (inQueuPlayer != null && inQueuPlayer.appendInPlace) {
              this.handleInPlaceStall(interstitial);
              return;
            }
            this.onTimeupdate();
            this.checkBuffer(true);
            return;
          }
          this.handleAssetItemError(data, interstitial, this.schedule.findEventIndex(interstitial.identifier), assetListIndex, `Asset player error ${data.error} ${interstitial}`);
        });
        player.on(Events.DESTROYING, () => {
          const inQueuPlayer = this.getAssetPlayer(assetId);
          if (!inQueuPlayer || !this.schedule) {
            return;
          }
          const error = new Error(`Asset player destroyed unexpectedly ${assetId}`);
          const errorData = {
            fatal: true,
            type: ErrorTypes.OTHER_ERROR,
            details: ErrorDetails.INTERSTITIAL_ASSET_ITEM_ERROR,
            error
          };
          this.handleAssetItemError(errorData, interstitial, this.schedule.findEventIndex(interstitial.identifier), assetListIndex, error.message);
        });
        this.log(`INTERSTITIAL_ASSET_PLAYER_CREATED ${eventAssetToString(assetItem)}`);
        this.hls.trigger(Events.INTERSTITIAL_ASSET_PLAYER_CREATED, {
          asset: assetItem,
          assetListIndex,
          event: interstitial,
          player
        });
        return player;
      }
      clearInterstitial(interstitial, toSegment) {
        this.clearAssetPlayers(interstitial, toSegment);
        // Remove asset list and resolved duration
        interstitial.reset();
      }
      clearAssetPlayers(interstitial, toSegment) {
        interstitial.assetList.forEach(asset => {
          this.clearAssetPlayer(asset.identifier, toSegment);
        });
      }
      resetAssetPlayer(assetId) {
        // Reset asset player so that it's timeline can be adjusted without reloading the MVP
        const playerIndex = this.getAssetPlayerQueueIndex(assetId);
        if (playerIndex !== -1) {
          this.log(`reset asset player "${assetId}" after error`);
          const player = this.playerQueue[playerIndex];
          this.transferMediaFromPlayer(player, null);
          player.resetDetails();
        }
      }
      clearAssetPlayer(assetId, toSegment) {
        const playerIndex = this.getAssetPlayerQueueIndex(assetId);
        if (playerIndex !== -1) {
          const player = this.playerQueue[playerIndex];
          this.log(`clear ${player} toSegment: ${toSegment ? segmentToString(toSegment) : toSegment}`);
          this.transferMediaFromPlayer(player, toSegment);
          this.playerQueue.splice(playerIndex, 1);
          player.destroy();
        }
      }
      emptyPlayerQueue() {
        let player;
        while (player = this.playerQueue.pop()) {
          player.destroy();
        }
        this.playerQueue = [];
      }
      startAssetPlayer(player, assetListIndex, scheduleItems, scheduleIndex, media) {
        const {
          interstitial,
          assetItem,
          assetId
        } = player;
        const assetListLength = interstitial.assetList.length;
        const playingAsset = this.playingAsset;
        this.endedAsset = null;
        this.playingAsset = assetItem;
        if (!playingAsset || playingAsset.identifier !== assetId) {
          if (playingAsset) {
            // Exiting another Interstitial asset
            this.clearAssetPlayer(playingAsset.identifier, scheduleItems[scheduleIndex]);
            delete playingAsset.error;
          }
          this.log(`INTERSTITIAL_ASSET_STARTED ${assetListIndex + 1}/${assetListLength} ${eventAssetToString(assetItem)}`);
          this.hls.trigger(Events.INTERSTITIAL_ASSET_STARTED, {
            asset: assetItem,
            assetListIndex,
            event: interstitial,
            schedule: scheduleItems.slice(0),
            scheduleIndex,
            player
          });
        }
    
        // detach media and attach to interstitial player if it does not have another element attached
        this.bufferAssetPlayer(player, media);
      }
      bufferAssetPlayer(player, media) {
        var _this$schedule$items4, _this$detachedData5;
        if (!this.schedule) {
          return;
        }
        const {
          interstitial,
          assetItem
        } = player;
        const scheduleIndex = this.schedule.findEventIndex(interstitial.identifier);
        const item = (_this$schedule$items4 = this.schedule.items) == null ? void 0 : _this$schedule$items4[scheduleIndex];
        if (!item) {
          return;
        }
        player.loadSource();
        this.setBufferingItem(item);
        this.bufferingAsset = assetItem;
        const bufferingPlayer = this.getBufferingPlayer();
        if (bufferingPlayer === player) {
          return;
        }
        const appendInPlaceNext = interstitial.appendInPlace;
        if (appendInPlaceNext && (bufferingPlayer == null ? void 0 : bufferingPlayer.interstitial.appendInPlace) === false) {
          // Media is detached and not available to append in place
          return;
        }
        const activeTracks = (bufferingPlayer == null ? void 0 : bufferingPlayer.tracks) || ((_this$detachedData5 = this.detachedData) == null ? void 0 : _this$detachedData5.tracks) || this.requiredTracks;
        if (appendInPlaceNext && assetItem !== this.playingAsset) {
          // Do not buffer another item if tracks are unknown or incompatible
          if (!player.tracks) {
            this.log(`Waiting for track info before buffering ${player}`);
            return;
          }
          if (activeTracks && !isCompatibleTrackChange(activeTracks, player.tracks)) {
            const error = new Error(`Asset ${eventAssetToString(assetItem)} SourceBuffer tracks ('${Object.keys(player.tracks)}') are not compatible with primary content tracks ('${Object.keys(activeTracks)}')`);
            const errorData = {
              fatal: true,
              type: ErrorTypes.OTHER_ERROR,
              details: ErrorDetails.INTERSTITIAL_ASSET_ITEM_ERROR,
              error
            };
            const assetListIndex = interstitial.findAssetIndex(assetItem);
            this.handleAssetItemError(errorData, interstitial, scheduleIndex, assetListIndex, error.message);
            return;
          }
        }
        this.transferMediaTo(player, media);
      }
      handleInPlaceStall(interstitial) {
        const schedule = this.schedule;
        const media = this.primaryMedia;
        if (!schedule || !media) {
          return;
        }
        const currentTime = media.currentTime;
        const foundAssetIndex = schedule.findAssetIndex(interstitial, currentTime);
        const stallingAsset = interstitial.assetList[foundAssetIndex];
        if (stallingAsset) {
          const player = this.getAssetPlayer(stallingAsset.identifier);
          if (player) {
            const assetCurrentTime = player.currentTime || currentTime - stallingAsset.timelineStart;
            const distanceFromEnd = player.duration - assetCurrentTime;
            this.warn(`Stalled at ${assetCurrentTime} of ${assetCurrentTime + distanceFromEnd} in ${player} ${interstitial} (media.currentTime: ${currentTime})`);
            if (assetCurrentTime && (distanceFromEnd / media.playbackRate < 0.5 || player.bufferedInPlaceToEnd(media)) && player.hls) {
              const scheduleIndex = schedule.findEventIndex(interstitial.identifier);
              this.advanceAfterAssetEnded(interstitial, scheduleIndex, foundAssetIndex);
            }
          }
        }
      }
      advanceInPlace(time) {
        const media = this.primaryMedia;
        if (media && media.currentTime < time) {
          media.currentTime = time;
        }
      }
      handleAssetItemError(data, interstitial, scheduleIndex, assetListIndex, errorMessage) {
        if (data.details === ErrorDetails.BUFFER_STALLED_ERROR) {
          return;
        }
        const assetItem = interstitial.assetList[assetListIndex] || null;
        this.warn(`INTERSTITIAL_ASSET_ERROR ${assetItem ? eventAssetToString(assetItem) : assetItem} ${data.error}`);
        if (!this.schedule) {
          return;
        }
        const assetId = (assetItem == null ? void 0 : assetItem.identifier) || '';
        const playerIndex = this.getAssetPlayerQueueIndex(assetId);
        const player = this.playerQueue[playerIndex] || null;
        const items = this.schedule.items;
        const interstitialAssetError = _extends({}, data, {
          fatal: false,
          errorAction: createDoNothingErrorAction(true),
          asset: assetItem,
          assetListIndex,
          event: interstitial,
          schedule: items,
          scheduleIndex,
          player
        });
        this.hls.trigger(Events.INTERSTITIAL_ASSET_ERROR, interstitialAssetError);
        if (!data.fatal) {
          return;
        }
        const playingAsset = this.playingAsset;
        const bufferingAsset = this.bufferingAsset;
        const error = new Error(errorMessage);
        if (assetItem) {
          this.clearAssetPlayer(assetId, null);
          assetItem.error = error;
        }
    
        // If all assets in interstitial fail, mark the interstitial with an error
        if (!interstitial.assetList.some(asset => !asset.error)) {
          interstitial.error = error;
        } else {
          // Reset level details and reload/parse media playlists to align with updated schedule
          for (let i = assetListIndex; i < interstitial.assetList.length; i++) {
            this.resetAssetPlayer(interstitial.assetList[i].identifier);
          }
        }
        this.updateSchedule(true);
        if (interstitial.error) {
          this.primaryFallback(interstitial);
        } else if (playingAsset && playingAsset.identifier === assetId) {
          this.advanceAfterAssetEnded(interstitial, scheduleIndex, assetListIndex);
        } else if (bufferingAsset && bufferingAsset.identifier === assetId && this.isInterstitial(this.bufferingItem)) {
          this.advanceAssetBuffering(this.bufferingItem, bufferingAsset);
        }
      }
      primaryFallback(interstitial) {
        // Fallback to Primary by on current or future events by updating schedule to skip errored interstitials/assets
        const flushStart = interstitial.timelineStart;
        const playingItem = this.effectivePlayingItem;
        let timelinePos = this.timelinePos;
        // Update schedule now that interstitial/assets are flagged with `error` for fallback
        if (playingItem) {
          this.log(`Fallback to primary from event "${interstitial.identifier}" start: ${flushStart} pos: ${timelinePos} playing: ${segmentToString(playingItem)} error: ${interstitial.error}`);
          if (timelinePos === -1) {
            timelinePos = this.hls.startPosition;
          }
          const newPlayingItem = this.updateItem(playingItem, timelinePos);
          if (this.itemsMatch(playingItem, newPlayingItem)) {
            this.clearInterstitial(interstitial, null);
          }
          if (interstitial.appendInPlace) {
            this.attachPrimary(flushStart, null);
            this.flushFrontBuffer(flushStart);
          }
        } else if (timelinePos === -1) {
          this.checkStart();
          return;
        }
        if (!this.schedule) {
          return;
        }
        const scheduleIndex = this.schedule.findItemIndexAtTime(timelinePos);
        this.setSchedulePosition(scheduleIndex);
      }
    
      // Asset List loading
      onAssetListLoaded(event, data) {
        var _this$schedule0, _this$bufferingItem2;
        const interstitial = data.event;
        const interstitialId = interstitial.identifier;
        const assets = data.assetListResponse.ASSETS;
        if (!((_this$schedule0 = this.schedule) != null && _this$schedule0.hasEvent(interstitialId))) {
          // Interstitial with id was removed
          return;
        }
        const eventStart = interstitial.timelineStart;
        const previousDuration = interstitial.duration;
        let sumDuration = 0;
        assets.forEach((asset, assetListIndex) => {
          const duration = parseFloat(asset.DURATION);
          this.createAsset(interstitial, assetListIndex, sumDuration, eventStart + sumDuration, duration, asset.URI);
          sumDuration += duration;
        });
        interstitial.duration = sumDuration;
        this.log(`Loaded asset-list with duration: ${sumDuration} (was: ${previousDuration}) ${interstitial}`);
        const waitingItem = this.waitingItem;
        const waitingForItem = (waitingItem == null ? void 0 : waitingItem.event.identifier) === interstitialId;
    
        // Update schedule now that asset.DURATION(s) are parsed
        this.updateSchedule();
        const bufferingEvent = (_this$bufferingItem2 = this.bufferingItem) == null ? void 0 : _this$bufferingItem2.event;
    
        // If buffer reached Interstitial, start buffering first asset
        if (waitingForItem) {
          var _this$schedule$items5;
          // Advance schedule when waiting for asset list data to play
          const scheduleIndex = this.schedule.findEventIndex(interstitialId);
          const item = (_this$schedule$items5 = this.schedule.items) == null ? void 0 : _this$schedule$items5[scheduleIndex];
          if (item) {
            if (!this.playingItem && this.timelinePos > item.end) {
              // Abandon if new duration is reduced enough to land playback in primary start
              const index = this.schedule.findItemIndexAtTime(this.timelinePos);
              if (index !== scheduleIndex) {
                interstitial.error = new Error(`Interstitial ${assets.length ? 'no longer within playback range' : 'asset-list is empty'} ${this.timelinePos} ${interstitial}`);
                this.log(interstitial.error.message);
                this.updateSchedule(true);
                this.primaryFallback(interstitial);
                return;
              }
            }
            this.setBufferingItem(item);
          }
          this.setSchedulePosition(scheduleIndex);
        } else if ((bufferingEvent == null ? void 0 : bufferingEvent.identifier) === interstitialId) {
          const assetItem = interstitial.assetList[0];
          // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
          if (assetItem) {
            const player = this.getAssetPlayer(assetItem.identifier);
            if (bufferingEvent.appendInPlace) {
              // If buffering (but not playback) has reached this item transfer media-source
              const media = this.primaryMedia;
              if (player && media) {
                this.bufferAssetPlayer(player, media);
              }
            } else if (player) {
              player.loadSource();
            }
          }
        }
      }
      onError(event, data) {
        if (!this.schedule) {
          return;
        }
        switch (data.details) {
          case ErrorDetails.ASSET_LIST_PARSING_ERROR:
          case ErrorDetails.ASSET_LIST_LOAD_ERROR:
          case ErrorDetails.ASSET_LIST_LOAD_TIMEOUT:
            {
              const interstitial = data.interstitial;
              if (interstitial) {
                this.updateSchedule(true);
                this.primaryFallback(interstitial);
              }
              break;
            }
          case ErrorDetails.BUFFER_STALLED_ERROR:
            {
              const stallingItem = this.endedItem || this.waitingItem || this.playingItem;
              if (this.isInterstitial(stallingItem) && stallingItem.event.appendInPlace) {
                this.handleInPlaceStall(stallingItem.event);
                return;
              }
              this.log(`Primary player stall @${this.timelinePos} bufferedPos: ${this.bufferedPos}`);
              this.onTimeupdate();
              this.checkBuffer(true);
              break;
            }
        }
      }
    }
    
    const TICK_INTERVAL$2 = 500; // how often to tick in ms
    
    class SubtitleStreamController extends BaseStreamController {
      constructor(hls, fragmentTracker, keyLoader) {
        super(hls, fragmentTracker, keyLoader, 'subtitle-stream-controller', PlaylistLevelType.SUBTITLE);
        this.currentTrackId = -1;
        this.tracksBuffered = [];
        this.mainDetails = null;
        this.registerListeners();
      }
      onHandlerDestroying() {
        this.unregisterListeners();
        super.onHandlerDestroying();
        this.mainDetails = null;
      }
      registerListeners() {
        super.registerListeners();
        const {
          hls
        } = this;
        hls.on(Events.LEVEL_LOADED, this.onLevelLoaded, this);
        hls.on(Events.SUBTITLE_TRACKS_UPDATED, this.onSubtitleTracksUpdated, this);
        hls.on(Events.SUBTITLE_TRACK_SWITCH, this.onSubtitleTrackSwitch, this);
        hls.on(Events.SUBTITLE_TRACK_LOADED, this.onSubtitleTrackLoaded, this);
        hls.on(Events.SUBTITLE_FRAG_PROCESSED, this.onSubtitleFragProcessed, this);
        hls.on(Events.BUFFER_FLUSHING, this.onBufferFlushing, this);
      }
      unregisterListeners() {
        super.unregisterListeners();
        const {
          hls
        } = this;
        hls.off(Events.LEVEL_LOADED, this.onLevelLoaded, this);
        hls.off(Events.SUBTITLE_TRACKS_UPDATED, this.onSubtitleTracksUpdated, this);
        hls.off(Events.SUBTITLE_TRACK_SWITCH, this.onSubtitleTrackSwitch, this);
        hls.off(Events.SUBTITLE_TRACK_LOADED, this.onSubtitleTrackLoaded, this);
        hls.off(Events.SUBTITLE_FRAG_PROCESSED, this.onSubtitleFragProcessed, this);
        hls.off(Events.BUFFER_FLUSHING, this.onBufferFlushing, this);
      }
      startLoad(startPosition, skipSeekToStartPosition) {
        this.stopLoad();
        this.state = State.IDLE;
        this.setInterval(TICK_INTERVAL$2);
        this.nextLoadPosition = this.lastCurrentTime = startPosition + this.timelineOffset;
        this.startPosition = skipSeekToStartPosition ? -1 : startPosition;
        this.tick();
      }
      onManifestLoading() {
        super.onManifestLoading();
        this.mainDetails = null;
      }
      onMediaDetaching(event, data) {
        this.tracksBuffered = [];
        super.onMediaDetaching(event, data);
      }
      onLevelLoaded(event, data) {
        this.mainDetails = data.details;
      }
      onSubtitleFragProcessed(event, data) {
        const {
          frag,
          success
        } = data;
        if (!this.fragContextChanged(frag)) {
          if (isMediaFragment(frag)) {
            this.fragPrevious = frag;
          }
          this.state = State.IDLE;
        }
        if (!success) {
          return;
        }
        const buffered = this.tracksBuffered[this.currentTrackId];
        if (!buffered) {
          return;
        }
    
        // Create/update a buffered array matching the interface used by BufferHelper.bufferedInfo
        // so we can re-use the logic used to detect how much has been buffered
        let timeRange;
        const fragStart = frag.start;
        for (let i = 0; i < buffered.length; i++) {
          if (fragStart >= buffered[i].start && fragStart <= buffered[i].end) {
            timeRange = buffered[i];
            break;
          }
        }
        const fragEnd = frag.start + frag.duration;
        if (timeRange) {
          timeRange.end = fragEnd;
        } else {
          timeRange = {
            start: fragStart,
            end: fragEnd
          };
          buffered.push(timeRange);
        }
        this.fragmentTracker.fragBuffered(frag);
        this.fragBufferedComplete(frag, null);
        if (this.media) {
          this.tick();
        }
      }
      onBufferFlushing(event, data) {
        const {
          startOffset,
          endOffset
        } = data;
        if (startOffset === 0 && endOffset !== Number.POSITIVE_INFINITY) {
          const endOffsetSubtitles = endOffset - 1;
          if (endOffsetSubtitles <= 0) {
            return;
          }
          data.endOffsetSubtitles = Math.max(0, endOffsetSubtitles);
          this.tracksBuffered.forEach(buffered => {
            for (let i = 0; i < buffered.length;) {
              if (buffered[i].end <= endOffsetSubtitles) {
                buffered.shift();
                continue;
              } else if (buffered[i].start < endOffsetSubtitles) {
                buffered[i].start = endOffsetSubtitles;
              } else {
                break;
              }
              i++;
            }
          });
          this.fragmentTracker.removeFragmentsInRange(startOffset, endOffsetSubtitles, PlaylistLevelType.SUBTITLE);
        }
      }
    
      // If something goes wrong, proceed to next frag, if we were processing one.
      onError(event, data) {
        const frag = data.frag;
        if ((frag == null ? void 0 : frag.type) === PlaylistLevelType.SUBTITLE) {
          if (data.details === ErrorDetails.FRAG_GAP) {
            this.fragmentTracker.fragBuffered(frag, true);
          }
          if (this.fragCurrent) {
            this.fragCurrent.abortRequests();
          }
          if (this.state !== State.STOPPED) {
            this.state = State.IDLE;
          }
        }
      }
    
      // Got all new subtitle levels.
      onSubtitleTracksUpdated(event, {
        subtitleTracks
      }) {
        if (this.levels && subtitleOptionsIdentical(this.levels, subtitleTracks)) {
          this.levels = subtitleTracks.map(mediaPlaylist => new Level(mediaPlaylist));
          return;
        }
        this.tracksBuffered = [];
        this.levels = subtitleTracks.map(mediaPlaylist => {
          const level = new Level(mediaPlaylist);
          this.tracksBuffered[level.id] = [];
          return level;
        });
        this.fragmentTracker.removeFragmentsInRange(0, Number.POSITIVE_INFINITY, PlaylistLevelType.SUBTITLE);
        this.fragPrevious = null;
        this.mediaBuffer = null;
      }
      onSubtitleTrackSwitch(event, data) {
        var _this$levels;
        this.currentTrackId = data.id;
        if (!((_this$levels = this.levels) != null && _this$levels.length) || this.currentTrackId === -1) {
          this.clearInterval();
          return;
        }
    
        // Check if track has the necessary details to load fragments
        const currentTrack = this.levels[this.currentTrackId];
        if (currentTrack != null && currentTrack.details) {
          this.mediaBuffer = this.mediaBufferTimeRanges;
        } else {
          this.mediaBuffer = null;
        }
        if (currentTrack && this.state !== State.STOPPED) {
          this.setInterval(TICK_INTERVAL$2);
        }
      }
    
      // Got a new set of subtitle fragments.
      onSubtitleTrackLoaded(event, data) {
        var _track$details;
        const {
          currentTrackId,
          levels
        } = this;
        const {
          details: newDetails,
          id: trackId
        } = data;
        if (!levels) {
          this.warn(`Subtitle tracks were reset while loading level ${trackId}`);
          return;
        }
        const track = levels[trackId];
        if (trackId >= levels.length || !track) {
          return;
        }
        this.log(`Subtitle track ${trackId} loaded [${newDetails.startSN},${newDetails.endSN}]${newDetails.lastPartSn ? `[part-${newDetails.lastPartSn}-${newDetails.lastPartIndex}]` : ''},duration:${newDetails.totalduration}`);
        this.mediaBuffer = this.mediaBufferTimeRanges;
        let sliding = 0;
        if (newDetails.live || (_track$details = track.details) != null && _track$details.live) {
          if (newDetails.deltaUpdateFailed) {
            return;
          }
          const mainDetails = this.mainDetails;
          if (!mainDetails) {
            this.startFragRequested = false;
            return;
          }
          const mainSlidingStartFragment = mainDetails.fragments[0];
          if (!track.details) {
            if (newDetails.hasProgramDateTime && mainDetails.hasProgramDateTime) {
              alignMediaPlaylistByPDT(newDetails, mainDetails);
              sliding = newDetails.fragmentStart;
            } else if (mainSlidingStartFragment) {
              // line up live playlist with main so that fragments in range are loaded
              sliding = mainSlidingStartFragment.start;
              addSliding(newDetails, sliding);
            }
          } else {
            var _this$levelLastLoaded;
            sliding = this.alignPlaylists(newDetails, track.details, (_this$levelLastLoaded = this.levelLastLoaded) == null ? void 0 : _this$levelLastLoaded.details);
            if (sliding === 0 && mainSlidingStartFragment) {
              // realign with main when there is no overlap with last refresh
              sliding = mainSlidingStartFragment.start;
              addSliding(newDetails, sliding);
            }
          }
          // compute start position if we are aligned with the main playlist
          if (mainDetails && !this.startFragRequested) {
            this.setStartPosition(mainDetails, sliding);
          }
        }
        track.details = newDetails;
        this.levelLastLoaded = track;
        if (trackId !== currentTrackId) {
          return;
        }
        this.hls.trigger(Events.SUBTITLE_TRACK_UPDATED, {
          details: newDetails,
          id: trackId,
          groupId: data.groupId
        });
    
        // trigger handler right now
        this.tick();
    
        // If playlist is misaligned because of bad PDT or drift, delete details to resync with main on reload
        if (newDetails.live && !this.fragCurrent && this.media && this.state === State.IDLE) {
          const foundFrag = findFragmentByPTS(null, newDetails.fragments, this.media.currentTime, 0);
          if (!foundFrag) {
            this.warn('Subtitle playlist not aligned with playback');
            track.details = undefined;
          }
        }
      }
      _handleFragmentLoadComplete(fragLoadedData) {
        const {
          frag,
          payload
        } = fragLoadedData;
        const decryptData = frag.decryptdata;
        const hls = this.hls;
        if (this.fragContextChanged(frag)) {
          return;
        }
        // check to see if the payload needs to be decrypted
        if (payload && payload.byteLength > 0 && decryptData != null && decryptData.key && decryptData.iv && isFullSegmentEncryption(decryptData.method)) {
          const startTime = performance.now();
          // decrypt the subtitles
          this.decrypter.decrypt(new Uint8Array(payload), decryptData.key.buffer, decryptData.iv.buffer, getAesModeFromFullSegmentMethod(decryptData.method)).catch(err => {
            hls.trigger(Events.ERROR, {
              type: ErrorTypes.MEDIA_ERROR,
              details: ErrorDetails.FRAG_DECRYPT_ERROR,
              fatal: false,
              error: err,
              reason: err.message,
              frag
            });
            throw err;
          }).then(decryptedData => {
            const endTime = performance.now();
            hls.trigger(Events.FRAG_DECRYPTED, {
              frag,
              payload: decryptedData,
              stats: {
                tstart: startTime,
                tdecrypt: endTime
              }
            });
          }).catch(err => {
            this.warn(`${err.name}: ${err.message}`);
            this.state = State.IDLE;
          });
        }
      }
      doTick() {
        if (!this.media) {
          this.state = State.IDLE;
          return;
        }
        if (this.state === State.IDLE) {
          const {
            currentTrackId,
            levels
          } = this;
          const track = levels == null ? void 0 : levels[currentTrackId];
          if (!track || !levels.length || !track.details) {
            return;
          }
          if (this.waitForLive(track)) {
            return;
          }
          const {
            config
          } = this;
          const currentTime = this.getLoadPosition();
          const bufferedInfo = BufferHelper.bufferedInfo(this.tracksBuffered[this.currentTrackId] || [], currentTime, config.maxBufferHole);
          const {
            end: targetBufferTime,
            len: bufferLen
          } = bufferedInfo;
          const trackDetails = track.details;
          const maxBufLen = this.hls.maxBufferLength + trackDetails.levelTargetDuration;
          if (bufferLen > maxBufLen) {
            return;
          }
          const fragments = trackDetails.fragments;
          const fragLen = fragments.length;
          const end = trackDetails.edge;
          let foundFrag = null;
          const fragPrevious = this.fragPrevious;
          if (targetBufferTime < end) {
            const tolerance = config.maxFragLookUpTolerance;
            const lookupTolerance = targetBufferTime > end - tolerance ? 0 : tolerance;
            foundFrag = findFragmentByPTS(fragPrevious, fragments, Math.max(fragments[0].start, targetBufferTime), lookupTolerance);
            if (!foundFrag && fragPrevious && fragPrevious.start < fragments[0].start) {
              foundFrag = fragments[0];
            }
          } else {
            foundFrag = fragments[fragLen - 1];
          }
          foundFrag = this.filterReplacedPrimary(foundFrag, track.details);
          if (!foundFrag) {
            return;
          }
          // Load earlier fragment in same discontinuity to make up for misaligned playlists and cues that extend beyond end of segment
          const curSNIdx = foundFrag.sn - trackDetails.startSN;
          const prevFrag = fragments[curSNIdx - 1];
          if (prevFrag && prevFrag.cc === foundFrag.cc && this.fragmentTracker.getState(prevFrag) === FragmentState.NOT_LOADED) {
            foundFrag = prevFrag;
          }
          if (this.fragmentTracker.getState(foundFrag) === FragmentState.NOT_LOADED) {
            // only load if fragment is not loaded
            const fragToLoad = this.mapToInitFragWhenRequired(foundFrag);
            if (fragToLoad) {
              this.loadFragment(fragToLoad, track, targetBufferTime);
            }
          }
        }
      }
      loadFragment(frag, level, targetBufferTime) {
        if (!isMediaFragment(frag)) {
          this._loadInitSegment(frag, level);
        } else {
          super.loadFragment(frag, level, targetBufferTime);
        }
      }
      get mediaBufferTimeRanges() {
        return new BufferableInstance(this.tracksBuffered[this.currentTrackId] || []);
      }
    }
    class BufferableInstance {
      constructor(timeranges) {
        this.buffered = void 0;
        const getRange = (name, index, length) => {
          index = index >>> 0;
          if (index > length - 1) {
            throw new DOMException(`Failed to execute '${name}' on 'TimeRanges': The index provided (${index}) is greater than the maximum bound (${length})`);
          }
          return timeranges[index][name];
        };
        this.buffered = {
          get length() {
            return timeranges.length;
          },
          end(index) {
            return getRange('end', index, timeranges.length);
          },
          start(index) {
            return getRange('start', index, timeranges.length);
          }
        };
      }
    }
    
    /**
     *
     * This code was ported from the dash.js project at:
     *   https://github.com/Dash-Industry-Forum/dash.js/blob/development/externals/cea608-parser.js
     *   https://github.com/Dash-Industry-Forum/dash.js/commit/8269b26a761e0853bb21d78780ed945144ecdd4d#diff-71bc295a2d6b6b7093a1d3290d53a4b2
     *
     * The original copyright appears below:
     *
     * The copyright in this software is being made available under the BSD License,
     * included below. This software may be subject to other third party and contributor
     * rights, including patent rights, and no such rights are granted under this license.
     *
     * Copyright (c) 2015-2016, DASH Industry Forum.
     * All rights reserved.
     *
     * Redistribution and use in source and binary forms, with or without modification,
     * are permitted provided that the following conditions are met:
     *  1. Redistributions of source code must retain the above copyright notice, this
     *  list of conditions and the following disclaimer.
     *  * Redistributions in binary form must reproduce the above copyright notice,
     *  this list of conditions and the following disclaimer in the documentation and/or
     *  other materials provided with the distribution.
     *  2. Neither the name of Dash Industry Forum nor the names of its
     *  contributors may be used to endorse or promote products derived from this software
     *  without specific prior written permission.
     *
     *  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS AS IS AND ANY
     *  EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
     *  WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
     *  IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
     *  INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
     *  NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
     *  PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
     *  WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
     *  ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
     *  POSSIBILITY OF SUCH DAMAGE.
     */
    /**
     *  Exceptions from regular ASCII. CodePoints are mapped to UTF-16 codes
     */
    
    const specialCea608CharsCodes = {
      0x2a: 0xe1,
      // lowercase a, acute accent
      0x5c: 0xe9,
      // lowercase e, acute accent
      0x5e: 0xed,
      // lowercase i, acute accent
      0x5f: 0xf3,
      // lowercase o, acute accent
      0x60: 0xfa,
      // lowercase u, acute accent
      0x7b: 0xe7,
      // lowercase c with cedilla
      0x7c: 0xf7,
      // division symbol
      0x7d: 0xd1,
      // uppercase N tilde
      0x7e: 0xf1,
      // lowercase n tilde
      0x7f: 0x2588,
      // Full block
      // THIS BLOCK INCLUDES THE 16 EXTENDED (TWO-BYTE) LINE 21 CHARACTERS
      // THAT COME FROM HI BYTE=0x11 AND LOW BETWEEN 0x30 AND 0x3F
      // THIS MEANS THAT \x50 MUST BE ADDED TO THE VALUES
      0x80: 0xae,
      // Registered symbol (R)
      0x81: 0xb0,
      // degree sign
      0x82: 0xbd,
      // 1/2 symbol
      0x83: 0xbf,
      // Inverted (open) question mark
      0x84: 0x2122,
      // Trademark symbol (TM)
      0x85: 0xa2,
      // Cents symbol
      0x86: 0xa3,
      // Pounds sterling
      0x87: 0x266a,
      // Music 8'th note
      0x88: 0xe0,
      // lowercase a, grave accent
      0x89: 0x20,
      // transparent space (regular)
      0x8a: 0xe8,
      // lowercase e, grave accent
      0x8b: 0xe2,
      // lowercase a, circumflex accent
      0x8c: 0xea,
      // lowercase e, circumflex accent
      0x8d: 0xee,
      // lowercase i, circumflex accent
      0x8e: 0xf4,
      // lowercase o, circumflex accent
      0x8f: 0xfb,
      // lowercase u, circumflex accent
      // THIS BLOCK INCLUDES THE 32 EXTENDED (TWO-BYTE) LINE 21 CHARACTERS
      // THAT COME FROM HI BYTE=0x12 AND LOW BETWEEN 0x20 AND 0x3F
      0x90: 0xc1,
      // capital letter A with acute
      0x91: 0xc9,
      // capital letter E with acute
      0x92: 0xd3,
      // capital letter O with acute
      0x93: 0xda,
      // capital letter U with acute
      0x94: 0xdc,
      // capital letter U with diaresis
      0x95: 0xfc,
      // lowercase letter U with diaeresis
      0x96: 0x2018,
      // opening single quote
      0x97: 0xa1,
      // inverted exclamation mark
      0x98: 0x2a,
      // asterisk
      0x99: 0x2019,
      // closing single quote
      0x9a: 0x2501,
      // box drawings heavy horizontal
      0x9b: 0xa9,
      // copyright sign
      0x9c: 0x2120,
      // Service mark
      0x9d: 0x2022,
      // (round) bullet
      0x9e: 0x201c,
      // Left double quotation mark
      0x9f: 0x201d,
      // Right double quotation mark
      0xa0: 0xc0,
      // uppercase A, grave accent
      0xa1: 0xc2,
      // uppercase A, circumflex
      0xa2: 0xc7,
      // uppercase C with cedilla
      0xa3: 0xc8,
      // uppercase E, grave accent
      0xa4: 0xca,
      // uppercase E, circumflex
      0xa5: 0xcb,
      // capital letter E with diaresis
      0xa6: 0xeb,
      // lowercase letter e with diaresis
      0xa7: 0xce,
      // uppercase I, circumflex
      0xa8: 0xcf,
      // uppercase I, with diaresis
      0xa9: 0xef,
      // lowercase i, with diaresis
      0xaa: 0xd4,
      // uppercase O, circumflex
      0xab: 0xd9,
      // uppercase U, grave accent
      0xac: 0xf9,
      // lowercase u, grave accent
      0xad: 0xdb,
      // uppercase U, circumflex
      0xae: 0xab,
      // left-pointing double angle quotation mark
      0xaf: 0xbb,
      // right-pointing double angle quotation mark
      // THIS BLOCK INCLUDES THE 32 EXTENDED (TWO-BYTE) LINE 21 CHARACTERS
      // THAT COME FROM HI BYTE=0x13 AND LOW BETWEEN 0x20 AND 0x3F
      0xb0: 0xc3,
      // Uppercase A, tilde
      0xb1: 0xe3,
      // Lowercase a, tilde
      0xb2: 0xcd,
      // Uppercase I, acute accent
      0xb3: 0xcc,
      // Uppercase I, grave accent
      0xb4: 0xec,
      // Lowercase i, grave accent
      0xb5: 0xd2,
      // Uppercase O, grave accent
      0xb6: 0xf2,
      // Lowercase o, grave accent
      0xb7: 0xd5,
      // Uppercase O, tilde
      0xb8: 0xf5,
      // Lowercase o, tilde
      0xb9: 0x7b,
      // Open curly brace
      0xba: 0x7d,
      // Closing curly brace
      0xbb: 0x5c,
      // Backslash
      0xbc: 0x5e,
      // Caret
      0xbd: 0x5f,
      // Underscore
      0xbe: 0x7c,
      // Pipe (vertical line)
      0xbf: 0x223c,
      // Tilde operator
      0xc0: 0xc4,
      // Uppercase A, umlaut
      0xc1: 0xe4,
      // Lowercase A, umlaut
      0xc2: 0xd6,
      // Uppercase O, umlaut
      0xc3: 0xf6,
      // Lowercase o, umlaut
      0xc4: 0xdf,
      // Esszett (sharp S)
      0xc5: 0xa5,
      // Yen symbol
      0xc6: 0xa4,
      // Generic currency sign
      0xc7: 0x2503,
      // Box drawings heavy vertical
      0xc8: 0xc5,
      // Uppercase A, ring
      0xc9: 0xe5,
      // Lowercase A, ring
      0xca: 0xd8,
      // Uppercase O, stroke
      0xcb: 0xf8,
      // Lowercase o, strok
      0xcc: 0x250f,
      // Box drawings heavy down and right
      0xcd: 0x2513,
      // Box drawings heavy down and left
      0xce: 0x2517,
      // Box drawings heavy up and right
      0xcf: 0x251b // Box drawings heavy up and left
    };
    
    /**
     * Utils
     */
    const getCharForByte = byte => String.fromCharCode(specialCea608CharsCodes[byte] || byte);
    const NR_ROWS = 15;
    const NR_COLS = 100;
    // Tables to look up row from PAC data
    const rowsLowCh1 = {
      0x11: 1,
      0x12: 3,
      0x15: 5,
      0x16: 7,
      0x17: 9,
      0x10: 11,
      0x13: 12,
      0x14: 14
    };
    const rowsHighCh1 = {
      0x11: 2,
      0x12: 4,
      0x15: 6,
      0x16: 8,
      0x17: 10,
      0x13: 13,
      0x14: 15
    };
    const rowsLowCh2 = {
      0x19: 1,
      0x1a: 3,
      0x1d: 5,
      0x1e: 7,
      0x1f: 9,
      0x18: 11,
      0x1b: 12,
      0x1c: 14
    };
    const rowsHighCh2 = {
      0x19: 2,
      0x1a: 4,
      0x1d: 6,
      0x1e: 8,
      0x1f: 10,
      0x1b: 13,
      0x1c: 15
    };
    const backgroundColors = ['white', 'green', 'blue', 'cyan', 'red', 'yellow', 'magenta', 'black', 'transparent'];
    class CaptionsLogger {
      constructor() {
        this.time = null;
        this.verboseLevel = 0;
      }
      log(severity, msg) {
        if (this.verboseLevel >= severity) {
          const m = typeof msg === 'function' ? msg() : msg;
          logger.log(`${this.time} [${severity}] ${m}`);
        }
      }
    }
    const numArrayToHexArray = function numArrayToHexArray(numArray) {
      const hexArray = [];
      for (let j = 0; j < numArray.length; j++) {
        hexArray.push(numArray[j].toString(16));
      }
      return hexArray;
    };
    class PenState {
      constructor() {
        this.foreground = 'white';
        this.underline = false;
        this.italics = false;
        this.background = 'black';
        this.flash = false;
      }
      reset() {
        this.foreground = 'white';
        this.underline = false;
        this.italics = false;
        this.background = 'black';
        this.flash = false;
      }
      setStyles(styles) {
        const attribs = ['foreground', 'underline', 'italics', 'background', 'flash'];
        for (let i = 0; i < attribs.length; i++) {
          const style = attribs[i];
          if (styles.hasOwnProperty(style)) {
            this[style] = styles[style];
          }
        }
      }
      isDefault() {
        return this.foreground === 'white' && !this.underline && !this.italics && this.background === 'black' && !this.flash;
      }
      equals(other) {
        return this.foreground === other.foreground && this.underline === other.underline && this.italics === other.italics && this.background === other.background && this.flash === other.flash;
      }
      copy(newPenState) {
        this.foreground = newPenState.foreground;
        this.underline = newPenState.underline;
        this.italics = newPenState.italics;
        this.background = newPenState.background;
        this.flash = newPenState.flash;
      }
      toString() {
        return 'color=' + this.foreground + ', underline=' + this.underline + ', italics=' + this.italics + ', background=' + this.background + ', flash=' + this.flash;
      }
    }
    
    /**
     * Unicode character with styling and background.
     * @constructor
     */
    class StyledUnicodeChar {
      constructor() {
        this.uchar = ' ';
        this.penState = new PenState();
      }
      reset() {
        this.uchar = ' ';
        this.penState.reset();
      }
      setChar(uchar, newPenState) {
        this.uchar = uchar;
        this.penState.copy(newPenState);
      }
      setPenState(newPenState) {
        this.penState.copy(newPenState);
      }
      equals(other) {
        return this.uchar === other.uchar && this.penState.equals(other.penState);
      }
      copy(newChar) {
        this.uchar = newChar.uchar;
        this.penState.copy(newChar.penState);
      }
      isEmpty() {
        return this.uchar === ' ' && this.penState.isDefault();
      }
    }
    
    /**
     * CEA-608 row consisting of NR_COLS instances of StyledUnicodeChar.
     * @constructor
     */
    class Row {
      constructor(logger) {
        this.chars = [];
        this.pos = 0;
        this.currPenState = new PenState();
        this.cueStartTime = null;
        this.logger = void 0;
        for (let i = 0; i < NR_COLS; i++) {
          this.chars.push(new StyledUnicodeChar());
        }
        this.logger = logger;
      }
      equals(other) {
        for (let i = 0; i < NR_COLS; i++) {
          if (!this.chars[i].equals(other.chars[i])) {
            return false;
          }
        }
        return true;
      }
      copy(other) {
        for (let i = 0; i < NR_COLS; i++) {
          this.chars[i].copy(other.chars[i]);
        }
      }
      isEmpty() {
        let empty = true;
        for (let i = 0; i < NR_COLS; i++) {
          if (!this.chars[i].isEmpty()) {
            empty = false;
            break;
          }
        }
        return empty;
      }
    
      /**
       *  Set the cursor to a valid column.
       */
      setCursor(absPos) {
        if (this.pos !== absPos) {
          this.pos = absPos;
        }
        if (this.pos < 0) {
          this.logger.log(3, 'Negative cursor position ' + this.pos);
          this.pos = 0;
        } else if (this.pos > NR_COLS) {
          this.logger.log(3, 'Too large cursor position ' + this.pos);
          this.pos = NR_COLS;
        }
      }
    
      /**
       * Move the cursor relative to current position.
       */
      moveCursor(relPos) {
        const newPos = this.pos + relPos;
        if (relPos > 1) {
          for (let i = this.pos + 1; i < newPos + 1; i++) {
            this.chars[i].setPenState(this.currPenState);
          }
        }
        this.setCursor(newPos);
      }
    
      /**
       * Backspace, move one step back and clear character.
       */
      backSpace() {
        this.moveCursor(-1);
        this.chars[this.pos].setChar(' ', this.currPenState);
      }
      insertChar(byte) {
        if (byte >= 0x90) {
          // Extended char
          this.backSpace();
        }
        const char = getCharForByte(byte);
        if (this.pos >= NR_COLS) {
          this.logger.log(0, () => 'Cannot insert ' + byte.toString(16) + ' (' + char + ') at position ' + this.pos + '. Skipping it!');
          return;
        }
        this.chars[this.pos].setChar(char, this.currPenState);
        this.moveCursor(1);
      }
      clearFromPos(startPos) {
        let i;
        for (i = startPos; i < NR_COLS; i++) {
          this.chars[i].reset();
        }
      }
      clear() {
        this.clearFromPos(0);
        this.pos = 0;
        this.currPenState.reset();
      }
      clearToEndOfRow() {
        this.clearFromPos(this.pos);
      }
      getTextString() {
        const chars = [];
        let empty = true;
        for (let i = 0; i < NR_COLS; i++) {
          const char = this.chars[i].uchar;
          if (char !== ' ') {
            empty = false;
          }
          chars.push(char);
        }
        if (empty) {
          return '';
        } else {
          return chars.join('');
        }
      }
      setPenStyles(styles) {
        this.currPenState.setStyles(styles);
        const currChar = this.chars[this.pos];
        currChar.setPenState(this.currPenState);
      }
    }
    
    /**
     * Keep a CEA-608 screen of 32x15 styled characters
     * @constructor
     */
    class CaptionScreen {
      constructor(logger) {
        this.rows = [];
        this.currRow = NR_ROWS - 1;
        this.nrRollUpRows = null;
        this.lastOutputScreen = null;
        this.logger = void 0;
        for (let i = 0; i < NR_ROWS; i++) {
          this.rows.push(new Row(logger));
        }
        this.logger = logger;
      }
      reset() {
        for (let i = 0; i < NR_ROWS; i++) {
          this.rows[i].clear();
        }
        this.currRow = NR_ROWS - 1;
      }
      equals(other) {
        let equal = true;
        for (let i = 0; i < NR_ROWS; i++) {
          if (!this.rows[i].equals(other.rows[i])) {
            equal = false;
            break;
          }
        }
        return equal;
      }
      copy(other) {
        for (let i = 0; i < NR_ROWS; i++) {
          this.rows[i].copy(other.rows[i]);
        }
      }
      isEmpty() {
        let empty = true;
        for (let i = 0; i < NR_ROWS; i++) {
          if (!this.rows[i].isEmpty()) {
            empty = false;
            break;
          }
        }
        return empty;
      }
      backSpace() {
        const row = this.rows[this.currRow];
        row.backSpace();
      }
      clearToEndOfRow() {
        const row = this.rows[this.currRow];
        row.clearToEndOfRow();
      }
    
      /**
       * Insert a character (without styling) in the current row.
       */
      insertChar(char) {
        const row = this.rows[this.currRow];
        row.insertChar(char);
      }
      setPen(styles) {
        const row = this.rows[this.currRow];
        row.setPenStyles(styles);
      }
      moveCursor(relPos) {
        const row = this.rows[this.currRow];
        row.moveCursor(relPos);
      }
      setCursor(absPos) {
        this.logger.log(2, 'setCursor: ' + absPos);
        const row = this.rows[this.currRow];
        row.setCursor(absPos);
      }
      setPAC(pacData) {
        this.logger.log(2, () => 'pacData = ' + stringify(pacData));
        let newRow = pacData.row - 1;
        if (this.nrRollUpRows && newRow < this.nrRollUpRows - 1) {
          newRow = this.nrRollUpRows - 1;
        }
    
        // Make sure this only affects Roll-up Captions by checking this.nrRollUpRows
        if (this.nrRollUpRows && this.currRow !== newRow) {
          // clear all rows first
          for (let i = 0; i < NR_ROWS; i++) {
            this.rows[i].clear();
          }
    
          // Copy this.nrRollUpRows rows from lastOutputScreen and place it in the newRow location
          // topRowIndex - the start of rows to copy (inclusive index)
          const topRowIndex = this.currRow + 1 - this.nrRollUpRows;
          // We only copy if the last position was already shown.
          // We use the cueStartTime value to check this.
          const lastOutputScreen = this.lastOutputScreen;
          if (lastOutputScreen) {
            const prevLineTime = lastOutputScreen.rows[topRowIndex].cueStartTime;
            const time = this.logger.time;
            if (prevLineTime !== null && time !== null && prevLineTime < time) {
              for (let i = 0; i < this.nrRollUpRows; i++) {
                this.rows[newRow - this.nrRollUpRows + i + 1].copy(lastOutputScreen.rows[topRowIndex + i]);
              }
            }
          }
        }
        this.currRow = newRow;
        const row = this.rows[this.currRow];
        if (pacData.indent !== null) {
          const indent = pacData.indent;
          const prevPos = Math.max(indent - 1, 0);
          row.setCursor(pacData.indent);
          pacData.color = row.chars[prevPos].penState.foreground;
        }
        const styles = {
          foreground: pacData.color,
          underline: pacData.underline,
          italics: pacData.italics,
          background: 'black',
          flash: false
        };
        this.setPen(styles);
      }
    
      /**
       * Set background/extra foreground, but first do back_space, and then insert space (backwards compatibility).
       */
      setBkgData(bkgData) {
        this.logger.log(2, () => 'bkgData = ' + stringify(bkgData));
        this.backSpace();
        this.setPen(bkgData);
        this.insertChar(0x20); // Space
      }
      setRollUpRows(nrRows) {
        this.nrRollUpRows = nrRows;
      }
      rollUp() {
        if (this.nrRollUpRows === null) {
          this.logger.log(3, 'roll_up but nrRollUpRows not set yet');
          return; // Not properly setup
        }
        this.logger.log(1, () => this.getDisplayText());
        const topRowIndex = this.currRow + 1 - this.nrRollUpRows;
        const topRow = this.rows.splice(topRowIndex, 1)[0];
        topRow.clear();
        this.rows.splice(this.currRow, 0, topRow);
        this.logger.log(2, 'Rolling up');
        // this.logger.log(VerboseLevel.TEXT, this.get_display_text())
      }
    
      /**
       * Get all non-empty rows with as unicode text.
       */
      getDisplayText(asOneRow) {
        asOneRow = asOneRow || false;
        const displayText = [];
        let text = '';
        let rowNr = -1;
        for (let i = 0; i < NR_ROWS; i++) {
          const rowText = this.rows[i].getTextString();
          if (rowText) {
            rowNr = i + 1;
            if (asOneRow) {
              displayText.push('Row ' + rowNr + ": '" + rowText + "'");
            } else {
              displayText.push(rowText.trim());
            }
          }
        }
        if (displayText.length > 0) {
          if (asOneRow) {
            text = '[' + displayText.join(' | ') + ']';
          } else {
            text = displayText.join('\n');
          }
        }
        return text;
      }
      getTextAndFormat() {
        return this.rows;
      }
    }
    
    // var modes = ['MODE_ROLL-UP', 'MODE_POP-ON', 'MODE_PAINT-ON', 'MODE_TEXT'];
    
    class Cea608Channel {
      constructor(channelNumber, outputFilter, logger) {
        this.chNr = void 0;
        this.outputFilter = void 0;
        this.mode = void 0;
        this.verbose = void 0;
        this.displayedMemory = void 0;
        this.nonDisplayedMemory = void 0;
        this.lastOutputScreen = void 0;
        this.currRollUpRow = void 0;
        this.writeScreen = void 0;
        this.cueStartTime = void 0;
        this.logger = void 0;
        this.chNr = channelNumber;
        this.outputFilter = outputFilter;
        this.mode = null;
        this.verbose = 0;
        this.displayedMemory = new CaptionScreen(logger);
        this.nonDisplayedMemory = new CaptionScreen(logger);
        this.lastOutputScreen = new CaptionScreen(logger);
        this.currRollUpRow = this.displayedMemory.rows[NR_ROWS - 1];
        this.writeScreen = this.displayedMemory;
        this.mode = null;
        this.cueStartTime = null; // Keeps track of where a cue started.
        this.logger = logger;
      }
      reset() {
        this.mode = null;
        this.displayedMemory.reset();
        this.nonDisplayedMemory.reset();
        this.lastOutputScreen.reset();
        this.outputFilter.reset();
        this.currRollUpRow = this.displayedMemory.rows[NR_ROWS - 1];
        this.writeScreen = this.displayedMemory;
        this.mode = null;
        this.cueStartTime = null;
      }
      getHandler() {
        return this.outputFilter;
      }
      setHandler(newHandler) {
        this.outputFilter = newHandler;
      }
      setPAC(pacData) {
        this.writeScreen.setPAC(pacData);
      }
      setBkgData(bkgData) {
        this.writeScreen.setBkgData(bkgData);
      }
      setMode(newMode) {
        if (newMode === this.mode) {
          return;
        }
        this.mode = newMode;
        this.logger.log(2, () => 'MODE=' + newMode);
        if (this.mode === 'MODE_POP-ON') {
          this.writeScreen = this.nonDisplayedMemory;
        } else {
          this.writeScreen = this.displayedMemory;
          this.writeScreen.reset();
        }
        if (this.mode !== 'MODE_ROLL-UP') {
          this.displayedMemory.nrRollUpRows = null;
          this.nonDisplayedMemory.nrRollUpRows = null;
        }
        this.mode = newMode;
      }
      insertChars(chars) {
        for (let i = 0; i < chars.length; i++) {
          this.writeScreen.insertChar(chars[i]);
        }
        const screen = this.writeScreen === this.displayedMemory ? 'DISP' : 'NON_DISP';
        this.logger.log(2, () => screen + ': ' + this.writeScreen.getDisplayText(true));
        if (this.mode === 'MODE_PAINT-ON' || this.mode === 'MODE_ROLL-UP') {
          this.logger.log(1, () => 'DISPLAYED: ' + this.displayedMemory.getDisplayText(true));
          this.outputDataUpdate();
        }
      }
      ccRCL() {
        // Resume Caption Loading (switch mode to Pop On)
        this.logger.log(2, 'RCL - Resume Caption Loading');
        this.setMode('MODE_POP-ON');
      }
      ccBS() {
        // BackSpace
        this.logger.log(2, 'BS - BackSpace');
        if (this.mode === 'MODE_TEXT') {
          return;
        }
        this.writeScreen.backSpace();
        if (this.writeScreen === this.displayedMemory) {
          this.outputDataUpdate();
        }
      }
      ccAOF() {
        // Reserved (formerly Alarm Off)
      }
      ccAON() {
        // Reserved (formerly Alarm On)
      }
      ccDER() {
        // Delete to End of Row
        this.logger.log(2, 'DER- Delete to End of Row');
        this.writeScreen.clearToEndOfRow();
        this.outputDataUpdate();
      }
      ccRU(nrRows) {
        // Roll-Up Captions-2,3,or 4 Rows
        this.logger.log(2, 'RU(' + nrRows + ') - Roll Up');
        this.writeScreen = this.displayedMemory;
        this.setMode('MODE_ROLL-UP');
        this.writeScreen.setRollUpRows(nrRows);
      }
      ccFON() {
        // Flash On
        this.logger.log(2, 'FON - Flash On');
        this.writeScreen.setPen({
          flash: true
        });
      }
      ccRDC() {
        // Resume Direct Captioning (switch mode to PaintOn)
        this.logger.log(2, 'RDC - Resume Direct Captioning');
        this.setMode('MODE_PAINT-ON');
      }
      ccTR() {
        // Text Restart in text mode (not supported, however)
        this.logger.log(2, 'TR');
        this.setMode('MODE_TEXT');
      }
      ccRTD() {
        // Resume Text Display in Text mode (not supported, however)
        this.logger.log(2, 'RTD');
        this.setMode('MODE_TEXT');
      }
      ccEDM() {
        // Erase Displayed Memory
        this.logger.log(2, 'EDM - Erase Displayed Memory');
        this.displayedMemory.reset();
        this.outputDataUpdate(true);
      }
      ccCR() {
        // Carriage Return
        this.logger.log(2, 'CR - Carriage Return');
        this.writeScreen.rollUp();
        this.outputDataUpdate(true);
      }
      ccENM() {
        // Erase Non-Displayed Memory
        this.logger.log(2, 'ENM - Erase Non-displayed Memory');
        this.nonDisplayedMemory.reset();
      }
      ccEOC() {
        // End of Caption (Flip Memories)
        this.logger.log(2, 'EOC - End Of Caption');
        if (this.mode === 'MODE_POP-ON') {
          const tmp = this.displayedMemory;
          this.displayedMemory = this.nonDisplayedMemory;
          this.nonDisplayedMemory = tmp;
          this.writeScreen = this.nonDisplayedMemory;
          this.logger.log(1, () => 'DISP: ' + this.displayedMemory.getDisplayText());
        }
        this.outputDataUpdate(true);
      }
      ccTO(nrCols) {
        // Tab Offset 1,2, or 3 columns
        this.logger.log(2, 'TO(' + nrCols + ') - Tab Offset');
        this.writeScreen.moveCursor(nrCols);
      }
      ccMIDROW(secondByte) {
        // Parse MIDROW command
        const styles = {
          flash: false
        };
        styles.underline = secondByte % 2 === 1;
        styles.italics = secondByte >= 0x2e;
        if (!styles.italics) {
          const colorIndex = Math.floor(secondByte / 2) - 0x10;
          const colors = ['white', 'green', 'blue', 'cyan', 'red', 'yellow', 'magenta'];
          styles.foreground = colors[colorIndex];
        } else {
          styles.foreground = 'white';
        }
        this.logger.log(2, 'MIDROW: ' + stringify(styles));
        this.writeScreen.setPen(styles);
      }
      outputDataUpdate(dispatch = false) {
        const time = this.logger.time;
        if (time === null) {
          return;
        }
        if (this.outputFilter) {
          if (this.cueStartTime === null && !this.displayedMemory.isEmpty()) {
            // Start of a new cue
            this.cueStartTime = time;
          } else {
            if (!this.displayedMemory.equals(this.lastOutputScreen)) {
              this.outputFilter.newCue(this.cueStartTime, time, this.lastOutputScreen);
              if (dispatch && this.outputFilter.dispatchCue) {
                this.outputFilter.dispatchCue();
              }
              this.cueStartTime = this.displayedMemory.isEmpty() ? null : time;
            }
          }
          this.lastOutputScreen.copy(this.displayedMemory);
        }
      }
      cueSplitAtTime(t) {
        if (this.outputFilter) {
          if (!this.displayedMemory.isEmpty()) {
            if (this.outputFilter.newCue) {
              this.outputFilter.newCue(this.cueStartTime, t, this.displayedMemory);
            }
            this.cueStartTime = t;
          }
        }
      }
    }
    
    // Will be 1 or 2 when parsing captions
    
    class Cea608Parser {
      constructor(field, out1, out2) {
        this.channels = void 0;
        this.currentChannel = 0;
        this.cmdHistory = createCmdHistory();
        this.logger = void 0;
        const logger = this.logger = new CaptionsLogger();
        this.channels = [null, new Cea608Channel(field, out1, logger), new Cea608Channel(field + 1, out2, logger)];
      }
      getHandler(channel) {
        return this.channels[channel].getHandler();
      }
      setHandler(channel, newHandler) {
        this.channels[channel].setHandler(newHandler);
      }
    
      /**
       * Add data for time t in forms of list of bytes (unsigned ints). The bytes are treated as pairs.
       */
      addData(time, byteList) {
        this.logger.time = time;
        for (let i = 0; i < byteList.length; i += 2) {
          const a = byteList[i] & 0x7f;
          const b = byteList[i + 1] & 0x7f;
          let cmdFound = false;
          let charsFound = null;
          if (a === 0 && b === 0) {
            continue;
          } else {
            this.logger.log(3, () => '[' + numArrayToHexArray([byteList[i], byteList[i + 1]]) + '] -> (' + numArrayToHexArray([a, b]) + ')');
          }
          const cmdHistory = this.cmdHistory;
          const isControlCode = a >= 0x10 && a <= 0x1f;
          if (isControlCode) {
            // Skip redundant control codes
            if (hasCmdRepeated(a, b, cmdHistory)) {
              setLastCmd(null, null, cmdHistory);
              this.logger.log(3, () => 'Repeated command (' + numArrayToHexArray([a, b]) + ') is dropped');
              continue;
            }
            setLastCmd(a, b, this.cmdHistory);
            cmdFound = this.parseCmd(a, b);
            if (!cmdFound) {
              cmdFound = this.parseMidrow(a, b);
            }
            if (!cmdFound) {
              cmdFound = this.parsePAC(a, b);
            }
            if (!cmdFound) {
              cmdFound = this.parseBackgroundAttributes(a, b);
            }
          } else {
            setLastCmd(null, null, cmdHistory);
          }
          if (!cmdFound) {
            charsFound = this.parseChars(a, b);
            if (charsFound) {
              const currChNr = this.currentChannel;
              if (currChNr && currChNr > 0) {
                const channel = this.channels[currChNr];
                channel.insertChars(charsFound);
              } else {
                this.logger.log(2, 'No channel found yet. TEXT-MODE?');
              }
            }
          }
          if (!cmdFound && !charsFound) {
            this.logger.log(2, () => "Couldn't parse cleaned data " + numArrayToHexArray([a, b]) + ' orig: ' + numArrayToHexArray([byteList[i], byteList[i + 1]]));
          }
        }
      }
    
      /**
       * Parse Command.
       * @returns True if a command was found
       */
      parseCmd(a, b) {
        const cond1 = (a === 0x14 || a === 0x1c || a === 0x15 || a === 0x1d) && b >= 0x20 && b <= 0x2f;
        const cond2 = (a === 0x17 || a === 0x1f) && b >= 0x21 && b <= 0x23;
        if (!(cond1 || cond2)) {
          return false;
        }
        const chNr = a === 0x14 || a === 0x15 || a === 0x17 ? 1 : 2;
        const channel = this.channels[chNr];
        if (a === 0x14 || a === 0x15 || a === 0x1c || a === 0x1d) {
          if (b === 0x20) {
            channel.ccRCL();
          } else if (b === 0x21) {
            channel.ccBS();
          } else if (b === 0x22) {
            channel.ccAOF();
          } else if (b === 0x23) {
            channel.ccAON();
          } else if (b === 0x24) {
            channel.ccDER();
          } else if (b === 0x25) {
            channel.ccRU(2);
          } else if (b === 0x26) {
            channel.ccRU(3);
          } else if (b === 0x27) {
            channel.ccRU(4);
          } else if (b === 0x28) {
            channel.ccFON();
          } else if (b === 0x29) {
            channel.ccRDC();
          } else if (b === 0x2a) {
            channel.ccTR();
          } else if (b === 0x2b) {
            channel.ccRTD();
          } else if (b === 0x2c) {
            channel.ccEDM();
          } else if (b === 0x2d) {
            channel.ccCR();
          } else if (b === 0x2e) {
            channel.ccENM();
          } else if (b === 0x2f) {
            channel.ccEOC();
          }
        } else {
          // a == 0x17 || a == 0x1F
          channel.ccTO(b - 0x20);
        }
        this.currentChannel = chNr;
        return true;
      }
    
      /**
       * Parse midrow styling command
       */
      parseMidrow(a, b) {
        let chNr = 0;
        if ((a === 0x11 || a === 0x19) && b >= 0x20 && b <= 0x2f) {
          if (a === 0x11) {
            chNr = 1;
          } else {
            chNr = 2;
          }
          if (chNr !== this.currentChannel) {
            this.logger.log(0, 'Mismatch channel in midrow parsing');
            return false;
          }
          const channel = this.channels[chNr];
          if (!channel) {
            return false;
          }
          channel.ccMIDROW(b);
          this.logger.log(3, () => 'MIDROW (' + numArrayToHexArray([a, b]) + ')');
          return true;
        }
        return false;
      }
    
      /**
       * Parse Preable Access Codes (Table 53).
       * @returns {Boolean} Tells if PAC found
       */
      parsePAC(a, b) {
        let row;
        const case1 = (a >= 0x11 && a <= 0x17 || a >= 0x19 && a <= 0x1f) && b >= 0x40 && b <= 0x7f;
        const case2 = (a === 0x10 || a === 0x18) && b >= 0x40 && b <= 0x5f;
        if (!(case1 || case2)) {
          return false;
        }
        const chNr = a <= 0x17 ? 1 : 2;
        if (b >= 0x40 && b <= 0x5f) {
          row = chNr === 1 ? rowsLowCh1[a] : rowsLowCh2[a];
        } else {
          // 0x60 <= b <= 0x7F
          row = chNr === 1 ? rowsHighCh1[a] : rowsHighCh2[a];
        }
        const channel = this.channels[chNr];
        if (!channel) {
          return false;
        }
        channel.setPAC(this.interpretPAC(row, b));
        this.currentChannel = chNr;
        return true;
      }
    
      /**
       * Interpret the second byte of the pac, and return the information.
       * @returns pacData with style parameters
       */
      interpretPAC(row, byte) {
        let pacIndex;
        const pacData = {
          color: null,
          italics: false,
          indent: null,
          underline: false,
          row: row
        };
        if (byte > 0x5f) {
          pacIndex = byte - 0x60;
        } else {
          pacIndex = byte - 0x40;
        }
        pacData.underline = (pacIndex & 1) === 1;
        if (pacIndex <= 0xd) {
          pacData.color = ['white', 'green', 'blue', 'cyan', 'red', 'yellow', 'magenta', 'white'][Math.floor(pacIndex / 2)];
        } else if (pacIndex <= 0xf) {
          pacData.italics = true;
          pacData.color = 'white';
        } else {
          pacData.indent = Math.floor((pacIndex - 0x10) / 2) * 4;
        }
        return pacData; // Note that row has zero offset. The spec uses 1.
      }
    
      /**
       * Parse characters.
       * @returns An array with 1 to 2 codes corresponding to chars, if found. null otherwise.
       */
      parseChars(a, b) {
        let channelNr;
        let charCodes = null;
        let charCode1 = null;
        if (a >= 0x19) {
          channelNr = 2;
          charCode1 = a - 8;
        } else {
          channelNr = 1;
          charCode1 = a;
        }
        if (charCode1 >= 0x11 && charCode1 <= 0x13) {
          // Special character
          let oneCode;
          if (charCode1 === 0x11) {
            oneCode = b + 0x50;
          } else if (charCode1 === 0x12) {
            oneCode = b + 0x70;
          } else {
            oneCode = b + 0x90;
          }
          this.logger.log(2, () => "Special char '" + getCharForByte(oneCode) + "' in channel " + channelNr);
          charCodes = [oneCode];
        } else if (a >= 0x20 && a <= 0x7f) {
          charCodes = b === 0 ? [a] : [a, b];
        }
        if (charCodes) {
          this.logger.log(3, () => 'Char codes =  ' + numArrayToHexArray(charCodes).join(','));
        }
        return charCodes;
      }
    
      /**
       * Parse extended background attributes as well as new foreground color black.
       * @returns True if background attributes are found
       */
      parseBackgroundAttributes(a, b) {
        const case1 = (a === 0x10 || a === 0x18) && b >= 0x20 && b <= 0x2f;
        const case2 = (a === 0x17 || a === 0x1f) && b >= 0x2d && b <= 0x2f;
        if (!(case1 || case2)) {
          return false;
        }
        let index;
        const bkgData = {};
        if (a === 0x10 || a === 0x18) {
          index = Math.floor((b - 0x20) / 2);
          bkgData.background = backgroundColors[index];
          if (b % 2 === 1) {
            bkgData.background = bkgData.background + '_semi';
          }
        } else if (b === 0x2d) {
          bkgData.background = 'transparent';
        } else {
          bkgData.foreground = 'black';
          if (b === 0x2f) {
            bkgData.underline = true;
          }
        }
        const chNr = a <= 0x17 ? 1 : 2;
        const channel = this.channels[chNr];
        channel.setBkgData(bkgData);
        return true;
      }
    
      /**
       * Reset state of parser and its channels.
       */
      reset() {
        for (let i = 0; i < Object.keys(this.channels).length; i++) {
          const channel = this.channels[i];
          if (channel) {
            channel.reset();
          }
        }
        setLastCmd(null, null, this.cmdHistory);
      }
    
      /**
       * Trigger the generation of a cue, and the start of a new one if displayScreens are not empty.
       */
      cueSplitAtTime(t) {
        for (let i = 0; i < this.channels.length; i++) {
          const channel = this.channels[i];
          if (channel) {
            channel.cueSplitAtTime(t);
          }
        }
      }
    }
    function setLastCmd(a, b, cmdHistory) {
      cmdHistory.a = a;
      cmdHistory.b = b;
    }
    function hasCmdRepeated(a, b, cmdHistory) {
      return cmdHistory.a === a && cmdHistory.b === b;
    }
    function createCmdHistory() {
      return {
        a: null,
        b: null
      };
    }
    
    /**
     * Copyright 2013 vtt.js Contributors
     *
     * Licensed under the Apache License, Version 2.0 (the 'License');
     * you may not use this file except in compliance with the License.
     * You may obtain a copy of the License at
     *
     *   http://www.apache.org/licenses/LICENSE-2.0
     *
     * Unless required by applicable law or agreed to in writing, software
     * distributed under the License is distributed on an 'AS IS' BASIS,
     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    var VTTCue = (function () {
      if (optionalSelf != null && optionalSelf.VTTCue) {
        return self.VTTCue;
      }
      const AllowedDirections = ['', 'lr', 'rl'];
      const AllowedAlignments = ['start', 'middle', 'end', 'left', 'right'];
      function isAllowedValue(allowed, value) {
        if (typeof value !== 'string') {
          return false;
        }
        // necessary for assuring the generic conforms to the Array interface
        if (!Array.isArray(allowed)) {
          return false;
        }
        // reset the type so that the next narrowing works well
        const lcValue = value.toLowerCase();
        // use the allow list to narrow the type to a specific subset of strings
        if (~allowed.indexOf(lcValue)) {
          return lcValue;
        }
        return false;
      }
      function findDirectionSetting(value) {
        return isAllowedValue(AllowedDirections, value);
      }
      function findAlignSetting(value) {
        return isAllowedValue(AllowedAlignments, value);
      }
      function extend(obj, ...rest) {
        let i = 1;
        for (; i < arguments.length; i++) {
          const cobj = arguments[i];
          for (const p in cobj) {
            obj[p] = cobj[p];
          }
        }
        return obj;
      }
      function VTTCue(startTime, endTime, text) {
        const cue = this;
        const baseObj = {
          enumerable: true
        };
        /**
         * Shim implementation specific properties. These properties are not in
         * the spec.
         */
    
        // Lets us know when the VTTCue's data has changed in such a way that we need
        // to recompute its display state. This lets us compute its display state
        // lazily.
        cue.hasBeenReset = false;
    
        /**
         * VTTCue and TextTrackCue properties
         * http://dev.w3.org/html5/webvtt/#vttcue-interface
         */
    
        let _id = '';
        let _pauseOnExit = false;
        let _startTime = startTime;
        let _endTime = endTime;
        let _text = text;
        let _region = null;
        let _vertical = '';
        let _snapToLines = true;
        let _line = 'auto';
        let _lineAlign = 'start';
        let _position = 50;
        let _positionAlign = 'middle';
        let _size = 50;
        let _align = 'middle';
        Object.defineProperty(cue, 'id', extend({}, baseObj, {
          get: function () {
            return _id;
          },
          set: function (value) {
            _id = '' + value;
          }
        }));
        Object.defineProperty(cue, 'pauseOnExit', extend({}, baseObj, {
          get: function () {
            return _pauseOnExit;
          },
          set: function (value) {
            _pauseOnExit = !!value;
          }
        }));
        Object.defineProperty(cue, 'startTime', extend({}, baseObj, {
          get: function () {
            return _startTime;
          },
          set: function (value) {
            if (typeof value !== 'number') {
              throw new TypeError('Start time must be set to a number.');
            }
            _startTime = value;
            this.hasBeenReset = true;
          }
        }));
        Object.defineProperty(cue, 'endTime', extend({}, baseObj, {
          get: function () {
            return _endTime;
          },
          set: function (value) {
            if (typeof value !== 'number') {
              throw new TypeError('End time must be set to a number.');
            }
            _endTime = value;
            this.hasBeenReset = true;
          }
        }));
        Object.defineProperty(cue, 'text', extend({}, baseObj, {
          get: function () {
            return _text;
          },
          set: function (value) {
            _text = '' + value;
            this.hasBeenReset = true;
          }
        }));
    
        // todo: implement VTTRegion polyfill?
        Object.defineProperty(cue, 'region', extend({}, baseObj, {
          get: function () {
            return _region;
          },
          set: function (value) {
            _region = value;
            this.hasBeenReset = true;
          }
        }));
        Object.defineProperty(cue, 'vertical', extend({}, baseObj, {
          get: function () {
            return _vertical;
          },
          set: function (value) {
            const setting = findDirectionSetting(value);
            // Have to check for false because the setting an be an empty string.
            if (setting === false) {
              throw new SyntaxError('An invalid or illegal string was specified.');
            }
            _vertical = setting;
            this.hasBeenReset = true;
          }
        }));
        Object.defineProperty(cue, 'snapToLines', extend({}, baseObj, {
          get: function () {
            return _snapToLines;
          },
          set: function (value) {
            _snapToLines = !!value;
            this.hasBeenReset = true;
          }
        }));
        Object.defineProperty(cue, 'line', extend({}, baseObj, {
          get: function () {
            return _line;
          },
          set: function (value) {
            if (typeof value !== 'number' && value !== 'auto') {
              throw new SyntaxError('An invalid number or illegal string was specified.');
            }
            _line = value;
            this.hasBeenReset = true;
          }
        }));
        Object.defineProperty(cue, 'lineAlign', extend({}, baseObj, {
          get: function () {
            return _lineAlign;
          },
          set: function (value) {
            const setting = findAlignSetting(value);
            if (!setting) {
              throw new SyntaxError('An invalid or illegal string was specified.');
            }
            _lineAlign = setting;
            this.hasBeenReset = true;
          }
        }));
        Object.defineProperty(cue, 'position', extend({}, baseObj, {
          get: function () {
            return _position;
          },
          set: function (value) {
            if (value < 0 || value > 100) {
              throw new Error('Position must be between 0 and 100.');
            }
            _position = value;
            this.hasBeenReset = true;
          }
        }));
        Object.defineProperty(cue, 'positionAlign', extend({}, baseObj, {
          get: function () {
            return _positionAlign;
          },
          set: function (value) {
            const setting = findAlignSetting(value);
            if (!setting) {
              throw new SyntaxError('An invalid or illegal string was specified.');
            }
            _positionAlign = setting;
            this.hasBeenReset = true;
          }
        }));
        Object.defineProperty(cue, 'size', extend({}, baseObj, {
          get: function () {
            return _size;
          },
          set: function (value) {
            if (value < 0 || value > 100) {
              throw new Error('Size must be between 0 and 100.');
            }
            _size = value;
            this.hasBeenReset = true;
          }
        }));
        Object.defineProperty(cue, 'align', extend({}, baseObj, {
          get: function () {
            return _align;
          },
          set: function (value) {
            const setting = findAlignSetting(value);
            if (!setting) {
              throw new SyntaxError('An invalid or illegal string was specified.');
            }
            _align = setting;
            this.hasBeenReset = true;
          }
        }));
    
        /**
         * Other <track> spec defined properties
         */
    
        // http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element.html#text-track-cue-display-state
        cue.displayState = undefined;
      }
    
      /**
       * VTTCue methods
       */
    
      VTTCue.prototype.getCueAsHTML = function () {
        // Assume WebVTT.convertCueToDOMTree is on the global.
        const WebVTT = self.WebVTT;
        return WebVTT.convertCueToDOMTree(self, this.text);
      };
      // this is a polyfill hack
      return VTTCue;
    })();
    
    /*
     * Source: https://github.com/mozilla/vtt.js/blob/master/dist/vtt.js
     */
    
    class StringDecoder {
      decode(data, options) {
        if (!data) {
          return '';
        }
        if (typeof data !== 'string') {
          throw new Error('Error - expected string data.');
        }
        return decodeURIComponent(encodeURIComponent(data));
      }
    }
    
    // Try to parse input as a time stamp.
    function parseTimeStamp(input) {
      function computeSeconds(h, m, s, f) {
        return (h | 0) * 3600 + (m | 0) * 60 + (s | 0) + parseFloat(f || 0);
      }
      const m = input.match(/^(?:(\d+):)?(\d{2}):(\d{2})(\.\d+)?/);
      if (!m) {
        return null;
      }
      if (parseFloat(m[2]) > 59) {
        // Timestamp takes the form of [hours]:[minutes].[milliseconds]
        // First position is hours as it's over 59.
        return computeSeconds(m[2], m[3], 0, m[4]);
      }
      // Timestamp takes the form of [hours (optional)]:[minutes]:[seconds].[milliseconds]
      return computeSeconds(m[1], m[2], m[3], m[4]);
    }
    
    // A settings object holds key/value pairs and will ignore anything but the first
    // assignment to a specific key.
    class Settings {
      constructor() {
        this.values = Object.create(null);
      }
      // Only accept the first assignment to any key.
      set(k, v) {
        if (!this.get(k) && v !== '') {
          this.values[k] = v;
        }
      }
      // Return the value for a key, or a default value.
      // If 'defaultKey' is passed then 'dflt' is assumed to be an object with
      // a number of possible default values as properties where 'defaultKey' is
      // the key of the property that will be chosen; otherwise it's assumed to be
      // a single value.
      get(k, dflt, defaultKey) {
        if (defaultKey) {
          return this.has(k) ? this.values[k] : dflt[defaultKey];
        }
        return this.has(k) ? this.values[k] : dflt;
      }
      // Check whether we have a value for a key.
      has(k) {
        return k in this.values;
      }
      // Accept a setting if its one of the given alternatives.
      alt(k, v, a) {
        for (let n = 0; n < a.length; ++n) {
          if (v === a[n]) {
            this.set(k, v);
            break;
          }
        }
      }
      // Accept a setting if its a valid (signed) integer.
      integer(k, v) {
        if (/^-?\d+$/.test(v)) {
          // integer
          this.set(k, parseInt(v, 10));
        }
      }
      // Accept a setting if its a valid percentage.
      percent(k, v) {
        if (/^([\d]{1,3})(\.[\d]*)?%$/.test(v)) {
          const percent = parseFloat(v);
          if (percent >= 0 && percent <= 100) {
            this.set(k, percent);
            return true;
          }
        }
        return false;
      }
    }
    
    // Helper function to parse input into groups separated by 'groupDelim', and
    // interpret each group as a key/value pair separated by 'keyValueDelim'.
    function parseOptions(input, callback, keyValueDelim, groupDelim) {
      const groups = groupDelim ? input.split(groupDelim) : [input];
      for (const i in groups) {
        if (typeof groups[i] !== 'string') {
          continue;
        }
        const kv = groups[i].split(keyValueDelim);
        if (kv.length !== 2) {
          continue;
        }
        const k = kv[0];
        const v = kv[1];
        callback(k, v);
      }
    }
    const defaults = new VTTCue(0, 0, '');
    // 'middle' was changed to 'center' in the spec: https://github.com/w3c/webvtt/pull/244
    //  Safari doesn't yet support this change, but FF and Chrome do.
    const center = defaults.align === 'middle' ? 'middle' : 'center';
    function parseCue(input, cue, regionList) {
      // Remember the original input if we need to throw an error.
      const oInput = input;
      // 4.1 WebVTT timestamp
      function consumeTimeStamp() {
        const ts = parseTimeStamp(input);
        if (ts === null) {
          throw new Error('Malformed timestamp: ' + oInput);
        }
    
        // Remove time stamp from input.
        input = input.replace(/^[^\sa-zA-Z-]+/, '');
        return ts;
      }
    
      // 4.4.2 WebVTT cue settings
      function consumeCueSettings(input, cue) {
        const settings = new Settings();
        parseOptions(input, function (k, v) {
          let vals;
          switch (k) {
            case 'region':
              // Find the last region we parsed with the same region id.
              for (let i = regionList.length - 1; i >= 0; i--) {
                if (regionList[i].id === v) {
                  settings.set(k, regionList[i].region);
                  break;
                }
              }
              break;
            case 'vertical':
              settings.alt(k, v, ['rl', 'lr']);
              break;
            case 'line':
              vals = v.split(',');
              settings.integer(k, vals[0]);
              if (settings.percent(k, vals[0])) {
                settings.set('snapToLines', false);
              }
              settings.alt(k, vals[0], ['auto']);
              if (vals.length === 2) {
                settings.alt('lineAlign', vals[1], ['start', center, 'end']);
              }
              break;
            case 'position':
              vals = v.split(',');
              settings.percent(k, vals[0]);
              if (vals.length === 2) {
                settings.alt('positionAlign', vals[1], ['start', center, 'end', 'line-left', 'line-right', 'auto']);
              }
              break;
            case 'size':
              settings.percent(k, v);
              break;
            case 'align':
              settings.alt(k, v, ['start', center, 'end', 'left', 'right']);
              break;
          }
        }, /:/, /\s/);
    
        // Apply default values for any missing fields.
        cue.region = settings.get('region', null);
        cue.vertical = settings.get('vertical', '');
        let line = settings.get('line', 'auto');
        if (line === 'auto' && defaults.line === -1) {
          // set numeric line number for Safari
          line = -1;
        }
        cue.line = line;
        cue.lineAlign = settings.get('lineAlign', 'start');
        cue.snapToLines = settings.get('snapToLines', true);
        cue.size = settings.get('size', 100);
        cue.align = settings.get('align', center);
        let position = settings.get('position', 'auto');
        if (position === 'auto' && defaults.position === 50) {
          // set numeric position for Safari
          position = cue.align === 'start' || cue.align === 'left' ? 0 : cue.align === 'end' || cue.align === 'right' ? 100 : 50;
        }
        cue.position = position;
      }
      function skipWhitespace() {
        input = input.replace(/^\s+/, '');
      }
    
      // 4.1 WebVTT cue timings.
      skipWhitespace();
      cue.startTime = consumeTimeStamp(); // (1) collect cue start time
      skipWhitespace();
      if (input.slice(0, 3) !== '-->') {
        // (3) next characters must match '-->'
        throw new Error("Malformed time stamp (time stamps must be separated by '-->'): " + oInput);
      }
      input = input.slice(3);
      skipWhitespace();
      cue.endTime = consumeTimeStamp(); // (5) collect cue end time
    
      // 4.1 WebVTT cue settings list.
      skipWhitespace();
      consumeCueSettings(input, cue);
    }
    function fixLineBreaks(input) {
      return input.replace(/<br(?: \/)?>/gi, '\n');
    }
    class VTTParser {
      constructor() {
        this.state = 'INITIAL';
        this.buffer = '';
        this.decoder = new StringDecoder();
        this.regionList = [];
        this.cue = null;
        this.oncue = void 0;
        this.onparsingerror = void 0;
        this.onflush = void 0;
      }
      parse(data) {
        const _this = this;
    
        // If there is no data then we won't decode it, but will just try to parse
        // whatever is in buffer already. This may occur in circumstances, for
        // example when flush() is called.
        if (data) {
          // Try to decode the data that we received.
          _this.buffer += _this.decoder.decode(data, {
            stream: true
          });
        }
        function collectNextLine() {
          let buffer = _this.buffer;
          let pos = 0;
          buffer = fixLineBreaks(buffer);
          while (pos < buffer.length && buffer[pos] !== '\r' && buffer[pos] !== '\n') {
            ++pos;
          }
          const line = buffer.slice(0, pos);
          // Advance the buffer early in case we fail below.
          if (buffer[pos] === '\r') {
            ++pos;
          }
          if (buffer[pos] === '\n') {
            ++pos;
          }
          _this.buffer = buffer.slice(pos);
          return line;
        }
    
        // 3.2 WebVTT metadata header syntax
        function parseHeader(input) {
          parseOptions(input, function (k, v) {
            // switch (k) {
            // case 'region':
            // 3.3 WebVTT region metadata header syntax
            // console.log('parse region', v);
            // parseRegion(v);
            // break;
            // }
          }, /:/);
        }
    
        // 5.1 WebVTT file parsing.
        try {
          let line = '';
          if (_this.state === 'INITIAL') {
            // We can't start parsing until we have the first line.
            if (!/\r\n|\n/.test(_this.buffer)) {
              return this;
            }
            line = collectNextLine();
            // strip of UTF-8 BOM if any
            // https://en.wikipedia.org/wiki/Byte_order_mark#UTF-8
            const m = line.match(/^()?WEBVTT([ \t].*)?$/);
            if (!(m != null && m[0])) {
              throw new Error('Malformed WebVTT signature.');
            }
            _this.state = 'HEADER';
          }
          let alreadyCollectedLine = false;
          while (_this.buffer) {
            // We can't parse a line until we have the full line.
            if (!/\r\n|\n/.test(_this.buffer)) {
              return this;
            }
            if (!alreadyCollectedLine) {
              line = collectNextLine();
            } else {
              alreadyCollectedLine = false;
            }
            switch (_this.state) {
              case 'HEADER':
                // 13-18 - Allow a header (metadata) under the WEBVTT line.
                if (/:/.test(line)) {
                  parseHeader(line);
                } else if (!line) {
                  // An empty line terminates the header and starts the body (cues).
                  _this.state = 'ID';
                }
                continue;
              case 'NOTE':
                // Ignore NOTE blocks.
                if (!line) {
                  _this.state = 'ID';
                }
                continue;
              case 'ID':
                // Check for the start of NOTE blocks.
                if (/^NOTE($|[ \t])/.test(line)) {
                  _this.state = 'NOTE';
                  break;
                }
                // 19-29 - Allow any number of line terminators, then initialize new cue values.
                if (!line) {
                  continue;
                }
                _this.cue = new VTTCue(0, 0, '');
                _this.state = 'CUE';
                // 30-39 - Check if self line contains an optional identifier or timing data.
                if (line.indexOf('-->') === -1) {
                  _this.cue.id = line;
                  continue;
                }
              // Process line as start of a cue.
              /* falls through */
              case 'CUE':
                // 40 - Collect cue timings and settings.
                if (!_this.cue) {
                  _this.state = 'BADCUE';
                  continue;
                }
                try {
                  parseCue(line, _this.cue, _this.regionList);
                } catch (e) {
                  // In case of an error ignore rest of the cue.
                  _this.cue = null;
                  _this.state = 'BADCUE';
                  continue;
                }
                _this.state = 'CUETEXT';
                continue;
              case 'CUETEXT':
                {
                  const hasSubstring = line.indexOf('-->') !== -1;
                  // 34 - If we have an empty line then report the cue.
                  // 35 - If we have the special substring '-->' then report the cue,
                  // but do not collect the line as we need to process the current
                  // one as a new cue.
                  if (!line || hasSubstring && (alreadyCollectedLine = true)) {
                    // We are done parsing self cue.
                    if (_this.oncue && _this.cue) {
                      _this.oncue(_this.cue);
                    }
                    _this.cue = null;
                    _this.state = 'ID';
                    continue;
                  }
                  if (_this.cue === null) {
                    continue;
                  }
                  if (_this.cue.text) {
                    _this.cue.text += '\n';
                  }
                  _this.cue.text += line;
                }
                continue;
              case 'BADCUE':
                // 54-62 - Collect and discard the remaining cue.
                if (!line) {
                  _this.state = 'ID';
                }
            }
          }
        } catch (e) {
          // If we are currently parsing a cue, report what we have.
          if (_this.state === 'CUETEXT' && _this.cue && _this.oncue) {
            _this.oncue(_this.cue);
          }
          _this.cue = null;
          // Enter BADWEBVTT state if header was not parsed correctly otherwise
          // another exception occurred so enter BADCUE state.
          _this.state = _this.state === 'INITIAL' ? 'BADWEBVTT' : 'BADCUE';
        }
        return this;
      }
      flush() {
        const _this = this;
        try {
          // Finish decoding the stream.
          // _this.buffer += _this.decoder.decode();
          // Synthesize the end of the current cue or region.
          if (_this.cue || _this.state === 'HEADER') {
            _this.buffer += '\n\n';
            _this.parse();
          }
          // If we've flushed, parsed, and we're still on the INITIAL state then
          // that means we don't have enough of the stream to parse the first
          // line.
          if (_this.state === 'INITIAL' || _this.state === 'BADWEBVTT') {
            throw new Error('Malformed WebVTT signature.');
          }
        } catch (e) {
          if (_this.onparsingerror) {
            _this.onparsingerror(e);
          }
        }
        if (_this.onflush) {
          _this.onflush();
        }
        return this;
      }
    }
    
    const LINEBREAKS = /\r\n|\n\r|\n|\r/g;
    
    // String.prototype.startsWith is not supported in IE11
    const startsWith = function startsWith(inputString, searchString, position = 0) {
      return inputString.slice(position, position + searchString.length) === searchString;
    };
    const cueString2millis = function cueString2millis(timeString) {
      let ts = parseInt(timeString.slice(-3));
      const secs = parseInt(timeString.slice(-6, -4));
      const mins = parseInt(timeString.slice(-9, -7));
      const hours = timeString.length > 9 ? parseInt(timeString.substring(0, timeString.indexOf(':'))) : 0;
      if (!isFiniteNumber(ts) || !isFiniteNumber(secs) || !isFiniteNumber(mins) || !isFiniteNumber(hours)) {
        throw Error(`Malformed X-TIMESTAMP-MAP: Local:${timeString}`);
      }
      ts += 1000 * secs;
      ts += 60 * 1000 * mins;
      ts += 60 * 60 * 1000 * hours;
      return ts;
    };
    
    // Create a unique hash id for a cue based on start/end times and text.
    // This helps timeline-controller to avoid showing repeated captions.
    function generateCueId(startTime, endTime, text) {
      return hash(startTime.toString()) + hash(endTime.toString()) + hash(text);
    }
    const calculateOffset = function calculateOffset(vttCCs, cc, presentationTime) {
      let currCC = vttCCs[cc];
      let prevCC = vttCCs[currCC.prevCC];
    
      // This is the first discontinuity or cues have been processed since the last discontinuity
      // Offset = current discontinuity time
      if (!prevCC || !prevCC.new && currCC.new) {
        vttCCs.ccOffset = vttCCs.presentationOffset = currCC.start;
        currCC.new = false;
        return;
      }
    
      // There have been discontinuities since cues were last parsed.
      // Offset = time elapsed
      while ((_prevCC = prevCC) != null && _prevCC.new) {
        var _prevCC;
        vttCCs.ccOffset += currCC.start - prevCC.start;
        currCC.new = false;
        currCC = prevCC;
        prevCC = vttCCs[currCC.prevCC];
      }
      vttCCs.presentationOffset = presentationTime;
    };
    function parseWebVTT(vttByteArray, initPTS, vttCCs, cc, timeOffset, callBack, errorCallBack) {
      const parser = new VTTParser();
      // Convert byteArray into string, replacing any somewhat exotic linefeeds with "\n", then split on that character.
      // Uint8Array.prototype.reduce is not implemented in IE11
      const vttLines = utf8ArrayToStr(new Uint8Array(vttByteArray)).trim().replace(LINEBREAKS, '\n').split('\n');
      const cues = [];
      const init90kHz = initPTS ? toMpegTsClockFromTimescale(initPTS.baseTime, initPTS.timescale) : 0;
      let cueTime = '00:00.000';
      let timestampMapMPEGTS = 0;
      let timestampMapLOCAL = 0;
      let parsingError;
      let inHeader = true;
      parser.oncue = function (cue) {
        // Adjust cue timing; clamp cues to start no earlier than - and drop cues that don't end after - 0 on timeline.
        const currCC = vttCCs[cc];
        let cueOffset = vttCCs.ccOffset;
    
        // Calculate subtitle PTS offset
        const webVttMpegTsMapOffset = (timestampMapMPEGTS - init90kHz) / 90000;
    
        // Update offsets for new discontinuities
        if (currCC != null && currCC.new) {
          if (timestampMapLOCAL !== undefined) {
            // When local time is provided, offset = discontinuity start time - local time
            cueOffset = vttCCs.ccOffset = currCC.start;
          } else {
            calculateOffset(vttCCs, cc, webVttMpegTsMapOffset);
          }
        }
        if (webVttMpegTsMapOffset) {
          if (!initPTS) {
            parsingError = new Error('Missing initPTS for VTT MPEGTS');
            return;
          }
          // If we have MPEGTS, offset = presentation time + discontinuity offset
          cueOffset = webVttMpegTsMapOffset - vttCCs.presentationOffset;
        }
        const duration = cue.endTime - cue.startTime;
        const startTime = normalizePts((cue.startTime + cueOffset - timestampMapLOCAL) * 90000, timeOffset * 90000) / 90000;
        cue.startTime = Math.max(startTime, 0);
        cue.endTime = Math.max(startTime + duration, 0);
    
        //trim trailing webvtt block whitespaces
        const text = cue.text.trim();
    
        // Fix encoding of special characters
        cue.text = decodeURIComponent(encodeURIComponent(text));
    
        // If the cue was not assigned an id from the VTT file (line above the content), create one.
        if (!cue.id) {
          cue.id = generateCueId(cue.startTime, cue.endTime, text);
        }
        if (cue.endTime > 0) {
          cues.push(cue);
        }
      };
      parser.onparsingerror = function (error) {
        parsingError = error;
      };
      parser.onflush = function () {
        if (parsingError) {
          errorCallBack(parsingError);
          return;
        }
        callBack(cues);
      };
    
      // Go through contents line by line.
      vttLines.forEach(line => {
        if (inHeader) {
          // Look for X-TIMESTAMP-MAP in header.
          if (startsWith(line, 'X-TIMESTAMP-MAP=')) {
            // Once found, no more are allowed anyway, so stop searching.
            inHeader = false;
            // Extract LOCAL and MPEGTS.
            line.slice(16).split(',').forEach(timestamp => {
              if (startsWith(timestamp, 'LOCAL:')) {
                cueTime = timestamp.slice(6);
              } else if (startsWith(timestamp, 'MPEGTS:')) {
                timestampMapMPEGTS = parseInt(timestamp.slice(7));
              }
            });
            try {
              // Convert cue time to seconds
              timestampMapLOCAL = cueString2millis(cueTime) / 1000;
            } catch (error) {
              parsingError = error;
            }
            // Return without parsing X-TIMESTAMP-MAP line.
            return;
          } else if (line === '') {
            inHeader = false;
          }
        }
        // Parse line by default.
        parser.parse(line + '\n');
      });
      parser.flush();
    }
    
    const IMSC1_CODEC = 'stpp.ttml.im1t';
    
    // Time format: h:m:s:frames(.subframes)
    const HMSF_REGEX = /^(\d{2,}):(\d{2}):(\d{2}):(\d{2})\.?(\d+)?$/;
    
    // Time format: hours, minutes, seconds, milliseconds, frames, ticks
    const TIME_UNIT_REGEX = /^(\d*(?:\.\d*)?)(h|m|s|ms|f|t)$/;
    const textAlignToLineAlign = {
      left: 'start',
      center: 'center',
      right: 'end',
      start: 'start',
      end: 'end'
    };
    function parseIMSC1(payload, initPTS, callBack, errorCallBack) {
      const results = findBox(new Uint8Array(payload), ['mdat']);
      if (results.length === 0) {
        errorCallBack(new Error('Could not parse IMSC1 mdat'));
        return;
      }
      const ttmlList = results.map(mdat => utf8ArrayToStr(mdat));
      const syncTime = toTimescaleFromScale(initPTS.baseTime, 1, initPTS.timescale);
      try {
        ttmlList.forEach(ttml => callBack(parseTTML(ttml, syncTime)));
      } catch (error) {
        errorCallBack(error);
      }
    }
    function parseTTML(ttml, syncTime) {
      const parser = new DOMParser();
      const xmlDoc = parser.parseFromString(ttml, 'text/xml');
      const tt = xmlDoc.getElementsByTagName('tt')[0];
      if (!tt) {
        throw new Error('Invalid ttml');
      }
      const defaultRateInfo = {
        frameRate: 30,
        subFrameRate: 1,
        frameRateMultiplier: 0,
        tickRate: 0
      };
      const rateInfo = Object.keys(defaultRateInfo).reduce((result, key) => {
        result[key] = tt.getAttribute(`ttp:${key}`) || defaultRateInfo[key];
        return result;
      }, {});
      const trim = tt.getAttribute('xml:space') !== 'preserve';
      const styleElements = collectionToDictionary(getElementCollection(tt, 'styling', 'style'));
      const regionElements = collectionToDictionary(getElementCollection(tt, 'layout', 'region'));
      const cueElements = getElementCollection(tt, 'body', '[begin]');
      return [].map.call(cueElements, cueElement => {
        const cueText = getTextContent(cueElement, trim);
        if (!cueText || !cueElement.hasAttribute('begin')) {
          return null;
        }
        const startTime = parseTtmlTime(cueElement.getAttribute('begin'), rateInfo);
        const duration = parseTtmlTime(cueElement.getAttribute('dur'), rateInfo);
        let endTime = parseTtmlTime(cueElement.getAttribute('end'), rateInfo);
        if (startTime === null) {
          throw timestampParsingError(cueElement);
        }
        if (endTime === null) {
          if (duration === null) {
            throw timestampParsingError(cueElement);
          }
          endTime = startTime + duration;
        }
        const cue = new VTTCue(startTime - syncTime, endTime - syncTime, cueText);
        cue.id = generateCueId(cue.startTime, cue.endTime, cue.text);
        const region = regionElements[cueElement.getAttribute('region')];
        const style = styleElements[cueElement.getAttribute('style')];
    
        // Apply styles to cue
        const styles = getTtmlStyles(region, style, styleElements);
        const {
          textAlign
        } = styles;
        if (textAlign) {
          // cue.positionAlign not settable in FF~2016
          const lineAlign = textAlignToLineAlign[textAlign];
          if (lineAlign) {
            cue.lineAlign = lineAlign;
          }
          cue.align = textAlign;
        }
        _extends(cue, styles);
        return cue;
      }).filter(cue => cue !== null);
    }
    function getElementCollection(fromElement, parentName, childName) {
      const parent = fromElement.getElementsByTagName(parentName)[0];
      if (parent) {
        return [].slice.call(parent.querySelectorAll(childName));
      }
      return [];
    }
    function collectionToDictionary(elementsWithId) {
      return elementsWithId.reduce((dict, element) => {
        const id = element.getAttribute('xml:id');
        if (id) {
          dict[id] = element;
        }
        return dict;
      }, {});
    }
    function getTextContent(element, trim) {
      return [].slice.call(element.childNodes).reduce((str, node, i) => {
        var _node$childNodes;
        if (node.nodeName === 'br' && i) {
          return str + '\n';
        }
        if ((_node$childNodes = node.childNodes) != null && _node$childNodes.length) {
          return getTextContent(node, trim);
        } else if (trim) {
          return str + node.textContent.trim().replace(/\s+/g, ' ');
        }
        return str + node.textContent;
      }, '');
    }
    function getTtmlStyles(region, style, styleElements) {
      const ttsNs = 'http://www.w3.org/ns/ttml#styling';
      let regionStyle = null;
      const styleAttributes = ['displayAlign', 'textAlign', 'color', 'backgroundColor', 'fontSize', 'fontFamily'
      // 'fontWeight',
      // 'lineHeight',
      // 'wrapOption',
      // 'fontStyle',
      // 'direction',
      // 'writingMode'
      ];
      const regionStyleName = region != null && region.hasAttribute('style') ? region.getAttribute('style') : null;
      if (regionStyleName && styleElements.hasOwnProperty(regionStyleName)) {
        regionStyle = styleElements[regionStyleName];
      }
      return styleAttributes.reduce((styles, name) => {
        const value = getAttributeNS(style, ttsNs, name) || getAttributeNS(region, ttsNs, name) || getAttributeNS(regionStyle, ttsNs, name);
        if (value) {
          styles[name] = value;
        }
        return styles;
      }, {});
    }
    function getAttributeNS(element, ns, name) {
      if (!element) {
        return null;
      }
      return element.hasAttributeNS(ns, name) ? element.getAttributeNS(ns, name) : null;
    }
    function timestampParsingError(node) {
      return new Error(`Could not parse ttml timestamp ${node}`);
    }
    function parseTtmlTime(timeAttributeValue, rateInfo) {
      if (!timeAttributeValue) {
        return null;
      }
      let seconds = parseTimeStamp(timeAttributeValue);
      if (seconds === null) {
        if (HMSF_REGEX.test(timeAttributeValue)) {
          seconds = parseHoursMinutesSecondsFrames(timeAttributeValue, rateInfo);
        } else if (TIME_UNIT_REGEX.test(timeAttributeValue)) {
          seconds = parseTimeUnits(timeAttributeValue, rateInfo);
        }
      }
      return seconds;
    }
    function parseHoursMinutesSecondsFrames(timeAttributeValue, rateInfo) {
      const m = HMSF_REGEX.exec(timeAttributeValue);
      const frames = (m[4] | 0) + (m[5] | 0) / rateInfo.subFrameRate;
      return (m[1] | 0) * 3600 + (m[2] | 0) * 60 + (m[3] | 0) + frames / rateInfo.frameRate;
    }
    function parseTimeUnits(timeAttributeValue, rateInfo) {
      const m = TIME_UNIT_REGEX.exec(timeAttributeValue);
      const value = Number(m[1]);
      const unit = m[2];
      switch (unit) {
        case 'h':
          return value * 3600;
        case 'm':
          return value * 60;
        case 'ms':
          return value * 1000;
        case 'f':
          return value / rateInfo.frameRate;
        case 't':
          return value / rateInfo.tickRate;
      }
      return value;
    }
    
    class OutputFilter {
      constructor(timelineController, trackName) {
        this.timelineController = void 0;
        this.cueRanges = [];
        this.trackName = void 0;
        this.startTime = null;
        this.endTime = null;
        this.screen = null;
        this.timelineController = timelineController;
        this.trackName = trackName;
      }
      dispatchCue() {
        if (this.startTime === null) {
          return;
        }
        this.timelineController.addCues(this.trackName, this.startTime, this.endTime, this.screen, this.cueRanges);
        this.startTime = null;
      }
      newCue(startTime, endTime, screen) {
        if (this.startTime === null || this.startTime > startTime) {
          this.startTime = startTime;
        }
        this.endTime = endTime;
        this.screen = screen;
        this.timelineController.createCaptionsTrack(this.trackName);
      }
      reset() {
        this.cueRanges = [];
        this.startTime = null;
      }
    }
    
    class TimelineController {
      constructor(hls) {
        this.hls = void 0;
        this.media = null;
        this.config = void 0;
        this.enabled = true;
        this.Cues = void 0;
        this.textTracks = [];
        this.tracks = [];
        this.initPTS = [];
        this.unparsedVttFrags = [];
        this.captionsTracks = {};
        this.nonNativeCaptionsTracks = {};
        this.cea608Parser1 = void 0;
        this.cea608Parser2 = void 0;
        this.lastCc = -1;
        // Last video (CEA-608) fragment CC
        this.lastSn = -1;
        // Last video (CEA-608) fragment MSN
        this.lastPartIndex = -1;
        // Last video (CEA-608) fragment Part Index
        this.prevCC = -1;
        // Last subtitle fragment CC
        this.vttCCs = newVTTCCs();
        this.captionsProperties = void 0;
        this.hls = hls;
        this.config = hls.config;
        this.Cues = hls.config.cueHandler;
        this.captionsProperties = {
          textTrack1: {
            label: this.config.captionsTextTrack1Label,
            languageCode: this.config.captionsTextTrack1LanguageCode
          },
          textTrack2: {
            label: this.config.captionsTextTrack2Label,
            languageCode: this.config.captionsTextTrack2LanguageCode
          },
          textTrack3: {
            label: this.config.captionsTextTrack3Label,
            languageCode: this.config.captionsTextTrack3LanguageCode
          },
          textTrack4: {
            label: this.config.captionsTextTrack4Label,
            languageCode: this.config.captionsTextTrack4LanguageCode
          }
        };
        hls.on(Events.MEDIA_ATTACHING, this.onMediaAttaching, this);
        hls.on(Events.MEDIA_DETACHING, this.onMediaDetaching, this);
        hls.on(Events.MANIFEST_LOADING, this.onManifestLoading, this);
        hls.on(Events.MANIFEST_LOADED, this.onManifestLoaded, this);
        hls.on(Events.SUBTITLE_TRACKS_UPDATED, this.onSubtitleTracksUpdated, this);
        hls.on(Events.FRAG_LOADING, this.onFragLoading, this);
        hls.on(Events.FRAG_LOADED, this.onFragLoaded, this);
        hls.on(Events.FRAG_PARSING_USERDATA, this.onFragParsingUserdata, this);
        hls.on(Events.FRAG_DECRYPTED, this.onFragDecrypted, this);
        hls.on(Events.INIT_PTS_FOUND, this.onInitPtsFound, this);
        hls.on(Events.SUBTITLE_TRACKS_CLEARED, this.onSubtitleTracksCleared, this);
        hls.on(Events.BUFFER_FLUSHING, this.onBufferFlushing, this);
      }
      destroy() {
        const {
          hls
        } = this;
        hls.off(Events.MEDIA_ATTACHING, this.onMediaAttaching, this);
        hls.off(Events.MEDIA_DETACHING, this.onMediaDetaching, this);
        hls.off(Events.MANIFEST_LOADING, this.onManifestLoading, this);
        hls.off(Events.MANIFEST_LOADED, this.onManifestLoaded, this);
        hls.off(Events.SUBTITLE_TRACKS_UPDATED, this.onSubtitleTracksUpdated, this);
        hls.off(Events.FRAG_LOADING, this.onFragLoading, this);
        hls.off(Events.FRAG_LOADED, this.onFragLoaded, this);
        hls.off(Events.FRAG_PARSING_USERDATA, this.onFragParsingUserdata, this);
        hls.off(Events.FRAG_DECRYPTED, this.onFragDecrypted, this);
        hls.off(Events.INIT_PTS_FOUND, this.onInitPtsFound, this);
        hls.off(Events.SUBTITLE_TRACKS_CLEARED, this.onSubtitleTracksCleared, this);
        hls.off(Events.BUFFER_FLUSHING, this.onBufferFlushing, this);
        // @ts-ignore
        this.hls = this.config = this.media = null;
        this.cea608Parser1 = this.cea608Parser2 = undefined;
      }
      initCea608Parsers() {
        const channel1 = new OutputFilter(this, 'textTrack1');
        const channel2 = new OutputFilter(this, 'textTrack2');
        const channel3 = new OutputFilter(this, 'textTrack3');
        const channel4 = new OutputFilter(this, 'textTrack4');
        this.cea608Parser1 = new Cea608Parser(1, channel1, channel2);
        this.cea608Parser2 = new Cea608Parser(3, channel3, channel4);
      }
      addCues(trackName, startTime, endTime, screen, cueRanges) {
        // skip cues which overlap more than 50% with previously parsed time ranges
        let merged = false;
        for (let i = cueRanges.length; i--;) {
          const cueRange = cueRanges[i];
          const overlap = intersection(cueRange[0], cueRange[1], startTime, endTime);
          if (overlap >= 0) {
            cueRange[0] = Math.min(cueRange[0], startTime);
            cueRange[1] = Math.max(cueRange[1], endTime);
            merged = true;
            if (overlap / (endTime - startTime) > 0.5) {
              return;
            }
          }
        }
        if (!merged) {
          cueRanges.push([startTime, endTime]);
        }
        if (this.config.renderTextTracksNatively) {
          const track = this.captionsTracks[trackName];
          this.Cues.newCue(track, startTime, endTime, screen);
        } else {
          const cues = this.Cues.newCue(null, startTime, endTime, screen);
          this.hls.trigger(Events.CUES_PARSED, {
            type: 'captions',
            cues,
            track: trackName
          });
        }
      }
    
      // Triggered when an initial PTS is found; used for synchronisation of WebVTT.
      onInitPtsFound(event, {
        frag,
        id,
        initPTS,
        timescale,
        trackId
      }) {
        const {
          unparsedVttFrags
        } = this;
        if (id === PlaylistLevelType.MAIN) {
          this.initPTS[frag.cc] = {
            baseTime: initPTS,
            timescale,
            trackId
          };
        }
    
        // Due to asynchronous processing, initial PTS may arrive later than the first VTT fragments are loaded.
        // Parse any unparsed fragments upon receiving the initial PTS.
        if (unparsedVttFrags.length) {
          this.unparsedVttFrags = [];
          unparsedVttFrags.forEach(data => {
            if (this.initPTS[data.frag.cc]) {
              this.onFragLoaded(Events.FRAG_LOADED, data);
            } else {
              this.hls.trigger(Events.SUBTITLE_FRAG_PROCESSED, {
                success: false,
                frag: data.frag,
                error: new Error('Subtitle discontinuity domain does not match main')
              });
            }
          });
        }
      }
      getExistingTrack(label, language) {
        const {
          media
        } = this;
        if (media) {
          for (let i = 0; i < media.textTracks.length; i++) {
            const textTrack = media.textTracks[i];
            if (canReuseVttTextTrack(textTrack, {
              name: label,
              lang: language,
              characteristics: 'transcribes-spoken-dialog,describes-music-and-sound'})) {
              return textTrack;
            }
          }
        }
        return null;
      }
      createCaptionsTrack(trackName) {
        if (this.config.renderTextTracksNatively) {
          this.createNativeTrack(trackName);
        } else {
          this.createNonNativeTrack(trackName);
        }
      }
      createNativeTrack(trackName) {
        if (this.captionsTracks[trackName]) {
          return;
        }
        const {
          captionsProperties,
          captionsTracks,
          media
        } = this;
        const {
          label,
          languageCode
        } = captionsProperties[trackName];
        // Enable reuse of existing text track.
        const existingTrack = this.getExistingTrack(label, languageCode);
        if (!existingTrack) {
          const textTrack = this.createTextTrack('captions', label, languageCode);
          if (textTrack) {
            // Set a special property on the track so we know it's managed by Hls.js
            textTrack[trackName] = true;
            captionsTracks[trackName] = textTrack;
          }
        } else {
          captionsTracks[trackName] = existingTrack;
          clearCurrentCues(captionsTracks[trackName]);
          sendAddTrackEvent(captionsTracks[trackName], media);
        }
      }
      createNonNativeTrack(trackName) {
        if (this.nonNativeCaptionsTracks[trackName]) {
          return;
        }
        // Create a list of a single track for the provider to consume
        const trackProperties = this.captionsProperties[trackName];
        if (!trackProperties) {
          return;
        }
        const label = trackProperties.label;
        const track = {
          _id: trackName,
          label,
          kind: 'captions',
          default: trackProperties.media ? !!trackProperties.media.default : false,
          closedCaptions: trackProperties.media
        };
        this.nonNativeCaptionsTracks[trackName] = track;
        this.hls.trigger(Events.NON_NATIVE_TEXT_TRACKS_FOUND, {
          tracks: [track]
        });
      }
      createTextTrack(kind, label, lang) {
        const media = this.media;
        if (!media) {
          return;
        }
        return media.addTextTrack(kind, label, lang);
      }
      onMediaAttaching(event, data) {
        this.media = data.media;
        if (!data.mediaSource) {
          this._cleanTracks();
        }
      }
      onMediaDetaching(event, data) {
        const transferringMedia = !!data.transferMedia;
        this.media = null;
        if (transferringMedia) {
          return;
        }
        const {
          captionsTracks
        } = this;
        Object.keys(captionsTracks).forEach(trackName => {
          clearCurrentCues(captionsTracks[trackName]);
          delete captionsTracks[trackName];
        });
        this.nonNativeCaptionsTracks = {};
      }
      onManifestLoading() {
        // Detect discontinuity in video fragment (CEA-608) parsing
        this.lastCc = -1;
        this.lastSn = -1;
        this.lastPartIndex = -1;
        // Detect discontinuity in subtitle manifests
        this.prevCC = -1;
        this.vttCCs = newVTTCCs();
        // Reset tracks
        this._cleanTracks();
        this.tracks = [];
        this.captionsTracks = {};
        this.nonNativeCaptionsTracks = {};
        this.textTracks = [];
        this.unparsedVttFrags = [];
        this.initPTS = [];
        if (this.cea608Parser1 && this.cea608Parser2) {
          this.cea608Parser1.reset();
          this.cea608Parser2.reset();
        }
      }
      _cleanTracks() {
        // clear outdated subtitles
        const {
          media
        } = this;
        if (!media) {
          return;
        }
        const textTracks = media.textTracks;
        if (textTracks) {
          for (let i = 0; i < textTracks.length; i++) {
            clearCurrentCues(textTracks[i]);
          }
        }
      }
      onSubtitleTracksUpdated(event, data) {
        const tracks = data.subtitleTracks || [];
        const hasIMSC1 = tracks.some(track => track.textCodec === IMSC1_CODEC);
        if (this.config.enableWebVTT || hasIMSC1 && this.config.enableIMSC1) {
          const listIsIdentical = subtitleOptionsIdentical(this.tracks, tracks);
          if (listIsIdentical) {
            this.tracks = tracks;
            return;
          }
          this.textTracks = [];
          this.tracks = tracks;
          if (this.config.renderTextTracksNatively) {
            const media = this.media;
            const inUseTracks = media ? filterSubtitleTracks(media.textTracks) : null;
            this.tracks.forEach((track, index) => {
              // Reuse tracks with the same label and lang, but do not reuse 608/708 tracks
              let textTrack;
              if (inUseTracks) {
                let inUseTrack = null;
                for (let i = 0; i < inUseTracks.length; i++) {
                  if (inUseTracks[i] && canReuseVttTextTrack(inUseTracks[i], track)) {
                    inUseTrack = inUseTracks[i];
                    inUseTracks[i] = null;
                    break;
                  }
                }
                if (inUseTrack) {
                  textTrack = inUseTrack;
                }
              }
              if (textTrack) {
                clearCurrentCues(textTrack);
              } else {
                const textTrackKind = captionsOrSubtitlesFromCharacteristics(track);
                textTrack = this.createTextTrack(textTrackKind, track.name, track.lang);
                if (textTrack) {
                  textTrack.mode = 'disabled';
                }
              }
              if (textTrack) {
                this.textTracks.push(textTrack);
              }
            });
            // Warn when video element has captions or subtitle TextTracks carried over from another source
            if (inUseTracks != null && inUseTracks.length) {
              const unusedTextTracks = inUseTracks.filter(t => t !== null).map(t => t.label);
              if (unusedTextTracks.length) {
                this.hls.logger.warn(`Media element contains unused subtitle tracks: ${unusedTextTracks.join(', ')}. Replace media element for each source to clear TextTracks and captions menu.`);
              }
            }
          } else if (this.tracks.length) {
            // Create a list of tracks for the provider to consume
            const tracksList = this.tracks.map(track => {
              return {
                label: track.name,
                kind: track.type.toLowerCase(),
                default: track.default,
                subtitleTrack: track
              };
            });
            this.hls.trigger(Events.NON_NATIVE_TEXT_TRACKS_FOUND, {
              tracks: tracksList
            });
          }
        }
      }
      onManifestLoaded(event, data) {
        if (this.config.enableCEA708Captions && data.captions) {
          data.captions.forEach(captionsTrack => {
            const instreamIdMatch = /(?:CC|SERVICE)([1-4])/.exec(captionsTrack.instreamId);
            if (!instreamIdMatch) {
              return;
            }
            const trackName = `textTrack${instreamIdMatch[1]}`;
            const trackProperties = this.captionsProperties[trackName];
            if (!trackProperties) {
              return;
            }
            trackProperties.label = captionsTrack.name;
            if (captionsTrack.lang) {
              // optional attribute
              trackProperties.languageCode = captionsTrack.lang;
            }
            trackProperties.media = captionsTrack;
          });
        }
      }
      closedCaptionsForLevel(frag) {
        const level = this.hls.levels[frag.level];
        return level == null ? void 0 : level.attrs['CLOSED-CAPTIONS'];
      }
      onFragLoading(event, data) {
        // if this frag isn't contiguous, clear the parser so cues with bad start/end times aren't added to the textTrack
        if (this.enabled && data.frag.type === PlaylistLevelType.MAIN) {
          var _data$part$index, _data$part;
          const {
            cea608Parser1,
            cea608Parser2,
            lastSn
          } = this;
          const {
            cc,
            sn
          } = data.frag;
          const partIndex = (_data$part$index = (_data$part = data.part) == null ? void 0 : _data$part.index) != null ? _data$part$index : -1;
          if (cea608Parser1 && cea608Parser2) {
            if (sn !== lastSn + 1 || sn === lastSn && partIndex !== this.lastPartIndex + 1 || cc !== this.lastCc) {
              cea608Parser1.reset();
              cea608Parser2.reset();
            }
          }
          this.lastCc = cc;
          this.lastSn = sn;
          this.lastPartIndex = partIndex;
        }
      }
      onFragLoaded(event, data) {
        const {
          frag,
          payload
        } = data;
        if (frag.type === PlaylistLevelType.SUBTITLE) {
          // If fragment is subtitle type, parse as WebVTT.
          if (payload.byteLength) {
            const decryptData = frag.decryptdata;
            // fragment after decryption has a stats object
            const decrypted = 'stats' in data;
            // If the subtitles are not encrypted, parse VTTs now. Otherwise, we need to wait.
            if (decryptData == null || !decryptData.encrypted || decrypted) {
              const trackPlaylistMedia = this.tracks[frag.level];
              const vttCCs = this.vttCCs;
              if (!vttCCs[frag.cc]) {
                vttCCs[frag.cc] = {
                  start: frag.start,
                  prevCC: this.prevCC,
                  new: true
                };
                this.prevCC = frag.cc;
              }
              if (trackPlaylistMedia && trackPlaylistMedia.textCodec === IMSC1_CODEC) {
                this._parseIMSC1(frag, payload);
              } else {
                this._parseVTTs(data);
              }
            }
          } else {
            // In case there is no payload, finish unsuccessfully.
            this.hls.trigger(Events.SUBTITLE_FRAG_PROCESSED, {
              success: false,
              frag,
              error: new Error('Empty subtitle payload')
            });
          }
        }
      }
      _parseIMSC1(frag, payload) {
        const hls = this.hls;
        parseIMSC1(payload, this.initPTS[frag.cc], cues => {
          this._appendCues(cues, frag.level);
          hls.trigger(Events.SUBTITLE_FRAG_PROCESSED, {
            success: true,
            frag: frag
          });
        }, error => {
          hls.logger.log(`Failed to parse IMSC1: ${error}`);
          hls.trigger(Events.SUBTITLE_FRAG_PROCESSED, {
            success: false,
            frag: frag,
            error
          });
        });
      }
      _parseVTTs(data) {
        var _frag$initSegment;
        const {
          frag,
          payload
        } = data;
        // We need an initial synchronisation PTS. Store fragments as long as none has arrived
        const {
          initPTS,
          unparsedVttFrags
        } = this;
        const maxAvCC = initPTS.length - 1;
        if (!initPTS[frag.cc] && maxAvCC === -1) {
          unparsedVttFrags.push(data);
          return;
        }
        const hls = this.hls;
        // Parse the WebVTT file contents.
        const payloadWebVTT = (_frag$initSegment = frag.initSegment) != null && _frag$initSegment.data ? appendUint8Array(frag.initSegment.data, new Uint8Array(payload)).buffer : payload;
        parseWebVTT(payloadWebVTT, this.initPTS[frag.cc], this.vttCCs, frag.cc, frag.start, cues => {
          this._appendCues(cues, frag.level);
          hls.trigger(Events.SUBTITLE_FRAG_PROCESSED, {
            success: true,
            frag: frag
          });
        }, error => {
          const missingInitPTS = error.message === 'Missing initPTS for VTT MPEGTS';
          if (missingInitPTS) {
            unparsedVttFrags.push(data);
          } else {
            this._fallbackToIMSC1(frag, payload);
          }
          // Something went wrong while parsing. Trigger event with success false.
          hls.logger.log(`Failed to parse VTT cue: ${error}`);
          if (missingInitPTS && maxAvCC > frag.cc) {
            return;
          }
          hls.trigger(Events.SUBTITLE_FRAG_PROCESSED, {
            success: false,
            frag: frag,
            error
          });
        });
      }
      _fallbackToIMSC1(frag, payload) {
        // If textCodec is unknown, try parsing as IMSC1. Set textCodec based on the result
        const trackPlaylistMedia = this.tracks[frag.level];
        if (!trackPlaylistMedia.textCodec) {
          parseIMSC1(payload, this.initPTS[frag.cc], () => {
            trackPlaylistMedia.textCodec = IMSC1_CODEC;
            this._parseIMSC1(frag, payload);
          }, () => {
            trackPlaylistMedia.textCodec = 'wvtt';
          });
        }
      }
      _appendCues(cues, fragLevel) {
        const hls = this.hls;
        if (this.config.renderTextTracksNatively) {
          const textTrack = this.textTracks[fragLevel];
          // WebVTTParser.parse is an async method and if the currently selected text track mode is set to "disabled"
          // before parsing is done then don't try to access currentTrack.cues.getCueById as cues will be null
          // and trying to access getCueById method of cues will throw an exception
          // Because we check if the mode is disabled, we can force check `cues` below. They can't be null.
          if (!textTrack || textTrack.mode === 'disabled') {
            return;
          }
          cues.forEach(cue => addCueToTrack(textTrack, cue));
        } else {
          const currentTrack = this.tracks[fragLevel];
          if (!currentTrack) {
            return;
          }
          const track = currentTrack.default ? 'default' : 'subtitles' + fragLevel;
          hls.trigger(Events.CUES_PARSED, {
            type: 'subtitles',
            cues,
            track
          });
        }
      }
      onFragDecrypted(event, data) {
        const {
          frag
        } = data;
        if (frag.type === PlaylistLevelType.SUBTITLE) {
          this.onFragLoaded(Events.FRAG_LOADED, data);
        }
      }
      onSubtitleTracksCleared() {
        this.tracks = [];
        this.captionsTracks = {};
      }
      onFragParsingUserdata(event, data) {
        if (!this.enabled || !this.config.enableCEA708Captions) {
          return;
        }
        const {
          frag,
          samples
        } = data;
        if (frag.type === PlaylistLevelType.MAIN && this.closedCaptionsForLevel(frag) === 'NONE') {
          return;
        }
        // If the event contains captions (found in the bytes property), push all bytes into the parser immediately
        // It will create the proper timestamps based on the PTS value
        for (let i = 0; i < samples.length; i++) {
          const ccBytes = samples[i].bytes;
          if (ccBytes) {
            if (!this.cea608Parser1) {
              this.initCea608Parsers();
            }
            const ccdatas = this.extractCea608Data(ccBytes);
            this.cea608Parser1.addData(samples[i].pts, ccdatas[0]);
            this.cea608Parser2.addData(samples[i].pts, ccdatas[1]);
          }
        }
      }
      onBufferFlushing(event, {
        startOffset,
        endOffset,
        endOffsetSubtitles,
        type
      }) {
        const {
          media
        } = this;
        if (!media || media.currentTime < endOffset) {
          return;
        }
        // Clear 608 caption cues from the captions TextTracks when the video back buffer is flushed
        // Forward cues are never removed because we can loose streamed 608 content from recent fragments
        if (!type || type === 'video') {
          const {
            captionsTracks
          } = this;
          Object.keys(captionsTracks).forEach(trackName => removeCuesInRange(captionsTracks[trackName], startOffset, endOffset));
        }
        if (this.config.renderTextTracksNatively) {
          // Clear VTT/IMSC1 subtitle cues from the subtitle TextTracks when the back buffer is flushed
          if (startOffset === 0 && endOffsetSubtitles !== undefined) {
            const {
              textTracks
            } = this;
            Object.keys(textTracks).forEach(trackName => removeCuesInRange(textTracks[trackName], startOffset, endOffsetSubtitles));
          }
        }
      }
      extractCea608Data(byteArray) {
        const actualCCBytes = [[], []];
        const count = byteArray[0] & 0x1f;
        let position = 2;
        for (let j = 0; j < count; j++) {
          const tmpByte = byteArray[position++];
          const ccbyte1 = 0x7f & byteArray[position++];
          const ccbyte2 = 0x7f & byteArray[position++];
          if (ccbyte1 === 0 && ccbyte2 === 0) {
            continue;
          }
          const ccValid = (0x04 & tmpByte) !== 0; // Support all four channels
          if (ccValid) {
            const ccType = 0x03 & tmpByte;
            if (0x00 /* CEA608 field1*/ === ccType || 0x01 /* CEA608 field2*/ === ccType) {
              // Exclude CEA708 CC data.
              actualCCBytes[ccType].push(ccbyte1);
              actualCCBytes[ccType].push(ccbyte2);
            }
          }
        }
        return actualCCBytes;
      }
    }
    function captionsOrSubtitlesFromCharacteristics(track) {
      if (track.characteristics) {
        if (/transcribes-spoken-dialog/gi.test(track.characteristics) && /describes-music-and-sound/gi.test(track.characteristics)) {
          return 'captions';
        }
      }
      return 'subtitles';
    }
    function canReuseVttTextTrack(inUseTrack, manifestTrack) {
      return !!inUseTrack && inUseTrack.kind === captionsOrSubtitlesFromCharacteristics(manifestTrack) && subtitleTrackMatchesTextTrack(manifestTrack, inUseTrack);
    }
    function intersection(x1, x2, y1, y2) {
      return Math.min(x2, y2) - Math.max(x1, y1);
    }
    function newVTTCCs() {
      return {
        ccOffset: 0,
        presentationOffset: 0,
        0: {
          start: 0,
          prevCC: -1,
          new: true
        }
      };
    }
    
    const WHITESPACE_CHAR = /\s/;
    const Cues = {
      newCue(track, startTime, endTime, captionScreen) {
        const result = [];
        let row;
        // the type data states this is VTTCue, but it can potentially be a TextTrackCue on old browsers
        let cue;
        let indenting;
        let indent;
        let text;
        const Cue = self.VTTCue || self.TextTrackCue;
        for (let r = 0; r < captionScreen.rows.length; r++) {
          row = captionScreen.rows[r];
          indenting = true;
          indent = 0;
          text = '';
          if (!row.isEmpty()) {
            var _track$cues;
            for (let c = 0; c < row.chars.length; c++) {
              if (WHITESPACE_CHAR.test(row.chars[c].uchar) && indenting) {
                indent++;
              } else {
                text += row.chars[c].uchar;
                indenting = false;
              }
            }
            // To be used for cleaning-up orphaned roll-up captions
            row.cueStartTime = startTime;
    
            // Give a slight bump to the endTime if it's equal to startTime to avoid a SyntaxError in IE
            if (startTime === endTime) {
              endTime += 0.0001;
            }
            if (indent >= 16) {
              indent--;
            } else {
              indent++;
            }
            const cueText = fixLineBreaks(text.trim());
            const id = generateCueId(startTime, endTime, cueText);
    
            // If this cue already exists in the track do not push it
            if (!(track != null && (_track$cues = track.cues) != null && _track$cues.getCueById(id))) {
              cue = new Cue(startTime, endTime, cueText);
              cue.id = id;
              cue.line = r + 1;
              cue.align = 'left';
              // Clamp the position between 10 and 80 percent (CEA-608 PAC indent code)
              // https://dvcs.w3.org/hg/text-tracks/raw-file/default/608toVTT/608toVTT.html#positioning-in-cea-608
              // Firefox throws an exception and captions break with out of bounds 0-100 values
              cue.position = 10 + Math.min(80, Math.floor(indent * 8 / 32) * 10);
              result.push(cue);
            }
          }
        }
        if (track && result.length) {
          // Sort bottom cues in reverse order so that they render in line order when overlapping in Chrome
          result.sort((cueA, cueB) => {
            if (cueA.line === 'auto' || cueB.line === 'auto') {
              return 0;
            }
            if (cueA.line > 8 && cueB.line > 8) {
              return cueB.line - cueA.line;
            }
            return cueA.line - cueB.line;
          });
          result.forEach(cue => addCueToTrack(track, cue));
        }
        return result;
      }
    };
    
    function fetchSupported() {
      if (
      // @ts-ignore
      self.fetch && self.AbortController && self.ReadableStream && self.Request) {
        try {
          new self.ReadableStream({}); // eslint-disable-line no-new
          return true;
        } catch (e) {
          /* noop */
        }
      }
      return false;
    }
    const BYTERANGE = /(\d+)-(\d+)\/(\d+)/;
    class FetchLoader {
      constructor(config) {
        this.fetchSetup = void 0;
        this.requestTimeout = void 0;
        this.request = null;
        this.response = null;
        this.controller = void 0;
        this.context = null;
        this.config = null;
        this.callbacks = null;
        this.stats = void 0;
        this.loader = null;
        this.fetchSetup = config.fetchSetup || getRequest;
        this.controller = new self.AbortController();
        this.stats = new LoadStats();
      }
      destroy() {
        this.loader = this.callbacks = this.context = this.config = this.request = null;
        this.abortInternal();
        this.response = null;
        // @ts-ignore
        this.fetchSetup = this.controller = this.stats = null;
      }
      abortInternal() {
        if (this.controller && !this.stats.loading.end) {
          this.stats.aborted = true;
          this.controller.abort();
        }
      }
      abort() {
        var _this$callbacks;
        this.abortInternal();
        if ((_this$callbacks = this.callbacks) != null && _this$callbacks.onAbort) {
          this.callbacks.onAbort(this.stats, this.context, this.response);
        }
      }
      load(context, config, callbacks) {
        const stats = this.stats;
        if (stats.loading.start) {
          throw new Error('Loader can only be used once.');
        }
        stats.loading.start = self.performance.now();
        const initParams = getRequestParameters(context, this.controller.signal);
        const isArrayBuffer = context.responseType === 'arraybuffer';
        const LENGTH = isArrayBuffer ? 'byteLength' : 'length';
        const {
          maxTimeToFirstByteMs,
          maxLoadTimeMs
        } = config.loadPolicy;
        this.context = context;
        this.config = config;
        this.callbacks = callbacks;
        this.request = this.fetchSetup(context, initParams);
        self.clearTimeout(this.requestTimeout);
        config.timeout = maxTimeToFirstByteMs && isFiniteNumber(maxTimeToFirstByteMs) ? maxTimeToFirstByteMs : maxLoadTimeMs;
        this.requestTimeout = self.setTimeout(() => {
          if (this.callbacks) {
            this.abortInternal();
            this.callbacks.onTimeout(stats, context, this.response);
          }
        }, config.timeout);
        const fetchPromise = isPromise(this.request) ? this.request.then(self.fetch) : self.fetch(this.request);
        fetchPromise.then(response => {
          var _this$callbacks2;
          this.response = this.loader = response;
          const first = Math.max(self.performance.now(), stats.loading.start);
          self.clearTimeout(this.requestTimeout);
          config.timeout = maxLoadTimeMs;
          this.requestTimeout = self.setTimeout(() => {
            if (this.callbacks) {
              this.abortInternal();
              this.callbacks.onTimeout(stats, context, this.response);
            }
          }, maxLoadTimeMs - (first - stats.loading.start));
          if (!response.ok) {
            const {
              status,
              statusText
            } = response;
            throw new FetchError(statusText || 'fetch, bad network response', status, response);
          }
          stats.loading.first = first;
          stats.total = getContentLength(response.headers) || stats.total;
          const onProgress = (_this$callbacks2 = this.callbacks) == null ? void 0 : _this$callbacks2.onProgress;
          if (onProgress && isFiniteNumber(config.highWaterMark)) {
            return this.loadProgressively(response, stats, context, config.highWaterMark, onProgress);
          }
          if (isArrayBuffer) {
            return response.arrayBuffer();
          }
          if (context.responseType === 'json') {
            return response.json();
          }
          return response.text();
        }).then(responseData => {
          var _this$callbacks3, _this$callbacks4;
          const response = this.response;
          if (!response) {
            throw new Error('loader destroyed');
          }
          self.clearTimeout(this.requestTimeout);
          stats.loading.end = Math.max(self.performance.now(), stats.loading.first);
          const total = responseData[LENGTH];
          if (total) {
            stats.loaded = stats.total = total;
          }
          const loaderResponse = {
            url: response.url,
            data: responseData,
            code: response.status
          };
          const onProgress = (_this$callbacks3 = this.callbacks) == null ? void 0 : _this$callbacks3.onProgress;
          if (onProgress && !isFiniteNumber(config.highWaterMark)) {
            onProgress(stats, context, responseData, response);
          }
          (_this$callbacks4 = this.callbacks) == null || _this$callbacks4.onSuccess(loaderResponse, stats, context, response);
        }).catch(error => {
          var _this$callbacks5;
          self.clearTimeout(this.requestTimeout);
          if (stats.aborted) {
            return;
          }
          // CORS errors result in an undefined code. Set it to 0 here to align with XHR's behavior
          // when destroying, 'error' itself can be undefined
          const code = !error ? 0 : error.code || 0;
          const text = !error ? null : error.message;
          (_this$callbacks5 = this.callbacks) == null || _this$callbacks5.onError({
            code,
            text
          }, context, error ? error.details : null, stats);
        });
      }
      getCacheAge() {
        let result = null;
        if (this.response) {
          const ageHeader = this.response.headers.get('age');
          result = ageHeader ? parseFloat(ageHeader) : null;
        }
        return result;
      }
      getResponseHeader(name) {
        return this.response ? this.response.headers.get(name) : null;
      }
      loadProgressively(response, stats, context, highWaterMark = 0, onProgress) {
        const chunkCache = new ChunkCache();
        const reader = response.body.getReader();
        const pump = () => {
          return reader.read().then(data => {
            if (data.done) {
              if (chunkCache.dataLength) {
                onProgress(stats, context, chunkCache.flush().buffer, response);
              }
              return Promise.resolve(new ArrayBuffer(0));
            }
            const chunk = data.value;
            const len = chunk.length;
            stats.loaded += len;
            if (len < highWaterMark || chunkCache.dataLength) {
              // The current chunk is too small to to be emitted or the cache already has data
              // Push it to the cache
              chunkCache.push(chunk);
              if (chunkCache.dataLength >= highWaterMark) {
                // flush in order to join the typed arrays
                onProgress(stats, context, chunkCache.flush().buffer, response);
              }
            } else {
              // If there's nothing cached already, and the chache is large enough
              // just emit the progress event
              onProgress(stats, context, chunk.buffer, response);
            }
            return pump();
          }).catch(() => {
            /* aborted */
            return Promise.reject();
          });
        };
        return pump();
      }
    }
    function getRequestParameters(context, signal) {
      const initParams = {
        method: 'GET',
        mode: 'cors',
        credentials: 'same-origin',
        signal,
        headers: new self.Headers(_extends({}, context.headers))
      };
      if (context.rangeEnd) {
        initParams.headers.set('Range', 'bytes=' + context.rangeStart + '-' + String(context.rangeEnd - 1));
      }
      return initParams;
    }
    function getByteRangeLength(byteRangeHeader) {
      const result = BYTERANGE.exec(byteRangeHeader);
      if (result) {
        return parseInt(result[2]) - parseInt(result[1]) + 1;
      }
    }
    function getContentLength(headers) {
      const contentRange = headers.get('Content-Range');
      if (contentRange) {
        const byteRangeLength = getByteRangeLength(contentRange);
        if (isFiniteNumber(byteRangeLength)) {
          return byteRangeLength;
        }
      }
      const contentLength = headers.get('Content-Length');
      if (contentLength) {
        return parseInt(contentLength);
      }
    }
    function getRequest(context, initParams) {
      return new self.Request(context.url, initParams);
    }
    class FetchError extends Error {
      constructor(message, code, details) {
        super(message);
        this.code = void 0;
        this.details = void 0;
        this.code = code;
        this.details = details;
      }
    }
    
    const AGE_HEADER_LINE_REGEX = /^age:\s*[\d.]+\s*$/im;
    class XhrLoader {
      constructor(config) {
        this.xhrSetup = void 0;
        this.requestTimeout = void 0;
        this.retryTimeout = void 0;
        this.retryDelay = void 0;
        this.config = null;
        this.callbacks = null;
        this.context = null;
        this.loader = null;
        this.stats = void 0;
        this.xhrSetup = config ? config.xhrSetup || null : null;
        this.stats = new LoadStats();
        this.retryDelay = 0;
      }
      destroy() {
        this.callbacks = null;
        this.abortInternal();
        this.loader = null;
        this.config = null;
        this.context = null;
        this.xhrSetup = null;
      }
      abortInternal() {
        const loader = this.loader;
        self.clearTimeout(this.requestTimeout);
        self.clearTimeout(this.retryTimeout);
        if (loader) {
          loader.onreadystatechange = null;
          loader.onprogress = null;
          if (loader.readyState !== 4) {
            this.stats.aborted = true;
            loader.abort();
          }
        }
      }
      abort() {
        var _this$callbacks;
        this.abortInternal();
        if ((_this$callbacks = this.callbacks) != null && _this$callbacks.onAbort) {
          this.callbacks.onAbort(this.stats, this.context, this.loader);
        }
      }
      load(context, config, callbacks) {
        if (this.stats.loading.start) {
          throw new Error('Loader can only be used once.');
        }
        this.stats.loading.start = self.performance.now();
        this.context = context;
        this.config = config;
        this.callbacks = callbacks;
        this.loadInternal();
      }
      loadInternal() {
        const {
          config,
          context
        } = this;
        if (!config || !context) {
          return;
        }
        const xhr = this.loader = new self.XMLHttpRequest();
        const stats = this.stats;
        stats.loading.first = 0;
        stats.loaded = 0;
        stats.aborted = false;
        const xhrSetup = this.xhrSetup;
        if (xhrSetup) {
          Promise.resolve().then(() => {
            if (this.loader !== xhr || this.stats.aborted) return;
            return xhrSetup(xhr, context.url);
          }).catch(error => {
            if (this.loader !== xhr || this.stats.aborted) return;
            xhr.open('GET', context.url, true);
            return xhrSetup(xhr, context.url);
          }).then(() => {
            if (this.loader !== xhr || this.stats.aborted) return;
            this.openAndSendXhr(xhr, context, config);
          }).catch(error => {
            var _this$callbacks2;
            // IE11 throws an exception on xhr.open if attempting to access an HTTP resource over HTTPS
            (_this$callbacks2 = this.callbacks) == null || _this$callbacks2.onError({
              code: xhr.status,
              text: error.message
            }, context, xhr, stats);
            return;
          });
        } else {
          this.openAndSendXhr(xhr, context, config);
        }
      }
      openAndSendXhr(xhr, context, config) {
        if (!xhr.readyState) {
          xhr.open('GET', context.url, true);
        }
        const headers = context.headers;
        const {
          maxTimeToFirstByteMs,
          maxLoadTimeMs
        } = config.loadPolicy;
        if (headers) {
          for (const header in headers) {
            xhr.setRequestHeader(header, headers[header]);
          }
        }
        if (context.rangeEnd) {
          xhr.setRequestHeader('Range', 'bytes=' + context.rangeStart + '-' + (context.rangeEnd - 1));
        }
        xhr.onreadystatechange = this.readystatechange.bind(this);
        xhr.onprogress = this.loadprogress.bind(this);
        xhr.responseType = context.responseType;
        // setup timeout before we perform request
        self.clearTimeout(this.requestTimeout);
        config.timeout = maxTimeToFirstByteMs && isFiniteNumber(maxTimeToFirstByteMs) ? maxTimeToFirstByteMs : maxLoadTimeMs;
        this.requestTimeout = self.setTimeout(this.loadtimeout.bind(this), config.timeout);
        xhr.send();
      }
      readystatechange() {
        const {
          context,
          loader: xhr,
          stats
        } = this;
        if (!context || !xhr) {
          return;
        }
        const readyState = xhr.readyState;
        const config = this.config;
    
        // don't proceed if xhr has been aborted
        if (stats.aborted) {
          return;
        }
    
        // >= HEADERS_RECEIVED
        if (readyState >= 2) {
          if (stats.loading.first === 0) {
            stats.loading.first = Math.max(self.performance.now(), stats.loading.start);
            // readyState >= 2 AND readyState !==4 (readyState = HEADERS_RECEIVED || LOADING) rearm timeout as xhr not finished yet
            if (config.timeout !== config.loadPolicy.maxLoadTimeMs) {
              self.clearTimeout(this.requestTimeout);
              config.timeout = config.loadPolicy.maxLoadTimeMs;
              this.requestTimeout = self.setTimeout(this.loadtimeout.bind(this), config.loadPolicy.maxLoadTimeMs - (stats.loading.first - stats.loading.start));
            }
          }
          if (readyState === 4) {
            self.clearTimeout(this.requestTimeout);
            xhr.onreadystatechange = null;
            xhr.onprogress = null;
            const status = xhr.status;
            // http status between 200 to 299 are all successful
            const useResponseText = xhr.responseType === 'text' ? xhr.responseText : null;
            if (status >= 200 && status < 300) {
              const data = useResponseText != null ? useResponseText : xhr.response;
              if (data != null) {
                var _this$callbacks3, _this$callbacks4;
                stats.loading.end = Math.max(self.performance.now(), stats.loading.first);
                const len = xhr.responseType === 'arraybuffer' ? data.byteLength : data.length;
                stats.loaded = stats.total = len;
                stats.bwEstimate = stats.total * 8000 / (stats.loading.end - stats.loading.first);
                const onProgress = (_this$callbacks3 = this.callbacks) == null ? void 0 : _this$callbacks3.onProgress;
                if (onProgress) {
                  onProgress(stats, context, data, xhr);
                }
                const _response = {
                  url: xhr.responseURL,
                  data: data,
                  code: status
                };
                (_this$callbacks4 = this.callbacks) == null || _this$callbacks4.onSuccess(_response, stats, context, xhr);
                return;
              }
            }
    
            // Handle bad status or nullish response
            const retryConfig = config.loadPolicy.errorRetry;
            const retryCount = stats.retry;
            // if max nb of retries reached or if http status between 400 and 499 (such error cannot be recovered, retrying is useless), return error
            const response = {
              url: context.url,
              data: undefined,
              code: status
            };
            if (shouldRetry(retryConfig, retryCount, false, response)) {
              this.retry(retryConfig);
            } else {
              var _this$callbacks5;
              logger.error(`${status} while loading ${context.url}`);
              (_this$callbacks5 = this.callbacks) == null || _this$callbacks5.onError({
                code: status,
                text: xhr.statusText
              }, context, xhr, stats);
            }
          }
        }
      }
      loadtimeout() {
        if (!this.config) return;
        const retryConfig = this.config.loadPolicy.timeoutRetry;
        const retryCount = this.stats.retry;
        if (shouldRetry(retryConfig, retryCount, true)) {
          this.retry(retryConfig);
        } else {
          var _this$context;
          logger.warn(`timeout while loading ${(_this$context = this.context) == null ? void 0 : _this$context.url}`);
          const callbacks = this.callbacks;
          if (callbacks) {
            this.abortInternal();
            callbacks.onTimeout(this.stats, this.context, this.loader);
          }
        }
      }
      retry(retryConfig) {
        const {
          context,
          stats
        } = this;
        this.retryDelay = getRetryDelay(retryConfig, stats.retry);
        stats.retry++;
        logger.warn(`${status ? 'HTTP Status ' + status : 'Timeout'} while loading ${context == null ? void 0 : context.url}, retrying ${stats.retry}/${retryConfig.maxNumRetry} in ${this.retryDelay}ms`);
        // abort and reset internal state
        this.abortInternal();
        this.loader = null;
        // schedule retry
        self.clearTimeout(this.retryTimeout);
        this.retryTimeout = self.setTimeout(this.loadInternal.bind(this), this.retryDelay);
      }
      loadprogress(event) {
        const stats = this.stats;
        stats.loaded = event.loaded;
        if (event.lengthComputable) {
          stats.total = event.total;
        }
      }
      getCacheAge() {
        let result = null;
        if (this.loader && AGE_HEADER_LINE_REGEX.test(this.loader.getAllResponseHeaders())) {
          const ageHeader = this.loader.getResponseHeader('age');
          result = ageHeader ? parseFloat(ageHeader) : null;
        }
        return result;
      }
      getResponseHeader(name) {
        if (this.loader && new RegExp(`^${name}:\\s*[\\d.]+\\s*$`, 'im').test(this.loader.getAllResponseHeaders())) {
          return this.loader.getResponseHeader(name);
        }
        return null;
      }
    }
    
    /**
     * @deprecated use fragLoadPolicy.default
     */
    
    /**
     * @deprecated use manifestLoadPolicy.default and playlistLoadPolicy.default
     */
    
    const defaultLoadPolicy = {
      maxTimeToFirstByteMs: 8000,
      maxLoadTimeMs: 20000,
      timeoutRetry: null,
      errorRetry: null
    };
    
    /**
     * @ignore
     * If possible, keep hlsDefaultConfig shallow
     * It is cloned whenever a new Hls instance is created, by keeping the config
     * shallow the properties are cloned, and we don't end up manipulating the default
     */
    const hlsDefaultConfig = _objectSpread2(_objectSpread2({
      autoStartLoad: true,
      // used by stream-controller
      startPosition: -1,
      // used by stream-controller
      defaultAudioCodec: undefined,
      // used by stream-controller
      debug: false,
      // used by logger
      capLevelOnFPSDrop: false,
      // used by fps-controller
      capLevelToPlayerSize: false,
      // used by cap-level-controller
      ignoreDevicePixelRatio: false,
      // used by cap-level-controller
      maxDevicePixelRatio: Number.POSITIVE_INFINITY,
      // used by cap-level-controller
      preferManagedMediaSource: true,
      initialLiveManifestSize: 1,
      // used by stream-controller
      maxBufferLength: 30,
      // used by stream-controller
      backBufferLength: Infinity,
      // used by buffer-controller
      frontBufferFlushThreshold: Infinity,
      startOnSegmentBoundary: false,
      // used by stream-controller
      maxBufferSize: 60 * 1000 * 1000,
      // used by stream-controller
      maxFragLookUpTolerance: 0.25,
      // used by stream-controller
      maxBufferHole: 0.1,
      // used by stream-controller and gap-controller
      detectStallWithCurrentTimeMs: 1250,
      // used by gap-controller
      highBufferWatchdogPeriod: 2,
      // used by gap-controller
      nudgeOffset: 0.1,
      // used by gap-controller
      nudgeMaxRetry: 3,
      // used by gap-controller
      nudgeOnVideoHole: true,
      // used by gap-controller
      liveSyncMode: 'edge',
      // used by stream-controller
      liveSyncDurationCount: 3,
      // used by latency-controller
      liveSyncOnStallIncrease: 1,
      // used by latency-controller
      liveMaxLatencyDurationCount: Infinity,
      // used by latency-controller
      liveSyncDuration: undefined,
      // used by latency-controller
      liveMaxLatencyDuration: undefined,
      // used by latency-controller
      maxLiveSyncPlaybackRate: 1,
      // used by latency-controller
      liveDurationInfinity: false,
      // used by buffer-controller
      /**
       * @deprecated use backBufferLength
       */
      liveBackBufferLength: null,
      // used by buffer-controller
      maxMaxBufferLength: 600,
      // used by stream-controller
      enableWorker: true,
      // used by transmuxer
      workerPath: null,
      // used by transmuxer
      enableSoftwareAES: true,
      // used by decrypter
      startLevel: undefined,
      // used by level-controller
      startFragPrefetch: false,
      // used by stream-controller
      fpsDroppedMonitoringPeriod: 5000,
      // used by fps-controller
      fpsDroppedMonitoringThreshold: 0.2,
      // used by fps-controller
      appendErrorMaxRetry: 3,
      // used by buffer-controller
      ignorePlaylistParsingErrors: false,
      loader: XhrLoader,
      // loader: FetchLoader,
      fLoader: undefined,
      // used by fragment-loader
      pLoader: undefined,
      // used by playlist-loader
      xhrSetup: undefined,
      // used by xhr-loader
      licenseXhrSetup: undefined,
      // used by eme-controller
      licenseResponseCallback: undefined,
      // used by eme-controller
      abrController: AbrController,
      bufferController: BufferController,
      capLevelController: CapLevelController,
      errorController: ErrorController,
      fpsController: FPSController,
      stretchShortVideoTrack: false,
      // used by mp4-remuxer
      maxAudioFramesDrift: 1,
      // used by mp4-remuxer
      forceKeyFrameOnDiscontinuity: true,
      // used by ts-demuxer
      abrEwmaFastLive: 3,
      // used by abr-controller
      abrEwmaSlowLive: 9,
      // used by abr-controller
      abrEwmaFastVoD: 3,
      // used by abr-controller
      abrEwmaSlowVoD: 9,
      // used by abr-controller
      abrEwmaDefaultEstimate: 5e5,
      // 500 kbps  // used by abr-controller
      abrEwmaDefaultEstimateMax: 5e6,
      // 5 mbps
      abrBandWidthFactor: 0.95,
      // used by abr-controller
      abrBandWidthUpFactor: 0.7,
      // used by abr-controller
      abrMaxWithRealBitrate: false,
      // used by abr-controller
      maxStarvationDelay: 4,
      // used by abr-controller
      maxLoadingDelay: 4,
      // used by abr-controller
      minAutoBitrate: 0,
      // used by hls
      emeEnabled: false,
      // used by eme-controller
      widevineLicenseUrl: undefined,
      // used by eme-controller
      drmSystems: {},
      // used by eme-controller
      drmSystemOptions: {},
      // used by eme-controller
      requestMediaKeySystemAccessFunc: requestMediaKeySystemAccess ,
      // used by eme-controller
      requireKeySystemAccessOnStart: false,
      // used by eme-controller
      testBandwidth: true,
      progressive: false,
      lowLatencyMode: true,
      cmcd: undefined,
      enableDateRangeMetadataCues: true,
      enableEmsgMetadataCues: true,
      enableEmsgKLVMetadata: false,
      enableID3MetadataCues: true,
      enableInterstitialPlayback: true,
      interstitialAppendInPlace: true,
      interstitialLiveLookAhead: 10,
      useMediaCapabilities: true,
      preserveManualLevelOnError: false,
      certLoadPolicy: {
        default: defaultLoadPolicy
      },
      keyLoadPolicy: {
        default: {
          maxTimeToFirstByteMs: 8000,
          maxLoadTimeMs: 20000,
          timeoutRetry: {
            maxNumRetry: 1,
            retryDelayMs: 1000,
            maxRetryDelayMs: 20000,
            backoff: 'linear'
          },
          errorRetry: {
            maxNumRetry: 8,
            retryDelayMs: 1000,
            maxRetryDelayMs: 20000,
            backoff: 'linear'
          }
        }
      },
      manifestLoadPolicy: {
        default: {
          maxTimeToFirstByteMs: Infinity,
          maxLoadTimeMs: 20000,
          timeoutRetry: {
            maxNumRetry: 2,
            retryDelayMs: 0,
            maxRetryDelayMs: 0
          },
          errorRetry: {
            maxNumRetry: 1,
            retryDelayMs: 1000,
            maxRetryDelayMs: 8000
          }
        }
      },
      playlistLoadPolicy: {
        default: {
          maxTimeToFirstByteMs: 10000,
          maxLoadTimeMs: 20000,
          timeoutRetry: {
            maxNumRetry: 2,
            retryDelayMs: 0,
            maxRetryDelayMs: 0
          },
          errorRetry: {
            maxNumRetry: 2,
            retryDelayMs: 1000,
            maxRetryDelayMs: 8000
          }
        }
      },
      fragLoadPolicy: {
        default: {
          maxTimeToFirstByteMs: 10000,
          maxLoadTimeMs: 120000,
          timeoutRetry: {
            maxNumRetry: 4,
            retryDelayMs: 0,
            maxRetryDelayMs: 0
          },
          errorRetry: {
            maxNumRetry: 6,
            retryDelayMs: 1000,
            maxRetryDelayMs: 8000
          }
        }
      },
      steeringManifestLoadPolicy: {
        default: {
          maxTimeToFirstByteMs: 10000,
          maxLoadTimeMs: 20000,
          timeoutRetry: {
            maxNumRetry: 2,
            retryDelayMs: 0,
            maxRetryDelayMs: 0
          },
          errorRetry: {
            maxNumRetry: 1,
            retryDelayMs: 1000,
            maxRetryDelayMs: 8000
          }
        } 
      },
      interstitialAssetListLoadPolicy: {
        default: {
          maxTimeToFirstByteMs: 10000,
          maxLoadTimeMs: 30000,
          timeoutRetry: {
            maxNumRetry: 0,
            retryDelayMs: 0,
            maxRetryDelayMs: 0
          },
          errorRetry: {
            maxNumRetry: 0,
            retryDelayMs: 1000,
            maxRetryDelayMs: 8000
          }
        } 
      },
      // These default settings are deprecated in favor of the above policies
      // and are maintained for backwards compatibility
      manifestLoadingTimeOut: 10000,
      manifestLoadingMaxRetry: 1,
      manifestLoadingRetryDelay: 1000,
      manifestLoadingMaxRetryTimeout: 64000,
      levelLoadingTimeOut: 10000,
      levelLoadingMaxRetry: 4,
      levelLoadingRetryDelay: 1000,
      levelLoadingMaxRetryTimeout: 64000,
      fragLoadingTimeOut: 20000,
      fragLoadingMaxRetry: 6,
      fragLoadingRetryDelay: 1000,
      fragLoadingMaxRetryTimeout: 64000
    }, timelineConfig()), {}, {
      subtitleStreamController: SubtitleStreamController ,
      subtitleTrackController: SubtitleTrackController ,
      timelineController: TimelineController ,
      audioStreamController: AudioStreamController ,
      audioTrackController: AudioTrackController ,
      emeController: EMEController ,
      cmcdController: CMCDController ,
      contentSteeringController: ContentSteeringController ,
      interstitialsController: InterstitialsController 
    });
    function timelineConfig() {
      return {
        cueHandler: Cues,
        // used by timeline-controller
        enableWebVTT: true,
        // used by timeline-controller
        enableIMSC1: true,
        // used by timeline-controller
        enableCEA708Captions: true,
        // used by timeline-controller
        captionsTextTrack1Label: 'English',
        // used by timeline-controller
        captionsTextTrack1LanguageCode: 'en',
        // used by timeline-controller
        captionsTextTrack2Label: 'Spanish',
        // used by timeline-controller
        captionsTextTrack2LanguageCode: 'es',
        // used by timeline-controller
        captionsTextTrack3Label: 'Unknown CC',
        // used by timeline-controller
        captionsTextTrack3LanguageCode: '',
        // used by timeline-controller
        captionsTextTrack4Label: 'Unknown CC',
        // used by timeline-controller
        captionsTextTrack4LanguageCode: '',
        // used by timeline-controller
        renderTextTracksNatively: true
      };
    }
    
    /**
     * @ignore
     */
    function mergeConfig(defaultConfig, userConfig, logger) {
      if ((userConfig.liveSyncDurationCount || userConfig.liveMaxLatencyDurationCount) && (userConfig.liveSyncDuration || userConfig.liveMaxLatencyDuration)) {
        throw new Error("Illegal hls.js config: don't mix up liveSyncDurationCount/liveMaxLatencyDurationCount and liveSyncDuration/liveMaxLatencyDuration");
      }
      if (userConfig.liveMaxLatencyDurationCount !== undefined && (userConfig.liveSyncDurationCount === undefined || userConfig.liveMaxLatencyDurationCount <= userConfig.liveSyncDurationCount)) {
        throw new Error('Illegal hls.js config: "liveMaxLatencyDurationCount" must be greater than "liveSyncDurationCount"');
      }
      if (userConfig.liveMaxLatencyDuration !== undefined && (userConfig.liveSyncDuration === undefined || userConfig.liveMaxLatencyDuration <= userConfig.liveSyncDuration)) {
        throw new Error('Illegal hls.js config: "liveMaxLatencyDuration" must be greater than "liveSyncDuration"');
      }
      const defaultsCopy = deepCpy(defaultConfig);
    
      // Backwards compatibility with deprecated config values
      const deprecatedSettingTypes = ['manifest', 'level', 'frag'];
      const deprecatedSettings = ['TimeOut', 'MaxRetry', 'RetryDelay', 'MaxRetryTimeout'];
      deprecatedSettingTypes.forEach(type => {
        const policyName = `${type === 'level' ? 'playlist' : type}LoadPolicy`;
        const policyNotSet = userConfig[policyName] === undefined;
        const report = [];
        deprecatedSettings.forEach(setting => {
          const deprecatedSetting = `${type}Loading${setting}`;
          const value = userConfig[deprecatedSetting];
          if (value !== undefined && policyNotSet) {
            report.push(deprecatedSetting);
            const settings = defaultsCopy[policyName].default;
            userConfig[policyName] = {
              default: settings
            };
            switch (setting) {
              case 'TimeOut':
                settings.maxLoadTimeMs = value;
                settings.maxTimeToFirstByteMs = value;
                break;
              case 'MaxRetry':
                settings.errorRetry.maxNumRetry = value;
                settings.timeoutRetry.maxNumRetry = value;
                break;
              case 'RetryDelay':
                settings.errorRetry.retryDelayMs = value;
                settings.timeoutRetry.retryDelayMs = value;
                break;
              case 'MaxRetryTimeout':
                settings.errorRetry.maxRetryDelayMs = value;
                settings.timeoutRetry.maxRetryDelayMs = value;
                break;
            }
          }
        });
        if (report.length) {
          logger.warn(`hls.js config: "${report.join('", "')}" setting(s) are deprecated, use "${policyName}": ${stringify(userConfig[policyName])}`);
        }
      });
      return _objectSpread2(_objectSpread2({}, defaultsCopy), userConfig);
    }
    function deepCpy(obj) {
      if (obj && typeof obj === 'object') {
        if (Array.isArray(obj)) {
          return obj.map(deepCpy);
        }
        return Object.keys(obj).reduce((result, key) => {
          result[key] = deepCpy(obj[key]);
          return result;
        }, {});
      }
      return obj;
    }
    
    /**
     * @ignore
     */
    function enableStreamingMode(config, logger) {
      const currentLoader = config.loader;
      if (currentLoader !== FetchLoader && currentLoader !== XhrLoader) {
        // If a developer has configured their own loader, respect that choice
        logger.log('[config]: Custom loader detected, cannot enable progressive streaming');
        config.progressive = false;
      } else {
        const canStreamProgressively = fetchSupported();
        if (canStreamProgressively) {
          config.loader = FetchLoader;
          config.progressive = true;
          config.enableSoftwareAES = true;
          logger.log('[config]: Progressive streaming enabled, using FetchLoader');
        }
      }
    }
    
    const MAX_START_GAP_JUMP = 2.0;
    const SKIP_BUFFER_HOLE_STEP_SECONDS = 0.1;
    const SKIP_BUFFER_RANGE_START = 0.05;
    const TICK_INTERVAL$1 = 100;
    class GapController extends TaskLoop {
      constructor(hls, fragmentTracker) {
        super('gap-controller', hls.logger);
        this.hls = void 0;
        this.fragmentTracker = void 0;
        this.media = null;
        this.mediaSource = void 0;
        this.nudgeRetry = 0;
        this.stallReported = false;
        this.stalled = null;
        this.moved = false;
        this.seeking = false;
        this.buffered = {};
        this.lastCurrentTime = 0;
        this.ended = 0;
        this.waiting = 0;
        this.onMediaPlaying = () => {
          this.ended = 0;
          this.waiting = 0;
        };
        this.onMediaWaiting = () => {
          var _this$media;
          if ((_this$media = this.media) != null && _this$media.seeking) {
            return;
          }
          this.waiting = self.performance.now();
          this.tick();
        };
        this.onMediaEnded = () => {
          if (this.hls) {
            var _this$media2;
            // ended is set when triggering MEDIA_ENDED so that we do not trigger it again on stall or on tick with media.ended
            this.ended = ((_this$media2 = this.media) == null ? void 0 : _this$media2.currentTime) || 1;
            this.hls.trigger(Events.MEDIA_ENDED, {
              stalled: false
            });
          }
        };
        this.hls = hls;
        this.fragmentTracker = fragmentTracker;
        this.registerListeners();
      }
      registerListeners() {
        const {
          hls
        } = this;
        if (hls) {
          hls.on(Events.MEDIA_ATTACHED, this.onMediaAttached, this);
          hls.on(Events.MEDIA_DETACHING, this.onMediaDetaching, this);
          hls.on(Events.BUFFER_APPENDED, this.onBufferAppended, this);
        }
      }
      unregisterListeners() {
        const {
          hls
        } = this;
        if (hls) {
          hls.off(Events.MEDIA_ATTACHED, this.onMediaAttached, this);
          hls.off(Events.MEDIA_DETACHING, this.onMediaDetaching, this);
          hls.off(Events.BUFFER_APPENDED, this.onBufferAppended, this);
        }
      }
      destroy() {
        super.destroy();
        this.unregisterListeners();
        this.media = this.hls = this.fragmentTracker = null;
        this.mediaSource = undefined;
      }
      onMediaAttached(event, data) {
        this.setInterval(TICK_INTERVAL$1);
        this.mediaSource = data.mediaSource;
        const media = this.media = data.media;
        addEventListener(media, 'playing', this.onMediaPlaying);
        addEventListener(media, 'waiting', this.onMediaWaiting);
        addEventListener(media, 'ended', this.onMediaEnded);
      }
      onMediaDetaching(event, data) {
        this.clearInterval();
        const {
          media
        } = this;
        if (media) {
          removeEventListener(media, 'playing', this.onMediaPlaying);
          removeEventListener(media, 'waiting', this.onMediaWaiting);
          removeEventListener(media, 'ended', this.onMediaEnded);
          this.media = null;
        }
        this.mediaSource = undefined;
      }
      onBufferAppended(event, data) {
        this.buffered = data.timeRanges;
      }
      get hasBuffered() {
        return Object.keys(this.buffered).length > 0;
      }
      tick() {
        var _this$media3;
        if (!((_this$media3 = this.media) != null && _this$media3.readyState) || !this.hasBuffered) {
          return;
        }
        const currentTime = this.media.currentTime;
        this.poll(currentTime, this.lastCurrentTime);
        this.lastCurrentTime = currentTime;
      }
    
      /**
       * Checks if the playhead is stuck within a gap, and if so, attempts to free it.
       * A gap is an unbuffered range between two buffered ranges (or the start and the first buffered range).
       *
       * @param lastCurrentTime - Previously read playhead position
       */
      poll(currentTime, lastCurrentTime) {
        var _this$hls, _this$hls2;
        const config = (_this$hls = this.hls) == null ? void 0 : _this$hls.config;
        if (!config) {
          return;
        }
        const media = this.media;
        if (!media) {
          return;
        }
        const {
          seeking
        } = media;
        const seeked = this.seeking && !seeking;
        const beginSeek = !this.seeking && seeking;
        const pausedEndedOrHalted = media.paused && !seeking || media.ended || media.playbackRate === 0;
        this.seeking = seeking;
    
        // The playhead is moving, no-op
        if (currentTime !== lastCurrentTime) {
          if (lastCurrentTime) {
            this.ended = 0;
          }
          this.moved = true;
          if (!seeking) {
            this.nudgeRetry = 0;
            // When crossing between buffered video time ranges, but not audio, flush pipeline with seek (Chrome)
            if (config.nudgeOnVideoHole && !pausedEndedOrHalted && currentTime > lastCurrentTime) {
              this.nudgeOnVideoHole(currentTime, lastCurrentTime);
            }
          }
          if (this.waiting === 0) {
            this.stallResolved(currentTime);
          }
          return;
        }
    
        // Clear stalled state when beginning or finishing seeking so that we don't report stalls coming out of a seek
        if (beginSeek || seeked) {
          if (seeked) {
            this.stallResolved(currentTime);
          }
          return;
        }
    
        // The playhead should not be moving
        if (pausedEndedOrHalted) {
          this.nudgeRetry = 0;
          this.stallResolved(currentTime);
          // Fire MEDIA_ENDED to workaround event not being dispatched by browser
          if (!this.ended && media.ended && this.hls) {
            this.ended = currentTime || 1;
            this.hls.trigger(Events.MEDIA_ENDED, {
              stalled: false
            });
          }
          return;
        }
        if (!BufferHelper.getBuffered(media).length) {
          this.nudgeRetry = 0;
          return;
        }
    
        // Resolve stalls at buffer holes using the main buffer, whose ranges are the intersections of the A/V sourcebuffers
        const bufferInfo = BufferHelper.bufferInfo(media, currentTime, 0);
        const nextStart = bufferInfo.nextStart || 0;
        const fragmentTracker = this.fragmentTracker;
        if (seeking && fragmentTracker && this.hls) {
          // Is there a fragment loading/parsing/appending before currentTime?
          const inFlightDependency = getInFlightDependency(this.hls.inFlightFragments, currentTime);
    
          // Waiting for seeking in a buffered range to complete
          const hasEnoughBuffer = bufferInfo.len > MAX_START_GAP_JUMP;
          // Next buffered range is too far ahead to jump to while still seeking
          const noBufferHole = !nextStart || inFlightDependency || nextStart - currentTime > MAX_START_GAP_JUMP && !fragmentTracker.getPartialFragment(currentTime);
          if (hasEnoughBuffer || noBufferHole) {
            return;
          }
          // Reset moved state when seeking to a point in or before a gap/hole
          this.moved = false;
        }
    
        // Skip start gaps if we haven't played, but the last poll detected the start of a stall
        // The addition poll gives the browser a chance to jump the gap for us
        const levelDetails = (_this$hls2 = this.hls) == null ? void 0 : _this$hls2.latestLevelDetails;
        if (!this.moved && this.stalled !== null && fragmentTracker) {
          // There is no playable buffer (seeked, waiting for buffer)
          const isBuffered = bufferInfo.len > 0;
          if (!isBuffered && !nextStart) {
            return;
          }
          // Jump start gaps within jump threshold
          const startJump = Math.max(nextStart, bufferInfo.start || 0) - currentTime;
    
          // When joining a live stream with audio tracks, account for live playlist window sliding by allowing
          // a larger jump over start gaps caused by the audio-stream-controller buffering a start fragment
          // that begins over 1 target duration after the video start position.
          const isLive = !!(levelDetails != null && levelDetails.live);
          const maxStartGapJump = isLive ? levelDetails.targetduration * 2 : MAX_START_GAP_JUMP;
          const appended = appendedFragAtPosition(currentTime, fragmentTracker);
          if (startJump > 0 && (startJump <= maxStartGapJump || appended)) {
            if (!media.paused) {
              this._trySkipBufferHole(appended);
            }
            return;
          }
        }
    
        // Start tracking stall time
        const detectStallWithCurrentTimeMs = config.detectStallWithCurrentTimeMs;
        const tnow = self.performance.now();
        const tWaiting = this.waiting;
        let stalled = this.stalled;
        if (stalled === null) {
          // Use time of recent "waiting" event
          if (tWaiting > 0 && tnow - tWaiting < detectStallWithCurrentTimeMs) {
            stalled = this.stalled = tWaiting;
          } else {
            this.stalled = tnow;
            return;
          }
        }
        const stalledDuration = tnow - stalled;
        if (!seeking && (stalledDuration >= detectStallWithCurrentTimeMs || tWaiting) && this.hls) {
          var _this$mediaSource;
          // Dispatch MEDIA_ENDED when media.ended/ended event is not signalled at end of stream
          if (((_this$mediaSource = this.mediaSource) == null ? void 0 : _this$mediaSource.readyState) === 'ended' && !(levelDetails != null && levelDetails.live) && Math.abs(currentTime - ((levelDetails == null ? void 0 : levelDetails.edge) || 0)) < 1) {
            if (this.ended) {
              return;
            }
            this.ended = currentTime || 1;
            this.hls.trigger(Events.MEDIA_ENDED, {
              stalled: true
            });
            return;
          }
          // Report stalling after trying to fix
          this._reportStall(bufferInfo);
          if (!this.media || !this.hls) {
            return;
          }
        }
        const bufferedWithHoles = BufferHelper.bufferInfo(media, currentTime, config.maxBufferHole);
        this._tryFixBufferStall(bufferedWithHoles, stalledDuration, currentTime);
      }
      stallResolved(currentTime) {
        const stalled = this.stalled;
        if (stalled && this.hls) {
          this.stalled = null;
          // The playhead is now moving, but was previously stalled
          if (this.stallReported) {
            const stalledDuration = self.performance.now() - stalled;
            this.log(`playback not stuck anymore @${currentTime}, after ${Math.round(stalledDuration)}ms`);
            this.stallReported = false;
            this.waiting = 0;
            this.hls.trigger(Events.STALL_RESOLVED, {});
          }
        }
      }
      nudgeOnVideoHole(currentTime, lastCurrentTime) {
        var _this$buffered$audio;
        // Chrome will play one second past a hole in video buffered time ranges without rendering any video from the subsequent range and then stall as long as audio is buffered:
        // https://github.com/video-dev/hls.js/issues/5631
        // https://issues.chromium.org/issues/40280613#comment10
        // Detect the potential for this situation and proactively seek to flush the video pipeline once the playhead passes the start of the video hole.
        // When there are audio and video buffers and currentTime is past the end of the first video buffered range...
        const videoSourceBuffered = this.buffered.video;
        if (this.hls && this.media && this.fragmentTracker && (_this$buffered$audio = this.buffered.audio) != null && _this$buffered$audio.length && videoSourceBuffered && videoSourceBuffered.length > 1 && currentTime > videoSourceBuffered.end(0)) {
          // and audio is buffered at the playhead
          const audioBufferInfo = BufferHelper.bufferedInfo(BufferHelper.timeRangesToArray(this.buffered.audio), currentTime, 0);
          if (audioBufferInfo.len > 1 && lastCurrentTime >= audioBufferInfo.start) {
            const videoTimes = BufferHelper.timeRangesToArray(videoSourceBuffered);
            const lastBufferedIndex = BufferHelper.bufferedInfo(videoTimes, lastCurrentTime, 0).bufferedIndex;
            // nudge when crossing into another video buffered range (hole).
            if (lastBufferedIndex > -1 && lastBufferedIndex < videoTimes.length - 1) {
              const bufferedIndex = BufferHelper.bufferedInfo(videoTimes, currentTime, 0).bufferedIndex;
              const holeStart = videoTimes[lastBufferedIndex].end;
              const holeEnd = videoTimes[lastBufferedIndex + 1].start;
              if ((bufferedIndex === -1 || bufferedIndex > lastBufferedIndex) && holeEnd - holeStart < 1 &&
              // `maxBufferHole` may be too small and setting it to 0 should not disable this feature
              currentTime - holeStart < 2) {
                const error = new Error(`nudging playhead to flush pipeline after video hole. currentTime: ${currentTime} hole: ${holeStart} -> ${holeEnd} buffered index: ${bufferedIndex}`);
                this.warn(error.message);
                // Magic number to flush the pipeline without interuption to audio playback:
                this.media.currentTime += 0.000001;
                let frag = appendedFragAtPosition(currentTime, this.fragmentTracker);
                if (frag && 'fragment' in frag) {
                  frag = frag.fragment;
                } else if (!frag) {
                  frag = undefined;
                }
                const bufferInfo = BufferHelper.bufferInfo(this.media, currentTime, 0);
                this.hls.trigger(Events.ERROR, {
                  type: ErrorTypes.MEDIA_ERROR,
                  details: ErrorDetails.BUFFER_SEEK_OVER_HOLE,
                  fatal: false,
                  error,
                  reason: error.message,
                  frag,
                  buffer: bufferInfo.len,
                  bufferInfo
                });
              }
            }
          }
        }
      }
    
      /**
       * Detects and attempts to fix known buffer stalling issues.
       * @param bufferInfo - The properties of the current buffer.
       * @param stalledDurationMs - The amount of time Hls.js has been stalling for.
       * @private
       */
      _tryFixBufferStall(bufferInfo, stalledDurationMs, currentTime) {
        var _this$hls3, _this$hls4;
        const {
          fragmentTracker,
          media
        } = this;
        const config = (_this$hls3 = this.hls) == null ? void 0 : _this$hls3.config;
        if (!media || !fragmentTracker || !config) {
          return;
        }
        const levelDetails = (_this$hls4 = this.hls) == null ? void 0 : _this$hls4.latestLevelDetails;
        const appended = appendedFragAtPosition(currentTime, fragmentTracker);
        if (appended || levelDetails != null && levelDetails.live && currentTime < levelDetails.fragmentStart) {
          // Try to skip over the buffer hole caused by a partial fragment
          // This method isn't limited by the size of the gap between buffered ranges
          const targetTime = this._trySkipBufferHole(appended);
          // we return here in this case, meaning
          // the branch below only executes when we haven't seeked to a new position
          if (targetTime || !this.media) {
            return;
          }
        }
    
        // if we haven't had to skip over a buffer hole of a partial fragment
        // we may just have to "nudge" the playlist as the browser decoding/rendering engine
        // needs to cross some sort of threshold covering all source-buffers content
        // to start playing properly.
        const bufferedRanges = bufferInfo.buffered;
        const adjacentTraversal = this.adjacentTraversal(bufferInfo, currentTime);
        if ((bufferedRanges && bufferedRanges.length > 1 && bufferInfo.len > config.maxBufferHole || bufferInfo.nextStart && (bufferInfo.nextStart - currentTime < config.maxBufferHole || adjacentTraversal)) && (stalledDurationMs > config.highBufferWatchdogPeriod * 1000 || this.waiting)) {
          this.warn('Trying to nudge playhead over buffer-hole');
          // Try to nudge currentTime over a buffer hole if we've been stalling for the configured amount of seconds
          // We only try to jump the hole if it's under the configured size
          this._tryNudgeBuffer(bufferInfo);
        }
      }
      adjacentTraversal(bufferInfo, currentTime) {
        const fragmentTracker = this.fragmentTracker;
        const nextStart = bufferInfo.nextStart;
        if (fragmentTracker && nextStart) {
          const current = fragmentTracker.getFragAtPos(currentTime, PlaylistLevelType.MAIN);
          const next = fragmentTracker.getFragAtPos(nextStart, PlaylistLevelType.MAIN);
          if (current && next) {
            return next.sn - current.sn < 2;
          }
        }
        return false;
      }
    
      /**
       * Triggers a BUFFER_STALLED_ERROR event, but only once per stall period.
       * @param bufferLen - The playhead distance from the end of the current buffer segment.
       * @private
       */
      _reportStall(bufferInfo) {
        const {
          hls,
          media,
          stallReported,
          stalled
        } = this;
        if (!stallReported && stalled !== null && media && hls) {
          // Report stalled error once
          this.stallReported = true;
          const error = new Error(`Playback stalling at @${media.currentTime} due to low buffer (${stringify(bufferInfo)})`);
          this.warn(error.message);
          hls.trigger(Events.ERROR, {
            type: ErrorTypes.MEDIA_ERROR,
            details: ErrorDetails.BUFFER_STALLED_ERROR,
            fatal: false,
            error,
            buffer: bufferInfo.len,
            bufferInfo,
            stalled: {
              start: stalled
            }
          });
        }
      }
    
      /**
       * Attempts to fix buffer stalls by jumping over known gaps caused by partial fragments
       * @param appended - The fragment or part found at the current time (where playback is stalling).
       * @private
       */
      _trySkipBufferHole(appended) {
        var _this$hls5;
        const {
          fragmentTracker,
          media
        } = this;
        const config = (_this$hls5 = this.hls) == null ? void 0 : _this$hls5.config;
        if (!media || !fragmentTracker || !config) {
          return 0;
        }
    
        // Check if currentTime is between unbuffered regions of partial fragments
        const currentTime = media.currentTime;
        const bufferInfo = BufferHelper.bufferInfo(media, currentTime, 0);
        const startTime = currentTime < bufferInfo.start ? bufferInfo.start : bufferInfo.nextStart;
        if (startTime && this.hls) {
          const bufferStarved = bufferInfo.len <= config.maxBufferHole;
          const waiting = bufferInfo.len > 0 && bufferInfo.len < 1 && media.readyState < 3;
          const gapLength = startTime - currentTime;
          if (gapLength > 0 && (bufferStarved || waiting)) {
            // Only allow large gaps to be skipped if it is a start gap, or all fragments in skip range are partial
            if (gapLength > config.maxBufferHole) {
              let startGap = false;
              if (currentTime === 0) {
                const startFrag = fragmentTracker.getAppendedFrag(0, PlaylistLevelType.MAIN);
                if (startFrag && startTime < startFrag.end) {
                  startGap = true;
                }
              }
              if (!startGap && appended) {
                var _this$hls$loadLevelOb;
                // Do not seek when selected variant playlist is unloaded
                if (!((_this$hls$loadLevelOb = this.hls.loadLevelObj) != null && _this$hls$loadLevelOb.details)) {
                  return 0;
                }
                // Do not seek when required fragments are inflight or appending
                const inFlightDependency = getInFlightDependency(this.hls.inFlightFragments, startTime);
                if (inFlightDependency) {
                  return 0;
                }
                // Do not seek if we can't walk tracked fragments to end of gap
                let moreToLoad = false;
                let pos = appended.end;
                while (pos < startTime) {
                  const provisioned = appendedFragAtPosition(pos, fragmentTracker);
                  if (provisioned) {
                    pos += provisioned.duration;
                  } else {
                    moreToLoad = true;
                    break;
                  }
                }
                if (moreToLoad) {
                  return 0;
                }
              }
            }
            const targetTime = Math.max(startTime + SKIP_BUFFER_RANGE_START, currentTime + SKIP_BUFFER_HOLE_STEP_SECONDS);
            this.warn(`skipping hole, adjusting currentTime from ${currentTime} to ${targetTime}`);
            this.moved = true;
            media.currentTime = targetTime;
            if (!(appended != null && appended.gap)) {
              const error = new Error(`fragment loaded with buffer holes, seeking from ${currentTime} to ${targetTime}`);
              const errorData = {
                type: ErrorTypes.MEDIA_ERROR,
                details: ErrorDetails.BUFFER_SEEK_OVER_HOLE,
                fatal: false,
                error,
                reason: error.message,
                buffer: bufferInfo.len,
                bufferInfo
              };
              if (appended) {
                if ('fragment' in appended) {
                  errorData.part = appended;
                } else {
                  errorData.frag = appended;
                }
              }
              this.hls.trigger(Events.ERROR, errorData);
            }
            return targetTime;
          }
        }
        return 0;
      }
    
      /**
       * Attempts to fix buffer stalls by advancing the mediaElement's current time by a small amount.
       * @private
       */
      _tryNudgeBuffer(bufferInfo) {
        const {
          hls,
          media,
          nudgeRetry
        } = this;
        const config = hls == null ? void 0 : hls.config;
        if (!media || !config) {
          return 0;
        }
        const currentTime = media.currentTime;
        this.nudgeRetry++;
        if (nudgeRetry < config.nudgeMaxRetry) {
          const targetTime = currentTime + (nudgeRetry + 1) * config.nudgeOffset;
          // playback stalled in buffered area ... let's nudge currentTime to try to overcome this
          const error = new Error(`Nudging 'currentTime' from ${currentTime} to ${targetTime}`);
          this.warn(error.message);
          media.currentTime = targetTime;
          hls.trigger(Events.ERROR, {
            type: ErrorTypes.MEDIA_ERROR,
            details: ErrorDetails.BUFFER_NUDGE_ON_STALL,
            error,
            fatal: false,
            buffer: bufferInfo.len,
            bufferInfo
          });
        } else {
          const error = new Error(`Playhead still not moving while enough data buffered @${currentTime} after ${config.nudgeMaxRetry} nudges`);
          this.error(error.message);
          hls.trigger(Events.ERROR, {
            type: ErrorTypes.MEDIA_ERROR,
            details: ErrorDetails.BUFFER_STALLED_ERROR,
            error,
            fatal: true,
            buffer: bufferInfo.len,
            bufferInfo
          });
        }
      }
    }
    function getInFlightDependency(inFlightFragments, currentTime) {
      const main = inFlight(inFlightFragments.main);
      if (main && main.start <= currentTime) {
        return main;
      }
      const audio = inFlight(inFlightFragments.audio);
      if (audio && audio.start <= currentTime) {
        return audio;
      }
      return null;
    }
    function inFlight(inFlightData) {
      if (!inFlightData) {
        return null;
      }
      switch (inFlightData.state) {
        case State.IDLE:
        case State.STOPPED:
        case State.ENDED:
        case State.ERROR:
          return null;
      }
      return inFlightData.frag;
    }
    function appendedFragAtPosition(pos, fragmentTracker) {
      return fragmentTracker.getAppendedFrag(pos, PlaylistLevelType.MAIN) || fragmentTracker.getPartialFragment(pos);
    }
    
    const MIN_CUE_DURATION = 0.25;
    function getCueClass() {
      if (typeof self === 'undefined') return undefined;
      return self.VTTCue || self.TextTrackCue;
    }
    function createCueWithDataFields(Cue, startTime, endTime, data, type) {
      let cue = new Cue(startTime, endTime, '');
      try {
        cue.value = data;
        if (type) {
          cue.type = type;
        }
      } catch (e) {
        cue = new Cue(startTime, endTime, stringify(type ? _objectSpread2({
          type
        }, data) : data));
      }
      return cue;
    }
    
    // VTTCue latest draft allows an infinite duration, fallback
    // to MAX_VALUE if necessary
    const MAX_CUE_ENDTIME = (() => {
      const Cue = getCueClass();
      try {
        Cue && new Cue(0, Number.POSITIVE_INFINITY, '');
      } catch (e) {
        return Number.MAX_VALUE;
      }
      return Number.POSITIVE_INFINITY;
    })();
    class ID3TrackController {
      constructor(hls) {
        this.hls = void 0;
        this.id3Track = null;
        this.media = null;
        this.dateRangeCuesAppended = {};
        this.removeCues = true;
        this.assetCue = void 0;
        this.onEventCueEnter = () => {
          if (!this.hls) {
            return;
          }
          this.hls.trigger(Events.EVENT_CUE_ENTER, {});
        };
        this.hls = hls;
        this._registerListeners();
      }
      destroy() {
        this._unregisterListeners();
        this.id3Track = null;
        this.media = null;
        this.dateRangeCuesAppended = {};
        // @ts-ignore
        this.hls = this.onEventCueEnter = null;
      }
      _registerListeners() {
        const {
          hls
        } = this;
        if (hls) {
          hls.on(Events.MEDIA_ATTACHING, this.onMediaAttaching, this);
          hls.on(Events.MEDIA_ATTACHED, this.onMediaAttached, this);
          hls.on(Events.MEDIA_DETACHING, this.onMediaDetaching, this);
          hls.on(Events.MANIFEST_LOADING, this.onManifestLoading, this);
          hls.on(Events.FRAG_PARSING_METADATA, this.onFragParsingMetadata, this);
          hls.on(Events.BUFFER_FLUSHING, this.onBufferFlushing, this);
          hls.on(Events.LEVEL_UPDATED, this.onLevelUpdated, this);
          hls.on(Events.LEVEL_PTS_UPDATED, this.onLevelPtsUpdated, this);
        }
      }
      _unregisterListeners() {
        const {
          hls
        } = this;
        if (hls) {
          hls.off(Events.MEDIA_ATTACHING, this.onMediaAttaching, this);
          hls.off(Events.MEDIA_ATTACHED, this.onMediaAttached, this);
          hls.off(Events.MEDIA_DETACHING, this.onMediaDetaching, this);
          hls.off(Events.MANIFEST_LOADING, this.onManifestLoading, this);
          hls.off(Events.FRAG_PARSING_METADATA, this.onFragParsingMetadata, this);
          hls.off(Events.BUFFER_FLUSHING, this.onBufferFlushing, this);
          hls.off(Events.LEVEL_UPDATED, this.onLevelUpdated, this);
          hls.off(Events.LEVEL_PTS_UPDATED, this.onLevelPtsUpdated, this);
        }
      }
      // Add ID3 metatadata text track.
      onMediaAttaching(event, data) {
        var _data$overrides;
        this.media = data.media;
        if (((_data$overrides = data.overrides) == null ? void 0 : _data$overrides.cueRemoval) === false) {
          this.removeCues = false;
        }
      }
      onMediaAttached() {
        var _this$hls;
        const details = (_this$hls = this.hls) == null ? void 0 : _this$hls.latestLevelDetails;
        if (details) {
          this.updateDateRangeCues(details);
        }
      }
      onMediaDetaching(event, data) {
        this.media = null;
        const transferringMedia = !!data.transferMedia;
        if (transferringMedia) {
          return;
        }
        if (this.id3Track) {
          if (this.removeCues) {
            clearCurrentCues(this.id3Track, this.onEventCueEnter);
          }
          this.id3Track = null;
        }
        this.dateRangeCuesAppended = {};
      }
      onManifestLoading() {
        this.dateRangeCuesAppended = {};
      }
      createTrack(media) {
        const track = this.getID3Track(media.textTracks);
        track.mode = 'hidden';
        return track;
      }
      getID3Track(textTracks) {
        if (!this.media) {
          return;
        }
        for (let i = 0; i < textTracks.length; i++) {
          const textTrack = textTracks[i];
          if (textTrack.kind === 'metadata' && textTrack.label === 'id3') {
            // send 'addtrack' when reusing the textTrack for metadata,
            // same as what we do for captions
            sendAddTrackEvent(textTrack, this.media);
            return textTrack;
          }
        }
        return this.media.addTextTrack('metadata', 'id3');
      }
      onFragParsingMetadata(event, data) {
        if (!this.media || !this.hls) {
          return;
        }
        const {
          enableEmsgMetadataCues,
          enableID3MetadataCues
        } = this.hls.config;
        if (!enableEmsgMetadataCues && !enableID3MetadataCues) {
          return;
        }
        const {
          samples
        } = data;
    
        // create track dynamically
        if (!this.id3Track) {
          this.id3Track = this.createTrack(this.media);
        }
        const Cue = getCueClass();
        if (!Cue) {
          return;
        }
        for (let i = 0; i < samples.length; i++) {
          const type = samples[i].type;
          if (type === MetadataSchema.emsg && !enableEmsgMetadataCues || !enableID3MetadataCues) {
            continue;
          }
          const frames = getId3Frames(samples[i].data);
          const startTime = samples[i].pts;
          let endTime = startTime + samples[i].duration;
          if (endTime > MAX_CUE_ENDTIME) {
            endTime = MAX_CUE_ENDTIME;
          }
          const timeDiff = endTime - startTime;
          if (timeDiff <= 0) {
            endTime = startTime + MIN_CUE_DURATION;
          }
          for (let j = 0; j < frames.length; j++) {
            const frame = frames[j];
            // Safari doesn't put the timestamp frame in the TextTrack
            if (!isId3TimestampFrame(frame)) {
              // add a bounds to any unbounded cues
              this.updateId3CueEnds(startTime, type);
              const cue = createCueWithDataFields(Cue, startTime, endTime, frame, type);
              if (cue) {
                this.id3Track.addCue(cue);
              }
            }
          }
        }
      }
      updateId3CueEnds(startTime, type) {
        var _this$id3Track;
        const cues = (_this$id3Track = this.id3Track) == null ? void 0 : _this$id3Track.cues;
        if (cues) {
          for (let i = cues.length; i--;) {
            const cue = cues[i];
            if (cue.type === type && cue.startTime < startTime && cue.endTime === MAX_CUE_ENDTIME) {
              cue.endTime = startTime;
            }
          }
        }
      }
      onBufferFlushing(event, {
        startOffset,
        endOffset,
        type
      }) {
        const {
          id3Track,
          hls
        } = this;
        if (!hls) {
          return;
        }
        const {
          config: {
            enableEmsgMetadataCues,
            enableID3MetadataCues
          }
        } = hls;
        if (id3Track && (enableEmsgMetadataCues || enableID3MetadataCues)) {
          let predicate;
          if (type === 'audio') {
            predicate = cue => cue.type === MetadataSchema.audioId3 && enableID3MetadataCues;
          } else if (type === 'video') {
            predicate = cue => cue.type === MetadataSchema.emsg && enableEmsgMetadataCues;
          } else {
            predicate = cue => cue.type === MetadataSchema.audioId3 && enableID3MetadataCues || cue.type === MetadataSchema.emsg && enableEmsgMetadataCues;
          }
          removeCuesInRange(id3Track, startOffset, endOffset, predicate);
        }
      }
      onLevelUpdated(event, {
        details
      }) {
        this.updateDateRangeCues(details, true);
      }
      onLevelPtsUpdated(event, data) {
        if (Math.abs(data.drift) > 0.01) {
          this.updateDateRangeCues(data.details);
        }
      }
      updateDateRangeCues(details, removeOldCues) {
        if (!this.hls || !this.media) {
          return;
        }
        const {
          assetPlayerId,
          timelineOffset,
          enableDateRangeMetadataCues,
          interstitialsController
        } = this.hls.config;
        if (!enableDateRangeMetadataCues) {
          return;
        }
        const Cue = getCueClass();
        if (assetPlayerId && timelineOffset && !interstitialsController) {
          const {
            fragmentStart,
            fragmentEnd
          } = details;
          let cue = this.assetCue;
          if (cue) {
            cue.startTime = fragmentStart;
            cue.endTime = fragmentEnd;
          } else if (Cue) {
            cue = this.assetCue = createCueWithDataFields(Cue, fragmentStart, fragmentEnd, {
              assetPlayerId: this.hls.config.assetPlayerId
            }, 'hlsjs.interstitial.asset');
            if (cue) {
              cue.id = assetPlayerId;
              this.id3Track || (this.id3Track = this.createTrack(this.media));
              this.id3Track.addCue(cue);
              cue.addEventListener('enter', this.onEventCueEnter);
            }
          }
        }
        if (!details.hasProgramDateTime) {
          return;
        }
        const {
          id3Track
        } = this;
        const {
          dateRanges
        } = details;
        const ids = Object.keys(dateRanges);
        let dateRangeCuesAppended = this.dateRangeCuesAppended;
        // Remove cues from track not found in details.dateRanges
        if (id3Track && removeOldCues) {
          var _id3Track$cues;
          if ((_id3Track$cues = id3Track.cues) != null && _id3Track$cues.length) {
            const idsToRemove = Object.keys(dateRangeCuesAppended).filter(id => !ids.includes(id));
            for (let i = idsToRemove.length; i--;) {
              var _dateRangeCuesAppende;
              const id = idsToRemove[i];
              const cues = (_dateRangeCuesAppende = dateRangeCuesAppended[id]) == null ? void 0 : _dateRangeCuesAppende.cues;
              delete dateRangeCuesAppended[id];
              if (cues) {
                Object.keys(cues).forEach(key => {
                  const cue = cues[key];
                  if (cue) {
                    cue.removeEventListener('enter', this.onEventCueEnter);
                    try {
                      id3Track.removeCue(cue);
                    } catch (e) {
                      /* no-op */
                    }
                  }
                });
              }
            }
          } else {
            dateRangeCuesAppended = this.dateRangeCuesAppended = {};
          }
        }
        // Exit if the playlist does not have Date Ranges or does not have Program Date Time
        const lastFragment = details.fragments[details.fragments.length - 1];
        if (ids.length === 0 || !isFiniteNumber(lastFragment == null ? void 0 : lastFragment.programDateTime)) {
          return;
        }
        this.id3Track || (this.id3Track = this.createTrack(this.media));
        for (let i = 0; i < ids.length; i++) {
          const id = ids[i];
          const dateRange = dateRanges[id];
          const startTime = dateRange.startTime;
    
          // Process DateRanges to determine end-time (known DURATION, END-DATE, or END-ON-NEXT)
          const appendedDateRangeCues = dateRangeCuesAppended[id];
          const cues = (appendedDateRangeCues == null ? void 0 : appendedDateRangeCues.cues) || {};
          let durationKnown = (appendedDateRangeCues == null ? void 0 : appendedDateRangeCues.durationKnown) || false;
          let endTime = MAX_CUE_ENDTIME;
          const {
            duration,
            endDate
          } = dateRange;
          if (endDate && duration !== null) {
            endTime = startTime + duration;
            durationKnown = true;
          } else if (dateRange.endOnNext && !durationKnown) {
            const nextDateRangeWithSameClass = ids.reduce((candidateDateRange, id) => {
              if (id !== dateRange.id) {
                const otherDateRange = dateRanges[id];
                if (otherDateRange.class === dateRange.class && otherDateRange.startDate > dateRange.startDate && (!candidateDateRange || dateRange.startDate < candidateDateRange.startDate)) {
                  return otherDateRange;
                }
              }
              return candidateDateRange;
            }, null);
            if (nextDateRangeWithSameClass) {
              endTime = nextDateRangeWithSameClass.startTime;
              durationKnown = true;
            }
          }
    
          // Create TextTrack Cues for each MetadataGroup Item (select DateRange attribute)
          // This is to emulate Safari HLS playback handling of DateRange tags
          const attributes = Object.keys(dateRange.attr);
          for (let j = 0; j < attributes.length; j++) {
            const key = attributes[j];
            if (!isDateRangeCueAttribute(key)) {
              continue;
            }
            const cue = cues[key];
            if (cue) {
              if (durationKnown && !(appendedDateRangeCues != null && appendedDateRangeCues.durationKnown)) {
                cue.endTime = endTime;
              } else if (Math.abs(cue.startTime - startTime) > 0.01) {
                cue.startTime = startTime;
                cue.endTime = endTime;
              }
            } else if (Cue) {
              let data = dateRange.attr[key];
              if (isSCTE35Attribute(key)) {
                data = hexToArrayBuffer(data);
              }
              const payload = {
                key,
                data
              };
              const _cue = createCueWithDataFields(Cue, startTime, endTime, payload, MetadataSchema.dateRange);
              if (_cue) {
                _cue.id = id;
                this.id3Track.addCue(_cue);
                cues[key] = _cue;
                if (interstitialsController) {
                  if (key === 'X-ASSET-LIST' || key === 'X-ASSET-URL') {
                    _cue.addEventListener('enter', this.onEventCueEnter);
                  }
                }
              }
            }
          }
    
          // Keep track of processed DateRanges by ID for updating cues with new DateRange tag attributes
          dateRangeCuesAppended[id] = {
            cues,
            dateRange,
            durationKnown
          };
        }
      }
    }
    
    class LatencyController {
      constructor(hls) {
        this.hls = void 0;
        this.config = void 0;
        this.media = null;
        this.currentTime = 0;
        this.stallCount = 0;
        this._latency = null;
        this._targetLatencyUpdated = false;
        this.onTimeupdate = () => {
          const {
            media
          } = this;
          const levelDetails = this.levelDetails;
          if (!media || !levelDetails) {
            return;
          }
          this.currentTime = media.currentTime;
          const latency = this.computeLatency();
          if (latency === null) {
            return;
          }
          this._latency = latency;
    
          // Adapt playbackRate to meet target latency in low-latency mode
          const {
            lowLatencyMode,
            maxLiveSyncPlaybackRate
          } = this.config;
          if (!lowLatencyMode || maxLiveSyncPlaybackRate === 1 || !levelDetails.live) {
            return;
          }
          const targetLatency = this.targetLatency;
          if (targetLatency === null) {
            return;
          }
          const distanceFromTarget = latency - targetLatency;
          // Only adjust playbackRate when within one target duration of targetLatency
          // and more than one second from under-buffering.
          // Playback further than one target duration from target can be considered DVR playback.
          const liveMinLatencyDuration = Math.min(this.maxLatency, targetLatency + levelDetails.targetduration);
          const inLiveRange = distanceFromTarget < liveMinLatencyDuration;
          if (inLiveRange && distanceFromTarget > 0.05 && this.forwardBufferLength > 1) {
            const max = Math.min(2, Math.max(1.0, maxLiveSyncPlaybackRate));
            const rate = Math.round(2 / (1 + Math.exp(-0.75 * distanceFromTarget - this.edgeStalled)) * 20) / 20;
            const playbackRate = Math.min(max, Math.max(1, rate));
            this.changeMediaPlaybackRate(media, playbackRate);
          } else if (media.playbackRate !== 1 && media.playbackRate !== 0) {
            this.changeMediaPlaybackRate(media, 1);
          }
        };
        this.hls = hls;
        this.config = hls.config;
        this.registerListeners();
      }
      get levelDetails() {
        var _this$hls;
        return ((_this$hls = this.hls) == null ? void 0 : _this$hls.latestLevelDetails) || null;
      }
      get latency() {
        return this._latency || 0;
      }
      get maxLatency() {
        const {
          config
        } = this;
        if (config.liveMaxLatencyDuration !== undefined) {
          return config.liveMaxLatencyDuration;
        }
        const levelDetails = this.levelDetails;
        return levelDetails ? config.liveMaxLatencyDurationCount * levelDetails.targetduration : 0;
      }
      get targetLatency() {
        const levelDetails = this.levelDetails;
        if (levelDetails === null || this.hls === null) {
          return null;
        }
        const {
          holdBack,
          partHoldBack,
          targetduration
        } = levelDetails;
        const {
          liveSyncDuration,
          liveSyncDurationCount,
          lowLatencyMode
        } = this.config;
        const userConfig = this.hls.userConfig;
        let targetLatency = lowLatencyMode ? partHoldBack || holdBack : holdBack;
        if (this._targetLatencyUpdated || userConfig.liveSyncDuration || userConfig.liveSyncDurationCount || targetLatency === 0) {
          targetLatency = liveSyncDuration !== undefined ? liveSyncDuration : liveSyncDurationCount * targetduration;
        }
        const maxLiveSyncOnStallIncrease = targetduration;
        return targetLatency + Math.min(this.stallCount * this.config.liveSyncOnStallIncrease, maxLiveSyncOnStallIncrease);
      }
      set targetLatency(latency) {
        this.stallCount = 0;
        this.config.liveSyncDuration = latency;
        this._targetLatencyUpdated = true;
      }
      get liveSyncPosition() {
        const liveEdge = this.estimateLiveEdge();
        const targetLatency = this.targetLatency;
        if (liveEdge === null || targetLatency === null) {
          return null;
        }
        const levelDetails = this.levelDetails;
        if (levelDetails === null) {
          return null;
        }
        const edge = levelDetails.edge;
        const syncPosition = liveEdge - targetLatency - this.edgeStalled;
        const min = edge - levelDetails.totalduration;
        const max = edge - (this.config.lowLatencyMode && levelDetails.partTarget || levelDetails.targetduration);
        return Math.min(Math.max(min, syncPosition), max);
      }
      get drift() {
        const levelDetails = this.levelDetails;
        if (levelDetails === null) {
          return 1;
        }
        return levelDetails.drift;
      }
      get edgeStalled() {
        const levelDetails = this.levelDetails;
        if (levelDetails === null) {
          return 0;
        }
        const maxLevelUpdateAge = (this.config.lowLatencyMode && levelDetails.partTarget || levelDetails.targetduration) * 3;
        return Math.max(levelDetails.age - maxLevelUpdateAge, 0);
      }
      get forwardBufferLength() {
        const {
          media
        } = this;
        const levelDetails = this.levelDetails;
        if (!media || !levelDetails) {
          return 0;
        }
        const bufferedRanges = media.buffered.length;
        return (bufferedRanges ? media.buffered.end(bufferedRanges - 1) : levelDetails.edge) - this.currentTime;
      }
      destroy() {
        this.unregisterListeners();
        this.onMediaDetaching();
        this.hls = null;
      }
      registerListeners() {
        const {
          hls
        } = this;
        if (!hls) {
          return;
        }
        hls.on(Events.MEDIA_ATTACHED, this.onMediaAttached, this);
        hls.on(Events.MEDIA_DETACHING, this.onMediaDetaching, this);
        hls.on(Events.MANIFEST_LOADING, this.onManifestLoading, this);
        hls.on(Events.LEVEL_UPDATED, this.onLevelUpdated, this);
        hls.on(Events.ERROR, this.onError, this);
      }
      unregisterListeners() {
        const {
          hls
        } = this;
        if (!hls) {
          return;
        }
        hls.off(Events.MEDIA_ATTACHED, this.onMediaAttached, this);
        hls.off(Events.MEDIA_DETACHING, this.onMediaDetaching, this);
        hls.off(Events.MANIFEST_LOADING, this.onManifestLoading, this);
        hls.off(Events.LEVEL_UPDATED, this.onLevelUpdated, this);
        hls.off(Events.ERROR, this.onError, this);
      }
      onMediaAttached(event, data) {
        this.media = data.media;
        this.media.addEventListener('timeupdate', this.onTimeupdate);
      }
      onMediaDetaching() {
        if (this.media) {
          this.media.removeEventListener('timeupdate', this.onTimeupdate);
          this.media = null;
        }
      }
      onManifestLoading() {
        this._latency = null;
        this.stallCount = 0;
      }
      onLevelUpdated(event, {
        details
      }) {
        if (details.advanced) {
          this.onTimeupdate();
        }
        if (!details.live && this.media) {
          this.media.removeEventListener('timeupdate', this.onTimeupdate);
        }
      }
      onError(event, data) {
        var _this$levelDetails;
        if (data.details !== ErrorDetails.BUFFER_STALLED_ERROR) {
          return;
        }
        this.stallCount++;
        if (this.hls && (_this$levelDetails = this.levelDetails) != null && _this$levelDetails.live) {
          this.hls.logger.warn('[latency-controller]: Stall detected, adjusting target latency');
        }
      }
      changeMediaPlaybackRate(media, playbackRate) {
        var _this$hls2, _this$targetLatency;
        if (media.playbackRate === playbackRate) {
          return;
        }
        (_this$hls2 = this.hls) == null || _this$hls2.logger.debug(`[latency-controller]: latency=${this.latency.toFixed(3)}, targetLatency=${(_this$targetLatency = this.targetLatency) == null ? void 0 : _this$targetLatency.toFixed(3)}, forwardBufferLength=${this.forwardBufferLength.toFixed(3)}: adjusting playback rate from ${media.playbackRate} to ${playbackRate}`);
        media.playbackRate = playbackRate;
      }
      estimateLiveEdge() {
        const levelDetails = this.levelDetails;
        if (levelDetails === null) {
          return null;
        }
        return levelDetails.edge + levelDetails.age;
      }
      computeLatency() {
        const liveEdge = this.estimateLiveEdge();
        if (liveEdge === null) {
          return null;
        }
        return liveEdge - this.currentTime;
      }
    }
    
    class LevelController extends BasePlaylistController {
      constructor(hls, contentSteeringController) {
        super(hls, 'level-controller');
        this._levels = [];
        this._firstLevel = -1;
        this._maxAutoLevel = -1;
        this._startLevel = void 0;
        this.currentLevel = null;
        this.currentLevelIndex = -1;
        this.manualLevelIndex = -1;
        this.steering = void 0;
        this.onParsedComplete = void 0;
        this.steering = contentSteeringController;
        this._registerListeners();
      }
      _registerListeners() {
        const {
          hls
        } = this;
        hls.on(Events.MANIFEST_LOADING, this.onManifestLoading, this);
        hls.on(Events.MANIFEST_LOADED, this.onManifestLoaded, this);
        hls.on(Events.LEVEL_LOADED, this.onLevelLoaded, this);
        hls.on(Events.LEVELS_UPDATED, this.onLevelsUpdated, this);
        hls.on(Events.FRAG_BUFFERED, this.onFragBuffered, this);
        hls.on(Events.ERROR, this.onError, this);
      }
      _unregisterListeners() {
        const {
          hls
        } = this;
        hls.off(Events.MANIFEST_LOADING, this.onManifestLoading, this);
        hls.off(Events.MANIFEST_LOADED, this.onManifestLoaded, this);
        hls.off(Events.LEVEL_LOADED, this.onLevelLoaded, this);
        hls.off(Events.LEVELS_UPDATED, this.onLevelsUpdated, this);
        hls.off(Events.FRAG_BUFFERED, this.onFragBuffered, this);
        hls.off(Events.ERROR, this.onError, this);
      }
      destroy() {
        this._unregisterListeners();
        this.steering = null;
        this.resetLevels();
        super.destroy();
      }
      stopLoad() {
        const levels = this._levels;
    
        // clean up live level details to force reload them, and reset load errors
        levels.forEach(level => {
          level.loadError = 0;
          level.fragmentError = 0;
        });
        super.stopLoad();
      }
      resetLevels() {
        this._startLevel = undefined;
        this.manualLevelIndex = -1;
        this.currentLevelIndex = -1;
        this.currentLevel = null;
        this._levels = [];
        this._maxAutoLevel = -1;
      }
      onManifestLoading(event, data) {
        this.resetLevels();
      }
      onManifestLoaded(event, data) {
        const preferManagedMediaSource = this.hls.config.preferManagedMediaSource;
        const levels = [];
        const redundantSet = {};
        const generatePathwaySet = {};
        let resolutionFound = false;
        let videoCodecFound = false;
        let audioCodecFound = false;
        data.levels.forEach(levelParsed => {
          const attributes = levelParsed.attrs;
          let {
            audioCodec,
            videoCodec
          } = levelParsed;
          if (audioCodec) {
            // Returns empty and set to undefined for 'mp4a.40.34' with fallback to 'audio/mpeg' SourceBuffer
            levelParsed.audioCodec = audioCodec = getCodecCompatibleName(audioCodec, preferManagedMediaSource) || undefined;
          }
          if (videoCodec) {
            videoCodec = levelParsed.videoCodec = convertAVC1ToAVCOTI(videoCodec);
          }
    
          // only keep levels with supported audio/video codecs
          const {
            width,
            height,
            unknownCodecs
          } = levelParsed;
          const unknownUnsupportedCodecCount = (unknownCodecs == null ? void 0 : unknownCodecs.length) || 0;
          resolutionFound || (resolutionFound = !!(width && height));
          videoCodecFound || (videoCodecFound = !!videoCodec);
          audioCodecFound || (audioCodecFound = !!audioCodec);
          if (unknownUnsupportedCodecCount || audioCodec && !this.isAudioSupported(audioCodec) || videoCodec && !this.isVideoSupported(videoCodec)) {
            this.log(`Some or all CODECS not supported "${attributes.CODECS}"`);
            return;
          }
          const {
            CODECS,
            'FRAME-RATE': FRAMERATE,
            'HDCP-LEVEL': HDCP,
            'PATHWAY-ID': PATHWAY,
            RESOLUTION,
            'VIDEO-RANGE': VIDEO_RANGE
          } = attributes;
          const contentSteeringPrefix = `${PATHWAY || '.'}-`;
          const levelKey = `${contentSteeringPrefix}${levelParsed.bitrate}-${RESOLUTION}-${FRAMERATE}-${CODECS}-${VIDEO_RANGE}-${HDCP}`;
          if (!redundantSet[levelKey]) {
            const level = this.createLevel(levelParsed);
            redundantSet[levelKey] = level;
            generatePathwaySet[levelKey] = 1;
            levels.push(level);
          } else if (redundantSet[levelKey].uri !== levelParsed.url && !levelParsed.attrs['PATHWAY-ID']) {
            // Assign Pathway IDs to Redundant Streams (default Pathways is ".". Redundant Streams "..", "...", and so on.)
            // Content Steering controller to handles Pathway fallback on error
            const pathwayCount = generatePathwaySet[levelKey] += 1;
            levelParsed.attrs['PATHWAY-ID'] = new Array(pathwayCount + 1).join('.');
            const level = this.createLevel(levelParsed);
            redundantSet[levelKey] = level;
            levels.push(level);
          } else {
            redundantSet[levelKey].addGroupId('audio', attributes.AUDIO);
            redundantSet[levelKey].addGroupId('text', attributes.SUBTITLES);
          }
        });
        this.filterAndSortMediaOptions(levels, data, resolutionFound, videoCodecFound, audioCodecFound);
      }
      createLevel(levelParsed) {
        const level = new Level(levelParsed);
        const supplemental = levelParsed.supplemental;
        if (supplemental != null && supplemental.videoCodec && !this.isVideoSupported(supplemental.videoCodec)) {
          const error = new Error(`SUPPLEMENTAL-CODECS not supported "${supplemental.videoCodec}"`);
          this.log(error.message);
          level.supportedResult = getUnsupportedResult(error, []);
        }
        return level;
      }
      isAudioSupported(codec) {
        return areCodecsMediaSourceSupported(codec, 'audio', this.hls.config.preferManagedMediaSource);
      }
      isVideoSupported(codec) {
        return areCodecsMediaSourceSupported(codec, 'video', this.hls.config.preferManagedMediaSource);
      }
      filterAndSortMediaOptions(filteredLevels, data, resolutionFound, videoCodecFound, audioCodecFound) {
        var _data$stats;
        let audioTracks = [];
        let subtitleTracks = [];
        let levels = filteredLevels;
        const statsParsing = ((_data$stats = data.stats) == null ? void 0 : _data$stats.parsing) || {};
    
        // remove audio-only and invalid video-range levels if we also have levels with video codecs or RESOLUTION signalled
        if ((resolutionFound || videoCodecFound) && audioCodecFound) {
          levels = levels.filter(({
            videoCodec,
            videoRange,
            width,
            height
          }) => (!!videoCodec || !!(width && height)) && isVideoRange(videoRange));
        }
        if (levels.length === 0) {
          // Dispatch error after MANIFEST_LOADED is done propagating
          // eslint-disable-next-line @typescript-eslint/no-floating-promises
          Promise.resolve().then(() => {
            if (this.hls) {
              let message = 'no level with compatible codecs found in manifest';
              let reason = message;
              if (data.levels.length) {
                reason = `one or more CODECS in variant not supported: ${stringify(data.levels.map(level => level.attrs.CODECS).filter((value, index, array) => array.indexOf(value) === index))}`;
                this.warn(reason);
                message += ` (${reason})`;
              }
              const error = new Error(message);
              this.hls.trigger(Events.ERROR, {
                type: ErrorTypes.MEDIA_ERROR,
                details: ErrorDetails.MANIFEST_INCOMPATIBLE_CODECS_ERROR,
                fatal: true,
                url: data.url,
                error,
                reason
              });
            }
          });
          statsParsing.end = performance.now();
          return;
        }
        if (data.audioTracks) {
          audioTracks = data.audioTracks.filter(track => !track.audioCodec || this.isAudioSupported(track.audioCodec));
          // Assign ids after filtering as array indices by group-id
          assignTrackIdsByGroup(audioTracks);
        }
        if (data.subtitles) {
          subtitleTracks = data.subtitles;
          assignTrackIdsByGroup(subtitleTracks);
        }
        // start bitrate is the first bitrate of the manifest
        const unsortedLevels = levels.slice(0);
        // sort levels from lowest to highest
        levels.sort((a, b) => {
          if (a.attrs['HDCP-LEVEL'] !== b.attrs['HDCP-LEVEL']) {
            return (a.attrs['HDCP-LEVEL'] || '') > (b.attrs['HDCP-LEVEL'] || '') ? 1 : -1;
          }
          // sort on height before bitrate for cap-level-controller
          if (resolutionFound && a.height !== b.height) {
            return a.height - b.height;
          }
          if (a.frameRate !== b.frameRate) {
            return a.frameRate - b.frameRate;
          }
          if (a.videoRange !== b.videoRange) {
            return VideoRangeValues.indexOf(a.videoRange) - VideoRangeValues.indexOf(b.videoRange);
          }
          if (a.videoCodec !== b.videoCodec) {
            const valueA = videoCodecPreferenceValue(a.videoCodec);
            const valueB = videoCodecPreferenceValue(b.videoCodec);
            if (valueA !== valueB) {
              return valueB - valueA;
            }
          }
          if (a.uri === b.uri && a.codecSet !== b.codecSet) {
            const valueA = codecsSetSelectionPreferenceValue(a.codecSet);
            const valueB = codecsSetSelectionPreferenceValue(b.codecSet);
            if (valueA !== valueB) {
              return valueB - valueA;
            }
          }
          if (a.averageBitrate !== b.averageBitrate) {
            return a.averageBitrate - b.averageBitrate;
          }
          return 0;
        });
        let firstLevelInPlaylist = unsortedLevels[0];
        if (this.steering) {
          levels = this.steering.filterParsedLevels(levels);
          if (levels.length !== unsortedLevels.length) {
            for (let i = 0; i < unsortedLevels.length; i++) {
              if (unsortedLevels[i].pathwayId === levels[0].pathwayId) {
                firstLevelInPlaylist = unsortedLevels[i];
                break;
              }
            }
          }
        }
        this._levels = levels;
    
        // find index of first level in sorted levels
        for (let i = 0; i < levels.length; i++) {
          if (levels[i] === firstLevelInPlaylist) {
            var _this$hls$userConfig;
            this._firstLevel = i;
            const firstLevelBitrate = firstLevelInPlaylist.bitrate;
            const bandwidthEstimate = this.hls.bandwidthEstimate;
            this.log(`manifest loaded, ${levels.length} level(s) found, first bitrate: ${firstLevelBitrate}`);
            // Update default bwe to first variant bitrate as long it has not been configured or set
            if (((_this$hls$userConfig = this.hls.userConfig) == null ? void 0 : _this$hls$userConfig.abrEwmaDefaultEstimate) === undefined) {
              const startingBwEstimate = Math.min(firstLevelBitrate, this.hls.config.abrEwmaDefaultEstimateMax);
              if (startingBwEstimate > bandwidthEstimate && bandwidthEstimate === this.hls.abrEwmaDefaultEstimate) {
                this.hls.bandwidthEstimate = startingBwEstimate;
              }
            }
            break;
          }
        }
    
        // Audio is only alternate if manifest include a URI along with the audio group tag,
        // and this is not an audio-only stream where levels contain audio-only
        const audioOnly = audioCodecFound && !videoCodecFound;
        const config = this.hls.config;
        const altAudioEnabled = !!(config.audioStreamController && config.audioTrackController);
        const edata = {
          levels,
          audioTracks,
          subtitleTracks,
          sessionData: data.sessionData,
          sessionKeys: data.sessionKeys,
          firstLevel: this._firstLevel,
          stats: data.stats,
          audio: audioCodecFound,
          video: videoCodecFound,
          altAudio: altAudioEnabled && !audioOnly && audioTracks.some(t => !!t.url)
        };
        statsParsing.end = performance.now();
        this.hls.trigger(Events.MANIFEST_PARSED, edata);
      }
      get levels() {
        if (this._levels.length === 0) {
          return null;
        }
        return this._levels;
      }
      get loadLevelObj() {
        return this.currentLevel;
      }
      get level() {
        return this.currentLevelIndex;
      }
      set level(newLevel) {
        const levels = this._levels;
        if (levels.length === 0) {
          return;
        }
        // check if level idx is valid
        if (newLevel < 0 || newLevel >= levels.length) {
          // invalid level id given, trigger error
          const error = new Error('invalid level idx');
          const fatal = newLevel < 0;
          this.hls.trigger(Events.ERROR, {
            type: ErrorTypes.OTHER_ERROR,
            details: ErrorDetails.LEVEL_SWITCH_ERROR,
            level: newLevel,
            fatal,
            error,
            reason: error.message
          });
          if (fatal) {
            return;
          }
          newLevel = Math.min(newLevel, levels.length - 1);
        }
        const lastLevelIndex = this.currentLevelIndex;
        const lastLevel = this.currentLevel;
        const lastPathwayId = lastLevel ? lastLevel.attrs['PATHWAY-ID'] : undefined;
        const level = levels[newLevel];
        const pathwayId = level.attrs['PATHWAY-ID'];
        this.currentLevelIndex = newLevel;
        this.currentLevel = level;
        if (lastLevelIndex === newLevel && lastLevel && lastPathwayId === pathwayId) {
          return;
        }
        this.log(`Switching to level ${newLevel} (${level.height ? level.height + 'p ' : ''}${level.videoRange ? level.videoRange + ' ' : ''}${level.codecSet ? level.codecSet + ' ' : ''}@${level.bitrate})${pathwayId ? ' with Pathway ' + pathwayId : ''} from level ${lastLevelIndex}${lastPathwayId ? ' with Pathway ' + lastPathwayId : ''}`);
        const levelSwitchingData = {
          level: newLevel,
          attrs: level.attrs,
          details: level.details,
          bitrate: level.bitrate,
          averageBitrate: level.averageBitrate,
          maxBitrate: level.maxBitrate,
          realBitrate: level.realBitrate,
          width: level.width,
          height: level.height,
          codecSet: level.codecSet,
          audioCodec: level.audioCodec,
          videoCodec: level.videoCodec,
          audioGroups: level.audioGroups,
          subtitleGroups: level.subtitleGroups,
          loaded: level.loaded,
          loadError: level.loadError,
          fragmentError: level.fragmentError,
          name: level.name,
          id: level.id,
          uri: level.uri,
          url: level.url,
          urlId: 0,
          audioGroupIds: level.audioGroupIds,
          textGroupIds: level.textGroupIds
        };
        this.hls.trigger(Events.LEVEL_SWITCHING, levelSwitchingData);
        // check if we need to load playlist for this level
        const levelDetails = level.details;
        if (!levelDetails || levelDetails.live) {
          // level not retrieved yet, or live playlist we need to (re)load it
          const hlsUrlParameters = this.switchParams(level.uri, lastLevel == null ? void 0 : lastLevel.details, levelDetails);
          this.loadPlaylist(hlsUrlParameters);
        }
      }
      get manualLevel() {
        return this.manualLevelIndex;
      }
      set manualLevel(newLevel) {
        this.manualLevelIndex = newLevel;
        if (this._startLevel === undefined) {
          this._startLevel = newLevel;
        }
        if (newLevel !== -1) {
          this.level = newLevel;
        }
      }
      get firstLevel() {
        return this._firstLevel;
      }
      set firstLevel(newLevel) {
        this._firstLevel = newLevel;
      }
      get startLevel() {
        // Setting hls.startLevel (this._startLevel) overrides config.startLevel
        if (this._startLevel === undefined) {
          const configStartLevel = this.hls.config.startLevel;
          if (configStartLevel !== undefined) {
            return configStartLevel;
          }
          return this.hls.firstAutoLevel;
        }
        return this._startLevel;
      }
      set startLevel(newLevel) {
        this._startLevel = newLevel;
      }
      get pathways() {
        if (this.steering) {
          return this.steering.pathways();
        }
        return [];
      }
      get pathwayPriority() {
        if (this.steering) {
          return this.steering.pathwayPriority;
        }
        return null;
      }
      set pathwayPriority(pathwayPriority) {
        if (this.steering) {
          const pathwaysList = this.steering.pathways();
          const filteredPathwayPriority = pathwayPriority.filter(pathwayId => {
            return pathwaysList.indexOf(pathwayId) !== -1;
          });
          if (pathwayPriority.length < 1) {
            this.warn(`pathwayPriority ${pathwayPriority} should contain at least one pathway from list: ${pathwaysList}`);
            return;
          }
          this.steering.pathwayPriority = filteredPathwayPriority;
        }
      }
      onError(event, data) {
        if (data.fatal || !data.context) {
          return;
        }
        if (data.context.type === PlaylistContextType.LEVEL && data.context.level === this.level) {
          this.checkRetry(data);
        }
      }
    
      // reset errors on the successful load of a fragment
      onFragBuffered(event, {
        frag
      }) {
        if (frag !== undefined && frag.type === PlaylistLevelType.MAIN) {
          const el = frag.elementaryStreams;
          if (!Object.keys(el).some(type => !!el[type])) {
            return;
          }
          const level = this._levels[frag.level];
          if (level != null && level.loadError) {
            this.log(`Resetting level error count of ${level.loadError} on frag buffered`);
            level.loadError = 0;
          }
        }
      }
      onLevelLoaded(event, data) {
        var _data$deliveryDirecti2;
        const {
          level,
          details
        } = data;
        const curLevel = data.levelInfo;
        if (!curLevel) {
          var _data$deliveryDirecti;
          this.warn(`Invalid level index ${level}`);
          if ((_data$deliveryDirecti = data.deliveryDirectives) != null && _data$deliveryDirecti.skip) {
            details.deltaUpdateFailed = true;
          }
          return;
        }
    
        // only process level loaded events matching with expected level or prior to switch when media playlist is loaded directly
        if (curLevel === this.currentLevel || data.withoutMultiVariant) {
          // reset level load error counter on successful level loaded only if there is no issues with fragments
          if (curLevel.fragmentError === 0) {
            curLevel.loadError = 0;
          }
          // Ignore matching details populated by loading a Media Playlist directly
          let previousDetails = curLevel.details;
          if (previousDetails === data.details && previousDetails.advanced) {
            previousDetails = undefined;
          }
          this.playlistLoaded(level, data, previousDetails);
        } else if ((_data$deliveryDirecti2 = data.deliveryDirectives) != null && _data$deliveryDirecti2.skip) {
          // received a delta playlist update that cannot be merged
          details.deltaUpdateFailed = true;
        }
      }
      loadPlaylist(hlsUrlParameters) {
        super.loadPlaylist();
        if (this.shouldLoadPlaylist(this.currentLevel)) {
          this.scheduleLoading(this.currentLevel, hlsUrlParameters);
        }
      }
      loadingPlaylist(currentLevel, hlsUrlParameters) {
        super.loadingPlaylist(currentLevel, hlsUrlParameters);
        const url = this.getUrlWithDirectives(currentLevel.uri, hlsUrlParameters);
        const currentLevelIndex = this.currentLevelIndex;
        const pathwayId = currentLevel.attrs['PATHWAY-ID'];
        const details = currentLevel.details;
        const age = details == null ? void 0 : details.age;
        this.log(`Loading level index ${currentLevelIndex}${(hlsUrlParameters == null ? void 0 : hlsUrlParameters.msn) !== undefined ? ' at sn ' + hlsUrlParameters.msn + ' part ' + hlsUrlParameters.part : ''}${pathwayId ? ' Pathway ' + pathwayId : ''}${age && details.live ? ' age ' + age.toFixed(1) + (details.type ? ' ' + details.type || 0 : '') : ''} ${url}`);
        this.hls.trigger(Events.LEVEL_LOADING, {
          url,
          level: currentLevelIndex,
          levelInfo: currentLevel,
          pathwayId: currentLevel.attrs['PATHWAY-ID'],
          id: 0,
          // Deprecated Level urlId
          deliveryDirectives: hlsUrlParameters || null
        });
      }
      get nextLoadLevel() {
        if (this.manualLevelIndex !== -1) {
          return this.manualLevelIndex;
        } else {
          return this.hls.nextAutoLevel;
        }
      }
      set nextLoadLevel(nextLevel) {
        this.level = nextLevel;
        if (this.manualLevelIndex === -1) {
          this.hls.nextAutoLevel = nextLevel;
        }
      }
      removeLevel(levelIndex) {
        var _this$currentLevel;
        if (this._levels.length === 1) {
          return;
        }
        const levels = this._levels.filter((level, index) => {
          if (index !== levelIndex) {
            return true;
          }
          if (this.steering) {
            this.steering.removeLevel(level);
          }
          if (level === this.currentLevel) {
            this.currentLevel = null;
            this.currentLevelIndex = -1;
            if (level.details) {
              level.details.fragments.forEach(f => f.level = -1);
            }
          }
          return false;
        });
        reassignFragmentLevelIndexes(levels);
        this._levels = levels;
        if (this.currentLevelIndex > -1 && (_this$currentLevel = this.currentLevel) != null && _this$currentLevel.details) {
          this.currentLevelIndex = this.currentLevel.details.fragments[0].level;
        }
        if (this.manualLevelIndex > -1) {
          this.manualLevelIndex = this.currentLevelIndex;
        }
        const maxLevel = levels.length - 1;
        this._firstLevel = Math.min(this._firstLevel, maxLevel);
        if (this._startLevel) {
          this._startLevel = Math.min(this._startLevel, maxLevel);
        }
        this.hls.trigger(Events.LEVELS_UPDATED, {
          levels
        });
      }
      onLevelsUpdated(event, {
        levels
      }) {
        this._levels = levels;
      }
      checkMaxAutoUpdated() {
        const {
          autoLevelCapping,
          maxAutoLevel,
          maxHdcpLevel
        } = this.hls;
        if (this._maxAutoLevel !== maxAutoLevel) {
          this._maxAutoLevel = maxAutoLevel;
          this.hls.trigger(Events.MAX_AUTO_LEVEL_UPDATED, {
            autoLevelCapping,
            levels: this.levels,
            maxAutoLevel,
            minAutoLevel: this.hls.minAutoLevel,
            maxHdcpLevel
          });
        }
      }
    }
    function assignTrackIdsByGroup(tracks) {
      const groups = {};
      tracks.forEach(track => {
        const groupId = track.groupId || '';
        track.id = groups[groupId] = groups[groupId] || 0;
        groups[groupId]++;
      });
    }
    
    function getSourceBuffer() {
      return self.SourceBuffer || self.WebKitSourceBuffer;
    }
    function isMSESupported() {
      const mediaSource = getMediaSource();
      if (!mediaSource) {
        return false;
      }
    
      // if SourceBuffer is exposed ensure its API is valid
      // Older browsers do not expose SourceBuffer globally so checking SourceBuffer.prototype is impossible
      const sourceBuffer = getSourceBuffer();
      return !sourceBuffer || sourceBuffer.prototype && typeof sourceBuffer.prototype.appendBuffer === 'function' && typeof sourceBuffer.prototype.remove === 'function';
    }
    function isSupported() {
      if (!isMSESupported()) {
        return false;
      }
      const mediaSource = getMediaSource();
      return typeof (mediaSource == null ? void 0 : mediaSource.isTypeSupported) === 'function' && (['avc1.42E01E,mp4a.40.2', 'av01.0.01M.08', 'vp09.00.50.08'].some(codecsForVideoContainer => mediaSource.isTypeSupported(mimeTypeForCodec(codecsForVideoContainer, 'video'))) || ['mp4a.40.2', 'fLaC'].some(codecForAudioContainer => mediaSource.isTypeSupported(mimeTypeForCodec(codecForAudioContainer, 'audio'))));
    }
    function changeTypeSupported() {
      var _sourceBuffer$prototy;
      const sourceBuffer = getSourceBuffer();
      return typeof (sourceBuffer == null || (_sourceBuffer$prototy = sourceBuffer.prototype) == null ? void 0 : _sourceBuffer$prototy.changeType) === 'function';
    }
    
    const TICK_INTERVAL = 100; // how often to tick in ms
    
    class StreamController extends BaseStreamController {
      constructor(hls, fragmentTracker, keyLoader) {
        super(hls, fragmentTracker, keyLoader, 'stream-controller', PlaylistLevelType.MAIN);
        this.audioCodecSwap = false;
        this.level = -1;
        this._forceStartLoad = false;
        this._hasEnoughToStart = false;
        this.altAudio = 0;
        this.audioOnly = false;
        this.fragPlaying = null;
        this.fragLastKbps = 0;
        this.couldBacktrack = false;
        this.backtrackFragment = null;
        this.audioCodecSwitch = false;
        this.videoBuffer = null;
        this.onMediaPlaying = () => {
          // tick to speed up FRAG_CHANGED triggering
          this.tick();
        };
        this.onMediaSeeked = () => {
          const media = this.media;
          const currentTime = media ? media.currentTime : null;
          if (currentTime === null || !isFiniteNumber(currentTime)) {
            return;
          }
          this.log(`Media seeked to ${currentTime.toFixed(3)}`);
    
          // If seeked was issued before buffer was appended do not tick immediately
          if (!this.getBufferedFrag(currentTime)) {
            return;
          }
          const bufferInfo = this.getFwdBufferInfoAtPos(media, currentTime, PlaylistLevelType.MAIN, 0);
          if (bufferInfo === null || bufferInfo.len === 0) {
            this.warn(`Main forward buffer length at ${currentTime} on "seeked" event ${bufferInfo ? bufferInfo.len : 'empty'})`);
            return;
          }
    
          // tick to speed up FRAG_CHANGED triggering
          this.tick();
        };
        this.registerListeners();
      }
      registerListeners() {
        super.registerListeners();
        const {
          hls
        } = this;
        hls.on(Events.MANIFEST_PARSED, this.onManifestParsed, this);
        hls.on(Events.LEVEL_LOADING, this.onLevelLoading, this);
        hls.on(Events.LEVEL_LOADED, this.onLevelLoaded, this);
        hls.on(Events.FRAG_LOAD_EMERGENCY_ABORTED, this.onFragLoadEmergencyAborted, this);
        hls.on(Events.AUDIO_TRACK_SWITCHING, this.onAudioTrackSwitching, this);
        hls.on(Events.AUDIO_TRACK_SWITCHED, this.onAudioTrackSwitched, this);
        hls.on(Events.BUFFER_CREATED, this.onBufferCreated, this);
        hls.on(Events.BUFFER_FLUSHED, this.onBufferFlushed, this);
        hls.on(Events.LEVELS_UPDATED, this.onLevelsUpdated, this);
        hls.on(Events.FRAG_BUFFERED, this.onFragBuffered, this);
      }
      unregisterListeners() {
        super.unregisterListeners();
        const {
          hls
        } = this;
        hls.off(Events.MANIFEST_PARSED, this.onManifestParsed, this);
        hls.off(Events.LEVEL_LOADED, this.onLevelLoaded, this);
        hls.off(Events.FRAG_LOAD_EMERGENCY_ABORTED, this.onFragLoadEmergencyAborted, this);
        hls.off(Events.AUDIO_TRACK_SWITCHING, this.onAudioTrackSwitching, this);
        hls.off(Events.AUDIO_TRACK_SWITCHED, this.onAudioTrackSwitched, this);
        hls.off(Events.BUFFER_CREATED, this.onBufferCreated, this);
        hls.off(Events.BUFFER_FLUSHED, this.onBufferFlushed, this);
        hls.off(Events.LEVELS_UPDATED, this.onLevelsUpdated, this);
        hls.off(Events.FRAG_BUFFERED, this.onFragBuffered, this);
      }
      onHandlerDestroying() {
        // @ts-ignore
        this.onMediaPlaying = this.onMediaSeeked = null;
        this.unregisterListeners();
        super.onHandlerDestroying();
      }
      startLoad(startPosition, skipSeekToStartPosition) {
        if (this.levels) {
          const {
            lastCurrentTime,
            hls
          } = this;
          this.stopLoad();
          this.setInterval(TICK_INTERVAL);
          this.level = -1;
          if (!this.startFragRequested) {
            // determine load level
            let startLevel = hls.startLevel;
            if (startLevel === -1) {
              if (hls.config.testBandwidth && this.levels.length > 1) {
                // -1 : guess start Level by doing a bitrate test by loading first fragment of lowest quality level
                startLevel = 0;
                this.bitrateTest = true;
              } else {
                startLevel = hls.firstAutoLevel;
              }
            }
            // set new level to playlist loader : this will trigger start level load
            // hls.nextLoadLevel remains until it is set to a new value or until a new frag is successfully loaded
            hls.nextLoadLevel = startLevel;
            this.level = hls.loadLevel;
            this._hasEnoughToStart = !!skipSeekToStartPosition;
          }
          // if startPosition undefined but lastCurrentTime set, set startPosition to last currentTime
          if (lastCurrentTime > 0 && startPosition === -1 && !skipSeekToStartPosition) {
            this.log(`Override startPosition with lastCurrentTime @${lastCurrentTime.toFixed(3)}`);
            startPosition = lastCurrentTime;
          }
          this.state = State.IDLE;
          this.nextLoadPosition = this.lastCurrentTime = startPosition + this.timelineOffset;
          this.startPosition = skipSeekToStartPosition ? -1 : startPosition;
          this.tick();
        } else {
          this._forceStartLoad = true;
          this.state = State.STOPPED;
        }
      }
      stopLoad() {
        this._forceStartLoad = false;
        super.stopLoad();
      }
      doTick() {
        switch (this.state) {
          case State.WAITING_LEVEL:
            {
              const {
                levels,
                level
              } = this;
              const currentLevel = levels == null ? void 0 : levels[level];
              const details = currentLevel == null ? void 0 : currentLevel.details;
              if (details && (!details.live || this.levelLastLoaded === currentLevel && !this.waitForLive(currentLevel))) {
                if (this.waitForCdnTuneIn(details)) {
                  break;
                }
                this.state = State.IDLE;
                break;
              } else if (this.hls.nextLoadLevel !== this.level) {
                this.state = State.IDLE;
                break;
              }
              break;
            }
          case State.FRAG_LOADING_WAITING_RETRY:
            this.checkRetryDate();
            break;
        }
        if (this.state === State.IDLE) {
          this.doTickIdle();
        }
        this.onTickEnd();
      }
      onTickEnd() {
        var _this$media;
        super.onTickEnd();
        if ((_this$media = this.media) != null && _this$media.readyState && this.media.seeking === false) {
          this.lastCurrentTime = this.media.currentTime;
        }
        this.checkFragmentChanged();
      }
      doTickIdle() {
        const {
          hls,
          levelLastLoaded,
          levels,
          media
        } = this;
    
        // if start level not parsed yet OR
        // if video not attached AND start fragment already requested OR start frag prefetch not enabled
        // exit loop, as we either need more info (level not parsed) or we need media to be attached to load new fragment
        if (levelLastLoaded === null || !media && !this.primaryPrefetch && (this.startFragRequested || !hls.config.startFragPrefetch)) {
          return;
        }
    
        // If the "main" level is audio-only but we are loading an alternate track in the same group, do not load anything
        if (this.altAudio && this.audioOnly) {
          return;
        }
        const level = this.buffering ? hls.nextLoadLevel : hls.loadLevel;
        if (!(levels != null && levels[level])) {
          return;
        }
        const levelInfo = levels[level];
    
        // if buffer length is less than maxBufLen try to load a new fragment
    
        const bufferInfo = this.getMainFwdBufferInfo();
        if (bufferInfo === null) {
          return;
        }
        const lastDetails = this.getLevelDetails();
        if (lastDetails && this._streamEnded(bufferInfo, lastDetails)) {
          const data = {};
          if (this.altAudio === 2) {
            data.type = 'video';
          }
          this.hls.trigger(Events.BUFFER_EOS, data);
          this.state = State.ENDED;
          return;
        }
        if (!this.buffering) {
          return;
        }
    
        // set next load level : this will trigger a playlist load if needed
        if (hls.loadLevel !== level && hls.manualLevel === -1) {
          this.log(`Adapting to level ${level} from level ${this.level}`);
        }
        this.level = hls.nextLoadLevel = level;
        const levelDetails = levelInfo.details;
        // if level info not retrieved yet, switch state and wait for level retrieval
        // if live playlist, ensure that new playlist has been refreshed to avoid loading/try to load
        // a useless and outdated fragment (that might even introduce load error if it is already out of the live playlist)
        if (!levelDetails || this.state === State.WAITING_LEVEL || this.waitForLive(levelInfo)) {
          this.level = level;
          this.state = State.WAITING_LEVEL;
          this.startFragRequested = false;
          return;
        }
        const bufferLen = bufferInfo.len;
    
        // compute max Buffer Length that we could get from this load level, based on level bitrate. don't buffer more than 60 MB and more than 30s
        const maxBufLen = this.getMaxBufferLength(levelInfo.maxBitrate);
    
        // Stay idle if we are still with buffer margins
        if (bufferLen >= maxBufLen) {
          return;
        }
        if (this.backtrackFragment && this.backtrackFragment.start > bufferInfo.end) {
          this.backtrackFragment = null;
        }
        const targetBufferTime = this.backtrackFragment ? this.backtrackFragment.start : bufferInfo.end;
        let frag = this.getNextFragment(targetBufferTime, levelDetails);
        // Avoid backtracking by loading an earlier segment in streams with segments that do not start with a key frame (flagged by `couldBacktrack`)
        if (this.couldBacktrack && !this.fragPrevious && frag && isMediaFragment(frag) && this.fragmentTracker.getState(frag) !== FragmentState.OK) {
          var _this$backtrackFragme;
          const backtrackSn = ((_this$backtrackFragme = this.backtrackFragment) != null ? _this$backtrackFragme : frag).sn;
          const fragIdx = backtrackSn - levelDetails.startSN;
          const backtrackFrag = levelDetails.fragments[fragIdx - 1];
          if (backtrackFrag && frag.cc === backtrackFrag.cc) {
            frag = backtrackFrag;
            this.fragmentTracker.removeFragment(backtrackFrag);
          }
        } else if (this.backtrackFragment && bufferInfo.len) {
          this.backtrackFragment = null;
        }
        // Avoid loop loading by using nextLoadPosition set for backtracking and skipping consecutive GAP tags
        if (frag && this.isLoopLoading(frag, targetBufferTime)) {
          const gapStart = frag.gap;
          if (!gapStart) {
            // Cleanup the fragment tracker before trying to find the next unbuffered fragment
            const type = this.audioOnly && !this.altAudio ? ElementaryStreamTypes.AUDIO : ElementaryStreamTypes.VIDEO;
            const mediaBuffer = (type === ElementaryStreamTypes.VIDEO ? this.videoBuffer : this.mediaBuffer) || this.media;
            if (mediaBuffer) {
              this.afterBufferFlushed(mediaBuffer, type, PlaylistLevelType.MAIN);
            }
          }
          frag = this.getNextFragmentLoopLoading(frag, levelDetails, bufferInfo, PlaylistLevelType.MAIN, maxBufLen);
        }
        if (!frag) {
          return;
        }
        if (frag.initSegment && !frag.initSegment.data && !this.bitrateTest) {
          frag = frag.initSegment;
        }
        this.loadFragment(frag, levelInfo, targetBufferTime);
      }
      loadFragment(frag, level, targetBufferTime) {
        // Check if fragment is not loaded
        const fragState = this.fragmentTracker.getState(frag);
        if (fragState === FragmentState.NOT_LOADED || fragState === FragmentState.PARTIAL) {
          if (!isMediaFragment(frag)) {
            this._loadInitSegment(frag, level);
          } else if (this.bitrateTest) {
            this.log(`Fragment ${frag.sn} of level ${frag.level} is being downloaded to test bitrate and will not be buffered`);
            this._loadBitrateTestFrag(frag, level);
          } else {
            super.loadFragment(frag, level, targetBufferTime);
          }
        } else {
          this.clearTrackerIfNeeded(frag);
        }
      }
      getBufferedFrag(position) {
        return this.fragmentTracker.getBufferedFrag(position, PlaylistLevelType.MAIN);
      }
      followingBufferedFrag(frag) {
        if (frag) {
          // try to get range of next fragment (500ms after this range)
          return this.getBufferedFrag(frag.end + 0.5);
        }
        return null;
      }
    
      /*
        on immediate level switch :
         - pause playback if playing
         - cancel any pending load request
         - and trigger a buffer flush
      */
      immediateLevelSwitch() {
        this.abortCurrentFrag();
        this.flushMainBuffer(0, Number.POSITIVE_INFINITY);
      }
    
      /**
       * try to switch ASAP without breaking video playback:
       * in order to ensure smooth but quick level switching,
       * we need to find the next flushable buffer range
       * we should take into account new segment fetch time
       */
      nextLevelSwitch() {
        const {
          levels,
          media
        } = this;
        // ensure that media is defined and that metadata are available (to retrieve currentTime)
        if (media != null && media.readyState) {
          let fetchdelay;
          const fragPlayingCurrent = this.getAppendedFrag(media.currentTime);
          if (fragPlayingCurrent && fragPlayingCurrent.start > 1) {
            // flush buffer preceding current fragment (flush until current fragment start offset)
            // minus 1s to avoid video freezing, that could happen if we flush keyframe of current video ...
            this.flushMainBuffer(0, fragPlayingCurrent.start - 1);
          }
          const levelDetails = this.getLevelDetails();
          if (levelDetails != null && levelDetails.live) {
            const bufferInfo = this.getMainFwdBufferInfo();
            // Do not flush in live stream with low buffer
            if (!bufferInfo || bufferInfo.len < levelDetails.targetduration * 2) {
              return;
            }
          }
          if (!media.paused && levels) {
            // add a safety delay of 1s
            const nextLevelId = this.hls.nextLoadLevel;
            const nextLevel = levels[nextLevelId];
            const fragLastKbps = this.fragLastKbps;
            if (fragLastKbps && this.fragCurrent) {
              fetchdelay = this.fragCurrent.duration * nextLevel.maxBitrate / (1000 * fragLastKbps) + 1;
            } else {
              fetchdelay = 0;
            }
          } else {
            fetchdelay = 0;
          }
          // this.log('fetchdelay:'+fetchdelay);
          // find buffer range that will be reached once new fragment will be fetched
          const bufferedFrag = this.getBufferedFrag(media.currentTime + fetchdelay);
          if (bufferedFrag) {
            // we can flush buffer range following this one without stalling playback
            const nextBufferedFrag = this.followingBufferedFrag(bufferedFrag);
            if (nextBufferedFrag) {
              // if we are here, we can also cancel any loading/demuxing in progress, as they are useless
              this.abortCurrentFrag();
              // start flush position is in next buffered frag. Leave some padding for non-independent segments and smoother playback.
              const maxStart = nextBufferedFrag.maxStartPTS ? nextBufferedFrag.maxStartPTS : nextBufferedFrag.start;
              const fragDuration = nextBufferedFrag.duration;
              const startPts = Math.max(bufferedFrag.end, maxStart + Math.min(Math.max(fragDuration - this.config.maxFragLookUpTolerance, fragDuration * (this.couldBacktrack ? 0.5 : 0.125)), fragDuration * (this.couldBacktrack ? 0.75 : 0.25)));
              this.flushMainBuffer(startPts, Number.POSITIVE_INFINITY);
            }
          }
        }
      }
      abortCurrentFrag() {
        const fragCurrent = this.fragCurrent;
        this.fragCurrent = null;
        this.backtrackFragment = null;
        if (fragCurrent) {
          fragCurrent.abortRequests();
          this.fragmentTracker.removeFragment(fragCurrent);
        }
        switch (this.state) {
          case State.KEY_LOADING:
          case State.FRAG_LOADING:
          case State.FRAG_LOADING_WAITING_RETRY:
          case State.PARSING:
          case State.PARSED:
            this.state = State.IDLE;
            break;
        }
        this.nextLoadPosition = this.getLoadPosition();
      }
      flushMainBuffer(startOffset, endOffset) {
        super.flushMainBuffer(startOffset, endOffset, this.altAudio === 2 ? 'video' : null);
      }
      onMediaAttached(event, data) {
        super.onMediaAttached(event, data);
        const media = data.media;
        addEventListener(media, 'playing', this.onMediaPlaying);
        addEventListener(media, 'seeked', this.onMediaSeeked);
      }
      onMediaDetaching(event, data) {
        const {
          media
        } = this;
        if (media) {
          removeEventListener(media, 'playing', this.onMediaPlaying);
          removeEventListener(media, 'seeked', this.onMediaSeeked);
        }
        this.videoBuffer = null;
        this.fragPlaying = null;
        super.onMediaDetaching(event, data);
        const transferringMedia = !!data.transferMedia;
        if (transferringMedia) {
          return;
        }
        this._hasEnoughToStart = false;
      }
      onManifestLoading() {
        super.onManifestLoading();
        // reset buffer on manifest loading
        this.log('Trigger BUFFER_RESET');
        this.hls.trigger(Events.BUFFER_RESET, undefined);
        this.couldBacktrack = false;
        this.fragLastKbps = 0;
        this.fragPlaying = this.backtrackFragment = null;
        this.altAudio = 0;
        this.audioOnly = false;
      }
      onManifestParsed(event, data) {
        // detect if we have different kind of audio codecs used amongst playlists
        let aac = false;
        let heaac = false;
        for (let i = 0; i < data.levels.length; i++) {
          const codec = data.levels[i].audioCodec;
          if (codec) {
            aac = aac || codec.indexOf('mp4a.40.2') !== -1;
            heaac = heaac || codec.indexOf('mp4a.40.5') !== -1;
          }
        }
        this.audioCodecSwitch = aac && heaac && !changeTypeSupported();
        if (this.audioCodecSwitch) {
          this.log('Both AAC/HE-AAC audio found in levels; declaring level codec as HE-AAC');
        }
        this.levels = data.levels;
        this.startFragRequested = false;
      }
      onLevelLoading(event, data) {
        const {
          levels
        } = this;
        if (!levels || this.state !== State.IDLE) {
          return;
        }
        const level = data.levelInfo;
        if (!level.details || level.details.live && (this.levelLastLoaded !== level || level.details.expired) || this.waitForCdnTuneIn(level.details)) {
          this.state = State.WAITING_LEVEL;
        }
      }
      onLevelLoaded(event, data) {
        var _curLevel$details;
        const {
          levels,
          startFragRequested
        } = this;
        const newLevelId = data.level;
        const newDetails = data.details;
        const duration = newDetails.totalduration;
        if (!levels) {
          this.warn(`Levels were reset while loading level ${newLevelId}`);
          return;
        }
        this.log(`Level ${newLevelId} loaded [${newDetails.startSN},${newDetails.endSN}]${newDetails.lastPartSn ? `[part-${newDetails.lastPartSn}-${newDetails.lastPartIndex}]` : ''}, cc [${newDetails.startCC}, ${newDetails.endCC}] duration:${duration}`);
        const curLevel = data.levelInfo;
        const fragCurrent = this.fragCurrent;
        if (fragCurrent && (this.state === State.FRAG_LOADING || this.state === State.FRAG_LOADING_WAITING_RETRY)) {
          if (fragCurrent.level !== data.level && fragCurrent.loader) {
            this.abortCurrentFrag();
          }
        }
        let sliding = 0;
        if (newDetails.live || (_curLevel$details = curLevel.details) != null && _curLevel$details.live) {
          var _this$levelLastLoaded;
          this.checkLiveUpdate(newDetails);
          if (newDetails.deltaUpdateFailed) {
            return;
          }
          sliding = this.alignPlaylists(newDetails, curLevel.details, (_this$levelLastLoaded = this.levelLastLoaded) == null ? void 0 : _this$levelLastLoaded.details);
        }
        // override level info
        curLevel.details = newDetails;
        this.levelLastLoaded = curLevel;
        if (!startFragRequested) {
          this.setStartPosition(newDetails, sliding);
        }
        this.hls.trigger(Events.LEVEL_UPDATED, {
          details: newDetails,
          level: newLevelId
        });
    
        // only switch back to IDLE state if we were waiting for level to start downloading a new fragment
        if (this.state === State.WAITING_LEVEL) {
          if (this.waitForCdnTuneIn(newDetails)) {
            // Wait for Low-Latency CDN Tune-in
            return;
          }
          this.state = State.IDLE;
        }
        if (startFragRequested && newDetails.live) {
          this.synchronizeToLiveEdge(newDetails);
        }
    
        // trigger handler right now
        this.tick();
      }
      synchronizeToLiveEdge(levelDetails) {
        const {
          config,
          media
        } = this;
        if (!media) {
          return;
        }
        const liveSyncPosition = this.hls.liveSyncPosition;
        const currentTime = this.getLoadPosition();
        const start = levelDetails.fragmentStart;
        const end = levelDetails.edge;
        const withinSlidingWindow = currentTime >= start - config.maxFragLookUpTolerance && currentTime <= end;
        // Continue if we can seek forward to sync position or if current time is outside of sliding window
        if (liveSyncPosition !== null && media.duration > liveSyncPosition && (currentTime < liveSyncPosition || !withinSlidingWindow)) {
          // Continue if buffer is starving or if current time is behind max latency
          const maxLatency = config.liveMaxLatencyDuration !== undefined ? config.liveMaxLatencyDuration : config.liveMaxLatencyDurationCount * levelDetails.targetduration;
          if (!withinSlidingWindow && media.readyState < 4 || currentTime < end - maxLatency) {
            if (!this._hasEnoughToStart) {
              this.nextLoadPosition = liveSyncPosition;
            }
            // Only seek if ready and there is not a significant forward buffer available for playback
            if (media.readyState) {
              this.warn(`Playback: ${currentTime.toFixed(3)} is located too far from the end of live sliding playlist: ${end}, reset currentTime to : ${liveSyncPosition.toFixed(3)}`);
              if (this.config.liveSyncMode === 'buffered') {
                var _bufferInfo$buffered;
                const bufferInfo = BufferHelper.bufferInfo(media, liveSyncPosition, 0);
                if (!((_bufferInfo$buffered = bufferInfo.buffered) != null && _bufferInfo$buffered.length)) {
                  media.currentTime = liveSyncPosition;
                  return;
                }
                const isLiveSyncInBuffer = bufferInfo.start <= currentTime;
                if (isLiveSyncInBuffer) {
                  media.currentTime = liveSyncPosition;
                  return;
                }
                const {
                  nextStart
                } = BufferHelper.bufferedInfo(bufferInfo.buffered, currentTime, 0);
                if (nextStart) {
                  media.currentTime = nextStart;
                }
              } else {
                media.currentTime = liveSyncPosition;
              }
            }
          }
        }
      }
      _handleFragmentLoadProgress(data) {
        var _frag$initSegment;
        const frag = data.frag;
        const {
          part,
          payload
        } = data;
        const {
          levels
        } = this;
        if (!levels) {
          this.warn(`Levels were reset while fragment load was in progress. Fragment ${frag.sn} of level ${frag.level} will not be buffered`);
          return;
        }
        const currentLevel = levels[frag.level];
        if (!currentLevel) {
          this.warn(`Level ${frag.level} not found on progress`);
          return;
        }
        const details = currentLevel.details;
        if (!details) {
          this.warn(`Dropping fragment ${frag.sn} of level ${frag.level} after level details were reset`);
          this.fragmentTracker.removeFragment(frag);
          return;
        }
        const videoCodec = currentLevel.videoCodec;
    
        // time Offset is accurate if level PTS is known, or if playlist is not sliding (not live)
        const accurateTimeOffset = details.PTSKnown || !details.live;
        const initSegmentData = (_frag$initSegment = frag.initSegment) == null ? void 0 : _frag$initSegment.data;
        const audioCodec = this._getAudioCodec(currentLevel);
    
        // transmux the MPEG-TS data to ISO-BMFF segments
        // this.log(`Transmuxing ${frag.sn} of [${details.startSN} ,${details.endSN}],level ${frag.level}, cc ${frag.cc}`);
        const transmuxer = this.transmuxer = this.transmuxer || new TransmuxerInterface(this.hls, PlaylistLevelType.MAIN, this._handleTransmuxComplete.bind(this), this._handleTransmuxerFlush.bind(this));
        const partIndex = part ? part.index : -1;
        const partial = partIndex !== -1;
        const chunkMeta = new ChunkMetadata(frag.level, frag.sn, frag.stats.chunkCount, payload.byteLength, partIndex, partial);
        const initPTS = this.initPTS[frag.cc];
        transmuxer.push(payload, initSegmentData, audioCodec, videoCodec, frag, part, details.totalduration, accurateTimeOffset, chunkMeta, initPTS);
      }
      onAudioTrackSwitching(event, data) {
        const hls = this.hls;
        // if any URL found on new audio track, it is an alternate audio track
        const fromAltAudio = this.altAudio !== 0;
        const altAudio = useAlternateAudio(data.url, hls);
        // if we switch on main audio, ensure that main fragment scheduling is synced with media.buffered
        // don't do anything if we switch to alt audio: audio stream controller is handling it.
        // we will just have to change buffer scheduling on audioTrackSwitched
        if (!altAudio) {
          if (this.mediaBuffer !== this.media) {
            this.log('Switching on main audio, use media.buffered to schedule main fragment loading');
            this.mediaBuffer = this.media;
            const fragCurrent = this.fragCurrent;
            // we need to refill audio buffer from main: cancel any frag loading to speed up audio switch
            if (fragCurrent) {
              this.log('Switching to main audio track, cancel main fragment load');
              fragCurrent.abortRequests();
              this.fragmentTracker.removeFragment(fragCurrent);
            }
            // destroy transmuxer to force init segment generation (following audio switch)
            this.resetTransmuxer();
            // switch to IDLE state to load new fragment
            this.resetLoadingState();
          } else if (this.audioOnly) {
            // Reset audio transmuxer so when switching back to main audio we're not still appending where we left off
            this.resetTransmuxer();
          }
          // If switching from alt to main audio, flush all audio and trigger track switched
          if (fromAltAudio) {
            this.altAudio = 0;
            this.fragmentTracker.removeAllFragments();
            hls.once(Events.BUFFER_FLUSHED, () => {
              if (!this.hls) {
                return;
              }
              this.hls.trigger(Events.AUDIO_TRACK_SWITCHED, data);
            });
            hls.trigger(Events.BUFFER_FLUSHING, {
              startOffset: 0,
              endOffset: Number.POSITIVE_INFINITY,
              type: null
            });
            return;
          }
          hls.trigger(Events.AUDIO_TRACK_SWITCHED, data);
        } else {
          this.altAudio = 1;
        }
      }
      onAudioTrackSwitched(event, data) {
        const altAudio = useAlternateAudio(data.url, this.hls);
        if (altAudio) {
          const videoBuffer = this.videoBuffer;
          // if we switched on alternate audio, ensure that main fragment scheduling is synced with video sourcebuffer buffered
          if (videoBuffer && this.mediaBuffer !== videoBuffer) {
            this.log('Switching on alternate audio, use video.buffered to schedule main fragment loading');
            this.mediaBuffer = videoBuffer;
          }
        }
        this.altAudio = altAudio ? 2 : 0;
        this.tick();
      }
      onBufferCreated(event, data) {
        const tracks = data.tracks;
        let mediaTrack;
        let name;
        let alternate = false;
        for (const type in tracks) {
          const track = tracks[type];
          if (track.id === 'main') {
            name = type;
            mediaTrack = track;
            // keep video source buffer reference
            if (type === 'video') {
              const videoTrack = tracks[type];
              if (videoTrack) {
                this.videoBuffer = videoTrack.buffer;
              }
            }
          } else {
            alternate = true;
          }
        }
        if (alternate && mediaTrack) {
          this.log(`Alternate track found, use ${name}.buffered to schedule main fragment loading`);
          this.mediaBuffer = mediaTrack.buffer;
        } else {
          this.mediaBuffer = this.media;
        }
      }
      onFragBuffered(event, data) {
        const {
          frag,
          part
        } = data;
        const bufferedMainFragment = frag.type === PlaylistLevelType.MAIN;
        if (bufferedMainFragment) {
          if (this.fragContextChanged(frag)) {
            // If a level switch was requested while a fragment was buffering, it will emit the FRAG_BUFFERED event upon completion
            // Avoid setting state back to IDLE, since that will interfere with a level switch
            this.warn(`Fragment ${frag.sn}${part ? ' p: ' + part.index : ''} of level ${frag.level} finished buffering, but was aborted. state: ${this.state}`);
            if (this.state === State.PARSED) {
              this.state = State.IDLE;
            }
            return;
          }
          const stats = part ? part.stats : frag.stats;
          this.fragLastKbps = Math.round(8 * stats.total / (stats.buffering.end - stats.loading.first));
          if (isMediaFragment(frag)) {
            this.fragPrevious = frag;
          }
          this.fragBufferedComplete(frag, part);
        }
        const media = this.media;
        if (!media) {
          return;
        }
        if (!this._hasEnoughToStart && BufferHelper.getBuffered(media).length) {
          this._hasEnoughToStart = true;
          this.seekToStartPos();
        }
        if (bufferedMainFragment) {
          this.tick();
        }
      }
      get hasEnoughToStart() {
        return this._hasEnoughToStart;
      }
      onError(event, data) {
        var _data$context;
        if (data.fatal) {
          this.state = State.ERROR;
          return;
        }
        switch (data.details) {
          case ErrorDetails.FRAG_GAP:
          case ErrorDetails.FRAG_PARSING_ERROR:
          case ErrorDetails.FRAG_DECRYPT_ERROR:
          case ErrorDetails.FRAG_LOAD_ERROR:
          case ErrorDetails.FRAG_LOAD_TIMEOUT:
          case ErrorDetails.KEY_LOAD_ERROR:
          case ErrorDetails.KEY_LOAD_TIMEOUT:
            this.onFragmentOrKeyLoadError(PlaylistLevelType.MAIN, data);
            break;
          case ErrorDetails.LEVEL_LOAD_ERROR:
          case ErrorDetails.LEVEL_LOAD_TIMEOUT:
          case ErrorDetails.LEVEL_PARSING_ERROR:
            // in case of non fatal error while loading level, if level controller is not retrying to load level, switch back to IDLE
            if (!data.levelRetry && this.state === State.WAITING_LEVEL && ((_data$context = data.context) == null ? void 0 : _data$context.type) === PlaylistContextType.LEVEL) {
              this.state = State.IDLE;
            }
            break;
          case ErrorDetails.BUFFER_ADD_CODEC_ERROR:
          case ErrorDetails.BUFFER_APPEND_ERROR:
            if (data.parent !== 'main') {
              return;
            }
            if (this.reduceLengthAndFlushBuffer(data)) {
              this.resetLoadingState();
            }
            break;
          case ErrorDetails.BUFFER_FULL_ERROR:
            if (data.parent !== 'main') {
              return;
            }
            if (this.reduceLengthAndFlushBuffer(data)) {
              const isAssetPlayer = !this.config.interstitialsController && this.config.assetPlayerId;
              if (isAssetPlayer) {
                // Use currentTime in buffer estimate to prevent loading more until playback advances
                this._hasEnoughToStart = true;
              } else {
                this.flushMainBuffer(0, Number.POSITIVE_INFINITY);
              }
            }
            break;
          case ErrorDetails.INTERNAL_EXCEPTION:
            this.recoverWorkerError(data);
            break;
        }
      }
      onFragLoadEmergencyAborted() {
        this.state = State.IDLE;
        // if loadedmetadata is not set, it means that we are emergency switch down on first frag
        // in that case, reset startFragRequested flag
        if (!this._hasEnoughToStart) {
          this.startFragRequested = false;
          this.nextLoadPosition = this.lastCurrentTime;
        }
        this.tickImmediate();
      }
      onBufferFlushed(event, {
        type
      }) {
        if (type !== ElementaryStreamTypes.AUDIO || !this.altAudio) {
          const mediaBuffer = (type === ElementaryStreamTypes.VIDEO ? this.videoBuffer : this.mediaBuffer) || this.media;
          if (mediaBuffer) {
            this.afterBufferFlushed(mediaBuffer, type, PlaylistLevelType.MAIN);
            this.tick();
          }
        }
      }
      onLevelsUpdated(event, data) {
        if (this.level > -1 && this.fragCurrent) {
          this.level = this.fragCurrent.level;
          if (this.level === -1) {
            this.resetWhenMissingContext(this.fragCurrent);
          }
        }
        this.levels = data.levels;
      }
      swapAudioCodec() {
        this.audioCodecSwap = !this.audioCodecSwap;
      }
    
      /**
       * Seeks to the set startPosition if not equal to the mediaElement's current time.
       */
      seekToStartPos() {
        const {
          media
        } = this;
        if (!media) {
          return;
        }
        const currentTime = media.currentTime;
        let startPosition = this.startPosition;
        // only adjust currentTime if different from startPosition or if startPosition not buffered
        // at that stage, there should be only one buffered range, as we reach that code after first fragment has been buffered
        if (startPosition >= 0 && currentTime < startPosition) {
          if (media.seeking) {
            this.log(`could not seek to ${startPosition}, already seeking at ${currentTime}`);
            return;
          }
    
          // Offset start position by timeline offset
          const timelineOffset = this.timelineOffset;
          if (timelineOffset && startPosition) {
            startPosition += timelineOffset;
          }
          const details = this.getLevelDetails();
          const buffered = BufferHelper.getBuffered(media);
          const bufferStart = buffered.length ? buffered.start(0) : 0;
          const delta = bufferStart - startPosition;
          const skipTolerance = Math.max(this.config.maxBufferHole, this.config.maxFragLookUpTolerance);
          if (this.config.startOnSegmentBoundary || delta > 0 && (delta < skipTolerance || this.loadingParts && delta < 2 * ((details == null ? void 0 : details.partTarget) || 0))) {
            this.log(`adjusting start position by ${delta} to match buffer start`);
            startPosition += delta;
            this.startPosition = startPosition;
          }
          if (currentTime < startPosition) {
            this.log(`seek to target start position ${startPosition} from current time ${currentTime} buffer start ${bufferStart}`);
            media.currentTime = startPosition;
          }
        }
      }
      _getAudioCodec(currentLevel) {
        let audioCodec = this.config.defaultAudioCodec || currentLevel.audioCodec;
        if (this.audioCodecSwap && audioCodec) {
          this.log('Swapping audio codec');
          if (audioCodec.indexOf('mp4a.40.5') !== -1) {
            audioCodec = 'mp4a.40.2';
          } else {
            audioCodec = 'mp4a.40.5';
          }
        }
        return audioCodec;
      }
      _loadBitrateTestFrag(fragment, level) {
        fragment.bitrateTest = true;
        this._doFragLoad(fragment, level).then(data => {
          const {
            hls
          } = this;
          const frag = data == null ? void 0 : data.frag;
          if (!frag || this.fragContextChanged(frag)) {
            return;
          }
          level.fragmentError = 0;
          this.state = State.IDLE;
          this.startFragRequested = false;
          this.bitrateTest = false;
          const stats = frag.stats;
          // Bitrate tests fragments are neither parsed nor buffered
          stats.parsing.start = stats.parsing.end = stats.buffering.start = stats.buffering.end = self.performance.now();
          hls.trigger(Events.FRAG_LOADED, data);
          frag.bitrateTest = false;
        }).catch(reason => {
          if (this.state === State.STOPPED || this.state === State.ERROR) {
            return;
          }
          this.warn(reason);
          this.resetFragmentLoading(fragment);
        });
      }
      _handleTransmuxComplete(transmuxResult) {
        const id = this.playlistType;
        const {
          hls
        } = this;
        const {
          remuxResult,
          chunkMeta
        } = transmuxResult;
        const context = this.getCurrentContext(chunkMeta);
        if (!context) {
          this.resetWhenMissingContext(chunkMeta);
          return;
        }
        const {
          frag,
          part,
          level
        } = context;
        const {
          video,
          text,
          id3,
          initSegment
        } = remuxResult;
        const {
          details
        } = level;
        // The audio-stream-controller handles audio buffering if Hls.js is playing an alternate audio track
        const audio = this.altAudio ? undefined : remuxResult.audio;
    
        // Check if the current fragment has been aborted. We check this by first seeing if we're still playing the current level.
        // If we are, subsequently check if the currently loading fragment (fragCurrent) has changed.
        if (this.fragContextChanged(frag)) {
          this.fragmentTracker.removeFragment(frag);
          return;
        }
        this.state = State.PARSING;
        if (initSegment) {
          const tracks = initSegment.tracks;
          if (tracks) {
            const mapFragment = frag.initSegment || frag;
            if (this.unhandledEncryptionError(initSegment, frag)) {
              return;
            }
            this._bufferInitSegment(level, tracks, mapFragment, chunkMeta);
            hls.trigger(Events.FRAG_PARSING_INIT_SEGMENT, {
              frag: mapFragment,
              id,
              tracks
            });
          }
          const baseTime = initSegment.initPTS;
          const timescale = initSegment.timescale;
          const initPTS = this.initPTS[frag.cc];
          if (isFiniteNumber(baseTime) && (!initPTS || initPTS.baseTime !== baseTime || initPTS.timescale !== timescale)) {
            const trackId = initSegment.trackId;
            this.initPTS[frag.cc] = {
              baseTime,
              timescale,
              trackId
            };
            hls.trigger(Events.INIT_PTS_FOUND, {
              frag,
              id,
              initPTS: baseTime,
              timescale,
              trackId
            });
          }
        }
    
        // Avoid buffering if backtracking this fragment
        if (video && details) {
          if (audio && video.type === 'audiovideo') {
            this.logMuxedErr(frag);
          }
          const prevFrag = details.fragments[frag.sn - 1 - details.startSN];
          const isFirstFragment = frag.sn === details.startSN;
          const isFirstInDiscontinuity = !prevFrag || frag.cc > prevFrag.cc;
          if (remuxResult.independent !== false) {
            const {
              startPTS,
              endPTS,
              startDTS,
              endDTS
            } = video;
            if (part) {
              part.elementaryStreams[video.type] = {
                startPTS,
                endPTS,
                startDTS,
                endDTS
              };
            } else {
              if (video.firstKeyFrame && video.independent && chunkMeta.id === 1 && !isFirstInDiscontinuity) {
                this.couldBacktrack = true;
              }
              if (video.dropped && video.independent) {
                // Backtrack if dropped frames create a gap after currentTime
    
                const bufferInfo = this.getMainFwdBufferInfo();
                const targetBufferTime = (bufferInfo ? bufferInfo.end : this.getLoadPosition()) + this.config.maxBufferHole;
                const startTime = video.firstKeyFramePTS ? video.firstKeyFramePTS : startPTS;
                if (!isFirstFragment && targetBufferTime < startTime - this.config.maxBufferHole && !isFirstInDiscontinuity) {
                  this.backtrack(frag);
                  return;
                } else if (isFirstInDiscontinuity) {
                  // Mark segment with a gap to avoid loop loading
                  frag.gap = true;
                }
                // Set video stream start to fragment start so that truncated samples do not distort the timeline, and mark it partial
                frag.setElementaryStreamInfo(video.type, frag.start, endPTS, frag.start, endDTS, true);
              } else if (isFirstFragment && startPTS - (details.appliedTimelineOffset || 0) > MAX_START_GAP_JUMP) {
                // Mark segment with a gap to skip large start gap
                frag.gap = true;
              }
            }
            frag.setElementaryStreamInfo(video.type, startPTS, endPTS, startDTS, endDTS);
            if (this.backtrackFragment) {
              this.backtrackFragment = frag;
            }
            this.bufferFragmentData(video, frag, part, chunkMeta, isFirstFragment || isFirstInDiscontinuity);
          } else if (isFirstFragment || isFirstInDiscontinuity) {
            // Mark segment with a gap to avoid loop loading
            frag.gap = true;
          } else {
            this.backtrack(frag);
            return;
          }
        }
        if (audio) {
          const {
            startPTS,
            endPTS,
            startDTS,
            endDTS
          } = audio;
          if (part) {
            part.elementaryStreams[ElementaryStreamTypes.AUDIO] = {
              startPTS,
              endPTS,
              startDTS,
              endDTS
            };
          }
          frag.setElementaryStreamInfo(ElementaryStreamTypes.AUDIO, startPTS, endPTS, startDTS, endDTS);
          this.bufferFragmentData(audio, frag, part, chunkMeta);
        }
        if (details && id3 != null && id3.samples.length) {
          const emittedID3 = {
            id,
            frag,
            details,
            samples: id3.samples
          };
          hls.trigger(Events.FRAG_PARSING_METADATA, emittedID3);
        }
        if (details && text) {
          const emittedText = {
            id,
            frag,
            details,
            samples: text.samples
          };
          hls.trigger(Events.FRAG_PARSING_USERDATA, emittedText);
        }
      }
      logMuxedErr(frag) {
        this.warn(`${isMediaFragment(frag) ? 'Media' : 'Init'} segment with muxed audiovideo where only video expected: ${frag.url}`);
      }
      _bufferInitSegment(currentLevel, tracks, frag, chunkMeta) {
        if (this.state !== State.PARSING) {
          return;
        }
        this.audioOnly = !!tracks.audio && !tracks.video;
    
        // if audio track is expected to come from audio stream controller, discard any coming from main
        if (this.altAudio && !this.audioOnly) {
          delete tracks.audio;
          if (tracks.audiovideo) {
            this.logMuxedErr(frag);
          }
        }
        // include levelCodec in audio and video tracks
        const {
          audio,
          video,
          audiovideo
        } = tracks;
        if (audio) {
          const levelCodec = currentLevel.audioCodec;
          let audioCodec = pickMostCompleteCodecName(audio.codec, levelCodec);
          // Add level and profile to make up for remuxer not being able to parse full codec
          // (logger warning "Unhandled audio codec...")
          if (audioCodec === 'mp4a') {
            audioCodec = 'mp4a.40.5';
          }
          // Handle `audioCodecSwitch`
          const ua = navigator.userAgent.toLowerCase();
          if (this.audioCodecSwitch) {
            if (audioCodec) {
              if (audioCodec.indexOf('mp4a.40.5') !== -1) {
                audioCodec = 'mp4a.40.2';
              } else {
                audioCodec = 'mp4a.40.5';
              }
            }
            // In the case that AAC and HE-AAC audio codecs are signalled in manifest,
            // force HE-AAC, as it seems that most browsers prefers it.
            // don't force HE-AAC if mono stream, or in Firefox
            const audioMetadata = audio.metadata;
            if (audioMetadata && 'channelCount' in audioMetadata && (audioMetadata.channelCount || 1) !== 1 && ua.indexOf('firefox') === -1) {
              audioCodec = 'mp4a.40.5';
            }
          }
          // HE-AAC is broken on Android, always signal audio codec as AAC even if variant manifest states otherwise
          if (audioCodec && audioCodec.indexOf('mp4a.40.5') !== -1 && ua.indexOf('android') !== -1 && audio.container !== 'audio/mpeg') {
            // Exclude mpeg audio
            audioCodec = 'mp4a.40.2';
            this.log(`Android: force audio codec to ${audioCodec}`);
          }
          if (levelCodec && levelCodec !== audioCodec) {
            this.log(`Swapping manifest audio codec "${levelCodec}" for "${audioCodec}"`);
          }
          audio.levelCodec = audioCodec;
          audio.id = PlaylistLevelType.MAIN;
          this.log(`Init audio buffer, container:${audio.container}, codecs[selected/level/parsed]=[${audioCodec || ''}/${levelCodec || ''}/${audio.codec}]`);
          delete tracks.audiovideo;
        }
        if (video) {
          video.levelCodec = currentLevel.videoCodec;
          video.id = PlaylistLevelType.MAIN;
          const parsedVideoCodec = video.codec;
          if ((parsedVideoCodec == null ? void 0 : parsedVideoCodec.length) === 4) {
            // Make up for passthrough-remuxer not being able to parse full codec
            // (logger warning "Unhandled video codec...")
            switch (parsedVideoCodec) {
              case 'hvc1':
              case 'hev1':
                video.codec = 'hvc1.1.6.L120.90';
                break;
              case 'av01':
                video.codec = 'av01.0.04M.08';
                break;
              case 'avc1':
                video.codec = 'avc1.42e01e';
                break;
            }
          }
          this.log(`Init video buffer, container:${video.container}, codecs[level/parsed]=[${currentLevel.videoCodec || ''}/${parsedVideoCodec}]${video.codec !== parsedVideoCodec ? ' parsed-corrected=' + video.codec : ''}${video.supplemental ? ' supplemental=' + video.supplemental : ''}`);
          delete tracks.audiovideo;
        }
        if (audiovideo) {
          this.log(`Init audiovideo buffer, container:${audiovideo.container}, codecs[level/parsed]=[${currentLevel.codecs}/${audiovideo.codec}]`);
          delete tracks.video;
          delete tracks.audio;
        }
        const trackTypes = Object.keys(tracks);
        if (trackTypes.length) {
          this.hls.trigger(Events.BUFFER_CODECS, tracks);
          if (!this.hls) {
            // Exit after fatal tracks error
            return;
          }
          // loop through tracks that are going to be provided to bufferController
          trackTypes.forEach(trackName => {
            const track = tracks[trackName];
            const initSegment = track.initSegment;
            if (initSegment != null && initSegment.byteLength) {
              this.hls.trigger(Events.BUFFER_APPENDING, {
                type: trackName,
                data: initSegment,
                frag,
                part: null,
                chunkMeta,
                parent: frag.type
              });
            }
          });
        }
        // trigger handler right now
        this.tickImmediate();
      }
      getMainFwdBufferInfo() {
        // Observe video SourceBuffer (this.mediaBuffer) only when alt-audio is used, otherwise observe combined media buffer
        const bufferOutput = this.mediaBuffer && this.altAudio === 2 ? this.mediaBuffer : this.media;
        return this.getFwdBufferInfo(bufferOutput, PlaylistLevelType.MAIN);
      }
      get maxBufferLength() {
        const {
          levels,
          level
        } = this;
        const levelInfo = levels == null ? void 0 : levels[level];
        if (!levelInfo) {
          return this.config.maxBufferLength;
        }
        return this.getMaxBufferLength(levelInfo.maxBitrate);
      }
      backtrack(frag) {
        this.couldBacktrack = true;
        // Causes findFragments to backtrack through fragments to find the keyframe
        this.backtrackFragment = frag;
        this.resetTransmuxer();
        this.flushBufferGap(frag);
        this.fragmentTracker.removeFragment(frag);
        this.fragPrevious = null;
        this.nextLoadPosition = frag.start;
        this.state = State.IDLE;
      }
      checkFragmentChanged() {
        const video = this.media;
        let fragPlayingCurrent = null;
        if (video && video.readyState > 1 && video.seeking === false) {
          const currentTime = video.currentTime;
          /* if video element is in seeked state, currentTime can only increase.
            (assuming that playback rate is positive ...)
            As sometimes currentTime jumps back to zero after a
            media decode error, check this, to avoid seeking back to
            wrong position after a media decode error
          */
    
          if (BufferHelper.isBuffered(video, currentTime)) {
            fragPlayingCurrent = this.getAppendedFrag(currentTime);
          } else if (BufferHelper.isBuffered(video, currentTime + 0.1)) {
            /* ensure that FRAG_CHANGED event is triggered at startup,
              when first video frame is displayed and playback is paused.
              add a tolerance of 100ms, in case current position is not buffered,
              check if current pos+100ms is buffered and use that buffer range
              for FRAG_CHANGED event reporting */
            fragPlayingCurrent = this.getAppendedFrag(currentTime + 0.1);
          }
          if (fragPlayingCurrent) {
            this.backtrackFragment = null;
            const fragPlaying = this.fragPlaying;
            const fragCurrentLevel = fragPlayingCurrent.level;
            if (!fragPlaying || fragPlayingCurrent.sn !== fragPlaying.sn || fragPlaying.level !== fragCurrentLevel) {
              this.fragPlaying = fragPlayingCurrent;
              this.hls.trigger(Events.FRAG_CHANGED, {
                frag: fragPlayingCurrent
              });
              if (!fragPlaying || fragPlaying.level !== fragCurrentLevel) {
                this.hls.trigger(Events.LEVEL_SWITCHED, {
                  level: fragCurrentLevel
                });
              }
            }
          }
        }
      }
      get nextLevel() {
        const frag = this.nextBufferedFrag;
        if (frag) {
          return frag.level;
        }
        return -1;
      }
      get currentFrag() {
        var _this$media2;
        if (this.fragPlaying) {
          return this.fragPlaying;
        }
        const currentTime = ((_this$media2 = this.media) == null ? void 0 : _this$media2.currentTime) || this.lastCurrentTime;
        if (isFiniteNumber(currentTime)) {
          return this.getAppendedFrag(currentTime);
        }
        return null;
      }
      get currentProgramDateTime() {
        var _this$media3;
        const currentTime = ((_this$media3 = this.media) == null ? void 0 : _this$media3.currentTime) || this.lastCurrentTime;
        if (isFiniteNumber(currentTime)) {
          const details = this.getLevelDetails();
          const frag = this.currentFrag || (details ? findFragmentByPTS(null, details.fragments, currentTime) : null);
          if (frag) {
            const programDateTime = frag.programDateTime;
            if (programDateTime !== null) {
              const epocMs = programDateTime + (currentTime - frag.start) * 1000;
              return new Date(epocMs);
            }
          }
        }
        return null;
      }
      get currentLevel() {
        const frag = this.currentFrag;
        if (frag) {
          return frag.level;
        }
        return -1;
      }
      get nextBufferedFrag() {
        const frag = this.currentFrag;
        if (frag) {
          return this.followingBufferedFrag(frag);
        }
        return null;
      }
      get forceStartLoad() {
        return this._forceStartLoad;
      }
    }
    
    class KeyLoader extends Logger {
      constructor(config, logger) {
        super('key-loader', logger);
        this.config = void 0;
        this.keyIdToKeyInfo = {};
        this.emeController = null;
        this.config = config;
      }
      abort(type) {
        for (const id in this.keyIdToKeyInfo) {
          const loader = this.keyIdToKeyInfo[id].loader;
          if (loader) {
            var _loader$context;
            if (type && type !== ((_loader$context = loader.context) == null ? void 0 : _loader$context.frag.type)) {
              return;
            }
            loader.abort();
          }
        }
      }
      detach() {
        for (const id in this.keyIdToKeyInfo) {
          const keyInfo = this.keyIdToKeyInfo[id];
          // Remove cached EME keys on detach
          if (keyInfo.mediaKeySessionContext || keyInfo.decryptdata.isCommonEncryption) {
            delete this.keyIdToKeyInfo[id];
          }
        }
      }
      destroy() {
        this.detach();
        for (const id in this.keyIdToKeyInfo) {
          const loader = this.keyIdToKeyInfo[id].loader;
          if (loader) {
            loader.destroy();
          }
        }
        this.keyIdToKeyInfo = {};
      }
      createKeyLoadError(frag, details = ErrorDetails.KEY_LOAD_ERROR, error, networkDetails, response) {
        return new LoadError({
          type: ErrorTypes.NETWORK_ERROR,
          details,
          fatal: false,
          frag,
          response,
          error,
          networkDetails
        });
      }
      loadClear(loadingFrag, encryptedFragments, startFragRequested) {
        if (this.emeController && this.config.emeEnabled && !this.emeController.getSelectedKeySystemFormats().length) {
          // Access key-system with nearest key on start (loading frag is unencrypted)
          if (encryptedFragments.length) {
            for (let i = 0, l = encryptedFragments.length; i < l; i++) {
              const frag = encryptedFragments[i];
              // Loading at or before segment with EXT-X-KEY, or first frag loading and last EXT-X-KEY
              if (loadingFrag.cc <= frag.cc && (!isMediaFragment(loadingFrag) || !isMediaFragment(frag) || loadingFrag.sn < frag.sn) || !startFragRequested && i == l - 1) {
                return this.emeController.selectKeySystemFormat(frag).then(keySystemFormat => {
                  if (!this.emeController) {
                    return;
                  }
                  frag.setKeyFormat(keySystemFormat);
                  const keySystem = keySystemFormatToKeySystemDomain(keySystemFormat);
                  if (keySystem) {
                    return this.emeController.getKeySystemAccess([keySystem]);
                  }
                });
              }
            }
          }
          if (this.config.requireKeySystemAccessOnStart) {
            const keySystemsInConfig = getKeySystemsForConfig(this.config);
            if (keySystemsInConfig.length) {
              return this.emeController.getKeySystemAccess(keySystemsInConfig);
            }
          }
        }
        return null;
      }
      load(frag) {
        if (!frag.decryptdata && frag.encrypted && this.emeController && this.config.emeEnabled) {
          // Multiple keys, but none selected, resolve in eme-controller
          return this.emeController.selectKeySystemFormat(frag).then(keySystemFormat => {
            return this.loadInternal(frag, keySystemFormat);
          });
        }
        return this.loadInternal(frag);
      }
      loadInternal(frag, keySystemFormat) {
        var _keyInfo, _keyInfo2;
        if (keySystemFormat) {
          frag.setKeyFormat(keySystemFormat);
        }
        const decryptdata = frag.decryptdata;
        if (!decryptdata) {
          const error = new Error(keySystemFormat ? `Expected frag.decryptdata to be defined after setting format ${keySystemFormat}` : `Missing decryption data on fragment in onKeyLoading (emeEnabled with controller: ${this.emeController && this.config.emeEnabled})`);
          return Promise.reject(this.createKeyLoadError(frag, ErrorDetails.KEY_LOAD_ERROR, error));
        }
        const uri = decryptdata.uri;
        if (!uri) {
          return Promise.reject(this.createKeyLoadError(frag, ErrorDetails.KEY_LOAD_ERROR, new Error(`Invalid key URI: "${uri}"`)));
        }
        const id = getKeyId(decryptdata);
        let keyInfo = this.keyIdToKeyInfo[id];
        if ((_keyInfo = keyInfo) != null && _keyInfo.decryptdata.key) {
          decryptdata.key = keyInfo.decryptdata.key;
          return Promise.resolve({
            frag,
            keyInfo
          });
        }
        // Return key load promise once it has a mediakey session with an usable key status
        if (this.emeController && (_keyInfo2 = keyInfo) != null && _keyInfo2.keyLoadPromise) {
          const keyStatus = this.emeController.getKeyStatus(keyInfo.decryptdata);
          switch (keyStatus) {
            case 'usable':
            case 'usable-in-future':
              return keyInfo.keyLoadPromise.then(keyLoadedData => {
                // Return the correct fragment with updated decryptdata key and loaded keyInfo
                const {
                  keyInfo
                } = keyLoadedData;
                decryptdata.key = keyInfo.decryptdata.key;
                return {
                  frag,
                  keyInfo
                };
              });
          }
          // If we have a key session and status and it is not pending or usable, continue
          // This will go back to the eme-controller for expired keys to get a new keyLoadPromise
        }
    
        // Load the key or return the loading promise
        this.log(`${this.keyIdToKeyInfo[id] ? 'Rel' : 'L'}oading${decryptdata.keyId ? ' keyId: ' + arrayToHex(decryptdata.keyId) : ''} URI: ${decryptdata.uri} from ${frag.type} ${frag.level}`);
        keyInfo = this.keyIdToKeyInfo[id] = {
          decryptdata,
          keyLoadPromise: null,
          loader: null,
          mediaKeySessionContext: null
        };
        switch (decryptdata.method) {
          case 'SAMPLE-AES':
          case 'SAMPLE-AES-CENC':
          case 'SAMPLE-AES-CTR':
            if (decryptdata.keyFormat === 'identity') {
              // loadKeyHTTP handles http(s) and data URLs
              return this.loadKeyHTTP(keyInfo, frag);
            }
            return this.loadKeyEME(keyInfo, frag);
          case 'AES-128':
          case 'AES-256':
          case 'AES-256-CTR':
            return this.loadKeyHTTP(keyInfo, frag);
          default:
            return Promise.reject(this.createKeyLoadError(frag, ErrorDetails.KEY_LOAD_ERROR, new Error(`Key supplied with unsupported METHOD: "${decryptdata.method}"`)));
        }
      }
      loadKeyEME(keyInfo, frag) {
        const keyLoadedData = {
          frag,
          keyInfo
        };
        if (this.emeController && this.config.emeEnabled) {
          var _frag$initSegment;
          if (!keyInfo.decryptdata.keyId && (_frag$initSegment = frag.initSegment) != null && _frag$initSegment.data) {
            const keyIds = parseKeyIdsFromTenc(frag.initSegment.data);
            if (keyIds.length) {
              let keyId = keyIds[0];
              if (keyId.some(b => b !== 0)) {
                this.log(`Using keyId found in init segment ${arrayToHex(keyId)}`);
                LevelKey.setKeyIdForUri(keyInfo.decryptdata.uri, keyId);
              } else {
                keyId = LevelKey.addKeyIdForUri(keyInfo.decryptdata.uri);
                this.log(`Generating keyId to patch media ${arrayToHex(keyId)}`);
              }
              keyInfo.decryptdata.keyId = keyId;
            }
          }
          if (!keyInfo.decryptdata.keyId && !isMediaFragment(frag)) {
            // Resolve so that unencrypted init segment is loaded
            // key id is extracted from tenc box when processing key for next segment above
            return Promise.resolve(keyLoadedData);
          }
          const keySessionContextPromise = this.emeController.loadKey(keyLoadedData);
          return (keyInfo.keyLoadPromise = keySessionContextPromise.then(keySessionContext => {
            keyInfo.mediaKeySessionContext = keySessionContext;
            return keyLoadedData;
          })).catch(error => {
            // Remove promise for license renewal or retry
            keyInfo.keyLoadPromise = null;
            if ('data' in error) {
              error.data.frag = frag;
            }
            throw error;
          });
        }
        return Promise.resolve(keyLoadedData);
      }
      loadKeyHTTP(keyInfo, frag) {
        const config = this.config;
        const Loader = config.loader;
        const keyLoader = new Loader(config);
        frag.keyLoader = keyInfo.loader = keyLoader;
        return keyInfo.keyLoadPromise = new Promise((resolve, reject) => {
          const loaderContext = {
            keyInfo,
            frag,
            responseType: 'arraybuffer',
            url: keyInfo.decryptdata.uri
          };
    
          // maxRetry is 0 so that instead of retrying the same key on the same variant multiple times,
          // key-loader will trigger an error and rely on stream-controller to handle retry logic.
          // this will also align retry logic with fragment-loader
          const loadPolicy = config.keyLoadPolicy.default;
          const loaderConfig = {
            loadPolicy,
            timeout: loadPolicy.maxLoadTimeMs,
            maxRetry: 0,
            retryDelay: 0,
            maxRetryDelay: 0
          };
          const loaderCallbacks = {
            onSuccess: (response, stats, context, networkDetails) => {
              const {
                frag,
                keyInfo
              } = context;
              const id = getKeyId(keyInfo.decryptdata);
              if (!frag.decryptdata || keyInfo !== this.keyIdToKeyInfo[id]) {
                return reject(this.createKeyLoadError(frag, ErrorDetails.KEY_LOAD_ERROR, new Error('after key load, decryptdata unset or changed'), networkDetails));
              }
              keyInfo.decryptdata.key = frag.decryptdata.key = new Uint8Array(response.data);
    
              // detach fragment key loader on load success
              frag.keyLoader = null;
              keyInfo.loader = null;
              resolve({
                frag,
                keyInfo
              });
            },
            onError: (response, context, networkDetails, stats) => {
              this.resetLoader(context);
              reject(this.createKeyLoadError(frag, ErrorDetails.KEY_LOAD_ERROR, new Error(`HTTP Error ${response.code} loading key ${response.text}`), networkDetails, _objectSpread2({
                url: loaderContext.url,
                data: undefined
              }, response)));
            },
            onTimeout: (stats, context, networkDetails) => {
              this.resetLoader(context);
              reject(this.createKeyLoadError(frag, ErrorDetails.KEY_LOAD_TIMEOUT, new Error('key loading timed out'), networkDetails));
            },
            onAbort: (stats, context, networkDetails) => {
              this.resetLoader(context);
              reject(this.createKeyLoadError(frag, ErrorDetails.INTERNAL_ABORTED, new Error('key loading aborted'), networkDetails));
            }
          };
          keyLoader.load(loaderContext, loaderConfig, loaderCallbacks);
        });
      }
      resetLoader(context) {
        const {
          frag,
          keyInfo,
          url: uri
        } = context;
        const loader = keyInfo.loader;
        if (frag.keyLoader === loader) {
          frag.keyLoader = null;
          keyInfo.loader = null;
        }
        const id = getKeyId(keyInfo.decryptdata) || uri;
        delete this.keyIdToKeyInfo[id];
        if (loader) {
          loader.destroy();
        }
      }
    }
    function getKeyId(decryptdata) {
      if (decryptdata.keyFormat !== KeySystemFormats.FAIRPLAY) {
        const keyId = decryptdata.keyId;
        if (keyId) {
          return arrayToHex(keyId);
        }
      }
      return decryptdata.uri;
    }
    
    function mapContextToLevelType(context) {
      const {
        type
      } = context;
      switch (type) {
        case PlaylistContextType.AUDIO_TRACK:
          return PlaylistLevelType.AUDIO;
        case PlaylistContextType.SUBTITLE_TRACK:
          return PlaylistLevelType.SUBTITLE;
        default:
          return PlaylistLevelType.MAIN;
      }
    }
    function getResponseUrl(response, context) {
      let url = response.url;
      // responseURL not supported on some browsers (it is used to detect URL redirection)
      // data-uri mode also not supported (but no need to detect redirection)
      if (url === undefined || url.indexOf('data:') === 0) {
        // fallback to initial URL
        url = context.url;
      }
      return url;
    }
    class PlaylistLoader {
      constructor(hls) {
        this.hls = void 0;
        this.loaders = Object.create(null);
        this.variableList = null;
        this.onManifestLoaded = this.checkAutostartLoad;
        this.hls = hls;
        this.registerListeners();
      }
      startLoad(startPosition) {}
      stopLoad() {
        this.destroyInternalLoaders();
      }
      registerListeners() {
        const {
          hls
        } = this;
        hls.on(Events.MANIFEST_LOADING, this.onManifestLoading, this);
        hls.on(Events.LEVEL_LOADING, this.onLevelLoading, this);
        hls.on(Events.AUDIO_TRACK_LOADING, this.onAudioTrackLoading, this);
        hls.on(Events.SUBTITLE_TRACK_LOADING, this.onSubtitleTrackLoading, this);
        hls.on(Events.LEVELS_UPDATED, this.onLevelsUpdated, this);
      }
      unregisterListeners() {
        const {
          hls
        } = this;
        hls.off(Events.MANIFEST_LOADING, this.onManifestLoading, this);
        hls.off(Events.LEVEL_LOADING, this.onLevelLoading, this);
        hls.off(Events.AUDIO_TRACK_LOADING, this.onAudioTrackLoading, this);
        hls.off(Events.SUBTITLE_TRACK_LOADING, this.onSubtitleTrackLoading, this);
        hls.off(Events.LEVELS_UPDATED, this.onLevelsUpdated, this);
      }
    
      /**
       * Returns defaults or configured loader-type overloads (pLoader and loader config params)
       */
      createInternalLoader(context) {
        const config = this.hls.config;
        const PLoader = config.pLoader;
        const Loader = config.loader;
        const InternalLoader = PLoader || Loader;
        const loader = new InternalLoader(config);
        this.loaders[context.type] = loader;
        return loader;
      }
      getInternalLoader(context) {
        return this.loaders[context.type];
      }
      resetInternalLoader(contextType) {
        if (this.loaders[contextType]) {
          delete this.loaders[contextType];
        }
      }
    
      /**
       * Call `destroy` on all internal loader instances mapped (one per context type)
       */
      destroyInternalLoaders() {
        for (const contextType in this.loaders) {
          const loader = this.loaders[contextType];
          if (loader) {
            loader.destroy();
          }
          this.resetInternalLoader(contextType);
        }
      }
      destroy() {
        this.variableList = null;
        this.unregisterListeners();
        this.destroyInternalLoaders();
      }
      onManifestLoading(event, data) {
        const {
          url
        } = data;
        this.variableList = null;
        this.load({
          id: null,
          level: 0,
          responseType: 'text',
          type: PlaylistContextType.MANIFEST,
          url,
          deliveryDirectives: null,
          levelOrTrack: null
        });
      }
      onLevelLoading(event, data) {
        const {
          id,
          level,
          pathwayId,
          url,
          deliveryDirectives,
          levelInfo
        } = data;
        this.load({
          id,
          level,
          pathwayId,
          responseType: 'text',
          type: PlaylistContextType.LEVEL,
          url,
          deliveryDirectives,
          levelOrTrack: levelInfo
        });
      }
      onAudioTrackLoading(event, data) {
        const {
          id,
          groupId,
          url,
          deliveryDirectives,
          track
        } = data;
        this.load({
          id,
          groupId,
          level: null,
          responseType: 'text',
          type: PlaylistContextType.AUDIO_TRACK,
          url,
          deliveryDirectives,
          levelOrTrack: track
        });
      }
      onSubtitleTrackLoading(event, data) {
        const {
          id,
          groupId,
          url,
          deliveryDirectives,
          track
        } = data;
        this.load({
          id,
          groupId,
          level: null,
          responseType: 'text',
          type: PlaylistContextType.SUBTITLE_TRACK,
          url,
          deliveryDirectives,
          levelOrTrack: track
        });
      }
      onLevelsUpdated(event, data) {
        // abort and delete loader of removed levels
        const loader = this.loaders[PlaylistContextType.LEVEL];
        if (loader) {
          const context = loader.context;
          if (context && !data.levels.some(lvl => lvl === context.levelOrTrack)) {
            loader.abort();
            delete this.loaders[PlaylistContextType.LEVEL];
          }
        }
      }
      load(context) {
        var _context$deliveryDire;
        const config = this.hls.config;
    
        // logger.debug(`[playlist-loader]: Loading playlist of type ${context.type}, level: ${context.level}, id: ${context.id}`);
    
        // Check if a loader for this context already exists
        let loader = this.getInternalLoader(context);
        if (loader) {
          const logger = this.hls.logger;
          const loaderContext = loader.context;
          if (loaderContext && loaderContext.levelOrTrack === context.levelOrTrack && (loaderContext.url === context.url || loaderContext.deliveryDirectives && !context.deliveryDirectives)) {
            // same URL can't overlap, or wait for blocking request
            if (loaderContext.url === context.url) {
              logger.log(`[playlist-loader]: ignore ${context.url} ongoing request`);
            } else {
              logger.log(`[playlist-loader]: ignore ${context.url} in favor of ${loaderContext.url}`);
            }
            return;
          }
          logger.log(`[playlist-loader]: aborting previous loader for type: ${context.type}`);
          loader.abort();
        }
    
        // apply different configs for retries depending on
        // context (manifest, level, audio/subs playlist)
        let loadPolicy;
        if (context.type === PlaylistContextType.MANIFEST) {
          loadPolicy = config.manifestLoadPolicy.default;
        } else {
          loadPolicy = _extends({}, config.playlistLoadPolicy.default, {
            timeoutRetry: null,
            errorRetry: null
          });
        }
        loader = this.createInternalLoader(context);
    
        // Override level/track timeout for LL-HLS requests
        // (the default of 10000ms is counter productive to blocking playlist reload requests)
        if (isFiniteNumber((_context$deliveryDire = context.deliveryDirectives) == null ? void 0 : _context$deliveryDire.part)) {
          let levelDetails;
          if (context.type === PlaylistContextType.LEVEL && context.level !== null) {
            levelDetails = this.hls.levels[context.level].details;
          } else if (context.type === PlaylistContextType.AUDIO_TRACK && context.id !== null) {
            levelDetails = this.hls.audioTracks[context.id].details;
          } else if (context.type === PlaylistContextType.SUBTITLE_TRACK && context.id !== null) {
            levelDetails = this.hls.subtitleTracks[context.id].details;
          }
          if (levelDetails) {
            const partTarget = levelDetails.partTarget;
            const targetDuration = levelDetails.targetduration;
            if (partTarget && targetDuration) {
              const maxLowLatencyPlaylistRefresh = Math.max(partTarget * 3, targetDuration * 0.8) * 1000;
              loadPolicy = _extends({}, loadPolicy, {
                maxTimeToFirstByteMs: Math.min(maxLowLatencyPlaylistRefresh, loadPolicy.maxTimeToFirstByteMs),
                maxLoadTimeMs: Math.min(maxLowLatencyPlaylistRefresh, loadPolicy.maxTimeToFirstByteMs)
              });
            }
          }
        }
        const legacyRetryCompatibility = loadPolicy.errorRetry || loadPolicy.timeoutRetry || {};
        const loaderConfig = {
          loadPolicy,
          timeout: loadPolicy.maxLoadTimeMs,
          maxRetry: legacyRetryCompatibility.maxNumRetry || 0,
          retryDelay: legacyRetryCompatibility.retryDelayMs || 0,
          maxRetryDelay: legacyRetryCompatibility.maxRetryDelayMs || 0
        };
        const loaderCallbacks = {
          onSuccess: (response, stats, context, networkDetails) => {
            const loader = this.getInternalLoader(context);
            this.resetInternalLoader(context.type);
            const string = response.data;
            stats.parsing.start = performance.now();
            if (M3U8Parser.isMediaPlaylist(string) || context.type !== PlaylistContextType.MANIFEST) {
              this.handleTrackOrLevelPlaylist(response, stats, context, networkDetails || null, loader);
            } else {
              this.handleMasterPlaylist(response, stats, context, networkDetails);
            }
          },
          onError: (response, context, networkDetails, stats) => {
            this.handleNetworkError(context, networkDetails, false, response, stats);
          },
          onTimeout: (stats, context, networkDetails) => {
            this.handleNetworkError(context, networkDetails, true, undefined, stats);
          }
        };
    
        // logger.debug(`[playlist-loader]: Calling internal loader delegate for URL: ${context.url}`);
    
        loader.load(context, loaderConfig, loaderCallbacks);
      }
      checkAutostartLoad() {
        if (!this.hls) {
          return;
        }
        const {
          config: {
            autoStartLoad,
            startPosition
          },
          forceStartLoad
        } = this.hls;
        if (autoStartLoad || forceStartLoad) {
          this.hls.logger.log(`${autoStartLoad ? 'auto' : 'force'} startLoad with configured startPosition ${startPosition}`);
          this.hls.startLoad(startPosition);
        }
      }
      handleMasterPlaylist(response, stats, context, networkDetails) {
        const hls = this.hls;
        const string = response.data;
        const url = getResponseUrl(response, context);
        const parsedResult = M3U8Parser.parseMasterPlaylist(string, url);
        if (parsedResult.playlistParsingError) {
          stats.parsing.end = performance.now();
          this.handleManifestParsingError(response, context, parsedResult.playlistParsingError, networkDetails, stats);
          return;
        }
        const {
          contentSteering,
          levels,
          sessionData,
          sessionKeys,
          startTimeOffset,
          variableList
        } = parsedResult;
        this.variableList = variableList;
    
        // Treat unknown codec as audio or video codec based on passing `isTypeSupported` check
        // (allows for playback of any supported codec even if not indexed in utils/codecs)
        levels.forEach(levelParsed => {
          const {
            unknownCodecs
          } = levelParsed;
          if (unknownCodecs) {
            const {
              preferManagedMediaSource
            } = this.hls.config;
            let {
              audioCodec,
              videoCodec
            } = levelParsed;
            for (let i = unknownCodecs.length; i--;) {
              const unknownCodec = unknownCodecs[i];
              if (areCodecsMediaSourceSupported(unknownCodec, 'audio', preferManagedMediaSource)) {
                levelParsed.audioCodec = audioCodec = audioCodec ? `${audioCodec},${unknownCodec}` : unknownCodec;
                sampleEntryCodesISO.audio[audioCodec.substring(0, 4)] = 2;
                unknownCodecs.splice(i, 1);
              } else if (areCodecsMediaSourceSupported(unknownCodec, 'video', preferManagedMediaSource)) {
                levelParsed.videoCodec = videoCodec = videoCodec ? `${videoCodec},${unknownCodec}` : unknownCodec;
                sampleEntryCodesISO.video[videoCodec.substring(0, 4)] = 2;
                unknownCodecs.splice(i, 1);
              }
            }
          }
        });
        const {
          AUDIO: audioTracks = [],
          SUBTITLES: subtitles,
          'CLOSED-CAPTIONS': captions
        } = M3U8Parser.parseMasterPlaylistMedia(string, url, parsedResult);
        if (audioTracks.length) {
          // check if we have found an audio track embedded in main playlist (audio track without URI attribute)
          const embeddedAudioFound = audioTracks.some(audioTrack => !audioTrack.url);
    
          // if no embedded audio track defined, but audio codec signaled in quality level,
          // we need to signal this main audio track this could happen with playlists with
          // alt audio rendition in which quality levels (main)
          // contains both audio+video. but with mixed audio track not signaled
          if (!embeddedAudioFound && levels[0].audioCodec && !levels[0].attrs.AUDIO) {
            this.hls.logger.log('[playlist-loader]: audio codec signaled in quality level, but no embedded audio track signaled, create one');
            audioTracks.unshift({
              type: 'main',
              name: 'main',
              groupId: 'main',
              default: false,
              autoselect: false,
              forced: false,
              id: -1,
              attrs: new AttrList({}),
              bitrate: 0,
              url: ''
            });
          }
        }
        hls.trigger(Events.MANIFEST_LOADED, {
          levels,
          audioTracks,
          subtitles,
          captions,
          contentSteering,
          url,
          stats,
          networkDetails,
          sessionData,
          sessionKeys,
          startTimeOffset,
          variableList
        });
      }
      handleTrackOrLevelPlaylist(response, stats, context, networkDetails, loader) {
        const hls = this.hls;
        const {
          id,
          level,
          type
        } = context;
        const url = getResponseUrl(response, context);
        const levelId = isFiniteNumber(level) ? level : isFiniteNumber(id) ? id : 0;
        const levelType = mapContextToLevelType(context);
        const levelDetails = M3U8Parser.parseLevelPlaylist(response.data, url, levelId, levelType, 0, this.variableList);
    
        // We have done our first request (Manifest-type) and receive
        // not a master playlist but a chunk-list (track/level)
        // We fire the manifest-loaded event anyway with the parsed level-details
        // by creating a single-level structure for it.
        if (type === PlaylistContextType.MANIFEST) {
          const singleLevel = {
            attrs: new AttrList({}),
            bitrate: 0,
            details: levelDetails,
            name: '',
            url
          };
          levelDetails.requestScheduled = stats.loading.start + computeReloadInterval(levelDetails, 0);
          hls.trigger(Events.MANIFEST_LOADED, {
            levels: [singleLevel],
            audioTracks: [],
            url,
            stats,
            networkDetails,
            sessionData: null,
            sessionKeys: null,
            contentSteering: null,
            startTimeOffset: null,
            variableList: null
          });
        }
    
        // save parsing time
        stats.parsing.end = performance.now();
    
        // extend the context with the new levelDetails property
        context.levelDetails = levelDetails;
        this.handlePlaylistLoaded(levelDetails, response, stats, context, networkDetails, loader);
      }
      handleManifestParsingError(response, context, error, networkDetails, stats) {
        this.hls.trigger(Events.ERROR, {
          type: ErrorTypes.NETWORK_ERROR,
          details: ErrorDetails.MANIFEST_PARSING_ERROR,
          fatal: context.type === PlaylistContextType.MANIFEST,
          url: response.url,
          err: error,
          error,
          reason: error.message,
          response,
          context,
          networkDetails,
          stats
        });
      }
      handleNetworkError(context, networkDetails, timeout = false, response, stats) {
        let message = `A network ${timeout ? 'timeout' : 'error' + (response ? ' (status ' + response.code + ')' : '')} occurred while loading ${context.type}`;
        if (context.type === PlaylistContextType.LEVEL) {
          message += `: ${context.level} id: ${context.id}`;
        } else if (context.type === PlaylistContextType.AUDIO_TRACK || context.type === PlaylistContextType.SUBTITLE_TRACK) {
          message += ` id: ${context.id} group-id: "${context.groupId}"`;
        }
        const error = new Error(message);
        this.hls.logger.warn(`[playlist-loader]: ${message}`);
        let details = ErrorDetails.UNKNOWN;
        let fatal = false;
        const loader = this.getInternalLoader(context);
        switch (context.type) {
          case PlaylistContextType.MANIFEST:
            details = timeout ? ErrorDetails.MANIFEST_LOAD_TIMEOUT : ErrorDetails.MANIFEST_LOAD_ERROR;
            fatal = true;
            break;
          case PlaylistContextType.LEVEL:
            details = timeout ? ErrorDetails.LEVEL_LOAD_TIMEOUT : ErrorDetails.LEVEL_LOAD_ERROR;
            fatal = false;
            break;
          case PlaylistContextType.AUDIO_TRACK:
            details = timeout ? ErrorDetails.AUDIO_TRACK_LOAD_TIMEOUT : ErrorDetails.AUDIO_TRACK_LOAD_ERROR;
            fatal = false;
            break;
          case PlaylistContextType.SUBTITLE_TRACK:
            details = timeout ? ErrorDetails.SUBTITLE_TRACK_LOAD_TIMEOUT : ErrorDetails.SUBTITLE_LOAD_ERROR;
            fatal = false;
            break;
        }
        if (loader) {
          this.resetInternalLoader(context.type);
        }
        const errorData = {
          type: ErrorTypes.NETWORK_ERROR,
          details,
          fatal,
          url: context.url,
          loader,
          context,
          error,
          networkDetails,
          stats
        };
        if (response) {
          const url = (networkDetails == null ? void 0 : networkDetails.url) || context.url;
          errorData.response = _objectSpread2({
            url,
            data: undefined
          }, response);
        }
        this.hls.trigger(Events.ERROR, errorData);
      }
      handlePlaylistLoaded(levelDetails, response, stats, context, networkDetails, loader) {
        const hls = this.hls;
        const {
          type,
          level,
          levelOrTrack,
          id,
          groupId,
          deliveryDirectives
        } = context;
        const url = getResponseUrl(response, context);
        const parent = mapContextToLevelType(context);
        let levelIndex = typeof context.level === 'number' && parent === PlaylistLevelType.MAIN ? level : undefined;
        const error = levelDetails.playlistParsingError;
        if (error) {
          this.hls.logger.warn(`${error} ${levelDetails.url}`);
          if (!hls.config.ignorePlaylistParsingErrors) {
            hls.trigger(Events.ERROR, {
              type: ErrorTypes.NETWORK_ERROR,
              details: ErrorDetails.LEVEL_PARSING_ERROR,
              fatal: false,
              url,
              error,
              reason: error.message,
              response,
              context,
              level: levelIndex,
              parent,
              networkDetails,
              stats
            });
            return;
          }
          levelDetails.playlistParsingError = null;
        }
        if (!levelDetails.fragments.length) {
          const _error = levelDetails.playlistParsingError = new Error('No Segments found in Playlist');
          hls.trigger(Events.ERROR, {
            type: ErrorTypes.NETWORK_ERROR,
            details: ErrorDetails.LEVEL_EMPTY_ERROR,
            fatal: false,
            url,
            error: _error,
            reason: _error.message,
            response,
            context,
            level: levelIndex,
            parent,
            networkDetails,
            stats
          });
          return;
        }
        if (levelDetails.live && loader) {
          if (loader.getCacheAge) {
            levelDetails.ageHeader = loader.getCacheAge() || 0;
          }
          if (!loader.getCacheAge || isNaN(levelDetails.ageHeader)) {
            levelDetails.ageHeader = 0;
          }
        }
        switch (type) {
          case PlaylistContextType.MANIFEST:
          case PlaylistContextType.LEVEL:
            if (levelIndex) {
              if (!levelOrTrack) {
                // fall-through to hls.levels[0]
                levelIndex = 0;
              } else {
                if (levelOrTrack !== hls.levels[levelIndex]) {
                  // correct levelIndex when lower levels were removed from hls.levels
                  const updatedIndex = hls.levels.indexOf(levelOrTrack);
                  if (updatedIndex > -1) {
                    levelIndex = updatedIndex;
                  }
                }
              }
            }
            hls.trigger(Events.LEVEL_LOADED, {
              details: levelDetails,
              levelInfo: levelOrTrack || hls.levels[0],
              level: levelIndex || 0,
              id: id || 0,
              stats,
              networkDetails,
              deliveryDirectives,
              withoutMultiVariant: type === PlaylistContextType.MANIFEST
            });
            break;
          case PlaylistContextType.AUDIO_TRACK:
            hls.trigger(Events.AUDIO_TRACK_LOADED, {
              details: levelDetails,
              track: levelOrTrack,
              id: id || 0,
              groupId: groupId || '',
              stats,
              networkDetails,
              deliveryDirectives
            });
            break;
          case PlaylistContextType.SUBTITLE_TRACK:
            hls.trigger(Events.SUBTITLE_TRACK_LOADED, {
              details: levelDetails,
              track: levelOrTrack,
              id: id || 0,
              groupId: groupId || '',
              stats,
              networkDetails,
              deliveryDirectives
            });
            break;
        }
      }
    }
    
    /**
     * The `Hls` class is the core of the HLS.js library used to instantiate player instances.
     * @public
     */
    class Hls {
      /**
       * Get the video-dev/hls.js package version.
       */
      static get version() {
        return version;
      }
    
      /**
       * Check if the required MediaSource Extensions are available.
       */
      static isMSESupported() {
        return isMSESupported();
      }
    
      /**
       * Check if MediaSource Extensions are available and isTypeSupported checks pass for any baseline codecs.
       */
      static isSupported() {
        return isSupported();
      }
    
      /**
       * Get the MediaSource global used for MSE playback (ManagedMediaSource, MediaSource, or WebKitMediaSource).
       */
      static getMediaSource() {
        return getMediaSource();
      }
      static get Events() {
        return Events;
      }
      static get MetadataSchema() {
        return MetadataSchema;
      }
      static get ErrorTypes() {
        return ErrorTypes;
      }
      static get ErrorDetails() {
        return ErrorDetails;
      }
    
      /**
       * Get the default configuration applied to new instances.
       */
      static get DefaultConfig() {
        if (!Hls.defaultConfig) {
          return hlsDefaultConfig;
        }
        return Hls.defaultConfig;
      }
    
      /**
       * Replace the default configuration applied to new instances.
       */
      static set DefaultConfig(defaultConfig) {
        Hls.defaultConfig = defaultConfig;
      }
    
      /**
       * Creates an instance of an HLS client that can attach to exactly one `HTMLMediaElement`.
       * @param userConfig - Configuration options applied over `Hls.DefaultConfig`
       */
      constructor(userConfig = {}) {
        /**
         * The runtime configuration used by the player. At instantiation this is combination of `hls.userConfig` merged over `Hls.DefaultConfig`.
         */
        this.config = void 0;
        /**
         * The configuration object provided on player instantiation.
         */
        this.userConfig = void 0;
        /**
         * The logger functions used by this player instance, configured on player instantiation.
         */
        this.logger = void 0;
        this.coreComponents = void 0;
        this.networkControllers = void 0;
        this._emitter = new EventEmitter();
        this._autoLevelCapping = -1;
        this._maxHdcpLevel = null;
        this.abrController = void 0;
        this.bufferController = void 0;
        this.capLevelController = void 0;
        this.latencyController = void 0;
        this.levelController = void 0;
        this.streamController = void 0;
        this.audioStreamController = void 0;
        this.subtititleStreamController = void 0;
        this.audioTrackController = void 0;
        this.subtitleTrackController = void 0;
        this.interstitialsController = void 0;
        this.gapController = void 0;
        this.emeController = void 0;
        this.cmcdController = void 0;
        this._media = null;
        this._url = null;
        this._sessionId = void 0;
        this.triggeringException = void 0;
        this.started = false;
        const logger = this.logger = enableLogs(userConfig.debug || false, 'Hls instance', userConfig.assetPlayerId);
        const config = this.config = mergeConfig(Hls.DefaultConfig, userConfig, logger);
        this.userConfig = userConfig;
        if (config.progressive) {
          enableStreamingMode(config, logger);
        }
    
        // core controllers and network loaders
        const {
          abrController: _AbrController,
          bufferController: _BufferController,
          capLevelController: _CapLevelController,
          errorController: _ErrorController,
          fpsController: _FpsController
        } = config;
        const errorController = new _ErrorController(this);
        const abrController = this.abrController = new _AbrController(this);
        // FragmentTracker must be defined before StreamController because the order of event handling is important
        const fragmentTracker = new FragmentTracker(this);
        const _InterstitialsController = config.interstitialsController;
        const interstitialsController = _InterstitialsController ? this.interstitialsController = new _InterstitialsController(this, Hls) : null;
        const bufferController = this.bufferController = new _BufferController(this, fragmentTracker);
        const capLevelController = this.capLevelController = new _CapLevelController(this);
        const fpsController = new _FpsController(this);
        const playListLoader = new PlaylistLoader(this);
        const _ContentSteeringController = config.contentSteeringController;
        // Instantiate ConentSteeringController before LevelController to receive Multivariant Playlist events first
        const contentSteering = _ContentSteeringController ? new _ContentSteeringController(this) : null;
        const levelController = this.levelController = new LevelController(this, contentSteering);
        const id3TrackController = new ID3TrackController(this);
        const keyLoader = new KeyLoader(this.config, this.logger);
        const streamController = this.streamController = new StreamController(this, fragmentTracker, keyLoader);
        const gapController = this.gapController = new GapController(this, fragmentTracker);
    
        // Cap level controller uses streamController to flush the buffer
        capLevelController.setStreamController(streamController);
        // fpsController uses streamController to switch when frames are being dropped
        fpsController.setStreamController(streamController);
        const networkControllers = [playListLoader, levelController, streamController];
        if (interstitialsController) {
          networkControllers.splice(1, 0, interstitialsController);
        }
        if (contentSteering) {
          networkControllers.splice(1, 0, contentSteering);
        }
        this.networkControllers = networkControllers;
        const coreComponents = [abrController, bufferController, gapController, capLevelController, fpsController, id3TrackController, fragmentTracker];
        this.audioTrackController = this.createController(config.audioTrackController, networkControllers);
        const AudioStreamControllerClass = config.audioStreamController;
        if (AudioStreamControllerClass) {
          networkControllers.push(this.audioStreamController = new AudioStreamControllerClass(this, fragmentTracker, keyLoader));
        }
        // Instantiate subtitleTrackController before SubtitleStreamController to receive level events first
        this.subtitleTrackController = this.createController(config.subtitleTrackController, networkControllers);
        const SubtitleStreamControllerClass = config.subtitleStreamController;
        if (SubtitleStreamControllerClass) {
          networkControllers.push(this.subtititleStreamController = new SubtitleStreamControllerClass(this, fragmentTracker, keyLoader));
        }
        this.createController(config.timelineController, coreComponents);
        keyLoader.emeController = this.emeController = this.createController(config.emeController, coreComponents);
        this.cmcdController = this.createController(config.cmcdController, coreComponents);
        this.latencyController = this.createController(LatencyController, coreComponents);
        this.coreComponents = coreComponents;
    
        // Error controller handles errors before and after all other controllers
        // This listener will be invoked after all other controllers error listeners
        networkControllers.push(errorController);
        const onErrorOut = errorController.onErrorOut;
        if (typeof onErrorOut === 'function') {
          this.on(Events.ERROR, onErrorOut, errorController);
        }
        // Autostart load handler
        this.on(Events.MANIFEST_LOADED, playListLoader.onManifestLoaded, playListLoader);
      }
      createController(ControllerClass, components) {
        if (ControllerClass) {
          const controllerInstance = new ControllerClass(this);
          if (components) {
            components.push(controllerInstance);
          }
          return controllerInstance;
        }
        return null;
      }
    
      // Delegate the EventEmitter through the public API of Hls.js
      on(event, listener, context = this) {
        this._emitter.on(event, listener, context);
      }
      once(event, listener, context = this) {
        this._emitter.once(event, listener, context);
      }
      removeAllListeners(event) {
        this._emitter.removeAllListeners(event);
      }
      off(event, listener, context = this, once) {
        this._emitter.off(event, listener, context, once);
      }
      listeners(event) {
        return this._emitter.listeners(event);
      }
      emit(event, name, eventObject) {
        return this._emitter.emit(event, name, eventObject);
      }
      trigger(event, eventObject) {
        if (this.config.debug) {
          return this.emit(event, event, eventObject);
        } else {
          try {
            return this.emit(event, event, eventObject);
          } catch (error) {
            this.logger.error('An internal error happened while handling event ' + event + '. Error message: "' + error.message + '". Here is a stacktrace:', error);
            // Prevent recursion in error event handlers that throw #5497
            if (!this.triggeringException) {
              this.triggeringException = true;
              const fatal = event === Events.ERROR;
              this.trigger(Events.ERROR, {
                type: ErrorTypes.OTHER_ERROR,
                details: ErrorDetails.INTERNAL_EXCEPTION,
                fatal,
                event,
                error
              });
              this.triggeringException = false;
            }
          }
        }
        return false;
      }
      listenerCount(event) {
        return this._emitter.listenerCount(event);
      }
    
      /**
       * Dispose of the instance
       */
      destroy() {
        this.logger.log('destroy');
        this.trigger(Events.DESTROYING, undefined);
        this.detachMedia();
        this.removeAllListeners();
        this._autoLevelCapping = -1;
        this._url = null;
        this.networkControllers.forEach(component => component.destroy());
        this.networkControllers.length = 0;
        this.coreComponents.forEach(component => component.destroy());
        this.coreComponents.length = 0;
        // Remove any references that could be held in config options or callbacks
        const config = this.config;
        config.xhrSetup = config.fetchSetup = undefined;
        // @ts-ignore
        this.userConfig = null;
      }
    
      /**
       * Attaches Hls.js to a media element
       */
      attachMedia(data) {
        if (!data || 'media' in data && !data.media) {
          const error = new Error(`attachMedia failed: invalid argument (${data})`);
          this.trigger(Events.ERROR, {
            type: ErrorTypes.OTHER_ERROR,
            details: ErrorDetails.ATTACH_MEDIA_ERROR,
            fatal: true,
            error
          });
          return;
        }
        this.logger.log(`attachMedia`);
        if (this._media) {
          this.logger.warn(`media must be detached before attaching`);
          this.detachMedia();
        }
        const attachMediaSource = 'media' in data;
        const media = attachMediaSource ? data.media : data;
        const attachingData = attachMediaSource ? data : {
          media
        };
        this._media = media;
        this.trigger(Events.MEDIA_ATTACHING, attachingData);
      }
    
      /**
       * Detach Hls.js from the media
       */
      detachMedia() {
        this.logger.log('detachMedia');
        this.trigger(Events.MEDIA_DETACHING, {});
        this._media = null;
      }
    
      /**
       * Detach HTMLMediaElement, MediaSource, and SourceBuffers without reset, for attaching to another instance
       */
      transferMedia() {
        this._media = null;
        const transferMedia = this.bufferController.transferMedia();
        this.trigger(Events.MEDIA_DETACHING, {
          transferMedia
        });
        return transferMedia;
      }
    
      /**
       * Set the source URL. Can be relative or absolute.
       */
      loadSource(url) {
        this.stopLoad();
        const media = this.media;
        const loadedSource = this._url;
        const loadingSource = this._url = urlToolkitExports.buildAbsoluteURL(self.location.href, url, {
          alwaysNormalize: true
        });
        this._autoLevelCapping = -1;
        this._maxHdcpLevel = null;
        this.logger.log(`loadSource:${loadingSource}`);
        if (media && loadedSource && (loadedSource !== loadingSource || this.bufferController.hasSourceTypes())) {
          // Remove and re-create MediaSource
          this.detachMedia();
          this.attachMedia(media);
        }
        // when attaching to a source URL, trigger a playlist load
        this.trigger(Events.MANIFEST_LOADING, {
          url: url
        });
      }
    
      /**
       * Gets the currently loaded URL
       */
      get url() {
        return this._url;
      }
    
      /**
       * Whether or not enough has been buffered to seek to start position or use `media.currentTime` to determine next load position
       */
      get hasEnoughToStart() {
        return this.streamController.hasEnoughToStart;
      }
    
      /**
       * Get the startPosition set on startLoad(position) or on autostart with config.startPosition
       */
      get startPosition() {
        return this.streamController.startPositionValue;
      }
    
      /**
       * Start loading data from the stream source.
       * Depending on default config, client starts loading automatically when a source is set.
       *
       * @param startPosition - Set the start position to stream from.
       * Defaults to -1 (None: starts from earliest point)
       */
      startLoad(startPosition = -1, skipSeekToStartPosition) {
        this.logger.log(`startLoad(${startPosition + (skipSeekToStartPosition ? ', <skip seek to start>' : '')})`);
        this.started = true;
        this.resumeBuffering();
        for (let i = 0; i < this.networkControllers.length; i++) {
          this.networkControllers[i].startLoad(startPosition, skipSeekToStartPosition);
          if (!this.started || !this.networkControllers) {
            break;
          }
        }
      }
    
      /**
       * Stop loading of any stream data.
       */
      stopLoad() {
        this.logger.log('stopLoad');
        this.started = false;
        for (let i = 0; i < this.networkControllers.length; i++) {
          this.networkControllers[i].stopLoad();
          if (this.started || !this.networkControllers) {
            break;
          }
        }
      }
    
      /**
       * Returns whether loading, toggled with `startLoad()` and `stopLoad()`, is active or not`.
       */
      get loadingEnabled() {
        return this.started;
      }
    
      /**
       * Returns state of fragment loading toggled by calling `pauseBuffering()` and `resumeBuffering()`.
       */
      get bufferingEnabled() {
        return this.streamController.bufferingEnabled;
      }
    
      /**
       * Resumes stream controller segment loading after `pauseBuffering` has been called.
       */
      resumeBuffering() {
        if (!this.bufferingEnabled) {
          this.logger.log(`resume buffering`);
          this.networkControllers.forEach(controller => {
            if (controller.resumeBuffering) {
              controller.resumeBuffering();
            }
          });
        }
      }
    
      /**
       * Prevents stream controller from loading new segments until `resumeBuffering` is called.
       * This allows for media buffering to be paused without interupting playlist loading.
       */
      pauseBuffering() {
        if (this.bufferingEnabled) {
          this.logger.log(`pause buffering`);
          this.networkControllers.forEach(controller => {
            if (controller.pauseBuffering) {
              controller.pauseBuffering();
            }
          });
        }
      }
      get inFlightFragments() {
        const inFlightData = {
          [PlaylistLevelType.MAIN]: this.streamController.inFlightFrag
        };
        if (this.audioStreamController) {
          inFlightData[PlaylistLevelType.AUDIO] = this.audioStreamController.inFlightFrag;
        }
        if (this.subtititleStreamController) {
          inFlightData[PlaylistLevelType.SUBTITLE] = this.subtititleStreamController.inFlightFrag;
        }
        return inFlightData;
      }
    
      /**
       * Swap through possible audio codecs in the stream (for example to switch from stereo to 5.1)
       */
      swapAudioCodec() {
        this.logger.log('swapAudioCodec');
        this.streamController.swapAudioCodec();
      }
    
      /**
       * When the media-element fails, this allows to detach and then re-attach it
       * as one call (convenience method).
       *
       * Automatic recovery of media-errors by this process is configurable.
       */
      recoverMediaError() {
        this.logger.log('recoverMediaError');
        const media = this._media;
        const time = media == null ? void 0 : media.currentTime;
        this.detachMedia();
        if (media) {
          this.attachMedia(media);
          if (time) {
            this.startLoad(time);
          }
        }
      }
      removeLevel(levelIndex) {
        this.levelController.removeLevel(levelIndex);
      }
    
      /**
       * @returns a UUID for this player instance
       */
      get sessionId() {
        let _sessionId = this._sessionId;
        if (!_sessionId) {
          _sessionId = this._sessionId = uuid();
        }
        return _sessionId;
      }
    
      /**
       * @returns an array of levels (variants) sorted by HDCP-LEVEL, RESOLUTION (height), FRAME-RATE, CODECS, VIDEO-RANGE, and BANDWIDTH
       */
      get levels() {
        const levels = this.levelController.levels;
        return levels ? levels : [];
      }
    
      /**
       * @returns LevelDetails of last loaded level (variant) or `null` prior to loading a media playlist.
       */
      get latestLevelDetails() {
        return this.streamController.getLevelDetails() || null;
      }
    
      /**
       * @returns Level object of selected level (variant) or `null` prior to selecting a level or once the level is removed.
       */
      get loadLevelObj() {
        return this.levelController.loadLevelObj;
      }
    
      /**
       * Index of quality level (variant) currently played
       */
      get currentLevel() {
        return this.streamController.currentLevel;
      }
    
      /**
       * Set quality level index immediately. This will flush the current buffer to replace the quality asap. That means playback will interrupt at least shortly to re-buffer and re-sync eventually. Set to -1 for automatic level selection.
       */
      set currentLevel(newLevel) {
        this.logger.log(`set currentLevel:${newLevel}`);
        this.levelController.manualLevel = newLevel;
        this.streamController.immediateLevelSwitch();
      }
    
      /**
       * Index of next quality level loaded as scheduled by stream controller.
       */
      get nextLevel() {
        return this.streamController.nextLevel;
      }
    
      /**
       * Set quality level index for next loaded data.
       * This will switch the video quality asap, without interrupting playback.
       * May abort current loading of data, and flush parts of buffer (outside currently played fragment region).
       * @param newLevel - Pass -1 for automatic level selection
       */
      set nextLevel(newLevel) {
        this.logger.log(`set nextLevel:${newLevel}`);
        this.levelController.manualLevel = newLevel;
        this.streamController.nextLevelSwitch();
      }
    
      /**
       * Return the quality level of the currently or last (of none is loaded currently) segment
       */
      get loadLevel() {
        return this.levelController.level;
      }
    
      /**
       * Set quality level index for next loaded data in a conservative way.
       * This will switch the quality without flushing, but interrupt current loading.
       * Thus the moment when the quality switch will appear in effect will only be after the already existing buffer.
       * @param newLevel - Pass -1 for automatic level selection
       */
      set loadLevel(newLevel) {
        this.logger.log(`set loadLevel:${newLevel}`);
        this.levelController.manualLevel = newLevel;
      }
    
      /**
       * get next quality level loaded
       */
      get nextLoadLevel() {
        return this.levelController.nextLoadLevel;
      }
    
      /**
       * Set quality level of next loaded segment in a fully "non-destructive" way.
       * Same as `loadLevel` but will wait for next switch (until current loading is done).
       */
      set nextLoadLevel(level) {
        this.levelController.nextLoadLevel = level;
      }
    
      /**
       * Return "first level": like a default level, if not set,
       * falls back to index of first level referenced in manifest
       */
      get firstLevel() {
        return Math.max(this.levelController.firstLevel, this.minAutoLevel);
      }
    
      /**
       * Sets "first-level", see getter.
       */
      set firstLevel(newLevel) {
        this.logger.log(`set firstLevel:${newLevel}`);
        this.levelController.firstLevel = newLevel;
      }
    
      /**
       * Return the desired start level for the first fragment that will be loaded.
       * The default value of -1 indicates automatic start level selection.
       * Setting hls.nextAutoLevel without setting a startLevel will result in
       * the nextAutoLevel value being used for one fragment load.
       */
      get startLevel() {
        const startLevel = this.levelController.startLevel;
        if (startLevel === -1 && this.abrController.forcedAutoLevel > -1) {
          return this.abrController.forcedAutoLevel;
        }
        return startLevel;
      }
    
      /**
       * set  start level (level of first fragment that will be played back)
       * if not overrided by user, first level appearing in manifest will be used as start level
       * if -1 : automatic start level selection, playback will start from level matching download bandwidth
       * (determined from download of first segment)
       */
      set startLevel(newLevel) {
        this.logger.log(`set startLevel:${newLevel}`);
        // if not in automatic start level detection, ensure startLevel is greater than minAutoLevel
        if (newLevel !== -1) {
          newLevel = Math.max(newLevel, this.minAutoLevel);
        }
        this.levelController.startLevel = newLevel;
      }
    
      /**
       * Whether level capping is enabled.
       * Default value is set via `config.capLevelToPlayerSize`.
       */
      get capLevelToPlayerSize() {
        return this.config.capLevelToPlayerSize;
      }
    
      /**
       * Enables or disables level capping. If disabled after previously enabled, `nextLevelSwitch` will be immediately called.
       */
      set capLevelToPlayerSize(shouldStartCapping) {
        const newCapLevelToPlayerSize = !!shouldStartCapping;
        if (newCapLevelToPlayerSize !== this.config.capLevelToPlayerSize) {
          if (newCapLevelToPlayerSize) {
            this.capLevelController.startCapping(); // If capping occurs, nextLevelSwitch will happen based on size.
          } else {
            this.capLevelController.stopCapping();
            this.autoLevelCapping = -1;
            this.streamController.nextLevelSwitch(); // Now we're uncapped, get the next level asap.
          }
          this.config.capLevelToPlayerSize = newCapLevelToPlayerSize;
        }
      }
    
      /**
       * Capping/max level value that should be used by automatic level selection algorithm (`ABRController`)
       */
      get autoLevelCapping() {
        return this._autoLevelCapping;
      }
    
      /**
       * Returns the current bandwidth estimate in bits per second, when available. Otherwise, `NaN` is returned.
       */
      get bandwidthEstimate() {
        const {
          bwEstimator
        } = this.abrController;
        if (!bwEstimator) {
          return NaN;
        }
        return bwEstimator.getEstimate();
      }
      set bandwidthEstimate(abrEwmaDefaultEstimate) {
        this.abrController.resetEstimator(abrEwmaDefaultEstimate);
      }
      get abrEwmaDefaultEstimate() {
        const {
          bwEstimator
        } = this.abrController;
        if (!bwEstimator) {
          return NaN;
        }
        return bwEstimator.defaultEstimate;
      }
    
      /**
       * get time to first byte estimate
       * @type {number}
       */
      get ttfbEstimate() {
        const {
          bwEstimator
        } = this.abrController;
        if (!bwEstimator) {
          return NaN;
        }
        return bwEstimator.getEstimateTTFB();
      }
    
      /**
       * Capping/max level value that should be used by automatic level selection algorithm (`ABRController`)
       */
      set autoLevelCapping(newLevel) {
        if (this._autoLevelCapping !== newLevel) {
          this.logger.log(`set autoLevelCapping:${newLevel}`);
          this._autoLevelCapping = newLevel;
          this.levelController.checkMaxAutoUpdated();
        }
      }
      get maxHdcpLevel() {
        return this._maxHdcpLevel;
      }
      set maxHdcpLevel(value) {
        if (isHdcpLevel(value) && this._maxHdcpLevel !== value) {
          this._maxHdcpLevel = value;
          this.levelController.checkMaxAutoUpdated();
        }
      }
    
      /**
       * True when automatic level selection enabled
       */
      get autoLevelEnabled() {
        return this.levelController.manualLevel === -1;
      }
    
      /**
       * Level set manually (if any)
       */
      get manualLevel() {
        return this.levelController.manualLevel;
      }
    
      /**
       * min level selectable in auto mode according to config.minAutoBitrate
       */
      get minAutoLevel() {
        const {
          levels,
          config: {
            minAutoBitrate
          }
        } = this;
        if (!levels) return 0;
        const len = levels.length;
        for (let i = 0; i < len; i++) {
          if (levels[i].maxBitrate >= minAutoBitrate) {
            return i;
          }
        }
        return 0;
      }
    
      /**
       * max level selectable in auto mode according to autoLevelCapping
       */
      get maxAutoLevel() {
        const {
          levels,
          autoLevelCapping,
          maxHdcpLevel
        } = this;
        let maxAutoLevel;
        if (autoLevelCapping === -1 && levels != null && levels.length) {
          maxAutoLevel = levels.length - 1;
        } else {
          maxAutoLevel = autoLevelCapping;
        }
        if (maxHdcpLevel) {
          for (let i = maxAutoLevel; i--;) {
            const hdcpLevel = levels[i].attrs['HDCP-LEVEL'];
            if (hdcpLevel && hdcpLevel <= maxHdcpLevel) {
              return i;
            }
          }
        }
        return maxAutoLevel;
      }
      get firstAutoLevel() {
        return this.abrController.firstAutoLevel;
      }
    
      /**
       * next automatically selected quality level
       */
      get nextAutoLevel() {
        return this.abrController.nextAutoLevel;
      }
    
      /**
       * this setter is used to force next auto level.
       * this is useful to force a switch down in auto mode:
       * in case of load error on level N, hls.js can set nextAutoLevel to N-1 for example)
       * forced value is valid for one fragment. upon successful frag loading at forced level,
       * this value will be resetted to -1 by ABR controller.
       */
      set nextAutoLevel(nextLevel) {
        this.abrController.nextAutoLevel = nextLevel;
      }
    
      /**
       * get the datetime value relative to media.currentTime for the active level Program Date Time if present
       */
      get playingDate() {
        return this.streamController.currentProgramDateTime;
      }
      get mainForwardBufferInfo() {
        return this.streamController.getMainFwdBufferInfo();
      }
      get maxBufferLength() {
        return this.streamController.maxBufferLength;
      }
    
      /**
       * Find and select the best matching audio track, making a level switch when a Group change is necessary.
       * Updates `hls.config.audioPreference`. Returns the selected track, or null when no matching track is found.
       */
      setAudioOption(audioOption) {
        var _this$audioTrackContr;
        return ((_this$audioTrackContr = this.audioTrackController) == null ? void 0 : _this$audioTrackContr.setAudioOption(audioOption)) || null;
      }
      /**
       * Find and select the best matching subtitle track, making a level switch when a Group change is necessary.
       * Updates `hls.config.subtitlePreference`. Returns the selected track, or null when no matching track is found.
       */
      setSubtitleOption(subtitleOption) {
        var _this$subtitleTrackCo;
        return ((_this$subtitleTrackCo = this.subtitleTrackController) == null ? void 0 : _this$subtitleTrackCo.setSubtitleOption(subtitleOption)) || null;
      }
    
      /**
       * Get the complete list of audio tracks across all media groups
       */
      get allAudioTracks() {
        const audioTrackController = this.audioTrackController;
        return audioTrackController ? audioTrackController.allAudioTracks : [];
      }
    
      /**
       * Get the list of selectable audio tracks
       */
      get audioTracks() {
        const audioTrackController = this.audioTrackController;
        return audioTrackController ? audioTrackController.audioTracks : [];
      }
    
      /**
       * index of the selected audio track (index in audio track lists)
       */
      get audioTrack() {
        const audioTrackController = this.audioTrackController;
        return audioTrackController ? audioTrackController.audioTrack : -1;
      }
    
      /**
       * selects an audio track, based on its index in audio track lists
       */
      set audioTrack(audioTrackId) {
        const audioTrackController = this.audioTrackController;
        if (audioTrackController) {
          audioTrackController.audioTrack = audioTrackId;
        }
      }
    
      /**
       * get the complete list of subtitle tracks across all media groups
       */
      get allSubtitleTracks() {
        const subtitleTrackController = this.subtitleTrackController;
        return subtitleTrackController ? subtitleTrackController.allSubtitleTracks : [];
      }
    
      /**
       * get alternate subtitle tracks list from playlist
       */
      get subtitleTracks() {
        const subtitleTrackController = this.subtitleTrackController;
        return subtitleTrackController ? subtitleTrackController.subtitleTracks : [];
      }
    
      /**
       * index of the selected subtitle track (index in subtitle track lists)
       */
      get subtitleTrack() {
        const subtitleTrackController = this.subtitleTrackController;
        return subtitleTrackController ? subtitleTrackController.subtitleTrack : -1;
      }
      get media() {
        return this._media;
      }
    
      /**
       * select an subtitle track, based on its index in subtitle track lists
       */
      set subtitleTrack(subtitleTrackId) {
        const subtitleTrackController = this.subtitleTrackController;
        if (subtitleTrackController) {
          subtitleTrackController.subtitleTrack = subtitleTrackId;
        }
      }
    
      /**
       * Whether subtitle display is enabled or not
       */
      get subtitleDisplay() {
        const subtitleTrackController = this.subtitleTrackController;
        return subtitleTrackController ? subtitleTrackController.subtitleDisplay : false;
      }
    
      /**
       * Enable/disable subtitle display rendering
       */
      set subtitleDisplay(value) {
        const subtitleTrackController = this.subtitleTrackController;
        if (subtitleTrackController) {
          subtitleTrackController.subtitleDisplay = value;
        }
      }
    
      /**
       * get mode for Low-Latency HLS loading
       */
      get lowLatencyMode() {
        return this.config.lowLatencyMode;
      }
    
      /**
       * Enable/disable Low-Latency HLS part playlist and segment loading, and start live streams at playlist PART-HOLD-BACK rather than HOLD-BACK.
       */
      set lowLatencyMode(mode) {
        this.config.lowLatencyMode = mode;
      }
    
      /**
       * Position (in seconds) of live sync point (ie edge of live position minus safety delay defined by ```hls.config.liveSyncDuration```)
       * @returns null prior to loading live Playlist
       */
      get liveSyncPosition() {
        return this.latencyController.liveSyncPosition;
      }
    
      /**
       * Estimated position (in seconds) of live edge (ie edge of live playlist plus time sync playlist advanced)
       * @returns 0 before first playlist is loaded
       */
      get latency() {
        return this.latencyController.latency;
      }
    
      /**
       * maximum distance from the edge before the player seeks forward to ```hls.liveSyncPosition```
       * configured using ```liveMaxLatencyDurationCount``` (multiple of target duration) or ```liveMaxLatencyDuration```
       * @returns 0 before first playlist is loaded
       */
      get maxLatency() {
        return this.latencyController.maxLatency;
      }
    
      /**
       * target distance from the edge as calculated by the latency controller
       */
      get targetLatency() {
        return this.latencyController.targetLatency;
      }
      set targetLatency(latency) {
        this.latencyController.targetLatency = latency;
      }
    
      /**
       * the rate at which the edge of the current live playlist is advancing or 1 if there is none
       */
      get drift() {
        return this.latencyController.drift;
      }
    
      /**
       * set to true when startLoad is called before MANIFEST_PARSED event
       */
      get forceStartLoad() {
        return this.streamController.forceStartLoad;
      }
    
      /**
       * ContentSteering pathways getter
       */
      get pathways() {
        return this.levelController.pathways;
      }
    
      /**
       * ContentSteering pathwayPriority getter/setter
       */
      get pathwayPriority() {
        return this.levelController.pathwayPriority;
      }
      set pathwayPriority(pathwayPriority) {
        this.levelController.pathwayPriority = pathwayPriority;
      }
    
      /**
       * returns true when all SourceBuffers are buffered to the end
       */
      get bufferedToEnd() {
        var _this$bufferControlle;
        return !!((_this$bufferControlle = this.bufferController) != null && _this$bufferControlle.bufferedToEnd);
      }
    
      /**
       * returns Interstitials Program Manager
       */
      get interstitialsManager() {
        var _this$interstitialsCo;
        return ((_this$interstitialsCo = this.interstitialsController) == null ? void 0 : _this$interstitialsCo.interstitialsManager) || null;
      }
    
      /**
       * returns mediaCapabilities.decodingInfo for a variant/rendition
       */
      getMediaDecodingInfo(level, audioTracks = this.allAudioTracks) {
        const audioTracksByGroup = getAudioTracksByGroup(audioTracks);
        return getMediaDecodingInfoPromise(level, audioTracksByGroup, navigator.mediaCapabilities);
      }
    }
    Hls.defaultConfig = void 0;
    
    
    //# sourceMappingURL=hls.mjs.map
    
    
    /***/ }),
    
    /***/ 53280:
    /*!******************************************************************************!*\
      !*** ./node_modules/_throttle-debounce@5.0.2@throttle-debounce/esm/index.js ***!
      \******************************************************************************/
    /***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
    
    "use strict";
    /* harmony export */ __webpack_require__.d(__webpack_exports__, {
    /* harmony export */   D: function() { return /* binding */ debounce; }
    /* harmony export */ });
    /* unused harmony export throttle */
    /* eslint-disable no-undefined,no-param-reassign,no-shadow */
    
    /**
     * Throttle execution of a function. Especially useful for rate limiting
     * execution of handlers on events like resize and scroll.
     *
     * @param {number} delay -                  A zero-or-greater delay in milliseconds. For event callbacks, values around 100 or 250 (or even higher)
     *                                            are most useful.
     * @param {Function} callback -               A function to be executed after delay milliseconds. The `this` context and all arguments are passed through,
     *                                            as-is, to `callback` when the throttled-function is executed.
     * @param {object} [options] -              An object to configure options.
     * @param {boolean} [options.noTrailing] -   Optional, defaults to false. If noTrailing is true, callback will only execute every `delay` milliseconds
     *                                            while the throttled-function is being called. If noTrailing is false or unspecified, callback will be executed
     *                                            one final time after the last throttled-function call. (After the throttled-function has not been called for
     *                                            `delay` milliseconds, the internal counter is reset).
     * @param {boolean} [options.noLeading] -   Optional, defaults to false. If noLeading is false, the first throttled-function call will execute callback
     *                                            immediately. If noLeading is true, the first the callback execution will be skipped. It should be noted that
     *                                            callback will never executed if both noLeading = true and noTrailing = true.
     * @param {boolean} [options.debounceMode] - If `debounceMode` is true (at begin), schedule `clear` to execute after `delay` ms. If `debounceMode` is
     *                                            false (at end), schedule `callback` to execute after `delay` ms.
     *
     * @returns {Function} A new, throttled, function.
     */
    function throttle (delay, callback, options) {
      var _ref = options || {},
        _ref$noTrailing = _ref.noTrailing,
        noTrailing = _ref$noTrailing === void 0 ? false : _ref$noTrailing,
        _ref$noLeading = _ref.noLeading,
        noLeading = _ref$noLeading === void 0 ? false : _ref$noLeading,
        _ref$debounceMode = _ref.debounceMode,
        debounceMode = _ref$debounceMode === void 0 ? undefined : _ref$debounceMode;
      /*
       * After wrapper has stopped being called, this timeout ensures that
       * `callback` is executed at the proper times in `throttle` and `end`
       * debounce modes.
       */
      var timeoutID;
      var cancelled = false;
    
      // Keep track of the last time `callback` was executed.
      var lastExec = 0;
    
      // Function to clear existing timeout
      function clearExistingTimeout() {
        if (timeoutID) {
          clearTimeout(timeoutID);
        }
      }
    
      // Function to cancel next exec
      function cancel(options) {
        var _ref2 = options || {},
          _ref2$upcomingOnly = _ref2.upcomingOnly,
          upcomingOnly = _ref2$upcomingOnly === void 0 ? false : _ref2$upcomingOnly;
        clearExistingTimeout();
        cancelled = !upcomingOnly;
      }
    
      /*
       * The `wrapper` function encapsulates all of the throttling / debouncing
       * functionality and when executed will limit the rate at which `callback`
       * is executed.
       */
      function wrapper() {
        for (var _len = arguments.length, arguments_ = new Array(_len), _key = 0; _key < _len; _key++) {
          arguments_[_key] = arguments[_key];
        }
        var self = this;
        var elapsed = Date.now() - lastExec;
        if (cancelled) {
          return;
        }
    
        // Execute `callback` and update the `lastExec` timestamp.
        function exec() {
          lastExec = Date.now();
          callback.apply(self, arguments_);
        }
    
        /*
         * If `debounceMode` is true (at begin) this is used to clear the flag
         * to allow future `callback` executions.
         */
        function clear() {
          timeoutID = undefined;
        }
        if (!noLeading && debounceMode && !timeoutID) {
          /*
           * Since `wrapper` is being called for the first time and
           * `debounceMode` is true (at begin), execute `callback`
           * and noLeading != true.
           */
          exec();
        }
        clearExistingTimeout();
        if (debounceMode === undefined && elapsed > delay) {
          if (noLeading) {
            /*
             * In throttle mode with noLeading, if `delay` time has
             * been exceeded, update `lastExec` and schedule `callback`
             * to execute after `delay` ms.
             */
            lastExec = Date.now();
            if (!noTrailing) {
              timeoutID = setTimeout(debounceMode ? clear : exec, delay);
            }
          } else {
            /*
             * In throttle mode without noLeading, if `delay` time has been exceeded, execute
             * `callback`.
             */
            exec();
          }
        } else if (noTrailing !== true) {
          /*
           * In trailing throttle mode, since `delay` time has not been
           * exceeded, schedule `callback` to execute `delay` ms after most
           * recent execution.
           *
           * If `debounceMode` is true (at begin), schedule `clear` to execute
           * after `delay` ms.
           *
           * If `debounceMode` is false (at end), schedule `callback` to
           * execute after `delay` ms.
           */
          timeoutID = setTimeout(debounceMode ? clear : exec, debounceMode === undefined ? delay - elapsed : delay);
        }
      }
      wrapper.cancel = cancel;
    
      // Return the wrapper function.
      return wrapper;
    }
    
    /* eslint-disable no-undefined */
    
    /**
     * Debounce execution of a function. Debouncing, unlike throttling,
     * guarantees that a function is only executed a single time, either at the
     * very beginning of a series of calls, or at the very end.
     *
     * @param {number} delay -               A zero-or-greater delay in milliseconds. For event callbacks, values around 100 or 250 (or even higher) are most useful.
     * @param {Function} callback -          A function to be executed after delay milliseconds. The `this` context and all arguments are passed through, as-is,
     *                                        to `callback` when the debounced-function is executed.
     * @param {object} [options] -           An object to configure options.
     * @param {boolean} [options.atBegin] -  Optional, defaults to false. If atBegin is false or unspecified, callback will only be executed `delay` milliseconds
     *                                        after the last debounced-function call. If atBegin is true, callback will be executed only at the first debounced-function call.
     *                                        (After the throttled-function has not been called for `delay` milliseconds, the internal counter is reset).
     *
     * @returns {Function} A new, debounced function.
     */
    function debounce (delay, callback, options) {
      var _ref = options || {},
        _ref$atBegin = _ref.atBegin,
        atBegin = _ref$atBegin === void 0 ? false : _ref$atBegin;
      return throttle(delay, callback, {
        debounceMode: atBegin !== false
      });
    }
    
    
    //# sourceMappingURL=index.js.map
    
    
    /***/ })
    
    /******/ 	});
    /************************************************************************/
    /******/ 	// 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,
    /******/ 			loaded: false,
    /******/ 			exports: {}
    /******/ 		};
    /******/ 	
    /******/ 		// Execute the module function
    /******/ 		__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);
    /******/ 	
    /******/ 		// Flag the module as loaded
    /******/ 		module.loaded = true;
    /******/ 	
    /******/ 		// Return the exports of the module
    /******/ 		return module.exports;
    /******/ 	}
    /******/ 	
    /******/ 	// expose the modules object (__webpack_modules__)
    /******/ 	__webpack_require__.m = __webpack_modules__;
    /******/ 	
    /************************************************************************/
    /******/ 	/* webpack/runtime/amd options */
    /******/ 	!function() {
    /******/ 		__webpack_require__.amdO = {};
    /******/ 	}();
    /******/ 	
    /******/ 	/* 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/create fake namespace object */
    /******/ 	!function() {
    /******/ 		var getProto = Object.getPrototypeOf ? function(obj) { return Object.getPrototypeOf(obj); } : function(obj) { return obj.__proto__; };
    /******/ 		var leafPrototypes;
    /******/ 		// create a fake namespace object
    /******/ 		// mode & 1: value is a module id, require it
    /******/ 		// mode & 2: merge all properties of value into the ns
    /******/ 		// mode & 4: return value when already ns object
    /******/ 		// mode & 16: return value when it's Promise-like
    /******/ 		// mode & 8|1: behave like require
    /******/ 		__webpack_require__.t = function(value, mode) {
    /******/ 			if(mode & 1) value = this(value);
    /******/ 			if(mode & 8) return value;
    /******/ 			if(typeof value === 'object' && value) {
    /******/ 				if((mode & 4) && value.__esModule) return value;
    /******/ 				if((mode & 16) && typeof value.then === 'function') return value;
    /******/ 			}
    /******/ 			var ns = Object.create(null);
    /******/ 			__webpack_require__.r(ns);
    /******/ 			var def = {};
    /******/ 			leafPrototypes = leafPrototypes || [null, getProto({}), getProto([]), getProto(getProto)];
    /******/ 			for(var current = mode & 2 && value; typeof current == 'object' && !~leafPrototypes.indexOf(current); current = getProto(current)) {
    /******/ 				Object.getOwnPropertyNames(current).forEach(function(key) { def[key] = function() { return value[key]; }; });
    /******/ 			}
    /******/ 			def['default'] = function() { return value; };
    /******/ 			__webpack_require__.d(ns, def);
    /******/ 			return ns;
    /******/ 		};
    /******/ 	}();
    /******/ 	
    /******/ 	/* 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/ensure chunk */
    /******/ 	!function() {
    /******/ 		__webpack_require__.f = {};
    /******/ 		// This file contains only the entry chunk.
    /******/ 		// The chunk loading function for additional chunks
    /******/ 		__webpack_require__.e = function(chunkId) {
    /******/ 			return Promise.all(Object.keys(__webpack_require__.f).reduce(function(promises, key) {
    /******/ 				__webpack_require__.f[key](chunkId, promises);
    /******/ 				return promises;
    /******/ 			}, []));
    /******/ 		};
    /******/ 	}();
    /******/ 	
    /******/ 	/* webpack/runtime/get javascript chunk filename */
    /******/ 	!function() {
    /******/ 		// This function allow to reference async chunks
    /******/ 		__webpack_require__.u = function(chunkId) {
    /******/ 			// return url for filenames based on template
    /******/ 			return "" + ({"292":"p__Classrooms__Lists__Exercise__Add__index","310":"p__User__Detail__ExperImentImg__Detail__index","556":"p__User__Detail__Order__pages__invoice__index","1201":"p__Counselling__ExpertList__Info__index","1482":"p__Classrooms__Lists__Graduation__Topics__Edit__index","1660":"p__User__QQLogin__index","1702":"p__Classrooms__New__index","2001":"p__Materials__ItemAssets__AddReceive__index","2224":"p__Knowbase__HomePage__index","2416":"p__Counselling__ExpertList__index","2507":"p__Magazinejor__component__MonthlyDetailamins__index","2604":"p__CounsellingCopy__ExpertList__Info__index","2659":"p__User__Detail__UserPortrait__index","2819":"p__Classrooms__Lists__Template__detail__index","2948":"p__Materials__ItemAssets__Info__index","3317":"p__Classrooms__Lists__Graduation__Topics__Add__index","3391":"p__Classrooms__Lists__ProgramHomework__Detail__components__CodeReview__Detail__index","3451":"p__Classrooms__Lists__Statistics__StudentStatistics__Detail__index","3509":"p__HttpStatus__SixActivities","3585":"p__Classrooms__Lists__Statistics__StudentSituation__index","3951":"p__Classrooms__Lists__ProgramHomework__Detail__index","4271":"p__LaboratoryOverview__index","4736":"p__User__Detail__Projects__index","4766":"p__Administration__index","4829":"p__Materials__MyReceive__Report__index","4884":"p__Shixuns__Detail__Repository__Commit__index","4973":"p__Engineering__Evaluate__List__index","5427":"p__User__Detail__Devicegroup__index","5572":"p__Paths__HigherVocationalEducation__index","5808":"p__OfficialList__index","6127":"p__Classrooms__Lists__ProgramHomework__Ranking__index","6431":"p__Counselling__MyAnswer__index","6613":"p__Laboratory__LaboratoryCenter__index","6685":"p__Shixuns__Detail__RankingList__index","6758":"p__Classrooms__Lists__Attachment__index","6788":"p__Classrooms__Lists__ProgramHomework__index","7043":"p__User__Detail__Topics__Exercise__Edit__index","7202":"p__Materials__Entry__index","7520":"p__Laboratory__OpenReservation__OpenReservationStatistics__index","7729":"p__Materials__ItemAssets__AddReceiveScene__index","7852":"p__Classrooms__Lists__ShixunHomeworks__index","7884":"p__Shixuns__Exports__index","8787":"p__Competitions__Entered__index","8999":"p__Three__index","9105":"p__CloudStudy__Detail__index","9134":"p__Materials__ItemAssetsList__index","9416":"p__Graduations__Lists__Tasks__index","10195":"p__Classrooms__Lists__GroupHomework__Detail__index","10485":"p__Question__AddOrEdit__BatchAdd__index","10737":"p__Classrooms__Lists__CommonHomework__Detail__components__CodeReview__Detail__index","10799":"p__User__Detail__Topics__Poll__Detail__index","10902":"p__Counselling__MyConsultation__index","10921":"p__Classrooms__Lists__Exercise__CodeDetails__index","11020":"p__Counselling__DutySetting__index","11070":"p__Innovation__PublicMirror__index","11130":"p__Laboratory__MyReservation__index","11174":"p__Shixuns__Detail__ExperimentDetail__index","11253":"p__Graduations__Lists__Gradingsummary__index","11512":"p__Classrooms__Lists__Exercise__AnswerCheck__index","11520":"p__Engineering__Lists__StudentList__index","11545":"p__Paperlibrary__Random__ExchangeFromProblemSet__index","11581":"p__Problemset__Preview__index","12076":"p__User__Detail__Competitions__index","12102":"p__Classrooms__Lists__Board__Edit__index","12303":"p__Classrooms__Lists__CommonHomework__Comment__index","12412":"p__User__Detail__Videos__index","12476":"p__Colleges__index","12865":"p__Innovation__MyMirror__index","12868":"p__Materials__Receive__Report__index","12884":"p__Classrooms__Lists__ProgramHomework__Comment__index","12914":"p__Laboratory__Regulations__Info__index","13006":"p__Engineering__index","13012":"p__Counselling__ExpertList__OnlineChat__index","13355":"p__Classrooms__Lists__Polls__index","13581":"p__Classrooms__Lists__ShixunHomeworks__Detail__index","13585":"p__Magazinejor__component__Submission__index","14058":"p__Demo__index","14105":"p__Classrooms__Lists__Exercise__Answer__index","14227":"p__Paths__Overview__index","14514":"p__Account__Results__index","14599":"p__Problemset__index","14610":"p__User__Detail__LearningPath__index","14662":"p__Classrooms__Lists__GroupHomework__Review__index","14666":"p__Homepage__index","14889":"p__Classrooms__Lists__Exercise__ImitateAnswer__index","15148":"p__Classrooms__Lists__Template__index","15186":"p__Classrooms__Overview__index","15319":"p__Classrooms__Lists__ProgramHomework__Detail__answer__Detail__index","15402":"p__User__Detail__Topics__Detail__index","16074":"p__MagazineVer__Detail__index","16328":"p__Shixuns__Edit__body__Warehouse__index","16434":"p__User__Detail__Order__pages__records__index","16729":"p__Classrooms__Lists__GroupHomework__Edit__index","16845":"p__Shixuns__Detail__Settings__index","17482":"p__Classrooms__Lists__Exercise__Notice__index","17527":"p__MyProblem__RecordDetail__index","17622":"p__Classrooms__Lists__Polls__Detail__index","17806":"p__Classrooms__Lists__Statistics__StatisticsQuality__index","18241":"p__virtualSpaces__Lists__Plan__index","18302":"p__Classrooms__Lists__Board__index","18307":"p__User__Detail__Shixuns__index","18682":"p__Wisdom__index","19116":"p__Materials__ItemAssets__AddProcure__index","19215":"p__Shixuns__Detail__ForkList__index","19360":"p__User__Detail__virtualSpaces__index","19519":"p__User__Detail__ClassManagement__Item__index","19715":"p__Classrooms__Lists__CommonHomework__Edit__index","19891":"p__User__Detail__Videos__Success__index","20026":"p__Classrooms__Lists__Graduation__Tasks__Edit__index","20576":"p__Account__Profile__Edit__index","20680":"p__Innovation__index","20700":"p__tasks__Jupyter__index","21265":"p__Classrooms__Lists__Announcement__index","21423":"p__Shixuns__Edit__body__Level__Challenges__EditPracticeAnswer__index","21433":"p__Equipment__Information__InfoList__ReservationInfo__index","21578":"p__Classrooms__Lists__Graduation__Topics__Detail__index","21937":"p__CounsellingCopy__ExpertManage__index","21939":"p__User__Detail__Order__index","22055":"p__CounsellingCopy__Index__index","22254":"p__Shixuns__Detail__Discuss__index","22307":"p__Report__index","22561":"p__Materials__Receive__index","22707":"p__Innovation__MyDataSet__index","23332":"p__Paths__Detail__id","24504":"p__virtualSpaces__Lists__Survey__index","24904":"p__Equipment__MessageCenterManage__index","25022":"p__Graduations__Lists__Settings__index","25470":"p__Shixuns__Detail__Collaborators__index","25705":"p__virtualSpaces__Lists__Construction__index","25807":"p__Materials__MyProcure__index","25972":"layouts__user__index","26366":"p__Innovation__PublicProject__index","26429":"p__MagazineVer__Index__index","26685":"p__Classrooms__Index__index","26741":"p__Engineering__Norm__List__index","26883":"p__Competitions__Index__index","26952":"p__Magazinejor__component__MonthlyDetailamins__prview__index","27178":"p__User__BindAccount__index","27182":"p__User__ResetPassword__index","27333":"p__User__WechatLogin__index","27395":"p__Classrooms__Lists__Statistics__StudentDetail__index","27416":"p__Equipment__Index__index","28072":"p__Classrooms__Lists__GroupHomework__SubmitWork__index","28237":"p__User__Detail__Order__pages__view__index","28435":"p__Classrooms__Lists__Attendance__index","28637":"p__Knowbase__Detail__index","28639":"p__Forums__Index__redirect","28723":"p__Classrooms__Lists__Polls__Edit__index","28982":"p__Paths__New__index","29304":"p__NewHomeEntranceClassify__index","29647":"p__Question__Index__index","29942":"p__Equipment__Information__InfoList__Edit__index","30067":"p__Message__index","30264":"p__User__Detail__Order__pages__orderPay__index","30342":"p__Classrooms__Lists__ShixunHomeworks__Comment__index","31006":"p__RestFul__index","31078":"p__Laboratory__LaboratoryType__index","31211":"p__Classrooms__Lists__CommonHomework__EditWork__index","31316":"p__Equipment__Information__InfoList__Details__index","31427":"p__Classrooms__Lists__Statistics__index","31674":"p__Classrooms__ClassicCases__index","31962":"p__Classrooms__Lists__Engineering__index","33356":"p__Classrooms__Lists__Assistant__index","33747":"p__virtualSpaces__Lists__Homepage__index","33772":"p__Magazinejor__Home__index","33784":"p__Paperlibrary__Random__Detail__index","33897":"p__Information__EditPage__index","34044":"p__Counselling__ExpertManage__index","34093":"p__Classrooms__Lists__Attendance__Detail__index","34601":"p__Paths__Detail__Statistics__index","34741":"p__Problems__OjForm__NewEdit__index","34800":"p__Engineering__Lists__GraduatedMatrix__index","34994":"p__Problems__OjForm__index","35238":"p__virtualSpaces__Lists__Material__index","35380":"p__Laboratory__Index__index","35729":"p__Help__Index","35977":"p__Laboratory__MyLaboratory__Info__rooms__createRoom__index","36029":"p__Administration__Student__index","36270":"p__MyProblem__index","36784":"p__Innovation__Edit__index","37062":"layouts__SimpleLayouts","37291":"p__CounsellingCopy__DutySetting__index","37948":"p__User__Detail__ClassManagement__index","38143":"layouts__GraduationsDetail__index","38447":"p__virtualSpaces__Lists__Knowledge__index","38634":"p__Classrooms__Lists__CourseGroup__List__index","38797":"p__Competitions__Edit__index","39094":"p__Magazine__AddOrEdit__index","39332":"p__Classrooms__Lists__Video__index","39348":"p__CloudTroops__Detail__index","39391":"p__Engineering__Lists__CurseSetting__index","39404":"monaco-editor","39496":"p__CounsellingCopy__ExpertList__Detail__index","39695":"p__Classrooms__Lists__Polls__Add__index","39820":"p__Laboratory__LaboratoryRoom__createRoom__index","39859":"p__Materials__ItemAssets__InfoCode__index","40139":"p__Materials__ItemAssets__index","40559":"layouts__virtualDetail__index","40665":"p__Materials__Index__index","40923":"p__Counselling__ExpertSchedule__index","41048":"p__Classrooms__Lists__ProgramHomework__Detail__Ranking__index","41657":"p__Shixuns__Edit__body__Level__Challenges__EditQuestion__index","41717":"layouts__index","41953":"p__Problemset__NewItem__index","42159":"p__Equipment__Information__index","42240":"p__User__Detail__Videos__Upload__index","43212":"p__Laboratory__ReservationManage__index","43361":"p__Magazinejor__component__MonthlyDetailamins__Add__index","43442":"p__Classrooms__Lists__Board__Add__index","43862":"p__HttpStatus__403","44216":"p__Classrooms__Lists__ProgramHomework__Detail__answer__Edit__index","44259":"p__User__Detail__Order__pages__result__index","44449":"p__Competitions__Exports__index","44565":"p__HttpStatus__500","45096":"p__Shixuns__Detail__AuditSituation__index","45179":"p__Administration__Student__Edit__index","45359":"p__Messages__Detail__index","45517":"p__DefendCloud__index","45598":"p__Laboratory__Regulations__index","45650":"p__Competitions__Update__index","45775":"p__Engineering__Lists__Document__index","45825":"p__Classrooms__Lists__Exercise__index","45975":"p__Counselling__ExpertList__Detail__index","45992":"p__Classrooms__Lists__Exercise__ReviewGroup__index","45999":"p__CounsellingCopy__ExpertList__index","46219":"p__NewHomeEntrancetree__index","46796":"p__virtualSpaces__Lists__Announcement__Detail__index","46963":"p__Classrooms__Lists__Engineering__Detail__index","47456":"p__Practices__Detail__index","47545":"p__Graduations__Lists__Archives__index","47778":"p__IOT__DeviceManage__index","48077":"p__Classrooms__Lists__Students__index","48289":"p__Materials__MyReceive__index","48431":"p__Classrooms__Lists__Exercise__Export__index","48689":"p__Classrooms__Lists__Statistics__VideoStatistics__index","49205":"p__Shixuns__Edit__body__Level__Challenges__EditPracticeSetting__index","49366":"p__User__Login__index","49716":"p__Question__OjProblem__RecordDetail__index","49890":"p__Classrooms__Lists__CommonHomework__index","50869":"p__Guidance__index","51220":"p__NewHomeEntrance2__index","51276":"p__MoopCases__Success__index","51461":"p__Graduations__Lists__Topics__index","51582":"p__Classrooms__Lists__GroupHomework__Add__index","51810":"p__Laboratory__OpenReservation__OpenReservationDetail__index","51855":"p__MoopCases__InfoPanel__index","52338":"p__Classrooms__Lists__CommonHomework__Review__index","52404":"p__Classrooms__Lists__Template__teacher__index","52806":"p__User__Detail__Topics__Exercise__Detail__index","52829":"p__Messages__Private__index","52875":"p__Shixuns__Detail__id","53247":"p__Paperlibrary__See__index","53451":"p__Competitions__NewIndex__index","53910":"p__HttpStatus__introduction","54056":"p__IntrainCourse__index","54164":"p__Classrooms__Lists__Exercise__Detail__index","54492":"p__Graduations__Lists__StudentSelection__index","54572":"p__Classrooms__Lists__ExportList__index","54770":"p__Classrooms__Lists__ProgramHomework__Detail__answer__index","54862":"p__Paperlibrary__index","55573":"p__Shixuns__Detail__Merge__index","55624":"p__Graduations__Lists__Index__index","56277":"p__Shixuns__Edit__index","57045":"p__Classrooms__Lists__CommonHomework__SubmitWork__index","57504":"p__CloudHotLine__index","57560":"p__Administration__College__index","57614":"p__Shixuns__Edit__body__Level__Challenges__RankingSetting__index","57989":"p__Laboratory__MyLaboratory__Info__index","58140":"p__Practices__index","59133":"p__Shixuns__Detail__Challenges__index","59142":"p__Reservation__index","59649":"p__Engineering__Lists__TrainingProgram__index","59788":"p__Account__Profile__index","60479":"p__Classrooms__Lists__GroupHomework__EditWork__index","60533":"p__Classrooms__Lists__Video__Statistics__Detail__index","60547":"p__Account__index","61043":"p__Classrooms__Lists__Graduation__Tasks__index","61075":"p__IOT__ViewAppointment__index","61311":"p__Equipment__BookingManage__index","61713":"p__virtualSpaces__Lists__Settings__index","61727":"p__Classrooms__Lists__CourseGroup__NotList__index","61880":"p__User__Detail__Order__pages__apply__index","61902":"p__Information__HomePage__index","62300":"p__Api__index","62369":"p__Magazinejor__component__Review__index","62548":"p__Engineering__Norm__Detail__index","62909":"p__NewHomeEntrance1__index","63157":"p__User__Detail__ExperImentImg__Add__index","64017":"p__Classrooms__Lists__PlaceholderPage__index","64144":"p__Problemset__Preview__New__index","64217":"p__Classrooms__Lists__Video__Statistics__index","64496":"p__HttpStatus__HpcCourse","64520":"p__Account__Secure__index","65111":"p__Terminal__index","65148":"p__Classrooms__Lists__Polls__Answer__index","65191":"p__User__Detail__Certificate__index","65549":"p__Shixuns__New__CreateImg__index","65798":"p__Magazinejor__component__Journal__index","65816":"p__virtualSpaces__Lists__Announcement__index","66034":"p__HttpStatus__UserAgents","66063":"p__Graduations__Lists__Personmanage__index","66118":"p__Magazinejor__component__Comment__index","66243":"p__Broadcast__Detail__index","66531":"p__HttpStatus__404","66583":"p__User__Detail__Classrooms__index","66651":"p__Engineering__Evaluate__Detail__index","66884":"p__Counselling__Index__index","67242":"p__Innovation__MyProject__index","67878":"p__Classrooms__Lists__LiveVideo__index","67987":"p__Counselling__HotQuestions__index","68014":"p__Classrooms__Lists__Teachers__index","68665":"p__Engineering__Lists__TrainingObjectives__index","68827":"p__Classrooms__Lists__OnlineLearning__index","68882":"p__Classrooms__Lists__Graduation__Tasks__Detail__index","69681":"p__User__Detail__Devicegroup__Add__index","69828":"p__Equipment__Faultlibrary__index","69922":"p__Classrooms__Lists__Statistics__StudentVideo__index","69944":"p__Classrooms__Lists__Video__Statistics__StudentDetail__index","70354":"p__Magazinejor__component__MonthlyPreview__index","70928":"p__RestFul__Edit__index","71450":"p__Classrooms__Lists__ShixunHomeworks__Commitsummary__index","71525":"p__User__Detail__Devicegroup__ReservationInfo__index","71783":"p__virtualSpaces__Lists__Experiment__index","72409":"p__Materials__Procure__index","72529":"p__User__Detail__id","72539":"p__Graduations__Review__index","72570":"p__Competitions__Detail__index","73183":"p__Engineering__Lists__GraduationIndex__index","73220":"p__Classrooms__Lists__Video__Upload__index","73822":"p__CloudStudy__index","74264":"p__Forums__New__index","74297":"p__Laboratory__LaboratoryRoom__index","74795":"p__Classrooms__Lists__Graduation__Tasks__Add__index","75043":"p__User__Detail__Topics__Poll__Edit__index","75357":"p__Engineering__Lists__TrainingProgram__Edit__index","75786":"layouts__LoginAndRegister__index","75816":"p__Paperlibrary__Random__Edit__index","75824":"p__Magazinejor__component__Detail__index","76134":"p__Equipment__Maintenance__Details__index","76437":"p__Equipment__ActionLog__index","76904":"p__MoopCases__FormPanel__index","77248":"p__Materials__ItemAssetsList__CreateItemAssets__index","77460":"p__Question__OjProblem__index","77857":"p__Shixuns__Edit__body__Level__Challenges__NewQuestion__index","78085":"p__Classrooms__Lists__Exercise__Review__index","78413":"p__CounsellingCopy__ExpertList__OnlineChat__index","79487":"p__Laboratory__OpenReservation__index","79489":"p__Engineering__Lists__CourseList__index","79590":"p__User__Detail__TeachGroup__index","79921":"p__Classrooms__ExamList__index","80508":"p__Forums__Detail__id","80668":"p__MagazineVer__Mine__index","81148":"p__Shixuns__Detail__Repository__UploadFile__index","81384":"p__CloudTroops__index","81799":"p__Competitions__Entered__Assembly__TeamDateil","82339":"p__virtualSpaces__Lists__Plan__Detail__index","82425":"p__Classrooms__Lists__Board__Detail__index","82443":"p__Graduations__Lists__StageModule__index","83105":"p__Laboratory__RuleManage__index","83141":"p__Innovation__Detail__index","83212":"p__MoopCases__index","83935":"p__Classrooms__Lists__GroupHomework__index","84546":"p__Engineering__Lists__TrainingProgram__Add__index","85048":"p__Classrooms__Lists__Graduation__Topics__index","85111":"p__User__Detail__Order__pages__orderInformation__index","85297":"p__Classrooms__Lists__Exercise__Detail__components__DuplicateChecking__CheckDetail__index","85888":"p__Classrooms__Lists__CommonHomework__Add__index","85891":"p__virtualSpaces__Lists__Resources__index","86052":"p__Paths__Index__index","86065":"p__Materials__Log__index","86452":"p__Innovation__PublicDataSet__index","86541":"p__Shixuns__Detail__Dataset__index","86634":"p__Innovation__Tasks__index","86820":"p__User__Detail__Topics__Normal__index","86913":"p__Question__AddOrEdit__index","87058":"p__virtualSpaces__Lists__Survey__Detail__index","87260":"p__Account__Certification__index","87922":"p__Classrooms__Lists__CourseGroup__Detail__index","88093":"p__Equipment__Maintenance__index","88155":"p__Shixuns__Overview__index","88501":"p__ReservationDetail__index","88517":"p__User__Detail__Topics__Group__index","88866":"p__index","89053":"p__IOT__ElectronBPManage__index","89076":"p__Account__Binding__index","89113":"p__Equipment__Devicelabel__index","89677":"p__virtualSpaces__Lists__Announcement__AddAndEdit__index","89785":"p__Classrooms__Lists__Template__student__index","90109":"p__Classrooms__Lists__ShixunHomeworks__Detail__components__CodeReview__Detail__index","90127":"p__CounsellingCopy__MyConsultation__index","90265":"p__User__Detail__Topics__index","90337":"p__Paperlibrary__Random__PreviewEdit__index","91045":"p__virtualSpaces__Lists__Knowledge__AddAndEdit__index","91470":"p__User__Register__index","91831":"p__Graduations__Index__index","91935":"p__Laboratory__Regulationsadmins__index","91958":"p__Magazinejor__component__MonthlyDetail__index","92045":"p__Engineering__Lists__TeacherList__index","92501":"p__Search__index","92603":"p__Classrooms__Lists__ProgramHomework__Detail__answer__Add__index","92823":"p__Engineering__Navigation__Home__index","92932":"p__User__Detail__Devicegroup__Edit__index","92983":"p__Forums__Index__index","93260":"p__Paperlibrary__Add__index","93282":"layouts__ShixunDetail__index","93496":"p__User__Detail__OtherResources__index","93665":"p__tasks__index","93668":"p__Classrooms__Lists__CommonHomework__Detail__index","94078":"p__Messages__Tidings__index","94498":"p__Shixuns__Edit__body__Level__Challenges__NewPractice__index","94662":"p__User__Detail__Paths__index","94715":"p__virtualSpaces__Lists__Material__Detail__index","94849":"p__User__Detail__ExperImentImg__index","95125":"p__Classrooms__Lists__Exercise__DetailedAnalysis__index","95176":"p__User__Detail__Videos__Protocol__index","95335":"p__Engineering__Lists__CourseMatrix__index","95762":"p__OfficialNotice__index","96163":"p__Laboratory__Reservations__Info__index","96444":"p__Video__Detail__id","96882":"p__Classrooms__New__StartClass__index","97008":"p__Shixuns__New__index","97046":"p__Shixuns__Detail__Repository__AddFile__index","97838":"p__Equipment__Working__index","98062":"p__User__Detail__Topicbank__index","98398":"p__virtualSpaces__Lists__Resources__Detail__index","98662":"p__Materials__ItemAssetsType__index","98688":"p__Shixuns__Detail__Repository__index","98885":"p__Classrooms__Lists__Statistics__StudentStatistics__index","98936":"p__Laboratory__MyLaboratory__index","99674":"p__Shixuns__New__ImagePreview__index","99758":"p__Laboratory__Reservations__index"}[chunkId] || chunkId) + "." + {"42":"0f21d2bd","245":"c0f67a17","292":"33b33f98","310":"e6cf4d74","556":"7e0ab6c5","684":"62efe799","828":"e66490e7","838":"e33d435b","1201":"b7097300","1482":"9245b271","1510":"1128a785","1594":"a9a06b02","1660":"babd4165","1702":"dfcd1f8b","1710":"7f000013","1886":"f69f888b","2001":"efa813c3","2191":"a968ce16","2224":"cd12c773","2249":"90399667","2290":"ffe99ae9","2360":"2f3cadfa","2416":"64c0a7bc","2471":"b7d3c318","2494":"5e069ec9","2507":"37e78e7b","2604":"186bf956","2659":"a78bef6b","2805":"c8d10786","2819":"95b0fcfc","2837":"b3a05bc1","2859":"d6c45c48","2948":"e326e03e","3133":"6a9f7113","3151":"fd34b3d5","3278":"eb7faf81","3317":"fabd6da7","3391":"dd677ba9","3416":"8f71c399","3451":"5cbc7dc7","3509":"ca1d321b","3585":"a38135ee","3885":"e66b03f8","3951":"268f18e9","4271":"7d2b104b","4685":"21279a05","4736":"81ff7298","4766":"8ccf54f7","4829":"09730508","4847":"94a9c09a","4884":"e17c7fd1","4973":"c0316ad4","5427":"fd00511e","5434":"361b868d","5572":"97e89758","5808":"5044090c","5871":"ec8b2fb6","6056":"7abff653","6064":"28671d3d","6127":"f15d3955","6295":"caef75f3","6378":"27c8142f","6431":"359fb3b4","6572":"0b3c17a7","6613":"6bd0f1c7","6685":"553a2264","6758":"0bbda0a8","6788":"30b9602a","6927":"8c1e744e","7043":"165c7713","7096":"fa4a5b58","7172":"9610e354","7186":"4614a102","7202":"75c000c3","7417":"ee9f2100","7479":"830e5d49","7520":"50fe385d","7647":"205f239c","7729":"7f6016d9","7852":"57aaea9d","7880":"f1f589a0","7884":"905a2746","8112":"f85cc098","8494":"a6f81fef","8787":"f8913304","8999":"17e5fd80","9105":"075f1f3b","9134":"98e9a247","9416":"05d219ab","9589":"aea1bd33","9928":"5856e32a","9951":"7194a5c6","10195":"48d99a43","10354":"5c063e6f","10485":"b3d6ba4a","10737":"297c61c9","10776":"8382be37","10799":"001e03a2","10884":"8b54dcb9","10902":"abfcde08","10921":"ba9785b9","11020":"13d31b21","11070":"6d515b33","11130":"25f60a76","11174":"ceb56912","11224":"b7f2c656","11253":"ccb5b031","11398":"c429380b","11512":"24ee929f","11520":"e7d2c74e","11545":"927f219c","11553":"e0556ab9","11581":"d4d21d62","11611":"20e95b13","12017":"3a742146","12076":"54f0354d","12102":"49fb5788","12133":"ff4660b1","12223":"c56a6c0f","12303":"2cb9409b","12372":"2cba13cf","12386":"289c62c7","12412":"de65afa0","12476":"72182990","12632":"91efcdd0","12865":"acc72c9a","12868":"64339926","12884":"4af9db02","12914":"6f1f7968","13006":"1e4f8040","13012":"9a1be555","13355":"bd128be1","13488":"5b6a08ec","13581":"8a79c3a2","13585":"908b4d08","14058":"86bcc899","14088":"c639825c","14105":"3a4d61fd","14227":"95da9a07","14514":"3b25540d","14527":"c5d54c6e","14599":"e1b628de","14610":"ac470765","14662":"1607ab60","14666":"adbf5c6d","14799":"f2cde580","14889":"4b1f4ad4","15128":"c4f6bb62","15141":"bdcde861","15148":"cfe718ac","15186":"851a063e","15290":"7b3f25d8","15319":"300a6d23","15402":"b70da4a1","15631":"d790a1bf","15845":"c8fe49ef","15881":"68f9c37e","15963":"1024e221","16074":"57e0eed4","16328":"e919680e","16434":"843629ba","16477":"67a192c6","16703":"94fdf4b0","16729":"f1262cf2","16845":"211662f7","17244":"e7a99888","17482":"72a5ccc9","17527":"bb315845","17622":"479ebf93","17714":"2d8ec348","17757":"2e13badd","17806":"daf978f2","18019":"e8476407","18151":"8ed80ce9","18241":"95c2aa45","18302":"18fb07ca","18307":"bdb505e2","18350":"0ed0f7c3","18461":"adbf8343","18682":"2d211da2","18898":"25ad586a","18945":"ecd02529","18963":"33e3df18","19116":"62b4c34f","19208":"85e01132","19215":"b66e67b1","19360":"222fa0a1","19386":"2c13f2c9","19519":"4e432497","19715":"93cf7920","19842":"345880f3","19891":"92a257cf","20005":"81669dd1","20026":"a4aabc97","20175":"6f8cb81f","20576":"c90e7824","20670":"db7b7ecd","20680":"4b04bb8d","20700":"66cd1667","20834":"a36a4b7e","21085":"c0184adb","21265":"3b2b14e2","21295":"1601df12","21423":"74c8a7d7","21433":"6720a2c3","21560":"62a673fa","21578":"a96285b3","21745":"efb47464","21937":"1a286ec6","21939":"3f10d71e","22055":"ab5546d2","22065":"687be635","22254":"41766859","22307":"3a832eee","22561":"76b440dd","22707":"e94805bd","23003":"00d2aa45","23332":"9512948a","23997":"e948bcc3","24064":"f60874e1","24297":"37937a60","24504":"8bd2af1d","24628":"b863dad4","24644":"05982b1e","24665":"1386ef9f","24797":"eb563316","24904":"9f1210f6","24921":"e69c80d4","24924":"3939ed0d","25022":"ef1a34a0","25452":"89736324","25470":"c4a923a0","25705":"37271075","25807":"8dd3cf69","25972":"e2c3462f","26013":"2a006768","26126":"400f4fd5","26314":"fe8eefdf","26366":"f021e81a","26429":"dfc3cc23","26685":"84dc69ae","26741":"cc7e4fa6","26883":"ca3f08b9","26952":"9b8e3318","27139":"deaa2761","27178":"af13db13","27182":"f9b7d9d3","27210":"c9cf1690","27333":"02af836e","27348":"28de9020","27395":"dc3bfc68","27416":"ede2d27c","27706":"c0d5e1ef","27727":"3f720dcc","27739":"a945642e","27789":"8d67f316","28072":"3e216382","28089":"aaa88c03","28161":"00a22aad","28237":"1bee800c","28244":"f8ec8ebd","28435":"a0c06c98","28561":"ec76d55e","28637":"17a4c700","28639":"252d05c0","28683":"1e51ba77","28723":"e27ec039","28920":"842a9870","28928":"d8799794","28943":"66efa9d2","28982":"50f7dd1a","29111":"b9d95024","29266":"9bcbf376","29304":"8f08dea3","29378":"9d641a8c","29559":"cdc05f60","29647":"12cbf8dd","29895":"1fa85db5","29942":"e1855492","29968":"5c930f27","30067":"1a82cf5c","30081":"eb7324ca","30264":"2c846f1a","30342":"fb189a02","30741":"0afd7032","30765":"35610b53","31006":"e9c7de7f","31078":"95b673f4","31124":"ac3d0938","31154":"abb4690e","31211":"d35258b0","31316":"73fb5e29","31427":"3190a7b8","31556":"7647c57b","31594":"2a3f8b9e","31674":"b71e131c","31701":"8dcc6ecc","31962":"18459b2a","32405":"20605975","32810":"d2089435","32826":"c49f4f05","33356":"a5addfe3","33747":"ac2d7836","33772":"ccc38792","33784":"73749a7a","33805":"a93fd24f","33897":"2dbf8e7c","33957":"1c49facc","34044":"efe95307","34093":"40a86063","34429":"1847a093","34479":"3f7bd05c","34601":"a3b15514","34615":"2e35cdbf","34741":"0ba36c10","34790":"6eb90335","34800":"e2520e33","34850":"daf624f2","34994":"48e9d9de","35060":"7530a2b3","35238":"1658e402","35354":"c0640e01","35380":"bd7c8cac","35416":"b4018e87","35729":"121ae43e","35977":"1e2c660e","36029":"dcd5f5d0","36270":"3439c7e5","36381":"645184e0","36505":"1a30f957","36634":"03daa006","36784":"93caef98","37062":"a349523b","37179":"9a1b55fc","37229":"02808098","37291":"02e18865","37319":"4f6dbae1","37948":"b08db696","38143":"bcb59200","38359":"6d4dd0e2","38447":"8e53de82","38634":"32ec9676","38797":"cfd454a4","38978":"94aa98b5","39094":"70c972e2","39200":"4c15f901","39252":"01ffe0b6","39332":"c62dda0b","39348":"f49652b3","39391":"7d664a99","39404":"febaf925","39496":"4bcaa607","39695":"b95025bb","39820":"49552b05","39859":"37175713","39950":"57e939c0","40139":"8cfa7fb8","40257":"5ef8f2bc","40445":"3d14d263","40559":"9fb026b8","40665":"7387c211","40879":"7d5b8b77","40923":"07e293a6","41048":"d4b64d12","41371":"2557d114","41657":"b72ab4b8","41717":"ab2a01b6","41854":"ab84e4a0","41953":"03ee0649","42123":"dcde425a","42159":"8592fe14","42240":"cb9887d5","42416":"d162240a","42441":"129bb9d2","42794":"8b756330","43141":"6cc818af","43212":"68f8bf92","43252":"341ae263","43361":"41889288","43428":"9e9422c3","43442":"7f569e7f","43485":"730f4fef","43594":"69be77ec","43862":"33083359","44164":"ea19d54f","44187":"a4cdcb2c","44189":"b8b6cb09","44216":"0afcc4b8","44259":"9f7d0bea","44354":"4d10aca1","44360":"2fe17938","44449":"ed4998b0","44538":"51084d3d","44565":"a9dec170","45096":"6a16600c","45152":"a1e642cc","45179":"03264bab","45284":"c140e913","45359":"836a7e22","45413":"70b6f1d8","45517":"8db8b118","45598":"b92be96a","45650":"f95abcb2","45723":"26f38f5b","45775":"44dc3a02","45825":"a03e8d74","45975":"86a7323f","45992":"f4408faf","45999":"5165ded5","46125":"3634ed4d","46219":"aa7fb54a","46292":"ecb14013","46573":"db7fbeee","46796":"3a67f946","46963":"a2f1dfb8","47119":"495996da","47120":"2822e649","47271":"17f1d02a","47456":"8e03a12e","47459":"fc210d45","47545":"ef690bac","47686":"f38a5fc1","47778":"4ecf2486","48066":"225a1272","48077":"ecca0986","48242":"50e2efd3","48289":"0f1ab047","48431":"1b6ded75","48689":"51bd2e71","48776":"3ca5830e","48866":"8e93738c","48911":"a7bcbed3","49029":"8f5b0456","49068":"ccdde1a8","49127":"194ee0eb","49205":"a744c9c0","49260":"d82ab47f","49366":"4f1629fa","49394":"ca58a412","49716":"406ce86b","49843":"b2bf3130","49890":"3fe074b0","50032":"b1e59d2f","50441":"baf934a3","50523":"2b1ab668","50658":"13ff08b6","50869":"248d2bf0","50935":"e8318298","51075":"324bcfa1","51144":"88d767c5","51220":"e28f9ee3","51253":"602cdc2d","51276":"a1aa432a","51417":"3a10764b","51461":"ee919454","51582":"07e78de2","51646":"a1e61a3a","51810":"5c9bebb2","51855":"16660b7c","52057":"cfa9f989","52141":"06170782","52338":"040ad8d7","52404":"0b9565eb","52720":"b2feb472","52771":"cfb49656","52806":"eed85e76","52829":"f6fca25d","52875":"90a98d9a","53114":"685610c8","53247":"bee30c5c","53318":"5e6d0ce6","53451":"0a7a9425","53550":"d1343c48","53697":"344fc05c","53777":"630cd89c","53910":"8b80675a","54056":"0a9c0866","54164":"e15528ce","54492":"ab0a68e3","54572":"3543e369","54770":"0db3fcfc","54862":"78cff297","55351":"b1b9a06c","55573":"66c3cb41","55624":"35464dc5","55693":"4b714ff1","55934":"e157b455","56047":"b4b0d1c6","56156":"c61ad60b","56277":"404a154b","56520":"bbe67735","56638":"bf8133fa","57045":"1e778631","57345":"fdfb8cc8","57365":"7e7804c5","57504":"72843ec9","57560":"55f25eae","57614":"f7b08e31","57989":"9f6ecad1","58033":"d84e2b6a","58106":"14a2e859","58140":"7017168f","58253":"20604031","58271":"04f27f83","58358":"a351a465","58421":"69f89c07","58838":"25afe270","59133":"defe36a5","59142":"757ed9b3","59183":"9a607daf","59237":"d8d79e51","59649":"e051491d","59788":"f092039d","60324":"b66211e7","60479":"634ad142","60533":"cd2cb2c3","60547":"bf047bed","60783":"b02e56b2","61043":"f83e2a2a","61075":"37763370","61311":"457c0265","61621":"cb5d40b9","61632":"4816a07c","61713":"5989e205","61727":"68cf7dc4","61880":"bbc284fd","61902":"f8255349","62110":"038ddbaf","62300":"b8321031","62369":"141c272c","62548":"fdd05cba","62593":"e36f2861","62909":"09adb15b","62945":"927b34c0","63157":"c07cc104","63198":"f92793e1","63303":"5d951f83","63754":"7868801b","63976":"7f8d1e3d","64017":"0a357c3a","64144":"1aee86a7","64217":"ca659fdb","64496":"1afb0a90","64520":"5c64dffd","65111":"689ebe84","65148":"d062b10c","65191":"1fedb1d9","65298":"6d796a2d","65549":"899b5f57","65798":"d493a3f4","65816":"0671f9c2","65876":"a2754c64","66034":"513cd477","66063":"a9bdb5ae","66092":"6bf8ec64","66118":"861b1777","66158":"3419bcf4","66243":"ab43df77","66372":"ab33be81","66531":"6721e983","66583":"e51ac09b","66610":"6085e57d","66651":"b2c1f7c2","66726":"4059ce7f","66884":"ec5e2e7f","67156":"918b4bca","67242":"c23bc423","67431":"a6eee7a3","67500":"fdf03260","67703":"470590fb","67878":"da6434d9","67987":"29821a36","68014":"5a7c6539","68150":"7f846a7c","68625":"a63d2605","68665":"1d300dff","68827":"ab89f816","68842":"19057860","68882":"8e368705","68998":"4e0b645d","69222":"214d5e6f","69306":"a0a3a8a7","69429":"9bc77039","69593":"e7b374a0","69681":"8d634517","69828":"4659d173","69909":"4dbbefbf","69922":"df567b0e","69944":"c64effda","70116":"5a4ad27b","70176":"89e2ae2f","70354":"552bc67c","70671":"749b4875","70928":"4fa02e2e","70930":"493a08f1","70981":"157d0b6b","71409":"d6bbc498","71448":"57267f8a","71450":"a2b35242","71525":"27436380","71678":"992691c2","71783":"85241aa1","71948":"faf898ad","72011":"7efe6dda","72409":"5d32bfad","72529":"4e87c8b6","72537":"7bbd26fa","72539":"d7210233","72570":"28e94fca","72969":"53256e8c","73121":"ebef29e5","73183":"b7a94706","73220":"1b625568","73654":"b19e1e46","73696":"f095eb1f","73755":"744f60da","73822":"841d50ca","73889":"93b52feb","74014":"5339ac81","74264":"aef3630e","74297":"9f8e2516","74347":"a722ba6c","74582":"5c9d8827","74795":"4daca75a","75043":"a832ce3d","75321":"9b9a5dc1","75357":"5330deea","75786":"7f25f6c8","75816":"b49f4e84","75824":"05be3a84","76134":"1f256e40","76359":"7abc4f26","76411":"5aad68b3","76437":"1075fddb","76475":"66901e73","76578":"66de3106","76860":"0641f742","76904":"59bc1157","77084":"5fe882f0","77248":"9d20bc64","77460":"79e72163","77857":"64bf4983","78085":"ef098d80","78241":"a0fe9ea3","78302":"2f657c59","78413":"9683614a","78737":"fa31da0e","78782":"c77736cc","79487":"7ba2b0bf","79489":"835a3f1f","79590":"61ffb436","79817":"fbe52300","79921":"e62e4fdd","80508":"a23be4e2","80629":"ca49ee59","80668":"69e6d9c5","81148":"08c49d3d","81273":"15281ac1","81290":"6261fe76","81326":"0f751e38","81379":"7db912a7","81384":"d3d4f6b4","81721":"1aa8939b","81726":"80927dcc","81799":"07f12a19","82339":"a99b52c5","82425":"051b2beb","82443":"0168374f","82778":"cd48463d","82959":"bd10d968","83105":"e83382e7","83124":"e5db113e","83141":"40321859","83175":"0897f4f3","83212":"86005b54","83453":"b8754c51","83935":"71635b43","83962":"a39155ec","83972":"3e891c4c","84321":"78f07c01","84497":"90e811ae","84546":"c49f0bdd","84581":"ab8b9350","85048":"3c54b468","85111":"9a1c5c72","85297":"cb4bcd97","85350":"cbd50cf7","85494":"da5840b1","85764":"5c1c73b5","85789":"3cdfe918","85888":"f77f6d70","85891":"340ec394","85911":"20b92697","86045":"0a358cbb","86052":"c40ea2a0","86065":"8e380b94","86129":"801a9880","86184":"414671da","86452":"8c51ab09","86541":"80ee4277","86634":"4cab8b76","86774":"2db1d78d","86820":"6233bf2f","86913":"32975951","86986":"f4c080ab","87058":"5d01dcb7","87260":"5a971ddc","87865":"d7b448e8","87922":"0bae8ee0","87964":"83911fb5","88093":"8f938254","88155":"f1959353","88362":"bcd86f6c","88501":"d286bbbe","88517":"dcb81dd5","88699":"86aac1c5","88849":"825c6dc0","88866":"6a74774a","89053":"718edfea","89076":"bbf9ea39","89113":"571bec4c","89554":"3bd5f2ea","89638":"82b4402a","89677":"f639ebde","89739":"1fad8213","89785":"90b35611","90109":"7fc081e2","90127":"31f20449","90265":"3538c9f6","90316":"c34a4fc4","90337":"a9ce4ecf","90557":"83e3d91d","90935":"600faf47","91045":"4022aee5","91274":"c142e23b","91384":"52a55594","91462":"2cbc46cd","91470":"cb3c8cce","91831":"f5b16c71","91857":"e6eb4086","91935":"0b84cbfc","91958":"686c2a9c","92045":"c8770fb4","92081":"3a01e01f","92354":"f253608e","92501":"0d4c83cf","92538":"a4db897b","92594":"0f02017f","92603":"011317ec","92823":"bb12215c","92932":"b9cb5e94","92983":"059e44c9","93042":"290b123e","93260":"bd123696","93282":"e500b97e","93496":"22e646ae","93600":"bfb89b8e","93665":"dc151419","93668":"0cc538d5","93948":"3ae1ddd8","94078":"6639d2ff","94406":"2d20ca47","94498":"2fac92c6","94598":"3b1d0e42","94662":"a0afc007","94715":"450b3245","94797":"2f329bc4","94849":"3be8e33f","95002":"f864a415","95125":"e7cb56cc","95176":"0fbf93f0","95318":"43ad8e9d","95335":"f7ccf6f3","95382":"a2bcd209","95679":"33378d80","95762":"5de0850e","96004":"b2965a7d","96163":"abdbd76f","96249":"f69ea25c","96444":"0e9569cc","96449":"4c6d34d2","96882":"c9abf25b","96923":"6cb0c96d","96983":"82e75a49","97008":"24197c3e","97046":"ae4a49ed","97120":"0eb88e7b","97502":"1b920c01","97591":"4868bb6b","97838":"38846f74","97948":"7aa950d0","98062":"c56ea68c","98398":"87828514","98466":"b45d91ae","98662":"594a8af1","98682":"12e58f09","98688":"0450aa8f","98810":"40cd4db4","98885":"c534b134","98936":"6722cd9e","99099":"d7a916ba","99104":"d4f63539","99313":"e947777c","99674":"9a69c34e","99758":"f121e9fc"}[chunkId] + ".async.js";
    /******/ 		};
    /******/ 	}();
    /******/ 	
    /******/ 	/* webpack/runtime/get mini-css chunk filename */
    /******/ 	!function() {
    /******/ 		// This function allow to reference async chunks
    /******/ 		__webpack_require__.miniCssF = function(chunkId) {
    /******/ 			// return url for filenames based on template
    /******/ 			return "" + ({"292":"p__Classrooms__Lists__Exercise__Add__index","310":"p__User__Detail__ExperImentImg__Detail__index","556":"p__User__Detail__Order__pages__invoice__index","1201":"p__Counselling__ExpertList__Info__index","1482":"p__Classrooms__Lists__Graduation__Topics__Edit__index","1702":"p__Classrooms__New__index","2001":"p__Materials__ItemAssets__AddReceive__index","2224":"p__Knowbase__HomePage__index","2416":"p__Counselling__ExpertList__index","2507":"p__Magazinejor__component__MonthlyDetailamins__index","2604":"p__CounsellingCopy__ExpertList__Info__index","2659":"p__User__Detail__UserPortrait__index","2819":"p__Classrooms__Lists__Template__detail__index","2948":"p__Materials__ItemAssets__Info__index","3317":"p__Classrooms__Lists__Graduation__Topics__Add__index","3391":"p__Classrooms__Lists__ProgramHomework__Detail__components__CodeReview__Detail__index","3451":"p__Classrooms__Lists__Statistics__StudentStatistics__Detail__index","3509":"p__HttpStatus__SixActivities","3585":"p__Classrooms__Lists__Statistics__StudentSituation__index","3951":"p__Classrooms__Lists__ProgramHomework__Detail__index","4271":"p__LaboratoryOverview__index","4736":"p__User__Detail__Projects__index","4766":"p__Administration__index","4829":"p__Materials__MyReceive__Report__index","4884":"p__Shixuns__Detail__Repository__Commit__index","4973":"p__Engineering__Evaluate__List__index","5427":"p__User__Detail__Devicegroup__index","5572":"p__Paths__HigherVocationalEducation__index","5808":"p__OfficialList__index","6127":"p__Classrooms__Lists__ProgramHomework__Ranking__index","6431":"p__Counselling__MyAnswer__index","6613":"p__Laboratory__LaboratoryCenter__index","6685":"p__Shixuns__Detail__RankingList__index","6758":"p__Classrooms__Lists__Attachment__index","6788":"p__Classrooms__Lists__ProgramHomework__index","7043":"p__User__Detail__Topics__Exercise__Edit__index","7202":"p__Materials__Entry__index","7520":"p__Laboratory__OpenReservation__OpenReservationStatistics__index","7729":"p__Materials__ItemAssets__AddReceiveScene__index","7852":"p__Classrooms__Lists__ShixunHomeworks__index","7884":"p__Shixuns__Exports__index","8787":"p__Competitions__Entered__index","8999":"p__Three__index","9105":"p__CloudStudy__Detail__index","9134":"p__Materials__ItemAssetsList__index","9416":"p__Graduations__Lists__Tasks__index","10195":"p__Classrooms__Lists__GroupHomework__Detail__index","10485":"p__Question__AddOrEdit__BatchAdd__index","10737":"p__Classrooms__Lists__CommonHomework__Detail__components__CodeReview__Detail__index","10799":"p__User__Detail__Topics__Poll__Detail__index","10902":"p__Counselling__MyConsultation__index","10921":"p__Classrooms__Lists__Exercise__CodeDetails__index","11020":"p__Counselling__DutySetting__index","11070":"p__Innovation__PublicMirror__index","11130":"p__Laboratory__MyReservation__index","11174":"p__Shixuns__Detail__ExperimentDetail__index","11253":"p__Graduations__Lists__Gradingsummary__index","11512":"p__Classrooms__Lists__Exercise__AnswerCheck__index","11520":"p__Engineering__Lists__StudentList__index","11545":"p__Paperlibrary__Random__ExchangeFromProblemSet__index","11581":"p__Problemset__Preview__index","12076":"p__User__Detail__Competitions__index","12102":"p__Classrooms__Lists__Board__Edit__index","12303":"p__Classrooms__Lists__CommonHomework__Comment__index","12412":"p__User__Detail__Videos__index","12476":"p__Colleges__index","12865":"p__Innovation__MyMirror__index","12868":"p__Materials__Receive__Report__index","12884":"p__Classrooms__Lists__ProgramHomework__Comment__index","12914":"p__Laboratory__Regulations__Info__index","13006":"p__Engineering__index","13355":"p__Classrooms__Lists__Polls__index","13581":"p__Classrooms__Lists__ShixunHomeworks__Detail__index","13585":"p__Magazinejor__component__Submission__index","14058":"p__Demo__index","14105":"p__Classrooms__Lists__Exercise__Answer__index","14227":"p__Paths__Overview__index","14514":"p__Account__Results__index","14599":"p__Problemset__index","14610":"p__User__Detail__LearningPath__index","14662":"p__Classrooms__Lists__GroupHomework__Review__index","14666":"p__Homepage__index","14889":"p__Classrooms__Lists__Exercise__ImitateAnswer__index","15148":"p__Classrooms__Lists__Template__index","15186":"p__Classrooms__Overview__index","15319":"p__Classrooms__Lists__ProgramHomework__Detail__answer__Detail__index","15402":"p__User__Detail__Topics__Detail__index","16074":"p__MagazineVer__Detail__index","16328":"p__Shixuns__Edit__body__Warehouse__index","16434":"p__User__Detail__Order__pages__records__index","16729":"p__Classrooms__Lists__GroupHomework__Edit__index","16845":"p__Shixuns__Detail__Settings__index","17482":"p__Classrooms__Lists__Exercise__Notice__index","17527":"p__MyProblem__RecordDetail__index","17622":"p__Classrooms__Lists__Polls__Detail__index","17806":"p__Classrooms__Lists__Statistics__StatisticsQuality__index","18241":"p__virtualSpaces__Lists__Plan__index","18302":"p__Classrooms__Lists__Board__index","18307":"p__User__Detail__Shixuns__index","18682":"p__Wisdom__index","19116":"p__Materials__ItemAssets__AddProcure__index","19215":"p__Shixuns__Detail__ForkList__index","19360":"p__User__Detail__virtualSpaces__index","19519":"p__User__Detail__ClassManagement__Item__index","19715":"p__Classrooms__Lists__CommonHomework__Edit__index","19891":"p__User__Detail__Videos__Success__index","20026":"p__Classrooms__Lists__Graduation__Tasks__Edit__index","20576":"p__Account__Profile__Edit__index","20680":"p__Innovation__index","20700":"p__tasks__Jupyter__index","21265":"p__Classrooms__Lists__Announcement__index","21423":"p__Shixuns__Edit__body__Level__Challenges__EditPracticeAnswer__index","21433":"p__Equipment__Information__InfoList__ReservationInfo__index","21578":"p__Classrooms__Lists__Graduation__Topics__Detail__index","21937":"p__CounsellingCopy__ExpertManage__index","21939":"p__User__Detail__Order__index","22055":"p__CounsellingCopy__Index__index","22254":"p__Shixuns__Detail__Discuss__index","22307":"p__Report__index","22561":"p__Materials__Receive__index","22707":"p__Innovation__MyDataSet__index","23332":"p__Paths__Detail__id","24504":"p__virtualSpaces__Lists__Survey__index","24904":"p__Equipment__MessageCenterManage__index","25022":"p__Graduations__Lists__Settings__index","25470":"p__Shixuns__Detail__Collaborators__index","25705":"p__virtualSpaces__Lists__Construction__index","25807":"p__Materials__MyProcure__index","25972":"layouts__user__index","26366":"p__Innovation__PublicProject__index","26429":"p__MagazineVer__Index__index","26685":"p__Classrooms__Index__index","26741":"p__Engineering__Norm__List__index","26883":"p__Competitions__Index__index","26952":"p__Magazinejor__component__MonthlyDetailamins__prview__index","27178":"p__User__BindAccount__index","27182":"p__User__ResetPassword__index","27395":"p__Classrooms__Lists__Statistics__StudentDetail__index","27416":"p__Equipment__Index__index","28072":"p__Classrooms__Lists__GroupHomework__SubmitWork__index","28237":"p__User__Detail__Order__pages__view__index","28435":"p__Classrooms__Lists__Attendance__index","28637":"p__Knowbase__Detail__index","28723":"p__Classrooms__Lists__Polls__Edit__index","28982":"p__Paths__New__index","29304":"p__NewHomeEntranceClassify__index","29647":"p__Question__Index__index","29942":"p__Equipment__Information__InfoList__Edit__index","30067":"p__Message__index","30264":"p__User__Detail__Order__pages__orderPay__index","30342":"p__Classrooms__Lists__ShixunHomeworks__Comment__index","31006":"p__RestFul__index","31078":"p__Laboratory__LaboratoryType__index","31211":"p__Classrooms__Lists__CommonHomework__EditWork__index","31316":"p__Equipment__Information__InfoList__Details__index","31427":"p__Classrooms__Lists__Statistics__index","31674":"p__Classrooms__ClassicCases__index","31962":"p__Classrooms__Lists__Engineering__index","33356":"p__Classrooms__Lists__Assistant__index","33747":"p__virtualSpaces__Lists__Homepage__index","33772":"p__Magazinejor__Home__index","33784":"p__Paperlibrary__Random__Detail__index","33897":"p__Information__EditPage__index","34044":"p__Counselling__ExpertManage__index","34093":"p__Classrooms__Lists__Attendance__Detail__index","34601":"p__Paths__Detail__Statistics__index","34741":"p__Problems__OjForm__NewEdit__index","34800":"p__Engineering__Lists__GraduatedMatrix__index","34994":"p__Problems__OjForm__index","35238":"p__virtualSpaces__Lists__Material__index","35380":"p__Laboratory__Index__index","35729":"p__Help__Index","35977":"p__Laboratory__MyLaboratory__Info__rooms__createRoom__index","36029":"p__Administration__Student__index","36270":"p__MyProblem__index","36784":"p__Innovation__Edit__index","37062":"layouts__SimpleLayouts","37291":"p__CounsellingCopy__DutySetting__index","37948":"p__User__Detail__ClassManagement__index","38143":"layouts__GraduationsDetail__index","38447":"p__virtualSpaces__Lists__Knowledge__index","38634":"p__Classrooms__Lists__CourseGroup__List__index","38797":"p__Competitions__Edit__index","39094":"p__Magazine__AddOrEdit__index","39332":"p__Classrooms__Lists__Video__index","39348":"p__CloudTroops__Detail__index","39391":"p__Engineering__Lists__CurseSetting__index","39404":"monaco-editor","39496":"p__CounsellingCopy__ExpertList__Detail__index","39695":"p__Classrooms__Lists__Polls__Add__index","39820":"p__Laboratory__LaboratoryRoom__createRoom__index","39859":"p__Materials__ItemAssets__InfoCode__index","40139":"p__Materials__ItemAssets__index","40559":"layouts__virtualDetail__index","40665":"p__Materials__Index__index","40923":"p__Counselling__ExpertSchedule__index","41048":"p__Classrooms__Lists__ProgramHomework__Detail__Ranking__index","41657":"p__Shixuns__Edit__body__Level__Challenges__EditQuestion__index","41717":"layouts__index","41953":"p__Problemset__NewItem__index","42159":"p__Equipment__Information__index","42240":"p__User__Detail__Videos__Upload__index","43212":"p__Laboratory__ReservationManage__index","43361":"p__Magazinejor__component__MonthlyDetailamins__Add__index","43442":"p__Classrooms__Lists__Board__Add__index","44259":"p__User__Detail__Order__pages__result__index","44449":"p__Competitions__Exports__index","45096":"p__Shixuns__Detail__AuditSituation__index","45179":"p__Administration__Student__Edit__index","45359":"p__Messages__Detail__index","45517":"p__DefendCloud__index","45598":"p__Laboratory__Regulations__index","45650":"p__Competitions__Update__index","45775":"p__Engineering__Lists__Document__index","45825":"p__Classrooms__Lists__Exercise__index","45975":"p__Counselling__ExpertList__Detail__index","45992":"p__Classrooms__Lists__Exercise__ReviewGroup__index","45999":"p__CounsellingCopy__ExpertList__index","46219":"p__NewHomeEntrancetree__index","46796":"p__virtualSpaces__Lists__Announcement__Detail__index","46963":"p__Classrooms__Lists__Engineering__Detail__index","47456":"p__Practices__Detail__index","47545":"p__Graduations__Lists__Archives__index","47778":"p__IOT__DeviceManage__index","48077":"p__Classrooms__Lists__Students__index","48289":"p__Materials__MyReceive__index","48431":"p__Classrooms__Lists__Exercise__Export__index","48689":"p__Classrooms__Lists__Statistics__VideoStatistics__index","49205":"p__Shixuns__Edit__body__Level__Challenges__EditPracticeSetting__index","49366":"p__User__Login__index","49716":"p__Question__OjProblem__RecordDetail__index","49890":"p__Classrooms__Lists__CommonHomework__index","50869":"p__Guidance__index","51220":"p__NewHomeEntrance2__index","51276":"p__MoopCases__Success__index","51461":"p__Graduations__Lists__Topics__index","51582":"p__Classrooms__Lists__GroupHomework__Add__index","51810":"p__Laboratory__OpenReservation__OpenReservationDetail__index","51855":"p__MoopCases__InfoPanel__index","52338":"p__Classrooms__Lists__CommonHomework__Review__index","52404":"p__Classrooms__Lists__Template__teacher__index","52806":"p__User__Detail__Topics__Exercise__Detail__index","52829":"p__Messages__Private__index","52875":"p__Shixuns__Detail__id","53247":"p__Paperlibrary__See__index","53451":"p__Competitions__NewIndex__index","53910":"p__HttpStatus__introduction","54056":"p__IntrainCourse__index","54164":"p__Classrooms__Lists__Exercise__Detail__index","54492":"p__Graduations__Lists__StudentSelection__index","54572":"p__Classrooms__Lists__ExportList__index","54770":"p__Classrooms__Lists__ProgramHomework__Detail__answer__index","54862":"p__Paperlibrary__index","55573":"p__Shixuns__Detail__Merge__index","55624":"p__Graduations__Lists__Index__index","56277":"p__Shixuns__Edit__index","57045":"p__Classrooms__Lists__CommonHomework__SubmitWork__index","57504":"p__CloudHotLine__index","57560":"p__Administration__College__index","57614":"p__Shixuns__Edit__body__Level__Challenges__RankingSetting__index","57989":"p__Laboratory__MyLaboratory__Info__index","58140":"p__Practices__index","59133":"p__Shixuns__Detail__Challenges__index","59142":"p__Reservation__index","59649":"p__Engineering__Lists__TrainingProgram__index","59788":"p__Account__Profile__index","60479":"p__Classrooms__Lists__GroupHomework__EditWork__index","60533":"p__Classrooms__Lists__Video__Statistics__Detail__index","60547":"p__Account__index","61043":"p__Classrooms__Lists__Graduation__Tasks__index","61075":"p__IOT__ViewAppointment__index","61311":"p__Equipment__BookingManage__index","61713":"p__virtualSpaces__Lists__Settings__index","61727":"p__Classrooms__Lists__CourseGroup__NotList__index","61880":"p__User__Detail__Order__pages__apply__index","61902":"p__Information__HomePage__index","62369":"p__Magazinejor__component__Review__index","62548":"p__Engineering__Norm__Detail__index","62909":"p__NewHomeEntrance1__index","63157":"p__User__Detail__ExperImentImg__Add__index","64144":"p__Problemset__Preview__New__index","64217":"p__Classrooms__Lists__Video__Statistics__index","64496":"p__HttpStatus__HpcCourse","64520":"p__Account__Secure__index","65111":"p__Terminal__index","65148":"p__Classrooms__Lists__Polls__Answer__index","65191":"p__User__Detail__Certificate__index","65549":"p__Shixuns__New__CreateImg__index","65798":"p__Magazinejor__component__Journal__index","65816":"p__virtualSpaces__Lists__Announcement__index","66063":"p__Graduations__Lists__Personmanage__index","66118":"p__Magazinejor__component__Comment__index","66243":"p__Broadcast__Detail__index","66583":"p__User__Detail__Classrooms__index","66651":"p__Engineering__Evaluate__Detail__index","66884":"p__Counselling__Index__index","67242":"p__Innovation__MyProject__index","67878":"p__Classrooms__Lists__LiveVideo__index","67987":"p__Counselling__HotQuestions__index","68014":"p__Classrooms__Lists__Teachers__index","68665":"p__Engineering__Lists__TrainingObjectives__index","68827":"p__Classrooms__Lists__OnlineLearning__index","68882":"p__Classrooms__Lists__Graduation__Tasks__Detail__index","69681":"p__User__Detail__Devicegroup__Add__index","69828":"p__Equipment__Faultlibrary__index","69922":"p__Classrooms__Lists__Statistics__StudentVideo__index","69944":"p__Classrooms__Lists__Video__Statistics__StudentDetail__index","70354":"p__Magazinejor__component__MonthlyPreview__index","71450":"p__Classrooms__Lists__ShixunHomeworks__Commitsummary__index","71525":"p__User__Detail__Devicegroup__ReservationInfo__index","71783":"p__virtualSpaces__Lists__Experiment__index","72409":"p__Materials__Procure__index","72529":"p__User__Detail__id","72539":"p__Graduations__Review__index","72570":"p__Competitions__Detail__index","73183":"p__Engineering__Lists__GraduationIndex__index","73220":"p__Classrooms__Lists__Video__Upload__index","73822":"p__CloudStudy__index","74264":"p__Forums__New__index","74297":"p__Laboratory__LaboratoryRoom__index","74795":"p__Classrooms__Lists__Graduation__Tasks__Add__index","75043":"p__User__Detail__Topics__Poll__Edit__index","75357":"p__Engineering__Lists__TrainingProgram__Edit__index","75786":"layouts__LoginAndRegister__index","75816":"p__Paperlibrary__Random__Edit__index","75824":"p__Magazinejor__component__Detail__index","76134":"p__Equipment__Maintenance__Details__index","76904":"p__MoopCases__FormPanel__index","77248":"p__Materials__ItemAssetsList__CreateItemAssets__index","77460":"p__Question__OjProblem__index","77857":"p__Shixuns__Edit__body__Level__Challenges__NewQuestion__index","78085":"p__Classrooms__Lists__Exercise__Review__index","79487":"p__Laboratory__OpenReservation__index","79489":"p__Engineering__Lists__CourseList__index","79590":"p__User__Detail__TeachGroup__index","79921":"p__Classrooms__ExamList__index","80508":"p__Forums__Detail__id","80668":"p__MagazineVer__Mine__index","81148":"p__Shixuns__Detail__Repository__UploadFile__index","81384":"p__CloudTroops__index","82339":"p__virtualSpaces__Lists__Plan__Detail__index","82425":"p__Classrooms__Lists__Board__Detail__index","82443":"p__Graduations__Lists__StageModule__index","83105":"p__Laboratory__RuleManage__index","83141":"p__Innovation__Detail__index","83212":"p__MoopCases__index","83935":"p__Classrooms__Lists__GroupHomework__index","84546":"p__Engineering__Lists__TrainingProgram__Add__index","85048":"p__Classrooms__Lists__Graduation__Topics__index","85111":"p__User__Detail__Order__pages__orderInformation__index","85297":"p__Classrooms__Lists__Exercise__Detail__components__DuplicateChecking__CheckDetail__index","85888":"p__Classrooms__Lists__CommonHomework__Add__index","85891":"p__virtualSpaces__Lists__Resources__index","86052":"p__Paths__Index__index","86065":"p__Materials__Log__index","86452":"p__Innovation__PublicDataSet__index","86541":"p__Shixuns__Detail__Dataset__index","86634":"p__Innovation__Tasks__index","86820":"p__User__Detail__Topics__Normal__index","86913":"p__Question__AddOrEdit__index","87058":"p__virtualSpaces__Lists__Survey__Detail__index","87260":"p__Account__Certification__index","87922":"p__Classrooms__Lists__CourseGroup__Detail__index","88093":"p__Equipment__Maintenance__index","88155":"p__Shixuns__Overview__index","88501":"p__ReservationDetail__index","88517":"p__User__Detail__Topics__Group__index","88866":"p__index","89053":"p__IOT__ElectronBPManage__index","89076":"p__Account__Binding__index","89113":"p__Equipment__Devicelabel__index","89677":"p__virtualSpaces__Lists__Announcement__AddAndEdit__index","89785":"p__Classrooms__Lists__Template__student__index","90109":"p__Classrooms__Lists__ShixunHomeworks__Detail__components__CodeReview__Detail__index","90127":"p__CounsellingCopy__MyConsultation__index","90265":"p__User__Detail__Topics__index","90337":"p__Paperlibrary__Random__PreviewEdit__index","91045":"p__virtualSpaces__Lists__Knowledge__AddAndEdit__index","91470":"p__User__Register__index","91831":"p__Graduations__Index__index","91935":"p__Laboratory__Regulationsadmins__index","91958":"p__Magazinejor__component__MonthlyDetail__index","92045":"p__Engineering__Lists__TeacherList__index","92501":"p__Search__index","92823":"p__Engineering__Navigation__Home__index","92932":"p__User__Detail__Devicegroup__Edit__index","92983":"p__Forums__Index__index","93260":"p__Paperlibrary__Add__index","93282":"layouts__ShixunDetail__index","93496":"p__User__Detail__OtherResources__index","93665":"p__tasks__index","93668":"p__Classrooms__Lists__CommonHomework__Detail__index","94078":"p__Messages__Tidings__index","94498":"p__Shixuns__Edit__body__Level__Challenges__NewPractice__index","94662":"p__User__Detail__Paths__index","94715":"p__virtualSpaces__Lists__Material__Detail__index","94849":"p__User__Detail__ExperImentImg__index","95125":"p__Classrooms__Lists__Exercise__DetailedAnalysis__index","95176":"p__User__Detail__Videos__Protocol__index","95335":"p__Engineering__Lists__CourseMatrix__index","95762":"p__OfficialNotice__index","96163":"p__Laboratory__Reservations__Info__index","96444":"p__Video__Detail__id","96882":"p__Classrooms__New__StartClass__index","97008":"p__Shixuns__New__index","97046":"p__Shixuns__Detail__Repository__AddFile__index","97838":"p__Equipment__Working__index","98062":"p__User__Detail__Topicbank__index","98398":"p__virtualSpaces__Lists__Resources__Detail__index","98662":"p__Materials__ItemAssetsType__index","98688":"p__Shixuns__Detail__Repository__index","98885":"p__Classrooms__Lists__Statistics__StudentStatistics__index","98936":"p__Laboratory__MyLaboratory__index","99674":"p__Shixuns__New__ImagePreview__index","99758":"p__Laboratory__Reservations__index"}[chunkId] || chunkId) + "." + {"292":"80a6c2b6","310":"0249d937","556":"bfc78946","1201":"c73955ec","1482":"ed37fb29","1702":"1cff9454","2001":"58cf0df3","2224":"ae449ddb","2416":"d0ce16f6","2471":"1028bf0b","2507":"36fcb509","2604":"b5382162","2659":"96f6b073","2819":"8c1556d0","2948":"2a75baf4","3317":"06eb5238","3391":"624ac372","3451":"b50b5912","3509":"17ce9e25","3585":"27285225","3951":"458acd7a","4271":"559e046a","4736":"3eb42e63","4766":"d23766f2","4829":"7674b883","4884":"d420ee44","4973":"a2bf6090","5427":"531f2ed5","5572":"06fde8fc","5808":"5577fce6","6127":"be4de0b9","6431":"38f9ba28","6613":"163568b8","6685":"9685e4cc","6758":"62b43134","6788":"90b6b637","7043":"9e608514","7202":"b1a31e7d","7520":"bf3002c0","7729":"10cc0530","7852":"d1005769","7884":"9fd2bb1c","8787":"8fbe7bc7","8999":"8f7fc77d","9105":"980adaa5","9134":"7f7eb58b","9416":"e435ad08","10195":"3912318b","10485":"dd11da25","10737":"98af2cd9","10799":"050266d3","10902":"830e0229","10921":"dfe59295","11020":"b40f538b","11070":"2f5ca0db","11130":"c0cbfb13","11174":"1028bf0b","11253":"0e507eb1","11512":"2f651fe0","11520":"bb49ea7b","11545":"4f612325","11581":"2654dd6b","12076":"4ebb205b","12102":"1ed0aea7","12303":"80c65113","12412":"9d842bb8","12476":"f854e9ce","12865":"f5b125da","12868":"2a7cdb74","12884":"d0f38ecf","12914":"079f9f18","13006":"b0adbfaa","13355":"a954ad7f","13581":"b4e9077e","13585":"257620a5","14058":"35a3c89a","14105":"bc60463b","14227":"f77f9d3a","14514":"69d288e7","14599":"b5e2c709","14610":"baa99690","14662":"d90b772f","14666":"ecb2b6de","14889":"c3ac41ed","15148":"8dabbb82","15186":"734dd199","15319":"d56924d6","15402":"4992bf13","16074":"70bb53e2","16328":"4d8794b2","16434":"4c151f19","16729":"42a8fcdf","16845":"55569b85","17482":"31407027","17527":"f2298d17","17622":"447e9439","17806":"21316a91","18241":"72af1c45","18302":"4017ea19","18307":"547d0046","18682":"482a577a","19116":"6db83c3e","19215":"cd159292","19360":"be783a00","19519":"37644daa","19715":"7ea94e4b","19891":"fc0a484c","20026":"f75634f6","20576":"864cde59","20680":"2f5ca0db","20700":"f05b0f8e","21265":"6d69f305","21423":"0b2633d7","21433":"b17ac881","21578":"6231b9c6","21937":"2fc54d6a","21939":"22be224d","22055":"182f633d","22254":"7f78bd6a","22307":"8fdc450d","22561":"3f4b8d9a","22707":"be5638b4","23332":"552de8d2","24504":"41eaa101","24904":"2cf15ee1","25022":"5708f8e2","25470":"89bf69b1","25705":"2849192a","25807":"640ba8fd","25972":"4b3107b7","26366":"6e5697bb","26429":"d7274500","26685":"3fdbfb66","26741":"9140a04a","26883":"e9939d27","26952":"59cbb0a3","27178":"19c2a7c8","27182":"3b076840","27395":"f1af1fc6","27416":"39b5fd60","28072":"68fe4bbd","28237":"82239ed5","28435":"03de98f0","28637":"ea203988","28723":"9ae7d67d","28982":"6cc97ac2","29304":"e6648e8e","29647":"cfb62a75","29942":"840162cf","30067":"f9b215e4","30264":"2df81f6a","30342":"a651a5ac","31006":"720b5a47","31078":"502ddeaa","31211":"569184cd","31316":"6888ac7c","31427":"b34681e3","31674":"247eeb2b","31962":"eb594283","33356":"c37b87da","33747":"9392e3a3","33772":"92b33bf9","33784":"574edaf6","33897":"e5bdf6c9","34044":"082a4b9e","34093":"a474ac5c","34601":"6814d9fc","34741":"fe7be85b","34800":"d8e11cef","34994":"a8d6f4e6","35238":"44226b30","35380":"614c9d73","35729":"0c9ade87","35977":"86cb8974","36029":"ea7a598d","36270":"21e0df68","36505":"f9ba184c","36784":"33ade43d","37062":"447f5ac2","37291":"eb9c4abd","37948":"059b1ed2","38143":"deb1bfb9","38447":"5925b5f6","38634":"7668d2be","38797":"490e25aa","39094":"4bd60c52","39332":"9e5fd2a9","39348":"a06b94e4","39391":"2a53e9eb","39404":"b659b47c","39496":"abdd17ee","39695":"ab0d534a","39820":"4ab13ab2","39859":"5ba42e52","40139":"1436f036","40559":"b9dca6a8","40665":"ddb7917e","40923":"ebc5d789","41048":"b0095c8d","41657":"cbfcf6ee","41717":"5b7422c8","41953":"501f9629","42159":"6967c6a3","42240":"0f080204","43212":"7754b892","43361":"2c05331a","43442":"ba15ebf1","44259":"c43ff95c","44449":"1f6713fe","45096":"d81b65d3","45179":"dc8edbda","45284":"58a0f906","45359":"9bf262fc","45517":"e7fb3884","45598":"e5718f1c","45650":"1328b02d","45775":"007c78a8","45825":"af7908a9","45975":"600b5e81","45992":"c2c888f5","45999":"fc24a29a","46219":"e4a4d74e","46796":"721f6318","46963":"eb594283","47456":"7c7f0105","47545":"cc16e3fa","47778":"c7933b32","48077":"af2d7c5c","48289":"04a5b2b6","48431":"bc7b5c0f","48689":"b7748430","49205":"da811cdb","49366":"f8a3e2ff","49394":"6967c6a3","49716":"7f106c65","49890":"1915d0dd","50869":"7495f4a1","51220":"c93c235a","51276":"287f199d","51461":"e8712bb9","51582":"e8a789de","51810":"ae732860","51855":"15288da1","52338":"8ff306b1","52404":"f000c7ed","52806":"12567c6a","52829":"b6933b01","52875":"73f526ca","53247":"9c05a58d","53451":"1c4f4ada","53910":"1ab272c2","54056":"029524c0","54164":"a7898ac7","54492":"31eb83ed","54572":"b195939f","54770":"d56924d6","54862":"99ebf17a","55573":"ad7ac8ce","55624":"cc019800","56277":"8bf4ca0f","57045":"f730c9d3","57504":"0c05e969","57560":"a468eccc","57614":"f0b9bcba","57989":"5ac170c1","58140":"e00412c6","59133":"99e67206","59142":"e9d51d88","59649":"b33b2419","59788":"1b285415","60479":"1d3afefb","60533":"c309e1f6","60547":"29697377","61043":"e461382c","61075":"e3892ace","61311":"85442911","61713":"8be3fb50","61727":"43f8fc7a","61880":"6087c25c","61902":"97bd623d","62369":"092b9d1a","62548":"859e1bdc","62909":"97ad1a1a","63157":"be15dc62","64144":"e6ce5dfb","64217":"6a014d20","64496":"728e18d0","64520":"f6c59d7e","65111":"7ef41fa2","65148":"6737e3c2","65191":"ef9b39f6","65549":"ab394042","65798":"a5617ed1","65816":"372b9447","66063":"1586b7d8","66118":"0224c9fc","66243":"4dc945fe","66583":"d14166f1","66651":"e78640f1","66884":"402cffd5","67242":"d5697c83","67878":"1e0067eb","67987":"00327092","68014":"8e1b3313","68665":"3bf5ebd5","68827":"fae660c9","68882":"9a965ba7","69681":"fa72a3e9","69828":"e2f917f1","69922":"07a591f6","69944":"5adcfe29","70354":"ba60d1b8","71450":"7ede25a4","71525":"a3fdfbfd","71783":"17d0dd96","72409":"4b703b2e","72529":"0e6749e3","72539":"865ab5ed","72570":"614f0020","73183":"136525d9","73220":"ee0a33c6","73822":"16974006","74264":"9231d62b","74297":"e03737df","74795":"4c778199","75043":"c6a4175a","75357":"6b125c18","75786":"1f3c9895","75816":"cae8cacd","75824":"bcb33398","76134":"36e865b7","76904":"cb0df4a1","77248":"4b4d44a9","77460":"9a4022ee","77857":"dda904be","78085":"f0751e92","79487":"46700880","79489":"68698cb2","79590":"6a3ffcb6","79921":"4aa8c022","80508":"97f4545b","80668":"1a9a3454","81148":"400943b9","81384":"4e096468","82339":"7206bba8","82425":"90fd13d8","82443":"5471b9dd","83105":"6bd91335","83141":"13f0551b","83212":"e62f6608","83935":"a9ce4487","84546":"75f1e05a","85048":"a92b3d91","85111":"10cb6582","85297":"8f1ad08e","85888":"40f1c9eb","85891":"977805a3","86052":"8499472b","86065":"f2289d9a","86452":"51957e26","86541":"edb5a40d","86634":"84a75147","86820":"99ad0a12","86913":"63e7f6e7","87058":"24ce8ff8","87260":"0f9a0f11","87922":"e4417b5a","88093":"e2f917f1","88155":"b18cbfa8","88501":"d7e1a3ff","88517":"4ef53bb5","88866":"9c2747b0","89053":"a57c53d0","89076":"247670c1","89113":"b8c8aaf8","89677":"b477eb80","89785":"f000c7ed","90109":"41cee529","90127":"39dd7aa3","90265":"e3a52046","90337":"960e8186","91045":"964a9969","91384":"4d977d2c","91470":"3b076840","91831":"ff35ccc6","91935":"f9811cf3","91958":"504aaa0c","92045":"a14a8d95","92501":"b55e1179","92823":"45654a57","92932":"25a57b63","92983":"7ad50b54","93260":"f69c9c7f","93282":"2d1e3b62","93496":"ad412be1","93665":"d16b4045","93668":"0e891d0a","94078":"b320156b","94498":"aaccd8b3","94662":"651d41ac","94715":"a0cb5369","94849":"2be50c9b","95125":"70b7ba80","95176":"32e769a4","95335":"40ca424b","95762":"97c4a7b4","96163":"51ebc32f","96444":"53713324","96882":"c0f1aef4","97008":"ea8f2ae9","97046":"d33f64e9","97838":"41cbd47b","98062":"b9e125bd","98398":"88b016a8","98662":"35937f47","98688":"a6015361","98885":"e197eee5","98936":"d3458a0e","99674":"eaa8a479","99758":"6ae6635b"}[chunkId] + ".chunk.css";
    /******/ 		};
    /******/ 	}();
    /******/ 	
    /******/ 	/* 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/harmony module decorator */
    /******/ 	!function() {
    /******/ 		__webpack_require__.hmd = function(module) {
    /******/ 			module = Object.create(module);
    /******/ 			if (!module.children) module.children = [];
    /******/ 			Object.defineProperty(module, 'exports', {
    /******/ 				enumerable: true,
    /******/ 				set: function() {
    /******/ 					throw new Error('ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: ' + module.id);
    /******/ 				}
    /******/ 			});
    /******/ 			return module;
    /******/ 		};
    /******/ 	}();
    /******/ 	
    /******/ 	/* webpack/runtime/hasOwnProperty shorthand */
    /******/ 	!function() {
    /******/ 		__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
    /******/ 	}();
    /******/ 	
    /******/ 	/* webpack/runtime/load script */
    /******/ 	!function() {
    /******/ 		var inProgress = {};
    /******/ 		// data-webpack is not used as build has no uniqueName
    /******/ 		// loadScript function to load a script via script tag
    /******/ 		__webpack_require__.l = function(url, done, key, chunkId) {
    /******/ 			if(inProgress[url]) { inProgress[url].push(done); return; }
    /******/ 			var script, needAttach;
    /******/ 			if(key !== undefined) {
    /******/ 				var scripts = document.getElementsByTagName("script");
    /******/ 				for(var i = 0; i < scripts.length; i++) {
    /******/ 					var s = scripts[i];
    /******/ 					if(s.getAttribute("src") == url) { script = s; break; }
    /******/ 				}
    /******/ 			}
    /******/ 			if(!script) {
    /******/ 				needAttach = true;
    /******/ 				script = document.createElement('script');
    /******/ 		
    /******/ 				script.charset = 'utf-8';
    /******/ 				script.timeout = 120;
    /******/ 				if (__webpack_require__.nc) {
    /******/ 					script.setAttribute("nonce", __webpack_require__.nc);
    /******/ 				}
    /******/ 		
    /******/ 		
    /******/ 				script.src = url;
    /******/ 			}
    /******/ 			inProgress[url] = [done];
    /******/ 			var onScriptComplete = function(prev, event) {
    /******/ 				// avoid mem leaks in IE.
    /******/ 				script.onerror = script.onload = null;
    /******/ 				clearTimeout(timeout);
    /******/ 				var doneFns = inProgress[url];
    /******/ 				delete inProgress[url];
    /******/ 				script.parentNode && script.parentNode.removeChild(script);
    /******/ 				doneFns && doneFns.forEach(function(fn) { return fn(event); });
    /******/ 				if(prev) return prev(event);
    /******/ 			}
    /******/ 			var timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000);
    /******/ 			script.onerror = onScriptComplete.bind(null, script.onerror);
    /******/ 			script.onload = onScriptComplete.bind(null, script.onload);
    /******/ 			needAttach && document.head.appendChild(script);
    /******/ 		};
    /******/ 	}();
    /******/ 	
    /******/ 	/* webpack/runtime/make namespace object */
    /******/ 	!function() {
    /******/ 		// define __esModule on exports
    /******/ 		__webpack_require__.r = function(exports) {
    /******/ 			if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
    /******/ 				Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
    /******/ 			}
    /******/ 			Object.defineProperty(exports, '__esModule', { value: true });
    /******/ 		};
    /******/ 	}();
    /******/ 	
    /******/ 	/* webpack/runtime/node module decorator */
    /******/ 	!function() {
    /******/ 		__webpack_require__.nmd = function(module) {
    /******/ 			module.paths = [];
    /******/ 			if (!module.children) module.children = [];
    /******/ 			return module;
    /******/ 		};
    /******/ 	}();
    /******/ 	
    /******/ 	/* webpack/runtime/publicPath */
    /******/ 	!function() {
    /******/ 		__webpack_require__.p = "/react/build/";
    /******/ 	}();
    /******/ 	
    /******/ 	/* webpack/runtime/css loading */
    /******/ 	!function() {
    /******/ 		if (typeof document === "undefined") return;
    /******/ 		var createStylesheet = function(chunkId, fullhref, oldTag, resolve, reject) {
    /******/ 			var linkTag = document.createElement("link");
    /******/ 		
    /******/ 			linkTag.rel = "stylesheet";
    /******/ 			linkTag.type = "text/css";
    /******/ 			var onLinkComplete = function(event) {
    /******/ 				// avoid mem leaks.
    /******/ 				linkTag.onerror = linkTag.onload = null;
    /******/ 				if (event.type === 'load') {
    /******/ 					resolve();
    /******/ 				} else {
    /******/ 					var errorType = event && (event.type === 'load' ? 'missing' : event.type);
    /******/ 					var realHref = event && event.target && event.target.href || fullhref;
    /******/ 					var err = new Error("Loading CSS chunk " + chunkId + " failed.\n(" + realHref + ")");
    /******/ 					err.code = "CSS_CHUNK_LOAD_FAILED";
    /******/ 					err.type = errorType;
    /******/ 					err.request = realHref;
    /******/ 					linkTag.parentNode.removeChild(linkTag)
    /******/ 					reject(err);
    /******/ 				}
    /******/ 			}
    /******/ 			linkTag.onerror = linkTag.onload = onLinkComplete;
    /******/ 			linkTag.href = fullhref;
    /******/ 		
    /******/ 			if (oldTag) {
    /******/ 				oldTag.parentNode.insertBefore(linkTag, oldTag.nextSibling);
    /******/ 			} else {
    /******/ 				document.head.appendChild(linkTag);
    /******/ 			}
    /******/ 			return linkTag;
    /******/ 		};
    /******/ 		var findStylesheet = function(href, fullhref) {
    /******/ 			var existingLinkTags = document.getElementsByTagName("link");
    /******/ 			for(var i = 0; i < existingLinkTags.length; i++) {
    /******/ 				var tag = existingLinkTags[i];
    /******/ 				var dataHref = tag.getAttribute("data-href") || tag.getAttribute("href");
    /******/ 				if(tag.rel === "stylesheet" && (dataHref === href || dataHref === fullhref)) return tag;
    /******/ 			}
    /******/ 			var existingStyleTags = document.getElementsByTagName("style");
    /******/ 			for(var i = 0; i < existingStyleTags.length; i++) {
    /******/ 				var tag = existingStyleTags[i];
    /******/ 				var dataHref = tag.getAttribute("data-href");
    /******/ 				if(dataHref === href || dataHref === fullhref) return tag;
    /******/ 			}
    /******/ 		};
    /******/ 		var loadStylesheet = function(chunkId) {
    /******/ 			return new Promise(function(resolve, reject) {
    /******/ 				var href = __webpack_require__.miniCssF(chunkId);
    /******/ 				var fullhref = __webpack_require__.p + href;
    /******/ 				if(findStylesheet(href, fullhref)) return resolve();
    /******/ 				createStylesheet(chunkId, fullhref, null, resolve, reject);
    /******/ 			});
    /******/ 		}
    /******/ 		// object to store loaded CSS chunks
    /******/ 		var installedCssChunks = {
    /******/ 			54620: 0
    /******/ 		};
    /******/ 		
    /******/ 		__webpack_require__.f.miniCss = function(chunkId, promises) {
    /******/ 			var cssChunks = {"292":1,"310":1,"556":1,"1201":1,"1482":1,"1702":1,"2001":1,"2224":1,"2416":1,"2471":1,"2507":1,"2604":1,"2659":1,"2819":1,"2948":1,"3317":1,"3391":1,"3451":1,"3509":1,"3585":1,"3951":1,"4271":1,"4736":1,"4766":1,"4829":1,"4884":1,"4973":1,"5427":1,"5572":1,"5808":1,"6127":1,"6431":1,"6613":1,"6685":1,"6758":1,"6788":1,"7043":1,"7202":1,"7520":1,"7729":1,"7852":1,"7884":1,"8787":1,"8999":1,"9105":1,"9134":1,"9416":1,"10195":1,"10485":1,"10737":1,"10799":1,"10902":1,"10921":1,"11020":1,"11070":1,"11130":1,"11174":1,"11253":1,"11512":1,"11520":1,"11545":1,"11581":1,"12076":1,"12102":1,"12303":1,"12412":1,"12476":1,"12865":1,"12868":1,"12884":1,"12914":1,"13006":1,"13355":1,"13581":1,"13585":1,"14058":1,"14105":1,"14227":1,"14514":1,"14599":1,"14610":1,"14662":1,"14666":1,"14889":1,"15148":1,"15186":1,"15319":1,"15402":1,"16074":1,"16328":1,"16434":1,"16729":1,"16845":1,"17482":1,"17527":1,"17622":1,"17806":1,"18241":1,"18302":1,"18307":1,"18682":1,"19116":1,"19215":1,"19360":1,"19519":1,"19715":1,"19891":1,"20026":1,"20576":1,"20680":1,"20700":1,"21265":1,"21423":1,"21433":1,"21578":1,"21937":1,"21939":1,"22055":1,"22254":1,"22307":1,"22561":1,"22707":1,"23332":1,"24504":1,"24904":1,"25022":1,"25470":1,"25705":1,"25807":1,"25972":1,"26366":1,"26429":1,"26685":1,"26741":1,"26883":1,"26952":1,"27178":1,"27182":1,"27395":1,"27416":1,"28072":1,"28237":1,"28435":1,"28637":1,"28723":1,"28982":1,"29304":1,"29647":1,"29942":1,"30067":1,"30264":1,"30342":1,"31006":1,"31078":1,"31211":1,"31316":1,"31427":1,"31674":1,"31962":1,"33356":1,"33747":1,"33772":1,"33784":1,"33897":1,"34044":1,"34093":1,"34601":1,"34741":1,"34800":1,"34994":1,"35238":1,"35380":1,"35729":1,"35977":1,"36029":1,"36270":1,"36505":1,"36784":1,"37062":1,"37291":1,"37948":1,"38143":1,"38447":1,"38634":1,"38797":1,"39094":1,"39332":1,"39348":1,"39391":1,"39404":1,"39496":1,"39695":1,"39820":1,"39859":1,"40139":1,"40559":1,"40665":1,"40923":1,"41048":1,"41657":1,"41717":1,"41953":1,"42159":1,"42240":1,"43212":1,"43361":1,"43442":1,"44259":1,"44449":1,"45096":1,"45179":1,"45284":1,"45359":1,"45517":1,"45598":1,"45650":1,"45775":1,"45825":1,"45975":1,"45992":1,"45999":1,"46219":1,"46796":1,"46963":1,"47456":1,"47545":1,"47778":1,"48077":1,"48289":1,"48431":1,"48689":1,"49205":1,"49366":1,"49394":1,"49716":1,"49890":1,"50869":1,"51220":1,"51276":1,"51461":1,"51582":1,"51810":1,"51855":1,"52338":1,"52404":1,"52806":1,"52829":1,"52875":1,"53247":1,"53451":1,"53910":1,"54056":1,"54164":1,"54492":1,"54572":1,"54770":1,"54862":1,"55573":1,"55624":1,"56277":1,"57045":1,"57504":1,"57560":1,"57614":1,"57989":1,"58140":1,"59133":1,"59142":1,"59649":1,"59788":1,"60479":1,"60533":1,"60547":1,"61043":1,"61075":1,"61311":1,"61713":1,"61727":1,"61880":1,"61902":1,"62369":1,"62548":1,"62909":1,"63157":1,"64144":1,"64217":1,"64496":1,"64520":1,"65111":1,"65148":1,"65191":1,"65549":1,"65798":1,"65816":1,"66063":1,"66118":1,"66243":1,"66583":1,"66651":1,"66884":1,"67242":1,"67878":1,"67987":1,"68014":1,"68665":1,"68827":1,"68882":1,"69681":1,"69828":1,"69922":1,"69944":1,"70354":1,"71450":1,"71525":1,"71783":1,"72409":1,"72529":1,"72539":1,"72570":1,"73183":1,"73220":1,"73822":1,"74264":1,"74297":1,"74795":1,"75043":1,"75357":1,"75786":1,"75816":1,"75824":1,"76134":1,"76904":1,"77248":1,"77460":1,"77857":1,"78085":1,"79487":1,"79489":1,"79590":1,"79921":1,"80508":1,"80668":1,"81148":1,"81384":1,"82339":1,"82425":1,"82443":1,"83105":1,"83141":1,"83212":1,"83935":1,"84546":1,"85048":1,"85111":1,"85297":1,"85888":1,"85891":1,"86052":1,"86065":1,"86452":1,"86541":1,"86634":1,"86820":1,"86913":1,"87058":1,"87260":1,"87922":1,"88093":1,"88155":1,"88501":1,"88517":1,"88866":1,"89053":1,"89076":1,"89113":1,"89677":1,"89785":1,"90109":1,"90127":1,"90265":1,"90337":1,"91045":1,"91384":1,"91470":1,"91831":1,"91935":1,"91958":1,"92045":1,"92501":1,"92823":1,"92932":1,"92983":1,"93260":1,"93282":1,"93496":1,"93665":1,"93668":1,"94078":1,"94498":1,"94662":1,"94715":1,"94849":1,"95125":1,"95176":1,"95335":1,"95762":1,"96163":1,"96444":1,"96882":1,"97008":1,"97046":1,"97838":1,"98062":1,"98398":1,"98662":1,"98688":1,"98885":1,"98936":1,"99674":1,"99758":1};
    /******/ 			if(installedCssChunks[chunkId]) promises.push(installedCssChunks[chunkId]);
    /******/ 			else if(installedCssChunks[chunkId] !== 0 && cssChunks[chunkId]) {
    /******/ 				promises.push(installedCssChunks[chunkId] = loadStylesheet(chunkId).then(function() {
    /******/ 					installedCssChunks[chunkId] = 0;
    /******/ 				}, function(e) {
    /******/ 					delete installedCssChunks[chunkId];
    /******/ 					throw e;
    /******/ 				}));
    /******/ 			}
    /******/ 		};
    /******/ 		
    /******/ 		// no hmr
    /******/ 	}();
    /******/ 	
    /******/ 	/* webpack/runtime/jsonp chunk loading */
    /******/ 	!function() {
    /******/ 		// no baseURI
    /******/ 		
    /******/ 		// 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 = {
    /******/ 			54620: 0
    /******/ 		};
    /******/ 		
    /******/ 		__webpack_require__.f.j = function(chunkId, promises) {
    /******/ 				// JSONP chunk loading for javascript
    /******/ 				var installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;
    /******/ 				if(installedChunkData !== 0) { // 0 means "already installed".
    /******/ 		
    /******/ 					// a Promise means "currently loading".
    /******/ 					if(installedChunkData) {
    /******/ 						promises.push(installedChunkData[2]);
    /******/ 					} else {
    /******/ 						if(!/^(2(0576|6883|8723)|36505|49394)$/.test(chunkId)) {
    /******/ 							// setup Promise in chunk cache
    /******/ 							var promise = new Promise(function(resolve, reject) { installedChunkData = installedChunks[chunkId] = [resolve, reject]; });
    /******/ 							promises.push(installedChunkData[2] = promise);
    /******/ 		
    /******/ 							// start chunk loading
    /******/ 							var url = __webpack_require__.p + __webpack_require__.u(chunkId);
    /******/ 							// create error before stack unwound to get useful stacktrace later
    /******/ 							var error = new Error();
    /******/ 							var loadingEnded = function(event) {
    /******/ 								if(__webpack_require__.o(installedChunks, chunkId)) {
    /******/ 									installedChunkData = installedChunks[chunkId];
    /******/ 									if(installedChunkData !== 0) installedChunks[chunkId] = undefined;
    /******/ 									if(installedChunkData) {
    /******/ 										var errorType = event && (event.type === 'load' ? 'missing' : event.type);
    /******/ 										var realSrc = event && event.target && event.target.src;
    /******/ 										error.message = 'Loading chunk ' + chunkId + ' failed.\n(' + errorType + ': ' + realSrc + ')';
    /******/ 										error.name = 'ChunkLoadError';
    /******/ 										error.type = errorType;
    /******/ 										error.request = realSrc;
    /******/ 										installedChunkData[1](error);
    /******/ 									}
    /******/ 								}
    /******/ 							};
    /******/ 							__webpack_require__.l(url, loadingEnded, "chunk-" + chunkId, chunkId);
    /******/ 						} else installedChunks[chunkId] = 0;
    /******/ 					}
    /******/ 				}
    /******/ 		};
    /******/ 		
    /******/ 		// no prefetching
    /******/ 		
    /******/ 		// no preloaded
    /******/ 		
    /******/ 		// no HMR
    /******/ 		
    /******/ 		// no HMR manifest
    /******/ 		
    /******/ 		// no on chunks loaded
    /******/ 		
    /******/ 		// install a JSONP callback for chunk loading
    /******/ 		var webpackJsonpCallback = function(parentChunkLoadingFunction, data) {
    /******/ 			var chunkIds = data[0];
    /******/ 			var moreModules = data[1];
    /******/ 			var runtime = data[2];
    /******/ 			// add "moreModules" to the modules object,
    /******/ 			// then flag all "chunkIds" as loaded and fire callback
    /******/ 			var moduleId, chunkId, i = 0;
    /******/ 			if(chunkIds.some(function(id) { return installedChunks[id] !== 0; })) {
    /******/ 				for(moduleId in moreModules) {
    /******/ 					if(__webpack_require__.o(moreModules, moduleId)) {
    /******/ 						__webpack_require__.m[moduleId] = moreModules[moduleId];
    /******/ 					}
    /******/ 				}
    /******/ 				if(runtime) var result = runtime(__webpack_require__);
    /******/ 			}
    /******/ 			if(parentChunkLoadingFunction) parentChunkLoadingFunction(data);
    /******/ 			for(;i < chunkIds.length; i++) {
    /******/ 				chunkId = chunkIds[i];
    /******/ 				if(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {
    /******/ 					installedChunks[chunkId][0]();
    /******/ 				}
    /******/ 				installedChunks[chunkId] = 0;
    /******/ 			}
    /******/ 		
    /******/ 		}
    /******/ 		
    /******/ 		var chunkLoadingGlobal = self["webpackChunk"] = self["webpackChunk"] || [];
    /******/ 		chunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));
    /******/ 		chunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));
    /******/ 	}();
    /******/ 	
    /************************************************************************/
    var __webpack_exports__ = {};
    // This entry need to be wrapped in an IIFE because it need to be in strict mode.
    !function() {
    "use strict";
    /*!*************************************************!*\
      !*** ./src/.umi-production/umi.ts + 11 modules ***!
      \*************************************************/
    
    // EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/regeneratorRuntime.js
    var regeneratorRuntime = __webpack_require__(7557);
    var regeneratorRuntime_default = /*#__PURE__*/__webpack_require__.n(regeneratorRuntime);
    // EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/objectSpread2.js
    var objectSpread2 = __webpack_require__(82242);
    var objectSpread2_default = /*#__PURE__*/__webpack_require__.n(objectSpread2);
    // EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/asyncToGenerator.js
    var asyncToGenerator = __webpack_require__(41498);
    var asyncToGenerator_default = /*#__PURE__*/__webpack_require__.n(asyncToGenerator);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.symbol.js
    var es_symbol = __webpack_require__(68557);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.symbol.description.js
    var es_symbol_description = __webpack_require__(44852);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.symbol.async-iterator.js
    var es_symbol_async_iterator = __webpack_require__(64003);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.symbol.has-instance.js
    var es_symbol_has_instance = __webpack_require__(17898);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.symbol.is-concat-spreadable.js
    var es_symbol_is_concat_spreadable = __webpack_require__(40902);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.symbol.iterator.js
    var es_symbol_iterator = __webpack_require__(2259);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.symbol.match.js
    var es_symbol_match = __webpack_require__(14589);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.symbol.match-all.js
    var es_symbol_match_all = __webpack_require__(69811);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.symbol.replace.js
    var es_symbol_replace = __webpack_require__(18114);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.symbol.search.js
    var es_symbol_search = __webpack_require__(23844);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.symbol.species.js
    var es_symbol_species = __webpack_require__(39581);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.symbol.split.js
    var es_symbol_split = __webpack_require__(40632);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.symbol.to-primitive.js
    var es_symbol_to_primitive = __webpack_require__(22690);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.symbol.to-string-tag.js
    var es_symbol_to_string_tag = __webpack_require__(7786);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.symbol.unscopables.js
    var es_symbol_unscopables = __webpack_require__(99062);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.error.cause.js
    var es_error_cause = __webpack_require__(31808);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.aggregate-error.js
    var es_aggregate_error = __webpack_require__(86357);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.aggregate-error.cause.js
    var es_aggregate_error_cause = __webpack_require__(93074);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.array.at.js
    var es_array_at = __webpack_require__(96331);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.array.concat.js
    var es_array_concat = __webpack_require__(2924);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.array.copy-within.js
    var es_array_copy_within = __webpack_require__(26425);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.array.fill.js
    var es_array_fill = __webpack_require__(16137);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.array.filter.js
    var es_array_filter = __webpack_require__(48435);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.array.find.js
    var es_array_find = __webpack_require__(11553);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.array.find-index.js
    var es_array_find_index = __webpack_require__(70365);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.array.find-last.js
    var es_array_find_last = __webpack_require__(33717);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.array.find-last-index.js
    var es_array_find_last_index = __webpack_require__(17482);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.array.flat.js
    var es_array_flat = __webpack_require__(23708);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.array.flat-map.js
    var es_array_flat_map = __webpack_require__(65033);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.array.from.js
    var es_array_from = __webpack_require__(99382);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.array.includes.js
    var es_array_includes = __webpack_require__(88437);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.array.iterator.js
    var es_array_iterator = __webpack_require__(11005);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.array.join.js
    var es_array_join = __webpack_require__(70348);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.array.map.js
    var es_array_map = __webpack_require__(91550);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.array.of.js
    var es_array_of = __webpack_require__(85223);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.array.push.js
    var es_array_push = __webpack_require__(7154);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.array.reduce.js
    var es_array_reduce = __webpack_require__(67788);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.array.reduce-right.js
    var es_array_reduce_right = __webpack_require__(96009);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.array.reverse.js
    var es_array_reverse = __webpack_require__(9402);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.array.slice.js
    var es_array_slice = __webpack_require__(62489);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.array.sort.js
    var es_array_sort = __webpack_require__(62837);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.array.species.js
    var es_array_species = __webpack_require__(4705);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.array.splice.js
    var es_array_splice = __webpack_require__(13941);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.array.to-reversed.js
    var es_array_to_reversed = __webpack_require__(1148);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.array.to-sorted.js
    var es_array_to_sorted = __webpack_require__(82445);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.array.to-spliced.js
    var es_array_to_spliced = __webpack_require__(27267);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.array.unscopables.flat.js
    var es_array_unscopables_flat = __webpack_require__(96353);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.array.unscopables.flat-map.js
    var es_array_unscopables_flat_map = __webpack_require__(90308);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.array.unshift.js
    var es_array_unshift = __webpack_require__(84818);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.array.with.js
    var es_array_with = __webpack_require__(80585);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.array-buffer.constructor.js
    var es_array_buffer_constructor = __webpack_require__(89170);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.array-buffer.slice.js
    var es_array_buffer_slice = __webpack_require__(84203);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.date.to-primitive.js
    var es_date_to_primitive = __webpack_require__(69762);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.function.has-instance.js
    var es_function_has_instance = __webpack_require__(56450);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.function.name.js
    var es_function_name = __webpack_require__(78342);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.global-this.js
    var es_global_this = __webpack_require__(13161);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.json.stringify.js
    var es_json_stringify = __webpack_require__(54226);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.json.to-string-tag.js
    var es_json_to_string_tag = __webpack_require__(70201);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.map.js
    var es_map = __webpack_require__(34941);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.map.group-by.js
    var es_map_group_by = __webpack_require__(85671);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.math.acosh.js
    var es_math_acosh = __webpack_require__(35152);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.math.asinh.js
    var es_math_asinh = __webpack_require__(85660);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.math.atanh.js
    var es_math_atanh = __webpack_require__(80031);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.math.cbrt.js
    var es_math_cbrt = __webpack_require__(34434);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.math.clz32.js
    var es_math_clz32 = __webpack_require__(83579);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.math.cosh.js
    var es_math_cosh = __webpack_require__(74307);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.math.expm1.js
    var es_math_expm1 = __webpack_require__(97423);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.math.fround.js
    var es_math_fround = __webpack_require__(93321);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.math.hypot.js
    var es_math_hypot = __webpack_require__(82277);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.math.imul.js
    var es_math_imul = __webpack_require__(61425);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.math.log10.js
    var es_math_log10 = __webpack_require__(61873);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.math.log1p.js
    var es_math_log1p = __webpack_require__(9307);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.math.log2.js
    var es_math_log2 = __webpack_require__(8821);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.math.sign.js
    var es_math_sign = __webpack_require__(64385);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.math.sinh.js
    var es_math_sinh = __webpack_require__(64099);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.math.tanh.js
    var es_math_tanh = __webpack_require__(62455);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.math.to-string-tag.js
    var es_math_to_string_tag = __webpack_require__(79965);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.math.trunc.js
    var es_math_trunc = __webpack_require__(59118);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.number.constructor.js
    var es_number_constructor = __webpack_require__(275);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.number.epsilon.js
    var es_number_epsilon = __webpack_require__(31919);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.number.is-finite.js
    var es_number_is_finite = __webpack_require__(51284);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.number.is-integer.js
    var es_number_is_integer = __webpack_require__(10177);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.number.is-nan.js
    var es_number_is_nan = __webpack_require__(85690);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.number.is-safe-integer.js
    var es_number_is_safe_integer = __webpack_require__(92114);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.number.max-safe-integer.js
    var es_number_max_safe_integer = __webpack_require__(1017);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.number.min-safe-integer.js
    var es_number_min_safe_integer = __webpack_require__(14480);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.number.parse-float.js
    var es_number_parse_float = __webpack_require__(40516);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.number.parse-int.js
    var es_number_parse_int = __webpack_require__(76345);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.number.to-exponential.js
    var es_number_to_exponential = __webpack_require__(7282);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.number.to-fixed.js
    var es_number_to_fixed = __webpack_require__(58055);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.object.assign.js
    var es_object_assign = __webpack_require__(31237);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.object.define-getter.js
    var es_object_define_getter = __webpack_require__(58580);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.object.define-setter.js
    var es_object_define_setter = __webpack_require__(7615);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.object.entries.js
    var es_object_entries = __webpack_require__(72820);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.object.freeze.js
    var es_object_freeze = __webpack_require__(86070);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.object.from-entries.js
    var es_object_from_entries = __webpack_require__(23569);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.object.get-own-property-descriptor.js
    var es_object_get_own_property_descriptor = __webpack_require__(55639);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.object.get-own-property-descriptors.js
    var es_object_get_own_property_descriptors = __webpack_require__(63046);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.object.get-own-property-names.js
    var es_object_get_own_property_names = __webpack_require__(464);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.object.get-prototype-of.js
    var es_object_get_prototype_of = __webpack_require__(51082);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.object.group-by.js
    var es_object_group_by = __webpack_require__(83850);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.object.has-own.js
    var es_object_has_own = __webpack_require__(41990);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.object.is.js
    var es_object_is = __webpack_require__(15787);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.object.is-extensible.js
    var es_object_is_extensible = __webpack_require__(55888);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.object.is-frozen.js
    var es_object_is_frozen = __webpack_require__(53827);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.object.is-sealed.js
    var es_object_is_sealed = __webpack_require__(78143);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.object.keys.js
    var es_object_keys = __webpack_require__(66419);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.object.lookup-getter.js
    var es_object_lookup_getter = __webpack_require__(75765);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.object.lookup-setter.js
    var es_object_lookup_setter = __webpack_require__(14645);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.object.prevent-extensions.js
    var es_object_prevent_extensions = __webpack_require__(71122);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.object.seal.js
    var es_object_seal = __webpack_require__(25070);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.object.to-string.js
    var es_object_to_string = __webpack_require__(15954);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.object.values.js
    var es_object_values = __webpack_require__(4266);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.parse-float.js
    var es_parse_float = __webpack_require__(49988);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.parse-int.js
    var es_parse_int = __webpack_require__(38823);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.promise.js
    var es_promise = __webpack_require__(24627);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.promise.all-settled.js
    var es_promise_all_settled = __webpack_require__(4045);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.promise.any.js
    var es_promise_any = __webpack_require__(50747);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.promise.finally.js
    var es_promise_finally = __webpack_require__(43595);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.promise.with-resolvers.js
    var es_promise_with_resolvers = __webpack_require__(92324);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.reflect.apply.js
    var es_reflect_apply = __webpack_require__(23551);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.reflect.construct.js
    var es_reflect_construct = __webpack_require__(74521);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.reflect.define-property.js
    var es_reflect_define_property = __webpack_require__(57891);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.reflect.delete-property.js
    var es_reflect_delete_property = __webpack_require__(84138);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.reflect.get.js
    var es_reflect_get = __webpack_require__(51832);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.reflect.get-own-property-descriptor.js
    var es_reflect_get_own_property_descriptor = __webpack_require__(37135);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.reflect.get-prototype-of.js
    var es_reflect_get_prototype_of = __webpack_require__(6474);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.reflect.has.js
    var es_reflect_has = __webpack_require__(40135);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.reflect.is-extensible.js
    var es_reflect_is_extensible = __webpack_require__(7982);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.reflect.own-keys.js
    var es_reflect_own_keys = __webpack_require__(14893);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.reflect.prevent-extensions.js
    var es_reflect_prevent_extensions = __webpack_require__(49233);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.reflect.set.js
    var es_reflect_set = __webpack_require__(92130);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.reflect.set-prototype-of.js
    var es_reflect_set_prototype_of = __webpack_require__(42844);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.reflect.to-string-tag.js
    var es_reflect_to_string_tag = __webpack_require__(6536);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.regexp.constructor.js
    var es_regexp_constructor = __webpack_require__(27228);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.regexp.dot-all.js
    var es_regexp_dot_all = __webpack_require__(62921);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.regexp.exec.js
    var es_regexp_exec = __webpack_require__(44001);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.regexp.flags.js
    var es_regexp_flags = __webpack_require__(92262);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.regexp.sticky.js
    var es_regexp_sticky = __webpack_require__(54744);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.regexp.test.js
    var es_regexp_test = __webpack_require__(38214);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.regexp.to-string.js
    var es_regexp_to_string = __webpack_require__(12756);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.set.js
    var es_set = __webpack_require__(93379);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.string.at-alternative.js
    var es_string_at_alternative = __webpack_require__(62007);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.string.code-point-at.js
    var es_string_code_point_at = __webpack_require__(90572);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.string.ends-with.js
    var es_string_ends_with = __webpack_require__(37343);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.string.from-code-point.js
    var es_string_from_code_point = __webpack_require__(45945);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.string.includes.js
    var es_string_includes = __webpack_require__(75551);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.string.is-well-formed.js
    var es_string_is_well_formed = __webpack_require__(32493);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.string.iterator.js
    var es_string_iterator = __webpack_require__(20852);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.string.match.js
    var es_string_match = __webpack_require__(46302);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.string.match-all.js
    var es_string_match_all = __webpack_require__(18827);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.string.pad-end.js
    var es_string_pad_end = __webpack_require__(76718);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.string.pad-start.js
    var es_string_pad_start = __webpack_require__(79172);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.string.raw.js
    var es_string_raw = __webpack_require__(32192);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.string.repeat.js
    var es_string_repeat = __webpack_require__(42828);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.string.replace.js
    var es_string_replace = __webpack_require__(5658);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.string.replace-all.js
    var es_string_replace_all = __webpack_require__(55629);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.string.search.js
    var es_string_search = __webpack_require__(62925);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.string.split.js
    var es_string_split = __webpack_require__(9595);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.string.starts-with.js
    var es_string_starts_with = __webpack_require__(58127);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.string.to-well-formed.js
    var es_string_to_well_formed = __webpack_require__(53427);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.string.trim.js
    var es_string_trim = __webpack_require__(70878);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.string.trim-end.js
    var es_string_trim_end = __webpack_require__(49257);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.string.trim-start.js
    var es_string_trim_start = __webpack_require__(72910);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.string.anchor.js
    var es_string_anchor = __webpack_require__(34932);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.string.big.js
    var es_string_big = __webpack_require__(81046);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.string.blink.js
    var es_string_blink = __webpack_require__(85744);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.string.bold.js
    var es_string_bold = __webpack_require__(13494);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.string.fixed.js
    var es_string_fixed = __webpack_require__(56338);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.string.fontcolor.js
    var es_string_fontcolor = __webpack_require__(66755);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.string.fontsize.js
    var es_string_fontsize = __webpack_require__(68709);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.string.italics.js
    var es_string_italics = __webpack_require__(4939);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.string.link.js
    var es_string_link = __webpack_require__(81927);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.string.small.js
    var es_string_small = __webpack_require__(60462);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.string.strike.js
    var es_string_strike = __webpack_require__(72571);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.string.sub.js
    var es_string_sub = __webpack_require__(71200);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.string.sup.js
    var es_string_sup = __webpack_require__(85767);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.typed-array.float32-array.js
    var es_typed_array_float32_array = __webpack_require__(84432);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.typed-array.float64-array.js
    var es_typed_array_float64_array = __webpack_require__(59022);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.typed-array.int8-array.js
    var es_typed_array_int8_array = __webpack_require__(19363);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.typed-array.int16-array.js
    var es_typed_array_int16_array = __webpack_require__(51054);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.typed-array.int32-array.js
    var es_typed_array_int32_array = __webpack_require__(60330);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.typed-array.uint8-array.js
    var es_typed_array_uint8_array = __webpack_require__(55234);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.typed-array.uint8-clamped-array.js
    var es_typed_array_uint8_clamped_array = __webpack_require__(88104);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.typed-array.uint16-array.js
    var es_typed_array_uint16_array = __webpack_require__(64336);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.typed-array.uint32-array.js
    var es_typed_array_uint32_array = __webpack_require__(63914);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.typed-array.at.js
    var es_typed_array_at = __webpack_require__(35246);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.typed-array.copy-within.js
    var es_typed_array_copy_within = __webpack_require__(83470);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.typed-array.every.js
    var es_typed_array_every = __webpack_require__(79641);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.typed-array.fill.js
    var es_typed_array_fill = __webpack_require__(72397);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.typed-array.filter.js
    var es_typed_array_filter = __webpack_require__(24860);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.typed-array.find.js
    var es_typed_array_find = __webpack_require__(19320);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.typed-array.find-index.js
    var es_typed_array_find_index = __webpack_require__(56233);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.typed-array.find-last.js
    var es_typed_array_find_last = __webpack_require__(59419);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.typed-array.find-last-index.js
    var es_typed_array_find_last_index = __webpack_require__(64344);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.typed-array.for-each.js
    var es_typed_array_for_each = __webpack_require__(5316);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.typed-array.from.js
    var es_typed_array_from = __webpack_require__(93744);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.typed-array.includes.js
    var es_typed_array_includes = __webpack_require__(19299);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.typed-array.index-of.js
    var es_typed_array_index_of = __webpack_require__(15286);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.typed-array.iterator.js
    var es_typed_array_iterator = __webpack_require__(91927);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.typed-array.join.js
    var es_typed_array_join = __webpack_require__(27730);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.typed-array.last-index-of.js
    var es_typed_array_last_index_of = __webpack_require__(58707);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.typed-array.map.js
    var es_typed_array_map = __webpack_require__(41356);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.typed-array.of.js
    var es_typed_array_of = __webpack_require__(51606);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.typed-array.reduce.js
    var es_typed_array_reduce = __webpack_require__(8966);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.typed-array.reduce-right.js
    var es_typed_array_reduce_right = __webpack_require__(38458);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.typed-array.reverse.js
    var es_typed_array_reverse = __webpack_require__(71957);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.typed-array.set.js
    var es_typed_array_set = __webpack_require__(89466);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.typed-array.slice.js
    var es_typed_array_slice = __webpack_require__(69653);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.typed-array.some.js
    var es_typed_array_some = __webpack_require__(96519);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.typed-array.sort.js
    var es_typed_array_sort = __webpack_require__(95576);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.typed-array.subarray.js
    var es_typed_array_subarray = __webpack_require__(63079);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.typed-array.to-locale-string.js
    var es_typed_array_to_locale_string = __webpack_require__(8995);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.typed-array.to-reversed.js
    var es_typed_array_to_reversed = __webpack_require__(23080);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.typed-array.to-sorted.js
    var es_typed_array_to_sorted = __webpack_require__(74701);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.typed-array.to-string.js
    var es_typed_array_to_string = __webpack_require__(91809);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.typed-array.with.js
    var es_typed_array_with = __webpack_require__(77517);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.weak-map.js
    var es_weak_map = __webpack_require__(55410);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/es.weak-set.js
    var es_weak_set = __webpack_require__(46161);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.suppressed-error.constructor.js
    var esnext_suppressed_error_constructor = __webpack_require__(14800);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.array.from-async.js
    var esnext_array_from_async = __webpack_require__(91130);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.array.filter-out.js
    var esnext_array_filter_out = __webpack_require__(2722);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.array.filter-reject.js
    var esnext_array_filter_reject = __webpack_require__(55885);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.array.group.js
    var esnext_array_group = __webpack_require__(39034);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.array.group-by.js
    var esnext_array_group_by = __webpack_require__(8604);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.array.group-by-to-map.js
    var esnext_array_group_by_to_map = __webpack_require__(64963);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.array.group-to-map.js
    var esnext_array_group_to_map = __webpack_require__(25178);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.array.is-template-object.js
    var esnext_array_is_template_object = __webpack_require__(1905);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.array.last-index.js
    var esnext_array_last_index = __webpack_require__(94306);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.array.last-item.js
    var esnext_array_last_item = __webpack_require__(11762);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.array.unique-by.js
    var esnext_array_unique_by = __webpack_require__(93164);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.array-buffer.detached.js
    var esnext_array_buffer_detached = __webpack_require__(88900);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.array-buffer.transfer.js
    var esnext_array_buffer_transfer = __webpack_require__(54815);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.array-buffer.transfer-to-fixed-length.js
    var esnext_array_buffer_transfer_to_fixed_length = __webpack_require__(81138);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.async-disposable-stack.constructor.js
    var esnext_async_disposable_stack_constructor = __webpack_require__(37252);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.async-iterator.constructor.js
    var esnext_async_iterator_constructor = __webpack_require__(81673);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.async-iterator.as-indexed-pairs.js
    var esnext_async_iterator_as_indexed_pairs = __webpack_require__(48966);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.async-iterator.async-dispose.js
    var esnext_async_iterator_async_dispose = __webpack_require__(13015);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.async-iterator.drop.js
    var esnext_async_iterator_drop = __webpack_require__(78527);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.async-iterator.every.js
    var esnext_async_iterator_every = __webpack_require__(20511);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.async-iterator.filter.js
    var esnext_async_iterator_filter = __webpack_require__(78366);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.async-iterator.find.js
    var esnext_async_iterator_find = __webpack_require__(27427);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.async-iterator.flat-map.js
    var esnext_async_iterator_flat_map = __webpack_require__(43890);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.async-iterator.for-each.js
    var esnext_async_iterator_for_each = __webpack_require__(55844);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.async-iterator.from.js
    var esnext_async_iterator_from = __webpack_require__(71361);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.async-iterator.indexed.js
    var esnext_async_iterator_indexed = __webpack_require__(44550);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.async-iterator.map.js
    var esnext_async_iterator_map = __webpack_require__(413);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.async-iterator.reduce.js
    var esnext_async_iterator_reduce = __webpack_require__(77464);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.async-iterator.some.js
    var esnext_async_iterator_some = __webpack_require__(77703);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.async-iterator.take.js
    var esnext_async_iterator_take = __webpack_require__(93854);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.async-iterator.to-array.js
    var esnext_async_iterator_to_array = __webpack_require__(962);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.bigint.range.js
    var esnext_bigint_range = __webpack_require__(44169);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.composite-key.js
    var esnext_composite_key = __webpack_require__(56272);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.composite-symbol.js
    var esnext_composite_symbol = __webpack_require__(43466);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.data-view.get-float16.js
    var esnext_data_view_get_float16 = __webpack_require__(48156);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.data-view.get-uint8-clamped.js
    var esnext_data_view_get_uint8_clamped = __webpack_require__(93236);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.data-view.set-float16.js
    var esnext_data_view_set_float16 = __webpack_require__(42212);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.data-view.set-uint8-clamped.js
    var esnext_data_view_set_uint8_clamped = __webpack_require__(63923);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.disposable-stack.constructor.js
    var esnext_disposable_stack_constructor = __webpack_require__(2278);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.function.demethodize.js
    var esnext_function_demethodize = __webpack_require__(36955);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.function.is-callable.js
    var esnext_function_is_callable = __webpack_require__(77326);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.function.is-constructor.js
    var esnext_function_is_constructor = __webpack_require__(53571);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.function.metadata.js
    var esnext_function_metadata = __webpack_require__(28670);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.function.un-this.js
    var esnext_function_un_this = __webpack_require__(31050);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.iterator.constructor.js
    var esnext_iterator_constructor = __webpack_require__(25321);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.iterator.as-indexed-pairs.js
    var esnext_iterator_as_indexed_pairs = __webpack_require__(96364);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.iterator.dispose.js
    var esnext_iterator_dispose = __webpack_require__(46304);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.iterator.drop.js
    var esnext_iterator_drop = __webpack_require__(55163);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.iterator.every.js
    var esnext_iterator_every = __webpack_require__(78722);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.iterator.filter.js
    var esnext_iterator_filter = __webpack_require__(35977);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.iterator.find.js
    var esnext_iterator_find = __webpack_require__(81848);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.iterator.flat-map.js
    var esnext_iterator_flat_map = __webpack_require__(52867);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.iterator.for-each.js
    var esnext_iterator_for_each = __webpack_require__(72211);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.iterator.from.js
    var esnext_iterator_from = __webpack_require__(84862);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.iterator.indexed.js
    var esnext_iterator_indexed = __webpack_require__(92381);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.iterator.map.js
    var esnext_iterator_map = __webpack_require__(19517);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.iterator.range.js
    var esnext_iterator_range = __webpack_require__(69667);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.iterator.reduce.js
    var esnext_iterator_reduce = __webpack_require__(80820);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.iterator.some.js
    var esnext_iterator_some = __webpack_require__(87873);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.iterator.take.js
    var esnext_iterator_take = __webpack_require__(54609);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.iterator.to-array.js
    var esnext_iterator_to_array = __webpack_require__(28566);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.iterator.to-async.js
    var esnext_iterator_to_async = __webpack_require__(51697);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.json.is-raw-json.js
    var esnext_json_is_raw_json = __webpack_require__(61872);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.json.parse.js
    var esnext_json_parse = __webpack_require__(76077);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.json.raw-json.js
    var esnext_json_raw_json = __webpack_require__(9196);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.map.delete-all.js
    var esnext_map_delete_all = __webpack_require__(5369);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.map.emplace.js
    var esnext_map_emplace = __webpack_require__(26259);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.map.every.js
    var esnext_map_every = __webpack_require__(47736);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.map.filter.js
    var esnext_map_filter = __webpack_require__(28220);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.map.find.js
    var esnext_map_find = __webpack_require__(62060);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.map.find-key.js
    var esnext_map_find_key = __webpack_require__(49350);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.map.from.js
    var esnext_map_from = __webpack_require__(20126);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.map.includes.js
    var esnext_map_includes = __webpack_require__(18090);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.map.key-by.js
    var esnext_map_key_by = __webpack_require__(14309);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.map.key-of.js
    var esnext_map_key_of = __webpack_require__(17822);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.map.map-keys.js
    var esnext_map_map_keys = __webpack_require__(83543);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.map.map-values.js
    var esnext_map_map_values = __webpack_require__(13853);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.map.merge.js
    var esnext_map_merge = __webpack_require__(25188);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.map.of.js
    var esnext_map_of = __webpack_require__(10215);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.map.reduce.js
    var esnext_map_reduce = __webpack_require__(3432);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.map.some.js
    var esnext_map_some = __webpack_require__(90486);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.map.update.js
    var esnext_map_update = __webpack_require__(6736);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.map.update-or-insert.js
    var esnext_map_update_or_insert = __webpack_require__(8774);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.map.upsert.js
    var esnext_map_upsert = __webpack_require__(94065);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.math.clamp.js
    var esnext_math_clamp = __webpack_require__(93036);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.math.deg-per-rad.js
    var esnext_math_deg_per_rad = __webpack_require__(75708);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.math.degrees.js
    var esnext_math_degrees = __webpack_require__(84624);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.math.fscale.js
    var esnext_math_fscale = __webpack_require__(66233);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.math.f16round.js
    var esnext_math_f16round = __webpack_require__(43710);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.math.iaddh.js
    var esnext_math_iaddh = __webpack_require__(92762);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.math.imulh.js
    var esnext_math_imulh = __webpack_require__(24467);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.math.isubh.js
    var esnext_math_isubh = __webpack_require__(68465);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.math.rad-per-deg.js
    var esnext_math_rad_per_deg = __webpack_require__(77004);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.math.radians.js
    var esnext_math_radians = __webpack_require__(83925);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.math.scale.js
    var esnext_math_scale = __webpack_require__(51117);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.math.seeded-prng.js
    var esnext_math_seeded_prng = __webpack_require__(87236);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.math.signbit.js
    var esnext_math_signbit = __webpack_require__(83733);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.math.umulh.js
    var esnext_math_umulh = __webpack_require__(92044);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.number.from-string.js
    var esnext_number_from_string = __webpack_require__(29190);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.number.range.js
    var esnext_number_range = __webpack_require__(10775);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.object.iterate-entries.js
    var esnext_object_iterate_entries = __webpack_require__(19593);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.object.iterate-keys.js
    var esnext_object_iterate_keys = __webpack_require__(26502);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.object.iterate-values.js
    var esnext_object_iterate_values = __webpack_require__(10174);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.observable.js
    var esnext_observable = __webpack_require__(96378);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.promise.try.js
    var esnext_promise_try = __webpack_require__(58216);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.reflect.define-metadata.js
    var esnext_reflect_define_metadata = __webpack_require__(41401);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.reflect.delete-metadata.js
    var esnext_reflect_delete_metadata = __webpack_require__(79908);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.reflect.get-metadata.js
    var esnext_reflect_get_metadata = __webpack_require__(82531);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.reflect.get-metadata-keys.js
    var esnext_reflect_get_metadata_keys = __webpack_require__(79890);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.reflect.get-own-metadata.js
    var esnext_reflect_get_own_metadata = __webpack_require__(88472);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.reflect.get-own-metadata-keys.js
    var esnext_reflect_get_own_metadata_keys = __webpack_require__(38944);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.reflect.has-metadata.js
    var esnext_reflect_has_metadata = __webpack_require__(78423);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.reflect.has-own-metadata.js
    var esnext_reflect_has_own_metadata = __webpack_require__(65713);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.reflect.metadata.js
    var esnext_reflect_metadata = __webpack_require__(22968);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.regexp.escape.js
    var esnext_regexp_escape = __webpack_require__(17564);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.set.add-all.js
    var esnext_set_add_all = __webpack_require__(1220);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.set.delete-all.js
    var esnext_set_delete_all = __webpack_require__(44886);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.set.difference.v2.js
    var esnext_set_difference_v2 = __webpack_require__(57019);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.set.difference.js
    var esnext_set_difference = __webpack_require__(35295);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.set.every.js
    var esnext_set_every = __webpack_require__(80286);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.set.filter.js
    var esnext_set_filter = __webpack_require__(38487);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.set.find.js
    var esnext_set_find = __webpack_require__(29916);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.set.from.js
    var esnext_set_from = __webpack_require__(25541);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.set.intersection.v2.js
    var esnext_set_intersection_v2 = __webpack_require__(45612);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.set.intersection.js
    var esnext_set_intersection = __webpack_require__(34926);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.set.is-disjoint-from.v2.js
    var esnext_set_is_disjoint_from_v2 = __webpack_require__(98080);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.set.is-disjoint-from.js
    var esnext_set_is_disjoint_from = __webpack_require__(68255);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.set.is-subset-of.v2.js
    var esnext_set_is_subset_of_v2 = __webpack_require__(96351);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.set.is-subset-of.js
    var esnext_set_is_subset_of = __webpack_require__(16450);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.set.is-superset-of.v2.js
    var esnext_set_is_superset_of_v2 = __webpack_require__(60244);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.set.is-superset-of.js
    var esnext_set_is_superset_of = __webpack_require__(86921);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.set.join.js
    var esnext_set_join = __webpack_require__(82928);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.set.map.js
    var esnext_set_map = __webpack_require__(42947);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.set.of.js
    var esnext_set_of = __webpack_require__(71568);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.set.reduce.js
    var esnext_set_reduce = __webpack_require__(94194);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.set.some.js
    var esnext_set_some = __webpack_require__(30556);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.set.symmetric-difference.v2.js
    var esnext_set_symmetric_difference_v2 = __webpack_require__(32100);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.set.symmetric-difference.js
    var esnext_set_symmetric_difference = __webpack_require__(93102);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.set.union.v2.js
    var esnext_set_union_v2 = __webpack_require__(1821);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.set.union.js
    var esnext_set_union = __webpack_require__(82074);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.string.at.js
    var esnext_string_at = __webpack_require__(13578);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.string.cooked.js
    var esnext_string_cooked = __webpack_require__(59348);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.string.code-points.js
    var esnext_string_code_points = __webpack_require__(62882);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.string.dedent.js
    var esnext_string_dedent = __webpack_require__(37457);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.symbol.async-dispose.js
    var esnext_symbol_async_dispose = __webpack_require__(70654);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.symbol.dispose.js
    var esnext_symbol_dispose = __webpack_require__(90252);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.symbol.is-registered-symbol.js
    var esnext_symbol_is_registered_symbol = __webpack_require__(29482);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.symbol.is-registered.js
    var esnext_symbol_is_registered = __webpack_require__(51630);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.symbol.is-well-known-symbol.js
    var esnext_symbol_is_well_known_symbol = __webpack_require__(61933);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.symbol.is-well-known.js
    var esnext_symbol_is_well_known = __webpack_require__(619);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.symbol.matcher.js
    var esnext_symbol_matcher = __webpack_require__(99675);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.symbol.metadata.js
    var esnext_symbol_metadata = __webpack_require__(52548);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.symbol.metadata-key.js
    var esnext_symbol_metadata_key = __webpack_require__(53637);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.symbol.observable.js
    var esnext_symbol_observable = __webpack_require__(57482);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.symbol.pattern-match.js
    var esnext_symbol_pattern_match = __webpack_require__(59725);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.symbol.replace-all.js
    var esnext_symbol_replace_all = __webpack_require__(17610);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.typed-array.from-async.js
    var esnext_typed_array_from_async = __webpack_require__(56966);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.typed-array.filter-out.js
    var esnext_typed_array_filter_out = __webpack_require__(11507);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.typed-array.filter-reject.js
    var esnext_typed_array_filter_reject = __webpack_require__(16315);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.typed-array.group-by.js
    var esnext_typed_array_group_by = __webpack_require__(60239);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.typed-array.to-spliced.js
    var esnext_typed_array_to_spliced = __webpack_require__(49381);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.typed-array.unique-by.js
    var esnext_typed_array_unique_by = __webpack_require__(17230);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.uint8-array.from-base64.js
    var esnext_uint8_array_from_base64 = __webpack_require__(62720);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.uint8-array.from-hex.js
    var esnext_uint8_array_from_hex = __webpack_require__(57151);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.uint8-array.to-base64.js
    var esnext_uint8_array_to_base64 = __webpack_require__(48732);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.uint8-array.to-hex.js
    var esnext_uint8_array_to_hex = __webpack_require__(18481);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.weak-map.delete-all.js
    var esnext_weak_map_delete_all = __webpack_require__(55055);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.weak-map.from.js
    var esnext_weak_map_from = __webpack_require__(7195);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.weak-map.of.js
    var esnext_weak_map_of = __webpack_require__(89179);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.weak-map.emplace.js
    var esnext_weak_map_emplace = __webpack_require__(90965);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.weak-map.upsert.js
    var esnext_weak_map_upsert = __webpack_require__(67725);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.weak-set.add-all.js
    var esnext_weak_set_add_all = __webpack_require__(59884);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.weak-set.delete-all.js
    var esnext_weak_set_delete_all = __webpack_require__(89202);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.weak-set.from.js
    var esnext_weak_set_from = __webpack_require__(97815);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/esnext.weak-set.of.js
    var esnext_weak_set_of = __webpack_require__(11593);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/web.atob.js
    var web_atob = __webpack_require__(7597);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/web.btoa.js
    var web_btoa = __webpack_require__(55182);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/web.dom-collections.for-each.js
    var web_dom_collections_for_each = __webpack_require__(34366);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/web.dom-collections.iterator.js
    var web_dom_collections_iterator = __webpack_require__(85425);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/web.dom-exception.constructor.js
    var web_dom_exception_constructor = __webpack_require__(64522);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/web.dom-exception.stack.js
    var web_dom_exception_stack = __webpack_require__(41599);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/web.dom-exception.to-string-tag.js
    var web_dom_exception_to_string_tag = __webpack_require__(86465);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/web.immediate.js
    var web_immediate = __webpack_require__(78437);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/web.queue-microtask.js
    var web_queue_microtask = __webpack_require__(73624);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/web.self.js
    var web_self = __webpack_require__(62059);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/web.structured-clone.js
    var web_structured_clone = __webpack_require__(10305);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/web.url.js
    var web_url = __webpack_require__(25204);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/web.url.can-parse.js
    var web_url_can_parse = __webpack_require__(40061);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/web.url.to-json.js
    var web_url_to_json = __webpack_require__(47803);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/web.url-search-params.js
    var web_url_search_params = __webpack_require__(7893);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/web.url-search-params.delete.js
    var web_url_search_params_delete = __webpack_require__(4890);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/web.url-search-params.has.js
    var web_url_search_params_has = __webpack_require__(5340);
    // EXTERNAL MODULE: ./node_modules/_core-js@3.34.0@core-js/modules/web.url-search-params.size.js
    var web_url_search_params_size = __webpack_require__(61650);
    // EXTERNAL MODULE: ./node_modules/_regenerator-runtime@0.13.11@regenerator-runtime/runtime.js
    var runtime = __webpack_require__(58246);
    ;// CONCATENATED MODULE: ./src/.umi-production/core/polyfill.ts
    // @ts-nocheck
    // This file is generated by Umi automatically
    // DO NOT CHANGE IT MANUALLY!
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    ;// CONCATENATED MODULE: ./src/global.less
    // extracted by mini-css-extract-plugin
    
    ;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/dist/reset.css
    // extracted by mini-css-extract-plugin
    
    // EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/esm/defineProperty.js
    var defineProperty = __webpack_require__(65873);
    // EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/esm/objectSpread2.js
    var esm_objectSpread2 = __webpack_require__(63579);
    // EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/esm/slicedToArray.js + 1 modules
    var slicedToArray = __webpack_require__(87296);
    // EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/index.js
    var _react_17_0_2_react = __webpack_require__(59301);
    // EXTERNAL MODULE: ./node_modules/_react-dom@17.0.2@react-dom/index.js
    var _react_dom_17_0_2_react_dom = __webpack_require__(4676);
    // EXTERNAL MODULE: ./node_modules/_react-router@6.3.0@react-router/index.js
    var _react_router_6_3_0_react_router = __webpack_require__(35338);
    // EXTERNAL MODULE: ./node_modules/_@umijs_renderer-react@4.6.26@@umijs/renderer-react/dist/appContext.js
    var appContext = __webpack_require__(24795);
    ;// CONCATENATED MODULE: ./node_modules/_@umijs_renderer-react@4.6.26@@umijs/renderer-react/dist/dataFetcher.js
    function fetchServerLoader(_ref) {
      var id = _ref.id,
        basename = _ref.basename,
        cb = _ref.cb;
      var query = new URLSearchParams({
        route: id,
        url: window.location.href
      }).toString();
      // 在有basename的情况下__serverLoader的请求路径需要加上basename
      // FIXME: 先临时解自定义 serverLoader 请求路径的问题,后续改造 serverLoader 时再提取成类似 runtimeServerLoader 的配置项
      var url = "".concat(withEndSlash(window.umiServerLoaderPath || basename), "__serverLoader?").concat(query);
      fetch(url, {
        credentials: 'include'
      }).then(function (d) {
        return d.json();
      }).then(cb).catch(console.error);
    }
    function withEndSlash() {
      var str = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
      return str.endsWith('/') ? str : "".concat(str, "/");
    }
    // EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/esm/objectWithoutProperties.js + 1 modules
    var objectWithoutProperties = __webpack_require__(38127);
    // EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/esm/extends.js
    var esm_extends = __webpack_require__(38329);
    // EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/esm/typeof.js
    var esm_typeof = __webpack_require__(8616);
    ;// CONCATENATED MODULE: ./node_modules/_@umijs_renderer-react@4.6.26@@umijs/renderer-react/dist/html.js
    
    
    
    
    var _excluded = ["content"],
      _excluded2 = ["content"];
    
    var RE_URL = /^(http:|https:)?\/\//;
    function isUrl(str) {
      return RE_URL.test(str) || str.startsWith('/') && !str.startsWith('/*') || str.startsWith('./') || str.startsWith('../');
    }
    var EnableJsScript = function EnableJsScript() {
      return /*#__PURE__*/_react_17_0_2_react.createElement("noscript", {
        dangerouslySetInnerHTML: {
          __html: "<b>Enable JavaScript to run this app.</b>"
        }
      });
    };
    var GlobalDataScript = function GlobalDataScript(props) {
      var _manifest$assets;
      var loaderData = props.loaderData,
        htmlPageOpts = props.htmlPageOpts,
        manifest = props.manifest;
      var clientCssPath = (manifest === null || manifest === void 0 || (_manifest$assets = manifest.assets) === null || _manifest$assets === void 0 ? void 0 : _manifest$assets['umi.css']) || '';
      return /*#__PURE__*/_react_17_0_2_react.createElement("script", {
        suppressHydrationWarning: true,
        dangerouslySetInnerHTML: {
          __html: "window.__UMI_LOADER_DATA__ = ".concat(JSON.stringify(loaderData || {}), "; window.__UMI_METADATA_LOADER_DATA__ = ").concat(JSON.stringify(htmlPageOpts || {}), "; window.__UMI_BUILD_ClIENT_CSS__ = '").concat(clientCssPath, "'")
        }
      });
    };
    function normalizeScripts(script) {
      var extraProps = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
      if (typeof script === 'string') {
        return isUrl(script) ? (0,esm_objectSpread2/* default */.Z)({
          src: script
        }, extraProps) : {
          content: script
        };
      } else if ((0,esm_typeof/* default */.Z)(script) === 'object') {
        return (0,esm_objectSpread2/* default */.Z)((0,esm_objectSpread2/* default */.Z)({}, script), extraProps);
      } else {
        throw new Error("Invalid script type: ".concat((0,esm_typeof/* default */.Z)(script)));
      }
    }
    function generatorStyle(style) {
      return isUrl(style) ? {
        type: 'link',
        href: style
      } : {
        type: 'style',
        content: style
      };
    }
    var HydrateMetadata = function HydrateMetadata(props) {
      var _htmlPageOpts$favicon, _htmlPageOpts$keyword, _htmlPageOpts$metas, _htmlPageOpts$links, _htmlPageOpts$styles, _htmlPageOpts$headScr;
      var htmlPageOpts = props.htmlPageOpts;
      return /*#__PURE__*/_react_17_0_2_react.createElement(_react_17_0_2_react.Fragment, null, (htmlPageOpts === null || htmlPageOpts === void 0 ? void 0 : htmlPageOpts.title) && /*#__PURE__*/_react_17_0_2_react.createElement("title", null, htmlPageOpts.title), htmlPageOpts === null || htmlPageOpts === void 0 || (_htmlPageOpts$favicon = htmlPageOpts.favicons) === null || _htmlPageOpts$favicon === void 0 ? void 0 : _htmlPageOpts$favicon.map(function (favicon, key) {
        return /*#__PURE__*/_react_17_0_2_react.createElement("link", {
          key: key,
          rel: "shortcut icon",
          href: favicon
        });
      }), (htmlPageOpts === null || htmlPageOpts === void 0 ? void 0 : htmlPageOpts.description) && /*#__PURE__*/_react_17_0_2_react.createElement("meta", {
        name: "description",
        content: htmlPageOpts.description
      }), (htmlPageOpts === null || htmlPageOpts === void 0 || (_htmlPageOpts$keyword = htmlPageOpts.keywords) === null || _htmlPageOpts$keyword === void 0 ? void 0 : _htmlPageOpts$keyword.length) && /*#__PURE__*/_react_17_0_2_react.createElement("meta", {
        name: "keywords",
        content: htmlPageOpts.keywords.join(',')
      }), htmlPageOpts === null || htmlPageOpts === void 0 || (_htmlPageOpts$metas = htmlPageOpts.metas) === null || _htmlPageOpts$metas === void 0 ? void 0 : _htmlPageOpts$metas.map(function (em) {
        return /*#__PURE__*/_react_17_0_2_react.createElement("meta", {
          key: em.name,
          name: em.name,
          property: em.property,
          content: em.content
        });
      }), htmlPageOpts === null || htmlPageOpts === void 0 || (_htmlPageOpts$links = htmlPageOpts.links) === null || _htmlPageOpts$links === void 0 ? void 0 : _htmlPageOpts$links.map(function (link, key) {
        return /*#__PURE__*/_react_17_0_2_react.createElement("link", (0,esm_extends/* default */.Z)({
          key: key
        }, link));
      }), htmlPageOpts === null || htmlPageOpts === void 0 || (_htmlPageOpts$styles = htmlPageOpts.styles) === null || _htmlPageOpts$styles === void 0 ? void 0 : _htmlPageOpts$styles.map(function (style, key) {
        var _generatorStyle = generatorStyle(style),
          type = _generatorStyle.type,
          href = _generatorStyle.href,
          content = _generatorStyle.content;
        if (type === 'link') {
          return /*#__PURE__*/_react_17_0_2_react.createElement("link", {
            key: key,
            rel: "stylesheet",
            href: href
          });
        } else if (type === 'style') {
          return /*#__PURE__*/_react_17_0_2_react.createElement("style", {
            key: key
          }, content);
        }
      }), htmlPageOpts === null || htmlPageOpts === void 0 || (_htmlPageOpts$headScr = htmlPageOpts.headScripts) === null || _htmlPageOpts$headScr === void 0 ? void 0 : _htmlPageOpts$headScr.map(function (script, key) {
        var _normalizeScripts = normalizeScripts(script),
          content = _normalizeScripts.content,
          rest = (0,objectWithoutProperties/* default */.Z)(_normalizeScripts, _excluded);
        return /*#__PURE__*/_react_17_0_2_react.createElement("script", (0,esm_extends/* default */.Z)({
          dangerouslySetInnerHTML: {
            __html: content
          },
          key: key
        }, rest));
      }));
    };
    function Html(_ref) {
      var _htmlPageOpts$scripts;
      var children = _ref.children,
        loaderData = _ref.loaderData,
        manifest = _ref.manifest,
        htmlPageOpts = _ref.htmlPageOpts,
        __INTERNAL_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = _ref.__INTERNAL_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,
        mountElementId = _ref.mountElementId;
      // TODO: 处理 head 标签,比如 favicon.ico 的一致性
      // TODO: root 支持配置
      if (__INTERNAL_DO_NOT_USE_OR_YOU_WILL_BE_FIRED !== null && __INTERNAL_DO_NOT_USE_OR_YOU_WILL_BE_FIRED !== void 0 && __INTERNAL_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.pureHtml) {
        return /*#__PURE__*/_react_17_0_2_react.createElement("html", null, /*#__PURE__*/_react_17_0_2_react.createElement("head", null, /*#__PURE__*/_react_17_0_2_react.createElement(HydrateMetadata, {
          htmlPageOpts: htmlPageOpts
        })), /*#__PURE__*/_react_17_0_2_react.createElement("body", null, /*#__PURE__*/_react_17_0_2_react.createElement(EnableJsScript, null), /*#__PURE__*/_react_17_0_2_react.createElement("div", {
          id: mountElementId
        }, children), /*#__PURE__*/_react_17_0_2_react.createElement(GlobalDataScript, {
          manifest: manifest,
          loaderData: loaderData,
          htmlPageOpts: htmlPageOpts
        })));
      }
      if (__INTERNAL_DO_NOT_USE_OR_YOU_WILL_BE_FIRED !== null && __INTERNAL_DO_NOT_USE_OR_YOU_WILL_BE_FIRED !== void 0 && __INTERNAL_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.pureApp) {
        return /*#__PURE__*/_react_17_0_2_react.createElement(_react_17_0_2_react.Fragment, null, children);
      }
      var clientCss = typeof window === 'undefined' ? manifest === null || manifest === void 0 ? void 0 : manifest.assets['umi.css'] : window.__UMI_BUILD_ClIENT_CSS__;
      return (
        /*#__PURE__*/
        // FIXME: Resolve the hydrate warning for suppressHydrationWarning(3)
        _react_17_0_2_react.createElement("html", {
          suppressHydrationWarning: true,
          lang: (htmlPageOpts === null || htmlPageOpts === void 0 ? void 0 : htmlPageOpts.lang) || 'en'
        }, /*#__PURE__*/_react_17_0_2_react.createElement("head", null, /*#__PURE__*/_react_17_0_2_react.createElement("meta", {
          charSet: "utf-8"
        }), /*#__PURE__*/_react_17_0_2_react.createElement("meta", {
          name: "viewport",
          content: "width=device-width, initial-scale=1"
        }), clientCss && /*#__PURE__*/_react_17_0_2_react.createElement("link", {
          suppressHydrationWarning: true,
          rel: "stylesheet",
          href: clientCss
        }), /*#__PURE__*/_react_17_0_2_react.createElement(HydrateMetadata, {
          htmlPageOpts: htmlPageOpts
        })), /*#__PURE__*/_react_17_0_2_react.createElement("body", null, /*#__PURE__*/_react_17_0_2_react.createElement(EnableJsScript, null), /*#__PURE__*/_react_17_0_2_react.createElement("div", {
          id: mountElementId
        }, children), /*#__PURE__*/_react_17_0_2_react.createElement(GlobalDataScript, {
          manifest: manifest,
          loaderData: loaderData,
          htmlPageOpts: htmlPageOpts
        }), htmlPageOpts === null || htmlPageOpts === void 0 || (_htmlPageOpts$scripts = htmlPageOpts.scripts) === null || _htmlPageOpts$scripts === void 0 ? void 0 : _htmlPageOpts$scripts.map(function (script, key) {
          var _normalizeScripts2 = normalizeScripts(script),
            content = _normalizeScripts2.content,
            rest = (0,objectWithoutProperties/* default */.Z)(_normalizeScripts2, _excluded2);
          return /*#__PURE__*/_react_17_0_2_react.createElement("script", (0,esm_extends/* default */.Z)({
            dangerouslySetInnerHTML: {
              __html: content
            },
            key: key
          }, rest));
        })))
      );
    }
    ;// CONCATENATED MODULE: ./node_modules/_@umijs_renderer-react@4.6.26@@umijs/renderer-react/dist/routeContext.js
    
    var RouteContext = /*#__PURE__*/_react_17_0_2_react.createContext(undefined);
    function useRouteData() {
      return _react_17_0_2_react.useContext(RouteContext);
    }
    ;// CONCATENATED MODULE: ./node_modules/_@umijs_renderer-react@4.6.26@@umijs/renderer-react/dist/routes.js
    
    
    
    var routes_excluded = ["redirect"];
    // @ts-ignore
    
    
    
    
    function createClientRoutes(opts) {
      var routesById = opts.routesById,
        parentId = opts.parentId,
        routeComponents = opts.routeComponents,
        _opts$useStream = opts.useStream,
        useStream = _opts$useStream === void 0 ? true : _opts$useStream;
      return Object.keys(routesById).filter(function (id) {
        return routesById[id].parentId === parentId;
      }).map(function (id) {
        var route = createClientRoute((0,esm_objectSpread2/* default */.Z)((0,esm_objectSpread2/* default */.Z)({
          route: routesById[id],
          routeComponent: routeComponents[id],
          loadingComponent: opts.loadingComponent,
          reactRouter5Compat: opts.reactRouter5Compat
        }, opts.reactRouter5Compat && {
          // TODO: 这个不准,没考虑 patchClientRoutes 的场景
          hasChildren: Object.keys(routesById).filter(function (rid) {
            return routesById[rid].parentId === id;
          }).length > 0
        }), {}, {
          useStream: useStream
        }));
        var children = createClientRoutes({
          routesById: routesById,
          routeComponents: routeComponents,
          parentId: route.id,
          loadingComponent: opts.loadingComponent,
          reactRouter5Compat: opts.reactRouter5Compat,
          useStream: useStream
        });
        if (children.length > 0) {
          route.children = children;
          // TODO: remove me
          // compatible with @ant-design/pro-layout
          route.routes = children;
        }
        return route;
      });
    }
    function NavigateWithParams(props) {
      var params = (0,_react_router_6_3_0_react_router/* useParams */.UO)();
      var to = (0,_react_router_6_3_0_react_router/* generatePath */.Gn)(props.to, params);
      var routeProps = (0,appContext/* useRouteProps */.T$)();
      var location = (0,_react_router_6_3_0_react_router/* useLocation */.TH)();
      if (routeProps !== null && routeProps !== void 0 && routeProps.keepQuery) {
        var queryAndHash = location.search + location.hash;
        to += queryAndHash;
      }
      var propsWithParams = (0,esm_objectSpread2/* default */.Z)((0,esm_objectSpread2/* default */.Z)({}, props), {}, {
        to: to
      });
      return /*#__PURE__*/_react_17_0_2_react.createElement(_react_router_6_3_0_react_router/* Navigate */.Fg, (0,esm_extends/* default */.Z)({
        replace: true
      }, propsWithParams));
    }
    function createClientRoute(opts) {
      var route = opts.route,
        _opts$useStream2 = opts.useStream,
        useStream = _opts$useStream2 === void 0 ? true : _opts$useStream2;
      var redirect = route.redirect,
        props = (0,objectWithoutProperties/* default */.Z)(route, routes_excluded);
      var Remote = opts.reactRouter5Compat ? RemoteComponentReactRouter5 : RemoteComponent;
      return (0,esm_objectSpread2/* default */.Z)({
        element: redirect ? /*#__PURE__*/_react_17_0_2_react.createElement(NavigateWithParams, {
          to: redirect
        }) : /*#__PURE__*/_react_17_0_2_react.createElement(RouteContext.Provider, {
          value: {
            route: opts.route
          }
        }, /*#__PURE__*/_react_17_0_2_react.createElement(Remote, {
          loader: /*#__PURE__*/_react_17_0_2_react.memo(opts.routeComponent),
          loadingComponent: opts.loadingComponent || DefaultLoading,
          hasChildren: opts.hasChildren,
          useStream: useStream
        }))
      }, props);
    }
    function DefaultLoading() {
      return /*#__PURE__*/_react_17_0_2_react.createElement("div", null);
    }
    function RemoteComponentReactRouter5(props) {
      var _useRouteData = useRouteData(),
        route = _useRouteData.route;
      var _useAppData = (0,appContext/* useAppData */.Ov)(),
        history = _useAppData.history,
        clientRoutes = _useAppData.clientRoutes;
      var params = (0,_react_router_6_3_0_react_router/* useParams */.UO)();
      var match = {
        params: params,
        isExact: true,
        path: route.path,
        url: history.location.pathname
      };
    
      // staticContext 没有兼容 好像没看到对应的兼容写法
      var Component = props.loader;
      var ComponentProps = {
        location: history.location,
        match: match,
        history: history,
        params: params,
        route: route,
        routes: clientRoutes
      };
      return props.useStream ? /*#__PURE__*/_react_17_0_2_react.createElement(_react_17_0_2_react.Suspense, {
        fallback: /*#__PURE__*/_react_17_0_2_react.createElement(props.loadingComponent, null)
      }, /*#__PURE__*/_react_17_0_2_react.createElement(Component, ComponentProps, props.hasChildren && /*#__PURE__*/_react_17_0_2_react.createElement(_react_router_6_3_0_react_router/* Outlet */.j3, null))) : /*#__PURE__*/_react_17_0_2_react.createElement(Component, ComponentProps, props.hasChildren && /*#__PURE__*/_react_17_0_2_react.createElement(_react_router_6_3_0_react_router/* Outlet */.j3, null));
    }
    function RemoteComponent(props) {
      var Component = props.loader;
      return props.useStream ? /*#__PURE__*/_react_17_0_2_react.createElement(_react_17_0_2_react.Suspense, {
        fallback: /*#__PURE__*/_react_17_0_2_react.createElement(props.loadingComponent, null)
      }, /*#__PURE__*/_react_17_0_2_react.createElement(Component, null)) : /*#__PURE__*/_react_17_0_2_react.createElement(Component, null);
    }
    ;// CONCATENATED MODULE: ./node_modules/_@umijs_renderer-react@4.6.26@@umijs/renderer-react/dist/browser.js
    
    
    
    
    // compatible with < react@18 in @umijs/preset-umi/src/features/react
    
    
    
    
    
    
    var root = null;
    
    // react 18 some scenarios need unmount such as micro app
    function __getRoot() {
      return root;
    }
    
    /**
     * 这个组件的功能是 history 发生改变的时候重新触发渲染
     * @param props
     * @returns
     */
    function BrowserRoutes(props) {
      var history = props.history;
      var _React$useState = _react_17_0_2_react.useState({
          action: history.action,
          location: history.location
        }),
        _React$useState2 = (0,slicedToArray/* default */.Z)(_React$useState, 2),
        state = _React$useState2[0],
        setState = _React$useState2[1];
      (0,_react_17_0_2_react.useLayoutEffect)(function () {
        return history.listen(setState);
      }, [history]);
      (0,_react_17_0_2_react.useLayoutEffect)(function () {
        function onRouteChange(opts) {
          props.pluginManager.applyPlugins({
            key: 'onRouteChange',
            type: 'event',
            args: {
              routes: props.routes,
              clientRoutes: props.clientRoutes,
              location: opts.location,
              action: opts.action,
              basename: props.basename,
              isFirst: Boolean(opts.isFirst)
            }
          });
        }
        onRouteChange({
          location: state.location,
          action: state.action,
          isFirst: true
        });
        return history.listen(onRouteChange);
      }, [history, props.routes, props.clientRoutes]);
      return /*#__PURE__*/_react_17_0_2_react.createElement(_react_router_6_3_0_react_router/* Router */.F0, {
        navigator: history,
        location: state.location,
        basename: props.basename
      }, props.children);
    }
    function Routes() {
      var _useAppData = (0,appContext/* useAppData */.Ov)(),
        clientRoutes = _useAppData.clientRoutes;
      return (0,_react_router_6_3_0_react_router/* useRoutes */.V$)(clientRoutes);
    }
    
    /**
     * umi 渲染需要的配置,在node端调用的哦
     */
    
    /**
     * umi max 所需要的所有插件列表,用于获取provide
     */
    var UMI_CLIENT_RENDER_REACT_PLUGIN_LIST = [
    // Lowest to the highest priority
    'innerProvider', 'i18nProvider', 'accessProvider', 'dataflowProvider', 'outerProvider', 'rootContainer'];
    
    /**
     *
     * @param {RenderClientOpts} opts - 插件相关的配置
     * @param {React.ReactElement} routesElement 需要渲染的 routers,为了方便测试注入才导出
     * @returns @returns A function that returns a React component.
     */
    var getBrowser = function getBrowser(opts, routesElement) {
      var basename = opts.basename || '/';
      var clientRoutes = createClientRoutes({
        routesById: opts.routes,
        routeComponents: opts.routeComponents,
        loadingComponent: opts.loadingComponent,
        reactRouter5Compat: opts.reactRouter5Compat,
        useStream: opts.useStream
      });
      opts.pluginManager.applyPlugins({
        key: 'patchClientRoutes',
        type: 'event',
        args: {
          routes: clientRoutes
        }
      });
      var rootContainer = /*#__PURE__*/_react_17_0_2_react.createElement(BrowserRoutes, {
        basename: basename,
        pluginManager: opts.pluginManager,
        routes: opts.routes,
        clientRoutes: clientRoutes,
        history: opts.history
      }, routesElement);
    
      // 加载所有需要的插件
      for (var _i = 0, _UMI_CLIENT_RENDER_RE = UMI_CLIENT_RENDER_REACT_PLUGIN_LIST; _i < _UMI_CLIENT_RENDER_RE.length; _i++) {
        var key = _UMI_CLIENT_RENDER_RE[_i];
        rootContainer = opts.pluginManager.applyPlugins({
          type: 'modify',
          key: key,
          initialValue: rootContainer,
          args: {
            routes: opts.routes,
            history: opts.history,
            plugin: opts.pluginManager
          }
        });
      }
    
      /**
       * umi 增加完 Provide 的 react dom,可以直接交给 react-dom 渲染
       * @returns {React.ReactElement}
       */
      var Browser = function Browser() {
        var _useState = (0,_react_17_0_2_react.useState)({}),
          _useState2 = (0,slicedToArray/* default */.Z)(_useState, 2),
          clientLoaderData = _useState2[0],
          setClientLoaderData = _useState2[1];
        var _useState3 = (0,_react_17_0_2_react.useState)(window.__UMI_LOADER_DATA__ || {}),
          _useState4 = (0,slicedToArray/* default */.Z)(_useState3, 2),
          serverLoaderData = _useState4[0],
          setServerLoaderData = _useState4[1];
        var handleRouteChange = (0,_react_17_0_2_react.useCallback)(function (id, isFirst) {
          var _matchRoutes;
          // Patched routes has to id
          var matchedRouteIds = (((_matchRoutes = (0,_react_router_6_3_0_react_router/* matchRoutes */.fp)(clientRoutes, id, basename)) === null || _matchRoutes === void 0 ? void 0 : _matchRoutes.map(
          // @ts-ignore
          function (route) {
            return route.route.id;
          })) || []).filter(Boolean);
          matchedRouteIds.forEach(function (id) {
            var _opts$routes$id, _opts$routes$id2;
            // preload lazy component
            // window.__umi_route_prefetch__ is available when routePrefetch and manifest config is enabled
            if (window.__umi_route_prefetch__) {
              var _opts$routeComponents;
              // ref: https://github.com/facebook/react/blob/0940414/packages/react/src/ReactLazy.js#L135
              var lazyCtor = (_opts$routeComponents = opts.routeComponents[id]) === null || _opts$routeComponents === void 0 || (_opts$routeComponents = _opts$routeComponents._payload) === null || _opts$routeComponents === void 0 ? void 0 : _opts$routeComponents._result;
              if (typeof lazyCtor == 'function') {
                lazyCtor();
              }
            }
            var clientLoader = (_opts$routes$id = opts.routes[id]) === null || _opts$routes$id === void 0 ? void 0 : _opts$routes$id.clientLoader;
            var hasClientLoader = !!clientLoader;
            var hasServerLoader = (_opts$routes$id2 = opts.routes[id]) === null || _opts$routes$id2 === void 0 ? void 0 : _opts$routes$id2.hasServerLoader;
            // server loader
            // use ?. since routes patched with patchClientRoutes is not exists in opts.routes
    
            if (!isFirst && hasServerLoader && !hasClientLoader && !window.__UMI_LOADER_DATA__) {
              fetchServerLoader({
                id: id,
                basename: basename,
                cb: function cb(data) {
                  // setServerLoaderData when startTransition because if ssr is enabled,
                  // the component may being hydrated and setLoaderData will break the hydration
                  _react_17_0_2_react.startTransition(function () {
                    setServerLoaderData(function (d) {
                      return (0,esm_objectSpread2/* default */.Z)((0,esm_objectSpread2/* default */.Z)({}, d), {}, (0,defineProperty/* default */.Z)({}, id, data));
                    });
                  });
                }
              });
            }
            // client loader
            // onPatchClientRoutes 添加的 route 在 opts.routes 里是不存在的
            var hasClientLoaderDataInRoute = !!clientLoaderData[id];
    
            // Check if hydration is needed or there's no server loader for the current route
            var shouldHydrateOrNoServerLoader = hasClientLoader && clientLoader.hydrate || !hasServerLoader;
    
            // Check if server loader data is missing in the global window object
            var isServerLoaderDataMissing = hasServerLoader && !window.__UMI_LOADER_DATA__;
            if (hasClientLoader && !hasClientLoaderDataInRoute && (shouldHydrateOrNoServerLoader || isServerLoaderDataMissing)) {
              // ...
              clientLoader({
                serverLoader: function serverLoader() {
                  return fetchServerLoader({
                    id: id,
                    basename: basename,
                    cb: function cb(data) {
                      // setServerLoaderData when startTransition because if ssr is enabled,
                      // the component may being hydrated and setLoaderData will break the hydration
                      _react_17_0_2_react.startTransition(function () {
                        setServerLoaderData(function (d) {
                          return (0,esm_objectSpread2/* default */.Z)((0,esm_objectSpread2/* default */.Z)({}, d), {}, (0,defineProperty/* default */.Z)({}, id, data));
                        });
                      });
                    }
                  });
                }
              }).then(function (data) {
                setClientLoaderData(function (d) {
                  return (0,esm_objectSpread2/* default */.Z)((0,esm_objectSpread2/* default */.Z)({}, d), {}, (0,defineProperty/* default */.Z)({}, id, data));
                });
              });
            }
          });
        }, [clientLoaderData]);
        (0,_react_17_0_2_react.useEffect)(function () {
          handleRouteChange(window.location.pathname, true);
          return opts.history.listen(function (e) {
            handleRouteChange(e.location.pathname);
          });
        }, []);
        (0,_react_17_0_2_react.useLayoutEffect)(function () {
          if (typeof opts.callback === 'function') opts.callback();
        }, []);
        return /*#__PURE__*/_react_17_0_2_react.createElement(appContext/* AppContext */.Il.Provider, {
          value: {
            routes: opts.routes,
            routeComponents: opts.routeComponents,
            clientRoutes: clientRoutes,
            pluginManager: opts.pluginManager,
            rootElement: opts.rootElement,
            basename: basename,
            clientLoaderData: clientLoaderData,
            serverLoaderData: serverLoaderData,
            preloadRoute: handleRouteChange,
            history: opts.history
          }
        }, rootContainer);
      };
      return Browser;
    };
    
    /**
     *  执行 react dom 的 render 方法
     * @param {RenderClientOpts} opts - 插件相关的配置
     * @returns void
     */
    function renderClient(opts) {
      var rootElement = opts.rootElement || document.getElementById('root');
      var Browser = getBrowser(opts, /*#__PURE__*/_react_17_0_2_react.createElement(Routes, null));
      // 为了测试,直接返回组件
      if (opts.components) return Browser;
      if (opts.hydrate) {
        var loaderData = window.__UMI_LOADER_DATA__ || {};
        var metadata = window.__UMI_METADATA_LOADER_DATA__ || {};
        var hydtateHtmloptions = {
          metadata: metadata,
          loaderData: loaderData,
          mountElementId: opts.mountElementId
        };
        var _isInternal = opts.__INTERNAL_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.pureApp || opts.__INTERNAL_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.pureHtml;
        _react_dom_17_0_2_react_dom.hydrateRoot(_isInternal ? rootElement : document, _isInternal ? /*#__PURE__*/_react_17_0_2_react.createElement(Browser, null) : /*#__PURE__*/_react_17_0_2_react.createElement(Html, hydtateHtmloptions, /*#__PURE__*/_react_17_0_2_react.createElement(Browser, null)));
        return;
      }
      if (_react_dom_17_0_2_react_dom.createRoot) {
        root = _react_dom_17_0_2_react_dom.createRoot(rootElement);
        root.render( /*#__PURE__*/_react_17_0_2_react.createElement(Browser, null));
        return;
      }
      // @ts-ignore
      _react_dom_17_0_2_react_dom.render( /*#__PURE__*/_react_17_0_2_react.createElement(Browser, null), rootElement);
    }
    ;// CONCATENATED MODULE: ./src/.umi-production/core/route.tsx
    
    
    // @ts-nocheck
    // This file is generated by Umi automatically
    // DO NOT CHANGE IT MANUALLY!
    
    function getRoutes() {
      return _getRoutes.apply(this, arguments);
    }
    function _getRoutes() {
      _getRoutes = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee() {
        var routes;
        return regeneratorRuntime_default()().wrap(function _callee$(_context) {
          while (1) switch (_context.prev = _context.next) {
            case 0:
              routes = {
                "1": {
                  "path": "/",
                  "parentId": "@@/global-layout",
                  "id": "1"
                },
                "2": {
                  "path": "/",
                  "redirect": "/homeEntrance",
                  "parentId": "1",
                  "id": "2"
                },
                "3": {
                  "path": "/paperlibrary",
                  "parentId": "1",
                  "id": "3"
                },
                "4": {
                  "path": "/paperlibrary",
                  "parentId": "3",
                  "id": "4"
                },
                "5": {
                  "path": "/paperlibrary/add",
                  "parentId": "3",
                  "id": "5"
                },
                "6": {
                  "path": "/paperlibrary/add/:id",
                  "parentId": "3",
                  "id": "6"
                },
                "7": {
                  "path": "/paperlibrary/see/:id",
                  "parentId": "3",
                  "id": "7"
                },
                "8": {
                  "path": "/paperlibrary/edit_select/:id",
                  "parentId": "3",
                  "id": "8"
                },
                "9": {
                  "path": "/paperlibrary/exchangequestion",
                  "parentId": "3",
                  "id": "9"
                },
                "10": {
                  "path": "/paths",
                  "parentId": "1",
                  "id": "10"
                },
                "11": {
                  "path": "/paths",
                  "parentId": "10",
                  "id": "11"
                },
                "12": {
                  "path": "/paths/higherVocationalEducation",
                  "parentId": "10",
                  "id": "12"
                },
                "13": {
                  "path": "/paths/new",
                  "parentId": "10",
                  "id": "13"
                },
                "14": {
                  "path": "/paths/guidance",
                  "exact": true,
                  "parentId": "10",
                  "id": "14"
                },
                "15": {
                  "path": "/paths/:pathId",
                  "parentId": "10",
                  "id": "15"
                },
                "16": {
                  "path": "/paths/:pathId/statistics",
                  "parentId": "10",
                  "id": "16"
                },
                "17": {
                  "path": "/paths/:pathId/edit",
                  "parentId": "10",
                  "id": "17"
                },
                "18": {
                  "path": "/classrooms",
                  "parentId": "1",
                  "id": "18"
                },
                "19": {
                  "path": "/classrooms",
                  "parentId": "18",
                  "id": "19"
                },
                "20": {
                  "path": "/classrooms/examList",
                  "parentId": "18",
                  "id": "20"
                },
                "21": {
                  "path": "/classrooms/classicCases",
                  "parentId": "18",
                  "id": "21"
                },
                "22": {
                  "path": "/classrooms/index",
                  "parentId": "18",
                  "id": "22"
                },
                "23": {
                  "path": "/classrooms/new",
                  "parentId": "18",
                  "id": "23"
                },
                "24": {
                  "path": "/classrooms/:coursesId/edit",
                  "parentId": "18",
                  "id": "24"
                },
                "25": {
                  "path": "/classrooms/news/:subjectid/newgold/:id",
                  "parentId": "18",
                  "id": "25"
                },
                "26": {
                  "path": "/classrooms/:coursesId/newgolds/settings",
                  "parentId": "18",
                  "id": "26"
                },
                "27": {
                  "path": "/classrooms/:coursesId/shixun_homework/:categoryId/review_detail/:userId",
                  "parentId": "18",
                  "id": "27"
                },
                "28": {
                  "path": "/classrooms/:coursesId/common_homework/:categoryId/review_detail/:userId",
                  "parentId": "18",
                  "id": "28"
                },
                "29": {
                  "path": "/classrooms/:coursesId/program_homework/:categoryId/review_detail/:userId",
                  "parentId": "18",
                  "id": "29"
                },
                "30": {
                  "path": "/classrooms/:coursesId/shixun_homework/:categoryId/detail",
                  "parentId": "18",
                  "id": "30"
                },
                "31": {
                  "path": "/classrooms/:coursesId/shixun_homework/:categoryId/:homeworkId/comment",
                  "parentId": "18",
                  "id": "31"
                },
                "32": {
                  "path": "/classrooms/:coursesId/common_homework/:categoryId/:homeworkId/comment",
                  "parentId": "18",
                  "id": "32"
                },
                "33": {
                  "path": "/classrooms/:coursesId/shixun_homework/:categoryId/:homeworkId/commitsummary",
                  "parentId": "18",
                  "id": "33"
                },
                "34": {
                  "path": "/classrooms/:coursesId/group_homework/:categoryId/detail",
                  "parentId": "18",
                  "id": "34"
                },
                "35": {
                  "path": "/classrooms/:coursesId/common_homework/:categoryId/detail",
                  "parentId": "18",
                  "id": "35"
                },
                "36": {
                  "path": "/classrooms/:coursesId/common_homework/:categoryId/review/:userId",
                  "parentId": "18",
                  "id": "36"
                },
                "37": {
                  "path": "/classrooms/:coursesId/group_homework/:commonHomeworkId/review/:userId",
                  "parentId": "18",
                  "id": "37"
                },
                "38": {
                  "path": "/classrooms/:coursesId/group_homework/:commonHomeworkId/post",
                  "parentId": "18",
                  "id": "38"
                },
                "39": {
                  "path": "/classrooms/:coursesId/group_homework/:commonHomeworkId/:homeworkId/edit",
                  "parentId": "18",
                  "id": "39"
                },
                "40": {
                  "path": "/classrooms/:coursesId/exercise/:categoryId/detail/:userId/review_detail",
                  "parentId": "18",
                  "id": "40"
                },
                "41": {
                  "path": "/classrooms/:coursesId/exercise/:categoryId/detail",
                  "parentId": "18",
                  "id": "41"
                },
                "42": {
                  "path": "/classrooms/:coursesId/exercise/:categoryId/preview_select",
                  "parentId": "18",
                  "id": "42"
                },
                "43": {
                  "path": "/classrooms/:coursesId/exercise/:categoryId/:login/initate_answer",
                  "parentId": "18",
                  "id": "43"
                },
                "44": {
                  "path": "/classrooms/:coursesId/exercise/:categoryId/users/:login",
                  "parentId": "18",
                  "id": "44"
                },
                "45": {
                  "path": "/classrooms/:coursesId/exercisenotice/:categoryId/users/:login",
                  "parentId": "18",
                  "id": "45"
                },
                "46": {
                  "path": "/classrooms/:coursesId/exercise/:categoryId/random/edit",
                  "parentId": "18",
                  "id": "46"
                },
                "47": {
                  "path": "/classrooms/:coursesId/exercise/:categoryId/random/preview",
                  "parentId": "18",
                  "id": "47"
                },
                "48": {
                  "path": "/classrooms/:coursesId/exercise/add",
                  "parentId": "18",
                  "id": "48"
                },
                "49": {
                  "path": "/classrooms/:coursesId/exercise/add/:exerciseId",
                  "parentId": "18",
                  "id": "49"
                },
                "50": {
                  "path": "/classrooms/:coursesId/exercise/:exerciseId/reviews/group",
                  "parentId": "18",
                  "id": "50"
                },
                "51": {
                  "path": "/classrooms/:coursesId/exercise/:exerciseId/review/:userId",
                  "parentId": "18",
                  "id": "51"
                },
                "52": {
                  "path": "/classrooms/:coursesId/exercise/:exerciseId/centralizeReview/:userId",
                  "parentId": "18",
                  "id": "52"
                },
                "53": {
                  "path": "/classrooms/:coursesId/exercise/:exerciseId/export/:userId",
                  "parentId": "18",
                  "id": "53"
                },
                "54": {
                  "path": "/classrooms/:coursesId/exercise/:exerciseId/export_blank",
                  "parentId": "18",
                  "id": "54"
                },
                "55": {
                  "path": "/classrooms/:coursesId/exercise/:exerciseId/analysis/:studentId",
                  "parentId": "18",
                  "id": "55"
                },
                "56": {
                  "path": "/classrooms/:coursesId/shixun_homework/:exerciseId/analysis/:studentId",
                  "parentId": "18",
                  "id": "56"
                },
                "57": {
                  "path": "/classrooms/:coursesId/exercise/:exerciseId/analysis/:studentId/code",
                  "parentId": "18",
                  "id": "57"
                },
                "58": {
                  "path": "/classrooms/:coursesId/shixun_homework/:exerciseId/analysis/:studentId/code",
                  "parentId": "18",
                  "id": "58"
                },
                "59": {
                  "path": "/classrooms/:coursesId/graduation_topics/:categoryId/detail",
                  "parentId": "18",
                  "id": "59"
                },
                "60": {
                  "path": "/classrooms/:coursesId/graduation_topics/:categoryId/add",
                  "parentId": "18",
                  "id": "60"
                },
                "61": {
                  "path": "/classrooms/:coursesId/graduation_topics/:categoryId/edit",
                  "parentId": "18",
                  "id": "61"
                },
                "62": {
                  "path": "/classrooms/:coursesId/graduation_tasks/:categoryId/add",
                  "parentId": "18",
                  "id": "62"
                },
                "63": {
                  "path": "/classrooms/:coursesId/graduation_tasks/:categoryId/edit",
                  "parentId": "18",
                  "id": "63"
                },
                "64": {
                  "path": "/classrooms/:coursesId/graduation_tasks/:categoryId/detail",
                  "parentId": "18",
                  "id": "64"
                },
                "65": {
                  "path": "/classrooms/:coursesId/common_homework/:categoryId/add",
                  "parentId": "18",
                  "id": "65"
                },
                "66": {
                  "path": "/classrooms/:coursesId/common_homework/:categoryId/edit",
                  "parentId": "18",
                  "id": "66"
                },
                "67": {
                  "path": "/classrooms/:coursesId/common_homework/:commonHomeworkId/post",
                  "parentId": "18",
                  "id": "67"
                },
                "68": {
                  "path": "/classrooms/:coursesId/common_homework/:commonHomeworkId/:homeworkId/edit",
                  "parentId": "18",
                  "id": "68"
                },
                "69": {
                  "path": "/classrooms/:coursesId/group_homework/:categoryId/add",
                  "parentId": "18",
                  "id": "69"
                },
                "70": {
                  "path": "/classrooms/:coursesId/group_homework/:categoryId/edit",
                  "parentId": "18",
                  "id": "70"
                },
                "71": {
                  "path": "/classrooms/:coursesId/poll/:categoryId/add",
                  "parentId": "18",
                  "id": "71"
                },
                "72": {
                  "path": "/classrooms/:coursesId/poll/:categoryId/edit",
                  "parentId": "18",
                  "id": "72"
                },
                "73": {
                  "path": "/classrooms/:coursesId/poll/:categoryId/detail",
                  "parentId": "18",
                  "id": "73"
                },
                "74": {
                  "path": "/classrooms/:coursesId/poll/:categoryId/users/:login",
                  "parentId": "18",
                  "id": "74"
                },
                "75": {
                  "path": "/classrooms/:coursesId/board/:categoryId/Add",
                  "parentId": "18",
                  "id": "75"
                },
                "76": {
                  "path": "/classrooms/:coursesId/board/:categoryId/Edit/:boardId",
                  "parentId": "18",
                  "id": "76"
                },
                "77": {
                  "path": "/classrooms/:coursesId/board/:categoryId/Detail/:boardId",
                  "parentId": "18",
                  "id": "77"
                },
                "78": {
                  "path": "/classrooms/:courseId/template/:templateId",
                  "parentId": "18",
                  "id": "78"
                },
                "79": {
                  "path": "/classrooms/:courseId/common_homework/:homeworkId/lab-report/:reportId",
                  "parentId": "18",
                  "id": "79"
                },
                "80": {
                  "path": "/classrooms/guidance",
                  "parentId": "18",
                  "id": "80"
                },
                "81": {
                  "path": "/classrooms/:courseId/common_homework/:homeworkId/lab-report-view/:workId",
                  "parentId": "18",
                  "id": "81"
                },
                "82": {
                  "path": "/classrooms/:coursesId/exercise/:categoryId/users/:login/check",
                  "parentId": "18",
                  "id": "82"
                },
                "83": {
                  "path": "/classrooms/:coursesId/Studentdetail/:login",
                  "parentId": "18",
                  "id": "83"
                },
                "84": {
                  "path": "/classrooms/:coursesId/StudentSituation/:categoryId/:login",
                  "parentId": "18",
                  "id": "84"
                },
                "85": {
                  "path": "/classrooms/:coursesId/engineering/datail",
                  "parentId": "18",
                  "id": "85"
                },
                "86": {
                  "path": "/classrooms/:coursesId/program_homework/:categoryId/add",
                  "parentId": "18",
                  "id": "86"
                },
                "87": {
                  "path": "/classrooms/:coursesId/program_homework/:categoryId/edit",
                  "parentId": "18",
                  "id": "87"
                },
                "88": {
                  "path": "/classrooms/:coursesId/program_homework/ranking",
                  "parentId": "18",
                  "id": "88"
                },
                "89": {
                  "path": "/classrooms/:coursesId/program_homework/:categoryId/detail",
                  "parentId": "18",
                  "id": "89"
                },
                "90": {
                  "path": "/classrooms/:coursesId/program_homework/:categoryId/:homeworkId/ranking",
                  "parentId": "18",
                  "id": "90"
                },
                "91": {
                  "path": "/classrooms/:coursesId/program_homework/:categoryId/:homeworkId/:user_id/comment",
                  "parentId": "18",
                  "id": "91"
                },
                "92": {
                  "path": "/classrooms/:coursesId/program_homework/:categoryId/answer",
                  "parentId": "18",
                  "id": "92"
                },
                "93": {
                  "path": "/classrooms/:coursesId/program_homework/:categoryId/answer/add",
                  "parentId": "18",
                  "id": "93"
                },
                "94": {
                  "path": "/classrooms/:coursesId/program_homework/:categoryId/answer/:answerid/edit",
                  "parentId": "18",
                  "id": "94"
                },
                "95": {
                  "path": "/classrooms/:coursesId/program_homework/:categoryId/answer/:answerid/detail",
                  "parentId": "18",
                  "id": "95"
                },
                "96": {
                  "path": "/classrooms/",
                  "parentId": "18",
                  "id": "96"
                },
                "97": {
                  "path": "/classrooms/:coursesId/shixun_homework/:categoryId",
                  "parentId": "96",
                  "id": "97"
                },
                "98": {
                  "path": "/classrooms/:coursesId/shixun_homework",
                  "parentId": "96",
                  "id": "98"
                },
                "99": {
                  "path": "/classrooms/:coursesId/graduation_topics/:categoryId",
                  "parentId": "96",
                  "id": "99"
                },
                "100": {
                  "path": "/classrooms/:coursesId/graduation_tasks/:categoryId",
                  "parentId": "96",
                  "id": "100"
                },
                "101": {
                  "path": "/classrooms/:coursesId/graduation_tasks/:categoryId",
                  "parentId": "96",
                  "id": "101"
                },
                "102": {
                  "path": "/classrooms/:coursesId/exercise/:categoryId",
                  "parentId": "96",
                  "id": "102"
                },
                "103": {
                  "path": "/classrooms/:coursesId/exercise",
                  "parentId": "96",
                  "id": "103"
                },
                "104": {
                  "path": "/classrooms/:coursesId/poll/:categoryId",
                  "parentId": "96",
                  "id": "104"
                },
                "105": {
                  "path": "/classrooms/:coursesId/poll",
                  "parentId": "96",
                  "id": "105"
                },
                "106": {
                  "path": "/classrooms/:coursesId/common_homework/:categoryId",
                  "parentId": "96",
                  "id": "106"
                },
                "107": {
                  "path": "/classrooms/:coursesId/common_homework",
                  "parentId": "96",
                  "id": "107"
                },
                "108": {
                  "path": "/classrooms/:coursesId/group_homework/:categoryId",
                  "parentId": "96",
                  "id": "108"
                },
                "109": {
                  "path": "/classrooms/:coursesId/group_homework",
                  "parentId": "96",
                  "id": "109"
                },
                "110": {
                  "path": "/classrooms/:coursesId/teachers",
                  "parentId": "96",
                  "id": "110"
                },
                "111": {
                  "path": "/classrooms/:coursesId/students",
                  "parentId": "96",
                  "id": "111"
                },
                "112": {
                  "path": "/classrooms/:coursesId/assistant",
                  "parentId": "96",
                  "id": "112"
                },
                "113": {
                  "path": "/classrooms/:coursesId/program_homework",
                  "parentId": "96",
                  "id": "113"
                },
                "114": {
                  "path": "/classrooms/:coursesId/program_homework/:categoryId",
                  "parentId": "96",
                  "id": "114"
                },
                "115": {
                  "path": "/classrooms/:coursesId/engineering",
                  "parentId": "96",
                  "id": "115"
                },
                "116": {
                  "path": "/classrooms/:coursesId/attendance",
                  "parentId": "96",
                  "id": "116"
                },
                "117": {
                  "path": "/classrooms/:coursesId/attendance/:categoryId",
                  "parentId": "96",
                  "id": "117"
                },
                "118": {
                  "path": "/classrooms/:coursesId/attendance/:categoryId/:tabId/detail",
                  "parentId": "96",
                  "id": "118"
                },
                "119": {
                  "path": "/classrooms/:coursesId/announcement",
                  "parentId": "96",
                  "id": "119"
                },
                "120": {
                  "path": "/classrooms/:coursesId/announcement/:categoryId",
                  "parentId": "96",
                  "id": "120"
                },
                "121": {
                  "path": "/classrooms/:coursesId/online_learning",
                  "parentId": "96",
                  "id": "121"
                },
                "122": {
                  "path": "/classrooms/:coursesId/online_learning/:categoryId",
                  "parentId": "96",
                  "id": "122"
                },
                "123": {
                  "path": "/classrooms/:coursesId/attachment/:categoryId",
                  "parentId": "96",
                  "id": "123"
                },
                "124": {
                  "path": "/classrooms/:coursesId/attachment",
                  "parentId": "96",
                  "id": "124"
                },
                "125": {
                  "path": "/classrooms/:coursesId/video",
                  "parentId": "96",
                  "id": "125"
                },
                "126": {
                  "path": "/classrooms/:coursesId/video/:categoryId",
                  "parentId": "96",
                  "id": "126"
                },
                "127": {
                  "path": "/classrooms/:coursesId/video/:categoryId/statistics",
                  "parentId": "96",
                  "id": "127"
                },
                "128": {
                  "path": "/classrooms/:coursesId/video/:username/upload",
                  "parentId": "96",
                  "id": "128"
                },
                "129": {
                  "path": "/classrooms/:coursesId/video/:categoryId/statistics/:videoId",
                  "parentId": "96",
                  "id": "129"
                },
                "130": {
                  "path": "/classrooms/:coursesId/live_video/:categoryId",
                  "parentId": "96",
                  "id": "130"
                },
                "131": {
                  "path": "/classrooms/:coursesId/live_video",
                  "parentId": "96",
                  "id": "131"
                },
                "132": {
                  "path": "/classrooms/:coursesId/video/:categoryId/studentstatistics",
                  "parentId": "96",
                  "id": "132"
                },
                "133": {
                  "path": "/classrooms/:coursesId/board/:categoryId",
                  "parentId": "96",
                  "id": "133"
                },
                "134": {
                  "path": "/classrooms/:coursesId/board",
                  "parentId": "96",
                  "id": "134"
                },
                "135": {
                  "path": "/classrooms/:coursesId/course_group",
                  "parentId": "96",
                  "id": "135"
                },
                "136": {
                  "path": "/classrooms/:coursesId/course_group/:categoryId",
                  "parentId": "96",
                  "id": "136"
                },
                "137": {
                  "path": "/classrooms/:coursesId/course_group/:categoryId/detail",
                  "parentId": "96",
                  "id": "137"
                },
                "138": {
                  "path": "/classrooms/:coursesId/not_course_group/:categoryId",
                  "parentId": "96",
                  "id": "138"
                },
                "139": {
                  "path": "/classrooms/:coursesId/not_course_group",
                  "parentId": "96",
                  "id": "139"
                },
                "140": {
                  "path": "/classrooms/:coursesId/statistics/",
                  "parentId": "96",
                  "id": "140"
                },
                "141": {
                  "path": "/classrooms/:coursesId/statistics/:categoryId",
                  "parentId": "96",
                  "id": "141"
                },
                "142": {
                  "path": "/classrooms/:coursesId/statistics_video/:categoryId",
                  "parentId": "96",
                  "id": "142"
                },
                "143": {
                  "path": "/classrooms/:coursesId/statistics_quality/:categoryId",
                  "parentId": "96",
                  "id": "143"
                },
                "144": {
                  "path": "/classrooms/:coursesId/student_statistics/:categoryId",
                  "parentId": "96",
                  "id": "144"
                },
                "145": {
                  "path": "/classrooms/:coursesId/student_statistics/:categoryId/:listId/:type",
                  "parentId": "96",
                  "id": "145"
                },
                "146": {
                  "path": "/classrooms/:coursesId/video_statistics/:categoryId/Student/:studentid",
                  "parentId": "96",
                  "id": "146"
                },
                "147": {
                  "path": "/classrooms/:coursesId/exportlist/:type",
                  "parentId": "96",
                  "id": "147"
                },
                "148": {
                  "path": "/classrooms/:coursesId",
                  "parentId": "96",
                  "id": "148"
                },
                "149": {
                  "path": "/classrooms/:coursesId/template",
                  "parentId": "96",
                  "id": "149"
                },
                "150": {
                  "path": "/competitions",
                  "parentId": "1",
                  "id": "150"
                },
                "151": {
                  "path": "/competitions/index",
                  "parentId": "150",
                  "id": "151"
                },
                "152": {
                  "path": "/competitions/:identifier/list",
                  "parentId": "150",
                  "id": "152"
                },
                "153": {
                  "path": "/competitions/exports",
                  "parentId": "150",
                  "id": "153"
                },
                "154": {
                  "path": "/competitions",
                  "parentId": "150",
                  "id": "154"
                },
                "155": {
                  "path": "/competitions/:identifier",
                  "parentId": "150",
                  "id": "155"
                },
                "156": {
                  "path": "/competitions/index/:identifier",
                  "parentId": "150",
                  "id": "156"
                },
                "157": {
                  "path": "/competitions/:identifier/detail/enroll",
                  "parentId": "150",
                  "id": "157"
                },
                "158": {
                  "path": "/competitions/:identifier/detail/UpdateTeanname/:Teannameid",
                  "parentId": "150",
                  "id": "158"
                },
                "159": {
                  "path": "/competitions/:identifier/detail/teamDetail/:Teamid",
                  "parentId": "150",
                  "id": "159"
                },
                "160": {
                  "path": "/competitions/detail/:identifier",
                  "parentId": "150",
                  "id": "160"
                },
                "161": {
                  "path": "/forums",
                  "parentId": "1",
                  "id": "161"
                },
                "162": {
                  "path": "/forums",
                  "parentId": "161",
                  "id": "162"
                },
                "163": {
                  "path": "/forums/categories/:memoType",
                  "parentId": "161",
                  "id": "163"
                },
                "164": {
                  "path": "/forums/new",
                  "parentId": "161",
                  "id": "164"
                },
                "165": {
                  "path": "/forums/:memoId/edit",
                  "parentId": "161",
                  "id": "165"
                },
                "166": {
                  "path": "/forums/:memoId",
                  "parentId": "161",
                  "id": "166"
                },
                "167": {
                  "path": "/problemset",
                  "parentId": "1",
                  "id": "167"
                },
                "168": {
                  "path": "/problemset",
                  "parentId": "167",
                  "id": "168"
                },
                "169": {
                  "path": "/problemset/newitem",
                  "parentId": "167",
                  "id": "169"
                },
                "170": {
                  "path": "/problemset/:type/:id",
                  "parentId": "167",
                  "id": "170"
                },
                "171": {
                  "path": "/problemset/preview",
                  "parentId": "167",
                  "id": "171"
                },
                "172": {
                  "path": "/problemset/preview_new",
                  "parentId": "167",
                  "id": "172"
                },
                "173": {
                  "path": "/problemset/preview_select",
                  "parentId": "167",
                  "id": "173"
                },
                "174": {
                  "path": "/shixuns",
                  "parentId": "1",
                  "id": "174"
                },
                "175": {
                  "path": "/shixuns",
                  "parentId": "174",
                  "id": "175"
                },
                "176": {
                  "path": "/shixuns/exports",
                  "parentId": "174",
                  "id": "176"
                },
                "177": {
                  "path": "/shixuns/new",
                  "parentId": "174",
                  "id": "177"
                },
                "178": {
                  "path": "/shixuns/new/CreateImg",
                  "parentId": "174",
                  "id": "178"
                },
                "179": {
                  "path": "/shixuns/new/:id/imagepreview",
                  "parentId": "174",
                  "id": "179"
                },
                "180": {
                  "path": "/shixuns/:id/Merge",
                  "parentId": "174",
                  "id": "180"
                },
                "181": {
                  "path": "/shixuns/detail/:id",
                  "exact": true,
                  "parentId": "174",
                  "id": "181"
                },
                "182": {
                  "path": "/shixuns/:id/edit",
                  "parentId": "174",
                  "id": "182"
                },
                "183": {
                  "path": "shixuns/:id/edit/warehouse",
                  "parentId": "182",
                  "id": "183"
                },
                "184": {
                  "path": "/shixuns/:id/edit/newquestion",
                  "parentId": "182",
                  "id": "184"
                },
                "185": {
                  "path": "/shixuns/:id/edit/:challengesId/editquestion",
                  "parentId": "182",
                  "id": "185"
                },
                "186": {
                  "path": "/shixuns/:id/edit/:challengesId/editquestion/:questionId",
                  "parentId": "182",
                  "id": "186"
                },
                "187": {
                  "path": "/shixuns/:id/edit/new",
                  "parentId": "182",
                  "id": "187"
                },
                "188": {
                  "path": "/shixuns/:id/edit/:challengesId/editcheckpoint",
                  "parentId": "182",
                  "id": "188"
                },
                "189": {
                  "path": "/shixuns/:id/edit/:challengesId/tab=2",
                  "parentId": "182",
                  "id": "189"
                },
                "190": {
                  "path": "/shixuns/:id/edit/:challengesId/tab=3",
                  "parentId": "182",
                  "id": "190"
                },
                "191": {
                  "path": "/shixuns/:id/edit/:challengesId/tab=4",
                  "parentId": "182",
                  "id": "191"
                },
                "192": {
                  "path": "/shixuns/:id",
                  "parentId": "174",
                  "id": "192"
                },
                "193": {
                  "path": "/shixuns/:id/challenges",
                  "parentId": "192",
                  "id": "193"
                },
                "194": {
                  "path": "/shixuns/:id/repository",
                  "parentId": "192",
                  "id": "194"
                },
                "195": {
                  "path": "/shixuns/:id/secret_repository",
                  "parentId": "192",
                  "id": "195"
                },
                "196": {
                  "path": "/shixuns/:id/collaborators",
                  "parentId": "192",
                  "id": "196"
                },
                "197": {
                  "path": "/shixuns/:id/dataset",
                  "parentId": "192",
                  "id": "197"
                },
                "198": {
                  "path": "/shixuns/:id/shixun_discuss",
                  "parentId": "192",
                  "id": "198"
                },
                "199": {
                  "path": "/shixuns/:id/ranking_list",
                  "parentId": "192",
                  "id": "199"
                },
                "200": {
                  "path": "/shixuns/:id/settings",
                  "parentId": "192",
                  "id": "200"
                },
                "201": {
                  "path": "/shixuns/:id/experiment_detail",
                  "parentId": "192",
                  "id": "201"
                },
                "202": {
                  "path": "/shixuns/:id/repository/:repoId/commits",
                  "parentId": "192",
                  "id": "202"
                },
                "203": {
                  "path": "/shixuns/:id/secret_repository/:repoId/commits",
                  "parentId": "192",
                  "id": "203"
                },
                "204": {
                  "path": "/shixuns/:id/repository/upload_file",
                  "parentId": "192",
                  "id": "204"
                },
                "205": {
                  "path": "/shixuns/:id/secret_repository/upload_file",
                  "parentId": "192",
                  "id": "205"
                },
                "206": {
                  "path": "/shixuns/:id/repository/add_file",
                  "parentId": "192",
                  "id": "206"
                },
                "207": {
                  "path": "/shixuns/:id/secret_repository/add_file",
                  "parentId": "192",
                  "id": "207"
                },
                "208": {
                  "path": "/shixuns/:id/repository/master/shixun_show/:fileId",
                  "exact": false,
                  "parentId": "192",
                  "id": "208"
                },
                "209": {
                  "path": "/shixuns/:id/secret_repository/master/shixun_show/:fileId",
                  "exact": false,
                  "parentId": "192",
                  "id": "209"
                },
                "210": {
                  "path": "/shixuns/:id/audit_situation",
                  "parentId": "192",
                  "id": "210"
                },
                "211": {
                  "path": "/shixuns/:id/fork_list",
                  "parentId": "192",
                  "id": "211"
                },
                "212": {
                  "path": "/users",
                  "parentId": "1",
                  "id": "212"
                },
                "213": {
                  "path": "/users/:username/videos/protocol",
                  "parentId": "212",
                  "id": "213"
                },
                "214": {
                  "path": "/users/:username/videos/success",
                  "parentId": "212",
                  "id": "214"
                },
                "215": {
                  "path": "/users/:username/topicbank/:topicstype",
                  "parentId": "212",
                  "id": "215"
                },
                "216": {
                  "path": "/users/:username/topics/:topicId/:topictype/normal/detail",
                  "parentId": "212",
                  "id": "216"
                },
                "217": {
                  "path": "/users/:username/topics/:topicId/:topictype/group/detail",
                  "parentId": "212",
                  "id": "217"
                },
                "218": {
                  "path": "/users/:username/topics/:topicId/:topictype/normal/edit",
                  "parentId": "212",
                  "id": "218"
                },
                "219": {
                  "path": "/users/:username/topics/:topicId/:topictype/group/edit",
                  "parentId": "212",
                  "id": "219"
                },
                "220": {
                  "path": "/users/:username/devicegroup/edit/:id",
                  "parentId": "212",
                  "id": "220"
                },
                "221": {
                  "path": "/users/:username/deviceInfo/reservationInfo/:id",
                  "parentId": "212",
                  "id": "221"
                },
                "222": {
                  "path": "/users/:username/devicegroup/addgroup",
                  "parentId": "212",
                  "id": "222"
                },
                "223": {
                  "path": "/users/:username/topics/:topicId/:topictype/exercise/edit",
                  "parentId": "212",
                  "id": "223"
                },
                "224": {
                  "path": "/users/:username/topics/:topicId/:topictype/exercise/detail",
                  "parentId": "212",
                  "id": "224"
                },
                "225": {
                  "path": "/users/:username/topics/:topicId/:topictype/poll/edit",
                  "parentId": "212",
                  "id": "225"
                },
                "226": {
                  "path": "/users/:username/topics/:topicId/:topictype/poll/detail",
                  "parentId": "212",
                  "id": "226"
                },
                "227": {
                  "path": "/users/:username/experiment-img/add",
                  "parentId": "212",
                  "id": "227"
                },
                "228": {
                  "path": "/users/:username",
                  "parentId": "212",
                  "id": "228"
                },
                "229": {
                  "path": "/users/:username",
                  "parentId": "228",
                  "id": "229"
                },
                "230": {
                  "path": "/users/:username/classrooms",
                  "parentId": "228",
                  "id": "230"
                },
                "231": {
                  "path": "/users/:username/shixuns",
                  "parentId": "228",
                  "id": "231"
                },
                "232": {
                  "path": "/users/:username/userPortrait",
                  "parentId": "228",
                  "id": "232"
                },
                "233": {
                  "path": "/users/:username/learningPath",
                  "parentId": "228",
                  "id": "233"
                },
                "234": {
                  "path": "/users/:username/teach-group",
                  "parentId": "228",
                  "id": "234"
                },
                "235": {
                  "path": "/users/:username/competitions",
                  "parentId": "228",
                  "id": "235"
                },
                "236": {
                  "path": "/users/:username/experiment-img",
                  "parentId": "228",
                  "id": "236"
                },
                "237": {
                  "path": "/users/:username/experiment-img/:experid/detail",
                  "parentId": "228",
                  "id": "237"
                },
                "238": {
                  "path": "/users/:username/certificate",
                  "parentId": "228",
                  "id": "238"
                },
                "239": {
                  "path": "/users/:username/otherResources",
                  "parentId": "228",
                  "id": "239"
                },
                "240": {
                  "path": "/users/:username/classmanagement",
                  "parentId": "228",
                  "id": "240"
                },
                "241": {
                  "path": "/users/:username/classmanagement/:couserid",
                  "parentId": "228",
                  "id": "241"
                },
                "242": {
                  "path": "/users/:username/devicegroup",
                  "parentId": "228",
                  "id": "242"
                },
                "243": {
                  "path": "/users/:username/paths",
                  "parentId": "228",
                  "id": "243"
                },
                "244": {
                  "path": "/users/:username/projects",
                  "parentId": "228",
                  "id": "244"
                },
                "245": {
                  "path": "/users/:username/videos",
                  "parentId": "228",
                  "id": "245"
                },
                "246": {
                  "path": "/users/:username/videos/upload",
                  "parentId": "228",
                  "id": "246"
                },
                "247": {
                  "path": "/users/:username/topics/:topicstype",
                  "parentId": "228",
                  "id": "247"
                },
                "248": {
                  "path": "/users/:username/vspaces",
                  "parentId": "228",
                  "id": "248"
                },
                "249": {
                  "parentId": "1",
                  "id": "249"
                },
                "250": {
                  "path": "/problems",
                  "parentId": "249",
                  "id": "250"
                },
                "251": {
                  "path": "/problems",
                  "parentId": "250",
                  "id": "251"
                },
                "252": {
                  "path": "/problems/batchAdd",
                  "parentId": "250",
                  "id": "252"
                },
                "253": {
                  "path": "/problems/newcreate",
                  "parentId": "249",
                  "id": "253"
                },
                "254": {
                  "path": "/problems/newedit/:id",
                  "exact": true,
                  "parentId": "249",
                  "id": "254"
                },
                "255": {
                  "path": "/problems/:id/edit",
                  "exact": true,
                  "parentId": "249",
                  "id": "255"
                },
                "256": {
                  "path": "/problems/new",
                  "exact": true,
                  "parentId": "249",
                  "id": "256"
                },
                "257": {
                  "path": "/problems/:id/oj/:save_identifier",
                  "parentId": "249",
                  "id": "257"
                },
                "258": {
                  "path": "/problems/:id/record-detail/:submitId",
                  "parentId": "249",
                  "id": "258"
                },
                "259": {
                  "path": "/problems/add",
                  "parentId": "249",
                  "id": "259"
                },
                "260": {
                  "path": "/problems/:id/ojedit",
                  "parentId": "249",
                  "id": "260"
                },
                "261": {
                  "path": "/engineering",
                  "parentId": "1",
                  "id": "261"
                },
                "262": {
                  "path": "/engineering",
                  "parentId": "261",
                  "id": "262"
                },
                "263": {
                  "path": "/engineering/teacherList",
                  "parentId": "262",
                  "id": "263"
                },
                "264": {
                  "path": "/engineering/studentList",
                  "parentId": "262",
                  "id": "264"
                },
                "265": {
                  "path": "/engineering/training/program",
                  "parentId": "262",
                  "id": "265"
                },
                "266": {
                  "path": "/engineering/training/program/add",
                  "parentId": "262",
                  "id": "266"
                },
                "267": {
                  "path": "/engineering/training/program/edit",
                  "parentId": "262",
                  "id": "267"
                },
                "268": {
                  "path": "/engineering/training/objectives",
                  "parentId": "262",
                  "id": "268"
                },
                "269": {
                  "path": "/engineering/graduated/index",
                  "parentId": "262",
                  "id": "269"
                },
                "270": {
                  "path": "/engineering/graduated/matrix",
                  "parentId": "262",
                  "id": "270"
                },
                "271": {
                  "path": "/engineering/course/list",
                  "parentId": "262",
                  "id": "271"
                },
                "272": {
                  "path": "/engineering/course/setting",
                  "parentId": "262",
                  "id": "272"
                },
                "273": {
                  "path": "/engineering/course/matrix",
                  "parentId": "262",
                  "id": "273"
                },
                "274": {
                  "path": "/engineering/navigation",
                  "parentId": "262",
                  "id": "274"
                },
                "275": {
                  "path": "/engineering/evaluate/course",
                  "parentId": "262",
                  "id": "275"
                },
                "276": {
                  "path": "/engineering/evaluate/course/:ec_year_id/:id",
                  "parentId": "262",
                  "id": "276"
                },
                "277": {
                  "path": "/engineering/evaluate/norm",
                  "parentId": "262",
                  "id": "277"
                },
                "278": {
                  "path": "/engineering/evaluate/document",
                  "parentId": "262",
                  "id": "278"
                },
                "279": {
                  "path": "/engineering/evaluate/norm/:ec_year_id/:id",
                  "parentId": "262",
                  "id": "279"
                },
                "280": {
                  "path": "/engineering/*",
                  "redirect": "/404",
                  "parentId": "262",
                  "id": "280"
                },
                "281": {
                  "path": "/innovation",
                  "parentId": "1",
                  "id": "281"
                },
                "282": {
                  "path": "/innovation/tasks/:taskId",
                  "parentId": "281",
                  "id": "282"
                },
                "283": {
                  "path": "/innovation",
                  "parentId": "281",
                  "id": "283"
                },
                "284": {
                  "path": "/innovation/project",
                  "parentId": "283",
                  "id": "284"
                },
                "285": {
                  "path": "/innovation/dataset",
                  "parentId": "283",
                  "id": "285"
                },
                "286": {
                  "path": "/innovation/mirror",
                  "parentId": "283",
                  "id": "286"
                },
                "287": {
                  "path": "/innovation/my-project",
                  "parentId": "283",
                  "id": "287"
                },
                "288": {
                  "path": "/innovation/my-dataset",
                  "parentId": "283",
                  "id": "288"
                },
                "289": {
                  "path": "/innovation/my-mirror",
                  "parentId": "283",
                  "id": "289"
                },
                "290": {
                  "path": "/innovation/project/create",
                  "parentId": "283",
                  "id": "290"
                },
                "291": {
                  "path": "/innovation/project/edit/:id",
                  "parentId": "283",
                  "id": "291"
                },
                "292": {
                  "path": "/innovation/project/detail/:taskId",
                  "parentId": "283",
                  "id": "292"
                },
                "293": {
                  "path": "/tasks",
                  "parentId": "1",
                  "id": "293"
                },
                "294": {
                  "path": "/tasks/:taskId",
                  "exact": true,
                  "parentId": "293",
                  "id": "294"
                },
                "295": {
                  "path": "/tasks/:identifier/jupyter/",
                  "exact": true,
                  "parentId": "293",
                  "id": "295"
                },
                "296": {
                  "path": "/tasks/:courseId/:homeworkId/:taskId",
                  "exact": true,
                  "parentId": "293",
                  "id": "296"
                },
                "297": {
                  "path": "/tasks/jupyter/:courseId/:homeworkId/:identifier",
                  "exact": true,
                  "parentId": "293",
                  "id": "297"
                },
                "298": {
                  "path": "/tasks/:courseId/:exerciseId/:taskId/exercise",
                  "exact": true,
                  "parentId": "293",
                  "id": "298"
                },
                "299": {
                  "path": "/myproblems",
                  "parentId": "1",
                  "id": "299"
                },
                "300": {
                  "path": "/myproblems/:id/record-detail/:submitId",
                  "exact": true,
                  "parentId": "299",
                  "id": "300"
                },
                "301": {
                  "path": "/myproblems/:id",
                  "exact": true,
                  "parentId": "299",
                  "id": "301"
                },
                "302": {
                  "path": "/account",
                  "parentId": "1",
                  "id": "302"
                },
                "303": {
                  "path": "/account",
                  "parentId": "302",
                  "id": "303"
                },
                "304": {
                  "path": "/account/profile",
                  "parentId": "303",
                  "id": "304"
                },
                "305": {
                  "path": "/account/profile/edit",
                  "parentId": "303",
                  "id": "305"
                },
                "306": {
                  "path": "/account/certification",
                  "parentId": "303",
                  "id": "306"
                },
                "307": {
                  "path": "/account/secure",
                  "parentId": "303",
                  "id": "307"
                },
                "308": {
                  "path": "/account/binding",
                  "parentId": "303",
                  "id": "308"
                },
                "309": {
                  "path": "/account/Results",
                  "parentId": "303",
                  "id": "309"
                },
                "310": {
                  "path": "/ch",
                  "parentId": "1",
                  "id": "310"
                },
                "311": {
                  "path": "/ch/rest/edit/:categoryId/:id",
                  "exact": true,
                  "parentId": "310",
                  "id": "311"
                },
                "312": {
                  "path": "/ch/rest/",
                  "exact": true,
                  "parentId": "310",
                  "id": "312"
                },
                "313": {
                  "path": "/ch/rest/:id",
                  "exact": true,
                  "parentId": "310",
                  "id": "313"
                },
                "314": {
                  "path": "/order",
                  "parentId": "1",
                  "id": "314"
                },
                "315": {
                  "path": "/order",
                  "parentId": "314",
                  "id": "315"
                },
                "316": {
                  "path": "/order/invoice",
                  "parentId": "314",
                  "id": "316"
                },
                "317": {
                  "path": "/order/records",
                  "parentId": "314",
                  "id": "317"
                },
                "318": {
                  "path": "/order/apply",
                  "parentId": "314",
                  "id": "318"
                },
                "319": {
                  "path": "/order/view",
                  "parentId": "314",
                  "id": "319"
                },
                "320": {
                  "path": "/order/:courseId/information",
                  "parentId": "314",
                  "id": "320"
                },
                "321": {
                  "path": "/order/:courseId/pay",
                  "parentId": "314",
                  "id": "321"
                },
                "322": {
                  "path": "/order/:orderNum/result",
                  "parentId": "314",
                  "id": "322"
                },
                "323": {
                  "path": "/messages",
                  "parentId": "1",
                  "id": "323"
                },
                "324": {
                  "path": "/messages/:userId/user_tidings",
                  "parentId": "323",
                  "id": "324"
                },
                "325": {
                  "path": "/messages/:userId/private_messages",
                  "parentId": "323",
                  "id": "325"
                },
                "326": {
                  "path": "/messages/:userId/message_detail",
                  "parentId": "323",
                  "id": "326"
                },
                "327": {
                  "path": "/vtrs",
                  "parentId": "1",
                  "id": "327"
                },
                "328": {
                  "path": "/vtrs/:virtual_spacesId",
                  "parentId": "327",
                  "id": "328"
                },
                "329": {
                  "path": "/vtrs/:virtual_spacesId",
                  "exact": true,
                  "parentId": "328",
                  "id": "329"
                },
                "330": {
                  "path": "/vtrs/:virtual_spacesId/experiment",
                  "parentId": "328",
                  "id": "330"
                },
                "331": {
                  "path": "/vtrs/:virtual_spacesId/announcement",
                  "parentId": "328",
                  "id": "331"
                },
                "332": {
                  "path": "/vtrs/:virtual_spacesId/announcement/add",
                  "parentId": "328",
                  "id": "332"
                },
                "333": {
                  "path": "/vtrs/:virtual_spacesId/announcement/:id/edit",
                  "parentId": "328",
                  "id": "333"
                },
                "334": {
                  "path": "/vtrs/:virtual_spacesId/announcement/:id/detail",
                  "parentId": "328",
                  "id": "334"
                },
                "335": {
                  "path": "/vtrs/:virtual_spacesId/survey",
                  "parentId": "328",
                  "id": "335"
                },
                "336": {
                  "path": "/vtrs/:virtual_spacesId/survey/:id/detail",
                  "parentId": "328",
                  "id": "336"
                },
                "337": {
                  "path": "/vtrs/:virtual_spacesId/knowledge",
                  "parentId": "328",
                  "id": "337"
                },
                "338": {
                  "path": "/vtrs/:virtual_spacesId/knowledge/add",
                  "parentId": "328",
                  "id": "338"
                },
                "339": {
                  "path": "/vtrs/:virtual_spacesId/knowledge/:id/edit",
                  "parentId": "328",
                  "id": "339"
                },
                "340": {
                  "path": "/vtrs/:virtual_spacesId/material",
                  "parentId": "328",
                  "id": "340"
                },
                "341": {
                  "path": "/vtrs/:virtual_spacesId/material/:id/detail",
                  "parentId": "328",
                  "id": "341"
                },
                "342": {
                  "path": "/vtrs/:virtual_spacesId/settings",
                  "parentId": "328",
                  "id": "342"
                },
                "343": {
                  "path": "/vtrs/:virtual_spacesId/resources",
                  "parentId": "328",
                  "id": "343"
                },
                "344": {
                  "path": "/vtrs/:virtual_spacesId/resources/:id/detail",
                  "parentId": "328",
                  "id": "344"
                },
                "345": {
                  "path": "/vtrs/:virtual_spacesId/Plan",
                  "parentId": "328",
                  "id": "345"
                },
                "346": {
                  "path": "/vtrs/:virtual_spacesId/plan/:id/detail",
                  "parentId": "328",
                  "id": "346"
                },
                "347": {
                  "path": "/vtrs/:virtual_spacesId/homepage",
                  "parentId": "328",
                  "id": "347"
                },
                "348": {
                  "path": "/vtrs/:virtual_spacesId/*",
                  "parentId": "328",
                  "id": "348"
                },
                "349": {
                  "path": "/101",
                  "parentId": "1",
                  "id": "349"
                },
                "350": {
                  "path": "/101/:virtual_spacesId",
                  "parentId": "349",
                  "id": "350"
                },
                "351": {
                  "path": "/101/:virtual_spacesId",
                  "exact": true,
                  "parentId": "350",
                  "id": "351"
                },
                "352": {
                  "path": "/101/:virtual_spacesId/experiment",
                  "parentId": "350",
                  "id": "352"
                },
                "353": {
                  "path": "/101/:virtual_spacesId/announcement",
                  "parentId": "350",
                  "id": "353"
                },
                "354": {
                  "path": "/101/:virtual_spacesId/announcement/add",
                  "parentId": "350",
                  "id": "354"
                },
                "355": {
                  "path": "/101/:virtual_spacesId/announcement/:id/edit",
                  "parentId": "350",
                  "id": "355"
                },
                "356": {
                  "path": "/101/:virtual_spacesId/announcement/:id/detail",
                  "parentId": "350",
                  "id": "356"
                },
                "357": {
                  "path": "/101/:virtual_spacesId/survey",
                  "parentId": "350",
                  "id": "357"
                },
                "358": {
                  "path": "/101/:virtual_spacesId/survey/:id/detail",
                  "parentId": "350",
                  "id": "358"
                },
                "359": {
                  "path": "/101/:virtual_spacesId/knowledge",
                  "parentId": "350",
                  "id": "359"
                },
                "360": {
                  "path": "/101/:virtual_spacesId/knowledge/add",
                  "parentId": "350",
                  "id": "360"
                },
                "361": {
                  "path": "/101/:virtual_spacesId/knowledge/:id/edit",
                  "parentId": "350",
                  "id": "361"
                },
                "362": {
                  "path": "/101/:virtual_spacesId/material",
                  "parentId": "350",
                  "id": "362"
                },
                "363": {
                  "path": "/101/:virtual_spacesId/material/:id/detail",
                  "parentId": "350",
                  "id": "363"
                },
                "364": {
                  "path": "/101/:virtual_spacesId/settings",
                  "parentId": "350",
                  "id": "364"
                },
                "365": {
                  "path": "/101/:virtual_spacesId/resources",
                  "parentId": "350",
                  "id": "365"
                },
                "366": {
                  "path": "/101/:virtual_spacesId/resources/:id/detail",
                  "parentId": "350",
                  "id": "366"
                },
                "367": {
                  "path": "/101/:virtual_spacesId/Plan",
                  "parentId": "350",
                  "id": "367"
                },
                "368": {
                  "path": "/101/:virtual_spacesId/plan/:id/detail",
                  "parentId": "350",
                  "id": "368"
                },
                "369": {
                  "path": "/101/:virtual_spacesId/homepage",
                  "parentId": "350",
                  "id": "369"
                },
                "370": {
                  "path": "/101/:virtual_spacesId/*",
                  "parentId": "350",
                  "id": "370"
                },
                "371": {
                  "path": "/administration",
                  "parentId": "1",
                  "id": "371"
                },
                "372": {
                  "path": "/administration",
                  "parentId": "371",
                  "id": "372"
                },
                "373": {
                  "path": "/administration/college",
                  "parentId": "372",
                  "id": "373"
                },
                "374": {
                  "path": "/administration/student",
                  "parentId": "372",
                  "id": "374"
                },
                "375": {
                  "path": "/administration/student/:studentId/edit",
                  "parentId": "372",
                  "id": "375"
                },
                "376": {
                  "path": "/graduations",
                  "parentId": "1",
                  "id": "376"
                },
                "377": {
                  "path": "/graduations",
                  "exact": true,
                  "parentId": "376",
                  "id": "377"
                },
                "378": {
                  "path": "/graduations/:id/:moduleKey/:moduleId/review/:itemId",
                  "exact": true,
                  "parentId": "376",
                  "id": "378"
                },
                "379": {
                  "path": "/graduations/:id",
                  "parentId": "376",
                  "id": "379"
                },
                "380": {
                  "path": "/graduations/:id/index",
                  "parentId": "379",
                  "id": "380"
                },
                "381": {
                  "path": "/graduations/:id/topics",
                  "parentId": "379",
                  "id": "381"
                },
                "382": {
                  "path": "/graduations/:id/student_selection",
                  "parentId": "379",
                  "id": "382"
                },
                "383": {
                  "path": "/graduations/:id/tasks",
                  "parentId": "379",
                  "id": "383"
                },
                "384": {
                  "path": "/graduations/:id/opening_report",
                  "parentId": "379",
                  "id": "384"
                },
                "385": {
                  "path": "/graduations/:id/midterm_report",
                  "parentId": "379",
                  "id": "385"
                },
                "386": {
                  "path": "/graduations/:id/thesis",
                  "parentId": "379",
                  "id": "386"
                },
                "387": {
                  "path": "/graduations/:id/final_defense",
                  "parentId": "379",
                  "id": "387"
                },
                "388": {
                  "path": "/graduations/:id/final_thesis",
                  "parentId": "379",
                  "id": "388"
                },
                "389": {
                  "path": "/graduations/:id/settings",
                  "parentId": "379",
                  "id": "389"
                },
                "390": {
                  "path": "/graduations/:id/teachers",
                  "parentId": "379",
                  "id": "390"
                },
                "391": {
                  "path": "/graduations/:id/students",
                  "parentId": "379",
                  "id": "391"
                },
                "392": {
                  "path": "/graduations/:id/archives",
                  "parentId": "379",
                  "id": "392"
                },
                "393": {
                  "path": "/graduations/:id/grading_summary",
                  "parentId": "379",
                  "id": "393"
                },
                "394": {
                  "path": "/laboratory",
                  "parentId": "1",
                  "id": "394"
                },
                "395": {
                  "path": "/laboratory",
                  "exact": true,
                  "parentId": "394",
                  "id": "395"
                },
                "396": {
                  "path": "/laboratory/reservations",
                  "parentId": "395",
                  "id": "396"
                },
                "397": {
                  "path": "/laboratory/openReservation",
                  "parentId": "395",
                  "id": "397"
                },
                "398": {
                  "path": "/laboratory/openReservation/:id",
                  "parentId": "395",
                  "id": "398"
                },
                "399": {
                  "path": "/laboratory/openReservation/statistics",
                  "parentId": "395",
                  "id": "399"
                },
                "400": {
                  "path": "/laboratory/myreservation",
                  "parentId": "395",
                  "id": "400"
                },
                "401": {
                  "path": "/laboratory/laboratoryCenter",
                  "parentId": "395",
                  "id": "401"
                },
                "402": {
                  "path": "/laboratory/myLaboratory",
                  "parentId": "395",
                  "id": "402"
                },
                "403": {
                  "path": "/laboratory/laboratoryRoom",
                  "parentId": "395",
                  "id": "403"
                },
                "404": {
                  "path": "/laboratory/laboratoryType",
                  "parentId": "395",
                  "id": "404"
                },
                "405": {
                  "path": "/laboratory/reservationmanage",
                  "parentId": "395",
                  "id": "405"
                },
                "406": {
                  "path": "/laboratory/ruleManage",
                  "parentId": "395",
                  "id": "406"
                },
                "407": {
                  "path": "/laboratory/reservations/:laboratoryId/info",
                  "parentId": "395",
                  "id": "407"
                },
                "408": {
                  "path": "/laboratory/regulations",
                  "parentId": "395",
                  "id": "408"
                },
                "409": {
                  "path": "/laboratory/regulations/:laboratoryId/info",
                  "parentId": "395",
                  "id": "409"
                },
                "410": {
                  "path": "/laboratory/regulationsadmins",
                  "parentId": "395",
                  "id": "410"
                },
                "411": {
                  "path": "/laboratory/myLaboratory/:laboratoryId/info",
                  "parentId": "394",
                  "id": "411"
                },
                "412": {
                  "path": "/laboratory/myLaboratory/:laboratoryId/createRoom/:roomId",
                  "parentId": "394",
                  "id": "412"
                },
                "413": {
                  "path": "/laboratory/laboratoryRoom/:roomId",
                  "parentId": "394",
                  "id": "413"
                },
                "414": {
                  "path": "/materials",
                  "parentId": "1",
                  "id": "414"
                },
                "415": {
                  "path": "/materials",
                  "exact": true,
                  "parentId": "414",
                  "id": "415"
                },
                "416": {
                  "path": "/materials/itemAssets",
                  "parentId": "415",
                  "id": "416"
                },
                "417": {
                  "path": "/materials/itemAssetsList",
                  "parentId": "415",
                  "id": "417"
                },
                "418": {
                  "path": "/materials/itemAssetsType",
                  "parentId": "415",
                  "id": "418"
                },
                "419": {
                  "path": "/materials/entry",
                  "parentId": "415",
                  "id": "419"
                },
                "420": {
                  "path": "/materials/log",
                  "parentId": "415",
                  "id": "420"
                },
                "421": {
                  "path": "/materials/procure",
                  "parentId": "415",
                  "id": "421"
                },
                "422": {
                  "path": "/materials/myProcure",
                  "parentId": "415",
                  "id": "422"
                },
                "423": {
                  "path": "/materials/receive",
                  "parentId": "415",
                  "id": "423"
                },
                "424": {
                  "path": "/materials/myReceive",
                  "parentId": "415",
                  "id": "424"
                },
                "425": {
                  "path": "/materials/itemAssets/:itemAssetsId/info",
                  "parentId": "415",
                  "id": "425"
                },
                "426": {
                  "path": "/materials/itemAssets/:itemAssetsId/infoCode",
                  "parentId": "415",
                  "id": "426"
                },
                "427": {
                  "path": "/materials/myReceive/:id/report",
                  "parentId": "414",
                  "id": "427"
                },
                "428": {
                  "path": "/materials/receive/:id/report",
                  "parentId": "414",
                  "id": "428"
                },
                "429": {
                  "path": "/materials/itemAssets/AddReceive/:receiveId",
                  "parentId": "414",
                  "id": "429"
                },
                "430": {
                  "path": "/materials/itemAssets/AddReceiveScene/:receiveId",
                  "parentId": "414",
                  "id": "430"
                },
                "431": {
                  "path": "/materials/itemAssets/AddProcure/:receiveId",
                  "parentId": "414",
                  "id": "431"
                },
                "432": {
                  "path": "/materials/itemAssetsList/createItemAssets/:itemAssetsId",
                  "parentId": "414",
                  "id": "432"
                },
                "433": {
                  "path": "/equipment",
                  "parentId": "1",
                  "id": "433"
                },
                "434": {
                  "path": "/equipment",
                  "exact": true,
                  "parentId": "433",
                  "id": "434"
                },
                "435": {
                  "path": "/equipment/information",
                  "parentId": "434",
                  "id": "435"
                },
                "436": {
                  "path": "/equipment/information/deviceDetails/:id/:flag",
                  "parentId": "434",
                  "id": "436"
                },
                "437": {
                  "path": "/equipment/maintenance",
                  "parentId": "434",
                  "id": "437"
                },
                "438": {
                  "path": "/equipment/bookingManage",
                  "parentId": "434",
                  "id": "438"
                },
                "439": {
                  "path": "/equipment/faultlibrary",
                  "parentId": "434",
                  "id": "439"
                },
                "440": {
                  "path": "/equipment/messageCenterManage",
                  "parentId": "434",
                  "id": "440"
                },
                "441": {
                  "path": "/equipment/actionlog",
                  "parentId": "434",
                  "id": "441"
                },
                "442": {
                  "path": "/equipment/deviceLabel",
                  "parentId": "434",
                  "id": "442"
                },
                "443": {
                  "path": "/equipment/information/reservationInfo/:id",
                  "name": "预约详情",
                  "parentId": "434",
                  "id": "443"
                },
                "444": {
                  "path": "/equipment/working",
                  "parentId": "433",
                  "id": "444"
                },
                "445": {
                  "path": "/equipment/maintenance/:id/details",
                  "parentId": "433",
                  "id": "445"
                },
                "446": {
                  "path": "/equipment/information/deviceEdit/:id",
                  "name": "编辑设备",
                  "parentId": "433",
                  "id": "446"
                },
                "447": {
                  "path": "/wisdom",
                  "parentId": "1",
                  "id": "447"
                },
                "448": {
                  "path": "/wisdom",
                  "parentId": "447",
                  "id": "448"
                },
                "449": {
                  "path": "/deviceManage",
                  "parentId": "1",
                  "id": "449"
                },
                "450": {
                  "path": "/deviceManage",
                  "exact": true,
                  "parentId": "449",
                  "id": "450"
                },
                "451": {
                  "path": "/electronBPManage",
                  "parentId": "1",
                  "id": "451"
                },
                "452": {
                  "path": "/electronBPManage",
                  "exact": true,
                  "parentId": "451",
                  "id": "452"
                },
                "453": {
                  "path": "/viewAppointment",
                  "parentId": "1",
                  "id": "453"
                },
                "454": {
                  "path": "/viewAppointment/:id",
                  "parentId": "453",
                  "id": "454"
                },
                "455": {
                  "path": "/broadcast",
                  "parentId": "1",
                  "id": "455"
                },
                "456": {
                  "path": "/broadcast",
                  "exact": true,
                  "parentId": "455",
                  "id": "456"
                },
                "457": {
                  "path": "/broadcast/:id/detail",
                  "exact": true,
                  "parentId": "455",
                  "id": "457"
                },
                "458": {
                  "path": "/broadcast/:id/addoredit",
                  "exact": true,
                  "parentId": "455",
                  "id": "458"
                },
                "459": {
                  "path": "/magazine",
                  "parentId": "1",
                  "id": "459"
                },
                "460": {
                  "path": "/magazine",
                  "exact": true,
                  "parentId": "459",
                  "id": "460"
                },
                "461": {
                  "path": "/magazine/:id/detail",
                  "componetn": "@/pages/MagazineVer/Detail",
                  "exact": true,
                  "parentId": "459",
                  "id": "461"
                },
                "462": {
                  "path": "/magazinever/mine",
                  "exact": true,
                  "parentId": "459",
                  "id": "462"
                },
                "463": {
                  "path": "/magazine/:id/addoredit",
                  "exact": true,
                  "parentId": "459",
                  "id": "463"
                },
                "464": {
                  "path": "/counselling",
                  "parentId": "1",
                  "id": "464"
                },
                "465": {
                  "path": "/counselling",
                  "exact": true,
                  "parentId": "464",
                  "id": "465"
                },
                "466": {
                  "path": "/counselling/expertList",
                  "parentId": "465",
                  "id": "466"
                },
                "467": {
                  "path": "/counselling/dutySetting",
                  "parentId": "465",
                  "id": "467"
                },
                "468": {
                  "path": "/counselling/expertManage",
                  "parentId": "465",
                  "id": "468"
                },
                "469": {
                  "path": "/counselling/myConsultation",
                  "parentId": "465",
                  "id": "469"
                },
                "470": {
                  "path": "/counselling/myAnswer",
                  "parentId": "465",
                  "id": "470"
                },
                "471": {
                  "path": "/counselling/hotQuestion",
                  "parentId": "465",
                  "id": "471"
                },
                "472": {
                  "path": "/counselling/expertSchedule",
                  "parentId": "465",
                  "id": "472"
                },
                "473": {
                  "path": "/counselling/expertList/:id/info",
                  "parentId": "464",
                  "id": "473"
                },
                "474": {
                  "path": "/counselling/expertList/:id/onlineChat",
                  "parentId": "464",
                  "id": "474"
                },
                "475": {
                  "path": "/counselling/expertList/:id/Detail/:questionId",
                  "parentId": "464",
                  "id": "475"
                },
                "476": {
                  "path": "/counsellingCopy",
                  "parentId": "1",
                  "id": "476"
                },
                "477": {
                  "path": "/counsellingCopy",
                  "exact": true,
                  "parentId": "476",
                  "id": "477"
                },
                "478": {
                  "path": "/counsellingCopy/expertList",
                  "parentId": "477",
                  "id": "478"
                },
                "479": {
                  "path": "/counsellingCopy/dutySetting",
                  "parentId": "477",
                  "id": "479"
                },
                "480": {
                  "path": "/counsellingCopy/expertManage",
                  "parentId": "477",
                  "id": "480"
                },
                "481": {
                  "path": "/counsellingCopy/myConsultation",
                  "parentId": "477",
                  "id": "481"
                },
                "482": {
                  "path": "/counsellingCopy/expertList/:id/info",
                  "parentId": "476",
                  "id": "482"
                },
                "483": {
                  "path": "/counsellingCopy/expertList/:id/onlineChat",
                  "parentId": "476",
                  "id": "483"
                },
                "484": {
                  "path": "/counsellingCopy/expertList/:id/Detail/:questionId",
                  "parentId": "476",
                  "id": "484"
                },
                "485": {
                  "path": "/knowbase",
                  "parentId": "1",
                  "id": "485"
                },
                "486": {
                  "path": "/knowbase",
                  "exact": true,
                  "parentId": "485",
                  "id": "486"
                },
                "487": {
                  "path": "/knowbase/:id/detail",
                  "exact": true,
                  "parentId": "485",
                  "id": "487"
                },
                "488": {
                  "path": "/magazinever",
                  "parentId": "1",
                  "id": "488"
                },
                "489": {
                  "path": "/magazinever",
                  "exact": true,
                  "parentId": "488",
                  "id": "489"
                },
                "490": {
                  "path": "/magazinever/detail",
                  "exact": true,
                  "parentId": "489",
                  "id": "490"
                },
                "491": {
                  "path": "/magazinever/monthlydetails",
                  "exact": true,
                  "parentId": "489",
                  "id": "491"
                },
                "492": {
                  "path": "/magazinever/monthlyadmins",
                  "exact": true,
                  "parentId": "489",
                  "id": "492"
                },
                "493": {
                  "path": "/magazinever/comment",
                  "exact": true,
                  "parentId": "489",
                  "id": "493"
                },
                "494": {
                  "path": "/magazinever/submission",
                  "exact": true,
                  "parentId": "489",
                  "id": "494"
                },
                "495": {
                  "path": "/magazinever/Journal",
                  "exact": true,
                  "parentId": "489",
                  "id": "495"
                },
                "496": {
                  "path": "/magazinever/review",
                  "exact": true,
                  "parentId": "489",
                  "id": "496"
                },
                "497": {
                  "path": "/magazinever/ind",
                  "exact": true,
                  "parentId": "489",
                  "id": "497"
                },
                "498": {
                  "path": "/magazinever/:id/detail",
                  "exact": true,
                  "parentId": "489",
                  "id": "498"
                },
                "499": {
                  "path": "/magazinever/mine",
                  "exact": true,
                  "parentId": "489",
                  "id": "499"
                },
                "500": {
                  "path": "/magazinever/:id/addoredit",
                  "exact": true,
                  "parentId": "489",
                  "id": "500"
                },
                "501": {
                  "path": "/magazinever/monthlyadmins/add",
                  "exact": true,
                  "parentId": "488",
                  "id": "501"
                },
                "502": {
                  "path": "/magazinever/monthlyadmins/:id/prview",
                  "exact": true,
                  "parentId": "488",
                  "id": "502"
                },
                "503": {
                  "path": "/magazinever/monthlyadmins/edit/:id",
                  "exact": true,
                  "parentId": "488",
                  "id": "503"
                },
                "504": {
                  "path": "/educoder-demo",
                  "exact": true,
                  "parentId": "1",
                  "id": "504"
                },
                "505": {
                  "path": "/test",
                  "exact": true,
                  "parentId": "1",
                  "id": "505"
                },
                "506": {
                  "path": "/training",
                  "parentId": "1",
                  "id": "506"
                },
                "507": {
                  "name": "精培课程",
                  "path": "/training",
                  "parentId": "506",
                  "id": "507"
                },
                "508": {
                  "path": "/otherlogin",
                  "exact": true,
                  "parentId": "1",
                  "id": "508"
                },
                "509": {
                  "path": "/otherloginqq",
                  "exact": true,
                  "parentId": "1",
                  "id": "509"
                },
                "510": {
                  "path": "/otherloginstart",
                  "exact": true,
                  "parentId": "1",
                  "id": "510"
                },
                "511": {
                  "path": "/pathsoverview",
                  "exact": true,
                  "parentId": "1",
                  "id": "511"
                },
                "512": {
                  "path": "/shixunsoverview",
                  "exact": true,
                  "parentId": "1",
                  "id": "512"
                },
                "513": {
                  "path": "/classroomsoverview",
                  "exact": true,
                  "parentId": "1",
                  "id": "513"
                },
                "514": {
                  "path": "/login",
                  "parentId": "1",
                  "id": "514"
                },
                "515": {
                  "path": "/login",
                  "parentId": "514",
                  "id": "515"
                },
                "516": {
                  "path": "/user",
                  "parentId": "1",
                  "id": "516"
                },
                "517": {
                  "path": "/user/login",
                  "parentId": "516",
                  "id": "517"
                },
                "518": {
                  "path": "/user/register",
                  "parentId": "516",
                  "id": "518"
                },
                "519": {
                  "path": "/user/reset-password",
                  "parentId": "516",
                  "id": "519"
                },
                "520": {
                  "path": "/colleges",
                  "parentId": "1",
                  "id": "520"
                },
                "521": {
                  "path": "/colleges/:id/statistics",
                  "parentId": "520",
                  "id": "521"
                },
                "522": {
                  "path": "/help",
                  "parentId": "1",
                  "id": "522"
                },
                "523": {
                  "path": "/help/:id",
                  "parentId": "522",
                  "id": "523"
                },
                "524": {
                  "path": "/video",
                  "parentId": "1",
                  "id": "524"
                },
                "525": {
                  "path": "/video/:videoId",
                  "parentId": "524",
                  "id": "525"
                },
                "526": {
                  "path": "/terminal",
                  "parentId": "1",
                  "id": "526"
                },
                "527": {
                  "path": "/report/:taskId/:game_report_id",
                  "parentId": "1",
                  "id": "527"
                },
                "528": {
                  "path": "/reservation",
                  "parentId": "1",
                  "id": "528"
                },
                "529": {
                  "path": "/reservation/list",
                  "parentId": "528",
                  "id": "529"
                },
                "530": {
                  "path": "/reservationDetail",
                  "parentId": "1",
                  "id": "530"
                },
                "531": {
                  "path": "/reservationDetail/:id",
                  "parentId": "530",
                  "id": "531"
                },
                "532": {
                  "path": "/homeEntrance",
                  "parentId": "1",
                  "id": "532"
                },
                "533": {
                  "path": "/homeEntranceClassify",
                  "parentId": "1",
                  "id": "533"
                },
                "534": {
                  "path": "/ythSys",
                  "parentId": "1",
                  "id": "534"
                },
                "535": {
                  "path": "/bwyxy",
                  "parentId": "1",
                  "id": "535"
                },
                "536": {
                  "path": "/defendCloud",
                  "parentId": "1",
                  "id": "536"
                },
                "537": {
                  "path": "/officialNotice",
                  "parentId": "1",
                  "id": "537"
                },
                "538": {
                  "path": "/officialList",
                  "parentId": "1",
                  "id": "538"
                },
                "539": {
                  "path": "/laboratoryOverview",
                  "parentId": "1",
                  "id": "539"
                },
                "540": {
                  "path": "/cloudStudy",
                  "parentId": "1",
                  "id": "540"
                },
                "541": {
                  "path": "/cloudStudy/:id/detail",
                  "parentId": "1",
                  "id": "541"
                },
                "542": {
                  "path": "/practices",
                  "parentId": "1",
                  "id": "542"
                },
                "543": {
                  "path": "/practices/:id/detail",
                  "parentId": "1",
                  "id": "543"
                },
                "544": {
                  "path": "/cloudhotline",
                  "parentId": "1",
                  "id": "544"
                },
                "545": {
                  "path": "/monthlypreview/:id",
                  "exact": true,
                  "parentId": "1",
                  "id": "545"
                },
                "546": {
                  "path": "/",
                  "parentId": "1",
                  "id": "546"
                },
                "547": {
                  "path": "/",
                  "exact": true,
                  "parentId": "546",
                  "id": "547"
                },
                "548": {
                  "path": "/api/*",
                  "exact": true,
                  "parentId": "546",
                  "id": "548"
                },
                "549": {
                  "path": "/search",
                  "exact": true,
                  "parentId": "546",
                  "id": "549"
                },
                "550": {
                  "path": "/moop_cases",
                  "exact": true,
                  "parentId": "546",
                  "id": "550"
                },
                "551": {
                  "path": "/moop_cases/new",
                  "exact": true,
                  "parentId": "546",
                  "id": "551"
                },
                "552": {
                  "path": "/moop_cases/:caseId",
                  "exact": true,
                  "parentId": "546",
                  "id": "552"
                },
                "553": {
                  "path": "/moop_cases/:caseId/edit",
                  "exact": true,
                  "parentId": "546",
                  "id": "553"
                },
                "554": {
                  "path": "/moop_cases/:caseId/publish-success",
                  "exact": true,
                  "parentId": "546",
                  "id": "554"
                },
                "555": {
                  "path": "/randompaper",
                  "exact": true,
                  "parentId": "546",
                  "id": "555"
                },
                "556": {
                  "path": "/randompaper/edit/:id",
                  "exact": true,
                  "parentId": "546",
                  "id": "556"
                },
                "557": {
                  "path": "/randompaper/detail/:id",
                  "exact": true,
                  "parentId": "546",
                  "id": "557"
                },
                "558": {
                  "path": "/403",
                  "parentId": "546",
                  "id": "558"
                },
                "559": {
                  "path": "/500",
                  "parentId": "546",
                  "id": "559"
                },
                "560": {
                  "path": "/404",
                  "parentId": "546",
                  "id": "560"
                },
                "561": {
                  "path": "/iwce",
                  "parentId": "546",
                  "id": "561"
                },
                "562": {
                  "path": "/Activities",
                  "parentId": "546",
                  "id": "562"
                },
                "563": {
                  "path": "/iwce/:itemname",
                  "parentId": "546",
                  "id": "563"
                },
                "564": {
                  "path": "/hpc-course",
                  "parentId": "546",
                  "id": "564"
                },
                "565": {
                  "path": "/user_agents",
                  "parentId": "546",
                  "id": "565"
                },
                "566": {
                  "path": "/three",
                  "parentId": "546",
                  "id": "566"
                },
                "567": {
                  "path": "/introduction",
                  "parentId": "546",
                  "id": "567"
                },
                "568": {
                  "path": "/chatgpt",
                  "parentId": "546",
                  "id": "568"
                },
                "569": {
                  "path": "/*",
                  "parentId": "546",
                  "id": "569"
                },
                "@@/global-layout": {
                  "id": "@@/global-layout",
                  "path": "/",
                  "isLayout": true
                }
              };
              return _context.abrupt("return", {
                routes: routes,
                routeComponents: {
                  '1': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return __webpack_require__.e(/*! import() */ 6064).then(__webpack_require__.bind(__webpack_require__, /*! ./EmptyRoute */ 6064));
                  }),
                  '2': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return __webpack_require__.e(/*! import() */ 6064).then(__webpack_require__.bind(__webpack_require__, /*! ./EmptyRoute */ 6064));
                  }),
                  '3': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | layouts__SimpleLayouts */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(9951), __webpack_require__.e(6056), __webpack_require__.e(29378), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(19386), __webpack_require__.e(40257), __webpack_require__.e(37062)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/SimpleLayouts.tsx */ 10399));
                  }),
                  '4': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Paperlibrary__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(61621), __webpack_require__.e(5871), __webpack_require__.e(99313), __webpack_require__.e(29378), __webpack_require__.e(40257), __webpack_require__.e(828), __webpack_require__.e(7096), __webpack_require__.e(18151), __webpack_require__.e(97120), __webpack_require__.e(62593), __webpack_require__.e(54862)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Paperlibrary/index.tsx */ 714));
                  }),
                  '5': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Paperlibrary__Add__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(93948), __webpack_require__.e(61621), __webpack_require__.e(5871), __webpack_require__.e(71409), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(99313), __webpack_require__.e(19842), __webpack_require__.e(36381), __webpack_require__.e(56156), __webpack_require__.e(43141), __webpack_require__.e(44538), __webpack_require__.e(2805), __webpack_require__.e(63976), __webpack_require__.e(93260)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Paperlibrary/Add/index.tsx */ 24506));
                  }),
                  '6': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Paperlibrary__Add__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(93948), __webpack_require__.e(61621), __webpack_require__.e(5871), __webpack_require__.e(71409), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(99313), __webpack_require__.e(19842), __webpack_require__.e(36381), __webpack_require__.e(56156), __webpack_require__.e(43141), __webpack_require__.e(44538), __webpack_require__.e(2805), __webpack_require__.e(63976), __webpack_require__.e(93260)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Paperlibrary/Add/index.tsx */ 24506));
                  }),
                  '7': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Paperlibrary__See__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(61621), __webpack_require__.e(5871), __webpack_require__.e(19208), __webpack_require__.e(44164), __webpack_require__.e(86129), __webpack_require__.e(88699), __webpack_require__.e(828), __webpack_require__.e(18151), __webpack_require__.e(97120), __webpack_require__.e(62593), __webpack_require__.e(53247)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Paperlibrary/See/index.tsx */ 98346));
                  }),
                  '8': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Problemset__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(5871), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(99313), __webpack_require__.e(43428), __webpack_require__.e(3278), __webpack_require__.e(68998), __webpack_require__.e(45284), __webpack_require__.e(29378), __webpack_require__.e(40257), __webpack_require__.e(828), __webpack_require__.e(7096), __webpack_require__.e(14599)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Problemset/index.tsx */ 62932));
                  }),
                  '9': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Paperlibrary__Random__ExchangeFromProblemSet__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(5871), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(99313), __webpack_require__.e(43428), __webpack_require__.e(3278), __webpack_require__.e(68998), __webpack_require__.e(45284), __webpack_require__.e(29378), __webpack_require__.e(40257), __webpack_require__.e(828), __webpack_require__.e(7096), __webpack_require__.e(14599), __webpack_require__.e(11545)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Paperlibrary/Random/ExchangeFromProblemSet/index.tsx */ 77759));
                  }),
                  '10': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | layouts__SimpleLayouts */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(9951), __webpack_require__.e(6056), __webpack_require__.e(29378), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(19386), __webpack_require__.e(40257), __webpack_require__.e(37062)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/SimpleLayouts.tsx */ 10399));
                  }),
                  '11': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Paths__Index__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(76411), __webpack_require__.e(42441), __webpack_require__.e(62945), __webpack_require__.e(42416), __webpack_require__.e(29378), __webpack_require__.e(40257), __webpack_require__.e(30765), __webpack_require__.e(86052)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Paths/Index/index.tsx */ 56458));
                  }),
                  '12': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Paths__HigherVocationalEducation__index */[__webpack_require__.e(46573), __webpack_require__.e(81379), __webpack_require__.e(61621), __webpack_require__.e(62945), __webpack_require__.e(5572)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Paths/HigherVocationalEducation/index.tsx */ 74255));
                  }),
                  '13': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Paths__New__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(93948), __webpack_require__.e(5871), __webpack_require__.e(71409), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(19842), __webpack_require__.e(38359), __webpack_require__.e(41854), __webpack_require__.e(45284), __webpack_require__.e(84581), __webpack_require__.e(28982)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Paths/New/index.tsx */ 86391));
                  }),
                  '14': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Guidance__index */[__webpack_require__.e(61621), __webpack_require__.e(50869)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Guidance/index.tsx */ 11733));
                  }),
                  '15': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Paths__Detail__id */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(93948), __webpack_require__.e(61621), __webpack_require__.e(5871), __webpack_require__.e(71409), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(7172), __webpack_require__.e(99313), __webpack_require__.e(51417), __webpack_require__.e(47119), __webpack_require__.e(76411), __webpack_require__.e(42441), __webpack_require__.e(43428), __webpack_require__.e(19842), __webpack_require__.e(44164), __webpack_require__.e(2191), __webpack_require__.e(96249), __webpack_require__.e(45152), __webpack_require__.e(96449), __webpack_require__.e(91384), __webpack_require__.e(29378), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(19386), __webpack_require__.e(40257), __webpack_require__.e(98810), __webpack_require__.e(14799), __webpack_require__.e(23332)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Paths/Detail/[id].tsx */ 37515));
                  }),
                  '16': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Paths__Detail__Statistics__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(61621), __webpack_require__.e(99313), __webpack_require__.e(51417), __webpack_require__.e(47119), __webpack_require__.e(76411), __webpack_require__.e(42441), __webpack_require__.e(34601)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Paths/Detail/Statistics/index.tsx */ 22063));
                  }),
                  '17': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Paths__New__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(93948), __webpack_require__.e(5871), __webpack_require__.e(71409), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(19842), __webpack_require__.e(38359), __webpack_require__.e(41854), __webpack_require__.e(45284), __webpack_require__.e(84581), __webpack_require__.e(28982)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Paths/New/index.tsx */ 86391));
                  }),
                  '18': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | layouts__SimpleLayouts */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(9951), __webpack_require__.e(6056), __webpack_require__.e(29378), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(19386), __webpack_require__.e(40257), __webpack_require__.e(37062)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/SimpleLayouts.tsx */ 10399));
                  }),
                  '19': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Classrooms__Index__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(61621), __webpack_require__.e(7172), __webpack_require__.e(23997), __webpack_require__.e(91384), __webpack_require__.e(29378), __webpack_require__.e(40257), __webpack_require__.e(7096), __webpack_require__.e(26685)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Index/index.tsx */ 77038));
                  }),
                  '20': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Classrooms__ExamList__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(58421), __webpack_require__.e(61621), __webpack_require__.e(79921)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/ExamList/index.tsx */ 35451));
                  }),
                  '21': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Classrooms__ClassicCases__index */[__webpack_require__.e(61621), __webpack_require__.e(31674)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/ClassicCases/index.tsx */ 56484));
                  }),
                  '22': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Classrooms__Index__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(61621), __webpack_require__.e(7172), __webpack_require__.e(23997), __webpack_require__.e(91384), __webpack_require__.e(29378), __webpack_require__.e(40257), __webpack_require__.e(7096), __webpack_require__.e(26685)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Index/index.tsx */ 77038));
                  }),
                  '23': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Classrooms__New__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(78782), __webpack_require__.e(51417), __webpack_require__.e(47119), __webpack_require__.e(19842), __webpack_require__.e(14527), __webpack_require__.e(84581), __webpack_require__.e(1702)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/New/index.tsx */ 82845));
                  }),
                  '24': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Classrooms__New__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(78782), __webpack_require__.e(51417), __webpack_require__.e(47119), __webpack_require__.e(19842), __webpack_require__.e(14527), __webpack_require__.e(84581), __webpack_require__.e(1702)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/New/index.tsx */ 82845));
                  }),
                  '25': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Classrooms__New__StartClass__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(78782), __webpack_require__.e(5871), __webpack_require__.e(51417), __webpack_require__.e(47119), __webpack_require__.e(19842), __webpack_require__.e(14527), __webpack_require__.e(84581), __webpack_require__.e(96882)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/New/StartClass/index.tsx */ 6828));
                  }),
                  '26': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Classrooms__New__StartClass__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(78782), __webpack_require__.e(5871), __webpack_require__.e(51417), __webpack_require__.e(47119), __webpack_require__.e(19842), __webpack_require__.e(14527), __webpack_require__.e(84581), __webpack_require__.e(96882)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/New/StartClass/index.tsx */ 6828));
                  }),
                  '27': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Classrooms__Lists__ShixunHomeworks__Detail__components__CodeReview__Detail__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(5871), __webpack_require__.e(90109)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/ShixunHomeworks/Detail/components/CodeReview/Detail/index.tsx */ 27763));
                  }),
                  '28': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Classrooms__Lists__CommonHomework__Detail__components__CodeReview__Detail__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(10737)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/CommonHomework/Detail/components/CodeReview/Detail/index.tsx */ 57689));
                  }),
                  '29': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Classrooms__Lists__ProgramHomework__Detail__components__CodeReview__Detail__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(5871), __webpack_require__.e(3391)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/ProgramHomework/Detail/components/CodeReview/Detail/index.tsx */ 91361));
                  }),
                  '30': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Classrooms__Lists__ShixunHomeworks__Detail__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(5871), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(99313), __webpack_require__.e(51417), __webpack_require__.e(47119), __webpack_require__.e(76411), __webpack_require__.e(42441), __webpack_require__.e(59183), __webpack_require__.e(52057), __webpack_require__.e(45284), __webpack_require__.e(29378), __webpack_require__.e(828), __webpack_require__.e(6295), __webpack_require__.e(13581)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/ShixunHomeworks/Detail/index.tsx */ 83208));
                  }),
                  '31': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Classrooms__Lists__ShixunHomeworks__Comment__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(61621), __webpack_require__.e(5871), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(76411), __webpack_require__.e(42441), __webpack_require__.e(19208), __webpack_require__.e(44164), __webpack_require__.e(86129), __webpack_require__.e(28683), __webpack_require__.e(45284), __webpack_require__.e(30342)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/ShixunHomeworks/Comment/index.tsx */ 84264));
                  }),
                  '32': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Classrooms__Lists__CommonHomework__Comment__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(61621), __webpack_require__.e(5871), __webpack_require__.e(19208), __webpack_require__.e(44164), __webpack_require__.e(86129), __webpack_require__.e(12303)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/CommonHomework/Comment/index.tsx */ 83269));
                  }),
                  '33': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Classrooms__Lists__ShixunHomeworks__Commitsummary__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(5871), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(69429), __webpack_require__.e(45284), __webpack_require__.e(71450)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/ShixunHomeworks/Commitsummary/index.tsx */ 34815));
                  }),
                  '34': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Classrooms__Lists__GroupHomework__Detail__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(93948), __webpack_require__.e(61621), __webpack_require__.e(5871), __webpack_require__.e(71409), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(99313), __webpack_require__.e(51417), __webpack_require__.e(47119), __webpack_require__.e(19208), __webpack_require__.e(86129), __webpack_require__.e(2859), __webpack_require__.e(59183), __webpack_require__.e(6295), __webpack_require__.e(74582), __webpack_require__.e(10195)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/GroupHomework/Detail/index.tsx */ 44514));
                  }),
                  '35': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Classrooms__Lists__CommonHomework__Detail__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(93948), __webpack_require__.e(5871), __webpack_require__.e(71409), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(99313), __webpack_require__.e(51417), __webpack_require__.e(47119), __webpack_require__.e(19208), __webpack_require__.e(86129), __webpack_require__.e(2859), __webpack_require__.e(59183), __webpack_require__.e(16477), __webpack_require__.e(29378), __webpack_require__.e(6295), __webpack_require__.e(838), __webpack_require__.e(93668)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/CommonHomework/Detail/index.tsx */ 26835));
                  }),
                  '36': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Classrooms__Lists__CommonHomework__Review__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(93948), __webpack_require__.e(5871), __webpack_require__.e(71409), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(2859), __webpack_require__.e(88362), __webpack_require__.e(45284), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(19386), __webpack_require__.e(60783), __webpack_require__.e(52338)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/CommonHomework/Review/index.tsx */ 10659));
                  }),
                  '37': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Classrooms__Lists__GroupHomework__Review__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(93948), __webpack_require__.e(5871), __webpack_require__.e(71409), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(2859), __webpack_require__.e(48866), __webpack_require__.e(45284), __webpack_require__.e(60783), __webpack_require__.e(14662)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/GroupHomework/Review/index.tsx */ 58007));
                  }),
                  '38': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Classrooms__Lists__GroupHomework__SubmitWork__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(93948), __webpack_require__.e(5871), __webpack_require__.e(71409), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(58358), __webpack_require__.e(45284), __webpack_require__.e(60783), __webpack_require__.e(28072)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/GroupHomework/SubmitWork/index.tsx */ 99441));
                  }),
                  '39': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Classrooms__Lists__GroupHomework__EditWork__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(93948), __webpack_require__.e(5871), __webpack_require__.e(71409), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(48242), __webpack_require__.e(45284), __webpack_require__.e(60783), __webpack_require__.e(60479)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/GroupHomework/EditWork/index.tsx */ 79999));
                  }),
                  '40': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Classrooms__Lists__Exercise__Detail__components__DuplicateChecking__CheckDetail__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(5871), __webpack_require__.e(85297)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Exercise/Detail/components/DuplicateChecking/CheckDetail/index.tsx */ 7748));
                  }),
                  '41': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Classrooms__Lists__Exercise__Detail__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(93948), __webpack_require__.e(61621), __webpack_require__.e(5871), __webpack_require__.e(71409), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(7172), __webpack_require__.e(99313), __webpack_require__.e(51417), __webpack_require__.e(47119), __webpack_require__.e(76411), __webpack_require__.e(42441), __webpack_require__.e(36381), __webpack_require__.e(56156), __webpack_require__.e(43141), __webpack_require__.e(99099), __webpack_require__.e(25452), __webpack_require__.e(91384), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(19386), __webpack_require__.e(6295), __webpack_require__.e(63976), __webpack_require__.e(73121), __webpack_require__.e(51075), __webpack_require__.e(54164)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Exercise/Detail/index.tsx */ 38325));
                  }),
                  '42': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Problemset__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(5871), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(99313), __webpack_require__.e(43428), __webpack_require__.e(3278), __webpack_require__.e(68998), __webpack_require__.e(45284), __webpack_require__.e(29378), __webpack_require__.e(40257), __webpack_require__.e(828), __webpack_require__.e(7096), __webpack_require__.e(14599)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Problemset/index.tsx */ 62932));
                  }),
                  '43': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Classrooms__Lists__Exercise__ImitateAnswer__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(93948), __webpack_require__.e(61621), __webpack_require__.e(5871), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(56156), __webpack_require__.e(79817), __webpack_require__.e(45284), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(19386), __webpack_require__.e(92081), __webpack_require__.e(14889)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Exercise/ImitateAnswer/index.tsx */ 23558));
                  }),
                  '44': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Classrooms__Lists__Exercise__Answer__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(93948), __webpack_require__.e(61621), __webpack_require__.e(5871), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(56156), __webpack_require__.e(96249), __webpack_require__.e(79817), __webpack_require__.e(15845), __webpack_require__.e(49843), __webpack_require__.e(45284), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(19386), __webpack_require__.e(92081), __webpack_require__.e(14105)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Exercise/Answer/index.tsx */ 73389));
                  }),
                  '45': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Classrooms__Lists__Exercise__Notice__index */[__webpack_require__.e(61621), __webpack_require__.e(17482)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Exercise/Notice/index.tsx */ 68715));
                  }),
                  '46': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Paperlibrary__Random__Edit__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(93948), __webpack_require__.e(61621), __webpack_require__.e(5871), __webpack_require__.e(71409), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(7172), __webpack_require__.e(99313), __webpack_require__.e(19842), __webpack_require__.e(36381), __webpack_require__.e(56156), __webpack_require__.e(43141), __webpack_require__.e(44538), __webpack_require__.e(91384), __webpack_require__.e(63976), __webpack_require__.e(75816)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Paperlibrary/Random/Edit/index.tsx */ 37972));
                  }),
                  '47': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Paperlibrary__Random__PreviewEdit__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(93948), __webpack_require__.e(61621), __webpack_require__.e(5871), __webpack_require__.e(71409), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(7172), __webpack_require__.e(36381), __webpack_require__.e(56156), __webpack_require__.e(44538), __webpack_require__.e(45284), __webpack_require__.e(91384), __webpack_require__.e(60783), __webpack_require__.e(63976), __webpack_require__.e(90337)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Paperlibrary/Random/PreviewEdit/index.tsx */ 12985));
                  }),
                  '48': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Classrooms__Lists__Exercise__Add__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(93948), __webpack_require__.e(61621), __webpack_require__.e(5871), __webpack_require__.e(71409), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(99313), __webpack_require__.e(51417), __webpack_require__.e(47119), __webpack_require__.e(19842), __webpack_require__.e(36381), __webpack_require__.e(56156), __webpack_require__.e(43141), __webpack_require__.e(90557), __webpack_require__.e(63976), __webpack_require__.e(292)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Exercise/Add/index.tsx */ 61135));
                  }),
                  '49': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Classrooms__Lists__Exercise__Add__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(93948), __webpack_require__.e(61621), __webpack_require__.e(5871), __webpack_require__.e(71409), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(99313), __webpack_require__.e(51417), __webpack_require__.e(47119), __webpack_require__.e(19842), __webpack_require__.e(36381), __webpack_require__.e(56156), __webpack_require__.e(43141), __webpack_require__.e(90557), __webpack_require__.e(63976), __webpack_require__.e(292)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Exercise/Add/index.tsx */ 61135));
                  }),
                  '50': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Classrooms__Lists__Exercise__ReviewGroup__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(5871), __webpack_require__.e(79817), __webpack_require__.e(1594), __webpack_require__.e(45992)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Exercise/ReviewGroup/index.tsx */ 87153));
                  }),
                  '51': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Classrooms__Lists__Exercise__Review__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(93948), __webpack_require__.e(61621), __webpack_require__.e(5871), __webpack_require__.e(71409), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(7172), __webpack_require__.e(99313), __webpack_require__.e(43428), __webpack_require__.e(44164), __webpack_require__.e(59183), __webpack_require__.e(11611), __webpack_require__.e(50658), __webpack_require__.e(91384), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(19386), __webpack_require__.e(73121), __webpack_require__.e(78085)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Exercise/Review/index.tsx */ 49448));
                  }),
                  '52': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Classrooms__Lists__Exercise__Review__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(93948), __webpack_require__.e(61621), __webpack_require__.e(5871), __webpack_require__.e(71409), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(7172), __webpack_require__.e(99313), __webpack_require__.e(43428), __webpack_require__.e(44164), __webpack_require__.e(59183), __webpack_require__.e(11611), __webpack_require__.e(50658), __webpack_require__.e(91384), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(19386), __webpack_require__.e(73121), __webpack_require__.e(78085)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Exercise/Review/index.tsx */ 49448));
                  }),
                  '53': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Classrooms__Lists__Exercise__Export__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(93948), __webpack_require__.e(5871), __webpack_require__.e(71409), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(19208), __webpack_require__.e(44164), __webpack_require__.e(86129), __webpack_require__.e(59183), __webpack_require__.e(45284), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(19386), __webpack_require__.e(73121), __webpack_require__.e(48431)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Exercise/Export/index.tsx */ 50525));
                  }),
                  '54': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Classrooms__Lists__Exercise__Export__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(93948), __webpack_require__.e(5871), __webpack_require__.e(71409), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(19208), __webpack_require__.e(44164), __webpack_require__.e(86129), __webpack_require__.e(59183), __webpack_require__.e(45284), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(19386), __webpack_require__.e(73121), __webpack_require__.e(48431)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Exercise/Export/index.tsx */ 50525));
                  }),
                  '55': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Classrooms__Lists__Exercise__DetailedAnalysis__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(99313), __webpack_require__.e(95125)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Exercise/DetailedAnalysis/index.tsx */ 35550));
                  }),
                  '56': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Classrooms__Lists__Exercise__DetailedAnalysis__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(99313), __webpack_require__.e(95125)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Exercise/DetailedAnalysis/index.tsx */ 35550));
                  }),
                  '57': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Classrooms__Lists__Exercise__CodeDetails__index */[__webpack_require__.e(58106), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(61621), __webpack_require__.e(10921)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Exercise/CodeDetails/index.tsx */ 35090));
                  }),
                  '58': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Classrooms__Lists__Exercise__CodeDetails__index */[__webpack_require__.e(58106), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(61621), __webpack_require__.e(10921)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Exercise/CodeDetails/index.tsx */ 35090));
                  }),
                  '59': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Classrooms__Lists__Graduation__Topics__Detail__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(5871), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(99313), __webpack_require__.e(66158), __webpack_require__.e(45284), __webpack_require__.e(21578)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Graduation/Topics/Detail/index.tsx */ 44119));
                  }),
                  '60': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Classrooms__Lists__Graduation__Topics__Add__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(78782), __webpack_require__.e(5871), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(19842), __webpack_require__.e(37179), __webpack_require__.e(45284), __webpack_require__.e(84581), __webpack_require__.e(3317)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Graduation/Topics/Add/index.tsx */ 37107));
                  }),
                  '61': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Classrooms__Lists__Graduation__Topics__Edit__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(78782), __webpack_require__.e(5871), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(19842), __webpack_require__.e(24297), __webpack_require__.e(45284), __webpack_require__.e(84581), __webpack_require__.e(1482)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Graduation/Topics/Edit/index.tsx */ 88977));
                  }),
                  '62': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Classrooms__Lists__Graduation__Tasks__Add__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(93948), __webpack_require__.e(5871), __webpack_require__.e(71409), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(27789), __webpack_require__.e(45284), __webpack_require__.e(60783), __webpack_require__.e(74795)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Graduation/Tasks/Add/index.tsx */ 81646));
                  }),
                  '63': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Classrooms__Lists__Graduation__Tasks__Edit__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(93948), __webpack_require__.e(5871), __webpack_require__.e(71409), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(7880), __webpack_require__.e(45284), __webpack_require__.e(60783), __webpack_require__.e(20026)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Graduation/Tasks/Edit/index.tsx */ 53210));
                  }),
                  '64': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Classrooms__Lists__Graduation__Tasks__Detail__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(5871), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(99313), __webpack_require__.e(49029), __webpack_require__.e(45284), __webpack_require__.e(68882)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Graduation/Tasks/Detail/index.tsx */ 14350));
                  }),
                  '65': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Classrooms__Lists__CommonHomework__Add__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(93948), __webpack_require__.e(5871), __webpack_require__.e(71409), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(41371), __webpack_require__.e(45284), __webpack_require__.e(60783), __webpack_require__.e(2471), __webpack_require__.e(85888)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/CommonHomework/Add/index.tsx */ 67071));
                  }),
                  '66': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Classrooms__Lists__CommonHomework__Edit__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(93948), __webpack_require__.e(5871), __webpack_require__.e(71409), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(11553), __webpack_require__.e(45284), __webpack_require__.e(60783), __webpack_require__.e(2471), __webpack_require__.e(19715)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/CommonHomework/Edit/index.tsx */ 30725));
                  }),
                  '67': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Classrooms__Lists__CommonHomework__SubmitWork__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(93948), __webpack_require__.e(5871), __webpack_require__.e(71409), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(45723), __webpack_require__.e(45284), __webpack_require__.e(60783), __webpack_require__.e(57045)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/CommonHomework/SubmitWork/index.tsx */ 49317));
                  }),
                  '68': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Classrooms__Lists__CommonHomework__EditWork__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(93948), __webpack_require__.e(5871), __webpack_require__.e(71409), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(20175), __webpack_require__.e(45284), __webpack_require__.e(60783), __webpack_require__.e(31211)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/CommonHomework/EditWork/index.tsx */ 46224));
                  }),
                  '69': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Classrooms__Lists__GroupHomework__Add__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(93948), __webpack_require__.e(5871), __webpack_require__.e(71409), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(3151), __webpack_require__.e(45284), __webpack_require__.e(60783), __webpack_require__.e(2471), __webpack_require__.e(51582)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/GroupHomework/Add/index.tsx */ 64073));
                  }),
                  '70': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Classrooms__Lists__GroupHomework__Edit__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(93948), __webpack_require__.e(5871), __webpack_require__.e(71409), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(34479), __webpack_require__.e(45284), __webpack_require__.e(60783), __webpack_require__.e(2471), __webpack_require__.e(16729)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/GroupHomework/Edit/index.tsx */ 52519));
                  }),
                  '71': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Classrooms__Lists__Polls__Add__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(5871), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(15128), __webpack_require__.e(45284), __webpack_require__.e(71948), __webpack_require__.e(39695)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Polls/Add/index.tsx */ 68120));
                  }),
                  '72': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Classrooms__Lists__Polls__Edit__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(5871), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(15128), __webpack_require__.e(45284), __webpack_require__.e(71948), __webpack_require__.e(28723)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Polls/Edit/index.tsx */ 71948));
                  }),
                  '73': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Classrooms__Lists__Polls__Detail__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(93948), __webpack_require__.e(61621), __webpack_require__.e(5871), __webpack_require__.e(99313), __webpack_require__.e(51417), __webpack_require__.e(47119), __webpack_require__.e(19208), __webpack_require__.e(44164), __webpack_require__.e(86129), __webpack_require__.e(828), __webpack_require__.e(97120), __webpack_require__.e(17622)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Polls/Detail/index.tsx */ 18491));
                  }),
                  '74': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Classrooms__Lists__Polls__Answer__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(79817), __webpack_require__.e(8112), __webpack_require__.e(65148)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Polls/Answer/index.tsx */ 7506));
                  }),
                  '75': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Classrooms__Lists__Board__Add__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(93948), __webpack_require__.e(5871), __webpack_require__.e(71409), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(40879), __webpack_require__.e(45284), __webpack_require__.e(60783), __webpack_require__.e(43442)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Board/Add/index.tsx */ 21822));
                  }),
                  '76': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Classrooms__Lists__Board__Edit__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(93948), __webpack_require__.e(5871), __webpack_require__.e(71409), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(11224), __webpack_require__.e(45284), __webpack_require__.e(60783), __webpack_require__.e(12102)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Board/Edit/index.tsx */ 45273));
                  }),
                  '77': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Classrooms__Lists__Board__Detail__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(5871), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(85350), __webpack_require__.e(45284), __webpack_require__.e(82425)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Board/Detail/index.tsx */ 61876));
                  }),
                  '78': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Classrooms__Lists__Template__teacher__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(5871), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(87865), __webpack_require__.e(81290), __webpack_require__.e(45284), __webpack_require__.e(52404)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Template/teacher/index.tsx */ 24466));
                  }),
                  '79': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Classrooms__Lists__Template__student__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(5871), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(27139), __webpack_require__.e(45284), __webpack_require__.e(89785)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Template/student/index.tsx */ 89105));
                  }),
                  '80': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Guidance__index */[__webpack_require__.e(61621), __webpack_require__.e(50869)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Guidance/index.tsx */ 11733));
                  }),
                  '81': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Classrooms__Lists__Template__detail__index */[__webpack_require__.e(58106), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(61621), __webpack_require__.e(44164), __webpack_require__.e(2819)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Template/detail/index.tsx */ 80540));
                  }),
                  '82': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Classrooms__Lists__Exercise__AnswerCheck__index */[__webpack_require__.e(93948), __webpack_require__.e(61621), __webpack_require__.e(19208), __webpack_require__.e(15845), __webpack_require__.e(45413), __webpack_require__.e(73889), __webpack_require__.e(11512)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Exercise/AnswerCheck/index.tsx */ 51799));
                  }),
                  '83': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Classrooms__Lists__Statistics__StudentDetail__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(99313), __webpack_require__.e(27395)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Statistics/StudentDetail/index.tsx */ 19567));
                  }),
                  '84': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Classrooms__Lists__Statistics__StudentSituation__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(61621), __webpack_require__.e(99313), __webpack_require__.e(3585)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Statistics/StudentSituation/index.tsx */ 51192));
                  }),
                  '85': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Classrooms__Lists__Engineering__Detail__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(73755), __webpack_require__.e(46963)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Engineering/Detail/index.tsx */ 66766));
                  }),
                  '86': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Problemset__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(5871), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(99313), __webpack_require__.e(43428), __webpack_require__.e(3278), __webpack_require__.e(68998), __webpack_require__.e(45284), __webpack_require__.e(29378), __webpack_require__.e(40257), __webpack_require__.e(828), __webpack_require__.e(7096), __webpack_require__.e(14599)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Problemset/index.tsx */ 62932));
                  }),
                  '87': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Problemset__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(5871), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(99313), __webpack_require__.e(43428), __webpack_require__.e(3278), __webpack_require__.e(68998), __webpack_require__.e(45284), __webpack_require__.e(29378), __webpack_require__.e(40257), __webpack_require__.e(828), __webpack_require__.e(7096), __webpack_require__.e(14599)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Problemset/index.tsx */ 62932));
                  }),
                  '88': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Classrooms__Lists__ProgramHomework__Ranking__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(828), __webpack_require__.e(10884), __webpack_require__.e(6127)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/ProgramHomework/Ranking/index.tsx */ 74896));
                  }),
                  '89': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Classrooms__Lists__ProgramHomework__Detail__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(5871), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(99313), __webpack_require__.e(51417), __webpack_require__.e(47119), __webpack_require__.e(59183), __webpack_require__.e(245), __webpack_require__.e(45284), __webpack_require__.e(29378), __webpack_require__.e(828), __webpack_require__.e(6295), __webpack_require__.e(1510), __webpack_require__.e(3951)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/ProgramHomework/Detail/index.tsx */ 30473));
                  }),
                  '90': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Classrooms__Lists__ProgramHomework__Detail__Ranking__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(5871), __webpack_require__.e(828), __webpack_require__.e(10884), __webpack_require__.e(41048)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/ProgramHomework/Detail/Ranking/index.tsx */ 3740));
                  }),
                  '91': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Classrooms__Lists__ProgramHomework__Comment__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(61621), __webpack_require__.e(5871), __webpack_require__.e(19208), __webpack_require__.e(44164), __webpack_require__.e(86129), __webpack_require__.e(12884)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/ProgramHomework/Comment/index.tsx */ 36177));
                  }),
                  '92': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Classrooms__Lists__ProgramHomework__Detail__answer__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(58421), __webpack_require__.e(99313), __webpack_require__.e(52720), __webpack_require__.e(54770)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/ProgramHomework/Detail/answer/index.tsx */ 87900));
                  }),
                  '93': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Classrooms__Lists__ProgramHomework__Detail__answer__Add__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(5871), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(39200), __webpack_require__.e(45284), __webpack_require__.e(92603)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/ProgramHomework/Detail/answer/Add/index.tsx */ 40714));
                  }),
                  '94': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Classrooms__Lists__ProgramHomework__Detail__answer__Edit__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(5871), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(86986), __webpack_require__.e(45284), __webpack_require__.e(44216)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/ProgramHomework/Detail/answer/Edit/index.tsx */ 27503));
                  }),
                  '95': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Classrooms__Lists__ProgramHomework__Detail__answer__Detail__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(5871), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(52720), __webpack_require__.e(26314), __webpack_require__.e(45284), __webpack_require__.e(15319)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/ProgramHomework/Detail/answer/Detail/index.tsx */ 4278));
                  }),
                  '96': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | layouts__ShixunDetail__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(93948), __webpack_require__.e(61621), __webpack_require__.e(71409), __webpack_require__.e(99313), __webpack_require__.e(43141), __webpack_require__.e(38359), __webpack_require__.e(29378), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(19386), __webpack_require__.e(72537), __webpack_require__.e(93282)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/ShixunDetail/index.tsx */ 34067));
                  }),
                  '97': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Classrooms__Lists__ShixunHomeworks__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(61621), __webpack_require__.e(5871), __webpack_require__.e(51417), __webpack_require__.e(47119), __webpack_require__.e(43428), __webpack_require__.e(2191), __webpack_require__.e(29378), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(19386), __webpack_require__.e(6295), __webpack_require__.e(18151), __webpack_require__.e(1510), __webpack_require__.e(7852)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/ShixunHomeworks/index.tsx */ 46946));
                  }),
                  '98': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Classrooms__Lists__ShixunHomeworks__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(61621), __webpack_require__.e(5871), __webpack_require__.e(51417), __webpack_require__.e(47119), __webpack_require__.e(43428), __webpack_require__.e(2191), __webpack_require__.e(29378), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(19386), __webpack_require__.e(6295), __webpack_require__.e(18151), __webpack_require__.e(1510), __webpack_require__.e(7852)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/ShixunHomeworks/index.tsx */ 46946));
                  }),
                  '99': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Classrooms__Lists__Graduation__Topics__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(58421), __webpack_require__.e(61621), __webpack_require__.e(85048)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Graduation/Topics/index.tsx */ 68263));
                  }),
                  '100': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Classrooms__Lists__Graduation__Tasks__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(61621), __webpack_require__.e(51417), __webpack_require__.e(47119), __webpack_require__.e(61043)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Graduation/Tasks/index.tsx */ 17210));
                  }),
                  '101': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Classrooms__Lists__Graduation__Tasks__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(61621), __webpack_require__.e(51417), __webpack_require__.e(47119), __webpack_require__.e(61043)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Graduation/Tasks/index.tsx */ 17210));
                  }),
                  '102': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Classrooms__Lists__Exercise__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(61621), __webpack_require__.e(5871), __webpack_require__.e(99313), __webpack_require__.e(51417), __webpack_require__.e(47119), __webpack_require__.e(96249), __webpack_require__.e(13488), __webpack_require__.e(83962), __webpack_require__.e(29378), __webpack_require__.e(18151), __webpack_require__.e(51075), __webpack_require__.e(45825)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Exercise/index.tsx */ 31622));
                  }),
                  '103': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Classrooms__Lists__Exercise__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(61621), __webpack_require__.e(5871), __webpack_require__.e(99313), __webpack_require__.e(51417), __webpack_require__.e(47119), __webpack_require__.e(96249), __webpack_require__.e(13488), __webpack_require__.e(83962), __webpack_require__.e(29378), __webpack_require__.e(18151), __webpack_require__.e(51075), __webpack_require__.e(45825)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Exercise/index.tsx */ 31622));
                  }),
                  '104': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Classrooms__Lists__Polls__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(61621), __webpack_require__.e(99313), __webpack_require__.e(51417), __webpack_require__.e(47119), __webpack_require__.e(13488), __webpack_require__.e(13355)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Polls/index.tsx */ 48773));
                  }),
                  '105': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Classrooms__Lists__Polls__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(61621), __webpack_require__.e(99313), __webpack_require__.e(51417), __webpack_require__.e(47119), __webpack_require__.e(13488), __webpack_require__.e(13355)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Polls/index.tsx */ 48773));
                  }),
                  '106': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Classrooms__Lists__CommonHomework__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(93948), __webpack_require__.e(61621), __webpack_require__.e(5871), __webpack_require__.e(71409), __webpack_require__.e(7172), __webpack_require__.e(99313), __webpack_require__.e(51417), __webpack_require__.e(47119), __webpack_require__.e(43428), __webpack_require__.e(48066), __webpack_require__.e(2191), __webpack_require__.e(66092), __webpack_require__.e(91384), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(19386), __webpack_require__.e(6295), __webpack_require__.e(838), __webpack_require__.e(49890)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/CommonHomework/index.tsx */ 41921));
                  }),
                  '107': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Classrooms__Lists__CommonHomework__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(93948), __webpack_require__.e(61621), __webpack_require__.e(5871), __webpack_require__.e(71409), __webpack_require__.e(7172), __webpack_require__.e(99313), __webpack_require__.e(51417), __webpack_require__.e(47119), __webpack_require__.e(43428), __webpack_require__.e(48066), __webpack_require__.e(2191), __webpack_require__.e(66092), __webpack_require__.e(91384), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(19386), __webpack_require__.e(6295), __webpack_require__.e(838), __webpack_require__.e(49890)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/CommonHomework/index.tsx */ 41921));
                  }),
                  '108': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Classrooms__Lists__GroupHomework__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(93948), __webpack_require__.e(61621), __webpack_require__.e(5871), __webpack_require__.e(71409), __webpack_require__.e(99313), __webpack_require__.e(51417), __webpack_require__.e(47119), __webpack_require__.e(43428), __webpack_require__.e(2191), __webpack_require__.e(66092), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(19386), __webpack_require__.e(6295), __webpack_require__.e(74582), __webpack_require__.e(83935)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/GroupHomework/index.tsx */ 82617));
                  }),
                  '109': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Classrooms__Lists__GroupHomework__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(93948), __webpack_require__.e(61621), __webpack_require__.e(5871), __webpack_require__.e(71409), __webpack_require__.e(99313), __webpack_require__.e(51417), __webpack_require__.e(47119), __webpack_require__.e(43428), __webpack_require__.e(2191), __webpack_require__.e(66092), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(19386), __webpack_require__.e(6295), __webpack_require__.e(74582), __webpack_require__.e(83935)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/GroupHomework/index.tsx */ 82617));
                  }),
                  '110': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Classrooms__Lists__Teachers__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(93948), __webpack_require__.e(61621), __webpack_require__.e(71409), __webpack_require__.e(96923), __webpack_require__.e(828), __webpack_require__.e(68014)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Teachers/index.tsx */ 52894));
                  }),
                  '111': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Classrooms__Lists__Students__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(93948), __webpack_require__.e(71409), __webpack_require__.e(99313), __webpack_require__.e(96923), __webpack_require__.e(828), __webpack_require__.e(48077)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Students/index.tsx */ 80555));
                  }),
                  '112': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Classrooms__Lists__Assistant__index */[__webpack_require__.e(48911), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(828), __webpack_require__.e(33356)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Assistant/index.tsx */ 54655));
                  }),
                  '113': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Classrooms__Lists__ProgramHomework__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(93948), __webpack_require__.e(5871), __webpack_require__.e(71409), __webpack_require__.e(99313), __webpack_require__.e(51417), __webpack_require__.e(47119), __webpack_require__.e(43428), __webpack_require__.e(48066), __webpack_require__.e(2191), __webpack_require__.e(21085), __webpack_require__.e(60783), __webpack_require__.e(6295), __webpack_require__.e(1510), __webpack_require__.e(6788)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/ProgramHomework/index.tsx */ 36921));
                  }),
                  '114': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Classrooms__Lists__ProgramHomework__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(93948), __webpack_require__.e(5871), __webpack_require__.e(71409), __webpack_require__.e(99313), __webpack_require__.e(51417), __webpack_require__.e(47119), __webpack_require__.e(43428), __webpack_require__.e(48066), __webpack_require__.e(2191), __webpack_require__.e(21085), __webpack_require__.e(60783), __webpack_require__.e(6295), __webpack_require__.e(1510), __webpack_require__.e(6788)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/ProgramHomework/index.tsx */ 36921));
                  }),
                  '115': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Classrooms__Lists__Engineering__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(31962)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Engineering/index.tsx */ 53617));
                  }),
                  '116': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Classrooms__Lists__Attendance__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(93948), __webpack_require__.e(61621), __webpack_require__.e(51417), __webpack_require__.e(47119), __webpack_require__.e(76411), __webpack_require__.e(42441), __webpack_require__.e(19208), __webpack_require__.e(38359), __webpack_require__.e(98466), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(19386), __webpack_require__.e(828), __webpack_require__.e(28435)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Attendance/index.tsx */ 89885));
                  }),
                  '117': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Classrooms__Lists__Attendance__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(93948), __webpack_require__.e(61621), __webpack_require__.e(51417), __webpack_require__.e(47119), __webpack_require__.e(76411), __webpack_require__.e(42441), __webpack_require__.e(19208), __webpack_require__.e(38359), __webpack_require__.e(98466), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(19386), __webpack_require__.e(828), __webpack_require__.e(28435)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Attendance/index.tsx */ 89885));
                  }),
                  '118': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Classrooms__Lists__Attendance__Detail__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(93948), __webpack_require__.e(15845), __webpack_require__.e(34093)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Attendance/Detail/index.tsx */ 45236));
                  }),
                  '119': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Classrooms__Lists__Announcement__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(61621), __webpack_require__.e(5871), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(17757), __webpack_require__.e(45284), __webpack_require__.e(21265)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Announcement/index.tsx */ 29943));
                  }),
                  '120': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Classrooms__Lists__Announcement__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(61621), __webpack_require__.e(5871), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(17757), __webpack_require__.e(45284), __webpack_require__.e(21265)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Announcement/index.tsx */ 29943));
                  }),
                  '121': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Classrooms__Lists__OnlineLearning__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(93948), __webpack_require__.e(61621), __webpack_require__.e(5871), __webpack_require__.e(71409), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(7172), __webpack_require__.e(43428), __webpack_require__.e(43141), __webpack_require__.e(2290), __webpack_require__.e(45284), __webpack_require__.e(91384), __webpack_require__.e(29378), __webpack_require__.e(60783), __webpack_require__.e(14799), __webpack_require__.e(68827)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/OnlineLearning/index.tsx */ 51687));
                  }),
                  '122': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Classrooms__Lists__OnlineLearning__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(93948), __webpack_require__.e(61621), __webpack_require__.e(5871), __webpack_require__.e(71409), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(7172), __webpack_require__.e(43428), __webpack_require__.e(43141), __webpack_require__.e(2290), __webpack_require__.e(45284), __webpack_require__.e(91384), __webpack_require__.e(29378), __webpack_require__.e(60783), __webpack_require__.e(14799), __webpack_require__.e(68827)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/OnlineLearning/index.tsx */ 51687));
                  }),
                  '123': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Classrooms__Lists__Attachment__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(93948), __webpack_require__.e(61621), __webpack_require__.e(71409), __webpack_require__.e(99313), __webpack_require__.e(51417), __webpack_require__.e(47119), __webpack_require__.e(13488), __webpack_require__.e(6758)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Attachment/index.tsx */ 13282));
                  }),
                  '124': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Classrooms__Lists__Attachment__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(93948), __webpack_require__.e(61621), __webpack_require__.e(71409), __webpack_require__.e(99313), __webpack_require__.e(51417), __webpack_require__.e(47119), __webpack_require__.e(13488), __webpack_require__.e(6758)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Attachment/index.tsx */ 13282));
                  }),
                  '125': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Classrooms__Lists__Video__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(93948), __webpack_require__.e(61621), __webpack_require__.e(71409), __webpack_require__.e(99313), __webpack_require__.e(38359), __webpack_require__.e(99099), __webpack_require__.e(32826), __webpack_require__.e(50441), __webpack_require__.e(39332)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Video/index.tsx */ 53921));
                  }),
                  '126': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Classrooms__Lists__Video__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(93948), __webpack_require__.e(61621), __webpack_require__.e(71409), __webpack_require__.e(99313), __webpack_require__.e(38359), __webpack_require__.e(99099), __webpack_require__.e(32826), __webpack_require__.e(50441), __webpack_require__.e(39332)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Video/index.tsx */ 53921));
                  }),
                  '127': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Classrooms__Lists__Video__Statistics__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(828), __webpack_require__.e(64217)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Video/Statistics/index.tsx */ 4033));
                  }),
                  '128': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Classrooms__Lists__Video__Upload__index */[__webpack_require__.e(46573), __webpack_require__.e(81379), __webpack_require__.e(93948), __webpack_require__.e(71409), __webpack_require__.e(73220)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Video/Upload/index.tsx */ 46323));
                  }),
                  '129': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Classrooms__Lists__Video__Statistics__Detail__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(60533)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Video/Statistics/Detail/index.tsx */ 96754));
                  }),
                  '130': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Classrooms__Lists__LiveVideo__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(51417), __webpack_require__.e(47119), __webpack_require__.e(38359), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(19386), __webpack_require__.e(67878)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/LiveVideo/index.tsx */ 65546));
                  }),
                  '131': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Classrooms__Lists__LiveVideo__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(51417), __webpack_require__.e(47119), __webpack_require__.e(38359), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(19386), __webpack_require__.e(67878)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/LiveVideo/index.tsx */ 65546));
                  }),
                  '132': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Classrooms__Lists__Video__Statistics__StudentDetail__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(69944)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Video/Statistics/StudentDetail/index.tsx */ 23281));
                  }),
                  '133': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Classrooms__Lists__Board__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(13488), __webpack_require__.e(18302)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Board/index.tsx */ 58182));
                  }),
                  '134': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Classrooms__Lists__Board__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(13488), __webpack_require__.e(18302)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Board/index.tsx */ 58182));
                  }),
                  '135': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Classrooms__Lists__CourseGroup__List__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(93948), __webpack_require__.e(71409), __webpack_require__.e(51417), __webpack_require__.e(47119), __webpack_require__.e(38359), __webpack_require__.e(828), __webpack_require__.e(38634)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/CourseGroup/List/index.tsx */ 59129));
                  }),
                  '136': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Classrooms__Lists__CourseGroup__List__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(93948), __webpack_require__.e(71409), __webpack_require__.e(51417), __webpack_require__.e(47119), __webpack_require__.e(38359), __webpack_require__.e(828), __webpack_require__.e(38634)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/CourseGroup/List/index.tsx */ 59129));
                  }),
                  '137': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Classrooms__Lists__CourseGroup__Detail__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(87922)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/CourseGroup/Detail/index.tsx */ 76250));
                  }),
                  '138': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Classrooms__Lists__CourseGroup__NotList__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(93948), __webpack_require__.e(71409), __webpack_require__.e(38359), __webpack_require__.e(828), __webpack_require__.e(61727)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/CourseGroup/NotList/index.tsx */ 85940));
                  }),
                  '139': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Classrooms__Lists__CourseGroup__NotList__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(93948), __webpack_require__.e(71409), __webpack_require__.e(38359), __webpack_require__.e(828), __webpack_require__.e(61727)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/CourseGroup/NotList/index.tsx */ 85940));
                  }),
                  '140': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Classrooms__Lists__Statistics__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(61621), __webpack_require__.e(5871), __webpack_require__.e(99313), __webpack_require__.e(76411), __webpack_require__.e(42441), __webpack_require__.e(828), __webpack_require__.e(31427)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Statistics/index.tsx */ 7167));
                  }),
                  '141': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Classrooms__Lists__Statistics__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(61621), __webpack_require__.e(5871), __webpack_require__.e(99313), __webpack_require__.e(76411), __webpack_require__.e(42441), __webpack_require__.e(828), __webpack_require__.e(31427)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Statistics/index.tsx */ 7167));
                  }),
                  '142': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Classrooms__Lists__Statistics__VideoStatistics__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(51417), __webpack_require__.e(47119), __webpack_require__.e(76411), __webpack_require__.e(42441), __webpack_require__.e(828), __webpack_require__.e(48689)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Statistics/VideoStatistics/index.tsx */ 20029));
                  }),
                  '143': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Classrooms__Lists__Statistics__StatisticsQuality__index */[__webpack_require__.e(58106), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(61621), __webpack_require__.e(76411), __webpack_require__.e(42441), __webpack_require__.e(17806)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Statistics/StatisticsQuality/index.tsx */ 25325));
                  }),
                  '144': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Classrooms__Lists__Statistics__StudentStatistics__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(61621), __webpack_require__.e(828), __webpack_require__.e(98885)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Statistics/StudentStatistics/index.tsx */ 26276));
                  }),
                  '145': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Classrooms__Lists__Statistics__StudentStatistics__Detail__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(3451)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Statistics/StudentStatistics/Detail/index.tsx */ 28173));
                  }),
                  '146': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Classrooms__Lists__Statistics__StudentVideo__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(69922)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Statistics/StudentVideo/index.tsx */ 64629));
                  }),
                  '147': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Classrooms__Lists__ExportList__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(828), __webpack_require__.e(54572)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/ExportList/index.tsx */ 19752));
                  }),
                  '148': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return __webpack_require__.e(/*! import() | p__Classrooms__Lists__PlaceholderPage__index */ 64017).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/PlaceholderPage/index.tsx */ 16218));
                  }),
                  '149': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Classrooms__Lists__Template__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(58421), __webpack_require__.e(61621), __webpack_require__.e(15148)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Template/index.tsx */ 18168));
                  }),
                  '150': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | layouts__SimpleLayouts */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(9951), __webpack_require__.e(6056), __webpack_require__.e(29378), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(19386), __webpack_require__.e(40257), __webpack_require__.e(37062)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/SimpleLayouts.tsx */ 10399));
                  }),
                  '151': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Competitions__Index__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(61621), __webpack_require__.e(7172), __webpack_require__.e(99313), __webpack_require__.e(76411), __webpack_require__.e(42441), __webpack_require__.e(73755), __webpack_require__.e(73654), __webpack_require__.e(91384), __webpack_require__.e(29378), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(19386), __webpack_require__.e(828), __webpack_require__.e(40445), __webpack_require__.e(26883)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Competitions/Index/index.tsx */ 40445));
                  }),
                  '152': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Competitions__Index__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(61621), __webpack_require__.e(7172), __webpack_require__.e(99313), __webpack_require__.e(76411), __webpack_require__.e(42441), __webpack_require__.e(73755), __webpack_require__.e(73654), __webpack_require__.e(91384), __webpack_require__.e(29378), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(19386), __webpack_require__.e(828), __webpack_require__.e(40445), __webpack_require__.e(26883)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Competitions/Index/index.tsx */ 40445));
                  }),
                  '153': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Competitions__Exports__index */[__webpack_require__.e(44164), __webpack_require__.e(44449)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Competitions/Exports/index.tsx */ 65598));
                  }),
                  '154': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Competitions__NewIndex__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(15963), __webpack_require__.e(29378), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(19386), __webpack_require__.e(40257), __webpack_require__.e(7096), __webpack_require__.e(68150), __webpack_require__.e(53451)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Competitions/NewIndex/index.tsx */ 11835));
                  }),
                  '155': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Competitions__Detail__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(93948), __webpack_require__.e(61621), __webpack_require__.e(5871), __webpack_require__.e(71409), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(99313), __webpack_require__.e(19842), __webpack_require__.e(19208), __webpack_require__.e(86129), __webpack_require__.e(29111), __webpack_require__.e(9951), __webpack_require__.e(46292), __webpack_require__.e(29378), __webpack_require__.e(55693), __webpack_require__.e(72570)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Competitions/Detail/index.tsx */ 37043));
                  }),
                  '156': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Competitions__Detail__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(93948), __webpack_require__.e(61621), __webpack_require__.e(5871), __webpack_require__.e(71409), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(99313), __webpack_require__.e(19842), __webpack_require__.e(19208), __webpack_require__.e(86129), __webpack_require__.e(29111), __webpack_require__.e(9951), __webpack_require__.e(46292), __webpack_require__.e(29378), __webpack_require__.e(55693), __webpack_require__.e(72570)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Competitions/Detail/index.tsx */ 37043));
                  }),
                  '157': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Competitions__Entered__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(58421), __webpack_require__.e(61621), __webpack_require__.e(10776), __webpack_require__.e(68150), __webpack_require__.e(8787)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Competitions/Entered/index.tsx */ 19383));
                  }),
                  '158': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Competitions__Update__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(68625), __webpack_require__.e(45650)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Competitions/Update/index.tsx */ 5069));
                  }),
                  '159': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Competitions__Entered__Assembly__TeamDateil */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(49127), __webpack_require__.e(81799)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Competitions/Entered/Assembly/TeamDateil.tsx */ 90051));
                  }),
                  '160': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Competitions__Edit__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(93948), __webpack_require__.e(61621), __webpack_require__.e(5871), __webpack_require__.e(71409), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(7172), __webpack_require__.e(51417), __webpack_require__.e(47119), __webpack_require__.e(43428), __webpack_require__.e(19842), __webpack_require__.e(43141), __webpack_require__.e(68625), __webpack_require__.e(92354), __webpack_require__.e(91384), __webpack_require__.e(29378), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(19386), __webpack_require__.e(55693), __webpack_require__.e(38797)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Competitions/Edit/index.tsx */ 31259));
                  }),
                  '161': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | layouts__SimpleLayouts */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(9951), __webpack_require__.e(6056), __webpack_require__.e(29378), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(19386), __webpack_require__.e(40257), __webpack_require__.e(37062)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/SimpleLayouts.tsx */ 10399));
                  }),
                  '162': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return __webpack_require__.e(/*! import() | p__Forums__Index__redirect */ 28639).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Forums/Index/redirect.tsx */ 6812));
                  }),
                  '163': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Forums__Index__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(58421), __webpack_require__.e(61621), __webpack_require__.e(7172), __webpack_require__.e(99313), __webpack_require__.e(31556), __webpack_require__.e(91384), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(19386), __webpack_require__.e(92983)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Forums/Index/index.tsx */ 26599));
                  }),
                  '164': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Forums__New__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(93948), __webpack_require__.e(5871), __webpack_require__.e(71409), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(37319), __webpack_require__.e(45284), __webpack_require__.e(60783), __webpack_require__.e(74264)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Forums/New/index.tsx */ 40277));
                  }),
                  '165': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Forums__New__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(93948), __webpack_require__.e(5871), __webpack_require__.e(71409), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(37319), __webpack_require__.e(45284), __webpack_require__.e(60783), __webpack_require__.e(74264)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Forums/New/index.tsx */ 40277));
                  }),
                  '166': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Forums__Detail__id */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(5871), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(65298), __webpack_require__.e(45284), __webpack_require__.e(80508)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Forums/Detail/[id].tsx */ 75794));
                  }),
                  '167': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | layouts__SimpleLayouts */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(9951), __webpack_require__.e(6056), __webpack_require__.e(29378), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(19386), __webpack_require__.e(40257), __webpack_require__.e(37062)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/SimpleLayouts.tsx */ 10399));
                  }),
                  '168': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Problemset__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(5871), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(99313), __webpack_require__.e(43428), __webpack_require__.e(3278), __webpack_require__.e(68998), __webpack_require__.e(45284), __webpack_require__.e(29378), __webpack_require__.e(40257), __webpack_require__.e(828), __webpack_require__.e(7096), __webpack_require__.e(14599)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Problemset/index.tsx */ 62932));
                  }),
                  '169': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Problemset__NewItem__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(93948), __webpack_require__.e(5871), __webpack_require__.e(71409), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(19842), __webpack_require__.e(36381), __webpack_require__.e(56156), __webpack_require__.e(44538), __webpack_require__.e(45284), __webpack_require__.e(60783), __webpack_require__.e(63976), __webpack_require__.e(41953)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Problemset/NewItem/index.tsx */ 86363));
                  }),
                  '170': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Problemset__NewItem__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(93948), __webpack_require__.e(5871), __webpack_require__.e(71409), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(19842), __webpack_require__.e(36381), __webpack_require__.e(56156), __webpack_require__.e(44538), __webpack_require__.e(45284), __webpack_require__.e(60783), __webpack_require__.e(63976), __webpack_require__.e(41953)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Problemset/NewItem/index.tsx */ 86363));
                  }),
                  '171': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Problemset__Preview__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(5871), __webpack_require__.e(43141), __webpack_require__.e(88699), __webpack_require__.e(11581)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Problemset/Preview/index.tsx */ 68175));
                  }),
                  '172': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Problemset__Preview__New__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(78782), __webpack_require__.e(5871), __webpack_require__.e(19842), __webpack_require__.e(64144)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Problemset/Preview/New/index.tsx */ 73039));
                  }),
                  '173': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Problemset__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(5871), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(99313), __webpack_require__.e(43428), __webpack_require__.e(3278), __webpack_require__.e(68998), __webpack_require__.e(45284), __webpack_require__.e(29378), __webpack_require__.e(40257), __webpack_require__.e(828), __webpack_require__.e(7096), __webpack_require__.e(14599)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Problemset/index.tsx */ 62932));
                  }),
                  '174': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | layouts__SimpleLayouts */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(9951), __webpack_require__.e(6056), __webpack_require__.e(29378), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(19386), __webpack_require__.e(40257), __webpack_require__.e(37062)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/SimpleLayouts.tsx */ 10399));
                  }),
                  '175': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__CloudTroops__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(93948), __webpack_require__.e(61621), __webpack_require__.e(5871), __webpack_require__.e(71409), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(99313), __webpack_require__.e(76475), __webpack_require__.e(45284), __webpack_require__.e(29378), __webpack_require__.e(60783), __webpack_require__.e(40257), __webpack_require__.e(7096), __webpack_require__.e(8494), __webpack_require__.e(81384)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/CloudTroops/index.tsx */ 20249));
                  }),
                  '176': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Shixuns__Exports__index */[__webpack_require__.e(44164), __webpack_require__.e(828), __webpack_require__.e(97120), __webpack_require__.e(7884)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Exports/index.tsx */ 23669));
                  }),
                  '177': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Shixuns__New__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(93948), __webpack_require__.e(61621), __webpack_require__.e(5871), __webpack_require__.e(71409), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(7172), __webpack_require__.e(28943), __webpack_require__.e(45284), __webpack_require__.e(91384), __webpack_require__.e(55351), __webpack_require__.e(28928), __webpack_require__.e(97008)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/New/index.tsx */ 81789));
                  }),
                  '178': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Shixuns__New__CreateImg__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(78241), __webpack_require__.e(61621), __webpack_require__.e(65549)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/New/CreateImg/index.tsx */ 46883));
                  }),
                  '179': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Shixuns__New__ImagePreview__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(61621), __webpack_require__.e(7172), __webpack_require__.e(56156), __webpack_require__.e(22065), __webpack_require__.e(91384), __webpack_require__.e(99674)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/New/ImagePreview/index.tsx */ 86634));
                  }),
                  '180': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Shixuns__Detail__Merge__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(58421), __webpack_require__.e(44189), __webpack_require__.e(55573)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Detail/Merge/index.tsx */ 64691));
                  }),
                  '181': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__CloudTroops__Detail__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(93948), __webpack_require__.e(5871), __webpack_require__.e(71409), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(51417), __webpack_require__.e(47119), __webpack_require__.e(2859), __webpack_require__.e(76475), __webpack_require__.e(45284), __webpack_require__.e(29378), __webpack_require__.e(60783), __webpack_require__.e(40257), __webpack_require__.e(7096), __webpack_require__.e(8494), __webpack_require__.e(39348)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/CloudTroops/Detail/index.tsx */ 11941));
                  }),
                  '182': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Shixuns__Edit__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(93948), __webpack_require__.e(61621), __webpack_require__.e(5871), __webpack_require__.e(71409), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(7172), __webpack_require__.e(99313), __webpack_require__.e(51417), __webpack_require__.e(47119), __webpack_require__.e(43428), __webpack_require__.e(19842), __webpack_require__.e(36381), __webpack_require__.e(43141), __webpack_require__.e(29111), __webpack_require__.e(58033), __webpack_require__.e(91384), __webpack_require__.e(29378), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(19386), __webpack_require__.e(40257), __webpack_require__.e(18461), __webpack_require__.e(28928), __webpack_require__.e(56277)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Edit/index.tsx */ 58498));
                  }),
                  '183': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Shixuns__Edit__body__Warehouse__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(78241), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(93948), __webpack_require__.e(71409), __webpack_require__.e(56520), __webpack_require__.e(99313), __webpack_require__.e(85789), __webpack_require__.e(29378), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(19386), __webpack_require__.e(16328)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Edit/body/Warehouse/index.tsx */ 16570));
                  }),
                  '184': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Shixuns__Edit__body__Level__Challenges__NewQuestion__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(5871), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(99313), __webpack_require__.e(96983), __webpack_require__.e(45284), __webpack_require__.e(77857)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Edit/body/Level/Challenges/NewQuestion/index.tsx */ 79852));
                  }),
                  '185': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Shixuns__Edit__body__Level__Challenges__EditQuestion__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(5871), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(99313), __webpack_require__.e(95382), __webpack_require__.e(45284), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(19386), __webpack_require__.e(41657)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Edit/body/Level/Challenges/EditQuestion/index.tsx */ 8478));
                  }),
                  '186': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Shixuns__Edit__body__Level__Challenges__EditQuestion__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(5871), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(99313), __webpack_require__.e(95382), __webpack_require__.e(45284), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(19386), __webpack_require__.e(41657)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Edit/body/Level/Challenges/EditQuestion/index.tsx */ 8478));
                  }),
                  '187': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Shixuns__Edit__body__Level__Challenges__NewPractice__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(5871), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(49127), __webpack_require__.e(42123), __webpack_require__.e(45284), __webpack_require__.e(94498)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Edit/body/Level/Challenges/NewPractice/index.tsx */ 64460));
                  }),
                  '188': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Shixuns__Edit__body__Level__Challenges__NewPractice__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(5871), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(49127), __webpack_require__.e(42123), __webpack_require__.e(45284), __webpack_require__.e(94498)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Edit/body/Level/Challenges/NewPractice/index.tsx */ 64460));
                  }),
                  '189': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Shixuns__Edit__body__Level__Challenges__EditPracticeSetting__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(93948), __webpack_require__.e(5871), __webpack_require__.e(71409), __webpack_require__.e(99313), __webpack_require__.e(36381), __webpack_require__.e(29111), __webpack_require__.e(43594), __webpack_require__.e(34615), __webpack_require__.e(49205)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Edit/body/Level/Challenges/EditPracticeSetting/index.tsx */ 98751));
                  }),
                  '190': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Shixuns__Edit__body__Level__Challenges__EditPracticeAnswer__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(5871), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(81721), __webpack_require__.e(45284), __webpack_require__.e(21423)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Edit/body/Level/Challenges/EditPracticeAnswer/index.tsx */ 1946));
                  }),
                  '191': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Shixuns__Edit__body__Level__Challenges__RankingSetting__index */[__webpack_require__.e(46573), __webpack_require__.e(81379), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(57614)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Edit/body/Level/Challenges/RankingSetting/index.tsx */ 26264));
                  }),
                  '192': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Shixuns__Detail__id */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(93948), __webpack_require__.e(51417), __webpack_require__.e(47119), __webpack_require__.e(43428), __webpack_require__.e(19842), __webpack_require__.e(36381), __webpack_require__.e(29378), __webpack_require__.e(18151), __webpack_require__.e(81273), __webpack_require__.e(52875)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Detail/[id].tsx */ 71334));
                  }),
                  '193': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Shixuns__Detail__Challenges__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(42794), __webpack_require__.e(93948), __webpack_require__.e(61621), __webpack_require__.e(71409), __webpack_require__.e(7172), __webpack_require__.e(76411), __webpack_require__.e(42441), __webpack_require__.e(48066), __webpack_require__.e(56047), __webpack_require__.e(91384), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(19386), __webpack_require__.e(63303), __webpack_require__.e(59133)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Detail/Challenges/index.tsx */ 22096));
                  }),
                  '194': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Shixuns__Detail__Repository__index */[__webpack_require__.e(46573), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(78241), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(93948), __webpack_require__.e(76411), __webpack_require__.e(42441), __webpack_require__.e(56047), __webpack_require__.e(47120), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(19386), __webpack_require__.e(63303), __webpack_require__.e(98688)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Detail/Repository/index.tsx */ 19119));
                  }),
                  '195': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Shixuns__Detail__Repository__index */[__webpack_require__.e(46573), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(78241), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(93948), __webpack_require__.e(76411), __webpack_require__.e(42441), __webpack_require__.e(56047), __webpack_require__.e(47120), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(19386), __webpack_require__.e(63303), __webpack_require__.e(98688)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Detail/Repository/index.tsx */ 19119));
                  }),
                  '196': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Shixuns__Detail__Collaborators__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(93948), __webpack_require__.e(61621), __webpack_require__.e(7172), __webpack_require__.e(99313), __webpack_require__.e(76411), __webpack_require__.e(42441), __webpack_require__.e(56047), __webpack_require__.e(91384), __webpack_require__.e(29378), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(19386), __webpack_require__.e(40257), __webpack_require__.e(18461), __webpack_require__.e(25470)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Detail/Collaborators/index.tsx */ 89201));
                  }),
                  '197': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Shixuns__Detail__Dataset__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(93948), __webpack_require__.e(61621), __webpack_require__.e(71409), __webpack_require__.e(76411), __webpack_require__.e(42441), __webpack_require__.e(56047), __webpack_require__.e(29111), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(19386), __webpack_require__.e(63303), __webpack_require__.e(86541)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Detail/Dataset/index.tsx */ 26080));
                  }),
                  '198': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Shixuns__Detail__Discuss__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(93948), __webpack_require__.e(61621), __webpack_require__.e(5871), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(76411), __webpack_require__.e(42441), __webpack_require__.e(56047), __webpack_require__.e(45284), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(19386), __webpack_require__.e(63303), __webpack_require__.e(61632), __webpack_require__.e(22254)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Detail/Discuss/index.tsx */ 52880));
                  }),
                  '199': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Shixuns__Detail__RankingList__index */[__webpack_require__.e(93948), __webpack_require__.e(76411), __webpack_require__.e(42441), __webpack_require__.e(56047), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(19386), __webpack_require__.e(63303), __webpack_require__.e(6685)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Detail/RankingList/index.tsx */ 33629));
                  }),
                  '200': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Shixuns__Detail__Settings__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(93948), __webpack_require__.e(61621), __webpack_require__.e(5871), __webpack_require__.e(71409), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(7172), __webpack_require__.e(99313), __webpack_require__.e(51417), __webpack_require__.e(47119), __webpack_require__.e(36381), __webpack_require__.e(49127), __webpack_require__.e(28943), __webpack_require__.e(7647), __webpack_require__.e(45284), __webpack_require__.e(91384), __webpack_require__.e(29378), __webpack_require__.e(55351), __webpack_require__.e(16845)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Detail/Settings/index.tsx */ 43285));
                  }),
                  '201': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Shixuns__Detail__ExperimentDetail__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(51417), __webpack_require__.e(47119), __webpack_require__.e(11174)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Detail/ExperimentDetail/index.tsx */ 32591));
                  }),
                  '202': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Shixuns__Detail__Repository__Commit__index */[__webpack_require__.e(93948), __webpack_require__.e(76411), __webpack_require__.e(42441), __webpack_require__.e(56047), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(19386), __webpack_require__.e(63303), __webpack_require__.e(4884)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Detail/Repository/Commit/index.tsx */ 55275));
                  }),
                  '203': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Shixuns__Detail__Repository__Commit__index */[__webpack_require__.e(93948), __webpack_require__.e(76411), __webpack_require__.e(42441), __webpack_require__.e(56047), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(19386), __webpack_require__.e(63303), __webpack_require__.e(4884)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Detail/Repository/Commit/index.tsx */ 55275));
                  }),
                  '204': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Shixuns__Detail__Repository__UploadFile__index */[__webpack_require__.e(46573), __webpack_require__.e(81379), __webpack_require__.e(78241), __webpack_require__.e(93948), __webpack_require__.e(71409), __webpack_require__.e(81148)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Detail/Repository/UploadFile/index.tsx */ 71333));
                  }),
                  '205': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Shixuns__Detail__Repository__UploadFile__index */[__webpack_require__.e(46573), __webpack_require__.e(81379), __webpack_require__.e(78241), __webpack_require__.e(93948), __webpack_require__.e(71409), __webpack_require__.e(81148)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Detail/Repository/UploadFile/index.tsx */ 71333));
                  }),
                  '206': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Shixuns__Detail__Repository__AddFile__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(78241), __webpack_require__.e(56520), __webpack_require__.e(97046)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Detail/Repository/AddFile/index.tsx */ 20760));
                  }),
                  '207': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Shixuns__Detail__Repository__AddFile__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(78241), __webpack_require__.e(56520), __webpack_require__.e(97046)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Detail/Repository/AddFile/index.tsx */ 20760));
                  }),
                  '208': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Shixuns__Detail__Repository__index */[__webpack_require__.e(46573), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(78241), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(93948), __webpack_require__.e(76411), __webpack_require__.e(42441), __webpack_require__.e(56047), __webpack_require__.e(47120), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(19386), __webpack_require__.e(63303), __webpack_require__.e(98688)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Detail/Repository/index.tsx */ 19119));
                  }),
                  '209': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Shixuns__Detail__Repository__index */[__webpack_require__.e(46573), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(78241), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(93948), __webpack_require__.e(76411), __webpack_require__.e(42441), __webpack_require__.e(56047), __webpack_require__.e(47120), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(19386), __webpack_require__.e(63303), __webpack_require__.e(98688)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Detail/Repository/index.tsx */ 19119));
                  }),
                  '210': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Shixuns__Detail__AuditSituation__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(30081), __webpack_require__.e(58421), __webpack_require__.e(93948), __webpack_require__.e(76411), __webpack_require__.e(42441), __webpack_require__.e(56047), __webpack_require__.e(73755), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(19386), __webpack_require__.e(63303), __webpack_require__.e(45096)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Detail/AuditSituation/index.tsx */ 73580));
                  }),
                  '211': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Shixuns__Detail__ForkList__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(19215)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Detail/ForkList/index.tsx */ 96674));
                  }),
                  '212': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | layouts__SimpleLayouts */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(9951), __webpack_require__.e(6056), __webpack_require__.e(29378), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(19386), __webpack_require__.e(40257), __webpack_require__.e(37062)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/SimpleLayouts.tsx */ 10399));
                  }),
                  '213': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__User__Detail__Videos__Protocol__index */[__webpack_require__.e(58106), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(95176)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/Videos/Protocol/index.tsx */ 64855));
                  }),
                  '214': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__User__Detail__Videos__Success__index */[__webpack_require__.e(58106), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(19891)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/Videos/Success/index.tsx */ 66768));
                  }),
                  '215': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__User__Detail__Topicbank__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(58421), __webpack_require__.e(61621), __webpack_require__.e(98062)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/Topicbank/index.tsx */ 72626));
                  }),
                  '216': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__User__Detail__Topics__Detail__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(61621), __webpack_require__.e(7172), __webpack_require__.e(99313), __webpack_require__.e(43485), __webpack_require__.e(16703), __webpack_require__.e(91384), __webpack_require__.e(15402)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/Topics/Detail/index.tsx */ 54622));
                  }),
                  '217': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__User__Detail__Topics__Detail__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(61621), __webpack_require__.e(7172), __webpack_require__.e(99313), __webpack_require__.e(43485), __webpack_require__.e(16703), __webpack_require__.e(91384), __webpack_require__.e(15402)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/Topics/Detail/index.tsx */ 54622));
                  }),
                  '218': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__User__Detail__Topics__Normal__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(93948), __webpack_require__.e(5871), __webpack_require__.e(71409), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(89638), __webpack_require__.e(45284), __webpack_require__.e(86820)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/Topics/Normal/index.tsx */ 7437));
                  }),
                  '219': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__User__Detail__Topics__Group__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(93948), __webpack_require__.e(5871), __webpack_require__.e(71409), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(83124), __webpack_require__.e(45284), __webpack_require__.e(88517)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/Topics/Group/index.tsx */ 55974));
                  }),
                  '220': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__User__Detail__Devicegroup__Edit__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(78241), __webpack_require__.e(92932)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/Devicegroup/Edit/index.tsx */ 93898));
                  }),
                  '221': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__User__Detail__Devicegroup__ReservationInfo__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(51417), __webpack_require__.e(47119), __webpack_require__.e(71525)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/Devicegroup/ReservationInfo/index.tsx */ 47121));
                  }),
                  '222': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__User__Detail__Devicegroup__Add__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(61621), __webpack_require__.e(7172), __webpack_require__.e(91384), __webpack_require__.e(684), __webpack_require__.e(31124), __webpack_require__.e(69681)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/Devicegroup/Add/index.tsx */ 96468));
                  }),
                  '223': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__User__Detail__Topics__Exercise__Edit__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(5871), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(43428), __webpack_require__.e(84321), __webpack_require__.e(45284), __webpack_require__.e(7043)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/Topics/Exercise/Edit/index.tsx */ 31427));
                  }),
                  '224': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__User__Detail__Topics__Exercise__Detail__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(61621), __webpack_require__.e(5871), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(7172), __webpack_require__.e(99313), __webpack_require__.e(43485), __webpack_require__.e(27739), __webpack_require__.e(45284), __webpack_require__.e(91384), __webpack_require__.e(52806)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/Topics/Exercise/Detail/index.tsx */ 90921));
                  }),
                  '225': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__User__Detail__Topics__Poll__Edit__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(52771), __webpack_require__.e(75043)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/Topics/Poll/Edit/index.tsx */ 91829));
                  }),
                  '226': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__User__Detail__Topics__Poll__Detail__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(61621), __webpack_require__.e(7172), __webpack_require__.e(99313), __webpack_require__.e(43485), __webpack_require__.e(81326), __webpack_require__.e(91384), __webpack_require__.e(10799)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/Topics/Poll/Detail/index.tsx */ 79024));
                  }),
                  '227': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__User__Detail__ExperImentImg__Add__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(93948), __webpack_require__.e(61621), __webpack_require__.e(5871), __webpack_require__.e(71409), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(7172), __webpack_require__.e(69909), __webpack_require__.e(45284), __webpack_require__.e(91384), __webpack_require__.e(55351), __webpack_require__.e(28928), __webpack_require__.e(63157)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/ExperImentImg/Add/index.tsx */ 89944));
                  }),
                  '228': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__User__Detail__id */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(51253), __webpack_require__.e(29378), __webpack_require__.e(40257), __webpack_require__.e(7096), __webpack_require__.e(72529)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/[id].tsx */ 63363));
                  }),
                  '229': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__User__Detail__Classrooms__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(61621), __webpack_require__.e(7172), __webpack_require__.e(91384), __webpack_require__.e(29378), __webpack_require__.e(66583)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/Classrooms/index.tsx */ 67282));
                  }),
                  '230': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__User__Detail__Classrooms__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(61621), __webpack_require__.e(7172), __webpack_require__.e(91384), __webpack_require__.e(29378), __webpack_require__.e(66583)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/Classrooms/index.tsx */ 67282));
                  }),
                  '231': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__User__Detail__Shixuns__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(61621), __webpack_require__.e(7172), __webpack_require__.e(99313), __webpack_require__.e(91384), __webpack_require__.e(18307)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/Shixuns/index.tsx */ 97349));
                  }),
                  '232': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__User__Detail__UserPortrait__index */[__webpack_require__.e(76411), __webpack_require__.e(42441), __webpack_require__.e(56047), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(19386), __webpack_require__.e(2659)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/UserPortrait/index.tsx */ 81666));
                  }),
                  '233': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__User__Detail__LearningPath__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(29378), __webpack_require__.e(14610)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/LearningPath/index.tsx */ 48887));
                  }),
                  '234': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__User__Detail__TeachGroup__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(61621), __webpack_require__.e(7172), __webpack_require__.e(91384), __webpack_require__.e(79590)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/TeachGroup/index.tsx */ 48100));
                  }),
                  '235': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__User__Detail__Competitions__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(61621), __webpack_require__.e(7172), __webpack_require__.e(73755), __webpack_require__.e(67500), __webpack_require__.e(91384), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(19386), __webpack_require__.e(12076)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/Competitions/index.tsx */ 78063));
                  }),
                  '236': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__User__Detail__ExperImentImg__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(93948), __webpack_require__.e(61621), __webpack_require__.e(5871), __webpack_require__.e(71409), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(7172), __webpack_require__.e(45284), __webpack_require__.e(91384), __webpack_require__.e(55351), __webpack_require__.e(15881), __webpack_require__.e(94849)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/ExperImentImg/index.tsx */ 16738));
                  }),
                  '237': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__User__Detail__ExperImentImg__Detail__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(61621), __webpack_require__.e(5871), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(7172), __webpack_require__.e(45284), __webpack_require__.e(91384), __webpack_require__.e(15881), __webpack_require__.e(310)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/ExperImentImg/Detail/index.tsx */ 1611));
                  }),
                  '238': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__User__Detail__Certificate__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(61621), __webpack_require__.e(7172), __webpack_require__.e(44164), __webpack_require__.e(91384), __webpack_require__.e(98810), __webpack_require__.e(65191)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/Certificate/index.tsx */ 39847));
                  }),
                  '239': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__User__Detail__OtherResources__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(93948), __webpack_require__.e(61621), __webpack_require__.e(71409), __webpack_require__.e(7172), __webpack_require__.e(91384), __webpack_require__.e(93496)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/OtherResources/index.tsx */ 1089));
                  }),
                  '240': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__User__Detail__ClassManagement__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(61621), __webpack_require__.e(7172), __webpack_require__.e(91384), __webpack_require__.e(37948)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/ClassManagement/index.tsx */ 6381));
                  }),
                  '241': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__User__Detail__ClassManagement__Item__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(93948), __webpack_require__.e(61621), __webpack_require__.e(71409), __webpack_require__.e(7172), __webpack_require__.e(99313), __webpack_require__.e(91384), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(19386), __webpack_require__.e(19519)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/ClassManagement/Item/index.tsx */ 1852));
                  }),
                  '242': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__User__Detail__Devicegroup__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(61621), __webpack_require__.e(7172), __webpack_require__.e(32405), __webpack_require__.e(91384), __webpack_require__.e(5427)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/Devicegroup/index.tsx */ 23339));
                  }),
                  '243': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__User__Detail__Paths__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(61621), __webpack_require__.e(7172), __webpack_require__.e(91384), __webpack_require__.e(94662)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/Paths/index.tsx */ 20305));
                  }),
                  '244': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__User__Detail__Projects__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(58421), __webpack_require__.e(61621), __webpack_require__.e(7172), __webpack_require__.e(99313), __webpack_require__.e(18019), __webpack_require__.e(91384), __webpack_require__.e(29378), __webpack_require__.e(4736)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/Projects/index.tsx */ 60115));
                  }),
                  '245': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__User__Detail__Videos__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(93948), __webpack_require__.e(61621), __webpack_require__.e(71409), __webpack_require__.e(7172), __webpack_require__.e(99313), __webpack_require__.e(99099), __webpack_require__.e(43485), __webpack_require__.e(32826), __webpack_require__.e(91384), __webpack_require__.e(29378), __webpack_require__.e(50441), __webpack_require__.e(12412)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/Videos/index.tsx */ 75210));
                  }),
                  '246': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__User__Detail__Videos__Upload__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(93948), __webpack_require__.e(71409), __webpack_require__.e(53318), __webpack_require__.e(42240)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/Videos/Upload/index.tsx */ 86152));
                  }),
                  '247': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__User__Detail__Topics__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(58421), __webpack_require__.e(61621), __webpack_require__.e(7172), __webpack_require__.e(99313), __webpack_require__.e(43485), __webpack_require__.e(91384), __webpack_require__.e(90265)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/Topics/index.tsx */ 11563));
                  }),
                  '248': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__User__Detail__virtualSpaces__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(93948), __webpack_require__.e(61621), __webpack_require__.e(71409), __webpack_require__.e(7172), __webpack_require__.e(99313), __webpack_require__.e(94598), __webpack_require__.e(91384), __webpack_require__.e(29378), __webpack_require__.e(95002), __webpack_require__.e(19360)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/virtualSpaces/index.tsx */ 80593));
                  }),
                  '249': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return __webpack_require__.e(/*! import() */ 6064).then(__webpack_require__.bind(__webpack_require__, /*! ./EmptyRoute */ 6064));
                  }),
                  '250': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | layouts__SimpleLayouts */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(9951), __webpack_require__.e(6056), __webpack_require__.e(29378), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(19386), __webpack_require__.e(40257), __webpack_require__.e(37062)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/SimpleLayouts.tsx */ 10399));
                  }),
                  '251': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Question__Index__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(61621), __webpack_require__.e(7172), __webpack_require__.e(99313), __webpack_require__.e(9951), __webpack_require__.e(91384), __webpack_require__.e(29647)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Question/Index/index.tsx */ 58805));
                  }),
                  '252': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Question__AddOrEdit__BatchAdd__index */[__webpack_require__.e(93948), __webpack_require__.e(71409), __webpack_require__.e(10485)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Question/AddOrEdit/BatchAdd/index.tsx */ 78137));
                  }),
                  '253': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Problems__OjForm__NewEdit__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(93948), __webpack_require__.e(5871), __webpack_require__.e(71409), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(99313), __webpack_require__.e(43428), __webpack_require__.e(19842), __webpack_require__.e(36381), __webpack_require__.e(29111), __webpack_require__.e(21560), __webpack_require__.e(56638), __webpack_require__.e(97948), __webpack_require__.e(45284), __webpack_require__.e(34615), __webpack_require__.e(42), __webpack_require__.e(34741)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Problems/OjForm/NewEdit/index.tsx */ 40758));
                  }),
                  '254': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Problems__OjForm__NewEdit__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(93948), __webpack_require__.e(5871), __webpack_require__.e(71409), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(99313), __webpack_require__.e(43428), __webpack_require__.e(19842), __webpack_require__.e(36381), __webpack_require__.e(29111), __webpack_require__.e(21560), __webpack_require__.e(56638), __webpack_require__.e(97948), __webpack_require__.e(45284), __webpack_require__.e(34615), __webpack_require__.e(42), __webpack_require__.e(34741)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Problems/OjForm/NewEdit/index.tsx */ 40758));
                  }),
                  '255': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Problems__OjForm__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(93948), __webpack_require__.e(5871), __webpack_require__.e(71409), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(43428), __webpack_require__.e(19842), __webpack_require__.e(36381), __webpack_require__.e(29111), __webpack_require__.e(21560), __webpack_require__.e(3278), __webpack_require__.e(56638), __webpack_require__.e(45284), __webpack_require__.e(34615), __webpack_require__.e(42), __webpack_require__.e(34994)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Problems/OjForm/index.tsx */ 91940));
                  }),
                  '256': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Problems__OjForm__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(93948), __webpack_require__.e(5871), __webpack_require__.e(71409), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(43428), __webpack_require__.e(19842), __webpack_require__.e(36381), __webpack_require__.e(29111), __webpack_require__.e(21560), __webpack_require__.e(3278), __webpack_require__.e(56638), __webpack_require__.e(45284), __webpack_require__.e(34615), __webpack_require__.e(42), __webpack_require__.e(34994)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Problems/OjForm/index.tsx */ 91940));
                  }),
                  '257': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Question__OjProblem__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(61621), __webpack_require__.e(5871), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(43428), __webpack_require__.e(99099), __webpack_require__.e(21560), __webpack_require__.e(24921), __webpack_require__.e(45284), __webpack_require__.e(50441), __webpack_require__.e(66726), __webpack_require__.e(59237), __webpack_require__.e(77460)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Question/OjProblem/index.tsx */ 98264));
                  }),
                  '258': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Question__OjProblem__RecordDetail__index */[__webpack_require__.e(46573), __webpack_require__.e(81379), __webpack_require__.e(59237), __webpack_require__.e(49716)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Question/OjProblem/RecordDetail/index.tsx */ 2757));
                  }),
                  '259': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Question__AddOrEdit__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(93948), __webpack_require__.e(5871), __webpack_require__.e(71409), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(99313), __webpack_require__.e(43428), __webpack_require__.e(36381), __webpack_require__.e(29111), __webpack_require__.e(21560), __webpack_require__.e(27727), __webpack_require__.e(45284), __webpack_require__.e(34615), __webpack_require__.e(86913)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Question/AddOrEdit/index.tsx */ 38685));
                  }),
                  '260': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Question__AddOrEdit__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(93948), __webpack_require__.e(5871), __webpack_require__.e(71409), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(99313), __webpack_require__.e(43428), __webpack_require__.e(36381), __webpack_require__.e(29111), __webpack_require__.e(21560), __webpack_require__.e(27727), __webpack_require__.e(45284), __webpack_require__.e(34615), __webpack_require__.e(86913)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Question/AddOrEdit/index.tsx */ 38685));
                  }),
                  '261': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | layouts__SimpleLayouts */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(9951), __webpack_require__.e(6056), __webpack_require__.e(29378), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(19386), __webpack_require__.e(40257), __webpack_require__.e(37062)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/SimpleLayouts.tsx */ 10399));
                  }),
                  '262': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Engineering__index */[__webpack_require__.e(58106), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(13006)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Engineering/index.tsx */ 69701));
                  }),
                  '263': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Engineering__Lists__TeacherList__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(93948), __webpack_require__.e(71409), __webpack_require__.e(99313), __webpack_require__.e(92045)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Engineering/Lists/TeacherList/index.tsx */ 80093));
                  }),
                  '264': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Engineering__Lists__StudentList__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(93948), __webpack_require__.e(71409), __webpack_require__.e(99313), __webpack_require__.e(11520)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Engineering/Lists/StudentList/index.tsx */ 47084));
                  }),
                  '265': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Engineering__Lists__TrainingProgram__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(828), __webpack_require__.e(59649)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Engineering/Lists/TrainingProgram/index.tsx */ 75618));
                  }),
                  '266': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Engineering__Lists__TrainingProgram__Add__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(93948), __webpack_require__.e(71409), __webpack_require__.e(84546)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Engineering/Lists/TrainingProgram/Add/index.tsx */ 70708));
                  }),
                  '267': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Engineering__Lists__TrainingProgram__Edit__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(93948), __webpack_require__.e(71409), __webpack_require__.e(75357)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Engineering/Lists/TrainingProgram/Edit/index.tsx */ 83575));
                  }),
                  '268': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Engineering__Lists__TrainingObjectives__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(93948), __webpack_require__.e(71409), __webpack_require__.e(828), __webpack_require__.e(68665)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Engineering/Lists/TrainingObjectives/index.tsx */ 89157));
                  }),
                  '269': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Engineering__Lists__GraduationIndex__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(93948), __webpack_require__.e(71409), __webpack_require__.e(828), __webpack_require__.e(73183)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Engineering/Lists/GraduationIndex/index.tsx */ 93975));
                  }),
                  '270': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Engineering__Lists__GraduatedMatrix__index */[__webpack_require__.e(58106), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(99313), __webpack_require__.e(34800)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Engineering/Lists/GraduatedMatrix/index.tsx */ 4478));
                  }),
                  '271': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Engineering__Lists__CourseList__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(93948), __webpack_require__.e(71409), __webpack_require__.e(99313), __webpack_require__.e(828), __webpack_require__.e(79489)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Engineering/Lists/CourseList/index.tsx */ 72815));
                  }),
                  '272': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Engineering__Lists__CurseSetting__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(93948), __webpack_require__.e(5871), __webpack_require__.e(71409), __webpack_require__.e(99313), __webpack_require__.e(73755), __webpack_require__.e(45413), __webpack_require__.e(39391)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Engineering/Lists/CurseSetting/index.tsx */ 90047));
                  }),
                  '273': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Engineering__Lists__CourseMatrix__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(61621), __webpack_require__.e(5871), __webpack_require__.e(95335)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Engineering/Lists/CourseMatrix/index.tsx */ 67399));
                  }),
                  '274': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Engineering__Navigation__Home__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(92823)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Engineering/Navigation/Home/index.tsx */ 52063));
                  }),
                  '275': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Engineering__Evaluate__List__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(48066), __webpack_require__.e(4973)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Engineering/Evaluate/List/index.tsx */ 71395));
                  }),
                  '276': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Engineering__Evaluate__Detail__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(76411), __webpack_require__.e(42441), __webpack_require__.e(66651)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Engineering/Evaluate/Detail/index.tsx */ 32503));
                  }),
                  '277': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Engineering__Norm__List__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(5871), __webpack_require__.e(99313), __webpack_require__.e(48066), __webpack_require__.e(26741)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Engineering/Norm/List/index.tsx */ 76965));
                  }),
                  '278': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Engineering__Lists__Document__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(828), __webpack_require__.e(45775)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Engineering/Lists/Document/index.tsx */ 48432));
                  }),
                  '279': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return __webpack_require__.e(/*! import() | p__Engineering__Norm__Detail__index */ 62548).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Engineering/Norm/Detail/index.tsx */ 7944));
                  }),
                  '280': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return __webpack_require__.e(/*! import() */ 6064).then(__webpack_require__.bind(__webpack_require__, /*! ./EmptyRoute */ 6064));
                  }),
                  '281': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | layouts__SimpleLayouts */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(9951), __webpack_require__.e(6056), __webpack_require__.e(29378), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(19386), __webpack_require__.e(40257), __webpack_require__.e(37062)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/SimpleLayouts.tsx */ 10399));
                  }),
                  '282': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Innovation__Tasks__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(93948), __webpack_require__.e(61621), __webpack_require__.e(5871), __webpack_require__.e(71409), __webpack_require__.e(7172), __webpack_require__.e(99313), __webpack_require__.e(43428), __webpack_require__.e(56156), __webpack_require__.e(24924), __webpack_require__.e(76860), __webpack_require__.e(91384), __webpack_require__.e(29378), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(19386), __webpack_require__.e(40257), __webpack_require__.e(18461), __webpack_require__.e(92081), __webpack_require__.e(86634)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Innovation/Tasks/index.jsx */ 81218));
                  }),
                  '283': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Innovation__index */[__webpack_require__.e(58106), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(20680)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Innovation/index.tsx */ 61156));
                  }),
                  '284': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Innovation__PublicProject__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(58421), __webpack_require__.e(99313), __webpack_require__.e(48066), __webpack_require__.e(26366)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Innovation/PublicProject/index.tsx */ 55294));
                  }),
                  '285': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Innovation__PublicDataSet__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(93948), __webpack_require__.e(71409), __webpack_require__.e(99313), __webpack_require__.e(48066), __webpack_require__.e(26013), __webpack_require__.e(86452)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Innovation/PublicDataSet/index.tsx */ 90332));
                  }),
                  '286': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Innovation__PublicMirror__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(99313), __webpack_require__.e(48066), __webpack_require__.e(11070)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Innovation/PublicMirror/index.tsx */ 49868));
                  }),
                  '287': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Innovation__MyProject__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(58421), __webpack_require__.e(99313), __webpack_require__.e(48066), __webpack_require__.e(67242)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Innovation/MyProject/index.tsx */ 58851));
                  }),
                  '288': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Innovation__MyDataSet__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(93948), __webpack_require__.e(71409), __webpack_require__.e(99313), __webpack_require__.e(48066), __webpack_require__.e(26013), __webpack_require__.e(22707)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Innovation/MyDataSet/index.tsx */ 43193));
                  }),
                  '289': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Innovation__MyMirror__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(93948), __webpack_require__.e(71409), __webpack_require__.e(99313), __webpack_require__.e(48066), __webpack_require__.e(26013), __webpack_require__.e(12865)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Innovation/MyMirror/index.tsx */ 68385));
                  }),
                  '290': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Innovation__Edit__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(93948), __webpack_require__.e(71409), __webpack_require__.e(26013), __webpack_require__.e(36784)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Innovation/Edit/index.tsx */ 73432));
                  }),
                  '291': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Innovation__Edit__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(93948), __webpack_require__.e(71409), __webpack_require__.e(26013), __webpack_require__.e(36784)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Innovation/Edit/index.tsx */ 73432));
                  }),
                  '292': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Innovation__Detail__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(93948), __webpack_require__.e(61621), __webpack_require__.e(5871), __webpack_require__.e(71409), __webpack_require__.e(56520), __webpack_require__.e(7172), __webpack_require__.e(99313), __webpack_require__.e(48066), __webpack_require__.e(76860), __webpack_require__.e(91384), __webpack_require__.e(29378), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(19386), __webpack_require__.e(40257), __webpack_require__.e(18461), __webpack_require__.e(83141)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Innovation/Detail/index.tsx */ 89122));
                  }),
                  '293': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return __webpack_require__.e(/*! import() */ 6064).then(__webpack_require__.bind(__webpack_require__, /*! ./EmptyRoute */ 6064));
                  }),
                  '294': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__tasks__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(93948), __webpack_require__.e(61621), __webpack_require__.e(5871), __webpack_require__.e(71409), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(43428), __webpack_require__.e(56156), __webpack_require__.e(29111), __webpack_require__.e(21560), __webpack_require__.e(96249), __webpack_require__.e(24924), __webpack_require__.e(67703), __webpack_require__.e(69306), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(19386), __webpack_require__.e(92081), __webpack_require__.e(61632), __webpack_require__.e(82959), __webpack_require__.e(93665)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/tasks/index.jsx */ 45600));
                  }),
                  '295': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__tasks__Jupyter__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(93948), __webpack_require__.e(61621), __webpack_require__.e(71409), __webpack_require__.e(43428), __webpack_require__.e(67703), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(19386), __webpack_require__.e(60783), __webpack_require__.e(82959), __webpack_require__.e(20700)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/tasks/Jupyter/index.tsx */ 84504));
                  }),
                  '296': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__tasks__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(93948), __webpack_require__.e(61621), __webpack_require__.e(5871), __webpack_require__.e(71409), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(43428), __webpack_require__.e(56156), __webpack_require__.e(29111), __webpack_require__.e(21560), __webpack_require__.e(96249), __webpack_require__.e(24924), __webpack_require__.e(67703), __webpack_require__.e(69306), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(19386), __webpack_require__.e(92081), __webpack_require__.e(61632), __webpack_require__.e(82959), __webpack_require__.e(93665)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/tasks/index.jsx */ 45600));
                  }),
                  '297': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__tasks__Jupyter__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(93948), __webpack_require__.e(61621), __webpack_require__.e(71409), __webpack_require__.e(43428), __webpack_require__.e(67703), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(19386), __webpack_require__.e(60783), __webpack_require__.e(82959), __webpack_require__.e(20700)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/tasks/Jupyter/index.tsx */ 84504));
                  }),
                  '298': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__tasks__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(93948), __webpack_require__.e(61621), __webpack_require__.e(5871), __webpack_require__.e(71409), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(43428), __webpack_require__.e(56156), __webpack_require__.e(29111), __webpack_require__.e(21560), __webpack_require__.e(96249), __webpack_require__.e(24924), __webpack_require__.e(67703), __webpack_require__.e(69306), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(19386), __webpack_require__.e(92081), __webpack_require__.e(61632), __webpack_require__.e(82959), __webpack_require__.e(93665)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/tasks/index.jsx */ 45600));
                  }),
                  '299': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return __webpack_require__.e(/*! import() */ 6064).then(__webpack_require__.bind(__webpack_require__, /*! ./EmptyRoute */ 6064));
                  }),
                  '300': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__MyProblem__RecordDetail__index */[__webpack_require__.e(46573), __webpack_require__.e(81379), __webpack_require__.e(56156), __webpack_require__.e(17527)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/MyProblem/RecordDetail/index.tsx */ 46537));
                  }),
                  '301': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__MyProblem__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(61621), __webpack_require__.e(5871), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(43428), __webpack_require__.e(56156), __webpack_require__.e(21560), __webpack_require__.e(24921), __webpack_require__.e(45284), __webpack_require__.e(92081), __webpack_require__.e(66726), __webpack_require__.e(36270)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/MyProblem/index.tsx */ 1032));
                  }),
                  '302': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | layouts__SimpleLayouts */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(9951), __webpack_require__.e(6056), __webpack_require__.e(29378), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(19386), __webpack_require__.e(40257), __webpack_require__.e(37062)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/SimpleLayouts.tsx */ 10399));
                  }),
                  '303': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Account__index */[__webpack_require__.e(68625), __webpack_require__.e(60547)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Account/index.tsx */ 96350));
                  }),
                  '304': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Account__Profile__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(78782), __webpack_require__.e(93948), __webpack_require__.e(71409), __webpack_require__.e(19842), __webpack_require__.e(12133), __webpack_require__.e(684), __webpack_require__.e(84581), __webpack_require__.e(57345), __webpack_require__.e(59788)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Account/Profile/index.tsx */ 74083));
                  }),
                  '305': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Account__Profile__Edit__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(78782), __webpack_require__.e(93948), __webpack_require__.e(71409), __webpack_require__.e(19842), __webpack_require__.e(12133), __webpack_require__.e(684), __webpack_require__.e(84581), __webpack_require__.e(57345), __webpack_require__.e(20576)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Account/Profile/Edit/index.tsx */ 57345));
                  }),
                  '306': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Account__Certification__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(78782), __webpack_require__.e(93948), __webpack_require__.e(71409), __webpack_require__.e(19842), __webpack_require__.e(12133), __webpack_require__.e(84581), __webpack_require__.e(55693), __webpack_require__.e(87260)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Account/Certification/index.tsx */ 87448));
                  }),
                  '307': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Account__Secure__index */[__webpack_require__.e(46573), __webpack_require__.e(81379), __webpack_require__.e(78241), __webpack_require__.e(64520)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Account/Secure/index.tsx */ 32333));
                  }),
                  '308': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return __webpack_require__.e(/*! import() | p__Account__Binding__index */ 89076).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Account/Binding/index.tsx */ 36060));
                  }),
                  '309': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Account__Results__index */[__webpack_require__.e(46573), __webpack_require__.e(81379), __webpack_require__.e(14514)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Account/Results/index.tsx */ 56053));
                  }),
                  '310': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | layouts__SimpleLayouts */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(9951), __webpack_require__.e(6056), __webpack_require__.e(29378), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(19386), __webpack_require__.e(40257), __webpack_require__.e(37062)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/SimpleLayouts.tsx */ 10399));
                  }),
                  '311': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__RestFul__Edit__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(5871), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(69222), __webpack_require__.e(45284), __webpack_require__.e(70928)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/RestFul/Edit/index.tsx */ 45223));
                  }),
                  '312': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__RestFul__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(78241), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(38359), __webpack_require__.e(76578), __webpack_require__.e(31006)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/RestFul/index.tsx */ 48601));
                  }),
                  '313': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__RestFul__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(78241), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(38359), __webpack_require__.e(76578), __webpack_require__.e(31006)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/RestFul/index.tsx */ 48601));
                  }),
                  '314': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | layouts__SimpleLayouts */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(9951), __webpack_require__.e(6056), __webpack_require__.e(29378), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(19386), __webpack_require__.e(40257), __webpack_require__.e(37062)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/SimpleLayouts.tsx */ 10399));
                  }),
                  '315': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__User__Detail__Order__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(58421), __webpack_require__.e(61621), __webpack_require__.e(7172), __webpack_require__.e(99313), __webpack_require__.e(6572), __webpack_require__.e(91384), __webpack_require__.e(21939)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/Order/index.tsx */ 36701));
                  }),
                  '316': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__User__Detail__Order__pages__invoice__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(61621), __webpack_require__.e(7172), __webpack_require__.e(43252), __webpack_require__.e(91384), __webpack_require__.e(556)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/Order/pages/invoice/index.tsx */ 4794));
                  }),
                  '317': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__User__Detail__Order__pages__records__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(61621), __webpack_require__.e(7172), __webpack_require__.e(91384), __webpack_require__.e(16434)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/Order/pages/records/index.tsx */ 37037));
                  }),
                  '318': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__User__Detail__Order__pages__apply__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(61621), __webpack_require__.e(7172), __webpack_require__.e(7479), __webpack_require__.e(91384), __webpack_require__.e(61880)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/Order/pages/apply/index.tsx */ 55107));
                  }),
                  '319': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__User__Detail__Order__pages__view__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(61621), __webpack_require__.e(7172), __webpack_require__.e(91384), __webpack_require__.e(28237)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/Order/pages/view/index.tsx */ 98877));
                  }),
                  '320': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__User__Detail__Order__pages__orderInformation__index */[__webpack_require__.e(61621), __webpack_require__.e(85111)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/Order/pages/orderInformation/index.tsx */ 81765));
                  }),
                  '321': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__User__Detail__Order__pages__orderPay__index */[__webpack_require__.e(61621), __webpack_require__.e(15845), __webpack_require__.e(30264)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/Order/pages/orderPay/index.tsx */ 66321));
                  }),
                  '322': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__User__Detail__Order__pages__result__index */[__webpack_require__.e(61621), __webpack_require__.e(53114), __webpack_require__.e(44259)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/Order/pages/result/index.tsx */ 35910));
                  }),
                  '323': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | layouts__SimpleLayouts */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(9951), __webpack_require__.e(6056), __webpack_require__.e(29378), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(19386), __webpack_require__.e(40257), __webpack_require__.e(37062)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/SimpleLayouts.tsx */ 10399));
                  }),
                  '324': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Messages__Tidings__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(58421), __webpack_require__.e(61621), __webpack_require__.e(94078)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Messages/Tidings/index.tsx */ 97320));
                  }),
                  '325': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Messages__Private__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(61621), __webpack_require__.e(52829)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Messages/Private/index.tsx */ 58200));
                  }),
                  '326': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Messages__Detail__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(5871), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(49068), __webpack_require__.e(45284), __webpack_require__.e(45359)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Messages/Detail/index.tsx */ 90879));
                  }),
                  '327': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | layouts__SimpleLayouts */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(9951), __webpack_require__.e(6056), __webpack_require__.e(29378), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(19386), __webpack_require__.e(40257), __webpack_require__.e(37062)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/SimpleLayouts.tsx */ 10399));
                  }),
                  '328': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | layouts__virtualDetail__index */[__webpack_require__.e(46573), __webpack_require__.e(81379), __webpack_require__.e(89739), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(93948), __webpack_require__.e(61621), __webpack_require__.e(71409), __webpack_require__.e(43141), __webpack_require__.e(29378), __webpack_require__.e(95002), __webpack_require__.e(40559)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/virtualDetail/index.tsx */ 16433));
                  }),
                  '329': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__virtualSpaces__Lists__Homepage__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(61621), __webpack_require__.e(5871), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(7172), __webpack_require__.e(15141), __webpack_require__.e(45284), __webpack_require__.e(91384), __webpack_require__.e(33747)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Homepage/index.tsx */ 20338));
                  }),
                  '330': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__virtualSpaces__Lists__Experiment__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(61621), __webpack_require__.e(7172), __webpack_require__.e(43428), __webpack_require__.e(33957), __webpack_require__.e(91384), __webpack_require__.e(29378), __webpack_require__.e(71783)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Experiment/index.tsx */ 16898));
                  }),
                  '331': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__virtualSpaces__Lists__Announcement__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(58421), __webpack_require__.e(61621), __webpack_require__.e(7172), __webpack_require__.e(23003), __webpack_require__.e(91384), __webpack_require__.e(65816)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Announcement/index.tsx */ 9735));
                  }),
                  '332': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__virtualSpaces__Lists__Announcement__AddAndEdit__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(61621), __webpack_require__.e(5871), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(7172), __webpack_require__.e(28244), __webpack_require__.e(45284), __webpack_require__.e(91384), __webpack_require__.e(89677)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Announcement/AddAndEdit/index.tsx */ 63159));
                  }),
                  '333': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__virtualSpaces__Lists__Announcement__AddAndEdit__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(61621), __webpack_require__.e(5871), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(7172), __webpack_require__.e(28244), __webpack_require__.e(45284), __webpack_require__.e(91384), __webpack_require__.e(89677)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Announcement/AddAndEdit/index.tsx */ 63159));
                  }),
                  '334': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__virtualSpaces__Lists__Announcement__Detail__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(61621), __webpack_require__.e(7172), __webpack_require__.e(70116), __webpack_require__.e(91384), __webpack_require__.e(46796)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Announcement/Detail/index.tsx */ 41714));
                  }),
                  '335': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__virtualSpaces__Lists__Survey__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(93948), __webpack_require__.e(61621), __webpack_require__.e(71409), __webpack_require__.e(7172), __webpack_require__.e(91384), __webpack_require__.e(24504)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Survey/index.tsx */ 14888));
                  }),
                  '336': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__virtualSpaces__Lists__Survey__Detail__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(61621), __webpack_require__.e(7172), __webpack_require__.e(50032), __webpack_require__.e(91384), __webpack_require__.e(87058)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Survey/Detail/index.tsx */ 67244));
                  }),
                  '337': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__virtualSpaces__Lists__Knowledge__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(93948), __webpack_require__.e(61621), __webpack_require__.e(5871), __webpack_require__.e(71409), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(7172), __webpack_require__.e(96249), __webpack_require__.e(45152), __webpack_require__.e(27348), __webpack_require__.e(45284), __webpack_require__.e(91384), __webpack_require__.e(38447)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Knowledge/index.tsx */ 13018));
                  }),
                  '338': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__virtualSpaces__Lists__Knowledge__AddAndEdit__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(93948), __webpack_require__.e(61621), __webpack_require__.e(5871), __webpack_require__.e(71409), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(7172), __webpack_require__.e(90935), __webpack_require__.e(45284), __webpack_require__.e(91384), __webpack_require__.e(91045)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Knowledge/AddAndEdit/index.tsx */ 3348));
                  }),
                  '339': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__virtualSpaces__Lists__Knowledge__AddAndEdit__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(93948), __webpack_require__.e(61621), __webpack_require__.e(5871), __webpack_require__.e(71409), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(7172), __webpack_require__.e(90935), __webpack_require__.e(45284), __webpack_require__.e(91384), __webpack_require__.e(91045)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Knowledge/AddAndEdit/index.tsx */ 3348));
                  }),
                  '340': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__virtualSpaces__Lists__Material__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(78241), __webpack_require__.e(93948), __webpack_require__.e(61621), __webpack_require__.e(71409), __webpack_require__.e(7172), __webpack_require__.e(24064), __webpack_require__.e(91384), __webpack_require__.e(35238)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Material/index.tsx */ 42262));
                  }),
                  '341': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__virtualSpaces__Lists__Material__Detail__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(93948), __webpack_require__.e(61621), __webpack_require__.e(5871), __webpack_require__.e(71409), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(7172), __webpack_require__.e(24064), __webpack_require__.e(45284), __webpack_require__.e(91384), __webpack_require__.e(94715)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Material/Detail/index.tsx */ 52050));
                  }),
                  '342': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__virtualSpaces__Lists__Settings__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(93948), __webpack_require__.e(61621), __webpack_require__.e(71409), __webpack_require__.e(7172), __webpack_require__.e(91384), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(19386), __webpack_require__.e(61713)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Settings/index.tsx */ 55683));
                  }),
                  '343': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__virtualSpaces__Lists__Resources__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(93948), __webpack_require__.e(61621), __webpack_require__.e(71409), __webpack_require__.e(7172), __webpack_require__.e(91384), __webpack_require__.e(85891)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Resources/index.tsx */ 48540));
                  }),
                  '344': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__virtualSpaces__Lists__Resources__Detail__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(61621), __webpack_require__.e(7172), __webpack_require__.e(47271), __webpack_require__.e(91384), __webpack_require__.e(98398)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Resources/Detail/index.tsx */ 4542));
                  }),
                  '345': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__virtualSpaces__Lists__Plan__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(93948), __webpack_require__.e(61621), __webpack_require__.e(71409), __webpack_require__.e(7172), __webpack_require__.e(20005), __webpack_require__.e(91384), __webpack_require__.e(18241)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Plan/index.tsx */ 56856));
                  }),
                  '346': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__virtualSpaces__Lists__Plan__Detail__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(61621), __webpack_require__.e(7172), __webpack_require__.e(18945), __webpack_require__.e(91384), __webpack_require__.e(82339)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Plan/Detail/index.tsx */ 85454));
                  }),
                  '347': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__virtualSpaces__Lists__Homepage__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(61621), __webpack_require__.e(5871), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(7172), __webpack_require__.e(15141), __webpack_require__.e(45284), __webpack_require__.e(91384), __webpack_require__.e(33747)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Homepage/index.tsx */ 20338));
                  }),
                  '348': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return __webpack_require__.e(/*! import() | p__virtualSpaces__Lists__Construction__index */ 25705).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Construction/index.tsx */ 65190));
                  }),
                  '349': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | layouts__SimpleLayouts */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(9951), __webpack_require__.e(6056), __webpack_require__.e(29378), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(19386), __webpack_require__.e(40257), __webpack_require__.e(37062)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/SimpleLayouts.tsx */ 10399));
                  }),
                  '350': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | layouts__virtualDetail__index */[__webpack_require__.e(46573), __webpack_require__.e(81379), __webpack_require__.e(89739), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(93948), __webpack_require__.e(61621), __webpack_require__.e(71409), __webpack_require__.e(43141), __webpack_require__.e(29378), __webpack_require__.e(95002), __webpack_require__.e(40559)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/virtualDetail/index.tsx */ 16433));
                  }),
                  '351': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__virtualSpaces__Lists__Homepage__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(61621), __webpack_require__.e(5871), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(7172), __webpack_require__.e(15141), __webpack_require__.e(45284), __webpack_require__.e(91384), __webpack_require__.e(33747)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Homepage/index.tsx */ 20338));
                  }),
                  '352': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__virtualSpaces__Lists__Experiment__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(61621), __webpack_require__.e(7172), __webpack_require__.e(43428), __webpack_require__.e(33957), __webpack_require__.e(91384), __webpack_require__.e(29378), __webpack_require__.e(71783)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Experiment/index.tsx */ 16898));
                  }),
                  '353': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__virtualSpaces__Lists__Announcement__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(58421), __webpack_require__.e(61621), __webpack_require__.e(7172), __webpack_require__.e(23003), __webpack_require__.e(91384), __webpack_require__.e(65816)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Announcement/index.tsx */ 9735));
                  }),
                  '354': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__virtualSpaces__Lists__Announcement__AddAndEdit__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(61621), __webpack_require__.e(5871), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(7172), __webpack_require__.e(28244), __webpack_require__.e(45284), __webpack_require__.e(91384), __webpack_require__.e(89677)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Announcement/AddAndEdit/index.tsx */ 63159));
                  }),
                  '355': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__virtualSpaces__Lists__Announcement__AddAndEdit__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(61621), __webpack_require__.e(5871), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(7172), __webpack_require__.e(28244), __webpack_require__.e(45284), __webpack_require__.e(91384), __webpack_require__.e(89677)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Announcement/AddAndEdit/index.tsx */ 63159));
                  }),
                  '356': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__virtualSpaces__Lists__Announcement__Detail__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(61621), __webpack_require__.e(7172), __webpack_require__.e(70116), __webpack_require__.e(91384), __webpack_require__.e(46796)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Announcement/Detail/index.tsx */ 41714));
                  }),
                  '357': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__virtualSpaces__Lists__Survey__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(93948), __webpack_require__.e(61621), __webpack_require__.e(71409), __webpack_require__.e(7172), __webpack_require__.e(91384), __webpack_require__.e(24504)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Survey/index.tsx */ 14888));
                  }),
                  '358': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__virtualSpaces__Lists__Survey__Detail__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(61621), __webpack_require__.e(7172), __webpack_require__.e(50032), __webpack_require__.e(91384), __webpack_require__.e(87058)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Survey/Detail/index.tsx */ 67244));
                  }),
                  '359': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__virtualSpaces__Lists__Knowledge__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(93948), __webpack_require__.e(61621), __webpack_require__.e(5871), __webpack_require__.e(71409), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(7172), __webpack_require__.e(96249), __webpack_require__.e(45152), __webpack_require__.e(27348), __webpack_require__.e(45284), __webpack_require__.e(91384), __webpack_require__.e(38447)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Knowledge/index.tsx */ 13018));
                  }),
                  '360': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__virtualSpaces__Lists__Knowledge__AddAndEdit__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(93948), __webpack_require__.e(61621), __webpack_require__.e(5871), __webpack_require__.e(71409), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(7172), __webpack_require__.e(90935), __webpack_require__.e(45284), __webpack_require__.e(91384), __webpack_require__.e(91045)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Knowledge/AddAndEdit/index.tsx */ 3348));
                  }),
                  '361': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__virtualSpaces__Lists__Knowledge__AddAndEdit__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(93948), __webpack_require__.e(61621), __webpack_require__.e(5871), __webpack_require__.e(71409), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(7172), __webpack_require__.e(90935), __webpack_require__.e(45284), __webpack_require__.e(91384), __webpack_require__.e(91045)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Knowledge/AddAndEdit/index.tsx */ 3348));
                  }),
                  '362': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__virtualSpaces__Lists__Material__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(78241), __webpack_require__.e(93948), __webpack_require__.e(61621), __webpack_require__.e(71409), __webpack_require__.e(7172), __webpack_require__.e(24064), __webpack_require__.e(91384), __webpack_require__.e(35238)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Material/index.tsx */ 42262));
                  }),
                  '363': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__virtualSpaces__Lists__Material__Detail__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(93948), __webpack_require__.e(61621), __webpack_require__.e(5871), __webpack_require__.e(71409), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(7172), __webpack_require__.e(24064), __webpack_require__.e(45284), __webpack_require__.e(91384), __webpack_require__.e(94715)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Material/Detail/index.tsx */ 52050));
                  }),
                  '364': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__virtualSpaces__Lists__Settings__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(93948), __webpack_require__.e(61621), __webpack_require__.e(71409), __webpack_require__.e(7172), __webpack_require__.e(91384), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(19386), __webpack_require__.e(61713)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Settings/index.tsx */ 55683));
                  }),
                  '365': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__virtualSpaces__Lists__Resources__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(93948), __webpack_require__.e(61621), __webpack_require__.e(71409), __webpack_require__.e(7172), __webpack_require__.e(91384), __webpack_require__.e(85891)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Resources/index.tsx */ 48540));
                  }),
                  '366': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__virtualSpaces__Lists__Resources__Detail__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(61621), __webpack_require__.e(7172), __webpack_require__.e(47271), __webpack_require__.e(91384), __webpack_require__.e(98398)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Resources/Detail/index.tsx */ 4542));
                  }),
                  '367': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__virtualSpaces__Lists__Plan__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(93948), __webpack_require__.e(61621), __webpack_require__.e(71409), __webpack_require__.e(7172), __webpack_require__.e(20005), __webpack_require__.e(91384), __webpack_require__.e(18241)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Plan/index.tsx */ 56856));
                  }),
                  '368': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__virtualSpaces__Lists__Plan__Detail__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(61621), __webpack_require__.e(7172), __webpack_require__.e(18945), __webpack_require__.e(91384), __webpack_require__.e(82339)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Plan/Detail/index.tsx */ 85454));
                  }),
                  '369': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__virtualSpaces__Lists__Homepage__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(61621), __webpack_require__.e(5871), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(7172), __webpack_require__.e(15141), __webpack_require__.e(45284), __webpack_require__.e(91384), __webpack_require__.e(33747)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Homepage/index.tsx */ 20338));
                  }),
                  '370': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return __webpack_require__.e(/*! import() | p__virtualSpaces__Lists__Construction__index */ 25705).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Construction/index.tsx */ 65190));
                  }),
                  '371': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | layouts__SimpleLayouts */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(9951), __webpack_require__.e(6056), __webpack_require__.e(29378), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(19386), __webpack_require__.e(40257), __webpack_require__.e(37062)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/SimpleLayouts.tsx */ 10399));
                  }),
                  '372': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return __webpack_require__.e(/*! import() | p__Administration__index */ 4766).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Administration/index.tsx */ 88285));
                  }),
                  '373': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Administration__College__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(57560)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Administration/College/index.tsx */ 80049));
                  }),
                  '374': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Administration__Student__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(93948), __webpack_require__.e(61621), __webpack_require__.e(71409), __webpack_require__.e(7172), __webpack_require__.e(99313), __webpack_require__.e(38978), __webpack_require__.e(91384), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(19386), __webpack_require__.e(828), __webpack_require__.e(36029)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Administration/Student/index.tsx */ 86415));
                  }),
                  '375': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Administration__Student__Edit__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(45179)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Administration/Student/Edit/index.tsx */ 35077));
                  }),
                  '376': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | layouts__SimpleLayouts */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(9951), __webpack_require__.e(6056), __webpack_require__.e(29378), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(19386), __webpack_require__.e(40257), __webpack_require__.e(37062)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/SimpleLayouts.tsx */ 10399));
                  }),
                  '377': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Graduations__Index__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(61621), __webpack_require__.e(7172), __webpack_require__.e(58838), __webpack_require__.e(91384), __webpack_require__.e(29378), __webpack_require__.e(91831)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Graduations/Index/index.tsx */ 60714));
                  }),
                  '378': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Graduations__Review__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(93948), __webpack_require__.e(61621), __webpack_require__.e(5871), __webpack_require__.e(71409), __webpack_require__.e(7172), __webpack_require__.e(7186), __webpack_require__.e(91384), __webpack_require__.e(72539)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Graduations/Review/index.tsx */ 65579));
                  }),
                  '379': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | layouts__GraduationsDetail__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(61621), __webpack_require__.e(7172), __webpack_require__.e(91384), __webpack_require__.e(69593), __webpack_require__.e(38143)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/GraduationsDetail/index.tsx */ 72435));
                  }),
                  '380': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Graduations__Lists__Index__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(93948), __webpack_require__.e(61621), __webpack_require__.e(5871), __webpack_require__.e(71409), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(7172), __webpack_require__.e(51417), __webpack_require__.e(47119), __webpack_require__.e(49127), __webpack_require__.e(93042), __webpack_require__.e(45284), __webpack_require__.e(91384), __webpack_require__.e(6295), __webpack_require__.e(55624)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Graduations/Lists/Index/index.tsx */ 25919));
                  }),
                  '381': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Graduations__Lists__Topics__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(93948), __webpack_require__.e(61621), __webpack_require__.e(5871), __webpack_require__.e(71409), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(7172), __webpack_require__.e(12632), __webpack_require__.e(45284), __webpack_require__.e(91384), __webpack_require__.e(51461)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Graduations/Lists/Topics/index.tsx */ 49329));
                  }),
                  '382': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Graduations__Lists__StudentSelection__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(93948), __webpack_require__.e(61621), __webpack_require__.e(5871), __webpack_require__.e(71409), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(7172), __webpack_require__.e(51417), __webpack_require__.e(47119), __webpack_require__.e(45284), __webpack_require__.e(91384), __webpack_require__.e(6295), __webpack_require__.e(73696), __webpack_require__.e(54492)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Graduations/Lists/StudentSelection/index.tsx */ 85854));
                  }),
                  '383': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Graduations__Lists__Tasks__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(93948), __webpack_require__.e(61621), __webpack_require__.e(5871), __webpack_require__.e(71409), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(7172), __webpack_require__.e(51417), __webpack_require__.e(47119), __webpack_require__.e(19208), __webpack_require__.e(86129), __webpack_require__.e(45284), __webpack_require__.e(91384), __webpack_require__.e(6295), __webpack_require__.e(9416)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Graduations/Lists/Tasks/index.tsx */ 69090));
                  }),
                  '384': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Graduations__Lists__StageModule__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(93948), __webpack_require__.e(61621), __webpack_require__.e(5871), __webpack_require__.e(71409), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(7172), __webpack_require__.e(51417), __webpack_require__.e(47119), __webpack_require__.e(45284), __webpack_require__.e(91384), __webpack_require__.e(6295), __webpack_require__.e(73696), __webpack_require__.e(82443)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Graduations/Lists/StageModule/index.tsx */ 36627));
                  }),
                  '385': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Graduations__Lists__StageModule__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(93948), __webpack_require__.e(61621), __webpack_require__.e(5871), __webpack_require__.e(71409), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(7172), __webpack_require__.e(51417), __webpack_require__.e(47119), __webpack_require__.e(45284), __webpack_require__.e(91384), __webpack_require__.e(6295), __webpack_require__.e(73696), __webpack_require__.e(82443)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Graduations/Lists/StageModule/index.tsx */ 36627));
                  }),
                  '386': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Graduations__Lists__StageModule__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(93948), __webpack_require__.e(61621), __webpack_require__.e(5871), __webpack_require__.e(71409), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(7172), __webpack_require__.e(51417), __webpack_require__.e(47119), __webpack_require__.e(45284), __webpack_require__.e(91384), __webpack_require__.e(6295), __webpack_require__.e(73696), __webpack_require__.e(82443)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Graduations/Lists/StageModule/index.tsx */ 36627));
                  }),
                  '387': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Graduations__Lists__StageModule__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(93948), __webpack_require__.e(61621), __webpack_require__.e(5871), __webpack_require__.e(71409), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(7172), __webpack_require__.e(51417), __webpack_require__.e(47119), __webpack_require__.e(45284), __webpack_require__.e(91384), __webpack_require__.e(6295), __webpack_require__.e(73696), __webpack_require__.e(82443)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Graduations/Lists/StageModule/index.tsx */ 36627));
                  }),
                  '388': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Graduations__Lists__StageModule__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(93948), __webpack_require__.e(61621), __webpack_require__.e(5871), __webpack_require__.e(71409), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(7172), __webpack_require__.e(51417), __webpack_require__.e(47119), __webpack_require__.e(45284), __webpack_require__.e(91384), __webpack_require__.e(6295), __webpack_require__.e(73696), __webpack_require__.e(82443)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Graduations/Lists/StageModule/index.tsx */ 36627));
                  }),
                  '389': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Graduations__Lists__Settings__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(61621), __webpack_require__.e(25022)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Graduations/Lists/Settings/index.tsx */ 56728));
                  }),
                  '390': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Graduations__Lists__Personmanage__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(61621), __webpack_require__.e(7172), __webpack_require__.e(91384), __webpack_require__.e(69593), __webpack_require__.e(66063)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Graduations/Lists/Personmanage/index.tsx */ 2316));
                  }),
                  '391': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Graduations__Lists__Personmanage__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(61621), __webpack_require__.e(7172), __webpack_require__.e(91384), __webpack_require__.e(69593), __webpack_require__.e(66063)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Graduations/Lists/Personmanage/index.tsx */ 2316));
                  }),
                  '392': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Graduations__Lists__Archives__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(93948), __webpack_require__.e(61621), __webpack_require__.e(5871), __webpack_require__.e(71409), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(7172), __webpack_require__.e(51417), __webpack_require__.e(47119), __webpack_require__.e(19208), __webpack_require__.e(86129), __webpack_require__.e(45284), __webpack_require__.e(91384), __webpack_require__.e(6295), __webpack_require__.e(47545)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Graduations/Lists/Archives/index.tsx */ 69454));
                  }),
                  '393': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Graduations__Lists__Gradingsummary__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(61621), __webpack_require__.e(5871), __webpack_require__.e(7172), __webpack_require__.e(91384), __webpack_require__.e(11253)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Graduations/Lists/Gradingsummary/index.tsx */ 16064));
                  }),
                  '394': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | layouts__SimpleLayouts */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(9951), __webpack_require__.e(6056), __webpack_require__.e(29378), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(19386), __webpack_require__.e(40257), __webpack_require__.e(37062)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/SimpleLayouts.tsx */ 10399));
                  }),
                  '395': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Laboratory__Index__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(95318), __webpack_require__.e(29378), __webpack_require__.e(40257), __webpack_require__.e(7096), __webpack_require__.e(35380)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Laboratory/Index/index.tsx */ 11987));
                  }),
                  '396': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Laboratory__Reservations__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(51417), __webpack_require__.e(47119), __webpack_require__.e(684), __webpack_require__.e(58253), __webpack_require__.e(99758)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Laboratory/Reservations/index.tsx */ 33871));
                  }),
                  '397': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Laboratory__OpenReservation__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(51417), __webpack_require__.e(47119), __webpack_require__.e(684), __webpack_require__.e(58253), __webpack_require__.e(79487)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Laboratory/OpenReservation/index.tsx */ 22329));
                  }),
                  '398': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Laboratory__OpenReservation__OpenReservationDetail__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(93948), __webpack_require__.e(71409), __webpack_require__.e(99313), __webpack_require__.e(684), __webpack_require__.e(3416), __webpack_require__.e(51810)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Laboratory/OpenReservation/OpenReservationDetail/index.tsx */ 63628));
                  }),
                  '399': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Laboratory__OpenReservation__OpenReservationStatistics__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(93948), __webpack_require__.e(71409), __webpack_require__.e(684), __webpack_require__.e(7520)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Laboratory/OpenReservation/OpenReservationStatistics/index.tsx */ 27167));
                  }),
                  '400': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Laboratory__MyReservation__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(93948), __webpack_require__.e(5871), __webpack_require__.e(71409), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(51417), __webpack_require__.e(47119), __webpack_require__.e(45284), __webpack_require__.e(60783), __webpack_require__.e(684), __webpack_require__.e(11130)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Laboratory/MyReservation/index.tsx */ 4953));
                  }),
                  '401': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Laboratory__LaboratoryCenter__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(93948), __webpack_require__.e(71409), __webpack_require__.e(684), __webpack_require__.e(6613)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Laboratory/LaboratoryCenter/index.tsx */ 15157));
                  }),
                  '402': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Laboratory__MyLaboratory__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(93948), __webpack_require__.e(71409), __webpack_require__.e(684), __webpack_require__.e(98936)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Laboratory/MyLaboratory/index.tsx */ 4739));
                  }),
                  '403': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Laboratory__LaboratoryRoom__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(684), __webpack_require__.e(74297)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Laboratory/LaboratoryRoom/index.tsx */ 65204));
                  }),
                  '404': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Laboratory__LaboratoryType__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(684), __webpack_require__.e(31078)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Laboratory/LaboratoryType/index.tsx */ 89749));
                  }),
                  '405': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Laboratory__ReservationManage__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(93948), __webpack_require__.e(71409), __webpack_require__.e(51417), __webpack_require__.e(47119), __webpack_require__.e(684), __webpack_require__.e(43212)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Laboratory/ReservationManage/index.tsx */ 82437));
                  }),
                  '406': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Laboratory__RuleManage__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(684), __webpack_require__.e(83105)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Laboratory/RuleManage/index.tsx */ 37219));
                  }),
                  '407': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Laboratory__Reservations__Info__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(99313), __webpack_require__.e(51417), __webpack_require__.e(47119), __webpack_require__.e(684), __webpack_require__.e(58253), __webpack_require__.e(96163)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Laboratory/Reservations/Info/index.tsx */ 42481));
                  }),
                  '408': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Laboratory__Regulations__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(58421), __webpack_require__.e(93948), __webpack_require__.e(61621), __webpack_require__.e(71409), __webpack_require__.e(99313), __webpack_require__.e(45598)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Laboratory/Regulations/index.tsx */ 11861));
                  }),
                  '409': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Laboratory__Regulations__Info__index */[__webpack_require__.e(58106), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(2859), __webpack_require__.e(12914)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Laboratory/Regulations/Info/index.tsx */ 10231));
                  }),
                  '410': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Laboratory__Regulationsadmins__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(93948), __webpack_require__.e(5871), __webpack_require__.e(71409), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(45284), __webpack_require__.e(60783), __webpack_require__.e(91935)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Laboratory/Regulationsadmins/index.tsx */ 71699));
                  }),
                  '411': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Laboratory__MyLaboratory__Info__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(99313), __webpack_require__.e(684), __webpack_require__.e(57989)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Laboratory/MyLaboratory/Info/index.tsx */ 37694));
                  }),
                  '412': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Laboratory__MyLaboratory__Info__rooms__createRoom__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(93948), __webpack_require__.e(71409), __webpack_require__.e(99313), __webpack_require__.e(68625), __webpack_require__.e(60783), __webpack_require__.e(684), __webpack_require__.e(58253), __webpack_require__.e(35977)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Laboratory/MyLaboratory/Info/rooms/createRoom/index.tsx */ 63116));
                  }),
                  '413': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Laboratory__LaboratoryRoom__createRoom__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(93948), __webpack_require__.e(71409), __webpack_require__.e(99313), __webpack_require__.e(68625), __webpack_require__.e(83453), __webpack_require__.e(29378), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(19386), __webpack_require__.e(60783), __webpack_require__.e(40257), __webpack_require__.e(684), __webpack_require__.e(7096), __webpack_require__.e(58253), __webpack_require__.e(39820)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Laboratory/LaboratoryRoom/createRoom/index.tsx */ 87950));
                  }),
                  '414': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | layouts__SimpleLayouts */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(9951), __webpack_require__.e(6056), __webpack_require__.e(29378), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(19386), __webpack_require__.e(40257), __webpack_require__.e(37062)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/SimpleLayouts.tsx */ 10399));
                  }),
                  '415': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Materials__Index__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(17244), __webpack_require__.e(29378), __webpack_require__.e(40257), __webpack_require__.e(7096), __webpack_require__.e(12017), __webpack_require__.e(40665)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Materials/Index/index.tsx */ 38110));
                  }),
                  '416': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Materials__ItemAssets__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(7417), __webpack_require__.e(684), __webpack_require__.e(97502), __webpack_require__.e(3416), __webpack_require__.e(40139)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Materials/ItemAssets/index.tsx */ 94423));
                  }),
                  '417': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Materials__ItemAssetsList__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(93948), __webpack_require__.e(71409), __webpack_require__.e(684), __webpack_require__.e(97502), __webpack_require__.e(3416), __webpack_require__.e(9134)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Materials/ItemAssetsList/index.tsx */ 63756));
                  }),
                  '418': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Materials__ItemAssetsType__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(97502), __webpack_require__.e(98662)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Materials/ItemAssetsType/index.tsx */ 74328));
                  }),
                  '419': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Materials__Entry__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(93948), __webpack_require__.e(5871), __webpack_require__.e(71409), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(51417), __webpack_require__.e(47119), __webpack_require__.e(45284), __webpack_require__.e(60783), __webpack_require__.e(97502), __webpack_require__.e(7202)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Materials/Entry/index.tsx */ 61234));
                  }),
                  '420': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Materials__Log__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(51417), __webpack_require__.e(47119), __webpack_require__.e(97502), __webpack_require__.e(86065)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Materials/Log/index.tsx */ 93421));
                  }),
                  '421': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Materials__Procure__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(684), __webpack_require__.e(97502), __webpack_require__.e(72409)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Materials/Procure/index.tsx */ 98550));
                  }),
                  '422': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Materials__MyProcure__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(684), __webpack_require__.e(97502), __webpack_require__.e(25807)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Materials/MyProcure/index.tsx */ 8619));
                  }),
                  '423': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Materials__Receive__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(93948), __webpack_require__.e(71409), __webpack_require__.e(60324), __webpack_require__.e(60783), __webpack_require__.e(684), __webpack_require__.e(97502), __webpack_require__.e(22561)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Materials/Receive/index.tsx */ 39173));
                  }),
                  '424': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Materials__MyReceive__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(684), __webpack_require__.e(97502), __webpack_require__.e(48289)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Materials/MyReceive/index.tsx */ 59891));
                  }),
                  '425': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Materials__ItemAssets__Info__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(51417), __webpack_require__.e(47119), __webpack_require__.e(68625), __webpack_require__.e(60324), __webpack_require__.e(12223), __webpack_require__.e(97502), __webpack_require__.e(3416), __webpack_require__.e(2948)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Materials/ItemAssets/Info/index.tsx */ 24749));
                  }),
                  '426': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Materials__ItemAssets__InfoCode__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(51417), __webpack_require__.e(47119), __webpack_require__.e(60324), __webpack_require__.e(12223), __webpack_require__.e(97502), __webpack_require__.e(3416), __webpack_require__.e(39859)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Materials/ItemAssets/InfoCode/index.tsx */ 93047));
                  }),
                  '427': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Materials__MyReceive__Report__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(61621), __webpack_require__.e(19208), __webpack_require__.e(44164), __webpack_require__.e(86129), __webpack_require__.e(60324), __webpack_require__.e(29378), __webpack_require__.e(40257), __webpack_require__.e(7096), __webpack_require__.e(97502), __webpack_require__.e(12017), __webpack_require__.e(4829)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Materials/MyReceive/Report/index.tsx */ 87742));
                  }),
                  '428': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Materials__Receive__Report__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(61621), __webpack_require__.e(19208), __webpack_require__.e(44164), __webpack_require__.e(86129), __webpack_require__.e(60324), __webpack_require__.e(29378), __webpack_require__.e(40257), __webpack_require__.e(7096), __webpack_require__.e(97502), __webpack_require__.e(12017), __webpack_require__.e(12868)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Materials/Receive/Report/index.tsx */ 89363));
                  }),
                  '429': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Materials__ItemAssets__AddReceive__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(93948), __webpack_require__.e(5871), __webpack_require__.e(71409), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(51417), __webpack_require__.e(47119), __webpack_require__.e(45284), __webpack_require__.e(29378), __webpack_require__.e(60783), __webpack_require__.e(40257), __webpack_require__.e(684), __webpack_require__.e(7096), __webpack_require__.e(12017), __webpack_require__.e(2001)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Materials/ItemAssets/AddReceive/index.tsx */ 89818));
                  }),
                  '430': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Materials__ItemAssets__AddReceiveScene__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(93948), __webpack_require__.e(5871), __webpack_require__.e(71409), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(51417), __webpack_require__.e(47119), __webpack_require__.e(45284), __webpack_require__.e(29378), __webpack_require__.e(60783), __webpack_require__.e(40257), __webpack_require__.e(684), __webpack_require__.e(7096), __webpack_require__.e(12017), __webpack_require__.e(7729)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Materials/ItemAssets/AddReceiveScene/index.tsx */ 76344));
                  }),
                  '431': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Materials__ItemAssets__AddProcure__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(93948), __webpack_require__.e(5871), __webpack_require__.e(71409), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(45284), __webpack_require__.e(29378), __webpack_require__.e(60783), __webpack_require__.e(40257), __webpack_require__.e(684), __webpack_require__.e(7096), __webpack_require__.e(97502), __webpack_require__.e(12017), __webpack_require__.e(19116)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Materials/ItemAssets/AddProcure/index.tsx */ 33803));
                  }),
                  '432': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Materials__ItemAssetsList__CreateItemAssets__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(93948), __webpack_require__.e(5871), __webpack_require__.e(71409), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(51417), __webpack_require__.e(47119), __webpack_require__.e(68625), __webpack_require__.e(47459), __webpack_require__.e(45284), __webpack_require__.e(29378), __webpack_require__.e(60783), __webpack_require__.e(40257), __webpack_require__.e(684), __webpack_require__.e(7096), __webpack_require__.e(97502), __webpack_require__.e(12017), __webpack_require__.e(3416), __webpack_require__.e(77248)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Materials/ItemAssetsList/CreateItemAssets/index.tsx */ 64827));
                  }),
                  '433': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | layouts__SimpleLayouts */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(9951), __webpack_require__.e(6056), __webpack_require__.e(29378), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(19386), __webpack_require__.e(40257), __webpack_require__.e(37062)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/SimpleLayouts.tsx */ 10399));
                  }),
                  '434': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Equipment__Index__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(31701), __webpack_require__.e(29378), __webpack_require__.e(40257), __webpack_require__.e(7096), __webpack_require__.e(49394), __webpack_require__.e(27416)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Equipment/Index/index.tsx */ 36491));
                  }),
                  '435': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Equipment__Information__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(93948), __webpack_require__.e(5871), __webpack_require__.e(51417), __webpack_require__.e(47119), __webpack_require__.e(19842), __webpack_require__.e(36381), __webpack_require__.e(38359), __webpack_require__.e(49127), __webpack_require__.e(11611), __webpack_require__.e(34429), __webpack_require__.e(44187), __webpack_require__.e(86184), __webpack_require__.e(684), __webpack_require__.e(42159)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Equipment/Information/index.tsx */ 54153));
                  }),
                  '436': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Equipment__Information__InfoList__Details__index */[__webpack_require__.e(46573), __webpack_require__.e(81379), __webpack_require__.e(51417), __webpack_require__.e(47119), __webpack_require__.e(76411), __webpack_require__.e(42441), __webpack_require__.e(31124), __webpack_require__.e(31316)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Equipment/Information/InfoList/Details/index.tsx */ 65990));
                  }),
                  '437': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Equipment__Maintenance__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(31124), __webpack_require__.e(49394), __webpack_require__.e(88093)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Equipment/Maintenance/index.tsx */ 98099));
                  }),
                  '438': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Equipment__BookingManage__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(99313), __webpack_require__.e(51417), __webpack_require__.e(47119), __webpack_require__.e(34429), __webpack_require__.e(98682), __webpack_require__.e(684), __webpack_require__.e(31124), __webpack_require__.e(61311)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Equipment/BookingManage/index.tsx */ 21604));
                  }),
                  '439': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Equipment__Faultlibrary__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(51417), __webpack_require__.e(47119), __webpack_require__.e(31124), __webpack_require__.e(49394), __webpack_require__.e(69828)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Equipment/Faultlibrary/index.tsx */ 52430));
                  }),
                  '440': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return __webpack_require__.e(/*! import() | p__Equipment__MessageCenterManage__index */ 24904).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Equipment/MessageCenterManage/index.tsx */ 47297));
                  }),
                  '441': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Equipment__ActionLog__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(51417), __webpack_require__.e(47119), __webpack_require__.e(31124), __webpack_require__.e(49394), __webpack_require__.e(76437)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Equipment/ActionLog/index.tsx */ 90313));
                  }),
                  '442': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Equipment__Devicelabel__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(31124), __webpack_require__.e(89113)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Equipment/Devicelabel/index.tsx */ 56176));
                  }),
                  '443': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Equipment__Information__InfoList__ReservationInfo__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(51417), __webpack_require__.e(47119), __webpack_require__.e(34429), __webpack_require__.e(98682), __webpack_require__.e(31124), __webpack_require__.e(21433)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Equipment/Information/InfoList/ReservationInfo/index.tsx */ 74018));
                  }),
                  '444': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Equipment__Working__index */[__webpack_require__.e(58106), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(76411), __webpack_require__.e(684), __webpack_require__.e(31124), __webpack_require__.e(97838)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Equipment/Working/index.tsx */ 1922));
                  }),
                  '445': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Equipment__Maintenance__Details__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(31124), __webpack_require__.e(76134)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Equipment/Maintenance/Details/index.tsx */ 51729));
                  }),
                  '446': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Equipment__Information__InfoList__Edit__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(93948), __webpack_require__.e(5871), __webpack_require__.e(99313), __webpack_require__.e(51417), __webpack_require__.e(47119), __webpack_require__.e(19842), __webpack_require__.e(36381), __webpack_require__.e(38359), __webpack_require__.e(49127), __webpack_require__.e(11611), __webpack_require__.e(34429), __webpack_require__.e(98682), __webpack_require__.e(44187), __webpack_require__.e(86184), __webpack_require__.e(87865), __webpack_require__.e(66610), __webpack_require__.e(29942)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Equipment/Information/InfoList/Edit/index.tsx */ 66256));
                  }),
                  '447': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | layouts__SimpleLayouts */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(9951), __webpack_require__.e(6056), __webpack_require__.e(29378), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(19386), __webpack_require__.e(40257), __webpack_require__.e(37062)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/SimpleLayouts.tsx */ 10399));
                  }),
                  '448': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Wisdom__index */[__webpack_require__.e(93948), __webpack_require__.e(76411), __webpack_require__.e(42441), __webpack_require__.e(6927), __webpack_require__.e(18682)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Wisdom/index.tsx */ 195));
                  }),
                  '449': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | layouts__SimpleLayouts */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(9951), __webpack_require__.e(6056), __webpack_require__.e(29378), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(19386), __webpack_require__.e(40257), __webpack_require__.e(37062)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/SimpleLayouts.tsx */ 10399));
                  }),
                  '450': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__IOT__DeviceManage__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(684), __webpack_require__.e(47778)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/IOT/DeviceManage/index.tsx */ 52451));
                  }),
                  '451': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | layouts__SimpleLayouts */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(9951), __webpack_require__.e(6056), __webpack_require__.e(29378), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(19386), __webpack_require__.e(40257), __webpack_require__.e(37062)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/SimpleLayouts.tsx */ 10399));
                  }),
                  '452': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__IOT__ElectronBPManage__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(684), __webpack_require__.e(89053)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/IOT/ElectronBPManage/index.tsx */ 91497));
                  }),
                  '453': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | layouts__SimpleLayouts */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(9951), __webpack_require__.e(6056), __webpack_require__.e(29378), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(19386), __webpack_require__.e(40257), __webpack_require__.e(37062)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/SimpleLayouts.tsx */ 10399));
                  }),
                  '454': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__IOT__ViewAppointment__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(684), __webpack_require__.e(58253), __webpack_require__.e(61075)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/IOT/ViewAppointment/index.tsx */ 23042));
                  }),
                  '455': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | layouts__SimpleLayouts */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(9951), __webpack_require__.e(6056), __webpack_require__.e(29378), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(19386), __webpack_require__.e(40257), __webpack_require__.e(37062)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/SimpleLayouts.tsx */ 10399));
                  }),
                  '456': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Information__HomePage__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(58421), __webpack_require__.e(61902)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Information/HomePage/index.tsx */ 27479));
                  }),
                  '457': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Broadcast__Detail__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(5871), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(45284), __webpack_require__.e(66243)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Broadcast/Detail/index.tsx */ 9335));
                  }),
                  '458': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Information__EditPage__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(93948), __webpack_require__.e(5871), __webpack_require__.e(71409), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(70930), __webpack_require__.e(45284), __webpack_require__.e(60783), __webpack_require__.e(33897)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Information/EditPage/index.tsx */ 90177));
                  }),
                  '459': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | layouts__SimpleLayouts */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(9951), __webpack_require__.e(6056), __webpack_require__.e(29378), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(19386), __webpack_require__.e(40257), __webpack_require__.e(37062)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/SimpleLayouts.tsx */ 10399));
                  }),
                  '460': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__MagazineVer__Index__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(61621), __webpack_require__.e(7172), __webpack_require__.e(50523), __webpack_require__.e(91384), __webpack_require__.e(26429)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/MagazineVer/Index/index.tsx */ 64133));
                  }),
                  '461': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return __webpack_require__.e(/*! import() */ 6064).then(__webpack_require__.bind(__webpack_require__, /*! ./EmptyRoute */ 6064));
                  }),
                  '462': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return __webpack_require__.e(/*! import() | p__MagazineVer__Mine__index */ 80668).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/MagazineVer/Mine/index.tsx */ 4713));
                  }),
                  '463': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Magazine__AddOrEdit__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(93948), __webpack_require__.e(5871), __webpack_require__.e(71409), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(1886), __webpack_require__.e(45284), __webpack_require__.e(60783), __webpack_require__.e(39094)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Magazine/AddOrEdit/index.tsx */ 59178));
                  }),
                  '464': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | layouts__SimpleLayouts */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(9951), __webpack_require__.e(6056), __webpack_require__.e(29378), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(19386), __webpack_require__.e(40257), __webpack_require__.e(37062)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/SimpleLayouts.tsx */ 10399));
                  }),
                  '465': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Counselling__Index__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(31594), __webpack_require__.e(29378), __webpack_require__.e(40257), __webpack_require__.e(7096), __webpack_require__.e(62110), __webpack_require__.e(66884)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Counselling/Index/index.tsx */ 78294));
                  }),
                  '466': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Counselling__ExpertList__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(78241), __webpack_require__.e(61621), __webpack_require__.e(7172), __webpack_require__.e(70176), __webpack_require__.e(91384), __webpack_require__.e(2416)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Counselling/ExpertList/index.tsx */ 82073));
                  }),
                  '467': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return __webpack_require__.e(/*! import() | p__Counselling__DutySetting__index */ 11020).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Counselling/DutySetting/index.tsx */ 33627));
                  }),
                  '468': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Counselling__ExpertManage__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(19386), __webpack_require__.e(72537), __webpack_require__.e(34044)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Counselling/ExpertManage/index.tsx */ 84544));
                  }),
                  '469': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Counselling__MyConsultation__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(58421), __webpack_require__.e(61621), __webpack_require__.e(7172), __webpack_require__.e(96004), __webpack_require__.e(91384), __webpack_require__.e(10902)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Counselling/MyConsultation/index.tsx */ 315));
                  }),
                  '470': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Counselling__MyAnswer__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(58421), __webpack_require__.e(61621), __webpack_require__.e(7172), __webpack_require__.e(51417), __webpack_require__.e(44187), __webpack_require__.e(88849), __webpack_require__.e(91384), __webpack_require__.e(6431)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Counselling/MyAnswer/index.tsx */ 73314));
                  }),
                  '471': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Counselling__HotQuestions__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(58421), __webpack_require__.e(67987)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Counselling/HotQuestions/index.tsx */ 11652));
                  }),
                  '472': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Counselling__ExpertSchedule__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(61621), __webpack_require__.e(7172), __webpack_require__.e(91384), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(19386), __webpack_require__.e(72537), __webpack_require__.e(40923)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Counselling/ExpertSchedule/index.tsx */ 56008));
                  }),
                  '473': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Counselling__ExpertList__Info__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(1201)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Counselling/ExpertList/Info/index.tsx */ 92752));
                  }),
                  '474': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return __webpack_require__.e(/*! import() | p__Counselling__ExpertList__OnlineChat__index */ 13012).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Counselling/ExpertList/OnlineChat/index.tsx */ 14600));
                  }),
                  '475': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Counselling__ExpertList__Detail__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(5871), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(31594), __webpack_require__.e(45284), __webpack_require__.e(29378), __webpack_require__.e(40257), __webpack_require__.e(7096), __webpack_require__.e(62110), __webpack_require__.e(45975)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Counselling/ExpertList/Detail/index.tsx */ 2711));
                  }),
                  '476': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | layouts__SimpleLayouts */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(9951), __webpack_require__.e(6056), __webpack_require__.e(29378), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(19386), __webpack_require__.e(40257), __webpack_require__.e(37062)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/SimpleLayouts.tsx */ 10399));
                  }),
                  '477': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__CounsellingCopy__Index__index */[__webpack_require__.e(58106), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(22055)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/CounsellingCopy/Index/index.tsx */ 93161));
                  }),
                  '478': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__CounsellingCopy__ExpertList__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(58421), __webpack_require__.e(99313), __webpack_require__.e(51417), __webpack_require__.e(47119), __webpack_require__.e(45999)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/CounsellingCopy/ExpertList/index.tsx */ 47620));
                  }),
                  '479': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return __webpack_require__.e(/*! import() | p__CounsellingCopy__DutySetting__index */ 37291).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/CounsellingCopy/DutySetting/index.tsx */ 4981));
                  }),
                  '480': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__CounsellingCopy__ExpertManage__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(19386), __webpack_require__.e(72537), __webpack_require__.e(21937)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/CounsellingCopy/ExpertManage/index.tsx */ 70619));
                  }),
                  '481': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__CounsellingCopy__MyConsultation__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(90127)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/CounsellingCopy/MyConsultation/index.tsx */ 97823));
                  }),
                  '482': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__CounsellingCopy__ExpertList__Info__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(2604)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/CounsellingCopy/ExpertList/Info/index.tsx */ 56630));
                  }),
                  '483': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return __webpack_require__.e(/*! import() | p__CounsellingCopy__ExpertList__OnlineChat__index */ 78413).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/CounsellingCopy/ExpertList/OnlineChat/index.tsx */ 62225));
                  }),
                  '484': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__CounsellingCopy__ExpertList__Detail__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(5871), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(67431), __webpack_require__.e(45284), __webpack_require__.e(39496)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/CounsellingCopy/ExpertList/Detail/index.tsx */ 61682));
                  }),
                  '485': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | layouts__SimpleLayouts */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(9951), __webpack_require__.e(6056), __webpack_require__.e(29378), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(19386), __webpack_require__.e(40257), __webpack_require__.e(37062)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/SimpleLayouts.tsx */ 10399));
                  }),
                  '486': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Knowbase__HomePage__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(78241), __webpack_require__.e(93948), __webpack_require__.e(61621), __webpack_require__.e(71409), __webpack_require__.e(7172), __webpack_require__.e(83972), __webpack_require__.e(91384), __webpack_require__.e(60783), __webpack_require__.e(81726), __webpack_require__.e(2224)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Knowbase/HomePage/index.tsx */ 90765));
                  }),
                  '487': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Knowbase__Detail__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(93948), __webpack_require__.e(61621), __webpack_require__.e(71409), __webpack_require__.e(7172), __webpack_require__.e(38359), __webpack_require__.e(83972), __webpack_require__.e(76359), __webpack_require__.e(91384), __webpack_require__.e(60783), __webpack_require__.e(81726), __webpack_require__.e(28637)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Knowbase/Detail/index.tsx */ 6282));
                  }),
                  '488': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | layouts__SimpleLayouts */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(9951), __webpack_require__.e(6056), __webpack_require__.e(29378), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(19386), __webpack_require__.e(40257), __webpack_require__.e(37062)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/SimpleLayouts.tsx */ 10399));
                  }),
                  '489': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Magazinejor__Home__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(52141), __webpack_require__.e(29378), __webpack_require__.e(40257), __webpack_require__.e(7096), __webpack_require__.e(4847), __webpack_require__.e(33772)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Magazinejor/Home/index.tsx */ 7564));
                  }),
                  '490': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Magazinejor__component__Detail__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(78241), __webpack_require__.e(93948), __webpack_require__.e(71409), __webpack_require__.e(36381), __webpack_require__.e(60783), __webpack_require__.e(71678), __webpack_require__.e(75824)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Magazinejor/component/Detail/index.tsx */ 59433));
                  }),
                  '491': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Magazinejor__component__MonthlyDetail__index */[__webpack_require__.e(58106), __webpack_require__.e(37229), __webpack_require__.e(78241), __webpack_require__.e(61621), __webpack_require__.e(99313), __webpack_require__.e(71678), __webpack_require__.e(91958)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Magazinejor/component/MonthlyDetail/index.tsx */ 31201));
                  }),
                  '492': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Magazinejor__component__MonthlyDetailamins__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(71678), __webpack_require__.e(2507)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Magazinejor/component/MonthlyDetailamins/index.tsx */ 82665));
                  }),
                  '493': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Magazinejor__component__Comment__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(5871), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(12372), __webpack_require__.e(45284), __webpack_require__.e(66118)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Magazinejor/component/Comment/index.tsx */ 38941));
                  }),
                  '494': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Magazinejor__component__Submission__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(93948), __webpack_require__.e(71409), __webpack_require__.e(60783), __webpack_require__.e(11398), __webpack_require__.e(13585)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Magazinejor/component/Submission/index.tsx */ 41509));
                  }),
                  '495': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Magazinejor__component__Journal__index */[__webpack_require__.e(46573), __webpack_require__.e(81379), __webpack_require__.e(78241), __webpack_require__.e(93948), __webpack_require__.e(71409), __webpack_require__.e(60783), __webpack_require__.e(65798)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Magazinejor/component/Journal/index.tsx */ 48225));
                  }),
                  '496': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Magazinejor__component__Review__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(11398), __webpack_require__.e(62369)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Magazinejor/component/Review/index.tsx */ 48333));
                  }),
                  '497': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__MagazineVer__Index__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(61621), __webpack_require__.e(7172), __webpack_require__.e(50523), __webpack_require__.e(91384), __webpack_require__.e(26429)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/MagazineVer/Index/index.tsx */ 64133));
                  }),
                  '498': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__MagazineVer__Detail__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(93948), __webpack_require__.e(61621), __webpack_require__.e(5871), __webpack_require__.e(71409), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(7172), __webpack_require__.e(36381), __webpack_require__.e(21745), __webpack_require__.e(45284), __webpack_require__.e(91384), __webpack_require__.e(60783), __webpack_require__.e(16074)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/MagazineVer/Detail/index.tsx */ 36743));
                  }),
                  '499': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return __webpack_require__.e(/*! import() | p__MagazineVer__Mine__index */ 80668).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/MagazineVer/Mine/index.tsx */ 4713));
                  }),
                  '500': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Magazine__AddOrEdit__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(93948), __webpack_require__.e(5871), __webpack_require__.e(71409), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(1886), __webpack_require__.e(45284), __webpack_require__.e(60783), __webpack_require__.e(39094)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Magazine/AddOrEdit/index.tsx */ 59178));
                  }),
                  '501': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Magazinejor__component__MonthlyDetailamins__Add__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(93948), __webpack_require__.e(71409), __webpack_require__.e(51417), __webpack_require__.e(47119), __webpack_require__.e(43428), __webpack_require__.e(43141), __webpack_require__.e(11611), __webpack_require__.e(29378), __webpack_require__.e(40257), __webpack_require__.e(7096), __webpack_require__.e(4847), __webpack_require__.e(29266), __webpack_require__.e(43361)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Magazinejor/component/MonthlyDetailamins/Add/index.tsx */ 44145));
                  }),
                  '502': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Magazinejor__component__MonthlyDetailamins__prview__index */[__webpack_require__.e(46573), __webpack_require__.e(78241), __webpack_require__.e(93948), __webpack_require__.e(71409), __webpack_require__.e(51417), __webpack_require__.e(47119), __webpack_require__.e(43141), __webpack_require__.e(11611), __webpack_require__.e(29266), __webpack_require__.e(26952)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Magazinejor/component/MonthlyDetailamins/prview/index.tsx */ 29266));
                  }),
                  '503': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Magazinejor__component__MonthlyDetailamins__Add__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(93948), __webpack_require__.e(71409), __webpack_require__.e(51417), __webpack_require__.e(47119), __webpack_require__.e(43428), __webpack_require__.e(43141), __webpack_require__.e(11611), __webpack_require__.e(29378), __webpack_require__.e(40257), __webpack_require__.e(7096), __webpack_require__.e(4847), __webpack_require__.e(29266), __webpack_require__.e(43361)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Magazinejor/component/MonthlyDetailamins/Add/index.tsx */ 44145));
                  }),
                  '504': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return __webpack_require__.e(/*! import() | p__Demo__index */ 14058).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Demo/index.tsx */ 14464));
                  }),
                  '505': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return __webpack_require__.e(/*! import() | p__Homepage__index */ 14666).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Homepage/index.tsx */ 67864));
                  }),
                  '506': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | layouts__SimpleLayouts */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(9951), __webpack_require__.e(6056), __webpack_require__.e(29378), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(19386), __webpack_require__.e(40257), __webpack_require__.e(37062)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/SimpleLayouts.tsx */ 10399));
                  }),
                  '507': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__IntrainCourse__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(58421), __webpack_require__.e(93948), __webpack_require__.e(9951), __webpack_require__.e(21295), __webpack_require__.e(54056)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/IntrainCourse/index.tsx */ 52350));
                  }),
                  '508': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__User__BindAccount__index */[__webpack_require__.e(46573), __webpack_require__.e(81379), __webpack_require__.e(78241), __webpack_require__.e(27178)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/BindAccount/index.tsx */ 52569));
                  }),
                  '509': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__User__QQLogin__index */[__webpack_require__.e(61621), __webpack_require__.e(1660)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/QQLogin/index.tsx */ 42158));
                  }),
                  '510': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__User__WechatLogin__index */[__webpack_require__.e(61621), __webpack_require__.e(27333)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/WechatLogin/index.tsx */ 89464));
                  }),
                  '511': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Paths__Overview__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(93948), __webpack_require__.e(76411), __webpack_require__.e(42441), __webpack_require__.e(14227)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Paths/Overview/index.tsx */ 59580));
                  }),
                  '512': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Shixuns__Overview__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(93948), __webpack_require__.e(76411), __webpack_require__.e(42441), __webpack_require__.e(88155)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Overview/index.tsx */ 20474));
                  }),
                  '513': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Classrooms__Overview__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(61621), __webpack_require__.e(7172), __webpack_require__.e(76411), __webpack_require__.e(42441), __webpack_require__.e(91384), __webpack_require__.e(15186)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Overview/index.tsx */ 50194));
                  }),
                  '514': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return __webpack_require__.e(/*! import() | layouts__LoginAndRegister__index */ 75786).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/LoginAndRegister/index.tsx */ 23806));
                  }),
                  '515': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__User__Login__index */[__webpack_require__.e(46573), __webpack_require__.e(81379), __webpack_require__.e(78241), __webpack_require__.e(49366)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Login/index.tsx */ 51701));
                  }),
                  '516': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | layouts__user__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(20670), __webpack_require__.e(29378), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(19386), __webpack_require__.e(40257), __webpack_require__.e(18461), __webpack_require__.e(25972)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/user/index.tsx */ 61783));
                  }),
                  '517': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__User__Login__index */[__webpack_require__.e(46573), __webpack_require__.e(81379), __webpack_require__.e(78241), __webpack_require__.e(49366)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Login/index.tsx */ 51701));
                  }),
                  '518': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__User__Register__index */[__webpack_require__.e(46573), __webpack_require__.e(81379), __webpack_require__.e(78241), __webpack_require__.e(66372), __webpack_require__.e(91470)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Register/index.tsx */ 155));
                  }),
                  '519': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__User__ResetPassword__index */[__webpack_require__.e(46573), __webpack_require__.e(81379), __webpack_require__.e(78241), __webpack_require__.e(66372), __webpack_require__.e(27182)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/ResetPassword/index.tsx */ 27580));
                  }),
                  '520': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | layouts__SimpleLayouts */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(9951), __webpack_require__.e(6056), __webpack_require__.e(29378), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(19386), __webpack_require__.e(40257), __webpack_require__.e(37062)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/SimpleLayouts.tsx */ 10399));
                  }),
                  '521': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Colleges__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(76411), __webpack_require__.e(42441), __webpack_require__.e(12476)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Colleges/index.tsx */ 90795));
                  }),
                  '522': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | layouts__SimpleLayouts */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(9951), __webpack_require__.e(6056), __webpack_require__.e(29378), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(19386), __webpack_require__.e(40257), __webpack_require__.e(37062)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/SimpleLayouts.tsx */ 10399));
                  }),
                  '523': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Help__Index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(61621), __webpack_require__.e(5871), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(93600), __webpack_require__.e(45284), __webpack_require__.e(29378), __webpack_require__.e(35729)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Help/Index.tsx */ 70549));
                  }),
                  '524': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | layouts__SimpleLayouts */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(9951), __webpack_require__.e(6056), __webpack_require__.e(29378), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(19386), __webpack_require__.e(40257), __webpack_require__.e(37062)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/SimpleLayouts.tsx */ 10399));
                  }),
                  '525': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Video__Detail__id */[__webpack_require__.e(58106), __webpack_require__.e(48911), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(99099), __webpack_require__.e(55934), __webpack_require__.e(50441), __webpack_require__.e(96444)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Video/Detail/[id].tsx */ 19215));
                  }),
                  '526': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Terminal__index */[__webpack_require__.e(46573), __webpack_require__.e(81379), __webpack_require__.e(93948), __webpack_require__.e(56156), __webpack_require__.e(24924), __webpack_require__.e(65111)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Terminal/index.tsx */ 99481));
                  }),
                  '527': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Report__index */[__webpack_require__.e(61621), __webpack_require__.e(22307)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Report/index.tsx */ 16170));
                  }),
                  '528': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | layouts__SimpleLayouts */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(9951), __webpack_require__.e(6056), __webpack_require__.e(29378), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(19386), __webpack_require__.e(40257), __webpack_require__.e(37062)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/SimpleLayouts.tsx */ 10399));
                  }),
                  '529': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Reservation__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(78241), __webpack_require__.e(51417), __webpack_require__.e(47119), __webpack_require__.e(81273), __webpack_require__.e(59142)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Reservation/index.tsx */ 86311));
                  }),
                  '530': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | layouts__SimpleLayouts */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(9951), __webpack_require__.e(6056), __webpack_require__.e(29378), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(19386), __webpack_require__.e(40257), __webpack_require__.e(37062)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/SimpleLayouts.tsx */ 10399));
                  }),
                  '531': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__ReservationDetail__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(51417), __webpack_require__.e(47119), __webpack_require__.e(81273), __webpack_require__.e(88501)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/ReservationDetail/index.tsx */ 5958));
                  }),
                  '532': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__NewHomeEntrancetree__index */[__webpack_require__.e(46573), __webpack_require__.e(81379), __webpack_require__.e(78241), __webpack_require__.e(46219)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/NewHomeEntrancetree/index.tsx */ 60605));
                  }),
                  '533': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return __webpack_require__.e(/*! import() | p__NewHomeEntranceClassify__index */ 29304).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/NewHomeEntranceClassify/index.tsx */ 99954));
                  }),
                  '534': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__NewHomeEntrance1__index */[__webpack_require__.e(9589), __webpack_require__.e(62909)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/NewHomeEntrance1/index.tsx */ 32927));
                  }),
                  '535': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__NewHomeEntrance2__index */[__webpack_require__.e(9589), __webpack_require__.e(51220)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/NewHomeEntrance2/index.tsx */ 76381));
                  }),
                  '536': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__DefendCloud__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(94797), __webpack_require__.e(29378), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(19386), __webpack_require__.e(40257), __webpack_require__.e(30765), __webpack_require__.e(45517)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/DefendCloud/index.tsx */ 50037));
                  }),
                  '537': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__OfficialNotice__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(93948), __webpack_require__.e(5871), __webpack_require__.e(71409), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(83175), __webpack_require__.e(45284), __webpack_require__.e(29378), __webpack_require__.e(60783), __webpack_require__.e(40257), __webpack_require__.e(7096), __webpack_require__.e(49394), __webpack_require__.e(27210), __webpack_require__.e(95762)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/OfficialNotice/index.tsx */ 115));
                  }),
                  '538': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__OfficialList__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(93948), __webpack_require__.e(5871), __webpack_require__.e(71409), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(83175), __webpack_require__.e(45284), __webpack_require__.e(29378), __webpack_require__.e(60783), __webpack_require__.e(40257), __webpack_require__.e(7096), __webpack_require__.e(49394), __webpack_require__.e(27210), __webpack_require__.e(5808)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/OfficialList/index.tsx */ 8133));
                  }),
                  '539': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__LaboratoryOverview__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(93948), __webpack_require__.e(51417), __webpack_require__.e(47119), __webpack_require__.e(76411), __webpack_require__.e(42441), __webpack_require__.e(6927), __webpack_require__.e(29378), __webpack_require__.e(40257), __webpack_require__.e(684), __webpack_require__.e(30765), __webpack_require__.e(4271)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/LaboratoryOverview/index.tsx */ 39807));
                  }),
                  '540': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__CloudStudy__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(17714), __webpack_require__.e(29378), __webpack_require__.e(40257), __webpack_require__.e(7096), __webpack_require__.e(73822)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/CloudStudy/index.tsx */ 53379));
                  }),
                  '541': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__CloudStudy__Detail__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(93948), __webpack_require__.e(71409), __webpack_require__.e(38359), __webpack_require__.e(83972), __webpack_require__.e(76359), __webpack_require__.e(29378), __webpack_require__.e(60783), __webpack_require__.e(40257), __webpack_require__.e(7096), __webpack_require__.e(9105)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/CloudStudy/Detail/index.tsx */ 56824));
                  }),
                  '542': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Practices__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(93948), __webpack_require__.e(61621), __webpack_require__.e(5871), __webpack_require__.e(71409), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(7172), __webpack_require__.e(51417), __webpack_require__.e(47119), __webpack_require__.e(45284), __webpack_require__.e(91384), __webpack_require__.e(29378), __webpack_require__.e(60783), __webpack_require__.e(40257), __webpack_require__.e(58140)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Practices/index.tsx */ 92157));
                  }),
                  '543': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Practices__Detail__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(93948), __webpack_require__.e(5871), __webpack_require__.e(71409), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(51417), __webpack_require__.e(47119), __webpack_require__.e(82778), __webpack_require__.e(45284), __webpack_require__.e(29378), __webpack_require__.e(60783), __webpack_require__.e(40257), __webpack_require__.e(7096), __webpack_require__.e(49394), __webpack_require__.e(47456)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Practices/Detail/index.tsx */ 61248));
                  }),
                  '544': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__CloudHotLine__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(61621), __webpack_require__.e(7172), __webpack_require__.e(32810), __webpack_require__.e(91384), __webpack_require__.e(29378), __webpack_require__.e(40257), __webpack_require__.e(57504)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/CloudHotLine/index.tsx */ 58614));
                  }),
                  '545': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Magazinejor__component__MonthlyPreview__index */[__webpack_require__.e(58106), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(70354)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Magazinejor/component/MonthlyPreview/index.tsx */ 71516));
                  }),
                  '546': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | layouts__SimpleLayouts */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(9951), __webpack_require__.e(6056), __webpack_require__.e(29378), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(19386), __webpack_require__.e(40257), __webpack_require__.e(37062)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/SimpleLayouts.tsx */ 10399));
                  }),
                  '547': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(61621), __webpack_require__.e(7172), __webpack_require__.e(99313), __webpack_require__.e(76411), __webpack_require__.e(42441), __webpack_require__.e(99099), __webpack_require__.e(73755), __webpack_require__.e(9951), __webpack_require__.e(62945), __webpack_require__.e(73654), __webpack_require__.e(91384), __webpack_require__.e(29378), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(19386), __webpack_require__.e(40257), __webpack_require__.e(18461), __webpack_require__.e(40445), __webpack_require__.e(88866)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/index.tsx */ 84080));
                  }),
                  '548': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return __webpack_require__.e(/*! import() | p__Api__index */ 62300).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Api/index.tsx */ 43341));
                  }),
                  '549': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Search__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(58421), __webpack_require__.e(24644), __webpack_require__.e(92501)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Search/index.tsx */ 26005));
                  }),
                  '550': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__MoopCases__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(58421), __webpack_require__.e(83212)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/MoopCases/index.tsx */ 7978));
                  }),
                  '551': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__MoopCases__FormPanel__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(93948), __webpack_require__.e(5871), __webpack_require__.e(71409), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(94406), __webpack_require__.e(45284), __webpack_require__.e(76904)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/MoopCases/FormPanel/index.tsx */ 22001));
                  }),
                  '552': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return __webpack_require__.e(/*! import() | p__MoopCases__InfoPanel__index */ 51855).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/MoopCases/InfoPanel/index.tsx */ 74539));
                  }),
                  '553': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__MoopCases__FormPanel__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(93948), __webpack_require__.e(5871), __webpack_require__.e(71409), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(94406), __webpack_require__.e(45284), __webpack_require__.e(76904)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/MoopCases/FormPanel/index.tsx */ 22001));
                  }),
                  '554': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return __webpack_require__.e(/*! import() | p__MoopCases__Success__index */ 51276).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/MoopCases/Success/index.tsx */ 66042));
                  }),
                  '555': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Paperlibrary__Random__Edit__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(93948), __webpack_require__.e(61621), __webpack_require__.e(5871), __webpack_require__.e(71409), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(7172), __webpack_require__.e(99313), __webpack_require__.e(19842), __webpack_require__.e(36381), __webpack_require__.e(56156), __webpack_require__.e(43141), __webpack_require__.e(44538), __webpack_require__.e(91384), __webpack_require__.e(63976), __webpack_require__.e(75816)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Paperlibrary/Random/Edit/index.tsx */ 37972));
                  }),
                  '556': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Paperlibrary__Random__Edit__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(93948), __webpack_require__.e(61621), __webpack_require__.e(5871), __webpack_require__.e(71409), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(7172), __webpack_require__.e(99313), __webpack_require__.e(19842), __webpack_require__.e(36381), __webpack_require__.e(56156), __webpack_require__.e(43141), __webpack_require__.e(44538), __webpack_require__.e(91384), __webpack_require__.e(63976), __webpack_require__.e(75816)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Paperlibrary/Random/Edit/index.tsx */ 37972));
                  }),
                  '557': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Paperlibrary__Random__Detail__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(61621), __webpack_require__.e(5871), __webpack_require__.e(99313), __webpack_require__.e(18151), __webpack_require__.e(62593), __webpack_require__.e(33784)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Paperlibrary/Random/Detail/index.tsx */ 73868));
                  }),
                  '558': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return __webpack_require__.e(/*! import() | p__HttpStatus__403 */ 43862).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/HttpStatus/403.tsx */ 5847));
                  }),
                  '559': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return __webpack_require__.e(/*! import() | p__HttpStatus__500 */ 44565).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/HttpStatus/500.tsx */ 40205));
                  }),
                  '560': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return __webpack_require__.e(/*! import() | p__HttpStatus__404 */ 66531).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/HttpStatus/404.tsx */ 22226));
                  }),
                  '561': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__HttpStatus__HpcCourse */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(93948), __webpack_require__.e(5871), __webpack_require__.e(71409), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(50935), __webpack_require__.e(45284), __webpack_require__.e(64496)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/HttpStatus/HpcCourse.tsx */ 31930));
                  }),
                  '562': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__HttpStatus__SixActivities */[__webpack_require__.e(58106), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(79817), __webpack_require__.e(3509)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/HttpStatus/SixActivities.tsx */ 67342));
                  }),
                  '563': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__HttpStatus__HpcCourse */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(93948), __webpack_require__.e(5871), __webpack_require__.e(71409), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(50935), __webpack_require__.e(45284), __webpack_require__.e(64496)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/HttpStatus/HpcCourse.tsx */ 31930));
                  }),
                  '564': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__HttpStatus__HpcCourse */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(93948), __webpack_require__.e(5871), __webpack_require__.e(71409), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(50935), __webpack_require__.e(45284), __webpack_require__.e(64496)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/HttpStatus/HpcCourse.tsx */ 31930));
                  }),
                  '565': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__HttpStatus__UserAgents */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(58421), __webpack_require__.e(66034)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/HttpStatus/UserAgents.tsx */ 40356));
                  }),
                  '566': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Three__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(93948), __webpack_require__.e(5871), __webpack_require__.e(71409), __webpack_require__.e(56520), __webpack_require__.e(2360), __webpack_require__.e(46125), __webpack_require__.e(45284), __webpack_require__.e(8999)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Three/index.tsx */ 59011));
                  }),
                  '567': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return __webpack_require__.e(/*! import() | p__HttpStatus__introduction */ 53910).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/HttpStatus/introduction.tsx */ 69923));
                  }),
                  '568': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | p__Message__index */[__webpack_require__.e(46573), __webpack_require__.e(81379), __webpack_require__.e(30081), __webpack_require__.e(30067)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Message/index.tsx */ 11257));
                  }),
                  '569': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return __webpack_require__.e(/*! import() | p__HttpStatus__404 */ 66531).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/HttpStatus/404.tsx */ 22226));
                  }),
                  '@@/global-layout': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
                    return Promise.all(/*! import() | layouts__index */[__webpack_require__.e(46573), __webpack_require__.e(58106), __webpack_require__.e(81379), __webpack_require__.e(48911), __webpack_require__.e(24665), __webpack_require__.e(37229), __webpack_require__.e(89739), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(30081), __webpack_require__.e(78241), __webpack_require__.e(58421), __webpack_require__.e(78782), __webpack_require__.e(84497), __webpack_require__.e(42794), __webpack_require__.e(1710), __webpack_require__.e(99313), __webpack_require__.e(29378), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(19386), __webpack_require__.e(40257), __webpack_require__.e(18461), __webpack_require__.e(41717)]).then(__webpack_require__.bind(__webpack_require__, /*! ./src/layouts/index.tsx */ 89003));
                  })
                }
              });
            case 2:
            case "end":
              return _context.stop();
          }
        }, _callee);
      }));
      return _getRoutes.apply(this, arguments);
    }
    // EXTERNAL MODULE: ./src/.umi-production/core/plugin.ts + 16 modules
    var core_plugin = __webpack_require__(23485);
    // EXTERNAL MODULE: ./src/.umi-production/core/history.ts
    var core_history = __webpack_require__(5953);
    // EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/spin/index.js + 1 modules
    var spin = __webpack_require__(71418);
    // EXTERNAL MODULE: ./src/layouts/index.less?modules
    var layoutsmodules = __webpack_require__(5420);
    // EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/jsx-runtime.js
    var jsx_runtime = __webpack_require__(37712);
    ;// CONCATENATED MODULE: ./src/loading.tsx
    
    
    
    
    /* harmony default export */ var loading = (function () {
      return /*#__PURE__*/(0,jsx_runtime.jsx)(spin/* default */.Z, {
        size: 'middle',
        className: layoutsmodules/* default */.Z.loading
      });
    });
    // EXTERNAL MODULE: ./src/.umi-production/exports.ts
    var _umi_production_exports = __webpack_require__(25789);
    // EXTERNAL MODULE: ./node_modules/_dayjs@1.11.19@dayjs/dayjs.min.js
    var dayjs_min = __webpack_require__(66649);
    var dayjs_min_default = /*#__PURE__*/__webpack_require__.n(dayjs_min);
    // EXTERNAL MODULE: ./node_modules/_antd-dayjs-webpack-plugin@1.0.6@antd-dayjs-webpack-plugin/src/antd-plugin.js
    var antd_plugin = __webpack_require__(91392);
    var antd_plugin_default = /*#__PURE__*/__webpack_require__.n(antd_plugin);
    // EXTERNAL MODULE: ./node_modules/_dayjs@1.11.19@dayjs/plugin/isSameOrBefore.js
    var isSameOrBefore = __webpack_require__(73100);
    var isSameOrBefore_default = /*#__PURE__*/__webpack_require__.n(isSameOrBefore);
    // EXTERNAL MODULE: ./node_modules/_dayjs@1.11.19@dayjs/plugin/isSameOrAfter.js
    var isSameOrAfter = __webpack_require__(14805);
    var isSameOrAfter_default = /*#__PURE__*/__webpack_require__.n(isSameOrAfter);
    // EXTERNAL MODULE: ./node_modules/_dayjs@1.11.19@dayjs/plugin/advancedFormat.js
    var advancedFormat = __webpack_require__(13477);
    var advancedFormat_default = /*#__PURE__*/__webpack_require__.n(advancedFormat);
    // EXTERNAL MODULE: ./node_modules/_dayjs@1.11.19@dayjs/plugin/customParseFormat.js
    var customParseFormat = __webpack_require__(64796);
    var customParseFormat_default = /*#__PURE__*/__webpack_require__.n(customParseFormat);
    // EXTERNAL MODULE: ./node_modules/_dayjs@1.11.19@dayjs/plugin/weekday.js
    var weekday = __webpack_require__(9007);
    var weekday_default = /*#__PURE__*/__webpack_require__.n(weekday);
    // EXTERNAL MODULE: ./node_modules/_dayjs@1.11.19@dayjs/plugin/weekYear.js
    var weekYear = __webpack_require__(58626);
    var weekYear_default = /*#__PURE__*/__webpack_require__.n(weekYear);
    // EXTERNAL MODULE: ./node_modules/_dayjs@1.11.19@dayjs/plugin/weekOfYear.js
    var weekOfYear = __webpack_require__(9084);
    var weekOfYear_default = /*#__PURE__*/__webpack_require__.n(weekOfYear);
    // EXTERNAL MODULE: ./node_modules/_dayjs@1.11.19@dayjs/plugin/isMoment.js
    var isMoment = __webpack_require__(5116);
    var isMoment_default = /*#__PURE__*/__webpack_require__.n(isMoment);
    // EXTERNAL MODULE: ./node_modules/_dayjs@1.11.19@dayjs/plugin/localeData.js
    var localeData = __webpack_require__(50991);
    var localeData_default = /*#__PURE__*/__webpack_require__.n(localeData);
    // EXTERNAL MODULE: ./node_modules/_dayjs@1.11.19@dayjs/plugin/localizedFormat.js
    var localizedFormat = __webpack_require__(39050);
    var localizedFormat_default = /*#__PURE__*/__webpack_require__.n(localizedFormat);
    // EXTERNAL MODULE: ./node_modules/_dayjs@1.11.19@dayjs/plugin/duration.js
    var duration = __webpack_require__(1554);
    var duration_default = /*#__PURE__*/__webpack_require__.n(duration);
    // EXTERNAL MODULE: ./node_modules/_dayjs@1.11.19@dayjs/plugin/relativeTime.js
    var relativeTime = __webpack_require__(59697);
    var relativeTime_default = /*#__PURE__*/__webpack_require__.n(relativeTime);
    ;// CONCATENATED MODULE: ./src/.umi-production/plugin-moment2dayjs/runtime.tsx
    // @ts-nocheck
    // This file is generated by Umi automatically
    // DO NOT CHANGE IT MANUALLY!
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    dayjs_min_default().extend((isSameOrBefore_default()));
    dayjs_min_default().extend((isSameOrAfter_default()));
    dayjs_min_default().extend((advancedFormat_default()));
    dayjs_min_default().extend((customParseFormat_default()));
    dayjs_min_default().extend((weekday_default()));
    dayjs_min_default().extend((weekYear_default()));
    dayjs_min_default().extend((weekOfYear_default()));
    dayjs_min_default().extend((isMoment_default()));
    dayjs_min_default().extend((localeData_default()));
    dayjs_min_default().extend((localizedFormat_default()));
    dayjs_min_default().extend((duration_default()));
    dayjs_min_default().extend((relativeTime_default()));
    dayjs_min_default().extend((antd_plugin_default()));
    ;// CONCATENATED MODULE: ./src/.umi-production/umi.ts
    
    
    
    // @ts-nocheck
    // This file is generated by Umi automatically
    // DO NOT CHANGE IT MANUALLY!
    
    
    
    
    
    
    
    
    
    var publicPath = "/react/build/";
    var runtimePublicPath = false;
    function render() {
      return _render.apply(this, arguments);
    }
    function _render() {
      _render = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee() {
        var pluginManager, _yield$getRoutes, routes, routeComponents, contextOpts, basename, historyType, history;
        return regeneratorRuntime_default()().wrap(function _callee$(_context) {
          while (1) switch (_context.prev = _context.next) {
            case 0:
              pluginManager = (0,core_plugin/* createPluginManager */.gD)();
              _context.next = 3;
              return getRoutes(pluginManager);
            case 3:
              _yield$getRoutes = _context.sent;
              routes = _yield$getRoutes.routes;
              routeComponents = _yield$getRoutes.routeComponents;
              _context.next = 8;
              return pluginManager.applyPlugins({
                key: 'patchRoutes',
                type: _umi_production_exports.ApplyPluginsType.event,
                args: {
                  routes: routes,
                  routeComponents: routeComponents
                }
              });
            case 8:
              contextOpts = pluginManager.applyPlugins({
                key: 'modifyContextOpts',
                type: _umi_production_exports.ApplyPluginsType.modify,
                initialValue: {}
              });
              basename = contextOpts.basename || '/';
              historyType = contextOpts.historyType || 'browser';
              history = (0,core_history/* createHistory */.fi)(objectSpread2_default()({
                type: historyType,
                basename: basename
              }, contextOpts.historyOpts));
              return _context.abrupt("return", pluginManager.applyPlugins({
                key: 'render',
                type: _umi_production_exports.ApplyPluginsType.compose,
                initialValue: function initialValue() {
                  var context = {
                    useStream: true,
                    routes: routes,
                    routeComponents: routeComponents,
                    pluginManager: pluginManager,
                    mountElementId: 'root',
                    rootElement: contextOpts.rootElement || document.getElementById('root'),
                    loadingComponent: loading,
                    publicPath: publicPath,
                    runtimePublicPath: runtimePublicPath,
                    history: history,
                    historyType: historyType,
                    basename: basename,
                    __INTERNAL_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: {
                      "pureApp": false,
                      "pureHtml": false
                    },
                    callback: contextOpts.callback
                  };
                  var modifiedContext = pluginManager.applyPlugins({
                    key: 'modifyClientRenderOpts',
                    type: _umi_production_exports.ApplyPluginsType.modify,
                    initialValue: context
                  });
                  return renderClient(modifiedContext);
                }
              })());
            case 13:
            case "end":
              return _context.stop();
          }
        }, _callee);
      }));
      return _render.apply(this, arguments);
    }
    
    render();
    if (typeof window !== 'undefined') {
      window.g_umi = {
        version: '4.6.26'
      };
    }
    }();
    /******/ })()
    ;